@arcgis/charts-components 5.2.0-next.111 → 5.2.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 (133) hide show
  1. package/dist/cdn/{ZYHMZQ7E.js → 2HOC2K2G.js} +1 -1
  2. package/dist/cdn/{GQLSM5Q7.js → 2KONYHWP.js} +1 -1
  3. package/dist/cdn/{5O2Y7SWC.js → 2PTVL4CD.js} +1 -1
  4. package/dist/cdn/{2YDNWOWT.js → 3LEJV2CC.js} +1 -1
  5. package/dist/cdn/{UVLCXTG4.js → 3YLAS5LP.js} +1 -1
  6. package/dist/cdn/{IBUI4UOV.js → 4DHM47TE.js} +1 -1
  7. package/dist/cdn/{YJURFFSP.js → 4PLBZKSO.js} +1 -1
  8. package/dist/cdn/{7CP5MYX6.js → 4RGJW7QM.js} +1 -1
  9. package/dist/cdn/{EEKAD6DT.js → 4VIKN2DI.js} +1 -1
  10. package/dist/cdn/{3ECXJYBU.js → 5MCUSUHK.js} +1 -1
  11. package/dist/cdn/{FBS4RBSA.js → 5S5FI5VM.js} +1 -1
  12. package/dist/cdn/{VZ7OCBNK.js → 5VPT6YPC.js} +1 -1
  13. package/dist/cdn/{XIBI3WA6.js → 6A2PSHTX.js} +1 -1
  14. package/dist/cdn/{HW7O5QZ4.js → 6E7XC7SF.js} +1 -1
  15. package/dist/cdn/{XZVJMTU2.js → 6WI56V3O.js} +1 -1
  16. package/dist/cdn/{VQU2TVX7.js → AYA7WEUX.js} +2 -2
  17. package/dist/cdn/{FZHZIZUN.js → B2ORCBF2.js} +1 -1
  18. package/dist/cdn/{CLL7X6DF.js → C3BQVSNQ.js} +1 -1
  19. package/dist/cdn/{CREJLRJS.js → CZBQKSWG.js} +1 -1
  20. package/dist/cdn/{MRSEZPVC.js → DLN3QGAY.js} +1 -1
  21. package/dist/cdn/{PDDYOVQM.js → DORZB3CO.js} +1 -1
  22. package/dist/cdn/{4NIKYLE5.js → DUPBITZX.js} +1 -1
  23. package/dist/cdn/{VSN5E7Y4.js → DXK2F7IC.js} +1 -1
  24. package/dist/cdn/{IHOTDAKI.js → E6MCRDEU.js} +1 -1
  25. package/dist/cdn/{3NXCG3O2.js → ELSCO7RQ.js} +1 -1
  26. package/dist/cdn/{J5JKYZZW.js → EOD7FLMU.js} +1 -1
  27. package/dist/cdn/{5HJSLXLN.js → ERNVZRGN.js} +1 -1
  28. package/dist/cdn/{ZHFQTE2B.js → ETDV5MZZ.js} +1 -1
  29. package/dist/cdn/{5SXFY4KT.js → EWWMTC3C.js} +1 -1
  30. package/dist/cdn/{3CIO2C6J.js → EY4ALBSW.js} +1 -1
  31. package/dist/cdn/{JJJRAQMT.js → FLDXN76G.js} +1 -1
  32. package/dist/cdn/{OIBX62RU.js → GCZP2NNE.js} +1 -1
  33. package/dist/cdn/{56242OEE.js → GTGCFMOM.js} +1 -1
  34. package/dist/cdn/{NITHPHM6.js → HTUZP5ET.js} +1 -1
  35. package/dist/cdn/{RZJQJ43Y.js → HZIDKKII.js} +1 -1
  36. package/dist/cdn/IBSZEYTA.js +2 -0
  37. package/dist/cdn/{G22GCRXH.js → ICA2YKMH.js} +1 -1
  38. package/dist/cdn/{JV4CEAY2.js → IJ42AM6S.js} +1 -1
  39. package/dist/cdn/{EHUV23QJ.js → IPM7HASK.js} +1 -1
  40. package/dist/cdn/{YFU2NPYA.js → K6ZOSX22.js} +1 -1
  41. package/dist/cdn/{OIQ76HQC.js → KMRW2FOQ.js} +1 -1
  42. package/dist/cdn/{N2Y3TMUH.js → KW5FFPKZ.js} +1 -1
  43. package/dist/cdn/{3S6ZGK3H.js → MAHQA5GL.js} +1 -1
  44. package/dist/cdn/{3A6N7WAM.js → MGXNXWVO.js} +1 -1
  45. package/dist/cdn/{FCWOV4NW.js → N7MGJM2Y.js} +1 -1
  46. package/dist/cdn/{DAQT4YNQ.js → NE6XMJNA.js} +1 -1
  47. package/dist/cdn/{EY3OIDVL.js → NHJGPR7T.js} +1 -1
  48. package/dist/cdn/{EWNXVZMV.js → NN7VM75G.js} +1 -1
  49. package/dist/cdn/{M624HH3K.js → NP4ZKUVK.js} +1 -1
  50. package/dist/cdn/{VQHPI3CU.js → NQA5LVMY.js} +1 -1
  51. package/dist/cdn/{H7K6D57Z.js → OGXDBGRX.js} +1 -1
  52. package/dist/cdn/OMX3FEUO.js +2 -0
  53. package/dist/cdn/{ADKPM4DW.js → OQ7PZJV6.js} +1 -1
  54. package/dist/cdn/{NT7D3WEH.js → P7JFMF66.js} +1 -1
  55. package/dist/cdn/{AEC7S556.js → PDAI3TM2.js} +1 -1
  56. package/dist/cdn/{MQYMM7JO.js → PHT3QKS6.js} +1 -1
  57. package/dist/cdn/Q4JNBW33.js +3 -0
  58. package/dist/cdn/{724I3SBO.js → QK2VTRRB.js} +1 -1
  59. package/dist/cdn/{WJQHEITU.js → QLKFXAHY.js} +1 -1
  60. package/dist/cdn/{FY7T4YLN.js → QYBVMICG.js} +1 -1
  61. package/dist/cdn/{GU4EQDNJ.js → RXREAXJS.js} +1 -1
  62. package/dist/cdn/{I4RZDDUM.js → SRBLDVCV.js} +1 -1
  63. package/dist/cdn/{WDDGKBBJ.js → T7JGMOPN.js} +1 -1
  64. package/dist/cdn/{EWPEPYH7.js → TD4DW6P7.js} +1 -1
  65. package/dist/cdn/{TK4E37D6.js → TE5UBTRT.js} +1 -1
  66. package/dist/cdn/{MSU36MJR.js → TN6P4DOU.js} +1 -1
  67. package/dist/cdn/{U7NEGO4Z.js → TUJPREQD.js} +1 -1
  68. package/dist/cdn/{L76QTUHW.js → TZ4QIVTR.js} +1 -1
  69. package/dist/cdn/{KYVBQUIS.js → U47QIWXK.js} +1 -1
  70. package/dist/cdn/{73R5I52R.js → U7RB6WCB.js} +1 -1
  71. package/dist/cdn/{YHON6N45.js → UC2TRV7Y.js} +1 -1
  72. package/dist/cdn/{QKUFLZC3.js → UGLK7BBG.js} +1 -1
  73. package/dist/cdn/{OKKEWHMB.js → UO5TMG7I.js} +1 -1
  74. package/dist/cdn/{M7NERHZY.js → UQ3NNWEM.js} +1 -1
  75. package/dist/cdn/{5QBKM6NC.js → UZOMM2XD.js} +1 -1
  76. package/dist/cdn/{LMXFW6NW.js → VH5EZWUP.js} +1 -1
  77. package/dist/cdn/{7UUCZOKN.js → WAN2K6TS.js} +1 -1
  78. package/dist/cdn/{UNRHPYXW.js → WCSLV2JM.js} +11 -11
  79. package/dist/cdn/{EMOJZ4XR.js → WELTTZAK.js} +1 -1
  80. package/dist/cdn/{AHOCGFB7.js → WH4W6K35.js} +1 -1
  81. package/dist/cdn/WTB2CFTX.js +2 -0
  82. package/dist/cdn/{FTVVGZ4Z.js → X26W3CYZ.js} +1 -1
  83. package/dist/cdn/{VQRSXCKD.js → XPFEIWMS.js} +1 -1
  84. package/dist/cdn/{T7Z4DZ7V.js → XY5U4M2J.js} +1 -1
  85. package/dist/cdn/{JTP6IREK.js → YEMNXS4U.js} +1 -1
  86. package/dist/cdn/{VYD2S5WA.js → YJJOHKGU.js} +1 -1
  87. package/dist/cdn/{QXLY4SFY.js → Z6FRC562.js} +1 -1
  88. package/dist/cdn/{62GSQDTE.js → ZTVR6KBG.js} +1 -1
  89. package/dist/cdn/index.js +1 -1
  90. package/dist/cdn/model/shared/setup-utils.js +1 -1
  91. package/dist/chart-rendering/common/interfaces.d.ts +2 -3
  92. package/dist/chunks/action-bar-utils.js +50 -50
  93. package/dist/chunks/box-plot-data.js +3 -3
  94. package/dist/chunks/box-plot-model.js +1 -1
  95. package/dist/chunks/data.js +8 -8
  96. package/dist/chunks/index.js +10 -7
  97. package/dist/chunks/index2.js +1 -1
  98. package/dist/chunks/index3.js +14 -14
  99. package/dist/chunks/index4.js +1 -1
  100. package/dist/chunks/utils.js +5 -5
  101. package/dist/components/arcgis-chart/customElement.d.ts +3 -4
  102. package/dist/components/arcgis-chart/customElement.js +118 -114
  103. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +198 -13
  104. package/dist/components/arcgis-charts-action-bar/customElement.js +70 -58
  105. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  106. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  108. package/dist/components/arcgis-charts-config-view-charts/customElement.js +28 -27
  109. package/dist/docs/api.json +1 -1
  110. package/dist/docs/docs.json +1 -1
  111. package/dist/docs/vscode.html-custom-data.json +1 -1
  112. package/dist/docs/web-types.json +1 -1
  113. package/dist/index.d.ts +1 -1
  114. package/dist/index.js +9 -9
  115. package/dist/interfaces.d.ts +16 -1
  116. package/dist/loader.js +3 -3
  117. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  118. package/dist/model/interfaces/common.d.ts +2 -2
  119. package/dist/model/shared/setup-utils.d.ts +3 -3
  120. package/dist/types/lumina.d.ts +1 -1
  121. package/dist/types/preact.d.ts +1 -1
  122. package/dist/types/react.d.ts +1 -1
  123. package/dist/types/stencil.d.ts +1 -1
  124. package/dist/utils/chart-config/converter/index.d.ts +2 -3
  125. package/dist/utils/defaults/index.d.ts +2 -2
  126. package/dist/utils/layer/index.d.ts +1 -2
  127. package/dist/utils/layer/interfaces.d.ts +2 -3
  128. package/dist/utils/layer/utils/index.d.ts +5 -5
  129. package/package.json +5 -5
  130. package/dist/cdn/2PWEWSG6.js +0 -2
  131. package/dist/cdn/E2YQ7BBF.js +0 -2
  132. package/dist/cdn/MIA4DLUH.js +0 -3
  133. package/dist/cdn/YK5VKE7I.js +0 -2
