@gooddata/sdk-ui-dashboard 11.65.0-alpha.7 → 11.65.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/NOTICE +3 -91
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/index.d.ts +3 -2
  5. package/esm/index.d.ts.map +1 -1
  6. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
  7. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +8 -7
  8. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
  9. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +19 -28
  10. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  11. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +4 -5
  12. package/esm/model/commandHandlers/filterContext/attributeFilter/replaceAttributeFilterItemSelectionHandler.d.ts.map +1 -1
  13. package/esm/model/commandHandlers/filterContext/attributeFilter/replaceAttributeFilterItemSelectionHandler.js +14 -15
  14. package/esm/model/commandHandlers/filterContext/attributeFilter/resolveDisplayFormMetadata.d.ts +4 -1
  15. package/esm/model/commandHandlers/filterContext/attributeFilter/resolveDisplayFormMetadata.d.ts.map +1 -1
  16. package/esm/model/commandHandlers/filterContext/attributeFilter/resolveDisplayFormMetadata.js +11 -2
  17. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  18. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +23 -45
  19. package/esm/model/commandHandlers/filterContext/common.d.ts +6 -5
  20. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/filterContext/common.js +12 -18
  22. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  23. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +30 -36
  24. package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterConditionHandler.d.ts.map +1 -1
  25. package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterConditionHandler.js +11 -17
  26. package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.d.ts.map +1 -1
  27. package/esm/model/commandHandlers/filterContext/measureValueFilter/changeMeasureValueFilterDimensionalityHandler.js +7 -10
  28. package/esm/model/commandHandlers/filterContext/tabSync/expandActionsForTabSync.d.ts +15 -0
  29. package/esm/model/commandHandlers/filterContext/tabSync/expandActionsForTabSync.d.ts.map +1 -0
  30. package/esm/model/commandHandlers/filterContext/tabSync/expandActionsForTabSync.js +88 -0
  31. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts +11 -0
  32. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -0
  33. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +335 -0
  34. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncSaga.d.ts +52 -0
  35. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncSaga.d.ts.map +1 -0
  36. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncSaga.js +60 -0
  37. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncScope.d.ts +69 -0
  38. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncScope.d.ts.map +1 -0
  39. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncScope.js +2 -0
  40. package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.d.ts +2 -1
  41. package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.d.ts.map +1 -1
  42. package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.js +41 -10
  43. package/esm/model/commands/parameters.d.ts +11 -1
  44. package/esm/model/commands/parameters.d.ts.map +1 -1
  45. package/esm/model/commands/parameters.js +2 -1
  46. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.d.ts +75 -5
  47. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.d.ts.map +1 -1
  48. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.js +35 -60
  49. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsReducers.js +1 -1
  50. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +139 -31
  51. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  52. package/esm/model/store/tabs/filterContext/filterContextReducers.js +314 -529
  53. package/esm/model/store/tabs/filterContext/filterSync.d.ts +35 -13
  54. package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
  55. package/esm/model/store/tabs/filterContext/filterSync.js +79 -58
  56. package/esm/model/store/tabs/index.d.ts +10 -12
  57. package/esm/model/store/tabs/index.d.ts.map +1 -1
  58. package/esm/model/store/tabs/layout/layoutReducers.d.ts +1 -0
  59. package/esm/model/store/tabs/layout/layoutReducers.d.ts.map +1 -1
  60. package/esm/model/store/tabs/measureValueFilterConfigs/measureValueFilterConfigsReducers.d.ts.map +1 -1
  61. package/esm/model/store/tabs/parameters/parametersReducers.d.ts +0 -5
  62. package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
  63. package/esm/model/store/tabs/parameters/parametersReducers.js +8 -7
  64. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +7 -0
  65. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  66. package/esm/model/store/tabs/parameters/parametersSelectors.js +16 -0
  67. package/esm/model/store/tabs/tabsReducers.d.ts +8 -4
  68. package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
  69. package/esm/model/store/tabs/tabsReducers.js +15 -18
  70. package/esm/model/store/tabs/tabsState.d.ts +0 -10
  71. package/esm/model/store/tabs/tabsState.d.ts.map +1 -1
  72. package/esm/model/store/tabs/tabsState.js +0 -20
  73. package/esm/model/utils/attributeFilterMatching.d.ts +10 -0
  74. package/esm/model/utils/attributeFilterMatching.d.ts.map +1 -1
  75. package/esm/model/utils/attributeFilterMatching.js +14 -3
  76. package/esm/model/utils/attributeFilterSelectionTypeCompatibility.d.ts +8 -0
  77. package/esm/model/utils/attributeFilterSelectionTypeCompatibility.d.ts.map +1 -1
  78. package/esm/model/utils/attributeFilterSelectionTypeCompatibility.js +14 -4
  79. package/esm/presentation/dashboard/components/DashboardInner.js +1 -1
  80. package/esm/presentation/dashboard/components/DashboardInteractionComposing.d.ts +2 -1
  81. package/esm/presentation/dashboard/components/DashboardInteractionComposing.d.ts.map +1 -1
  82. package/esm/presentation/dashboard/components/DashboardInteractionComposing.js +9 -4
  83. package/esm/presentation/dashboard/types.d.ts +5 -0
  84. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  85. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
  86. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +4 -1
  87. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +4 -0
  88. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  89. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +4 -0
  90. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
  91. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +10 -1
  92. package/esm/sdk-ui-dashboard.d.ts +262 -43
  93. package/package.json +21 -21
  94. package/styles/css/dashboard.css +10 -2
  95. package/styles/css/dashboard.css.map +1 -1
  96. package/styles/css/main.css +10 -2
  97. package/styles/css/main.css.map +1 -1
  98. package/styles/scss/dashboard.scss +11 -2
