@arcgis/charts-components 5.1.0-next.111 → 5.1.0-next.113
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/24TOMTMP.js +2 -0
- package/dist/cdn/2EPXIQFD.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/2SVBUT3V.js +2 -0
- package/dist/cdn/2XTQT6TW.js +2 -0
- package/dist/cdn/{ANMNNZTA.js → 2YI4HWFY.js} +39 -39
- package/dist/cdn/34WNZMJY.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4G5JOLEP.js +2 -0
- package/dist/cdn/4MZJZQDO.js +2 -0
- package/dist/cdn/52QMEXI6.js +2 -0
- package/dist/cdn/5I75UYWD.js +2 -0
- package/dist/cdn/5M72DGYL.js +2 -0
- package/dist/cdn/5PG6PXDG.js +2 -0
- package/dist/cdn/6FGRLBTA.js +2 -0
- package/dist/cdn/6JNHTWDQ.js +2 -0
- package/dist/cdn/6YSH3ROL.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7AVVBDQS.js +4 -0
- package/dist/cdn/7EDHTVVK.js +2 -0
- package/dist/cdn/7MHEEH5F.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7Y76VKGS.js +2 -0
- package/dist/cdn/AC2XSIOU.js +2 -0
- package/dist/cdn/AEESEH6N.js +2 -0
- package/dist/cdn/AYY2C4BW.js +2 -0
- package/dist/cdn/BH7WDRGU.js +2 -0
- package/dist/cdn/BZUQTY3A.js +2 -0
- package/dist/cdn/CMPHBGKB.js +2 -0
- package/dist/cdn/DDA7NVBX.js +2 -0
- package/dist/cdn/DMDXALHQ.js +2 -0
- package/dist/cdn/DX5LK7LS.js +2 -0
- package/dist/cdn/ERUYMQOC.js +2 -0
- package/dist/cdn/{CSNF7XRL.js → ESUMWLYT.js} +1 -1
- package/dist/cdn/EULFJ5JL.js +2 -0
- package/dist/cdn/EX27CNDS.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FYI7J2KF.js +2 -0
- package/dist/cdn/G42X3FFH.js +2 -0
- package/dist/cdn/GGZNH26O.js +2 -0
- package/dist/cdn/HIQSXKPT.js +3 -0
- package/dist/cdn/HS2WQJEO.js +2 -0
- package/dist/cdn/IBCUXQZ4.js +2 -0
- package/dist/cdn/IC4OZCXG.js +2 -0
- package/dist/cdn/JGD2M47O.js +2 -0
- package/dist/cdn/KGOERXN5.js +2 -0
- package/dist/cdn/{JEQDHNEJ.js → KPXH2MNB.js} +1 -1
- package/dist/cdn/KSBWHMXE.js +2 -0
- package/dist/cdn/{6KFD2LHE.js → L3ULFQN3.js} +1 -1
- package/dist/cdn/LKHNZDEC.js +2 -0
- package/dist/cdn/LXVLBS7T.js +2 -0
- package/dist/cdn/M5E3NFDP.js +2 -0
- package/dist/cdn/MKEUDI3M.js +2 -0
- package/dist/cdn/MKQPW6B4.js +2 -0
- package/dist/cdn/MVAMHZ3Q.js +2 -0
- package/dist/cdn/{VTJXTTAB.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/N265ZHHU.js +2 -0
- package/dist/cdn/N2S6YV3I.js +2 -0
- package/dist/cdn/N3EATDXE.js +2 -0
- package/dist/cdn/NLWP2JOG.js +2 -0
- package/dist/cdn/NR3BCOHU.js +3 -0
- package/dist/cdn/O2JEDVIA.js +2 -0
- package/dist/cdn/OB7IDW6S.js +2 -0
- package/dist/cdn/OBPCKG62.js +2 -0
- package/dist/cdn/OCERCT4I.js +2 -0
- package/dist/cdn/OFN7ED75.js +2 -0
- package/dist/cdn/OQSFVGUL.js +2 -0
- package/dist/cdn/PA3PSUQ3.js +2 -0
- package/dist/cdn/PYFMKPMO.js +2 -0
- package/dist/cdn/QRZ32JMG.js +2 -0
- package/dist/cdn/R3GNKVFS.js +2 -0
- package/dist/cdn/R3Y2F64T.js +2 -0
- package/dist/cdn/RBVV7JGY.js +102 -0
- package/dist/cdn/RSXO7AZM.js +2 -0
- package/dist/cdn/S32VCEG7.js +2 -0
- package/dist/cdn/S7ASARWB.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SVMC3JP5.js +2 -0
- package/dist/cdn/SYXU6NZX.js +2 -0
- package/dist/cdn/T3CSQ5DU.js +2 -0
- package/dist/cdn/T3NJTAF3.js +2 -0
- package/dist/cdn/T53WJZQN.js +2 -0
- package/dist/cdn/TES5ZESK.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/U5ZB4YD6.js +2 -0
- package/dist/cdn/UK2A3DRS.js +2 -0
- package/dist/cdn/UNDCO72C.js +2 -0
- package/dist/cdn/UR537UXK.js +2 -0
- package/dist/cdn/VMAOMKFN.js +2 -0
- package/dist/cdn/VV7JMGHL.js +2 -0
- package/dist/cdn/W6CIWZSM.js +2 -0
- package/dist/cdn/WA5XK3HC.js +2 -0
- package/dist/cdn/WD4QY4YU.js +2 -0
- package/dist/cdn/WESXMGHU.js +2 -0
- package/dist/cdn/WFDVEHVL.js +2 -0
- package/dist/cdn/WI3CE5TT.js +2 -0
- package/dist/cdn/WNZ2PSFZ.js +2 -0
- package/dist/cdn/XLJSZ42M.js +2 -0
- package/dist/cdn/XM6GBBOL.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/Y2AULE2F.js +2 -0
- package/dist/cdn/YE5ASSSN.js +2 -0
- package/dist/cdn/ZBLRD77K.js +2 -0
- package/dist/cdn/{5RMUCBSG.js → ZZRH7LXO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +12 -12
- package/dist/chunks/bar-chart-model.js +20 -47
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +132 -155
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +76 -103
- 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 -116
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +19 -18
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +82 -105
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +42 -69
- package/dist/chunks/generate-x-axis-title.js +39 -66
- package/dist/chunks/heat-chart-model.js +183 -183
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +24 -24
- package/dist/chunks/index.js +560 -21042
- package/dist/chunks/index2.js +8706 -596
- package/dist/chunks/index3.js +873 -160
- package/dist/chunks/index4.js +701 -76
- package/dist/chunks/index5.js +10794 -62
- package/dist/chunks/index6.js +99 -0
- package/dist/chunks/index7.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +12 -11
- package/dist/chunks/model-setter.js +44 -41
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-y-guides.js +89 -116
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +89 -111
- package/dist/chunks/pie-chart-model.js +46 -70
- package/dist/chunks/radar-chart-model.js +35 -62
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +24 -52
- package/dist/chunks/scatterplot-model.js +90 -112
- package/dist/chunks/serial-chart-data.js +540 -530
- package/dist/chunks/serial-chart-model.js +90 -115
- package/dist/chunks/series-length.js +25 -53
- package/dist/chunks/series-types.js +21 -206
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/time-zone.js +14 -15
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -192
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +75 -97
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +85 -83
- package/dist/chunks/x-bounds.js +69 -95
- package/dist/components/arcgis-chart/customElement.js +3670 -3637
- package/dist/components/arcgis-charts-action-bar/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-axis/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +33 -60
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +47 -70
- 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 +13 -40
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -45
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -68
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +55 -82
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -41
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +44 -68
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +14 -43
- 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 +153 -175
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -79
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +39 -62
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -50
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -46
- 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 +42 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +38 -65
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +31 -58
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +31 -55
- 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 +17 -43
- 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 +57 -3
- package/dist/index.js +464 -459
- package/dist/json-schema/index.d.ts +4839 -4825
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/model.js +77 -39
- package/dist/spec/web-chart.d.ts +5 -1
- package/dist/utils/layer/index.d.ts +3 -1
- package/dist/utils/layer/utils/index.d.ts +16 -4
- package/package.json +3 -3
- package/dist/cdn/2NCZCQJQ.js +0 -2
- package/dist/cdn/2QWN4KMQ.js +0 -2
- package/dist/cdn/3HHF7GDV.js +0 -2
- package/dist/cdn/43EPRNLY.js +0 -2
- package/dist/cdn/53YROF54.js +0 -2
- package/dist/cdn/57M5BGHO.js +0 -2
- package/dist/cdn/5Y2AIQMX.js +0 -2
- package/dist/cdn/6CGECXEP.js +0 -2
- package/dist/cdn/6MDEAZCW.js +0 -2
- package/dist/cdn/6YLXJOBN.js +0 -2
- package/dist/cdn/7LE76H3V.js +0 -2
- package/dist/cdn/7OK6DOOJ.js +0 -2
- package/dist/cdn/7QJ77UCB.js +0 -2
- package/dist/cdn/7XCTW7TF.js +0 -2
- package/dist/cdn/ABPBMLW4.js +0 -4
- package/dist/cdn/ACBNPWST.js +0 -2
- package/dist/cdn/AU5NU5OU.js +0 -2
- package/dist/cdn/AUKWLONZ.js +0 -2
- package/dist/cdn/B3TAQSVG.js +0 -2
- package/dist/cdn/B7BDZS5Q.js +0 -2
- package/dist/cdn/B7OT7NHE.js +0 -2
- package/dist/cdn/BIW46U2E.js +0 -2
- package/dist/cdn/BNMVFWWL.js +0 -2
- package/dist/cdn/BUPTELGR.js +0 -2
- package/dist/cdn/C3EG6JVL.js +0 -2
- package/dist/cdn/CEML6AMG.js +0 -2
- package/dist/cdn/CSISDIV5.js +0 -2
- package/dist/cdn/CXSBPI44.js +0 -2
- package/dist/cdn/DEWZASZK.js +0 -2
- package/dist/cdn/FJFVBE6K.js +0 -2
- package/dist/cdn/FLBXUDIS.js +0 -2
- package/dist/cdn/FQKOG42T.js +0 -2
- package/dist/cdn/FTXNBE44.js +0 -2
- package/dist/cdn/FU6JT3UD.js +0 -2
- package/dist/cdn/H7SXQSDY.js +0 -2
- package/dist/cdn/HFHPPFTL.js +0 -2
- package/dist/cdn/IQ5ZYJIB.js +0 -2
- package/dist/cdn/IVSSNIVI.js +0 -2
- package/dist/cdn/J27JNN6U.js +0 -2
- package/dist/cdn/J5O4KJG3.js +0 -2
- package/dist/cdn/KJHX7M5S.js +0 -2
- package/dist/cdn/KKDZFW5O.js +0 -2
- package/dist/cdn/KRZLTTVV.js +0 -2
- package/dist/cdn/KUOSDD5D.js +0 -2
- package/dist/cdn/L767SIJD.js +0 -2
- package/dist/cdn/LSF52M7M.js +0 -2
- package/dist/cdn/LW3BORFM.js +0 -2
- package/dist/cdn/M3ATYECI.js +0 -2
- package/dist/cdn/M6BMA2X5.js +0 -2
- package/dist/cdn/MCSGNGSS.js +0 -2
- package/dist/cdn/MJEMDC6S.js +0 -2
- package/dist/cdn/MY2TTPFJ.js +0 -2
- package/dist/cdn/MZQHYO73.js +0 -2
- package/dist/cdn/N6ZYLQ35.js +0 -2
- package/dist/cdn/ODM6XDHJ.js +0 -2
- package/dist/cdn/PAPWPFW4.js +0 -2
- package/dist/cdn/PDDEFX6K.js +0 -2
- package/dist/cdn/PNQ6VVJK.js +0 -2
- package/dist/cdn/QCO44WFX.js +0 -2
- package/dist/cdn/QCZO6SPY.js +0 -2
- package/dist/cdn/QJQCXQZQ.js +0 -2
- package/dist/cdn/QLBJVTC3.js +0 -2
- package/dist/cdn/QLRYZVYC.js +0 -2
- package/dist/cdn/QRJS3CVV.js +0 -2
- package/dist/cdn/QWCMSPHD.js +0 -2
- package/dist/cdn/RCS3DD7Z.js +0 -104
- package/dist/cdn/S52W7JS7.js +0 -2
- package/dist/cdn/SDWC5FQU.js +0 -2
- package/dist/cdn/SLGQSOZB.js +0 -2
- package/dist/cdn/SNQFOXQP.js +0 -2
- package/dist/cdn/STPMMRCH.js +0 -2
- package/dist/cdn/SUYBENSN.js +0 -2
- package/dist/cdn/TAW7DR2R.js +0 -2
- package/dist/cdn/TUM7FWOK.js +0 -2
- package/dist/cdn/UFCW5HCY.js +0 -2
- package/dist/cdn/URPIV4FP.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/V2LSSOBU.js +0 -2
- package/dist/cdn/V7JH3U65.js +0 -2
- package/dist/cdn/VFOLCHS4.js +0 -2
- package/dist/cdn/VFZ5WZJL.js +0 -2
- package/dist/cdn/WEAUUIMY.js +0 -2
- package/dist/cdn/WHL3PAOM.js +0 -2
- package/dist/cdn/WQRH2BWD.js +0 -2
- package/dist/cdn/WQRXJQDO.js +0 -2
- package/dist/cdn/WTIY4H4L.js +0 -2
- package/dist/cdn/WXEJ47F6.js +0 -2
- package/dist/cdn/XUAJWZRU.js +0 -2
- package/dist/cdn/XYTCID73.js +0 -2
- package/dist/cdn/Z7L63G6V.js +0 -2
- package/dist/cdn/ZJOBVONS.js +0 -2
- package/dist/cdn/ZZQFMONS.js +0 -2
- package/dist/chunks/setup-utils.js +0 -80
- package/dist/model/index.d.ts +0 -19
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{S5OM65RV.js → COYWSD6X.js} +0 -0
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { isEqual as re, capitalize as F, isNumber as j, zip as J } from "lodash-es";
|
|
3
3
|
import { b as E } from "./interfaces.js";
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import { R as le } from "./rest-js-object-literals.js";
|
|
8
|
-
import { g as se, a as W, b as ee, c as H } from "./box-plot-data.js";
|
|
9
|
-
import { g as ue } from "./histogram-data.js";
|
|
10
|
-
import { g as ce, a as fe, b as me } from "./pie-chart-data.js";
|
|
4
|
+
import { g as ne, a as W, b as ee, c as _ } from "./box-plot-data.js";
|
|
5
|
+
import { g as le } from "./histogram-data.js";
|
|
6
|
+
import { g as se, a as ue, b as ce } from "./pie-chart-data.js";
|
|
11
7
|
import { g as te } from "./series-length.js";
|
|
12
|
-
import { g as ae, a as oe, b as
|
|
13
|
-
import { g as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
8
|
+
import { g as ae, a as oe, b as fe } from "./serial-chart-data.js";
|
|
9
|
+
import { g as H, a as me } from "./data.js";
|
|
10
|
+
import { Y as I, an as de, af as ye, aK as N, B as v, ba as ge } from "./index2.js";
|
|
11
|
+
import { j as U, av as O, g as k, ap as be, b as xe, a as z } from "./index.js";
|
|
12
|
+
import { q as w, C as m, F as L } from "./index3.js";
|
|
13
|
+
import { g as pe } from "./series-types.js";
|
|
14
|
+
import { V as Fe } from "./index7.js";
|
|
15
|
+
import { P as Q } from "./common.js";
|
|
16
|
+
import { R as Se } from "./rest-js-object-literals.js";
|
|
17
|
+
import { u as V, d as B } from "./chart-object-literals.js";
|
|
16
18
|
function De(n) {
|
|
17
19
|
const { hour: e, minute: t = 0, format: i, locale: r = "en-US" } = n, o = i && Object.keys(i).length > 0 ? i : {
|
|
18
20
|
hour: "numeric",
|
|
@@ -48,17 +50,17 @@ function Z(n) {
|
|
|
48
50
|
const { value: e, formatLocale: t, unit: i, config: r, utilsStrings: o } = n;
|
|
49
51
|
let a = { label: "", value: e.toString() };
|
|
50
52
|
switch (i) {
|
|
51
|
-
case
|
|
53
|
+
case B.DayOfWeek:
|
|
52
54
|
a = {
|
|
53
55
|
label: o.heatChartCalendarDatePartsUnits.dayOfWeek,
|
|
54
56
|
value: he({
|
|
55
57
|
weekdayNumber: e,
|
|
56
|
-
firstDayOfWeek: "firstDayOfWeek" in r ? r.firstDayOfWeek :
|
|
58
|
+
firstDayOfWeek: "firstDayOfWeek" in r ? r.firstDayOfWeek : be,
|
|
57
59
|
locale: t
|
|
58
60
|
})
|
|
59
61
|
};
|
|
60
62
|
break;
|
|
61
|
-
case
|
|
63
|
+
case B.MonthOfYear:
|
|
62
64
|
a = {
|
|
63
65
|
label: o.heatChartCalendarDatePartsUnits.monthOfYear,
|
|
64
66
|
value: Pe({
|
|
@@ -67,7 +69,7 @@ function Z(n) {
|
|
|
67
69
|
})
|
|
68
70
|
};
|
|
69
71
|
break;
|
|
70
|
-
case
|
|
72
|
+
case B.HourOfDay:
|
|
71
73
|
a = {
|
|
72
74
|
label: o.heatChartCalendarDatePartsUnits.hourOfDay,
|
|
73
75
|
value: De({
|
|
@@ -77,31 +79,31 @@ function Z(n) {
|
|
|
77
79
|
})
|
|
78
80
|
};
|
|
79
81
|
break;
|
|
80
|
-
case
|
|
82
|
+
case B.DayOfMonth:
|
|
81
83
|
a = {
|
|
82
84
|
label: o.heatChartCalendarDatePartsUnits.dayOfMonth,
|
|
83
85
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
84
86
|
};
|
|
85
87
|
break;
|
|
86
|
-
case
|
|
88
|
+
case B.DayOfYear:
|
|
87
89
|
a = {
|
|
88
90
|
label: o.heatChartCalendarDatePartsUnits.dayOfYear,
|
|
89
91
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
90
92
|
};
|
|
91
93
|
break;
|
|
92
|
-
case
|
|
94
|
+
case B.MinuteOfDay:
|
|
93
95
|
a = {
|
|
94
96
|
label: o.heatChartCalendarDatePartsUnits.minuteOfDay,
|
|
95
97
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
96
98
|
};
|
|
97
99
|
break;
|
|
98
|
-
case
|
|
100
|
+
case B.WeekOfYear:
|
|
99
101
|
a = {
|
|
100
102
|
label: o.heatChartCalendarDatePartsUnits.weekOfYear,
|
|
101
103
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
102
104
|
};
|
|
103
105
|
break;
|
|
104
|
-
case
|
|
106
|
+
case B.QuarterOfYear:
|
|
105
107
|
a = {
|
|
106
108
|
label: o.heatChartCalendarDatePartsUnits.quarterOfYear,
|
|
107
109
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
@@ -110,19 +112,19 @@ function Z(n) {
|
|
|
110
112
|
}
|
|
111
113
|
return a;
|
|
112
114
|
}
|
|
113
|
-
function
|
|
115
|
+
function ve(n, e) {
|
|
114
116
|
return !re(n, e);
|
|
115
117
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
118
|
+
function Ge(n, e) {
|
|
119
|
+
return ve(n, e) || n !== e;
|
|
118
120
|
}
|
|
119
|
-
function
|
|
121
|
+
function Ae(n) {
|
|
120
122
|
return (new Intl.NumberFormat(n, {
|
|
121
123
|
minimumFractionDigits: 1,
|
|
122
124
|
maximumFractionDigits: 1
|
|
123
125
|
}).formatToParts(1.1).find((i) => i.type === "decimal")?.value ?? ".") === "." ? "," : ";";
|
|
124
126
|
}
|
|
125
|
-
function
|
|
127
|
+
function Be(n) {
|
|
126
128
|
return new Intl.NumberFormat(n, {
|
|
127
129
|
minimumFractionDigits: 1,
|
|
128
130
|
maximumFractionDigits: 1
|
|
@@ -136,18 +138,18 @@ const X = (n) => {
|
|
|
136
138
|
else if (e === void 0)
|
|
137
139
|
o = "";
|
|
138
140
|
else if (typeof e == "number" && Number.isFinite(e) && i !== void 0) {
|
|
139
|
-
const u =
|
|
141
|
+
const u = Be(i), c = r ?? o.split(u)[1]?.length ?? 2;
|
|
140
142
|
o = new Intl.NumberFormat(i, {
|
|
141
143
|
maximumFractionDigits: c
|
|
142
144
|
}).format(e).replace(/\u202F/gu, " ");
|
|
143
145
|
}
|
|
144
146
|
return (t || /[",\r\n]/u.test(o)) && (o = `"${o.replace(/"/gu, '""')}"`), o;
|
|
145
147
|
};
|
|
146
|
-
function
|
|
148
|
+
function Je(n, e = {}) {
|
|
147
149
|
const { columns: t, delimiter: i, includeHeader: r = !0, quoteAll: o = !1, locale: a, roundDecimals: u } = e, c = n.length === 0;
|
|
148
150
|
let l = "";
|
|
149
151
|
if (!c) {
|
|
150
|
-
const S = t ?? Object.keys(n[0]), p = [], x = i ??
|
|
152
|
+
const S = t ?? Object.keys(n[0]), p = [], x = i ?? Ae(a ?? "en");
|
|
151
153
|
if (a !== void 0 && x !== "," && (l += `sep=${x}\r
|
|
152
154
|
`), r) {
|
|
153
155
|
const y = S.map((s) => X({ value: s, quoteAll: o, locale: a, roundDecimals: u }));
|
|
@@ -161,35 +163,35 @@ function Xe(n, e = {}) {
|
|
|
161
163
|
}
|
|
162
164
|
return l;
|
|
163
165
|
}
|
|
164
|
-
function
|
|
166
|
+
function et(n) {
|
|
165
167
|
const { rawData: e, config: t, layer: i, fieldList: r, formatters: o, formatLocale: a, utilsStrings: u } = n;
|
|
166
168
|
let c = [];
|
|
167
169
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
168
|
-
const l =
|
|
169
|
-
l ===
|
|
170
|
+
const l = pe(t?.series);
|
|
171
|
+
l === V.HistogramSeries ? c = Ve(
|
|
170
172
|
t,
|
|
171
173
|
e,
|
|
172
174
|
o
|
|
173
|
-
) : l ===
|
|
175
|
+
) : l === V.HeatSeries ? c = Le({
|
|
174
176
|
config: t,
|
|
175
177
|
rows: e,
|
|
176
178
|
layer: i,
|
|
177
179
|
fieldList: r,
|
|
178
180
|
formatLocale: a,
|
|
179
181
|
utilsStrings: u
|
|
180
|
-
}) : l ===
|
|
182
|
+
}) : l === V.BarSeries || l === V.LineSeries || l === V.ComboLineAndBarSeries ? c = Me({
|
|
181
183
|
config: t,
|
|
182
184
|
rows: e,
|
|
183
185
|
layer: i,
|
|
184
186
|
fieldList: r,
|
|
185
187
|
formatters: o
|
|
186
|
-
}) : l ===
|
|
188
|
+
}) : l === V.PieSeries ? c = $e({
|
|
187
189
|
config: t,
|
|
188
190
|
rows: e,
|
|
189
191
|
layer: i,
|
|
190
192
|
fieldList: r,
|
|
191
193
|
formatters: o
|
|
192
|
-
}) : l ===
|
|
194
|
+
}) : l === V.BoxPlotSeries && (c = Te({
|
|
193
195
|
config: t,
|
|
194
196
|
rows: e,
|
|
195
197
|
fieldList: r,
|
|
@@ -225,7 +227,7 @@ function Ce(n) {
|
|
|
225
227
|
return e?.series?.[t]?.assignToSecondValueAxis === !0 ? i?.secondaryYAxisLabelFormatter : i?.yAxisLabelFormatter;
|
|
226
228
|
}
|
|
227
229
|
function Le(n) {
|
|
228
|
-
const { config: e, rows: t, layer: i, fieldList: r, formatLocale: o, utilsStrings: a } = n, [u] = e.series, c = u.x, l = ae(e), S = oe(e), p =
|
|
230
|
+
const { config: e, rows: t, layer: i, fieldList: r, formatLocale: o, utilsStrings: a } = n, [u] = e.series, c = u.x, l = ae(e), S = oe(e), p = H({
|
|
229
231
|
config: e,
|
|
230
232
|
xAxisField: c,
|
|
231
233
|
numericFields: S,
|
|
@@ -264,7 +266,7 @@ function Le(n) {
|
|
|
264
266
|
});
|
|
265
267
|
}
|
|
266
268
|
function Ve(n, e, t) {
|
|
267
|
-
const i =
|
|
269
|
+
const i = le(n), r = `${F(E.Min)} of ${i}`, o = `${F(E.Max)} of ${i}`, a = `${F(E.Count)} of ${i}`;
|
|
268
270
|
return e.map((u) => {
|
|
269
271
|
const { minValue: c, maxValue: l, count: S } = u, p = j(c), x = j(l), y = j(S), s = {};
|
|
270
272
|
if (p && (s[r] = P({
|
|
@@ -300,7 +302,7 @@ function Oe(n, e, t) {
|
|
|
300
302
|
return t ? r = t.map((o) => i.find((a) => a.toLowerCase().includes(o.toLowerCase())) || "") : r = i.filter((a) => a.toLowerCase().includes(e.toLowerCase())), r.filter((o) => o.trim() !== "");
|
|
301
303
|
}
|
|
302
304
|
function Me(n) {
|
|
303
|
-
const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a =
|
|
305
|
+
const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a = me(e), u = ae(e), c = F(u), l = oe(e), S = I(e.series), p = te(e), x = fe(e), { idField: y, isTraditionalTypeOID: s } = de(ye(i)), f = s && l.length === 1 && l[0] === y;
|
|
304
306
|
let d;
|
|
305
307
|
switch (S) {
|
|
306
308
|
case m.BarAndLineNoAggregation:
|
|
@@ -313,11 +315,11 @@ function Me(n) {
|
|
|
313
315
|
}), D = { [a]: b };
|
|
314
316
|
return Object.assign(
|
|
315
317
|
D,
|
|
316
|
-
...l.map((h,
|
|
318
|
+
...l.map((h, A) => ({
|
|
317
319
|
[h]: P({
|
|
318
320
|
value: g[h],
|
|
319
321
|
originalValue: g[h],
|
|
320
|
-
formatter: Y({ config: e, seriesIndex:
|
|
322
|
+
formatter: Y({ config: e, seriesIndex: A, formatters: o })
|
|
321
323
|
})
|
|
322
324
|
}))
|
|
323
325
|
), D;
|
|
@@ -346,21 +348,21 @@ function Me(n) {
|
|
|
346
348
|
fieldList: r,
|
|
347
349
|
formatter: o?.xAxisLabelFormatter
|
|
348
350
|
}), D = { [a]: b };
|
|
349
|
-
return l.forEach((h,
|
|
350
|
-
const $ =
|
|
351
|
+
return l.forEach((h, A) => {
|
|
352
|
+
const $ = H({
|
|
351
353
|
config: e,
|
|
352
354
|
xAxisField: a,
|
|
353
355
|
numericFields: l,
|
|
354
356
|
aggregationType: u,
|
|
355
357
|
layer: i,
|
|
356
|
-
numericFieldIndex:
|
|
358
|
+
numericFieldIndex: A,
|
|
357
359
|
fieldList: r
|
|
358
|
-
}), R = N(e.series)[
|
|
360
|
+
}), R = N(e.series)[A];
|
|
359
361
|
let q = R, K = R;
|
|
360
362
|
R.toLowerCase() === $.name.toLowerCase() && (q = $.description, K = $.name), D[q] = P({
|
|
361
363
|
value: g[K],
|
|
362
364
|
originalValue: g[K],
|
|
363
|
-
formatter: Y({ config: e, seriesIndex:
|
|
365
|
+
formatter: Y({ config: e, seriesIndex: A, formatters: o })
|
|
364
366
|
});
|
|
365
367
|
}), D;
|
|
366
368
|
});
|
|
@@ -373,13 +375,13 @@ function Me(n) {
|
|
|
373
375
|
fieldList: r,
|
|
374
376
|
formatter: o?.xAxisLabelFormatter
|
|
375
377
|
});
|
|
376
|
-
return p.map((h,
|
|
378
|
+
return p.map((h, A) => ({
|
|
377
379
|
[a]: D,
|
|
378
380
|
[x]: h,
|
|
379
381
|
[f ? c : `${c} of ${l[0]}`]: P({
|
|
380
|
-
value: g[b[
|
|
381
|
-
originalValue: g[b[
|
|
382
|
-
formatter: Ce({ config: e, splitValueIndex:
|
|
382
|
+
value: g[b[A]],
|
|
383
|
+
originalValue: g[b[A]],
|
|
384
|
+
formatter: Ce({ config: e, splitValueIndex: A, formatters: o })
|
|
383
385
|
})
|
|
384
386
|
}));
|
|
385
387
|
});
|
|
@@ -427,9 +429,9 @@ function ke(n) {
|
|
|
427
429
|
});
|
|
428
430
|
}
|
|
429
431
|
function $e(n) {
|
|
430
|
-
const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a =
|
|
432
|
+
const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a = se(e), u = I(e.series);
|
|
431
433
|
let c = ke(t);
|
|
432
|
-
const l =
|
|
434
|
+
const l = ue(e), S = u !== m.PieFromFields ? Q.Category : Q.Fields, p = ce(e, S), x = H({
|
|
433
435
|
config: e,
|
|
434
436
|
xAxisField: a,
|
|
435
437
|
numericFields: l,
|
|
@@ -474,18 +476,18 @@ function $e(n) {
|
|
|
474
476
|
}
|
|
475
477
|
function T(n) {
|
|
476
478
|
const { rawData: e, keyBase: t = "", outRow: i } = n;
|
|
477
|
-
for (const [r, o] of Object.entries(
|
|
479
|
+
for (const [r, o] of Object.entries(v)) {
|
|
478
480
|
const a = e[t + o];
|
|
479
481
|
a !== void 0 && (i[r] = a);
|
|
480
|
-
const u = e[t + o +
|
|
482
|
+
const u = e[t + o + xe];
|
|
481
483
|
u !== void 0 && (i[`${r} Outlier`] = u);
|
|
482
484
|
const c = e[t + o + z];
|
|
483
485
|
c !== void 0 && (i[`${r} Z-Score`] = c);
|
|
484
486
|
}
|
|
485
487
|
}
|
|
486
488
|
function M(n) {
|
|
487
|
-
const { rawData: e, outRow: t, config: i, boxPlotSubType: r, fieldList: o } = n, a = W(i), u = ee(i), c =
|
|
488
|
-
let l =
|
|
489
|
+
const { rawData: e, outRow: t, config: i, boxPlotSubType: r, fieldList: o } = n, a = W(i), u = ee(i), c = _(i);
|
|
490
|
+
let l = v.Outlier;
|
|
489
491
|
const S = k;
|
|
490
492
|
switch (r) {
|
|
491
493
|
case m.BoxPlotMonoFieldAndCategory: {
|
|
@@ -494,38 +496,38 @@ function M(n) {
|
|
|
494
496
|
value: e[a],
|
|
495
497
|
fieldList: o
|
|
496
498
|
});
|
|
497
|
-
t[a] = y, t[F(
|
|
499
|
+
t[a] = y, t[F(v.Outlier)] = e[l];
|
|
498
500
|
break;
|
|
499
501
|
}
|
|
500
502
|
case m.BoxPlotMultiFieldsAndCategory: {
|
|
501
503
|
t[F(a)] = e[a], l = `${u.find(
|
|
502
504
|
(s) => Object.keys(e).some((f) => f.toLowerCase().includes(s.toLowerCase()))
|
|
503
|
-
) ?? ""}_${l}`, t[F(
|
|
505
|
+
) ?? ""}_${l}`, t[F(v.Outlier)] = e[l];
|
|
504
506
|
break;
|
|
505
507
|
}
|
|
506
508
|
case m.BoxPlotMonoFieldAndSplitBy:
|
|
507
509
|
case m.BoxPlotMultiFieldsAndSplitBy: {
|
|
508
510
|
const y = String(e[c]);
|
|
509
|
-
l = `${y}_${l}`, t.Field = e[S], t[F(c)] = y, t[F(
|
|
511
|
+
l = `${y}_${l}`, t.Field = e[S], t[F(c)] = y, t[F(v.Outlier)] = e[l];
|
|
510
512
|
break;
|
|
511
513
|
}
|
|
512
514
|
case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
513
515
|
const y = String(e[c]);
|
|
514
|
-
l = `${y}_${l}`, t[F(a)] = e[a], t[F(c)] = y, t[F(
|
|
516
|
+
l = `${y}_${l}`, t[F(a)] = e[a], t[F(c)] = y, t[F(v.Outlier)] = e[l];
|
|
515
517
|
break;
|
|
516
518
|
}
|
|
517
519
|
case m.BoxPlotMonoField:
|
|
518
520
|
case m.BoxPlotMultiFields:
|
|
519
521
|
default: {
|
|
520
|
-
t.Field = e[S], t[F(
|
|
522
|
+
t.Field = e[S], t[F(v.Outlier)] = e[l];
|
|
521
523
|
break;
|
|
522
524
|
}
|
|
523
525
|
}
|
|
524
526
|
const p = `${l}${z}`, x = e[p];
|
|
525
|
-
x !== void 0 && (t[`${F(
|
|
527
|
+
x !== void 0 && (t[`${F(v.Outlier)} Z-Score`] = x);
|
|
526
528
|
}
|
|
527
529
|
function we(n) {
|
|
528
|
-
const { rawData: e, outRow: t, config: i, splitByValue: r } = n, o = I(i.series), a = e[`${r}_${
|
|
530
|
+
const { rawData: e, outRow: t, config: i, splitByValue: r } = n, o = I(i.series), a = e[`${r}_${v.Average}`], u = _(i), c = W(i);
|
|
529
531
|
let l = "";
|
|
530
532
|
switch (o) {
|
|
531
533
|
case m.BoxPlotMonoFieldAndSplitBy: {
|
|
@@ -533,31 +535,31 @@ function we(n) {
|
|
|
533
535
|
break;
|
|
534
536
|
}
|
|
535
537
|
case m.BoxPlotMultiFieldsAndSplitBy: {
|
|
536
|
-
l = `${r}_${
|
|
538
|
+
l = `${r}_${v.Average}`, t.Field = e[k], t[F(u)] = e[l];
|
|
537
539
|
break;
|
|
538
540
|
}
|
|
539
541
|
case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
540
|
-
l = `${r}_${
|
|
542
|
+
l = `${r}_${v.Average}`, t[c] = e[c], t[F(u)] = r;
|
|
541
543
|
break;
|
|
542
544
|
}
|
|
543
545
|
}
|
|
544
|
-
t[F(
|
|
546
|
+
t[F(v.Average)] = a;
|
|
545
547
|
const S = `${String(a)}${z}`, p = e[S];
|
|
546
|
-
p !== void 0 && (t[`${F(
|
|
548
|
+
p !== void 0 && (t[`${F(v.Average)} Z-Score`] = p);
|
|
547
549
|
}
|
|
548
550
|
function Te(n) {
|
|
549
551
|
const { config: e, rows: t, fieldList: i, formatters: r } = n, o = I(e.series);
|
|
550
552
|
let a = o;
|
|
551
|
-
const u =
|
|
553
|
+
const u = ne(e), c = Array.isArray(t) && t.length > 0 && t.every((s) => s[L.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
552
554
|
u && !c && (o === m.BoxPlotMonoFieldAndSplitBy ? a = m.BoxPlotMonoField : o === m.BoxPlotMultiFieldsAndSplitBy ? a = m.BoxPlotMultiFields : o === m.BoxPlotMonoFieldAndCategoryAndSplitBy && (a = m.BoxPlotMonoFieldAndCategory));
|
|
553
|
-
const l = W(e), S = ee(e), p = te(e), x =
|
|
555
|
+
const l = W(e), S = ee(e), p = te(e), x = _(e);
|
|
554
556
|
let y;
|
|
555
557
|
switch (a) {
|
|
556
558
|
case m.BoxPlotMonoField:
|
|
557
559
|
case m.BoxPlotMonoFieldAndCategory: {
|
|
558
560
|
y = t.map((s) => {
|
|
559
561
|
const f = {};
|
|
560
|
-
if (s[
|
|
562
|
+
if (s[L.boxPlot.boxPlotOutlierId])
|
|
561
563
|
M({ rawData: s, outRow: f, config: e, boxPlotSubType: a });
|
|
562
564
|
else {
|
|
563
565
|
if (a === m.BoxPlotMonoFieldAndCategory) {
|
|
@@ -578,7 +580,7 @@ function Te(n) {
|
|
|
578
580
|
case m.BoxPlotMultiFields: {
|
|
579
581
|
y = t.flatMap((s) => {
|
|
580
582
|
const f = {};
|
|
581
|
-
return s[
|
|
583
|
+
return s[L.boxPlot.boxPlotOutlierId] ? M({
|
|
582
584
|
rawData: s,
|
|
583
585
|
outRow: f,
|
|
584
586
|
config: e,
|
|
@@ -592,7 +594,7 @@ function Te(n) {
|
|
|
592
594
|
(s) => S.map((f) => {
|
|
593
595
|
const d = {};
|
|
594
596
|
let g = "";
|
|
595
|
-
if (d.Field = f, s[
|
|
597
|
+
if (d.Field = f, s[L.boxPlot.boxPlotOutlierId])
|
|
596
598
|
M({
|
|
597
599
|
rawData: s,
|
|
598
600
|
outRow: d,
|
|
@@ -620,7 +622,7 @@ function Te(n) {
|
|
|
620
622
|
case m.BoxPlotMultiFieldsAndSplitBy:
|
|
621
623
|
case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
622
624
|
y = t.flatMap((s) => {
|
|
623
|
-
if (s[
|
|
625
|
+
if (s[L.boxPlot.boxPlotOutlierId]) {
|
|
624
626
|
const f = {};
|
|
625
627
|
return M({
|
|
626
628
|
rawData: s,
|
|
@@ -628,7 +630,7 @@ function Te(n) {
|
|
|
628
630
|
config: e,
|
|
629
631
|
boxPlotSubType: a
|
|
630
632
|
}), [f];
|
|
631
|
-
} else return s[
|
|
633
|
+
} else return s[L.boxPlot.boxPlotMeanLineMarkerId] ? p?.map((f) => {
|
|
632
634
|
const d = {};
|
|
633
635
|
return we({
|
|
634
636
|
rawData: s,
|
|
@@ -647,7 +649,7 @@ function Te(n) {
|
|
|
647
649
|
});
|
|
648
650
|
d[l] = g;
|
|
649
651
|
}
|
|
650
|
-
return s[
|
|
652
|
+
return s[L.boxPlot.boxPlotOutlierId] ? M({
|
|
651
653
|
rawData: s,
|
|
652
654
|
outRow: d,
|
|
653
655
|
config: e,
|
|
@@ -670,27 +672,27 @@ const G = (n) => {
|
|
|
670
672
|
let r = t;
|
|
671
673
|
const o = i?.find((a) => a.name === e);
|
|
672
674
|
if (o) {
|
|
673
|
-
const a = o.type ===
|
|
674
|
-
|
|
675
|
+
const a = o.type === Se.DateOnly;
|
|
676
|
+
ge(o) && !a ? r = G(t) ? new Date(t).toISOString() : t : a && typeof t != "string" && (r = G(t) ? new Date(t).toISOString().split("T")[0] : t);
|
|
675
677
|
}
|
|
676
678
|
return r;
|
|
677
679
|
};
|
|
678
|
-
function
|
|
680
|
+
function tt(n) {
|
|
679
681
|
const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: i, syncViewTimeExtent: r } = n;
|
|
680
682
|
let o = e;
|
|
681
|
-
return t && (i ===
|
|
683
|
+
return t && (i === Fe.Refresh || r) && t.timeExtent?.start != null && t.timeExtent?.end != null && (o = {
|
|
682
684
|
...e,
|
|
683
685
|
timeExtent: [t.timeExtent.start.valueOf(), t.timeExtent.end.valueOf()]
|
|
684
686
|
}), o;
|
|
685
687
|
}
|
|
686
688
|
export {
|
|
687
|
-
|
|
689
|
+
ve as a,
|
|
688
690
|
De as b,
|
|
689
691
|
Pe as c,
|
|
690
692
|
he as d,
|
|
691
|
-
|
|
692
|
-
|
|
693
|
+
tt as e,
|
|
694
|
+
Je as f,
|
|
693
695
|
Z as g,
|
|
694
|
-
|
|
695
|
-
|
|
696
|
+
Ge as h,
|
|
697
|
+
et as t
|
|
696
698
|
};
|