@@ -1,4 +1,4 @@
1
- import type { ChartLayerInput } from "../../interfaces.js";
1
+ import type { ChartLayerInputSansView } from "../../interfaces.js";
2
2
  import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
3
3
  import type { CommonStrings } from "../../utils/localization/interfaces.js";
4
4
  import type { ChartConfig } from "../../utils/types/index.js";
@@ -33,7 +33,7 @@ export type CreateModelProps<T extends ModelTypes> = (ILayerAndSourcelessConfig<
33
33
  * A new model of the specified type will be created using default values.
34
34
  */
35
35
  export type LayerAndType<T extends ModelTypes> = {
36
- layer: ChartLayerInput;
36
+ layer: ChartLayerInputSansView;
37
37
  chartType: T;
38
38
  };
39
39
 
@@ -53,7 +53,7 @@ export type ILayerAndType<T extends ModelTypes> = {
53
53
  * The `config` is considered "sourceless" since its `iLayer` property is not required.
54
54
  */
55
55
  export type LayerAndSourcelessConfig<T extends ModelTypes> = {
56
- layer: ChartLayerInput;
56
+ layer: ChartLayerInputSansView;
57
57
  config: ChartConfig<T>;
58
58
  };
59
59
 
@@ -22,7 +22,7 @@ interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "al
22
22
  onarcgisUpdateComplete?: EventHandler<ArcgisChart["arcgisUpdateComplete"]>;
23
23
  }
24
24
 
25
- interface LuminaArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionState" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "forceDisableActions" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomState" | "zoomTitle" | "zoomToggle">>, h.JSX.HTMLAttributes<ArcgisChartsActionBar> {
25
+ interface LuminaArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionActive" | "clearSelectionDisabled" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartActive" | "editChartEnabled" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionDisabled" | "exportActionState" | "exportAsCSVDisabled" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageDisabled" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentDisabled" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionActive" | "filterBySelectionDisabled" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "filterByViewExtentActive" | "forceDisableActions" | "fullExtentActive" | "fullExtentDisabled" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendActive" | "legendDisabled" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartActive" | "rotateChartDisabled" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionActive" | "selectionDisabled" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionActive" | "switchSelectionDisabled" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomActive" | "zoomDisabled" | "zoomState" | "zoomTitle" | "zoomToggle">>, h.JSX.HTMLAttributes<ArcgisChartsActionBar> {
26
26
  onarcgisActionBarToggle?: EventHandler<ArcgisChartsActionBar["arcgisActionBarToggle"]>;
27
27
  onarcgisDefaultActionSelect?: EventHandler<ArcgisChartsActionBar["arcgisDefaultActionSelect"]>;
28
28
  }
@@ -23,7 +23,7 @@ interface PreactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "al
23
23
  onarcgisUpdateComplete?: EventHandler<ArcgisChart["arcgisUpdateComplete"]>;
24
24
  }
