@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,41 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { u as c, G as S, r as
|
|
3
|
-
import {
|
|
2
|
+
import { u as c, G as S, r as b } from "./chart-object-literals.js";
|
|
3
|
+
import { K as d, E as x, ah as _, M as m, J as I } from "./index.js";
|
|
4
|
+
import { an as C } from "./index2.js";
|
|
4
5
|
import { C as L } from "./chart-model.js";
|
|
5
6
|
import { m as n } from "./model-setter.js";
|
|
6
7
|
import { M as T } from "./model-with-x-guides.js";
|
|
7
8
|
import { W as A, a as W, b as V } from "./axis-lines-symbol.js";
|
|
8
9
|
import { W as F, a as D, b as B } from "./generate-x-axis-title.js";
|
|
9
|
-
import { W as E, b as
|
|
10
|
-
import { g as
|
|
11
|
-
import "@arcgis/toolkit/type";
|
|
12
|
-
import "@arcgis/toolkit/intl";
|
|
13
|
-
import "lodash-es";
|
|
14
|
-
import "luxon";
|
|
15
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
-
import "@arcgis/core/Graphic.js";
|
|
19
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
20
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
21
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
22
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
23
|
-
import "@esri/arcgis-html-sanitizer";
|
|
24
|
-
import "@arcgis/core/intl.js";
|
|
25
|
-
import "@arcgis/core/request.js";
|
|
26
|
-
import "simple-statistics";
|
|
27
|
-
import "@arcgis/core/core/sql.js";
|
|
28
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
29
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
30
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
31
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
32
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
33
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
34
|
-
import "./runtime.js";
|
|
35
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
36
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
37
|
-
import "@arcgis/core/geometry/Point.js";
|
|
38
|
-
import "@arcgis/toolkit/dom";
|
|
10
|
+
import { W as E, b as M } from "./x-bounds.js";
|
|
11
|
+
import { g as P, a as w } from "./utils.js";
|
|
39
12
|
const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
40
13
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
41
14
|
}, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
|
|
@@ -44,14 +17,14 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
44
17
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
45
18
|
}, $ = (t) => t.axes[0].needle?.endWidth, j = (t, e) => {
|
|
46
19
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
47
|
-
}, q = (t) => t.axes[0].needle?.innerRadius,
|
|
20
|
+
}, q = (t) => t.axes[0].needle?.innerRadius, J = (t, e) => {
|
|
48
21
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
49
|
-
},
|
|
22
|
+
}, K = (t) => t.axes[0].needle?.displayPin ?? !1, Q = (t, e) => {
|
|
50
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
51
|
-
},
|
|
52
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
53
|
-
},
|
|
54
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
24
|
+
}, Y = (t) => t.axes[0].innerLabel?.visible ?? !0, z = (t, e) => {
|
|
25
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = x()), e.axes[0].innerLabel.visible = t;
|
|
26
|
+
}, H = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
27
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = x()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
55
28
|
}, Z = (t) => t.axes[0].progressBands?.visible ?? !0, ee = (t, e) => {
|
|
56
29
|
e.axes[0].progressBands === void 0 && (e.axes[0].progressBands = {
|
|
57
30
|
type: c.FixedProgressBands
|
|
@@ -69,12 +42,12 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
69
42
|
}, de = (t) => t.series[0]?.valueConversion, ge = (t, e) => {
|
|
70
43
|
e.series[0] !== void 0 && (e.series[0].valueConversion = t);
|
|
71
44
|
}, v = (t) => t.series[0]?.featureIndex, y = (t) => {
|
|
72
|
-
const { featureIndex: e, config: s, layerInfo: a, commonStrings: r } = t, l = f(s), g =
|
|
73
|
-
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e),
|
|
74
|
-
}, ce = (t) => t.subType ?? S.StatisticGauge,
|
|
45
|
+
const { featureIndex: e, config: s, layerInfo: a, commonStrings: r } = t, l = f(s), g = h(s);
|
|
46
|
+
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings: r });
|
|
47
|
+
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
75
48
|
const { config: e, field: s, aggregationType: a } = t;
|
|
76
|
-
if (a !==
|
|
77
|
-
const r = v(e), l =
|
|
49
|
+
if (a !== b.NoAggregation) {
|
|
50
|
+
const r = v(e), l = p(r) ? {} : {
|
|
78
51
|
outStatistics: [
|
|
79
52
|
{
|
|
80
53
|
statisticType: a,
|
|
@@ -85,36 +58,36 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
85
58
|
};
|
|
86
59
|
e.series[0].query = l;
|
|
87
60
|
}
|
|
88
|
-
},
|
|
61
|
+
}, he = (t) => {
|
|
89
62
|
const { config: e, layerInfo: s, commonStrings: a, field: r, aggregationType: l } = t;
|
|
90
|
-
e.title && (e.title.content.text =
|
|
63
|
+
e.title && (e.title.content.text = P({
|
|
91
64
|
config: e,
|
|
92
65
|
layerInfo: s,
|
|
93
66
|
commonStrings: a,
|
|
94
67
|
numericFields: [r],
|
|
95
68
|
aggregationType: l
|
|
96
69
|
}));
|
|
97
|
-
},
|
|
70
|
+
}, u = (t) => {
|
|
98
71
|
const { config: e, field: s, aggregationType: a } = t;
|
|
99
|
-
e.series[0] === void 0 && (e.series = [
|
|
100
|
-
const r =
|
|
72
|
+
e.series[0] === void 0 && (e.series = [m({})]);
|
|
73
|
+
const r = p(e.series[0]?.featureIndex);
|
|
101
74
|
let l = r ? s : `${a}_${s}`;
|
|
102
|
-
r && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l,
|
|
103
|
-
},
|
|
75
|
+
r && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
|
|
76
|
+
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? b.Count, pe = (t) => {
|
|
104
77
|
const { config: e, layerInfo: s, commonStrings: a, aggregationType: r } = t, l = f(e);
|
|
105
|
-
|
|
78
|
+
u({
|
|
106
79
|
config: e,
|
|
107
80
|
layerInfo: s,
|
|
108
81
|
commonStrings: a,
|
|
109
82
|
field: l,
|
|
110
83
|
aggregationType: r
|
|
111
84
|
});
|
|
112
|
-
},
|
|
113
|
-
const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l =
|
|
114
|
-
|
|
115
|
-
}, ye = (t) => t.innerRadius ?? 50,
|
|
85
|
+
}, p = (t) => typeof t == "number" && t >= 0, f = (t) => p(t.series[0]?.featureIndex) ? t.series[0]?.x : t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "", fe = (t) => {
|
|
86
|
+
const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l = h(s);
|
|
87
|
+
u({ config: s, layerInfo: a, commonStrings: r, field: e, aggregationType: l });
|
|
88
|
+
}, ye = (t) => t.innerRadius ?? 50, be = (t, e) => {
|
|
116
89
|
e.innerRadius = t;
|
|
117
|
-
},
|
|
90
|
+
}, xe = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
118
91
|
e.startAngle = t;
|
|
119
92
|
}, ve = (t) => t.endAngle ?? 270, Se = (t, e) => {
|
|
120
93
|
e.endAngle = t;
|
|
@@ -158,10 +131,10 @@ class i extends L {
|
|
|
158
131
|
* Must be one of the values allowed by `WebChartStatisticType`, excluding `"no_aggregation"`.
|
|
159
132
|
*/
|
|
160
133
|
get aggregationType() {
|
|
161
|
-
return
|
|
134
|
+
return h(this._config);
|
|
162
135
|
}
|
|
163
136
|
set aggregationType(e) {
|
|
164
|
-
|
|
137
|
+
pe({
|
|
165
138
|
aggregationType: e,
|
|
166
139
|
config: this._config,
|
|
167
140
|
layerInfo: this.layerInfo,
|
|
@@ -175,16 +148,16 @@ class i extends L {
|
|
|
175
148
|
return ye(this._config);
|
|
176
149
|
}
|
|
177
150
|
set innerRadius(e) {
|
|
178
|
-
|
|
151
|
+
be(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
179
152
|
}
|
|
180
153
|
/**
|
|
181
154
|
* Start angle of the gauge.
|
|
182
155
|
*/
|
|
183
156
|
get startAngle() {
|
|
184
|
-
return
|
|
157
|
+
return xe(this._config);
|
|
185
158
|
}
|
|
186
159
|
set startAngle(e) {
|
|
187
|
-
|
|
160
|
+
me(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
188
161
|
}
|
|
189
162
|
/**
|
|
190
163
|
* End angle of the gauge.
|
|
@@ -295,25 +268,25 @@ class i extends L {
|
|
|
295
268
|
return q(this._config);
|
|
296
269
|
}
|
|
297
270
|
set needleInnerRadius(e) {
|
|
298
|
-
|
|
271
|
+
J(e, this._config);
|
|
299
272
|
}
|
|
300
273
|
/**
|
|
301
274
|
* Whether to display the pin for the gauge's needle.
|
|
302
275
|
*/
|
|
303
276
|
get needleDisplayPin() {
|
|
304
|
-
return
|
|
277
|
+
return K(this._config);
|
|
305
278
|
}
|
|
306
279
|
set needleDisplayPin(e) {
|
|
307
|
-
|
|
280
|
+
Q(e, this._config);
|
|
308
281
|
}
|
|
309
282
|
/**
|
|
310
283
|
* Whether the inner label is visible.
|
|
311
284
|
*/
|
|
312
285
|
get innerLabelVisible() {
|
|
313
|
-
return
|
|
286
|
+
return Y(this._config);
|
|
314
287
|
}
|
|
315
288
|
set innerLabelVisible(e) {
|
|
316
|
-
|
|
289
|
+
z(e, this._config);
|
|
317
290
|
}
|
|
318
291
|
/**
|
|
319
292
|
* Content symbol for the inner label.
|
|
@@ -327,7 +300,7 @@ class i extends L {
|
|
|
327
300
|
* ```
|
|
328
301
|
*/
|
|
329
302
|
get innerLabelContent() {
|
|
330
|
-
return
|
|
303
|
+
return H(this._config);
|
|
331
304
|
}
|
|
332
305
|
set innerLabelContent(e) {
|
|
333
306
|
U(e, this._config);
|
|
@@ -395,7 +368,7 @@ class i extends L {
|
|
|
395
368
|
/** @private */
|
|
396
369
|
generateDefaultConfig() {
|
|
397
370
|
const e = I(this.commonStrings);
|
|
398
|
-
return e.series = [
|
|
371
|
+
return e.series = [m({ objectIDField: C(this.layerInfo.layer).idField })], e;
|
|
399
372
|
}
|
|
400
373
|
}
|
|
401
374
|
o([
|
|
@@ -465,7 +438,7 @@ const Le = [
|
|
|
465
438
|
F,
|
|
466
439
|
E,
|
|
467
440
|
D,
|
|
468
|
-
|
|
441
|
+
M,
|
|
469
442
|
A,
|
|
470
443
|
W,
|
|
471
444
|
V,
|
|
@@ -1,86 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import { g as
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
12
|
-
import { bp as n, z as T } 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 "@arcgis/core/intl.js";
|
|
19
|
-
import "@arcgis/core/request.js";
|
|
20
|
-
import "simple-statistics";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
25
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
27
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
28
|
-
import "./runtime.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 { u as c, v as d, a as u, f as y, e as A } from "./type-guards.js";
|
|
34
|
-
var g = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (t, i, r, p) => {
|
|
35
|
-
for (var e = v(i, r), s = t.length - 1, o; s >= 0; s--)
|
|
36
|
-
(o = t[s]) && (e = o(i, r, e) || e);
|
|
37
|
-
return e && g(i, r, e), e;
|
|
2
|
+
import { C as o, m as a } from "./model-setter.js";
|
|
3
|
+
import { g as f, b as d, c as h, d as T } from "./utils2.js";
|
|
4
|
+
import { u as c, v as u, a as g, f as p, e as y } from "./type-guards2.js";
|
|
5
|
+
import { g as A } from "./index.js";
|
|
6
|
+
import { d as l } from "./index3.js";
|
|
7
|
+
var v = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, b = (t, i, s, x) => {
|
|
8
|
+
for (var e = _(i, s), r = t.length - 1, n; r >= 0; r--)
|
|
9
|
+
(n = t[r]) && (e = n(i, s, e) || e);
|
|
10
|
+
return e && v(i, s, e), e;
|
|
38
11
|
};
|
|
39
|
-
function
|
|
12
|
+
function S(t) {
|
|
40
13
|
return t !== void 0 && "xAxisTitleText" in t;
|
|
41
14
|
}
|
|
42
|
-
class
|
|
15
|
+
class m extends o {
|
|
43
16
|
/**
|
|
44
17
|
* The x-axis title text.
|
|
45
18
|
*/
|
|
46
19
|
get xAxisTitleText() {
|
|
47
|
-
return
|
|
20
|
+
return f(0, this._config);
|
|
48
21
|
}
|
|
49
22
|
set xAxisTitleText(i) {
|
|
50
|
-
|
|
23
|
+
d(i, 0, this._config);
|
|
51
24
|
}
|
|
52
25
|
}
|
|
53
|
-
|
|
26
|
+
b([
|
|
54
27
|
a
|
|
55
|
-
],
|
|
56
|
-
var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i,
|
|
57
|
-
for (var e = C(i,
|
|
58
|
-
(
|
|
59
|
-
return e && P(i,
|
|
28
|
+
], m.prototype, "xAxisTitleText");
|
|
29
|
+
var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s, x) => {
|
|
30
|
+
for (var e = C(i, s), r = t.length - 1, n; r >= 0; r--)
|
|
31
|
+
(n = t[r]) && (e = n(i, s, e) || e);
|
|
32
|
+
return e && P(i, s, e), e;
|
|
60
33
|
};
|
|
61
|
-
function
|
|
34
|
+
function j(t) {
|
|
62
35
|
return t !== void 0 && "xAxisTitleVisibility" in t;
|
|
63
36
|
}
|
|
64
|
-
class O extends
|
|
37
|
+
class O extends o {
|
|
65
38
|
/**
|
|
66
39
|
* Whether the x-axis title is visible.
|
|
67
40
|
* `true`: X-axis title is visible.
|
|
68
41
|
* `false`: X-axis title is hidden.
|
|
69
42
|
*/
|
|
70
43
|
get xAxisTitleVisibility() {
|
|
71
|
-
return
|
|
44
|
+
return h(0, this._config);
|
|
72
45
|
}
|
|
73
46
|
set xAxisTitleVisibility(i) {
|
|
74
|
-
|
|
47
|
+
T(i, 0, this._config);
|
|
75
48
|
}
|
|
76
49
|
}
|
|
77
50
|
M([
|
|
78
51
|
a
|
|
79
52
|
], O.prototype, "xAxisTitleVisibility");
|
|
80
|
-
function
|
|
53
|
+
function k(t) {
|
|
81
54
|
return t !== void 0 && "generateXAxisTitle" in t;
|
|
82
55
|
}
|
|
83
|
-
class
|
|
56
|
+
class w extends o {
|
|
84
57
|
/**
|
|
85
58
|
* Generate the proper x-axis title from the current config.
|
|
86
59
|
*/
|
|
@@ -88,24 +61,24 @@ class pi extends l {
|
|
|
88
61
|
const i = this.layerInfo?.layerFieldsInfo;
|
|
89
62
|
if (i === void 0)
|
|
90
63
|
return "";
|
|
91
|
-
if (c(this) ||
|
|
92
|
-
return
|
|
93
|
-
if (
|
|
94
|
-
return this.category !==
|
|
95
|
-
if (
|
|
96
|
-
return
|
|
97
|
-
if (
|
|
98
|
-
const
|
|
99
|
-
return
|
|
64
|
+
if (c(this) || u(this))
|
|
65
|
+
return l(i, this.xAxisField);
|
|
66
|
+
if (g(this))
|
|
67
|
+
return this.category !== A ? l(i, this.category) : "";
|
|
68
|
+
if (p(this))
|
|
69
|
+
return l(i, this.numericField);
|
|
70
|
+
if (y(this)) {
|
|
71
|
+
const s = this.xTemporalBinning?.unit;
|
|
72
|
+
return s !== void 0 ? this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[s] : "";
|
|
100
73
|
}
|
|
101
74
|
return "";
|
|
102
75
|
}
|
|
103
76
|
}
|
|
104
77
|
export {
|
|
105
|
-
|
|
78
|
+
m as W,
|
|
106
79
|
O as a,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
80
|
+
w as b,
|
|
81
|
+
k as c,
|
|
82
|
+
j as d,
|
|
83
|
+
S as i
|
|
111
84
|
};
|