@gooddata/sdk-ui-ext 11.62.0-alpha.0 → 11.62.0-alpha.2

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 (48) hide show
  1. package/NOTICE +10 -11
  2. package/esm/insightView/InsightRenderer.d.ts.map +1 -1
  3. package/esm/insightView/InsightRenderer.js +6 -1
  4. package/esm/insightView/InsightView.d.ts.map +1 -1
  5. package/esm/insightView/InsightView.js +2 -2
  6. package/esm/internal/components/BaseVisualization.d.ts.map +1 -1
  7. package/esm/internal/components/BaseVisualization.js +6 -1
  8. package/esm/internal/components/configurationControls/LineShapeControl.d.ts +15 -0
  9. package/esm/internal/components/configurationControls/LineShapeControl.d.ts.map +1 -0
  10. package/esm/internal/components/configurationControls/LineShapeControl.js +33 -0
  11. package/esm/internal/components/configurationControls/advanced/snippets.d.ts.map +1 -1
  12. package/esm/internal/components/configurationControls/advanced/snippets.js +1 -25
  13. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts +1 -1
  14. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
  15. package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.d.ts.map +1 -1
  16. package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +3 -2
  17. package/esm/internal/components/configurationPanels/RadarChartConfigurationPanel.d.ts.map +1 -1
  18. package/esm/internal/components/configurationPanels/RadarChartConfigurationPanel.js +1 -1
  19. package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.d.ts.map +1 -1
  20. package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.js +1 -1
  21. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.d.ts.map +1 -1
  22. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.js +1 -1
  23. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.d.ts +3 -2
  24. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.d.ts.map +1 -1
  25. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.js +7 -2
  26. package/esm/internal/components/pluggableVisualizations/chartCodeGenUtils.d.ts.map +1 -1
  27. package/esm/internal/components/pluggableVisualizations/chartCodeGenUtils.js +3 -4
  28. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts +1 -0
  29. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
  30. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +5 -2
  31. package/esm/internal/constants/supportedProperties.d.ts.map +1 -1
  32. package/esm/internal/constants/supportedProperties.js +7 -0
  33. package/esm/internal/translations/en-US.localization-bundle.d.ts +16 -0
  34. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  35. package/esm/internal/translations/en-US.localization-bundle.js +16 -0
  36. package/esm/locales.d.ts +12 -0
  37. package/esm/locales.d.ts.map +1 -1
  38. package/esm/locales.js +4 -0
  39. package/esm/notificationsPanel/data/dateFilterNaming.d.ts.map +1 -1
  40. package/esm/notificationsPanel/data/dateFilterNaming.js +0 -8
  41. package/package.json +21 -21
  42. package/styles/css/main.css +2 -1
  43. package/styles/css/main.css.map +1 -1
  44. package/styles/internal/css/charts.css +0 -4
  45. package/styles/internal/css/charts.css.map +1 -1
  46. package/styles/internal/css/config_panel.css +25 -2
  47. package/styles/internal/css/config_panel.css.map +1 -1
  48. package/styles/internal/scss/config_panel.scss +27 -2
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-10-7
10
+ Date generated: 2026-10-9
11
11
 
12
- Revision ID: e469c84a382ddeb7cdb44635954e2578cb2e6e75
12
+ Revision ID: 3ef6d105ddec892804628036fd14253a8cc9efdf
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -219,8 +219,8 @@ No first party licenses found in gooddata-ui-sdk
219
219
  - array-union (2.1.0) [MIT]
220
220
  - astral-regex (2.0.0) [MIT]
221
221
  - asynckit (0.4.0) [MIT]
222
- - axios (1.18.1) [MIT]
223
- - axios-cache-interceptor (1.12.0) [MIT]
222
+ - axios (1.20.0) [MIT]
223
+ - axios-cache-interceptor (1.12.3) [MIT]
224
224
  - babel-plugin-macros (3.1.0) [MIT]
225
225
  - bail (2.0.2) [MIT]
226
226
  - balanced-match (2.0.0) [MIT]
@@ -19838,9 +19838,9 @@ Dependency Path: axios > form-data > asynckit > axios-cache-interceptor > axios
19838
19838
  File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
19839
19839
 
19840
19840
  --------------------------------------------------------------------------------
19841
- Package Title: axios (1.18.1)
19841
+ Package Title: axios (1.20.0)
19842
19842
 
19843
- Package Locator: npm+axios$1.18.1
19843
+ Package Locator: npm+axios$1.20.0
19844
19844
 
19845
19845
  Package Depth: Direct
19846
19846
  --------------------------------------------------------------------------------
@@ -19884,14 +19884,13 @@ MIT
19884
19884
  Authors: jasonsaayman@gmail.com
19885
19885
  Package Manager: NPM
19886
19886
  Project URL: https://axios-http.com/
19887
- Package Download URL: https://registry.npmjs.org/axios/-/axios-1.18.1.tgz
19888
19887
  Dependency Path: axios > axios-cache-interceptor > axios
19889
19888
  File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
19890
19889
 
19891
19890
  --------------------------------------------------------------------------------
19892
- Package Title: axios-cache-interceptor (1.12.0)
19891
+ Package Title: axios-cache-interceptor (1.12.3)
19893
19892
 
19894
- Package Locator: npm+axios-cache-interceptor$1.12.0
19893
+ Package Locator: npm+axios-cache-interceptor$1.12.3
19895
19894
 
19896
19895
  Package Depth: Direct
19897
19896
  --------------------------------------------------------------------------------
@@ -19959,7 +19958,7 @@ MIT
19959
19958
  Authors: arthur.fiorette@gmail.com
19960
19959
  Package Manager: NPM
19961
19960
  Project URL: https://axios-cache-interceptor.js.org/
19962
- Package Download URL: https://registry.npmjs.org/axios-cache-interceptor/-/axios-cache-interceptor-1.12.0.tgz
19961
+ Package Download URL: https://registry.npmjs.org/axios-cache-interceptor/-/axios-cache-interceptor-1.12.3.tgz
19963
19962
  Dependency Path: axios-cache-interceptor
19964
19963
  File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
19965
19964
 
@@ -64773,4 +64772,4 @@ File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
64773
64772
  --------------------------------------------------------------------------------
64774
64773
  --------------------------------------------------------------------------------
64775
64774
 
64776
- Report Generated by FOSSA on 2026-10-7
64775
+ Report Generated by FOSSA on 2026-10-9
@@ -1 +1 @@
1
- {"version":3,"file":"InsightRenderer.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightRenderer.tsx"],"names":[],"mappings":"AAYA,OAAO,EAGH,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,qBAAqB,EAM7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAKH,KAAK,OAAO,EACZ,KAAK,aAAa,EAGlB,KAAK,OAAO,EAMf,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAGH,KAAK,iBAAiB,EAKzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAC/C,iBAAiB,EACjB,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,WAAW,CACjE;IACG,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,YAAY,EAAE,aAAa,GAAG,SAAS,CAAC;IACxC,OAAO,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AO,MAAM,mBAAmB;cA/XoC,aAAa;EA+Xb,CAAC;AAwBrE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,qBAAqB,kDAuC3D"}
@@ -7,6 +7,7 @@ import { v4 as uuidv4 } from "uuid";
7
7
  import { ExecutionFactoryUpgradingToExecByReference, ExecutionFactoryWithFixedFilters, } from "@gooddata/sdk-backend-base";