25
25
 
26
- interface PreactArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionState" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "forceDisableActions" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomState" | "zoomTitle" | "zoomToggle">>, HTMLAttributes<ArcgisChartsActionBar> {
26
+ interface PreactArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionActive" | "clearSelectionDisabled" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartActive" | "editChartEnabled" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionDisabled" | "exportActionState" | "exportAsCSVDisabled" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageDisabled" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentDisabled" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionActive" | "filterBySelectionDisabled" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "filterByViewExtentActive" | "forceDisableActions" | "fullExtentActive" | "fullExtentDisabled" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendActive" | "legendDisabled" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartActive" | "rotateChartDisabled" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionActive" | "selectionDisabled" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionActive" | "switchSelectionDisabled" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomActive" | "zoomDisabled" | "zoomState" | "zoomTitle" | "zoomToggle">>, HTMLAttributes<ArcgisChartsActionBar> {
27
27
  onarcgisActionBarToggle?: EventHandler<ArcgisChartsActionBar["arcgisActionBarToggle"]>;
28
28
  onarcgisDefaultActionSelect?: EventHandler<ArcgisChartsActionBar["arcgisDefaultActionSelect"]>;
29
29
  }
@@ -23,7 +23,7 @@ interface ReactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "all
23
23
  onarcgisUpdateComplete?: EventHandler<ArcgisChart["arcgisUpdateComplete"]>;
