@arcgis/charts-components 5.2.0-next.5 → 5.2.0-next.51
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/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → 2R5BXKVB.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → 2UMW7TY6.js} +1 -1
- package/dist/cdn/356JWED3.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3GAUDUOD.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → 3UDKG6TV.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 4ASVJDBN.js} +1 -1
- package/dist/cdn/4C3N36J3.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{Y3CXVO2M.js → 4MSUALRF.js} +1 -1
- package/dist/cdn/4PUEIE4S.js +45 -0
- package/dist/cdn/53HYBRJO.js +2 -0
- package/dist/cdn/{L4G6FO7A.js → 57VIC2YX.js} +1 -1
- package/dist/cdn/5BPQQOWS.js +2 -0
- package/dist/cdn/5CIY3LRQ.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 5DUKB563.js} +1 -1
- package/dist/cdn/5IOIRPSB.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5XW2VK3A.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67P25QZA.js +2 -0
- package/dist/cdn/6AICTTLD.js +2 -0
- package/dist/cdn/6HU62XEQ.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → 6RG6AF7N.js} +1 -1
- package/dist/cdn/{HCMD362H.js → 6RPBMFL2.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/77A4IT5I.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → 7CGAXWPM.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7FSMC2TG.js +2 -0
- package/dist/cdn/7M3DALPY.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → 7MEYUIY2.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → A67PKDYM.js} +1 -1
- package/dist/cdn/AALLRICA.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → AFE4UMQE.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → AJ4RZPOJ.js} +1 -1
- package/dist/cdn/AM27TYIA.js +102 -0
- package/dist/cdn/{VEA5ZR5D.js → APATJCOK.js} +1 -1
- package/dist/cdn/AZHBGLOD.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TYMKFCF4.js → B6BI3FPN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → BAPR67OA.js} +1 -1
- package/dist/cdn/{5JML3JUR.js → BBMN3YU4.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYPSLSFP.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BYU72SMZ.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → C4O77AVT.js} +1 -1
- package/dist/cdn/CHZMNR2R.js +2 -0
- package/dist/cdn/CK2HC7UZ.js +4 -0
- package/dist/cdn/{64ZMYZ2S.js → CO2YXCVJ.js} +1 -1
- package/dist/cdn/CRUHZMGY.js +2 -0
- package/dist/cdn/{KLC6NTPC.js → CUPAZHZI.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/DEJ5AMUG.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → DGJATKEL.js} +1 -1
- package/dist/cdn/DGU55EVX.js +2 -0
- package/dist/cdn/DT5VZTKL.js +2 -0
- package/dist/cdn/DWWFJ4K4.js +2 -0
- package/dist/cdn/{RAQZUMC6.js → E7YVOSTR.js} +1 -1
- package/dist/cdn/EKHD7EQL.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → F7IPTEHX.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → FHKRXY7E.js} +1 -1
- package/dist/cdn/G33PG425.js +2 -0
- package/dist/cdn/{R45FWF7D.js → G6XSNG2U.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → GEHO65XE.js} +1 -1
- package/dist/cdn/{RFQBUWOW.js → GT6KWFXM.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → GZZJATH3.js} +1 -1
- package/dist/cdn/HGG2Y5XW.js +2 -0
- package/dist/cdn/HMBXRL4X.js +2 -0
- package/dist/cdn/HQHYGZW7.js +2 -0
- package/dist/cdn/{FF4DUQDZ.js → HRUQXEFI.js} +1 -1
- package/dist/cdn/HUGYHQXM.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → HWHKCIYW.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → IB6KNSJY.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{PSO5AURI.js → INECCYD7.js} +1 -1
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{PVJEBBA7.js → ISY2BKFT.js} +1 -1
- package/dist/cdn/J64IDIEG.js +2 -0
- package/dist/cdn/J6YHKP6I.js +2 -0
- package/dist/cdn/JDAJB45A.js +2 -0
- package/dist/cdn/{YOT6DVSU.js → JEW6MSOC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → JNFMKAES.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → K25GJKPH.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/K5FLBEYI.js +2 -0
- package/dist/cdn/KITNG4RO.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → L5J4TYCU.js} +1 -1
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTEA66L.js +2 -0
- package/dist/cdn/LQMU7V5C.js +2 -0
- package/dist/cdn/LSWWNXP3.js +2 -0
- package/dist/cdn/M22IUUVK.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → MBL6ZAKF.js} +1 -1
- package/dist/cdn/MCTBEBKM.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → MDPDU2BA.js} +1 -1
- package/dist/cdn/MIJTHCPZ.js +2 -0
- package/dist/cdn/MMGZV3SQ.js +2 -0
- package/dist/cdn/NEOAI7Q7.js +3 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → NMITBWC4.js} +1 -1
- package/dist/cdn/NPRV25FK.js +2 -0
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → NYFHPR6N.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → O25MQAZU.js} +1 -1
- package/dist/cdn/{LONASKGH.js → OAFJADKA.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{LDPHZHSF.js → OWLVHHFH.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → OZSAA5YQ.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → PDPZBGTU.js} +1 -1
- package/dist/cdn/PFR6MB2U.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → PTS74ZAY.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → PV2PO4IS.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → Q3ZQR5JF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q5E66RNY.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XJFVSX2E.js → QJMUS3VS.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → QYNNPEED.js} +1 -1
- package/dist/cdn/R53ISOLY.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → R6T7WJQJ.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → R6XIGSQS.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → RFXODD7V.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → RLCLIRL6.js} +1 -1
- package/dist/cdn/RREO2RVL.js +2 -0
- package/dist/cdn/{AM2TOTX6.js → RTVU7ANC.js} +1 -1
- package/dist/cdn/RXFVSKL4.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{DKAHZ7IX.js → SWEIMWH2.js} +1 -1
- package/dist/cdn/T5QBJ7O3.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TIIFRE76.js +2 -0
- package/dist/cdn/TIRQ7FKE.js +2 -0
- package/dist/cdn/{KOBNV5AQ.js → TJZPVPM6.js} +1 -1
- package/dist/cdn/{A5YDJIMZ.js → TNNXIIY2.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → TQLMPVI5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → TW4RXJ35.js} +1 -1
- package/dist/cdn/{U2LJZ4ML.js → TWULSSGK.js} +1 -1
- package/dist/cdn/TXQMUOMN.js +2 -0
- package/dist/cdn/{5G7DSKI7.js → UBG7XLVS.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → UBZEWFXF.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{LZYN55O4.js → UDDRI2Q2.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → VEXNULZX.js} +1 -1
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VMJSBE4T.js +2 -0
- package/dist/cdn/VN3NJCXR.js +2 -0
- package/dist/cdn/{U4XLNCOU.js → VQJKVJS7.js} +1 -1
- package/dist/cdn/VU2FAY3Y.js +2 -0
- package/dist/cdn/{3YT44D4Z.js → VX6SWJJ6.js} +1 -1
- package/dist/cdn/VZNG7PQX.js +2 -0
- package/dist/cdn/W2QTMTLL.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → WWIRRYDD.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → X6QMN2HV.js} +1 -1
- package/dist/cdn/XKOKJQQD.js +2 -0
- package/dist/cdn/{LRNADJJG.js → XMV5A2VE.js} +2 -2
- package/dist/cdn/XUL3AOTB.js +2 -0
- package/dist/cdn/{IPM2XKST.js → XVK4ONRA.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → XWLP2CHH.js} +1 -1
- package/dist/cdn/Y6KFUUWA.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YEGRLOUM.js +2 -0
- package/dist/cdn/{PAIRUVLU.js → YEK7BIRE.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YS73YUW5.js} +1 -1
- package/dist/cdn/{WNKDEOFZ.js → ZALJA7E5.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → ZCAHK6VZ.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{FDXE5JLT.js → ZUIZRQUG.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → ZYK5XBZK.js} +1 -1
- 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 +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- 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 +37 -37
- package/dist/chunks/box-plot-model.js +10 -10
- package/dist/chunks/chart-model.js +173 -141
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +27 -27
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +22 -22
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +9 -9
- package/dist/chunks/heat-chart-model.js +76 -47
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +85 -84
- package/dist/chunks/index2.js +5926 -5735
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +252 -75
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +15 -14
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +20 -20
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +48 -42
- package/dist/chunks/pie-chart-model.js +171 -158
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +15 -15
- package/dist/chunks/serial-chart-data.js +891 -756
- package/dist/chunks/serial-chart-model.js +107 -93
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +24 -20
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.js +79 -68
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +17 -17
- package/dist/components/arcgis-chart/customElement.d.ts +178 -148
- package/dist/components/arcgis-chart/customElement.js +8259 -8184
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +15 -15
- 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 +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -10
- 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 +16 -16
- 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 +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +63 -75
- 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 +28 -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 +1 -1
- 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 +36 -38
- 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-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 +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- 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 +18 -19
- 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 +2 -2
- 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 +66 -70
- package/dist/index.js +457 -450
- package/dist/json-schema/index.d.ts +162 -2
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- 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 +24 -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 +22 -22
- 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/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/model/shared/type-guards.d.ts +7 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +6 -1
- 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 +16 -2
- package/dist/utils/chart-config/converter/index.js +17 -17
- package/dist/utils/chart-config/utils/index.d.ts +35 -0
- 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/data/index.d.ts +14 -10
- package/dist/utils/defaults/index.d.ts +5 -3
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- 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 +17 -1
- package/dist/utils/layer/query-parser/index.d.ts +4 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/23YH7MTF.js +0 -2
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/2K4ODNJ4.js +0 -2
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/5XTB2INB.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7CN6J33C.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/GL3IXVRN.js +0 -2
- package/dist/cdn/GLJWUZHK.js +0 -2
- package/dist/cdn/HCV34H6X.js +0 -2
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JVHJMPFE.js +0 -2
- package/dist/cdn/K5MXTTSL.js +0 -2
- package/dist/cdn/KI4HS3AM.js +0 -2
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N5ERJZPG.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NPXBPNXE.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OLV642SY.js +0 -4
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PC7IKOIB.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PK5XIIZY.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/PZGIXDMC.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/SVLEJ3HK.js +0 -2
- package/dist/cdn/TAI4RIWT.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/TZB57XD4.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/YF7MNTCU.js +0 -58
- package/dist/cdn/YRBE7MBU.js +0 -2
- package/dist/cdn/YRFZPSCC.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/Z2CVF7CH.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { u as m } from "./chart-object-literals.js";
|
|
3
|
-
import {
|
|
3
|
+
import { V as S, Z as n, an as d, aC as c } from "./index.js";
|
|
4
4
|
import { an as a } from "./index2.js";
|
|
5
5
|
import { m as y } from "./model-setter.js";
|
|
6
6
|
import { M as g } from "./model-with-line-marker-styling.js";
|
|
7
7
|
import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
|
|
8
8
|
import { S as C, s as L, a as M } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
|
-
import {
|
|
10
|
+
import { h as k } from "./utils.js";
|
|
11
11
|
var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (o, e, s, t) => {
|
|
12
12
|
for (var i = F(e, s), r = o.length - 1, l; r >= 0; r--)
|
|
13
13
|
(l = o[r]) && (i = l(e, s, i) || i);
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { fetchT9nStringsBundle as d
|
|
2
|
+
import { fetchT9nStringsBundle as d } from "@arcgis/toolkit/intl";
|
|
3
|
+
import { getElementLocale as c } from "@arcgis/toolkit/intl/dom";
|
|
3
4
|
import { g } from "./runtime.js";
|
|
4
5
|
import { convertChartSpec as h } from "../utils/chart-config/converter/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import { ac as o,
|
|
6
|
+
import { U as f } from "./index.js";
|
|
7
|
+
import { ac as o, bx as l, I as y, an as u } from "./index2.js";
|
|
7
8
|
import "lodash-es";
|
|
8
9
|
import "luxon";
|
|
9
10
|
import "./chart-object-literals.js";
|
|
10
11
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
12
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
13
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
14
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
15
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
16
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
17
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
18
14
|
import "./index3.js";
|
|
19
15
|
import "@arcgis/core/Graphic.js";
|
|
20
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
18
|
import "@esri/arcgis-html-sanitizer";
|
|
19
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
20
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
21
|
+
import "@arcgis/core/rest/support/Query.js";
|
|
22
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
23
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
24
25
|
import "@arcgis/core/request.js";
|
|
25
|
-
import "@arcgis/core/geometry/Point.js";
|
|
26
26
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
27
|
+
import "@arcgis/core/geometry/Point.js";
|
|
27
28
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
29
|
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
30
|
+
import "@arcgis/core/geometry/Extent.js";
|
|
29
31
|
import "@arcgis/core/intl.js";
|
|
30
32
|
import "@arcgis/toolkit/dom";
|
|
31
33
|
import "simple-statistics";
|
|
32
34
|
import "@arcgis/core/core/sql.js";
|
|
33
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
34
35
|
import "@arcgis/toolkit/type";
|
|
35
36
|
import "./class-breaks.js";
|
|
36
|
-
class
|
|
37
|
+
class K extends EventTarget {
|
|
37
38
|
/**
|
|
38
39
|
* @param args
|
|
39
40
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
@@ -120,7 +121,7 @@ class $ extends EventTarget {
|
|
|
120
121
|
}
|
|
121
122
|
// #endregion
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
+
function tt(n, i, t) {
|
|
124
125
|
const s = t.set, r = t.value;
|
|
125
126
|
return s && (t.set = function(a) {
|
|
126
127
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -133,6 +134,6 @@ function K(n, i, t) {
|
|
|
133
134
|
}), t;
|
|
134
135
|
}
|
|
135
136
|
export {
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
K as C,
|
|
138
|
+
tt as m
|
|
138
139
|
};
|
|
@@ -81,7 +81,7 @@ class s extends S {
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Get whether to connect the lines when there's a gap in the data.
|
|
85
85
|
*
|
|
86
86
|
* @param seriesIndex - The index of the series.
|
|
87
87
|
*/
|
|
@@ -126,8 +126,7 @@ class s extends S {
|
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
130
|
-
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
129
|
+
* Get the color of the filled area.
|
|
131
130
|
*
|
|
132
131
|
* @param seriesIndex - The index of the series.
|
|
133
132
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as f } from "./utils.js";
|
|
4
4
|
import { M as a, b as l, d as G } from "./x-bounds.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
|
-
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor,
|
|
6
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
|
|
7
7
|
for (var i = c(e, t), s = o.length - 1, r; s >= 0; s--)
|
|
8
8
|
(r = o[s]) && (i = r(e, t, i) || i);
|
|
9
9
|
return i && m(e, t, i), i;
|
|
@@ -36,14 +36,14 @@ class d extends a {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
u([
|
|
40
40
|
p
|
|
41
41
|
], d.prototype, "addXAxisGuide");
|
|
42
|
-
|
|
42
|
+
u([
|
|
43
43
|
p
|
|
44
44
|
], d.prototype, "deleteXAxisGuide");
|
|
45
45
|
const g = [a];
|
|
46
|
-
|
|
46
|
+
f(d, g);
|
|
47
47
|
export {
|
|
48
48
|
d as M
|
|
49
49
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as b } from "./chart-model.js";
|
|
3
|
-
import { r as o,
|
|
3
|
+
import { r as o, l as h, s as x, m as A, a as C, n as m, o as L, p as V, h as v } from "./utils.js";
|
|
4
4
|
import { cloneDeep as T } from "lodash-es";
|
|
5
5
|
import { j as y } from "./chart-object-literals.js";
|
|
6
|
-
import {
|
|
6
|
+
import { H as g } from "./index.js";
|
|
7
7
|
import { m as r } from "./model-setter.js";
|
|
8
|
-
import { g as S, b as B, e as
|
|
8
|
+
import { g as S, b as B, e as M, f as O, c as D, d as G, a as I, s as z } from "./utils2.js";
|
|
9
9
|
import { M as _, b as H, d as Y } from "./x-bounds.js";
|
|
10
10
|
import { G as p } from "./common.js";
|
|
11
11
|
const P = (t) => {
|
|
12
12
|
for (const i of t.axes ?? [])
|
|
13
13
|
if (i?.grid !== void 0)
|
|
14
14
|
return i.grid;
|
|
15
|
-
},
|
|
15
|
+
}, F = (t, i, s) => {
|
|
16
16
|
const e = i.axes;
|
|
17
17
|
s.forEach((c) => {
|
|
18
18
|
e?.[c] !== void 0 && (e[c].grid = T(t));
|
|
19
19
|
});
|
|
20
|
-
},
|
|
20
|
+
}, W = (t, i) => i.axes?.[t]?.visible ?? !0, Z = (t, i, s) => {
|
|
21
21
|
const e = s.axes?.[i];
|
|
22
22
|
e !== void 0 && (e.visible = t);
|
|
23
|
-
},
|
|
23
|
+
}, k = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
|
|
24
24
|
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = i);
|
|
25
25
|
}, N = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, j = (t) => {
|
|
26
26
|
const { config: i, displayCursorTooltip: s, axisIndex: e } = t;
|
|
@@ -83,12 +83,12 @@ class a extends b {
|
|
|
83
83
|
return o({
|
|
84
84
|
config: this._config,
|
|
85
85
|
axisIndex: i,
|
|
86
|
-
func: (s) =>
|
|
86
|
+
func: (s) => W(s, this._config)
|
|
87
87
|
}) ?? !0;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Sets the visibility of the specified axis.
|
|
91
|
-
* **Note:** The visibility for the
|
|
91
|
+
* **Note:** The visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
92
92
|
* @param {boolean} isVisible The visibility state for the axis.
|
|
93
93
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
94
94
|
*/
|
|
@@ -98,7 +98,7 @@ class a extends b {
|
|
|
98
98
|
config: this._config,
|
|
99
99
|
axisIndex: s,
|
|
100
100
|
func: (e) => {
|
|
101
|
-
|
|
101
|
+
Z(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
});
|
|
@@ -112,12 +112,12 @@ class a extends b {
|
|
|
112
112
|
return o({
|
|
113
113
|
config: this._config,
|
|
114
114
|
axisIndex: i,
|
|
115
|
-
func: (s) =>
|
|
115
|
+
func: (s) => M(s, this._config)
|
|
116
116
|
}) ?? !0;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Sets the visibility of the specified axis labels.
|
|
120
|
-
* **Note:** The labels visibility for the
|
|
120
|
+
* **Note:** The labels visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
121
121
|
* @param {boolean} isVisible The visibility state for the axis labels.
|
|
122
122
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
123
123
|
*/
|
|
@@ -127,7 +127,7 @@ class a extends b {
|
|
|
127
127
|
config: this._config,
|
|
128
128
|
axisIndex: s,
|
|
129
129
|
func: (e) => {
|
|
130
|
-
|
|
130
|
+
O(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
});
|
|
@@ -141,7 +141,7 @@ class a extends b {
|
|
|
141
141
|
return o({
|
|
142
142
|
config: this._config,
|
|
143
143
|
axisIndex: i,
|
|
144
|
-
func: (s) =>
|
|
144
|
+
func: (s) => D(s, this._config)
|
|
145
145
|
}) ?? !1;
|
|
146
146
|
}
|
|
147
147
|
setAxisTitleVisibility(i, s) {
|
|
@@ -149,7 +149,7 @@ class a extends b {
|
|
|
149
149
|
config: this._config,
|
|
150
150
|
axisIndex: s,
|
|
151
151
|
func: (e) => {
|
|
152
|
-
|
|
152
|
+
G(i, e, this._config);
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
}
|
|
@@ -319,7 +319,7 @@ class a extends b {
|
|
|
319
319
|
return P(this._config);
|
|
320
320
|
}
|
|
321
321
|
setGridLinesSymbol(i, s) {
|
|
322
|
-
Array.isArray(s) &&
|
|
322
|
+
Array.isArray(s) && F(i, this._config, s);
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
325
|
* Get the default x-axis title text.
|
|
@@ -339,7 +339,7 @@ class a extends b {
|
|
|
339
339
|
return o({
|
|
340
340
|
config: this._config,
|
|
341
341
|
axisIndex: i,
|
|
342
|
-
func: (s) =>
|
|
342
|
+
func: (s) => k(this._config, s)
|
|
343
343
|
}) ?? !1;
|
|
344
344
|
}
|
|
345
345
|
setDisplayZeroLine(i, s) {
|
|
@@ -460,7 +460,7 @@ class a extends b {
|
|
|
460
460
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
461
461
|
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
462
462
|
*
|
|
463
|
-
* **Note:** To set the cursor crosshair horizontal line visibility for the
|
|
463
|
+
* **Note:** To set the cursor crosshair horizontal line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
464
464
|
*/
|
|
465
465
|
get cursorCrosshairHorizontalLineVisibility() {
|
|
466
466
|
return si(this._config);
|
|
@@ -472,7 +472,7 @@ class a extends b {
|
|
|
472
472
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
473
473
|
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
474
474
|
*
|
|
475
|
-
* **Note:** To set the cursor crosshair vertical line visibility for the
|
|
475
|
+
* **Note:** To set the cursor crosshair vertical line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
476
476
|
*/
|
|
477
477
|
get cursorCrosshairVerticalLineVisibility() {
|
|
478
478
|
return ei(this._config);
|
|
@@ -483,7 +483,7 @@ class a extends b {
|
|
|
483
483
|
/**
|
|
484
484
|
* Style of the cursor's crosshair from the chart config.
|
|
485
485
|
*
|
|
486
|
-
* **Note:** To set the cursor crosshair style for the
|
|
486
|
+
* **Note:** To set the cursor crosshair style for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
487
487
|
*/
|
|
488
488
|
get cursorCrosshairStyle() {
|
|
489
489
|
return ri(this._config);
|
|
@@ -494,7 +494,7 @@ class a extends b {
|
|
|
494
494
|
/**
|
|
495
495
|
* Cursor crosshair from the chart config.
|
|
496
496
|
*
|
|
497
|
-
* **Note:** To set the cursor crosshair for the
|
|
497
|
+
* **Note:** To set the cursor crosshair for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
498
498
|
*/
|
|
499
499
|
get cursorCrosshair() {
|
|
500
500
|
return ai(this._config);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { s as c, a as k, g as b, b as n } from "./series.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Y as m } from "./index.js";
|
|
4
4
|
import { g as i, m as a } from "./index5.js";
|
|
5
5
|
import { C as v, m as y } from "./model-setter.js";
|
|
6
6
|
const f = (s, e) => {
|
|
@@ -34,7 +34,7 @@ const f = (s, e) => {
|
|
|
34
34
|
}, q = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
|
|
35
35
|
const { visible: e, seriesIndex: r, config: t } = s;
|
|
36
36
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].showArea = e);
|
|
37
|
-
},
|
|
37
|
+
}, Y = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, E = (s) => {
|
|
38
38
|
const { visible: e, seriesIndex: r, config: t } = s;
|
|
39
39
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].markerVisible = e);
|
|
40
40
|
}, G = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, J = (s) => {
|
|
@@ -89,7 +89,7 @@ export {
|
|
|
89
89
|
J as m,
|
|
90
90
|
q as n,
|
|
91
91
|
R as o,
|
|
92
|
-
|
|
92
|
+
Y as p,
|
|
93
93
|
E as q,
|
|
94
94
|
G as r,
|
|
95
95
|
d as s
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { substitute as
|
|
3
|
-
import { memoize as
|
|
4
|
-
import { P as
|
|
2
|
+
import { substitute as O } from "@arcgis/core/intl.js";
|
|
3
|
+
import { memoize as U, isEmpty as W, isNull as $, cloneDeep as M } from "lodash-es";
|
|
4
|
+
import { P as g, a as y } from "./common.js";
|
|
5
5
|
import { g as A, u as q } from "./utils.js";
|
|
6
|
-
import { g as
|
|
7
|
-
import { b as
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
6
|
+
import { g as R } from "./data.js";
|
|
7
|
+
import { b as k } from "./series-length.js";
|
|
8
|
+
import { g as z } from "./utils2.js";
|
|
9
|
+
import { U as G, u as _, a4 as H } from "./index.js";
|
|
10
10
|
import { d as P } from "./index3.js";
|
|
11
|
-
import { m as
|
|
11
|
+
import { m as h, an as L, n as V } from "./index2.js";
|
|
12
12
|
import { i as w } from "./index4.js";
|
|
13
13
|
import { r as m, p as b, n as F, u as J } from "./chart-object-literals.js";
|
|
14
14
|
import { i as Q } from "./rest-js-object-literals.js";
|
|
15
15
|
function v(r) {
|
|
16
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l =
|
|
16
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = k(t), d = w(t);
|
|
17
17
|
return a === l || d;
|
|
18
18
|
}
|
|
19
19
|
function B(r) {
|
|
@@ -23,19 +23,19 @@ function B(r) {
|
|
|
23
23
|
commonStrings: s,
|
|
24
24
|
numericFields: f(t),
|
|
25
25
|
aggregationType: T(t, i)
|
|
26
|
-
}) : "", l =
|
|
26
|
+
}) : "", l = z(1, t), d = w(t);
|
|
27
27
|
return a === l || d;
|
|
28
28
|
}
|
|
29
29
|
const I = (r) => r.series?.[0]?.x ?? "";
|
|
30
30
|
function X(r, t) {
|
|
31
31
|
const e = r.series?.[0];
|
|
32
|
-
return [`${t ===
|
|
32
|
+
return [`${t === g.Category ? e.y : V} ${b.Descending}`];
|
|
33
33
|
}
|
|
34
34
|
const K = (r, t) => {
|
|
35
|
-
let e =
|
|
35
|
+
let e = y.valueDesc;
|
|
36
36
|
const i = r.orderOptions?.data?.orderType ?? X(r, t), s = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : b.Descending;
|
|
37
|
-
return i === F.Category && Array.isArray(s) ? e =
|
|
38
|
-
}, f =
|
|
37
|
+
return i === F.Category && Array.isArray(s) ? e = y.customSort : i === F.Category ? s === b.Ascending ? e = y.labelAsc : e = y.labelDesc : s === b.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
|
|
38
|
+
}, f = U(
|
|
39
39
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
40
40
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
41
41
|
(r) => {
|
|
@@ -49,12 +49,12 @@ const K = (r, t) => {
|
|
|
49
49
|
), T = (r, t) => {
|
|
50
50
|
const e = f(r);
|
|
51
51
|
let i;
|
|
52
|
-
return t ===
|
|
52
|
+
return t === g.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
|
|
53
53
|
};
|
|
54
54
|
function Y(r) {
|
|
55
55
|
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = L(e?.layer).idField, l = H(s, a), d = I(t), c = t.series[0]?.dataLabels, o = {
|
|
56
56
|
...l,
|
|
57
|
-
x: i ===
|
|
57
|
+
x: i === g.Category ? d : h,
|
|
58
58
|
slices: t.series?.[0]?.slices,
|
|
59
59
|
dataLabels: {
|
|
60
60
|
...l.dataLabels,
|
|
@@ -73,8 +73,8 @@ function Y(r) {
|
|
|
73
73
|
}, n = T(t, i);
|
|
74
74
|
if (n !== m.NoAggregation && a !== void 0) {
|
|
75
75
|
const u = `${n}_${a}_0`.toUpperCase();
|
|
76
|
-
o.y = i ===
|
|
77
|
-
outStatistics: i ===
|
|
76
|
+
o.y = i === g.Category ? u : V, o.query = {
|
|
77
|
+
outStatistics: i === g.Category ? [
|
|
78
78
|
{
|
|
79
79
|
statisticType: n,
|
|
80
80
|
onStatisticField: a,
|
|
@@ -83,39 +83,39 @@ function Y(r) {
|
|
|
83
83
|
] : []
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
return i ===
|
|
86
|
+
return i === g.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, M(o);
|
|
87
87
|
}
|
|
88
88
|
function D(r) {
|
|
89
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p =
|
|
90
|
-
let
|
|
91
|
-
return i ===
|
|
89
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = _(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), C = P(a ?? [], c);
|
|
90
|
+
let S = "", N;
|
|
91
|
+
return i === g.Fields ? N = o.length === 0 : N = c === "", N ? S = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? S = O(s.titleLabels.aggrFieldsByCategory, {
|
|
92
92
|
aggregationFields: u ? l : x,
|
|
93
|
-
category:
|
|
94
|
-
}) : n === m.Count ?
|
|
93
|
+
category: C
|
|
94
|
+
}) : n === m.Count ? S = O(s.titleLabels.aggrTypeCategory, {
|
|
95
95
|
aggregationType: p,
|
|
96
|
-
category:
|
|
97
|
-
}) : o.length > 0 && (
|
|
96
|
+
category: C
|
|
97
|
+
}) : o.length > 0 && (C === h || W(C) || $(C) ? S = O(s.titleLabels.aggrTypeOfAggrFields, {
|
|
98
98
|
aggregationType: p,
|
|
99
99
|
aggregationFields: x
|
|
100
|
-
}) :
|
|
100
|
+
}) : S = O(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
101
101
|
aggregationType: p,
|
|
102
102
|
aggregationFields: x,
|
|
103
|
-
category:
|
|
104
|
-
})),
|
|
103
|
+
category: C
|
|
104
|
+
})), S;
|
|
105
105
|
}
|
|
106
106
|
const ue = (r) => {
|
|
107
107
|
const { newSortOrderKind: t, config: e, orderByList: i } = r;
|
|
108
|
-
e.orderOptions ??= {}, t ===
|
|
108
|
+
e.orderOptions ??= {}, t === y.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
109
109
|
orderType: F.Category,
|
|
110
110
|
orderBy: [...i]
|
|
111
111
|
} : e.orderOptions.data = {
|
|
112
|
-
orderType: t ===
|
|
113
|
-
orderBy: t ===
|
|
112
|
+
orderType: t === y.labelAsc || t === y.labelDesc ? F.Category : F.YValue,
|
|
113
|
+
orderBy: t === y.labelAsc || t === y.valueAsc ? b.Ascending : b.Descending
|
|
114
114
|
};
|
|
115
115
|
}, pe = (r) => {
|
|
116
116
|
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, d = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
117
117
|
if (e.series.forEach((o) => {
|
|
118
|
-
o.x = s ===
|
|
118
|
+
o.x = s === g.Category ? t : h, o.query !== void 0 && t !== h ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
|
|
119
119
|
}), l === 0) {
|
|
120
120
|
const o = [Y({ config: e, layerInfo: i, mode: s, commonStrings: a })];
|
|
121
121
|
e.series = o;
|
|
@@ -132,7 +132,7 @@ const ue = (r) => {
|
|
|
132
132
|
q(e, 1, n);
|
|
133
133
|
}
|
|
134
134
|
e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
135
|
-
const o = s ===
|
|
135
|
+
const o = s === g.Fields ? f(e).filter((n) => n !== L(i.layer).idField) : f(e);
|
|
136
136
|
Z({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
|
|
137
137
|
}
|
|
138
138
|
};
|
|
@@ -149,7 +149,7 @@ function j(r) {
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
|
|
152
|
-
const u =
|
|
152
|
+
const u = R({
|
|
153
153
|
config: i,
|
|
154
154
|
xAxisField: I(i),
|
|
155
155
|
numericFields: t,
|
|
@@ -159,7 +159,7 @@ function j(r) {
|
|
|
159
159
|
fieldList: d
|
|
160
160
|
}).name;
|
|
161
161
|
if (e !== m.NoAggregation)
|
|
162
|
-
if (a ===
|
|
162
|
+
if (a === g.Category) {
|
|
163
163
|
if (t.length > 0) {
|
|
164
164
|
const p = t[0];
|
|
165
165
|
n.query.outStatistics = [
|
|
@@ -204,7 +204,7 @@ const me = (r) => {
|
|
|
204
204
|
e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
205
205
|
const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
206
206
|
e.legend = {
|
|
207
|
-
...e.legend ??
|
|
207
|
+
...e.legend ?? G(),
|
|
208
208
|
displayNumericValue: n,
|
|
209
209
|
displayPercentage: u,
|
|
210
210
|
displayCategory: o
|
|
@@ -214,7 +214,7 @@ const me = (r) => {
|
|
|
214
214
|
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = L(i?.layer).idField;
|
|
215
215
|
let d = T(e, s);
|
|
216
216
|
const c = v({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = B({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
217
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s ===
|
|
217
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === g.Category ? (t.push(l), d = m.Count) : d === m.Count && t.length >= 1 && !t.includes(l) && (d = m.Sum)), i !== void 0) {
|
|
218
218
|
if (j({
|
|
219
219
|
config: e,
|
|
220
220
|
layerInfo: i,
|
|
@@ -240,16 +240,21 @@ const me = (r) => {
|
|
|
240
240
|
}, fe = (r, t) => {
|
|
241
241
|
let e = [];
|
|
242
242
|
const i = r.orderOptions?.data?.orderType, s = K(r, t), a = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : void 0;
|
|
243
|
-
return s ===
|
|
243
|
+
return s === y.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
|
|
244
244
|
}, Fe = (r) => {
|
|
245
245
|
const { values: t, config: e, mode: i } = r;
|
|
246
246
|
e.orderOptions ??= {};
|
|
247
247
|
const s = e.orderOptions?.data?.orderType;
|
|
248
|
-
K(e, i) ===
|
|
248
|
+
K(e, i) === y.customSort && s === F.Category && (e.orderOptions.data = {
|
|
249
249
|
orderType: F.Category,
|
|
250
250
|
orderBy: [...t]
|
|
251
251
|
});
|
|
252
252
|
};
|
|
253
|
+
function Te(r) {
|
|
254
|
+
const { category: t = "", numericFields: e = [], fallbackMode: i = g.Category } = r, s = t.trim() !== "" && t !== h;
|
|
255
|
+
let a = i;
|
|
256
|
+
return e.length > 1 ? a = g.Fields : s && e.length <= 1 && (a = g.Category), a;
|
|
257
|
+
}
|
|
253
258
|
export {
|
|
254
259
|
f as a,
|
|
255
260
|
T as b,
|
|
@@ -259,7 +264,8 @@ export {
|
|
|
259
264
|
ue as f,
|
|
260
265
|
I as g,
|
|
261
266
|
fe as h,
|
|
262
|
-
|
|
263
|
-
|
|
267
|
+
Te as i,
|
|
268
|
+
Fe as j,
|
|
269
|
+
D as k,
|
|
264
270
|
pe as s
|
|
265
271
|
};
|