@arcgis/charts-components 5.2.0-next.2 → 5.2.0-next.21
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/{ZRFHAQL6.js → 2OXJ5CIC.js} +1 -1
- package/dist/cdn/2YRBTD5E.js +2 -0
- package/dist/cdn/{VVKV5KKN.js → 3CRUKP7D.js} +1 -1
- package/dist/cdn/3MKY6UCO.js +2 -0
- package/dist/cdn/3SBYV6BW.js +2 -0
- package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
- package/dist/cdn/4MBX554Q.js +2 -0
- package/dist/cdn/4ZGGMYAW.js +2 -0
- package/dist/cdn/{HCMD362H.js → 54CA4NEA.js} +1 -1
- package/dist/cdn/5B7SUFIW.js +2 -0
- package/dist/cdn/{VDG54AIC.js → 62ECX35C.js} +1 -1
- package/dist/cdn/{HCV34H6X.js → 6ECU76VK.js} +1 -1
- package/dist/cdn/7473JWME.js +2 -0
- package/dist/cdn/74UHJFPH.js +2 -0
- package/dist/cdn/{PVJEBBA7.js → 7532DIDI.js} +1 -1
- package/dist/cdn/{JVHJMPFE.js → 7C6E54U5.js} +1 -1
- package/dist/cdn/7X5P6K2W.js +2 -0
- package/dist/cdn/A636YSNA.js +2 -0
- package/dist/cdn/{TNB3MBXR.js → ABAERFCU.js} +1 -1
- package/dist/cdn/AH2UFHXP.js +2 -0
- package/dist/cdn/AHTGZ4MH.js +2 -0
- package/dist/cdn/AQIB3VEP.js +2 -0
- package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
- package/dist/cdn/{KOBNV5AQ.js → B34ZX3IO.js} +1 -1
- package/dist/cdn/BMAAWO5F.js +2 -0
- package/dist/cdn/CG6MYXFY.js +2 -0
- package/dist/cdn/{LONASKGH.js → CPT6BODA.js} +1 -1
- package/dist/cdn/CRCAJAFA.js +2 -0
- package/dist/cdn/DG2OI6R3.js +3 -0
- package/dist/cdn/DKENYDHS.js +233 -0
- package/dist/cdn/{YRBE7MBU.js → DSHN2EGI.js} +1 -1
- package/dist/cdn/E44C5J3E.js +2 -0
- package/dist/cdn/{LZYN55O4.js → EHMSOPGV.js} +1 -1
- package/dist/cdn/{KLC6NTPC.js → ETXHDKUU.js} +1 -1
- package/dist/cdn/{GL3IXVRN.js → F4WIDKYH.js} +1 -1
- package/dist/cdn/{TZB57XD4.js → FGRHILPJ.js} +1 -1
- package/dist/cdn/FYDWWQCT.js +2 -0
- package/dist/cdn/GIBMAXXC.js +2 -0
- package/dist/cdn/{24LTTBTF.js → HJIWACZ5.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → HNHNP7BI.js} +1 -1
- package/dist/cdn/{TYMKFCF4.js → HXR7LXG4.js} +1 -1
- package/dist/cdn/I4MM4T5T.js +2 -0
- package/dist/cdn/IHHPUKGG.js +2 -0
- package/dist/cdn/{R45FWF7D.js → IJNPEW4W.js} +1 -1
- package/dist/cdn/{OE3UFORR.js → ILMYZIWD.js} +1 -1
- package/dist/cdn/{U4XLNCOU.js → IQ3T72TK.js} +1 -1
- package/dist/cdn/{3YT44D4Z.js → IRJ2YA3P.js} +1 -1
- package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
- package/dist/cdn/JMLS3OCC.js +2 -0
- package/dist/cdn/JQ7KK2TT.js +2 -0
- package/dist/cdn/K5AZMQ5Q.js +2 -0
- package/dist/cdn/KNYJJN7R.js +2 -0
- package/dist/cdn/{FDXE5JLT.js → L3XXFSDJ.js} +1 -1
- package/dist/cdn/L52YJC6U.js +2 -0
- package/dist/cdn/{GES3HRXE.js → LKAKZYML.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → LNRU4KNE.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
- package/dist/cdn/{RAQZUMC6.js → LYRIOMLM.js} +1 -1
- package/dist/cdn/{RFQBUWOW.js → NI4KTOCF.js} +1 -1
- package/dist/cdn/O533LNDP.js +2 -0
- package/dist/cdn/{UKDTXHZT.js → OKMRX4U5.js} +1 -1
- package/dist/cdn/{LDPHZHSF.js → OYQK2TIQ.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → PKCOYJHN.js} +1 -1
- package/dist/cdn/{PK5XIIZY.js → POIIR3QR.js} +1 -1
- package/dist/cdn/PSUB3KL5.js +4 -0
- package/dist/cdn/{KI4HS3AM.js → PWNFUWUN.js} +1 -1
- package/dist/cdn/Q5J2S3DE.js +2 -0
- package/dist/cdn/{5JML3JUR.js → QEC5EZ6Q.js} +1 -1
- package/dist/cdn/QID7XRNR.js +2 -0
- package/dist/cdn/QKL4PXPG.js +2 -0
- package/dist/cdn/{2K4ODNJ4.js → QN7MXGGV.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
- package/dist/cdn/R7QGZ7QJ.js +2 -0
- package/dist/cdn/RGFQCA4L.js +102 -0
- package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
- package/dist/cdn/RQN3DHRN.js +2 -0
- package/dist/cdn/{N524VXQ2.js → RY3TJU7J.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → RZGDZC44.js} +1 -1
- package/dist/cdn/S7Z4HRW7.js +2 -0
- package/dist/cdn/SCX3TUEG.js +2 -0
- package/dist/cdn/STTG3UAJ.js +2 -0
- package/dist/cdn/{VEA5ZR5D.js → SZOAGNYC.js} +1 -1
- package/dist/cdn/{PZGIXDMC.js → T5KLEUNC.js} +1 -1
- package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
- package/dist/cdn/{PC7IKOIB.js → TH2F4GPI.js} +1 -1
- package/dist/cdn/{TU3UF32Y.js → U555MUVU.js} +1 -1
- package/dist/cdn/V2H2UI2W.js +2 -0
- package/dist/cdn/{RX3RNE7F.js → V6UMDO6X.js} +1 -1
- package/dist/cdn/VJFHFI6U.js +58 -0
- package/dist/cdn/{3DK6M5E7.js → VK4OJOVV.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → VM6CF4WH.js} +1 -1
- package/dist/cdn/{TAI4RIWT.js → WE2J37H5.js} +1 -1
- package/dist/cdn/{5G7DSKI7.js → XAO2DW32.js} +1 -1
- package/dist/cdn/XRLVJJBT.js +2 -0
- package/dist/cdn/{U2LJZ4ML.js → XVW5DABR.js} +1 -1
- package/dist/cdn/YVOKQFAW.js +2 -0
- package/dist/cdn/{PSO5AURI.js → Z2Z3DPFE.js} +1 -1
- package/dist/cdn/ZW4PF3UK.js +2 -0
- 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/chart-model.js +170 -138
- package/dist/chunks/class-breaks.js +18 -18
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/index2.js +2259 -2226
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +107 -49
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/pie-chart-data.js +42 -36
- package/dist/chunks/pie-chart-model.js +175 -162
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +591 -579
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/utils.js +67 -56
- package/dist/chunks/web-component-utils.js +601 -491
- package/dist/components/arcgis-chart/customElement.d.ts +145 -138
- package/dist/components/arcgis-chart/customElement.js +6353 -6353
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
- 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 +29 -31
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -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.d.ts +66 -70
- package/dist/index.js +212 -210
- package/dist/json-schema/index.d.ts +59 -2
- package/dist/loader.js +1 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +8 -2
- package/dist/utils/chart-config/converter/index.js +264 -264
- package/dist/utils/chart-config/utils/index.d.ts +36 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/data/index.d.ts +8 -11
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +6 -6
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E2N2S7BH.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/IHQ7R6L4.js +0 -4
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/KXNZEPLT.js +0 -58
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N5ERJZPG.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/WO6JBNMU.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- /package/dist/cdn/{2HGBRW4I.js → 3HAB3JR6.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → 3YOOX2CV.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → 4DSO7LUF.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → 5HRLHWQ5.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → 732EZ6WJ.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → 7IS6QE6S.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → 7XZZ5OZL.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → AN2NRYQV.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → ASUGYCJ6.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → BICQEJYZ.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → C2I4WPWM.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → C47AIJTI.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → C5YJ7J3A.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → DPV2ZJLF.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → E4535ZTP.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → FJNRPAMO.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → GI54JT4O.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → GYTYFBNU.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → J5QUGI2J.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → JPEN5TFK.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → KBQM3DLQ.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → LEMJA72W.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → MMO2QPOA.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → PS7IL5JZ.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → R2RRMPOC.js} +0 -0
- /package/dist/cdn/{ABIVSH72.js → RV6E7KKQ.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → RYLXJPKL.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → S2R72ISR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → T4NEEFOY.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → TEERYUCS.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → V454JYTQ.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → V7JF5I5M.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → VIZWWEG5.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → W5SPX6WM.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → X2IOJECM.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → X33RIIGI.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → YBTVIOHQ.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → YFQHZWLO.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → YX4EVVJM.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → YXH22GJ6.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → ZMQTYGGT.js} +0 -0
package/dist/chunks/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import K from "@esri/arcgis-html-sanitizer";
|
|
3
|
-
import { isEmpty as U, isEqual as
|
|
4
|
-
import { ao as
|
|
3
|
+
import { isEmpty as U, isEqual as C } from "lodash-es";
|
|
4
|
+
import { ao as x, ax as q, aw as X, aB as $, ad as Y, D as L, L as Q, r as Z, o as j, ay as J } from "./index.js";
|
|
5
5
|
import { g as S } from "./series-types.js";
|
|
6
6
|
import { p as b, q as ee, l as te, k as ie, s as p, u as n, g as ae } from "./chart-object-literals.js";
|
|
7
7
|
import { g as T, i as y, h as re } from "./rest-js-object-literals.js";
|
|
@@ -336,7 +336,7 @@ const ne = {
|
|
|
336
336
|
color: [0, 0, 0, 255],
|
|
337
337
|
chartEllipsis: "...",
|
|
338
338
|
backgroundColor: [255, 255, 255, 255],
|
|
339
|
-
grayColor:
|
|
339
|
+
grayColor: x,
|
|
340
340
|
// medium gray
|
|
341
341
|
xAxisMinGridDistance: 120,
|
|
342
342
|
xCategoryAxisMinGridDistance: 40,
|
|
@@ -382,8 +382,10 @@ const ne = {
|
|
|
382
382
|
dateBinningRange: "arcgis_charts_bin_range",
|
|
383
383
|
originalServerBinningRange: "arcgis_charts_server_bin_range",
|
|
384
384
|
dateBinModel: "arcgis_charts_bin_model",
|
|
385
|
-
xAxisField: "
|
|
385
|
+
xAxisField: "arcgis_charts_x_axis_field",
|
|
386
|
+
xAxisDisplayField: "arcgis_charts_x_axis_display_field",
|
|
386
387
|
nullValue: "arcgis_charts_null",
|
|
388
|
+
emptyStringValue: "arcgis_charts_empty",
|
|
387
389
|
queryMaxFloatPrecision: 10,
|
|
388
390
|
dateFormatUTC: {
|
|
389
391
|
timeZone: "UTC",
|
|
@@ -437,6 +439,7 @@ const ne = {
|
|
|
437
439
|
}
|
|
438
440
|
},
|
|
439
441
|
tooltipWidth: 300,
|
|
442
|
+
tooltipFontSize: 14,
|
|
440
443
|
axisLabelOveredOpacity: 0.5,
|
|
441
444
|
// 50% of original opacity
|
|
442
445
|
generalFontSize: 10,
|
|
@@ -471,11 +474,11 @@ const ne = {
|
|
|
471
474
|
text: "null",
|
|
472
475
|
symbol: {
|
|
473
476
|
type: y.SFS,
|
|
474
|
-
color:
|
|
477
|
+
color: x,
|
|
475
478
|
outline: {
|
|
476
479
|
type: y.SLS,
|
|
477
480
|
style: T.Solid,
|
|
478
|
-
color:
|
|
481
|
+
color: x,
|
|
479
482
|
width: 1
|
|
480
483
|
}
|
|
481
484
|
}
|
|
@@ -533,7 +536,7 @@ const ne = {
|
|
|
533
536
|
function fe(t) {
|
|
534
537
|
return t?.colorMatch ?? !1;
|
|
535
538
|
}
|
|
536
|
-
function
|
|
539
|
+
function xe(t) {
|
|
537
540
|
let e = L();
|
|
538
541
|
if (t !== void 0) {
|
|
539
542
|
const i = S(t.series);
|
|
@@ -541,7 +544,7 @@ function Ce(t) {
|
|
|
541
544
|
}
|
|
542
545
|
return e;
|
|
543
546
|
}
|
|
544
|
-
function
|
|
547
|
+
function Ce(t) {
|
|
545
548
|
return t?.map((e) => e.type) ?? [];
|
|
546
549
|
}
|
|
547
550
|
function Le(t) {
|
|
@@ -573,7 +576,7 @@ function Te(t) {
|
|
|
573
576
|
function Be(t) {
|
|
574
577
|
const { value: e, keepSurroundingQuotes: i, escape: r } = t;
|
|
575
578
|
let a = e?.trim();
|
|
576
|
-
if (!
|
|
579
|
+
if (!F(a)) {
|
|
577
580
|
let s = "";
|
|
578
581
|
a.startsWith("'") && a.endsWith("'") && (a = a.slice(1, -1), i && (s = "'")), r && (a = se(a)), a = `${s}${a}${s}`;
|
|
579
582
|
}
|
|
@@ -589,15 +592,15 @@ function Ae(t) {
|
|
|
589
592
|
maxBarTwoSeriesCountPerSeries: d,
|
|
590
593
|
maxBarTwoSeriesCountTotal: m,
|
|
591
594
|
maxBarThreePlusSeriesCountPerSeries: f,
|
|
592
|
-
maxBarThreePlusSeriesCountTotal:
|
|
595
|
+
maxBarThreePlusSeriesCountTotal: P,
|
|
593
596
|
maxLineChartSeriesCount: v,
|
|
594
597
|
maxLineUniqueSeriesCountTotal: M,
|
|
595
598
|
maxLineTwoSeriesCountPerSeries: k,
|
|
596
599
|
maxLineTwoSeriesCountTotal: O,
|
|
597
600
|
maxLineThreePlusSeriesCountPerSeries: R,
|
|
598
601
|
maxLineThreePlusSeriesCountTotal: w,
|
|
599
|
-
maxPieChartSliceCountTotal:
|
|
600
|
-
maxGaugeByFeaturesLimit:
|
|
602
|
+
maxPieChartSliceCountTotal: z,
|
|
603
|
+
maxGaugeByFeaturesLimit: N,
|
|
601
604
|
maxBoxPlotSeriesCount: I,
|
|
602
605
|
maxBoxUniqueSeriesCountTotal: D,
|
|
603
606
|
maxBoxTwoSeriesCountTotal: W,
|
|
@@ -611,7 +614,7 @@ function Ae(t) {
|
|
|
611
614
|
case n.ComboLineAndBarSeries:
|
|
612
615
|
{
|
|
613
616
|
const g = e / i;
|
|
614
|
-
i <= u ? i === 0 ? o = !0 : i === 1 ? o = e <= l : i === 2 ? o = e <= m && g <= d : i > 2 && (o = e <=
|
|
617
|
+
i <= u ? i === 0 ? o = !0 : i === 1 ? o = e <= l : i === 2 ? o = e <= m && g <= d : i > 2 && (o = e <= P && g <= f) : o = !1;
|
|
615
618
|
}
|
|
616
619
|
break;
|
|
617
620
|
case n.LineSeries:
|
|
@@ -622,7 +625,7 @@ function Ae(t) {
|
|
|
622
625
|
}
|
|
623
626
|
break;
|
|
624
627
|
case n.PieSeries:
|
|
625
|
-
o = e <=
|
|
628
|
+
o = e <= z;
|
|
626
629
|
break;
|
|
627
630
|
case n.BoxPlotSeries:
|
|
628
631
|
{
|
|
@@ -634,7 +637,7 @@ function Ae(t) {
|
|
|
634
637
|
o = e <= H;
|
|
635
638
|
break;
|
|
636
639
|
case n.GaugeSeries:
|
|
637
|
-
o = e <=
|
|
640
|
+
o = e <= N;
|
|
638
641
|
break;
|
|
639
642
|
}
|
|
640
643
|
}
|
|
@@ -644,11 +647,11 @@ function _e(t = [], e) {
|
|
|
644
647
|
const i = t.find((r) => r.name === e)?.alias;
|
|
645
648
|
return i !== "" ? i ?? e : e;
|
|
646
649
|
}
|
|
647
|
-
function
|
|
650
|
+
function Fe(t = [], e) {
|
|
648
651
|
const i = t.find((r) => r.alias === e)?.name;
|
|
649
652
|
return i !== "" ? i ?? e : e;
|
|
650
653
|
}
|
|
651
|
-
function
|
|
654
|
+
function Pe(t) {
|
|
652
655
|
let e = !1;
|
|
653
656
|
switch (S(t)) {
|
|
654
657
|
case n.HeatSeries:
|
|
@@ -700,7 +703,7 @@ function ve(t, e) {
|
|
|
700
703
|
}
|
|
701
704
|
return r;
|
|
702
705
|
}
|
|
703
|
-
function
|
|
706
|
+
function F(t) {
|
|
704
707
|
return t == null || typeof t == "string" && t.trim() === "";
|
|
705
708
|
}
|
|
706
709
|
function de(t, e) {
|
|
@@ -789,18 +792,18 @@ function Re(t, e) {
|
|
|
789
792
|
function we(t) {
|
|
790
793
|
return new K().sanitize(t);
|
|
791
794
|
}
|
|
792
|
-
function
|
|
795
|
+
function ze(t) {
|
|
793
796
|
return t != null && !Number.isNaN(t) && Number.isFinite(t);
|
|
794
797
|
}
|
|
795
798
|
function ce(t, e) {
|
|
796
799
|
let i = { fieldToSort: "" };
|
|
797
|
-
if (!
|
|
800
|
+
if (!F(t)) {
|
|
798
801
|
const r = t.trim(), s = r.split(" ").at(-1)?.toUpperCase();
|
|
799
802
|
s === b.Ascending || s === b.Descending ? i = { fieldToSort: r.substring(0, r.lastIndexOf(" ")), orderBy: s } : (i = { fieldToSort: r }, e !== !1 && (i.orderBy = b.Ascending));
|
|
800
803
|
}
|
|
801
804
|
return i;
|
|
802
805
|
}
|
|
803
|
-
function
|
|
806
|
+
function Ne(t) {
|
|
804
807
|
return t.orderOptions?.orderByFields?.map((e) => ce(e).fieldToSort) ?? [];
|
|
805
808
|
}
|
|
806
809
|
function Ie(t) {
|
|
@@ -815,7 +818,7 @@ function De(t, e) {
|
|
|
815
818
|
[j]: void 0
|
|
816
819
|
});
|
|
817
820
|
i !== void 0 && (i = i.map(o)), a !== void 0 && (a = a.map(o));
|
|
818
|
-
const u = !
|
|
821
|
+
const u = !C(i, a), l = !C(r, s);
|
|
819
822
|
return u || l;
|
|
820
823
|
}
|
|
821
824
|
function We(t) {
|
|
@@ -870,28 +873,28 @@ export {
|
|
|
870
873
|
be as S,
|
|
871
874
|
ye as a,
|
|
872
875
|
Ee as b,
|
|
873
|
-
|
|
876
|
+
Pe as c,
|
|
874
877
|
_e as d,
|
|
875
878
|
Te as e,
|
|
876
|
-
|
|
879
|
+
Fe as f,
|
|
877
880
|
fe as g,
|
|
878
881
|
ce as h,
|
|
879
|
-
|
|
882
|
+
Ne as i,
|
|
880
883
|
Oe as j,
|
|
881
|
-
|
|
884
|
+
Ce as k,
|
|
882
885
|
Le as l,
|
|
883
886
|
ke as m,
|
|
884
887
|
De as n,
|
|
885
|
-
|
|
888
|
+
xe as o,
|
|
886
889
|
Ge as p,
|
|
887
|
-
|
|
890
|
+
F as q,
|
|
888
891
|
Ae as r,
|
|
889
892
|
de as s,
|
|
890
893
|
Me as t,
|
|
891
894
|
We as u,
|
|
892
895
|
Ie as v,
|
|
893
896
|
ve as w,
|
|
894
|
-
|
|
897
|
+
ze as x,
|
|
895
898
|
He as y,
|
|
896
899
|
Be as z
|
|
897
900
|
};
|
package/dist/chunks/index4.js
CHANGED
|
@@ -3,12 +3,13 @@ import { substitute as f } from "@arcgis/core/intl.js";
|
|
|
3
3
|
import E from "ajv";
|
|
4
4
|
import { g as w } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as S, getElementLocale as v } from "@arcgis/toolkit/intl";
|
|
6
|
-
import { C as u,
|
|
7
|
-
import { g as
|
|
8
|
-
import { q as
|
|
9
|
-
import { g as
|
|
10
|
-
import { u as d, v as
|
|
11
|
-
import { R as
|
|
6
|
+
import { C as u, d2 as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, aw as U, I as L, a7 as D, bk as H, a as $, aF as J, bg as _, cr as Q, V as K, k as Z, n as X, l as Y, b9 as ee, aG as te } from "./index2.js";
|
|
7
|
+
import { g as ie, az as re } from "./index.js";
|
|
8
|
+
import { q as x, C as h, h as ne } from "./index3.js";
|
|
9
|
+
import { g as C } from "./series-types.js";
|
|
10
|
+
import { u as d, v as ae, r as oe } from "./chart-object-literals.js";
|
|
11
|
+
import { R as se } from "./rest-js-object-literals.js";
|
|
12
|
+
import { c as le } from "./type-guards.js";
|
|
12
13
|
const b = {
|
|
13
14
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
14
15
|
definitions: {
|
|
@@ -754,6 +755,7 @@ When the value is set to false, we want to order the split-by series based on th
|
|
|
754
755
|
"x",
|
|
755
756
|
"y"
|
|
756
757
|
],
|
|
758
|
+
description: 'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',
|
|
757
759
|
title: "IPoint"
|
|
758
760
|
},
|
|
759
761
|
ILocation: {
|
|
@@ -803,6 +805,7 @@ When the value is set to false, we want to order the split-by series based on th
|
|
|
803
805
|
required: [
|
|
804
806
|
"paths"
|
|
805
807
|
],
|
|
808
|
+
description: "Polyline geometry.",
|
|
806
809
|
title: "IPolyline"
|
|
807
810
|
},
|
|
808
811
|
Position: {
|
|
@@ -1033,6 +1036,7 @@ When the value is set to false, we want to order the split-by series based on th
|
|
|
1033
1036
|
required: [
|
|
1034
1037
|
"rings"
|
|
1035
1038
|
],
|
|
1039
|
+
description: "Polygon geometry.",
|
|
1036
1040
|
title: "IPolygon"
|
|
1037
1041
|
},
|
|
1038
1042
|
IPolygonWithCurves: {
|
|
@@ -1067,6 +1071,7 @@ When the value is set to false, we want to order the split-by series based on th
|
|
|
1067
1071
|
required: [
|
|
1068
1072
|
"curveRings"
|
|
1069
1073
|
],
|
|
1074
|
+
description: "Polygon geometry with curves.",
|
|
1070
1075
|
title: "IPolygonWithCurves"
|
|
1071
1076
|
},
|
|
1072
1077
|
ElipticArc: {
|
|
@@ -4854,6 +4859,7 @@ They are also defined as properties of the layer definition when there are no de
|
|
|
4854
4859
|
"id",
|
|
4855
4860
|
"layerType"
|
|
4856
4861
|
],
|
|
4862
|
+
description: "Tiled image service layer definition.",
|
|
4857
4863
|
title: "ITiledImageServiceLayer"
|
|
4858
4864
|
},
|
|
4859
4865
|
IWCSLayer: {
|
|
@@ -4938,6 +4944,7 @@ They are also defined as properties of the layer definition when there are no de
|
|
|
4938
4944
|
"layerType",
|
|
4939
4945
|
"wcsInfo"
|
|
4940
4946
|
],
|
|
4947
|
+
description: "Web Coverage Service (WCS) layer definition.",
|
|
4941
4948
|
title: "IWCSLayer"
|
|
4942
4949
|
},
|
|
4943
4950
|
IExclusionArea: {
|
|
@@ -5523,6 +5530,7 @@ They are also defined as properties of the layer definition when there are no de
|
|
|
5523
5530
|
"id",
|
|
5524
5531
|
"layerType"
|
|
5525
5532
|
],
|
|
5533
|
+
description: "Feature layers can be created by referencing a layer from either a map service or a feature service or by specifying a feature collection object. Use a map service if you just want to retrieve geometries and attributes from the server and symbolize them yourself. Use a feature service if you want to take advantage of symbols from the service's source map document. Also, use a feature service if you plan on doing editing with the feature layer. Feature layers honor any feature templates configured in the source map document. Feature collection objects are used to create a feature layer based on the supplied definition.",
|
|
5526
5534
|
title: "IFeatureLayer"
|
|
5527
5535
|
},
|
|
5528
5536
|
IGeoRssLayer: {
|
|
@@ -6270,7 +6278,7 @@ Only applicable to bar chart, line chart.`
|
|
|
6270
6278
|
"meters",
|
|
6271
6279
|
"kilometers"
|
|
6272
6280
|
],
|
|
6273
|
-
deprecated:
|
|
6281
|
+
deprecated: "since 5.1. Use [Query#units](https://next.gha.afd.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) instead.",
|
|
6274
6282
|
title: "RESTUnits"
|
|
6275
6283
|
},
|
|
6276
6284
|
RESTRendererType: {
|
|
@@ -6717,7 +6725,7 @@ Only applicable to bar chart, line chart.`
|
|
|
6717
6725
|
},
|
|
6718
6726
|
intlOptions: {
|
|
6719
6727
|
$ref: "#/definitions/Intl.NumberFormatOptions",
|
|
6720
|
-
description: "Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/
|
|
6728
|
+
description: "Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns) specifications."
|
|
6721
6729
|
}
|
|
6722
6730
|
},
|
|
6723
6731
|
required: [
|
|
@@ -6910,7 +6918,7 @@ Only applicable to bar chart, line chart.`
|
|
|
6910
6918
|
},
|
|
6911
6919
|
intlOptions: {
|
|
6912
6920
|
$ref: "#/definitions/Intl.DateTimeFormatOptions",
|
|
6913
|
-
description: "Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/
|
|
6921
|
+
description: "Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](https://cldr.unicode.org/translation/date-time/date-time-patterns) specifications."
|
|
6914
6922
|
},
|
|
6915
6923
|
formatPerDateTimeUnit: {
|
|
6916
6924
|
$ref: "#/definitions/WebChartDateTimeUnitFormatOptions",
|
|
@@ -7849,6 +7857,11 @@ The "target" band's start value is set to the axis minimum, end value is set to
|
|
|
7849
7857
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
7850
7858
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
7851
7859
|
},
|
|
7860
|
+
dataTooltipFontSize: {
|
|
7861
|
+
type: "number",
|
|
7862
|
+
description: "Specifies the font size for tooltip text.",
|
|
7863
|
+
default: 14
|
|
7864
|
+
},
|
|
7852
7865
|
name: {
|
|
7853
7866
|
type: "string",
|
|
7854
7867
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -8120,6 +8133,11 @@ The "target" band's start value is set to the axis minimum, end value is set to
|
|
|
8120
8133
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
8121
8134
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
8122
8135
|
},
|
|
8136
|
+
dataTooltipFontSize: {
|
|
8137
|
+
type: "number",
|
|
8138
|
+
description: "Specifies the font size for tooltip text.",
|
|
8139
|
+
default: 14
|
|
8140
|
+
},
|
|
8123
8141
|
name: {
|
|
8124
8142
|
type: "string",
|
|
8125
8143
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -8255,6 +8273,11 @@ If not provided, the comparison distribution overlay is not displayed.`
|
|
|
8255
8273
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
8256
8274
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
8257
8275
|
},
|
|
8276
|
+
dataTooltipFontSize: {
|
|
8277
|
+
type: "number",
|
|
8278
|
+
description: "Specifies the font size for tooltip text.",
|
|
8279
|
+
default: 14
|
|
8280
|
+
},
|
|
8258
8281
|
name: {
|
|
8259
8282
|
type: "string",
|
|
8260
8283
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -8406,6 +8429,11 @@ The trend line won't show if the property is not defined.`
|
|
|
8406
8429
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
8407
8430
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
8408
8431
|
},
|
|
8432
|
+
dataTooltipFontSize: {
|
|
8433
|
+
type: "number",
|
|
8434
|
+
description: "Specifies the font size for tooltip text.",
|
|
8435
|
+
default: 14
|
|
8436
|
+
},
|
|
8409
8437
|
name: {
|
|
8410
8438
|
type: "string",
|
|
8411
8439
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -8615,6 +8643,11 @@ The trend line won't show if the property is not defined.`
|
|
|
8615
8643
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
8616
8644
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
8617
8645
|
},
|
|
8646
|
+
dataTooltipFontSize: {
|
|
8647
|
+
type: "number",
|
|
8648
|
+
description: "Specifies the font size for tooltip text.",
|
|
8649
|
+
default: 14
|
|
8650
|
+
},
|
|
8618
8651
|
name: {
|
|
8619
8652
|
type: "string",
|
|
8620
8653
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -8820,6 +8853,11 @@ The trend line won't show if the property is not defined.`
|
|
|
8820
8853
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
8821
8854
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
8822
8855
|
},
|
|
8856
|
+
dataTooltipFontSize: {
|
|
8857
|
+
type: "number",
|
|
8858
|
+
description: "Specifies the font size for tooltip text.",
|
|
8859
|
+
default: 14
|
|
8860
|
+
},
|
|
8823
8861
|
name: {
|
|
8824
8862
|
type: "string",
|
|
8825
8863
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -8903,6 +8941,11 @@ For feature-based gauge, if this property is not present, the first feature will
|
|
|
8903
8941
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
8904
8942
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
8905
8943
|
},
|
|
8944
|
+
dataTooltipFontSize: {
|
|
8945
|
+
type: "number",
|
|
8946
|
+
description: "Specifies the font size for tooltip text.",
|
|
8947
|
+
default: 14
|
|
8948
|
+
},
|
|
8906
8949
|
name: {
|
|
8907
8950
|
type: "string",
|
|
8908
8951
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -9075,6 +9118,11 @@ For feature-based gauge, if this property is not present, the first feature will
|
|
|
9075
9118
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
9076
9119
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
9077
9120
|
},
|
|
9121
|
+
dataTooltipFontSize: {
|
|
9122
|
+
type: "number",
|
|
9123
|
+
description: "Specifies the font size for tooltip text.",
|
|
9124
|
+
default: 14
|
|
9125
|
+
},
|
|
9078
9126
|
name: {
|
|
9079
9127
|
type: "string",
|
|
9080
9128
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -9195,6 +9243,11 @@ For feature-based gauge, if this property is not present, the first feature will
|
|
|
9195
9243
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
9196
9244
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
9197
9245
|
},
|
|
9246
|
+
dataTooltipFontSize: {
|
|
9247
|
+
type: "number",
|
|
9248
|
+
description: "Specifies the font size for tooltip text.",
|
|
9249
|
+
default: 14
|
|
9250
|
+
},
|
|
9198
9251
|
name: {
|
|
9199
9252
|
type: "string",
|
|
9200
9253
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -9367,6 +9420,11 @@ Setting this property will ensure that the item with no data is displayed on the
|
|
|
9367
9420
|
$ref: "#/definitions/DateTimeFormatOptions",
|
|
9368
9421
|
description: "Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning."
|
|
9369
9422
|
},
|
|
9423
|
+
dataTooltipFontSize: {
|
|
9424
|
+
type: "number",
|
|
9425
|
+
description: "Specifies the font size for tooltip text.",
|
|
9426
|
+
default: 14
|
|
9427
|
+
},
|
|
9370
9428
|
name: {
|
|
9371
9429
|
type: "string",
|
|
9372
9430
|
description: "Specifies the name of the series. It would be reflected in the chart's legend."
|
|
@@ -10350,11 +10408,11 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10350
10408
|
description: "Gives a JSON representation of the heat chart object.",
|
|
10351
10409
|
title: "WebHeatChart"
|
|
10352
10410
|
},
|
|
10353
|
-
'Omit<(structure-1066060463-
|
|
10354
|
-
$ref: "#/definitions/Pick%3C(structure-1066060463-
|
|
10355
|
-
title: 'Omit<(structure-1066060463-
|
|
10411
|
+
'Omit<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,("data"|"orderByFields")>': {
|
|
10412
|
+
$ref: "#/definitions/Pick%3C(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
|
|
10413
|
+
title: 'Omit<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,("data"|"orderByFields")>'
|
|
10356
10414
|
},
|
|
10357
|
-
'Pick<(structure-1066060463-
|
|
10415
|
+
'Pick<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
|
|
10358
10416
|
type: "object",
|
|
10359
10417
|
properties: {
|
|
10360
10418
|
series: {
|
|
@@ -10365,7 +10423,7 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10365
10423
|
}
|
|
10366
10424
|
},
|
|
10367
10425
|
additionalProperties: !1,
|
|
10368
|
-
title: 'Pick<(structure-1066060463-
|
|
10426
|
+
title: 'Pick<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
|
|
10369
10427
|
},
|
|
10370
10428
|
OverlayTerms: {
|
|
10371
10429
|
type: "string",
|
|
@@ -10561,11 +10619,11 @@ async function R(i, r) {
|
|
|
10561
10619
|
}
|
|
10562
10620
|
return n;
|
|
10563
10621
|
}
|
|
10564
|
-
function
|
|
10622
|
+
function de() {
|
|
10565
10623
|
const i = new E({ allErrors: !0 });
|
|
10566
10624
|
return async (r, n) => {
|
|
10567
10625
|
let e = [];
|
|
10568
|
-
const t =
|
|
10626
|
+
const t = C(r?.series);
|
|
10569
10627
|
let a = b;
|
|
10570
10628
|
switch (t) {
|
|
10571
10629
|
case d.GaugeSeries:
|
|
@@ -10585,8 +10643,8 @@ function se() {
|
|
|
10585
10643
|
return o(r), o.errors !== null && o.errors !== void 0 && (e = await j(o.errors, n)), e;
|
|
10586
10644
|
};
|
|
10587
10645
|
}
|
|
10588
|
-
const
|
|
10589
|
-
async function
|
|
10646
|
+
const pe = de();
|
|
10647
|
+
async function P(i) {
|
|
10590
10648
|
const { seriesConfigs: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i, a = [], o = n ? L(n) : void 0, p = t ?? (await S(
|
|
10591
10649
|
v(document.documentElement).t9nLocale,
|
|
10592
10650
|
w("./assets/common/t9n"),
|
|
@@ -10597,7 +10655,7 @@ async function q(i) {
|
|
|
10597
10655
|
if (y !== void 0)
|
|
10598
10656
|
for (let m = 0; m < y.length; m += 1) {
|
|
10599
10657
|
const s = y[m], c = D(s.onStatisticField, o);
|
|
10600
|
-
if (c && !(c.type ===
|
|
10658
|
+
if (c && !(c.type === se.OID && e || H(c)) && s.statisticType !== oe.Count) {
|
|
10601
10659
|
const W = `series[${l}].query.outStatistics[${m}]`;
|
|
10602
10660
|
a.push({
|
|
10603
10661
|
keyword: $.NonNumericAggregation,
|
|
@@ -10614,7 +10672,7 @@ async function q(i) {
|
|
|
10614
10672
|
}
|
|
10615
10673
|
return a;
|
|
10616
10674
|
}
|
|
10617
|
-
async function
|
|
10675
|
+
async function q(i, r) {
|
|
10618
10676
|
const n = [], e = r ?? (await S(
|
|
10619
10677
|
v(document.documentElement).t9nLocale,
|
|
10620
10678
|
w("./assets/common/t9n"),
|
|
@@ -10643,29 +10701,29 @@ async function P(i, r) {
|
|
|
10643
10701
|
return n;
|
|
10644
10702
|
}
|
|
10645
10703
|
function k(i) {
|
|
10646
|
-
const r = /* @__PURE__ */ new Set(), n =
|
|
10704
|
+
const r = /* @__PURE__ */ new Set(), n = J(i);
|
|
10647
10705
|
if (n) {
|
|
10648
|
-
const e =
|
|
10649
|
-
e === d.GaugeSeries && !
|
|
10706
|
+
const e = C(i.series), t = T(i.series);
|
|
10707
|
+
e === d.GaugeSeries && !_(i) || t === h.PieFromFields || t === h.BarAndLineFromFields || t === h.BoxPlotMonoField || t === h.BoxPlotMultiFields || t === h.BoxPlotMonoFieldAndSplitBy || t === h.BoxPlotMultiFieldsAndSplitBy || r.add(n.x);
|
|
10650
10708
|
const p = e === d.ScatterSeries || e === d.BoxPlotSeries || e === d.HeatSeries || t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation, l = [
|
|
10651
|
-
|
|
10709
|
+
ie,
|
|
10652
10710
|
F,
|
|
10653
|
-
K,
|
|
10654
10711
|
Z,
|
|
10655
10712
|
X,
|
|
10656
|
-
|
|
10713
|
+
Y,
|
|
10714
|
+
re.outStatistics.outStatisticFieldName ?? ""
|
|
10657
10715
|
];
|
|
10658
10716
|
let y = [];
|
|
10659
|
-
|
|
10717
|
+
Q(i) ? y = K({
|
|
10660
10718
|
showMean: i.showMean,
|
|
10661
10719
|
seriesConfig: i.series
|
|
10662
10720
|
}) : y = i.series.map((s) => "y" in s ? s.y : void 0).filter((s) => s !== void 0).flat(), p ? y.forEach((s) => r.add(s)) : l.push(...y), i.series.forEach((s) => {
|
|
10663
10721
|
const { query: c } = s;
|
|
10664
|
-
c && (
|
|
10722
|
+
c && (ee(c.where) || r.add(te(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((I) => r.add(I)), c.outStatistics && c.outStatistics.forEach((I) => r.add(I.onStatisticField)));
|
|
10665
10723
|
});
|
|
10666
10724
|
const m = t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation;
|
|
10667
10725
|
if (i.orderOptions?.orderByFields && m && i.orderOptions.orderByFields.forEach((s) => {
|
|
10668
|
-
const c =
|
|
10726
|
+
const c = ne(s).fieldToSort;
|
|
10669
10727
|
r.add(c);
|
|
10670
10728
|
}), e === d.GaugeSeries && i.axes?.[0] !== void 0) {
|
|
10671
10729
|
const s = i.axes?.[0];
|
|
@@ -10675,16 +10733,16 @@ function k(i) {
|
|
|
10675
10733
|
r.delete(s);
|
|
10676
10734
|
});
|
|
10677
10735
|
}
|
|
10678
|
-
return Array.from(r.values()).filter((e) => !
|
|
10736
|
+
return Array.from(r.values()).filter((e) => !x(e));
|
|
10679
10737
|
}
|
|
10680
|
-
async function
|
|
10738
|
+
async function ce(i) {
|
|
10681
10739
|
const { chartConfig: r, queryObject: n, errorStrings: e } = i;
|
|
10682
10740
|
let t;
|
|
10683
10741
|
const a = e ?? (await S(
|
|
10684
10742
|
v(document.documentElement).t9nLocale,
|
|
10685
10743
|
w("./assets/common/t9n"),
|
|
10686
10744
|
"messages."
|
|
10687
|
-
)).errorStrings, o = L(n), l = k(r).filter((y) => !D(y, o));
|
|
10745
|
+
)).errorStrings, o = le(n) ? U({ layer: n, chartType: C(r.series) }) : L(n), l = k(r).filter((y) => !D(y, o));
|
|
10688
10746
|
if (l.length > 0) {
|
|
10689
10747
|
const y = l.join(", ");
|
|
10690
10748
|
t = {
|
|
@@ -10699,7 +10757,7 @@ async function B(i) {
|
|
|
10699
10757
|
const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
|
|
10700
10758
|
let a = [];
|
|
10701
10759
|
if (n !== void 0) {
|
|
10702
|
-
const o = await
|
|
10760
|
+
const o = await P({
|
|
10703
10761
|
seriesConfigs: r.series,
|
|
10704
10762
|
queryObject: n,
|
|
10705
10763
|
allowUsingObjectIdStat: e,
|
|
@@ -10707,7 +10765,7 @@ async function B(i) {
|
|
|
10707
10765
|
});
|
|
10708
10766
|
a = a.concat(o);
|
|
10709
10767
|
}
|
|
10710
|
-
return a = a.concat(await
|
|
10768
|
+
return a = a.concat(await q(r, t)), a;
|
|
10711
10769
|
}
|
|
10712
10770
|
async function N(i) {
|
|
10713
10771
|
const { queryObject: r, chartConfig: n, errorStrings: e } = i;
|
|
@@ -10717,19 +10775,19 @@ async function N(i) {
|
|
|
10717
10775
|
if (a !== void 0)
|
|
10718
10776
|
t = t.concat(a);
|
|
10719
10777
|
else if (n !== void 0) {
|
|
10720
|
-
const o = await
|
|
10778
|
+
const o = await ce({ chartConfig: n, queryObject: r, errorStrings: e });
|
|
10721
10779
|
o !== void 0 && (t = t.concat(o));
|
|
10722
10780
|
}
|
|
10723
10781
|
}
|
|
10724
10782
|
return t;
|
|
10725
10783
|
}
|
|
10726
|
-
async function
|
|
10784
|
+
async function Ce(i) {
|
|
10727
10785
|
const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
|
|
10728
10786
|
let a;
|
|
10729
|
-
if (V(r?.version).versionStatus ===
|
|
10787
|
+
if (V(r?.version).versionStatus === ae.Newer)
|
|
10730
10788
|
a = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
|
|
10731
10789
|
else {
|
|
10732
|
-
const o = await
|
|
10790
|
+
const o = await pe(r, t);
|
|
10733
10791
|
let p = [], l = [];
|
|
10734
10792
|
r !== void 0 && o.length === 0 && (l = await N({ queryObject: n, chartConfig: r, errorStrings: t }), l.length === 0 && (p = await B({ input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t }))), a = {
|
|
10735
10793
|
valid: o.length === 0 && p.length === 0 && l.length === 0,
|
|
@@ -10740,8 +10798,8 @@ async function Se(i) {
|
|
|
10740
10798
|
}
|
|
10741
10799
|
return a;
|
|
10742
10800
|
}
|
|
10743
|
-
function
|
|
10744
|
-
const r =
|
|
10801
|
+
function Te(i) {
|
|
10802
|
+
const r = C(i?.series);
|
|
10745
10803
|
let n = !1;
|
|
10746
10804
|
switch (r) {
|
|
10747
10805
|
case d.HistogramSeries:
|
|
@@ -10756,7 +10814,7 @@ function ve(i) {
|
|
|
10756
10814
|
}
|
|
10757
10815
|
case d.PieSeries: {
|
|
10758
10816
|
const e = i?.series;
|
|
10759
|
-
|
|
10817
|
+
T(e) === h.PieFromFields ? n = (e?.[0]?.query?.outStatistics?.length ?? 0) === 0 : n = (e?.[0]?.x?.length ?? 0) === 0 || e?.[0]?.x === F;
|
|
10760
10818
|
break;
|
|
10761
10819
|
}
|
|
10762
10820
|
case d.BoxPlotSeries: {
|
|
@@ -10769,22 +10827,22 @@ function ve(i) {
|
|
|
10769
10827
|
case d.BarSeries:
|
|
10770
10828
|
case d.LineSeries: {
|
|
10771
10829
|
const e = i?.series;
|
|
10772
|
-
|
|
10830
|
+
T(e) === h.BarAndLineFromFields ? n = (e?.[0]?.query?.outStatistics?.length ?? 0) === 0 : n = (e?.[0]?.x?.trim()?.length ?? 0) === 0;
|
|
10773
10831
|
break;
|
|
10774
10832
|
}
|
|
10775
10833
|
case d.HeatSeries: {
|
|
10776
|
-
const e = i?.series, t =
|
|
10834
|
+
const e = i?.series, t = x(e?.[0]?.x) || x(e?.[0]?.y), a = i !== void 0 && M(i) ? !1 : e?.[0]?.xTemporalBinning === void 0;
|
|
10777
10835
|
n = t || a;
|
|
10778
10836
|
break;
|
|
10779
10837
|
}
|
|
10780
10838
|
}
|
|
10781
10839
|
return n;
|
|
10782
10840
|
}
|
|
10783
|
-
const
|
|
10841
|
+
const xe = {
|
|
10784
10842
|
findCustomErrors: N,
|
|
10785
10843
|
findWarnings: B,
|
|
10786
|
-
findNumericAggregationWarnings:
|
|
10787
|
-
findDuplicateSeriesIDWarnings:
|
|
10844
|
+
findNumericAggregationWarnings: P,
|
|
10845
|
+
findDuplicateSeriesIDWarnings: q,
|
|
10788
10846
|
findLayerLoadError: R,
|
|
10789
10847
|
createStartingSchema: g,
|
|
10790
10848
|
extractSchemaNameFromRefPath: O,
|
|
@@ -10792,7 +10850,7 @@ const Ie = {
|
|
|
10792
10850
|
customizeValidationErrors: j
|
|
10793
10851
|
};
|
|
10794
10852
|
export {
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10853
|
+
xe as c,
|
|
10854
|
+
Te as i,
|
|
10855
|
+
Ce as v
|
|
10798
10856
|
};
|
|
@@ -3,7 +3,7 @@ import { fetchT9nStringsBundle as d, getElementLocale as c } from "@arcgis/toolk
|
|
|
3
3
|
import { g } from "./runtime.js";
|
|
4
4
|
import { convertChartSpec as h } from "../utils/chart-config/converter/index.js";
|
|
5
5
|
import { S as f } from "./index.js";
|
|
6
|
-
import { ac as o,
|
|
6
|
+
import { ac as o, bw as l, I as y, an as u } from "./index2.js";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "luxon";
|
|
9
9
|
import "./chart-object-literals.js";
|