@@ -2035,7 +2035,7 @@ export declare function changeNestedLayoutSectionHeader(index: ILayoutSectionPat
2035
2035
  * @param params - params for the command creator
2036
2036
  * @internal
2037
2037
  */
2038
- export declare function changeParameterValues({ parameters, tabLocalIdentifier, correlationId, }: ChangeParameterValuesParams): IChangeParameterValues;
2038
+ export declare function changeParameterValues({ parameters, tabLocalIdentifier, correlationId, restorePerTabOriginals, }: ChangeParameterValuesParams): IChangeParameterValues;
2039
2039
 
2040
2040
  /**
2041
2041
  * Params for {@link changeParameterValues} command.
@@ -2049,6 +2049,10 @@ export declare type ChangeParameterValuesParams = {
2049
2049
  */
2050
2050
  tabLocalIdentifier?: string;
2051
2051
  correlationId?: string;
2052
+ /**
2053
+ * See {@link IChangeParameterValuesPayload.restorePerTabOriginals}.
2054
+ */
2055
+ restorePerTabOriginals?: boolean;
2052
2056
  };
2053
2057
 
2054
2058
  /**
@@ -6519,6 +6523,11 @@ export declare interface IAddAttributeFilterPayload {
6519
6523
  readonly selectionMode?: DashboardAttributeFilterSelectionMode;
6520
6524
  readonly localIdentifier?: string;
6521
6525
  readonly title?: string;
6526
+ /**
6527
+ * Optional tab local identifier to target a specific tab.
6528
+ * If not provided, the active tab will be used.
6529
+ */
6530
+ readonly tabLocalIdentifier?: string;
6522
6531
  }
6523
6532
 
6524
6533
  /**
@@ -6546,6 +6555,19 @@ export declare interface IAddDateFilterPayload {
6546
6555
  readonly dateDataset: ObjRef;
6547
6556
  }
6548
6557
 
6558
+ /**
6559
+ * @internal
6560
+ */
6561
+ export declare interface IAddDateFilterReducerPayload {
6562
+ readonly index: number;
6563
+ readonly dateDataset: ObjRef;
6564
+ /**
6565
+ * Optional tab local identifier to target a specific tab.
6566
+ * If not provided, the active tab will be used.
6567
+ */
6568
+ readonly tabLocalIdentifier?: string;
6569
+ }
6570
+
6549
6571
  /**
6550
6572
  * @alpha
6551
6573
  */
@@ -6671,6 +6693,21 @@ export declare interface IAddMeasureValueFilterPayload {
6671
6693
  readonly mode?: DashboardAttributeFilterConfigMode;
6672
6694
  }
6673
6695
 
6696
+ /**
6697
+ * @internal
6698
+ */
6699
+ export declare interface IAddMeasureValueFilterReducerPayload {
6700
+ readonly index: number;
6701
+ readonly measure: ObjRef;
6702
+ readonly localIdentifier?: string;
6703
+ readonly title?: string;
6704
+ /**
6705
+ * Optional tab local identifier to target a specific tab.
6706
+ * If not provided, the active tab will be used.
6707
+ */
6708
+ readonly tabLocalIdentifier?: string;
6709
+ }
6710
+
6674
6711
  /**
6675
6712
  * Add a parameter to the active tab. Initial `runtimeOverride` is `parameter.value`
6676
6713
  * (when pinned) otherwise the workspace default supplied by the caller.
@@ -6784,6 +6821,11 @@ export declare interface IAddTextAttributeFilterPayload {
6784
6821
  export declare interface IAddTextAttributeFilterReducerPayload {
6785
6822
  readonly filter: DashboardTextAttributeFilter;
6786
6823
  readonly index: number;
6824
+ /**
6825
+ * Optional tab local identifier to target a specific tab.
6826
+ * If not provided, the active tab will be used.
6827
+ */
6828
+ readonly tabLocalIdentifier?: string;
6787
6829
  }
6788
6830
 
6789
6831
  /**
@@ -7807,10 +7849,14 @@ export declare interface IApplyFilterViewPayload {
7807
7849
  export declare interface IApplyWorkingSelectionPayload {
7808
7850
  readonly enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean;
7809
7851
  /**
7810
- * Cross-filtering virtual filters per tab. They are not mirrored to or from other tabs.
7852
+ * Tab to apply. When omitted, the active tab is used.
7853
+ */
7854
+ readonly tabLocalIdentifier?: string;
7855
+ /**
7856
+ * Values another tab committed. When set, they are written onto the tab instead of committing
7857
+ * its own staged values.
7811
7858
  */
