@arcgis/charts-components 5.1.0-next.7 → 5.1.0-next.9

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 (135) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{TSQ75643.js → 24ZMVNPY.js} +1 -1
  3. package/dist/cdn/2E6UOES5.js +2 -0
  4. package/dist/cdn/{E2OGP7R4.js → 37TFH77K.js} +1 -1
  5. package/dist/cdn/{KGYOF4HQ.js → 3J7OE25D.js} +1 -1
  6. package/dist/cdn/{T4P6X62H.js → 3KPOZY7U.js} +1 -1
  7. package/dist/cdn/{RHSZB5ZH.js → 3MBJIZXQ.js} +1 -1
  8. package/dist/cdn/{ZWABUONN.js → 3MJNDW3O.js} +1 -1
  9. package/dist/cdn/{SBJDJQ5W.js → 3V24TSG3.js} +1 -1
  10. package/dist/cdn/472LMJV5.js +2 -0
  11. package/dist/cdn/{25UJ6G2G.js → 4KLIA33J.js} +1 -1
  12. package/dist/cdn/{SJ74QWGI.js → 4RTN2F3A.js} +1 -1
  13. package/dist/cdn/{MBFKIRCK.js → 5IBIN5PX.js} +1 -1
  14. package/dist/cdn/5UNMJRBV.js +2 -0
  15. package/dist/cdn/{X2S3V4HD.js → 6PFSSXHO.js} +1 -1
  16. package/dist/cdn/7EMMEDLK.js +2 -0
  17. package/dist/cdn/{ZY42XS5N.js → APM2UUMS.js} +1 -1
  18. package/dist/cdn/{BRRSD3O4.js → BIAHCUQC.js} +1 -1
  19. package/dist/cdn/{BVFVLX3U.js → CKEEXG7J.js} +7 -7
  20. package/dist/cdn/CMRNFSZC.js +4 -0
  21. package/dist/cdn/{F3M5Q4I6.js → CONUNOKN.js} +1 -1
  22. package/dist/cdn/{UWJ3DRYN.js → CPWMQOWE.js} +1 -1
  23. package/dist/cdn/CYO4M5FA.js +2 -0
  24. package/dist/cdn/{AYMM5RTN.js → DCSM57NL.js} +1 -1
  25. package/dist/cdn/{3KP75DDX.js → DU6SCSWY.js} +1 -1
  26. package/dist/cdn/{6ZZVPJTU.js → DUCASUB5.js} +1 -1
  27. package/dist/cdn/{D2NLBPAB.js → E2DPW452.js} +1 -1
  28. package/dist/cdn/{FG2SKN2Q.js → E7WKMXBN.js} +1 -1
  29. package/dist/cdn/{LKK7N2C5.js → EO756WDD.js} +1 -1
  30. package/dist/cdn/{AHJME35X.js → FFYDXNXA.js} +1 -1
  31. package/dist/cdn/{FHI4UU5O.js → FJSIGPKS.js} +1 -1
  32. package/dist/cdn/FM4O2SFI.js +56 -0
  33. package/dist/cdn/{5PUNMMSL.js → FPZLQV2G.js} +1 -1
  34. package/dist/cdn/{ESIO74ER.js → G6QUYWLP.js} +1 -1
  35. package/dist/cdn/{BYIBXD4Q.js → G76ZI2ZC.js} +1 -1
  36. package/dist/cdn/{XG3LUWT6.js → GD3XF3YV.js} +1 -1
  37. package/dist/cdn/GLSDBV72.js +2 -0
  38. package/dist/cdn/{MXLNSW6C.js → GYWWWJWB.js} +1 -1
  39. package/dist/cdn/{YC2QAZQ5.js → IDCUWB47.js} +1 -1
  40. package/dist/cdn/{NXDHPVLZ.js → IPU3GNA6.js} +1 -1
  41. package/dist/cdn/IRNA25SY.js +2 -0
  42. package/dist/cdn/{MOU5IBB7.js → ITDXKVUB.js} +1 -1
  43. package/dist/cdn/{QWZNK3OV.js → JA7R63SP.js} +1 -1
  44. package/dist/cdn/{FJUBR4KW.js → KFQTTMZU.js} +1 -1
  45. package/dist/cdn/{76YPTUIV.js → KITWKIQT.js} +1 -1
  46. package/dist/cdn/L32OCJD2.js +2 -0
  47. package/dist/cdn/{FSNIJZ4N.js → LGBK4T3V.js} +1 -1
  48. package/dist/cdn/{S2T2KPSE.js → LN2MYFKL.js} +1 -1
  49. package/dist/cdn/{BHF54XO4.js → LQ3P2GFC.js} +1 -1
  50. package/dist/cdn/LRRJCSJK.js +2 -0
  51. package/dist/cdn/{NKSFFZ43.js → M4QXPKAQ.js} +1 -1
  52. package/dist/cdn/MMPVU2IV.js +2 -0
  53. package/dist/cdn/{3IBNI7DB.js → MTYGJ44X.js} +1 -1
  54. package/dist/cdn/{JLFJWDPQ.js → MZD5VJSC.js} +1 -1
  55. package/dist/cdn/{3V3NUR6Q.js → N2ZRK46C.js} +1 -1
  56. package/dist/cdn/{64NE6NLA.js → N6YCO6NE.js} +1 -1
  57. package/dist/cdn/{VL4N7T3G.js → O4MXHOEX.js} +1 -1
  58. package/dist/cdn/{L4E7PSXN.js → OBSMBH62.js} +1 -1
  59. package/dist/cdn/{2JUKPBNE.js → OZ7IZCS5.js} +1 -1
  60. package/dist/cdn/{LKI3UTOI.js → PCHLTJ76.js} +1 -1
  61. package/dist/cdn/{STQIUWAA.js → PCYK43OC.js} +1 -1
  62. package/dist/cdn/{IU5GCIOV.js → R4MVTPEY.js} +1 -1
  63. package/dist/cdn/{W3E73SQV.js → R7UV3FXZ.js} +1 -1
  64. package/dist/cdn/{ZD2OFLRT.js → RDF2VETY.js} +1 -1
  65. package/dist/cdn/RZEX2MXS.js +2 -0
  66. package/dist/cdn/{OZLXNKH5.js → S4NHHCVM.js} +1 -1
  67. package/dist/cdn/{BF3HDW6F.js → SIICUGBH.js} +1 -1
  68. package/dist/cdn/{AND6TXZC.js → SLC3TO6I.js} +1 -1
  69. package/dist/cdn/{U3YXEG4D.js → SPJB74EZ.js} +1 -1
  70. package/dist/cdn/{VK546WZD.js → SQ2LPEU6.js} +1 -1
  71. package/dist/cdn/{ZPBTQ3VC.js → TADL5VDR.js} +1 -1
  72. package/dist/cdn/U57WLEFE.js +2 -0
  73. package/dist/cdn/{LR3V4CJY.js → U7RUXGWS.js} +1 -1
  74. package/dist/cdn/{SD2G2LCW.js → UZXMOHSJ.js} +1 -1
  75. package/dist/cdn/{5RX4R45J.js → VKTCJE62.js} +1 -1
  76. package/dist/cdn/{6LS2WSZ5.js → W4GPDO26.js} +1 -1
  77. package/dist/cdn/{JF4TYCG5.js → W62POWRZ.js} +1 -1
  78. package/dist/cdn/{T2ZLECUS.js → WDVEXO33.js} +1 -1
  79. package/dist/cdn/{IUWWS4XW.js → WL34DGXY.js} +1 -1
  80. package/dist/cdn/{RJN6DNHI.js → WVNSR4SR.js} +1 -1
  81. package/dist/cdn/{LY46M2NC.js → XKYZJAX2.js} +1 -1
  82. package/dist/cdn/{HYEINZ2W.js → YAIXJAXB.js} +1 -1
  83. package/dist/cdn/{RUB23UKZ.js → YPJL3ONL.js} +1 -1
  84. package/dist/cdn/{LIWSW6ON.js → YXTRZZW6.js} +1 -1
  85. package/dist/cdn/YYIKPG5C.js +2 -0
  86. package/dist/cdn/{DFBK7RTI.js → Z3THOKP3.js} +1 -1
  87. package/dist/cdn/{BPBBMXA3.js → ZDOG5ZE7.js} +1 -1
  88. package/dist/cdn/{MY4FFGT5.js → ZTZHFZ2Q.js} +1 -1
  89. package/dist/cdn/{4XV6HEXY.js → ZUGZLTC4.js} +1 -1
  90. package/dist/cdn/{36Z3PUIB.js → ZX2U6NZL.js} +1 -1
  91. package/dist/cdn/index.js +1 -1
  92. package/dist/chunks/bar-chart-series.js +5 -3
  93. package/dist/chunks/index.js +16 -16
  94. package/dist/chunks/index6.js +18 -0
  95. package/dist/components/arcgis-chart/customElement.js +2011 -2044
  96. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +21 -23
  97. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -16
  98. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +16 -18
  99. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  100. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +24 -26
  101. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +21 -23
  102. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +23 -25
  103. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +8 -10
  104. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +11 -14
  105. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +19 -21
  106. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +11 -14
  107. package/dist/components/arcgis-charts-info-modal/customElement.js +29 -14
  108. package/dist/docs/api.json +1 -1
  109. package/dist/docs/docs.json +1 -1
  110. package/dist/docs/web-types.json +1 -1
  111. package/dist/json-schema/index.d.ts +2 -2
  112. package/dist/loader.js +3 -3
  113. package/dist/model/bar-chart-model/bar-chart-model.d.ts +2 -2
  114. package/dist/spec/rest-js-types.d.ts +15 -0
  115. package/dist/spec/web-chart.d.ts +4 -4
  116. package/dist/utils/chart-config/utils/index.d.ts +3 -0
  117. package/dist/utils/layer/query-parser/index.d.ts +4 -1
  118. package/dist/utils/localization/interfaces.d.ts +1 -0
  119. package/dist/utils/misc/index.d.ts +13 -7
  120. package/dist/utils/type-guards/index.d.ts +15 -8
  121. package/package.json +3 -3
  122. package/dist/cdn/6PIJSBNU.js +0 -2
  123. package/dist/cdn/7OXO43LP.js +0 -58
  124. package/dist/cdn/FRATWU4Z.js +0 -2
  125. package/dist/cdn/IBQT5TXA.js +0 -2
  126. package/dist/cdn/J3OY6YTK.js +0 -2
  127. package/dist/cdn/JQVTSKVB.js +0 -2
  128. package/dist/cdn/JWTZ3Q2T.js +0 -2
  129. package/dist/cdn/NLXKYZUI.js +0 -2
  130. package/dist/cdn/OX7HOZ72.js +0 -2
  131. package/dist/cdn/PJPMROB7.js +0 -2
  132. package/dist/cdn/RWYS4UGQ.js +0 -2
  133. package/dist/cdn/RX4COZVH.js +0 -2
  134. package/dist/cdn/Z6343LZG.js +0 -2
  135. package/dist/cdn/ZYEUKPGT.js +0 -2
