@arcgis/charts-components 5.1.0-next.112 → 5.1.0-next.113

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 (153) hide show
  1. package/dist/cdn/{D64TYM3R.js → 24TOMTMP.js} +1 -1
  2. package/dist/cdn/{KGUWJXNX.js → 2EPXIQFD.js} +1 -1
  3. package/dist/cdn/2SVBUT3V.js +2 -0
  4. package/dist/cdn/{KBFIWSF2.js → 2XTQT6TW.js} +1 -1
  5. package/dist/cdn/{PIQLTGQV.js → 2YI4HWFY.js} +36 -36
  6. package/dist/cdn/{VA7A24CW.js → 34WNZMJY.js} +1 -1
  7. package/dist/cdn/{MT2SXIFX.js → 4G5JOLEP.js} +1 -1
  8. package/dist/cdn/{D5HBIRFV.js → 4MZJZQDO.js} +1 -1
  9. package/dist/cdn/{2XZHEQOM.js → 52QMEXI6.js} +1 -1
  10. package/dist/cdn/{XL2LODIA.js → 5I75UYWD.js} +1 -1
  11. package/dist/cdn/{ABLXR4MB.js → 5M72DGYL.js} +1 -1
  12. package/dist/cdn/{I3AEOP2Z.js → 5PG6PXDG.js} +1 -1
  13. package/dist/cdn/6FGRLBTA.js +2 -0
  14. package/dist/cdn/6JNHTWDQ.js +2 -0
  15. package/dist/cdn/{BRQAPAQK.js → 6YSH3ROL.js} +1 -1
  16. package/dist/cdn/{D3BGIANC.js → 7AVVBDQS.js} +1 -1
  17. package/dist/cdn/{U4MRHS76.js → 7EDHTVVK.js} +1 -1
  18. package/dist/cdn/{NF2XLTBQ.js → 7MHEEH5F.js} +1 -1
  19. package/dist/cdn/{H2KJXNFC.js → 7Y76VKGS.js} +1 -1
  20. package/dist/cdn/AC2XSIOU.js +2 -0
  21. package/dist/cdn/{GFNVUB7K.js → AEESEH6N.js} +1 -1
  22. package/dist/cdn/{YINMQ55E.js → AYY2C4BW.js} +1 -1
  23. package/dist/cdn/{GWMDQQIJ.js → BH7WDRGU.js} +1 -1
  24. package/dist/cdn/CMPHBGKB.js +2 -0
  25. package/dist/cdn/{IBM2BU72.js → DDA7NVBX.js} +1 -1
  26. package/dist/cdn/{JGJIYKDB.js → DMDXALHQ.js} +1 -1
  27. package/dist/cdn/{JVHLFBSS.js → DX5LK7LS.js} +1 -1
  28. package/dist/cdn/{3FXHEHMZ.js → ERUYMQOC.js} +1 -1
  29. package/dist/cdn/{E6KDF7I4.js → ESUMWLYT.js} +1 -1
  30. package/dist/cdn/{P2QKEA6M.js → EULFJ5JL.js} +1 -1
  31. package/dist/cdn/{S5AL63QJ.js → EX27CNDS.js} +1 -1
  32. package/dist/cdn/FYI7J2KF.js +2 -0
  33. package/dist/cdn/{6KZXKGN5.js → GGZNH26O.js} +1 -1
  34. package/dist/cdn/{XWRRNCXX.js → HIQSXKPT.js} +1 -1
  35. package/dist/cdn/{RD6ECNGH.js → HS2WQJEO.js} +1 -1
  36. package/dist/cdn/{6MJZVFHH.js → IBCUXQZ4.js} +1 -1
  37. package/dist/cdn/{KKRB2MKQ.js → IC4OZCXG.js} +1 -1
  38. package/dist/cdn/{Y7XBFA23.js → JGD2M47O.js} +1 -1
  39. package/dist/cdn/KGOERXN5.js +2 -0
  40. package/dist/cdn/{ODQFJ4LV.js → KPXH2MNB.js} +1 -1
  41. package/dist/cdn/KSBWHMXE.js +2 -0
  42. package/dist/cdn/{CM6SMNRV.js → L3ULFQN3.js} +1 -1
  43. package/dist/cdn/{AHJ3Z5VK.js → LKHNZDEC.js} +1 -1
  44. package/dist/cdn/{UMYKMOTP.js → LXVLBS7T.js} +1 -1
  45. package/dist/cdn/{FBAOV5K3.js → M5E3NFDP.js} +1 -1
  46. package/dist/cdn/{EXMOSLLD.js → MKEUDI3M.js} +1 -1
  47. package/dist/cdn/{CM3VU2OY.js → MKQPW6B4.js} +1 -1
  48. package/dist/cdn/MVAMHZ3Q.js +2 -0
  49. package/dist/cdn/{5HINM2VQ.js → N265ZHHU.js} +1 -1
  50. package/dist/cdn/{R7CJ4O3L.js → N2S6YV3I.js} +1 -1
  51. package/dist/cdn/N3EATDXE.js +2 -0
  52. package/dist/cdn/{X67CUQNM.js → NR3BCOHU.js} +1 -1
  53. package/dist/cdn/{67KR6LRC.js → O2JEDVIA.js} +1 -1
  54. package/dist/cdn/{LOCJNU5K.js → OB7IDW6S.js} +1 -1
  55. package/dist/cdn/{AEUYFUBD.js → OBPCKG62.js} +1 -1
  56. package/dist/cdn/{PJNQHWV6.js → OCERCT4I.js} +1 -1
  57. package/dist/cdn/{5LC3XI7H.js → OFN7ED75.js} +1 -1
  58. package/dist/cdn/{KMEU5ARZ.js → OQSFVGUL.js} +1 -1
  59. package/dist/cdn/{DQCPY5W2.js → PA3PSUQ3.js} +1 -1
  60. package/dist/cdn/PYFMKPMO.js +2 -0
  61. package/dist/cdn/QRZ32JMG.js +2 -0
  62. package/dist/cdn/{3HD6QKW5.js → R3GNKVFS.js} +1 -1
  63. package/dist/cdn/R3Y2F64T.js +2 -0
  64. package/dist/cdn/{PBODMDBX.js → RBVV7JGY.js} +9 -9
  65. package/dist/cdn/{ESYVOEM3.js → S32VCEG7.js} +1 -1
  66. package/dist/cdn/{OML6Q2NW.js → S7ASARWB.js} +1 -1
  67. package/dist/cdn/{WXICRF7E.js → SVMC3JP5.js} +1 -1
  68. package/dist/cdn/SYXU6NZX.js +2 -0
  69. package/dist/cdn/{JUZN32FE.js → T3CSQ5DU.js} +1 -1
  70. package/dist/cdn/T3NJTAF3.js +2 -0
  71. package/dist/cdn/{LJRBB6FP.js → T53WJZQN.js} +1 -1
  72. package/dist/cdn/TES5ZESK.js +2 -0
  73. package/dist/cdn/U5ZB4YD6.js +2 -0
  74. package/dist/cdn/{3AXJHQ2G.js → UNDCO72C.js} +1 -1
  75. package/dist/cdn/{S76F4PYC.js → UR537UXK.js} +1 -1
  76. package/dist/cdn/{XJNMW7WT.js → VMAOMKFN.js} +1 -1
  77. package/dist/cdn/{KZPT7DNZ.js → VV7JMGHL.js} +1 -1
  78. package/dist/cdn/{5HA57VEM.js → W6CIWZSM.js} +1 -1
  79. package/dist/cdn/{SZZ4H4ZK.js → WA5XK3HC.js} +1 -1
  80. package/dist/cdn/{6TTUH24U.js → WD4QY4YU.js} +1 -1
  81. package/dist/cdn/{W7FIZJJV.js → WESXMGHU.js} +1 -1
  82. package/dist/cdn/{SJN44JLK.js → WFDVEHVL.js} +1 -1
  83. package/dist/cdn/{JSLCGSQY.js → WI3CE5TT.js} +1 -1
  84. package/dist/cdn/{FEYXO2GF.js → WNZ2PSFZ.js} +1 -1
  85. package/dist/cdn/{WURCLA4B.js → XLJSZ42M.js} +1 -1
  86. package/dist/cdn/{JQ46RTG7.js → XM6GBBOL.js} +1 -1
  87. package/dist/cdn/{QLSZLTAV.js → YE5ASSSN.js} +1 -1
  88. package/dist/cdn/{P6S4F5LJ.js → ZBLRD77K.js} +1 -1
  89. package/dist/cdn/ZZRH7LXO.js +2 -0
  90. package/dist/cdn/index.js +1 -1
  91. package/dist/chunks/bar-chart-series.js +1 -1
  92. package/dist/chunks/box-plot-data.js +1 -1
  93. package/dist/chunks/box-plot-model.js +1 -1
  94. package/dist/chunks/class-breaks.js +375 -196
  95. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  96. package/dist/chunks/heat-chart-model.js +80 -55
  97. package/dist/chunks/index.js +1 -1
  98. package/dist/chunks/index2.js +2 -1
  99. package/dist/chunks/index4.js +395 -368
  100. package/dist/chunks/index5.js +30 -16
  101. package/dist/chunks/index6.js +95 -180
  102. package/dist/chunks/index7.js +63 -96
  103. package/dist/chunks/model-setter.js +5 -4
  104. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  105. package/dist/chunks/serial-chart-data.js +459 -428
  106. package/dist/chunks/serial-chart-model.js +21 -21
  107. package/dist/chunks/type-guards3.js +1 -1
  108. package/dist/chunks/utils.js +1 -1
  109. package/dist/chunks/web-component-utils.js +1 -1
  110. package/dist/chunks/x-bounds.js +1 -1
  111. package/dist/components/arcgis-chart/customElement.js +1874 -1852
  112. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  116. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  117. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +113 -115
  120. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  121. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  122. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  124. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  125. package/dist/docs/api.json +1 -1
  126. package/dist/docs/docs.json +1 -1
  127. package/dist/docs/web-types.json +1 -1
  128. package/dist/index.js +3 -3
  129. package/dist/json-schema/index.d.ts +16 -2
  130. package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
  131. package/dist/spec/web-chart.d.ts +5 -1
  132. package/package.json +3 -3
  133. package/dist/cdn/263JBBGM.js +0 -2
  134. package/dist/cdn/35KB444X.js +0 -2
  135. package/dist/cdn/4HY2RXSW.js +0 -2
  136. package/dist/cdn/66KACO5S.js +0 -2
  137. package/dist/cdn/AG3TVVQ2.js +0 -2
  138. package/dist/cdn/ALLLIA7C.js +0 -2
  139. package/dist/cdn/CDQ7GWYX.js +0 -2
  140. package/dist/cdn/CSP5QTAR.js +0 -2
  141. package/dist/cdn/DK6HSROT.js +0 -2
  142. package/dist/cdn/EZWN2KJB.js +0 -2
  143. package/dist/cdn/FYM7POP4.js +0 -2
  144. package/dist/cdn/IYGAISDT.js +0 -2
  145. package/dist/cdn/J33CC7V4.js +0 -2
  146. package/dist/cdn/KNQ5BIHK.js +0 -2
  147. package/dist/cdn/KXB6IFTK.js +0 -2
  148. package/dist/cdn/SH6SDXJC.js +0 -2
  149. package/dist/cdn/SYUVV7NT.js +0 -2
  150. package/dist/cdn/XGNWXJ66.js +0 -2
  151. package/dist/chunks/index8.js +0 -66
  152. /package/dist/cdn/{AUFWCLGL.js → COYWSD6X.js} +0 -0
  153. /package/dist/cdn/{BVUORLWQ.js → Y2AULE2F.js} +0 -0
