@arcgis/charts-components 5.1.0-next.98 → 5.1.0
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/2JFIUU3X.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/{GDFOZNYR.js → 2WDUA6L4.js} +2 -2
- package/dist/cdn/334U2KAR.js +2 -0
- package/dist/cdn/3A5542IZ.js +2 -0
- package/dist/cdn/3DYFAIW2.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4LA6DRGM.js +2 -0
- package/dist/cdn/4P6NLXDP.js +2 -0
- package/dist/cdn/4XSIB5AA.js +2 -0
- package/dist/cdn/{OEZ2XTZE.js → 64HPM724.js} +1 -1
- package/dist/cdn/6BJXOUW2.js +2 -0
- package/dist/cdn/6IL4JEXA.js +2 -0
- package/dist/cdn/6JI4NDJ6.js +2 -0
- package/dist/cdn/6KA24PEA.js +2 -0
- package/dist/cdn/6TV5E5JT.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7HZFPSKD.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7X2HKQS7.js +2 -0
- package/dist/cdn/AHPLTCSH.js +2 -0
- package/dist/cdn/AVVOHZH7.js +2 -0
- package/dist/cdn/AZEQVTDQ.js +2 -0
- package/dist/cdn/AZIX3IFP.js +2 -0
- package/dist/cdn/BNTRLKLG.js +2 -0
- package/dist/cdn/BSFUPCQF.js +2 -0
- package/dist/cdn/C2TRAWJB.js +2 -0
- package/dist/cdn/CH3BYORW.js +2 -0
- package/dist/cdn/CPYOPFIS.js +2 -0
- package/dist/cdn/CPYPTGTK.js +2 -0
- package/dist/cdn/CSV6Q3VU.js +2 -0
- package/dist/cdn/CWJZT5NA.js +2 -0
- package/dist/cdn/D64RR3BQ.js +2 -0
- package/dist/cdn/E6ICXDNS.js +2 -0
- package/dist/cdn/EBN6GWGZ.js +2 -0
- package/dist/cdn/EX7VWKWX.js +2 -0
- package/dist/cdn/EXTC334W.js +2 -0
- package/dist/cdn/F6NHEUXC.js +2 -0
- package/dist/cdn/F7KMJXGD.js +2 -0
- package/dist/cdn/FCBTMNYR.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FNHDDK6Y.js +2 -0
- package/dist/cdn/GFLYSDHX.js +2 -0
- package/dist/cdn/H2F4EMEO.js +2 -0
- package/dist/cdn/HBEEYG5R.js +2 -0
- package/dist/cdn/HCEKAYF5.js +2 -0
- package/dist/cdn/HCIVARDS.js +2 -0
- package/dist/cdn/HIVZ4CAD.js +2 -0
- package/dist/cdn/HXLQEUPH.js +2 -0
- package/dist/cdn/{7LOXDMX3.js → JBWK3DSH.js} +1 -1
- package/dist/cdn/JW6KFBCT.js +2 -0
- package/dist/cdn/K6N5BBOM.js +2 -0
- package/dist/cdn/K7IQIF6X.js +2 -0
- package/dist/cdn/KGNYAMFB.js +2 -0
- package/dist/cdn/{4QCCCXMK.js → KUEF5L2Y.js} +1 -1
- package/dist/cdn/LHHRGNPI.js +2 -0
- package/dist/cdn/LM3RWOCL.js +2 -0
- package/dist/cdn/LSOS2REF.js +2 -0
- package/dist/cdn/{6ES4YKXX.js → LY7A6MST.js} +1 -1
- package/dist/cdn/{MRTH2CHN.js → M23H264O.js} +1 -1
- package/dist/cdn/MEQCCHAT.js +2 -0
- package/dist/cdn/MFOZISZU.js +2 -0
- package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/NNH6F2PX.js +2 -0
- package/dist/cdn/NQAPPISU.js +2 -0
- package/dist/cdn/OH3XEKCB.js +2 -0
- package/dist/cdn/OR5W4LAU.js +2 -0
- package/dist/cdn/OTJX7BJS.js +2 -0
- package/dist/cdn/P5XJTTU3.js +3 -0
- package/dist/cdn/PDBL2LVQ.js +2 -0
- package/dist/cdn/PUWB3ZW4.js +2 -0
- package/dist/cdn/PXEQJDTP.js +2 -0
- package/dist/cdn/QLAAJ4TP.js +2 -0
- package/dist/cdn/QMOXGUU6.js +2 -0
- package/dist/cdn/QQY7FC2J.js +2 -0
- package/dist/cdn/QV7ZOLEX.js +2 -0
- package/dist/cdn/QY4I5GS2.js +4 -0
- package/dist/cdn/R7NIN2IP.js +2 -0
- package/dist/cdn/RV3ILDL6.js +2 -0
- package/dist/cdn/RXOISEOG.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SPI2NEGA.js +2 -0
- package/dist/cdn/SPXLWSUF.js +2 -0
- package/dist/cdn/SS5KCPTA.js +2 -0
- package/dist/cdn/SSLS3BOB.js +2 -0
- package/dist/cdn/SU5G6JQD.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/{HX4RTI3G.js → TLS7SEFF.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/TTSQHXH3.js +2 -0
- package/dist/cdn/TWUQ2ILR.js +102 -0
- package/dist/cdn/U2LFGV2U.js +2 -0
- package/dist/cdn/UFYGFN2M.js +2 -0
- package/dist/cdn/UM6YK4R4.js +2 -0
- package/dist/cdn/USBY2OTE.js +233 -0
- package/dist/cdn/UUNBOK5Y.js +2 -0
- package/dist/cdn/V6NWTBC4.js +58 -0
- package/dist/cdn/VANTG2HX.js +2 -0
- package/dist/cdn/VESCHQRS.js +2 -0
- package/dist/cdn/VKY6S62L.js +2 -0
- package/dist/cdn/VPURXMI6.js +2 -0
- package/dist/cdn/VUZ4QNET.js +2 -0
- package/dist/cdn/WC4T47OL.js +2 -0
- package/dist/cdn/WEGNK77V.js +2 -0
- package/dist/cdn/WND4PQ7O.js +2 -0
- package/dist/cdn/XI3H6GMK.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/XVU4S23S.js +2 -0
- package/dist/cdn/YK5PPTDT.js +2 -0
- package/dist/cdn/YKGXUFVU.js +2 -0
- package/dist/cdn/YUO2G7OX.js +3 -0
- package/dist/cdn/YX7I5VFP.js +2 -0
- package/dist/cdn/ZPNW6LWT.js +2 -0
- package/dist/cdn/{FKZETVX5.js → ZWFVKTLC.js} +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/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.en.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 +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +11 -10
- package/dist/chunks/axis-lines-symbol.js +13 -13
- package/dist/chunks/bar-chart-model.js +25 -52
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +149 -170
- package/dist/chunks/box-plot-model.js +118 -110
- package/dist/chunks/chart-model.js +184 -179
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +91 -117
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +11 -10
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +76 -99
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +206 -191
- package/dist/chunks/generate-x-axis-title.js +40 -67
- package/dist/chunks/heat-chart-model.js +184 -184
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +30 -30
- package/dist/chunks/index.js +568 -20527
- package/dist/chunks/index2.js +8756 -596
- package/dist/chunks/index3.js +876 -160
- package/dist/chunks/index4.js +10840 -82
- package/dist/chunks/index5.js +100 -63
- package/dist/chunks/index6.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +25 -24
- package/dist/chunks/model-setter.js +41 -37
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +90 -117
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +88 -110
- package/dist/chunks/pie-chart-model.js +63 -86
- package/dist/chunks/radar-chart-model.js +36 -63
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +31 -46
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/scatterplot-model.js +59 -81
- package/dist/chunks/serial-chart-data.js +795 -704
- package/dist/chunks/serial-chart-model.js +204 -220
- package/dist/chunks/series-length.js +26 -54
- package/dist/chunks/series-types.js +21 -205
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +22 -23
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -191
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +120 -128
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +660 -396
- package/dist/chunks/x-bounds.js +74 -100
- package/dist/components/arcgis-chart/customElement.d.ts +95 -52
- package/dist/components/arcgis-chart/customElement.js +8114 -8143
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +18 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-axis/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +36 -63
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +49 -72
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +22 -49
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -67
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -44
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +40 -64
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -54
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +51 -74
- package/dist/components/arcgis-charts-config-histogram/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -57
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +25 -48
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
- package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +40 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +73 -96
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
- package/dist/components/arcgis-charts-info-modal/customElement.js +24 -49
- 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 +65 -3
- package/dist/index.js +476 -461
- package/dist/json-schema/index.d.ts +4834 -4729
- package/dist/loader.js +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
- package/dist/model/chart-model/chart-model-base.d.ts +2 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/gauge-model/gauge-model.d.ts +25 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -2
- package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +6 -0
- package/dist/model/properties/time-zone.d.ts +1 -11
- package/dist/model/shared/setup-utils.d.ts +5 -2
- package/dist/model/shared/setup-utils.js +80 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- 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 +54 -3
- 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.d.ts +2 -1
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +49 -9
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -4
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/data/categorical-data/index.d.ts +4 -1
- package/dist/utils/data/index.d.ts +26 -19
- package/dist/utils/defaults/index.d.ts +23 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +32 -11
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-features/index.d.ts +20 -3
- package/dist/utils/layer/query-parser/index.d.ts +7 -5
- package/dist/utils/layer/utils/index.d.ts +21 -8
- package/dist/utils/localization/interfaces.d.ts +18 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/index.d.ts +9 -1
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +12 -9
- package/dist/cdn/2L4KRFAO.js +0 -2
- package/dist/cdn/2WMGX4LG.js +0 -2
- package/dist/cdn/3LHIBPWU.js +0 -2
- package/dist/cdn/3NHSJC2V.js +0 -2
- package/dist/cdn/3TYKSX6S.js +0 -2
- package/dist/cdn/4A46GMQH.js +0 -2
- package/dist/cdn/4AP7OF2H.js +0 -2
- package/dist/cdn/4F4XNNGS.js +0 -58
- package/dist/cdn/4MGAAHBF.js +0 -2
- package/dist/cdn/533OIYHT.js +0 -2
- package/dist/cdn/54JMGDNM.js +0 -2
- package/dist/cdn/6WQO34EX.js +0 -2
- package/dist/cdn/7BIC7WRS.js +0 -2
- package/dist/cdn/7JYYEL7C.js +0 -2
- package/dist/cdn/ABRBND33.js +0 -2
- package/dist/cdn/AKNI6ZDM.js +0 -2
- package/dist/cdn/B5DED64I.js +0 -2
- package/dist/cdn/BDROQPZY.js +0 -2
- package/dist/cdn/BGHKBRAY.js +0 -2
- package/dist/cdn/BIBH7Z6B.js +0 -2
- package/dist/cdn/BYMLWT4F.js +0 -2
- package/dist/cdn/C6VFUQYR.js +0 -2
- package/dist/cdn/CBAUBDVW.js +0 -2
- package/dist/cdn/CJPYRPNG.js +0 -2
- package/dist/cdn/DOKKZWPP.js +0 -2
- package/dist/cdn/DQOPCAYH.js +0 -2
- package/dist/cdn/ETKEDYJI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/FPOY54UW.js +0 -2
- package/dist/cdn/FSPMT24F.js +0 -2
- package/dist/cdn/FTTFIYT7.js +0 -2
- package/dist/cdn/FXE7IJTK.js +0 -2
- package/dist/cdn/FXXKMSX7.js +0 -2
- package/dist/cdn/GCLBISUU.js +0 -2
- package/dist/cdn/GG4V6IWC.js +0 -2
- package/dist/cdn/GN55TJMJ.js +0 -2
- package/dist/cdn/GOCPXSNF.js +0 -2
- package/dist/cdn/GR2MDXNR.js +0 -2
- package/dist/cdn/GSIQ3AM5.js +0 -100
- package/dist/cdn/HAPHXGDG.js +0 -2
- package/dist/cdn/HRWT2MVN.js +0 -2
- package/dist/cdn/HZLHE35F.js +0 -2
- package/dist/cdn/IYAA5JNA.js +0 -2
- package/dist/cdn/J34XNLVV.js +0 -2
- package/dist/cdn/JII3X6GD.js +0 -2
- package/dist/cdn/JIJTDQNZ.js +0 -2
- package/dist/cdn/JP5QECNE.js +0 -2
- package/dist/cdn/JQAYCBRF.js +0 -2
- package/dist/cdn/JUTIXOZ7.js +0 -2
- package/dist/cdn/JXUQXIWS.js +0 -2
- package/dist/cdn/KDU3ISRJ.js +0 -2
- package/dist/cdn/KHK4ESCR.js +0 -2
- package/dist/cdn/KYO65OVO.js +0 -2
- package/dist/cdn/KZQPT32K.js +0 -2
- package/dist/cdn/L5ESAQAD.js +0 -2
- package/dist/cdn/LRLFI235.js +0 -2
- package/dist/cdn/LTPICGE4.js +0 -2
- package/dist/cdn/M6AWZ4GQ.js +0 -2
- package/dist/cdn/N3QESBWD.js +0 -2
- package/dist/cdn/N72JHWOW.js +0 -2
- package/dist/cdn/NJOCWENE.js +0 -2
- package/dist/cdn/NLPIWZ6O.js +0 -2
- package/dist/cdn/OG6XNLNH.js +0 -2
- package/dist/cdn/OGYHFMDK.js +0 -2
- package/dist/cdn/OM2N4R7B.js +0 -2
- package/dist/cdn/OSLQS2GQ.js +0 -2
- package/dist/cdn/OXOPYUOS.js +0 -2
- package/dist/cdn/PDXLVDA2.js +0 -2
- package/dist/cdn/PE5WVBYF.js +0 -2
- package/dist/cdn/PECU6KQ5.js +0 -2
- package/dist/cdn/PHSAVE6E.js +0 -2
- package/dist/cdn/PMSMMLY4.js +0 -2
- package/dist/cdn/PSDHB4WG.js +0 -2
- package/dist/cdn/PZAAA62R.js +0 -2
- package/dist/cdn/QCLX4TIM.js +0 -2
- package/dist/cdn/QCNYOXG2.js +0 -2
- package/dist/cdn/QNEGICXV.js +0 -2
- package/dist/cdn/QQNMK2QL.js +0 -2
- package/dist/cdn/RK3BAJOA.js +0 -2
- package/dist/cdn/SCVQSDX5.js +0 -2
- package/dist/cdn/T5RPAQYI.js +0 -2
- package/dist/cdn/TCJ5YAK5.js +0 -2
- package/dist/cdn/TNXVGUYE.js +0 -2
- package/dist/cdn/TQG6RDX5.js +0 -2
- package/dist/cdn/URBTZGXF.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/VFNQXIXU.js +0 -2
- package/dist/cdn/VFULMUE5.js +0 -2
- package/dist/cdn/VRCCFTGJ.js +0 -2
- package/dist/cdn/W553UCBH.js +0 -4
- package/dist/cdn/WMLNHOVN.js +0 -2
- package/dist/cdn/WTPRSRPB.js +0 -2
- package/dist/cdn/XEDWXXF3.js +0 -2
- package/dist/cdn/Y4DORYPQ.js +0 -2
- package/dist/cdn/YEOSKZ4Q.js +0 -2
- package/dist/cdn/ZAKAJKUI.js +0 -2
- package/dist/cdn/ZNOJBKUZ.js +0 -2
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/model/index.d.ts +0 -19
- package/dist/model.js +0 -42
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{SOIF6AMX.js → 27Y4YBZ7.js} +0 -0
- /package/dist/cdn/{BQOMKKBK.js → 2W64WSBS.js} +0 -0
- /package/dist/cdn/{NGLXQHZ2.js → 3S33OYZS.js} +0 -0
- /package/dist/cdn/{ALRIN5E5.js → 47SEEPGM.js} +0 -0
- /package/dist/cdn/{EVHJVY4I.js → 4CEOP4CL.js} +0 -0
- /package/dist/cdn/{ZL5EGDOW.js → 4NXQY2SY.js} +0 -0
- /package/dist/cdn/{I3BNBZ4D.js → 4RZOR2GZ.js} +0 -0
- /package/dist/cdn/{COQ55XOW.js → 5S37PAVK.js} +0 -0
- /package/dist/cdn/{TX2SYGTH.js → 5VCKTFEN.js} +0 -0
- /package/dist/cdn/{NPVXLEZW.js → 6SLYYVAM.js} +0 -0
- /package/dist/cdn/{MS6EYP4R.js → 75WJAOD5.js} +0 -0
- /package/dist/cdn/{3OGKV4KZ.js → 76OQVFII.js} +0 -0
- /package/dist/cdn/{LOX7MXL4.js → 7GXB5ABV.js} +0 -0
- /package/dist/cdn/{AVU2CHAB.js → 7S4C7DMD.js} +0 -0
- /package/dist/cdn/{WRNEDEFZ.js → A4O5PTH7.js} +0 -0
- /package/dist/cdn/{YQJLA77R.js → A52S6LGL.js} +0 -0
- /package/dist/cdn/{DNSUOJXJ.js → BR7YHHRO.js} +0 -0
- /package/dist/cdn/{X7ENJ4HH.js → BXOAEW3W.js} +0 -0
- /package/dist/cdn/{KCILWIMQ.js → CS6SBRT6.js} +0 -0
- /package/dist/cdn/{BY77PBZ2.js → D63ZM4I6.js} +0 -0
- /package/dist/cdn/{G2L5FYWK.js → DGYDZT63.js} +0 -0
- /package/dist/cdn/{FSNQ3YXX.js → DTU5F26A.js} +0 -0
- /package/dist/cdn/{F57IRWBF.js → FCE53PT5.js} +0 -0
- /package/dist/cdn/{EIIQ2CSC.js → G626QVCR.js} +0 -0
- /package/dist/cdn/{GR4BZF3L.js → GBLD6EF5.js} +0 -0
- /package/dist/cdn/{B4ULOSFG.js → HM7TTHYN.js} +0 -0
- /package/dist/cdn/{3VMIFF7C.js → JHXWK5HY.js} +0 -0
- /package/dist/cdn/{JM6E3U5J.js → JUUAJRZL.js} +0 -0
- /package/dist/cdn/{HJW6UNEH.js → LZTVRB5K.js} +0 -0
- /package/dist/cdn/{FLSUJTUZ.js → N4ZIPC6C.js} +0 -0
- /package/dist/cdn/{GWPFABGL.js → NF4ADSMI.js} +0 -0
- /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
- /package/dist/cdn/{47EOUNYO.js → QSAYNOYT.js} +0 -0
- /package/dist/cdn/{THJTENN5.js → SEV3K4MK.js} +0 -0
- /package/dist/cdn/{KBDOBMB5.js → TWPDFIMS.js} +0 -0
- /package/dist/cdn/{BUCYRXMT.js → U6BD2QQW.js} +0 -0
- /package/dist/cdn/{6HUDF5Q2.js → WXLU5XAQ.js} +0 -0
- /package/dist/cdn/{HLSO5KDC.js → XLHC66GD.js} +0 -0
- /package/dist/cdn/{NSRIVIOH.js → XQL5X2VK.js} +0 -0
- /package/dist/cdn/{S5EI7T2D.js → Y4YDLI6O.js} +0 -0
- /package/dist/cdn/{RHGKKMJG.js → YIK7I32W.js} +0 -0
- /package/dist/cdn/{5TOYNVTW.js → ZYBUK2GC.js} +0 -0
|
@@ -1,131 +1,174 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { substitute as
|
|
3
|
-
import { cloneDeep as
|
|
4
|
-
import "@arcgis/toolkit/type";
|
|
5
|
-
import { w as fe, u as A, r as I, k as Ie, n as L, m as K, p as Le, t as qe, s as G } from "./series-types.js";
|
|
6
|
-
import { i as Ve, R as Ne } from "./rest-js-object-literals.js";
|
|
7
|
-
import { da as Z, dc as Oe, d0 as ke, dY as De, a1 as we, aq as Y, ea as Re, ed as Pe, R as Me, C as D, c8 as se, e4 as Ee, h as $e, c7 as Ye, a8 as Xe, br as We, cX as He, an as Ke, l as Ue, dI as je, $ as V, d2 as Qe, ee as _e, _ as ze, ef as oe, dG as Ge, eg as Ze, dC as Je, B as et, cY as j, bn as w, eb as tt, e8 as U, bK as X, bq as Se, ay as it, e9 as ae, cH as st, x as J, d5 as at, dd as ue, cK as H, a_ as rt, b9 as nt, bw as lt, aC as ot, cT as ce, aH as de, aM as ye, b1 as ut } from "./index.js";
|
|
8
|
-
import "@arcgis/toolkit/intl";
|
|
9
|
-
import "luxon";
|
|
10
|
-
import "@arcgis/core/Graphic.js";
|
|
11
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import "simple-statistics";
|
|
19
|
-
import "@arcgis/core/request.js";
|
|
20
|
-
import "@arcgis/core/core/sql.js";
|
|
21
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
22
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
23
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
24
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
26
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
27
|
-
import "./runtime.js";
|
|
28
|
-
import { h as Fe, i as N, j as ct, m as dt, g as B, l as C, e as me } from "./index4.js";
|
|
29
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
31
|
-
import "@arcgis/core/geometry/Point.js";
|
|
32
|
-
import "@arcgis/toolkit/dom";
|
|
33
|
-
import { s as q, u as P, g as re, d as he, e as yt, f as mt, j as ge } from "./utils.js";
|
|
2
|
+
import { substitute as w } from "@arcgis/core/intl.js";
|
|
3
|
+
import { cloneDeep as re, isEmpty as Le, memoize as Ve } from "lodash-es";
|
|
34
4
|
import { S as ee } from "./common.js";
|
|
35
|
-
import "
|
|
36
|
-
import {
|
|
37
|
-
import { a as
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
5
|
+
import { s as q, u as E, g as le, a as Fe, b as Ne, c as qe, d as ce } from "./utils.js";
|
|
6
|
+
import { w as k, bY as ke, bm as Re, x as Oe, Y as K, cr as De, cq as Pe, p as we, aH as ne, c2 as Ee, d as Me, aG as $e, I as Ye, a7 as We, bk as Xe, W as He, e as je, bo as Ue, c_ as Ke, v as Qe, d5 as de, bM as ze, d6 as _e, bI as Ge, B as Ze, d2 as Je, an as H, a6 as he, cS as oe, b9 as et, k as te, bq as tt, bu as ye, bb as U, bh as me } from "./index2.js";
|
|
7
|
+
import { a as Y, s as xe, g as Q, b as ge, c as st } from "./data.js";
|
|
8
|
+
import { u as I, r as v, k as it, n as N, m as M, p as at, t as rt, s as se } from "./chart-object-literals.js";
|
|
9
|
+
import { i as lt, R as nt } from "./rest-js-object-literals.js";
|
|
10
|
+
import { i as z } from "./index4.js";
|
|
11
|
+
import { az as ot, t as ut, Y as ct, a9 as dt, al as yt, x as mt, C as pe, H as fe, $ as gt } from "./index.js";
|
|
12
|
+
import { C as P, F as $, d as D } from "./index3.js";
|
|
13
|
+
import { h as Te, i as O, j as pt, n as ft, g as b, m as A, e as Se } from "./index5.js";
|
|
14
|
+
import { convertChartSpec as St } from "../utils/chart-config/converter/index.js";
|
|
15
|
+
import { c as ie, e as Ft } from "./type-guards.js";
|
|
16
|
+
import { g as Be } from "./series-types.js";
|
|
17
|
+
import { g as ue } from "./utils2.js";
|
|
18
|
+
import { a as ht, b as xt } from "./series-length.js";
|
|
19
|
+
const is = (t) => {
|
|
20
|
+
let e;
|
|
21
|
+
const s = t.series[0];
|
|
22
|
+
return k(s) && (e = s.temporalBinning?.size), e;
|
|
23
|
+
}, Tt = (t) => {
|
|
24
|
+
let e;
|
|
25
|
+
const s = t.series[0];
|
|
26
|
+
return k(s) && (e = s.temporalBinning?.unit), e;
|
|
27
|
+
}, as = (t) => {
|
|
28
|
+
let e;
|
|
29
|
+
const s = t.series[0];
|
|
30
|
+
return k(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
31
|
+
}, rs = (t) => {
|
|
32
|
+
let e;
|
|
33
|
+
const s = t.series[0];
|
|
34
|
+
return k(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
35
|
+
}, ls = (t) => {
|
|
36
|
+
let e;
|
|
37
|
+
const s = t.series[0];
|
|
38
|
+
return k(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
39
|
+
}, Bt = (t, e) => {
|
|
40
|
+
e?.series?.forEach((s) => {
|
|
41
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
42
|
+
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
43
|
+
}, Ct = (t, e) => {
|
|
44
|
+
e?.series?.forEach((s) => {
|
|
45
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
|
|
46
|
+
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
47
|
+
}, ns = (t, e) => {
|
|
48
|
+
e.series?.forEach((s) => {
|
|
49
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
|
|
50
|
+
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
51
|
+
}, os = (t, e) => {
|
|
52
|
+
e.series?.forEach((s) => {
|
|
53
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
54
|
+
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
55
|
+
}, us = (t, e) => {
|
|
56
|
+
e.series?.forEach((s) => {
|
|
57
|
+
k(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
58
|
+
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
59
|
+
}, bt = (t) => {
|
|
60
|
+
Bt(0, t);
|
|
61
|
+
};
|
|
62
|
+
function cs(t, e) {
|
|
63
|
+
let s;
|
|
64
|
+
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
|
|
65
|
+
}
|
|
66
|
+
function ds(t, e) {
|
|
67
|
+
let s;
|
|
68
|
+
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
|
|
69
|
+
}
|
|
70
|
+
function ys(t, e) {
|
|
71
|
+
let s;
|
|
72
|
+
return e !== void 0 && (s = { ...e, rotated: t }), s;
|
|
73
|
+
}
|
|
74
|
+
function At(t) {
|
|
53
75
|
let e;
|
|
54
76
|
return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
55
77
|
}
|
|
56
|
-
function
|
|
57
|
-
return e != null ||
|
|
78
|
+
function ms(t, e) {
|
|
79
|
+
return e != null || Te(t);
|
|
58
80
|
}
|
|
59
|
-
async function
|
|
60
|
-
|
|
61
|
-
|
|
81
|
+
async function gs(t) {
|
|
82
|
+
const { config: e, layer: s, abortSignal: r } = t;
|
|
83
|
+
let a = !1;
|
|
84
|
+
return ie(s) || Ft(e) ? e && ie(s) && (a = await Re({ config: e, layer: s, abortSignal: r })) : a = !0, a;
|
|
62
85
|
}
|
|
63
|
-
async function
|
|
64
|
-
const {
|
|
65
|
-
|
|
66
|
-
|
|
86
|
+
async function It(t) {
|
|
87
|
+
const {
|
|
88
|
+
queryObject: e,
|
|
89
|
+
chartConfig: s,
|
|
90
|
+
splitByField: r,
|
|
91
|
+
errorStrings: a,
|
|
92
|
+
abortSignal: i,
|
|
93
|
+
runtimeDataFilters: l,
|
|
94
|
+
ignoreViewExtent: n,
|
|
95
|
+
setTimeBinningInfoWhenNotProvided: y,
|
|
96
|
+
returnFeaturesExtent: g,
|
|
97
|
+
chartLimits: S
|
|
98
|
+
} = t;
|
|
99
|
+
let o = [], c;
|
|
100
|
+
const m = re(s), d = m.series[0], u = je({
|
|
67
101
|
queryObject: e,
|
|
68
|
-
chartConfig:
|
|
69
|
-
runtimeDataFilters:
|
|
70
|
-
ignoreViewExtent:
|
|
102
|
+
chartConfig: m,
|
|
103
|
+
runtimeDataFilters: l,
|
|
104
|
+
ignoreViewExtent: n
|
|
71
105
|
});
|
|
72
|
-
if (
|
|
73
|
-
xAxisValueFormatType:
|
|
74
|
-
setTimeBinningInfoWhenNotProvided:
|
|
75
|
-
seriesConfig:
|
|
106
|
+
if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ot.outStatistics.outStatisticFieldName), k(d) && Ue({
|
|
107
|
+
xAxisValueFormatType: Ke(m),
|
|
108
|
+
setTimeBinningInfoWhenNotProvided: y,
|
|
109
|
+
seriesConfig: d,
|
|
76
110
|
queryObject: e
|
|
77
|
-
}) &&
|
|
78
|
-
const { temporalBinning:
|
|
79
|
-
chartConfig:
|
|
80
|
-
queryConfig:
|
|
111
|
+
}) && Qe(r, e)) {
|
|
112
|
+
const { temporalBinning: p, x: T } = d, { uniqueQuery: C } = de({
|
|
113
|
+
chartConfig: m,
|
|
114
|
+
queryConfig: u,
|
|
81
115
|
queryObject: e,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
116
|
+
setTimeBinningInfoWhenNotProvided: y,
|
|
117
|
+
returnFeaturesExtent: g,
|
|
118
|
+
chartLimits: S
|
|
119
|
+
}), F = s.axes?.[0].valueFormat.type === I.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
120
|
+
c = await ze({
|
|
85
121
|
queryObject: e,
|
|
86
|
-
dateField:
|
|
87
|
-
splitByField:
|
|
88
|
-
queryConfig:
|
|
89
|
-
axisTimeZone:
|
|
90
|
-
temporalBinning:
|
|
91
|
-
|
|
122
|
+
dateField: T,
|
|
123
|
+
splitByField: r,
|
|
124
|
+
queryConfig: C,
|
|
125
|
+
axisTimeZone: F,
|
|
126
|
+
temporalBinning: p,
|
|
127
|
+
errorStrings: a,
|
|
128
|
+
abortSignal: i
|
|
129
|
+
}), o = Array.from(
|
|
92
130
|
new Set(
|
|
93
|
-
|
|
94
|
-
const { stackedAttributes:
|
|
95
|
-
let
|
|
96
|
-
return
|
|
131
|
+
c.flatMap((f) => {
|
|
132
|
+
const { stackedAttributes: R } = f;
|
|
133
|
+
let x = [];
|
|
134
|
+
return R && (x = R.map((h) => h[r]).filter((h) => h !== void 0)), x;
|
|
97
135
|
})
|
|
98
136
|
).values()
|
|
99
137
|
);
|
|
100
138
|
} else {
|
|
101
|
-
const { uniqueQuery:
|
|
102
|
-
chartConfig:
|
|
139
|
+
const { uniqueQuery: p } = de({
|
|
140
|
+
chartConfig: m,
|
|
103
141
|
queryObject: e,
|
|
104
|
-
queryConfig:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
142
|
+
queryConfig: u,
|
|
143
|
+
setTimeBinningInfoWhenNotProvided: y,
|
|
144
|
+
returnFeaturesExtent: g,
|
|
145
|
+
chartLimits: S
|
|
146
|
+
}), { elementCount: T } = await _e({
|
|
147
|
+
chartConfig: m,
|
|
108
148
|
queryObject: e,
|
|
109
|
-
queryConfig:
|
|
110
|
-
behaviorAfterLimit:
|
|
111
|
-
numberMaxOfFeaturesToFetch:
|
|
149
|
+
queryConfig: u,
|
|
150
|
+
behaviorAfterLimit: S?.behaviorAfterLimit,
|
|
151
|
+
numberMaxOfFeaturesToFetch: p.num,
|
|
152
|
+
abortSignal: i
|
|
112
153
|
});
|
|
113
|
-
|
|
154
|
+
c = await Ge({
|
|
114
155
|
queryObject: e,
|
|
115
|
-
queryConfig:
|
|
116
|
-
featureCount:
|
|
117
|
-
|
|
156
|
+
queryConfig: p,
|
|
157
|
+
featureCount: T,
|
|
158
|
+
errorStrings: a,
|
|
159
|
+
abortSignal: i
|
|
160
|
+
}), o = Array.from(
|
|
118
161
|
new Set(
|
|
119
|
-
|
|
162
|
+
c.map((C) => C.attributes[r]).filter((C) => C !== void 0)
|
|
120
163
|
).values()
|
|
121
164
|
);
|
|
122
165
|
}
|
|
123
|
-
return { allValues:
|
|
166
|
+
return { allValues: o, preFetchedQueryResponse: c };
|
|
124
167
|
}
|
|
125
|
-
function
|
|
126
|
-
const
|
|
168
|
+
function vt(t, e) {
|
|
169
|
+
const s = /* @__PURE__ */ new Map();
|
|
127
170
|
return t.series.forEach((r) => {
|
|
128
|
-
let a =
|
|
171
|
+
let a = ne({
|
|
129
172
|
where: r.query?.where,
|
|
130
173
|
// normalize the value so it matches what we get from getAllValues()
|
|
131
174
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
@@ -135,860 +178,908 @@ function Tt(t, e) {
|
|
|
135
178
|
escape: !1
|
|
136
179
|
});
|
|
137
180
|
e && a !== null && (a = Number(a));
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
...
|
|
181
|
+
const i = Be([r]);
|
|
182
|
+
i !== void 0 && s.set(i, [
|
|
183
|
+
...s.get(i) ?? [],
|
|
141
184
|
a
|
|
142
185
|
]);
|
|
143
|
-
}),
|
|
144
|
-
}
|
|
145
|
-
function
|
|
146
|
-
const { allValues: e, configUniqueValuesPerSeriesType:
|
|
147
|
-
return Array.from(
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
r ?
|
|
151
|
-
|
|
152
|
-
}), a.set(
|
|
186
|
+
}), s;
|
|
187
|
+
}
|
|
188
|
+
function Lt(t) {
|
|
189
|
+
const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
|
|
190
|
+
return Array.from(s.keys()).forEach((i) => {
|
|
191
|
+
const l = s.get(i) ?? [];
|
|
192
|
+
let n = [];
|
|
193
|
+
r ? n = e : e.forEach((y) => {
|
|
194
|
+
l.includes(y) || n.push(y);
|
|
195
|
+
}), a.set(i, n);
|
|
153
196
|
}), a;
|
|
154
197
|
}
|
|
155
|
-
function
|
|
156
|
-
const { chartConfig: e, missingValue:
|
|
198
|
+
function Vt(t) {
|
|
199
|
+
const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
|
|
157
200
|
JSON.stringify({
|
|
158
201
|
...e.series[0],
|
|
159
202
|
...a
|
|
160
203
|
})
|
|
161
204
|
);
|
|
162
|
-
if (
|
|
163
|
-
if (s.id =
|
|
164
|
-
const
|
|
165
|
-
|
|
205
|
+
if (i.query) {
|
|
206
|
+
if (s === null ? i.id = $.nullValue : s === "" ? i.id = $.emptyStringValue : i.id = `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
|
|
207
|
+
const n = i.id;
|
|
208
|
+
i.query.outStatistics[0].outStatisticFieldName = n, "y" in i && (i.y = n);
|
|
166
209
|
}
|
|
167
|
-
const
|
|
168
|
-
|
|
210
|
+
const l = typeof s == "number" || s === null ? s : `'${s}'`;
|
|
211
|
+
i.query.where = `${r}=${l}`;
|
|
169
212
|
}
|
|
170
|
-
return
|
|
213
|
+
return i;
|
|
171
214
|
}
|
|
172
|
-
async function
|
|
173
|
-
const {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
215
|
+
async function Nt(t) {
|
|
216
|
+
const {
|
|
217
|
+
updateSplitBySeries: e,
|
|
218
|
+
config: s,
|
|
219
|
+
queryObject: r,
|
|
220
|
+
errorStrings: a,
|
|
221
|
+
abortSignal: i,
|
|
222
|
+
runtimeDataFilters: l,
|
|
223
|
+
ignoreViewExtent: n,
|
|
224
|
+
setTimeBinningInfoWhenNotProvided: y,
|
|
225
|
+
returnFeaturesExtent: g,
|
|
226
|
+
chartLimits: S
|
|
227
|
+
} = t, { seriesTemplate: o } = e ?? {};
|
|
228
|
+
let c;
|
|
229
|
+
if (r && !ie(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || o !== void 0) && e.addMissingSeries) {
|
|
230
|
+
const m = s.series.length === 0;
|
|
231
|
+
s.series.length === 0 && o !== void 0 && s.series.push(o);
|
|
232
|
+
const d = K(s.series);
|
|
233
|
+
if (d === P.BoxPlotMonoFieldAndSplitBy || d === P.BoxPlotMultiFieldsAndSplitBy || d === P.BoxPlotMonoFieldAndCategoryAndSplitBy || d === P.BarAndLineSplitBy || d === P.BarAndLineSplitByNoAggregation) {
|
|
234
|
+
const u = $e(s.series[0]?.query?.where), p = Ye(r), T = We(u, p), C = T ? Xe(T) : !1, F = await It({
|
|
235
|
+
queryObject: r,
|
|
236
|
+
chartConfig: s,
|
|
237
|
+
splitByField: u,
|
|
238
|
+
abortSignal: i,
|
|
239
|
+
runtimeDataFilters: l,
|
|
240
|
+
ignoreViewExtent: n,
|
|
241
|
+
setTimeBinningInfoWhenNotProvided: y,
|
|
242
|
+
returnFeaturesExtent: g,
|
|
243
|
+
chartLimits: S,
|
|
244
|
+
errorStrings: a
|
|
245
|
+
}), { allValues: f } = F;
|
|
246
|
+
if ({ preFetchedQueryResponse: c } = F, f.length > 0) {
|
|
247
|
+
const R = vt(s, C), x = Lt({
|
|
248
|
+
allValues: f,
|
|
249
|
+
configUniqueValuesPerSeriesType: R,
|
|
250
|
+
initialConfigWasEmpty: m
|
|
191
251
|
});
|
|
192
|
-
Array.from(
|
|
193
|
-
(
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
chartConfig:
|
|
197
|
-
seriesTemplate:
|
|
198
|
-
missingValue:
|
|
199
|
-
splitByField:
|
|
252
|
+
Array.from(x.keys()).forEach((h) => {
|
|
253
|
+
(x.get(h) ?? []).forEach((V) => {
|
|
254
|
+
s.series.push(
|
|
255
|
+
Vt({
|
|
256
|
+
chartConfig: s,
|
|
257
|
+
seriesTemplate: o,
|
|
258
|
+
missingValue: V,
|
|
259
|
+
splitByField: u
|
|
200
260
|
})
|
|
201
261
|
);
|
|
202
|
-
}),
|
|
262
|
+
}), m && s.series.shift();
|
|
203
263
|
});
|
|
204
264
|
}
|
|
205
265
|
}
|
|
206
266
|
}
|
|
207
|
-
return
|
|
267
|
+
return c;
|
|
208
268
|
}
|
|
209
|
-
function
|
|
210
|
-
e && !
|
|
269
|
+
function qt(t, e) {
|
|
270
|
+
e && !Te(e) && (e = Me({ chartConfig: e, queryObject: t }));
|
|
211
271
|
}
|
|
212
|
-
async function
|
|
213
|
-
const {
|
|
214
|
-
|
|
215
|
-
|
|
272
|
+
async function ps(t) {
|
|
273
|
+
const {
|
|
274
|
+
configToAlter: e,
|
|
275
|
+
layer: s,
|
|
276
|
+
addMissingSeries: r,
|
|
277
|
+
updateSplitBySeries: a,
|
|
278
|
+
chartContainer: i,
|
|
279
|
+
queryObject: l,
|
|
280
|
+
abortSignal: n,
|
|
281
|
+
runtimeDataFilters: y,
|
|
282
|
+
ignoreViewExtent: g,
|
|
283
|
+
setTimeBinningInfoWhenNotProvided: S,
|
|
284
|
+
returnFeaturesExtent: o,
|
|
285
|
+
chartLimits: c,
|
|
286
|
+
errorStrings: m
|
|
287
|
+
} = t;
|
|
288
|
+
let d = e, u;
|
|
289
|
+
return d && (qt(s, d), d = await St(d, s, void 0, n), r && l && (u = await Nt({
|
|
216
290
|
updateSplitBySeries: a,
|
|
217
|
-
config:
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
291
|
+
config: d,
|
|
292
|
+
queryObject: l,
|
|
293
|
+
errorStrings: m,
|
|
294
|
+
abortSignal: n,
|
|
295
|
+
runtimeDataFilters: y,
|
|
296
|
+
ignoreViewExtent: g,
|
|
297
|
+
setTimeBinningInfoWhenNotProvided: S,
|
|
298
|
+
returnFeaturesExtent: o,
|
|
299
|
+
chartLimits: c
|
|
300
|
+
})), d = ke(d, i)), { alteredConfig: d, preFetchedQueryResponse: u };
|
|
221
301
|
}
|
|
222
|
-
function
|
|
223
|
-
let
|
|
302
|
+
function kt(t, e) {
|
|
303
|
+
let s = !1;
|
|
224
304
|
if (e !== void 0) {
|
|
225
|
-
const r =
|
|
226
|
-
|
|
305
|
+
const r = He({ key: Ze.Average, splitBy: e });
|
|
306
|
+
s = Number.isFinite(t[r]);
|
|
227
307
|
}
|
|
228
|
-
return
|
|
308
|
+
return s;
|
|
229
309
|
}
|
|
230
|
-
function
|
|
231
|
-
const { data: e, config:
|
|
232
|
-
let
|
|
310
|
+
function fs(t) {
|
|
311
|
+
const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = re(s);
|
|
312
|
+
let l = !1;
|
|
233
313
|
if (!r && a > 1 && e) {
|
|
234
|
-
const
|
|
235
|
-
switch (
|
|
236
|
-
case
|
|
237
|
-
case
|
|
238
|
-
case
|
|
239
|
-
case
|
|
240
|
-
|
|
241
|
-
if (Array.isArray(
|
|
314
|
+
const n = Oe(e), y = Be(s?.series), g = K(s?.series), S = /* @__PURE__ */ new Set();
|
|
315
|
+
switch (y) {
|
|
316
|
+
case I.ComboLineAndBarSeries:
|
|
317
|
+
case I.BarSeries:
|
|
318
|
+
case I.RadarSeries:
|
|
319
|
+
case I.LineSeries: {
|
|
320
|
+
i.series.forEach((c) => {
|
|
321
|
+
if (Array.isArray(n)) {
|
|
242
322
|
let m = "";
|
|
243
|
-
"y" in
|
|
244
|
-
(
|
|
245
|
-
|
|
323
|
+
"y" in c && (m = Array.isArray(c.y) ? c.y[0] : c.y, g === P.BarAndLineSplitByNoAggregation && (m = `${m}_${ne({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), n.some(
|
|
324
|
+
(u) => Ee({
|
|
325
|
+
dataItem: u,
|
|
326
|
+
x: c.x,
|
|
327
|
+
y: m,
|
|
328
|
+
aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
|
|
329
|
+
})
|
|
330
|
+
) && S.add(c));
|
|
246
331
|
}
|
|
247
332
|
});
|
|
248
333
|
break;
|
|
249
334
|
}
|
|
250
|
-
case
|
|
251
|
-
if (
|
|
252
|
-
const
|
|
253
|
-
|
|
254
|
-
let
|
|
255
|
-
m.type ===
|
|
256
|
-
(
|
|
257
|
-
dataItem:
|
|
335
|
+
case I.BoxPlotSeries: {
|
|
336
|
+
if (De(s)) {
|
|
337
|
+
const c = Pe(s);
|
|
338
|
+
s.series.forEach((m) => {
|
|
339
|
+
let d, u;
|
|
340
|
+
m.type === I.BoxPlotSeries ? (d = e.dataItems, u = d?.some(
|
|
341
|
+
(p) => we({
|
|
342
|
+
dataItem: p,
|
|
258
343
|
splitBy: m.query?.where,
|
|
259
|
-
showOutliers:
|
|
344
|
+
showOutliers: c
|
|
260
345
|
})
|
|
261
|
-
)) : m.type ===
|
|
262
|
-
(
|
|
263
|
-
)),
|
|
346
|
+
)) : m.type === I.LineSeries && (d = e.meanLines, u = d?.some(
|
|
347
|
+
(p) => kt(p, m.query?.where)
|
|
348
|
+
)), u && S.add(m);
|
|
264
349
|
});
|
|
265
350
|
}
|
|
266
351
|
break;
|
|
267
352
|
}
|
|
268
353
|
}
|
|
269
354
|
const o = Array.from(S.values());
|
|
270
|
-
|
|
355
|
+
l = o.length > 0 && o.length < a, l && (i.series = o);
|
|
271
356
|
}
|
|
272
|
-
return { seriesFilteredOut:
|
|
357
|
+
return { seriesFilteredOut: l, filteredConfig: i };
|
|
273
358
|
}
|
|
274
|
-
const
|
|
275
|
-
let e;
|
|
276
|
-
const i = t.series[0];
|
|
277
|
-
return V(i) && (e = i.temporalBinning?.size), e;
|
|
278
|
-
}, vt = (t) => {
|
|
279
|
-
let e;
|
|
280
|
-
const i = t.series[0];
|
|
281
|
-
return V(i) && (e = i.temporalBinning?.unit), e;
|
|
282
|
-
}, Li = (t) => {
|
|
283
|
-
let e;
|
|
284
|
-
const i = t.series[0];
|
|
285
|
-
return V(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
286
|
-
}, qi = (t) => {
|
|
287
|
-
let e;
|
|
288
|
-
const i = t.series[0];
|
|
289
|
-
return V(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
290
|
-
}, Vi = (t) => {
|
|
291
|
-
let e;
|
|
292
|
-
const i = t.series[0];
|
|
293
|
-
return V(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
294
|
-
}, It = (t, e) => {
|
|
295
|
-
e?.series?.forEach((i) => {
|
|
296
|
-
V(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
297
|
-
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
298
|
-
}, Lt = (t, e) => {
|
|
299
|
-
e?.series?.forEach((i) => {
|
|
300
|
-
V(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
301
|
-
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
302
|
-
}, Ni = (t, e) => {
|
|
303
|
-
e.series?.forEach((i) => {
|
|
304
|
-
V(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
|
|
305
|
-
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
306
|
-
}, Oi = (t, e) => {
|
|
307
|
-
e.series?.forEach((i) => {
|
|
308
|
-
V(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
|
|
309
|
-
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
310
|
-
}, ki = (t, e) => {
|
|
311
|
-
e.series?.forEach((i) => {
|
|
312
|
-
V(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
313
|
-
}), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
314
|
-
}, Di = (t) => {
|
|
315
|
-
It(0, t);
|
|
316
|
-
}, wi = (t) => t.hideEmptyRowsAndColumns, Ri = (t, e) => {
|
|
359
|
+
const Ss = (t) => t.hideEmptyRowsAndColumns, Fs = (t, e) => {
|
|
317
360
|
t.hideEmptyRowsAndColumns = e;
|
|
318
|
-
},
|
|
319
|
-
const
|
|
320
|
-
|
|
321
|
-
},
|
|
322
|
-
const
|
|
323
|
-
|
|
324
|
-
},
|
|
325
|
-
const { yField: e, config:
|
|
326
|
-
if (typeof e == "string" &&
|
|
327
|
-
const
|
|
328
|
-
|
|
361
|
+
}, hs = (t, e) => {
|
|
362
|
+
const s = t.series[0];
|
|
363
|
+
s.heatRulesType = e;
|
|
364
|
+
}, xs = (t) => t.series[0].heatRulesType, Ts = (t, e) => {
|
|
365
|
+
const s = t.series[0];
|
|
366
|
+
s.gradientRules = e;
|
|
367
|
+
}, Bs = (t) => t.series[0].gradientRules, Cs = (t) => {
|
|
368
|
+
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), l = Rt(s), n = z(s), y = s.series[0];
|
|
369
|
+
if (typeof e == "string" && l !== e && y && (y.y = e, At(s), l === i || n)) {
|
|
370
|
+
const g = D(a, e);
|
|
371
|
+
E(s, 1, g);
|
|
329
372
|
}
|
|
330
|
-
},
|
|
331
|
-
const { binning: e, config:
|
|
373
|
+
}, Rt = (t) => t.series[0].y ?? "", bs = (t) => {
|
|
374
|
+
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
332
375
|
if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
333
|
-
const
|
|
334
|
-
|
|
376
|
+
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
377
|
+
E(s, 0, i);
|
|
335
378
|
}
|
|
336
|
-
},
|
|
337
|
-
const { binning: e, config:
|
|
379
|
+
}, As = (t) => t.series[0].xTemporalBinning, Is = (t) => {
|
|
380
|
+
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
338
381
|
if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
339
|
-
const
|
|
340
|
-
|
|
382
|
+
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
383
|
+
E(s, 1, i);
|
|
341
384
|
}
|
|
342
|
-
},
|
|
385
|
+
}, vs = (t) => t.series[0].yTemporalBinning, Ot = (t, e) => {
|
|
343
386
|
e.orderOptions ??= {};
|
|
344
|
-
const
|
|
387
|
+
const s = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = ae(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, i = ae(e)[1], l = {
|
|
345
388
|
...e.orderOptions.data ?? {},
|
|
346
|
-
orderType:
|
|
389
|
+
orderType: N.MultiAxes
|
|
347
390
|
};
|
|
348
|
-
r === ee.customSort &&
|
|
349
|
-
},
|
|
350
|
-
const
|
|
351
|
-
|
|
352
|
-
},
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
},
|
|
356
|
-
const
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
const { field: e, config:
|
|
360
|
-
|
|
391
|
+
r === ee.customSort && s === N.Category && (l.orderByX = [...t]), i === ee.customSort && a === N.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
|
|
392
|
+
}, Ls = (t, e) => {
|
|
393
|
+
const s = e.series[0];
|
|
394
|
+
s.gridLine && (s.gridLine.width = t);
|
|
395
|
+
}, Vs = (t) => t.series[0].gridLine?.width, Ns = (t, e) => {
|
|
396
|
+
const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
397
|
+
s.gridLine && r && (s.gridLine.color = t);
|
|
398
|
+
}, qs = (t) => t.series[0].gridLine?.color, ks = (t, e) => {
|
|
399
|
+
const s = e.legend;
|
|
400
|
+
s && (s.position = t);
|
|
401
|
+
}, Rs = (t) => t.legend?.position ?? it.Bottom, Os = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ds = (t) => {
|
|
402
|
+
const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], l = Z(s, r, a);
|
|
403
|
+
i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
|
|
361
404
|
outStatistics: [
|
|
362
405
|
{
|
|
363
406
|
onStatisticField: e,
|
|
364
|
-
outStatisticFieldName: `${
|
|
365
|
-
statisticType:
|
|
407
|
+
outStatisticFieldName: `${v.Count}_${e}`,
|
|
408
|
+
statisticType: v.Count
|
|
366
409
|
}
|
|
367
410
|
]
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
const { aggregationType: e, config:
|
|
371
|
-
|
|
372
|
-
},
|
|
411
|
+
}, l && s.title && (s.title.content.text = j(s, r, a));
|
|
412
|
+
}, Ps = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? v.Count, ws = (t) => {
|
|
413
|
+
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], l = Z(s, r, a);
|
|
414
|
+
i && e !== v.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === v.Count || e === v.Sum) && Dt(M.Zero, s), l && s.title && (s.title.content.text = j(s, r, a));
|
|
415
|
+
}, Es = (t) => t.nullPolicy, Dt = (t, e) => {
|
|
373
416
|
e.nullPolicy = t;
|
|
374
|
-
},
|
|
417
|
+
}, Ms = (t) => t.series[0].emptyCells, $s = (t, e) => {
|
|
375
418
|
e.series[0].emptyCells = t;
|
|
376
|
-
},
|
|
419
|
+
}, Ys = (t) => t.series[0].emptyCells?.text, Ws = (t, e) => {
|
|
377
420
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
378
|
-
},
|
|
421
|
+
}, Xs = (t) => t.includeLeapDay, Hs = (t, e) => {
|
|
379
422
|
e.includeLeapDay = t;
|
|
380
|
-
},
|
|
423
|
+
}, js = (t) => t.series[0].emptyCells?.symbol, Us = (t, e) => {
|
|
381
424
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
382
425
|
};
|
|
383
|
-
function
|
|
426
|
+
function Ks(t) {
|
|
384
427
|
return t.viewType;
|
|
385
428
|
}
|
|
386
|
-
function
|
|
387
|
-
|
|
429
|
+
function Qs(t, e) {
|
|
430
|
+
Je(e) || (e.viewType = t);
|
|
388
431
|
}
|
|
389
|
-
function
|
|
390
|
-
return t.series[0].classBreaksRules?.breaksCount ??
|
|
432
|
+
function zs(t) {
|
|
433
|
+
return t.series[0].classBreaksRules?.breaksCount ?? $.classBreaks.breaksCount;
|
|
391
434
|
}
|
|
392
|
-
function
|
|
393
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ??
|
|
394
|
-
breaksCount: t ??
|
|
435
|
+
function _s(t, e) {
|
|
436
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? $.classBreaks.breaksCount : e.series[0].classBreaksRules = {
|
|
437
|
+
breaksCount: t ?? $.classBreaks.breaksCount
|
|
395
438
|
};
|
|
396
439
|
}
|
|
397
|
-
function
|
|
440
|
+
function Gs(t) {
|
|
398
441
|
return t.series[0].classBreaksRules?.classificationMethod;
|
|
399
442
|
}
|
|
400
|
-
function
|
|
443
|
+
function Zs(t, e) {
|
|
401
444
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
|
|
402
445
|
classificationMethod: t
|
|
403
|
-
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ??
|
|
446
|
+
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? $.classBreaks.breaksCount;
|
|
404
447
|
}
|
|
405
|
-
function
|
|
448
|
+
function Js(t, e) {
|
|
406
449
|
e.firstDayOfWeek = t;
|
|
407
450
|
}
|
|
408
|
-
function
|
|
451
|
+
function ei(t) {
|
|
409
452
|
return t.firstDayOfWeek;
|
|
410
453
|
}
|
|
411
|
-
function
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
454
|
+
function ti(t) {
|
|
455
|
+
return t.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
456
|
+
}
|
|
457
|
+
function si(t, e) {
|
|
458
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
459
|
+
...e.series[0].classBreaksRules.colorRampInfo,
|
|
460
|
+
name: t
|
|
461
|
+
} : e.series[0].classBreaksRules = {
|
|
462
|
+
colorRampInfo: {
|
|
463
|
+
name: t,
|
|
464
|
+
flipped: !1
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
function ii(t) {
|
|
469
|
+
return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
470
|
+
}
|
|
471
|
+
function ai(t, e) {
|
|
472
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
473
|
+
...e.series[0].classBreaksRules.colorRampInfo,
|
|
474
|
+
flipped: t
|
|
475
|
+
} : e.series[0].classBreaksRules = {
|
|
476
|
+
colorRampInfo: {
|
|
477
|
+
flipped: t
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
function W(t) {
|
|
482
|
+
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = H(i?.layer).idField;
|
|
483
|
+
let y;
|
|
484
|
+
const g = a.series[e ?? 0];
|
|
485
|
+
let S = !1, o = !1, c = !1;
|
|
486
|
+
if (g === void 0) {
|
|
487
|
+
const u = a.series;
|
|
488
|
+
S = u.slice(0, e).every((p) => b(p)), o = u.slice(0, e).every((p) => A(p)), c = u.slice(0, e).every((p) => Se(p));
|
|
419
489
|
} else
|
|
420
|
-
S =
|
|
421
|
-
S ?
|
|
422
|
-
commonStrings:
|
|
490
|
+
S = b(g), o = A(g), c = Se(g);
|
|
491
|
+
S ? y = ct({
|
|
492
|
+
commonStrings: l,
|
|
423
493
|
seriesIndex: e,
|
|
424
|
-
objectIDField:
|
|
425
|
-
}) : o ?
|
|
426
|
-
commonStrings:
|
|
494
|
+
objectIDField: n
|
|
495
|
+
}) : o ? y = dt({
|
|
496
|
+
commonStrings: l,
|
|
427
497
|
seriesIndex: e,
|
|
428
|
-
objectIDField:
|
|
429
|
-
}) :
|
|
498
|
+
objectIDField: n
|
|
499
|
+
}) : c ? y = yt(l, n) : y = mt({
|
|
430
500
|
seriesIndex: e,
|
|
431
|
-
objectIDField:
|
|
432
|
-
commonStrings:
|
|
501
|
+
objectIDField: n,
|
|
502
|
+
commonStrings: l
|
|
433
503
|
});
|
|
434
|
-
const m = a.series[0]?.dataLabels,
|
|
435
|
-
...
|
|
436
|
-
x:
|
|
504
|
+
const m = a.series[0]?.dataLabels, d = {
|
|
505
|
+
...y,
|
|
506
|
+
x: s,
|
|
437
507
|
y: "",
|
|
438
508
|
dataLabels: {
|
|
439
|
-
...
|
|
440
|
-
type:
|
|
441
|
-
content: { ...
|
|
509
|
+
...y.dataLabels,
|
|
510
|
+
type: y.dataLabels?.type ?? I.Text,
|
|
511
|
+
content: { ...y.dataLabels?.content, ...m?.content, type: lt.TS },
|
|
442
512
|
visible: m?.visible ?? !1
|
|
443
513
|
}
|
|
444
514
|
};
|
|
445
|
-
if (
|
|
446
|
-
groupByFieldsForStatistics: [
|
|
447
|
-
}, r !==
|
|
448
|
-
const
|
|
449
|
-
|
|
515
|
+
if (d.query = {
|
|
516
|
+
groupByFieldsForStatistics: [s]
|
|
517
|
+
}, r !== v.NoAggregation && n !== void 0) {
|
|
518
|
+
const u = `${r}_${n}_0`.toUpperCase();
|
|
519
|
+
d.y = u, d.query.outStatistics = [
|
|
450
520
|
{
|
|
451
521
|
statisticType: r,
|
|
452
|
-
onStatisticField:
|
|
453
|
-
outStatisticFieldName:
|
|
522
|
+
onStatisticField: n,
|
|
523
|
+
outStatisticFieldName: u
|
|
454
524
|
}
|
|
455
525
|
];
|
|
456
526
|
}
|
|
457
|
-
if (
|
|
458
|
-
let
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
unit: f
|
|
464
|
-
};
|
|
465
|
-
}
|
|
527
|
+
if (k(a.series[0]) && k(d)) {
|
|
528
|
+
let u = Tt(a);
|
|
529
|
+
u === se.Quarter && (u = se.Month), d.temporalBinning = {
|
|
530
|
+
...a.series[0]?.temporalBinning,
|
|
531
|
+
unit: u
|
|
532
|
+
};
|
|
466
533
|
}
|
|
467
|
-
return
|
|
468
|
-
}
|
|
469
|
-
function
|
|
470
|
-
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID:
|
|
471
|
-
let
|
|
472
|
-
if (
|
|
473
|
-
fieldName:
|
|
474
|
-
numericFields:
|
|
534
|
+
return re(d);
|
|
535
|
+
}
|
|
536
|
+
function j(t, e, s) {
|
|
537
|
+
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = H(e.layer), l = Y(t), n = G(t), y = be(t), g = _(t), S = i && (n.length === 0 || n.includes(a)), o = ut(y, s), c = S ? "" : n.map((F) => D(r ?? [], F)).join(", "), m = D(r ?? [], l), d = D(r ?? [], g), u = t.series.some((F) => O(F)), p = u ? "category" : "xAxisField", T = m;
|
|
538
|
+
let C = "";
|
|
539
|
+
if (xe({
|
|
540
|
+
fieldName: l,
|
|
541
|
+
numericFields: n,
|
|
475
542
|
fieldList: r
|
|
476
543
|
}))
|
|
477
|
-
|
|
544
|
+
C = w(s.titleLabels.aggrTypeOfAggrFields, {
|
|
478
545
|
aggregationType: o,
|
|
479
|
-
aggregationFields:
|
|
546
|
+
aggregationFields: c
|
|
480
547
|
});
|
|
481
|
-
else if (
|
|
482
|
-
const
|
|
483
|
-
if (
|
|
484
|
-
const
|
|
485
|
-
|
|
486
|
-
aggregationType:
|
|
487
|
-
[
|
|
548
|
+
else if (y === v.NoAggregation) {
|
|
549
|
+
const F = S ? a : c;
|
|
550
|
+
if (g === "") {
|
|
551
|
+
const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
552
|
+
C = w(s.titleLabels[f], {
|
|
553
|
+
aggregationType: F,
|
|
554
|
+
[p]: T
|
|
488
555
|
});
|
|
489
556
|
} else {
|
|
490
|
-
const
|
|
491
|
-
|
|
492
|
-
aggregationType:
|
|
493
|
-
[
|
|
494
|
-
splitByField:
|
|
557
|
+
const f = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
558
|
+
C = w(s.titleLabels[f], {
|
|
559
|
+
aggregationType: F,
|
|
560
|
+
[p]: T,
|
|
561
|
+
splitByField: d
|
|
495
562
|
});
|
|
496
563
|
}
|
|
497
|
-
} else if (
|
|
498
|
-
if (
|
|
499
|
-
const
|
|
500
|
-
|
|
564
|
+
} else if (y === v.Count)
|
|
565
|
+
if (g === "") {
|
|
566
|
+
const F = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
567
|
+
C = w(s.titleLabels[F], {
|
|
501
568
|
aggregationType: o,
|
|
502
|
-
[
|
|
569
|
+
[p]: T
|
|
503
570
|
});
|
|
504
571
|
} else {
|
|
505
|
-
const
|
|
506
|
-
|
|
572
|
+
const F = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
573
|
+
C = w(s.titleLabels[F], {
|
|
507
574
|
aggregationType: o,
|
|
508
|
-
[
|
|
509
|
-
splitByField:
|
|
575
|
+
[p]: T,
|
|
576
|
+
splitByField: d
|
|
510
577
|
});
|
|
511
578
|
}
|
|
512
|
-
else if (
|
|
513
|
-
const
|
|
514
|
-
|
|
579
|
+
else if (g !== "") {
|
|
580
|
+
const F = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
581
|
+
C = w(s.titleLabels[F], {
|
|
515
582
|
aggregationType: o,
|
|
516
|
-
aggregationField:
|
|
517
|
-
[
|
|
518
|
-
splitByField:
|
|
583
|
+
aggregationField: c,
|
|
584
|
+
[p]: T,
|
|
585
|
+
splitByField: d
|
|
519
586
|
});
|
|
520
|
-
} else if (
|
|
521
|
-
const
|
|
522
|
-
|
|
587
|
+
} else if (n.length > 0) {
|
|
588
|
+
const F = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
589
|
+
C = w(s.titleLabels[F], {
|
|
523
590
|
aggregationType: o,
|
|
524
|
-
aggregationFields:
|
|
525
|
-
[
|
|
591
|
+
aggregationFields: c,
|
|
592
|
+
[p]: T
|
|
526
593
|
});
|
|
527
594
|
}
|
|
528
|
-
return
|
|
595
|
+
return C;
|
|
529
596
|
}
|
|
530
|
-
const
|
|
597
|
+
const Ce = (t) => ne({
|
|
531
598
|
where: t.query?.where,
|
|
532
599
|
normalize: !1,
|
|
533
600
|
escape: !1
|
|
534
|
-
}) ?? "",
|
|
601
|
+
}) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, _ = Ve(
|
|
535
602
|
(t) => {
|
|
536
603
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
537
|
-
return
|
|
604
|
+
return et(t?.series?.[0]?.query?.where) ? "" : e;
|
|
538
605
|
},
|
|
539
606
|
(t) => t?.series?.[0]?.query?.where
|
|
540
|
-
),
|
|
607
|
+
), G = (t) => {
|
|
541
608
|
let e = [];
|
|
542
|
-
if (
|
|
543
|
-
e = t?.series.map((
|
|
544
|
-
const r =
|
|
545
|
-
return r?.length > 0 ? r :
|
|
609
|
+
if (_(t) === "")
|
|
610
|
+
e = t?.series.map((s) => {
|
|
611
|
+
const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
612
|
+
return r?.length > 0 ? r : s.y;
|
|
546
613
|
}).flat() ?? [];
|
|
547
614
|
else {
|
|
548
|
-
const
|
|
615
|
+
const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
|
|
549
616
|
e = r !== void 0 ? [r] : [];
|
|
550
617
|
}
|
|
551
|
-
return e.filter((
|
|
618
|
+
return e.filter((s) => s !== "");
|
|
552
619
|
};
|
|
553
|
-
function
|
|
554
|
-
const {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
620
|
+
function Ae(t) {
|
|
621
|
+
const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i = H(r).idField ?? "";
|
|
622
|
+
return e === "" ? s[a] ?? i : s[0] ?? i;
|
|
623
|
+
}
|
|
624
|
+
function Pt(t) {
|
|
625
|
+
const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
|
|
626
|
+
let i = !1;
|
|
627
|
+
s === v.Count ? i = !0 : s === v.NoAggregation && (i = e.every((y) => {
|
|
628
|
+
const g = a.layerFieldsInfo.find((S) => S.name === y);
|
|
629
|
+
return g !== void 0 ? me(g) : !1;
|
|
630
|
+
})), ce(r, 1, i);
|
|
631
|
+
const l = r.series.some((y) => b(y)), n = r.series.some((y) => A(y));
|
|
632
|
+
if (l || n) {
|
|
633
|
+
const y = Y(r), g = a.layerFieldsInfo.find((o) => o.name === y), S = g !== void 0 && me(g);
|
|
634
|
+
ce(r, 0, S);
|
|
564
635
|
}
|
|
565
636
|
}
|
|
566
|
-
const
|
|
637
|
+
const ae = (t) => {
|
|
567
638
|
let e;
|
|
568
|
-
if (
|
|
569
|
-
const
|
|
570
|
-
e = [
|
|
639
|
+
if (oe(t)) {
|
|
640
|
+
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
|
|
641
|
+
e = [ge(s, a), ge(r, i)];
|
|
571
642
|
} else {
|
|
572
|
-
const
|
|
573
|
-
e = [
|
|
643
|
+
const s = t.orderOptions?.data?.orderType ?? N.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : at.Ascending;
|
|
644
|
+
e = [st(r, s)];
|
|
574
645
|
}
|
|
575
646
|
return e;
|
|
576
647
|
};
|
|
577
|
-
function
|
|
578
|
-
const { xAxisField: e, numericFields:
|
|
579
|
-
let
|
|
580
|
-
const
|
|
648
|
+
function wt(t) {
|
|
649
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i;
|
|
650
|
+
let y = !1;
|
|
651
|
+
const g = W({
|
|
581
652
|
config: a,
|
|
582
653
|
xAxisField: e,
|
|
583
654
|
aggregationType: r,
|
|
584
|
-
layerInfo:
|
|
655
|
+
layerInfo: i,
|
|
585
656
|
seriesIndex: 0,
|
|
586
|
-
commonStrings:
|
|
657
|
+
commonStrings: l
|
|
587
658
|
}), S = Q({
|
|
588
659
|
config: a,
|
|
589
660
|
xAxisField: e,
|
|
590
|
-
numericFields:
|
|
661
|
+
numericFields: s,
|
|
591
662
|
aggregationType: r,
|
|
592
|
-
layer:
|
|
593
|
-
fieldList:
|
|
663
|
+
layer: i.layer,
|
|
664
|
+
fieldList: n
|
|
594
665
|
}).name, o = {
|
|
595
|
-
...
|
|
666
|
+
...g,
|
|
596
667
|
id: `series_${Date.now()}`,
|
|
597
|
-
name:
|
|
598
|
-
x:
|
|
668
|
+
name: l.axisLabels.values,
|
|
669
|
+
x: te,
|
|
599
670
|
y: S
|
|
600
|
-
},
|
|
601
|
-
for (const
|
|
602
|
-
|
|
603
|
-
onStatisticField:
|
|
604
|
-
outStatisticFieldName: `${
|
|
671
|
+
}, c = [];
|
|
672
|
+
for (const d of s)
|
|
673
|
+
c.push({
|
|
674
|
+
onStatisticField: d,
|
|
675
|
+
outStatisticFieldName: `${d}_0`.toUpperCase(),
|
|
605
676
|
statisticType: r
|
|
606
677
|
});
|
|
607
|
-
o.query = { outStatistics:
|
|
678
|
+
o.query = { outStatistics: c };
|
|
608
679
|
const m = a.series[0];
|
|
609
|
-
return m !== void 0 && (o.id = m.id, (
|
|
680
|
+
return m !== void 0 && (o.id = m.id, (b(o) && b(m) || A(o) && A(m)) && X(o, m), a.colorMatch || (O(m) && O(o) ? o.fillSymbol = m.fillSymbol : (b(o) && b(m) || A(o) && A(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), y = !0), o.id = m.id, m.name !== g.name && (o.name = m.name)), a.series.length === 1 && ((b(o) || A(o)) && X(o, a.series[0]), a.colorMatch || (O(o) ? o.fillSymbol = a.series[0].fillSymbol : (b(o) || A(o)) && (o.lineSymbol = a.series[0].lineSymbol, o.markerSymbol = a.series[0].markerSymbol), y = !0)), a.colorMatch = !y, [o];
|
|
610
681
|
}
|
|
611
|
-
function
|
|
612
|
-
const { xAxisField: e, numericFields:
|
|
682
|
+
function Ie(t) {
|
|
683
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, y = H(i.layer).idField, g = [];
|
|
613
684
|
let S = !1;
|
|
614
|
-
for (let
|
|
615
|
-
const
|
|
685
|
+
for (let u = 0; u < s.length; u += 1) {
|
|
686
|
+
const p = W({
|
|
616
687
|
config: a,
|
|
617
688
|
xAxisField: e,
|
|
618
689
|
aggregationType: r,
|
|
619
|
-
layerInfo:
|
|
620
|
-
seriesIndex:
|
|
621
|
-
commonStrings:
|
|
622
|
-
}),
|
|
690
|
+
layerInfo: i,
|
|
691
|
+
seriesIndex: u,
|
|
692
|
+
commonStrings: l
|
|
693
|
+
}), T = a.series[u]?.y, C = typeof T == "string" && T.trim() !== "" && !n.find((h) => h.name === T) ? T : Q({
|
|
623
694
|
config: a,
|
|
624
695
|
xAxisField: e,
|
|
625
|
-
numericFields:
|
|
696
|
+
numericFields: s,
|
|
626
697
|
aggregationType: r,
|
|
627
|
-
layer:
|
|
628
|
-
numericFieldIndex:
|
|
629
|
-
fieldList:
|
|
630
|
-
}).name, F =
|
|
631
|
-
let
|
|
632
|
-
...
|
|
698
|
+
layer: i.layer,
|
|
699
|
+
numericFieldIndex: u,
|
|
700
|
+
fieldList: n
|
|
701
|
+
}).name, F = s[u];
|
|
702
|
+
let f = {
|
|
703
|
+
...p,
|
|
633
704
|
query: {
|
|
634
|
-
...
|
|
705
|
+
...p.query
|
|
635
706
|
}
|
|
636
707
|
};
|
|
637
|
-
|
|
638
|
-
...
|
|
708
|
+
s && F !== y && (f = {
|
|
709
|
+
...f,
|
|
639
710
|
id: F,
|
|
640
|
-
name:
|
|
711
|
+
name: D(n, F)
|
|
641
712
|
});
|
|
642
|
-
let
|
|
643
|
-
|
|
713
|
+
let R = F;
|
|
714
|
+
f.query !== void 0 && (r !== v.NoAggregation ? (R = C, f.query.outStatistics = [
|
|
644
715
|
{
|
|
645
|
-
...
|
|
716
|
+
...p.query?.outStatistics?.[0] ?? {},
|
|
646
717
|
onStatisticField: F,
|
|
647
|
-
outStatisticFieldName:
|
|
718
|
+
outStatisticFieldName: C,
|
|
648
719
|
statisticType: r
|
|
649
720
|
}
|
|
650
|
-
]) : delete
|
|
651
|
-
const
|
|
652
|
-
(
|
|
721
|
+
]) : delete f.query.outStatistics), f.y = R;
|
|
722
|
+
const x = a.series.find(
|
|
723
|
+
(h) => h.query?.outStatistics?.[0]?.onStatisticField === F && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === F || h.x === F)
|
|
653
724
|
);
|
|
654
|
-
if (
|
|
655
|
-
(
|
|
656
|
-
const
|
|
725
|
+
if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
|
|
726
|
+
(b(f) && b(x) || A(f) && A(x)) && X(f, x), a.colorMatch || (O(f) && O(x) ? f.fillSymbol = x.fillSymbol : (b(f) && b(x) || A(f) && A(x)) && (f.lineSymbol = x.lineSymbol, f.markerSymbol = x.markerSymbol), S = !0);
|
|
727
|
+
const h = W({
|
|
657
728
|
config: a,
|
|
658
729
|
xAxisField: e,
|
|
659
730
|
aggregationType: r,
|
|
660
|
-
layerInfo:
|
|
661
|
-
seriesIndex:
|
|
662
|
-
commonStrings:
|
|
731
|
+
layerInfo: i,
|
|
732
|
+
seriesIndex: u,
|
|
733
|
+
commonStrings: l
|
|
663
734
|
});
|
|
664
|
-
|
|
735
|
+
f.id = x.id, x.id !== h.id && x.name !== h.name && (f.id = x.id, f.name = x.name), f.assignToSecondValueAxis = x.assignToSecondValueAxis, f.type === I.HeatSeries && x.type === I.HeatSeries && (f.y = x.y, f.heatRulesType = x.heatRulesType);
|
|
665
736
|
}
|
|
666
|
-
|
|
737
|
+
g.push(f);
|
|
667
738
|
}
|
|
668
|
-
const o =
|
|
669
|
-
(
|
|
670
|
-
), m = a.series.filter((
|
|
671
|
-
(
|
|
739
|
+
const o = g.filter((u) => O(u)), c = g.filter(
|
|
740
|
+
(u) => b(u) || A(u)
|
|
741
|
+
), m = a.series.filter((u) => O(u)), d = a.series.filter(
|
|
742
|
+
(u) => b(u) || A(u)
|
|
672
743
|
);
|
|
673
|
-
return m.length === 1 && o.length === 1 && !a.colorMatch && (
|
|
744
|
+
return m.length === 1 && o.length === 1 && !a.colorMatch && (O(m[0]) && O(o[0]) && (o[0].fillSymbol = m[0].fillSymbol), S = !0), d.length === 1 && c.length === 1 && ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && X(c[0], d[0]), a.colorMatch || ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && (c[0].lineSymbol = d[0].lineSymbol, c[0].markerSymbol = d[0].markerSymbol), S = !0)), a.colorMatch = !S, g;
|
|
674
745
|
}
|
|
675
|
-
function
|
|
676
|
-
const { aggregationType: e, config:
|
|
677
|
-
if (
|
|
678
|
-
const
|
|
679
|
-
config:
|
|
680
|
-
xAxisField:
|
|
681
|
-
numericFields:
|
|
746
|
+
function ri(t) {
|
|
747
|
+
const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: l } = r, n = Y(s), y = G(s), g = _(s), S = Z(s, r, a), o = ve(s, r, a);
|
|
748
|
+
if (s.series.forEach((c, m) => {
|
|
749
|
+
const d = Q({
|
|
750
|
+
config: s,
|
|
751
|
+
xAxisField: n,
|
|
752
|
+
numericFields: y,
|
|
682
753
|
aggregationType: e,
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
754
|
+
splitByField: g,
|
|
755
|
+
layer: l,
|
|
756
|
+
seriesIndex: m,
|
|
757
|
+
numericFieldIndex: m,
|
|
758
|
+
fieldList: i
|
|
687
759
|
}).name;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
760
|
+
c.y = d;
|
|
761
|
+
const u = Ae({
|
|
762
|
+
splitByField: g,
|
|
763
|
+
numericFields: y,
|
|
764
|
+
layer: l,
|
|
765
|
+
seriesIndex: m
|
|
766
|
+
}), p = c.query?.outStatistics?.[0]?.onStatisticField ?? u;
|
|
767
|
+
c.query = {
|
|
768
|
+
...c.query,
|
|
769
|
+
outStatistics: e === v.NoAggregation ? void 0 : [
|
|
691
770
|
{
|
|
692
|
-
...
|
|
693
|
-
outStatisticFieldName:
|
|
771
|
+
...c.query?.outStatistics?.[0],
|
|
772
|
+
outStatisticFieldName: d,
|
|
694
773
|
statisticType: e,
|
|
695
|
-
onStatisticField:
|
|
774
|
+
onStatisticField: p
|
|
696
775
|
}
|
|
697
776
|
]
|
|
698
|
-
}
|
|
699
|
-
}),
|
|
700
|
-
const
|
|
701
|
-
config:
|
|
777
|
+
}, "temporalBinning" in c && c.temporalBinning !== void 0 && (c.temporalBinning.nullPolicy = e === v.NoAggregation ? M.Interpolate : M.Null), e === v.NoAggregation && bt(s);
|
|
778
|
+
}), S && s.title && (s.title.content.text = j(s, r, a)), o && s.series[0].type !== I.HeatSeries) {
|
|
779
|
+
const c = le({
|
|
780
|
+
config: s,
|
|
702
781
|
layerInfo: r,
|
|
703
782
|
commonStrings: a,
|
|
704
|
-
numericFields:
|
|
783
|
+
numericFields: y,
|
|
705
784
|
aggregationType: e
|
|
706
785
|
});
|
|
707
|
-
|
|
786
|
+
E(s, 1, c);
|
|
708
787
|
}
|
|
709
788
|
}
|
|
710
|
-
function
|
|
789
|
+
function Et(t) {
|
|
711
790
|
const {
|
|
712
791
|
splitByField: e,
|
|
713
|
-
xAxisField:
|
|
792
|
+
xAxisField: s,
|
|
714
793
|
numericFields: r,
|
|
715
794
|
aggregationType: a,
|
|
716
|
-
config:
|
|
717
|
-
layerInfo:
|
|
718
|
-
commonStrings:
|
|
719
|
-
splitByFieldInfos:
|
|
720
|
-
} = t, { layer:
|
|
721
|
-
|
|
795
|
+
config: i,
|
|
796
|
+
layerInfo: l,
|
|
797
|
+
commonStrings: n,
|
|
798
|
+
splitByFieldInfos: y
|
|
799
|
+
} = t, { layer: g, layerFieldsInfo: S } = l, { categoriesArray: o, splitByFieldType: c } = y, m = Ae({
|
|
800
|
+
splitByField: e,
|
|
801
|
+
numericFields: r,
|
|
802
|
+
layer: g,
|
|
803
|
+
seriesIndex: 0
|
|
804
|
+
});
|
|
805
|
+
let d = [], u = !1;
|
|
722
806
|
if (o.length === 0) {
|
|
723
|
-
|
|
724
|
-
xAxisField:
|
|
807
|
+
d = Ie({
|
|
808
|
+
xAxisField: s,
|
|
725
809
|
numericFields: r,
|
|
726
810
|
aggregationType: a,
|
|
727
|
-
config:
|
|
728
|
-
layerInfo:
|
|
729
|
-
commonStrings:
|
|
811
|
+
config: i,
|
|
812
|
+
layerInfo: l,
|
|
813
|
+
commonStrings: n
|
|
730
814
|
});
|
|
731
|
-
for (const
|
|
732
|
-
|
|
815
|
+
for (const p of d)
|
|
816
|
+
p.query && (p.query.where = `${e}=''`);
|
|
733
817
|
} else
|
|
734
|
-
for (let
|
|
735
|
-
const
|
|
736
|
-
config:
|
|
737
|
-
xAxisField:
|
|
818
|
+
for (let p = 0; p < o.length; p += 1) {
|
|
819
|
+
const T = o[p], C = Q({
|
|
820
|
+
config: i,
|
|
821
|
+
xAxisField: s,
|
|
738
822
|
numericFields: r,
|
|
739
823
|
aggregationType: a,
|
|
740
|
-
layer:
|
|
741
|
-
seriesIndex:
|
|
824
|
+
layer: l.layer,
|
|
825
|
+
seriesIndex: p,
|
|
742
826
|
splitByField: e,
|
|
743
827
|
fieldList: S
|
|
744
|
-
}).name,
|
|
745
|
-
config:
|
|
746
|
-
xAxisField:
|
|
828
|
+
}).name, F = W({
|
|
829
|
+
config: i,
|
|
830
|
+
xAxisField: s,
|
|
747
831
|
aggregationType: a,
|
|
748
|
-
layerInfo:
|
|
749
|
-
seriesIndex:
|
|
750
|
-
commonStrings:
|
|
751
|
-
}),
|
|
752
|
-
queryObject:
|
|
832
|
+
layerInfo: l,
|
|
833
|
+
seriesIndex: p,
|
|
834
|
+
commonStrings: n
|
|
835
|
+
}), f = he({
|
|
836
|
+
queryObject: l.layer,
|
|
753
837
|
fieldName: e,
|
|
754
|
-
fieldValue:
|
|
755
|
-
}),
|
|
756
|
-
...
|
|
757
|
-
id:
|
|
758
|
-
name:
|
|
759
|
-
y:
|
|
838
|
+
fieldValue: T ?? ""
|
|
839
|
+
}), R = `${T}`, h = {
|
|
840
|
+
...F,
|
|
841
|
+
id: R,
|
|
842
|
+
name: f ?? R,
|
|
843
|
+
y: C,
|
|
760
844
|
query: {
|
|
761
|
-
...
|
|
762
|
-
where: `${e}=${
|
|
763
|
-
outStatistics: a !==
|
|
845
|
+
...F.query,
|
|
846
|
+
where: `${e}=${c === nt.String && T !== null ? `'${T}'` : T}`,
|
|
847
|
+
outStatistics: a !== v.NoAggregation ? [
|
|
764
848
|
{
|
|
765
|
-
...
|
|
849
|
+
...F.query?.outStatistics?.[0] ?? {},
|
|
766
850
|
onStatisticField: m,
|
|
767
|
-
outStatisticFieldName:
|
|
851
|
+
outStatisticFieldName: C,
|
|
768
852
|
statisticType: a
|
|
769
853
|
}
|
|
770
854
|
] : void 0
|
|
771
855
|
}
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
const v = s.series.find(
|
|
775
|
-
(b) => String(xe(b)).trim().replace(/'/gu, "") === T
|
|
856
|
+
}, L = i.series.find(
|
|
857
|
+
(V) => String(Ce(V)).trim().replace(/'/gu, "") === R
|
|
776
858
|
);
|
|
777
|
-
|
|
859
|
+
L !== void 0 && ((b(h) && b(L) || A(h) && A(L)) && X(h, L), i.colorMatch || (O(h) && O(L) ? h.fillSymbol = L.fillSymbol : (b(h) && b(L) || A(h) && A(L)) && (h.lineSymbol = L.lineSymbol, h.markerSymbol = L.markerSymbol), u = !0), h.id = L.id, h.name = L.name, h.assignToSecondValueAxis = L.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = i.series.some((V) => V.query?.fetchNullValues)), d.push(h);
|
|
778
860
|
}
|
|
779
|
-
return
|
|
861
|
+
return i.colorMatch = !u, d;
|
|
780
862
|
}
|
|
781
|
-
const
|
|
863
|
+
const li = (t) => {
|
|
782
864
|
const {
|
|
783
865
|
xAxisFieldName: e,
|
|
784
|
-
splitByField:
|
|
866
|
+
splitByField: s,
|
|
785
867
|
numericFields: r,
|
|
786
868
|
aggregationType: a,
|
|
787
|
-
config:
|
|
788
|
-
layerInfo:
|
|
789
|
-
commonStrings:
|
|
790
|
-
splitByFieldInfos:
|
|
791
|
-
} = t, { layerFieldsInfo:
|
|
792
|
-
let
|
|
793
|
-
const
|
|
794
|
-
|
|
795
|
-
let
|
|
796
|
-
if (
|
|
797
|
-
|
|
798
|
-
]),
|
|
799
|
-
|
|
800
|
-
}),
|
|
869
|
+
config: i,
|
|
870
|
+
layerInfo: l,
|
|
871
|
+
commonStrings: n,
|
|
872
|
+
splitByFieldInfos: y
|
|
873
|
+
} = t, { layerFieldsInfo: g } = l ?? {}, S = ht(i), o = Y(i), c = g.find((B) => B.name === o), m = i.series[0].query?.fetchNullValues, d = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = g.find((B) => B.name === e), T = Z(i, l, n), C = ve(i, l, n), F = Mt(i, l);
|
|
874
|
+
let f = Fe(i);
|
|
875
|
+
const R = i.series.some((B) => O(B)), x = pt(i.series), h = ft(i.series), L = oe(i), V = {};
|
|
876
|
+
L && (V.classBreaksRules = i.series[0]?.classBreaksRules, V.xTemporalBinning = i.series[0]?.xTemporalBinning, V.yTemporalBinning = i.series[0]?.yTemporalBinning, V.emptyCells = i.series[0]?.emptyCells, V.nullPolicy = i.nullPolicy);
|
|
877
|
+
let J = !1;
|
|
878
|
+
if (tt(p) ? f = pe() : !ye(c) && ye(p) ? f = fe() : !U(c) && U(p) ? (f = fe(), J = !0) : U(c) && !U(p) && (R ? f = pe() : f = gt(), J = !0), f !== void 0 && qe(i, n, f), S === 0 && (i.series = [
|
|
879
|
+
W({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
|
|
880
|
+
]), i.series.forEach((B) => {
|
|
881
|
+
B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
|
|
882
|
+
}), s === "" || r.length > 1 ? xe({
|
|
801
883
|
fieldName: e,
|
|
802
884
|
numericFields: r,
|
|
803
|
-
fieldList:
|
|
804
|
-
}) ?
|
|
805
|
-
config:
|
|
806
|
-
layerInfo:
|
|
885
|
+
fieldList: g
|
|
886
|
+
}) ? i.series = wt({
|
|
887
|
+
config: i,
|
|
888
|
+
layerInfo: l,
|
|
807
889
|
xAxisField: e,
|
|
808
890
|
numericFields: r,
|
|
809
891
|
aggregationType: a,
|
|
810
|
-
commonStrings:
|
|
811
|
-
}) :
|
|
812
|
-
config:
|
|
813
|
-
layerInfo:
|
|
892
|
+
commonStrings: n
|
|
893
|
+
}) : i.series = Ie({
|
|
894
|
+
config: i,
|
|
895
|
+
layerInfo: l,
|
|
814
896
|
xAxisField: e,
|
|
815
897
|
numericFields: r,
|
|
816
898
|
aggregationType: a,
|
|
817
|
-
commonStrings:
|
|
818
|
-
}) :
|
|
819
|
-
config:
|
|
820
|
-
layerInfo:
|
|
821
|
-
splitByField:
|
|
899
|
+
commonStrings: n
|
|
900
|
+
}) : y && (i.series = Et({
|
|
901
|
+
config: i,
|
|
902
|
+
layerInfo: l,
|
|
903
|
+
splitByField: s,
|
|
822
904
|
xAxisField: e,
|
|
823
905
|
numericFields: r,
|
|
824
906
|
aggregationType: a,
|
|
825
|
-
commonStrings:
|
|
826
|
-
splitByFieldInfos:
|
|
827
|
-
})),
|
|
828
|
-
const
|
|
829
|
-
|
|
907
|
+
commonStrings: n,
|
|
908
|
+
splitByFieldInfos: y
|
|
909
|
+
})), F && i.series[0].type !== I.HeatSeries) {
|
|
910
|
+
const B = D(g, e);
|
|
911
|
+
E(i, 0, B);
|
|
830
912
|
}
|
|
831
|
-
if (
|
|
832
|
-
const
|
|
833
|
-
config:
|
|
834
|
-
layerInfo:
|
|
835
|
-
commonStrings:
|
|
913
|
+
if (C && i.series[0].type !== I.HeatSeries) {
|
|
914
|
+
const B = le({
|
|
915
|
+
config: i,
|
|
916
|
+
layerInfo: l,
|
|
917
|
+
commonStrings: n,
|
|
836
918
|
numericFields: r,
|
|
837
919
|
aggregationType: a
|
|
838
920
|
});
|
|
839
|
-
|
|
921
|
+
E(i, 1, B);
|
|
840
922
|
}
|
|
841
|
-
if (
|
|
842
|
-
const
|
|
843
|
-
|
|
923
|
+
if (T && i.title && (i.title.content.text = j(i, l, n)), q({ config: i, value: null, axisIndex: 1, isMax: !1 }), q({ config: i, value: null, axisIndex: 1, isMax: !0 }), Pt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), (x || h) && (q({ config: i, value: null, axisIndex: 0, isMax: !1 }), q({ config: i, value: null, axisIndex: 0, isMax: !0 }), J && a !== v.NoAggregation)) {
|
|
924
|
+
const B = f?.type === I.DateAxisFormat ? M.Null : M.Interpolate;
|
|
925
|
+
Ct(B, i);
|
|
844
926
|
}
|
|
845
|
-
|
|
846
|
-
delete
|
|
927
|
+
L && (i.series[0].classBreaksRules = V.classBreaksRules, i.series[0].xTemporalBinning = V.xTemporalBinning, i.series[0].yTemporalBinning = V.yTemporalBinning, i.series[0].emptyCells = V.emptyCells, i.nullPolicy = V.nullPolicy), u ? i.series.forEach((B) => {
|
|
928
|
+
delete B.query;
|
|
929
|
+
}) : m && i.series.forEach((B) => {
|
|
930
|
+
B.query && (B.query.fetchNullValues = m);
|
|
931
|
+
}), d && i.series.forEach((B) => {
|
|
932
|
+
(B.type === I.BarSeries || B.type === I.LineSeries || B.type === I.RadarSeries) && (B.nullCategory = d);
|
|
847
933
|
});
|
|
848
|
-
},
|
|
934
|
+
}, X = (t, e) => {
|
|
849
935
|
t.markerVisible = e.markerVisible, t.lineSmoothed = e.lineSmoothed, t.showArea = e.showArea, t.areaColor = e.areaColor, t.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (t.lineSymbol = { ...e.lineSymbol, color: t.lineSymbol?.color }), e.markerSymbol && (t.markerSymbol = {
|
|
850
936
|
...e.markerSymbol,
|
|
851
937
|
color: t.markerSymbol?.color
|
|
852
938
|
});
|
|
853
|
-
},
|
|
854
|
-
const { config: e, seriesIndex:
|
|
855
|
-
let
|
|
856
|
-
if (
|
|
857
|
-
|
|
858
|
-
else if (
|
|
859
|
-
const
|
|
860
|
-
|
|
939
|
+
}, ni = (t) => {
|
|
940
|
+
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], l = _(e);
|
|
941
|
+
let n;
|
|
942
|
+
if (K(e.series) === P.BarAndLineFromFields)
|
|
943
|
+
n = a.axisLabels.values;
|
|
944
|
+
else if (Le(l)) {
|
|
945
|
+
const g = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
946
|
+
g !== void 0 && g !== H(r.layer).idField && (n = D(r.layerFieldsInfo, g));
|
|
861
947
|
} else {
|
|
862
|
-
const
|
|
863
|
-
|
|
948
|
+
const g = String(Ce(i)).trim().replace(/'/gu, "");
|
|
949
|
+
n = he({
|
|
864
950
|
queryObject: r.layer,
|
|
865
|
-
fieldName:
|
|
866
|
-
fieldValue:
|
|
867
|
-
}) ??
|
|
951
|
+
fieldName: l,
|
|
952
|
+
fieldValue: g ?? ""
|
|
953
|
+
}) ?? g;
|
|
868
954
|
}
|
|
869
|
-
return
|
|
870
|
-
},
|
|
871
|
-
if (
|
|
872
|
-
|
|
955
|
+
return n ?? i.id;
|
|
956
|
+
}, oi = (t, e) => {
|
|
957
|
+
if (oe(e))
|
|
958
|
+
Ot(t, e);
|
|
873
959
|
else {
|
|
874
960
|
e.orderOptions ??= {};
|
|
875
|
-
const
|
|
876
|
-
|
|
877
|
-
orderType:
|
|
961
|
+
const s = e.orderOptions?.data?.orderType;
|
|
962
|
+
ae(e)[0] === ee.customSort && s === N.Category && (e.orderOptions.data = {
|
|
963
|
+
orderType: N.Category,
|
|
878
964
|
orderBy: [...t]
|
|
879
965
|
});
|
|
880
966
|
}
|
|
881
|
-
},
|
|
882
|
-
const
|
|
883
|
-
let
|
|
884
|
-
return
|
|
885
|
-
layerInfo:
|
|
886
|
-
config:
|
|
887
|
-
category:
|
|
888
|
-
|
|
967
|
+
}, ui = async (t) => {
|
|
968
|
+
const { config: e, layerInfo: s, errorStrings: r } = t, a = Y(e), i = Fe(e)?.type, l = G(e), n = K(e.series);
|
|
969
|
+
let y = [];
|
|
970
|
+
return i === I.CategoryAxisFormat && (n === P.BarAndLineFromFields || a === te ? y = l.map((g) => D(s?.layerFieldsInfo, g)) : a.trim() !== "" && a !== te && s !== void 0 && (y = await Ne({
|
|
971
|
+
layerInfo: s,
|
|
972
|
+
config: e,
|
|
973
|
+
category: a,
|
|
974
|
+
errorStrings: r
|
|
975
|
+
}))), y;
|
|
889
976
|
};
|
|
890
|
-
function
|
|
891
|
-
const r =
|
|
892
|
-
return r === a ||
|
|
977
|
+
function Z(t, e, s) {
|
|
978
|
+
const r = j(t, e, s), a = xt(t), i = z(t);
|
|
979
|
+
return r === a || i;
|
|
893
980
|
}
|
|
894
|
-
function
|
|
895
|
-
const r =
|
|
981
|
+
function ve(t, e, s) {
|
|
982
|
+
const r = le({
|
|
896
983
|
config: t,
|
|
897
984
|
layerInfo: e,
|
|
898
|
-
commonStrings:
|
|
899
|
-
numericFields:
|
|
900
|
-
aggregationType:
|
|
901
|
-
}), a =
|
|
902
|
-
return r === a ||
|
|
903
|
-
}
|
|
904
|
-
function
|
|
905
|
-
const
|
|
906
|
-
return
|
|
907
|
-
}
|
|
908
|
-
function
|
|
909
|
-
return
|
|
910
|
-
}
|
|
911
|
-
function
|
|
912
|
-
e?.series.forEach((
|
|
913
|
-
(
|
|
914
|
-
unit:
|
|
985
|
+
commonStrings: s,
|
|
986
|
+
numericFields: G(t),
|
|
987
|
+
aggregationType: be(t)
|
|
988
|
+
}), a = ue(1, t), i = z(t);
|
|
989
|
+
return r === a || i;
|
|
990
|
+
}
|
|
991
|
+
function Mt(t, e) {
|
|
992
|
+
const s = D(e.layerFieldsInfo, Y(t)), r = ue(0, t), a = z(t);
|
|
993
|
+
return s === r || a;
|
|
994
|
+
}
|
|
995
|
+
function ci(t) {
|
|
996
|
+
return k(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
|
|
997
|
+
}
|
|
998
|
+
function di(t, e) {
|
|
999
|
+
e?.series.forEach((s) => {
|
|
1000
|
+
(s?.type === I.BarSeries || s?.type === I.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
|
|
1001
|
+
unit: se.Day,
|
|
915
1002
|
size: 0,
|
|
916
|
-
timeAggregationType:
|
|
1003
|
+
timeAggregationType: rt.Start,
|
|
917
1004
|
trimIncompleteTimeInterval: !0,
|
|
918
|
-
nullPolicy:
|
|
919
|
-
} : delete
|
|
1005
|
+
nullPolicy: M.Null
|
|
1006
|
+
} : delete s.temporalBinning);
|
|
920
1007
|
});
|
|
921
1008
|
}
|
|
922
1009
|
export {
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1010
|
+
xs as $,
|
|
1011
|
+
oi as A,
|
|
1012
|
+
li as B,
|
|
1013
|
+
ci as C,
|
|
1014
|
+
di as D,
|
|
1015
|
+
j as E,
|
|
1016
|
+
Rt as F,
|
|
1017
|
+
Cs as G,
|
|
1018
|
+
Ks as H,
|
|
1019
|
+
Qs as I,
|
|
1020
|
+
As as J,
|
|
1021
|
+
bs as K,
|
|
1022
|
+
vs as L,
|
|
1023
|
+
Is as M,
|
|
1024
|
+
zs as N,
|
|
1025
|
+
_s as O,
|
|
1026
|
+
Gs as P,
|
|
1027
|
+
Zs as Q,
|
|
1028
|
+
ti as R,
|
|
1029
|
+
si as S,
|
|
1030
|
+
ii as T,
|
|
1031
|
+
ai as U,
|
|
1032
|
+
Ss as V,
|
|
1033
|
+
Fs as W,
|
|
1034
|
+
Vs as X,
|
|
1035
|
+
Ls as Y,
|
|
1036
|
+
qs as Z,
|
|
1037
|
+
Ns as _,
|
|
1038
|
+
ms as a,
|
|
1039
|
+
hs as a0,
|
|
1040
|
+
Bs as a1,
|
|
1041
|
+
Ts as a2,
|
|
1042
|
+
Os as a3,
|
|
1043
|
+
Ds as a4,
|
|
1044
|
+
Ps as a5,
|
|
1045
|
+
ws as a6,
|
|
1046
|
+
Rs as a7,
|
|
1047
|
+
ks as a8,
|
|
1048
|
+
Es as a9,
|
|
1049
|
+
Dt as aa,
|
|
1050
|
+
Ms as ab,
|
|
1051
|
+
$s as ac,
|
|
1052
|
+
Ys as ad,
|
|
1053
|
+
Ws as ae,
|
|
1054
|
+
Xs as af,
|
|
1055
|
+
Hs as ag,
|
|
1056
|
+
ei as ah,
|
|
1057
|
+
Js as ai,
|
|
1058
|
+
js as aj,
|
|
1059
|
+
Us as ak,
|
|
1060
|
+
cs as b,
|
|
1061
|
+
ds as c,
|
|
1062
|
+
G as d,
|
|
1063
|
+
_ as e,
|
|
1064
|
+
fs as f,
|
|
1065
|
+
be as g,
|
|
1066
|
+
ni as h,
|
|
1067
|
+
gs as i,
|
|
1068
|
+
is as j,
|
|
1069
|
+
Tt as k,
|
|
1070
|
+
ns as l,
|
|
1071
|
+
as as m,
|
|
1072
|
+
os as n,
|
|
1073
|
+
rs as o,
|
|
1074
|
+
ps as p,
|
|
1075
|
+
us as q,
|
|
1076
|
+
At as r,
|
|
1077
|
+
Bt as s,
|
|
1078
|
+
ls as t,
|
|
1079
|
+
ys as u,
|
|
1080
|
+
Ct as v,
|
|
1081
|
+
bt as w,
|
|
1082
|
+
ri as x,
|
|
1083
|
+
ae as y,
|
|
1084
|
+
ui as z
|
|
994
1085
|
};
|