@gooddata/sdk-ui-ext 11.55.0-alpha.2 → 11.55.0-alpha.4

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 (68) hide show
  1. package/NOTICE +9 -9
  2. package/esm/index.d.ts +4 -2
  3. package/esm/index.d.ts.map +1 -1
  4. package/esm/index.js +3 -2
  5. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.d.ts.map +1 -1
  6. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.js +8 -5
  7. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts +20 -5
  8. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
  9. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +143 -33
  10. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts +19 -1
  11. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
  12. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +146 -46
  13. package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts +34 -7
  14. package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts.map +1 -1
  15. package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.js +38 -7
  16. package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.d.ts.map +1 -1
  17. package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.js +9 -4
  18. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
  19. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +18 -18
  20. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextConfigFromInsight.d.ts +1 -2
  21. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextConfigFromInsight.d.ts.map +1 -1
  22. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextConfigFromInsight.js +3 -9
  23. package/esm/internal/index.d.ts +1 -0
  24. package/esm/internal/index.d.ts.map +1 -1
  25. package/esm/internal/index.js +1 -0
  26. package/esm/internal/translations/de-DE.localization-bundle.js +2 -2
  27. package/esm/internal/translations/en-US.localization-bundle.d.ts +14 -2
  28. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  29. package/esm/internal/translations/en-US.localization-bundle.js +18 -6
  30. package/esm/internal/translations/zh-HK.localization-bundle.js +40 -40
  31. package/esm/internal/translations/zh-Hant.localization-bundle.js +1 -1
  32. package/esm/internal/utils/embeddingInsightViewCodeGenerator/insightViewConfig.d.ts.map +1 -1
  33. package/esm/internal/utils/embeddingInsightViewCodeGenerator/insightViewConfig.js +2 -1
  34. package/esm/internal/utils/propertiesHelper.d.ts +33 -1
  35. package/esm/internal/utils/propertiesHelper.d.ts.map +1 -1
  36. package/esm/internal/utils/propertiesHelper.js +43 -1
  37. package/esm/locales.d.ts +11 -2
  38. package/esm/locales.d.ts.map +1 -1
  39. package/esm/locales.js +5 -2
  40. package/esm/sdk-ui-ext.d.ts +194 -4
  41. package/esm/share/ObjectShareDialog.d.ts +19 -0
  42. package/esm/share/ObjectShareDialog.d.ts.map +1 -1
  43. package/esm/share/ObjectShareDialog.js +8 -1
  44. package/esm/share/objectShareController.helpers.d.ts +8 -52
  45. package/esm/share/objectShareController.helpers.d.ts.map +1 -1
  46. package/esm/share/objectShareController.helpers.js +23 -0
  47. package/esm/share/objectShareController.types.d.ts +76 -3
  48. package/esm/share/objectShareController.types.d.ts.map +1 -1
  49. package/esm/share/useAccessList.d.ts +14 -3
  50. package/esm/share/useAccessList.d.ts.map +1 -1
  51. package/esm/share/useAccessList.js +26 -7
  52. package/esm/share/useApplyObjectPermissions.d.ts +13 -0
  53. package/esm/share/useApplyObjectPermissions.d.ts.map +1 -0
  54. package/esm/share/useApplyObjectPermissions.js +33 -0
  55. package/esm/share/useObjectShareController.d.ts.map +1 -1
  56. package/esm/share/useObjectShareController.js +20 -9
  57. package/esm/share/useObjectShareDialog.d.ts +12 -3
  58. package/esm/share/useObjectShareDialog.d.ts.map +1 -1
  59. package/esm/share/useObjectShareDialog.js +16 -3
  60. package/package.json +23 -24
  61. package/styles/css/main.css +65 -4
  62. package/styles/css/main.css.map +1 -1
  63. package/styles/internal/css/conditional_formatting.css +38 -4
  64. package/styles/internal/css/conditional_formatting.css.map +1 -1
  65. package/styles/internal/css/insightPicker.css +27 -0
  66. package/styles/internal/css/insightPicker.css.map +1 -1
  67. package/styles/internal/scss/conditional_formatting.scss +67 -18
  68. package/styles/internal/scss/insightPicker.scss +41 -0
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { insightProperties, insightVisualizationUrl, } from "@gooddata/sdk-model";
3
- import { getConditionalFormattingFromProperties, getPaginationFromProperties, getTextWrappingFromProperties, isConditionalFormattingEnabled, } from "../../../utils/propertiesHelper.js";
2
+ import { insightProperties } from "@gooddata/sdk-model";
3
+ import { getEffectiveConditionalFormatting, getPaginationFromProperties, getTextWrappingFromProperties, } from "../../../utils/propertiesHelper.js";
4
4
  import { removeUseless } from "../../../utils/removeUseless.js";
5
5
  import { createPivotTableNextConfig } from "../pivotTableNext/PluggablePivotTableNext.js";
