@arcgis/charts-components 5.2.0-next.7 → 5.2.0-next.70
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/README.md +2 -2
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/24UNROUY.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → 274L47ID.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2GXX5IMS.js +104 -0
- package/dist/cdn/2QGFLRRI.js +2 -0
- package/dist/cdn/2WVTUVN4.js +2 -0
- package/dist/cdn/3FNSOFZW.js +2 -0
- package/dist/cdn/3PJG5RPA.js +2 -0
- package/dist/cdn/{CLXVAIQX.js → 3QPQ3RE5.js} +1 -1
- package/dist/cdn/3U6ESLPG.js +2 -0
- package/dist/cdn/{A5AECJXP.js → 47E3TKSH.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 4BQ22DKZ.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4SHVP5PZ.js +2 -0
- package/dist/cdn/55FTLFES.js +2 -0
- package/dist/cdn/5BMIWC4E.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → 64F7QNUM.js} +1 -1
- package/dist/cdn/6JJHAS2P.js +4 -0
- package/dist/cdn/{HVO4LIXR.js → 6LACIKDG.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → 6PDO75JM.js} +1 -1
- package/dist/cdn/6PGKTC6F.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → 6WJKLKEZ.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → 76BU2ZWA.js} +1 -1
- package/dist/cdn/7AFOMUPB.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7ENBCEQR.js +2 -0
- package/dist/cdn/7GO7L6K4.js +2 -0
- package/dist/cdn/7IUKJ5PU.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → 7PC3VBMY.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 7SBVBD4E.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → 7XHAJY6Q.js} +1 -1
- package/dist/cdn/A2OP6Q3D.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ACRMB7MU.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANMO6CLA.js +2 -0
- package/dist/cdn/AQOCENW4.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → ASYRUV4T.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → B4RCAP3J.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BIPFB5HW.js +2 -0
- package/dist/cdn/{LFQGH44F.js → BJC2AIS3.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKENQZVC.js +2 -0
- package/dist/cdn/BSCFYA5P.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → C3A3UXVR.js} +1 -1
- package/dist/cdn/CGCRNEFM.js +2 -0
- package/dist/cdn/CH7EMYXL.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → CKIF4L44.js} +1 -1
- package/dist/cdn/CQS3N3YT.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → CRNIOME2.js} +2 -2
- package/dist/cdn/CWSAYMFQ.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D3YWSIAT.js +2 -0
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DB2GBCE3.js +2 -0
- package/dist/cdn/DGGCAG3N.js +2 -0
- package/dist/cdn/DGYLORDT.js +2 -0
- package/dist/cdn/{DCZWZOPF.js → DWYBKGOM.js} +1 -1
- package/dist/cdn/E76O5CL2.js +2 -0
- package/dist/cdn/E7RGF2VG.js +2 -0
- package/dist/cdn/EKBLEUCP.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → EQD2B3I6.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/F7UO7P33.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → FBLOPEXC.js} +1 -1
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FLKBGFAC.js +2 -0
- package/dist/cdn/FLYZW7XF.js +2 -0
- package/dist/cdn/FNJOMPCS.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → GBOCN364.js} +1 -1
- package/dist/cdn/GZVU6ATV.js +2 -0
- package/dist/cdn/{L4G6FO7A.js → HDYL2BOC.js} +1 -1
- package/dist/cdn/HEWG4ZZE.js +45 -0
- package/dist/cdn/{QMSINFQX.js → HP3GIDT5.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IJWJOXQC.js +2 -0
- package/dist/cdn/ILI6Z4H3.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/IPEJCIHO.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → IR2W7UQ3.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → J3VAMS5Z.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → JWEGCP5P.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/{YOT6DVSU.js → K2PVLPOV.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KEHRL2MP.js +2 -0
- package/dist/cdn/KHGILG5X.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → LC4YFJSM.js} +1 -1
- package/dist/cdn/LJTJTGIW.js +2 -0
- package/dist/cdn/LNRNJHH3.js +2 -0
- package/dist/cdn/LTHNRIKF.js +2 -0
- package/dist/cdn/LZABQV52.js +2 -0
- package/dist/cdn/MFVIGPEF.js +2 -0
- package/dist/cdn/MFYVUIPM.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → MGAMMXJW.js} +1 -1
- package/dist/cdn/MGUUHKYW.js +2 -0
- package/dist/cdn/{JRHMUFED.js → MLPHSOJB.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → MSB6J66X.js} +1 -1
- package/dist/cdn/NJKSUAO7.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/NS22JUJ7.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → NWHLFMAD.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/O2K4WDQR.js +2 -0
- package/dist/cdn/{UT4TYXFO.js → O7LPETXX.js} +1 -1
- package/dist/cdn/OANIWZFQ.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/OCYSGUCY.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/ODNJBXGP.js +2 -0
- package/dist/cdn/OF3OQQID.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{QFEZPP3R.js → OJDYJETX.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/P3WSMZJU.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → P4VJYOCL.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → PMAHEVYY.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → PQVUA4T4.js} +1 -1
- package/dist/cdn/PZ3FNMU7.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → Q2OIHROC.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → Q2WDEGUQ.js} +1 -1
- package/dist/cdn/QB5VLM5A.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/RQ5RKGH5.js +2 -0
- package/dist/cdn/S6C5PJP4.js +2 -0
- package/dist/cdn/{7HGVEE7A.js → SKQQFLCU.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → SN4KBI42.js} +1 -1
- package/dist/cdn/SNLS5YDJ.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → T2G5XRL5.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TMGMKM5F.js +2 -0
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → TS7M5QXS.js} +1 -1
- package/dist/cdn/TSQYRV3W.js +2 -0
- package/dist/cdn/TYVMAK67.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UDAL44H7.js +2 -0
- package/dist/cdn/UGAHTOBA.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/USNJZCHH.js +2 -0
- package/dist/cdn/UULF2NFJ.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → UW3WL44H.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → UXVU3KHY.js} +1 -1
- package/dist/cdn/V75KABKD.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VPHWRDJI.js +2 -0
- package/dist/cdn/VWOS4FBW.js +3 -0
- package/dist/cdn/VWY7QP3W.js +2 -0
- package/dist/cdn/{4LPXOEML.js → VZCYTHM2.js} +1 -1
- package/dist/cdn/W665SH4P.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → WDMYVS4F.js} +1 -1
- package/dist/cdn/WGPNG4C5.js +2 -0
- package/dist/cdn/WTB23TU5.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → XDNGNOOK.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → XJVFIGWI.js} +1 -1
- package/dist/cdn/XRRDA4TC.js +2 -0
- package/dist/cdn/{5MEQANMY.js → Y2NESTSK.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YFHCD7R2.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → YW6IZCRW.js} +1 -1
- package/dist/cdn/YWMVQFAN.js +2 -0
- package/dist/cdn/YXOUH52R.js +2 -0
- package/dist/cdn/Z4LBCIER.js +2 -0
- package/dist/cdn/{KUZR6CGB.js → ZK2KMZEI.js} +1 -1
- package/dist/cdn/ZK5Z6BOX.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/ZNGT5LSV.js +2 -0
- package/dist/cdn/ZSTPZFF6.js +2 -0
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +273 -282
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +76 -76
- package/dist/chunks/combo-bar-line-chart-model.js +25 -26
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +191 -180
- package/dist/chunks/index2.js +6420 -6009
- package/dist/chunks/index3.js +97 -86
- package/dist/chunks/index4.js +316 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +161 -148
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +873 -753
- package/dist/chunks/serial-chart-model.js +145 -124
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +104 -94
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +592 -541
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +547 -224
- package/dist/components/arcgis-chart/customElement.js +10300 -10278
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -17
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +62 -67
- package/dist/index.js +470 -458
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +44 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +56 -6
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +22 -19
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +9 -5
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +6 -7
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/J6WQX4UD.js +0 -58
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/ML3A3MYV.js +0 -2
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/OHF3AEWY.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WGYJBMRM.js +0 -4
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,265 +1,247 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { substitute as
|
|
3
|
-
import {
|
|
4
|
-
import { P as
|
|
5
|
-
import { g as
|
|
6
|
-
import { g as
|
|
7
|
-
import { b as
|
|
2
|
+
import { substitute as O } from "@arcgis/core/intl.js";
|
|
3
|
+
import { isEmpty as E, isNull as M, cloneDeep as U } from "lodash-es";
|
|
4
|
+
import { P as g, a as y } from "./common.js";
|
|
5
|
+
import { g as x, u as L } from "./utils.js";
|
|
6
|
+
import { g as W } from "./data.js";
|
|
7
|
+
import { b as k } from "./series-length.js";
|
|
8
8
|
import { g as _ } from "./utils2.js";
|
|
9
|
-
import {
|
|
9
|
+
import { X, w as z, a6 as G } from "./index.js";
|
|
10
10
|
import { d as P } from "./index3.js";
|
|
11
|
-
import { m as
|
|
12
|
-
import { i as
|
|
13
|
-
import { r as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return a === l || d;
|
|
11
|
+
import { m as A, ap as B, n as w } from "./index2.js";
|
|
12
|
+
import { i as K } from "./index4.js";
|
|
13
|
+
import { r as p, p as C, n as f } from "./chart-object-literals.js";
|
|
14
|
+
function v(s) {
|
|
15
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, o = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", d = k(t), l = K(t);
|
|
16
|
+
return o === d || l;
|
|
18
17
|
}
|
|
19
|
-
function
|
|
20
|
-
const { config: t, layerInfo: e, mode: i, commonStrings:
|
|
18
|
+
function I(s) {
|
|
19
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, o = e !== void 0 ? x({
|
|
21
20
|
config: t,
|
|
22
21
|
layerInfo: e,
|
|
23
|
-
commonStrings:
|
|
24
|
-
numericFields:
|
|
25
|
-
aggregationType:
|
|
26
|
-
}) : "",
|
|
27
|
-
return
|
|
22
|
+
commonStrings: r,
|
|
23
|
+
numericFields: m(t),
|
|
24
|
+
aggregationType: F(t, i)
|
|
25
|
+
}) : "", d = _(1, t), l = K(t);
|
|
26
|
+
return o === d || l;
|
|
28
27
|
}
|
|
29
|
-
const
|
|
30
|
-
function
|
|
31
|
-
const e =
|
|
32
|
-
return [`${t ===
|
|
28
|
+
const b = (s) => s.series?.[0]?.x ?? "";
|
|
29
|
+
function H(s, t) {
|
|
30
|
+
const e = s.series?.[0];
|
|
31
|
+
return [`${t === g.Category ? e.y : w} ${C.Descending}`];
|
|
33
32
|
}
|
|
34
|
-
const
|
|
35
|
-
let e =
|
|
36
|
-
const i =
|
|
37
|
-
return i ===
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
) ?? [r.series?.[0]?.y ?? ""], t.filter((e) => e !== "");
|
|
46
|
-
},
|
|
47
|
-
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
48
|
-
(r) => r.series
|
|
49
|
-
), T = (r, t) => {
|
|
50
|
-
const e = f(r);
|
|
33
|
+
const Y = (s, t) => {
|
|
34
|
+
let e = y.valueDesc;
|
|
35
|
+
const i = s.orderOptions?.data?.orderType ?? H(s, t), r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : C.Descending;
|
|
36
|
+
return i === f.Category && Array.isArray(r) ? e = y.customSort : i === f.Category ? r === C.Ascending ? e = y.labelAsc : e = y.labelDesc : r === C.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
|
|
37
|
+
}, m = (s) => {
|
|
38
|
+
let t = [];
|
|
39
|
+
return t = s.series?.[0]?.query?.outStatistics?.map(
|
|
40
|
+
(e) => e.onStatisticField
|
|
41
|
+
) ?? [s.series?.[0]?.y ?? ""], t.filter((e) => e !== "");
|
|
42
|
+
}, F = (s, t) => {
|
|
43
|
+
const e = m(s);
|
|
51
44
|
let i;
|
|
52
|
-
return t ===
|
|
45
|
+
return t === g.Fields && e.length === 0 ? i = p.Sum : i = s.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? p.NoAggregation, i;
|
|
53
46
|
};
|
|
54
|
-
function
|
|
55
|
-
const { config: t, layerInfo: e, mode: i, commonStrings:
|
|
56
|
-
...
|
|
57
|
-
x: i ===
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
visible: c?.visible ?? !1
|
|
64
|
-
},
|
|
65
|
-
innerRadiusSize: t.series?.[0]?.innerRadius,
|
|
66
|
-
sliceGrouping: t.series?.[0]?.sliceGrouping,
|
|
67
|
-
dataLabelsCharacterLimit: t.series?.[0]?.dataLabelsCharacterLimit,
|
|
68
|
-
numericValueFormat: t.series?.[0]?.numericValueFormat,
|
|
69
|
-
percentValueFormat: t.series?.[0]?.percentValueFormat,
|
|
70
|
-
displayCategoryOnDataLabel: t.series?.[0]?.displayCategoryOnDataLabel,
|
|
71
|
-
displayNumericValueOnDataLabel: t.series?.[0]?.displayNumericValueOnDataLabel,
|
|
72
|
-
displayPercentageOnDataLabel: t.series?.[0]?.displayPercentageOnDataLabel
|
|
73
|
-
}, n = T(t, i);
|
|
74
|
-
if (n !== m.NoAggregation && a !== void 0) {
|
|
75
|
-
const u = `${n}_${a}_0`.toUpperCase();
|
|
76
|
-
o.y = i === y.Category ? u : V, o.query = {
|
|
77
|
-
outStatistics: i === y.Category ? [
|
|
47
|
+
function j(s) {
|
|
48
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, o = B(e?.layer).idField, d = t.series[0] ?? G(r, o), l = b(t), c = {
|
|
49
|
+
...d,
|
|
50
|
+
x: i === g.Category ? l : A
|
|
51
|
+
}, a = F(t, i);
|
|
52
|
+
if (a !== p.NoAggregation && o !== void 0) {
|
|
53
|
+
const n = `${a}_${o}_0`.toUpperCase();
|
|
54
|
+
c.y = i === g.Category ? n : w, c.query = {
|
|
55
|
+
outStatistics: i === g.Category ? [
|
|
78
56
|
{
|
|
79
|
-
statisticType:
|
|
80
|
-
onStatisticField:
|
|
81
|
-
outStatisticFieldName:
|
|
57
|
+
statisticType: a,
|
|
58
|
+
onStatisticField: o,
|
|
59
|
+
outStatisticFieldName: n
|
|
82
60
|
}
|
|
83
61
|
] : []
|
|
84
62
|
};
|
|
85
63
|
}
|
|
86
|
-
return i ===
|
|
64
|
+
return i === g.Category && c.query !== void 0 ? c.query.groupByFieldsForStatistics = [l] : delete c.query?.groupByFieldsForStatistics, U(c);
|
|
87
65
|
}
|
|
88
|
-
function D(
|
|
89
|
-
const { config: t, layerInfo: e, mode: i, commonStrings:
|
|
90
|
-
let
|
|
91
|
-
return i ===
|
|
92
|
-
aggregationFields: u ?
|
|
93
|
-
category:
|
|
94
|
-
}) : n ===
|
|
95
|
-
aggregationType:
|
|
96
|
-
category:
|
|
97
|
-
}) :
|
|
98
|
-
aggregationType:
|
|
99
|
-
aggregationFields:
|
|
100
|
-
}) :
|
|
101
|
-
aggregationType:
|
|
102
|
-
aggregationFields:
|
|
103
|
-
category:
|
|
104
|
-
})),
|
|
66
|
+
function D(s) {
|
|
67
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: o } = e, { idField: d, isTraditionalTypeOID: l } = B(e.layer), c = b(t), a = m(t), n = F(t, i), u = l && (a.length === 0 || a.includes(d)), h = z(n, r), q = u ? "" : a.map(($) => P(o ?? [], $)).join(", "), T = P(o ?? [], c);
|
|
68
|
+
let S = "", N;
|
|
69
|
+
return i === g.Fields ? N = a.length === 0 : N = c === "", N ? S = r.utilsStrings.chartType.pieChart : n === p.NoAggregation ? S = O(r.titleLabels.aggrFieldsByCategory, {
|
|
70
|
+
aggregationFields: u ? d : q,
|
|
71
|
+
category: T
|
|
72
|
+
}) : n === p.Count ? S = O(r.titleLabels.aggrTypeCategory, {
|
|
73
|
+
aggregationType: h,
|
|
74
|
+
category: T
|
|
75
|
+
}) : a.length > 0 && (T === A || E(T) || M(T) ? S = O(r.titleLabels.aggrTypeOfAggrFields, {
|
|
76
|
+
aggregationType: h,
|
|
77
|
+
aggregationFields: q
|
|
78
|
+
}) : S = O(r.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
79
|
+
aggregationType: h,
|
|
80
|
+
aggregationFields: q,
|
|
81
|
+
category: T
|
|
82
|
+
})), S;
|
|
105
83
|
}
|
|
106
|
-
const
|
|
107
|
-
const { newSortOrderKind: t, config: e, orderByList: i } =
|
|
108
|
-
e.orderOptions ??= {}, t ===
|
|
109
|
-
orderType:
|
|
84
|
+
const de = (s) => {
|
|
85
|
+
const { newSortOrderKind: t, config: e, orderByList: i } = s;
|
|
86
|
+
e.orderOptions ??= {}, t === y.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
87
|
+
orderType: f.Category,
|
|
110
88
|
orderBy: [...i]
|
|
111
89
|
} : e.orderOptions.data = {
|
|
112
|
-
orderType: t ===
|
|
113
|
-
orderBy: t ===
|
|
90
|
+
orderType: t === y.labelAsc || t === y.labelDesc ? f.Category : f.YValue,
|
|
91
|
+
orderBy: t === y.labelAsc || t === y.valueAsc ? C.Ascending : C.Descending
|
|
114
92
|
};
|
|
115
|
-
},
|
|
116
|
-
const { newCategory: t, config: e, layerInfo: i, mode:
|
|
117
|
-
if (e.series.forEach((
|
|
118
|
-
|
|
119
|
-
}),
|
|
120
|
-
const
|
|
121
|
-
e.series =
|
|
93
|
+
}, ce = (s) => {
|
|
94
|
+
const { newCategory: t, config: e, layerInfo: i, mode: r, commonStrings: o } = s, d = e.series?.length ?? 0, l = v({ config: e, layerInfo: i, commonStrings: o, mode: r }), c = I({ config: e, layerInfo: i, commonStrings: o, mode: r });
|
|
95
|
+
if (e.series.forEach((a) => {
|
|
96
|
+
a.x = r === g.Category ? t : A, a.query !== void 0 && t !== A ? a.query.groupByFieldsForStatistics = [t] : delete a.query?.groupByFieldsForStatistics;
|
|
97
|
+
}), d === 0) {
|
|
98
|
+
const a = [j({ config: e, layerInfo: i, mode: r, commonStrings: o })];
|
|
99
|
+
e.series = a;
|
|
122
100
|
}
|
|
123
101
|
if (i !== void 0) {
|
|
124
102
|
if (c) {
|
|
125
|
-
const n =
|
|
103
|
+
const n = x({
|
|
126
104
|
config: e,
|
|
127
105
|
layerInfo: i,
|
|
128
|
-
numericFields:
|
|
129
|
-
aggregationType:
|
|
130
|
-
commonStrings:
|
|
106
|
+
numericFields: m(e),
|
|
107
|
+
aggregationType: F(e, r),
|
|
108
|
+
commonStrings: o
|
|
131
109
|
});
|
|
132
|
-
|
|
110
|
+
L(e, 1, n);
|
|
133
111
|
}
|
|
134
|
-
e.title &&
|
|
135
|
-
const
|
|
136
|
-
|
|
112
|
+
e.title && l && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: o, mode: r }));
|
|
113
|
+
const a = r === g.Fields ? m(e).filter((n) => n !== B(i.layer).idField) : m(e);
|
|
114
|
+
J({ newNumericFields: a, config: e, layerInfo: i, mode: r, commonStrings: o });
|
|
137
115
|
}
|
|
138
116
|
};
|
|
139
|
-
function
|
|
140
|
-
const { numericFields: t, aggregationType: e, config: i, layerInfo:
|
|
117
|
+
function V(s) {
|
|
118
|
+
const { numericFields: t, aggregationType: e, config: i, layerInfo: r, mode: o, commonStrings: d } = s, { layerFieldsInfo: l } = r, c = [], a = j({
|
|
141
119
|
config: i,
|
|
142
|
-
layerInfo:
|
|
143
|
-
mode:
|
|
144
|
-
commonStrings:
|
|
145
|
-
})
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
...o.query
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
|
|
152
|
-
const u = z({
|
|
120
|
+
layerInfo: r,
|
|
121
|
+
mode: o,
|
|
122
|
+
commonStrings: d
|
|
123
|
+
});
|
|
124
|
+
a.query || (a.query = {}), t.length > 1 && delete a.query?.where;
|
|
125
|
+
const n = W({
|
|
153
126
|
config: i,
|
|
154
|
-
xAxisField:
|
|
127
|
+
xAxisField: b(i),
|
|
155
128
|
numericFields: t,
|
|
156
129
|
aggregationType: e,
|
|
157
|
-
mode:
|
|
158
|
-
layer:
|
|
159
|
-
fieldList:
|
|
130
|
+
mode: o,
|
|
131
|
+
layer: r.layer,
|
|
132
|
+
fieldList: l
|
|
160
133
|
}).name;
|
|
161
|
-
if (e !==
|
|
162
|
-
if (
|
|
134
|
+
if (e !== p.NoAggregation)
|
|
135
|
+
if (o === g.Category) {
|
|
163
136
|
if (t.length > 0) {
|
|
164
|
-
const
|
|
165
|
-
|
|
137
|
+
const u = t[0];
|
|
138
|
+
a.query.outStatistics = [
|
|
166
139
|
{
|
|
167
|
-
...
|
|
168
|
-
onStatisticField:
|
|
169
|
-
outStatisticFieldName:
|
|
140
|
+
...a.query?.outStatistics?.[0] ?? {},
|
|
141
|
+
onStatisticField: u,
|
|
142
|
+
outStatisticFieldName: n,
|
|
170
143
|
statisticType: e
|
|
171
144
|
}
|
|
172
|
-
];
|
|
145
|
+
], a.query.groupByFieldsForStatistics = [b(i)];
|
|
173
146
|
}
|
|
174
|
-
} else
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
147
|
+
} else {
|
|
148
|
+
a.query.outStatistics = [];
|
|
149
|
+
for (const u of t)
|
|
150
|
+
a.query.outStatistics?.push({
|
|
151
|
+
onStatisticField: u,
|
|
152
|
+
outStatisticFieldName: u,
|
|
179
153
|
statisticType: e
|
|
180
154
|
});
|
|
155
|
+
delete a.query.groupByFieldsForStatistics;
|
|
156
|
+
}
|
|
181
157
|
else
|
|
182
|
-
|
|
183
|
-
|
|
158
|
+
a.query = {};
|
|
159
|
+
a.y = n, c.push(a), i.series = c;
|
|
184
160
|
}
|
|
185
|
-
const
|
|
186
|
-
const { newAggregationType: t, config: e, layerInfo: i, mode:
|
|
187
|
-
if (
|
|
161
|
+
const ge = (s) => {
|
|
162
|
+
const { newAggregationType: t, config: e, layerInfo: i, mode: r, commonStrings: o } = s, d = m(e), l = v({ config: e, layerInfo: i, commonStrings: o, mode: r }), c = I({ config: e, layerInfo: i, commonStrings: o, mode: r });
|
|
163
|
+
if (V({
|
|
188
164
|
config: e,
|
|
189
165
|
layerInfo: i,
|
|
190
|
-
numericFields:
|
|
166
|
+
numericFields: d,
|
|
191
167
|
aggregationType: t,
|
|
192
|
-
commonStrings:
|
|
193
|
-
mode:
|
|
168
|
+
commonStrings: o,
|
|
169
|
+
mode: r
|
|
194
170
|
}), c) {
|
|
195
|
-
const
|
|
171
|
+
const h = x({
|
|
196
172
|
config: e,
|
|
197
173
|
layerInfo: i,
|
|
198
|
-
commonStrings:
|
|
199
|
-
numericFields:
|
|
200
|
-
aggregationType:
|
|
174
|
+
commonStrings: o,
|
|
175
|
+
numericFields: m(e),
|
|
176
|
+
aggregationType: F(e, r)
|
|
201
177
|
});
|
|
202
|
-
|
|
178
|
+
L(e, 1, h);
|
|
203
179
|
}
|
|
204
|
-
e.title &&
|
|
205
|
-
const
|
|
180
|
+
e.title && l && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: o, mode: r }));
|
|
181
|
+
const a = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
206
182
|
e.legend = {
|
|
207
|
-
...e.legend ??
|
|
183
|
+
...e.legend ?? X(),
|
|
208
184
|
displayNumericValue: n,
|
|
209
185
|
displayPercentage: u,
|
|
210
|
-
displayCategory:
|
|
186
|
+
displayCategory: a
|
|
211
187
|
};
|
|
212
|
-
},
|
|
213
|
-
let { newNumericFields: t } =
|
|
214
|
-
const { config: e, layerInfo: i, mode:
|
|
215
|
-
let
|
|
216
|
-
const c = v({ config: e, layerInfo: i, commonStrings:
|
|
217
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t,
|
|
218
|
-
if (
|
|
188
|
+
}, J = (s) => {
|
|
189
|
+
let { newNumericFields: t } = s;
|
|
190
|
+
const { config: e, layerInfo: i, mode: r, commonStrings: o } = s, d = B(i?.layer).idField;
|
|
191
|
+
let l = F(e, r);
|
|
192
|
+
const c = v({ config: e, layerInfo: i, commonStrings: o, mode: r }), a = I({ config: e, layerInfo: i, commonStrings: o, mode: r });
|
|
193
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, d !== void 0 && (t.length === 0 && r === g.Category ? (t.push(d), l = p.Count) : l === p.Count && t.length >= 1 && !t.includes(d) && (l = p.Sum)), i !== void 0) {
|
|
194
|
+
if (V({
|
|
219
195
|
config: e,
|
|
220
196
|
layerInfo: i,
|
|
221
|
-
commonStrings:
|
|
197
|
+
commonStrings: o,
|
|
222
198
|
numericFields: t,
|
|
223
|
-
aggregationType:
|
|
224
|
-
mode:
|
|
225
|
-
}),
|
|
226
|
-
const n =
|
|
199
|
+
aggregationType: l,
|
|
200
|
+
mode: r
|
|
201
|
+
}), a) {
|
|
202
|
+
const n = x({
|
|
227
203
|
config: e,
|
|
228
204
|
layerInfo: i,
|
|
229
|
-
commonStrings:
|
|
230
|
-
numericFields:
|
|
231
|
-
aggregationType:
|
|
205
|
+
commonStrings: o,
|
|
206
|
+
numericFields: m(e),
|
|
207
|
+
aggregationType: F(e, r)
|
|
232
208
|
});
|
|
233
|
-
|
|
209
|
+
L(e, 1, n);
|
|
234
210
|
}
|
|
235
|
-
e.title && c && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings:
|
|
211
|
+
e.title && c && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: o, mode: r }));
|
|
236
212
|
} else
|
|
237
213
|
e.series.forEach((n) => {
|
|
238
214
|
delete n.query, n.y = t[0];
|
|
239
215
|
});
|
|
240
|
-
},
|
|
216
|
+
}, ye = (s, t) => {
|
|
241
217
|
let e = [];
|
|
242
|
-
const i =
|
|
243
|
-
return
|
|
244
|
-
},
|
|
245
|
-
const { values: t, config: e, mode: i } =
|
|
218
|
+
const i = s.orderOptions?.data?.orderType, r = Y(s, t), o = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : void 0;
|
|
219
|
+
return r === y.customSort && i === f.Category && Array.isArray(o) && (e = o), e;
|
|
220
|
+
}, ue = (s) => {
|
|
221
|
+
const { values: t, config: e, mode: i } = s;
|
|
246
222
|
e.orderOptions ??= {};
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
orderType:
|
|
223
|
+
const r = e.orderOptions?.data?.orderType;
|
|
224
|
+
Y(e, i) === y.customSort && r === f.Category && (e.orderOptions.data = {
|
|
225
|
+
orderType: f.Category,
|
|
250
226
|
orderBy: [...t]
|
|
251
227
|
});
|
|
252
228
|
};
|
|
229
|
+
function pe(s) {
|
|
230
|
+
const { category: t = "", numericFields: e = [], fallbackMode: i = g.Category } = s, r = t.trim() !== "" && t !== A;
|
|
231
|
+
let o = i;
|
|
232
|
+
return e.length > 1 ? o = g.Fields : r && e.length <= 1 && (o = g.Category), o;
|
|
233
|
+
}
|
|
253
234
|
export {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
235
|
+
m as a,
|
|
236
|
+
F as b,
|
|
237
|
+
J as c,
|
|
238
|
+
ge as d,
|
|
239
|
+
Y as e,
|
|
240
|
+
de as f,
|
|
241
|
+
b as g,
|
|
242
|
+
ye as h,
|
|
243
|
+
pe as i,
|
|
244
|
+
ue as j,
|
|
245
|
+
D as k,
|
|
246
|
+
ce as s
|
|
265
247
|
};
|