@@ -1123,7 +1123,7 @@ function $t() {
1123
1123
  /**
1124
1124
  * Specifies the maximum number of operands (e.g. field < value) in a where clause.
1125
1125
  */
1126
- maxOperandsPerWhereClause: 200
1126
+ maxOperandsPerWhereClause: 50
1127
1127
  };
1128
1128
  }
1129
1129
  function Uc(t, e) {
@@ -10370,7 +10370,7 @@ const gt = {
10370
10370
  items: {
10371
10371
  type: "string"
10372
10372
  },
10373
- description: "An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",
10373
+ description: "An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",
10374
10374
  maxItems: 1
10375
10375
  },
10376
10376
  outStatistics: {
@@ -10378,14 +10378,14 @@ const gt = {
10378
10378
  items: {
10379
10379
  $ref: "#/definitions/IStatisticDefinition"
10380
10380
  },
10381
- description: "Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."
10381
+ description: "Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/StatisticDefinition/) for more info."
10382
10382
  },
10383
10383
  orderByFields: {
10384
10384
  type: "array",
10385
10385
  items: {
10386
10386
  type: "string"
10387
10387
  },
10388
- description: "Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."
10388
+ description: "Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."
10389
10389
  },
10390
10390
  gdbVersion: {
10391
10391
  type: "string",
@@ -10476,7 +10476,7 @@ const gt = {
10476
10476
  description: "An array of objectIds or uniqueIds of the features to be filtered."
10477
10477
  }
10478
10478
  },
10479
- description: "Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",
10479
+ description: "Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/) class.",
10480
10480
  title: "WebChartQuery"
10481
10481
  },
10482
10482
  IEnvelope: {
@@ -10923,7 +10923,7 @@ const gt = {
10923
10923
  items: {
10924
10924
  type: "string"
10925
10925
  },
10926
- description: "An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",
10926
+ description: "An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",
10927
10927
  maxItems: 1
10928
10928
  },
10929
10929
  outStatistics: {
@@ -10931,7 +10931,7 @@ const gt = {
10931
10931
  items: {
10932
10932
  $ref: "#/definitions/IStatisticDefinition"
10933
10933
  },
10934
- description: "Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."
10934
+ description: "Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/StatisticDefinition/) for more info."
10935
10935
  },
10936
10936
  returnDistinctValues: {
10937
10937
  type: "boolean",
@@ -12915,7 +12915,7 @@ Currently this property is only used for bar and line series.`,
12915
12915
  items: {
12916
12916
  type: "string"
12917
12917
  },
12918
- description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
12918
+ description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
12919
12919
  }
12920
12920
  },
12921
12921
  description: "Chart order options (data and series)"
@@ -14341,7 +14341,7 @@ Currently this property is only used for bar and line series.`,
14341
14341
  items: {
14342
14342
  type: "string"
14343
14343
  },
14344
- description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
14344
+ description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
14345
14345
  }
14346
14346
  },
14347
14347
  description: "Chart order options (data and series)"
@@ -14534,7 +14534,7 @@ Currently this property is only used for bar and line series.`,
14534
14534
  items: {
14535
14535
  type: "string"
14536
14536
  },
14537
- description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
14537
+ description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
14538
14538
  }
14539
14539
  },
14540
14540
  description: "Chart order options (data and series)"
@@ -14701,7 +14701,7 @@ Currently this property is only used for bar and line series.`,
14701
14701
  items: {
14702
14702
  type: "string"
14703
14703
  },
14704
- description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
14704
+ description: "The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/references/core/tasks/support/Query/#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending"
14705
14705
  }
14706
14706
  },