7812
- readonly crossFilteringLocalIdsByTab?: CrossFilteringLocalIdsByTab;
7813
- readonly enablePersistentFiltersAcrossTabs?: boolean;
7859
+ readonly mirroredSelection?: IMirroredSelection;
7814
7860
  }
7815
7861
 
7816
7862
  /**
@@ -8641,6 +8687,72 @@ export declare interface IChangeAttributeDisplayFormPayload {
8641
8687
  * If not provided, the active tab will be used.
8642
8688
  */
8643
8689
  readonly tabLocalIdentifier?: string;
8690
+ /**
8691
+ * When true, tabs this change is synced to restore their own saved display form instead of this payload.
8692
+ */
8693
+ readonly restoreTargetOriginal?: boolean;
8694
+ }
8695
+
8696
+ /**
8697
+ * @internal
8698
+ */
8699
+ export declare interface IChangeAttributeFilterConfigModePayload {
8700
+ /**
8701
+ * Local identifier of the filter to change mode.
8702
+ */
8703
+ localIdentifier: string;
8704
+ /**
8705
+ * Mode of the attribute filter.
8706
+ */
8707
+ mode?: DashboardAttributeFilterConfigMode;
8708
+ /**
8709
+ * Optional tab local identifier to target a specific tab.
8710
+ * If not provided, the active tab will be used.
8711
+ */
8712
+ tabLocalIdentifier?: string;
8713
+ }
8714
+
8715
+ /**
8716
+ * @internal
8717
+ */
8718
+ export declare interface IChangeAttributeFilterDisplayAsLabelPayload {
8719
+ /**
8720
+ * Local identifier of the filter to change display as label (= display form).
8721
+ */
8722
+ localIdentifier: string;
8723
+ /**
8724
+ * Display as label of the attribute filter. Used to present filter in UI
8725
+ */
8726
+ displayAsLabel: ObjRef | undefined;
8727
+ /**
8728
+ * Optional tab local identifier to target a specific tab.
8729
+ * If not provided, the active tab will be used.
8730
+ */
8731
+ tabLocalIdentifier?: string;
8732
+ /**
8733
+ * When true, tabs this change is synced to restore their own saved display as label instead of this payload.
8734
+ */
8735
+ restoreTargetOriginal?: boolean;
8736
+ }
8737
+
8738
+ /**
8739
+ * @internal
8740
+ */
8741
+ export declare interface IChangeAttributeFilterSelectionTypePayload {
8742
+ /**
8743
+ * Local identifier of the filter to change available mode.
8744
+ */
8745
+ localIdentifier: string;
8746
+ /**
8747
+ * Available mode of the attribute filter — controls which presentation modes
8748
+ * (list, text, or both) are available to the user in Dashboard View mode.
8749
+ */
8750
+ selectionType?: DashboardAttributeFilterSelectionType;
8751
+ /**
8752
+ * Optional tab local identifier to target a specific tab.
8753
+ * If not provided, the active tab will be used.
8754
+ */
8755
+ tabLocalIdentifier?: string;
8644
8756
  }
8645
8757
 
8646
8758
  /**
@@ -8649,6 +8761,11 @@ export declare interface IChangeAttributeDisplayFormPayload {
8649
8761
  export declare interface IChangeAttributeLimitingItemsPayload {
8650
8762
  readonly filterLocalId: string;
8651
8763
  readonly limitingItems: ObjRef[];
8764
+ /**
8765
+ * Optional tab local identifier to target a specific tab.
8766
+ * If not provided, the active tab will be used.
8767
+ */
8768
+ readonly tabLocalIdentifier?: string;
8652
8769
  }
8653
8770
 
8654
8771
  /**
@@ -8657,6 +8774,11 @@ export declare interface IChangeAttributeLimitingItemsPayload {
8657
8774
  export declare interface IChangeAttributeSelectionModePayload {
8658
8775
  readonly filterLocalId: string;
8659
8776
  readonly selectionMode: DashboardAttributeFilterSelectionMode;
8777
+ /**
8778
+ * Optional tab local identifier to target a specific tab.
8779
+ * If not provided, the active tab will be used.
8780
+ */
8781
+ readonly tabLocalIdentifier?: string;
8660
8782
  }
8661
8783
 
8662
8784
  /**
@@ -8665,6 +8787,11 @@ export declare interface IChangeAttributeSelectionModePayload {
8665
8787
  export declare interface IChangeAttributeTitlePayload {
8666
8788
  readonly filterLocalId: string;
8667
8789
  readonly title?: string;
8790
+ /**
8791
+ * Optional tab local identifier to target a specific tab.
8792
+ * If not provided, the active tab will be used.
8793
+ */
8794
+ readonly tabLocalIdentifier?: string;
8668
8795
  }
8669
8796
 