24
24
  }
25
25
 
26
- interface ReactArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionState" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "forceDisableActions" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomState" | "zoomTitle" | "zoomToggle">>, HTMLProps<ArcgisChartsActionBar> {
26
+ interface ReactArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionActive" | "clearSelectionDisabled" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartActive" | "editChartEnabled" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionDisabled" | "exportActionState" | "exportAsCSVDisabled" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageDisabled" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentDisabled" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionActive" | "filterBySelectionDisabled" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "filterByViewExtentActive" | "forceDisableActions" | "fullExtentActive" | "fullExtentDisabled" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendActive" | "legendDisabled" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartActive" | "rotateChartDisabled" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionActive" | "selectionDisabled" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionActive" | "switchSelectionDisabled" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomActive" | "zoomDisabled" | "zoomState" | "zoomTitle" | "zoomToggle">>, HTMLProps<ArcgisChartsActionBar> {
27
27
  onarcgisActionBarToggle?: EventHandler<ArcgisChartsActionBar["arcgisActionBarToggle"]>;
28
28
  onarcgisDefaultActionSelect?: EventHandler<ArcgisChartsActionBar["arcgisDefaultActionSelect"]>;
29
29
  }
@@ -23,7 +23,7 @@ interface StencilArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "a
23
23
  onArcgisUpdateComplete?: EventHandler<ArcgisChart["arcgisUpdateComplete"]>;
24
24
  }
25
25
 