6
6
  const AG_GRID_TOKEN_PLACEHOLDER = {
@@ -24,10 +24,6 @@ export function pivotTableNextConfigPropMeta(config) {
24
24
  const hasConditionalFormatting = typeof config === "object" && config !== null && "conditionalFormatting" in config;
25
25
  return pivotTableNextConfigMeta(hasConditionalFormatting ? "PivotTableNextConfigWithConditionalFormatting" : "PivotTableNextConfig");
26
26
  }
27
- export function isPivotTableNext(insightDefinition, settings) {
28
- const uri = insightVisualizationUrl(insightDefinition);
29
- return !!settings?.enableNewPivotTable && uri === "local:table";
30
- }
31
27
  export function pivotTableNextConfigFromInsight(insight, ctx) {
32
28
  const baseConfig = ctx?.settings && ctx.backend
33
29
  ? createPivotTableNextConfig({ separators: ctx.settings.separators }, "none", ctx.settings)
@@ -42,9 +38,7 @@ export function pivotTableNextConfigFromInsight(insight, ctx) {
42
38
  grandTotalsPosition: controls?.grandTotalsPosition,
43
39
  pagination: getPaginationFromProperties(properties),
44
40
  textWrapping: getTextWrappingFromProperties(properties),
45
- conditionalFormatting: isConditionalFormattingEnabled(ctx?.settings)
46
- ? getConditionalFormattingFromProperties(properties)
47
- : undefined,
41
+ conditionalFormatting: getEffectiveConditionalFormatting(insight, ctx?.settings),
48
42
  columnSizing: {
49
43
  columnWidths: controls?.columnWidths,
50
44
  defaultWidth: "autoresizeAll",
@@ -25,4 +25,5 @@ export { FluidLayoutDescriptor, fluidLayoutDescriptor } from "./FluidLayoutDescr
25
25
  export { EmbedInsightDialog, type IEmbedInsightDialogProps, } from "./components/dialogs/embedInsightDialog/EmbedInsightDialog.js";
26
26
  export type { IInsightTitleProps, IInsightViewProps } from "./interfaces/InsightView.js";
27
27
  export { type ITabsIds, type IUsePagedDropdownConfig, type IUsePagedDropdownResult, type InsightListSortBy, type InsightListSortDirection, useInsightPagedList, } from "./components/insightList/useInsightPagedList.js";
28
+ export { getEffectiveConditionalFormatting } from "./utils/propertiesHelper.js";
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/internal/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iEAAiE,CAAC;AACvG,OAAO,EAAE,eAAe,EAAE,MAAM,4DAA4D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,gEAAgE,CAAC;AACrG,OAAO,EAAE,cAAc,EAAE,MAAM,2DAA2D,CAAC;AAC3F,OAAO,EAAE,a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B,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAE1F,OAAO,EACH,kBAAkB,EAClB,KAAK,wBAAwB,GAChC,MAAM,+DAA+D,CAAC;AAEvE,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEzF,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,mBAAmB,GACtB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC"}
@@ -24,3 +24,4 @@ export { LabelFormatControl } from "./components/configurationControls/axis/Labe
24
24
  export { FluidLayoutDescriptor, fluidLayoutDescriptor } from "./FluidLayoutDescriptor.js";
25
25
  export { EmbedInsightDialog, } from "./components/dialogs/embedInsightDialog/EmbedInsightDialog.js";
26
26
  export { useInsightPagedList, } from "./components/insightList/useInsightPagedList.js";
27
+ export { getEffectiveConditionalFormatting } from "./utils/propertiesHelper.js";
@@ -600,7 +600,7 @@ export const de_DE = {
600
600
  "automations.accessibility.search.schedules": "Geplante Exporte suchen",
601
601
  "automations.accessibility.gridLabel.alerts": "Liste der Warnungen",
602
602
  "automations.accessibility.gridLabel.schedules": "Liste der geplanten Exporte",
603
- "filters.allTime.exceptEmptyValues.title": "Gesamter Zeitraum außer leere Werte",
603
+ "filters.allTime.exceptEmptyValues.title": "Alle Zeit außer leere Werte",
604
604
  "filters.emptyValues.label": "{title}, leere Werte",
605
605
  "filters.emptyValues.title": "Leere Werte",
606
606
  "insightPicker.searchPlaceholder": "Alle Visualisierungen durchsuchen…",
@@ -677,7 +677,7 @@ export const de_DE = {
677
677
  "properties.conditionalFormatting.dialog.error.valueEmpty": "Wert darf nicht leer sein.",
678
678
  "properties.conditionalFormatting.dialog.selectPeriod": "Periode auswählen",
679
679
  "properties.conditionalFormatting.dialog.error.dateUnresolvable": "Der Wert kann nicht aufgelöst werden. Wählen Sie ihn erneut aus.",
680
- "properties.conditionalFormatting.dateOperator.allTime": "Jederzeit",
680
+ "properties.conditionalFormatting.dateOperator.allTime": "Alle Zeit",
681
681
  "properties.conditionalFormatting.dateOperator.isOn": "Ist am",
682
682
  "properties.conditionalFormatting.dateOperator.isNotOn": "Ist nicht am",
683
683
  "properties.conditionalFormatting.dateOperator.isAfter": "Ist nach",
@@ -2599,7 +2599,7 @@ export declare const en_US: {
2599
2599
  text: string;
2600
2600
  crowdinContext: string;
2601
2601
  };
2602
- "properties.conditionalFormatting.rule.view": {
2602
+ "properties.conditionalFormatting.semanticToggleAriaLabel": {
2603
2603
  text: string;
2604
2604
  crowdinContext: string;
2605
2605
  };
@@ -2611,7 +2611,19 @@ export declare const en_US: {
2611
2611
  text: string;
2612
2612
  crowdinContext: string;
2613
2613
  };
2614
- "properties.conditionalFormatting.dialog.viewTitle": {
2614
+ "properties.conditionalFormatting.dialog.ruleTitle": {
2615
+ text: string;
2616
+ crowdinContext: string;
2617
+ };
2618
+ "properties.conditionalFormatting.dialog.useDefaultRule": {
2619
+ text: string;
2620
+ crowdinContext: string;
2621
+ };
2622
+ "properties.conditionalFormatting.dialog.useDefaultRuleInfo": {
2623
+ text: string;
2624
+ crowdinContext: string;
2625
+ };
2626
+ "properties.conditionalFormatting.dialog.ruleCannotBeDeleted": {
2615
2627
  text: string;
2616
2628
  crowdinContext: string;
2617
2629
  };
@@ -1 +1 @@
1
- {"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6vFjB,CAAC"}
@@ -2601,9 +2601,9 @@ export const en_US = {
2601
2601
  "text": "Delete rule",
2602
2602
  "crowdinContext": "Accessible label for the button that deletes a conditional-formatting rule."
2603
2603
  },
2604
- "properties.conditionalFormatting.rule.view": {
2605
- "text": "View rule",
2606
- "crowdinContext": "Accessible label and button text for viewing a read-only conditional-formatting rule inherited from the semantic layer."
2604
+ "properties.conditionalFormatting.semanticToggleAriaLabel": {
2605
+ "text": "Turn formatting on/off for {title}",
2606
+ "crowdinContext": "Accessible label for the toggle that turns a semantic-layer-inherited conditional-formatting rule on or off for one target. {title} is the target's display name (a metric or attribute name), not translatable."
2607
2607
  },
2608
2608
  "properties.conditionalFormatting.dialog.addTitle": {
2609
2609
  "text": "Add rule",
@@ -2613,9 +2613,21 @@ export const en_US = {
2613
2613
  "text": "Edit rule",
2614
2614
  "crowdinContext": "Headline of the dialog when editing an existing conditional-formatting rule."
2615
2615
  },
2616
- "properties.conditionalFormatting.dialog.viewTitle": {
2617
- "text": "View rule",
2618
- "crowdinContext": "Headline of the dialog when viewing a read-only conditional-formatting rule inherited from the semantic layer."
2616
+ "properties.conditionalFormatting.dialog.ruleTitle": {
2617
+ "text": "Rule",
2618
+ "crowdinContext": "Generic headline of the conditional-formatting rule dialog for a target that has a semantic-layer default rule (the dialog lets the user switch between the default rule and their own override)."
2619
+ },
2620
+ "properties.conditionalFormatting.dialog.useDefaultRule": {
2621
+ "text": "Use default rule",
2622
+ "crowdinContext": "Checkbox label in the conditional-formatting rule dialog. When checked, the target uses the rule defined once in the semantic layer; unchecking it lets the user author their own rule for this table."
2623
+ },
2624
+ "properties.conditionalFormatting.dialog.useDefaultRuleInfo": {
2625
+ "text": "Use the default rule for this item. Turn off this option to override the default rule.",
2626
+ "crowdinContext": "Tooltip text explaining the 'Use default rule' checkbox in the conditional-formatting rule dialog."
2627
+ },
2628
+ "properties.conditionalFormatting.dialog.ruleCannotBeDeleted": {
2629
+ "text": "This rule cannot be deleted. Disable it in the rule list.",
2630
+ "crowdinContext": "Tooltip shown on the disabled delete button in the conditional-formatting rule dialog, when the rule currently comes from the semantic layer default (nothing has been authored yet to delete)."
2619
2631
  },
2620
2632
  "properties.conditionalFormatting.dialog.target": {
2621
2633
  "text": "When",
@@ -108,16 +108,16 @@ export const zh_HK = {
108
108
  "dashboard.xirr.error.invalid_buckets.heading": "配置不完整",
109
109
  "dashboard.xirr.error.invalid_buckets.text": "確保您已選擇一個計量和一個日期屬性",
110
110
  "properties.unsupported": "此可視化效果不支援配置",
111
- "properties.config.not_applicable": "配置面板不適用於可視化嘅此配置",
112
- "properties.not_applicable": "屬性不適用於可視化嘅此配置",
111
+ "properties.config.not_applicable": "配置面板不適用於可視化的此配置",
112
+ "properties.not_applicable": "屬性不適用於可視化的此配置",
113
113
  "properties.auto_placeholder": "自動",
114
114
  "properties.auto_default": "自動(默認)",
115
115
  "properties.legend.title": "圖例",
116
116
  "properties.legend.position": "位置",
117
117
  "properties.total.title": "總",
118
118
  "properties.total.name": "名字",
119
- "properties.total.tooltip": "把所有值嘅總和作為末尾嘅一列相加。",
120
- "properties.total.measures.tooltip": "在計量中禁用“係總計”選項,以把所有值嘅總和作為末尾嘅一列相加。",
119
+ "properties.total.tooltip": "把所有值的總和作為末尾的一列相加。",
120
+ "properties.total.measures.tooltip": "在計量中禁用“係總計”選項,以把所有值的總和作為末尾的一列相加。",
121
121
  "properties.color.total": "總",
122
122
  "properties.color.positive": "正數 ",
123
123
  "properties.color.negative": "負數",
@@ -129,7 +129,7 @@ export const zh_HK = {
129
129
  "properties.canvas.continuousLine.label": "連續線",
130
130
  "properties.canvas.continuousLine.tooltip": "喺具有缺失值嘅之間畫一條綫。",
131
131
  "properties.canvas.distinctPointShapes.label": "不同嘅啲形狀",
132
- "properties.canvas.distinctPointShapes.tooltip": "屬性不適用於可視化嘅此配置",
132
+ "properties.canvas.distinctPointShapes.tooltip": "屬性不適用於可視化的此配置",
133
133
  "properties.canvas.labels.subsectionTitle": "標籤",
134
134
  "properties.canvas.dataLabels.auto": "自動(默認)",
135
135
  "properties.canvas.dataLabels.auto.info": "顯示標籤,但隱藏會重疊的個別標籤。",
@@ -190,7 +190,7 @@ export const zh_HK = {
190
190
  "properties.clustering.amount.placeholder": "3",
191
191
  "properties.clustering.threshold": "門檻",
192
192
  "properties.clustering.threshold.placeholder": "0.03",
193
- "properties.clustering.threshold.tooltip": "閾值係肯定何時對數據進行分組嘅限制。 <link>瞭解更多信息</link>",
193
+ "properties.clustering.threshold.tooltip": "閾值係肯定何時對數據進行分組的限制。 <link>瞭解更多信息</link>",
194
194
  "properties.clustering.amount.partial.title": "顯示部分聚類",
195
195
  "properties.clustering.amount.partial.description": "可用嘅數據啲唔會覆蓋成個選定嘅金額。",
196
196
  "properties.clustering.disabled": "聚類需要2個量度同查看依據,而不需要細分依據。",
@@ -207,7 +207,7 @@ export const zh_HK = {
207
207
  "properties.axis.rotation": "旋轉",
208
208
  "properties.axis.format": "格式",
209
209
  "properties.axis.format.inherit": "繼承",
210
- "properties.axis.format.info.inherit": "該格式繼承自可視化效果中嘅第一個計量。",
210
+ "properties.axis.format.info.inherit": "該格式繼承自可視化效果中的第一個計量。",
211
211
  "properties.axis.name": "名字",
212
212
  "properties.axis.name.position": "位置",
213
213
  "properties.axis.name.position.left": "左",
@@ -249,7 +249,7 @@ export const zh_HK = {
249
249
  "properties.radar.spokeLabels": "輻條標籤",
250
250
  "properties.radar.radialLabels": "徑向標籤",
251
251
  "properties.points.title": "點",
252
- "properties.points.groupNearbyPoints": "對附近嘅點進行分組",
252
+ "properties.points.groupNearbyPoints": "對附近的點進行分組",
253
253
  "properties.points.shape.title": "形狀",
254
254
  "properties.points.shape.type.title": "類型",
255
255
  "properties.points.shape.type.circle": "圓形(預設)",
@@ -370,10 +370,10 @@ export const zh_HK = {
370
370
  "properties.comparison.calculationType.as.ratio": "率",
371
371
  "properties.comparison.calculationType.as.difference": "差異",
372
372
  "properties.comparison.calculationType.as.changeDifference": "變化(差異)",
373
- "properties.comparison.calculationType.as.change.tooltip.useIn": "計算主要計量值同次要計量值之間嘅相對變化。",
373
+ "properties.comparison.calculationType.as.change.tooltip.useIn": "計算主要計量值同次要計量值之間的相對變化。",
374
374
  "properties.comparison.calculationType.as.ratio.tooltip.useIn": "量化主要計量值喺次要計量值中嘅份額。",
375
- "properties.comparison.calculationType.as.difference.tooltip.useIn": "計算主要計量值同次要指標值之間嘅絕對差異。",
376
- "properties.comparison.calculationType.as.changeDifference.tooltip.useIn": "計算主要指標值和次要計量值之間嘅相對變化同絕對差值。",
375
+ "properties.comparison.calculationType.as.difference.tooltip.useIn": "計算主要計量值同次要指標值之間的絕對差異。",
376
+ "properties.comparison.calculationType.as.changeDifference.tooltip.useIn": "計算主要指標值和次要計量值之間的相對變化同絕對差值。",
377
377
  "properties.comparison.calculationType.tooltip.formula.section": "公式",
378
378
  "properties.comparison.calculationType.tooltip.formulaChange.section": "公式 (相對變化)",
379
379
  "properties.comparison.calculationType.tooltip.formulaDifference.section": "公式 (絕對差)",
@@ -381,10 +381,10 @@ export const zh_HK = {
381
381
  "properties.comparison.calculationType.as.ratio.tooltip.formula": "小學/中學",
382
382
  "properties.comparison.calculationType.as.difference.tooltip.formula": "小學-中學",
383
383
  "properties.comparison.calculationType.tooltip.example.section": "例",
384
- "properties.comparison.calculationType.as.change.tooltip.example": "同比銷售額變化=(當年嘅銷售額-上年嘅銷售額)/上年嘅銷售額",
384
+ "properties.comparison.calculationType.as.change.tooltip.example": "同比銷售額變化=(當年的銷售額-上年的銷售額)/上年的銷售額",
385
385
  "properties.comparison.calculationType.as.ratio.tooltip.example": "當前銷售額與配額相比=當前銷售額/配額",
386
- "properties.comparison.calculationType.as.difference.tooltip.example": "同比銷售額差異=當年嘅銷售額-上年嘅銷售額",
387
- "properties.comparison.calculationType.as.changeDifference.tooltip.example": "同比銷售額變化= [ (當年嘅銷售額-上年嘅銷售額) /上年嘅銷售額]同[當年嘅銷售額-上年嘅銷售額]",
386
+ "properties.comparison.calculationType.as.difference.tooltip.example": "同比銷售額差異=當年的銷售額-上年的銷售額",
387
+ "properties.comparison.calculationType.as.changeDifference.tooltip.example": "同比銷售額變化= [ (當年的銷售額-上年的銷售額) /上年的銷售額]同[當年的銷售額-上年的銷售額]",
388
388
  "properties.comparison.measureNumber.format.preset.inherit": "繼承",
389
389
  "properties.comparison.measureNumber.format.preset.rounded": "四捨五入",
390
390
  "properties.comparison.measureNumber.format.preset.decimal1": "小數點(1)",
@@ -401,7 +401,7 @@ export const zh_HK = {
401
401
  "properties.comparison.measureNumber.format.template.currency": "貨幣",
402
402
  "properties.comparison.measureNumber.format.template.currencyShortened": "貨幣縮寫",
403
403
  "properties.comparison.measureNumber.format.template.largeNumbersShortened": "大額數字縮寫",
404
- "properties.comparison.measureNumber.format.template.largeNumbersShortenedWithColors": "用顏色顯示縮寫嘅大額數字",
404
+ "properties.comparison.measureNumber.format.template.largeNumbersShortenedWithColors": "用顏色顯示縮寫的大額數字",
405
405
  "properties.comparison.measureNumber.format.template.negativeNumbersRed": "紅色負數",
406
406
  "properties.comparison.measureNumber.format.template.financial": "財務",
407
407
  "properties.comparison.measureNumber.format.template.decimalWithoutThousandsSeparator": "小數(2)不帶千位分隔符",
@@ -422,7 +422,7 @@ export const zh_HK = {
422
422
  "properties.comparison.labelSubSection.positionOnTop.disabled": "標籤不適用於值位置頂部。",
423
423
  "properties.comparison.labelSubSection.conditional.disabled": "條件標籤不適用於比率計算。",
424
424
  "properties.comparison.labelName.title": "名字",
425
- "properties.comparison.labelConditional.title": "有條件嘅",
425
+ "properties.comparison.labelConditional.title": "有條件的",
426
426
  "properties.comparison.labelPositive.title": "小學>中學",
427
427
  "properties.comparison.labelNegative.title": "主要 < Secondary",
428
428
  "properties.comparison.labelEquals.title": "主要=次要",
@@ -447,9 +447,9 @@ export const zh_HK = {
447
447
  "notifications.panel.expiresOn": "過期時間 {date}",
448
448
  "notifications.panel.linkHasExpired": "連結已過期",
449
449
  "notifications.panel.toast.warning.filesExpired": "<strong>下載連結已過期</strong>-等待下一次導出或手動創建一個。",
450
- "notifications.panel.dashboardLinkHint": "打開用于此導出嘅儀錶板",
450
+ "notifications.panel.dashboardLinkHint": "打開用于此導出的儀表板",
451
451
  "notifications.panel.dashboardLink": "從 {dashboardTitle}",
452
- "notifications.panel.downloadFilesHint": "下載導出嘅文件",
452
+ "notifications.panel.downloadFilesHint": "下載導出的文件",
453
453
  "notifications.filters.buttonLabel": "{count, plural, one {#過濾器} other {#過濾器}}",
454
454
  "notifications.filters.dialog.title": "篩選器",
455
455
  "notifications.panel.triggers.title": "{triggeredCount}/{totalCount}項",
@@ -474,7 +474,7 @@ export const zh_HK = {
474
474
  "automations.alert.config.differenceOperator.decreasesBy": "減少",
475
475
  "automations.alert.config.differenceOperator.changesBy": "更改",
476
476
  "automations.alert.config.anomalyDetection.operatorName": "有異",
477
- "automations.filter.allDashboards": "所有儀錶板",
477
+ "automations.filter.allDashboards": "所有儀表板",
478
478
  "automations.filter.allRecipients": "所有收件人",
479
479
  "automations.filter.allAuthors": "所有作者",
480
480
  "automations.filter.allStatus": "所有狀態",
@@ -483,14 +483,14 @@ export const zh_HK = {
483
483
  "automations.filter.status.success": "成功",
484
484
  "automations.filter.status.failed": "失敗",
485
485
  "automations.filter.status.neverRun": "從未執行過",
486
- "automations.filter.dashboard.label": "儀錶板",
486
+ "automations.filter.dashboard.label": "儀表板",
487
487
  "automations.filter.recipients.label": "收件人",
488
488
  "automations.filter.createdBy.label": "創建者",
489
489
  "automations.filter.currentUser": "當前用戶",
490
490
  "automations.cell.lastRun.never": "從不",
491
491
  "automations.column.id": "識別碼",
492
492
  "automations.column.name": "名字",
493
- "automations.column.dashboard": "儀錶板",
493
+ "automations.column.dashboard": "儀表板",
494
494
  "automations.column.widget": "控件",
495
495
  "automations.column.attachments": "附件",
496
496
  "automations.column.nextRun": "下一輪",
@@ -518,22 +518,22 @@ export const zh_HK = {
518
518
  "automations.menu.trigger": "立即傳送",
519
519
  "automations.menu.copyId": "複製ID",
520
520
  "automations.message.copyId.success": "ID已複製到剪貼板",
521
- "automations.message.schedule.delete.success": "成功! 你排程嘅電子郵件已刪除。",
521
+ "automations.message.schedule.delete.success": "成功! 你排程的電子郵件已刪除。",
522
522
  "automations.message.schedule.delete.error": "錯誤! 無法刪除您的預定電子郵件。",
523
- "automations.message.schedule.unsubscribe.success": "成功! 你已取消訂閱預定嘅電子郵件。",
524
- "automations.message.schedule.unsubscribe.error": "錯誤! 無法取消訂閱訂嘅電子郵件。",
523
+ "automations.message.schedule.unsubscribe.success": "成功! 你已取消訂閱預定的電子郵件。",
524
+ "automations.message.schedule.unsubscribe.error": "錯誤! 無法取消訂閱訂的電子郵件。",
525
525
  "automations.message.schedule.bulk.delete.success": "成功! 您的預定電子郵件已被刪除。",
526
- "automations.message.schedule.bulk.delete.error": "錯誤! 無法刪除已安排嘅電子郵件。",
527
- "automations.message.schedule.bulk.unsubscribe.success": "成功! 你已取消訂閱預定嘅電子郵件。",
528
- "automations.message.schedule.bulk.unsubscribe.error": "錯誤! 未能取消訂閱訂嘅電子郵件。",
529
- "automations.message.schedule.pause.success": "成功! 你預定嘅電子郵件已暫停。",
526
+ "automations.message.schedule.bulk.delete.error": "錯誤! 無法刪除已安排的電子郵件。",
527
+ "automations.message.schedule.bulk.unsubscribe.success": "成功! 你已取消訂閱預定的電子郵件。",
528
+ "automations.message.schedule.bulk.unsubscribe.error": "錯誤! 未能取消訂閱訂的電子郵件。",
529
+ "automations.message.schedule.pause.success": "成功! 你預定的電子郵件已暫停。",
530
530
  "automations.message.schedule.pause.error": "錯誤! 無法暫停您的預定電子郵件。",
531
531
  "automations.message.schedule.bulk.pause.success": "成功! 您的計劃電子郵件已暫停。",
532
532
  "automations.message.schedule.bulk.pause.error": "錯誤! 無法暫停您的預定電子郵件。",
533
- "automations.message.schedule.resume.success": "成功! 你預定嘅電子郵件已恢復。",
534
- "automations.message.schedule.resume.error": "錯誤! 無法恢復預定嘅電子郵件。",
535
- "automations.message.schedule.bulk.resume.success": "成功! 你計劃嘅電子郵件已恢復。",
536
- "automations.message.schedule.bulk.resume.error": "錯誤! 無法恢復預定嘅電子郵件。",
533
+ "automations.message.schedule.resume.success": "成功! 你預定的電子郵件已恢復。",
534
+ "automations.message.schedule.resume.error": "錯誤! 無法恢復預定的電子郵件。",
535
+ "automations.message.schedule.bulk.resume.success": "成功! 你計劃的電子郵件已恢復。",
536
+ "automations.message.schedule.bulk.resume.error": "錯誤! 無法恢復預定的電子郵件。",
537
537
  "automations.message.schedule.trigger.success": "成功!您的預約電子郵件已傳送。",
538
538
  "automations.message.schedule.trigger.error": "錯誤!無法傳送您的預約電子郵件。",
539
539
  "automations.message.alert.delete.success": "成功! 您的提醒已刪除。",
@@ -562,13 +562,13 @@ export const zh_HK = {
562
562
  "automations.confirmDialog.unsubscribe.alert.headline": "取消訂閱Alert?",
563
563
  "automations.confirmDialog.unsubscribe.alert.content": "你將取消訂閱警報<b>{title}</b>。",
564
564
  "automations.confirmDialog.bulkDelete.schedule.headline": "刪除計劃?",
565
- "automations.confirmDialog.bulkDelete.schedule.content": "你確定要刪除選定嘅計劃啊?",
565
+ "automations.confirmDialog.bulkDelete.schedule.content": "你確定要刪除選定的計劃啊?",
566
566
  "automations.confirmDialog.bulkDelete.alert.headline": "刪除警報",
567
- "automations.confirmDialog.bulkDelete.alert.content": "你確定要刪除選定嘅警報啊?",
567
+ "automations.confirmDialog.bulkDelete.alert.content": "你確定要刪除選定的警報啊?",
568
568
  "automations.confirmDialog.bulkUnsubscribe.schedule.headline": "取消訂閱時間表?",
569
- "automations.confirmDialog.bulkUnsubscribe.schedule.content": "你確定要取消訂閱選定嘅時間表呀?",
569
+ "automations.confirmDialog.bulkUnsubscribe.schedule.content": "你確定要取消訂閱選定的時間表呀?",
570
570
  "automations.confirmDialog.bulkUnsubscribe.alert.headline": "取消訂閱警報",
571
- "automations.confirmDialog.bulkUnsubscribe.alert.content": "你確定要取消訂閱選定嘅警報呀?",
571
+ "automations.confirmDialog.bulkUnsubscribe.alert.content": "你確定要取消訂閱選定的警報呀?",
572
572
  "automations.confirmDialog.pause.schedule.headline": "暫停計劃?",
573
573
  "automations.confirmDialog.pause.schedule.content": "日程將 <b>{title}</b> 暫停。",
574
574
  "automations.confirmDialog.pause.alert.headline": "暫停警報?",
@@ -578,13 +578,13 @@ export const zh_HK = {
578
578
  "automations.confirmDialog.resume.alert.headline": "簡歷提醒?",
579
579
  "automations.confirmDialog.resume.alert.content": "警報 <b>{title}</b> 將恢復。",
580
580
  "automations.confirmDialog.bulkPause.schedule.headline": "暫停時間表?",
581
- "automations.confirmDialog.bulkPause.schedule.content": "你確定要暫停選定嘅計劃啊?",
581
+ "automations.confirmDialog.bulkPause.schedule.content": "你確定要暫停選定的計劃啊?",
582
582
  "automations.confirmDialog.bulkPause.alert.headline": "暫停警報?",
583
- "automations.confirmDialog.bulkPause.alert.content": "是否確定要暫停選定嘅警報?",
583
+ "automations.confirmDialog.bulkPause.alert.content": "是否確定要暫停選定的警報?",
584
584
  "automations.confirmDialog.bulkResume.schedule.headline": "簡歷時間表?",
585
- "automations.confirmDialog.bulkResume.schedule.content": "你確定要恢復選定嘅計劃啊?",
585
+ "automations.confirmDialog.bulkResume.schedule.content": "你確定要恢復選定的計劃啊?",
586
586
  "automations.confirmDialog.bulkResume.alert.headline": "簡歷提醒?",
587
- "automations.confirmDialog.bulkResume.alert.content": "是否確定要恢復選定嘅警報?",
587
+ "automations.confirmDialog.bulkResume.alert.content": "是否確定要恢復選定的警報?",
588
588
  "automations.confirmDialog.button.delete": "刪除",
589
589
  "automations.confirmDialog.button.confirm": "確認",
590
590
  "automations.confirmDialog.button.cancel": "取消",
@@ -677,7 +677,7 @@ export const zh_Hant = {
677
677
  "properties.conditionalFormatting.dialog.error.valueEmpty": "值不可為空。",
678
678
  "properties.conditionalFormatting.dialog.selectPeriod": "選擇期間",
679
679
  "properties.conditionalFormatting.dialog.error.dateUnresolvable": "此值無法解析。請重新選擇。",
680
- "properties.conditionalFormatting.dateOperator.allTime": "整天",
680
+ "properties.conditionalFormatting.dateOperator.allTime": "所有時間",
681
681
  "properties.conditionalFormatting.dateOperator.isOn": "位於",
682
682
  "properties.conditionalFormatting.dateOperator.isNotOn": "不位於",
683
683
  "properties.conditionalFormatting.dateOperator.isAfter": "晚於",
@@ -1 +1 @@
1
- {"version":3,"file":"insightViewConfig.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/embeddingInsightViewCodeGenerator/insightViewConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAiB,KAAK,OAAO,EAAiB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAWxE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,wBAAgB,oBAAoB,CAChC,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,CAAC,EAAE,SAAS,GACrB,YAAY,CAAC,UAAU,GAAG,YAAY,GAAG,oBAAoB,CAAC,GAAG,SAAS,CAkB5E;AAED,wBAAgB,oBAAoB,CAChC,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,OAAO,GAAG,SAAS,CAAC,GAAG,SAAS,CAS/C"}
1
+ {"version":3,"file":"insightViewConfig.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/embeddingInsightViewCodeGenerator/insightViewConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAiB,KAAK,OAAO,EAAiB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAQxE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGvE;;GAEG;AACH,wBAAgB,oBAAoB,CAChC,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,CAAC,EAAE,SAAS,GACrB,YAAY,CAAC,UAAU,GAAG,YAAY,GAAG,oBAAoB,CAAC,GAAG,SAAS,CAkB5E;AAED,wBAAgB,oBAAoB,CAChC,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,OAAO,GAAG,SAAS,CAAC,GAAG,SAAS,CAS/C"}
@@ -2,7 +2,8 @@
2
2
  import { DefaultLocale, resolveLocale } from "@gooddata/sdk-ui";
3
3
  import { chartConfigFromInsight } from "../../components/pluggableVisualizations/chartCodeGenUtils.js";
4
4
  import { geoConfigForInsightViewComponent, isGeoChart, } from "../../components/pluggableVisualizations/geoChart/geoConfigCodeGenerator.js";
5
- import { isPivotTableNext, pivotTableNextConfigForInsightViewComponent, } from "../../components/pluggableVisualizations/pivotTableNext/pivotTableNextConfigFromInsight.js";
5
+ import { pivotTableNextConfigForInsightViewComponent } from "../../components/pluggableVisualizations/pivotTableNext/pivotTableNextConfigFromInsight.js";
6
+ import { isPivotTableNext } from "../propertiesHelper.js";
6
7
  /**
7
8
  * @internal
8
9
  */
@@ -1,4 +1,4 @@
1
- import { type IInsightDefinition, type ISettings } from "@gooddata/sdk-model";
1
+ import { type IConditionalFormatting, type IInsightDefinition, type ISettings } from "@gooddata/sdk-model";
2
2
  import { type ColumnHeadersPosition, type ColumnWidthItem, type GrandTotalsPosition, type MeasureGroupDimension } from "@gooddata/sdk-ui-pivot";
3
3
  import { type IPagination, type ITextWrapping, type PivotTableNextConditionalFormattingConfig } from "@gooddata/sdk-ui-pivot/next";
4
4
  import { type AxisType } from "../interfaces/AxisType.js";
@@ -27,6 +27,38 @@ export declare function getConditionalFormattingFromProperties(visualizationProp
27
27
  * through this predicate so the enablement rule cannot drift between call sites.
28
28
  */
29
29
  export declare function isConditionalFormattingEnabled(settings: ISettings | undefined): boolean;
30
+ /**
31
+ * Whether `insightDefinition` is (or would render as) the next-gen pivot table — the only
32
+ * visualization conditional formatting applies to. Distinct from {@link isConditionalFormattingEnabled}:
33
+ * that's a workspace-wide flag, this is a per-insight check (so a chart or geo insight never gets
34
+ * mistaken for a pivot table just because the flag happens to be on workspace-wide).
35
+ *
36
+ * @remarks
37
+ * `enableNewPivotTable` defaults to enabled when absent, matching every other check of this flag
38
+ * (the pluggable visualization factory's own routing decision in `BaseVisualization.tsx`, the
39
+ * config panel, the embed dialog) — an unset flag must not make this predicate disagree with what
40
+ * actually gets rendered.
41
+ */
42
+ export declare function isPivotTableNext(insightDefinition: IInsightDefinition, settings: ISettings | undefined): boolean;
43
+ /**
44
+ * Every semantic-layer (inherited) conditional formatting gate — the engine's own inheritance and
45
+ * the panel's "From semantic layer" block — must go through this predicate, mirroring
46
+ * {@link isConditionalFormattingEnabled}. Deliberately independent of it: a workspace can inherit
47
+ * semantic-layer rules without exposing insight-level CF authoring, or vice versa. Pivot-table-next
48
+ * only, like every other CF check, so it also requires `enableNewPivotTable` (default enabled,
49
+ * matching the flag's convention everywhere else it's checked).
50
+ */
51
+ export declare function isSemanticConditionalFormattingEnabled(settings: ISettings | undefined): boolean;
52
+ /**
53
+ * The conditional formatting config that should currently apply to an insight: gated behind the
54
+ * feature flag and behind the insight actually being a next-gen pivot table (disabled/not-a-pivot-
55
+ * table means no config at all, so there is no UI to edit rules a viewer can't see take effect, and
56
+ * a chart/geo export never picks up stale CF left over from a since-changed visualization type),
57
+ * preferring a runtime override (e.g. InsightView's config prop) over the insight's own saved rules.
58
+ *
59
+ * @internal
60
+ */
61
+ export declare function getEffectiveConditionalFormatting(insight: IInsightDefinition, settings: ISettings | undefined, configOverride?: IConditionalFormatting): IConditionalFormatting | undefined;
30
62
  export declare function getPageSizeFromProperties(visualizationProperties: IVisualizationProperties): number | undefined;
31
63
  export declare function getMeasureGroupDimensionFromProperties(visualizationProperties: IVisualizationProperties): MeasureGroupDimension;
32
64
  export declare function getColumnHeadersPositionFromProperties(visualizationProperties: IVisualizationProperties): ColumnHeadersPosition;
@@ -1 +1 @@
1
- {"version":3,"file":"propertiesHelper.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/propertiesHelper.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,SAAS,EAAkC,MAAM,qBAAqB,CAAC;AAE9G,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,yCAAyC,EACjD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,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,wBAAwB;;;;;EAahG"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
2
  // eslint-disable-next-line no-restricted-imports
3
3
  import { cloneDeep, get, has, isEmpty, set } from "lodash-es";
4
- import { bucketsIsEmpty, insightBuckets } from "@gooddata/sdk-model";
4
+ import { bucketsIsEmpty, insightBuckets, insightProperties, insightVisualizationUrl, } from "@gooddata/sdk-model";
5
5
  import { BucketNames } from "@gooddata/sdk-ui";
6
6
  import { AXIS } from "../constants/axis.js";
7
7
  import { PROPERTY_CONTROLS } from "../constants/properties.js";
@@ -197,6 +197,48 @@ export function getConditionalFormattingFromProperties(visualizationProperties)
197
197
  export function isConditionalFormattingEnabled(settings) {
198
198
  return settings?.enableConditionalFormatting ?? false;
199
199
  }
200
+ /**
201
+ * Whether `insightDefinition` is (or would render as) the next-gen pivot table — the only
202
+ * visualization conditional formatting applies to. Distinct from {@link isConditionalFormattingEnabled}:
203
+ * that's a workspace-wide flag, this is a per-insight check (so a chart or geo insight never gets
204
+ * mistaken for a pivot table just because the flag happens to be on workspace-wide).
205
+ *
206
+ * @remarks
207
+ * `enableNewPivotTable` defaults to enabled when absent, matching every other check of this flag
208
+ * (the pluggable visualization factory's own routing decision in `BaseVisualization.tsx`, the
209
+ * config panel, the embed dialog) — an unset flag must not make this predicate disagree with what
210
+ * actually gets rendered.
211
+ */
212
+ export function isPivotTableNext(insightDefinition, settings) {
213
+ const uri = insightVisualizationUrl(insightDefinition);
214
+ return (settings?.enableNewPivotTable ?? true) && uri === "local:table";
215
+ }
216
+ /**
217
+ * Every semantic-layer (inherited) conditional formatting gate — the engine's own inheritance and
218
+ * the panel's "From semantic layer" block — must go through this predicate, mirroring
219
+ * {@link isConditionalFormattingEnabled}. Deliberately independent of it: a workspace can inherit
220
+ * semantic-layer rules without exposing insight-level CF authoring, or vice versa. Pivot-table-next
221
+ * only, like every other CF check, so it also requires `enableNewPivotTable` (default enabled,
222
+ * matching the flag's convention everywhere else it's checked).
223
+ */
224
+ export function isSemanticConditionalFormattingEnabled(settings) {
225
+ return ((settings?.enableSemanticConditionalFormatting ?? false) && (settings?.enableNewPivotTable ?? true));
226
+ }
227
+ /**
228
+ * The conditional formatting config that should currently apply to an insight: gated behind the
229
+ * feature flag and behind the insight actually being a next-gen pivot table (disabled/not-a-pivot-
230
+ * table means no config at all, so there is no UI to edit rules a viewer can't see take effect, and
231
+ * a chart/geo export never picks up stale CF left over from a since-changed visualization type),
232
+ * preferring a runtime override (e.g. InsightView's config prop) over the insight's own saved rules.
233
+ *
234
+ * @internal
235
+ */
236
+ export function getEffectiveConditionalFormatting(insight, settings, configOverride) {
237
+ if (!isConditionalFormattingEnabled(settings) || !isPivotTableNext(insight, settings)) {
238
+ return undefined;
239
+ }
240
+ return configOverride ?? getConditionalFormattingFromProperties(insightProperties(insight));
241
+ }
200
242
  export function getPageSizeFromProperties(visualizationProperties) {
201
243
  const pageSize = visualizationProperties?.controls?.["pageSize"];
202
244
  return typeof pageSize === "number" ? pageSize : undefined;
package/esm/locales.d.ts CHANGED
@@ -1018,7 +1018,7 @@ export declare const conditionalFormattingMessages: {
1018
1018
  ruleDelete: {
1019
1019
  id: string;
1020
1020
  };
1021
- ruleView: {
1021
+ semanticToggleAriaLabel: {
1022
1022
  id: string;
1023
1023
  };
1024
1024
  dialogAddTitle: {
@@ -1027,7 +1027,16 @@ export declare const conditionalFormattingMessages: {
1027
1027
  dialogEditTitle: {
1028
1028
  id: string;
1029
1029
  };
1030
- dialogViewTitle: {
1030
+ dialogRuleTitle: {
1031
+ id: string;
1032
+ };
1033
+ dialogUseDefaultRule: {
1034
+ id: string;
1035
+ };
1036
+ dialogUseDefaultRuleInfo: {
1037
+ id: string;
1038
+ };
1039
+ dialogRuleCannotBeDeleted: {
1031
1040
  id: string;
1032
1041
  };
1033
1042
  dialogTarget: {
@@ -1 +1 @@
1
- {"version":3,"file":"locales.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;;;;;;;;;;;;;;;;;;;CAuCxC,CAAC;AAEH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,6BAA6B,EAAE,iBAAiB,CAmBrG,CAAC;AAEP,wGAAsG;AACtG,eAAO,MAAM,yCAAyC,EAAE,OAAO,CAC3D,MAAM,CAAC,6BAA6B,EAAE,iBAAiB,CAAC,CAS1D,CAAC"}
package/esm/locales.js CHANGED
@@ -490,10 +490,13 @@ export const conditionalFormattingMessages = defineMessages({
490
490
  ruleInvalidValue: { id: "properties.conditionalFormatting.rule.invalidValue" },
491
491
  ruleEdit: { id: "properties.conditionalFormatting.rule.edit" },
492
492
  ruleDelete: { id: "properties.conditionalFormatting.rule.delete" },
493
- ruleView: { id: "properties.conditionalFormatting.rule.view" },
493
+ semanticToggleAriaLabel: { id: "properties.conditionalFormatting.semanticToggleAriaLabel" },
494
494
  dialogAddTitle: { id: "properties.conditionalFormatting.dialog.addTitle" },
495
495
  dialogEditTitle: { id: "properties.conditionalFormatting.dialog.editTitle" },
496
- dialogViewTitle: { id: "properties.conditionalFormatting.dialog.viewTitle" },
496
+ dialogRuleTitle: { id: "properties.conditionalFormatting.dialog.ruleTitle" },
497
+ dialogUseDefaultRule: { id: "properties.conditionalFormatting.dialog.useDefaultRule" },
498
+ dialogUseDefaultRuleInfo: { id: "properties.conditionalFormatting.dialog.useDefaultRuleInfo" },
499
+ dialogRuleCannotBeDeleted: { id: "properties.conditionalFormatting.dialog.ruleCannotBeDeleted" },
497
500
  dialogTarget: { id: "properties.conditionalFormatting.dialog.target" },
498
501
  dialogSelectTarget: { id: "properties.conditionalFormatting.dialog.selectTarget" },
499
502
  dialogCondition: { id: "properties.conditionalFormatting.dialog.condition" },