@arcgis/charts-components 5.0.0-next.5 → 5.0.0-next.50
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/{4MEZ4HKS.js → 26O4C2SO.js} +2 -2
- package/dist/cdn/2FE3CP67.js +4 -0
- package/dist/cdn/2LAOCG4N.js +4 -0
- package/dist/cdn/{ZTCVGEDC.js → 2ODVQ2TW.js} +2 -2
- package/dist/cdn/2SKE46H5.js +4 -0
- package/dist/cdn/2UF7W2T3.js +4 -0
- package/dist/cdn/36TKGWFT.js +4 -0
- package/dist/cdn/{7XE7ZIHN.js → 3ECNP5BW.js} +2 -2
- package/dist/cdn/3JW7C2KJ.js +4 -0
- package/dist/cdn/{B22PSOMV.js → 3KDD376T.js} +2 -2
- package/dist/cdn/3NS77WJE.js +4 -0
- package/dist/cdn/{NFXRX2K2.js → 3P55YTJS.js} +2 -2
- package/dist/cdn/3SJCXTQK.js +4 -0
- package/dist/cdn/3XISGM2S.js +4 -0
- package/dist/cdn/{I5HVQQ3Q.js → 4FRYL5DA.js} +2 -2
- package/dist/cdn/4FV6KG4R.js +4 -0
- package/dist/cdn/{4D4W6UVF.js → 4GSGKAK7.js} +2 -2
- package/dist/cdn/{DDGMIWZC.js → 4ISZVQHR.js} +2 -2
- package/dist/cdn/5A5MDDRN.js +4 -0
- package/dist/cdn/5MD76I6Q.js +4 -0
- package/dist/cdn/5NG7VBHF.js +4 -0
- package/dist/cdn/5X5UWROJ.js +4 -0
- package/dist/cdn/{ESYIBBDW.js → 5XFQLBWZ.js} +2 -2
- package/dist/cdn/{OSGGRDHY.js → 6AOOCWYY.js} +2 -2
- package/dist/cdn/{KBDI5BIF.js → 6CKIKBY5.js} +2 -2
- package/dist/cdn/{PX4P6EVU.js → 6DJROXGW.js} +2 -2
- package/dist/cdn/6LFBGWK7.js +4 -0
- package/dist/cdn/6QWPIUYA.js +4 -0
- package/dist/cdn/6ZHAZO7H.js +4 -0
- package/dist/cdn/{4JOT7RYS.js → 76RU34IE.js} +2 -2
- package/dist/cdn/7KSA32K2.js +4 -0
- package/dist/cdn/7MG3HYCG.js +4 -0
- package/dist/cdn/7NCXWQXT.js +4 -0
- package/dist/cdn/{DONAR2FZ.js → 7OCEHGAB.js} +2 -2
- package/dist/cdn/{WZO6BPV2.js → 7PRYAUGL.js} +2 -2
- package/dist/cdn/{WTH425VI.js → 7SFWISKR.js} +1 -1
- package/dist/cdn/7YJCBZVH.js +4 -0
- package/dist/cdn/7YON7NDZ.js +4 -0
- package/dist/cdn/{6XICP4O2.js → A27QZJUY.js} +2 -2
- package/dist/cdn/AJS6JW3K.js +4 -0
- package/dist/cdn/AMKUDXZY.js +4 -0
- package/dist/cdn/AN5SQLHN.js +4 -0
- package/dist/cdn/{O3HVGYZS.js → AOFBOMXC.js} +2 -2
- package/dist/cdn/{W6JDJ6CI.js → AOO6GDEC.js} +2 -2
- package/dist/cdn/{A2XWPGD2.js → AXRVOVBF.js} +2 -2
- package/dist/cdn/AZDA3Q2L.js +4 -0
- package/dist/cdn/BD7IJWF7.js +4 -0
- package/dist/cdn/BIH53AYJ.js +4 -0
- package/dist/cdn/{AS4BM6KR.js → BOTWZKUQ.js} +2 -2
- package/dist/cdn/BTHTBV5A.js +6 -0
- package/dist/cdn/BVJI3LIY.js +4 -0
- package/dist/cdn/C45XVNR2.js +4 -0
- package/dist/cdn/C5IRQG7G.js +4 -0
- package/dist/cdn/{XREL2EGV.js → C5S2ZIN3.js} +2 -2
- package/dist/cdn/CCP7ZN73.js +4 -0
- package/dist/cdn/{XWMI6JSB.js → CQULMEMV.js} +2 -2
- package/dist/cdn/{VLY5ZFJB.js → CSFHHFSM.js} +2 -2
- package/dist/cdn/{VEUR3MYM.js → D4ZMBCJK.js} +2 -2
- package/dist/cdn/{CFTAWZ77.js → D544FYGH.js} +2 -2
- package/dist/cdn/DBSN6SJG.js +42 -0
- package/dist/cdn/DFZCEOPG.js +4 -0
- package/dist/cdn/DKXEMIHS.js +4 -0
- package/dist/cdn/DOFYJLXE.js +4 -0
- package/dist/cdn/{5GCX3ASK.js → DUFXKWI7.js} +2 -2
- package/dist/cdn/E7BSRTNI.js +4 -0
- package/dist/cdn/EBR2XG3M.js +4 -0
- package/dist/cdn/EMC4KVH3.js +4 -0
- package/dist/cdn/{CV6THL4H.js → ET5OYNFV.js} +2 -2
- package/dist/cdn/EXG3NG37.js +4 -0
- package/dist/cdn/F2EHEE5T.js +4 -0
- package/dist/cdn/FH3K3YGY.js +4 -0
- package/dist/cdn/{ULD7JICH.js → FQCCQHYM.js} +2 -2
- package/dist/cdn/{Y4BOOI43.js → G6WMNXMR.js} +2 -2
- package/dist/cdn/GDZI66P7.js +4 -0
- package/dist/cdn/{FSLY4LNC.js → GIAD4DDM.js} +2 -2
- package/dist/cdn/{LAGE62S7.js → GN4S6TFX.js} +1 -1
- package/dist/cdn/GOAOMN4Q.js +4 -0
- package/dist/cdn/{6RJ54FTE.js → HCAPGUEP.js} +2 -2
- package/dist/cdn/{H4QOQNQX.js → HDBLEFJX.js} +2 -2
- package/dist/cdn/{JUDN6TYO.js → HITL5LVQ.js} +2 -2
- package/dist/cdn/HJY4LABK.js +4 -0
- package/dist/cdn/{RR2GRLN4.js → HT4B4H7L.js} +2 -2
- package/dist/cdn/{ZV2FCWVF.js → HTZ6HUE7.js} +2 -2
- package/dist/cdn/{7LJXG2EB.js → HV5MTLXN.js} +2 -2
- package/dist/cdn/{PRUOLLXX.js → HZDHFDAV.js} +2 -2
- package/dist/cdn/I6RRJ5CJ.js +4 -0
- package/dist/cdn/IJVHVDJA.js +4 -0
- package/dist/cdn/{D6KEJTTL.js → J2JD62SN.js} +2 -2
- package/dist/cdn/J3MGLAAR.js +4 -0
- package/dist/cdn/JDMFTBMI.js +4 -0
- package/dist/cdn/{VTWEX57C.js → JQNYKK6B.js} +2 -2
- package/dist/cdn/JU2I4345.js +4 -0
- package/dist/cdn/JUFMUQ4P.js +4 -0
- package/dist/cdn/K2I7YI56.js +4 -0
- package/dist/cdn/K74PJ4WB.js +4 -0
- package/dist/cdn/KCWJIC4Q.js +4 -0
- package/dist/cdn/KHDU2R4A.js +4 -0
- package/dist/cdn/{HDBIXSWC.js → KK5H47SG.js} +2 -2
- package/dist/cdn/{4IJR7EHI.js → KOCUEKJS.js} +2 -2
- package/dist/cdn/KWSBNUGE.js +4 -0
- package/dist/cdn/{G6IPNEE3.js → LMUCXDI6.js} +2 -2
- package/dist/cdn/LRSCMZ3N.js +4 -0
- package/dist/cdn/LTULSJDN.js +4 -0
- package/dist/cdn/M3IZDP6V.js +4 -0
- package/dist/cdn/M6LOBOBS.js +4 -0
- package/dist/cdn/MCOJRSYJ.js +4 -0
- package/dist/cdn/MGBNPUZA.js +4 -0
- package/dist/cdn/MHAYB3PH.js +4 -0
- package/dist/cdn/MIWUKL6J.js +4 -0
- package/dist/cdn/{OX37U5FL.js → N7KTRJ45.js} +2 -2
- package/dist/cdn/NARPXZA3.js +4 -0
- package/dist/cdn/{KOZIVKMW.js → NBX37BVN.js} +1 -1
- package/dist/cdn/NDO7DPFW.js +4 -0
- package/dist/cdn/{K4VUPLRS.js → NEKBCXVV.js} +1 -1
- package/dist/cdn/{VIGBYFUK.js → NHJESRHO.js} +2 -2
- package/dist/cdn/NUBOWP55.js +58 -0
- package/dist/cdn/{RFHU6X2B.js → OI7F6IK6.js} +2 -2
- package/dist/cdn/{73AZHLP7.js → OIDFNHHC.js} +2 -2
- package/dist/cdn/{TROAL5VH.js → OSV2I4IK.js} +2 -2
- package/dist/cdn/{FSB6NTEU.js → P25EJVKO.js} +2 -2
- package/dist/cdn/P3PTEKXY.js +4 -0
- package/dist/cdn/{3H5R54P6.js → P7NG5ZCK.js} +2 -2
- package/dist/cdn/PBFPIYFR.js +4 -0
- package/dist/cdn/PJDJY6QO.js +4 -0
- package/dist/cdn/{H355OUXG.js → PKU63745.js} +2 -2
- package/dist/cdn/{IAH4FEMB.js → PKUDLYDH.js} +2 -2
- package/dist/cdn/PRFA2BDM.js +4 -0
- package/dist/cdn/PU7XJKMM.js +4 -0
- package/dist/cdn/QB2ZPNI4.js +4 -0
- package/dist/cdn/{EQRBT4RS.js → QEAILQVT.js} +2 -2
- package/dist/cdn/{AXYMSHID.js → QEITA5KF.js} +2 -2
- package/dist/cdn/QFX2SGPL.js +4 -0
- package/dist/cdn/{635XSSNH.js → QHMU4PPD.js} +2 -2
- package/dist/cdn/{TFR2XJOG.js → QPBSNNTL.js} +2 -2
- package/dist/cdn/{TXAGJJ7V.js → QSJ5TL3F.js} +2 -2
- package/dist/cdn/RAUJYZVX.js +4 -0
- package/dist/cdn/RI66GGYU.js +4 -0
- package/dist/cdn/S5JPO4P5.js +4 -0
- package/dist/cdn/S6A6FEOD.js +4 -0
- package/dist/cdn/{MUTK62YG.js → S6CRYKAL.js} +2 -2
- package/dist/cdn/SGFDMYNP.js +4 -0
- package/dist/cdn/SN4QWSTF.js +4 -0
- package/dist/cdn/SNEW25J3.js +4 -0
- package/dist/cdn/{RIATOUFB.js → SNQHYAG3.js} +2 -2
- package/dist/cdn/SRVZNUFX.js +4 -0
- package/dist/cdn/{Q6LEDMBZ.js → SXD252OF.js} +1 -1
- package/dist/cdn/TBD3E63C.js +4 -0
- package/dist/cdn/TC3FQIMZ.js +4 -0
- package/dist/cdn/TOUJIM3U.js +4 -0
- package/dist/cdn/TQKLOLSZ.js +4 -0
- package/dist/cdn/TWNGAOG7.js +4 -0
- package/dist/cdn/TY5UH5KL.js +4 -0
- package/dist/cdn/U22LBSRH.js +4 -0
- package/dist/cdn/U3JCE5EV.js +4 -0
- package/dist/cdn/UCSCW4TP.js +4 -0
- package/dist/cdn/UDV5BQ27.js +4 -0
- package/dist/cdn/UESZUDON.js +4 -0
- package/dist/cdn/UGMLNPIU.js +4 -0
- package/dist/cdn/{TETZB6TG.js → UJOCZ6ZC.js} +2 -2
- package/dist/cdn/UQAFLBKM.js +4 -0
- package/dist/cdn/VAUIOWOR.js +4 -0
- package/dist/cdn/VBHLUHLE.js +4 -0
- package/dist/cdn/{UUFUCAD3.js → VH3JYV73.js} +1 -1
- package/dist/cdn/{PCGSJWVC.js → VKBB4QVJ.js} +2 -2
- package/dist/cdn/{5HRJVYD3.js → VMNQXSMJ.js} +2 -2
- package/dist/cdn/VYV5RLAJ.js +4 -0
- package/dist/cdn/WDE7QD7R.js +4 -0
- package/dist/cdn/WIMVMWPQ.js +4 -0
- package/dist/cdn/WYOKKG3C.js +4 -0
- package/dist/cdn/WYQLU6FO.js +4 -0
- package/dist/cdn/XOJUQ6ZN.js +4 -0
- package/dist/cdn/XOYESNHD.js +4 -0
- package/dist/cdn/{G2METNMC.js → XVVLJOIO.js} +2 -2
- package/dist/cdn/{JCJDTWWY.js → Y57PLYO3.js} +2 -2
- package/dist/cdn/{Z6IXB3E5.js → YCFOY7IW.js} +2 -2
- package/dist/cdn/YDXWEUMD.js +4 -0
- package/dist/cdn/{HREWUP6X.js → YIZOHZ5W.js} +2 -2
- package/dist/cdn/YPB6ZOPZ.js +4 -0
- package/dist/cdn/YWWSLYQZ.js +4 -0
- package/dist/cdn/ZQS57AFK.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/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 +2 -0
- 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 +6 -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 +9 -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/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 +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- 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/scatter-plot/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- 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 +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/interfaces.d.ts +3 -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/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/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 +2 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- 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/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- 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/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- 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/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 +2 -8
- 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 +215 -193
- package/dist/chunks/box-plot-model.js +34 -26
- 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 +52 -57
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +144 -5401
- package/dist/chunks/data.js +61 -924
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +31 -23
- package/dist/chunks/heat-chart-model.js +176 -51
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23745 -2184
- 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 +30 -21
- 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 +80 -71
- 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 +44 -36
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +58 -42
- 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 +214 -199
- package/dist/components/arcgis-chart/customElement.d.ts +529 -56
- package/dist/components/arcgis-chart/customElement.js +7843 -7687
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +57 -48
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- 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 +5 -0
- 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.js +32 -25
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +18 -9
- 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 +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +56 -49
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
- 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.js +26 -23
- 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.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.js +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.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +26 -17
- package/dist/components/arcgis-charts-config-guide/customElement.js +30 -31
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- 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 +26 -17
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- 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.js +21 -12
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +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.js +42 -33
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- 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 +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- 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.js +21 -12
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +23 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
- package/dist/docs/api.json +27 -288
- package/dist/docs/docs.json +111 -244
- package/dist/docs/vscode.html-custom-data.json +6 -35
- package/dist/docs/web-types.json +12 -64
- package/dist/index.js +425 -406
- package/dist/json-schema/index.d.ts +14 -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 +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +63 -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 +6 -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 +260 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +22 -25
- package/dist/utils/components/data-update.d.ts +36 -0
- 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 +1 -1
- package/dist/utils/data/interfaces.d.ts +30 -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/2CQCJUK3.js +0 -4
- package/dist/cdn/2NTY7DVX.js +0 -4
- package/dist/cdn/2YMGZECH.js +0 -4
- package/dist/cdn/2YQYGHQO.js +0 -4
- package/dist/cdn/3RZX4TOQ.js +0 -6
- package/dist/cdn/3T5QJ3UH.js +0 -4
- package/dist/cdn/3YDBKBBR.js +0 -4
- package/dist/cdn/4T53OXS6.js +0 -4
- package/dist/cdn/52ZJWBJT.js +0 -4
- package/dist/cdn/573TNYY5.js +0 -4
- package/dist/cdn/5AALQ6RZ.js +0 -4
- package/dist/cdn/5KMNAURG.js +0 -4
- package/dist/cdn/5VTYZVJH.js +0 -4
- package/dist/cdn/62ZVQ3ZH.js +0 -4
- package/dist/cdn/6CQPTE3E.js +0 -4
- package/dist/cdn/6HWUT7L4.js +0 -4
- package/dist/cdn/6NZ5234Z.js +0 -4
- package/dist/cdn/6OJCTSQD.js +0 -4
- package/dist/cdn/6SVM5HRB.js +0 -4
- package/dist/cdn/7DM5FB6A.js +0 -4
- package/dist/cdn/7XU3S5AU.js +0 -42
- package/dist/cdn/AD3SQBUO.js +0 -4
- package/dist/cdn/AIGJFWPO.js +0 -4
- package/dist/cdn/BR5RSKQJ.js +0 -4
- package/dist/cdn/BRYCQYEF.js +0 -4
- package/dist/cdn/BUZQFX4X.js +0 -4
- package/dist/cdn/CB7O2PE3.js +0 -4
- package/dist/cdn/CFJM4T24.js +0 -4
- package/dist/cdn/DCPP2A6R.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DI74HOSV.js +0 -4
- package/dist/cdn/DIQKH37P.js +0 -4
- package/dist/cdn/DRJ4SKBY.js +0 -4
- package/dist/cdn/DW3KTB7W.js +0 -4
- package/dist/cdn/EHWOH3AS.js +0 -4
- package/dist/cdn/EQIVGIV5.js +0 -4
- package/dist/cdn/ETWCEC6I.js +0 -4
- package/dist/cdn/EV7NZIDI.js +0 -4
- package/dist/cdn/G34MOD6Z.js +0 -4
- package/dist/cdn/GCWYVEAM.js +0 -4
- package/dist/cdn/H7YSSKNX.js +0 -4
- package/dist/cdn/HO66RCKA.js +0 -58
- package/dist/cdn/HTCGNGWS.js +0 -4
- package/dist/cdn/I4W5SN2C.js +0 -4
- package/dist/cdn/IDYONL6G.js +0 -4
- package/dist/cdn/IMF6T5KA.js +0 -4
- package/dist/cdn/IXZG7BYH.js +0 -4
- package/dist/cdn/IYCGVT6M.js +0 -4
- package/dist/cdn/JBINPRLV.js +0 -4
- package/dist/cdn/JFBDHWTH.js +0 -4
- package/dist/cdn/KREPFU54.js +0 -4
- package/dist/cdn/KSO4FH7T.js +0 -4
- package/dist/cdn/KV7MQRID.js +0 -4
- package/dist/cdn/KVQGRGTX.js +0 -4
- package/dist/cdn/KZ2PASIL.js +0 -4
- package/dist/cdn/L7XBIHO4.js +0 -4
- package/dist/cdn/LHKTIOAS.js +0 -4
- package/dist/cdn/LKQSJH6O.js +0 -4
- package/dist/cdn/LO3BV66U.js +0 -4
- package/dist/cdn/LU4QMMFH.js +0 -4
- package/dist/cdn/MFCXPRPK.js +0 -4
- package/dist/cdn/MG2HFVH3.js +0 -4
- package/dist/cdn/MJMLISNQ.js +0 -4
- package/dist/cdn/NFFCP5DA.js +0 -4
- package/dist/cdn/NFFRB4BR.js +0 -4
- package/dist/cdn/NG4OYKF4.js +0 -4
- package/dist/cdn/NGDMHV44.js +0 -4
- package/dist/cdn/NMZIP2MC.js +0 -4
- package/dist/cdn/OI5MJGAM.js +0 -4
- package/dist/cdn/OIQ4EV4L.js +0 -4
- package/dist/cdn/OMKUZSPX.js +0 -4
- package/dist/cdn/P2L45OHX.js +0 -4
- package/dist/cdn/PUVURJEA.js +0 -4
- package/dist/cdn/PYJJGJD5.js +0 -4
- package/dist/cdn/Q2IJF3UD.js +0 -4
- package/dist/cdn/QGB6IYXA.js +0 -4
- package/dist/cdn/QUP7LRZB.js +0 -4
- package/dist/cdn/QVM2XZGE.js +0 -4
- package/dist/cdn/RKVGZGMT.js +0 -4
- package/dist/cdn/RYGSUHPL.js +0 -4
- package/dist/cdn/S26GJIZW.js +0 -4
- package/dist/cdn/S57HESNZ.js +0 -4
- package/dist/cdn/SUSSWOBP.js +0 -4
- package/dist/cdn/T3HLSENK.js +0 -4
- package/dist/cdn/T4OLCB57.js +0 -4
- package/dist/cdn/TC4K2IBN.js +0 -4
- package/dist/cdn/TEKM44UI.js +0 -4
- package/dist/cdn/THFW5BGS.js +0 -4
- package/dist/cdn/TP24LJTV.js +0 -4
- package/dist/cdn/TQ6TYM53.js +0 -4
- package/dist/cdn/TUSAPA3B.js +0 -4
- package/dist/cdn/TZOUXYMP.js +0 -4
- package/dist/cdn/UP5YHRAT.js +0 -4
- package/dist/cdn/USDDCXSD.js +0 -4
- package/dist/cdn/VANVPL7B.js +0 -4
- package/dist/cdn/VE7L4QD3.js +0 -4
- package/dist/cdn/VUG3AMJW.js +0 -4
- package/dist/cdn/VZHZP3WS.js +0 -4
- package/dist/cdn/VZOYYSMT.js +0 -4
- package/dist/cdn/W3PPNJUI.js +0 -4
- package/dist/cdn/W5D44LNY.js +0 -4
- package/dist/cdn/WB3AED73.js +0 -4
- package/dist/cdn/WFODK6LM.js +0 -4
- package/dist/cdn/XATS2GRO.js +0 -4
- package/dist/cdn/XIBVZCXM.js +0 -4
- package/dist/cdn/XLRLWYNY.js +0 -4
- package/dist/cdn/XQ7LOQ6A.js +0 -4
- package/dist/cdn/XTYW4JSU.js +0 -4
- package/dist/cdn/Y54PXKNX.js +0 -4
- package/dist/cdn/YRXQVP63.js +0 -4
- package/dist/cdn/ZIRCERSI.js +0 -4
- package/dist/cdn/ZM7CB4BA.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/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
|
@@ -2,21 +2,30 @@ import "@arcgis/toolkit/intl";
|
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { cH as o } 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 { C as r } from "./model-with-multi-axes.js";
|
|
16
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
26
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
19
|
-
class
|
|
27
|
+
v5.0.0-next.50 */
|
|
28
|
+
class H extends r {
|
|
20
29
|
/**
|
|
21
30
|
* Whether the chart is rotated.
|
|
22
31
|
*/
|
|
@@ -25,10 +34,10 @@ class M extends r {
|
|
|
25
34
|
}
|
|
26
35
|
set rotatedState(t) {
|
|
27
36
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
28
|
-
this._config =
|
|
37
|
+
this._config.rotated = t, this.emitConfigUpdate("rotatedState");
|
|
29
38
|
});
|
|
30
39
|
}
|
|
31
40
|
}
|
|
32
41
|
export {
|
|
33
|
-
M
|
|
42
|
+
H as M
|
|
34
43
|
};
|
|
@@ -1,47 +1,57 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { memoize as
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
2
|
+
import { memoize as j, isEmpty as W, isNull as E, cloneDeep as R } from "lodash-es";
|
|
3
|
+
import { a as m, g as C, t as F, W as $ } from "./series-types.js";
|
|
4
|
+
import { R as U } from "./rest-js-object-literals.js";
|
|
5
|
+
import { d as A, aH as z, bi as G, cN as B, S as I, b1 as _, a as P } from "./index.js";
|
|
5
6
|
import "d3-array";
|
|
7
|
+
import "@arcgis/core/Graphic.js";
|
|
8
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
10
|
+
import { substitute as h } from "@arcgis/core/intl.js";
|
|
11
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
14
|
+
import "simple-statistics";
|
|
15
|
+
import "@arcgis/core/request.js";
|
|
16
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
6
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
9
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
10
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import "@arcgis/core/request.js";
|
|
13
23
|
import "./runtime.js";
|
|
14
24
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
25
|
+
import { a as u, P as g } from "./common.js";
|
|
26
|
+
import { b as L, u as x, g as H, a as M } from "./serial-chart-data.js";
|
|
27
|
+
import { g as k } from "./data.js";
|
|
18
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.50 */
|
|
21
31
|
function N(r) {
|
|
22
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ?
|
|
23
|
-
return a ===
|
|
32
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? O({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = H(t), c = I(t);
|
|
33
|
+
return a === l || c;
|
|
24
34
|
}
|
|
25
35
|
function q(r) {
|
|
26
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ?
|
|
36
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? L({
|
|
27
37
|
config: t,
|
|
28
38
|
layerInfo: e,
|
|
29
39
|
commonStrings: s,
|
|
30
|
-
numericFields:
|
|
31
|
-
aggregationType:
|
|
32
|
-
}) : "",
|
|
33
|
-
return a ===
|
|
40
|
+
numericFields: f(t),
|
|
41
|
+
aggregationType: T(t, i)
|
|
42
|
+
}) : "", l = M(1, t), c = I(t);
|
|
43
|
+
return a === l || c;
|
|
34
44
|
}
|
|
35
45
|
const v = (r) => r.series?.[0]?.x ?? "";
|
|
36
|
-
function
|
|
46
|
+
function J(r, t) {
|
|
37
47
|
const e = r.series?.[0];
|
|
38
|
-
return [`${t === u.Category ? e.y :
|
|
48
|
+
return [`${t === u.Category ? e.y : P} ${C.Descending}`];
|
|
39
49
|
}
|
|
40
|
-
const
|
|
41
|
-
let e =
|
|
42
|
-
const i = r.orderOptions?.data?.orderType ??
|
|
43
|
-
return i ===
|
|
44
|
-
},
|
|
50
|
+
const V = (r, t) => {
|
|
51
|
+
let e = g.valueDesc;
|
|
52
|
+
const i = r.orderOptions?.data?.orderType ?? J(r, t), s = r.orderOptions?.data?.orderBy ?? C.Descending;
|
|
53
|
+
return i === F.Category && Array.isArray(s) ? e = g.customSort : i === F.Category ? s === C.Ascending ? e = g.labelAsc : e = g.labelDesc : s === C.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
|
|
54
|
+
}, f = j(
|
|
45
55
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
46
56
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
47
57
|
(r) => {
|
|
@@ -52,17 +62,22 @@ const P = (r, t) => {
|
|
|
52
62
|
},
|
|
53
63
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
54
64
|
(r) => r.series
|
|
55
|
-
),
|
|
56
|
-
const e =
|
|
65
|
+
), T = (r, t) => {
|
|
66
|
+
const e = f(r);
|
|
57
67
|
let i;
|
|
58
|
-
return t === u.Fields && e.length === 0 ? i =
|
|
68
|
+
return t === u.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
|
|
59
69
|
};
|
|
60
70
|
function w(r) {
|
|
61
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {},
|
|
62
|
-
...
|
|
63
|
-
x: i === u.Category ?
|
|
71
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {}, l = _(s, a), c = v(t), d = t.series[0]?.dataLabels, o = {
|
|
72
|
+
...l,
|
|
73
|
+
x: i === u.Category ? c : A,
|
|
64
74
|
slices: t.series?.[0]?.slices,
|
|
65
|
-
dataLabels: {
|
|
75
|
+
dataLabels: {
|
|
76
|
+
...l.dataLabels,
|
|
77
|
+
type: l.dataLabels?.type ?? $.Text,
|
|
78
|
+
content: { ...l.dataLabels?.content, ...d?.content, type: U.TS },
|
|
79
|
+
visible: d?.visible ?? !1
|
|
80
|
+
},
|
|
66
81
|
innerRadiusSize: t.series?.[0]?.innerRadius,
|
|
67
82
|
sliceGrouping: t.series?.[0]?.sliceGrouping,
|
|
68
83
|
dataLabelsCharacterLimit: t.series?.[0]?.dataLabelsCharacterLimit,
|
|
@@ -71,195 +86,196 @@ function w(r) {
|
|
|
71
86
|
displayCategoryOnDataLabel: t.series?.[0]?.displayCategoryOnDataLabel,
|
|
72
87
|
displayNumericValueOnDataLabel: t.series?.[0]?.displayNumericValueOnDataLabel,
|
|
73
88
|
displayPercentageOnDataLabel: t.series?.[0]?.displayPercentageOnDataLabel
|
|
74
|
-
},
|
|
75
|
-
if (
|
|
76
|
-
const
|
|
77
|
-
o.y = i === u.Category ?
|
|
89
|
+
}, n = T(t, i);
|
|
90
|
+
if (n !== m.NoAggregation && a !== void 0) {
|
|
91
|
+
const y = `${n}_${a}_0`.toUpperCase();
|
|
92
|
+
o.y = i === u.Category ? y : P, o.query = {
|
|
78
93
|
outStatistics: i === u.Category ? [
|
|
79
94
|
{
|
|
80
|
-
statisticType:
|
|
95
|
+
statisticType: n,
|
|
81
96
|
onStatisticField: a,
|
|
82
|
-
outStatisticFieldName:
|
|
97
|
+
outStatisticFieldName: y
|
|
83
98
|
}
|
|
84
99
|
] : []
|
|
85
100
|
};
|
|
86
101
|
}
|
|
87
|
-
return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [
|
|
102
|
+
return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [c] : delete o.query?.groupByFieldsForStatistics, R(o);
|
|
88
103
|
}
|
|
89
|
-
function
|
|
90
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField:
|
|
91
|
-
let
|
|
92
|
-
return i === u.Fields ? D = d.length === 0 : D =
|
|
93
|
-
aggregationFields:
|
|
94
|
-
category:
|
|
95
|
-
}) : o ===
|
|
96
|
-
aggregationType:
|
|
97
|
-
category:
|
|
98
|
-
}) : d.length > 0 && (
|
|
99
|
-
aggregationType:
|
|
100
|
-
aggregationFields:
|
|
101
|
-
}) :
|
|
102
|
-
aggregationType:
|
|
103
|
-
aggregationFields:
|
|
104
|
-
category:
|
|
105
|
-
})),
|
|
104
|
+
function O(r) {
|
|
105
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField: l } = e, c = v(t), d = f(t), o = T(t, i), n = d.length === 0 || d.includes(l), y = G(o, s), p = n ? "" : d.map((Y) => B(a ?? [], Y)).join(", "), S = B(a ?? [], c);
|
|
106
|
+
let b = "", D;
|
|
107
|
+
return i === u.Fields ? D = d.length === 0 : D = c === "", D ? b = s.utilsStrings.chartType.pieChart : o === m.NoAggregation ? b = h(s.titleLabels.aggrFieldsByCategory, {
|
|
108
|
+
aggregationFields: n ? l : p,
|
|
109
|
+
category: S
|
|
110
|
+
}) : o === m.Count ? b = h(s.titleLabels.aggrTypeCategory, {
|
|
111
|
+
aggregationType: y,
|
|
112
|
+
category: S
|
|
113
|
+
}) : d.length > 0 && (S === A || W(S) || E(S) ? b = h(s.titleLabels.aggrTypeOfAggrFields, {
|
|
114
|
+
aggregationType: y,
|
|
115
|
+
aggregationFields: p
|
|
116
|
+
}) : b = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
117
|
+
aggregationType: y,
|
|
118
|
+
aggregationFields: p,
|
|
119
|
+
category: S
|
|
120
|
+
})), b;
|
|
106
121
|
}
|
|
107
|
-
const
|
|
122
|
+
const Oe = (r) => {
|
|
108
123
|
const { newSortOrderKind: t, config: e, orderByList: i } = r;
|
|
109
|
-
e.orderOptions ??= {}, t ===
|
|
110
|
-
orderType:
|
|
124
|
+
e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
125
|
+
orderType: F.Category,
|
|
111
126
|
orderBy: [...i]
|
|
112
127
|
} : e.orderOptions.data = {
|
|
113
|
-
orderType: t ===
|
|
114
|
-
orderBy: t ===
|
|
128
|
+
orderType: t === g.labelAsc || t === g.labelDesc ? F.Category : F.YValue,
|
|
129
|
+
orderBy: t === g.labelAsc || t === g.valueAsc ? C.Ascending : C.Descending
|
|
115
130
|
};
|
|
116
|
-
},
|
|
117
|
-
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r,
|
|
131
|
+
}, De = (r) => {
|
|
132
|
+
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, c = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
118
133
|
if (e.series.forEach((o) => {
|
|
119
134
|
o.x = s === u.Category ? t : A, o.query !== void 0 && t !== A ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
|
|
120
|
-
}),
|
|
135
|
+
}), l === 0) {
|
|
121
136
|
const o = [w({ config: e, layerInfo: i, mode: s, commonStrings: a })];
|
|
122
137
|
e.series = o;
|
|
123
138
|
}
|
|
124
139
|
if (i !== void 0) {
|
|
125
140
|
if (d) {
|
|
126
|
-
const
|
|
141
|
+
const n = L({
|
|
127
142
|
config: e,
|
|
128
143
|
layerInfo: i,
|
|
129
|
-
numericFields:
|
|
130
|
-
aggregationType:
|
|
144
|
+
numericFields: f(e),
|
|
145
|
+
aggregationType: T(e, s),
|
|
131
146
|
commonStrings: a
|
|
132
147
|
});
|
|
133
|
-
x(e, 1,
|
|
148
|
+
x(e, 1, n);
|
|
134
149
|
}
|
|
135
|
-
e.title &&
|
|
136
|
-
const o = s === u.Fields ?
|
|
137
|
-
|
|
150
|
+
e.title && c && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
151
|
+
const o = s === u.Fields ? f(e).filter((n) => n !== i.objectIdField) : f(e);
|
|
152
|
+
Q({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
|
|
138
153
|
}
|
|
139
154
|
};
|
|
140
155
|
function K(r) {
|
|
141
|
-
const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings:
|
|
156
|
+
const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings: l } = r, { layerFieldsInfo: c } = s, d = [], o = w({
|
|
142
157
|
config: i,
|
|
143
158
|
layerInfo: s,
|
|
144
159
|
mode: a,
|
|
145
|
-
commonStrings:
|
|
146
|
-
}),
|
|
147
|
-
...
|
|
160
|
+
commonStrings: l
|
|
161
|
+
}), n = {
|
|
162
|
+
...o,
|
|
148
163
|
query: {
|
|
149
|
-
...
|
|
164
|
+
...o.query
|
|
150
165
|
}
|
|
151
166
|
};
|
|
152
|
-
t.length <= 1 ?
|
|
153
|
-
const
|
|
167
|
+
t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
|
|
168
|
+
const y = k({
|
|
154
169
|
config: i,
|
|
155
170
|
xAxisField: v(i),
|
|
156
171
|
numericFields: t,
|
|
157
172
|
aggregationType: e,
|
|
158
173
|
mode: a,
|
|
159
|
-
layer: s.layer
|
|
174
|
+
layer: s.layer,
|
|
175
|
+
fieldList: c
|
|
160
176
|
}).name;
|
|
161
|
-
if (e !==
|
|
177
|
+
if (e !== m.NoAggregation)
|
|
162
178
|
if (a === u.Category) {
|
|
163
179
|
if (t.length > 0) {
|
|
164
|
-
const
|
|
165
|
-
|
|
180
|
+
const p = t[0];
|
|
181
|
+
n.query.outStatistics = [
|
|
166
182
|
{
|
|
167
|
-
...
|
|
168
|
-
onStatisticField:
|
|
169
|
-
outStatisticFieldName:
|
|
183
|
+
...o.query?.outStatistics?.[0] ?? {},
|
|
184
|
+
onStatisticField: p,
|
|
185
|
+
outStatisticFieldName: y,
|
|
170
186
|
statisticType: e
|
|
171
187
|
}
|
|
172
188
|
];
|
|
173
189
|
}
|
|
174
190
|
} else
|
|
175
|
-
for (const
|
|
176
|
-
|
|
177
|
-
onStatisticField:
|
|
178
|
-
outStatisticFieldName:
|
|
191
|
+
for (const p of t)
|
|
192
|
+
n.query.outStatistics?.push({
|
|
193
|
+
onStatisticField: p,
|
|
194
|
+
outStatisticFieldName: p,
|
|
179
195
|
statisticType: e
|
|
180
196
|
});
|
|
181
197
|
else
|
|
182
|
-
|
|
183
|
-
|
|
198
|
+
n.query = {};
|
|
199
|
+
n.y = y, d.push(n), i.series = d;
|
|
184
200
|
}
|
|
185
|
-
const
|
|
186
|
-
const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r,
|
|
201
|
+
const xe = (r) => {
|
|
202
|
+
const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = f(e), c = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
187
203
|
if (K({
|
|
188
204
|
config: e,
|
|
189
205
|
layerInfo: i,
|
|
190
|
-
numericFields:
|
|
206
|
+
numericFields: l,
|
|
191
207
|
aggregationType: t,
|
|
192
208
|
commonStrings: a,
|
|
193
209
|
mode: s
|
|
194
210
|
}), d) {
|
|
195
|
-
const
|
|
211
|
+
const p = L({
|
|
196
212
|
config: e,
|
|
197
213
|
layerInfo: i,
|
|
198
214
|
commonStrings: a,
|
|
199
|
-
numericFields:
|
|
200
|
-
aggregationType:
|
|
215
|
+
numericFields: f(e),
|
|
216
|
+
aggregationType: T(e, s)
|
|
201
217
|
});
|
|
202
|
-
x(e, 1,
|
|
218
|
+
x(e, 1, p);
|
|
203
219
|
}
|
|
204
|
-
e.title &&
|
|
205
|
-
const o = e.series?.[0]?.displayCategoryOnDataLabel,
|
|
220
|
+
e.title && c && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
221
|
+
const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, y = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
206
222
|
e.legend = {
|
|
207
|
-
...e.legend ??
|
|
208
|
-
displayNumericValue:
|
|
209
|
-
displayPercentage:
|
|
223
|
+
...e.legend ?? z(),
|
|
224
|
+
displayNumericValue: n,
|
|
225
|
+
displayPercentage: y,
|
|
210
226
|
displayCategory: o
|
|
211
227
|
};
|
|
212
|
-
},
|
|
228
|
+
}, Q = (r) => {
|
|
213
229
|
let { newNumericFields: t } = r;
|
|
214
|
-
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField:
|
|
215
|
-
let
|
|
230
|
+
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField: l } = i ?? {};
|
|
231
|
+
let c = T(e, s);
|
|
216
232
|
const d = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
217
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t,
|
|
233
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === u.Category ? (t.push(l), c = m.Count) : c === m.Count && t.length >= 1 && !t.includes(l) && (c = m.Sum)), i !== void 0) {
|
|
218
234
|
if (K({
|
|
219
235
|
config: e,
|
|
220
236
|
layerInfo: i,
|
|
221
237
|
commonStrings: a,
|
|
222
238
|
numericFields: t,
|
|
223
|
-
aggregationType:
|
|
239
|
+
aggregationType: c,
|
|
224
240
|
mode: s
|
|
225
241
|
}), o) {
|
|
226
|
-
const
|
|
242
|
+
const n = L({
|
|
227
243
|
config: e,
|
|
228
244
|
layerInfo: i,
|
|
229
245
|
commonStrings: a,
|
|
230
|
-
numericFields:
|
|
231
|
-
aggregationType:
|
|
246
|
+
numericFields: f(e),
|
|
247
|
+
aggregationType: T(e, s)
|
|
232
248
|
});
|
|
233
|
-
x(e, 1,
|
|
249
|
+
x(e, 1, n);
|
|
234
250
|
}
|
|
235
|
-
e.title && d && (e.title.content.text =
|
|
251
|
+
e.title && d && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
236
252
|
} else
|
|
237
|
-
e.series.forEach((
|
|
238
|
-
delete
|
|
253
|
+
e.series.forEach((n) => {
|
|
254
|
+
delete n.query, n.y = t[0];
|
|
239
255
|
});
|
|
240
|
-
},
|
|
256
|
+
}, Ne = (r, t) => {
|
|
241
257
|
let e = [];
|
|
242
|
-
const i = r.orderOptions?.data?.orderType, s =
|
|
243
|
-
return s ===
|
|
244
|
-
},
|
|
258
|
+
const i = r.orderOptions?.data?.orderType, s = V(r, t), a = r.orderOptions?.data?.orderBy;
|
|
259
|
+
return s === g.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
|
|
260
|
+
}, qe = (r) => {
|
|
245
261
|
const { values: t, config: e, mode: i } = r;
|
|
246
262
|
e.orderOptions ??= {};
|
|
247
263
|
const s = e.orderOptions?.data?.orderType;
|
|
248
|
-
|
|
249
|
-
orderType:
|
|
264
|
+
V(e, i) === g.customSort && s === F.Category && (e.orderOptions.data = {
|
|
265
|
+
orderType: F.Category,
|
|
250
266
|
orderBy: [...t]
|
|
251
267
|
});
|
|
252
268
|
};
|
|
253
269
|
export {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
270
|
+
f as a,
|
|
271
|
+
T as b,
|
|
272
|
+
Q as c,
|
|
273
|
+
xe as d,
|
|
274
|
+
V as e,
|
|
275
|
+
Oe as f,
|
|
260
276
|
v as g,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
277
|
+
Ne as h,
|
|
278
|
+
qe as i,
|
|
279
|
+
O as j,
|
|
280
|
+
De as s
|
|
265
281
|
};
|