26
- interface StencilArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionState" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "forceDisableActions" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomState" | "zoomTitle" | "zoomToggle">>, StencilJsx.HTMLAttributes<ArcgisChartsActionBar> {
26
+ interface StencilArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar, "actionBarSelectionMode" | "chartElement" | "chartType" | "clearSelectionActive" | "clearSelectionDisabled" | "clearSelectionState" | "clearSelectionTitle" | "clearSelectionToggle" | "csvExportExclusionList" | "disableCSVExportForChartTypes" | "editChartActive" | "editChartEnabled" | "editChartState" | "editChartTitle" | "editChartToggle" | "expanded" | "exportActionDisabled" | "exportActionState" | "exportAsCSVDisabled" | "exportAsCSVState" | "exportAsCSVTitle" | "exportAsImageDisabled" | "exportAsImageState" | "exportAsImageTitle" | "filterByExtentDisabled" | "filterByExtentState" | "filterByExtentTitle" | "filterByExtentToggle" | "filterBySelectionActive" | "filterBySelectionDisabled" | "filterBySelectionState" | "filterBySelectionTitle" | "filterBySelectionToggle" | "filterByViewExtentActive" | "forceDisableActions" | "fullExtentActive" | "fullExtentDisabled" | "fullExtentState" | "fullExtentTitle" | "fullExtentToggle" | "hiddenActions" | "legendActive" | "legendDisabled" | "legendState" | "legendTitle" | "legendToggle" | "messageOverrides" | "rotateChartActive" | "rotateChartDisabled" | "rotateChartState" | "rotateChartTitle" | "rotateChartToggle" | "selectionActive" | "selectionDisabled" | "selectionState" | "selectionTitle" | "selectionToggle" | "switchSelectionActive" | "switchSelectionDisabled" | "switchSelectionState" | "switchSelectionTitle" | "switchSelectionToggle" | "zoomActive" | "zoomDisabled" | "zoomState" | "zoomTitle" | "zoomToggle">>, StencilJsx.HTMLAttributes<ArcgisChartsActionBar> {
27
27
  onArcgisActionBarToggle?: EventHandler<ArcgisChartsActionBar["arcgisActionBarToggle"]>;
28
28
  onArcgisDefaultActionSelect?: EventHandler<ArcgisChartsActionBar["arcgisDefaultActionSelect"]>;
29
29
  }
@@ -1,5 +1,4 @@
1
- import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
2
- import type { SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
1
+ import type { ChartLayerInput } from "../../../interfaces.js";
3
2
  import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
4
3
 
5
4
  /**
@@ -15,4 +14,4 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
15
14
  * @param abortSignal
16
15
  * @returns The updated web chart config.
17
16
  */
18
- export function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer | SupportedRasterLayer, chartContainer?: HTMLElement, abortSignal?: AbortSignal): Promise<T>;
17
+ export function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: ChartLayerInput, chartContainer?: HTMLElement, abortSignal?: AbortSignal): Promise<T>;
@@ -534,10 +534,10 @@ export function getDefaultNoR2Label(commonStrings: CommonStrings): string;
534
534
  export const pieChartInnerRadius: 0;
535
535
 
536
536
  /** @internal */
537
- export const boxPlotOutliersSuffix: "_arcgis_charts_outliers";
537
+ export const boxPlotOutliersSuffix: "_with_outliers";
538
538
 
539
539
  /** @internal */
540
- export const boxPlotZScoreSuffix: "_arcgis_charts_z_score";
540
+ export const boxPlotZScoreSuffix: "_with_z_score";
541
541
 
542
542
  /** @internal */
543
543
  export const defaultColorForBoxPlotWithMeanLines: Color;
@@ -5,7 +5,6 @@ import type Layer from "@arcgis/core/layers/Layer.js";
5
5
  import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
6
6
  import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
7
7
  import type Renderer from "@arcgis/core/renderers/Renderer.js";
8
- import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
9
8
  import type MapView from "@arcgis/core/views/MapView.js";
10
9
  import type SceneView from "@arcgis/core/views/SceneView.js";
11
10
  import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
@@ -342,7 +341,7 @@ export function extractFieldsFromConfigList(layer: SupportedLayer): Promise<stri
342
341
  export function findMatchingLayerFromView(props: {
343
342
  view?: MapView | SceneView;
344
343
  portalItemId: string;
345
- }): FeatureLayerView | SupportedLayer | undefined;
344
+ }): SupportedLayer | undefined;
346
345
 
347
346
  /**
348
347
  * Loads the layer. Generates raster info if it's an ImageryLayer or an ImageryTileLayer.
@@ -1,5 +1,4 @@
1
- import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
2
- import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
1
+ import type { ChartLayerView, SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
3
2
  import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
4
3
 
5
4
  /** @internal */
@@ -21,6 +20,6 @@ export interface ServerRestInfo {
21
20
  };
22
21
  }
23
22
 
24
- export type QueryObject = FeatureLayerView | SupportedLayer;
23
+ export type QueryObject = ChartLayerView | SupportedLayer;
25
24
 
26
25
  export type QueryObjectOrRaster = QueryObject | SupportedRasterLayer;
@@ -6,7 +6,7 @@ import type LayerView from "@arcgis/core/views/layers/LayerView.js";
6
6
  import type Layer from "@arcgis/core/layers/Layer.js";
7
7
  import type { SelectableLayerWithObjectIds } from "@arcgis/core/views/selection/types.js";
8
8
  import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
