@arcgis/charts-components 5.0.0-next.6 → 5.0.0-next.61
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/{4TFODDU5.js → 273POVBU.js} +2 -2
- package/dist/cdn/2F73LBO5.js +4 -0
- package/dist/cdn/2JO7GEMP.js +4 -0
- package/dist/cdn/2NEXHLGY.js +144 -0
- package/dist/cdn/2XSJ3XLR.js +4 -0
- package/dist/cdn/2ZMQR3F7.js +4 -0
- package/dist/cdn/3BTPM4MO.js +4 -0
- package/dist/cdn/3EOG5TRB.js +4 -0
- package/dist/cdn/3HAUK4KT.js +4 -0
- package/dist/cdn/{FBHN3IVA.js → 3KWQKD5L.js} +2 -2
- package/dist/cdn/3NFR2LXY.js +4 -0
- package/dist/cdn/3QCU4GDO.js +4 -0
- package/dist/cdn/3X26PYPL.js +4 -0
- package/dist/cdn/3YJNKDMD.js +4 -0
- package/dist/cdn/{X67GOISK.js → 46NKGNSG.js} +2 -2
- package/dist/cdn/4CY2R7OF.js +4 -0
- package/dist/cdn/4LVFEB5T.js +11 -0
- package/dist/cdn/4POPCNPQ.js +4 -0
- package/dist/cdn/{ZHEJQ7B4.js → 4TT5AT6B.js} +2 -2
- package/dist/cdn/{RFQKNWBG.js → 4V33KGC7.js} +2 -2
- package/dist/cdn/4ZUYBQX4.js +4 -0
- package/dist/cdn/{H6HI4GGT.js → 5DIIAD72.js} +2 -2
- package/dist/cdn/5SG4N6GE.js +4 -0
- package/dist/cdn/{FID62LAM.js → 5XULTYZQ.js} +2 -2
- package/dist/cdn/62FWPHKO.js +4 -0
- package/dist/cdn/63QEHLWE.js +4 -0
- package/dist/cdn/65VSKQC6.js +4 -0
- package/dist/cdn/6M2GFE6X.js +4 -0
- package/dist/cdn/{AOH5KD73.js → 6Q7PXR4H.js} +2 -2
- package/dist/cdn/6VUIPP2T.js +4 -0
- package/dist/cdn/{6WAJDHQ2.js → 6XCUHRLZ.js} +2 -2
- package/dist/cdn/6XDAATGK.js +4 -0
- package/dist/cdn/72MBTV3F.js +4 -0
- package/dist/cdn/{NJJBXZF4.js → 7BH5U7UK.js} +2 -2
- package/dist/cdn/{7UPE76UN.js → 7COG6YNO.js} +2 -2
- package/dist/cdn/{2HW3IBYM.js → 7LJ2676L.js} +2 -2
- package/dist/cdn/7YGVN4DP.js +4 -0
- package/dist/cdn/ABHVBVZS.js +129 -0
- package/dist/cdn/{YHEQZCNF.js → ADKX3UGL.js} +2 -2
- package/dist/cdn/{ESZBUFNA.js → AHHRKTAV.js} +2 -2
- package/dist/cdn/APK5VC6E.js +4 -0
- package/dist/cdn/ATDPFGW3.js +4 -0
- package/dist/cdn/{GYEGIXJH.js → AVPFYX2X.js} +2 -2
- package/dist/cdn/B52YQRVB.js +4 -0
- package/dist/cdn/{UX67VTJV.js → BLAF4VL7.js} +2 -2
- package/dist/cdn/{SICXKWTM.js → BYJUYHT2.js} +2 -2
- package/dist/cdn/C7AFM673.js +4 -0
- package/dist/cdn/C7Y3DRTD.js +4 -0
- package/dist/cdn/CGO335KE.js +4 -0
- package/dist/cdn/CRQ52TTO.js +4 -0
- package/dist/cdn/CYPBANKF.js +4 -0
- package/dist/cdn/{J4XOG5FP.js → D4IQHBLR.js} +2 -2
- package/dist/cdn/D4JRE6O6.js +4 -0
- package/dist/cdn/DA3XN22P.js +144 -0
- package/dist/cdn/DF3GW7MA.js +4 -0
- package/dist/cdn/DJHQF5UE.js +4 -0
- package/dist/cdn/DYMXW76F.js +58 -0
- package/dist/cdn/{NZBBCZFO.js → EPOPTL7V.js} +2 -2
- package/dist/cdn/EPRFVR3H.js +4 -0
- package/dist/cdn/{H5IWORXM.js → EQDGXZEB.js} +2 -2
- package/dist/cdn/{WRCKLOJF.js → FCXRJK75.js} +2 -2
- package/dist/cdn/{XT7RJKUC.js → FDI3LPU2.js} +1 -1
- package/dist/cdn/{5QAGSD4P.js → FFREIIBE.js} +2 -2
- package/dist/cdn/FG3SZIMZ.js +4 -0
- package/dist/cdn/FMBZE5QL.js +4 -0
- package/dist/cdn/{Z33HX2JP.js → FTHJSRMC.js} +2 -2
- package/dist/cdn/G3NHXEAX.js +4 -0
- package/dist/cdn/GKZPNZ7G.js +4 -0
- package/dist/cdn/{ZXYXANMF.js → GNOKA7JN.js} +2 -2
- package/dist/cdn/GUJ67MNV.js +4 -0
- package/dist/cdn/{XHZ5ID7O.js → GYSSUFER.js} +2 -2
- package/dist/cdn/GZUTUMGR.js +4 -0
- package/dist/cdn/H2FGSGMC.js +4 -0
- package/dist/cdn/{CCPK7ZN7.js → H2NWYFXL.js} +1 -1
- package/dist/cdn/{HFJL4XQ6.js → HB2DOHXT.js} +2 -2
- package/dist/cdn/HFBTRJMO.js +4 -0
- package/dist/cdn/HIGTCBLE.js +4 -0
- package/dist/cdn/{CCJW52HZ.js → HMHAAQPB.js} +1 -1
- package/dist/cdn/{NPJCHDKV.js → HMVLRG6N.js} +2 -2
- package/dist/cdn/HV6LCE7Q.js +4 -0
- package/dist/cdn/HWTMY36L.js +4 -0
- package/dist/cdn/{UKPQA5UG.js → I65F7PHW.js} +2 -2
- package/dist/cdn/I6JVTQYN.js +4 -0
- package/dist/cdn/{5WREJ7PO.js → IKKU4OOV.js} +2 -2
- package/dist/cdn/IMUG2SPY.js +4 -0
- package/dist/cdn/IQQBZ436.js +4 -0
- package/dist/cdn/ISHJIEWG.js +6 -0
- package/dist/cdn/{4GVLICKQ.js → IUNZF4VQ.js} +2 -2
- package/dist/cdn/JF6G2JM4.js +4 -0
- package/dist/cdn/JIKEBM5S.js +4 -0
- package/dist/cdn/JQQXD5BS.js +4 -0
- package/dist/cdn/{KILACG7K.js → JSB6VXAD.js} +2 -2
- package/dist/cdn/{M3GO4IEZ.js → K5AQT2NR.js} +2 -2
- package/dist/cdn/K6XJMQZJ.js +4 -0
- package/dist/cdn/{7AKLR5AG.js → KAT5CLIY.js} +2 -2
- package/dist/cdn/KTDDMES6.js +4 -0
- package/dist/cdn/{G6CZ24T6.js → KW45IZOZ.js} +2 -2
- package/dist/cdn/KXBAQJQZ.js +4 -0
- package/dist/cdn/KZTSFI5O.js +4 -0
- package/dist/cdn/L74Y6XXJ.js +4 -0
- package/dist/cdn/LCULOIPJ.js +4 -0
- package/dist/cdn/LETKA2C7.js +4 -0
- package/dist/cdn/LQIBKL3R.js +4 -0
- package/dist/cdn/LQUB2MKQ.js +4 -0
- package/dist/cdn/{WNCT5MU6.js → LR6T734P.js} +2 -2
- package/dist/cdn/{RLKYD65J.js → MLLHKHVN.js} +2 -2
- package/dist/cdn/{BGO7DQSN.js → MOBBQASD.js} +2 -2
- package/dist/cdn/NAKEUL7F.js +4 -0
- package/dist/cdn/NH5SO4JT.js +4 -0
- package/dist/cdn/NIY7SDAN.js +4 -0
- package/dist/cdn/NJY2WJO6.js +4 -0
- package/dist/cdn/NMRYKNYF.js +4 -0
- package/dist/cdn/{IKF5ZFHR.js → NPUMWBJX.js} +2 -2
- package/dist/cdn/NPZIQ6CZ.js +4 -0
- package/dist/cdn/NWJXXP5S.js +4 -0
- package/dist/cdn/OIMHNULE.js +42 -0
- package/dist/cdn/OJBCLDIM.js +4 -0
- package/dist/cdn/{AQGC6KST.js → OWER7AE6.js} +2 -2
- package/dist/cdn/{6EYQ2NZT.js → P42HKXMF.js} +2 -2
- package/dist/cdn/PBBYRTXE.js +4 -0
- package/dist/cdn/PISUPW2Q.js +244 -0
- package/dist/cdn/PMWJONSN.js +4 -0
- package/dist/cdn/{KYLIXMZK.js → PN2MF5DB.js} +2 -2
- package/dist/cdn/{DBHD7L3M.js → PRCTMICJ.js} +2 -2
- package/dist/cdn/PSH5FGJI.js +4 -0
- package/dist/cdn/PT77MGCG.js +4 -0
- package/dist/cdn/{WMUHB6GM.js → PZH52DXP.js} +2 -2
- package/dist/cdn/Q57S5GZK.js +4 -0
- package/dist/cdn/QDCRMV5L.js +4 -0
- package/dist/cdn/QDVZ2XA3.js +4 -0
- package/dist/cdn/QLMD5DOM.js +4 -0
- package/dist/cdn/QOVWRVBZ.js +4 -0
- package/dist/cdn/{T3KUVVLS.js → QRBKTXMX.js} +2 -2
- package/dist/cdn/R5LXSJDP.js +4 -0
- package/dist/cdn/{IECFEVZ4.js → S4TNRXZS.js} +2 -2
- package/dist/cdn/S6KHR56H.js +4 -0
- package/dist/cdn/{QHILGTWX.js → SDCHHOZP.js} +2 -2
- package/dist/cdn/{ECKVJH3H.js → SGAQYRLZ.js} +2 -2
- package/dist/cdn/SVCM2IDY.js +4 -0
- package/dist/cdn/TRIBWSTW.js +4 -0
- package/dist/cdn/TXPWUXH4.js +6 -0
- package/dist/cdn/{62YQJKU6.js → U62ZZURK.js} +1 -1
- package/dist/cdn/U6S5DF5R.js +4 -0
- package/dist/cdn/{Y2QBFNON.js → UH4PWWKC.js} +2 -2
- package/dist/cdn/UIILLTMN.js +4 -0
- package/dist/cdn/{UFDY6M33.js → UOP5AYTN.js} +2 -2
- package/dist/cdn/UPWUIRBT.js +4 -0
- package/dist/cdn/URWTWFH3.js +4 -0
- package/dist/cdn/{QRLX6CXJ.js → USSN3LTX.js} +2 -2
- package/dist/cdn/V247QKAW.js +4 -0
- package/dist/cdn/V7C7O6ZT.js +4 -0
- package/dist/cdn/VFBMUZKE.js +4 -0
- package/dist/cdn/VIDWKYT3.js +4 -0
- package/dist/cdn/VJKPZFOG.js +4 -0
- package/dist/cdn/VPQVNS3L.js +4 -0
- package/dist/cdn/VTO4LALQ.js +4 -0
- package/dist/cdn/{6EOZV66Q.js → VXM43766.js} +1 -1
- package/dist/cdn/{VMD7Z2UY.js → W5AWMUG3.js} +2 -2
- package/dist/cdn/W5SEOIPM.js +4 -0
- package/dist/cdn/WEZSLWFH.js +4 -0
- package/dist/cdn/WGMYTW5G.js +4 -0
- package/dist/cdn/X3CF4GFA.js +4 -0
- package/dist/cdn/X56UAYNO.js +4 -0
- package/dist/cdn/XDYN6P4E.js +4 -0
- package/dist/cdn/XONTQLAA.js +4 -0
- package/dist/cdn/{NDBCCG3P.js → XVADDZZ4.js} +2 -2
- package/dist/cdn/XWT3B5Z5.js +4 -0
- package/dist/cdn/{C6TYBGQD.js → XXPCZ63C.js} +2 -2
- package/dist/cdn/{N3ENOOIJ.js → XXYUZWH6.js} +2 -2
- package/dist/cdn/Y5ED7W4V.js +4 -0
- package/dist/cdn/{3E4LIVKQ.js → Y6GRVAPW.js} +2 -2
- package/dist/cdn/Y75VIQLY.js +4 -0
- package/dist/cdn/YC6NXAFN.js +4 -0
- package/dist/cdn/YPZ74U6J.js +4 -0
- package/dist/cdn/{W57QELHV.js → YQN57GXS.js} +2 -2
- package/dist/cdn/{4I7M2FT6.js → YYMIOKLY.js} +2 -2
- package/dist/cdn/ZNDVQ5ZQ.js +4 -0
- package/dist/cdn/{R5E2D5BU.js → ZQINCP2I.js} +2 -2
- package/dist/cdn/{MECLTHBN.js → ZR375U4O.js} +2 -2
- package/dist/cdn/ZVET2YXN.js +4 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/axes/index.d.ts +1 -1
- package/dist/chart-rendering/common/axes/utils/axis-renderer/index.d.ts +18 -0
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +2 -3
- package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
- package/dist/chart-rendering/common/data/index.d.ts +9 -6
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +39 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +7 -8
- package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
- package/dist/chart-rendering/common/events/index.d.ts +2 -4
- package/dist/chart-rendering/common/interfaces.d.ts +20 -7
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/common/t9n/errors/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +11 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-renderer/index.d.ts +3 -8
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +8 -6
- package/dist/chart-rendering/next/chart-library-elements/legend/interfaces.d.ts +15 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +4 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +9 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/series/line-chart/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/pie-chart/index.d.ts +2 -0
- package/dist/chart-rendering/next/chart-library-elements/series/radar-chart/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +8 -17
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +13 -16
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/defaults/index.d.ts +4 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/interfaces.d.ts +4 -0
- package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/next/utils/misc/index.d.ts +9 -3
- package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +4 -22
- package/dist/chart-rendering/stable/chart-library-elements/cursor/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/index.d.ts +0 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/axis-label/index.d.ts +1 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/data-label/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/label/data-label/interfaces.d.ts +3 -3
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
- package/dist/chart-rendering/stable/chart-library-elements/legends/index.d.ts +4 -4
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +2 -3
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +4 -6
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/utils/index.d.ts +3 -15
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/chart-library-elements/tooltips/interfaces.d.ts +3 -3
- package/dist/chart-rendering/stable/index.d.ts +8 -4
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/selection/switch/index.d.ts +1 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +3 -9
- package/dist/chunks/action-bar-utils.js +52 -39
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +216 -194
- package/dist/chunks/box-plot-model.js +37 -29
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +51 -56
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +151 -5393
- package/dist/chunks/data.js +61 -924
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +22 -14
- package/dist/chunks/heat-chart-model.js +201 -56
- package/dist/chunks/histogram-data.js +57 -49
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23838 -2205
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -16256
- package/dist/chunks/line-chart-model.js +17 -9
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +35 -26
- package/dist/chunks/model-with-multi-axes.js +143 -144
- package/dist/chunks/model-with-rotation.js +15 -6
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +65 -56
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +15 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +45 -37
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +63 -47
- package/dist/chunks/series-types.js +3 -2
- package/dist/chunks/series.js +18 -9
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +213 -198
- package/dist/components/arcgis-chart/customElement.d.ts +609 -78
- package/dist/components/arcgis-chart/customElement.js +8382 -9102
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +45 -46
- package/dist/components/arcgis-charts-action-bar/customElement.js +57 -48
- package/dist/components/arcgis-charts-config-axes/customElement.d.ts +6 -6
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.d.ts +5 -5
- package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +9 -4
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.d.ts +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +19 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.d.ts +3 -9
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +41 -31
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +18 -9
- package/dist/components/arcgis-charts-config-box-plot/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +12 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +52 -45
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.d.ts +3 -10
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +22 -17
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.d.ts +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +26 -23
- package/dist/components/arcgis-charts-config-color-style/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.d.ts +9 -9
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +26 -17
- package/dist/components/arcgis-charts-config-guide/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +29 -30
- package/dist/components/arcgis-charts-config-guide-popover/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.d.ts +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.d.ts +4 -4
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-histogram/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +6 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +8 -3
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -51
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +20 -11
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +13 -3
- 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.d.ts +3 -3
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +48 -35
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +46 -37
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +14 -5
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +7 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +23 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
- package/dist/docs/api.json +86 -126
- package/dist/docs/docs.json +143 -100
- package/dist/docs/vscode.html-custom-data.json +16 -7
- package/dist/docs/web-types.json +30 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +426 -403
- package/dist/json-schema/index.d.ts +19 -3
- package/dist/loader.js +2 -2
- package/dist/model/chart-model/chart-model.d.ts +4 -9
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +85 -11
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +74 -8
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +4 -3
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +5 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
- package/dist/model/shared/data.d.ts +44 -2
- package/dist/model.js +1 -1
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +11 -4
- package/dist/store.d.ts +24 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +27 -3
- package/dist/utils/chart-config/utils/index.d.ts +286 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +29 -9
- package/dist/utils/components/data-update.d.ts +36 -0
- package/dist/utils/components/event-payloads.d.ts +0 -3
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/index.d.ts +3 -2
- package/dist/utils/data/interfaces.d.ts +31 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +46 -3
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-features/index.d.ts +3 -3
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/dist/utils/misc/index.d.ts +1 -8
- package/dist/utils/misc/interfaces.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/23AIGMOS.js +0 -129
- package/dist/cdn/253EBRZ5.js +0 -4
- package/dist/cdn/2CJT4M22.js +0 -4
- package/dist/cdn/2FRWRPBF.js +0 -4
- package/dist/cdn/2GWGVCQR.js +0 -42
- package/dist/cdn/2PDEE2RI.js +0 -4
- package/dist/cdn/34RWT6XL.js +0 -4
- package/dist/cdn/3EJLSFQQ.js +0 -4
- package/dist/cdn/3KJJOBGB.js +0 -144
- package/dist/cdn/3PYA77GX.js +0 -4
- package/dist/cdn/47JTPXVR.js +0 -4
- package/dist/cdn/4EWYEIWL.js +0 -4
- package/dist/cdn/4PHVX754.js +0 -4
- package/dist/cdn/4SFEDWDU.js +0 -4
- package/dist/cdn/5KIQXKFT.js +0 -4
- package/dist/cdn/5OFF364O.js +0 -4
- package/dist/cdn/5OZJDCSG.js +0 -4
- package/dist/cdn/5RLVHCNN.js +0 -4
- package/dist/cdn/5SIKECXR.js +0 -4
- package/dist/cdn/677IXMD2.js +0 -4
- package/dist/cdn/6G3HPMKF.js +0 -4
- package/dist/cdn/7FWB2ATQ.js +0 -4
- package/dist/cdn/A2PZJXOF.js +0 -4
- package/dist/cdn/A5UYWLWC.js +0 -4
- package/dist/cdn/ABNCQSKU.js +0 -4
- package/dist/cdn/ADEQHQKO.js +0 -6
- package/dist/cdn/AYAYD7BQ.js +0 -4
- package/dist/cdn/BKOTC72T.js +0 -4
- package/dist/cdn/BWPCIS22.js +0 -4
- package/dist/cdn/BXZGY6WH.js +0 -4
- package/dist/cdn/CGMWISVP.js +0 -4
- package/dist/cdn/CHPL6POI.js +0 -4
- package/dist/cdn/CIDUWKBZ.js +0 -4
- package/dist/cdn/COJGJDMG.js +0 -4
- package/dist/cdn/CSNMJ375.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DFQEX66A.js +0 -6
- package/dist/cdn/DKE4SEST.js +0 -4
- package/dist/cdn/EDJTJIFE.js +0 -4
- package/dist/cdn/EQMYROTI.js +0 -4
- package/dist/cdn/EROFBNQD.js +0 -4
- package/dist/cdn/ETFUM24R.js +0 -4
- package/dist/cdn/EYJZ2BGV.js +0 -4
- package/dist/cdn/FIJF52OQ.js +0 -4
- package/dist/cdn/G6TMP4L2.js +0 -11
- package/dist/cdn/GB33FVKX.js +0 -4
- package/dist/cdn/GGRFF4GR.js +0 -4
- package/dist/cdn/GIRZTBYA.js +0 -4
- package/dist/cdn/GXS5KVQP.js +0 -4
- package/dist/cdn/HP26B2II.js +0 -4
- package/dist/cdn/IGD7GATT.js +0 -4
- package/dist/cdn/IH5RYTE7.js +0 -4
- package/dist/cdn/IKW7QC2H.js +0 -4
- package/dist/cdn/IN2OBWQD.js +0 -4
- package/dist/cdn/ITBBXO7I.js +0 -4
- package/dist/cdn/IUSHQNPG.js +0 -4
- package/dist/cdn/IYQW5E2J.js +0 -4
- package/dist/cdn/J2H34M5F.js +0 -4
- package/dist/cdn/JGI7MHQS.js +0 -4
- package/dist/cdn/JHV6DKSL.js +0 -4
- package/dist/cdn/JNHTV6N7.js +0 -4
- package/dist/cdn/JYD4F2LK.js +0 -4
- package/dist/cdn/KJWQZ5BF.js +0 -4
- package/dist/cdn/KQV74LW7.js +0 -4
- package/dist/cdn/LB4E5LKF.js +0 -4
- package/dist/cdn/LOSQX2HF.js +0 -4
- package/dist/cdn/LXRX5BRF.js +0 -58
- package/dist/cdn/LYP2ZA6R.js +0 -4
- package/dist/cdn/M5J2FZZH.js +0 -4
- package/dist/cdn/M6YVC4WL.js +0 -4
- package/dist/cdn/MMRKLXOJ.js +0 -4
- package/dist/cdn/MNJIU6S3.js +0 -4
- package/dist/cdn/NNCNBTGU.js +0 -4
- package/dist/cdn/NRUHKFTL.js +0 -4
- package/dist/cdn/NW2RT4AV.js +0 -4
- package/dist/cdn/NZETH7GB.js +0 -4
- package/dist/cdn/O62C72HJ.js +0 -4
- package/dist/cdn/OJMNADCQ.js +0 -4
- package/dist/cdn/OJW4BFIF.js +0 -4
- package/dist/cdn/ONHE4NYE.js +0 -4
- package/dist/cdn/ORSMQG3S.js +0 -4
- package/dist/cdn/OTHF7XD7.js +0 -4
- package/dist/cdn/PPOFAXZF.js +0 -4
- package/dist/cdn/PQEK6JZ3.js +0 -4
- package/dist/cdn/PZKD4XXE.js +0 -4
- package/dist/cdn/Q4EG4WII.js +0 -4
- package/dist/cdn/Q4OQ2HAS.js +0 -4
- package/dist/cdn/Q75QJJ5S.js +0 -4
- package/dist/cdn/QROVOYO5.js +0 -4
- package/dist/cdn/QX2PM6TO.js +0 -4
- package/dist/cdn/QZDKXMZK.js +0 -4
- package/dist/cdn/S76XKWMR.js +0 -4
- package/dist/cdn/SGZAXOJB.js +0 -4
- package/dist/cdn/SM6W2HXX.js +0 -4
- package/dist/cdn/TINGV5ZP.js +0 -4
- package/dist/cdn/TOGV3IPG.js +0 -4
- package/dist/cdn/U5TEH6C2.js +0 -244
- package/dist/cdn/UADJZEXE.js +0 -4
- package/dist/cdn/VFJ75GUY.js +0 -4
- package/dist/cdn/VWAOA3DM.js +0 -4
- package/dist/cdn/W4DZUYWA.js +0 -144
- package/dist/cdn/WPGBHOL3.js +0 -4
- package/dist/cdn/WQFCWQF4.js +0 -4
- package/dist/cdn/WSVXUCFC.js +0 -4
- package/dist/cdn/X6WKD56L.js +0 -4
- package/dist/cdn/XF56GCA5.js +0 -4
- package/dist/cdn/XMPWOJ3P.js +0 -4
- package/dist/cdn/XU36IYYP.js +0 -4
- package/dist/cdn/XUEMR4Q6.js +0 -4
- package/dist/cdn/XVG2NBTS.js +0 -4
- package/dist/cdn/YAKYYS54.js +0 -4
- package/dist/cdn/YJPEUAR3.js +0 -4
- package/dist/cdn/YQBK33T3.js +0 -4
- package/dist/cdn/ZA4HHHYT.js +0 -4
- package/dist/cdn/ZDLKRIBF.js +0 -4
- package/dist/cdn/ZMCOMON4.js +0 -4
- package/dist/cdn/ZNA6NRL6.js +0 -4
- package/dist/cdn/ZQA72FPQ.js +0 -4
- package/dist/cdn/ZVMHRW5L.js +0 -4
- package/dist/cdn/stdin.css +0 -1
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +0 -23
- package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/interfaces.d.ts +0 -18
- package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +0 -15
- package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/interfaces.d.ts +0 -14
- package/dist/chart-rendering/stable/chart-library-elements/label/data-label/histogram/index.d.ts +0 -15
- package/dist/chart-rendering/stable/chart-library-elements/label/data-label/scatter-plot/index.d.ts +0 -15
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +0 -14
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +0 -58
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +0 -14
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +0 -35
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +0 -28
- package/dist/chart-rendering/stable/chart-library-elements/tooltips/histogram/index.d.ts +0 -15
- package/dist/chart-rendering/stable/chart-library-elements/tooltips/histogram/interfaces.d.ts +0 -5
- package/dist/chart-rendering/stable/chart-library-elements/tooltips/scatter-plot/index.d.ts +0 -16
- package/dist/chart-rendering/stable/chart-library-elements/tooltips/scatter-plot/interfaces.d.ts +0 -5
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { W as
|
|
1
|
+
import { W as o } from "./series-types.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as P } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aL as c, b3 as O, aH as h, at as C, p as m, d8 as n, X as A, bc as I, b5 as V } from "./index.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,24 +12,32 @@ 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
|
|
15
|
+
import { C as w } from "./model-with-multi-axes.js";
|
|
16
16
|
import { b as a, a as l } from "./common.js";
|
|
17
|
-
import { M as _, a as
|
|
17
|
+
import { M as _, a as x, b as U, c as N } from "./model-with-data-labels.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
19
|
+
import { d as b, i as M, h as k } from "./serial-chart-data.js";
|
|
20
|
+
import "@arcgis/core/Graphic.js";
|
|
21
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
22
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
23
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
24
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
25
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
26
|
+
import "simple-statistics";
|
|
27
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
+
import { g as u, s as G, a as W, c as z, b as B, d as R, e as E, f as K, h as p, i as f, j } from "./pie-chart-data.js";
|
|
21
29
|
import { R as g } from "./rest-js-object-literals.js";
|
|
22
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
25
|
-
const
|
|
26
|
-
e.series[0]?.type ===
|
|
27
|
-
},
|
|
28
|
-
e.series[0]?.type ===
|
|
29
|
-
},
|
|
30
|
-
e.series[0]?.type ===
|
|
32
|
+
v5.0.0-next.61 */
|
|
33
|
+
const H = (t) => t.legend?.displayNumericValue ?? !1, X = (t, e) => {
|
|
34
|
+
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.displayNumericValue = t);
|
|
35
|
+
}, q = (t) => t.legend?.displayPercentage ?? !1, J = (t, e) => {
|
|
36
|
+
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.displayPercentage = t);
|
|
37
|
+
}, Q = (t) => t.legend?.labelMaxWidth ?? 200, Y = (t, e) => {
|
|
38
|
+
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.labelMaxWidth = t);
|
|
31
39
|
};
|
|
32
|
-
class
|
|
40
|
+
class v extends _ {
|
|
33
41
|
/**
|
|
34
42
|
* Gets the setting for the display of numerical value in the legend items.
|
|
35
43
|
* @returns {boolean}
|
|
@@ -37,7 +45,7 @@ class b extends _ {
|
|
|
37
45
|
* This setting is only applicable to pie charts.
|
|
38
46
|
*/
|
|
39
47
|
getDisplayNumericValue() {
|
|
40
|
-
return
|
|
48
|
+
return H(this._config);
|
|
41
49
|
}
|
|
42
50
|
/**
|
|
43
51
|
* Sets the setting for the display of numerical value in the legend items.
|
|
@@ -46,7 +54,7 @@ class b extends _ {
|
|
|
46
54
|
* This setting is only applicable to pie charts.
|
|
47
55
|
*/
|
|
48
56
|
setDisplayNumericValue(e) {
|
|
49
|
-
|
|
57
|
+
X(e, this._config), this.emitConfigUpdate("setDisplayNumericValue");
|
|
50
58
|
}
|
|
51
59
|
/**
|
|
52
60
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -55,7 +63,7 @@ class b extends _ {
|
|
|
55
63
|
* This setting is only applicable to pie charts.
|
|
56
64
|
*/
|
|
57
65
|
getDisplayPercentage() {
|
|
58
|
-
return
|
|
66
|
+
return q(this._config);
|
|
59
67
|
}
|
|
60
68
|
/**
|
|
61
69
|
* Sets the setting for the display of percentage in the legend items.
|
|
@@ -64,7 +72,7 @@ class b extends _ {
|
|
|
64
72
|
* This setting is only applicable to pie charts.
|
|
65
73
|
*/
|
|
66
74
|
setDisplayPercentage(e) {
|
|
67
|
-
|
|
75
|
+
J(e, this._config), this.emitConfigUpdate("setDisplayPercentage");
|
|
68
76
|
}
|
|
69
77
|
/**
|
|
70
78
|
* Gets the maximum width in pixel for the legend item labels.
|
|
@@ -73,7 +81,7 @@ class b extends _ {
|
|
|
73
81
|
* This setting is only applicable to pie charts.
|
|
74
82
|
*/
|
|
75
83
|
getLabelMaxWidth() {
|
|
76
|
-
return
|
|
84
|
+
return Q(this._config);
|
|
77
85
|
}
|
|
78
86
|
/**
|
|
79
87
|
* Sets the maximum width in pixel for the legend item labels.
|
|
@@ -85,7 +93,7 @@ class b extends _ {
|
|
|
85
93
|
Y(e, this._config), this.emitConfigUpdate("setLabelMaxWidth");
|
|
86
94
|
}
|
|
87
95
|
}
|
|
88
|
-
v
|
|
96
|
+
b(v, [_]);
|
|
89
97
|
const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
90
98
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
91
99
|
}, ee = (t) => t.series?.[0]?.dataLabelsCharacterLimit, te = (t, e) => {
|
|
@@ -94,7 +102,7 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
94
102
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
95
103
|
}, se = (t, e) => {
|
|
96
104
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
97
|
-
}, re = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, ae = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0,
|
|
105
|
+
}, re = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, ae = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, oe = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, ne = (t, e) => {
|
|
98
106
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
99
107
|
}, le = (t) => t.series?.[0]?.valuePrefix, ge = (t, e) => {
|
|
100
108
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
@@ -102,9 +110,9 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
102
110
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
103
111
|
}, he = (t) => t.series?.[0]?.percentagePrefix, me = (t, e) => {
|
|
104
112
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
105
|
-
}, ue = (t) => t.series?.[0]?.percentageSuffix,
|
|
113
|
+
}, ue = (t) => t.series?.[0]?.percentageSuffix, pe = (t, e) => {
|
|
106
114
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
107
|
-
},
|
|
115
|
+
}, fe = (t) => {
|
|
108
116
|
let e;
|
|
109
117
|
const i = t.series?.[0];
|
|
110
118
|
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = a.Both : i?.displayNumericValueOnDataLabel === !0 ? e = a.Value : e = a.Percentage, e;
|
|
@@ -119,7 +127,7 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
119
127
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
120
128
|
}, Ce = (t) => t.series?.[0]?.dataLabelsInside ?? !1, _e = (t, e) => {
|
|
121
129
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
122
|
-
},
|
|
130
|
+
}, be = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ve = (t, e) => {
|
|
123
131
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
124
132
|
}, Le = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Fe = (t, e) => {
|
|
125
133
|
e.series?.[0] && (e.series[0].numericValueFormat ??= h(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= h(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
@@ -129,7 +137,7 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
129
137
|
e.series?.[0] && (e.series[0].ticks ??= O(), e.series[0].ticks.visible = t);
|
|
130
138
|
}, Ie = (t) => t.series[0]?.ticks?.lineSymbol, Ve = (t, e) => {
|
|
131
139
|
t && e.series?.[0] && (e.series[0].ticks ??= O(), e.series[0].ticks.lineSymbol = P(t));
|
|
132
|
-
},
|
|
140
|
+
}, we = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, xe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ue = (t, e, i) => {
|
|
133
141
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
134
142
|
}, Ne = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Me = (t, e, i) => {
|
|
135
143
|
const s = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
@@ -144,12 +152,12 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
144
152
|
);
|
|
145
153
|
}, Ge = (t) => t.series?.[0]?.sliceGrouping, L = (t, e) => {
|
|
146
154
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
147
|
-
}, F = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold,
|
|
155
|
+
}, F = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, We = (t, e) => {
|
|
148
156
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
149
157
|
sliceId: C.defaultGroupOfSlicesId,
|
|
150
158
|
percentageThreshold: t
|
|
151
159
|
};
|
|
152
|
-
},
|
|
160
|
+
}, ze = (t) => t.series?.[0]?.slices, D = (t, e) => {
|
|
153
161
|
e.series?.[0] && (e.series[0].slices = t);
|
|
154
162
|
}, Be = (t) => {
|
|
155
163
|
D(void 0, t), L(
|
|
@@ -159,17 +167,17 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
159
167
|
},
|
|
160
168
|
t
|
|
161
169
|
);
|
|
162
|
-
}, Re = (t, e) => e.series[0]?.slices?.[t]?.sliceId, Ee = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t),
|
|
163
|
-
class
|
|
170
|
+
}, Re = (t, e) => e.series[0]?.slices?.[t]?.sliceId, Ee = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), Ke = (t) => t.series[0]?.slices?.length ?? 0;
|
|
171
|
+
class je extends w {
|
|
164
172
|
constructor() {
|
|
165
|
-
super(...arguments), this._chartType =
|
|
173
|
+
super(...arguments), this._chartType = o.PieSeries, this._mode = l.Category, this._groupedSliceIds = [];
|
|
166
174
|
}
|
|
167
175
|
async setup(e) {
|
|
168
176
|
await this.loadConfigFromLayer(e);
|
|
169
177
|
const { config: i } = e;
|
|
170
178
|
if (i !== void 0) {
|
|
171
179
|
const s = m(i.series);
|
|
172
|
-
this._mode = s !==
|
|
180
|
+
this._mode = s !== n.PieFromFields ? l.Category : l.Fields;
|
|
173
181
|
}
|
|
174
182
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
175
183
|
}
|
|
@@ -197,11 +205,11 @@ class Ke extends x {
|
|
|
197
205
|
* Numeric fields for the pie chart.
|
|
198
206
|
*/
|
|
199
207
|
get numericFields() {
|
|
200
|
-
return
|
|
208
|
+
return W(this._config);
|
|
201
209
|
}
|
|
202
210
|
set numericFields(e) {
|
|
203
211
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
204
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : !0) ? (
|
|
212
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : !0) ? (z({
|
|
205
213
|
newNumericFields: e,
|
|
206
214
|
config: this._config,
|
|
207
215
|
layerInfo: this.layerInfo,
|
|
@@ -237,22 +245,24 @@ class Ke extends x {
|
|
|
237
245
|
/**
|
|
238
246
|
* Sets the sort order for the pie chart.
|
|
239
247
|
* @param {PieChartDataSortingKinds} sortOrder The sort order.
|
|
248
|
+
* @param {string[]} orderByList The list of category values.
|
|
240
249
|
*/
|
|
241
250
|
setSortOrder(e, i) {
|
|
242
|
-
|
|
251
|
+
K({
|
|
243
252
|
newSortOrderKind: e,
|
|
244
253
|
config: this._config,
|
|
245
254
|
orderByList: i
|
|
246
255
|
}), this.emitConfigUpdate("setSortOrder");
|
|
247
256
|
}
|
|
248
|
-
|
|
257
|
+
/**
|
|
258
|
+
* List of category's values for custom sort
|
|
249
259
|
*/
|
|
250
260
|
get orderByList() {
|
|
251
|
-
return
|
|
261
|
+
return p(this._config, this._mode);
|
|
252
262
|
}
|
|
253
263
|
set orderByList(e) {
|
|
254
264
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
255
|
-
|
|
265
|
+
f({
|
|
256
266
|
values: e,
|
|
257
267
|
config: this._config,
|
|
258
268
|
mode: this._mode
|
|
@@ -261,9 +271,7 @@ class Ke extends x {
|
|
|
261
271
|
}
|
|
262
272
|
/**
|
|
263
273
|
* The pie chart data mode (Category or Fields).
|
|
264
|
-
*
|
|
265
274
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
266
|
-
*
|
|
267
275
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
268
276
|
*/
|
|
269
277
|
get mode() {
|
|
@@ -279,7 +287,7 @@ class Ke extends x {
|
|
|
279
287
|
async getCustomSortValues() {
|
|
280
288
|
const e = u(this._config), i = m(this._config.series);
|
|
281
289
|
let s = [];
|
|
282
|
-
return i ===
|
|
290
|
+
return i === n.PieFromFields ? s = this.numericFields : e.trim() !== "" && i === n.PieFromCategory && (s = await k({
|
|
283
291
|
category: e,
|
|
284
292
|
config: this._config,
|
|
285
293
|
layerInfo: this.layerInfo
|
|
@@ -293,8 +301,8 @@ class Ke extends x {
|
|
|
293
301
|
*/
|
|
294
302
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
295
303
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
296
|
-
const s =
|
|
297
|
-
s.splice(i, 0, r),
|
|
304
|
+
const s = p(this._config, this._mode), [r] = s.splice(e, 1);
|
|
305
|
+
s.splice(i, 0, r), f({
|
|
298
306
|
values: s,
|
|
299
307
|
config: this._config,
|
|
300
308
|
mode: this._mode
|
|
@@ -322,7 +330,7 @@ class Ke extends x {
|
|
|
322
330
|
* Array of slices for the pie chart.
|
|
323
331
|
*/
|
|
324
332
|
get slices() {
|
|
325
|
-
return
|
|
333
|
+
return ze(this._config);
|
|
326
334
|
}
|
|
327
335
|
set slices(e) {
|
|
328
336
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -368,7 +376,7 @@ class Ke extends x {
|
|
|
368
376
|
}
|
|
369
377
|
set groupingThreshold(e) {
|
|
370
378
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
371
|
-
|
|
379
|
+
We(e, this._config), this.emitConfigUpdate("groupingThreshold");
|
|
372
380
|
});
|
|
373
381
|
}
|
|
374
382
|
/**
|
|
@@ -397,7 +405,7 @@ class Ke extends x {
|
|
|
397
405
|
* Display type for the pie chart slices. Specifies whether to display the slices as a percentage, value, or both.
|
|
398
406
|
*/
|
|
399
407
|
get displayType() {
|
|
400
|
-
return
|
|
408
|
+
return fe(this._config);
|
|
401
409
|
}
|
|
402
410
|
set displayType(e) {
|
|
403
411
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -416,10 +424,11 @@ class Ke extends x {
|
|
|
416
424
|
// ---------------------------------------------------------------------------------------------
|
|
417
425
|
/**
|
|
418
426
|
* Gets the original name of the slice based on the slice index.
|
|
427
|
+
* @param {number} sliceIndex - The index of the slice.
|
|
419
428
|
* @returns {Date | number | string | null | undefined}
|
|
420
429
|
*/
|
|
421
430
|
getOriginalSliceName(e) {
|
|
422
|
-
return
|
|
431
|
+
return we(e, this._config);
|
|
423
432
|
}
|
|
424
433
|
/**
|
|
425
434
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -427,7 +436,7 @@ class Ke extends x {
|
|
|
427
436
|
* @returns {string | undefined}
|
|
428
437
|
*/
|
|
429
438
|
getSliceName(e) {
|
|
430
|
-
return
|
|
439
|
+
return xe(e, this._config);
|
|
431
440
|
}
|
|
432
441
|
/**
|
|
433
442
|
* Sets name of the slice based on the slice index.
|
|
@@ -503,7 +512,7 @@ class Ke extends x {
|
|
|
503
512
|
* @returns {number}
|
|
504
513
|
*/
|
|
505
514
|
getSlicesLength() {
|
|
506
|
-
return
|
|
515
|
+
return Ke(this._config);
|
|
507
516
|
}
|
|
508
517
|
/**
|
|
509
518
|
* Resets the slices styling to the default styling.
|
|
@@ -592,11 +601,11 @@ class Ke extends x {
|
|
|
592
601
|
* @remarks If the setting is not found in the config, it will default to `true`.
|
|
593
602
|
*/
|
|
594
603
|
get displayPercentageOnTooltip() {
|
|
595
|
-
return
|
|
604
|
+
return oe(this._config);
|
|
596
605
|
}
|
|
597
606
|
set displayPercentageOnTooltip(e) {
|
|
598
607
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
599
|
-
|
|
608
|
+
ne(e, this._config), this.emitConfigUpdate("displayPercentageOnTooltip");
|
|
600
609
|
});
|
|
601
610
|
}
|
|
602
611
|
/**
|
|
@@ -640,18 +649,18 @@ class Ke extends x {
|
|
|
640
649
|
}
|
|
641
650
|
set percentageSuffix(e) {
|
|
642
651
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
643
|
-
|
|
652
|
+
pe(e, this._config), this.emitConfigUpdate("percentageSuffix");
|
|
644
653
|
});
|
|
645
654
|
}
|
|
646
655
|
/**
|
|
647
656
|
* Offset for the data labels.
|
|
648
657
|
*/
|
|
649
658
|
get dataLabelsOffset() {
|
|
650
|
-
return
|
|
659
|
+
return be(this._config);
|
|
651
660
|
}
|
|
652
661
|
set dataLabelsOffset(e) {
|
|
653
662
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
654
|
-
|
|
663
|
+
ve(e, this._config), this.emitConfigUpdate("dataLabelsOffset");
|
|
655
664
|
});
|
|
656
665
|
}
|
|
657
666
|
/**
|
|
@@ -696,7 +705,7 @@ class Ke extends x {
|
|
|
696
705
|
* @returns {string}
|
|
697
706
|
*/
|
|
698
707
|
generateChartTitle() {
|
|
699
|
-
return
|
|
708
|
+
return j({
|
|
700
709
|
config: this._config,
|
|
701
710
|
layerInfo: this.layerInfo,
|
|
702
711
|
commonStrings: this.commonStrings,
|
|
@@ -704,7 +713,7 @@ class Ke extends x {
|
|
|
704
713
|
});
|
|
705
714
|
}
|
|
706
715
|
}
|
|
707
|
-
|
|
716
|
+
b(je, [v, x, U, N]);
|
|
708
717
|
export {
|
|
709
|
-
|
|
718
|
+
je as PieChartModel
|
|
710
719
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as r } from "lodash-es";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.61 */
|
|
5
5
|
const i = (e) => (e?.remove(), null), a = (e, t = !1) => {
|
|
6
6
|
e && (t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events")), e.triggerDisabled = t, e.open = t);
|
|
7
7
|
}, l = (e, t) => e !== void 0 && t !== void 0 && !r(e, t);
|
|
@@ -2,25 +2,33 @@ import { W as l } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { bb as n, a$ as r, ax as m, an as h } from "./index.js";
|
|
6
|
+
import "@arcgis/core/Graphic.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import "@arcgis/core/intl.js";
|
|
10
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
+
import "simple-statistics";
|
|
14
|
+
import "@arcgis/core/request.js";
|
|
15
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
6
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
9
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
10
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import "@arcgis/core/request.js";
|
|
13
22
|
import "./runtime.js";
|
|
14
23
|
import "@arcgis/toolkit/dom";
|
|
15
24
|
import { S as f, s as S, a as d } from "./serial-chart-model.js";
|
|
16
|
-
import "@arcgis/core/intl.js";
|
|
17
25
|
import "./model-with-multi-axes.js";
|
|
18
26
|
import { M as c, a as g } from "./model-with-baseline-stacking.js";
|
|
19
|
-
import { s as y, a as
|
|
20
|
-
import {
|
|
27
|
+
import { s as y, a as p, b as u, c as b, d as I } from "./baseline-stacking.js";
|
|
28
|
+
import { c as o, d as k } from "./serial-chart-data.js";
|
|
21
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.61 */
|
|
24
32
|
class M extends f {
|
|
25
33
|
constructor() {
|
|
26
34
|
super(...arguments), this._chartType = l.RadarSeries;
|
|
@@ -69,7 +77,7 @@ class M extends f {
|
|
|
69
77
|
});
|
|
70
78
|
s !== this.layerInfo.objectIdField && d(s ?? i, e, this._config);
|
|
71
79
|
}
|
|
72
|
-
|
|
80
|
+
p(this.defaultSeries?.lineSymbol?.style, e, this._config), u(this.defaultSeries?.lineSymbol?.width, e, this._config), b(this.defaultSeries?.markerSymbol?.style, e, this._config), I(this.defaultSeries?.markerSymbol?.size, e, this._config);
|
|
73
81
|
}
|
|
74
82
|
this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
|
|
75
83
|
});
|
package/dist/chunks/resource.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n } from "./type-guards.js";
|
|
|
3
3
|
import "./series-types.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.61 */
|
|
7
7
|
const u = {
|
|
8
8
|
addGuide: "add-guide",
|
|
9
9
|
noMessages: "no-messages"
|
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/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.61 */
|
|
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,53 +2,61 @@ import { W as _ } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEmpty as c, isEqual as O } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aT as w, aU as d, cR as l, X as h, bG as P, be as U } from "./index.js";
|
|
6
|
+
import "@arcgis/core/Graphic.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import { substitute as X } from "@arcgis/core/intl.js";
|
|
10
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
+
import "simple-statistics";
|
|
14
|
+
import "@arcgis/core/request.js";
|
|
15
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
6
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
9
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
10
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import "@arcgis/core/request.js";
|
|
13
22
|
import "./runtime.js";
|
|
14
23
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { g as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { M as B, a as G, b as N, c as q } from "./model-with-data-labels.js";
|
|
24
|
+
import { g as Y, a as A, s as m, u as g, l as W, d as k } from "./serial-chart-data.js";
|
|
25
|
+
import { C as z, M as D, b as E, a as G } from "./model-with-multi-axes.js";
|
|
26
|
+
import { M as V, a as B, b as N, c as q } from "./model-with-data-labels.js";
|
|
19
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.61 */
|
|
22
30
|
const v = (t) => {
|
|
23
|
-
|
|
31
|
+
m({ config: t, value: null, axisIndex: 0, isMax: !1 }), m({ config: t, value: null, axisIndex: 0, isMax: !0 }), m({ config: t, value: null, axisIndex: 1, isMax: !1 }), m({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
24
32
|
}, S = (t) => {
|
|
25
|
-
const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((
|
|
26
|
-
|
|
33
|
+
const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((u) => u.name === e), a = n !== void 0 && P(n);
|
|
34
|
+
W(s, i, a);
|
|
27
35
|
};
|
|
28
36
|
function F(t, e, i) {
|
|
29
|
-
const s =
|
|
37
|
+
const s = x(t, e, i), r = Y(t), o = h(t);
|
|
30
38
|
return s === r || o;
|
|
31
39
|
}
|
|
32
40
|
function C(t, e) {
|
|
33
|
-
const { layerFieldsInfo: i } = e, s = l(i,
|
|
41
|
+
const { layerFieldsInfo: i } = e, s = l(i, p(t)), r = A(1, t), o = h(t);
|
|
34
42
|
return s === r || o;
|
|
35
43
|
}
|
|
36
44
|
function L(t, e) {
|
|
37
|
-
const { layerFieldsInfo: i } = e, s =
|
|
45
|
+
const { layerFieldsInfo: i } = e, s = y(t), r = l(i, s), o = A(0, t), n = h(t);
|
|
38
46
|
return r === o || n;
|
|
39
47
|
}
|
|
40
|
-
function
|
|
41
|
-
const s =
|
|
42
|
-
return
|
|
48
|
+
function x(t, e, i) {
|
|
49
|
+
const s = y(t), r = p(t), { layerFieldsInfo: o } = e, n = l(o, s), a = l(o, r);
|
|
50
|
+
return X(i.titleLabels.xAndY, { x: n, y: a });
|
|
43
51
|
}
|
|
44
52
|
const I = (t) => {
|
|
45
|
-
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings:
|
|
46
|
-
!c(e) && n && g(s, 0, b), !c(i) && a && g(s, 1, M), !c(e) && !c(i) && s.title && o && (s.title.content.text =
|
|
47
|
-
},
|
|
53
|
+
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: u } = t, { layerFieldsInfo: f } = r, b = l(f, e), M = l(f, i);
|
|
54
|
+
!c(e) && n && g(s, 0, b), !c(i) && a && g(s, 1, M), !c(e) && !c(i) && s.title && o && (s.title.content.text = x(s, r, u));
|
|
55
|
+
}, y = (t) => t.series[0]?.x ?? "", p = (t) => t.series[0]?.y ?? "", R = (t) => {
|
|
48
56
|
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = F(i, s, r), n = L(i, s), a = C(i, s);
|
|
49
57
|
v(i), i.series[0] && (i.series[0].x = e), I({
|
|
50
58
|
x: e,
|
|
51
|
-
y:
|
|
59
|
+
y: p(i),
|
|
52
60
|
config: i,
|
|
53
61
|
layerInfo: s,
|
|
54
62
|
updateChartTitle: o,
|
|
@@ -61,10 +69,10 @@ const I = (t) => {
|
|
|
61
69
|
config: i,
|
|
62
70
|
layerInfo: s
|
|
63
71
|
});
|
|
64
|
-
},
|
|
72
|
+
}, j = (t) => {
|
|
65
73
|
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = F(i, s, r), n = L(i, s), a = C(i, s);
|
|
66
74
|
v(i), i.series[0] && (i.series[0].y = e), I({
|
|
67
|
-
x:
|
|
75
|
+
x: y(i),
|
|
68
76
|
y: e,
|
|
69
77
|
config: i,
|
|
70
78
|
layerInfo: s,
|
|
@@ -78,12 +86,12 @@ const I = (t) => {
|
|
|
78
86
|
config: i,
|
|
79
87
|
layerInfo: s
|
|
80
88
|
});
|
|
81
|
-
},
|
|
89
|
+
}, H = (t) => {
|
|
82
90
|
const e = {};
|
|
83
91
|
return t.series[0]?.markerSymbol ?? e;
|
|
84
|
-
},
|
|
92
|
+
}, J = (t, e) => {
|
|
85
93
|
e.series[0] && (e.series[0].markerSymbol = t);
|
|
86
|
-
},
|
|
94
|
+
}, K = (t) => (t.series[0]?.overlays?.trendLine?.visible ?? !0) && (t.series[0]?.overlays?.trendLine?.created ?? !1), Q = (t) => {
|
|
87
95
|
const e = {};
|
|
88
96
|
return t.series[0]?.overlays?.trendLine?.symbol ?? e;
|
|
89
97
|
}, Z = (t, e) => {
|
|
@@ -115,29 +123,29 @@ class ne extends z {
|
|
|
115
123
|
* X-axis field.
|
|
116
124
|
*/
|
|
117
125
|
get xAxisField() {
|
|
118
|
-
return
|
|
126
|
+
return y(this._config);
|
|
119
127
|
}
|
|
120
128
|
set xAxisField(e) {
|
|
121
129
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
122
|
-
|
|
130
|
+
R({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("xAxisField");
|
|
123
131
|
});
|
|
124
132
|
}
|
|
125
133
|
/**
|
|
126
134
|
* Y-axis field.
|
|
127
135
|
*/
|
|
128
136
|
get yAxisField() {
|
|
129
|
-
return
|
|
137
|
+
return p(this._config);
|
|
130
138
|
}
|
|
131
139
|
set yAxisField(e) {
|
|
132
140
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
133
|
-
|
|
141
|
+
j({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("yAxisField");
|
|
134
142
|
});
|
|
135
143
|
}
|
|
136
144
|
/**
|
|
137
145
|
* Whether the linear trend line is shown.
|
|
138
146
|
*/
|
|
139
147
|
get showLinearTrend() {
|
|
140
|
-
return
|
|
148
|
+
return K(this._config);
|
|
141
149
|
}
|
|
142
150
|
set showLinearTrend(e) {
|
|
143
151
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -148,7 +156,7 @@ class ne extends z {
|
|
|
148
156
|
* Line symbol for the linear trend line.
|
|
149
157
|
*/
|
|
150
158
|
get linearTrendSymbol() {
|
|
151
|
-
return
|
|
159
|
+
return Q(this._config);
|
|
152
160
|
}
|
|
153
161
|
set linearTrendSymbol(e) {
|
|
154
162
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -159,11 +167,11 @@ class ne extends z {
|
|
|
159
167
|
* Marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
|
|
160
168
|
*/
|
|
161
169
|
get fixedMarkerSymbol() {
|
|
162
|
-
return
|
|
170
|
+
return H(this._config);
|
|
163
171
|
}
|
|
164
172
|
set fixedMarkerSymbol(e) {
|
|
165
173
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
166
|
-
|
|
174
|
+
J(e, this._config), this.emitConfigUpdate("fixedMarkerSymbol");
|
|
167
175
|
});
|
|
168
176
|
}
|
|
169
177
|
/**
|
|
@@ -211,7 +219,7 @@ class ne extends z {
|
|
|
211
219
|
* @returns {string}
|
|
212
220
|
*/
|
|
213
221
|
generateChartTitle() {
|
|
214
|
-
return
|
|
222
|
+
return x(this._config, this.layerInfo, this.commonStrings);
|
|
215
223
|
}
|
|
216
224
|
/**
|
|
217
225
|
* Generate the proper x-axis title given the current config.
|
|
@@ -238,14 +246,14 @@ class ne extends z {
|
|
|
238
246
|
return U(this.commonStrings);
|
|
239
247
|
}
|
|
240
248
|
}
|
|
241
|
-
|
|
249
|
+
k(ne, [
|
|
242
250
|
D,
|
|
251
|
+
V,
|
|
243
252
|
B,
|
|
244
|
-
G,
|
|
245
253
|
N,
|
|
246
254
|
q,
|
|
247
255
|
E,
|
|
248
|
-
|
|
256
|
+
G
|
|
249
257
|
]);
|
|
250
258
|
export {
|
|
251
259
|
ne as ScatterplotModel
|