@arcgis/charts-components 5.2.0-next.0 → 5.2.0-next.10
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/{3HDCBEWA.js → 255TSQSE.js} +14 -14
- package/dist/cdn/{A5GIBV5W.js → 25YAWDIB.js} +1 -1
- package/dist/cdn/{AHXJHLWG.js → 2A7JZQX5.js} +1 -1
- package/dist/cdn/{DYC3Q36R.js → 2HTYRBIX.js} +1 -1
- package/dist/cdn/{4DN22Z2T.js → 2PAVNZEM.js} +1 -1
- package/dist/cdn/{JJ2M4U57.js → 2XYTPC2V.js} +1 -1
- package/dist/cdn/{ERSFBFQP.js → 3376CR53.js} +1 -1
- package/dist/cdn/{NS3THLCD.js → 3CFZUVMF.js} +1 -1
- package/dist/cdn/{GKCSV5KX.js → 3S3PN7AK.js} +1 -1
- package/dist/cdn/3W2A4SAP.js +2 -0
- package/dist/cdn/{O3YTMAQX.js → 4ETF22K6.js} +1 -1
- package/dist/cdn/{I6ILHZ4V.js → 4J6UFQ2Q.js} +1 -1
- package/dist/cdn/4YJSRB7R.js +2 -0
- package/dist/cdn/{74JAZF7U.js → 5JNEJJU3.js} +1 -1
- package/dist/cdn/{H6NH46AS.js → 5OKNLDIJ.js} +1 -1
- package/dist/cdn/{I6ZAHATO.js → 5V3ADOWS.js} +1 -1
- package/dist/cdn/{XMMHYOKG.js → 6MF2R6DJ.js} +1 -1
- package/dist/cdn/{SSIG3VVL.js → 6SRJ2VKV.js} +1 -1
- package/dist/cdn/{BI4UYGSS.js → 7EEYYP6X.js} +1 -1
- package/dist/cdn/{VM7TU42Q.js → BER7FMK3.js} +1 -1
- package/dist/cdn/{QPZNCW73.js → BJRHNVLR.js} +1 -1
- package/dist/cdn/{ETLXX7MH.js → CBHWMUGA.js} +37 -37
- package/dist/cdn/{ZPMBL64I.js → CDHUW42P.js} +1 -1
- package/dist/cdn/{NI5ICKEY.js → CEE2QRZ5.js} +1 -1
- package/dist/cdn/{TXSWWAOF.js → CGYB5KPV.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → CSAUXIK2.js} +1 -1
- package/dist/cdn/{JOI6WL3P.js → DJ5OHPYW.js} +1 -1
- package/dist/cdn/EDSF5KGV.js +233 -0
- package/dist/cdn/{UUBMII4X.js → EK33HUAH.js} +1 -1
- package/dist/cdn/{ROIT25TY.js → F7Q3XDZH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → FTOYQNHN.js} +1 -1
- package/dist/cdn/{XQN3IPCF.js → GBDEYCR6.js} +1 -1
- package/dist/cdn/{74GWGGKE.js → GKPMAFU3.js} +1 -1
- package/dist/cdn/GNC62GNV.js +2 -0
- package/dist/cdn/{OBPXCFUE.js → GXC7VLYM.js} +1 -1
- package/dist/cdn/{LEK5TYY2.js → H4B3ERFL.js} +1 -1
- package/dist/cdn/{DPSPWVA2.js → HD4FP3ZK.js} +1 -1
- package/dist/cdn/{PD433VW7.js → HFJ4EPET.js} +1 -1
- package/dist/cdn/{AUFCZ2VI.js → I5AALJRN.js} +1 -1
- package/dist/cdn/{UUO3C7JX.js → ICVAXCHZ.js} +1 -1
- package/dist/cdn/{FKH3OVSJ.js → IHTJSWKK.js} +1 -1
- package/dist/cdn/{LDLY2SF3.js → IKCVYV5L.js} +1 -1
- package/dist/cdn/{WBH5XG4U.js → JEH22SPH.js} +1 -1
- package/dist/cdn/{E4SQHQBK.js → JMAVBKEZ.js} +1 -1
- package/dist/cdn/{V7TM2WGV.js → JQYB4ZDY.js} +1 -1
- package/dist/cdn/{35COV7CA.js → KB76VF4V.js} +1 -1
- package/dist/cdn/{HOX7NZNG.js → KHNP4LWB.js} +1 -1
- package/dist/cdn/{4MT26NON.js → KKKCWW6G.js} +1 -1
- package/dist/cdn/{XCBRFRLO.js → L6ZALCLC.js} +1 -1
- package/dist/cdn/{QR5JSPMD.js → LIPUN4CH.js} +1 -1
- package/dist/cdn/{DA7U5FLY.js → LO6KKSE4.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → LOZOENFC.js} +1 -1
- package/dist/cdn/{RJN2Y6QR.js → M6JCOZIE.js} +1 -1
- package/dist/cdn/{G2RDPRW6.js → N7NZHIGS.js} +1 -1
- package/dist/cdn/{I2AGE5R2.js → NFANBMTU.js} +1 -1
- package/dist/cdn/{MRSWVYMY.js → NKJC4MT7.js} +1 -1
- package/dist/cdn/{H3VQJF7X.js → OYCT7CFU.js} +1 -1
- package/dist/cdn/{CXQOEN77.js → PJZVDHIF.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → PM6FCUUV.js} +1 -1
- package/dist/cdn/{BAIMTE2A.js → PNDFAGEB.js} +1 -1
- package/dist/cdn/{4ONG3Z7W.js → PRPNJEPZ.js} +1 -1
- package/dist/cdn/{P4T5TI3T.js → PZKRRAXW.js} +1 -1
- package/dist/cdn/{YYK7SPXC.js → QAIY4AMN.js} +1 -1
- package/dist/cdn/{76ZTJWGM.js → QF4UBQYT.js} +1 -1
- package/dist/cdn/{ZCIQS5VL.js → QF6LHQTR.js} +1 -1
- package/dist/cdn/QM27URJR.js +2 -0
- package/dist/cdn/{UQN6IMJJ.js → RA3CZHC7.js} +1 -1
- package/dist/cdn/{7JNA22OU.js → RH4AC577.js} +1 -1
- package/dist/cdn/{GGQP5JYM.js → SHTFWNG3.js} +1 -1
- package/dist/cdn/SPVZ5BND.js +2 -0
- package/dist/cdn/SXT5DNXJ.js +4 -0
- package/dist/cdn/SYIW6YJN.js +2 -0
- package/dist/cdn/{3EOJXLYW.js → SZEYHOGG.js} +1 -1
- package/dist/cdn/{L4RUPWN7.js → TH4OHGTQ.js} +1 -1
- package/dist/cdn/{EXTKNE2L.js → U4COKMGA.js} +1 -1
- package/dist/cdn/{ZVZ2XDVU.js → U6USPTQ5.js} +1 -1
- package/dist/cdn/UHPAFBYO.js +2 -0
- package/dist/cdn/VL2G5M57.js +2 -0
- package/dist/cdn/{IFUSMYSL.js → VMS7DT3M.js} +1 -1
- package/dist/cdn/{4WLT4SF2.js → VSPTNIIU.js} +1 -1
- package/dist/cdn/{ZSNIMQ53.js → VW4GW2JT.js} +1 -1
- package/dist/cdn/{MJCXQCOV.js → WBJ6NWHX.js} +1 -1
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/{2RU466XY.js → X4BYDZDR.js} +1 -1
- package/dist/cdn/XACXJMSF.js +3 -0
- package/dist/cdn/{Q3AILKYR.js → XJ2L7VN4.js} +1 -1
- package/dist/cdn/{JN2ZWL6Y.js → XP5GZU4O.js} +1 -1
- package/dist/cdn/{5PBHJCIL.js → XUT56VH6.js} +1 -1
- package/dist/cdn/{GJNWHFFY.js → XWZYTOHY.js} +1 -1
- package/dist/cdn/{SOQJHUX7.js → XXXXO6OB.js} +1 -1
- package/dist/cdn/{6BUS62PQ.js → YDJPGFXU.js} +1 -1
- package/dist/cdn/{IMK7WGD3.js → YSWV4FZE.js} +1 -1
- package/dist/cdn/{5MMDKA25.js → YXWIKYN4.js} +1 -1
- package/dist/cdn/{M7DJDXCP.js → Z4HCNLCD.js} +1 -1
- package/dist/cdn/{C3ZSWQ3I.js → Z5VVIVR3.js} +1 -1
- package/dist/cdn/{BXXLVGNQ.js → ZIVPZF6E.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/axis-lines-symbol.js +4 -4
- package/dist/chunks/bar-chart-model.js +13 -13
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +5 -5
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/chart-ui-utils2.js +13 -13
- package/dist/chunks/class-breaks.js +21 -21
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/data.js +21 -21
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +19 -19
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index2.js +1549 -1540
- package/dist/chunks/index3.js +38 -36
- package/dist/chunks/index4.js +10805 -680
- package/dist/chunks/index5.js +87 -10782
- package/dist/chunks/index6.js +63 -100
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +11 -11
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +2 -2
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +19 -19
- package/dist/chunks/serial-chart-data.js +379 -377
- package/dist/chunks/serial-chart-model.js +44 -44
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/type-guards3.js +4 -4
- package/dist/chunks/utils.js +14 -14
- package/dist/chunks/web-component-utils.js +557 -468
- package/dist/chunks/x-bounds.js +4 -4
- package/dist/components/arcgis-chart/customElement.d.ts +48 -41
- package/dist/components/arcgis-chart/customElement.js +6700 -6898
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/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 +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- 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 +70 -62
- package/dist/index.js +476 -471
- package/dist/json-schema/index.d.ts +52 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +6 -0
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +30 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +2 -0
- package/dist/utils/data/index.d.ts +2 -0
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/layer/index.d.ts +3 -3
- package/dist/utils/layer/inline-conversion/index.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/package.json +8 -6
- package/dist/cdn/2CKPKXNB.js +0 -2
- package/dist/cdn/6LTWEPUM.js +0 -2
- package/dist/cdn/F22N7RZE.js +0 -2
- package/dist/cdn/FJFVM6MK.js +0 -2
- package/dist/cdn/IU3JHT4C.js +0 -4
- package/dist/cdn/LKLXYXQS.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/SOSPMFB6.js +0 -2
- package/dist/cdn/V7HFHWME.js +0 -2
- package/dist/cdn/ZIF2SLZ7.js +0 -3
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{ABIVSH72.js → 2OHFSVV5.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → 2XXW3WF3.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → 3JYZJUOM.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → 3TZEMBXR.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → 4OH4NSIW.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → 5SIAOUPO.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → 7QXRWMUN.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → AASL4RKT.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → ANN3O54W.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → BDGHBTPU.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → FFS73X36.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → FOYOG3G7.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → FWAXKDYV.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → H3EXGCE7.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → I6UPUSLQ.js} +0 -0
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → IYA7HQMS.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → L47EGLUH.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → LROW4Y6O.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → MK5ZYSOD.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → N4L5KE23.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → N5ZUO6F3.js} +0 -0
- /package/dist/cdn/{2HGBRW4I.js → OFWEHJDH.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → OXYJKZEP.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → QR2OOC4D.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → RSNZMJ6I.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → S3ZSZXYG.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → SERX6V5M.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → SSQ3VCZ2.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → TFPQDMER.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → ULWJ57VT.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → UYXCGSXU.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → VDKFC44J.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → VRZ2SY6M.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → WAINRCCJ.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → X2LW7GTR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → XDMGH7YU.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → XY4TRZCG.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → XYKXBWIT.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → Y6ZCTPJW.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → YKDW7ZW3.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → ZBIVDGNH.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import
|
|
2
|
+
import P from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as q } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import { a3 as G,
|
|
5
|
-
import { cloneDeep as J, memoize as
|
|
4
|
+
import { a3 as G, bW as _ } from "./index2.js";
|
|
5
|
+
import { cloneDeep as J, memoize as Y, isEqual as T, sortBy as Q, flatMap as U } from "lodash-es";
|
|
6
6
|
import { getSchemes as X } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
7
7
|
import { j as L } from "./index.js";
|
|
8
8
|
import { i as k, f as b, g as C, R as F } from "./rest-js-object-literals.js";
|
|
@@ -182,7 +182,7 @@ const $e = {
|
|
|
182
182
|
convertColor: x,
|
|
183
183
|
removeConfigFieldsFromData: z
|
|
184
184
|
}, w = Z.all(), re = X({ geometryType: "point", theme: "high-to-low" });
|
|
185
|
-
function
|
|
185
|
+
function W(e, o, t) {
|
|
186
186
|
const s = Math.max(0, Math.min(1, t));
|
|
187
187
|
return [
|
|
188
188
|
Math.round(e[0] + (o[0] - e[0]) * s),
|
|
@@ -209,7 +209,7 @@ function ne(e) {
|
|
|
209
209
|
else
|
|
210
210
|
for (let i = 0; i < o; i++) {
|
|
211
211
|
const l = i / (o - 1);
|
|
212
|
-
n.push(
|
|
212
|
+
n.push(W(r, a, l));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
return n;
|
|
@@ -238,7 +238,7 @@ function le(e) {
|
|
|
238
238
|
c = [];
|
|
239
239
|
break;
|
|
240
240
|
}
|
|
241
|
-
const R = f * (a.length - 1) - u, g =
|
|
241
|
+
const R = f * (a.length - 1) - u, g = W(m, d, R);
|
|
242
242
|
i.push(g);
|
|
243
243
|
}
|
|
244
244
|
c = i;
|
|
@@ -246,7 +246,7 @@ function le(e) {
|
|
|
246
246
|
}
|
|
247
247
|
return c;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function H(e) {
|
|
250
250
|
const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
|
|
251
251
|
let n = ae(o, s);
|
|
252
252
|
const r = t ? le({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
|
|
@@ -304,7 +304,7 @@ function y(e) {
|
|
|
304
304
|
}
|
|
305
305
|
function M(e) {
|
|
306
306
|
let o;
|
|
307
|
-
if (e instanceof
|
|
307
|
+
if (e instanceof P) {
|
|
308
308
|
const t = e.toRgba();
|
|
309
309
|
o = [y(t[0]), y(t[1]), y(t[2]), y(t[3] * 255)];
|
|
310
310
|
} else if (Array.isArray(e) && e.every((t) => typeof t == "number") && e.length === 4) {
|
|
@@ -331,12 +331,12 @@ function E(e, o) {
|
|
|
331
331
|
function fe(e) {
|
|
332
332
|
return [
|
|
333
333
|
...e.colors ?? [],
|
|
334
|
-
...
|
|
334
|
+
...U(e.colorsForClassBreaks ?? [], (o) => o.colors ?? [])
|
|
335
335
|
];
|
|
336
336
|
}
|
|
337
337
|
function ue(e) {
|
|
338
338
|
const { ramp: o, breakKeys: t, breakCount: s, weights: c } = e, n = (d) => d.join(","), r = o.colorsForClassBreaks?.find((d) => d.numClasses === s)?.colors ?? [], a = new Set(I(r).map(n)), i = E(t, a), l = new Set(
|
|
339
|
-
I(
|
|
339
|
+
I(H({ numberOfClassBreaks: s, selectedColorRamp: o })).map(
|
|
340
340
|
n
|
|
341
341
|
)
|
|
342
342
|
), f = E(t, l), u = fe(o).filter((d) => !!d), p = new Set(I(u).map(n)), m = E(t, p);
|
|
@@ -358,7 +358,7 @@ function Ie(e, o) {
|
|
|
358
358
|
weights: t
|
|
359
359
|
});
|
|
360
360
|
return { ramp: f, score: u };
|
|
361
|
-
}), l =
|
|
361
|
+
}), l = Q(i, [
|
|
362
362
|
(f) => -f.score,
|
|
363
363
|
// descending score
|
|
364
364
|
(f) => f.ramp.name
|
|
@@ -431,16 +431,16 @@ async function me(e) {
|
|
|
431
431
|
return r;
|
|
432
432
|
}
|
|
433
433
|
function pe(e) {
|
|
434
|
-
return e?.length ? e :
|
|
434
|
+
return e?.length ? e : K.esriColorRamps;
|
|
435
435
|
}
|
|
436
436
|
function de(e, o) {
|
|
437
437
|
return e ? pe(o).find((s) => s.name === e) : void 0;
|
|
438
438
|
}
|
|
439
439
|
function he(e) {
|
|
440
440
|
const { colorRampName: o, availableColorRamps: t } = e;
|
|
441
|
-
return de(o, t) ??
|
|
441
|
+
return de(o, t) ?? K.defaultColorRampForCharts;
|
|
442
442
|
}
|
|
443
|
-
const Ne =
|
|
443
|
+
const Ne = Y(
|
|
444
444
|
async (e) => {
|
|
445
445
|
const {
|
|
446
446
|
data: o,
|
|
@@ -455,7 +455,7 @@ const Ne = U(
|
|
|
455
455
|
} = e, f = he({
|
|
456
456
|
colorRampName: n,
|
|
457
457
|
availableColorRamps: r
|
|
458
|
-
}), u = l ?? !1, p =
|
|
458
|
+
}), u = l ?? !1, p = H({
|
|
459
459
|
numberOfClassBreaks: t,
|
|
460
460
|
selectedColorRamp: f,
|
|
461
461
|
colorRamp: i ? a?.map((m) => m.symbol?.color) : void 0,
|
|
@@ -470,7 +470,7 @@ const Ne = U(
|
|
|
470
470
|
});
|
|
471
471
|
},
|
|
472
472
|
(e) => JSON.stringify(e)
|
|
473
|
-
),
|
|
473
|
+
), K = {
|
|
474
474
|
esriColorRamps: w,
|
|
475
475
|
defaultColorRampForCharts: w.find((e) => e.name === "Blue 3") ?? w[0]
|
|
476
476
|
};
|
|
@@ -494,11 +494,11 @@ export {
|
|
|
494
494
|
se as a,
|
|
495
495
|
oe as b,
|
|
496
496
|
te as c,
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
497
|
+
Be as d,
|
|
498
|
+
K as e,
|
|
499
|
+
H as f,
|
|
500
|
+
Ne as g,
|
|
501
|
+
Me as h,
|
|
502
502
|
$e as i,
|
|
503
503
|
De as j,
|
|
504
504
|
ve as k,
|
|
@@ -3,9 +3,9 @@ import { g as p, s as b, a as _, b as L } from "./bar-chart-series.js";
|
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
4
|
import { g as u, a as k, e as C, b as v, f as M, s as z, h as O, c as B, i as V, d as D, j as F, k as A, n as H, o as d, p as j, q as W, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
|
|
5
5
|
import { S as T, s as N } from "./serial-chart-model.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as q } from "./utils.js";
|
|
7
7
|
import { u as S } from "./chart-object-literals.js";
|
|
8
|
-
import { j as Y, g as l, i as g } from "./
|
|
8
|
+
import { j as Y, g as l, i as g } from "./index5.js";
|
|
9
9
|
import { w as E, x as y, Y as m } from "./index.js";
|
|
10
10
|
import { an as f } from "./index2.js";
|
|
11
11
|
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import { N as x, k as B, m as L,
|
|
3
|
+
import { N as x, k as B, m as L, cR as $, Y as N, an as I, af as H, ax as P, l as _, n as v } from "./index2.js";
|
|
4
4
|
import { g as F } from "./series-types.js";
|
|
5
5
|
import { H as g, S as o, P as M } from "./common.js";
|
|
6
6
|
import { p as l, n, u as d, r as C } from "./chart-object-literals.js";
|
|
7
|
-
import { C as
|
|
8
|
-
import { g as
|
|
9
|
-
import { c as
|
|
10
|
-
function
|
|
7
|
+
import { C as R } from "./index3.js";
|
|
8
|
+
import { g as U } from "./index.js";
|
|
9
|
+
import { c as W } from "./type-guards.js";
|
|
10
|
+
function Y(e, s) {
|
|
11
11
|
let r;
|
|
12
12
|
return s === n.Category && Array.isArray(e) ? r = o.customSort : s === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
|
|
13
13
|
}
|
|
@@ -15,20 +15,20 @@ function w(e, s) {
|
|
|
15
15
|
let r;
|
|
16
16
|
return s === n.Category && Array.isArray(e) ? r = g.customSort : r = e === l.Ascending ? g.Asc : g.Desc, r;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const k = (e) => {
|
|
19
19
|
const s = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
|
-
return
|
|
20
|
+
return Y(
|
|
21
21
|
s,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
|
-
},
|
|
24
|
+
}, E = (e) => {
|
|
25
25
|
const s = F(e.series);
|
|
26
26
|
let r = !1;
|
|
27
|
-
return (s === d.BarSeries || s === d.LineSeries) && (r =
|
|
27
|
+
return (s === d.BarSeries || s === d.LineSeries) && (r = k(e) === o.customSort), r;
|
|
28
28
|
}, ee = (e) => {
|
|
29
29
|
let s = [];
|
|
30
30
|
const r = e.orderOptions?.data?.orderType;
|
|
31
|
-
return
|
|
31
|
+
return E(e) && r === n.Category && (s = e.orderOptions?.data?.orderBy), s;
|
|
32
32
|
}, se = (e, s, r, t) => {
|
|
33
33
|
const a = F(s.series), m = $(s);
|
|
34
34
|
s.orderOptions ??= {};
|
|
@@ -67,7 +67,7 @@ const E = (e) => {
|
|
|
67
67
|
fieldList: O
|
|
68
68
|
} = e, T = F(s.series), b = N(s.series);
|
|
69
69
|
let f;
|
|
70
|
-
if (
|
|
70
|
+
if (W(i)) {
|
|
71
71
|
const y = P(i);
|
|
72
72
|
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
@@ -90,7 +90,7 @@ const E = (e) => {
|
|
|
90
90
|
fieldName: r,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
93
|
+
}) || b === R.BarAndLineFromFields ? p = _ : (p = `${a}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
95
|
const y = t[0];
|
|
96
96
|
p = `${a}_${y}_${h ?? 0}`.toUpperCase(), A = f ? u(C.Count) : u(`${a} of ${y}`);
|
|
@@ -103,22 +103,22 @@ const E = (e) => {
|
|
|
103
103
|
description: A
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
function
|
|
106
|
+
function K(e) {
|
|
107
107
|
const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
|
|
108
|
-
return s === B || s === L || s ===
|
|
108
|
+
return s === B || s === L || s === U || s === void 0 || s.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
110
|
function V(e) {
|
|
111
111
|
const { fieldName: s, fieldList: r, numericFields: t } = e, a = t.filter((m) => x(r ?? [], m)?.type !== "esriFieldTypeOID");
|
|
112
|
-
return
|
|
112
|
+
return K({ fieldName: s, fieldList: r }) && (a?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
115
|
re as a,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
w as b,
|
|
117
|
+
Y as c,
|
|
118
|
+
se as d,
|
|
119
|
+
ee as e,
|
|
120
120
|
k as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
V as s,
|
|
123
|
+
K as x
|
|
124
124
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { u as c, G as S, r as
|
|
3
|
-
import { K as d, E as
|
|
2
|
+
import { u as c, G as S, r as x } from "./chart-object-literals.js";
|
|
3
|
+
import { K as d, E as b, ah as _, M as m, J as I } from "./index.js";
|
|
4
4
|
import { an as C } from "./index2.js";
|
|
5
5
|
import { C as L } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { M as T } from "./model-with-x-guides.js";
|
|
8
|
-
import { W as A,
|
|
9
|
-
import { W as F,
|
|
10
|
-
import { W as E,
|
|
11
|
-
import { g as P,
|
|
8
|
+
import { W as A, c as W, d as V } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as F, c as D, d as B } from "./generate-x-axis-title.js";
|
|
10
|
+
import { W as E, a as M } from "./x-bounds.js";
|
|
11
|
+
import { g as P, f as w } from "./utils.js";
|
|
12
12
|
const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
13
13
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
14
14
|
}, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
|
|
@@ -22,9 +22,9 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
22
22
|
}, K = (t) => t.axes[0].needle?.displayPin ?? !1, Q = (t, e) => {
|
|
23
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
24
24
|
}, Y = (t) => t.axes[0].innerLabel?.visible ?? !0, z = (t, e) => {
|
|
25
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
25
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
26
26
|
}, H = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
27
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
27
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
28
28
|
}, Z = (t) => t.axes[0].progressBands?.visible ?? !0, ee = (t, e) => {
|
|
29
29
|
e.axes[0].progressBands === void 0 && (e.axes[0].progressBands = {
|
|
30
30
|
type: c.FixedProgressBands
|
|
@@ -46,7 +46,7 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
46
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
47
|
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
48
48
|
const { config: e, field: s, aggregationType: a } = t;
|
|
49
|
-
if (a !==
|
|
49
|
+
if (a !== x.NoAggregation) {
|
|
50
50
|
const r = v(e), l = p(r) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
@@ -73,7 +73,7 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
73
73
|
const r = p(e.series[0]?.featureIndex);
|
|
74
74
|
let l = r ? s : `${a}_${s}`;
|
|
75
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 ??
|
|
76
|
+
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
77
|
const { config: e, layerInfo: s, commonStrings: a, aggregationType: r } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
@@ -85,9 +85,9 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
85
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
86
|
const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l = h(s);
|
|
87
87
|
u({ config: s, layerInfo: a, commonStrings: r, field: e, aggregationType: l });
|
|
88
|
-
}, ye = (t) => t.innerRadius ?? 50,
|
|
88
|
+
}, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
|
|
89
89
|
e.innerRadius = t;
|
|
90
|
-
},
|
|
90
|
+
}, be = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
91
91
|
e.startAngle = t;
|
|
92
92
|
}, ve = (t) => t.endAngle ?? 270, Se = (t, e) => {
|
|
93
93
|
e.endAngle = t;
|
|
@@ -148,13 +148,13 @@ class i extends L {
|
|
|
148
148
|
return ye(this._config);
|
|
149
149
|
}
|
|
150
150
|
set innerRadius(e) {
|
|
151
|
-
|
|
151
|
+
xe(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
154
|
* Start angle of the gauge.
|
|
155
155
|
*/
|
|
156
156
|
get startAngle() {
|
|
157
|
-
return
|
|
157
|
+
return be(this._config);
|
|
158
158
|
}
|
|
159
159
|
set startAngle(e) {
|
|
160
160
|
me(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
3
|
import { H as o } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as C } from "./serial-chart-model.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { E as S, F as T, G as F, H as O, I as A, J as L, K as R, L as x, M as D, N as v, O as w, P as b, Q as I, R as B, S as P, T as E, U as N, V as k, W, X as G, Y as H, Z as Y, _ as U, $ as M, a0 as V, a1 as X, a2 as j, a3 as K, a4 as Z, a5 as c, a6 as y, a7 as q, a8 as J, a9 as Q, aa as $, ab as z, ac as ee, y as m, ad as te, ae as ie, af as se, ag as re, ah as oe, ai as ne, aj as ae, ak as ge } from "./serial-chart-data.js";
|
|
6
|
+
import { d } from "./data.js";
|
|
7
7
|
import { u as le, r as f } from "./chart-object-literals.js";
|
|
8
8
|
import { N as pe } from "./index.js";
|
|
9
9
|
import { an as h } from "./index2.js";
|
|
10
10
|
import { q as ce } from "./index3.js";
|
|
11
|
-
var
|
|
12
|
-
for (var n =
|
|
11
|
+
var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
12
|
+
for (var n = me(e, r), g = l.length - 1, p; g >= 0; g--)
|
|
13
13
|
(p = l[g]) && (n = p(e, r, n) || n);
|
|
14
|
-
return n &&
|
|
14
|
+
return n && ye(e, r, n), n;
|
|
15
15
|
};
|
|
16
16
|
class s extends u {
|
|
17
17
|
constructor() {
|
|
@@ -60,11 +60,11 @@ class s extends u {
|
|
|
60
60
|
* **Note**: This is only applicable for calendar heat charts (when `xAxisField` and `yAxisField` are date fields).
|
|
61
61
|
*/
|
|
62
62
|
get viewType() {
|
|
63
|
-
return
|
|
63
|
+
return O(this._config);
|
|
64
64
|
}
|
|
65
65
|
set viewType(e) {
|
|
66
66
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
67
|
-
|
|
67
|
+
A(e, this._config), this.emitConfigUpdate("heatChartViewType");
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
@@ -129,11 +129,11 @@ class s extends u {
|
|
|
129
129
|
* `manual` - Allows you to manually specify the class breaks.
|
|
130
130
|
*/
|
|
131
131
|
get classificationMethod() {
|
|
132
|
-
return
|
|
132
|
+
return b(this._config);
|
|
133
133
|
}
|
|
134
134
|
set classificationMethod(e) {
|
|
135
135
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
136
|
-
e && (
|
|
136
|
+
e && (I(e, this._config), this.emitConfigUpdate("classificationMethod"));
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
@@ -177,10 +177,10 @@ class s extends u {
|
|
|
177
177
|
* The grid line color used by the heat chart.
|
|
178
178
|
*/
|
|
179
179
|
get gridLineColor() {
|
|
180
|
-
return
|
|
180
|
+
return Y(this._config);
|
|
181
181
|
}
|
|
182
182
|
set gridLineColor(e) {
|
|
183
|
-
|
|
183
|
+
U(e, this._config);
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
186
|
* The name of the series that is used by the heat chart.
|
|
@@ -246,14 +246,14 @@ class s extends u {
|
|
|
246
246
|
}
|
|
247
247
|
set numericFields(e) {
|
|
248
248
|
const { idField: r } = h(this.layerInfo.layer), a = ce(e[0]), n = a ? r : e[0];
|
|
249
|
-
|
|
249
|
+
Z({
|
|
250
250
|
field: n,
|
|
251
251
|
config: this._config,
|
|
252
252
|
layerInfo: this.layerInfo,
|
|
253
253
|
commonStrings: this.commonStrings
|
|
254
254
|
});
|
|
255
255
|
const g = c(this._config);
|
|
256
|
-
a && g !== f.Count &&
|
|
256
|
+
a && g !== f.Count && y({
|
|
257
257
|
aggregationType: f.Count,
|
|
258
258
|
config: this._config,
|
|
259
259
|
layerInfo: this.layerInfo,
|
|
@@ -267,7 +267,7 @@ class s extends u {
|
|
|
267
267
|
return c(this._config);
|
|
268
268
|
}
|
|
269
269
|
set aggregationType(e) {
|
|
270
|
-
|
|
270
|
+
y({
|
|
271
271
|
aggregationType: e,
|
|
272
272
|
config: this._config,
|
|
273
273
|
layerInfo: this.layerInfo,
|
|
@@ -284,7 +284,7 @@ class s extends u {
|
|
|
284
284
|
set splitByField(e) {
|
|
285
285
|
}
|
|
286
286
|
get legendPosition() {
|
|
287
|
-
return
|
|
287
|
+
return q(this._config);
|
|
288
288
|
}
|
|
289
289
|
set legendPosition(e) {
|
|
290
290
|
J(e, this._config);
|
|
@@ -293,10 +293,10 @@ class s extends u {
|
|
|
293
293
|
return Q(this._config);
|
|
294
294
|
}
|
|
295
295
|
set nullPolicy(e) {
|
|
296
|
-
|
|
296
|
+
$(e, this._config);
|
|
297
297
|
}
|
|
298
298
|
get emptyCell() {
|
|
299
|
-
return
|
|
299
|
+
return z(this._config);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* The heat chart's empty cell configuration.
|
|
@@ -316,7 +316,7 @@ class s extends u {
|
|
|
316
316
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
317
317
|
*/
|
|
318
318
|
getXAxisSortOrder() {
|
|
319
|
-
const e =
|
|
319
|
+
const e = m(this._config)[0];
|
|
320
320
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
321
321
|
}
|
|
322
322
|
setXAxisSortOrder(e, r) {
|
|
@@ -327,7 +327,7 @@ class s extends u {
|
|
|
327
327
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
328
328
|
*/
|
|
329
329
|
getYAxisSortOrder() {
|
|
330
|
-
const e =
|
|
330
|
+
const e = m(this._config)[1];
|
|
331
331
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
332
332
|
}
|
|
333
333
|
setYAxisSortOrder(e, r) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as T } from "@arcgis/core/intl.js";
|
|
3
3
|
import { u as O, s as l } from "./utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as M } from "./series-length.js";
|
|
5
5
|
import { g as C } from "./utils2.js";
|
|
6
6
|
import { g as A } from "./chart-object-literals.js";
|
|
7
7
|
import { Q as i, Z as n, P as y, a0 as r } from "./index.js";
|
|
8
8
|
import { d as m } from "./index3.js";
|
|
9
|
-
import { i as h } from "./
|
|
9
|
+
import { i as h } from "./index4.js";
|
|
10
10
|
const v = (s) => {
|
|
11
11
|
l({ config: s, value: null, axisIndex: 0, isMax: !1 }), l({ config: s, value: null, axisIndex: 0, isMax: !0 }), l({ config: s, value: null, axisIndex: 1, isMax: !1 }), l({ config: s, value: null, axisIndex: 1, isMax: !0 });
|
|
12
12
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as
|
|
2
|
+
import { f as m } from "./utils.js";
|
|
3
|
+
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as v, i as b, j as u, k as _, l as D, m as O, n as M, o as w, p as C, q as W, r as T, t as x, u as A, v as N, w as L, x as E, y as F, z as X, A as B } from "./histogram-data.js";
|
|
4
4
|
import { C as P } from "./chart-model.js";
|
|
5
5
|
import { M as j, a as H, W as I, b as V } from "./data-labels-visibility.js";
|
|
6
6
|
import { W as G } from "./data-labels-symbol.js";
|
|
7
|
-
import { W as q,
|
|
8
|
-
import { W as Y,
|
|
9
|
-
import { W as K,
|
|
7
|
+
import { W as q, a as z } from "./x-bounds.js";
|
|
8
|
+
import { W as Y, c as k, d as J } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as K, c as Q, d as R } from "./generate-x-axis-title.js";
|
|
10
10
|
import { m as s } from "./model-setter.js";
|
|
11
11
|
import { u as U } from "./chart-object-literals.js";
|
|
12
12
|
import { O as Z } from "./index.js";
|
|
13
13
|
import { M as $, a as tt } from "./model-with-y-guides.js";
|
|
14
|
-
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (
|
|
15
|
-
for (var
|
|
16
|
-
(l =
|
|
17
|
-
return
|
|
14
|
+
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (a, t, r, it) => {
|
|
15
|
+
for (var i = st(t, r), n = a.length - 1, l; n >= 0; n--)
|
|
16
|
+
(l = a[n]) && (i = l(t, r, i) || i);
|
|
17
|
+
return i && et(t, r, i), i;
|
|
18
18
|
};
|
|
19
19
|
class e extends P {
|
|
20
20
|
constructor() {
|
|
@@ -82,10 +82,10 @@ class e extends P {
|
|
|
82
82
|
* Line symbol used for the mean overlay in the histogram.
|
|
83
83
|
*/
|
|
84
84
|
get meanSymbol() {
|
|
85
|
-
return
|
|
85
|
+
return v(this._config);
|
|
86
86
|
}
|
|
87
87
|
set meanSymbol(t) {
|
|
88
|
-
|
|
88
|
+
b(t, this._config);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* Line symbol used for the median overlay in the histogram.
|