@arcgis/charts-components 5.2.0-next.124 → 5.2.0-next.126
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/{4UYG2V6P.js → 2IW2QZFJ.js} +1 -1
- package/dist/cdn/{CB3BW4H5.js → 2PJPH3IO.js} +1 -1
- package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
- package/dist/cdn/{32RVL6OQ.js → 4MAJ24GS.js} +1 -1
- package/dist/cdn/4U3OAZA7.js +2 -0
- package/dist/cdn/{BQMUOJL7.js → 4VFEZCIA.js} +1 -1
- package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
- package/dist/cdn/{NCOXA4CE.js → 56LNZVTX.js} +1 -1
- package/dist/cdn/{HFFXDWQL.js → 57SE2XVZ.js} +1 -1
- package/dist/cdn/{DYCZXSJG.js → 5BMODU2D.js} +1 -1
- package/dist/cdn/{BQMDOKAK.js → 5BNYRPXI.js} +1 -1
- package/dist/cdn/{H4UKMJ3M.js → 5MDZB2JE.js} +1 -1
- package/dist/cdn/{VP5MGMQP.js → 5R7ZWTMY.js} +1 -1
- package/dist/cdn/6664UEHL.js +2 -0
- package/dist/cdn/{N4YN5XHL.js → 6AKXJHB7.js} +1 -1
- package/dist/cdn/{CQORXOQS.js → 6GTMALBB.js} +1 -1
- package/dist/cdn/{YW6WBDZV.js → 6MHADUGC.js} +1 -1
- package/dist/cdn/{XIVGFLZQ.js → 6QIL7VBD.js} +1 -1
- package/dist/cdn/{GZA5OPRD.js → 763Z5IGF.js} +1 -1
- package/dist/cdn/7KZO2XXD.js +2 -0
- package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
- package/dist/cdn/{UDQP2AFN.js → A5P6WB3G.js} +1 -1
- package/dist/cdn/{FK7MIBNE.js → AMVJMEWD.js} +1 -1
- package/dist/cdn/{A5CQKJHA.js → ANSNUR3I.js} +1 -1
- package/dist/cdn/{RDCTBV2Q.js → AOKEN5ZO.js} +1 -1
- package/dist/cdn/{EXCMERSU.js → AOO37P5T.js} +1 -1
- package/dist/cdn/{4GHJREG3.js → ASBXNQOS.js} +2 -2
- package/dist/cdn/{GCPA466R.js → B5VRC7DP.js} +1 -1
- package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
- package/dist/cdn/{OO4U6KKQ.js → CD3XMKTK.js} +1 -1
- package/dist/cdn/{5V33DFCG.js → CRDOGPB7.js} +1 -1
- package/dist/cdn/{KILQBDSV.js → CW4JPG3J.js} +1 -1
- package/dist/cdn/DAB3SJBG.js +2 -0
- package/dist/cdn/{IJR65YQB.js → DX7M2EXK.js} +1 -1
- package/dist/cdn/{BUXZ2NBS.js → DXWP65HI.js} +1 -1
- package/dist/cdn/{6H6ZTNGY.js → E5JWMNIW.js} +1 -1
- package/dist/cdn/{IKH7UGJM.js → EJXBVT5O.js} +1 -1
- package/dist/cdn/{ITFMAKY3.js → EX2R2B4U.js} +1 -1
- package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
- package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
- package/dist/cdn/{WXO3YJ3T.js → G4MIOOVR.js} +1 -1
- package/dist/cdn/{MVJKABXP.js → GMP2UWJG.js} +1 -1
- package/dist/cdn/{O7NFMOTE.js → GZWV22RE.js} +1 -1
- package/dist/cdn/{STFT35NP.js → HKFQANWN.js} +1 -1
- package/dist/cdn/{3HZFE5JC.js → HQMCT3VB.js} +1 -1
- package/dist/cdn/I3LNZVEA.js +3 -0
- package/dist/cdn/{ZRYPRUVT.js → IBLYUVF2.js} +1 -1
- package/dist/cdn/{CR2U5KNC.js → IJAURACW.js} +1 -1
- package/dist/cdn/{C6YIO7EV.js → IS2A63E6.js} +1 -1
- package/dist/cdn/{PX7QCMDX.js → IYI6DUGL.js} +1 -1
- package/dist/cdn/{Q4HYSXEK.js → JOEBZXL4.js} +1 -1
- package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
- package/dist/cdn/{JO4YQAFF.js → JZ6V5FKE.js} +1 -1
- package/dist/cdn/{IJKFUMKC.js → K3R6EK3N.js} +1 -1
- package/dist/cdn/{3IXFIA6D.js → KS4EBLYJ.js} +22 -22
- package/dist/cdn/{BF2U4V7S.js → KW4KLLTK.js} +1 -1
- package/dist/cdn/{W7HVSUF2.js → LE2B3JXK.js} +1 -1
- package/dist/cdn/{V4N4EY2E.js → LHGIUJ6U.js} +1 -1
- package/dist/cdn/{JNRJSGDP.js → LV3GHN5L.js} +1 -1
- package/dist/cdn/{JFXCJ6HT.js → M2WD5JN6.js} +1 -1
- package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
- package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
- package/dist/cdn/{OCABBLZ7.js → NNRSK2LV.js} +1 -1
- package/dist/cdn/ONKX4PWR.js +2 -0
- package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
- package/dist/cdn/{V4VQT6A6.js → PEHD5Y4I.js} +1 -1
- package/dist/cdn/{JSFNIFWE.js → QELGEYXU.js} +1 -1
- package/dist/cdn/QZHRLUXI.js +2 -0
- package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
- package/dist/cdn/RD2OZ5DF.js +2 -0
- package/dist/cdn/{EFFUZV52.js → RPMGP2UN.js} +1 -1
- package/dist/cdn/{H3JLQ2R3.js → RS2T6377.js} +1 -1
- package/dist/cdn/SKRBORPC.js +2 -0
- package/dist/cdn/SL3ZM7G5.js +2 -0
- package/dist/cdn/{353KIT3L.js → SYSQA3IG.js} +1 -1
- package/dist/cdn/{IS7KQGMM.js → T6RCABY5.js} +1 -1
- package/dist/cdn/{TV3FXQVK.js → TCYUL3JC.js} +1 -1
- package/dist/cdn/{MOL3RVAG.js → TIVS64YH.js} +1 -1
- package/dist/cdn/{O34ACKBX.js → TPTH224R.js} +1 -1
- package/dist/cdn/{DCIQMSQ2.js → TRR5AXW7.js} +1 -1
- package/dist/cdn/{LUFRX5TB.js → UEAU7YQZ.js} +1 -1
- package/dist/cdn/{ZP4T262N.js → UPEMQGFY.js} +1 -1
- package/dist/cdn/{6CPDF77P.js → UY4AKYFU.js} +1 -1
- package/dist/cdn/{MDMJT2VS.js → UYFTXYBR.js} +1 -1
- package/dist/cdn/{M6L3GCVZ.js → V3HNAMD7.js} +1 -1
- package/dist/cdn/{QOZYAJXQ.js → VFVOONAN.js} +1 -1
- package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
- package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
- package/dist/cdn/{U2O4NGY5.js → VT2XOG5Y.js} +1 -1
- package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
- package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
- package/dist/cdn/{IYVSAR3D.js → WOENRIAM.js} +1 -1
- package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
- package/dist/cdn/{OY5HRHVW.js → WW7WSQXS.js} +1 -1
- package/dist/cdn/{MFJINTU5.js → YHQ5JR63.js} +1 -1
- package/dist/cdn/YQDW3D4E.js +2 -0
- package/dist/cdn/{METDO2QG.js → YRWKRJU4.js} +1 -1
- package/dist/cdn/{U2VHNPRE.js → YSLCFR5X.js} +1 -1
- package/dist/cdn/{CQLILZFZ.js → YSZKMYYU.js} +1 -1
- package/dist/cdn/{QSJV77RB.js → YUN3KGXG.js} +1 -1
- package/dist/cdn/Z5VGMG7G.js +2 -0
- package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +173 -117
- package/dist/chunks/chart-ui-utils.js +11 -11
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +9 -9
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +9 -0
- package/dist/chunks/index.js +1590 -1574
- package/dist/chunks/index2.js +7 -1
- package/dist/chunks/index3.js +15 -15
- package/dist/chunks/index4.js +7 -7
- package/dist/chunks/model-setter.js +21 -21
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +4 -4
- package/dist/chunks/pie-chart-model.js +102 -84
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +71 -71
- package/dist/chunks/serial-chart-model.js +134 -79
- package/dist/chunks/type-guards2.js +17 -17
- package/dist/chunks/utils.js +123 -107
- package/dist/chunks/web-component-utils.js +9 -9
- package/dist/chunks/x-bounds.js +21 -21
- package/dist/components/arcgis-chart/customElement.js +4775 -4653
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +52 -42
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +54 -63
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +368 -366
- package/dist/interfaces.d.ts +3 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -1
- package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
- package/dist/model/interfaces/common.d.ts +2 -0
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +13 -1
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
- package/dist/model/shared/setup-utils.d.ts +2 -0
- package/dist/model/shared/setup-utils.js +37 -36
- package/dist/utils/chart-config/converter/index.js +48 -48
- package/dist/utils/chart-config/utils/index.d.ts +20 -0
- package/dist/utils/data/interfaces.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cdn/2TV4NKY2.js +0 -2
- package/dist/cdn/4YOIC4P4.js +0 -2
- package/dist/cdn/ELXF6XQQ.js +0 -2
- package/dist/cdn/EXLX4SJG.js +0 -2
- package/dist/cdn/GTBT4ACW.js +0 -2
- package/dist/cdn/HH5B6KCV.js +0 -2
- package/dist/cdn/KRNF2XCU.js +0 -2
- package/dist/cdn/KZBUDNHW.js +0 -2
- package/dist/cdn/KZSCAJDG.js +0 -2
- package/dist/cdn/LBX6U6EK.js +0 -3
- package/dist/cdn/Q4GIMFJ2.js +0 -2
- package/dist/cdn/XOTHROVZ.js +0 -2
- /package/dist/cdn/{225VUGML.js → IJPD3GVL.js} +0 -0
package/dist/chunks/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import te from "@esri/arcgis-html-sanitizer";
|
|
3
3
|
import { isEmpty as ie, isEqual as B } from "es-toolkit/compat";
|
|
4
|
-
import { a3 as C, p as ae, a4 as re, r as ne, a5 as A,
|
|
4
|
+
import { a3 as C, p as ae, a4 as re, r as ne, a5 as A, L as oe, H as se, s as le, V as de, U as ce } from "./index3.js";
|
|
5
5
|
import { g as b } from "./series-types.js";
|
|
6
6
|
import { g as x, c as ue, i as ge, f as me, a as n, s as pe, e as S } from "./chart-object-literals.js";
|
|
7
7
|
import { R as T, b as p, e as he } from "./rest-js-object-literals.js";
|
|
@@ -149,6 +149,12 @@ const Se = {
|
|
|
149
149
|
rotation: 90
|
|
150
150
|
},
|
|
151
151
|
guideAbove: !1,
|
|
152
|
+
guideLabelPadding: {
|
|
153
|
+
paddingTop: 0,
|
|
154
|
+
paddingRight: 10,
|
|
155
|
+
paddingBottom: 0,
|
|
156
|
+
paddingLeft: 10
|
|
157
|
+
},
|
|
152
158
|
cursorCrosshair: {
|
|
153
159
|
style: {
|
|
154
160
|
type: p.SLS,
|
package/dist/chunks/index3.js
CHANGED
|
@@ -1005,7 +1005,7 @@ const i = {
|
|
|
1005
1005
|
};
|
|
1006
1006
|
function ut(t) {
|
|
1007
1007
|
const e = { ...t };
|
|
1008
|
-
return e.behaviorAfterLimit ??= i.behaviorAfterLimit, e.maxCategoryCount ??= e?.serialChart?.categories ?? i.maxCategoryCount, e.maxBarChartSeriesCount ??= e?.serialChart?.series ?? i.maxBarChartSeriesCount, e.maxBarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarUniqueSeriesCountTotal, e.maxBarTwoSeriesCountPerSeries ??= i.maxBarTwoSeriesCountPerSeries, e.maxBarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarTwoSeriesCountTotal, e.maxBarThreePlusSeriesCountPerSeries ??= i.maxBarThreePlusSeriesCountPerSeries, e.maxBarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBarThreePlusSeriesCountTotal, e.maxScatterPointsBeforeAggregation ??= e.scatterplot?.aggregationThreshold ?? i.maxScatterPointsBeforeAggregation, e.maxScatterPointsAfterAggregation ??= e.scatterplot?.markersAfterAggregation ?? i.maxScatterPointsAfterAggregation, e.maxLineChartSeriesCount ??= e?.serialChart?.series ?? i.maxLineChartSeriesCount, e.maxLineUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineUniqueSeriesCountTotal, e.maxLineTwoSeriesCountPerSeries ??= i.maxLineTwoSeriesCountPerSeries, e.maxLineTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineTwoSeriesCountTotal, e.maxLineThreePlusSeriesCountPerSeries ??= i.maxLineThreePlusSeriesCountPerSeries, e.maxLineThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxRadarChartSeriesCount ??= e?.serialChart?.series ?? i.maxRadarChartSeriesCount, e.maxRadarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarUniqueSeriesCountTotal, e.maxRadarTwoSeriesCountPerSeries ??= i.maxRadarTwoSeriesCountPerSeries, e.maxRadarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarTwoSeriesCountTotal, e.maxRadarThreePlusSeriesCountPerSeries ??= i.maxRadarThreePlusSeriesCountPerSeries, e.maxRadarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxPieChartSliceCountTotal ??= e?.pieChart?.slices ?? i.maxPieChartSliceCountTotal, e.maxGaugeByFeaturesLimit ??= e?.gauge?.features ?? i.maxGaugeByFeaturesLimit, e.maxBoxPlotSeriesCount ??= e?.
|
|
1008
|
+
return e.behaviorAfterLimit ??= i.behaviorAfterLimit, e.maxCategoryCount ??= e?.serialChart?.categories ?? i.maxCategoryCount, e.maxBarChartSeriesCount ??= e?.serialChart?.series ?? i.maxBarChartSeriesCount, e.maxBarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarUniqueSeriesCountTotal, e.maxBarTwoSeriesCountPerSeries ??= i.maxBarTwoSeriesCountPerSeries, e.maxBarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarTwoSeriesCountTotal, e.maxBarThreePlusSeriesCountPerSeries ??= i.maxBarThreePlusSeriesCountPerSeries, e.maxBarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBarThreePlusSeriesCountTotal, e.maxScatterPointsBeforeAggregation ??= e.scatterplot?.aggregationThreshold ?? i.maxScatterPointsBeforeAggregation, e.maxScatterPointsAfterAggregation ??= e.scatterplot?.markersAfterAggregation ?? i.maxScatterPointsAfterAggregation, e.maxLineChartSeriesCount ??= e?.serialChart?.series ?? i.maxLineChartSeriesCount, e.maxLineUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineUniqueSeriesCountTotal, e.maxLineTwoSeriesCountPerSeries ??= i.maxLineTwoSeriesCountPerSeries, e.maxLineTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineTwoSeriesCountTotal, e.maxLineThreePlusSeriesCountPerSeries ??= i.maxLineThreePlusSeriesCountPerSeries, e.maxLineThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxRadarChartSeriesCount ??= e?.serialChart?.series ?? i.maxRadarChartSeriesCount, e.maxRadarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarUniqueSeriesCountTotal, e.maxRadarTwoSeriesCountPerSeries ??= i.maxRadarTwoSeriesCountPerSeries, e.maxRadarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarTwoSeriesCountTotal, e.maxRadarThreePlusSeriesCountPerSeries ??= i.maxRadarThreePlusSeriesCountPerSeries, e.maxRadarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxPieChartSliceCountTotal ??= e?.pieChart?.slices ?? i.maxPieChartSliceCountTotal, e.maxGaugeByFeaturesLimit ??= e?.gauge?.features ?? i.maxGaugeByFeaturesLimit, e.maxBoxPlotSeriesCount ??= e?.boxPlot?.series ?? i.maxBoxPlotSeriesCount, e.maxBoxUniqueSeriesCountTotal ??= e?.boxPlot?.elements ?? i.maxBoxUniqueSeriesCountTotal, e.maxBoxTwoSeriesCountPerSeries ??= i.maxBoxTwoSeriesCountPerSeries, e.maxBoxTwoSeriesCountTotal ??= e?.boxPlot?.elements ?? i.maxBoxTwoSeriesCountTotal, e.maxBoxThreePlusSeriesCountPerSeries ??= i.maxBoxThreePlusSeriesCountPerSeries, e.maxBoxThreePlusSeriesCountTotal ??= e.boxPlot?.elements ?? i.maxBoxThreePlusSeriesCountTotal, e.maxBoxPlotOutlierLimit ??= e?.boxPlot?.outliers ?? i.maxBoxPlotOutlierLimit, e.maxHeatChartCellLimit ??= e?.heatChart?.cells ?? i.maxHeatChartCellLimit, e.serialChart = {
|
|
1009
1009
|
...i.serialChart,
|
|
1010
1010
|
...e.serialChart
|
|
1011
1011
|
}, e.boxPlot = {
|
|
@@ -1128,20 +1128,20 @@ export {
|
|
|
1128
1128
|
q as E,
|
|
1129
1129
|
X as F,
|
|
1130
1130
|
M as G,
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1131
|
+
ut as H,
|
|
1132
|
+
mt as I,
|
|
1133
|
+
St as J,
|
|
1134
|
+
ht as K,
|
|
1135
|
+
K as L,
|
|
1136
|
+
bt as M,
|
|
1137
|
+
Ct as N,
|
|
1138
|
+
ft as O,
|
|
1139
|
+
U as P,
|
|
1140
|
+
ke as Q,
|
|
1141
|
+
k as R,
|
|
1142
|
+
Te as S,
|
|
1143
|
+
ct as T,
|
|
1144
|
+
Pe as U,
|
|
1145
1145
|
pe as V,
|
|
1146
1146
|
Ee as W,
|
|
1147
1147
|
ae as X,
|
package/dist/chunks/index4.js
CHANGED
|
@@ -4,9 +4,9 @@ import P from "ajv";
|
|
|
4
4
|
import { g as k } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as B } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import {
|
|
7
|
+
import { ca as u, q as E, aT as M, av as C, bK as V, p as v, w as T, by as z, cb as G, t as x, bX as W, aQ as U, bt as F, cc as H, bk as J, W as _, cd as K, bG as Q, y as Z, ce as X, M as Y, N as ee } from "./index.js";
|
|
8
8
|
import { l as te, q as ie } from "./index3.js";
|
|
9
|
-
import { i as
|
|
9
|
+
import { i as I, a as h, D as re } from "./index2.js";
|
|
10
10
|
import { g as S } from "./series-types.js";
|
|
11
11
|
import { a as p, o as ne, d as ae } from "./chart-object-literals.js";
|
|
12
12
|
import { d as oe } from "./rest-js-object-literals.js";
|
|
@@ -10858,7 +10858,7 @@ function O(t, r) {
|
|
|
10858
10858
|
function j(t) {
|
|
10859
10859
|
const r = /* @__PURE__ */ new Set(), e = H(t);
|
|
10860
10860
|
if (e) {
|
|
10861
|
-
const i = S(t.series), n =
|
|
10861
|
+
const i = S(t.series), n = v(t.series);
|
|
10862
10862
|
i === p.GaugeSeries && !J(t) || n === h.PieFromFields || n === h.BarAndLineFromFields || n === h.BoxPlotC1MonoField || n === h.BoxPlotC2MultiFields || n === h.BoxPlotC5MonoFieldAndSplitBy || n === h.BoxPlotC6MultiFieldsAndSplitBy || r.add(e.x);
|
|
10863
10863
|
const d = i === p.ScatterSeries || i === p.BoxPlotSeries || i === p.HeatSeries || n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation || n === h.PieNoAggregation, l = [
|
|
10864
10864
|
te,
|
|
@@ -10888,7 +10888,7 @@ function j(t) {
|
|
|
10888
10888
|
r.delete(o);
|
|
10889
10889
|
});
|
|
10890
10890
|
}
|
|
10891
|
-
return Array.from(r.values()).filter((i) => !
|
|
10891
|
+
return Array.from(r.values()).filter((i) => !I(i));
|
|
10892
10892
|
}
|
|
10893
10893
|
function pe(t) {
|
|
10894
10894
|
const { chartConfig: r, queryObject: e, errorStrings: i } = t;
|
|
@@ -10972,7 +10972,7 @@ function xe(t) {
|
|
|
10972
10972
|
}
|
|
10973
10973
|
case p.PieSeries: {
|
|
10974
10974
|
const i = t?.series;
|
|
10975
|
-
|
|
10975
|
+
v(i) === h.PieFromFields ? e = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : e = (i?.[0]?.x?.length ?? 0) === 0 || i?.[0]?.x === T;
|
|
10976
10976
|
break;
|
|
10977
10977
|
}
|
|
10978
10978
|
case p.BoxPlotSeries: {
|
|
@@ -10985,11 +10985,11 @@ function xe(t) {
|
|
|
10985
10985
|
case p.BarSeries:
|
|
10986
10986
|
case p.LineSeries: {
|
|
10987
10987
|
const i = t?.series;
|
|
10988
|
-
|
|
10988
|
+
v(i) === h.BarAndLineFromFields ? e = (i?.[0]?.query?.outStatistics?.length ?? 0) === 0 : e = (i?.[0]?.x?.trim()?.length ?? 0) === 0;
|
|
10989
10989
|
break;
|
|
10990
10990
|
}
|
|
10991
10991
|
case p.HeatSeries: {
|
|
10992
|
-
const i = t?.series, n =
|
|
10992
|
+
const i = t?.series, n = I(i?.[0]?.x) || I(i?.[0]?.y), a = t !== void 0 && V(t) ? !1 : i?.[0]?.xTemporalBinning === void 0;
|
|
10993
10993
|
e = n || a;
|
|
10994
10994
|
break;
|
|
10995
10995
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { fetchT9nStringsBundle as
|
|
3
|
-
import { getElementLocale as
|
|
4
|
-
import { g as
|
|
5
|
-
import { convertChartSpec as
|
|
6
|
-
import { a6 as
|
|
7
|
-
import {
|
|
8
|
-
import { cloneDeep as
|
|
2
|
+
import { fetchT9nStringsBundle as g } from "@arcgis/toolkit/intl";
|
|
3
|
+
import { getElementLocale as l } from "@arcgis/toolkit/intl/dom";
|
|
4
|
+
import { g as m } from "./runtime.js";
|
|
5
|
+
import { convertChartSpec as y } from "../utils/chart-config/converter/index.js";
|
|
6
|
+
import { a6 as p } from "./index3.js";
|
|
7
|
+
import { bJ as o, be as u, t as _, r as C } from "./index.js";
|
|
8
|
+
import { cloneDeep as U } from "es-toolkit/compat";
|
|
9
9
|
const h = 30;
|
|
10
|
-
function
|
|
10
|
+
function v(r, e, t, i) {
|
|
11
11
|
const s = h - 1, n = Math.max(r - s, 0);
|
|
12
12
|
if (i === void 0 && (i = r - 1), !(i < n || i > r))
|
|
13
13
|
return i === r ? e : t[i - n];
|
|
14
14
|
}
|
|
15
|
-
class
|
|
15
|
+
class x extends EventTarget {
|
|
16
16
|
/**
|
|
17
17
|
* @param args
|
|
18
18
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
@@ -22,7 +22,7 @@ class A extends EventTarget {
|
|
|
22
22
|
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this._revision = 0, this._configHistory = [void 0], this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
23
23
|
this.resolveSetup = t;
|
|
24
24
|
}), this.emitConfigUpdate = (t) => {
|
|
25
|
-
this._revision += 1, this._configHistory.push(
|
|
25
|
+
this._revision += 1, this._configHistory.push(U(this._config)), this._configHistory.length > h && this._configHistory.shift(), this.dispatchEvent(
|
|
26
26
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
27
27
|
detail: { config: this._config, setterName: t }
|
|
28
28
|
})
|
|
@@ -49,7 +49,7 @@ class A extends EventTarget {
|
|
|
49
49
|
* If no `configRevision` number is provided, it recalls the last configuration just before the current one.
|
|
50
50
|
*/
|
|
51
51
|
recall(e) {
|
|
52
|
-
return
|
|
52
|
+
return v(this._revision, this._config, this._configHistory, e);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Checks if the current chart model is for the same chart as another chart model.
|
|
@@ -77,23 +77,23 @@ class A extends EventTarget {
|
|
|
77
77
|
* @private
|
|
78
78
|
*/
|
|
79
79
|
async loadConfigFromLayer(e) {
|
|
80
|
-
const { layer: t, iLayer: i, config: s, commonStrings: n } = e;
|
|
81
|
-
this.commonStrings = n ?? await
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
const { layer: t, iLayer: i, config: s, commonStrings: n, chartLimits: c } = e;
|
|
81
|
+
this._chartLimits = c, this.commonStrings = n ?? await g(
|
|
82
|
+
l(document.documentElement).t9nLocale,
|
|
83
|
+
m("./assets/common/t9n"),
|
|
84
84
|
"messages."
|
|
85
85
|
);
|
|
86
86
|
let a = t;
|
|
87
87
|
if (!a && i ? a = await o(i) : !a && s?.iLayer && (a = await o(s.iLayer)), a) {
|
|
88
|
-
await
|
|
89
|
-
const d =
|
|
88
|
+
await u(a);
|
|
89
|
+
const d = _(a, !0), f = C(a).idField;
|
|
90
90
|
this.layerInfo = {
|
|
91
91
|
layer: a,
|
|
92
92
|
layerFieldsInfo: d,
|
|
93
|
-
objectIdField:
|
|
93
|
+
objectIdField: f
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
this._config = s ? await
|
|
96
|
+
this._config = s ? await y(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = p().title), i && (this._config.iLayer = i);
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* Manually block the async guard to queue up config updates until unblocked.
|
|
@@ -126,8 +126,8 @@ function H(r, e, t) {
|
|
|
126
126
|
}), t;
|
|
127
127
|
}
|
|
128
128
|
export {
|
|
129
|
-
|
|
129
|
+
x as C,
|
|
130
130
|
h as M,
|
|
131
131
|
H as m,
|
|
132
|
-
|
|
132
|
+
v as r
|
|
133
133
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as k, b as S, s as b, a as v } from "./series.js";
|
|
3
3
|
import { n } from "./index3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c7 as i, c8 as o } from "./index.js";
|
|
5
5
|
import { C as y, m as h } from "./model-setter.js";
|
|
6
6
|
const l = (s) => {
|
|
7
7
|
const { config: e, seriesIndex: a, callback: t } = s;
|
|
@@ -6,7 +6,7 @@ import { g as x, u as L } from "./utils.js";
|
|
|
6
6
|
import { g as W } from "./data.js";
|
|
7
7
|
import { g as k } from "./series-length.js";
|
|
8
8
|
import { g as _ } from "./utils2.js";
|
|
9
|
-
import { a6 as
|
|
9
|
+
import { a6 as z, I as G, af as H } from "./index3.js";
|
|
10
10
|
import { b as P } from "./index2.js";
|
|
11
11
|
import { w as A, r as B, y as w } from "./index.js";
|
|
12
12
|
import { i as K } from "./index4.js";
|
|
@@ -45,7 +45,7 @@ const Y = (s, t) => {
|
|
|
45
45
|
return t === g.Fields && e.length === 0 ? i = p.Sum : i = s.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? p.NoAggregation, i;
|
|
46
46
|
};
|
|
47
47
|
function j(s) {
|
|
48
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, o = B(e?.layer).idField, d = t.series[0] ??
|
|
48
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, o = B(e?.layer).idField, d = t.series[0] ?? H(r, o), l = b(t), c = {
|
|
49
49
|
...d,
|
|
50
50
|
x: i === g.Category ? l : A
|
|
51
51
|
}, a = F(t, i);
|
|
@@ -64,7 +64,7 @@ function j(s) {
|
|
|
64
64
|
return i === g.Category && c.query !== void 0 ? c.query.groupByFieldsForStatistics = [l] : delete c.query?.groupByFieldsForStatistics, U(c);
|
|
65
65
|
}
|
|
66
66
|
function D(s) {
|
|
67
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: o } = e, { idField: d, isTraditionalTypeOID: l } = B(e.layer), c = b(t), a = m(t), n = F(t, i), u = l && (a.length === 0 || a.includes(d)), h =
|
|
67
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: o } = e, { idField: d, isTraditionalTypeOID: l } = B(e.layer), c = b(t), a = m(t), n = F(t, i), u = l && (a.length === 0 || a.includes(d)), h = G(n, r), q = u ? "" : a.map(($) => P(o ?? [], $)).join(", "), T = P(o ?? [], c);
|
|
68
68
|
let S = "", N;
|
|
69
69
|
return i === g.Fields ? N = a.length === 0 : N = c === "", N ? S = r.utilsStrings.chartType.pieChart : n === p.NoAggregation ? S = O(r.titleLabels.aggrFieldsByCategory, {
|
|
70
70
|
aggregationFields: u ? d : q,
|
|
@@ -180,7 +180,7 @@ const ge = (s) => {
|
|
|
180
180
|
e.title && l && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: o, mode: r }));
|
|
181
181
|
const a = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
182
182
|
e.legend = {
|
|
183
|
-
...e.legend ??
|
|
183
|
+
...e.legend ?? z(),
|
|
184
184
|
displayNumericValue: n,
|
|
185
185
|
displayPercentage: u,
|
|
186
186
|
displayCategory: a
|