@arcgis/charts-components 6.0.0-next.33 → 6.0.0-next.34

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.
Files changed (107) hide show
  1. package/dist/cdn/{7L6DK5OS.js → 2DLCZPGT.js} +1 -1
  2. package/dist/cdn/{WKF53DYD.js → 2JY4BULO.js} +1 -1
  3. package/dist/cdn/{ADENRYX7.js → 33SNFNFO.js} +1 -1
  4. package/dist/cdn/{LHYWDDAS.js → 42AYSOYQ.js} +1 -1
  5. package/dist/cdn/{N45L56WG.js → 42NW4KCH.js} +1 -1
  6. package/dist/cdn/{M4DADMOO.js → 4CI4XQ6A.js} +1 -1
  7. package/dist/cdn/{DYGFR6KY.js → 4CIFWASN.js} +1 -1
  8. package/dist/cdn/{SAK4CBE7.js → 4E3S2ML7.js} +1 -1
  9. package/dist/cdn/{XFXZYSPI.js → 4Q3YU4TS.js} +1 -1
  10. package/dist/cdn/{7KGHI7WT.js → 57VCII7P.js} +1 -1
  11. package/dist/cdn/{EEZEPHWK.js → 5UNAEQIF.js} +1 -1
  12. package/dist/cdn/{PV7DIUGW.js → 6REYJD6E.js} +1 -1
  13. package/dist/cdn/{7TSIJZWC.js → 7DONLE35.js} +1 -1
  14. package/dist/cdn/{LSO2XNPH.js → 7M4EWNDY.js} +1 -1
  15. package/dist/cdn/{JON7QEXZ.js → 7SKEI4E6.js} +5 -5
  16. package/dist/cdn/{HEL54XVB.js → AXYE2HX6.js} +1 -1
  17. package/dist/cdn/{4FZEHAQ3.js → BLS6BF2L.js} +1 -1
  18. package/dist/cdn/{PB4WIYWN.js → BZK3YRC3.js} +1 -1
  19. package/dist/cdn/{QCSV57EQ.js → CU4UB2A7.js} +1 -1
  20. package/dist/cdn/{MVPGEBWQ.js → CYSQZIZN.js} +1 -1
  21. package/dist/cdn/{DK5CFPVG.js → DFPLMKGU.js} +1 -1
  22. package/dist/cdn/{SMNUEDMN.js → DLJ5JUXJ.js} +1 -1
  23. package/dist/cdn/{LEWMDRPW.js → DUKNIIM2.js} +1 -1
  24. package/dist/cdn/{EGEYRUPY.js → DWSCE6QM.js} +1 -1
  25. package/dist/cdn/{FWGGOXK6.js → DXMYDWMF.js} +1 -1
  26. package/dist/cdn/{5PW4T4LC.js → E2BM4PQP.js} +1 -1
  27. package/dist/cdn/{TLC7ZXQM.js → EAHAZABZ.js} +1 -1
  28. package/dist/cdn/{RGPG43GI.js → EDGME7VO.js} +1 -1
  29. package/dist/cdn/{6SLVQTPT.js → EDZAQNWX.js} +1 -1
  30. package/dist/cdn/{4B7KYFKX.js → EMV26WWB.js} +1 -1
  31. package/dist/cdn/{JFZ5WV6G.js → EV5J5FUX.js} +1 -1
  32. package/dist/cdn/{ICEANLLZ.js → F2GNY3MM.js} +1 -1
  33. package/dist/cdn/{4E7XIO26.js → FRN47OTB.js} +1 -1
  34. package/dist/cdn/{3YLQHPDB.js → FXWVQU7B.js} +1 -1
  35. package/dist/cdn/{47MLKUMN.js → GTD5EXV2.js} +1 -1
  36. package/dist/cdn/{CUOXXQBF.js → H2BQNZW4.js} +1 -1
  37. package/dist/cdn/{KNJKA4IL.js → HBWSBIS4.js} +1 -1
  38. package/dist/cdn/{7KIHMJWQ.js → HHLOIUUD.js} +1 -1
  39. package/dist/cdn/{J77BQI65.js → HIFEJ5CV.js} +1 -1
  40. package/dist/cdn/{HR5JU7P5.js → HMBGKFUN.js} +1 -1
  41. package/dist/cdn/{6WXE7PI7.js → I3Y5KNFE.js} +1 -1
  42. package/dist/cdn/{BWNBESN5.js → I6PWQEWZ.js} +1 -1
  43. package/dist/cdn/{IRSIUA3Z.js → IFDTYYTW.js} +1 -1
  44. package/dist/cdn/{WE4SAQIV.js → IRP6FSBB.js} +1 -1
  45. package/dist/cdn/{MXTS44AG.js → J6XOSXEE.js} +1 -1
  46. package/dist/cdn/{GTXF2Q7A.js → JE3QM6AW.js} +1 -1
  47. package/dist/cdn/{NEVDA2IQ.js → KF35NZ4P.js} +1 -1
  48. package/dist/cdn/{XXO5K6N4.js → KISYJDGT.js} +1 -1
  49. package/dist/cdn/{XI6OEXXA.js → L7UQNGQR.js} +1 -1
  50. package/dist/cdn/{Y672RHLI.js → LCMUCICY.js} +1 -1
  51. package/dist/cdn/{OXASIEVD.js → LRDJBGZS.js} +1 -1
  52. package/dist/cdn/{VOY3C6F2.js → LSMB53E3.js} +1 -1
  53. package/dist/cdn/{4UGEZMMX.js → LZ6SUMGO.js} +1 -1
  54. package/dist/cdn/{SD2WCRDV.js → M3QY2KLY.js} +1 -1
  55. package/dist/cdn/{E5F3CSMH.js → MCZMJAXK.js} +1 -1
  56. package/dist/cdn/{4L3DNWI7.js → MI5ZOFNE.js} +1 -1
  57. package/dist/cdn/{PY7P35QO.js → MOPMKH2V.js} +1 -1
  58. package/dist/cdn/{QGRQW5WK.js → MZRAPDRT.js} +1 -1
  59. package/dist/cdn/{YK5YAUHK.js → O5UELXJC.js} +1 -1
  60. package/dist/cdn/{2FSC4TII.js → OKQKTXSG.js} +1 -1
  61. package/dist/cdn/{4O5PXQHF.js → OXOOIHEE.js} +1 -1
  62. package/dist/cdn/{USYS3LBV.js → P2AC2FC4.js} +1 -1
  63. package/dist/cdn/{BDR6ELDH.js → P5JPYG4Z.js} +1 -1
  64. package/dist/cdn/{VKMVMHTT.js → PDBNCJTF.js} +1 -1
  65. package/dist/cdn/{7RPS2ZKZ.js → Q4LXZQ7G.js} +1 -1
  66. package/dist/cdn/{VAUOYVAJ.js → Q5GNPML7.js} +1 -1
  67. package/dist/cdn/{TFJ4OWRJ.js → QMPQESBZ.js} +1 -1
  68. package/dist/cdn/{XB6GQZZL.js → R73C2BX4.js} +1 -1
  69. package/dist/cdn/{6SVLCTQS.js → RFUS6E3N.js} +1 -1
  70. package/dist/cdn/{WFMIM4RW.js → RQYBXGTL.js} +1 -1
  71. package/dist/cdn/{S4SOKS52.js → RXOUF2HA.js} +1 -1
  72. package/dist/cdn/{CUQWT4QG.js → S7ULRE3X.js} +1 -1
  73. package/dist/cdn/{TQHFCEOB.js → T2CFMDZV.js} +1 -1
  74. package/dist/cdn/{GIJFJBQ5.js → TDNKE2VP.js} +1 -1
  75. package/dist/cdn/{JTXDHQSH.js → TSKWTKCT.js} +1 -1
  76. package/dist/cdn/{OJFYB73J.js → UE6N5N3X.js} +1 -1
  77. package/dist/cdn/UMPW3YOW.js +2 -0
  78. package/dist/cdn/{XR46HOI2.js → URBOZ7IV.js} +1 -1
  79. package/dist/cdn/{MIONK5O5.js → UWRA674P.js} +1 -1
  80. package/dist/cdn/{H4EBGCSZ.js → V62HBNDH.js} +1 -1
  81. package/dist/cdn/{XERWQ4IR.js → VL4FR4TN.js} +1 -1
  82. package/dist/cdn/{6GBCPR5J.js → VQK7RKE3.js} +1 -1
  83. package/dist/cdn/{OLXXAT2G.js → VUILGVZ6.js} +1 -1
  84. package/dist/cdn/{7HBNUKHF.js → WBQM4ASJ.js} +1 -1
  85. package/dist/cdn/{CVYI4FDJ.js → XDLBRYVE.js} +1 -1
  86. package/dist/cdn/{R6XBFNY4.js → XLF3VSA3.js} +1 -1
  87. package/dist/cdn/{BAC6JT5W.js → XMFFQFWM.js} +1 -1
  88. package/dist/cdn/{T35WVFIU.js → YDODSSRW.js} +1 -1
  89. package/dist/cdn/{CY3KIENE.js → YJ7WPVBF.js} +1 -1
  90. package/dist/cdn/{ZHMYNWSY.js → YWWWL7VA.js} +1 -1
  91. package/dist/cdn/{2P3VH3BF.js → YYOMI2VT.js} +1 -1
  92. package/dist/cdn/{424VG732.js → ZMD6HSI6.js} +1 -1
  93. package/dist/cdn/index.js +1 -1
  94. package/dist/cdn/model/shared/setup-utils.js +1 -1
  95. package/dist/chunks/index3.js +106 -159
  96. package/dist/chunks/rest-js-object-literals.js +5 -41
  97. package/dist/chunks/serial-chart-data.js +2 -2
  98. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -6
  99. package/dist/docs/api.json +1 -1
  100. package/dist/docs/docs.json +1 -1
  101. package/dist/docs/web-types.json +1 -1
  102. package/dist/index.js +411 -417
  103. package/dist/json-schema/index.d.ts +38 -68
  104. package/dist/spec/rest-js-object-literals.d.ts +0 -66
  105. package/dist/spec/web-chart.d.ts +2 -2
  106. package/package.json +6 -6
  107. package/dist/cdn/BIFGQ23U.js +0 -2