8670
8797
  /**
@@ -9137,9 +9264,13 @@ export declare type IChangeMeasureValueFilterConditionReducerPayload = {
9137
9264
  readonly localIdentifier: string;
9138
9265
  readonly conditions?: MeasureValueFilterCondition[];
9139
9266
  readonly isWorkingSelectionChange?: boolean;
9140
- readonly enablePersistentFiltersAcrossTabs?: boolean;
9141
9267
  /**
9142
- * When true, other tabs restore their own saved initial condition instead of this payload.
9268
+ * Optional tab local identifier to target a specific tab.
9269
+ * If not provided, the active tab will be used.
9270
+ */
9271
+ readonly tabLocalIdentifier?: string;
9272
+ /**
9273
+ * When true, tabs this change is synced to restore their own saved initial condition instead of this payload.
9143
9274
  */
9144
9275
  readonly restoreTargetOriginal?: boolean;
9145
9276
  };
@@ -9152,6 +9283,19 @@ export declare interface IChangeMeasureValueFilterConfigModePayload {
9152
9283
  mode?: DashboardAttributeFilterConfigMode;
9153
9284
  }
9154
9285
 
9286
+ /**
9287
+ * @internal
9288
+ */
9289
+ export declare interface IChangeMeasureValueFilterTitleReducerPayload {
9290
+ readonly filterLocalId: string;
9291
+ readonly title?: string;
9292
+ /**
9293
+ * Optional tab local identifier to target a specific tab.
9294
+ * If not provided, the active tab will be used.
9295
+ */
9296
+ readonly tabLocalIdentifier?: string;
9297
+ }
9298
+
9155
9299
  /**
9156
9300
  * Command for setting runtime parameter overrides.
9157
9301
  *
@@ -9173,6 +9317,12 @@ export declare interface IChangeParameterValues extends IDashboardCommand {
9173
9317
  export declare interface IChangeParameterValuesPayload {
9174
9318
  readonly parameters: IParameterValueChange[];
9175
9319
  readonly tabLocalIdentifier?: string;
9320
+ /**
9321
+ * When true, tabs other than the one this command addresses reset the parameters that tab
9322
+ * defines to their own reset values instead of receiving this payload. Used by filter reset
9323
+ * when filters are persisted across tabs.
9324
+ */
9325
+ readonly restorePerTabOriginals?: boolean;
9176
9326
  }
9177
9327
 
9178
9328
  /**
@@ -9300,14 +9450,14 @@ export declare interface IClearAttributeFiltersSelectionPayload {
9300
9450
  */
9301
9451
  readonly tabLocalIdentifier?: string;
9302
9452
  /**
9303
- * When true, other tabs restore their own saved initial selection instead of clearing to All.
9453
+ * When true, tabs this change is synced to restore their own saved initial selection instead of clearing to All.
9304
9454
  */
9305
9455
  readonly restoreTargetOriginal?: boolean;
9306
9456
  /**
9307
- * Cross-filtering virtual filters per tab. They are not mirrored to or from other tabs.
9457
+ * When true, each filter is set to the saved initial selection of this tab instead of All.
9458
+ * A filter without a saved initial selection is left unchanged.
9308
9459
  */
9309
- readonly crossFilteringLocalIdsByTab?: CrossFilteringLocalIdsByTab;
9310
- readonly enablePersistentFiltersAcrossTabs?: boolean;
9460
+ readonly restoreOriginal?: boolean;
9311
9461
  }
9312
9462
 
9313
9463
  /**
@@ -14132,6 +14282,11 @@ export declare type IDashboardPluginContract_V1 = DashboardPluginDescriptor & {
14132
14282
  */
14133
14283
  export declare interface IDashboardProps extends IDashboardBaseProps, IDashboardExtensionProps {
14134
14284
  children?: ReactElement | ((dashboard: any) => ReactElement);
14285
+ /**
14286
+ * Open the assistant on the active conversation when it is waiting for a user response.
14287
+ * @internal
14288
+ */
14289
+ onReplyInChat?: () => void;
14135
14290
  /**
14136
14291
  * Override the persisted dashboard. This is mainly useful for internal use cases.
14137
14292
  * @internal
@@ -17762,6 +17917,25 @@ export declare interface IMetricsAndFacts {
17762
17917
  facts: ICatalogFact[];
17763
17918
  }
17764
17919
 
17920
+ /**
17921
+ * @internal
17922
+ */
17923
+ export declare interface IMirroredParameterValue {
17924
+ readonly ref: ObjRef;
17925
+ readonly value: ParameterValue | undefined;
17926
+ }
17927
+
17928
+ /**
17929
+ * Applied filter and parameter values committed on another tab, already fitted to the tab
17930
+ * they are written to.
17931
+ *
17932
+ * @internal
17933
+ */
17934
+ export declare interface IMirroredSelection {
17935
+ readonly filters: readonly FilterContextItem[];
17936
+ readonly parameters: readonly IMirroredParameterValue[];
17937
+ }
17938
+
17765
17939
  /**
17766
17940
  * @alpha
17767
17941
  */
@@ -17858,6 +18032,11 @@ export declare interface IMoveAttributeFilter extends IDashboardCommand {
17858
18032
  export declare interface IMoveAttributeFilterPayload {
17859
18033
  readonly filterLocalId: string;
17860
18034
  readonly index: number;
18035
+ /**
18036
+ * Optional tab local identifier to target a specific tab.
18037
+ * If not provided, the active tab will be used.
18038
+ */
18039
+ readonly tabLocalIdentifier?: string;
17861
18040
  }
17862
18041
 
17863
18042
  /**
@@ -17874,6 +18053,11 @@ export declare interface IMoveDateFilter extends IDashboardCommand {
17874
18053
  export declare interface IMoveDateFilterPayload {
17875
18054
  readonly dataSet: ObjRef;
17876
18055
  readonly index: number;
18056
+ /**
18057
+ * Optional tab local identifier to target a specific tab.
18058
+ * If not provided, the active tab will be used.
18059
+ */
18060
+ readonly tabLocalIdentifier?: string;
17877
18061
  }
17878
18062
 
17879
18063
  /**
@@ -17929,6 +18113,11 @@ export declare interface IMoveMeasureValueFilter extends IDashboardCommand {
17929
18113
  export declare interface IMoveMeasureValueFilterPayload {
17930
18114
  readonly localIdentifier: string;
17931
18115
  readonly index: number;
18116
+ /**
18117
+ * Optional tab local identifier to target a specific tab.
18118
+ * If not provided, the active tab will be used.
18119
+ */
18120
+ readonly tabLocalIdentifier?: string;
17932
18121
  }
