@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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import "@arcgis/toolkit/intl";
|
|
3
|
+
import "lodash-es";
|
|
4
|
+
import "luxon";
|
|
5
|
+
import "d3-array";
|
|
6
|
+
import "@arcgis/toolkit/type";
|
|
7
|
+
import "./series-types.js";
|
|
8
|
+
import { aW as o } from "./index.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@esri/arcgis-html-sanitizer";
|
|
13
|
+
import "@arcgis/core/intl.js";
|
|
14
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
17
|
+
import "simple-statistics";
|
|
18
|
+
import "@arcgis/core/request.js";
|
|
19
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
20
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
21
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
22
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
24
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
25
|
+
import "./runtime.js";
|
|
26
|
+
import "@arcgis/toolkit/dom";
|
|
27
|
+
const j = (t) => t.lineSymbol?.style, k = (t, i) => {
|
|
28
|
+
i.lineSymbol ??= o(), i.lineSymbol.style = t;
|
|
29
|
+
}, q = (t) => t.lineSymbol?.width, v = (t, i) => {
|
|
30
|
+
i.lineSymbol ??= o(), i.lineSymbol.width = t;
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
q as a,
|
|
34
|
+
v as b,
|
|
35
|
+
j as g,
|
|
36
|
+
k as s
|
|
37
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import { M as o } from "./common.js";
|
|
3
|
+
import { v as i, w as n, x as c } from "./type-guards.js";
|
|
4
|
+
async function s(t) {
|
|
5
|
+
const r = "config" in t ? i(t.config) : t.chartType;
|
|
6
|
+
let a;
|
|
7
|
+
if (!("layer" in t) && !("iLayer" in t) && "config" in t && t.config.iLayer === void 0)
|
|
8
|
+
throw new Error(
|
|
9
|
+
"The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property."
|
|
10
|
+
);
|
|
11
|
+
switch (r) {
|
|
12
|
+
case o.LineChart: {
|
|
13
|
+
const { LineChartModel: e } = await import("./line-chart-model.js");
|
|
14
|
+
a = new e();
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
case o.ComboBarLineChart: {
|
|
18
|
+
const { ComboBarLineChartModel: e } = await import("./combo-bar-line-chart-model.js");
|
|
19
|
+
a = new e();
|
|
20
|
+
break;
|
|
21
|
+
}
|
|
22
|
+
case o.PieChart: {
|
|
23
|
+
const { PieChartModel: e } = await import("./pie-chart-model.js");
|
|
24
|
+
a = new e();
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
case o.Histogram: {
|
|
28
|
+
const { HistogramModel: e } = await import("./histogram-model.js");
|
|
29
|
+
a = new e();
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
case o.Scatterplot: {
|
|
33
|
+
const { ScatterplotModel: e } = await import("./scatterplot-model.js");
|
|
34
|
+
a = new e();
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
case o.BoxPlot: {
|
|
38
|
+
const { BoxPlotModel: e } = await import("./box-plot-model.js");
|
|
39
|
+
a = new e();
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
case o.Gauge: {
|
|
43
|
+
const { GaugeModel: e } = await import("./gauge-model.js");
|
|
44
|
+
a = new e();
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case o.RadarChart: {
|
|
48
|
+
const { RadarChartModel: e } = await import("./radar-chart-model.js");
|
|
49
|
+
a = new e();
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
case o.HeatChart: {
|
|
53
|
+
const { HeatChartModel: e } = await import("./heat-chart-model.js");
|
|
54
|
+
a = new e();
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
case o.BarChart:
|
|
58
|
+
default: {
|
|
59
|
+
const { BarChartModel: e } = await import("./bar-chart-model.js");
|
|
60
|
+
a = new e();
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
if (await a?.setup({
|
|
65
|
+
layer: "layer" in t ? t.layer : void 0,
|
|
66
|
+
iLayer: "iLayer" in t ? t.iLayer : void 0,
|
|
67
|
+
config: "config" in t ? t.config : void 0
|
|
68
|
+
}), r !== void 0 && n(a, r))
|
|
69
|
+
return a;
|
|
70
|
+
{
|
|
71
|
+
const e = c(a.chartType);
|
|
72
|
+
throw new Error(
|
|
73
|
+
`Please check the arguments provided to \`createModel\`. The generated model's type (\`${e}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${r}\`).`
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
s as c
|
|
79
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import "@arcgis/toolkit/type";
|
|
2
3
|
import { w as s, W as t } from "./series-types.js";
|
|
3
4
|
import { M as i } from "./common.js";
|
|
4
5
|
function a(e) {
|
|
@@ -27,7 +28,7 @@ function a(e) {
|
|
|
27
28
|
return;
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
|
-
function
|
|
31
|
+
function p(e) {
|
|
31
32
|
const r = s(e.series);
|
|
32
33
|
return a(r);
|
|
33
34
|
}
|
|
@@ -35,41 +36,41 @@ function h(e, r) {
|
|
|
35
36
|
const n = a(e?.chartType);
|
|
36
37
|
return e !== void 0 && n === r;
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
+
function y(e) {
|
|
39
40
|
return e !== void 0 && "config" in e;
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function d(e) {
|
|
42
43
|
return e?.chartType === t.BarSeries;
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function T(e) {
|
|
45
46
|
return e?.chartType === t.LineSeries;
|
|
46
47
|
}
|
|
47
|
-
function
|
|
48
|
+
function f(e) {
|
|
48
49
|
return e?.chartType === t.ComboLineAndBarSeries;
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
+
function S(e) {
|
|
51
52
|
const r = e?.chartType;
|
|
52
53
|
return r === t.LineSeries || r === t.BarSeries || r === t.ComboLineAndBarSeries || r === t.RadarSeries;
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function l(e) {
|
|
55
56
|
return e?.chartType === t.PieSeries;
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function M(e) {
|
|
58
59
|
return e?.chartType === t.BoxPlotSeries;
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function g(e) {
|
|
61
62
|
return e?.chartType === t.ScatterSeries;
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function C(e) {
|
|
64
65
|
return e?.chartType === t.HistogramSeries;
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function B(e) {
|
|
67
68
|
return e?.chartType === t.HeatSeries;
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function x(e) {
|
|
70
71
|
return e?.chartType === t.GaugeSeries;
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
+
function L(e) {
|
|
73
74
|
const r = [
|
|
74
75
|
t.BarSeries,
|
|
75
76
|
t.BoxPlotSeries,
|
|
@@ -81,57 +82,57 @@ function x(e) {
|
|
|
81
82
|
];
|
|
82
83
|
return e !== void 0 && r.includes(e.chartType) && "getAxisTitleText" in e && typeof e.getAxisTitleText == "function";
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
+
function v(e) {
|
|
85
86
|
return e !== void 0 && "setSeriesMarkerColor" in e;
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function G(e) {
|
|
88
89
|
return e !== void 0 && "getDataTooltipVisibility" in e;
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function b(e) {
|
|
91
92
|
return e !== void 0 && "getGuideVisibility" in e && typeof e.getGuideVisibility == "function";
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function A(e) {
|
|
94
95
|
return e !== void 0 && "addXAxisGuide" in e && typeof e.addXAxisGuide == "function";
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function H(e) {
|
|
97
98
|
return e !== void 0 && "addYAxisGuide" in e && typeof e.addYAxisGuide == "function";
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function P(e) {
|
|
100
101
|
return e !== void 0 && "legendVisibility" in e;
|
|
101
102
|
}
|
|
102
|
-
function
|
|
103
|
+
function W(e) {
|
|
103
104
|
return e !== void 0 && "displayCategory" in e;
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function m(e) {
|
|
106
107
|
return e !== void 0 && "temporalBinningSize" in e;
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function V(e, r) {
|
|
109
110
|
const n = a(e?.chartType);
|
|
110
111
|
return e !== void 0 && n === r;
|
|
111
112
|
}
|
|
112
113
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
114
|
+
d as a,
|
|
115
|
+
T as b,
|
|
116
|
+
f as c,
|
|
117
|
+
S as d,
|
|
118
|
+
l as e,
|
|
119
|
+
M as f,
|
|
120
|
+
g,
|
|
121
|
+
C as h,
|
|
122
|
+
y as i,
|
|
123
|
+
B as j,
|
|
124
|
+
x as k,
|
|
125
|
+
L as l,
|
|
126
|
+
v as m,
|
|
127
|
+
G as n,
|
|
128
|
+
b as o,
|
|
129
|
+
A as p,
|
|
130
|
+
H as q,
|
|
131
|
+
P as r,
|
|
132
|
+
W as s,
|
|
133
|
+
m as t,
|
|
134
|
+
V as u,
|
|
135
|
+
p as v,
|
|
135
136
|
h as w,
|
|
136
137
|
a as x
|
|
137
138
|
};
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import "@arcgis/toolkit/type";
|
|
2
3
|
import { e as T, W as c, a as F, w as C, g as w } from "./series-types.js";
|
|
3
4
|
import "@arcgis/toolkit/intl";
|
|
4
5
|
import "lodash-es";
|
|
@@ -20,7 +21,6 @@ import "simple-statistics";
|
|
|
20
21
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
21
22
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
22
23
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
23
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
24
24
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
26
|
import { s as H } from "./index4.js";
|
|
@@ -197,8 +197,8 @@ function Me(i) {
|
|
|
197
197
|
}
|
|
198
198
|
export {
|
|
199
199
|
ke as a,
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
De as b,
|
|
201
|
+
we as c,
|
|
202
202
|
Ie as d,
|
|
203
203
|
je as e,
|
|
204
204
|
Ne as f,
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -3,6 +3,7 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "luxon";
|
|
5
5
|
import "d3-array";
|
|
6
|
+
import "@arcgis/toolkit/type";
|
|
6
7
|
import "./series-types.js";
|
|
7
8
|
import { aI as x, aG as a, bB as l } from "./index.js";
|
|
8
9
|
import "@arcgis/core/Graphic.js";
|
|
@@ -18,7 +19,6 @@ import "@arcgis/core/request.js";
|
|
|
18
19
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
19
20
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
20
21
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
21
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
22
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { W as
|
|
3
|
-
import { isEqual as
|
|
4
|
-
import { o as V, bK as
|
|
2
|
+
import { W as B, w as q } from "./series-types.js";
|
|
3
|
+
import { isEqual as U, capitalize as F, isNumber as C, zip as E } from "lodash-es";
|
|
4
|
+
import { o as V, bK as X, cF as Y, df as c, aa as O, bz as h, di as M, aw as w, bO as W, ah as P, bw as J, bx as R } from "./index.js";
|
|
5
5
|
import { b as K } from "./interfaces.js";
|
|
6
6
|
import { a as z } from "./common.js";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { g as
|
|
7
|
+
import "@arcgis/toolkit/type";
|
|
8
|
+
import { j as ee, n as N, p as G, o as I } from "./box-plot-data.js";
|
|
9
|
+
import { a as Q } from "./series-length.js";
|
|
10
|
+
import { g as te } from "./histogram-data.js";
|
|
11
|
+
import { g as oe, a as ie, b as ae } from "./pie-chart-data.js";
|
|
12
|
+
import { P as se, Q as ne, R as re } from "./serial-chart-data.js";
|
|
11
13
|
import { b as le, g as Z } from "./data.js";
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
],
|
|
14
|
+
const Oe = [
|
|
15
|
+
B.BarSeries,
|
|
16
|
+
B.BoxPlotSeries,
|
|
17
|
+
B.LineSeries,
|
|
18
|
+
B.PieSeries,
|
|
19
|
+
B.HistogramSeries,
|
|
20
|
+
B.ScatterSeries
|
|
21
|
+
], Ve = 1, ke = { PNG: "png" };
|
|
20
22
|
function ce(n, e) {
|
|
21
|
-
return !
|
|
23
|
+
return !U(n, e);
|
|
22
24
|
}
|
|
23
|
-
function
|
|
25
|
+
function Te(n, e) {
|
|
24
26
|
return ce(n, e) || n !== e;
|
|
25
27
|
}
|
|
26
28
|
function ue(n) {
|
|
@@ -50,7 +52,7 @@ const H = (n) => {
|
|
|
50
52
|
}
|
|
51
53
|
return (t || /[",\r\n]/u.test(a)) && (a = `"${a.replace(/"/gu, '""')}"`), a;
|
|
52
54
|
};
|
|
53
|
-
function
|
|
55
|
+
function Ke(n, e = {}) {
|
|
54
56
|
const { columns: t, delimiter: r, includeHeader: a = !0, quoteAll: o = !1, locale: i } = e, f = n.length === 0;
|
|
55
57
|
let l = "";
|
|
56
58
|
if (!f) {
|
|
@@ -68,22 +70,22 @@ function ke(n, e = {}) {
|
|
|
68
70
|
}
|
|
69
71
|
return l;
|
|
70
72
|
}
|
|
71
|
-
function
|
|
73
|
+
function Re(n) {
|
|
72
74
|
const { rawData: e, config: t, layer: r, fieldList: a } = n;
|
|
73
75
|
let o = e;
|
|
74
76
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
75
77
|
const i = q(t?.series);
|
|
76
|
-
i ===
|
|
78
|
+
i === B.HistogramSeries ? o = fe(t, e) : i === B.BarSeries || i === B.LineSeries || i === B.ComboLineAndBarSeries ? o = ye({
|
|
77
79
|
config: t,
|
|
78
80
|
rows: e,
|
|
79
81
|
layer: r,
|
|
80
82
|
fieldList: a
|
|
81
|
-
}) : i ===
|
|
83
|
+
}) : i === B.PieSeries ? o = pe({
|
|
82
84
|
config: t,
|
|
83
85
|
rows: e,
|
|
84
86
|
layer: r,
|
|
85
87
|
fieldList: a
|
|
86
|
-
}) : i ===
|
|
88
|
+
}) : i === B.BoxPlotSeries && (o = xe({
|
|
87
89
|
config: t,
|
|
88
90
|
rows: e,
|
|
89
91
|
fieldList: a
|
|
@@ -92,7 +94,7 @@ function Te(n) {
|
|
|
92
94
|
return o;
|
|
93
95
|
}
|
|
94
96
|
function fe(n, e) {
|
|
95
|
-
const t =
|
|
97
|
+
const t = te(n), r = `${F(K.Min)} of ${t}`, a = `${F(K.Max)} of ${t}`, o = `${F(K.Count)} of ${t}`;
|
|
96
98
|
return e.map((i) => {
|
|
97
99
|
const { minValue: f, maxValue: l, count: m } = i, x = C(f), g = C(l), y = C(m), s = {};
|
|
98
100
|
return x && (s[r] = f.toFixed(2)), g && (s[a] = l.toFixed(2)), x && g && (s.Label = `${f.toFixed(2)} - ${l.toFixed(2)}`), y && (s[o] = m), s;
|
|
@@ -104,7 +106,7 @@ function me(n, e, t) {
|
|
|
104
106
|
return t ? a = t.map((o) => r.find((i) => i.toLowerCase().includes(o.toLowerCase())) || "") : a = r.filter((i) => i.toLowerCase().includes(e.toLowerCase())), a.filter((o) => o.trim() !== "");
|
|
105
107
|
}
|
|
106
108
|
function ye(n) {
|
|
107
|
-
const { config: e, rows: t, layer: r, fieldList: a } = n, o = le(e), i =
|
|
109
|
+
const { config: e, rows: t, layer: r, fieldList: a } = n, o = le(e), i = se(e), f = F(i), l = ne(e), m = V(e.series), x = Q(e), g = re(e), { idField: y, isTraditionalTypeOID: s } = X(Y(r)), d = s && l.length === 1 && l[0] === y;
|
|
108
110
|
let u;
|
|
109
111
|
switch (m) {
|
|
110
112
|
case c.BarAndLineNoAggregation:
|
|
@@ -194,15 +196,15 @@ function ge(n, e = 2) {
|
|
|
194
196
|
for (const [o, i] of Object.entries(r))
|
|
195
197
|
if (typeof i == "number" && t[o] > 0) {
|
|
196
198
|
const f = i / t[o] * 100;
|
|
197
|
-
a[`${o}${
|
|
199
|
+
a[`${o}${h}`] = `${f.toFixed(e)}%`;
|
|
198
200
|
}
|
|
199
201
|
return a;
|
|
200
202
|
});
|
|
201
203
|
}
|
|
202
204
|
function pe(n) {
|
|
203
|
-
const { config: e, rows: t, layer: r, fieldList: a } = n, o =
|
|
205
|
+
const { config: e, rows: t, layer: r, fieldList: a } = n, o = oe(e), i = V(e.series);
|
|
204
206
|
let f = ge(t, 2);
|
|
205
|
-
const l =
|
|
207
|
+
const l = ie(e), m = i !== c.PieFromFields ? z.Category : z.Fields, x = ae(e, m), g = Z({
|
|
206
208
|
config: e,
|
|
207
209
|
xAxisField: o,
|
|
208
210
|
numericFields: l,
|
|
@@ -218,26 +220,26 @@ function pe(n) {
|
|
|
218
220
|
fieldList: a
|
|
219
221
|
}), u = { [o]: d };
|
|
220
222
|
let p = y, b = y;
|
|
221
|
-
return i === c.PieFromCategory && y.toLowerCase() === g.name.toLowerCase() && (p = g.description, b = g.name), u[p] = s[b], u[F(
|
|
223
|
+
return i === c.PieFromCategory && y.toLowerCase() === g.name.toLowerCase() && (p = g.description, b = g.name), u[p] = s[b], u[F(h.trim())] = s[`${b}${h}`], u;
|
|
222
224
|
}) : i === c.PieFromFields && (f = E(l, f).map(([s, d]) => {
|
|
223
225
|
const u = {};
|
|
224
|
-
return d !== void 0 && s !== void 0 && (u.Field = d[o], u.Value = d[y], u[F(
|
|
226
|
+
return d !== void 0 && s !== void 0 && (u.Field = d[o], u.Value = d[y], u[F(h.trim())] = d[`${y}${h}`]), u;
|
|
225
227
|
})), f;
|
|
226
228
|
}
|
|
227
229
|
function L(n) {
|
|
228
230
|
const { rawData: e, keyBase: t = "", outRow: r } = n;
|
|
229
|
-
for (const [a, o] of Object.entries(
|
|
231
|
+
for (const [a, o] of Object.entries(P)) {
|
|
230
232
|
const i = e[t + o];
|
|
231
233
|
i !== void 0 && (r[a] = C(i) ? i.toFixed(2) : i);
|
|
232
234
|
const f = e[t + o + J];
|
|
233
235
|
f !== void 0 && (r[`${a} Outlier`] = C(f) ? f.toFixed(2) : f);
|
|
234
|
-
const l = e[t + o +
|
|
236
|
+
const l = e[t + o + R];
|
|
235
237
|
l !== void 0 && (r[`${a} Z-Score`] = C(l) ? l.toFixed(2) : l);
|
|
236
238
|
}
|
|
237
239
|
}
|
|
238
|
-
function
|
|
239
|
-
const { rawData: e, outRow: t, config: r, boxPlotSubType: a, fieldList: o } = n, i =
|
|
240
|
-
let m =
|
|
240
|
+
function D(n) {
|
|
241
|
+
const { rawData: e, outRow: t, config: r, boxPlotSubType: a, fieldList: o } = n, i = N(r), f = G(r), l = I(r);
|
|
242
|
+
let m = P.Outlier;
|
|
241
243
|
const x = w;
|
|
242
244
|
switch (a) {
|
|
243
245
|
case c.BoxPlotMonoFieldAndCategory: {
|
|
@@ -246,38 +248,38 @@ function h(n) {
|
|
|
246
248
|
value: e[i],
|
|
247
249
|
fieldList: o
|
|
248
250
|
});
|
|
249
|
-
t[i] = s, t[F(
|
|
251
|
+
t[i] = s, t[F(P.Outlier)] = e[m];
|
|
250
252
|
break;
|
|
251
253
|
}
|
|
252
254
|
case c.BoxPlotMultiFieldsAndCategory: {
|
|
253
255
|
t[F(i)] = e[i], m = `${f.find(
|
|
254
256
|
(d) => Object.keys(e).some((u) => u.toLowerCase().includes(d.toLowerCase()))
|
|
255
|
-
) ?? ""}_${m}`, t[F(
|
|
257
|
+
) ?? ""}_${m}`, t[F(P.Outlier)] = e[m];
|
|
256
258
|
break;
|
|
257
259
|
}
|
|
258
260
|
case c.BoxPlotMonoFieldAndSplitBy:
|
|
259
261
|
case c.BoxPlotMultiFieldsAndSplitBy: {
|
|
260
262
|
const s = e[l];
|
|
261
|
-
m = `${s}_${m}`, t.Field = e[x], t[F(l)] = s, t[F(
|
|
263
|
+
m = `${s}_${m}`, t.Field = e[x], t[F(l)] = s, t[F(P.Outlier)] = e[m];
|
|
262
264
|
break;
|
|
263
265
|
}
|
|
264
266
|
case c.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
265
267
|
const s = e[l];
|
|
266
|
-
m = `${s}_${m}`, t[F(i)] = e[i], t[F(l)] = s, t[F(
|
|
268
|
+
m = `${s}_${m}`, t[F(i)] = e[i], t[F(l)] = s, t[F(P.Outlier)] = e[m];
|
|
267
269
|
break;
|
|
268
270
|
}
|
|
269
271
|
case c.BoxPlotMonoField:
|
|
270
272
|
case c.BoxPlotMultiFields:
|
|
271
273
|
default: {
|
|
272
|
-
t.Field = e[x], t[F(
|
|
274
|
+
t.Field = e[x], t[F(P.Outlier)] = e[m];
|
|
273
275
|
break;
|
|
274
276
|
}
|
|
275
277
|
}
|
|
276
|
-
const g = `${m}${
|
|
277
|
-
y !== void 0 && (t[`${F(
|
|
278
|
+
const g = `${m}${R}`, y = e[g];
|
|
279
|
+
y !== void 0 && (t[`${F(P.Outlier)} Z-Score`] = C(y) ? y.toFixed(2) : y);
|
|
278
280
|
}
|
|
279
281
|
function Fe(n) {
|
|
280
|
-
const { rawData: e, outRow: t, config: r, splitByValue: a } = n, o = V(r.series), i = e[`${a}_${
|
|
282
|
+
const { rawData: e, outRow: t, config: r, splitByValue: a } = n, o = V(r.series), i = e[`${a}_${P.Average}`], f = I(r), l = N(r);
|
|
281
283
|
let m = "";
|
|
282
284
|
switch (o) {
|
|
283
285
|
case c.BoxPlotMonoFieldAndSplitBy: {
|
|
@@ -285,24 +287,24 @@ function Fe(n) {
|
|
|
285
287
|
break;
|
|
286
288
|
}
|
|
287
289
|
case c.BoxPlotMultiFieldsAndSplitBy: {
|
|
288
|
-
m = `${a}_${
|
|
290
|
+
m = `${a}_${P.Average}`, t.Field = e[w], t[F(f)] = e[m];
|
|
289
291
|
break;
|
|
290
292
|
}
|
|
291
293
|
case c.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
292
|
-
m = `${a}_${
|
|
294
|
+
m = `${a}_${P.Average}`, t[l] = e[l], t[F(f)] = a;
|
|
293
295
|
break;
|
|
294
296
|
}
|
|
295
297
|
}
|
|
296
|
-
t[F(
|
|
297
|
-
const x = `${i}${
|
|
298
|
-
g !== void 0 && (t[`${F(
|
|
298
|
+
t[F(P.Average)] = C(i) ? i.toFixed(2) : i;
|
|
299
|
+
const x = `${i}${R}`, g = e[x];
|
|
300
|
+
g !== void 0 && (t[`${F(P.Average)} Z-Score`] = C(g) ? g.toFixed(2) : g);
|
|
299
301
|
}
|
|
300
302
|
function xe(n) {
|
|
301
303
|
const { config: e, rows: t, fieldList: r } = n, a = V(e.series);
|
|
302
304
|
let o = a;
|
|
303
305
|
const i = ee(e), f = Array.isArray(t) && t.length > 0 && t.every((s) => s[M.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
304
306
|
i && !f && (a === c.BoxPlotMonoFieldAndSplitBy ? o = c.BoxPlotMonoField : a === c.BoxPlotMultiFieldsAndSplitBy ? o = c.BoxPlotMultiFields : a === c.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = c.BoxPlotMonoFieldAndCategory));
|
|
305
|
-
const l =
|
|
307
|
+
const l = N(e), m = G(e), x = Q(e), g = I(e);
|
|
306
308
|
let y;
|
|
307
309
|
switch (o) {
|
|
308
310
|
case c.BoxPlotMonoField:
|
|
@@ -310,7 +312,7 @@ function xe(n) {
|
|
|
310
312
|
y = t.map((s) => {
|
|
311
313
|
const d = {};
|
|
312
314
|
if (s[M.boxPlot.boxPlotOutlierId])
|
|
313
|
-
|
|
315
|
+
D({ rawData: s, outRow: d, config: e, boxPlotSubType: o });
|
|
314
316
|
else {
|
|
315
317
|
if (o === c.BoxPlotMonoFieldAndCategory) {
|
|
316
318
|
const u = A({
|
|
@@ -329,7 +331,7 @@ function xe(n) {
|
|
|
329
331
|
case c.BoxPlotMultiFields: {
|
|
330
332
|
y = t.flatMap((s) => {
|
|
331
333
|
const d = {};
|
|
332
|
-
return s[M.boxPlot.boxPlotOutlierId] ?
|
|
334
|
+
return s[M.boxPlot.boxPlotOutlierId] ? D({
|
|
333
335
|
rawData: s,
|
|
334
336
|
outRow: d,
|
|
335
337
|
config: e,
|
|
@@ -344,7 +346,7 @@ function xe(n) {
|
|
|
344
346
|
const u = {};
|
|
345
347
|
let p = "";
|
|
346
348
|
if (u.Field = d, s[M.boxPlot.boxPlotOutlierId])
|
|
347
|
-
|
|
349
|
+
D({
|
|
348
350
|
rawData: s,
|
|
349
351
|
outRow: u,
|
|
350
352
|
config: e,
|
|
@@ -372,7 +374,7 @@ function xe(n) {
|
|
|
372
374
|
y = t.flatMap((s) => {
|
|
373
375
|
if (s[M.boxPlot.boxPlotOutlierId]) {
|
|
374
376
|
const d = {};
|
|
375
|
-
return
|
|
377
|
+
return D({
|
|
376
378
|
rawData: s,
|
|
377
379
|
outRow: d,
|
|
378
380
|
config: e,
|
|
@@ -396,7 +398,7 @@ function xe(n) {
|
|
|
396
398
|
});
|
|
397
399
|
u[l] = p;
|
|
398
400
|
}
|
|
399
|
-
return s[M.boxPlot.boxPlotOutlierId] ?
|
|
401
|
+
return s[M.boxPlot.boxPlotOutlierId] ? D({
|
|
400
402
|
rawData: s,
|
|
401
403
|
outRow: u,
|
|
402
404
|
config: e,
|
|
@@ -419,17 +421,17 @@ const be = (n) => {
|
|
|
419
421
|
let a = !1;
|
|
420
422
|
return r !== void 0 && r.length > 0 && (a = W(r).some((i) => i === e)), be(t) && a ? new Date(t).toISOString() : t;
|
|
421
423
|
};
|
|
422
|
-
function
|
|
424
|
+
function Ne() {
|
|
423
425
|
const n = () => ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
424
426
|
return `${n() + n()}-${n()}-${n()}-${n()}-${n()}${n()}${n()}`;
|
|
425
427
|
}
|
|
426
428
|
export {
|
|
427
|
-
|
|
429
|
+
ke as D,
|
|
428
430
|
ce as a,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
431
|
+
Ke as b,
|
|
432
|
+
Ne as g,
|
|
433
|
+
Te as h,
|
|
434
|
+
Ve as m,
|
|
435
|
+
Oe as s,
|
|
436
|
+
Re as t
|
|
435
437
|
};
|
|
@@ -123,6 +123,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
123
123
|
scatterplot: string;
|
|
124
124
|
boxPlot: string;
|
|
125
125
|
heatChart: string;
|
|
126
|
+
calendarHeatChart: string;
|
|
127
|
+
matrixHeatChart: string;
|
|
126
128
|
};
|
|
127
129
|
statistics: {
|
|
128
130
|
mean: string;
|
|
@@ -169,6 +171,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
169
171
|
weekOfYear: string;
|
|
170
172
|
quarterOfYear: string;
|
|
171
173
|
};
|
|
174
|
+
null: string;
|
|
172
175
|
};
|
|
173
176
|
errorStrings: {
|
|
174
177
|
errorHeading: string;
|
|
@@ -375,6 +378,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
375
378
|
scatterplot: string;
|
|
376
379
|
boxPlot: string;
|
|
377
380
|
heatChart: string;
|
|
381
|
+
calendarHeatChart: string;
|
|
382
|
+
matrixHeatChart: string;
|
|
378
383
|
};
|
|
379
384
|
statistics: {
|
|
380
385
|
mean: string;
|
|
@@ -421,6 +426,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
421
426
|
weekOfYear: string;
|
|
422
427
|
quarterOfYear: string;
|
|
423
428
|
};
|
|
429
|
+
null: string;
|
|
424
430
|
};
|
|
425
431
|
errorStrings: {
|
|
426
432
|
errorHeading: string;
|
|
@@ -850,6 +856,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
850
856
|
scatterplot?: string | undefined;
|
|
851
857
|
boxPlot?: string | undefined;
|
|
852
858
|
heatChart?: string | undefined;
|
|
859
|
+
calendarHeatChart?: string | undefined;
|
|
860
|
+
matrixHeatChart?: string | undefined;
|
|
853
861
|
} | undefined;
|
|
854
862
|
statistics?: {
|
|
855
863
|
mean?: string | undefined;
|
|
@@ -896,6 +904,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
896
904
|
weekOfYear?: string | undefined;
|
|
897
905
|
quarterOfYear?: string | undefined;
|
|
898
906
|
} | undefined;
|
|
907
|
+
null?: string | undefined;
|
|
899
908
|
} | undefined;
|
|
900
909
|
errorStrings?: {
|
|
901
910
|
errorHeading?: string | undefined;
|