@@ -5271,72 +5271,6 @@
5271
5271
  }[];
5272
5272
  title: string;
5273
5273
  };
5274
- RESTFieldType: {
5275
- type: string;
5276
- enum: string[];
5277
- title: string;
5278
- };
5279
- RESTSimpleLineSymbolStyle: {
5280
- type: string;
5281
- enum: string[];
5282
- title: string;
5283
- };
5284
- RESTSimpleMarkerSymbolStyle: {
5285
- type: string;
5286
- enum: string[];
5287
- title: string;
5288
- };
5289
- RESTSimpleFillSymbolStyle: {
5290
- type: string;
5291
- enum: string[];
5292
- title: string;
5293
- };
5294
- RESTHorizontalAlignment: {
5295
- type: string;
5296
- enum: string[];
5297
- deprecated: string;
5298
- title: string;
5299
- };
5300
- RESTVerticalAlignment: {
5301
- type: string;
5302
- enum: string[];
5303
- deprecated: string;
5304
- title: string;
5305
- };
5306
- RESTFontStyle: {
5307
- type: string;
5308
- enum: string[];
5309
- deprecated: string;
5310
- title: string;
5311
- };
5312
- RESTFontWeight: {
5313
- type: string;
5314
- enum: string[];
5315
- deprecated: string;
5316
- title: string;
5317
- };
5318
- RESTFontDecoration: {
5319
- type: string;
5320
- enum: string[];
5321
- deprecated: string;
5322
- title: string;
5323
- };
5324
- RESTUnits: {
5325
- type: string;
5326
- enum: string[];
5327
- deprecated: string;
5328
- title: string;
5329
- };
5330
- RESTRendererType: {
5331
- type: string;
5332
- enum: string[];
5333
- title: string;
5334
- };
5335
- RESTSymbolType: {
5336
- type: string;
5337
- enum: string[];
5338
- title: string;
5339
- };
5340
5274
  ValueConversion: {
5341
5275
  type: string;
5342
5276
  properties: {
@@ -6483,6 +6417,12 @@
6483
6417
  description: string;
6484
6418
  title: string;
6485
6419
  };
6420
+ QueryUnits: {
6421
+ type: string;
6422
+ enum: string[];
6423
+ description: string;
6424
+ title: string;
6425
+ };
6486
6426
  WebChartSeriesQuery: {
6487
6427
  $ref: string;
6488
6428
  description: string;
@@ -8940,11 +8880,11 @@
8940
8880
  description: string;
8941
8881
  title: string;
8942
8882
  };
8943
- "Omit<(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815|undefined)937098756,(\"data\"|\"orderByFields\")>": {
8883
+ "Omit<(structure-1066060463-61841-63584-1066060463-61766-63585-1066060463-57871-64773-1066060463-0-67826|undefined)937098756,(\"data\"|\"orderByFields\")>": {
8944
8884
  $ref: string;
8945
8885
  title: string;
8946
8886
  };
8947
- "Pick<(structure-1066060463-61830-63573-1066060463-61755-63574-1066060463-57860-64762-1066060463-0-67815|undefined)937098756,Exclude<(\"series\"|\"data\"|\"orderByFields\"),(\"data\"|\"orderByFields\")>>": {
8887
+ "Pick<(structure-1066060463-61841-63584-1066060463-61766-63585-1066060463-57871-64773-1066060463-0-67826|undefined)937098756,Exclude<(\"series\"|\"data\"|\"orderByFields\"),(\"data\"|\"orderByFields\")>>": {
8948
8888
  type: string;
8949
8889
  properties: {
8950
8890
  series: {
@@ -9016,6 +8956,36 @@
9016
8956
  description: string;
9017
8957
  title: string;
9018
8958
  };
8959
+ RESTFieldType: {
8960
+ type: string;
8961
+ enum: string[];
8962
+ title: string;
8963
+ };
8964
+ RESTSimpleLineSymbolStyle: {
8965
+ type: string;
8966
+ enum: string[];
8967
+ title: string;
8968
+ };
8969
+ RESTSimpleMarkerSymbolStyle: {
8970
+ type: string;
8971
+ enum: string[];
8972
+ title: string;
8973
+ };
8974
+ RESTSimpleFillSymbolStyle: {
8975
+ type: string;
8976
+ enum: string[];
8977
+ title: string;
8978
+ };
8979
+ RESTRendererType: {
8980
+ type: string;
8981
+ enum: string[];
8982
+ title: string;
8983
+ };
8984
+ RESTSymbolType: {
8985
+ type: string;
8986
+ enum: string[];
8987
+ title: string;
8988
+ };
9019
8989
  };
9020
8990
  let $ref: string;
9021
8991
  }
@@ -55,72 +55,6 @@ export const RESTSimpleFillSymbolStyle: {
55
55
 
56
56
  export type RESTSimpleFillSymbolStyle = (typeof RESTSimpleFillSymbolStyle)[keyof typeof RESTSimpleFillSymbolStyle];
57
57
 
58
- /** @deprecated since 5.1. Won't be replaced. */
59
- export const RESTHorizontalAlignment: {
60
- readonly Left: "left";
61
- readonly Right: "right";
62
- readonly Center: "center";
63
- readonly Justify: "justify";
64
- };
65
-
66
- /** @deprecated since 5.1. Won't be replaced. */
67
- export type RESTHorizontalAlignment = (typeof RESTHorizontalAlignment)[keyof typeof RESTHorizontalAlignment];
68
-
69
- /** @deprecated since 5.1. Won't be replaced. */
70
- export const RESTVerticalAlignment: {
71
- readonly Baseline: "baseline";
72
- readonly Top: "top";
73
- readonly Middle: "middle";
74
- readonly Bottom: "bottom";
75
- };
76
-
77
- /** @deprecated since 5.1. Won't be replaced. */
78
- export type RESTVerticalAlignment = (typeof RESTVerticalAlignment)[keyof typeof RESTVerticalAlignment];
79
-
80
- /** @deprecated since 5.1. Won't be replaced. */
81
- export const RESTFontStyle: {
82
- readonly Italic: "italic";
83
- readonly Normal: "normal";
84
- readonly Oblique: "oblique";
85
- };
86
-
87
- /** @deprecated since 5.1. Won't be replaced. */
88
- export type RESTFontStyle = (typeof RESTFontStyle)[keyof typeof RESTFontStyle];
89
-
90
- /** @deprecated since 5.1. Won't be replaced. */
91
- export const RESTFontWeight: {
92
- readonly Bold: "bold";
93
- readonly Bolder: "bolder";
94
- readonly Lighter: "lighter";
95
- readonly Normal: "normal";
96
- };
97
-
98
- /** @deprecated since 5.1. Won't be replaced. */
99
- export type RESTFontWeight = (typeof RESTFontWeight)[keyof typeof RESTFontWeight];
100
-
101
- /** @deprecated since 5.1. Won't be replaced. */
102
- export const RESTFontDecoration: {
103
- readonly LineThrough: "line-through";
104
- readonly Underline: "underline";
105
- readonly None: "none";
106
- };
107
-
108
- /** @deprecated since 5.1. Won't be replaced. */
109
- export type RESTFontDecoration = (typeof RESTFontDecoration)[keyof typeof RESTFontDecoration];
110
-
111
- /** @deprecated since 5.1. Use [Query#units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) instead. */
112
- export const RESTUnits: {
113
- readonly Feet: "feet";
114
- readonly Miles: "miles";
115
- readonly NauticalMiles: "nautical-miles";
116
- readonly USNauticalMiles: "us-nautical-miles";
117
- readonly Meters: "meters";
118
- readonly Kilometers: "kilometers";
119
- };
120
-
121
- /** @deprecated since 5.1. Use [Query#units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) instead. */
122
- export type RESTUnits = (typeof RESTUnits)[keyof typeof RESTUnits];
123
-
124
58
  export const RESTRendererType: {
125
59
  readonly UniqueValue: "unique-value";
126
60
  readonly Simple: "simple";
@@ -1,6 +1,6 @@
1
+ import type { QueryUnits } from "@arcgis/core/rest/support/types.js";
1
2
  import type { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartClassBreakTypes, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartLabelBehavior, WebChartLegendPositions, WebChartMultiAxesDataOrder, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from "./chart-object-literals.js";
2
3
  import type { TimeIntervalInfo } from "./data-source.js";
3
- import type { RESTUnits } from "./rest-js-object-literals.js";
4
4
  import type { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IImageServiceLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol, ITiledImageServiceLayer, IWCSLayer } from "./rest-js-types.js";
5
5
 
6
6
  /** Version of the current specification. */
@@ -579,7 +579,7 @@ export interface WebChartQuery {
579
579
  * The unit for calculating the buffer distance when `distance` and `geometry` are provided.
580
580
  * If not specified, the unit is derived from the geometry spatial reference.
581
581
  */
582
- units?: RESTUnits;
582
+ units?: QueryUnits;
583
583
  /** A time extent `[timestamp, timestamp]` for a temporal query against time-aware layers. */
584
584
  timeExtent?: [number, number];
585
585
  /** The zero-based index indicating where to begin retrieving features. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "6.0.0-next.33",
3
+ "version": "6.0.0-next.34",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@amcharts/amcharts4": "^4.10.31",
32
32
  "@amcharts/amcharts5": "~5.21.5",
33
- "@arcgis/lumina": "6.0.0-next.33",
34
- "@arcgis/toolkit": "6.0.0-next.33",
35
- "@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
33
+ "@arcgis/lumina": "6.0.0-next.34",
34
+ "@arcgis/toolkit": "6.0.0-next.34",
35
+ "@esri/arcgis-html-sanitizer": "~4.2.0",
36
36
  "@lit/task": "^1.0.3",
37
37
  "@zumer/snapdom": "^2.24.1",
38
38
  "ajv": "6.12.6",
@@ -45,8 +45,8 @@
45
45
  "tslib": "^2.8.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@arcgis/core": "6.0.0-next.33",
49
- "@esri/calcite-components": "^5.2.0"
48
+ "@arcgis/core": "6.0.0-next.34",
49
+ "@esri/calcite-components": "^5.2.1"
50
50
  },
51
51
  "css.customData": [
52
52
  "dist/docs/vscode.css-custom-data.json"
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import v from"./ICEANLLZ.js";import{a as te}from"./P67ON5B6.js";import{a as ae}from"./Y6URECIF.js";import{a as w}from"./5EAIW2ZK.js";import{a as ie}from"./YKSQH65V.js";import u from"./LSO2XNPH.js";import{a as $,b as J,e as W}from"./IBCFYECI.js";import{a as f}from"./7JMZPDM5.js";import t from"./BWNBESN5.js";import{d as c}from"./5AKOPV7Z.js";import{a as I}from"./Q3P2IG23.js";import s from"./VAUOYVAJ.js";import r from"./7KIHMJWQ.js";import p from"./E5F3CSMH.js";import{a as Q}from"./CUQWT4QG.js";import"./VKMVMHTT.js";import m from"./TFJ4OWRJ.js";import l from"./WFMIM4RW.js";import k from"./4FZEHAQ3.js";import i from"./JON7QEXZ.js";import{b as j,c as P,i as q,l as B,p as L,r as K}from"./KRRYFLG4.js";import g from"./BDR6ELDH.js";import e from"./7RPS2ZKZ.js";import d from"./M4DADMOO.js";import b from"./XI6OEXXA.js";import a from"./4O5PXQHF.js";import"./XXO5K6N4.js";import"./WKF53DYD.js";import{c as U,o as M}from"./L2G4TISY.js";import"./WPAN7ZED.js";import{A,B as V,C as h,D as _,F as S,H as z,g as F,i as n,n as C,z as N}from"./HECZ3OT6.js";import"./QGHI4FS2.js";import"./FHN6CIIO.js";import"./AUKJ4CBR.js";import{a as o,k as H}from"./BNAX4Y53.js";import"./TIWCUJOG.js";export default $arcgis.t(([{substitute:le},{Fb:X,kc:G,l:R,s:O,t:b,uc:v,ya:x},,,,,{d:T},,{a:Y},,,,,{r:ee},{e:y,f:Z},{b:k}])=>{var d={chartUIComponent:"chart-ui-component",tabBar:"tab-bar",tab:"tab"};function se(m,e){let t=new Set,a=e;return m?.forEach((i,s)=>{let r=i.chartId;(t.has(r)||r===void 0||r==="")&&(i.chartId=`Chart_${Date.now()}_${s}`,e===r&&(a=i.chartId)),t.add(r)}),a}function oe(m){let{layerRasterInfo:e,layerId:t,layerType:a}=m,i=[];return O(a)&&t!==void 0?(i=[o.HistogramSeries,o.ScatterSeries],e?.attributeTable&&i.push(o.BarSeries)):a==="parquet"?i=[o.BarSeries,o.LineSeries,o.PieSeries,o.HistogramSeries]:i=[o.HistogramSeries,o.BarSeries,o.BoxPlotSeries,o.HeatSeries,o.LineSeries,o.PieSeries,o.ScatterSeries],i}function ce(m){let{modelList:e,layerList:t,activeLayerId:a,disableEditing:i}=m,s=new Map;return e?.forEach(r=>{let l=r.layer;l&&s.set(l.id,l)}),i||t.forEach(r=>s.set(r.id,r)),Array.from(s.values()).filter(r=>!a||r.id===a)}function ne(m,e){m.forEach(t=>{e.forEach(a=>{t?.id===a.layer?.id&&re(t,a)})})}function re(m,e){let t=m;if(t){let a=[...t?.charts??[]],i=a?.findIndex(r=>r.id===e.chartId),s=!1;i!==void 0&&i>-1?(s=!M(a[i],e.config),a[i]=e.config):t&&!T(e.config)&&(s=!0,a.push(e.config)),s&&(t.charts=a)}}function he(m,e){let t=m;if(t){let a=[...t.charts??[]],i=a.findIndex(s=>s.id===e);i>-1&&(a.splice(i,1),t.charts=a)}}function de(m,e){let t=m;if(t){let a=[...t.charts??[]];a=v({arrayA:a,arrayB:e.map(i=>i.config),getKey:i=>i.id??i.title?.content.text??""}),t.charts=a}}var me=F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`,D=class extends V{constructor(){super(),this.selectChartTypePopover=null,this.chartsListFlowItem=N(),this._messages=I(),this.commonStrings=I({name:"common",blocking:!0}),this.chartDataProcessComplete=async e=>{let t=e,{chartData:a,model:i}=t.detail,s=this.getModel(this.selectedChartId);if(i?.isSameChartAs(s))switch(s?.chartType){case o.HistogramSeries:if(this.chartData=a,i&&(i.dataStore.chartData=a,b(i.layer))){let r=i,l=a?.bins?.length;l!==void 0&&r.binCount!==l&&(r.binCount=l)}break;case o.PieSeries:{this.chartData=a,i&&(i.dataStore.chartData=a);break}case o.ScatterSeries:{let r=a,{dataItems:l,r2:p,aggregated:g}=r,u=p;Number.isFinite(p)||(u=void 0),this.r2=u,q(i)&&(i.dataStore.r2=u,i.dataStore.aggregated=g,g&&(i.additionalTooltipField=void 0)),this.calculatedDataMinMaxBounds=this.getDataExtent(l),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}case o.LineSeries:case o.BarSeries:{let{dataItems:r,timeIntervalInfo:l}=a;(P(s)||j(s)&&s.binTemporalData)&&(l?.size!==void 0&&s.temporalBinningSize!==l?.size&&(s.temporalBinningSize=l?.size),l?.unit!==void 0&&s.temporalBinningUnit!==l?.unit&&l?.unit!==H.Quarter&&(s.temporalBinningUnit=l?.unit),l?.size!==void 0&&l?.unit!==void 0&&W($,{size:l.size,unit:l.unit})),this.calculatedDataMinMaxBounds=this.getDataExtent(r),i&&(i.dataStore.calculatedDataMinMaxBounds=this.calculatedDataMinMaxBounds);break}}},this.chartAxesMinMaxChange=e=>{let t=e,{bounds:a,model:i}=t.detail,s=this.getModel(this.selectedChartId),r=i?.isSameChartAs(s),l=s?.chartType;if(r)switch(l){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:case o.ScatterSeries:this.calculatedMinMaxBounds=a,i&&(i.dataStore.calculatedMinMaxBounds=a),this.updateAxesBoundsInAppState(a);break}},this.chartSeriesColorChange=e=>{let t=e,{colorMatchApplied:a,data:i,model:s}=t.detail,r=this.getModel(this.selectedChartId);if(s?.isSameChartAs(r))switch(r?.chartType){case o.BarSeries:case o.BoxPlotSeries:case o.LineSeries:case o.HistogramSeries:this.seriesColor=i,s&&(s.dataStore.seriesColor=i),this.applyNullCategorySeriesColor({colorMatchApplied:a,data:i,model:r});break;case o.PieSeries:{let l=new Map([[0,i]]);this.seriesColor=l,s&&(s.dataStore.seriesColor=l);break}case o.ScatterSeries:}},this.chartNoRenderPropChange=e=>{let t=e,{propName:a,value:i,model:s}=t.detail,r=this.modelList.find(l=>s?.isSameChartAs(l));if(r)switch(a){case"rotation":typeof i=="boolean"&&Y(r)&&(r.rotated=i);break;case"legendPosition":typeof i=="string"&&L(r)&&(r.legendPosition=i);break;case"legendVisibility":typeof i=="boolean"&&L(r)&&(r.legendVisibility=i);break}},this.chartLegendItemVisibilityChange=e=>{let t=e,{legendItemVisibility:a,model:i}=t.detail,s=this.modelList.find(r=>i?.isSameChartAs(r));s?.setSeriesVisibility(a),B(s)&&((s.getMinBound(1)===null||Number.isNaN(s.getMinBound(1)))&&s.setMinBound(null,1),(s.getMaxBound(1)===null||Number.isNaN(s.getMaxBound(1)))&&s.setMaxBound(null,1),P(s)&&((s.getMinBound(0)===null||Number.isNaN(s.getMinBound(0)))&&s.setMinBound(null,0),(s.getMaxBound(0)===null||Number.isNaN(s.getMaxBound(0)))&&s.setMaxBound(null,0)))},this.onSelectChartTypeChange=e=>{this.currentChartTypeText="",this.calculatedDataMinMaxBounds=void 0,this.calculatedMinMaxBounds=void 0,this.removeSelectChartTypePopover();let{selectedModelType:t,layerId:a}=e.target;t!==void 0&&(this.allowChartSyncing=!0,this.arcgisChartsConfigNewChart.emit({key:"key",chartType:t,layerId:a}))},this.onAddChartClose=()=>{this.removeSelectChartTypePopover()},this.onModelConfigChange=e=>{if(this.syncChartsToLayers&&this.allowChartSyncing){let t=e.target;re(t?.layer,t)}this.requestUpdate()},this.allowChartSyncing=!1,this.currentChartTypeText="",this.modelList=[],this.layerList=[],this.disableEditing=!1,this.syncChartsToLayers=!1,this.close=!1,this.usePopupTemplateFieldsInfo=!1,this.panelNumber=0,this.filterBySelection=!1,this.arcgisChartsConfigChartViewChartClose=C(),this.arcgisChartsConfigModelListChange=C(),this.arcgisChartsConfigNewChart=C(),this.arcgisChartsConfigPanelNumberChange=C(),this.arcgisChartsConfigSelectedChartChange=C(),this.addChartEventListeners(),this.listen("arcgisChartsConfigModelListReorder",this.modelListReorderChangeListener)}static{this.properties={selectedPanel:16,currentChartTypeText:16,messageOverrides:0,modelList:[0,{hasChanged:y}],layerList:[0,{hasChanged:y}],selectedChartId:1,activeLayerId:1,disableEditing:5,syncChartsToLayers:5,timeZone:1,headerTitle:1,close:5,chartData:[0,{hasChanged:y}],view:0,r2:9,calculatedDataMinMaxBounds:[0,{hasChanged:y}],calculatedMinMaxBounds:[0,{hasChanged:y}],seriesColor:[0,{hasChanged:Z}],popoverPlacement:1,usePopupTemplateFieldsInfo:5,popupTemplateFieldInfosEnabled:5,panelNumber:9,filterBySelection:5}}static{this.styles=me}async setFocus(){await this.chartsListFlowItem.value?.setFocus()}async load(){await this.layerListChange();let e=this.getModel(this.selectedChartId);this.setEventBasedPropsFromModelData(e)}willUpdate(e){e.has("layerList")&&this.layerListChange(),e.has("panelNumber")&&this.panelNumberChange(this.panelNumber),e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList")),e.has("selectedChartId")&&this.selectedChartIdChange(this.selectedChartId)}disconnectedCallback(){super.disconnectedCallback(),this.clearPartialModels(),this.removeSelectChartTypePopover()}applyNullCategorySeriesColor(e){let{colorMatchApplied:t,data:a,model:i}=e;K(i)&&i.nullCategory===void 0&&(i.nullCategory=this.getDefaultNullCategory(t?this.getSeriesColor(a):void 0))}getSeriesColor(e){let t=e.get(0),a;return t&&"color"in t?a=t.color:t&&"lineSymbol"in t&&(a=t.markerSymbol?.color??t.lineSymbol.color),a}getDefaultNullCategory(e){let t=U(R.nullCategory);return e!==void 0&&(t.fillSymbol&&(t.fillSymbol.color=e,t.fillSymbol.outline&&(t.fillSymbol.outline.color=e)),t.markerSymbol&&(t.markerSymbol.color=e,t.markerSymbol.outline&&(t.markerSymbol.outline.color=e))),t}modelListReorderChangeListener(e){let{modelList:t}=e.detail;if(this.modelList=v({arrayA:this.modelList,arrayB:t,getKey:a=>a.chartId??a.titleText??""}),this.syncChartsToLayers){let a=t.find(i=>i.layer?.id!==void 0)?.layer?.id;if(a){let i=this.layerList.find(s=>s.id.toString()===a);i&&de(i,t)}}}async layerListChange(){let e=[],t=this.layerList.map(i=>i.id.toString()),a=[...this.modelList.filter(i=>t.includes(i.layer?.id??""))];for(let i of this.layerList??[]){if(i.type==="sublayer"){let p=await i.createFeatureLayer();if(!p)continue;i=p}let s=i.charts,r=b(i)?await x(i):void 0,l=oe({layerRasterInfo:r,layerId:i.id,layerType:i.type});for(let p of s??[]){let g;G(l,p)&&(g=await Q({layer:i,config:p,commonStrings:this.commonStrings})),g&&e.push(g)}}se(e),e.forEach(i=>{a.find(s=>s.isSameChartAs(i))===void 0&&a.push(i)}),this.modelList=a}modelListChange(e,t){this.selectedChartId=se(e,this.selectedChartId),t?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)});let a=this.getModel(this.selectedChartId);this.currentChartTypeText=a?.chartType!==void 0?k({chartType:a.chartType,commonStrings:this.commonStrings,config:a.config}):"",this.syncChartsToLayers&&this.allowChartSyncing&&ne(this.layerList,e),this.arcgisChartsConfigModelListChange.emit({modelList:e})}selectedChartIdChange(e){this.selectedChartId===void 0&&(this.panelNumber=0),this.selectedPanel=c.Data;let t=this.getModel(e);this.setEventBasedPropsFromModelData(t),this.currentChartTypeText=t?.chartType!==void 0?k({chartType:t.chartType,commonStrings:this.commonStrings,config:t.config}):"",e!==void 0&&e!==$.selectedChartId&&($.selectedChartId=e),this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:t})}panelNumberChange(e){e===0?this.clearPartialModels():e===1&&this.removeSelectChartTypePopover(),this.arcgisChartsConfigPanelNumberChange.emit({panelNumber:e,modelList:this.modelList})}addChartEventListeners(){this.listenOn(document,f.DataProcessComplete,this.chartDataProcessComplete),this.listenOn(document,f.AxesMinMaxChange,this.chartAxesMinMaxChange),this.listenOn(document,f.SeriesColorChange,this.chartSeriesColorChange),this.listenOn(document,f.NoRenderPropChange,this.chartNoRenderPropChange),this.listenOn(document,f.LegendItemVisibilityChange,this.chartLegendItemVisibilityChange)}getDataExtent(e){let t=this.getModel(this.selectedChartId)?.config,a=[];if(t!==void 0&&e!==void 0){let i=X({chartConfig:t,chartData:e}),{minY:s,maxY:r,minX:l,maxX:p}=i;a=[{isXAxis:!0,minimum:l,maximum:p},{isXAxis:!1,minimum:s,maximum:r}]}return a}updateAxesBoundsInAppState(e){e?.forEach(t=>{let{isXAxis:a,maximum:i,minimum:s}=t,r=this.getModel(this.selectedChartId);if(r!==void 0&&B(r)&&this.selectedChartId!==void 0){let l=new te(r,a),p=J({chartId:this.selectedChartId,isXAxis:a,isLogarithmic:l.getLogarithmic()}),g=$.chartAxesBoundDataMap;g[this.selectedChartId]===void 0&&(g[this.selectedChartId]={});let u=g[this.selectedChartId]?.[p],E={defaultMinBound:u?.defaultMinBound===u?.currMinBound?s:u?.defaultMinBound,currMinBound:s,defaultMaxBound:u?.defaultMaxBound===u?.currMaxBound?i:u?.defaultMaxBound,currMaxBound:i};!M(u,E)&&this.selectedChartId!==void 0&&g?.[this.selectedChartId]!==void 0&&(g[this.selectedChartId][p]=E)}})}getPlacement(e){let t;return this.popoverPlacement!==void 0?t=this.popoverPlacement:t=e<=2?"bottom":"top",t}onBackFlow(){this.panelNumber-=1}async onAddChartClick(e){let{referenceElement:t,layer:a}=e.detail;this.removeSelectChartTypePopover();let i=oe({layerId:a?.id,layerType:a?.type,layerRasterInfo:b(a)?await x(a):void 0}),s=this.getPlacement(i.length);this.selectChartTypePopover=S(n`<arcgis-charts-config-select-chart-type-popover .referenceElement=${t} open .layerId=${a?.id?.toString()} .layerType=${a?.type} .supportedChartTypes=${i} .popoverPlacement=${s} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`),!document.body.contains(this.selectChartTypePopover)&&this.selectChartTypePopover!==null&&document.body.appendChild(this.selectChartTypePopover)}getModel(e){return this.modelList?.find(t=>t.chartId===e)}removeSelectChartTypePopover(){this.selectChartTypePopover!==void 0&&(this.selectChartTypePopover?.remove(),this.selectChartTypePopover=ie(this.selectChartTypePopover))}clearPartialModels(){this.modelList=this.modelList.filter(e=>!T(e.config))}onViewChartDelete(e){let{chartId:t}=e.detail;if(t!==void 0){let a=this.modelList.find(s=>s.chartId===t),i=this.layerList.find(s=>s.id===a?.layer?.id);this.modelList=[...this.modelList.filter(s=>s.chartId!==t)],i&&this.syncChartsToLayers&&he(i,t)}}onViewChartsSelect(e){this.selectedChartId===e.detail.chartId&&(this.allowChartSyncing=!0,this.arcgisChartsConfigSelectedChartChange.emit({key:"key",model:this.getModel(this.selectedChartId)})),this.selectedChartId=e.detail.chartId}onViewChartsEdit(e){this.onViewChartsSelect(e),this.panelNumber=1}onViewChartClose(){this.close=!0,this.removeSelectChartTypePopover(),this.arcgisChartsConfigChartViewChartClose.emit()}setEventBasedPropsFromModelData(e){this.chartData=e?.dataStore.chartData,this.r2=e?.dataStore.r2,this.seriesColor=e?.dataStore.seriesColor,this.calculatedMinMaxBounds=e?.dataStore.calculatedMinMaxBounds,this.calculatedDataMinMaxBounds=e?.dataStore.calculatedDataMinMaxBounds}createTooltip(e){let t=e.target,a="";switch(t.icon){case"configure":a=this._messages.data??"";break;case"graph-bar-stacked":case"graph-line-series":case"box-chart-series":a=this._messages.series??"";break;case"graph-pie-slice":a=this._messages.slices??"";break;case"graph-axis":a=this._messages.axes??"";break;case"graph-guides":a=this._messages.guides??"";break;case"palette":a=this._messages.format??"";break;case"text":a=this._messages.general??"";break;default:a="";break}this.tooltip=S(n`<calcite-tooltip style=${_({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${a}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){ee(this.tooltip)}renderViewCharts(){let e=ce({modelList:this.modelList,layerList:this.layerList,activeLayerId:this.activeLayerId,disableEditing:this.disableEditing});return ae(e,t=>t.id,t=>n`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId!==void 0} .modelList=${this.modelList.filter(a=>a.layer?.id===t.id)} .selectedChartId=${this.selectedChartId??""} .layer=${t} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`)}render(){return this.close?null:n`<calcite-flow>${w("charts-list",n`<calcite-flow-item .selected=${this.panelNumber===0||this.disableEditing} .heading=${this.headerTitle??this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${A(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.panelNumber>=1&&!this.disableEditing?this.renderTabs():null}</calcite-flow>`}renderTabs(){let e=this.getModel(this.selectedChartId);return w("chart-edit",n`<calcite-flow-item .selected=${this.panelNumber>=1&&!this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel??c.Data]} .description=${this.currentChartTypeText!==""&&this._messages.pageFlowTitle!==void 0?le(this._messages.pageFlowTitle,{chartName:e?.titleText??this.currentChartTypeText,layerName:e?.layer?.title??""}):""}>${e?.chartType!==void 0?n`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel===c.Data||this.selectedPanel===void 0} @click=${()=>{this.selectedPanel=c.Data}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType===o.BarSeries?n`<calcite-action class=${h(d.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel===c.Series} @click=${()=>{this.selectedPanel=c.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.series??""}></calcite-action>`:null}${e?.chartType===o.LineSeries?n`<calcite-action class=${h(d.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel===c.Series} @click=${()=>{this.selectedPanel=c.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.series??""}></calcite-action>`:null}${e?.chartType===o.BoxPlotSeries?n`<calcite-action class=${h(d.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel===c.Series} @click=${()=>{this.selectedPanel=c.Series}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.series??""}></calcite-action>`:null}${e?.chartType===o.PieSeries?n`<calcite-action class=${h(d.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel===c.Slices} @click=${()=>{this.selectedPanel=c.Slices}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.slices??""}></calcite-action>`:null}${e?.chartType!==o.PieSeries&&e?.chartType!==o.HeatSeries?n`<calcite-action class=${h(d.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel===c.Axes} @click=${()=>{this.selectedPanel=c.Axes}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.axes??""}></calcite-action>`:null}${e?.chartType!==o.PieSeries&&e?.chartType!==o.HeatSeries?n`<calcite-action class=${h(d.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel===c.Guides} @click=${()=>{this.selectedPanel=c.Guides}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.guides??""}></calcite-action>`:null}<calcite-action class=${h(d.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel===c.Format} @click=${()=>{this.selectedPanel=c.Format}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.format??""}></calcite-action><calcite-action class=${h(d.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel===c.General} @click=${()=>{this.selectedPanel=c.General}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} .text=${this._messages.general??""}></calcite-action></calcite-action-bar>`:null}${this.renderChartUIComponent()}</calcite-flow-item>`)}renderChartUIComponent(){let e=this.getModel(this.selectedChartId),t=e?.layer,a=null;if(e!==void 0&&!this.disableEditing)switch(e?.chartType){case o.BarSeries:a=n`<arcgis-charts-config-bar-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .page=${this.selectedPanel??c.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;break;case o.LineSeries:a=n`<arcgis-charts-config-line-chart class=${h(d.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .page=${this.selectedPanel??c.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;break;case o.PieSeries:a=n`<arcgis-charts-config-pie-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .chartData=${this.chartData} .page=${this.selectedPanel??c.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;break;case o.HistogramSeries:a=n`<arcgis-charts-config-histogram class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .page=${this.selectedPanel??c.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;break;case o.ScatterSeries:a=n`<arcgis-charts-config-scatter-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .view=${this.view} .page=${this.selectedPanel??c.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;break;case o.BoxPlotSeries:a=n`<arcgis-charts-config-box-plot class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .page=${this.selectedPanel??c.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;break;case o.HeatSeries:a=n`<arcgis-charts-config-heat-chart class=${h(d.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo||this.popupTemplateFieldInfosEnabled} .layer=${t} .page=${this.selectedPanel??c.Data}></arcgis-charts-config-heat-chart>`;break}return a}};z("arcgis-charts-config-create-flow",D);return D},"intl",a,b,d,e,g,i,k,l,m,p,r,s,t,u,v)