17933
18122
 
17934
18123
  /**
@@ -18765,11 +18954,40 @@ export declare interface IReloadFilterViews extends IDashboardCommand {
18765
18954
  readonly type: "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.RELOAD";
18766
18955
  }
18767
18956
 
18957
+ /**
18958
+ * @internal
18959
+ */
18960
+ export declare interface IRemoveAttributeFilterConfigPayload {
18961
+ readonly localIdentifier: string;
18962
+ /**
18963
+ * Optional tab local identifier to target a specific tab.
18964
+ * If not provided, the active tab will be used.
18965
+ */
18966
+ readonly tabLocalIdentifier?: string;
18967
+ }
18968
+
18969
+ /**
18970
+ * @internal
18971
+ */
18972
+ export declare interface IRemoveAttributeFilterDisplayFormsPayload {
18973
+ readonly displayForm: ObjRef;
18974
+ /**
18975
+ * Optional tab local identifier to target a specific tab.
18976
+ * If not provided, the active tab will be used.
18977
+ */
18978
+ readonly tabLocalIdentifier?: string;
18979
+ }
18980
+
18768
18981
  /**
18769
18982
  * @internal
18770
18983
  */
18771
18984
  export declare interface IRemoveAttributeFilterPayload {
18772
18985
  readonly filterLocalId: string;
18986
+ /**
18987
+ * Optional tab local identifier to target a specific tab.
18988
+ * If not provided, the active tab will be used.
18989
+ */
18990
+ readonly tabLocalIdentifier?: string;
18773
18991
  }
18774
18992
 
18775
18993
  /**
@@ -18797,6 +19015,11 @@ export declare interface IRemoveAttributeFiltersPayload {
18797
19015
  */
18798
19016
  export declare interface IRemoveDateFilterPayload {
18799
19017
  readonly dataSet: ObjRef;
19018
+ /**
19019
+ * Optional tab local identifier to target a specific tab.
19020
+ * If not provided, the active tab will be used.
19021
+ */
19022
+ readonly tabLocalIdentifier?: string;
18800
19023
  }
18801
19024
 
18802
19025
  /**
@@ -18956,6 +19179,11 @@ export declare type IRemoveMeasureValueFilter = IRemoveMeasureValueFilters;
18956
19179
  */
18957
19180
  export declare interface IRemoveMeasureValueFilterReducerPayload {
18958
19181
  readonly localIdentifier: string;
19182
+ /**
19183
+ * Optional tab local identifier to target a specific tab.
19184
+ * If not provided, the active tab will be used.
19185
+ */
19186
+ readonly tabLocalIdentifier?: string;
18959
19187
  }
18960
19188
 
18961
19189
  /**
@@ -19218,20 +19446,15 @@ export declare interface IReplaceAttributeFilterItemPayload {
19218
19446
  readonly filter: DashboardAttributeFilterItem;
19219
19447
  readonly isWorkingSelectionChange?: boolean;
19220
19448
  readonly isSelectionInvalid?: boolean;
19221
- readonly enablePersistentFiltersAcrossTabs?: boolean;
19222
19449
  /**
19223
19450
  * Optional tab local identifier to target a specific tab.
19224
19451
  * If not provided, the active tab will be used.
19225
19452
  */
19226
19453
  readonly tabLocalIdentifier?: string;
19227
19454
  /**
19228
- * When true, other tabs restore their own saved initial filter instead of this payload.
19455
+ * When true, tabs this change is synced to restore their own saved initial filter instead of this payload.
19229
19456
  */
19230
19457
  readonly restoreTargetOriginal?: boolean;
19231
- /**
19232
- * Cross-filtering virtual filters per tab. They are not mirrored to or from other tabs.
19233
- */
19234
- readonly crossFilteringLocalIdsByTab?: CrossFilteringLocalIdsByTab;
19235
19458
  }
