@arcgis/charts-components 5.2.0-next.134 → 5.2.0-next.136
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/{IGFC74OK.js → 2HRUBGST.js} +1 -1
- package/dist/cdn/{ZF7Q5ICW.js → 35PBCGSN.js} +1 -1
- package/dist/cdn/{MEVS5PVK.js → 367L3LQO.js} +1 -1
- package/dist/cdn/{3RHIIHYK.js → 3GKRNMRV.js} +1 -1
- package/dist/cdn/{35YCEIPG.js → 3OER7BU2.js} +1 -1
- package/dist/cdn/{FEEYT3QQ.js → 3SCHRJRU.js} +1 -1
- package/dist/cdn/{LJO5VDUN.js → 4CZ42XEO.js} +1 -1
- package/dist/cdn/{34XMANB5.js → 4O2KDCKM.js} +1 -1
- package/dist/cdn/{EGROLWFL.js → 4W7SCR55.js} +1 -1
- package/dist/cdn/{BTVIWRYJ.js → 4ZLCIBER.js} +1 -1
- package/dist/cdn/{SY67MGEX.js → 5B3ABOG3.js} +1 -1
- package/dist/cdn/5L7BAEX5.js +2 -0
- package/dist/cdn/{MJOSYJQM.js → 6EDLAC52.js} +1 -1
- package/dist/cdn/{7HEDEKUK.js → 6RUBYJSF.js} +1 -1
- package/dist/cdn/{NSEM52TJ.js → 7UVQYW4Q.js} +1 -1
- package/dist/cdn/{SNZ7YX4G.js → AJLZM4IQ.js} +1 -1
- package/dist/cdn/{FB73CWAR.js → AYMLPZBF.js} +1 -1
- package/dist/cdn/{LDIHSUX2.js → B5TTRVJI.js} +1 -1
- package/dist/cdn/{EJNWROC7.js → BIN4ZNTH.js} +1 -1
- package/dist/cdn/{E3GMOBBD.js → CIAJ52ML.js} +1 -1
- package/dist/cdn/{7V56LIEQ.js → CPHTAVGQ.js} +1 -1
- package/dist/cdn/{PTXE3HWB.js → D7RKUPNX.js} +1 -1
- package/dist/cdn/{F4U6EDV7.js → DBOWNSG5.js} +1 -1
- package/dist/cdn/DKIBLRSR.js +3 -0
- package/dist/cdn/{U62CTMLS.js → E2D4QDWN.js} +1 -1
- package/dist/cdn/{DJTFBHNQ.js → E3FKZBYQ.js} +1 -1
- package/dist/cdn/{RAUY3KKA.js → EHQJJN7C.js} +1 -1
- package/dist/cdn/{A7WJVI5D.js → EIA2JM3O.js} +1 -1
- package/dist/cdn/{N7EBMOGD.js → ENYTXX6O.js} +1 -1
- package/dist/cdn/{GWNC2RK3.js → EP5MHPGF.js} +1 -1
- package/dist/cdn/{XJXSAYEK.js → FN4N6E4Z.js} +1 -1
- package/dist/cdn/{57HL3UWJ.js → FNNNRYPK.js} +1 -1
- package/dist/cdn/{5HNY3IAS.js → G4BWHPA3.js} +1 -1
- package/dist/cdn/{TT4BXH4L.js → GUDVONR6.js} +1 -1
- package/dist/cdn/{IUFIYS7S.js → GZJZ5V7Q.js} +1 -1
- package/dist/cdn/{TUEYIIMJ.js → HDBY2GFV.js} +1 -1
- package/dist/cdn/{7LTSJSTM.js → HHXJ7N5R.js} +1 -1
- package/dist/cdn/{FPYTBEV3.js → HPXU7UB6.js} +1 -1
- package/dist/cdn/{HLNBRVRG.js → HYMJRAL3.js} +1 -1
- package/dist/cdn/{QKENGEGV.js → I46I6KOY.js} +1 -1
- package/dist/cdn/{TOETRZXJ.js → I46OAPO7.js} +1 -1
- package/dist/cdn/{UDTDIZNT.js → IA5OR4WK.js} +1 -1
- package/dist/cdn/{FKNSQZCW.js → IFGLNWRZ.js} +1 -1
- package/dist/cdn/{ZJTFGMDB.js → IGQE3GKE.js} +1 -1
- package/dist/cdn/{ZL524IM5.js → IP75JGZY.js} +1 -1
- package/dist/cdn/{5HNG6KMX.js → IV6R3TUP.js} +1 -1
- package/dist/cdn/{LOCELKGX.js → IXW7366K.js} +3 -3
- package/dist/cdn/{BEMMMLF7.js → JEAGQZ6U.js} +1 -1
- package/dist/cdn/{SKJ3EY3H.js → JMTJXHWM.js} +1 -1
- package/dist/cdn/{SYYWPV6X.js → K6M6N5Y4.js} +1 -1
- package/dist/cdn/{7JOTYFCC.js → KYLV3VYF.js} +1 -1
- package/dist/cdn/{O32HVT23.js → M3XUZXNC.js} +1 -1
- package/dist/cdn/{ROY54SMC.js → MRB4SVH7.js} +1 -1
- package/dist/cdn/{U4GLRB5M.js → MT4UZZHO.js} +1 -1
- package/dist/cdn/{KFUYJAX4.js → MTIRF2JT.js} +1 -1
- package/dist/cdn/{T5MBXDFL.js → MWVAPA6R.js} +1 -1
- package/dist/cdn/{35Z5G5XD.js → N64ZNSEI.js} +1 -1
- package/dist/cdn/{TTM5ZQFA.js → NFNY5YEZ.js} +1 -1
- package/dist/cdn/{HLHP2HHG.js → NFZIKRWX.js} +1 -1
- package/dist/cdn/{TGRE7VEP.js → NTTEKGFE.js} +1 -1
- package/dist/cdn/{OPIODPW3.js → O6OCB5IT.js} +1 -1
- package/dist/cdn/{CQFH2M2V.js → PNFPQKYB.js} +2 -2
- package/dist/cdn/{G5R4DPDE.js → PQPHTXNR.js} +1 -1
- package/dist/cdn/{3GS6JTKO.js → PSCLY3DM.js} +19 -20
- package/dist/cdn/{HZBM265G.js → QHM4EVYR.js} +1 -1
- package/dist/cdn/{ODTXJRD3.js → QKGSVBTA.js} +1 -1
- package/dist/cdn/{AE3Q3FDI.js → R43SLOWX.js} +1 -1
- package/dist/cdn/{FWSQ6ZIW.js → RFSLZQXB.js} +1 -1
- package/dist/cdn/RKCOLO2T.js +2 -0
- package/dist/cdn/{4TYYNWIM.js → SADF3HXI.js} +1 -1
- package/dist/cdn/{QL2Y7MRB.js → SDFAZNSE.js} +1 -1
- package/dist/cdn/{3EZTPHQL.js → SO5USEBM.js} +1 -1
- package/dist/cdn/{TAXYRFNW.js → TNOEBWC6.js} +1 -1
- package/dist/cdn/{GCIRVVIE.js → TOQ5LNA2.js} +1 -1
- package/dist/cdn/{DDNS3GY4.js → TXG73R7I.js} +1 -1
- package/dist/cdn/{H5DH4WNN.js → W6CVNIZI.js} +1 -1
- package/dist/cdn/{RCD46RH5.js → WDWEALIE.js} +1 -1
- package/dist/cdn/{R35RZX3J.js → WOXI3AZO.js} +1 -1
- package/dist/cdn/{DLX6VFTM.js → WVAWR5QJ.js} +1 -1
- package/dist/cdn/{SLMVIJZS.js → WZQU3ETT.js} +1 -1
- package/dist/cdn/{2MMQK7WY.js → X7JF37XY.js} +1 -1
- package/dist/cdn/{PYRBEWFD.js → XID55HFP.js} +1 -1
- package/dist/cdn/{7RELPYIT.js → XKUVYPZZ.js} +1 -1
- package/dist/cdn/{A6ZHMVPA.js → XVOJWRDP.js} +1 -1
- package/dist/cdn/{RSJPZSNN.js → Y7BPMJVM.js} +1 -1
- package/dist/cdn/{FL6IYK2Q.js → YG3RPQLN.js} +1 -1
- package/dist/cdn/{4555T57S.js → ZAYWPPRC.js} +1 -1
- package/dist/cdn/ZOIPJDWO.js +2 -0
- package/dist/cdn/{EXL2B3BJ.js → ZUCZVZTB.js} +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +6 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/box-plot-data.js +22 -22
- package/dist/chunks/box-plot-model.js +6 -6
- package/dist/chunks/chart-model.js +10 -10
- package/dist/chunks/chart-ui-utils.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +8 -8
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +15 -15
- package/dist/chunks/gauge-model.js +49 -49
- package/dist/chunks/heat-chart-model.js +21 -21
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +511 -497
- package/dist/chunks/index2.js +1 -4
- package/dist/chunks/index3.js +105 -104
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +2 -2
- package/dist/chunks/model-with-y-guides.js +4 -4
- package/dist/chunks/pie-chart-data.js +6 -6
- package/dist/chunks/pie-chart-model.js +8 -8
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +10 -10
- package/dist/chunks/serial-chart-data.js +291 -291
- package/dist/chunks/serial-chart-model.js +2 -2
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/utils.js +32 -32
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +2 -2
- package/dist/chunks/x-bounds.js +14 -14
- package/dist/components/arcgis-chart/customElement.d.ts +21 -10
- package/dist/components/arcgis-chart/customElement.js +3800 -3753
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +37 -37
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- 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.js +396 -395
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +89 -89
- package/dist/utils/defaults/index.d.ts +5 -0
- package/package.json +4 -4
- package/dist/cdn/5MZ56C7R.js +0 -2
- package/dist/cdn/O5YAEMTL.js +0 -3
- package/dist/cdn/P5HRXBWY.js +0 -2
- package/dist/cdn/SJF6WAGB.js +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as v } from "@arcgis/core/intl.js";
|
|
3
|
-
import { memoize as
|
|
3
|
+
import { memoize as W, isEmpty as ne, isEqual as le, cloneDeep as K } from "es-toolkit/compat";
|
|
4
4
|
import { B as f } from "./common.js";
|
|
5
|
-
import { u as I, a as
|
|
5
|
+
import { u as I, a as U, b as ae, c as ce, d as E } from "./utils.js";
|
|
6
6
|
import { g as k } from "./utils2.js";
|
|
7
7
|
import { g as de } from "./series-length.js";
|
|
8
8
|
import { s as N } from "./data.js";
|
|
9
9
|
import { d as ye } from "./rest-js-object-literals.js";
|
|
10
10
|
import { a as p, t as S, g as x } from "./chart-object-literals.js";
|
|
11
|
-
import { o as X, l as h, n as ue, t as fe,
|
|
11
|
+
import { o as X, l as h, n as ue, t as fe, aa as $, ab as z, Z as me, ac as Se, X as pe, Y as ge } from "./index3.js";
|
|
12
12
|
import { b as A } from "./index2.js";
|
|
13
|
-
import { cu as M, ca as xe, cf as D,
|
|
13
|
+
import { cu as M, ca as xe, cf as D, N as be, V as he, cv as Fe, cw as Ae, a2 as j } from "./index.js";
|
|
14
14
|
import { i as P } from "./index4.js";
|
|
15
15
|
import { s as Be, a as Le } from "./series.js";
|
|
16
16
|
const J = (s) => {
|
|
@@ -75,13 +75,13 @@ function Ie(s) {
|
|
|
75
75
|
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, n = C(e), r = o !== h ? A(i, n) : "", l = k(0, e), a = P(e);
|
|
76
76
|
return r === l || a || l.trim() === "";
|
|
77
77
|
}
|
|
78
|
-
const C = (s) => D(s)?.x ?? h, Me =
|
|
78
|
+
const C = (s) => D(s)?.x ?? h, Me = W(
|
|
79
79
|
(s) => {
|
|
80
80
|
const e = D(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
81
81
|
return be(e?.query?.where) ? "" : t;
|
|
82
82
|
},
|
|
83
83
|
(s) => D(s)?.query?.where
|
|
84
|
-
), G =
|
|
84
|
+
), G = W(
|
|
85
85
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
86
86
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
87
87
|
(s) => he(s?.series).filter((e) => e !== ""),
|
|
@@ -94,7 +94,7 @@ const C = (s) => D(s)?.x ?? h, Me = Y(
|
|
|
94
94
|
y: o,
|
|
95
95
|
query: {}
|
|
96
96
|
};
|
|
97
|
-
return
|
|
97
|
+
return K(r);
|
|
98
98
|
}, Pe = (s) => {
|
|
99
99
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
|
|
100
100
|
...me({ commonStrings: i, seriesIndex: t }),
|
|
@@ -102,13 +102,13 @@ const C = (s) => D(s)?.x ?? h, Me = Y(
|
|
|
102
102
|
y: o,
|
|
103
103
|
query: {}
|
|
104
104
|
};
|
|
105
|
-
return
|
|
105
|
+
return K(r);
|
|
106
106
|
};
|
|
107
107
|
function Q(s) {
|
|
108
108
|
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l = $(i), a = n ?? `series_${Date.now()}`;
|
|
109
109
|
return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Z(s) {
|
|
112
112
|
const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: n } = s, { layerFieldsInfo: r } = o, l = [], a = i ?? C(t), y = N({
|
|
113
113
|
fieldName: a,
|
|
114
114
|
numericFields: e,
|
|
@@ -152,7 +152,7 @@ function _(s) {
|
|
|
152
152
|
}
|
|
153
153
|
return t.series.length === 1 && l.length === 1 && "fillSymbol" in t.series[0] && (l[0].fillSymbol = t.series[0].fillSymbol), l;
|
|
154
154
|
}
|
|
155
|
-
const
|
|
155
|
+
const _ = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", De = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
|
|
156
156
|
function Ve(s, e, t) {
|
|
157
157
|
const o = [];
|
|
158
158
|
return s.forEach((i) => {
|
|
@@ -196,7 +196,7 @@ function ke(s) {
|
|
|
196
196
|
}
|
|
197
197
|
}), t;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function H(s) {
|
|
200
200
|
const { formerSeries: e, newSeries: t, showMean: o } = s;
|
|
201
201
|
let i = t;
|
|
202
202
|
const n = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), r = e.filter(n).map((a) => a.id), l = t.filter(n).map((a) => a.id);
|
|
@@ -217,7 +217,7 @@ function Ne(s) {
|
|
|
217
217
|
let u = [];
|
|
218
218
|
const F = De(e);
|
|
219
219
|
if (y.length === 0) {
|
|
220
|
-
u =
|
|
220
|
+
u = Z({
|
|
221
221
|
numericFields: n,
|
|
222
222
|
category: a,
|
|
223
223
|
config: e,
|
|
@@ -237,7 +237,7 @@ function Ne(s) {
|
|
|
237
237
|
queryObject: t.layer,
|
|
238
238
|
fieldName: i,
|
|
239
239
|
fieldValue: m ?? ""
|
|
240
|
-
}), B = `${m}`, L = e.series.find((re) =>
|
|
240
|
+
}), B = `${m}`, L = e.series.find((re) => _(re) === B), ie = L?.name ?? w ?? B, q = L ?? b, oe = {
|
|
241
241
|
...q,
|
|
242
242
|
id: B,
|
|
243
243
|
name: ie,
|
|
@@ -251,7 +251,7 @@ function Ne(s) {
|
|
|
251
251
|
};
|
|
252
252
|
u.push(oe);
|
|
253
253
|
}
|
|
254
|
-
if (u =
|
|
254
|
+
if (u = H({
|
|
255
255
|
formerSeries: e.series,
|
|
256
256
|
newSeries: u,
|
|
257
257
|
showMean: V(e)
|
|
@@ -268,8 +268,8 @@ function Ne(s) {
|
|
|
268
268
|
}
|
|
269
269
|
const as = (s) => {
|
|
270
270
|
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ze(o, t, e), c = Ae(a), u = C(i), F = Oe(i, n, r), d = R(i, n, r), m = Ie({ config: i, layerInfo: n, newCategory: o });
|
|
271
|
-
let g =
|
|
272
|
-
if (!c.includes(u) && c.includes(o) ? g = pe() : c.includes(u) && !c.includes(o) && (g = ge()), g !== void 0 && ce(i, r, g),
|
|
271
|
+
let g = U(i);
|
|
272
|
+
if (!c.includes(u) && c.includes(o) ? g = pe() : c.includes(u) && !c.includes(o) && (g = ge()), g !== void 0 && ce(i, r, g), Y(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: r } : { newShowMeanLines: !1, config: i, commonStrings: r }), i.series = y && l ? Ne({
|
|
273
273
|
config: i,
|
|
274
274
|
layerInfo: n,
|
|
275
275
|
splitByField: e,
|
|
@@ -277,7 +277,7 @@ const as = (s) => {
|
|
|
277
277
|
category: o,
|
|
278
278
|
commonStrings: r,
|
|
279
279
|
splitByFieldInfos: l
|
|
280
|
-
}) :
|
|
280
|
+
}) : Z({
|
|
281
281
|
numericFields: t,
|
|
282
282
|
config: i,
|
|
283
283
|
layerInfo: n,
|
|
@@ -322,7 +322,7 @@ function ee(s, e, t) {
|
|
|
322
322
|
const cs = (s) => {
|
|
323
323
|
const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
|
|
324
324
|
let n = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
|
|
325
|
-
return ne(t) || (n =
|
|
325
|
+
return ne(t) || (n = _(e)), n = j({
|
|
326
326
|
queryObject: o.layer,
|
|
327
327
|
fieldName: t,
|
|
328
328
|
fieldValue: n ?? ""
|
|
@@ -393,11 +393,11 @@ const cs = (s) => {
|
|
|
393
393
|
orderBy: i
|
|
394
394
|
};
|
|
395
395
|
}
|
|
396
|
-
}, V = (s) => s.showMean ?? !1,
|
|
396
|
+
}, V = (s) => s.showMean ?? !1, Y = (s) => {
|
|
397
397
|
const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, n = e ? i : Ce(t), r = (e ?? !1) !== (t.showMean ?? !1);
|
|
398
398
|
if (t.showMean = e, r) {
|
|
399
399
|
let l;
|
|
400
|
-
e ? l = Fe(t.series) ? Ve(t.series, o) : t.series : l = ke(t.series), l && (l =
|
|
400
|
+
e ? l = Fe(t.series) ? Ve(t.series, o) : t.series : l = ke(t.series), l && (l = H({
|
|
401
401
|
formerSeries: t.series,
|
|
402
402
|
newSeries: l,
|
|
403
403
|
showMean: e
|
|
@@ -416,7 +416,7 @@ const cs = (s) => {
|
|
|
416
416
|
orderBy: s
|
|
417
417
|
});
|
|
418
418
|
}, ps = async (s) => {
|
|
419
|
-
const { config: e, layerInfo: t, errorStrings: o } = s, i = C(e), n =
|
|
419
|
+
const { config: e, layerInfo: t, errorStrings: o } = s, i = C(e), n = U(e)?.type, r = G(e);
|
|
420
420
|
let l = [];
|
|
421
421
|
return n === p.CategoryAxisFormat && (N({
|
|
422
422
|
fieldName: i,
|
|
@@ -450,7 +450,7 @@ export {
|
|
|
450
450
|
ps as k,
|
|
451
451
|
ms as l,
|
|
452
452
|
Ss as m,
|
|
453
|
-
|
|
453
|
+
Y as n,
|
|
454
454
|
Ce as o,
|
|
455
455
|
we as p,
|
|
456
456
|
ze as q,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { isEqual as W } from "es-toolkit/compat";
|
|
3
3
|
import { log as d } from "@arcgis/toolkit/log";
|
|
4
4
|
import { a as O } from "./chart-object-literals.js";
|
|
5
|
-
import { l as f,
|
|
5
|
+
import { l as f, ap as P, aa as D, g as R, ab as y, an as p, ac as m, r as A } from "./index3.js";
|
|
6
6
|
import { cf as V, ca as h } from "./index.js";
|
|
7
7
|
import { m as r } from "./model-setter.js";
|
|
8
8
|
import { B as T } from "./common.js";
|
|
@@ -15,7 +15,7 @@ import { W as Z } from "./data-labels-symbol.js";
|
|
|
15
15
|
import { W as $ } from "./rotated-state.js";
|
|
16
16
|
import { g as ee, b as ie, s as te, a as se } from "./series.js";
|
|
17
17
|
import { k as re, j as oe, l as ne, h as ae } from "./utils.js";
|
|
18
|
-
import { s as le, d as he, e as ce, f as ge, h as de, i as u, j as S, k as _, l as L, m as B, g as fe, n as ye, o as
|
|
18
|
+
import { s as le, d as he, e as ce, f as ge, h as de, i as u, j as S, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as be, D as ve, E as we, F as We, G as I } from "./box-plot-data.js";
|
|
19
19
|
import { C as Oe } from "./chart-model.js";
|
|
20
20
|
var Pe = Object.defineProperty, De = Object.getOwnPropertyDescriptor, o = (c, e, i, n) => {
|
|
21
21
|
for (var s = De(e, i), a = c.length - 1, l; a >= 0; a--)
|
|
@@ -223,7 +223,7 @@ class t extends Oe {
|
|
|
223
223
|
* **Note**: Only applicable when mean lines are shown.
|
|
224
224
|
*/
|
|
225
225
|
get meanLinesBoxColor() {
|
|
226
|
-
return
|
|
226
|
+
return pe(this._config);
|
|
227
227
|
}
|
|
228
228
|
set meanLinesBoxColor(e) {
|
|
229
229
|
C(e, this._config);
|
|
@@ -236,7 +236,7 @@ class t extends Oe {
|
|
|
236
236
|
* @private
|
|
237
237
|
*/
|
|
238
238
|
setupLocalProps() {
|
|
239
|
-
this._category =
|
|
239
|
+
this._category = me(this._config), this._splitByField = ue(this._config), this._numericFields = Se(this._config);
|
|
240
240
|
}
|
|
241
241
|
/** @private */
|
|
242
242
|
generateDefaultConfig() {
|
|
@@ -407,7 +407,7 @@ class t extends Oe {
|
|
|
407
407
|
layerInfo: this.layerInfo,
|
|
408
408
|
commonStrings: this.commonStrings
|
|
409
409
|
});
|
|
410
|
-
M(a ?? i, e, this._config), this.showMeanLines === !0 && h(s) && (te(
|
|
410
|
+
M(a ?? i, e, this._config), this.showMeanLines === !0 && h(s) && (te(p, s), se(m, s));
|
|
411
411
|
}
|
|
412
412
|
this.showMeanLines === !0 && C(y, this._config), this._config.colorMatch = !0;
|
|
413
413
|
}
|
|
@@ -431,7 +431,7 @@ class t extends Oe {
|
|
|
431
431
|
}
|
|
432
432
|
if (this.showMeanLines === !0 && h(l)) {
|
|
433
433
|
const v = this.getSeriesLineStyle(a), w = this.getSeriesLineWidth(a);
|
|
434
|
-
if (v !==
|
|
434
|
+
if (v !== p || w !== m) {
|
|
435
435
|
s = !0;
|
|
436
436
|
break;
|
|
437
437
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { h as j } from "./utils.js";
|
|
3
3
|
import { g as F, W, c as L, d as I } from "./series-length.js";
|
|
4
4
|
import { m as a, C as n } from "./model-setter.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a1 as p, a3 as c, a2 as f } from "./index3.js";
|
|
6
6
|
import { u as z } from "./index2.js";
|
|
7
|
-
import {
|
|
7
|
+
import { q as N } from "./index.js";
|
|
8
8
|
var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r, l) => {
|
|
9
9
|
for (var i = M(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
10
10
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
11
11
|
return i && R(t, r, i), i;
|
|
12
12
|
};
|
|
13
|
-
const B = (e) => e.title?.content,
|
|
13
|
+
const B = (e) => e.title?.content, q = (e, t) => {
|
|
14
14
|
if (e) {
|
|
15
15
|
const r = F(t);
|
|
16
16
|
t.title === void 0 && (t.title = p({
|
|
@@ -32,16 +32,16 @@ class h extends n {
|
|
|
32
32
|
return B(this._config);
|
|
33
33
|
}
|
|
34
34
|
set titleSymbol(t) {
|
|
35
|
-
|
|
35
|
+
q(t, this._config);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
U([
|
|
39
39
|
a
|
|
40
40
|
], h.prototype, "titleSymbol");
|
|
41
|
-
var
|
|
41
|
+
var E = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (e, t, r, l) => {
|
|
42
42
|
for (var i = A(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
43
43
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
44
|
-
return i &&
|
|
44
|
+
return i && E(t, r, i), i;
|
|
45
45
|
};
|
|
46
46
|
class u extends n {
|
|
47
47
|
/**
|
|
@@ -373,12 +373,12 @@ class T extends n {
|
|
|
373
373
|
Nt([
|
|
374
374
|
a
|
|
375
375
|
], T.prototype, "backgroundColor");
|
|
376
|
-
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor,
|
|
376
|
+
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, qt = (e, t, r, l) => {
|
|
377
377
|
for (var i = Bt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
378
378
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
379
379
|
return i && Ut(t, r, i), i;
|
|
380
380
|
};
|
|
381
|
-
const
|
|
381
|
+
const Et = (e, t) => t.series[e].visible ?? !0, At = (e, t) => {
|
|
382
382
|
z({ detail: e }, t);
|
|
383
383
|
};
|
|
384
384
|
class C extends n {
|
|
@@ -388,13 +388,13 @@ class C extends n {
|
|
|
388
388
|
* @param seriesIndex The series index
|
|
389
389
|
*/
|
|
390
390
|
getSeriesVisibility(t) {
|
|
391
|
-
return
|
|
391
|
+
return Et(t, this._config);
|
|
392
392
|
}
|
|
393
393
|
setSeriesVisibility(t) {
|
|
394
394
|
At(t, this._config);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
qt([
|
|
398
398
|
a
|
|
399
399
|
], C.prototype, "setSeriesVisibility");
|
|
400
400
|
const Gt = (e, t) => t.series[e]?.id;
|
|
@@ -3,7 +3,7 @@ import { F as o, W as f } from "./interfaces.js";
|
|
|
3
3
|
import { i as b } from "./utils.js";
|
|
4
4
|
import { R as u } from "./rest-js-object-literals.js";
|
|
5
5
|
import { d as r, l as m } from "./chart-object-literals.js";
|
|
6
|
-
import {
|
|
6
|
+
import { E as p, bJ as g } from "./index.js";
|
|
7
7
|
import { t as d } from "./index2.js";
|
|
8
8
|
import { F as n } from "./common.js";
|
|
9
9
|
const F = {
|
|
@@ -55,12 +55,12 @@ function C(e) {
|
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function E(e, t, a) {
|
|
59
59
|
let i = !1;
|
|
60
60
|
const s = typeof e == "string" ? Number.parseFloat(e) : e, c = typeof t == "string" ? Number.parseFloat(t) : t, l = typeof a == "string" ? Number.parseFloat(a) : a;
|
|
61
61
|
return Number.isNaN(s) || (i = (c === void 0 || Number.isNaN(c) || s >= c) && (l === void 0 || Number.isNaN(l) || s <= l)), i;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function x(e, t) {
|
|
64
64
|
let a;
|
|
65
65
|
if (e !== null) {
|
|
66
66
|
const i = typeof e == "string" ? Number.parseFloat(e) : e;
|
|
@@ -68,7 +68,7 @@ function A(e, t) {
|
|
|
68
68
|
}
|
|
69
69
|
return a === void 0 ? "" : `${a}`;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function A(e) {
|
|
72
72
|
const { inputElement: t, status: a } = e;
|
|
73
73
|
t.status = a;
|
|
74
74
|
}
|
|
@@ -160,13 +160,13 @@ export {
|
|
|
160
160
|
P as f,
|
|
161
161
|
U as g,
|
|
162
162
|
C as h,
|
|
163
|
-
|
|
163
|
+
E as i,
|
|
164
164
|
w as j,
|
|
165
165
|
W as k,
|
|
166
166
|
R as l,
|
|
167
|
-
|
|
167
|
+
A as m,
|
|
168
168
|
V as n,
|
|
169
169
|
M as o,
|
|
170
170
|
I as p,
|
|
171
|
-
|
|
171
|
+
x as s
|
|
172
172
|
};
|
|
@@ -5,12 +5,12 @@ import { g as u, a as k, e as C, b as M, f as v, s as z, h as O, c as B, i as V,
|
|
|
5
5
|
import { S as T, s as I } from "./serial-chart-model.js";
|
|
6
6
|
import { h as N } from "./utils.js";
|
|
7
7
|
import { a as n } from "./chart-object-literals.js";
|
|
8
|
-
import { c8 as q,
|
|
9
|
-
import {
|
|
10
|
-
var
|
|
11
|
-
for (var s =
|
|
8
|
+
import { c8 as q, t as S, ca as d, c7 as R } from "./index.js";
|
|
9
|
+
import { ao as Z, a0 as h, Z as y } from "./index3.js";
|
|
10
|
+
var E = Object.defineProperty, G = Object.getOwnPropertyDescriptor, l = (c, e, i, o) => {
|
|
11
|
+
for (var s = G(e, i), t = c.length - 1, f; t >= 0; t--)
|
|
12
12
|
(f = c[t]) && (s = f(e, i, s) || s);
|
|
13
|
-
return s &&
|
|
13
|
+
return s && E(e, i, s), s;
|
|
14
14
|
};
|
|
15
15
|
class r extends T {
|
|
16
16
|
constructor() {
|
|
@@ -24,7 +24,7 @@ class r extends T {
|
|
|
24
24
|
// ---------------------------------------------------------------------------------------------
|
|
25
25
|
/** @private */
|
|
26
26
|
generateDefaultConfig() {
|
|
27
|
-
const e =
|
|
27
|
+
const e = Z(this.commonStrings);
|
|
28
28
|
return e.series = [
|
|
29
29
|
h({
|
|
30
30
|
commonStrings: this.commonStrings,
|
|
@@ -294,8 +294,8 @@ l([
|
|
|
294
294
|
l([
|
|
295
295
|
a
|
|
296
296
|
], r.prototype, "setSeriesHideOversizedStackedLabels");
|
|
297
|
-
const
|
|
298
|
-
N(r,
|
|
297
|
+
const J = [P, _];
|
|
298
|
+
N(r, J);
|
|
299
299
|
export {
|
|
300
300
|
r as ComboBarLineChartModel
|
|
301
301
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { cloneDeep as m } from "es-toolkit/compat";
|
|
3
3
|
import { C as L, m as d } from "./model-setter.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a1 as p, a3 as l, a2 as v } from "./index3.js";
|
|
5
5
|
var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (e, t, a, r) => {
|
|
6
6
|
for (var s = u(t, a), o = e.length - 1, i; o >= 0; o--)
|
|
7
7
|
(i = e[o]) && (s = i(t, a, s) || s);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as f } from "./chart-model.js";
|
|
3
3
|
import { f as y } from "./chart-object-literals.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a7 as d, a1 as b, a3 as r, a2 as v } from "./index3.js";
|
|
5
5
|
import { m as o, C as h } from "./model-setter.js";
|
|
6
6
|
const L = (t) => {
|
|
7
7
|
let e = !1;
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "es-toolkit/compat";
|
|
3
|
-
import { aP as B,
|
|
3
|
+
import { aP as B, q as L, t as $, r as N, cx as I, c5 as x, bJ as P, x as H, ch as _, z as v } from "./index.js";
|
|
4
4
|
import { g as C } from "./series-types.js";
|
|
5
5
|
import { H as A, S as o, P as M } from "./common.js";
|
|
6
6
|
import { g as l, t as n, a as d, d as g } from "./chart-object-literals.js";
|
|
@@ -30,10 +30,10 @@ const R = (e) => {
|
|
|
30
30
|
const s = e.orderOptions?.data?.orderType;
|
|
31
31
|
return V(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
32
|
}, re = (e, r, s, t) => {
|
|
33
|
-
const i = C(r.series),
|
|
33
|
+
const i = C(r.series), y = B(r);
|
|
34
34
|
r.orderOptions ??= {};
|
|
35
|
-
let a =
|
|
36
|
-
if (
|
|
35
|
+
let a = y ? [""] : l.Ascending;
|
|
36
|
+
if (y)
|
|
37
37
|
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
38
|
...r.orderOptions.data,
|
|
39
39
|
orderByY: a,
|
|
@@ -59,25 +59,25 @@ const R = (e) => {
|
|
|
59
59
|
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
61
|
aggregationType: i,
|
|
62
|
-
mode:
|
|
62
|
+
mode: y,
|
|
63
63
|
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
|
-
seriesIndex:
|
|
65
|
+
seriesIndex: h,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
68
|
} = e, T = C(r.series), b = L(r.series);
|
|
69
69
|
let f;
|
|
70
70
|
if (E(a)) {
|
|
71
|
-
const
|
|
72
|
-
f = t.length === 1 && t[0] ===
|
|
71
|
+
const m = I(a);
|
|
72
|
+
f = t.length === 1 && t[0] === m;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField:
|
|
75
|
-
f = D && t.length === 1 && t[0] ===
|
|
74
|
+
const { idField: m, isTraditionalTypeOID: D } = $(N(a));
|
|
75
|
+
f = D && t.length === 1 && t[0] === m;
|
|
76
76
|
}
|
|
77
77
|
let p = "y", F = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
i !== g.NoAggregation ?
|
|
80
|
+
i !== g.NoAggregation ? y === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -92,8 +92,8 @@ const R = (e) => {
|
|
|
92
92
|
fieldList: O ?? []
|
|
93
93
|
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
|
-
const
|
|
96
|
-
p = i !== g.NoAggregation ? `${i}_${
|
|
95
|
+
const m = t[0];
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${m}_${h ?? 0}`.toUpperCase() : m, F = f ? u(g.Count) : u(`${i} of ${m}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
@@ -104,11 +104,11 @@ const R = (e) => {
|
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
function Y(e) {
|
|
107
|
-
const { fieldName: r, fieldList: s } = e, t =
|
|
107
|
+
const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
|
|
108
108
|
return r === P || r === H || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
110
|
function j(e) {
|
|
111
|
-
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((y) => x(s ?? [], y)?.type !== "esriFieldTypeOID");
|
|
112
112
|
return Y({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|