@arcgis/charts-components 5.1.0-next.65 → 5.1.0-next.67
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/dist/cdn/2333HQZZ.js +2 -0
- package/dist/cdn/25LAV2UI.js +2 -0
- package/dist/cdn/{SMGWUDX3.js → 2J5IWBKU.js} +1 -1
- package/dist/cdn/2NIOPMWE.js +2 -0
- package/dist/cdn/32WPXK4K.js +2 -0
- package/dist/cdn/35NR6IHU.js +2 -0
- package/dist/cdn/4BDLJPIB.js +2 -0
- package/dist/cdn/4HRFZU2C.js +2 -0
- package/dist/cdn/4NYTLY62.js +2 -0
- package/dist/cdn/{66CPF67N.js → 5KOFW5BO.js} +1 -1
- package/dist/cdn/5PSQ7OKJ.js +2 -0
- package/dist/cdn/6GURKNO2.js +2 -0
- package/dist/cdn/{GLST76GV.js → 6GVGNQYH.js} +1 -1
- package/dist/cdn/6RKNXP6N.js +2 -0
- package/dist/cdn/{X6QQ322N.js → 6TKG7ZF7.js} +1 -1
- package/dist/cdn/{6VW6XPBH.js → 75FO5HPY.js} +1 -1
- package/dist/cdn/7HGCX3PA.js +2 -0
- package/dist/cdn/7Y5FTMNT.js +2 -0
- package/dist/cdn/{4YWBOW4N.js → 7YDVVZJU.js} +1 -1
- package/dist/cdn/AALOFAWG.js +2 -0
- package/dist/cdn/AMLWVAHN.js +2 -0
- package/dist/cdn/BVK4ULHH.js +2 -0
- package/dist/cdn/BXDRHDLV.js +2 -0
- package/dist/cdn/BXNLQMSP.js +2 -0
- package/dist/cdn/{3WMOCDMO.js → CCNHG4LT.js} +1 -1
- package/dist/cdn/CUAIY5DK.js +37 -0
- package/dist/cdn/DHCFSWRJ.js +2 -0
- package/dist/cdn/ECRW3QJF.js +2 -0
- package/dist/cdn/{DHZT5P3N.js → EF4GVHB2.js} +1 -1
- package/dist/cdn/EGHVQUKF.js +2 -0
- package/dist/cdn/EP5VVTAX.js +2 -0
- package/dist/cdn/EWLMYFSA.js +2 -0
- package/dist/cdn/{QFC7M2Y2.js → FFXTYOTF.js} +1 -1
- package/dist/cdn/FOSGOEWY.js +2 -0
- package/dist/cdn/G56RB2UI.js +2 -0
- package/dist/cdn/{HR62GM42.js → GKYHQ5OF.js} +1 -1
- package/dist/cdn/GXQDCOI4.js +99 -0
- package/dist/cdn/HW42VNOU.js +2 -0
- package/dist/cdn/I54YDLFZ.js +2 -0
- package/dist/cdn/I6IYDKWG.js +2 -0
- package/dist/cdn/IN3H6ULU.js +2 -0
- package/dist/cdn/ISNJYFT7.js +2 -0
- package/dist/cdn/ITB7EYBT.js +2 -0
- package/dist/cdn/JDQ6BNXO.js +2 -0
- package/dist/cdn/JMMW4Z5P.js +2 -0
- package/dist/cdn/JTL73F75.js +2 -0
- package/dist/cdn/KOLQWSYX.js +2 -0
- package/dist/cdn/KYFOP4WA.js +2 -0
- package/dist/cdn/L2NQ6Z3Z.js +2 -0
- package/dist/cdn/LGAAHH35.js +2 -0
- package/dist/cdn/LIXBROPH.js +2 -0
- package/dist/cdn/LRQVALTM.js +2 -0
- package/dist/cdn/LT62HS4S.js +2 -0
- package/dist/cdn/MUCSVAGN.js +2 -0
- package/dist/cdn/N4IITAR7.js +2 -0
- package/dist/cdn/NEEKPRM4.js +2 -0
- package/dist/cdn/NEFPCTH3.js +2 -0
- package/dist/cdn/NVV2EBVI.js +2 -0
- package/dist/cdn/O7ZCEGVR.js +2 -0
- package/dist/cdn/{WIP3X44L.js → OPDQRTZL.js} +3 -3
- package/dist/cdn/PG36SBDU.js +2 -0
- package/dist/cdn/PGJD4Q7S.js +2 -0
- package/dist/cdn/PGVNBWSU.js +23 -0
- package/dist/cdn/PL24HKI7.js +2 -0
- package/dist/cdn/PLBPOYRN.js +2 -0
- package/dist/cdn/QEPCR5IP.js +2 -0
- package/dist/cdn/QT24FAYQ.js +2 -0
- package/dist/cdn/R6XIAIZH.js +2 -0
- package/dist/cdn/RDBNRYTF.js +2 -0
- package/dist/cdn/RQLVJM4J.js +2 -0
- package/dist/cdn/RX6QOYCR.js +2 -0
- package/dist/cdn/SNZF4LXV.js +2 -0
- package/dist/cdn/{QRNEQ6OE.js → TJA5FMLP.js} +1 -1
- package/dist/cdn/TZJGC4RS.js +2 -0
- package/dist/cdn/{IIJZ52BJ.js → VRXVXPKS.js} +1 -1
- package/dist/cdn/VWCFL5P6.js +2 -0
- package/dist/cdn/W5VC5OCC.js +2 -0
- package/dist/cdn/W6T7TNP5.js +2 -0
- package/dist/cdn/WNEW6UZS.js +2 -0
- package/dist/cdn/XFXE7IY2.js +2 -0
- package/dist/cdn/XV7GLCBP.js +2 -0
- package/dist/cdn/Y3DU5EIT.js +2 -0
- package/dist/cdn/Y3NWCVUF.js +2 -0
- package/dist/cdn/YHUBOYF5.js +2 -0
- package/dist/cdn/YNRVU2AU.js +2 -0
- package/dist/cdn/YPSEQYTV.js +2 -0
- package/dist/cdn/YQTJQ5J7.js +2 -0
- package/dist/cdn/Z4GL4EF6.js +2 -0
- package/dist/cdn/ZIXBICPN.js +2 -0
- package/dist/cdn/ZRDVJBTQ.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +22 -28
- package/dist/chunks/axis-lines-symbol.js +8 -8
- package/dist/chunks/bar-chart-model.js +19 -25
- package/dist/chunks/bar-chart-series.js +12 -18
- package/dist/chunks/box-plot-data.js +75 -81
- package/dist/chunks/box-plot-model.js +19 -19
- package/dist/chunks/chart-model.js +40 -46
- package/dist/chunks/chart-ui-utils2.js +47 -53
- package/dist/chunks/class-breaks.js +16 -16
- package/dist/chunks/combo-bar-line-chart-model.js +20 -20
- package/dist/chunks/data-labels-symbol.js +5 -5
- package/dist/chunks/data.js +53 -59
- package/dist/chunks/gauge-model.js +22 -28
- package/dist/chunks/generate-x-axis-title.js +30 -36
- package/dist/chunks/heat-chart-model.js +10 -16
- package/dist/chunks/histogram-data.js +53 -59
- package/dist/chunks/histogram-model.js +31 -31
- package/dist/chunks/index.js +608 -20565
- package/dist/chunks/index2.js +171 -678
- package/dist/chunks/index3.js +46 -181
- package/dist/chunks/interfaces.js +16443 -103
- package/dist/chunks/interfaces2.js +109 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +15 -21
- package/dist/chunks/model-with-guides.js +22 -28
- package/dist/chunks/model-with-tooltips.js +23 -29
- package/dist/chunks/model-with-x-guides.js +4 -4
- package/dist/chunks/model-with-y-guides.js +25 -31
- package/dist/chunks/negative-values-stacked-to-baseline.js +41 -47
- package/dist/chunks/pie-chart-data.js +33 -39
- package/dist/chunks/pie-chart-model.js +62 -68
- package/dist/chunks/radar-chart-model.js +8 -15
- package/dist/chunks/rotated-state.js +9 -15
- package/dist/chunks/scatterplot-model.js +84 -90
- package/dist/chunks/serial-chart-data.js +8178 -4195
- package/dist/chunks/serial-chart-model.js +32 -39
- package/dist/chunks/series-length.js +14 -20
- package/dist/chunks/series.js +10 -16
- package/dist/chunks/utils.js +337 -119
- package/dist/chunks/utils2.js +19 -25
- package/dist/chunks/web-component-utils.js +42 -42
- package/dist/components/arcgis-chart/customElement.js +5255 -5339
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -20
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -16
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +33 -38
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +7 -13
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +14 -20
- package/dist/components/arcgis-charts-config-font-style/customElement.js +14 -20
- package/dist/components/arcgis-charts-config-format/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +10 -16
- package/dist/components/arcgis-charts-config-general/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -19
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +13 -19
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +20 -26
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +17 -24
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -21
- package/dist/components/arcgis-charts-config-histogram/customElement.js +26 -32
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +26 -32
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +18 -24
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -18
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -24
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +22 -28
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -19
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +421 -412
- package/dist/utils/chart-config/utils/index.d.ts +22 -1
- package/dist/utils/chart-config/validator/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +48 -1
- package/dist/utils/data/pie-chart/index.d.ts +31 -0
- package/package.json +3 -3
- package/dist/cdn/2R7GVZ2K.js +0 -2
- package/dist/cdn/3LT2GKQ2.js +0 -2
- package/dist/cdn/4D7IL776.js +0 -23
- package/dist/cdn/4TUXERAH.js +0 -2
- package/dist/cdn/53BACKKK.js +0 -2
- package/dist/cdn/5TNV7JHC.js +0 -2
- package/dist/cdn/627BGNFG.js +0 -2
- package/dist/cdn/6LOKVOKI.js +0 -2
- package/dist/cdn/6NZ5UJML.js +0 -2
- package/dist/cdn/6WJVFMRO.js +0 -2
- package/dist/cdn/7GZN67ZQ.js +0 -2
- package/dist/cdn/7SSD7QVG.js +0 -2
- package/dist/cdn/7XRXZ5B3.js +0 -2
- package/dist/cdn/7Y57O4FJ.js +0 -2
- package/dist/cdn/7Y7YFJKK.js +0 -2
- package/dist/cdn/7YXQ6TZT.js +0 -2
- package/dist/cdn/A642VLJ3.js +0 -2
- package/dist/cdn/AVCKTWRB.js +0 -2
- package/dist/cdn/BCEUGCIB.js +0 -2
- package/dist/cdn/BP7HN7YH.js +0 -2
- package/dist/cdn/BPZNMCFA.js +0 -2
- package/dist/cdn/DRLAYMR6.js +0 -2
- package/dist/cdn/DXWMRZX7.js +0 -2
- package/dist/cdn/E7ZG5PMT.js +0 -2
- package/dist/cdn/EDBE2EVF.js +0 -2
- package/dist/cdn/EDCUOXXS.js +0 -2
- package/dist/cdn/EWCL54AQ.js +0 -2
- package/dist/cdn/FKR2N42T.js +0 -2
- package/dist/cdn/GT2GE37X.js +0 -2
- package/dist/cdn/HHMRHLFD.js +0 -2
- package/dist/cdn/HMYIPN7X.js +0 -2
- package/dist/cdn/HQZDYYW6.js +0 -2
- package/dist/cdn/HZDIYXNY.js +0 -2
- package/dist/cdn/I34GLJPW.js +0 -2
- package/dist/cdn/IGRLN5QE.js +0 -2
- package/dist/cdn/IJD3YDOE.js +0 -2
- package/dist/cdn/ITF5WJUH.js +0 -2
- package/dist/cdn/J73HEYK6.js +0 -2
- package/dist/cdn/JWTEQZTD.js +0 -2
- package/dist/cdn/KDLX6TGN.js +0 -2
- package/dist/cdn/LLNUWDC5.js +0 -2
- package/dist/cdn/LZ7LNUEI.js +0 -2
- package/dist/cdn/MAZJTJ64.js +0 -2
- package/dist/cdn/MB7BDR7H.js +0 -2
- package/dist/cdn/MTTVUHUH.js +0 -2
- package/dist/cdn/MVLJJ7VZ.js +0 -2
- package/dist/cdn/N373OIOT.js +0 -2
- package/dist/cdn/N4GBOPIU.js +0 -2
- package/dist/cdn/OG3JZ3LP.js +0 -37
- package/dist/cdn/PSYU6XTK.js +0 -2
- package/dist/cdn/PVTBEXFF.js +0 -2
- package/dist/cdn/PYLJO324.js +0 -2
- package/dist/cdn/QQ6DOFHZ.js +0 -99
- package/dist/cdn/RAJWBR34.js +0 -2
- package/dist/cdn/S7COU7MH.js +0 -2
- package/dist/cdn/SYY7UU2N.js +0 -2
- package/dist/cdn/TN45YUM2.js +0 -2
- package/dist/cdn/TODWZ6FZ.js +0 -2
- package/dist/cdn/TP7767ZV.js +0 -2
- package/dist/cdn/UFJOL4MK.js +0 -2
- package/dist/cdn/ULSVHCH4.js +0 -2
- package/dist/cdn/UVFPEIK2.js +0 -2
- package/dist/cdn/V3PU5TMU.js +0 -2
- package/dist/cdn/V3VVN7ST.js +0 -2
- package/dist/cdn/V5JXE6N4.js +0 -2
- package/dist/cdn/VPOAGMYE.js +0 -2
- package/dist/cdn/VXMMIOTJ.js +0 -2
- package/dist/cdn/WL2XRSAH.js +0 -2
- package/dist/cdn/WWARKOXR.js +0 -2
- package/dist/cdn/WWGW24FD.js +0 -2
- package/dist/cdn/XUHCS2SB.js +0 -2
- package/dist/cdn/YBAPI2UV.js +0 -2
- package/dist/cdn/YJDYXU2Q.js +0 -2
- package/dist/cdn/YUZ26Q2B.js +0 -2
- package/dist/cdn/ZRDKD2U3.js +0 -2
- package/dist/cdn/ZVOSWG36.js +0 -2
- /package/dist/cdn/{FPDW4F45.js → VCUC6CMW.js} +0 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import "@arcgis/toolkit/type";
|
|
3
|
+
import { r as e } from "./series-types.js";
|
|
4
|
+
const i = {
|
|
5
|
+
actionBar: "action-bar",
|
|
6
|
+
customActionTop: "custom-action-top",
|
|
7
|
+
customActionBelow: "custom-action-below"
|
|
8
|
+
}, n = {
|
|
9
|
+
Mean: "mean",
|
|
10
|
+
Median: "median",
|
|
11
|
+
StandardDev: "standardDev",
|
|
12
|
+
NormalDist: "normalDist"
|
|
13
|
+
}, o = {
|
|
14
|
+
Mean: "mean",
|
|
15
|
+
Median: "median",
|
|
16
|
+
StandardDev: "standardDev",
|
|
17
|
+
Count: e.Count,
|
|
18
|
+
CountExcludingNulls: "countExcludingNulls",
|
|
19
|
+
Min: e.Minimum,
|
|
20
|
+
Max: e.Maximum,
|
|
21
|
+
Sum: e.Sum,
|
|
22
|
+
Nulls: "nulls"
|
|
23
|
+
}, r = {
|
|
24
|
+
Data: "data",
|
|
25
|
+
Series: "series",
|
|
26
|
+
Slices: "slices",
|
|
27
|
+
Axes: "axes",
|
|
28
|
+
Guides: "guides",
|
|
29
|
+
Format: "format",
|
|
30
|
+
General: "general"
|
|
31
|
+
}, s = {
|
|
32
|
+
Title: "title",
|
|
33
|
+
Text: "text",
|
|
34
|
+
Label: "label",
|
|
35
|
+
Palette: "palette"
|
|
36
|
+
}, l = {
|
|
37
|
+
xAxisField: "xAxisField",
|
|
38
|
+
aggregation: "aggregation",
|
|
39
|
+
numericFields: "numericField",
|
|
40
|
+
splitByField: "splitByField",
|
|
41
|
+
interval: "interval",
|
|
42
|
+
intervalAlignment: "intervalAlignment"
|
|
43
|
+
}, d = {
|
|
44
|
+
category: "category",
|
|
45
|
+
aggregation: "aggregation",
|
|
46
|
+
numericFields: "numericField",
|
|
47
|
+
splitByField: "splitByField",
|
|
48
|
+
sortOrder: "sortOrder",
|
|
49
|
+
interval: "interval",
|
|
50
|
+
intervalAlignment: "intervalAlignment"
|
|
51
|
+
}, c = {
|
|
52
|
+
category: "category",
|
|
53
|
+
aggregation: "aggregation",
|
|
54
|
+
numericFields: "numericFields",
|
|
55
|
+
sortOrder: "sortOrder"
|
|
56
|
+
}, m = {
|
|
57
|
+
numericFields: "numericField",
|
|
58
|
+
transformation: "transformation",
|
|
59
|
+
fillSymbol: "fillSymbol",
|
|
60
|
+
lineSymbol: "lineSymbol"
|
|
61
|
+
}, g = {
|
|
62
|
+
xAxisField: "xAxis",
|
|
63
|
+
yAxisField: "yAxis",
|
|
64
|
+
sizeVariable: "sizeVariable",
|
|
65
|
+
symbol: "symbol",
|
|
66
|
+
trendLine: "trendLine",
|
|
67
|
+
additionalTooltipFields: "additionalTooltipFields",
|
|
68
|
+
none: "none"
|
|
69
|
+
}, y = {
|
|
70
|
+
category: "category",
|
|
71
|
+
numericFields: "numericField",
|
|
72
|
+
splitByField: "splitByField",
|
|
73
|
+
sortOrder: "sortOrder"
|
|
74
|
+
}, u = {
|
|
75
|
+
xAxisField: "xAxisField",
|
|
76
|
+
aggregation: "aggregation",
|
|
77
|
+
numericFields: "numericField",
|
|
78
|
+
calendarType: "calendarType",
|
|
79
|
+
calendarViewType: "calendarViewType",
|
|
80
|
+
classBreakMethod: "classBreakMethod",
|
|
81
|
+
colorScheme: "colorScheme",
|
|
82
|
+
null: "null"
|
|
83
|
+
}, p = {
|
|
84
|
+
WeekByDayOfWeekAndHourOfDay: "weekByDayOfWeekAndHourOfDay",
|
|
85
|
+
YearByMonthAndDayOfMonth: "yearByMonthAndDayOfMonth"
|
|
86
|
+
}, F = {
|
|
87
|
+
Fixed: "fixed",
|
|
88
|
+
Proportional: "proportional"
|
|
89
|
+
}, x = {
|
|
90
|
+
Up: "up",
|
|
91
|
+
Down: "down"
|
|
92
|
+
};
|
|
93
|
+
export {
|
|
94
|
+
d as B,
|
|
95
|
+
r as C,
|
|
96
|
+
s as F,
|
|
97
|
+
m as H,
|
|
98
|
+
l as L,
|
|
99
|
+
c as P,
|
|
100
|
+
g as S,
|
|
101
|
+
p as W,
|
|
102
|
+
y as a,
|
|
103
|
+
o as b,
|
|
104
|
+
x as c,
|
|
105
|
+
u as d,
|
|
106
|
+
n as e,
|
|
107
|
+
F as f,
|
|
108
|
+
i as g
|
|
109
|
+
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { s as S, a as m, b as d, c, d as y, W as g } from "./negative-values-stacked-to-baseline.js";
|
|
3
3
|
import { S as u, s as p, a as b } from "./serial-chart-model.js";
|
|
4
4
|
import { c as n } from "./serial-chart-data.js";
|
|
5
|
-
import {
|
|
5
|
+
import { c as I } from "./utils.js";
|
|
6
6
|
import { m as v } from "./model-setter.js";
|
|
7
7
|
import { u as _ } from "./series-types.js";
|
|
8
|
-
import {
|
|
8
|
+
import { aT as C, aW as f, bD as a, bE as L, dB as M } from "./interfaces.js";
|
|
9
9
|
import { M as k } from "./model-with-line-marker-styling.js";
|
|
10
10
|
var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (o, e, s, t) => {
|
|
11
11
|
for (var i = F(e, s), r = o.length - 1, l; r >= 0; r--)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { fetchT9nStringsBundle as
|
|
3
|
-
import { g as
|
|
4
|
-
import {
|
|
5
|
-
import { a as l } from "./
|
|
2
|
+
import { fetchT9nStringsBundle as m, getElementLocale as h } from "@arcgis/toolkit/intl";
|
|
3
|
+
import { g as p } from "./runtime.js";
|
|
4
|
+
import { bt as r, a6 as g, bD as c, aS as f } from "./interfaces.js";
|
|
5
|
+
import { a as l } from "./index.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "luxon";
|
|
8
8
|
import "./series-types.js";
|
|
@@ -22,15 +22,9 @@ import "simple-statistics";
|
|
|
22
22
|
import "@arcgis/core/Graphic.js";
|
|
23
23
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
24
24
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
25
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
27
|
-
import "@arcgis/core/intl.js";
|
|
28
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
29
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
30
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
31
|
-
import "@arcgis/core/core/sql.js";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
33
|
-
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
27
|
+
class G extends EventTarget {
|
|
34
28
|
/**
|
|
35
29
|
* @param args
|
|
36
30
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
@@ -81,19 +75,19 @@ class V extends EventTarget {
|
|
|
81
75
|
*/
|
|
82
76
|
async loadConfigFromLayer(i) {
|
|
83
77
|
const { layer: t, iLayer: s, config: a } = i;
|
|
84
|
-
this.commonStrings = await
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
this.commonStrings = await m(
|
|
79
|
+
h(document.documentElement).t9nLocale,
|
|
80
|
+
p("./assets/common/t9n"),
|
|
87
81
|
"messages."
|
|
88
82
|
);
|
|
89
83
|
let e = t;
|
|
90
84
|
if (!e && s ? e = await r(s) : !e && a?.iLayer && (e = await r(a.iLayer)), e) {
|
|
91
85
|
await e.load();
|
|
92
|
-
const
|
|
86
|
+
const o = g(e, !0), d = c(e).idField;
|
|
93
87
|
this.layerInfo = {
|
|
94
88
|
layer: e,
|
|
95
|
-
layerFieldsInfo:
|
|
96
|
-
objectIdField:
|
|
89
|
+
layerFieldsInfo: o,
|
|
90
|
+
objectIdField: d
|
|
97
91
|
};
|
|
98
92
|
}
|
|
99
93
|
this._config = a ? await l(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = f().title), s && (this._config.iLayer = s);
|
|
@@ -116,7 +110,7 @@ class V extends EventTarget {
|
|
|
116
110
|
}
|
|
117
111
|
// #endregion
|
|
118
112
|
}
|
|
119
|
-
function
|
|
113
|
+
function H(n, i, t) {
|
|
120
114
|
const s = t.set, a = t.value;
|
|
121
115
|
return s && (t.set = function(e) {
|
|
122
116
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -129,6 +123,6 @@ function W(o, i, t) {
|
|
|
129
123
|
}), t;
|
|
130
124
|
}
|
|
131
125
|
export {
|
|
132
|
-
|
|
133
|
-
|
|
126
|
+
G as C,
|
|
127
|
+
H as m
|
|
134
128
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { C as f, m as a } from "./model-setter.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as m, s as b, c as _ } from "./utils.js";
|
|
4
4
|
import { e as h, f as S } from "./utils2.js";
|
|
5
5
|
import { C as L } from "./chart-model.js";
|
|
6
6
|
import { cloneDeep as T } from "lodash-es";
|
|
@@ -9,7 +9,7 @@ import { u as x } from "./series-types.js";
|
|
|
9
9
|
import { i as c } from "./rest-js-object-literals.js";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "luxon";
|
|
12
|
-
import {
|
|
12
|
+
import { bb as X, aJ as C, T as p, aX as B, a9 as A } from "./interfaces.js";
|
|
13
13
|
import "@esri/arcgis-html-sanitizer";
|
|
14
14
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
15
15
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -27,14 +27,8 @@ import "simple-statistics";
|
|
|
27
27
|
import "@arcgis/core/Graphic.js";
|
|
28
28
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
29
29
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
30
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
31
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
32
|
-
import "@arcgis/core/intl.js";
|
|
33
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
34
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
35
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
36
|
-
import "@arcgis/core/core/sql.js";
|
|
37
30
|
import "@arcgis/toolkit/dom";
|
|
31
|
+
import "@arcgis/core/intl.js";
|
|
38
32
|
import { G as g } from "./common.js";
|
|
39
33
|
var P = Object.defineProperty, D = Object.getOwnPropertyDescriptor, V = (t, e, i, s) => {
|
|
40
34
|
for (var o = D(e, i), n = t.length - 1, d; n >= 0; n--)
|
|
@@ -87,7 +81,7 @@ W([
|
|
|
87
81
|
class N extends f {
|
|
88
82
|
}
|
|
89
83
|
_(N, [y, v]);
|
|
90
|
-
class
|
|
84
|
+
class je extends f {
|
|
91
85
|
/**
|
|
92
86
|
* Whether the x-axis labels are visible.
|
|
93
87
|
*/
|
|
@@ -105,7 +99,7 @@ const I = (t) => {
|
|
|
105
99
|
for (const i of e?.guides ?? [])
|
|
106
100
|
if (i.label !== void 0)
|
|
107
101
|
return i.label;
|
|
108
|
-
},
|
|
102
|
+
}, J = (t, e) => {
|
|
109
103
|
for (const i of e.axes ?? [])
|
|
110
104
|
for (const s of i?.guides ?? []) {
|
|
111
105
|
const o = s.label?.text ?? "";
|
|
@@ -120,10 +114,10 @@ function r(t) {
|
|
|
120
114
|
orientation: t.orientation ?? g.Y
|
|
121
115
|
};
|
|
122
116
|
}
|
|
123
|
-
const
|
|
117
|
+
const U = (t) => {
|
|
124
118
|
const { axis: e, index: i } = r(t);
|
|
125
119
|
return e?.guides?.[i]?.visible ?? !0;
|
|
126
|
-
},
|
|
120
|
+
}, Y = (t) => {
|
|
127
121
|
const { visible: e, axis: i, index: s } = r(t);
|
|
128
122
|
i?.guides?.[s] !== void 0 && (i.guides[s].visible = e);
|
|
129
123
|
}, G = (t) => {
|
|
@@ -138,20 +132,20 @@ const Y = (t) => {
|
|
|
138
132
|
}, H = (t) => {
|
|
139
133
|
const { axis: e, index: i } = r(t);
|
|
140
134
|
return e?.guides?.[i]?.end;
|
|
141
|
-
},
|
|
135
|
+
}, K = (t) => {
|
|
142
136
|
const { end: e, axis: i, index: s } = r(t);
|
|
143
137
|
i?.guides?.[s] !== void 0 && (i.guides[s].end = e, G(i.guides[s]));
|
|
144
|
-
},
|
|
138
|
+
}, Q = (t) => {
|
|
145
139
|
const { axis: e, index: i } = r(t);
|
|
146
140
|
return e?.guides?.[i]?.name;
|
|
147
|
-
},
|
|
141
|
+
}, Z = (t) => {
|
|
148
142
|
const { name: e, axis: i, index: s } = r(t);
|
|
149
143
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
150
144
|
}, k = (t) => {
|
|
151
145
|
const { axis: e, index: i } = r(t);
|
|
152
146
|
return e?.guides?.[i]?.label?.text;
|
|
153
147
|
}, ee = (t) => {
|
|
154
|
-
const { labelText: e, axis: i, index: s } = r(t), o = i?.guides?.[s]?.label ??
|
|
148
|
+
const { labelText: e, axis: i, index: s } = r(t), o = i?.guides?.[s]?.label ?? X(e, C(p.GuideLabel), p.GuideLabel);
|
|
155
149
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
156
150
|
}, ie = (t) => {
|
|
157
151
|
const { axis: e, index: i } = r(t);
|
|
@@ -165,7 +159,7 @@ const Y = (t) => {
|
|
|
165
159
|
}, oe = (t) => {
|
|
166
160
|
const { style: e, axis: i, index: s } = r(t);
|
|
167
161
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
168
|
-
},
|
|
162
|
+
}, $e = (t) => {
|
|
169
163
|
const { config: e, name: i, index: s, orientation: o } = t, n = o === g.X ? e.axes?.[0] : e.axes?.[1];
|
|
170
164
|
if (n !== void 0) {
|
|
171
165
|
n.guides = n.guides ?? [];
|
|
@@ -177,7 +171,7 @@ const Y = (t) => {
|
|
|
177
171
|
};
|
|
178
172
|
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, d) : n.guides.push(d);
|
|
179
173
|
}
|
|
180
|
-
},
|
|
174
|
+
}, Ne = (t) => {
|
|
181
175
|
const { config: e, index: i, orientation: s } = t, o = s === g.X ? e.axes?.[0] : e.axes?.[1];
|
|
182
176
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
183
177
|
}, ne = (t) => {
|
|
@@ -200,7 +194,7 @@ class l extends L {
|
|
|
200
194
|
return I(this._config);
|
|
201
195
|
}
|
|
202
196
|
set guideLabelsSymbol(e) {
|
|
203
|
-
|
|
197
|
+
J(e, this._config);
|
|
204
198
|
}
|
|
205
199
|
/**
|
|
206
200
|
* Gets whether a guide is visible.
|
|
@@ -209,10 +203,10 @@ class l extends L {
|
|
|
209
203
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
210
204
|
*/
|
|
211
205
|
getGuideVisibility(e, i) {
|
|
212
|
-
return
|
|
206
|
+
return U({ config: this._config, index: e, orientation: i });
|
|
213
207
|
}
|
|
214
208
|
setGuideVisibility(e, i, s) {
|
|
215
|
-
|
|
209
|
+
Y({ visible: e, config: this._config, index: i, orientation: s });
|
|
216
210
|
}
|
|
217
211
|
/**
|
|
218
212
|
* Gets the start value of a guide.
|
|
@@ -236,7 +230,7 @@ class l extends L {
|
|
|
236
230
|
return H({ config: this._config, index: e, orientation: i });
|
|
237
231
|
}
|
|
238
232
|
setGuideEnd(e, i, s) {
|
|
239
|
-
|
|
233
|
+
K({ end: e, config: this._config, index: i, orientation: s });
|
|
240
234
|
}
|
|
241
235
|
/**
|
|
242
236
|
* Gets the name of a guide.
|
|
@@ -245,10 +239,10 @@ class l extends L {
|
|
|
245
239
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
246
240
|
*/
|
|
247
241
|
getGuideName(e, i) {
|
|
248
|
-
return
|
|
242
|
+
return Q({ config: this._config, index: e, orientation: i });
|
|
249
243
|
}
|
|
250
244
|
setGuideName(e, i, s) {
|
|
251
|
-
|
|
245
|
+
Z({ name: e, config: this._config, index: i, orientation: s });
|
|
252
246
|
}
|
|
253
247
|
/**
|
|
254
248
|
* Gets the guide label text.
|
|
@@ -328,8 +322,8 @@ u([
|
|
|
328
322
|
], l.prototype, "setTooltipReverseColor");
|
|
329
323
|
export {
|
|
330
324
|
l as M,
|
|
331
|
-
|
|
332
|
-
|
|
325
|
+
je as W,
|
|
326
|
+
$e as a,
|
|
333
327
|
N as b,
|
|
334
|
-
|
|
328
|
+
Ne as d
|
|
335
329
|
};
|
|
@@ -3,38 +3,32 @@ import { C as h, m as s } from "./model-setter.js";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "luxon";
|
|
6
|
-
import { k as
|
|
6
|
+
import { k as y } from "./series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import {
|
|
8
|
+
import { aF as b, T as r, aJ as v, aS as d } from "./interfaces.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
13
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
14
12
|
import "@esri/arcgis-html-sanitizer";
|
|
15
|
-
import "@arcgis/core/intl.js";
|
|
16
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
19
|
-
import "simple-statistics";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
13
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
14
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
15
|
import "@arcgis/core/rest/support/Query.js";
|
|
25
16
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
17
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
18
|
import "@arcgis/core/core/promiseUtils.js";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
28
20
|
import "./runtime.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
33
27
|
import { C as f } from "./chart-model.js";
|
|
34
|
-
var
|
|
28
|
+
var m = Object.defineProperty, L = Object.getOwnPropertyDescriptor, u = (t, e, i, p) => {
|
|
35
29
|
for (var o = L(e, i), l = t.length - 1, n; l >= 0; l--)
|
|
36
30
|
(n = t[l]) && (o = n(e, i, o) || o);
|
|
37
|
-
return o &&
|
|
31
|
+
return o && m(e, i, o), o;
|
|
38
32
|
};
|
|
39
33
|
const x = (t) => t.colorMatch ?? !0, D = (t, e) => {
|
|
40
34
|
e.colorMatch = t;
|
|
@@ -111,7 +105,7 @@ const S = (t) => {
|
|
|
111
105
|
const i = d();
|
|
112
106
|
i.title !== void 0 && (i.title.content.text = t, i.title.visible = !0, e.legend = i);
|
|
113
107
|
}
|
|
114
|
-
},
|
|
108
|
+
}, F = (t) => t.legend?.title?.visible ?? !1, B = (t, e) => {
|
|
115
109
|
if (e.legend?.title !== void 0)
|
|
116
110
|
e.legend.title.visible = t;
|
|
117
111
|
else if (e.legend !== void 0 && e.legend?.title === void 0 && t)
|
|
@@ -130,7 +124,7 @@ const S = (t) => {
|
|
|
130
124
|
type: r.LegendTitle
|
|
131
125
|
}), e.legend = i;
|
|
132
126
|
}
|
|
133
|
-
},
|
|
127
|
+
}, J = (t) => t.legend?.position ?? y.Right, q = (t, e) => {
|
|
134
128
|
if (e.legend !== void 0)
|
|
135
129
|
e.legend.position = t;
|
|
136
130
|
else if (e.legend === void 0) {
|
|
@@ -139,13 +133,13 @@ const S = (t) => {
|
|
|
139
133
|
}
|
|
140
134
|
}, z = (t) => t.legend?.roundMarkers ?? !1, A = (t, e) => {
|
|
141
135
|
e.legend === void 0 && (e.legend = d()), e.legend.roundMarkers = t;
|
|
142
|
-
}, G = (t) => t.legend?.maxHeight ?? void 0,
|
|
136
|
+
}, G = (t) => t.legend?.maxHeight ?? void 0, K = (t, e) => {
|
|
143
137
|
e.legend === void 0 && (e.legend = d()), e.legend.maxHeight = t;
|
|
144
138
|
};
|
|
145
|
-
var
|
|
146
|
-
for (var o =
|
|
139
|
+
var N = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, a = (t, e, i, p) => {
|
|
140
|
+
for (var o = Q(e, i), l = t.length - 1, n; l >= 0; l--)
|
|
147
141
|
(n = t[l]) && (o = n(e, i, o) || o);
|
|
148
|
-
return o &&
|
|
142
|
+
return o && N(e, i, o), o;
|
|
149
143
|
};
|
|
150
144
|
class g extends f {
|
|
151
145
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -176,16 +170,16 @@ class g extends f {
|
|
|
176
170
|
* Whether the legend title is visible.
|
|
177
171
|
*/
|
|
178
172
|
get legendTitleVisibility() {
|
|
179
|
-
return
|
|
173
|
+
return F(this._config);
|
|
180
174
|
}
|
|
181
175
|
set legendTitleVisibility(e) {
|
|
182
|
-
|
|
176
|
+
B(e, this._config);
|
|
183
177
|
}
|
|
184
178
|
/**
|
|
185
179
|
* Legend position: `top`, `bottom`, `left`, or `right`.
|
|
186
180
|
*/
|
|
187
181
|
get legendPosition() {
|
|
188
|
-
return
|
|
182
|
+
return J(this._config);
|
|
189
183
|
}
|
|
190
184
|
set legendPosition(e) {
|
|
191
185
|
q(e, this._config);
|
|
@@ -218,7 +212,7 @@ class g extends f {
|
|
|
218
212
|
return G(this._config);
|
|
219
213
|
}
|
|
220
214
|
set legendMaxHeight(e) {
|
|
221
|
-
e !== void 0 &&
|
|
215
|
+
e !== void 0 && K(e, this._config);
|
|
222
216
|
}
|
|
223
217
|
/**
|
|
224
218
|
* Whether legend markers are rounded.
|
|
@@ -254,7 +248,7 @@ a([
|
|
|
254
248
|
a([
|
|
255
249
|
s
|
|
256
250
|
], g.prototype, "legendRoundMarker");
|
|
257
|
-
const
|
|
251
|
+
const U = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, X = (t, e, i) => {
|
|
258
252
|
i && t.series?.[i] ? t.series[i].dataTooltipVisible = e : t.series && t.series.forEach((p) => {
|
|
259
253
|
p.dataTooltipVisible = e;
|
|
260
254
|
});
|
|
@@ -268,7 +262,7 @@ var I = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, T = (t, e,
|
|
|
268
262
|
(n = t[l]) && (o = n(e, i, o) || o);
|
|
269
263
|
return o && I(e, i, o), o;
|
|
270
264
|
};
|
|
271
|
-
class
|
|
265
|
+
class _ extends f {
|
|
272
266
|
/**
|
|
273
267
|
* Gets the visibility of the data tooltips.
|
|
274
268
|
* - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
@@ -277,7 +271,7 @@ class m extends f {
|
|
|
277
271
|
* @param seriesIndex - The index of the series.
|
|
278
272
|
*/
|
|
279
273
|
getDataTooltipVisibility(e) {
|
|
280
|
-
return
|
|
274
|
+
return U(this._config, e);
|
|
281
275
|
}
|
|
282
276
|
setDataTooltipVisibility(e, i) {
|
|
283
277
|
X(this._config, e, i);
|
|
@@ -298,13 +292,13 @@ class m extends f {
|
|
|
298
292
|
}
|
|
299
293
|
T([
|
|
300
294
|
s
|
|
301
|
-
],
|
|
295
|
+
], _.prototype, "setDataTooltipVisibility");
|
|
302
296
|
T([
|
|
303
297
|
s
|
|
304
|
-
],
|
|
298
|
+
], _.prototype, "setDataTooltipReverseColor");
|
|
305
299
|
export {
|
|
306
300
|
g as M,
|
|
307
301
|
M as W,
|
|
308
|
-
|
|
302
|
+
_ as a,
|
|
309
303
|
w as b
|
|
310
304
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as f } from "./utils.js";
|
|
4
4
|
import { M as a, a as l, d as G } from "./model-with-guides.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
|
-
var
|
|
7
|
-
for (var i =
|
|
6
|
+
var c = Object.defineProperty, m = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
|
|
7
|
+
for (var i = m(e, t), s = o.length - 1, r; s >= 0; s--)
|
|
8
8
|
(r = o[s]) && (i = r(e, t, i) || i);
|
|
9
|
-
return i &&
|
|
9
|
+
return i && c(e, t, i), i;
|
|
10
10
|
};
|
|
11
11
|
class d extends a {
|
|
12
12
|
// ---------------------------------------------------------------------------------------------
|