19236
19459
 
19237
19460
  /**
@@ -22284,6 +22507,11 @@ export declare interface ISetAttributeFilterDependentDateFilters extends IDashbo
22284
22507
  export declare interface ISetAttributeFilterDependentDateFiltersPayload {
22285
22508
  readonly filterLocalId: string;
22286
22509
  readonly dependentDateFilters: ReadonlyArray<IDashboardAttributeFilterByDate>;
22510
+ /**
22511
+ * Optional tab local identifier to target a specific tab.
22512
+ * If not provided, the active tab will be used.
22513
+ */
22514
+ readonly tabLocalIdentifier?: string;
22287
22515
  }
22288
22516
 
22289
22517
  /**
@@ -22342,6 +22570,11 @@ export declare interface ISetAttributeFilterParents extends IDashboardCommand {
22342
22570
  export declare interface ISetAttributeFilterParentsPayload {
22343
22571
  readonly filterLocalId: string;
22344
22572
  readonly parentFilters: ReadonlyArray<IDashboardAttributeFilterParent>;
22573
+ /**
22574
+ * Optional tab local identifier to target a specific tab.
22575
+ * If not provided, the active tab will be used.
22576
+ */
22577
+ readonly tabLocalIdentifier?: string;
22345
22578
  }
22346
22579
 
22347
22580
  /**
@@ -22665,13 +22898,8 @@ export declare interface ISetParameterRuntimeValuesPayload {
22665
22898
  values: IParameterValueChange[];
22666
22899
  /**
22667
22900
  * Target tab. When omitted, the active tab is used.
22668
- * With `enablePersistentFiltersAcrossTabs`, this tab is the source and every other tab is written too.
22669
22901
  */
22670
22902
  tabLocalIdentifier?: string;
22671
- /**
22672
- * When true, write the values onto every tab. A tab that does not define the parameter is unchanged.
22673
- */
22674
- enablePersistentFiltersAcrossTabs?: boolean;
22675
22903
  }
22676
22904
 
22677
22905
  /**
@@ -23722,14 +23950,9 @@ export declare interface IUpdateAttributeFilterSelectionPayload {
23722
23950
  */
23723
23951
  readonly tabLocalIdentifier?: string;
23724
23952
  /**
23725
- * When true, other tabs restore their own saved initial selection instead of this payload.
23953
+ * When true, tabs this change is synced to restore their own saved initial selection instead of this payload.
23726
23954
  */
23727
23955
  readonly restoreTargetOriginal?: boolean;
23728
- /**
23729
- * Cross-filtering virtual filters per tab. They are not mirrored to or from other tabs.
23730
- */
23731
- readonly crossFilteringLocalIdsByTab?: CrossFilteringLocalIdsByTab;
23732
- readonly enablePersistentFiltersAcrossTabs?: boolean;
23733
23956
  }
23734
23957
 
23735
23958
  /**
@@ -23764,14 +23987,13 @@ export declare interface IUpsertDateFilterAllTimePayload {
23764
23987
  readonly isWorkingSelectionChange?: boolean;
23765
23988
  readonly localIdentifier?: string;
23766
23989
  readonly emptyValueHandling?: EmptyValues;
23767
- readonly enablePersistentFiltersAcrossTabs?: boolean;
23768
23990
  /**
23769
23991
  * Optional tab local identifier to target a specific tab.
23770
23992
  * If not provided, the active tab will be used.
23771
23993
  */
23772
23994
  readonly tabLocalIdentifier?: string;
23773
23995
  /**
23774
- * When true, other tabs restore their own saved initial date filter instead of this payload.
23996
+ * When true, tabs this change is synced to restore their own saved initial date filter instead of this payload.
23775
23997
  */
23776
23998
  readonly restoreTargetOriginal?: boolean;
23777
23999
  }
@@ -23789,14 +24011,13 @@ export declare interface IUpsertDateFilterNonAllTimePayload {
23789
24011
  readonly localIdentifier?: string;
23790
24012
  readonly boundedFilter?: IUpperBoundedFilter | ILowerBoundedFilter;
23791
24013
  readonly emptyValueHandling?: EmptyValues;
23792
- readonly enablePersistentFiltersAcrossTabs?: boolean;
23793
24014
  /**
23794
24015
  * Optional tab local identifier to target a specific tab.
23795
24016
  * If not provided, the active tab will be used.
23796
24017
  */
23797
24018
  readonly tabLocalIdentifier?: string;
23798
24019
  /**
23799
- * When true, other tabs restore their own saved initial date filter instead of this payload.
24020
+ * When true, tabs this change is synced to restore their own saved initial date filter instead of this payload.
23800
24021
  */
23801
24022
  readonly restoreTargetOriginal?: boolean;
23802
24023
  }
@@ -31675,7 +31896,7 @@ filterContextIdentity?: IDashboardObjectIdentity;
31675
31896
  type: string;
31676
31897
  }) => void | ITabsState | WritableDraft<ITabsState>;