@@ -9001,6 +9001,20 @@ For feature-based gauge, if this property is not present, the first feature will
9001
9001
  classificationMethod: {
9002
9002
  $ref: "#/definitions/WebChartClassBreakTypes",
9003
9003
  description: "The classification method to be used for the heat chart. `equal-interval` - divides the range of values into equal-sized intervals. `quantile` - divides the range of values into intervals that contain an equal number of features. `natural-breaks` - identifies natural groupings of values in the data by minimizing the variance within classes and maximizing the variance between classes. `manual` - allows you to manually specify the class breaks."
9004
+ },
9005
+ colorRampInfo: {
9006
+ type: "object",
9007
+ properties: {
9008
+ name: {
9009
+ type: "string",
9010
+ description: "The name of the color ramp to be used for the heat chart. The color ramp will be applied to the class breaks defined in `breaksCount` and `classificationMethod`."
9011
+ },
9012
+ flipped: {
9013
+ type: "boolean",
9014
+ description: "Indicates whether the selected color ramp is flipped.",
9015
+ default: !1
9016
+ }
9017
+ }
9004
9018
  }
9005
9019
  },
9006
9020
  description: "JSON representation of the Heat chart with class breaks heat rules.",
@@ -9448,7 +9462,7 @@ Setting this property will ensure that the item with no data is displayed on the
9448
9462
  properties: {
9449
9463
  version: {
9450
9464
  type: "string",
9451
- const: "25.0.0",
9465
+ const: "25.1.0",
9452
9466
  description: "Version of the specification. Used to identify when a saved config was created."
9453
9467
  },
9454
9468
  type: {
@@ -9613,7 +9627,7 @@ If not provided the series will be displayed as they are ordered in the config.`
9613
9627
  properties: {
9614
9628
  version: {
9615
9629
  type: "string",
9616
- const: "25.0.0",
9630
+ const: "25.1.0",
9617
9631
  description: "Version of the specification. Used to identify when a saved config was created."
9618
9632
  },
9619
9633
  type: {
@@ -9807,7 +9821,7 @@ If not provided the series will be displayed as they are ordered in the config.`
9807
9821
  properties: {
9808
9822
  version: {
9809
9823
  type: "string",
9810
- const: "25.0.0",
9824
+ const: "25.1.0",
9811
9825
  description: "Version of the specification. Used to identify when a saved config was created."
9812
9826
  },
9813
9827
  type: {
@@ -9991,7 +10005,7 @@ Additionally the chart will render with that option enabled only if the the seri
9991
10005
  properties: {
9992
10006
  version: {
9993
10007
  type: "string",
9994
- const: "25.0.0",
10008
+ const: "25.1.0",
9995
10009
  description: "Version of the specification. Used to identify when a saved config was created."
9996
10010
  },
9997
10011
  type: {
@@ -10177,7 +10191,7 @@ If not provided the series will be displayed as they are ordered in the config.`
10177
10191
  },
10178
10192
  version: {
10179
10193
  type: "string",
10180
- const: "25.0.0",
10194
+ const: "25.1.0",
10181
10195
  description: "Version of the specification. Used to identify when a saved config was created."
10182
10196
  },
10183
10197
  type: {
@@ -10336,11 +10350,11 @@ If not provided the series will be displayed as they are ordered in the config.`
10336
10350
  description: "Gives a JSON representation of the heat chart object.",
10337
10351
  title: "WebHeatChart"
10338
10352
  },
10339
- 'Omit<(structure-1066060463-59316-61059-1066060463-59241-61060-1066060463-55346-61062-1066060463-0-64115|undefined)937098756,("data"|"orderByFields")>': {
10340
- $ref: "#/definitions/Pick%3C(structure-1066060463-59316-61059-1066060463-59241-61060-1066060463-55346-61062-1066060463-0-64115%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
10341
- title: 'Omit<(structure-1066060463-59316-61059-1066060463-59241-61060-1066060463-55346-61062-1066060463-0-64115|undefined)937098756,("data"|"orderByFields")>'
10353
+ 'Omit<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,("data"|"orderByFields")>': {
10354
+ $ref: "#/definitions/Pick%3C(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
10355
+ title: 'Omit<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,("data"|"orderByFields")>'
10342
10356
  },
10343
- 'Pick<(structure-1066060463-59316-61059-1066060463-59241-61060-1066060463-55346-61062-1066060463-0-64115|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
10357
+ 'Pick<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
10344
10358
  type: "object",
10345
10359
  properties: {
10346
10360
  series: {
@@ -10351,7 +10365,7 @@ If not provided the series will be displayed as they are ordered in the config.`
10351
10365
  }
10352
10366
  },
10353
10367
  additionalProperties: !1,
10354
- title: 'Pick<(structure-1066060463-59316-61059-1066060463-59241-61060-1066060463-55346-61062-1066060463-0-64115|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
10368
+ title: 'Pick<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
10355
10369
  },
10356
10370
  OverlayTerms: {
10357
10371
  type: "string",
@@ -10628,7 +10642,7 @@ async function P(i, r) {
10628
10642
  }
10629
10643
  return n;
10630
10644
  }
10631
- function B(i) {
10645
+ function k(i) {
10632
10646
  const r = /* @__PURE__ */ new Set(), n = H(i);
10633
10647
  if (n) {
10634
10648
  const e = x(i.series), t = C(i.series);
@@ -10670,7 +10684,7 @@ async function de(i) {
10670
10684
  v(document.documentElement).t9nLocale,
10671
10685
  w("./assets/common/t9n"),
10672
10686
  "messages."
10673
- )).errorStrings, o = L(n), l = B(r).filter((y) => !D(y, o));
10687
+ )).errorStrings, o = L(n), l = k(r).filter((y) => !D(y, o));
10674
10688
  if (l.length > 0) {
10675
10689
  const y = l.join(", ");
10676
10690
  t = {
@@ -10681,7 +10695,7 @@ async function de(i) {
10681
10695
  }
10682
10696
  return t;
10683
10697
  }
10684
- async function k(i) {
10698
+ async function B(i) {
10685
10699
  const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
10686
10700
  let a = [];
10687
10701
  if (n !== void 0) {
@@ -10717,7 +10731,7 @@ async function Se(i) {
10717
10731
  else {
10718
10732
  const o = await le(r, t);
10719
10733
  let p = [], l = [];
10720
- r !== void 0 && o.length === 0 && (l = await N({ queryObject: n, chartConfig: r, errorStrings: t }), l.length === 0 && (p = await k({ input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t }))), a = {
10734
+ 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 = {
10721
10735
  valid: o.length === 0 && p.length === 0 && l.length === 0,
10722
10736
  schemaErrors: o,
10723
10737
  customErrors: l,
@@ -10768,13 +10782,13 @@ function ve(i) {
10768
10782
  }
10769
10783
  const Ie = {
10770
10784
  findCustomErrors: N,
10771
- findWarnings: k,
10785
+ findWarnings: B,
10772
10786
  findNumericAggregationWarnings: q,
10773
10787
  findDuplicateSeriesIDWarnings: P,
10774
10788
  findLayerLoadError: R,
10775
10789
  createStartingSchema: g,
10776
10790
  extractSchemaNameFromRefPath: O,
10777
- getRequiredFieldNamesFromChartConfig: B,
10791
+ getRequiredFieldNamesFromChartConfig: k,
10778
10792
  customizeValidationErrors: j
10779
10793
  };
10780
10794
  export {
@@ -1,184 +1,99 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { cloneDeep as w } from "lodash-es";
3
- import { a3 as V } from "./index2.js";
4
- import { i as g, f as y, g as p, R as $ } from "./rest-js-object-literals.js";
5
- function L(i) {
6
- let r;
7
- switch (i.length) {
8
- case 4: {
9
- const e = i.match(/^#?([\da-f]{1})([\da-f]{1})([\da-f]{1})$/iu);
10
- e && (r = [
11
- Number.parseInt(`${e[1]}${e[1]}`, 16),
12
- Number.parseInt(`${e[2]}${e[2]}`, 16),
13
- Number.parseInt(`${e[3]}${e[3]}`, 16),
14
- 255
15
- ]);
16
- break;
17
- }
18
- case 5: {
19
- const e = i.match(/^#?([\da-f]{1})([\da-f]{1})([\da-f]{1})([\da-f]{1})$/iu);
20
- e && (r = [
21
- Number.parseInt(`${e[1]}${e[1]}`, 16),
22
- Number.parseInt(`${e[2]}${e[2]}`, 16),
23
- Number.parseInt(`${e[3]}${e[3]}`, 16),
24
- Number.parseInt(`${e[4]}${e[4]}`, 16)
25
- ]);
26
- break;
27
- }
28
- case 7: {
29
- const e = i.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu);
30
- e && (r = [
31
- Number.parseInt(e[1], 16),
32
- Number.parseInt(e[2], 16),
33
- Number.parseInt(e[3], 16),
34
- 255
35
- ]);
36
- break;
37
- }
38
- case 9: {
39
- const e = i.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu);
40
- e && (r = [
41
- Number.parseInt(e[1], 16),
42
- Number.parseInt(e[2], 16),
43
- Number.parseInt(e[3], 16),
44
- Number.parseInt(e[4], 16)
45
- ]);
46
- break;
47
- }
48
- }
49
- return r;
50
- }
51
- function N(i) {
52
- let r;
53
- if (typeof i == "string" && i.startsWith("#")) {
54
- const e = L(i);
55
- e && (r = e);
56
- } else Array.isArray(i) && i.every((e) => typeof e == "number") && (i.length === 4 ? r = i : i.length === 3 && (r = [...i, 255]));
57
- return r;
58
- }
59
- function R(i) {
60
- return i === y.BackwardDiagonal || i === y.Cross || i === y.DiagonalCross || i === y.ForwardDiagonal || i === y.Horizontal || i === y.Null || i === y.Solid || i === y.Vertical;
61
- }
62
- function I(i) {
63
- return i === p.Dash || i === p.DashDot || i === p.DashDotDot || i === p.Dot || i === p.Null || i === p.Solid;
64
- }
65
- function W(i) {
66
- const { categoryField: r, numericFields: e, configFields: t, inlineData: s } = i;
67
- let u = {};
68
- return t && Object.keys(t).length > 0 && "dataItems" in s && (u = {
69
- type: "uniqueValue",
70
- field1: r,
71
- uniqueValueInfos: []
72
- }, s.dataItems.forEach((l) => {
73
- const a = l[r];
74
- if (a != null) {
75
- let n = { value: a };
76
- e.forEach((o) => {
77
- const c = N(l[`${t.fillColor}_${o}`]), m = l[`${t.fillOpacity}_${o}`], S = l[`${t.fillStyle}_${o}`], b = l[`${t.markerSize}_${o}`], D = N(l[`${t.outlineColor}_${o}`]), O = l[`${t.outlineOpacity}_${o}`], h = l[`${t.outlineWidth}_${o}`], k = l[`${t.outlineStyle}_${o}`], F = N(l[`${t.lineColor}_${o}`]), v = l[`${t.lineOpacity}_${o}`], d = l[`${t.lineWidth}_${o}`], _ = l[`${t.lineStyle}_${o}`], C = l[`${t.displayLabel}_${o}`];
78
- if (typeof C == "string" && (n = {
79
- ...n,
80
- label: C
81
- }), b != null) {
82
- const f = { type: g.SMS };
83
- b && typeof b == "number" && (f.size = b), n.symbol = f;
84
- }
85
- if (c || R(S)) {
86
- const f = n.symbol?.type === g.SMS ? n.symbol : {
87
- type: g.SFS
88
- };
89
- if (c && (m && typeof m == "number" && (c[3] = m), f.color = c), R(S) && (f.style = S), n.symbol = f, D || h != null || I(k)) {
90
- const T = { type: g.SLS };
91
- D && (O && typeof O == "number" && (D[3] = O), T.color = D), I(k) && (T.style = k), h && typeof h == "number" && (T.width = h), n.symbol.outline = T;
92
- }
93
- } else if (F || d != null || I(_)) {
94
- const f = { type: g.SLS };
95
- F && (v && typeof v == "number" && (F[3] = v), f.color = F), I(_) && (f.style = _), d != null && typeof d == "number" && (f.width = d), n.symbol = f;
96
- }
97
- }), (n.label || n.symbol) && u.uniqueValueInfos.push(n);
98
- }
99
- })), u;
100
- }
101
- function E(i) {
102
- const { numericFields: r, configFields: e, inlineData: t } = i, s = t;
103
- return "dataItems" in t && Object.entries(e).forEach(([u, l]) => {
104
- r.forEach((a) => {
105
- const n = `${l}_${a}`;
106
- t.dataItems.forEach((o) => {
107
- n in o && delete o[n];
108
- });
109
- });
110
- }), s;
111
- }
112
- function j(i) {
113
- const { categoryField: r, categoryType: e, numericFields: t, inlineData: s } = i;
114
- let u;
115
- if ("dataItems" in s) {
116
- const { dataItems: l } = s, a = [];
117
- let n = "OBJECTID";
118
- const o = l.map((m, S) => {
119
- const b = { ...m };
120
- return "FID" in m ? n = "FID" : "ObjectId" in m && (n = "ObjectId"), b[n] || (b[n] = S), { attributes: b };
121
- });
122
- a.push({ type: "esriFieldTypeOID", name: n });
123
- let c;
124
- switch (e) {
125
- case "dateOnly":
126
- c = $.DateOnly;
127
- break;
128
- case "timeStampOffset":
129
- c = $.TimestampOffset;
130
- break;
131
- case "date":
132
- c = $.Date;
133
- break;
134
- case "number":
135
- c = $.Double;
136
- break;
137
- default:
138
- c = $.String;
139
- break;
140
- }
141
- a.push({ type: c, name: r }), t.forEach((m) => {
142
- a.push({ type: $.Double, name: m });
143
- }), u = {
144
- id: "",
145
- layerType: "ArcGISFeatureLayer",
146
- featureCollection: {
147
- layers: [{ layerDefinition: { fields: a }, featureSet: { features: o } }]
148
- }
149
- };
150
- }
151
- return u;
152
- }
153
- async function B(i) {
154
- const { categoryField: r, categoryType: e, numericFields: t, configFields: s, inlineData: u } = i;
155
- let l, a, n = w(u);
156
- s && (l = W({
157
- categoryField: r,
158
- numericFields: t,
159
- configFields: s,
160
- inlineData: n
161
- }), n = E({
162
- numericFields: t,
163
- configFields: s,
164
- inlineData: n
165
- }));
166
- const o = j({
167
- categoryField: r,
168
- categoryType: e,
169
- numericFields: t,
170
- inlineData: n
171
- });
172
- return o && (a = await V(o)), { chartRenderer: l, iLayer: o, layer: a };
173
- }
174
- const M = {
175
- hexToRGB: L,
176
- convertColor: N,
177
- removeConfigFieldsFromData: E
178
- };
2
+ import { u as r } from "./chart-object-literals.js";
3
+ import { i as a } from "./rest-js-object-literals.js";
4
+ import { g as s } from "./series-types.js";
5
+ function c(e) {
6
+ const t = [
7
+ r.BarSeries,
8
+ r.LineSeries,
9
+ r.ComboLineAndBarSeries,
10
+ r.BoxPlotSeries
11
+ ], i = s(e?.series);
12
+ return i !== void 0 ? t.includes(i) : !1;
13
+ }
14
+ function p(e) {
15
+ const t = [
16
+ r.BarSeries,
17
+ r.LineSeries,
18
+ r.ComboLineAndBarSeries,
19
+ r.RadarSeries
20
+ ], i = s(e?.series);
21
+ return i !== void 0 ? t.includes(i) : !1;
22
+ }
23
+ function y(e) {
24
+ return e?.type === a.SFS;
25
+ }
26
+ function h(e) {
27
+ return e?.type === a.SLS;
28
+ }
29
+ function d(e) {
30
+ return e?.type === a.SMS;
31
+ }
32
+ function f(e) {
33
+ return e?.type === a.TS;
34
+ }
35
+ function m(e) {
36
+ return e && "iLayer" in e && e.iLayer;
37
+ }
38
+ function T(e, t) {
39
+ return e !== void 0 && t !== void 0 && e.series[0]?.type === t;
40
+ }
41
+ function n(e) {
42
+ return e?.type === r.BoxPlotSeries;
43
+ }
44
+ function C(e) {
45
+ return e?.type === r.LineSeries;
46
+ }
47
+ function l(e) {
48
+ return e?.type === r.RadarSeries;
49
+ }
50
+ function b(e) {
51
+ return e?.type === r.BarSeries;
52
+ }
53
+ function L(e) {
54
+ return e?.type === r.HeatSeries;
55
+ }
56
+ const B = (e) => s(e) === r.BarSeries, v = (e) => s(e) === r.LineSeries, A = (e) => s(e) === r.RadarSeries, x = (e) => s(e) === r.HeatSeries;
57
+ function I(e) {
58
+ return e.every(n);
59
+ }
60
+ function R(e) {
61
+ return e?.type === r.NumberAxisFormat;
62
+ }
63
+ function H(e) {
64
+ return e === void 0 || "bins" in e;
65
+ }
66
+ function O(e) {
67
+ return e === void 0 || "dataItems" in e;
68
+ }
69
+ function W(e) {
70
+ return e === void 0 || "dataItems" in e && "r2" in e;
71
+ }
72
+ function D(e) {
73
+ return "value" in e;
74
+ }
179
75
  export {
180
76
  B as a,
181
- j as b,
182
- W as c,
183
- M as i
77
+ n as b,
78
+ I as c,
79
+ T as d,
80
+ L as e,
81
+ x as f,
82
+ C as g,
83
+ m as h,
84
+ b as i,
85
+ v as j,
86
+ R as k,
87
+ l,
88
+ A as m,
89
+ c as n,
90
+ y as o,
91
+ h as p,
92
+ d as q,
93
+ p as r,
94
+ D as s,
95
+ O as t,
96
+ H as u,
97
+ W as v,
98
+ f as w
184
99
  };
@@ -1,99 +1,66 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { u as r } from "./chart-object-literals.js";
3
- import { i as a } from "./rest-js-object-literals.js";
4
- import { g as s } from "./series-types.js";
5
- function c(e) {
6
- const t = [
7
- r.BarSeries,
8
- r.LineSeries,
9
- r.ComboLineAndBarSeries,
10
- r.BoxPlotSeries
11
- ], i = s(e?.series);
12
- return i !== void 0 ? t.includes(i) : !1;
13
- }
14
- function p(e) {
15
- const t = [
16
- r.BarSeries,
17
- r.LineSeries,
18
- r.ComboLineAndBarSeries,
19
- r.RadarSeries
20
- ], i = s(e?.series);
21
- return i !== void 0 ? t.includes(i) : !1;
22
- }
23
- function y(e) {
24
- return e?.type === a.SFS;
25
- }
26
- function h(e) {
27
- return e?.type === a.SLS;
28
- }
29
- function d(e) {
30
- return e?.type === a.SMS;
31
- }
32
- function f(e) {
33
- return e?.type === a.TS;
34
- }
35
- function m(e) {
36
- return e && "iLayer" in e && e.iLayer;
37
- }
38
- function T(e, t) {
39
- return e !== void 0 && t !== void 0 && e.series[0]?.type === t;
40
- }
41
- function n(e) {
42
- return e?.type === r.BoxPlotSeries;
43
- }
44
- function C(e) {
45
- return e?.type === r.LineSeries;
46
- }
47
- function l(e) {
48
- return e?.type === r.RadarSeries;
49
- }
50
- function b(e) {
51
- return e?.type === r.BarSeries;
52
- }
53
- function L(e) {
54
- return e?.type === r.HeatSeries;
55
- }
56
- const B = (e) => s(e) === r.BarSeries, v = (e) => s(e) === r.LineSeries, A = (e) => s(e) === r.RadarSeries, x = (e) => s(e) === r.HeatSeries;
57
- function I(e) {
58
- return e.every(n);
59
- }
60
- function R(e) {
61
- return e?.type === r.NumberAxisFormat;
62
- }
63
- function H(e) {
64
- return e === void 0 || "bins" in e;
65
- }
66
- function O(e) {
67
- return e === void 0 || "dataItems" in e;
68
- }
69
- function W(e) {
70
- return e === void 0 || "dataItems" in e && "r2" in e;
71
- }
72
- function D(e) {
73
- return "value" in e;
74
- }
2
+ const a = {
3
+ DataProcessComplete: "arcgisDataProcessComplete",
4
+ DataFetchComplete: "arcgisDataFetchComplete",
5
+ DataProcessError: "arcgisDataProcessError",
6
+ LegendItemVisibilityChange: "arcgisLegendItemVisibilityChange",
7
+ UpdateComplete: "arcgisUpdateComplete",
8
+ SeriesColorChange: "arcgisSeriesColorChange",
9
+ AxesMinMaxChange: "arcgisAxesMinMaxChange",
10
+ DefaultActionSelect: "arcgisDefaultActionSelect",
11
+ SelectionComplete: "arcgisSelectionComplete",
12
+ ActionBarToggle: "arcgisActionBarToggle",
13
+ NoRenderPropChange: "arcgisNoRenderPropChange",
14
+ BadDataWarningRaise: "arcgisBadDataWarningRaise",
15
+ InvalidConfigRaise: "arcgisInvalidConfigWarningRaise",
16
+ SeriesOrder: "arcgisSeriesOrder",
17
+ RuntimeError: "arcgisRuntimeError",
18
+ ConfigChange: "arcgisConfigChange",
19
+ RenderingComplete: "arcgisRenderingComplete"
20
+ }, t = {
21
+ FilterBySelection: "filterBySelection",
22
+ FilterByExtent: "filterByExtent",
23
+ Legend: "legend",
24
+ RotateChart: "rotateChart",
25
+ Selection: "selection",
26
+ ClearSelection: "clearSelection",
27
+ SwitchSelection: "switchSelection",
28
+ Zoom: "zoom",
29
+ FullExtent: "fullExtent",
30
+ EditChart: "editChart",
31
+ ExportAsImage: "exportAsImage",
32
+ ExportAsCSV: "exportAsCSV"
33
+ }, i = {
34
+ Active: "active",
35
+ Inactive: "inactive"
36
+ }, n = {
37
+ Enabled: "enabled",
38
+ Disabled: "disabled"
39
+ }, r = {
40
+ Ignore: "ignore",
41
+ Throw: "throw"
42
+ }, e = {
43
+ Ignore: "ignore",
44
+ Refresh: "refresh"
45
+ }, o = e, s = e, c = e, l = e, g = {
46
+ /**
47
+ * Enable syncing selections between chart and layer view
48
+ */
49
+ Enabled: "enabled",
50
+ /**
51
+ * Disable syncing selections between chart and layer view
52
+ */
53
+ Disabled: "disabled"
54
+ };
75
55
  export {
76
- B as a,
77
- n as b,
78
- I as c,
79
- T as d,
80
- L as e,
81
- x as f,
82
- C as g,
83
- m as h,
84
- b as i,
85
- v as j,
86
- R as k,
87
- l,
88
- A as m,
89
- c as n,
90
- y as o,
91
- h as p,
92
- d as q,
93
- p as r,
94
- D as s,
95
- O as t,
96
- H as u,
97
- W as v,
98
- f as w
56
+ n as A,
57
+ a as C,
58
+ t as D,
59
+ r as E,
60
+ c as L,
61
+ g as S,
62
+ l as V,
63
+ i as a,
64
+ o as b,
65
+ s as c
99
66
  };
@@ -32,7 +32,8 @@ import "simple-statistics";
32
32
  import "@arcgis/core/core/sql.js";
33
33
  import "@arcgis/core/geometry/Extent.js";
34
34
  import "@arcgis/toolkit/type";
35
- class Z extends EventTarget {
35
+ import "./class-breaks.js";
36
+ class $ extends EventTarget {
36
37
  /**
37
38
  * @param args
38
39
  * @privateRemarks This "any" constructor is needed for TypeScript to merge
@@ -119,7 +120,7 @@ class Z extends EventTarget {
119
120
  }
120
121
  // #endregion
121
122
  }
122
- function $(n, i, t) {
123
+ function K(n, i, t) {
123
124
  const s = t.set, a = t.value;
124
125
  return s && (t.set = function(r) {
125
126
  this.guardSetterFromAsyncOverwrite(() => {
@@ -132,6 +133,6 @@ function $(n, i, t) {
132
133
  }), t;
133
134
  }
134
135
  export {
135
- Z as C,
136
- $ as m
136
+ $ as C,
137
+ K as m
137
138
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { s as c, b as k, g as b, a as n } from "./series.js";
3
3
  import { X as m } from "./index.js";
4
- import { g as i, l as a } from "./index7.js";
4
+ import { g as i, l as a } from "./index6.js";
5
5
  import { C as v, m as y } from "./model-setter.js";
6
6
  const f = (s, e) => {
7
7
  if (i(e.series[s]) || a(e.series[s]))