8
8
  import { insightProperties, insightSetProperties, insightTitle, insightVisualizationType, insightVisualizationUrl, } from "@gooddata/sdk-model";
9
9
  import { DefaultLocale, ErrorComponent, IntlWrapper, LoadingComponent, fillMissingFormats, fillMissingTitlesWithMessages, ignoreTitlesForSimpleMeasures, useResolveMessages, withContexts, } from "@gooddata/sdk-ui";
10
+ import { OverlayZIndexContext, useContainingOverlayZIndex } from "@gooddata/sdk-ui-kit";
10
11
  import { useTheme } from "@gooddata/sdk-ui-theme-provider";
11
12
  import { DEFAULT_MESSAGES, FullVisualizationCatalog, resolveMessages, } from "../internal/index.js";
12
13
  const getElementId = () => `gd-vis-${uuidv4()}`;
@@ -39,6 +40,8 @@ const resolveProps = (props) => ({
39
40
  const InsightRendererCore = memo(function InsightRendererCore(props) {
40
41
  const theme = useTheme();
41
42
  const currentProps = { ...resolveProps(props), theme };
43
+ const containingOverlayZIndexRef = useRef(undefined);
44
+ containingOverlayZIndexRef.current = useContainingOverlayZIndex();
42
45
  const [elementId] = useState(getElementId);
43
46
  const visualizationRef = useRef(undefined);
44
47
  const containerRef = useRef(null);
@@ -148,7 +151,9 @@ const InsightRendererCore = memo(function InsightRendererCore(props) {
148
151
  if (!reactRootsMapRef.current.get(htmlElement)) {
149
152
  reactRootsMapRef.current.set(htmlElement, createRoot(htmlElement));
150
153
  }
151
- reactRootsMapRef.current.get(htmlElement).render(children);
154
+ reactRootsMapRef.current
155
+ .get(htmlElement)
156
+ .render(_jsx(OverlayZIndexContext.Provider, { value: containingOverlayZIndexRef.current, children: children }));
152
157
  }, []);
153
158
  const reactUnmountFunction = useCallback(() => {
154
159
  reactRootsMapRef.current.forEach((root) => root.render(null));
@@ -1 +1 @@
1
- {"version":3,"file":"InsightView.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAgCxE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAW9D;;GAEG;AACH,wBAAgB,8BAA8B,CAC1C,MAAM,EAAE,iBAAiB,CAAC,QAAQ,CAAC,EACnC,QAAQ,CAAC,EAAE,sBAAsB,OAQpC;AAED,eAAO,MAAM,eAAe,kDA8P3B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,2CAQnD"}
1
+ {"version":3,"file":"InsightView.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAgCxE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAW9D;;GAEG;AACH,wBAAgB,8BAA8B,CAC1C,MAAM,EAAE,iBAAiB,CAAC,QAAQ,CAAC,EACnC,QAAQ,CAAC,EAAE,sBAAsB,OAQpC;AAED,eAAO,MAAM,eAAe,kDAgQ3B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,2CAQnD"}
@@ -24,7 +24,7 @@ export function mergeInsightConfigWithSettings(config, settings) {
24
24
  };
25
25
  }
26
26
  export const IntlInsightView = withAgGridToken(withMapboxToken(withContexts(function InsightViewCore(props) {
27
- const { insight, backend, workspace, filters, executeByReference, showTitle, colorPalette, config, execConfig, locale, drillableItems, onDrill, onLoadingChanged, onExportReady, onError, onDataView, onInsightLoaded, pushData, ErrorComponent = DefaultError, LoadingComponent = DefaultLoading, TitleComponent = InsightTitle, } = props;
27
+ const { insight, backend, workspace, filters, executeByReference, showTitle, colorPalette, config, execConfig, locale, drillableItems, onDrill, onLoadingChanged, onExportReady, onError, onDataView, onInsightLoaded, afterRender, pushData, ErrorComponent = DefaultError, LoadingComponent = DefaultLoading, TitleComponent = InsightTitle, } = props;
28
28
  const [state, setState] = useState({
29
29
  isVisualizationLoading: false,
30
30
  visualizationError: undefined,
@@ -151,7 +151,7 @@ export const IntlInsightView = withAgGridToken(withMapboxToken(withContexts(func
151
151
  const resolvedConfig = useMemo(() => mergeInsightConfigWithSettings(config, workspaceSettingsResult), [config, workspaceSettingsResult]);
152
152
  return (_jsxs("div", { className: "insight-view-container", children: [resolvedTitle ? _jsx(TitleComponent, { title: resolvedTitle }) : null, isLoadingShown ? _jsx(LoadingComponent, { className: "insight-view-loader" }) : null, error && !isDataLoading ? (_jsx(InsightError, { error: convertError(error), ErrorComponent: ErrorComponent })) : null, _jsx("div", { className: "insight-view-visualization",
153
153
  // make the visualization div 0 height so that the loading component can take up the whole area
154
- style: isLoadingShown ? { height: 0 } : undefined, children: settingsResolved ? (_jsx(InsightRenderer, { insight: insightResult, workspace: workspace, backend: backendWithTelemetry, colorPalette: colorPalette ?? colorPaletteResult, config: resolvedConfig, execConfig: execConfig, drillableItems: drillableItems, executeByReference: executeByReference, filters: filters, locale: locale || resolveLocale(workspaceSettingsResult?.locale), settings: workspaceSettingsResult, permissions: permissionsResult, ErrorComponent: ErrorComponent, LoadingComponent: LoadingComponent, onDrill: onDrill, onError: handleError, onExportReady: onExportReady, onLoadingChanged: handleLoadingChanged, onDataView: onDataView, pushData: pushData })) : null })] }));
154
+ style: isLoadingShown ? { height: 0 } : undefined, children: settingsResolved ? (_jsx(InsightRenderer, { insight: insightResult, workspace: workspace, backend: backendWithTelemetry, colorPalette: colorPalette ?? colorPaletteResult, config: resolvedConfig, execConfig: execConfig, drillableItems: drillableItems, executeByReference: executeByReference, filters: filters, locale: locale || resolveLocale(workspaceSettingsResult?.locale), settings: workspaceSettingsResult, permissions: permissionsResult, ErrorComponent: ErrorComponent, LoadingComponent: LoadingComponent, onDrill: onDrill, onError: handleError, onExportReady: onExportReady, onLoadingChanged: handleLoadingChanged, onDataView: onDataView, afterRender: afterRender, pushData: pushData })) : null })] }));
155
155
  })));
156
156
  /**
157
157
  * Renders insight which was previously created and saved in the Analytical Designer.
@@ -1 +1 @@
1
- {"version":3,"file":"BaseVisualization.d.ts","sourceRoot":"","sources":["../../../src/internal/components/BaseVisualization.tsx"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAI7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAChC,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,aAAa,EAIrB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EAA4B,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEjG,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC1D,OAAO,EAAE,kBAAkB,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,GAAG,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,eAAe,CAAC,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AAC;IACjB,2BAA2B,CAAC,EAAE,4BAA4B,CAAC;IAC3D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,YAAY,IAAI,kBAAkB,GAAG,IAAI,CAAC;IAC1C,aAAa,IAAI,kBAAkB,EAAE,GAAG,SAAS,CAAC;IAClD,8BAA8B,CAC1B,mBAAmB,EAAE,QAAQ,EAC7B,gBAAgB,EAAE,iBAAiB,GACpC,QAAQ,CAAC;CACf;AAyBD,eAAO,MAAM,iBAAiB,2HAsc7B,CAAC"}
1
+ {"version":3,"file":"BaseVisualization.d.ts","sourceRoot":"","sources":["../../../src/internal/components/BaseVisualization.tsx"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAI7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAChC,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,aAAa,EAIrB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EAA4B,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEjG,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC1D,OAAO,EAAE,kBAAkB,CAAC;I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IAEjD,6BAA6B,CAAC,IAAI,IAAI,CAAC;IAEvC,QAAQ,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IACjD,OAAO,CAAC,IAAI,IAAI,CAAC;IACjB,2BAA2B,CAAC,EAAE,4BAA4B,CAAC;IAC3D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,YAAY,IAAI,kBAAkB,GAAG,IAAI,CAAC;IAC1C,aAAa,IAAI,kBAAkB,EAAE,GAAG,SAAS,CAAC;IAClD,8BAA8B,CAC1B,mBAAmB,EAAE,QAAQ,EAC7B,gBAAgB,EAAE,iBAAiB,GACpC,QAAQ,CAAC;CACf;AAyBD,eAAO,MAAM,iBAAiB,2HA+c7B,CAAC"}
@@ -5,6 +5,7 @@ import { isEmpty, isEqual, omit } from "lodash-es";
5
5
  import { createRoot } from "react-dom/client";
6
6
  import { v4 as uuidv4 } from "uuid";
7
7
  import { insightProperties, isInsight, visClassUrl, } from "@gooddata/sdk-model";
8
+ import { OverlayZIndexContext, useContainingOverlayZIndex } from "@gooddata/sdk-ui-kit";
8
9
  import { ConfigPanelClassName, } from "../interfaces/Visualization.js";
9
10
  import { cleanupKeyDriverAnalysisOnMetrics, hideKeyDriverOnMetrics } from "../utils/keyDriverAnalysis.js";
10
11
  import { FullVisualizationCatalog } from "./VisualizationCatalog.js";
@@ -20,6 +21,8 @@ function propertiesControlsHasChanged(currentReferencePoint, nextReferencePoint)
20
21
  }
21
22
  export const BaseVisualization = forwardRef(function BaseVisualization(props, ref) {
22
23
  const { visualizationCatalog = FullVisualizationCatalog, newDerivedBucketItems = [], referencePoint = undefined, onExtendedReferencePointChanged = noop, onNewDerivedBucketItemsPlaced = noop, isMdObjectValid = true, configPanelClassName = ConfigPanelClassName, featureFlags = {}, } = props;
24
+ const containingOverlayZIndexRef = useRef(undefined);
25
+ containingOverlayZIndexRef.current = useContainingOverlayZIndex();
23
26
  /**
24
27
  * Props with the defaults applied; the lifecycle handling below compares and passes them around
25
28
  * the very same way the class component did with props defaulted by React.
@@ -67,7 +70,9 @@ export const BaseVisualization = forwardRef(function BaseVisualization(props, re
67
70
  if (!reactRootsMap.current.get(element)) {
68
71
  reactRootsMap.current.set(element, createRoot(element));
69
72
  }
70
- reactRootsMap.current.get(element).render(children);
73
+ reactRootsMap.current
74
+ .get(element)
75
+ .render(_jsx(OverlayZIndexContext.Provider, { value: containingOverlayZIndexRef.current, children: children }));
71
76
  };
72
77
  };
73
78
  const getReactUnmountFunction = () => {
@@ -0,0 +1,15 @@
1
+ import { type LineShape } from "@gooddata/sdk-ui-charts";
2
+ import { type IVisualizationProperties } from "../../interfaces/Visualization.js";
3
+ interface ILineShapeProperties {
4
+ lineShape?: LineShape;
5
+ }
6
+ export interface ILineShapeControlProps {
7
+ disabled: boolean;
8
+ properties?: IVisualizationProperties<ILineShapeProperties>;
9
+ pushData: (data: {
10
+ properties: NonNullable<ILineShapeControlProps["properties"]>;
11
+ }) => void;
12
+ }
13
+ export declare function LineShapeControl({ disabled, properties, pushData }: ILineShapeControlProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=LineShapeControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineShapeControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/LineShapeControl.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAElF,UAAU,oBAAoB;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,wBAAwB,CAAC,oBAAoB,CAAC,CAAC;IAC5D,QAAQ,EAAE,CAAC,IAAI,EAAE;QAAE,UAAU,EAAE,WAAW,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;CAC/F;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAoE1F"}
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { useId } from "react";
4
+ import { cloneDeep, merge } from "lodash-es";
5
+ import { FormattedMessage, useIntl } from "react-intl";
6
+ import { UiButtonSegmentedControl, UiIconButton, UiTooltip } from "@gooddata/sdk-ui-kit";
7
+ import { messages } from "../../../locales.js";
8
+ export function LineShapeControl({ disabled, properties, pushData }) {
9
+ const labelId = useId();
10
+ const intl = useIntl();
11
+ const lineShapes = [
12
+ { value: "linear", label: intl.formatMessage(messages.lineShapeLinear), icon: "linear" },
13
+ { value: "spline", label: intl.formatMessage(messages.lineShapeSpline), icon: "spline" },
14
+ { value: "stepped", label: intl.formatMessage(messages.lineShapeStepped), icon: "stepped" },
15
+ ];
16
+ const activeLineShape = properties?.controls?.lineShape ?? "linear";
17
+ return (_jsx(UiTooltip, { anchorWrapperStyles: { width: "100%" }, anchor: _jsxs("div", { className: "adi-properties-control-container", children: [_jsx("span", { id: labelId, className: "input-label-text", children: _jsx(FormattedMessage, { ...messages.lineShape }) }), _jsx("div", { className: "adi-bucket-control", children: _jsx(UiButtonSegmentedControl, { "aria-labelledby": labelId, layout: "fill", role: "group", children: lineShapes.map(({ value, label, icon }) => {
18
+ const isActive = value === activeLineShape;
19
+ return (_jsx(UiTooltip, { accessibilityHidden: true, anchor: _jsx(UiIconButton, { accessibilityConfig: {
20
+ ariaLabel: label,
21
+ ariaPressed: isActive,
22
+ }, icon: icon, isActive: isActive, isDisabled: disabled, size: "small", onClick: () => {
23
+ if (isActive) {
24
+ return;
25
+ }
26
+ pushData({
27
+ properties: merge(cloneDeep(properties), {
28
+ controls: { lineShape: value },
29
+ }),
30
+ });
31
+ } }), content: label, disabled: disabled, optimalPlacement: true, triggerBy: ["hover", "focus"] }, value));
32
+ }) }) })] }), arrowPlacement: "left", content: _jsx(FormattedMessage, { ...messages.notApplicable }), disabled: !disabled, offset: 10, triggerBy: ["hover", "focus"] }));
33
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"snippets.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/advanced/snippets.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC3C,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gCAAiC,SAAQ,8BAA8B;IACpF,IAAI,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,WAAW,8BAA+B,SAAQ,8BAA8B;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,0BAA0B,GAAG,gCAAgC,GAAG,8BAA8B,CAAC;AAG3G,eAAO,MAAM,QAAQ,EAAE,0BAA0B,EAsMhD,CAAC"}
1
+ {"version":3,"file":"snippets.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/advanced/snippets.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,8BAA8B;IAC3C,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gCAAiC,SAAQ,8BAA8B;IACpF,IAAI,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,WAAW,8BAA+B,SAAQ,8BAA8B;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,0BAA0B,GAAG,gCAAgC,GAAG,8BAA8B,CAAC;AAG3G,eAAO,MAAM,QAAQ,EAAE,0BAA0B,EA4KhD,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2024 GoodData Corporation
1
+ // (C) 2024-2026 GoodData Corporation
2
2
  // The snippets are not translated in the first milestone which is for internal use only
3
3
  export const SNIPPETS = [
4
4
  {
@@ -138,30 +138,6 @@ export const SNIPPETS = [
138
138
  },
139
139
  type: "item",
140
140
  },
141
- {
142
- name: "Smooth line",
143
- id: "smoothLine",
144
- description: "A smooth line is a type of line that curves between data points, rather than using sharp, angular segments",
145
- value: {
146
- chart: {
147
- type: "spline",
148
- },
149
- },
150
- type: "item",
151
- },
152
- {
153
- name: "Stepped line",
154
- id: "steppedLine",
155
- description: "A stepped line connects data points using horizontal and vertical segments, rather than a direct diagonal line. It is useful for showing changes that occur in discrete steps.",
156
- value: {
157
- plotOptions: {
158
- line: {
159
- step: "left",
160
- },
161
- },
162
- },
163
- type: "item",
164
- },
165
141
  {
166
142
  name: "Negative value color",
167
143
  id: "negativeValueColor",
@@ -18,7 +18,7 @@ export interface IConfigurationPanelContentProps<PanelConfig = any> {
18
18
  featureFlags?: ISettings;
19
19
  permissions?: IWorkspacePermissions;
20
20
  axis?: string;
21
- pushData?(data: any): void;
21
+ pushData(data: unknown): void;
22
22
  panelConfig?: PanelConfig;
23
23
  configurationPanelRenderers?: IConfigurationPanelRenderers;
24
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigurationPanelContent.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/ConfigurationPanelContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,qB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AAM,EAAE,GAAG,SAAS,CAAC;IAExD,YAAY,KAAK,EAAE,CAAC,EAGnB;IAEe,MAAM,4CAQrB;IAED,SAAS,CAAC,QAAQ,CAAC,wBAAwB,IAAI,SAAS,CAAC;IAEzD;;;OAGG;IACH,SAAS,CAAC,iBAAiB,CAAC,YAAY,CAAC,EAAE,WAAW,GAAG,OAAO,CAG/D;IAED,SAAS,CAAC,kBAAkB,IAAI,SAAS,CAwBxC;IAED,SAAS,CAAC,mBAAmB,IAAI,SAAS,CAYzC;IAED,SAAS,CAAC,yBAAyB,IAAI,SAAS,CAwC/C;IAED,SAAS,CAAC,qBAAqB,IAAI,SAAS,CAiB3C;IAED,SAAS,CAAC,sBAAsB,IAAI,SAAS,CAqC5C;IAED,SAAS,CAAC,0BAA0B,IAAI,SAAS,CAehD;IAED,SAAS,CAAC,qBAAqB,IAAI,SAAS,CAU3C;CACJ"}
1
+ {"version":3,"file":"ConfigurationPanelContent.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/ConfigurationPanelContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,qBAAqB,EAG7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,SAAS,EAAiB,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAChC,MAAM,mCAAmC,CAAC;AAqB3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,+BAA+B,CAAC,WAAW,GAAG,GAAG;IAC9D,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,UAAU,CAAC,E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AI,SAAS,CAqC5C;IAED,SAAS,CAAC,0BAA0B,IAAI,SAAS,CAehD;IAED,SAAS,CAAC,qBAAqB,IAAI,SAAS,CAU3C;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"LineChartBasedConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/LineChartBasedConfigurationPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA4BvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEtF,MAAM,WAAW,iCAAkC,SAAQ,+BAA+B;IACtF,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5C;AAED,qBAAa,gCAAiC,SAAQ,2BAA2B,CAAC,iCAAiC,CAAC;IAChH,UAAmB,kBAAkB,IAAI,SAAS,CAqCjD;IAED,UAAmB,wBAAwB,IAAI,SAAS,CA0FvD;CACJ"}
1
+ {"version":3,"file":"LineChartBasedConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/LineChartBasedConfigurationPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA6BvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEtF,MAAM,WAAW,iCAAkC,SAAQ,+BAA+B;IACtF,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5C;AAED,qBAAa,gCAAiC,SAAQ,2BAA2B,CAAC,iCAAiC,CAAC;IAChH,UAAmB,kBAAkB,IAAI,SAAS,CAqCjD;IAED,UAAmB,wBAAwB,IAAI,SAAS,CAyGvD;CACJ"}
@@ -12,6 +12,7 @@ import { ContinuousLineControl } from "../configurationControls/ContinuousLineCo
12
12
  import { DataLabelsControl } from "../configurationControls/DataLabelsControl.js";
13
13
  import { DataPointsControl } from "../configurationControls/DataPointsControl.js";
14
14
  import { DistinctPointShapesControl } from "../configurationControls/DistintcPointShapesControl.js";
15
+ import { LineShapeControl } from "../configurationControls/LineShapeControl.js";
15
16
  import { BaseChartConfigurationPanel } from "./BaseChartConfigurationPanel.js";
16
17
  export class LineChartBasedConfigurationPanel extends BaseChartConfigurationPanel {
17
18
  renderColorSection() {
@@ -26,12 +27,12 @@ export class LineChartBasedConfigurationPanel extends BaseChartConfigurationPane
26
27
  renderConfigurationPanel() {
27
28
  const { gridEnabled, axes } = this.getControlProperties();
28
29
  const { properties, propertiesMeta, pushData, panelConfig, dataLabelDefaultValue = false, } = this.props;
29
- const { isDataPointsControlDisabled, isContinuousLineControlDisabled, isDistinctPointShapesDisabled, } = panelConfig;
30
+ const { isDataPointsControlDisabled, isContinuousLineControlDisabled, isDistinctPointShapesDisabled, hasNoLineOrAreaMeasures, } = panelConfig;
30
31
  const controlsDisabled = this.isControlDisabled();
31
32
  const continuousLineEnabled = properties?.controls?.["continuousLine"]?.enabled;
32
33
  const shouldContinuousLineControlDisabled = controlsDisabled || isContinuousLineControlDisabled;
33
34
  const distinctPointShapesEnabled = properties?.controls?.["distinctPointShapes"]?.enabled;
34
35
  const shouldDistinctPointShapesDisabled = controlsDisabled || isDataPointsControlDisabled || !isDistinctPointShapesDisabled;
35
- return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.getBaseChartAxisSection(axes), this.renderLegendSection(), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", className: "gd-canvas-section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: dataLabelDefaultValue }), _jsx(DataPointsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled || isDataPointsControlDisabled, showDisabledMessage: isDataPointsControlDisabled }), _jsx(DistinctPointShapesControl, { pushData: pushData, checked: shouldDistinctPointShapesDisabled ? false : distinctPointShapesEnabled, properties: properties, disabled: shouldDistinctPointShapesDisabled }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData }), _jsx(ContinuousLineControl, { properties: properties, checked: shouldContinuousLineControlDisabled ? false : continuousLineEnabled, disabled: controlsDisabled || isDataPointsControlDisabled, pushData: pushData })] }), this.renderForecastSection(), this.renderAnomaliesSection(), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
36
+ return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.getBaseChartAxisSection(axes), this.renderLegendSection(), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", className: "gd-canvas-section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: dataLabelDefaultValue }), _jsx(DataPointsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled || isDataPointsControlDisabled, showDisabledMessage: isDataPointsControlDisabled }), _jsx(LineShapeControl, { disabled: controlsDisabled || hasNoLineOrAreaMeasures, pushData: pushData, properties: properties }), _jsxs("div", { className: "gd-canvas-section__checkbox-wrapper", children: [_jsx(DistinctPointShapesControl, { pushData: pushData, checked: shouldDistinctPointShapesDisabled ? false : distinctPointShapesEnabled, properties: properties, disabled: shouldDistinctPointShapesDisabled }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData }), _jsx(ContinuousLineControl, { properties: properties, checked: shouldContinuousLineControlDisabled ? false : continuousLineEnabled, disabled: controlsDisabled || isDataPointsControlDisabled, pushData: pushData })] })] }), this.renderForecastSection(), this.renderAnomaliesSection(), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
36
37
  }
37
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RadarChartConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/RadarChartConfigurationPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA8BvC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF,qBAAa,4BAA6B,SAAQ,gCAAgC;IAC9E,UAAmB,wBAAwB,IAAI,SAAS,CAoEvD;IAED;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAqD9B,UAAmB,kBAAkB,IAAI,SAAS,CAiCjD;CACJ"}
1
+ {"version":3,"file":"RadarChartConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/RadarChartConfigurationPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA8BvC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF,qBAAa,4BAA6B,SAAQ,gCAAgC;IAC9E,UAAmB,wBAAwB,IAAI,SAAS,CA6EvD;IAED;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAqD9B,UAAmB,kBAAkB,IAAI,SAAS,CAiCjD;CACJ"}
@@ -25,7 +25,7 @@ export class RadarChartConfigurationPanel extends LineChartBasedConfigurationPan
25
25
  const shouldContinuousLineControlDisabled = controlsDisabled || isContinuousLineControlDisabled;
26
26
  const distinctPointShapesEnabled = properties?.controls?.["distinctPointShapes"]?.enabled;
27
27
  const shouldDistinctPointShapesDisabled = controlsDisabled || isDataPointsControlDisabled || Boolean(isDistinctPointShapesDisabled);
28
- return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.renderRadarGridSection(), this.renderLegendSection(), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", className: "gd-canvas-section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: false }), _jsx(DataPointsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled || isDataPointsControlDisabled, showDisabledMessage: isDataPointsControlDisabled }), _jsx(DistinctPointShapesControl, { pushData: pushData, checked: shouldDistinctPointShapesDisabled ? false : distinctPointShapesEnabled, properties: properties, disabled: shouldDistinctPointShapesDisabled }), _jsx(ContinuousLineControl, { properties: properties, checked: shouldContinuousLineControlDisabled ? false : continuousLineEnabled, disabled: controlsDisabled || isDataPointsControlDisabled, pushData: pushData })] }), this.renderAnomaliesSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
28
+ return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.renderRadarGridSection(), this.renderLegendSection(), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", className: "gd-canvas-section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: false }), _jsx(DataPointsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled || isDataPointsControlDisabled, showDisabledMessage: isDataPointsControlDisabled }), _jsxs("div", { className: "gd-canvas-section__checkbox-wrapper", children: [_jsx(DistinctPointShapesControl, { pushData: pushData, checked: shouldDistinctPointShapesDisabled ? false : distinctPointShapesEnabled, properties: properties, disabled: shouldDistinctPointShapesDisabled }), _jsx(ContinuousLineControl, { properties: properties, checked: shouldContinuousLineControlDisabled ? false : continuousLineEnabled, disabled: controlsDisabled || isDataPointsControlDisabled, pushData: pushData })] })] }), this.renderAnomaliesSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
29
29
  }
30
30
  /**
31
31
  * Replaces the separate X-Axis and Y-Axis sections with a single "Grid" section.
@@ -1 +1 @@
1
- {"version":3,"file":"WaterfallChartConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/WaterfallChartConfigurationPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAWpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAKtF,MAAM,WAAW,iCAAkC,SAAQ,+BAA+B;IACtF,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5C;AAED,qBAAa,gCAAiC,SAAQ,2BAA2B,CAAC,iCAAiC,CAAC;IAChH,UAAmB,wBAAwB,IAAI,SAAS,CAmEvD;IAED,UAAmB,mBAAmB,IAAI,SAAS,CAalD;IAED,UAAmB,uBAAuB,CAAC,IAAI,EAAE,eAAe,EAAE,6CAgDjE;CACJ"}
1
+ {"version":3,"file":"WaterfallChartConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationPanels/WaterfallChartConfigurationPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAWpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAKtF,MAAM,WAAW,iCAAkC,SAAQ,+BAA+B;IACtF,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5C;AAED,qBAAa,gCAAiC,SAAQ,2BAA2B,CAAC,iCAAiC,CAAC;IAChH,UAAmB,wBAAwB,IAAI,SAAS,CAyEvD;IAED,UAAmB,mBAAmB,IAAI,SAAS,CAalD;IAED,UAAmB,uBAAuB,CAAC,IAAI,EAAE,eAAe,EAAE,6CAgDjE;CACJ"}
@@ -20,7 +20,7 @@ export class WaterfallChartConfigurationPanel extends BaseChartConfigurationPane
20
20
  const { gridEnabled, axes } = this.getControlProperties();
21
21
  const { properties, propertiesMeta, pushData, dataLabelDefaultValue = false } = this.props;
22
22
  const controlsDisabled = this.isControlDisabled();
23
- return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.getBaseChartAxisSection(axes), this.renderLegendSection(), _jsx(TotalSection, { controlsDisabled: controlsDisabled, properties: properties, propertiesMeta: propertiesMeta, pushData: pushData }), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", className: "gd-canvas-section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(OrientationDropdownControl, { pushData: pushData, properties: properties, disabled: controlsDisabled, value: properties?.controls?.["orientation"]?.position || "horizontal", showDisabledMessage: false }), _jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: dataLabelDefaultValue }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData })] }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: TOOLTIP_ARROW_OFFSET, alignPoints: TOOLTIP_ALIGN_POINT, children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
23
+ return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.getBaseChartAxisSection(axes), this.renderLegendSection(), _jsx(TotalSection, { controlsDisabled: controlsDisabled, properties: properties, propertiesMeta: propertiesMeta, pushData: pushData }), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", className: "gd-canvas-section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(OrientationDropdownControl, { pushData: pushData, properties: properties, disabled: controlsDisabled, value: properties?.controls?.["orientation"]?.position || "horizontal", showDisabledMessage: false }), _jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: dataLabelDefaultValue }), _jsx("div", { className: "gd-canvas-section__checkbox-wrapper", children: _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData }) })] }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: TOOLTIP_ARROW_OFFSET, alignPoints: TOOLTIP_ALIGN_POINT, children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
24
24
  }
25
25
  renderLegendSection() {
26
26
  const { properties, propertiesMeta, pushData } = this.props;
@@ -1 +1 @@
1
- {"version":3,"file":"AddWorkspace.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAUtF,MAAM,WAAW,kBAAkB;IAC/B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,WAAW,EAAE,0BAA0B,CAAC;IACxC,iBAAiB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACnD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACpD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+CAA+C,CAAC,EAAE,OAAO,CAAC;IAC1D,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED,wBAAgB,YAAY,CAAC,EACzB,GAAG,EACH,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,aAAa,EACb,2BAA2B,EAC3B,+CAA+C,EAC/C,4BAA4B,EAC5B,kCAAkC,GACrC,EAAE,kBAAkB,2CAyEpB"}
1
+ {"version":3,"file":"AddWorkspace.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAUtF,MAAM,WAAW,kBAAkB;IAC/B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,WAAW,EAAE,0BAA0B,CAAC;IACxC,iBAAiB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACnD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACpD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+CAA+C,CAAC,EAAE,OAAO,CAAC;IAC1D,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED,wBAAgB,YAAY,CAAC,EACzB,GAAG,EACH,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,aAAa,EACb,2BAA2B,EAC3B,+CAA+C,EAC/C,4BAA4B,EAC5B,kCAAkC,GACrC,EAAE,kBAAkB,2CA0EpB"}
@@ -25,5 +25,5 @@ export function AddWorkspace({ ids, subjectType, grantedWorkspaces, enableBackBu
25
25
  id: "userManagement.workspace.granularPermission.help",
26
26
  }), href: "https://www.gooddata.com/docs/cloud/manage-organization/manage-permissions/set-permissions-for-workspace/", iconClass: "gd-icon-circle-question" }) }));
27
27
  }, [intl]);
28
- return (_jsxs(ConfirmDialogBase, { className: "gd-share-dialog gd-share-dialog-add-workspace s-user-management-add-workspace", displayCloseButton: true, isPositive: true, isSubmitDisabled: addedWorkspaces.length === 0 || isProcessing || !isGranularPermissionsChanged, showProgressIndicator: isProcessing, headline: intl.formatMessage(editWorkspace ? messages.editWorkspaceDialogTitle : messages.addWorkspaceDialogTitle), cancelButtonText: intl.formatMessage(messages.addWorkspaceDialogCloseButton), submitButtonText: intl.formatMessage(messages.addWorkspaceDialogSaveButton), onCancel: onCancel, onSubmit: onAdd, onClose: onClose, headerLeftButtonRenderer: enableBackButton ? backButtonRenderer : undefined, footerLeftRenderer: leftFooterRenderer, children: [_jsx(AddSingleWorkspaceSelect, { addedWorkspace: addedWorkspaces[0], grantedWorkspaces: grantedWorkspaces, onSelectWorkspace: onOverwriteSelect, mode: editWorkspace ? "VIEW" : "EDIT" }), _jsx(GranularPermissions, { workspace: addedWorkspaces[0], onChange: onChange, showRedundancyWarningMessage: showRedundancyWarningMessage, areMetricPermissionsEnabled: areMetricPermissionsEnabled, isCreateVisualizationWorkspacePermissionEnabled: isCreateVisualizationWorkspacePermissionEnabled, areComputedAttributesEnabled: areComputedAttributesEnabled, areVisualizationPermissionsEnabled: areVisualizationPermissionsEnabled })] }));
28
+ return (_jsxs(ConfirmDialogBase, { className: "gd-share-dialog gd-share-dialog-add-workspace s-user-management-add-workspace", displayCloseButton: true, isPositive: true, isSubmitDisabled: addedWorkspaces.length === 0 || isProcessing || !isGranularPermissionsChanged, showProgressIndicator: isProcessing, headline: intl.formatMessage(editWorkspace ? messages.editWorkspaceDialogTitle : messages.addWorkspaceDialogTitle), cancelButtonText: intl.formatMessage(messages.addWorkspaceDialogCloseButton), submitButtonText: intl.formatMessage(messages.addWorkspaceDialogSaveButton), onCancel: onCancel, onSubmit: onAdd, onClose: onClose, headerLeftButtonRenderer: enableBackButton ? backButtonRenderer : undefined, footerLeftRenderer: leftFooterRenderer, children: [_jsx(AddSingleWorkspaceSelect, { addedWorkspace: addedWorkspaces[0], grantedWorkspaces: grantedWorkspaces, onSelectWorkspace: onOverwriteSelect, mode: editWorkspace ? "VIEW" : "EDIT" }), _jsx(GranularPermissions, { workspace: addedWorkspaces[0], savedPermissions: editWorkspace?.permissions, onChange: onChange, showRedundancyWarningMessage: showRedundancyWarningMessage, areMetricPermissionsEnabled: areMetricPermissionsEnabled, isCreateVisualizationWorkspacePermissionEnabled: isCreateVisualizationWorkspacePermissionEnabled, areComputedAttributesEnabled: areComputedAttributesEnabled, areVisualizationPermissionsEnabled: areVisualizationPermissionsEnabled })] }));
29
29
  }
@@ -1,6 +1,7 @@
1
- import { type IGrantedWorkspace } from "../../types.js";
1
+ import { type IGrantedWorkspace, type WorkspacePermissions } from "../../types.js";
2
2
  interface IGranularPermissionsProps {
3
3
  workspace: IGrantedWorkspace | undefined;
4
+ savedPermissions?: WorkspacePermissions;
4
5
  onChange: (workspace: IGrantedWorkspace) => void;
5
6
  showRedundancyWarningMessage: boolean;
6
7
  areMetricPermissionsEnabled?: boolean;
@@ -8,6 +9,6 @@ interface IGranularPermissionsProps {
8
9
  areComputedAttributesEnabled?: boolean;
9
10
  areVisualizationPermissionsEnabled?: boolean;
10
11
  }
11
- export declare function GranularPermissions({ workspace, onChange, showRedundancyWarningMessage, areMetricPermissionsEnabled, isCreateVisualizationWorkspacePermissionEnabled, areComputedAttributesEnabled, areVisualizationPermissionsEnabled, }: IGranularPermissionsProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function GranularPermissions({ workspace, savedPermissions, onChange, showRedundancyWarningMessage, areMetricPermissionsEnabled, isCreateVisualizationWorkspacePermissionEnabled, areComputedAttributesEnabled, areVisualizationPermissionsEnabled, }: IGranularPermissionsProps): import("react/jsx-runtime").JSX.Element;
12
13
  export {};
13
14
  //# sourceMappingURL=GranularPermissions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GranularPermissions.d.ts","sourceRoot":"","sources":["../../../../../../../src/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.tsx"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,iBAAiB,EAIzB,MAAM,gBAAgB,CAAC;AA2BxB,UAAU,yBAAyB;IAC/B,SAAS,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACzC,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,4BAA4B,EAAE,OAAO,CAAC;IACtC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+CAA+C,CAAC,EAAE,OAAO,CAAC;IAC1D,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED,wBAAgB,mBAAmB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,4BAA4B,EAC5B,2BAAmC,EACnC,+CAAuD,EACvD,4BAAoC,EACpC,kCAA0C,GAC7C,EAAE,yBAAyB,2CAoI3B"}
1
+ {"version":3,"file":"GranularPermissions.d.ts","sourceRoot":"","sources":["../../../../../../../src/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.tsx"],"names":[],"mappings":"AAQA,OAAO,EACH,KAAK,iBAAiB,EAGtB,KAAK,oBAAoB,EAC5B,MAAM,gBAAgB,CAAC;AA2BxB,UAAU,yBAAyB;IAC/B,SAAS,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACzC,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACxC,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACjD,4BAA4B,EAAE,OAAO,CAAC;IACtC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+CAA+C,CAAC,EAAE,OAAO,CAAC;IAC1D,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED,wBAAgB,mBAAmB,CAAC,EAChC,SAAS,EACT,gBAAqB,EACrB,QAAQ,EACR,4BAA4B,EAC5B,2BAAmC,EACnC,+CAAuD,EACvD,4BAAoC,EACpC,kCAA0C,GAC7C,EAAE,yBAAyB,2CA6I3B"}
@@ -17,7 +17,7 @@ const granularPermissions = [
17
17
  { id: "MANAGE_VISUALIZATIONS", enabled: true },
18
18
  { id: "CREATE_FILTER_VIEW", enabled: true },
19
19
  ];
20
- export function GranularPermissions({ workspace, onChange, showRedundancyWarningMessage, areMetricPermissionsEnabled = false, isCreateVisualizationWorkspacePermissionEnabled = false, areComputedAttributesEnabled = false, areVisualizationPermissionsEnabled = false, }) {
20
+ export function GranularPermissions({ workspace, savedPermissions = [], onChange, showRedundancyWarningMessage, areMetricPermissionsEnabled = false, isCreateVisualizationWorkspacePermissionEnabled = false, areComputedAttributesEnabled = false, areVisualizationPermissionsEnabled = false, }) {
21
21
  const intl = useIntl();
22
22
  if (!workspace) {
23
23
  return (_jsx("div", { className: "gd-granular-permissions-empty", children: _jsx(FormattedMessage, { id: "userManagement.workspace.granularPermission.noWorkspace" }) }));
@@ -30,6 +30,7 @@ export function GranularPermissions({ workspace, onChange, showRedundancyWarning
30
30
  (id !== "CREATE_VISUALIZATION" || isCreateVisualizationWorkspacePermissionEnabled) &&
31
31
  (id !== "CREATE_COMPUTED_ATTRIBUTE" || areComputedAttributesEnabled) &&
32
32
  (id !== "MANAGE_VISUALIZATIONS" || areVisualizationPermissionsEnabled));
33
+ const isShown = (permission) => granularItems.some(({ id }) => id === permission);
33
34
  // Unsanitized until save, so unchecking or leaving Manage brings earlier choices back.
34
35
  const handleChange = (permissions, isHierarchical) => {
35
36
  onChange({ ...workspace, permissions, isHierarchical });
@@ -38,7 +39,11 @@ export function GranularPermissions({ workspace, onChange, showRedundancyWarning
38
39
  handleChange([selectedWorkspacePermission, ...chosenGranularPermissions], isHierarchical);
39
40
  };
40
41
  const handleWorkspacePermissionChange = (workspacePermission) => {
41
- handleChange([workspacePermission, ...chosenGranularPermissions], isHierarchical);
42
+ // The admin can't see hidden permissions, so only the stored access level keeps them.
43
+ const hiddenPermissions = workspacePermission === getWorkspacePermission(savedPermissions)
44
+ ? savedPermissions.filter((p) => !workspacePermissions.includes(p) && !isShown(p))
45
+ : [];
46
+ handleChange([workspacePermission, ...chosenGranularPermissions.filter(isShown), ...hiddenPermissions], isHierarchical);
42
47
  };
43
48
  const handleGranularPermissionChange = (granularPermission) => {
44
49
  const isPermissionSelected = selectedGranularPermissions.includes(granularPermission);
@@ -1 +1 @@
1
- {"version":3,"file":"chartCodeGenUtils.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/pluggableVisualizations/chartCodeGenUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACH,KAAK,kBAAkB,EAM1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EACH,KAAK,wBAAwB,EAEhC,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACH,KAAK,4BAA4B,EAEpC,MAAM,6CAA6C,CAAC;AA4CrD,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,kBAAkB,EAC3B,GAAG,CAAC,EAAE,qBAAqB,GAC5B,YAAY,CA6Bd;AAED,wBAAgB,8BAA8B,CAC1C,OAAO,EAAE,kBAAkB,EAC3B,IAAI,CAAC,EAAE,qBAAqB,GAC7B,eAAe,GAAG,SAAS,CAkB7B;AAED,wBAAgB,wBAAwB,CAAC,OAAO,CAAC,EAAE;IAC/C,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC5C,GAAG,4BAA4B,EAAE,CA0BjC;AAWD,wBAAgB,4BAA4B,CAAC,MAAM,SAAS,MAAM,EAAE,QAAQ,SAAS,MAAM,MAAM,EAC7F,QAAQ,EAAE,QAAQ,GACnB,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE,YAAY,CAAC,CAE1D;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MAAM,EACrG,QAAQ,EAAE,QAAQ,GACnB,wBAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE,eAAe,GAAG,SAAS,CAAC,CAEzE"}
@@ -41,6 +41,7 @@ const supportedChartConfigProperties = new Set([
41
41
  "thresholdMeasures",
42
42
  "customTooltip",
43
43
  "lineStyleMapping",
44
+ "lineShape",
44
45
  ]);
45
46
  export function chartConfigFromInsight(insight, ctx) {
46
47
  const properties = insightProperties(insight);
@@ -48,10 +49,8 @@ export function chartConfigFromInsight(insight, ctx) {
48
49
  const includeColorPalette = ctx?.backend?.capabilities.supportsCustomColorPalettes ?? false;
49
50
  const { inlineVisualizations, hyperLinks } = properties;
50
51
  const withValuesFromContext = {
51
- ...{
52
- inlineVisualizations,
53
- hyperLinks,
54
- },
52
+ inlineVisualizations,
53
+ hyperLinks,
55
54
  ...controls,
56
55
  ...(ctx?.colorPalette && includeColorPalette ? { colorPalette: ctx.colorPalette } : {}),
57
56
  ...(ctx?.settings?.separators ? { separators: ctx.settings.separators } : {}),
@@ -44,6 +44,7 @@ export declare class PluggableComboChart extends PluggableBaseChart {
44
44
  private configureChartTypes;
45
45
  private isPercentDisabled;
46
46
  private isDataPointsControlDisabled;
47
+ private hasNoLineOrAreaMeasures;
47
48
  private hasStackingAreaChart;
48
49
  private isContinuousLineControlDisabled;
49
50
  private isDistinctPointShapesDisabled;
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableComboChart.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,kBAAkB,EAK1B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,yBAAyB,CAAC;AAOtF,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAEH,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK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3,"file":"PluggableComboChart.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,kBAAkB,EAK1B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,yBAAyB,CAAC;AAOtF,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAEH,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,sCAAsC,CAAC;AA4B9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,mBAAoB,SAAQ,kBAAkB;IACvD,OAAO,CAAC,gBAAgB,CAAqC;IAC7D,OAAO,CAAC,kBAAkB,CAAqC;IAE/D,YAAY,KAAK,EAAE,aAAa,EAgB/B;IAEe,0BAA0B,IAAI,MAAM,EAAE,CAErD;IAEe,WAAW,IAAI,SAAS,CAUvC;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAgDlC;IAEM,wBAAwB,IAAI,OAAO,CAEzC;IAED,UAAmB,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,IAAI,CA2DpF;IAED,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,iBAAiB,EAAE,wBAAwB,GAC5C,YAAY,CA2Bd;IAED,OAAO,CAAC,mBAAmB;IAwB3B,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,2BAA2B;IAInC,OAAO,CAAC,uBAAuB;IAW/B,OAAO,CAAC,oBAAoB;IAS5B,OAAO,CAAC,+BAA+B;IAkBvC,OAAO,CAAC,6BAA6B;IAUrC,SAAS,CAAC,0BAA0B,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG;QAC3D,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;QACxC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACjD,CA2BA;IAED,OAAO,CAAC,cAAc;IA2BN,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAmBnF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CAmCjG;CACJ"}
@@ -212,14 +212,16 @@ export class PluggableComboChart extends PluggableBaseChart {
212
212
  return primaryMasterMeasures + secondaryMasterMeasures > 1;
213
213
  }
214
214
  isDataPointsControlDisabled(insight) {
215
+ return this.hasNoLineOrAreaMeasures(insight);
216
+ }
217
+ hasNoLineOrAreaMeasures(insight) {
215
218
  const measureBucketsOfNonColumnCharts = [
216
219
  [this.primaryChartType, BucketNames.MEASURES],
217
220
  [this.secondaryChartType, BucketNames.SECONDARY_MEASURES],
218
221
  ]
219
222
  .filter(([chartType]) => chartType !== VisualizationTypes.COLUMN)
220
223
  .map(([, bucketId]) => insightBuckets(insight, bucketId));
221
- return (measureBucketsOfNonColumnCharts.length === 0 ||
222
- measureBucketsOfNonColumnCharts.every((bucket) => bucketsIsEmpty(bucket)));
224
+ return measureBucketsOfNonColumnCharts.every((bucket) => bucketsIsEmpty(bucket));
223
225
  }
224
226
  hasStackingAreaChart(insight) {
225
227
  const isStackingMeasures = this.visualizationProperties?.controls?.["stackMeasures"];
@@ -300,6 +302,7 @@ export class PluggableComboChart extends PluggableBaseChart {
300
302
  isDataPointsControlDisabled: this.isDataPointsControlDisabled(insight),
301
303
  isContinuousLineControlDisabled: this.isContinuousLineControlDisabled(insight),
302
304
  isDistinctPointShapesDisabled: this.isDistinctPointShapesDisabled(),
305
+ hasNoLineOrAreaMeasures: this.hasNoLineOrAreaMeasures(insight),
303
306
  supportsAttributeHierarchies: this.backendCapabilities.supportsAttributeHierarchies,
304
307
  supportsChartFill: options.supportsChartFill,
305
308
  };
@@ -1 +1 @@
1
- {"version":3,"file":"supportedProperties.d.ts","sourceRoot":"","sources":["../../../src/internal/constants/supportedProperties.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAEpF,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAqEjC,eAAO,MAAM,4BAA4B,UAA8C,CAAC;AAIxF,eAAO,MAAM,+BAA+B,UAM3C,CAAC;AAEF,eAAO,MAAM,+BAA+B,UAQ3C,CAAC;AAEF,eAAO,MAAM,iCAAiC;IAC1C,CAAC,IAAI,CAAC,OAAO,CAAC,WAAoF;IAClG,CAAC,IAAI,CAAC,SAAS,CAAC,WAMf;IACD,CAAC,IAAI,CAAC,IAAI,CAAC,WAKV;CACJ,CAAC;AAEF,eAAO,MAAM,+BAA+B;IACxC,CAAC,IAAI,CAAC,OAAO,CAAC,WAQb;IACD,CAAC,IAAI,CAAC,SAAS,CAAC,WAYf;IACD,CAAC,IAAI,CAAC,IAAI,CAAC,WASV;CACJ,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC,UAa5C,CAAC;AAEF,eAAO,MAAM,8BAA8B;IACvC,CAAC,IAAI,CAAC,OAAO,CAAC,WAMb;IACD,CAAC,IAAI,CAAC,SAAS,CAAC,WAMf;IACD,CAAC,IAAI,CAAC,IAAI,CAAC,WAOV;CACJ,CAAC;AAEF,eAAO,MAAM,gCAAgC;IACzC,CAAC,IAAI,CAAC,OAAO,CAAC,WAWb;IACD,CAAC,IAAI,CAAC,SAAS,CAAC,WAaf;IACD,CAAC,IAAI,CAAC,IAAI,CAAC,WAYV;CACJ,CAAC;AAEF,eAAO,MAAM,iCAAiC,UAyB7C,CAAC;AAEF,eAAO,MAAM,gCAAgC,UAkC5C,CAAC;AAEF,eAAO,MAAM,0BAA0B,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,eAAO,MAAM,6CAA6C,EAAE,yBAS3D,CAAC"}
@@ -76,6 +76,7 @@ export const AREA_CHART_SUPPORTED_PROPERTIES = [
76
76
  "distinctPointShapes",
77
77
  "chartFill",
78
78
  "lineStyleMapping",
79
+ "lineShape",
79
80
  ];
80
81
  export const COLUMN_CHART_SUPPORTED_PROPERTIES = {
81
82
  [AXIS.PRIMARY]: [...BASE_CHART_SUPPORTED_PROPERTIES, ...OPTIONAL_STACKING_PROPERTIES, "chartFill"],
@@ -102,6 +103,7 @@ export const LINE_CHART_SUPPORTED_PROPERTIES = {
102
103
  "thresholdMeasures",
103
104
  "thresholdExcludedMeasures",
104
105
  "lineStyleMapping",
106
+ "lineShape",
105
107
  ],
106
108
  [AXIS.SECONDARY]: [
107
109
  ...BASE_PROPERTIES,
@@ -115,6 +117,7 @@ export const LINE_CHART_SUPPORTED_PROPERTIES = {
115
117
  "thresholdMeasures",
116
118
  "thresholdExcludedMeasures",
117
119
  "lineStyleMapping",
120
+ "lineShape",
118
121
  ],
119
122
  [AXIS.DUAL]: [
120
123
  ...BASE_CHART_SUPPORTED_PROPERTIES,
@@ -125,6 +128,7 @@ export const LINE_CHART_SUPPORTED_PROPERTIES = {
125
128
  "thresholdMeasures",
126
129
  "thresholdExcludedMeasures",
127
130
  "lineStyleMapping",
131
+ "lineShape",
128
132
  ],
129
133
  };
130
134
  /**
@@ -180,6 +184,7 @@ export const COMBO_CHART_SUPPORTED_PROPERTIES = {
180
184
  "thresholdExcludedMeasures",
181
185
  "chartFill",
182
186
  "lineStyleMapping",
187
+ "lineShape",
183
188
  ],
184
189
  [AXIS.SECONDARY]: [
185
190
  ...BASE_PROPERTIES,
@@ -194,6 +199,7 @@ export const COMBO_CHART_SUPPORTED_PROPERTIES = {
194
199
  "thresholdExcludedMeasures",
195
200
  "chartFill",
196
201
  "lineStyleMapping",
202
+ "lineShape",
197
203
  ],
198
204
  [AXIS.DUAL]: [
199
205
  ...BASE_CHART_SUPPORTED_PROPERTIES,
@@ -207,6 +213,7 @@ export const COMBO_CHART_SUPPORTED_PROPERTIES = {
207
213
  "thresholdExcludedMeasures",
208
214
  "chartFill",
209
215
  "lineStyleMapping",
216
+ "lineShape",
210
217
  ],
211
218
  };
212
219
  export const BUBBLE_CHART_SUPPORTED_PROPERTIES = [