31677
31898
  readonly removeAttributeFilterDisplayForms: (state: WritableDraft<ITabsState>, action: {
31678
- payload: ObjRef;
31899
+ payload: IRemoveAttributeFilterDisplayFormsPayload;
31679
31900
  type: string;
31680
31901
  }) => void | ITabsState | WritableDraft<ITabsState>;
31681
31902
  readonly addAttributeFilterDisplayForm: (state: WritableDraft<ITabsState>, action: {
@@ -31691,7 +31912,7 @@ payload: IAddTextAttributeFilterReducerPayload;
31691
31912
  type: string;
31692
31913
  }) => void | ITabsState | WritableDraft<ITabsState>;
31693
31914
  readonly addMeasureValueFilter: (state: WritableDraft<ITabsState>, action: {
31694
- payload: IAddMeasureValueFilterPayload;
31915
+ payload: IAddMeasureValueFilterReducerPayload;
31695
31916
  type: string;
31696
31917
  }) => void | ITabsState | WritableDraft<ITabsState>;
31697
31918
  readonly removeMeasureValueFilter: (state: WritableDraft<ITabsState>, action: {
@@ -31711,7 +31932,7 @@ payload: IMoveAttributeFilterPayload;
31711
31932
  type: string;
31712
31933
  }) => void | ITabsState | WritableDraft<ITabsState>;
31713
31934
  readonly addDateFilter: (state: WritableDraft<ITabsState>, action: {
31714
- payload: IAddDateFilterPayload;
31935
+ payload: IAddDateFilterReducerPayload;
31715
31936
  type: string;
31716
31937
  }) => void | ITabsState | WritableDraft<ITabsState>;
31717
31938
  readonly removeDateFilter: (state: WritableDraft<ITabsState>, action: {
@@ -31786,16 +32007,13 @@ readonly setMeasureValueFilterDimensionality: (state: WritableDraft<ITabsState>,
31786
32007
  payload: {
31787
32008
  readonly localIdentifier: string;
31788
32009
  readonly dimensionality?: ObjRef[];
32010
+ readonly tabLocalIdentifier?: string;
31789
32011
  readonly restoreTargetOriginal?: boolean;
31790
- readonly enablePersistentFiltersAcrossTabs?: boolean;
31791
32012
  };
31792
32013
  type: string;
31793
32014
  }) => void | ITabsState | WritableDraft<ITabsState>;
31794
32015
  readonly changeMeasureValueFilterTitle: (state: WritableDraft<ITabsState>, action: {
31795
- payload: {
31796
- readonly filterLocalId: string;
31797
- readonly title?: string;
31798
- };
32016
+ payload: IChangeMeasureValueFilterTitleReducerPayload;
31799
32017
  type: string;
31800
32018
  }) => void | ITabsState | WritableDraft<ITabsState>;
31801
32019
  readonly addParameter: (state: WritableDraft<ITabsState>, action: {
@@ -31866,11 +32084,11 @@ payload: void;
31866
32084
  type: string;
31867
32085
  }>;
31868
32086
  readonly changeAttributeFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
31869
- payload: ISetDashboardAttributeFilterConfigModePayload;
32087
+ payload: IChangeAttributeFilterConfigModePayload;
31870
32088
  type: string;
31871
32089
  }) => void | ITabsState | WritableDraft<ITabsState>;
31872
32090
  readonly changeAttributeFilterSelectionType: (state: WritableDraft<ITabsState>, action: {
31873
- payload: ISetDashboardAttributeFilterSelectionTypePayload;
32091
+ payload: IChangeAttributeFilterSelectionTypePayload;
31874
32092
  type: string;
31875
32093
  }) => void | ITabsState | WritableDraft<ITabsState>;
31876
32094
  readonly setAttributeFilterConfigs: (state: WritableDraft<ITabsState>, action: {
@@ -31878,11 +32096,11 @@ payload: any;
31878
32096
  type: string;
31879
32097
  }) => void | ITabsState | WritableDraft<ITabsState>;
31880
32098
  readonly removeAttributeFilterConfig: TabsReducer< {
31881
- payload: string;
32099
+ payload: IRemoveAttributeFilterConfigPayload;
31882
32100
  type: string;
31883
32101
  }>;
31884
32102
  readonly changeDisplayAsLabel: (state: WritableDraft<ITabsState>, action: {
31885
- payload: ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
32103
+ payload: IChangeAttributeFilterDisplayAsLabelPayload;
31886
32104
  type: string;
31887
32105
  }) => void | ITabsState | WritableDraft<ITabsState>;
31888
32106
  readonly setDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
@@ -31953,6 +32171,7 @@ type: string;
31953
32171
  readonly removeIgnoredAttributeFilter: (state: WritableDraft<ITabsState>, action: {
31954
32172
  payload: {
31955
32173
  displayFormRefs: ObjRef[];
32174
+ tabLocalIdentifier?: string;
31956
32175
  };
31957
32176
  type: string;
31958
32177
  }) => void | ITabsState | WritableDraft<ITabsState>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "11.65.0-alpha.7",
