@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,103 +1,76 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import { r as
|
|
2
|
+
import { C as b } from "./chart-model.js";
|
|
3
|
+
import { r as o, k as h, s as x, l as A, m as C, n as m, o as L, p as V, a as v } from "./utils.js";
|
|
4
4
|
import { cloneDeep as T } from "lodash-es";
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import "@arcgis/toolkit/intl";
|
|
8
|
-
import "luxon";
|
|
9
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
10
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
11
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
12
|
-
import { aL as g } from "./index.js";
|
|
13
|
-
import "@arcgis/core/Graphic.js";
|
|
14
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import "@esri/arcgis-html-sanitizer";
|
|
19
|
-
import "@arcgis/core/intl.js";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/core/sql.js";
|
|
23
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
24
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
25
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
26
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
27
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
28
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
29
|
-
import "./runtime.js";
|
|
30
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
32
|
-
import "@arcgis/core/geometry/Point.js";
|
|
33
|
-
import "@arcgis/toolkit/dom";
|
|
5
|
+
import { j as y } from "./chart-object-literals.js";
|
|
6
|
+
import { G as g } from "./index.js";
|
|
34
7
|
import { m as r } from "./model-setter.js";
|
|
35
|
-
import { g as S, b as B, e as
|
|
8
|
+
import { g as S, b as B, e as G, f as M, c as O, d as D, a as I, s as z } from "./utils2.js";
|
|
36
9
|
import { M as _, a as H, d as Y } from "./x-bounds.js";
|
|
37
|
-
import { G as
|
|
10
|
+
import { G as p } from "./common.js";
|
|
38
11
|
const P = (t) => {
|
|
39
12
|
for (const i of t.axes ?? [])
|
|
40
13
|
if (i?.grid !== void 0)
|
|
41
14
|
return i.grid;
|
|
42
15
|
}, k = (t, i, s) => {
|
|
43
|
-
const
|
|
16
|
+
const e = i.axes;
|
|
44
17
|
s.forEach((c) => {
|
|
45
|
-
|
|
18
|
+
e?.[c] !== void 0 && (e[c].grid = T(t));
|
|
46
19
|
});
|
|
47
20
|
}, F = (t, i) => i.axes?.[t]?.visible ?? !0, W = (t, i, s) => {
|
|
48
|
-
const
|
|
49
|
-
|
|
21
|
+
const e = s.axes?.[i];
|
|
22
|
+
e !== void 0 && (e.visible = t);
|
|
50
23
|
}, Z = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
|
|
51
24
|
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = i);
|
|
52
25
|
}, N = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, j = (t) => {
|
|
53
|
-
const { config: i, displayCursorTooltip: s, axisIndex:
|
|
54
|
-
i.axes?.[
|
|
26
|
+
const { config: i, displayCursorTooltip: s, axisIndex: e } = t;
|
|
27
|
+
i.axes?.[e] !== void 0 && (i.axes[e].displayCursorTooltip = s);
|
|
55
28
|
}, $ = (t, i) => t.axes?.[i]?.buffer ?? !1, U = (t) => {
|
|
56
|
-
const { config: i, buffer: s, axisIndex:
|
|
29
|
+
const { config: i, buffer: s, axisIndex: e } = t, c = i.axes?.[e];
|
|
57
30
|
c !== void 0 && (c.buffer = s);
|
|
58
31
|
}, E = (t, i) => t.axes?.[i]?.tickSpacing, R = (t) => {
|
|
59
|
-
const { config: i, tickSpacing: s, axisIndex:
|
|
60
|
-
i.axes?.[
|
|
32
|
+
const { config: i, tickSpacing: s, axisIndex: e } = t;
|
|
33
|
+
i.axes?.[e] !== void 0 && (i.axes[e].tickSpacing = s);
|
|
61
34
|
}, X = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, q = (t) => {
|
|
62
|
-
const { config: i, integerOnlyValues: s, axisIndex:
|
|
63
|
-
i.axes?.[
|
|
35
|
+
const { config: i, integerOnlyValues: s, axisIndex: e } = t;
|
|
36
|
+
i.axes?.[e] !== void 0 && (i.axes[e].integerOnlyValues = s);
|
|
64
37
|
}, J = (t) => t.horizontalAxisLabelsBehavior ?? y.Rotate, K = (t, i) => {
|
|
65
38
|
i.horizontalAxisLabelsBehavior = t;
|
|
66
39
|
}, Q = (t) => t.verticalAxisLabelsBehavior ?? y.Wrap, ii = (t, i) => {
|
|
67
40
|
i.verticalAxisLabelsBehavior = t;
|
|
68
41
|
}, si = (t) => t.cursorCrosshair?.horizontalLineVisible ?? !1, ti = (t, i) => {
|
|
69
42
|
i.cursorCrosshair === void 0 && (i.cursorCrosshair = g()), i.cursorCrosshair.horizontalLineVisible = t;
|
|
70
|
-
},
|
|
43
|
+
}, ei = (t) => t.cursorCrosshair?.verticalLineVisible ?? !1, oi = (t, i) => {
|
|
71
44
|
i.cursorCrosshair === void 0 && (i.cursorCrosshair = g()), i.cursorCrosshair.verticalLineVisible = t;
|
|
72
45
|
}, ri = (t) => t.cursorCrosshair?.style, ni = (t, i) => {
|
|
73
46
|
i.cursorCrosshair === void 0 && (i.cursorCrosshair = g()), i.cursorCrosshair.style = t;
|
|
74
47
|
}, ai = (t) => t.cursorCrosshair, ci = (t, i) => {
|
|
75
48
|
i.cursorCrosshair = t;
|
|
76
49
|
};
|
|
77
|
-
var fi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, n = (t, i, s,
|
|
50
|
+
var fi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, n = (t, i, s, e) => {
|
|
78
51
|
for (var c = li(i, s), f = t.length - 1, l; f >= 0; f--)
|
|
79
52
|
(l = t[f]) && (c = l(i, s, c) || c);
|
|
80
53
|
return c && fi(i, s, c), c;
|
|
81
54
|
};
|
|
82
|
-
class a extends
|
|
55
|
+
class a extends b {
|
|
83
56
|
/**
|
|
84
57
|
* Gets the title text of the specified axis.
|
|
85
58
|
*
|
|
86
59
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
87
60
|
*/
|
|
88
61
|
getAxisTitleText(i) {
|
|
89
|
-
return
|
|
62
|
+
return o({
|
|
90
63
|
config: this._config,
|
|
91
64
|
axisIndex: i,
|
|
92
65
|
func: (s) => S(s, this._config)
|
|
93
66
|
}) ?? "";
|
|
94
67
|
}
|
|
95
68
|
setAxisTitleText(i, s) {
|
|
96
|
-
|
|
69
|
+
o({
|
|
97
70
|
config: this._config,
|
|
98
71
|
axisIndex: s,
|
|
99
|
-
func: (
|
|
100
|
-
B(i,
|
|
72
|
+
func: (e) => {
|
|
73
|
+
B(i, e, this._config);
|
|
101
74
|
}
|
|
102
75
|
});
|
|
103
76
|
}
|
|
@@ -107,7 +80,7 @@ class a extends m {
|
|
|
107
80
|
* @returns {boolean}
|
|
108
81
|
*/
|
|
109
82
|
getAxisVisibility(i) {
|
|
110
|
-
return
|
|
83
|
+
return o({
|
|
111
84
|
config: this._config,
|
|
112
85
|
axisIndex: i,
|
|
113
86
|
func: (s) => F(s, this._config)
|
|
@@ -121,11 +94,11 @@ class a extends m {
|
|
|
121
94
|
*/
|
|
122
95
|
setAxisVisibility(i, s) {
|
|
123
96
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
124
|
-
|
|
97
|
+
o({
|
|
125
98
|
config: this._config,
|
|
126
99
|
axisIndex: s,
|
|
127
|
-
func: (
|
|
128
|
-
W(i,
|
|
100
|
+
func: (e) => {
|
|
101
|
+
W(i, e, this._config), this.emitConfigUpdate("setAxisVisibility");
|
|
129
102
|
}
|
|
130
103
|
});
|
|
131
104
|
});
|
|
@@ -136,10 +109,10 @@ class a extends m {
|
|
|
136
109
|
* @returns {boolean}
|
|
137
110
|
*/
|
|
138
111
|
getAxisLabelsVisibility(i) {
|
|
139
|
-
return
|
|
112
|
+
return o({
|
|
140
113
|
config: this._config,
|
|
141
114
|
axisIndex: i,
|
|
142
|
-
func: (s) =>
|
|
115
|
+
func: (s) => G(s, this._config)
|
|
143
116
|
}) ?? !0;
|
|
144
117
|
}
|
|
145
118
|
/**
|
|
@@ -150,11 +123,11 @@ class a extends m {
|
|
|
150
123
|
*/
|
|
151
124
|
setAxisLabelsVisibility(i, s) {
|
|
152
125
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
153
|
-
|
|
126
|
+
o({
|
|
154
127
|
config: this._config,
|
|
155
128
|
axisIndex: s,
|
|
156
|
-
func: (
|
|
157
|
-
|
|
129
|
+
func: (e) => {
|
|
130
|
+
M(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
|
|
158
131
|
}
|
|
159
132
|
});
|
|
160
133
|
});
|
|
@@ -165,18 +138,18 @@ class a extends m {
|
|
|
165
138
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
166
139
|
*/
|
|
167
140
|
getAxisTitleVisibility(i) {
|
|
168
|
-
return
|
|
141
|
+
return o({
|
|
169
142
|
config: this._config,
|
|
170
143
|
axisIndex: i,
|
|
171
|
-
func: (s) =>
|
|
144
|
+
func: (s) => O(s, this._config)
|
|
172
145
|
}) ?? !1;
|
|
173
146
|
}
|
|
174
147
|
setAxisTitleVisibility(i, s) {
|
|
175
|
-
|
|
148
|
+
o({
|
|
176
149
|
config: this._config,
|
|
177
150
|
axisIndex: s,
|
|
178
|
-
func: (
|
|
179
|
-
|
|
151
|
+
func: (e) => {
|
|
152
|
+
D(i, e, this._config);
|
|
180
153
|
}
|
|
181
154
|
});
|
|
182
155
|
}
|
|
@@ -186,18 +159,18 @@ class a extends m {
|
|
|
186
159
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
187
160
|
*/
|
|
188
161
|
getMaxBound(i) {
|
|
189
|
-
return
|
|
162
|
+
return o({
|
|
190
163
|
config: this._config,
|
|
191
164
|
axisIndex: i,
|
|
192
165
|
func: (s) => h({ config: this._config, axisIndex: s, isMax: !0 })
|
|
193
166
|
}) ?? Number.NaN;
|
|
194
167
|
}
|
|
195
168
|
setMaxBound(i, s) {
|
|
196
|
-
|
|
169
|
+
o({
|
|
197
170
|
config: this._config,
|
|
198
171
|
axisIndex: s,
|
|
199
|
-
func: (
|
|
200
|
-
|
|
172
|
+
func: (e) => {
|
|
173
|
+
x({ config: this._config, value: i, axisIndex: e, isMax: !0 });
|
|
201
174
|
}
|
|
202
175
|
});
|
|
203
176
|
}
|
|
@@ -207,18 +180,18 @@ class a extends m {
|
|
|
207
180
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
208
181
|
*/
|
|
209
182
|
getMinBound(i) {
|
|
210
|
-
return
|
|
183
|
+
return o({
|
|
211
184
|
config: this._config,
|
|
212
185
|
axisIndex: i,
|
|
213
186
|
func: (s) => h({ config: this._config, axisIndex: s, isMax: !1 })
|
|
214
187
|
}) ?? Number.NaN;
|
|
215
188
|
}
|
|
216
189
|
setMinBound(i, s) {
|
|
217
|
-
|
|
190
|
+
o({
|
|
218
191
|
config: this._config,
|
|
219
192
|
axisIndex: s,
|
|
220
|
-
func: (
|
|
221
|
-
|
|
193
|
+
func: (e) => {
|
|
194
|
+
x({ config: this._config, value: i, axisIndex: e, isMax: !1 });
|
|
222
195
|
}
|
|
223
196
|
});
|
|
224
197
|
}
|
|
@@ -228,21 +201,21 @@ class a extends m {
|
|
|
228
201
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
229
202
|
*/
|
|
230
203
|
getAxisValueFormat(i) {
|
|
231
|
-
return
|
|
204
|
+
return o({
|
|
232
205
|
config: this._config,
|
|
233
206
|
axisIndex: i,
|
|
234
|
-
func: (s) =>
|
|
207
|
+
func: (s) => A(s, this._config)
|
|
235
208
|
});
|
|
236
209
|
}
|
|
237
210
|
setAxisValueFormat(i, s) {
|
|
238
|
-
|
|
211
|
+
o({
|
|
239
212
|
config: this._config,
|
|
240
213
|
axisIndex: i,
|
|
241
|
-
func: (
|
|
242
|
-
|
|
214
|
+
func: (e) => {
|
|
215
|
+
C({
|
|
243
216
|
config: this._config,
|
|
244
217
|
valueFormat: s,
|
|
245
|
-
axisIndex:
|
|
218
|
+
axisIndex: e,
|
|
246
219
|
commonStrings: this.commonStrings
|
|
247
220
|
});
|
|
248
221
|
}
|
|
@@ -256,21 +229,21 @@ class a extends m {
|
|
|
256
229
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
257
230
|
*/
|
|
258
231
|
getLogarithmic(i) {
|
|
259
|
-
return
|
|
232
|
+
return o({
|
|
260
233
|
config: this._config,
|
|
261
234
|
axisIndex: i,
|
|
262
|
-
func: (s) =>
|
|
235
|
+
func: (s) => m(this._config, s)
|
|
263
236
|
}) ?? !1;
|
|
264
237
|
}
|
|
265
238
|
setLogarithmic(i, s) {
|
|
266
|
-
|
|
239
|
+
o({
|
|
267
240
|
config: this._config,
|
|
268
241
|
axisIndex: s,
|
|
269
|
-
func: (
|
|
242
|
+
func: (e) => {
|
|
270
243
|
L({
|
|
271
244
|
config: this._config,
|
|
272
245
|
isLogarithmic: i,
|
|
273
|
-
axisIndex:
|
|
246
|
+
axisIndex: e
|
|
274
247
|
});
|
|
275
248
|
}
|
|
276
249
|
});
|
|
@@ -281,21 +254,21 @@ class a extends m {
|
|
|
281
254
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
282
255
|
*/
|
|
283
256
|
getAxisScrollbar(i) {
|
|
284
|
-
return
|
|
257
|
+
return o({
|
|
285
258
|
config: this._config,
|
|
286
259
|
axisIndex: i,
|
|
287
260
|
func: (s) => this._config.axes?.[s]?.scrollbar
|
|
288
261
|
});
|
|
289
262
|
}
|
|
290
263
|
setAxisScrollbar(i, s) {
|
|
291
|
-
|
|
264
|
+
o({
|
|
292
265
|
config: this._config,
|
|
293
266
|
axisIndex: s,
|
|
294
|
-
func: (
|
|
267
|
+
func: (e) => {
|
|
295
268
|
V({
|
|
296
269
|
config: this._config,
|
|
297
270
|
scrollbar: i,
|
|
298
|
-
axisIndex:
|
|
271
|
+
axisIndex: e
|
|
299
272
|
});
|
|
300
273
|
}
|
|
301
274
|
});
|
|
@@ -306,18 +279,18 @@ class a extends m {
|
|
|
306
279
|
* @param axisIndex - The index of the axis to get the title symbol for
|
|
307
280
|
*/
|
|
308
281
|
getAxisTitleSymbol(i) {
|
|
309
|
-
return
|
|
282
|
+
return o({
|
|
310
283
|
config: this._config,
|
|
311
284
|
axisIndex: i,
|
|
312
285
|
func: (s) => I(this._config, s)
|
|
313
286
|
});
|
|
314
287
|
}
|
|
315
288
|
setAxisTitleSymbol(i, s) {
|
|
316
|
-
|
|
289
|
+
o({
|
|
317
290
|
config: this._config,
|
|
318
291
|
axisIndex: s,
|
|
319
|
-
func: (
|
|
320
|
-
z({ symbol: i, config: this._config, axisIndex:
|
|
292
|
+
func: (e) => {
|
|
293
|
+
z({ symbol: i, config: this._config, axisIndex: e });
|
|
321
294
|
}
|
|
322
295
|
});
|
|
323
296
|
}
|
|
@@ -363,18 +336,18 @@ class a extends m {
|
|
|
363
336
|
* @param axisIndex - The index of the axis to get the display zero line for.
|
|
364
337
|
*/
|
|
365
338
|
getDisplayZeroLine(i) {
|
|
366
|
-
return
|
|
339
|
+
return o({
|
|
367
340
|
config: this._config,
|
|
368
341
|
axisIndex: i,
|
|
369
342
|
func: (s) => Z(this._config, s)
|
|
370
343
|
}) ?? !1;
|
|
371
344
|
}
|
|
372
345
|
setDisplayZeroLine(i, s) {
|
|
373
|
-
|
|
346
|
+
o({
|
|
374
347
|
config: this._config,
|
|
375
348
|
axisIndex: s,
|
|
376
|
-
func: (
|
|
377
|
-
w(this._config, i,
|
|
349
|
+
func: (e) => {
|
|
350
|
+
w(this._config, i, e);
|
|
378
351
|
}
|
|
379
352
|
});
|
|
380
353
|
}
|
|
@@ -386,21 +359,21 @@ class a extends m {
|
|
|
386
359
|
* @param axisIndex - The index of the axis to get the display cursor tooltip for.
|
|
387
360
|
*/
|
|
388
361
|
getDisplayCursorTooltip(i) {
|
|
389
|
-
return
|
|
362
|
+
return o({
|
|
390
363
|
config: this._config,
|
|
391
364
|
axisIndex: i,
|
|
392
365
|
func: (s) => N(this._config, s)
|
|
393
366
|
}) ?? !1;
|
|
394
367
|
}
|
|
395
368
|
setDisplayCursorTooltip(i, s) {
|
|
396
|
-
|
|
369
|
+
o({
|
|
397
370
|
config: this._config,
|
|
398
371
|
axisIndex: s,
|
|
399
|
-
func: (
|
|
372
|
+
func: (e) => {
|
|
400
373
|
j({
|
|
401
374
|
config: this._config,
|
|
402
375
|
displayCursorTooltip: i,
|
|
403
|
-
axisIndex:
|
|
376
|
+
axisIndex: e
|
|
404
377
|
});
|
|
405
378
|
}
|
|
406
379
|
});
|
|
@@ -414,21 +387,21 @@ class a extends m {
|
|
|
414
387
|
* @param axisIndex - The index of the axis
|
|
415
388
|
*/
|
|
416
389
|
getBuffer(i) {
|
|
417
|
-
return
|
|
390
|
+
return o({
|
|
418
391
|
config: this._config,
|
|
419
392
|
axisIndex: i,
|
|
420
393
|
func: (s) => $(this._config, s)
|
|
421
394
|
}) ?? !1;
|
|
422
395
|
}
|
|
423
396
|
setBuffer(i, s) {
|
|
424
|
-
|
|
397
|
+
o({
|
|
425
398
|
config: this._config,
|
|
426
399
|
axisIndex: s,
|
|
427
|
-
func: (
|
|
400
|
+
func: (e) => {
|
|
428
401
|
U({
|
|
429
402
|
config: this._config,
|
|
430
403
|
buffer: i,
|
|
431
|
-
axisIndex:
|
|
404
|
+
axisIndex: e
|
|
432
405
|
});
|
|
433
406
|
}
|
|
434
407
|
});
|
|
@@ -443,14 +416,14 @@ class a extends m {
|
|
|
443
416
|
return E(this._config, i);
|
|
444
417
|
}
|
|
445
418
|
setTickSpacing(i, s) {
|
|
446
|
-
|
|
419
|
+
o({
|
|
447
420
|
config: this._config,
|
|
448
421
|
axisIndex: s,
|
|
449
|
-
func: (
|
|
422
|
+
func: (e) => {
|
|
450
423
|
R({
|
|
451
424
|
config: this._config,
|
|
452
425
|
tickSpacing: i,
|
|
453
|
-
axisIndex:
|
|
426
|
+
axisIndex: e
|
|
454
427
|
});
|
|
455
428
|
}
|
|
456
429
|
});
|
|
@@ -464,21 +437,21 @@ class a extends m {
|
|
|
464
437
|
* @param axisIndex - The index of the axis
|
|
465
438
|
*/
|
|
466
439
|
getIntegerOnlyValues(i) {
|
|
467
|
-
return
|
|
440
|
+
return o({
|
|
468
441
|
config: this._config,
|
|
469
442
|
axisIndex: i,
|
|
470
443
|
func: (s) => X(this._config, s)
|
|
471
444
|
}) ?? !1;
|
|
472
445
|
}
|
|
473
446
|
setIntegerOnlyValues(i, s) {
|
|
474
|
-
|
|
447
|
+
o({
|
|
475
448
|
config: this._config,
|
|
476
449
|
axisIndex: s,
|
|
477
|
-
func: (
|
|
450
|
+
func: (e) => {
|
|
478
451
|
q({
|
|
479
452
|
config: this._config,
|
|
480
453
|
integerOnlyValues: i,
|
|
481
|
-
axisIndex:
|
|
454
|
+
axisIndex: e
|
|
482
455
|
});
|
|
483
456
|
}
|
|
484
457
|
});
|
|
@@ -502,10 +475,10 @@ class a extends m {
|
|
|
502
475
|
* **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
503
476
|
*/
|
|
504
477
|
get cursorCrosshairVerticalLineVisibility() {
|
|
505
|
-
return
|
|
478
|
+
return ei(this._config);
|
|
506
479
|
}
|
|
507
480
|
set cursorCrosshairVerticalLineVisibility(i) {
|
|
508
|
-
|
|
481
|
+
oi(i, this._config);
|
|
509
482
|
}
|
|
510
483
|
/**
|
|
511
484
|
* Style of the cursor's crosshair from the chart config.
|
|
@@ -590,7 +563,7 @@ n([
|
|
|
590
563
|
n([
|
|
591
564
|
r
|
|
592
565
|
], a.prototype, "cursorCrosshair");
|
|
593
|
-
var gi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, d = (t, i, s,
|
|
566
|
+
var gi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, d = (t, i, s, e) => {
|
|
594
567
|
for (var c = ui(i, s), f = t.length - 1, l; f >= 0; f--)
|
|
595
568
|
(l = t[f]) && (c = l(i, s, c) || c);
|
|
596
569
|
return c && gi(i, s, c), c;
|
|
@@ -609,14 +582,14 @@ class u extends _ {
|
|
|
609
582
|
config: this._config,
|
|
610
583
|
name: i,
|
|
611
584
|
index: s,
|
|
612
|
-
orientation:
|
|
585
|
+
orientation: p.Y
|
|
613
586
|
});
|
|
614
587
|
}
|
|
615
588
|
deleteYAxisGuide(i) {
|
|
616
589
|
Y({
|
|
617
590
|
config: this._config,
|
|
618
591
|
index: i,
|
|
619
|
-
orientation:
|
|
592
|
+
orientation: p.Y
|
|
620
593
|
});
|
|
621
594
|
}
|
|
622
595
|
}
|
|
@@ -1,85 +1,56 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
8
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
9
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
10
|
-
import { aZ as l } from "./index.js";
|
|
11
|
-
import "@arcgis/core/Graphic.js";
|
|
12
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
15
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
16
|
-
import "@esri/arcgis-html-sanitizer";
|
|
17
|
-
import "@arcgis/core/intl.js";
|
|
18
|
-
import "@arcgis/core/request.js";
|
|
19
|
-
import "simple-statistics";
|
|
20
|
-
import "@arcgis/core/core/sql.js";
|
|
21
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
22
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
23
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
24
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
26
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
27
|
-
import "./runtime.js";
|
|
28
|
-
import { g as i, l as a } from "./index4.js";
|
|
29
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
31
|
-
import "@arcgis/core/geometry/Point.js";
|
|
32
|
-
import "@arcgis/toolkit/dom";
|
|
33
|
-
import { s as S, b as c, g as k, a as b } from "./series.js";
|
|
34
|
-
import { C as n, m as v } from "./model-setter.js";
|
|
35
|
-
const se = (s, e) => {
|
|
36
|
-
if (i(e.series[s]) || a(e.series[s]))
|
|
37
|
-
return k(e.series[s]);
|
|
38
|
-
}, re = (s, e, r) => {
|
|
39
|
-
(i(r.series[e]) || a(r.series[e])) && S(s, r.series[e]);
|
|
40
|
-
}, te = (s, e) => {
|
|
2
|
+
import { s as c, b as k, g as b, a as n } from "./series.js";
|
|
3
|
+
import { X as m } from "./index.js";
|
|
4
|
+
import { g as i, l as a } from "./index6.js";
|
|
5
|
+
import { C as v, m as y } from "./model-setter.js";
|
|
6
|
+
const f = (s, e) => {
|
|
41
7
|
if (i(e.series[s]) || a(e.series[s]))
|
|
42
8
|
return b(e.series[s]);
|
|
43
|
-
},
|
|
9
|
+
}, _ = (s, e, r) => {
|
|
44
10
|
(i(r.series[e]) || a(r.series[e])) && c(s, r.series[e]);
|
|
45
|
-
},
|
|
11
|
+
}, O = (s, e) => {
|
|
12
|
+
if (i(e.series[s]) || a(e.series[s]))
|
|
13
|
+
return n(e.series[s]);
|
|
14
|
+
}, j = (s, e, r) => {
|
|
15
|
+
(i(r.series[e]) || a(r.series[e])) && k(s, r.series[e]);
|
|
16
|
+
}, W = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, d = (s, e, r) => {
|
|
46
17
|
if (i(r.series[e]) || a(r.series[e])) {
|
|
47
18
|
const t = r.series[e];
|
|
48
|
-
t.markerSymbol === void 0 && (t.markerSymbol =
|
|
19
|
+
t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.color = s;
|
|
49
20
|
}
|
|
50
|
-
},
|
|
21
|
+
}, A = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.markerSymbol?.style : void 0, w = (s, e, r) => {
|
|
51
22
|
if (i(r.series[e]) || a(r.series[e])) {
|
|
52
23
|
const t = r.series[e];
|
|
53
|
-
t.markerSymbol === void 0 && (t.markerSymbol =
|
|
24
|
+
t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.style = s;
|
|
54
25
|
}
|
|
55
|
-
},
|
|
26
|
+
}, z = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.markerSymbol?.size : void 0, P = (s, e, r) => {
|
|
56
27
|
if (i(r.series[e]) || a(r.series[e])) {
|
|
57
28
|
const t = r.series[e];
|
|
58
|
-
t.markerSymbol === void 0 && (t.markerSymbol =
|
|
29
|
+
t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.size = s;
|
|
59
30
|
}
|
|
60
|
-
},
|
|
31
|
+
}, D = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, F = (s) => {
|
|
61
32
|
const { smoothed: e, seriesIndex: r, config: t } = s;
|
|
62
33
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].lineSmoothed = e);
|
|
63
|
-
},
|
|
34
|
+
}, q = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
|
|
64
35
|
const { visible: e, seriesIndex: r, config: t } = s;
|
|
65
36
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].showArea = e);
|
|
66
|
-
},
|
|
37
|
+
}, X = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, E = (s) => {
|
|
67
38
|
const { visible: e, seriesIndex: r, config: t } = s;
|
|
68
39
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].markerVisible = e);
|
|
69
|
-
},
|
|
40
|
+
}, G = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, J = (s) => {
|
|
70
41
|
const { connect: e, seriesIndex: r, config: t } = s;
|
|
71
42
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].connectLines = e);
|
|
72
43
|
};
|
|
73
|
-
var
|
|
74
|
-
for (var o =
|
|
75
|
-
(
|
|
76
|
-
return o &&
|
|
44
|
+
var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, L = (s, e, r, t) => {
|
|
45
|
+
for (var o = u(e, r), l = s.length - 1, S; l >= 0; l--)
|
|
46
|
+
(S = s[l]) && (o = S(e, r, o) || o);
|
|
47
|
+
return o && h(e, r, o), o;
|
|
77
48
|
};
|
|
78
|
-
const
|
|
49
|
+
const V = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].stackNegativeValuesToBaseline ?? !0 : !1, p = (s) => {
|
|
79
50
|
const { stackNegativeValuesToBaseline: e, seriesIndex: r, config: t } = s;
|
|
80
51
|
(i(t.series[r]) || a(t.series[r])) && (t.series[r].stackNegativeValuesToBaseline = e);
|
|
81
52
|
};
|
|
82
|
-
class C extends
|
|
53
|
+
class C extends v {
|
|
83
54
|
/**
|
|
84
55
|
* Specify how negative values are treated in stacked series.
|
|
85
56
|
*
|
|
@@ -88,38 +59,38 @@ class C extends n {
|
|
|
88
59
|
* @param seriesIndex - The index of the series.
|
|
89
60
|
*/
|
|
90
61
|
isNegativeValuesStackedToBaseline(e) {
|
|
91
|
-
return
|
|
62
|
+
return V(e, this._config);
|
|
92
63
|
}
|
|
93
64
|
setNegativeValuesStackedToBaseline(e, r) {
|
|
94
|
-
|
|
65
|
+
p({
|
|
95
66
|
stackNegativeValuesToBaseline: e,
|
|
96
67
|
seriesIndex: r,
|
|
97
68
|
config: this._config
|
|
98
69
|
});
|
|
99
70
|
}
|
|
100
71
|
}
|
|
101
|
-
|
|
102
|
-
|
|
72
|
+
L([
|
|
73
|
+
y
|
|
103
74
|
], C.prototype, "setNegativeValuesStackedToBaseline");
|
|
104
75
|
export {
|
|
105
76
|
C as W,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
77
|
+
_ as a,
|
|
78
|
+
j as b,
|
|
79
|
+
w as c,
|
|
80
|
+
P as d,
|
|
81
|
+
O as e,
|
|
82
|
+
W as f,
|
|
83
|
+
f as g,
|
|
84
|
+
A as h,
|
|
85
|
+
z as i,
|
|
86
|
+
D as j,
|
|
87
|
+
F as k,
|
|
88
|
+
H as l,
|
|
89
|
+
J as m,
|
|
90
|
+
q as n,
|
|
91
|
+
R as o,
|
|
92
|
+
X as p,
|
|
93
|
+
E as q,
|
|
94
|
+
G as r,
|
|
95
|
+
d as s
|
|
125
96
|
};
|