@arcgis/charts-components 5.0.0-next.149 → 5.0.0-next.150
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 -4
- package/dist/cdn/2ATTYJG6.js +2 -0
- package/dist/cdn/2CTKBS47.js +2 -0
- package/dist/cdn/2TUSY77N.js +2 -0
- package/dist/cdn/3C4HBCTV.js +2 -0
- package/dist/cdn/3MXDGSBY.js +2 -0
- package/dist/cdn/3NIVTPH5.js +2 -0
- package/dist/cdn/3Q2BMY2L.js +2 -0
- package/dist/cdn/4DH3GZII.js +2 -0
- package/dist/cdn/{Z255YC4E.js → 4KZSOP76.js} +1 -1
- package/dist/cdn/4UDVEHW7.js +2 -0
- package/dist/cdn/4ZDZD6FW.js +2 -0
- package/dist/cdn/5L3VUKGY.js +2 -0
- package/dist/cdn/{NPTAS3PB.js → 6B7P3OWP.js} +1 -1
- package/dist/cdn/6G6VPJ6K.js +2 -0
- package/dist/cdn/6L2NFOQY.js +2 -0
- package/dist/cdn/6UGQKSVS.js +2 -0
- package/dist/cdn/6VS2BUNX.js +2 -0
- package/dist/cdn/72ILHP4O.js +2 -0
- package/dist/cdn/7AXTHOAU.js +2 -0
- package/dist/cdn/{FPVMDAVP.js → 7K4VZYMF.js} +1 -1
- package/dist/cdn/{E7NSRJS7.js → 7KL2S53W.js} +1 -1
- package/dist/cdn/7QTZ5O4B.js +2 -0
- package/dist/cdn/7YWK5AX4.js +2 -0
- package/dist/cdn/ASYHUBK5.js +2 -0
- package/dist/cdn/{CB2EYCDF.js → AUSXHSLY.js} +1 -1
- package/dist/cdn/AZYWNZ5K.js +2 -0
- package/dist/cdn/BQQLJHIU.js +2 -0
- package/dist/cdn/BRLZ2A7F.js +2 -0
- package/dist/cdn/BZYRPXHD.js +2 -0
- package/dist/cdn/C6RJHADU.js +2 -0
- package/dist/cdn/CEVAPOOF.js +2 -0
- package/dist/cdn/{OHBHUABJ.js → CHYRXR3K.js} +1 -1
- package/dist/cdn/CRNVPN6B.js +2 -0
- package/dist/cdn/CSV2VTSA.js +2 -0
- package/dist/cdn/{W66EH66K.js → CZ3Y6FRM.js} +1 -1
- package/dist/cdn/DJLJ5P4N.js +2 -0
- package/dist/cdn/DKJ7FFOL.js +2 -0
- package/dist/cdn/{BVAXFPTE.js → DPJE33GY.js} +1 -1
- package/dist/cdn/{Z4XTLHV3.js → EGHGISFS.js} +1 -1
- package/dist/cdn/F6PKNIKI.js +2 -0
- package/dist/cdn/FTZVIGVW.js +2 -0
- package/dist/cdn/GJWPFACV.js +2 -0
- package/dist/cdn/H2ABG252.js +2 -0
- package/dist/cdn/{IBPSHNO6.js → H4ULSC2D.js} +1 -1
- package/dist/cdn/HEN5PMZU.js +2 -0
- package/dist/cdn/HPG3LCZN.js +2 -0
- package/dist/cdn/HT5B7AY6.js +2 -0
- package/dist/cdn/IARNAL5N.js +9 -0
- package/dist/cdn/IBKDU34P.js +2 -0
- package/dist/cdn/{737LK3MK.js → IR2XD6P6.js} +3 -3
- package/dist/cdn/{UF2PXUST.js → IXYFMAZY.js} +1 -1
- package/dist/cdn/JO6AAGBV.js +2 -0
- package/dist/cdn/{5Z2N5G2K.js → JTDP2THJ.js} +1 -1
- package/dist/cdn/KA4BSBVA.js +2 -0
- package/dist/cdn/KBKA3QP3.js +2 -0
- package/dist/cdn/KDYJOJ2S.js +2 -0
- package/dist/cdn/KISYVPQA.js +2 -0
- package/dist/cdn/{2NWN5I6T.js → KTHE5IC6.js} +1 -1
- package/dist/cdn/{ZAIDOCYY.js → LHEOE5LN.js} +1 -1
- package/dist/cdn/MAUJ4HUQ.js +2 -0
- package/dist/cdn/MGJN25XS.js +2 -0
- package/dist/cdn/MQRY2EYZ.js +2 -0
- package/dist/cdn/MR5ORMVY.js +2 -0
- package/dist/cdn/MZSNIA3C.js +2 -0
- package/dist/cdn/NA4ZFNCV.js +2 -0
- package/dist/cdn/NMLR7I33.js +2 -0
- package/dist/cdn/{NDRUBDOF.js → NNS7M7OW.js} +1 -1
- package/dist/cdn/{QUWXB6XH.js → NOGZZTAP.js} +1 -1
- package/dist/cdn/NZZFA6F6.js +2 -0
- package/dist/cdn/{OF3VUOXY.js → O4D2KFXK.js} +1 -1
- package/dist/cdn/O4NETRGZ.js +2 -0
- package/dist/cdn/OQNPUVUK.js +2 -0
- package/dist/cdn/PPJ4YIYD.js +2 -0
- package/dist/cdn/PT44XBUL.js +2 -0
- package/dist/cdn/QFHFFY63.js +32 -0
- package/dist/cdn/QSS4DLDZ.js +2 -0
- package/dist/cdn/REHRP6LK.js +2 -0
- package/dist/cdn/SK3SXWIS.js +2 -0
- package/dist/cdn/SUK2EU7N.js +2 -0
- package/dist/cdn/SWNLXRQP.js +2 -0
- package/dist/cdn/TAHOH5D6.js +2 -0
- package/dist/cdn/TJFJHDEJ.js +2 -0
- package/dist/cdn/TKGRT45N.js +2 -0
- package/dist/cdn/{CLEHXDRG.js → TKUAPKCR.js} +1 -1
- package/dist/cdn/{YJ5B4PNE.js → TTLM6X2H.js} +1 -1
- package/dist/cdn/TVTAA4IC.js +2 -0
- package/dist/cdn/UIOMTO3X.js +2 -0
- package/dist/cdn/{3YZMWGH2.js → UNK6HRSC.js} +1 -1
- package/dist/cdn/VPR47IMP.js +2 -0
- package/dist/cdn/{MB3EVMIM.js → W26BDESX.js} +1 -1
- package/dist/cdn/{LBO2EK4A.js → WUYK6PKY.js} +1 -1
- package/dist/cdn/X2HDENND.js +2 -0
- package/dist/cdn/Y6GE3FLR.js +2 -0
- package/dist/cdn/ZALZRTR5.js +2 -0
- package/dist/cdn/{YGNXHR5T.js → ZJG2TJC6.js} +1 -1
- package/dist/cdn/{TXSCRECL.js → ZL3FVX4B.js} +2 -2
- package/dist/cdn/{IYCVQI4V.js → ZMA6K5G6.js} +1 -1
- package/dist/cdn/ZUI6QY5V.js +2 -0
- package/dist/cdn/ZYBAYHZU.js +2 -0
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +15 -16
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +3 -3
- package/dist/chunks/box-plot-model.js +69 -67
- package/dist/chunks/chart-model.js +527 -0
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +13 -12
- package/dist/chunks/combo-bar-line-chart-model.js +40 -41
- package/dist/chunks/data.js +4 -4
- package/dist/chunks/default.js +5 -4
- package/dist/chunks/gauge-model.js +19 -18
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +42 -43
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +43 -42
- package/dist/chunks/index.js +1128 -1195
- package/dist/chunks/interfaces.js +31 -30
- package/dist/chunks/line-chart-model.js +15 -15
- package/dist/chunks/model-setter.js +23 -18
- package/dist/chunks/model-with-guides.js +317 -0
- package/dist/chunks/model-with-line-marker-styling.js +177 -0
- package/dist/chunks/model-with-tooltips.js +315 -0
- package/dist/chunks/model-with-x-guides.js +49 -0
- package/dist/chunks/model-with-y-guides.js +629 -0
- package/dist/chunks/negative-values-stacked-to-baseline.js +77 -19
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +18 -18
- package/dist/chunks/radar-chart-model.js +8 -8
- package/dist/chunks/resource.js +5 -4
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +54 -52
- package/dist/chunks/serial-chart-data.js +322 -371
- package/dist/chunks/serial-chart-model.js +295 -138
- package/dist/chunks/series-length.js +79 -0
- package/dist/chunks/series.js +37 -0
- package/dist/chunks/setup-utils.js +79 -0
- package/dist/chunks/type-guards.js +45 -44
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +63 -61
- package/dist/components/arcgis-chart/customElement.d.ts +9 -0
- package/dist/components/arcgis-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- 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-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/resource.d.ts +9 -0
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/resource.d.ts +8 -0
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-guides-type-popover/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 +9 -9
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -0
- 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-pie-chart-slices-popover/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-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/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 +1 -1
- package/dist/interfaces.d.ts +77 -0
- package/dist/json-schema/index.d.ts +8498 -0
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +9 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +14 -28
- package/dist/model/chart-model/chart-model-base.d.ts +1 -0
- package/dist/model/chart-model/chart-model.d.ts +2 -31
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -9
- package/dist/model/gauge-model/gauge-model.d.ts +12 -18
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +17 -2
- package/dist/model/histogram-model/histogram-model.d.ts +15 -27
- package/dist/model/line-chart-model/line-chart-model.d.ts +12 -11
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +1 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +1 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +2 -8
- package/dist/model/mixins/model-with-y-guides.d.ts +2 -8
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +2 -8
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +12 -14
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +12 -11
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +16 -29
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -31
- package/dist/model.js +38 -112
- package/dist/spec/config-defaults.d.ts +4 -0
- package/dist/spec/rest-js-types.d.ts +89 -224
- package/dist/spec/web-chart.d.ts +1 -2
- package/dist/utils/chart-config/interfaces.d.ts +3 -0
- package/dist/utils/chart-config/utils/index.d.ts +39 -1
- package/dist/utils/chart-config/utils/interfaces.d.ts +2 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +19 -7
- package/dist/utils/components/event-payloads.d.ts +9 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/data/index.d.ts +12 -0
- package/dist/utils/data/interfaces.d.ts +6 -0
- package/dist/utils/data/time-binning/interfaces.d.ts +6 -0
- package/dist/utils/defaults/index.d.ts +135 -15
- package/dist/utils/defaults/interfaces.d.ts +4 -0
- package/dist/utils/layer/index.d.ts +40 -0
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +2 -0
- package/dist/utils/layer/interfaces.d.ts +15 -2
- package/dist/utils/layer/query-features/index.d.ts +26 -1
- package/dist/utils/layer/query-features/interfaces.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +15 -1
- package/dist/utils/layer/utils/index.d.ts +16 -0
- package/dist/utils/localization/index.d.ts +10 -0
- package/dist/utils/localization/interfaces.d.ts +11 -0
- package/dist/utils/misc/index.d.ts +29 -0
- package/dist/utils/type-guards/index.d.ts +38 -3
- package/dist/utils/type-guards/series-types.d.ts +18 -0
- package/dist/utils/types/index.d.ts +31 -6
- package/dist/utils/ui/chart-ui-utils.d.ts +6 -1
- package/dist/utils/ui/popover-ui-utils.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cdn/3IFN5UNC.js +0 -2
- package/dist/cdn/3NE6BHA7.js +0 -2
- package/dist/cdn/3T66I3AV.js +0 -2
- package/dist/cdn/4G3CMZYX.js +0 -2
- package/dist/cdn/5NFDDXIZ.js +0 -2
- package/dist/cdn/5ZDTPYVX.js +0 -2
- package/dist/cdn/73DP7O6V.js +0 -2
- package/dist/cdn/7BYBNK4D.js +0 -2
- package/dist/cdn/7J55VBBP.js +0 -2
- package/dist/cdn/7JHAQ55T.js +0 -2
- package/dist/cdn/7MK2A5CN.js +0 -2
- package/dist/cdn/7QAEPVLP.js +0 -2
- package/dist/cdn/AZXSIAD5.js +0 -2
- package/dist/cdn/B4ONKX76.js +0 -2
- package/dist/cdn/BGRFXQBF.js +0 -2
- package/dist/cdn/BRSFMI7W.js +0 -2
- package/dist/cdn/BZBPPMPO.js +0 -2
- package/dist/cdn/CCE73L6Y.js +0 -2
- package/dist/cdn/CN4JJBQD.js +0 -2
- package/dist/cdn/CSGEEI34.js +0 -2
- package/dist/cdn/E7HMRRLS.js +0 -2
- package/dist/cdn/EJUACEYV.js +0 -2
- package/dist/cdn/F2EEAM7D.js +0 -2
- package/dist/cdn/F32ALQAF.js +0 -2
- package/dist/cdn/FDMFAAYD.js +0 -32
- package/dist/cdn/GXU3KAZJ.js +0 -2
- package/dist/cdn/HBBVQMKS.js +0 -2
- package/dist/cdn/HKS7OKQ2.js +0 -2
- package/dist/cdn/IDUT4PPZ.js +0 -2
- package/dist/cdn/ITOFPGYG.js +0 -2
- package/dist/cdn/K35SAKH6.js +0 -2
- package/dist/cdn/K7PHN6CK.js +0 -2
- package/dist/cdn/KFJDBWIX.js +0 -2
- package/dist/cdn/KJZSK5YZ.js +0 -2
- package/dist/cdn/KTAVV3VX.js +0 -2
- package/dist/cdn/KTLKB6B4.js +0 -2
- package/dist/cdn/KVD56MDM.js +0 -2
- package/dist/cdn/L53UCZR6.js +0 -2
- package/dist/cdn/L7C7MUW3.js +0 -2
- package/dist/cdn/LWCWU4HZ.js +0 -2
- package/dist/cdn/MJMTX7G3.js +0 -2
- package/dist/cdn/MKUWP4YO.js +0 -2
- package/dist/cdn/OLWAY6BU.js +0 -2
- package/dist/cdn/P4IJGBEM.js +0 -2
- package/dist/cdn/PHOC6W4U.js +0 -2
- package/dist/cdn/PTHMEJ4M.js +0 -2
- package/dist/cdn/Q4XRMPTN.js +0 -2
- package/dist/cdn/Q65AFAC2.js +0 -2
- package/dist/cdn/QEUQO5PH.js +0 -2
- package/dist/cdn/QJ7AL2JA.js +0 -2
- package/dist/cdn/QR6LWJA6.js +0 -2
- package/dist/cdn/QRNC5B3Q.js +0 -2
- package/dist/cdn/QZQBEPBF.js +0 -2
- package/dist/cdn/R23O2O7W.js +0 -2
- package/dist/cdn/TTDJJ46R.js +0 -2
- package/dist/cdn/TZ6AFED4.js +0 -2
- package/dist/cdn/UMDCLTNE.js +0 -2
- package/dist/cdn/VPVSYP2L.js +0 -2
- package/dist/cdn/VZR5LOQW.js +0 -2
- package/dist/cdn/W7MNTZT7.js +0 -2
- package/dist/cdn/XRRVOQJ3.js +0 -2
- package/dist/cdn/XSDOT2VC.js +0 -2
- package/dist/cdn/YJC6B2JE.js +0 -2
- package/dist/cdn/YMO37QWY.js +0 -9
- package/dist/cdn/Z2RUBKU7.js +0 -2
- package/dist/cdn/ZEKY74JE.js +0 -2
- package/dist/cdn/ZWPLVA7G.js +0 -2
- package/dist/cdn/ZXRU5IEE.js +0 -2
- package/dist/chunks/data-labels-visibility.js +0 -87
- package/dist/chunks/model-with-multi-axes.js +0 -1995
- package/dist/chunks/x-axis-labels-visibility.js +0 -68
- package/dist/model/shared/utils.d.ts +0 -4
- /package/dist/cdn/{CF5YAZDQ.js → 2BRTKEX6.js} +0 -0
- /package/dist/cdn/{S24EVUYE.js → F4KKUFSS.js} +0 -0
- /package/dist/cdn/{OJHML5IU.js → Z5QOLHIZ.js} +0 -0
|
@@ -1,27 +1,181 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
2
|
+
import { C as v } from "./chart-model.js";
|
|
3
|
+
import "@arcgis/toolkit/type";
|
|
4
|
+
import { e as B, W as O, a as m } from "./series-types.js";
|
|
5
|
+
import "@arcgis/toolkit/intl";
|
|
6
|
+
import { isEqual as W } from "lodash-es";
|
|
7
|
+
import "luxon";
|
|
8
|
+
import "d3-array";
|
|
9
|
+
import { b5 as L, aW as D, b0 as M, aO as P, aM as V, b as S, bK as N, Z as U } from "./index.js";
|
|
10
|
+
import "@arcgis/core/Graphic.js";
|
|
11
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@esri/arcgis-html-sanitizer";
|
|
14
|
+
import "@arcgis/core/intl.js";
|
|
15
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
20
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
21
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
22
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
23
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
24
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
25
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
26
|
+
import "./runtime.js";
|
|
27
|
+
import { l as h, j as d, k as f } from "./index4.js";
|
|
28
|
+
import "@arcgis/toolkit/dom";
|
|
29
|
+
import { g as I, u as E, s as _, c as R, b as k, a as X } from "./utils.js";
|
|
30
|
+
import { P as y, Q as u, S as j, T as w, U as z, V as K, W as Y, X as $, Y as G, Z, _ as q, $ as Q, a0 as H, I as T, a1 as x, a2 as A, a3 as J, a4 as ee, R as te, a5 as C, a as ie } from "./serial-chart-data.js";
|
|
31
|
+
import { s as b, d as F, b as se } from "./data.js";
|
|
32
|
+
import { S as re } from "./common.js";
|
|
33
|
+
import { M as oe, a as ne, W as ae, b as le } from "./model-with-tooltips.js";
|
|
34
|
+
import { W as ge } from "./rotated-state.js";
|
|
35
|
+
import { W as ce } from "./data-labels-symbol.js";
|
|
36
|
+
import { W as pe, a as he, b as de } from "./axis-lines-symbol.js";
|
|
37
|
+
import { W as me, b as fe } from "./model-with-guides.js";
|
|
38
|
+
import { W as ye, a as ue, b as Se } from "./generate-x-axis-title.js";
|
|
14
39
|
import { m as o } from "./model-setter.js";
|
|
15
|
-
import { a as
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
40
|
+
import { M as _e, a as Te } from "./model-with-y-guides.js";
|
|
41
|
+
import { M as xe } from "./model-with-x-guides.js";
|
|
42
|
+
const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ce = (s) => {
|
|
43
|
+
const { assign: e, seriesIndex: t, config: i, commonStrings: r } = s;
|
|
44
|
+
e && i.axes !== void 0 && !i.axes?.[2] && (i.axes[2] = M(r, O.BarSeries)[1]), i.series && i.series.forEach((n, g) => {
|
|
45
|
+
g === t ? n.assignToSecondValueAxis = e : g !== t && n?.assignToSecondValueAxis !== !0 && (n.assignToSecondValueAxis = !1);
|
|
46
|
+
}), i.axes?.[2] && !i.series.some((n) => n.assignToSecondValueAxis) && i.axes.splice(2, 1);
|
|
47
|
+
}, be = (s, e) => e.series?.[s]?.name, Fe = (s, e, t) => {
|
|
48
|
+
t.series?.[e] && (t.series[e].name = s);
|
|
49
|
+
}, ve = (s, e) => {
|
|
50
|
+
const t = e.series?.[s];
|
|
51
|
+
let i;
|
|
52
|
+
return h(t) ? i = t.fillSymbol?.color : d(t) && (i = t.lineSymbol?.color), i;
|
|
53
|
+
}, Be = (s, e, t) => {
|
|
54
|
+
const i = t.series?.[e];
|
|
55
|
+
i && (h(i) ? i.fillSymbol = {
|
|
56
|
+
...L(e),
|
|
57
|
+
...i.fillSymbol,
|
|
58
|
+
color: s
|
|
59
|
+
} : d(i) && (i.lineSymbol = {
|
|
60
|
+
...D(e),
|
|
61
|
+
...i.lineSymbol,
|
|
62
|
+
color: s
|
|
63
|
+
}));
|
|
64
|
+
}, Ie = (s) => s.series.map((e) => e.id), Oe = (s, e) => {
|
|
65
|
+
e.series?.sort(
|
|
66
|
+
(t, i) => s.findIndex((r) => t.id === r) - s.findIndex((r) => i.id === r)
|
|
67
|
+
);
|
|
68
|
+
}, We = (s) => s.stackedType ?? B.Side, Le = (s) => {
|
|
69
|
+
const { newStackedType: e, config: t, layerInfo: i, commonStrings: r } = s;
|
|
70
|
+
if (t.stackedType = e, i !== void 0) {
|
|
71
|
+
const n = I({
|
|
72
|
+
config: t,
|
|
73
|
+
layerInfo: i,
|
|
74
|
+
commonStrings: r,
|
|
75
|
+
numericFields: u(t),
|
|
76
|
+
aggregationType: y(t)
|
|
77
|
+
});
|
|
78
|
+
E(t, 1, n);
|
|
79
|
+
}
|
|
80
|
+
t.axes?.[1] && (e === B.Stacked100 ? t.axes[1].valueFormat = P() : t.axes[1].valueFormat = V()), _({ config: t, value: null, axisIndex: 1, isMax: !1 }), _({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
81
|
+
}, De = (s) => {
|
|
82
|
+
let e;
|
|
83
|
+
const t = s.series.find(
|
|
84
|
+
(i) => (h(i) || d(i) || f(i)) && i.nullCategory !== void 0
|
|
85
|
+
);
|
|
86
|
+
return (h(t) || d(t) || f(t)) && (e = t?.nullCategory), e;
|
|
87
|
+
}, Me = (s, e) => {
|
|
88
|
+
s.series.forEach((t) => {
|
|
89
|
+
(h(t) || d(t) || f(t)) && (t.nullCategory = e);
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
var Pe = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, p = (s, e, t, i) => {
|
|
93
|
+
for (var r = Ve(e, t), n = s.length - 1, g; n >= 0; n--)
|
|
94
|
+
(g = s[n]) && (r = g(e, t, r) || r);
|
|
95
|
+
return r && Pe(e, t, r), r;
|
|
96
|
+
};
|
|
97
|
+
class c extends v {
|
|
98
|
+
/**
|
|
99
|
+
* Time interval size for a temporal bar/line chart.
|
|
100
|
+
*/
|
|
101
|
+
get temporalBinningSize() {
|
|
102
|
+
return j(this._config);
|
|
103
|
+
}
|
|
104
|
+
set temporalBinningSize(e) {
|
|
105
|
+
w(e, this._config);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Time interval units for a temporal bar/line chart.
|
|
109
|
+
*/
|
|
110
|
+
get temporalBinningUnit() {
|
|
111
|
+
return z(this._config);
|
|
112
|
+
}
|
|
113
|
+
set temporalBinningUnit(e) {
|
|
114
|
+
K(e, this._config);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Time aggregation type for a temporal bar/line chart.
|
|
118
|
+
*/
|
|
119
|
+
get timeAggregationType() {
|
|
120
|
+
return Y(this._config);
|
|
121
|
+
}
|
|
122
|
+
set timeAggregationType(e) {
|
|
123
|
+
$(e, this._config);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Whether to trim incomplete time intervals for a temporal bar/line chart.
|
|
127
|
+
*/
|
|
128
|
+
get trimIncompleteTimeInterval() {
|
|
129
|
+
return G(this._config);
|
|
130
|
+
}
|
|
131
|
+
set trimIncompleteTimeInterval(e) {
|
|
132
|
+
Z(e, this._config);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Policy which tells the chart how to handle null values.
|
|
136
|
+
*
|
|
137
|
+
* `null`: Break the bar where null values are present.
|
|
138
|
+
*
|
|
139
|
+
* `zero`: Treats null values as zero.
|
|
140
|
+
*
|
|
141
|
+
* `interpolate`: Bar series: same effect as `null` - Line series: connects the lines across null values.
|
|
142
|
+
*/
|
|
143
|
+
get nullPolicy() {
|
|
144
|
+
return q(this._config);
|
|
145
|
+
}
|
|
146
|
+
set nullPolicy(e) {
|
|
147
|
+
Q(e, this._config);
|
|
148
|
+
}
|
|
149
|
+
resetTimeInterval() {
|
|
150
|
+
H(this._config);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
p([
|
|
154
|
+
o
|
|
155
|
+
], c.prototype, "temporalBinningSize");
|
|
156
|
+
p([
|
|
157
|
+
o
|
|
158
|
+
], c.prototype, "temporalBinningUnit");
|
|
159
|
+
p([
|
|
160
|
+
o
|
|
161
|
+
], c.prototype, "timeAggregationType");
|
|
162
|
+
p([
|
|
163
|
+
o
|
|
164
|
+
], c.prototype, "trimIncompleteTimeInterval");
|
|
165
|
+
p([
|
|
166
|
+
o
|
|
167
|
+
], c.prototype, "nullPolicy");
|
|
168
|
+
p([
|
|
169
|
+
o
|
|
170
|
+
], c.prototype, "resetTimeInterval");
|
|
171
|
+
var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, l = (s, e, t, i) => {
|
|
172
|
+
for (var r = Ue(e, t), n = s.length - 1, g; n >= 0; n--)
|
|
173
|
+
(g = s[n]) && (r = g(e, t, r) || r);
|
|
174
|
+
return r && Ne(e, t, r), r;
|
|
21
175
|
};
|
|
22
|
-
class
|
|
176
|
+
class a extends v {
|
|
23
177
|
constructor() {
|
|
24
|
-
super(...arguments), this._xAxisField = "", this._aggregationType =
|
|
178
|
+
super(...arguments), this._xAxisField = "", this._aggregationType = m.Count, this._splitByField = "", this._numericFields = [];
|
|
25
179
|
}
|
|
26
180
|
// #endregion
|
|
27
181
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -33,10 +187,10 @@ class r extends A {
|
|
|
33
187
|
get xAxisField() {
|
|
34
188
|
return this._xAxisField;
|
|
35
189
|
}
|
|
36
|
-
set xAxisField(
|
|
37
|
-
if (this._xAxisField =
|
|
38
|
-
const
|
|
39
|
-
this.resetConfig(), this.numericFields =
|
|
190
|
+
set xAxisField(e) {
|
|
191
|
+
if (this._xAxisField = e, this.dirtyAsyncSetters.push("xAxisField"), e.trim() === "" || e === S) {
|
|
192
|
+
const r = this.numericFields;
|
|
193
|
+
this.resetConfig(), this.numericFields = r;
|
|
40
194
|
}
|
|
41
195
|
this.processSeriesRebuild();
|
|
42
196
|
}
|
|
@@ -46,8 +200,8 @@ class r extends A {
|
|
|
46
200
|
get aggregationType() {
|
|
47
201
|
return this._aggregationType;
|
|
48
202
|
}
|
|
49
|
-
set aggregationType(
|
|
50
|
-
this._aggregationType =
|
|
203
|
+
set aggregationType(e) {
|
|
204
|
+
this._aggregationType = e, this.dirtyAsyncSetters.push("aggregationType"), this.processSeriesRebuild();
|
|
51
205
|
}
|
|
52
206
|
/**
|
|
53
207
|
* The split-by field for the chart.
|
|
@@ -55,8 +209,8 @@ class r extends A {
|
|
|
55
209
|
get splitByField() {
|
|
56
210
|
return this._splitByField;
|
|
57
211
|
}
|
|
58
|
-
set splitByField(
|
|
59
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
212
|
+
set splitByField(e) {
|
|
213
|
+
this.layerInfo?.layerFieldsInfo && R(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild());
|
|
60
214
|
}
|
|
61
215
|
/**
|
|
62
216
|
* The numeric fields array for the chart.
|
|
@@ -64,47 +218,47 @@ class r extends A {
|
|
|
64
218
|
get numericFields() {
|
|
65
219
|
return this._numericFields;
|
|
66
220
|
}
|
|
67
|
-
set numericFields(
|
|
68
|
-
typeof
|
|
69
|
-
const
|
|
70
|
-
if (
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
} else
|
|
221
|
+
set numericFields(e) {
|
|
222
|
+
typeof e == "string" && (e = [e]);
|
|
223
|
+
const t = k(this.layerInfo?.layerFieldsInfo ?? [], e), i = (this.xAxisField === "" || this.xAxisField === S) && e.length === 0;
|
|
224
|
+
if (t && !i) {
|
|
225
|
+
const r = N(this.layerInfo.layer).idField;
|
|
226
|
+
e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = m.Count) : this._aggregationType === m.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = m.Sum), this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), this.numericFields.length > 1 && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild();
|
|
227
|
+
} else i && this.resetConfig();
|
|
74
228
|
}
|
|
75
229
|
/**
|
|
76
230
|
* Gets whether the series should be assigned to the second value axis.
|
|
77
231
|
*
|
|
78
232
|
* @param seriesIndex - The index of the series.
|
|
79
233
|
*/
|
|
80
|
-
getAssignToSecondValueAxis(
|
|
81
|
-
return
|
|
234
|
+
getAssignToSecondValueAxis(e) {
|
|
235
|
+
return Ae(e, this._config);
|
|
82
236
|
}
|
|
83
|
-
setAssignToSecondValueAxis(
|
|
84
|
-
|
|
237
|
+
setAssignToSecondValueAxis(e, t) {
|
|
238
|
+
Ce({ assign: e, seriesIndex: t, config: this._config, commonStrings: this.commonStrings });
|
|
85
239
|
}
|
|
86
240
|
/**
|
|
87
241
|
* Gets the sort order for the bar chart.
|
|
88
242
|
*/
|
|
89
243
|
getSortOrder() {
|
|
90
|
-
return
|
|
244
|
+
return T(this._config)[0];
|
|
91
245
|
}
|
|
92
|
-
setSortOrder(
|
|
93
|
-
|
|
246
|
+
setSortOrder(e, t) {
|
|
247
|
+
b(e, this._config, t);
|
|
94
248
|
}
|
|
95
249
|
/**
|
|
96
250
|
* Gets the list of the category values for the chart.
|
|
97
251
|
*/
|
|
98
252
|
async getCustomSortValues() {
|
|
99
|
-
return await
|
|
253
|
+
return await x(this._config, this.layerInfo);
|
|
100
254
|
}
|
|
101
|
-
async setDataFilters(
|
|
102
|
-
super.setDataFilters(
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
255
|
+
async setDataFilters(e) {
|
|
256
|
+
super.setDataFilters(e);
|
|
257
|
+
const t = T(this._config)[0];
|
|
258
|
+
if (t === re.customSort) {
|
|
105
259
|
this.startAsyncUpdate();
|
|
106
|
-
const
|
|
107
|
-
|
|
260
|
+
const i = await x(this._config, this.layerInfo);
|
|
261
|
+
b(t, this._config, i), this.finishAsyncUpdate();
|
|
108
262
|
}
|
|
109
263
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
110
264
|
}
|
|
@@ -112,10 +266,10 @@ class r extends A {
|
|
|
112
266
|
* The list of custom sort values for custom sort
|
|
113
267
|
*/
|
|
114
268
|
get orderByList() {
|
|
115
|
-
return
|
|
269
|
+
return F(this._config);
|
|
116
270
|
}
|
|
117
|
-
set orderByList(
|
|
118
|
-
!
|
|
271
|
+
set orderByList(e) {
|
|
272
|
+
!U(this._config) && A(e, this._config);
|
|
119
273
|
}
|
|
120
274
|
/**
|
|
121
275
|
* Updates the series based on the layer filter.
|
|
@@ -129,10 +283,10 @@ class r extends A {
|
|
|
129
283
|
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
130
284
|
*/
|
|
131
285
|
get binTemporalData() {
|
|
132
|
-
return
|
|
286
|
+
return J(this._config);
|
|
133
287
|
}
|
|
134
|
-
set binTemporalData(
|
|
135
|
-
|
|
288
|
+
set binTemporalData(e) {
|
|
289
|
+
ee(e, this._config);
|
|
136
290
|
}
|
|
137
291
|
// #endregion
|
|
138
292
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -144,31 +298,31 @@ class r extends A {
|
|
|
144
298
|
*
|
|
145
299
|
* @param seriesIndex - The index of the series.
|
|
146
300
|
*/
|
|
147
|
-
getSeriesName(
|
|
148
|
-
return
|
|
301
|
+
getSeriesName(e) {
|
|
302
|
+
return be(e, this._config);
|
|
149
303
|
}
|
|
150
|
-
setSeriesName(
|
|
151
|
-
|
|
304
|
+
setSeriesName(e, t) {
|
|
305
|
+
Fe(e, t, this._config);
|
|
152
306
|
}
|
|
153
307
|
/**
|
|
154
308
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
155
309
|
*
|
|
156
310
|
* @param seriesIndex - The index of the series.
|
|
157
311
|
*/
|
|
158
|
-
getSeriesColor(
|
|
159
|
-
return
|
|
312
|
+
getSeriesColor(e) {
|
|
313
|
+
return ve(e, this._config);
|
|
160
314
|
}
|
|
161
|
-
setSeriesColor(
|
|
162
|
-
|
|
315
|
+
setSeriesColor(e, t) {
|
|
316
|
+
Be(e, t, this._config);
|
|
163
317
|
}
|
|
164
318
|
/**
|
|
165
319
|
* Gets the order of the series array by returning an array of series ids.
|
|
166
320
|
*/
|
|
167
321
|
getOrderOfSeries() {
|
|
168
|
-
return
|
|
322
|
+
return Ie(this._config);
|
|
169
323
|
}
|
|
170
|
-
setOrderOfSeries(
|
|
171
|
-
|
|
324
|
+
setOrderOfSeries(e) {
|
|
325
|
+
Oe(e, this._config);
|
|
172
326
|
}
|
|
173
327
|
/**
|
|
174
328
|
* How the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
|
|
@@ -177,23 +331,23 @@ class r extends A {
|
|
|
177
331
|
* **Note**: Currently this property is only used for bar and line series.
|
|
178
332
|
*/
|
|
179
333
|
get stackedType() {
|
|
180
|
-
return
|
|
334
|
+
return We(this._config);
|
|
181
335
|
}
|
|
182
|
-
set stackedType(
|
|
183
|
-
|
|
184
|
-
newStackedType:
|
|
336
|
+
set stackedType(e) {
|
|
337
|
+
Le({
|
|
338
|
+
newStackedType: e,
|
|
185
339
|
config: this._config,
|
|
186
340
|
layerInfo: this.layerInfo,
|
|
187
341
|
commonStrings: this.commonStrings
|
|
188
342
|
});
|
|
189
343
|
}
|
|
190
|
-
moveSeries(
|
|
191
|
-
const
|
|
192
|
-
|
|
344
|
+
moveSeries(e, t) {
|
|
345
|
+
const i = this.getOrderOfSeries(), [r] = i.splice(e, 1);
|
|
346
|
+
i.splice(t, 0, r), this.setOrderOfSeries(i);
|
|
193
347
|
}
|
|
194
|
-
moveCustomSortValuesInOrderByList(
|
|
195
|
-
const
|
|
196
|
-
|
|
348
|
+
moveCustomSortValuesInOrderByList(e, t) {
|
|
349
|
+
const i = F(this._config), [r] = i.splice(e, 1);
|
|
350
|
+
i.splice(t, 0, r), A(i, this._config);
|
|
197
351
|
}
|
|
198
352
|
/**
|
|
199
353
|
* The null category configuration of the bar chart.
|
|
@@ -203,21 +357,21 @@ class r extends A {
|
|
|
203
357
|
* - `colorMatch` to be set to `false` on the model
|
|
204
358
|
*/
|
|
205
359
|
get nullCategory() {
|
|
206
|
-
return
|
|
360
|
+
return De(this._config);
|
|
207
361
|
}
|
|
208
|
-
set nullCategory(
|
|
209
|
-
const
|
|
210
|
-
|
|
362
|
+
set nullCategory(e) {
|
|
363
|
+
const t = this.nullCategory;
|
|
364
|
+
W(t, e) || Me(this._config, e);
|
|
211
365
|
}
|
|
212
366
|
/**
|
|
213
367
|
* Sets up the local props based on the current config.
|
|
214
368
|
*/
|
|
215
369
|
setupLocalProps() {
|
|
216
|
-
this._xAxisField =
|
|
370
|
+
this._xAxisField = se(this._config), this._aggregationType = y(this._config), this._splitByField = te(this._config), this._numericFields = u(this._config);
|
|
217
371
|
}
|
|
218
372
|
resetConfig() {
|
|
219
|
-
const
|
|
220
|
-
this._config = this.generateDefaultConfig(), this._config.id =
|
|
373
|
+
const e = this._config.id;
|
|
374
|
+
this._config = this.generateDefaultConfig(), this._config.id = e, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
221
375
|
}
|
|
222
376
|
/**
|
|
223
377
|
* Determines if we can rebuild the series synchronously.
|
|
@@ -235,15 +389,15 @@ class r extends A {
|
|
|
235
389
|
*/
|
|
236
390
|
async processSeriesRebuild() {
|
|
237
391
|
if (this.layerInfo !== void 0) {
|
|
238
|
-
const
|
|
392
|
+
const e = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
|
|
239
393
|
if (this.canUseSynchronousSeriesRebuild())
|
|
240
|
-
this.dirtyAsyncSetters = [],
|
|
394
|
+
this.dirtyAsyncSetters = [], C(this.getBuildNewSeriesProps());
|
|
241
395
|
else if (!this.asyncConfigUpdateInProgress) {
|
|
242
396
|
for (this.startAsyncUpdate(); this.dirtyAsyncSetters.length > 0; )
|
|
243
|
-
this.dirtyAsyncSetters = [], await
|
|
397
|
+
this.dirtyAsyncSetters = [], await C(this.getBuildNewSeriesProps());
|
|
244
398
|
this.finishAsyncUpdate();
|
|
245
399
|
}
|
|
246
|
-
this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(
|
|
400
|
+
this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
247
401
|
}
|
|
248
402
|
}
|
|
249
403
|
// #endregion
|
|
@@ -270,82 +424,85 @@ class r extends A {
|
|
|
270
424
|
* Generate the proper chart title given the current config.
|
|
271
425
|
*/
|
|
272
426
|
generateChartTitle() {
|
|
273
|
-
return this.layerInfo !== void 0 ?
|
|
427
|
+
return this.layerInfo !== void 0 ? ie(this._config, this.layerInfo, this.commonStrings) : "";
|
|
274
428
|
}
|
|
275
429
|
/**
|
|
276
430
|
* Generate the proper y-axis title given the current config.
|
|
277
431
|
*/
|
|
278
432
|
generateYAxisTitle() {
|
|
279
|
-
return this.layerInfo !== void 0 ?
|
|
433
|
+
return this.layerInfo !== void 0 ? I({
|
|
280
434
|
config: this._config,
|
|
281
435
|
layerInfo: this.layerInfo,
|
|
282
436
|
commonStrings: this.commonStrings,
|
|
283
|
-
numericFields:
|
|
284
|
-
aggregationType:
|
|
437
|
+
numericFields: u(this._config),
|
|
438
|
+
aggregationType: y(this._config)
|
|
285
439
|
}) : "";
|
|
286
440
|
}
|
|
287
441
|
// #endregion
|
|
288
442
|
}
|
|
289
|
-
|
|
443
|
+
l([
|
|
290
444
|
o
|
|
291
|
-
],
|
|
292
|
-
|
|
445
|
+
], a.prototype, "setAssignToSecondValueAxis");
|
|
446
|
+
l([
|
|
293
447
|
o
|
|
294
|
-
],
|
|
295
|
-
|
|
448
|
+
], a.prototype, "setSortOrder");
|
|
449
|
+
l([
|
|
296
450
|
o
|
|
297
|
-
],
|
|
298
|
-
|
|
451
|
+
], a.prototype, "setDataFilters");
|
|
452
|
+
l([
|
|
299
453
|
o
|
|
300
|
-
],
|
|
301
|
-
|
|
454
|
+
], a.prototype, "orderByList");
|
|
455
|
+
l([
|
|
302
456
|
o
|
|
303
|
-
],
|
|
304
|
-
|
|
457
|
+
], a.prototype, "binTemporalData");
|
|
458
|
+
l([
|
|
305
459
|
o
|
|
306
|
-
],
|
|
307
|
-
|
|
460
|
+
], a.prototype, "setSeriesName");
|
|
461
|
+
l([
|
|
308
462
|
o
|
|
309
|
-
],
|
|
310
|
-
|
|
463
|
+
], a.prototype, "setSeriesColor");
|
|
464
|
+
l([
|
|
311
465
|
o
|
|
312
|
-
],
|
|
313
|
-
|
|
466
|
+
], a.prototype, "setOrderOfSeries");
|
|
467
|
+
l([
|
|
314
468
|
o
|
|
315
|
-
],
|
|
316
|
-
|
|
469
|
+
], a.prototype, "stackedType");
|
|
470
|
+
l([
|
|
317
471
|
o
|
|
318
|
-
],
|
|
319
|
-
|
|
472
|
+
], a.prototype, "moveSeries");
|
|
473
|
+
l([
|
|
320
474
|
o
|
|
321
|
-
],
|
|
322
|
-
|
|
475
|
+
], a.prototype, "moveCustomSortValuesInOrderByList");
|
|
476
|
+
l([
|
|
323
477
|
o
|
|
324
|
-
],
|
|
325
|
-
|
|
478
|
+
], a.prototype, "nullCategory");
|
|
479
|
+
l([
|
|
326
480
|
o
|
|
327
|
-
],
|
|
328
|
-
const
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
481
|
+
], a.prototype, "resetConfig");
|
|
482
|
+
const Ee = [
|
|
483
|
+
_e,
|
|
484
|
+
oe,
|
|
485
|
+
ne,
|
|
486
|
+
ae,
|
|
487
|
+
ge,
|
|
488
|
+
le,
|
|
489
|
+
ce,
|
|
490
|
+
xe,
|
|
491
|
+
Te,
|
|
492
|
+
c,
|
|
493
|
+
ye,
|
|
494
|
+
me,
|
|
495
|
+
ue,
|
|
496
|
+
fe,
|
|
497
|
+
pe,
|
|
498
|
+
he,
|
|
499
|
+
de,
|
|
500
|
+
Se
|
|
347
501
|
];
|
|
348
|
-
|
|
502
|
+
X(a, Ee);
|
|
349
503
|
export {
|
|
350
|
-
|
|
504
|
+
a as S,
|
|
505
|
+
Fe as a,
|
|
506
|
+
be as g,
|
|
507
|
+
Be as s
|
|
351
508
|
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import { m, C as o } from "./model-setter.js";
|
|
3
|
+
import "@arcgis/toolkit/intl";
|
|
4
|
+
import "lodash-es";
|
|
5
|
+
import "luxon";
|
|
6
|
+
import "d3-array";
|
|
7
|
+
import "@arcgis/toolkit/type";
|
|
8
|
+
import "./series-types.js";
|
|
9
|
+
import { aI as l, aG as a, bB as n, k as g } from "./index.js";
|
|
10
|
+
import "@arcgis/core/Graphic.js";
|
|
11
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@esri/arcgis-html-sanitizer";
|
|
14
|
+
import "@arcgis/core/intl.js";
|
|
15
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
20
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
21
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
22
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
23
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
24
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
25
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
26
|
+
import "./runtime.js";
|
|
27
|
+
import "@arcgis/toolkit/dom";
|
|
28
|
+
var h = Object.defineProperty, c = Object.getOwnPropertyDescriptor, f = (t, e, r, v) => {
|
|
29
|
+
for (var i = c(e, r), s = t.length - 1, p; s >= 0; s--)
|
|
30
|
+
(p = t[s]) && (i = p(e, r, i) || i);
|
|
31
|
+
return i && h(e, r, i), i;
|
|
32
|
+
};
|
|
33
|
+
const x = (t) => t.title?.content.text ?? "", d = (t, e) => {
|
|
34
|
+
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = l({
|
|
35
|
+
text: t,
|
|
36
|
+
visible: !0,
|
|
37
|
+
font: a(n.ChartTitle)
|
|
38
|
+
}));
|
|
39
|
+
};
|
|
40
|
+
class u extends o {
|
|
41
|
+
/**
|
|
42
|
+
* The chart title text.
|
|
43
|
+
*/
|
|
44
|
+
get titleText() {
|
|
45
|
+
return x(this._config);
|
|
46
|
+
}
|
|
47
|
+
set titleText(e) {
|
|
48
|
+
d(e, this._config);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
f([
|
|
52
|
+
m
|
|
53
|
+
], u.prototype, "titleText");
|
|
54
|
+
const T = (t) => t.series.map((e) => String(g({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
|
|
55
|
+
class Q extends o {
|
|
56
|
+
/**
|
|
57
|
+
* The split-by values for the chart.
|
|
58
|
+
*/
|
|
59
|
+
get splitByValues() {
|
|
60
|
+
return T(this._config);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
const _ = (t) => t.series.length ?? 0;
|
|
64
|
+
class R extends o {
|
|
65
|
+
/**
|
|
66
|
+
* The length of the series array.
|
|
67
|
+
*/
|
|
68
|
+
get seriesLength() {
|
|
69
|
+
return _(this._config);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
u as W,
|
|
74
|
+
T as a,
|
|
75
|
+
_ as b,
|
|
76
|
+
R as c,
|
|
77
|
+
Q as d,
|
|
78
|
+
x as g
|
|
79
|
+
};
|