9
- import type { ChartLayer, ChartLayerInput, SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
9
+ import type { ChartLayer, ChartLayerInput, ChartLayerView, SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
10
10
  import type { WebChart } from "../../../spec/web-chart.js";
11
11
  import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
12
12
 
@@ -24,7 +24,7 @@ export function isFeatureCollectionLayer(queryObject: QueryObjectOrRaster | unde
24
24
  * @param queryObject
25
25
  * @internal
26
26
  */
27
- export function isFeatureLayerView(queryObject: LayerView | QueryObjectOrRaster | SubtypeGroupLayer | undefined): queryObject is FeatureLayerView;
27
+ export function isChartLayerView(queryObject: LayerView | QueryObjectOrRaster | SubtypeGroupLayer | undefined): queryObject is ChartLayerView;
28
28
 
29
29
  /**
30
30
  * Indicates whether the input object is an instance of `FeatureLayer`.
@@ -178,19 +178,19 @@ export function doesLayerSupportsQueryBinsForScatterplot(queryObject: QueryObjec
178
178
  * @param layerOrLayerView
179
179
  * @internal
180
180
  */
181
- export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer): SupportedLayer;
181
+ export function getLayerFromLayerOrLayerView(layerOrLayerView: ChartLayerView | SupportedLayer): SupportedLayer;
182
182
 
183
183
  /**
184
184
  * @param layerOrLayerView
185
185
  * @internal
186
186
  */
187
- export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
187
+ export function getLayerFromLayerOrLayerView(layerOrLayerView: ChartLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
188
188
 
189
189
  /**
190
190
  * @param layerOrLayerView
191
191
  * @internal
192
192
  */
193
- export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
193
+ export function getLayerFromLayerOrLayerView(layerOrLayerView: ChartLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
194
194
 
195
195
  /**
196
196
  * Returns a feature layer from a QueryObject instance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.2.0-next.111",
3
+ "version": "5.2.0-next.113",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@amcharts/amcharts4": "^4.10.31",
32
32
  "@amcharts/amcharts5": "~5.20.5",
33
- "@arcgis/lumina": "5.2.0-next.111",
34
- "@arcgis/toolkit": "5.2.0-next.111",
33
+ "@arcgis/lumina": "5.2.0-next.113",
34
+ "@arcgis/toolkit": "5.2.0-next.113",
35
35
  "@esri/arcgis-html-sanitizer": "~4.1.0",
36
36
  "@lit/task": "^1.0.3",
37
37
  "@zumer/snapdom": "^2.24.1",
@@ -45,8 +45,8 @@
45
45
  "tslib": "^2.8.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@arcgis/core": "5.2.0-next.111",
49
- "@esri/calcite-components": "^5.2.0-next.65"
48
+ "@arcgis/core": "5.2.0-next.113",
49
+ "@esri/calcite-components": "^5.2.0-next.73"
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/5.2/LICENSE.txt */
2
- import f from"./U7NEGO4Z.js";import{a as b}from"./7TM4LYGN.js";import{a as R}from"./MQI4ZLAS.js";import{a as I}from"./IHO3OLL3.js";import{a as $}from"./SZYIWW3C.js";import e from"./EWPEPYH7.js";import a from"./MIA4DLUH.js";import"./VQU2TVX7.js";import"./WOGALV3T.js";import"./62GSQDTE.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./5SYHQWPP.js";import{B as g,C as c,F as u,H as v,g as C,i as r,k as d,n as o}from"./225VUGML.js";import{a as w}from"./P3AYFJRV.js";import{k as s}from"./QP5UAIC6.js";import"./QYRHZJH3.js";import"./PWJBGZPW.js";import"./BYSUABOV.js";export default $arcgis.t(([{P:f},,{a:P}])=>{var h={addChartContainer:"add-chart-container",viewChartComponent:"view-chart-component",header:"header",dropdownPopup:"dropdown-popup"},E=C`.view-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}.add-chart-container{display:flex;justify-content:center;padding:2rem 0;background-color:var(--calcite-color-background)}.header{margin-left:1rem}.dropdown-popup{position:relative}`,m=class extends g{constructor(){super(...arguments),this._messages=$(),this.chartRenamePopover=null,this.popoverClose=()=>{let e=this.modelList?.find(t=>t.chartId===this.selectedChartId);this.chartTitle=e?.titleText??"",this.selectedActionChartId="",this.removeChartRenamePopover()},this.onChartRename=e=>{if(!this.disableEditing){this.chartTitle=e.detail.name;let t=this.modelList?.find(i=>i.chartId===this.selectedActionChartId);t!==void 0&&(t.titleText=this.chartTitle),this.selectedActionChartId="",this.removeChartRenamePopover()}},this.onModelConfigChange=()=>{this.requestUpdate()},this.onCalciteListOrderChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;if(this.modelList!==void 0&&this.modelList?.length>0){let a=[...this.modelList],n=a?.[i],l=a?.[t];n&&l&&(a.splice(i,1),a.splice(t,0,n)),this.chartsOrderReorderCounter+=1,this.arcgisChartsConfigModelListReorder.emit({modelList:a})}}},this.isChartRenamePopoverOpen=!1,this.chartTitle="",this.chartsOrderReorderCounter=0,this.noGroup=!1,this.disableEditing=!1,this.arcgisChartsConfigModelListReorder=o(),this.arcgisChartsConfigViewChartAddChart=o(),this.arcgisChartsConfigViewChartDelete=o(),this.arcgisChartsConfigViewChartEdit=o(),this.arcgisChartsConfigViewChartSelect=o()}static{this.properties={isChartRenamePopoverOpen:16,chartTitle:16,selectedActionChartId:16,chartsOrderReorderCounter:16,messageOverrides:0,selectedChartId:1,layer:0,modelList:0,noGroup:5,disableEditing:5}}static{this.styles=E}willUpdate(e){e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList"))}disconnectedCallback(){super.disconnectedCallback(),this.removeChartRenamePopover()}modelListChange(e,t){t?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e?.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)})}onAddChartClick(e){e.stopImmediatePropagation(),this.selectedActionChartId=void 0,this.isChartRenamePopoverOpen&&this.removeChartRenamePopover(),this.arcgisChartsConfigViewChartAddChart.emit({referenceElement:e.target,layerId:this.layer?.id.toString(),layerType:this.layer?.type})}buildTooltipLine(e,t){let i=typeof document<"u"&&document.documentElement.dir.toLowerCase()==="rtl",a=`${f(i)} `;return`${e}${a}${t}`}getChartTypeLabel(e){switch(w(e.chartType)){case s.BarChart:return this._messages.barChart??"";case s.LineChart:return this._messages.lineChart??"";case s.PieChart:return this._messages.pieChart??"";case s.Histogram:return this._messages.histogram??"";case s.Scatterplot:return this._messages.scatterplot??"";case s.BoxPlot:return this._messages.boxPlot??"";case s.HeatChart:return this._messages.calendarHeatChart??"";default:return""}}buildChartTooltip(e){let t=this.getChartTypeLabel(e);return this.buildTooltipLine(this._messages.chartType??"",t??"")}buildChartList(){let e=this.modelList?b(this.modelList,t=>t.chartId,(t,i)=>{let a=t.chartId,n=t.titleText,l=P(t.config),p=this.buildChartTooltip(t);return r`<calcite-list-item .label=${n??a??this._messages.chartTitle} title=${p??d} .selected=${this.selectedChartId===(a?.toString()??i.toString())} .value=${a??i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${l} title=${p??d}></calcite-icon>${this.disableEditing?null:r`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end .open=${this.selectedActionChartId===a} @calciteDropdownClose=${()=>this.chartActionClosed(a??"")} @calciteDropdownOpen=${()=>this.chartActionOpened(a??"")} class=${c(h.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions??""} slot=trigger .active=${a===this.selectedActionChartId}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @click=${L=>L.stopPropagation()} @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`}):null;return this.layer?r`<div>${this.noGroup?null:r`<p class=${c(h.header)}>${this.layer.title??this.layer.id.toString()}</p>`}${R(this.chartsOrderReorderCounter,r`<calcite-list label .dragEnabled=${!this.disableEditing} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${e}${this.disableEditing?null:r`<div class=${c(h.addChartContainer)}><calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addChart} .label=${this._messages.addChart} @click=${this.onAddChartClick} scale=s></calcite-fab></div>`}</calcite-list>`)}</div>`:null}onChartSelect(e){let t=e.currentTarget,i;t?.localName==="calcite-list-item"?i=t.value:t?.localName==="calcite-icon"&&(i=t.parentNode.value),this.arcgisChartsConfigViewChartSelect.emit({chartId:i})}chartEditSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartEdit.emit({chartId:this.selectedActionChartId}),this.chartActionClosed(this.selectedActionChartId))}chartRenameSelect(e){if(!this.disableEditing){let t=e.target.closest("calcite-list-item"),i=this.modelList?.find(a=>a.chartId===this.selectedActionChartId);t!==null&&(this.renameReferenceElement=t),this.arcgisChartsConfigViewChartSelect.emit({chartId:this.selectedActionChartId}),this.chartTitle=i?.titleText??"",this.setupRenamePopover()}}chartDeleteSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartDelete.emit({chartId:this.selectedActionChartId}),this.selectedActionChartId="")}chartActionClosed(e){e===this.selectedActionChartId&&!this.isChartRenamePopoverOpen&&(this.selectedActionChartId=void 0)}chartActionOpened(e){this.selectedActionChartId=e}setupRenamePopover(){this.isChartRenamePopoverOpen=!0,this.chartRenamePopover!==null&&(this.chartRenamePopover.name=this.chartTitle,this.chartRenamePopover.referenceElement=this.renameReferenceElement),this.chartRenamePopover=u(r`<arcgis-charts-config-chart-rename-popover .name=${this.chartTitle} .referenceElement=${this.renameReferenceElement} .open=${this.isChartRenamePopoverOpen} @arcgisChartsConfigPopoverClose=${this.popoverClose} @arcgisChartsConfigChartRenamePopoverChange=${this.onChartRename}></arcgis-charts-config-chart-rename-popover>`),!document.body.contains(this.chartRenamePopover)&&this.chartRenamePopover!==null&&document.body.appendChild(this.chartRenamePopover)}removeChartRenamePopover(){this.chartRenamePopover!==null&&(this.isChartRenamePopoverOpen=!1,this.chartRenamePopover=I(this.chartRenamePopover))}render(){return r`<div class=${c(h.viewChartComponent)}>${this.buildChartList()}</div>`}};v("arcgis-charts-config-view-charts",m);return m},a,e,f)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{b as e,c as l,d as o}from"./7NWEE7T2.js";import c from"./G22GCRXH.js";import b from"./EMOJZ4XR.js";import{a as d,p as y}from"./RPUEIRTH.js";import a from"./MIA4DLUH.js";import{B,a as g,d as m,p as x}from"./VQU2TVX7.js";import{e as C}from"./WOGALV3T.js";import{a as S}from"./QYRHZJH3.js";import{a as r}from"./PWJBGZPW.js";export default $arcgis.t(([{oc:f},{d:p},{a:h}])=>{var w=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsCSV,e.ExportAsImage],V=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],L=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],T=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Selection,e.ClearSelection,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],Z=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Selection,e.ClearSelection,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],M=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],R=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],P=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],H=[e.EditChart,e.FilterByExtent,e.ExportAsImage,e.ExportAsCSV];function K(a){switch(a){case r.BarSeries:return w;case r.LineSeries:return V;case r.ComboLineAndBarSeries:return L;case r.PieSeries:return T;case r.HistogramSeries:return M;case r.ScatterSeries:return R;case r.BoxPlotSeries:return P;case r.GaugeSeries:return H;case r.HeatSeries:return Z;default:return[]}}var O=(a,i,t)=>{let n=a.target.assignedNodes().find(c=>"legendToggle"in c),s=S(t?.series);return n&&(n.chartType=s,z({actionBar:n,chartComponent:i,config:t})),n};function z(a){let{actionBar:i,chartComponent:t,config:n,isInfoModalDisplayed:s}=a,c=B(t.selectionData),A=n?.legend?n.legend.visible??!0:!1;if(i.chartType=S(n?.series),t.enableConfiguration||t.configurationEnabled){let v=i.hiddenActions??[];i.hiddenActions=v.filter(D=>D!==e.EditChart)}i.editChartState=t.enableConfiguration||t.configurationEnabled?o.Enabled:o.Disabled;let E=n&&x(n.series);i.legendState=E?o.Enabled:o.Disabled;let b=d(t?.model)&&y(t?.model)?t.model.legendVisibility:A;i.legendToggle=E&&b?l.Active:l.Inactive;let u=d(t?.model)&&h(t.model)?t.model.rotated:n?.rotated;i.rotateChartToggle=u?l.Active:l.Inactive;let F=f(n?.series??[])===m.PieFromFields,I=C(t.layer);i.filterBySelectionState=!I&&!F&&(t.filterBySelection||!c&&!t.filterByExtent)?o.Enabled:o.Disabled,i.filterBySelectionToggle=t.filterBySelection?l.Active:l.Inactive,i.filterByExtentState=t.filterByViewExtent||!t.filterBySelection?o.Enabled:o.Disabled,i.filterByExtentToggle=t.filterByViewExtent?l.Active:l.Inactive,i.zoomState=t.filterBySelection?o.Disabled:o.Enabled,i.zoomToggle=t.actionMode===g.Zoom?l.Active:l.Inactive,i.selectionState=t.filterBySelection?o.Disabled:o.Enabled,i.selectionToggle=(t.actionMode??i.actionBarSelectionMode)===i.actionBarSelectionMode?l.Active:l.Inactive,i.clearSelectionState=c?o.Disabled:o.Enabled,i.fullExtentState=t.filterBySelection?o.Disabled:o.Enabled,i.switchSelectionState=t.filterBySelection?o.Disabled:o.Enabled,i.exportActionState=s||p(n)?o.Disabled:o.Enabled}return{a:K,b:O,c:z}},a,b,c)