14707
14707
  description: "Chart order options (data and series)"
@@ -14882,11 +14882,11 @@ If not provided, the data will be displayed as it was retrieved from the server.
14882
14882
  description: "Gives a JSON representation of the Heat Chart object.",
14883
14883
  title: "WebHeatChart"
14884
14884
  },
14885
- 'Omit<(structure-1066060463-56690-58343-1066060463-56618-58344-1066060463-52638-58346-1066060463-0-61364|undefined)1405062998,("data"|"orderByFields")>': {
14886
- $ref: "#/definitions/Pick%3C(structure-1066060463-56690-58343-1066060463-56618-58344-1066060463-52638-58346-1066060463-0-61364%7Cundefined)1405062998%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
14887
- title: 'Omit<(structure-1066060463-56690-58343-1066060463-56618-58344-1066060463-52638-58346-1066060463-0-61364|undefined)1405062998,("data"|"orderByFields")>'
14885
+ 'Omit<(structure-1066060463-56662-58308-1066060463-56590-58309-1066060463-52610-58311-1066060463-0-61329|undefined)1405062998,("data"|"orderByFields")>': {
14886
+ $ref: "#/definitions/Pick%3C(structure-1066060463-56662-58308-1066060463-56590-58309-1066060463-52610-58311-1066060463-0-61329%7Cundefined)1405062998%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
14887
+ title: 'Omit<(structure-1066060463-56662-58308-1066060463-56590-58309-1066060463-52610-58311-1066060463-0-61329|undefined)1405062998,("data"|"orderByFields")>'
14888
14888
  },
14889
- 'Pick<(structure-1066060463-56690-58343-1066060463-56618-58344-1066060463-52638-58346-1066060463-0-61364|undefined)1405062998,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
14889
+ 'Pick<(structure-1066060463-56662-58308-1066060463-56590-58309-1066060463-52610-58311-1066060463-0-61329|undefined)1405062998,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
14890
14890
  type: "object",
14891
14891
  properties: {
14892
14892
  series: {
@@ -14895,7 +14895,7 @@ If not provided, the data will be displayed as it was retrieved from the server.
14895
14895
  }
14896
14896
  },
14897
14897
  additionalProperties: !1,
14898
- title: 'Pick<(structure-1066060463-56690-58343-1066060463-56618-58344-1066060463-52638-58346-1066060463-0-61364|undefined)1405062998,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
14898
+ title: 'Pick<(structure-1066060463-56662-58308-1066060463-56590-58309-1066060463-52610-58311-1066060463-0-61329|undefined)1405062998,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
14899
14899
  },
14900
14900
  WebChartHeatChartViewTypes: {
14901
14901
  type: "string",
@@ -0,0 +1,18 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import { color as u } from "@amcharts/amcharts5";
3
+ function e(n) {
4
+ return n != null && !n.isDisposed();
5
+ }
6
+ function h(n) {
7
+ const r = u(n), { r: t, g: s, b: o } = r;
8
+ return { r: t, g: s, b: o };
9
+ }
10
+ function b(n) {
11
+ const { r, g: t, b: s, a: o = 1 } = n, c = Math.round((1 - o) * 255 + o * r), i = Math.round((1 - o) * 255 + o * t), d = Math.round((1 - o) * 255 + o * s);
12
+ return 0.299 * c + 0.587 * i + 0.114 * d > 128;
13
+ }
14
+ export {
15
+ e as a,
16
+ h,
17
+ b as i
18
+ };