3
+ "version": "11.65.0-alpha.9",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -60,20 +60,20 @@
60
60
  "ts-invariant": "0.10.3",
61
61
  "tslib": "2.8.1",
62
62
  "uuid": "11.1.1",
63
- "@gooddata/sdk-backend-base": "11.65.0-alpha.7",
64
- "@gooddata/sdk-backend-spi": "11.65.0-alpha.7",
65
- "@gooddata/sdk-model": "11.65.0-alpha.7",
66
- "@gooddata/sdk-ui": "11.65.0-alpha.7",
67
- "@gooddata/sdk-ui-charts": "11.65.0-alpha.7",
68
- "@gooddata/sdk-ui-ext": "11.65.0-alpha.7",
69
- "@gooddata/sdk-ui-filters": "11.65.0-alpha.7",
70
- "@gooddata/sdk-ui-geo": "11.65.0-alpha.7",
71
- "@gooddata/sdk-ui-kit": "11.65.0-alpha.7",
72
- "@gooddata/sdk-ui-pivot": "11.65.0-alpha.7",
73
- "@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.7",
74
- "@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.7",
75
- "@gooddata/sdk-ui-vis-commons": "11.65.0-alpha.7",
76
- "@gooddata/util": "11.65.0-alpha.7"
63
+ "@gooddata/sdk-backend-base": "11.65.0-alpha.9",
64
+ "@gooddata/sdk-backend-spi": "11.65.0-alpha.9",
65
+ "@gooddata/sdk-model": "11.65.0-alpha.9",
66
+ "@gooddata/sdk-ui": "11.65.0-alpha.9",
67
+ "@gooddata/sdk-ui-charts": "11.65.0-alpha.9",
68
+ "@gooddata/sdk-ui-ext": "11.65.0-alpha.9",
69
+ "@gooddata/sdk-ui-filters": "11.65.0-alpha.9",
70
+ "@gooddata/sdk-ui-geo": "11.65.0-alpha.9",
71
+ "@gooddata/sdk-ui-kit": "11.65.0-alpha.9",
72
+ "@gooddata/sdk-ui-pivot": "11.65.0-alpha.9",
73
+ "@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.9",
74
+ "@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.9",
75
+ "@gooddata/sdk-ui-vis-commons": "11.65.0-alpha.9",
76
+ "@gooddata/util": "11.65.0-alpha.9"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@microsoft/api-documenter": "7.30.16",
@@ -115,12 +115,12 @@
115
115
  "svgo": "2.8.4",
116
116
  "typescript": "7.0.2",
117
117
  "vitest": "5.0.4",
118
- "@gooddata/eslint-config": "11.65.0-alpha.7",
119
- "@gooddata/i18n-toolkit": "11.65.0-alpha.7",
120
- "@gooddata/oxlint-config": "11.65.0-alpha.7",
121
- "@gooddata/reference-workspace": "11.65.0-alpha.7",
122
- "@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.7",
123
- "@gooddata/stylelint-config": "11.65.0-alpha.7"
118
+ "@gooddata/i18n-toolkit": "11.65.0-alpha.9",
119
+ "@gooddata/eslint-config": "11.65.0-alpha.9",
120
+ "@gooddata/oxlint-config": "11.65.0-alpha.9",
121
+ "@gooddata/reference-workspace": "11.65.0-alpha.9",
122
+ "@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.9",
123
+ "@gooddata/stylelint-config": "11.65.0-alpha.9"
124
124
  },
125
125
  "peerDependencies": {
126
126
  "react": "^18.0.0 || ^19.0.0",
@@ -2669,6 +2669,10 @@
2669
2669
 
2670
2670
  .gd-dashboard-interaction-composing__status {
2671
2671
  position: absolute;
2672
+ display: flex;
2673
+ align-items: center;
2674
+ pointer-events: all;
2675
+ gap: var(--gd-spacing-10px);
2672
2676
  opacity: 1;
2673
2677
  top: var(--gd-spacing-20px);
2674
2678
  left: 50%;
@@ -2682,11 +2686,9 @@
2682
2686
  box-shadow: var(--gd-shadow-color) 0 2px 9px, var(--gd-shadow-color) 0 1px 3px;
2683
2687
  background: var(--gd-palette-complementary-0);
2684
2688
  color: var(--gd-palette-complementary-8);
2685
- font-weight: 700;
2686
2689
  text-align: left;
2687
2690
  overflow-wrap: anywhere;
2688
2691
  transform: translateX(-50%);
2689
- pointer-events: none;
2690
2692
  transition: opacity 0.3s ease-in-out, top 0.3s ease-in-out;
2691
2693
  }
2692
2694
  .gd-dashboard-interaction-composing__status.hidden {
@@ -2694,6 +2696,12 @@
2694
2696
  top: -100px;
2695
2697
  }
2696
2698
 
2699
+ .gd-dashboard-interaction-composing__message {
2700
+ flex: 1 1 auto;
2701
+ min-width: 0;
2702
+ font-weight: 700;
2703
+ }
2704
+
2697
2705
  .gd-dashboard-ai-composing-overlay {
2698
2706
  position: absolute;
2699
2707
  inset: 0;