@gooddata/sdk-ui-dashboard 11.67.0-alpha.2 → 11.67.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.
- package/NOTICE +798 -2473
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/kdaDialog/composition/KdaAttributesSelectItem.d.ts.map +1 -1
- package/esm/kdaDialog/composition/KdaAttributesSelectItem.js +4 -2
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +3 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +10 -3
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.d.ts +46 -0
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.js +155 -0
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts +4 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +14 -10
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +9 -5
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +1 -1
- package/esm/model/commandHandlers/drill/common/mergeFilters.js +2 -2
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +114 -23
- package/esm/model/commandHandlers/parameters/loadParameterDependencies.d.ts +1 -1
- package/esm/model/commandHandlers/parameters/loadParameterDependencies.js +1 -1
- package/esm/model/commandHandlers/tabs/createDashboardTabHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/tabs/createDashboardTabHandler.js +3 -27
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +0 -5
- package/esm/model/store/config/configReducers.d.ts +0 -4
- package/esm/model/store/config/configReducers.d.ts.map +1 -1
- package/esm/model/store/config/configReducers.js +0 -6
- package/esm/model/store/config/configSelectors.d.ts +0 -6
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +0 -6
- package/esm/model/store/config/index.d.ts +0 -1
- package/esm/model/store/config/index.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterSync.d.ts +6 -22
- package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterSync.js +42 -40
- package/esm/model/types/commonTypes.d.ts +6 -15
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +3 -3
- package/esm/presentation/automations/shared/automationFilters/automationParameters.js +3 -3
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.js +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js +26 -7
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +1 -2
- package/esm/presentation/dashboard/components/DensityInitializer.d.ts +1 -1
- package/esm/presentation/dashboard/components/DensityInitializer.js +1 -1
- package/esm/presentation/dashboard/types.d.ts +0 -5
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/measureValueFilter/useDashboardMeasureValueFilterData.d.ts +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +16 -8
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +20 -12
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +0 -2
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +0 -2
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +0 -2
- package/esm/sdk-ui-dashboard.d.ts +6 -27
- package/esm/types.d.ts +1 -1
- package/esm/types.js +1 -1
- package/package.json +29 -29
- package/styles/css/dashboard.css +0 -72
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +1 -72
- package/styles/css/main.css.map +1 -1
- package/styles/scss/dashboard.scss +0 -84
- package/esm/presentation/dashboard/components/DashboardAiComposingOverlay.d.ts +0 -4
- package/esm/presentation/dashboard/components/DashboardAiComposingOverlay.d.ts.map +0 -1
- package/esm/presentation/dashboard/components/DashboardAiComposingOverlay.js +0 -151
- package/esm/presentation/dashboard/components/DashboardInteractionComposing.d.ts +0 -8
- package/esm/presentation/dashboard/components/DashboardInteractionComposing.d.ts.map +0 -1
- package/esm/presentation/dashboard/components/DashboardInteractionComposing.js +0 -23
|
@@ -4,6 +4,5 @@ export declare const configSliceReducer: Reducer<ConfigState>;
|
|
|
4
4
|
export declare const configActions: {
|
|
5
5
|
setConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../types/commonTypes.js").ResolvedDashboardConfig, "config/setConfig">;
|
|
6
6
|
setAiMode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<"active" | "building" | "generating" | "waiting" | null | undefined, "config/setAiMode">;
|
|
7
|
-
setAiReasoningTitle: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "config/setAiReasoningTitle">;
|
|
8
7
|
};
|
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/config/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAQxE,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,WAAW,CAAuB,CAAC;AAG5E,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/config/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAQxE,eAAO,MAAM,kBAAkB,EAAE,OAAO,CAAC,WAAW,CAAuB,CAAC;AAG5E,eAAO,MAAM,aAAa;;;CAA6B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IAttributeWithReferences } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { type DashboardAttributeFilterItem, type FilterContextItem, type
|
|
2
|
+
import { type DashboardAttributeFilterItem, type FilterContextItem, type ObjRef, type ParameterValue } from "@gooddata/sdk-model";
|
|
3
3
|
import { type ITabState } from "../tabsState.js";
|
|
4
4
|
import { type WorkingFilterContextItem } from "./filterContextState.js";
|
|
5
5
|
type StagedFilter = FilterContextItem | WorkingFilterContextItem;
|
|
@@ -63,6 +63,7 @@ export declare function preserveFilterDependencies(existing: DashboardAttributeF
|
|
|
63
63
|
/**
|
|
64
64
|
* Copies an applied source filter onto an existing target filter, keeping the target's
|
|
65
65
|
* local identifier, parent dependencies, and measure-value dimensionality. Does not create a filter.
|
|
66
|
+
* A list filter takes the display form of the source, because its elements are values of that display form.
|
|
66
67
|
*
|
|
67
68
|
* @internal
|
|
68
69
|
*/
|
|
@@ -99,27 +100,6 @@ export declare function writeMirroredSelection(tab: ITabState, selection: IMirro
|
|
|
99
100
|
* @internal
|
|
100
101
|
*/
|
|
101
102
|
export declare function findAppliedFilterForStaged(tab: ITabState, staged: StagedFilter): FilterContextItem | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* Filter state of a tab created while sync is on.
|
|
104
|
-
*
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
export interface ISyncedTabSeed {
|
|
108
|
-
readonly filterContextDefinition: IFilterContextDefinition;
|
|
109
|
-
readonly attributeFilterDisplayForms: IAttributeDisplayFormMetadataObject[];
|
|
110
|
-
readonly attributeFilterConfigs: IDashboardAttributeFilterConfig[];
|
|
111
|
-
readonly dateFilterConfigs: IDashboardDateFilterConfigItem[];
|
|
112
|
-
readonly measureValueFilterConfigs: IDashboardMeasureValueFilterConfig[];
|
|
113
|
-
readonly filterGroupsConfig: IDashboardFilterGroupsConfig | undefined;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Seeds a new tab with the applied filters of `sourceTab` and the configs that belong to them,
|
|
117
|
-
* so every synced filter has a counterpart on the new tab. Cross-filtering virtual filters stay
|
|
118
|
-
* on their own tab. `base` provides the title and description of the new filter context.
|
|
119
|
-
*
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
export declare function seedSyncedTabFilters(sourceTab: ITabState, base: IFilterContextDefinition, crossFilteringLocalIdsByTab?: CrossFilteringLocalIdsByTab): ISyncedTabSeed;
|
|
123
103
|
/**
|
|
124
104
|
* Whether `value` can be stored on `targetFilter`.
|
|
125
105
|
*
|
|
@@ -128,6 +108,10 @@ export declare function seedSyncedTabFilters(sourceTab: ITabState, base: IFilter
|
|
|
128
108
|
* list-or-text filter, and cannot be applied to a list-only filter. An omitted selection type
|
|
129
109
|
* means list-or-text, except a single-value list filter, which means list.
|
|
130
110
|
*
|
|
111
|
+
* A text value is a value of one label, so it is valid only on a filter of the same display form.
|
|
112
|
+
* A filter that shows that label through its display-as label filters by another label and keeps
|
|
113
|
+
* its own value.
|
|
114
|
+
*
|
|
131
115
|
* @internal
|
|
132
116
|
*/
|
|
133
117
|
export declare function targetAcceptsAttributeFilterValue(targetTab: ITabState, targetFilter: DashboardAttributeFilterItem, value: DashboardAttributeFilterItem): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterSync.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterSync.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"filterSync.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/filterContext/filterSync.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EAItB,KAAK,MAAM,EACX,KAAK,cAAc,EAgBtB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAExE,KAAK,YAAY,GAAG,iBAAiB,GAAG,wBAAwB,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;CACtE;AAED;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;AAEtF;;;;;GAKG;AACH,wBAAgB,6BAA6B,CACzC,GAAG,EAAE,SAAS,EACd,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,2BAA2B,EAAE,2BAA2B,GAAG,SAAS,GACrE,OAAO,CAKT;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CACjC,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,iBAAiB,EAC/B,SAAS,EAAE,SAAS,EACpB,wBAAwB,CAAC,EAAE,wBAAwB,EAAE,EACrD,OAAO,CAAC,EAAE,uBAAuB,GAClC,iBAAiB,GAAG,SAAS,CA2C/B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAC9B,GAAG,EAAE,SAAS,EACd,aAAa,EAAE,iBAAiB,GACjC,iBAAiB,GAAG,SAAS,CAyB/B;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CACvC,MAAM,EAAE,4BAA4B,EACpC,eAAe,EAAE,MAAM,GACxB,4BAA4B,CAuB9B;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACtC,QAAQ,EAAE,4BAA4B,EACtC,WAAW,EAAE,4BAA4B,GAC1C,4BAA4B,CA6B9B;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,iBAAiB,GAC1B,iBAAiB,CAyDnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC;CAC9C;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,GAAG,IAAI,CAuB1F;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACtC,GAAG,EAAE,SAAS,EACd,MAAM,EAAE,YAAY,GACrB,iBAAiB,GAAG,SAAS,CAiB/B;AA4GD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iCAAiC,CAC7C,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,4BAA4B,EAC1C,KAAK,EAAE,4BAA4B,GACpC,OAAO,CAiBT"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemFilterElementsByDate, dashboardAttributeFilterItemLocalIdentifier, dashboardAttributeFilterItemValidateElementsBy, dashboardFilterLocalIdentifier, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
|
|
3
|
-
import {
|
|
3
|
+
import { findAttributeFilterCounterpart } from "../../../utils/attributeFilterMatching.js";
|
|
4
4
|
import { canApplyFilterTypeToTarget } from "../../../utils/attributeFilterSelectionTypeCompatibility.js";
|
|
5
5
|
/**
|
|
6
6
|
* True when `localIdentifier` belongs to a cross-filtering virtual filter on `tab`.
|
|
@@ -37,7 +37,7 @@ export function findCounterpartFilter(sourceTab, sourceFilter, targetTab, attrib
|
|
|
37
37
|
const sourcePresentation = attributeFilterPresentation(sourceTab, sourceFilter);
|
|
38
38
|
const result = findAttributeFilterCounterpart(sourceFilter, targets
|
|
39
39
|
.filter(isDashboardAttributeFilterItem)
|
|
40
|
-
.filter((target) => samePresentation(sourcePresentation, attributeFilterPresentation(targetTab, target)
|
|
40
|
+
.filter((target) => samePresentation(sourcePresentation, attributeFilterPresentation(targetTab, target))), {
|
|
41
41
|
sourceFilterConfigs: sourceTab.attributeFilterConfigs?.attributeFilterConfigs,
|
|
42
42
|
targetFilterConfigs: targetTab.attributeFilterConfigs?.attributeFilterConfigs,
|
|
43
43
|
displayForms,
|
|
@@ -93,13 +93,25 @@ export function findOriginalFilter(tab, appliedFilter) {
|
|
|
93
93
|
*/
|
|
94
94
|
export function retargetAttributeFilterItem(filter, localIdentifier) {
|
|
95
95
|
if (isDashboardAttributeFilter(filter)) {
|
|
96
|
-
return {
|
|
96
|
+
return {
|
|
97
|
+
attributeFilter: { ...filter.attributeFilter, localIdentifier },
|
|
98
|
+
};
|
|
97
99
|
}
|
|
98
100
|
if (isDashboardArbitraryAttributeFilter(filter)) {
|
|
99
|
-
return {
|
|
101
|
+
return {
|
|
102
|
+
arbitraryAttributeFilter: {
|
|
103
|
+
...filter.arbitraryAttributeFilter,
|
|
104
|
+
localIdentifier,
|
|
105
|
+
},
|
|
106
|
+
};
|
|
100
107
|
}
|
|
101
108
|
if (isDashboardMatchAttributeFilter(filter)) {
|
|
102
|
-
return {
|
|
109
|
+
return {
|
|
110
|
+
matchAttributeFilter: {
|
|
111
|
+
...filter.matchAttributeFilter,
|
|
112
|
+
localIdentifier,
|
|
113
|
+
},
|
|
114
|
+
};
|
|
103
115
|
}
|
|
104
116
|
return filter;
|
|
105
117
|
}
|
|
@@ -121,24 +133,36 @@ export function preserveFilterDependencies(existing, replacement) {
|
|
|
121
133
|
...(validateElementsBy?.length ? { validateElementsBy } : {}),
|
|
122
134
|
};
|
|
123
135
|
if (isDashboardAttributeFilter(replacement)) {
|
|
124
|
-
return {
|
|
136
|
+
return {
|
|
137
|
+
attributeFilter: { ...replacement.attributeFilter, ...preserved },
|
|
138
|
+
};
|
|
125
139
|
}
|
|
126
140
|
if (isDashboardArbitraryAttributeFilter(replacement)) {
|
|
127
|
-
return {
|
|
141
|
+
return {
|
|
142
|
+
arbitraryAttributeFilter: {
|
|
143
|
+
...replacement.arbitraryAttributeFilter,
|
|
144
|
+
...preserved,
|
|
145
|
+
},
|
|
146
|
+
};
|
|
128
147
|
}
|
|
129
148
|
return replacement;
|
|
130
149
|
}
|
|
131
150
|
/**
|
|
132
151
|
* Copies an applied source filter onto an existing target filter, keeping the target's
|
|
133
152
|
* local identifier, parent dependencies, and measure-value dimensionality. Does not create a filter.
|
|
153
|
+
* A list filter takes the display form of the source, because its elements are values of that display form.
|
|
134
154
|
*
|
|
135
155
|
* @internal
|
|
136
156
|
*/
|
|
137
157
|
export function applyMirroredFilterValue(source, target) {
|
|
138
158
|
if (isDashboardAttributeFilter(source) && isDashboardAttributeFilter(target)) {
|
|
159
|
+
const sameDisplayForm = areObjRefsEqual(source.attributeFilter.displayForm, target.attributeFilter.displayForm);
|
|
139
160
|
return {
|
|
140
161
|
attributeFilter: {
|
|
141
162
|
...target.attributeFilter,
|
|
163
|
+
displayForm: sameDisplayForm
|
|
164
|
+
? target.attributeFilter.displayForm
|
|
165
|
+
: source.attributeFilter.displayForm,
|
|
142
166
|
attributeElements: source.attributeFilter.attributeElements,
|
|
143
167
|
negativeSelection: source.attributeFilter.negativeSelection,
|
|
144
168
|
},
|
|
@@ -234,35 +258,6 @@ export function findAppliedFilterForStaged(tab, staged) {
|
|
|
234
258
|
}
|
|
235
259
|
return filters.find((filter) => dashboardFilterLocalIdentifier(filter) === localIdentifier);
|
|
236
260
|
}
|
|
237
|
-
/**
|
|
238
|
-
* Seeds a new tab with the applied filters of `sourceTab` and the configs that belong to them,
|
|
239
|
-
* so every synced filter has a counterpart on the new tab. Cross-filtering virtual filters stay
|
|
240
|
-
* on their own tab. `base` provides the title and description of the new filter context.
|
|
241
|
-
*
|
|
242
|
-
* @internal
|
|
243
|
-
*/
|
|
244
|
-
export function seedSyncedTabFilters(sourceTab, base, crossFilteringLocalIdsByTab) {
|
|
245
|
-
const filters = appliedFilters(sourceTab).filter((filter) => !isCrossFilteringVirtualFilter(sourceTab, dashboardFilterLocalIdentifier(filter), crossFilteringLocalIdsByTab));
|
|
246
|
-
const localIds = new Set(filters.map(dashboardFilterLocalIdentifier).filter((id) => id !== undefined));
|
|
247
|
-
const dateDataSets = filters
|
|
248
|
-
.filter(isDashboardDateFilter)
|
|
249
|
-
.map((filter) => filter.dateFilter.dataSet)
|
|
250
|
-
.filter((ref) => ref !== undefined);
|
|
251
|
-
const groups = (sourceTab.filterGroupsConfig?.groups ?? [])
|
|
252
|
-
.map((group) => ({
|
|
253
|
-
...group,
|
|
254
|
-
filters: group.filters.filter((item) => localIds.has(item.filterLocalIdentifier)),
|
|
255
|
-
}))
|
|
256
|
-
.filter((group) => group.filters.length > 0);
|
|
257
|
-
return {
|
|
258
|
-
filterContextDefinition: { ...base, filters },
|
|
259
|
-
attributeFilterDisplayForms: sourceTab.filterContext?.attributeFilterDisplayForms ?? [],
|
|
260
|
-
attributeFilterConfigs: (sourceTab.attributeFilterConfigs?.attributeFilterConfigs ?? []).filter((config) => localIds.has(config.localIdentifier)),
|
|
261
|
-
dateFilterConfigs: (sourceTab.dateFilterConfigs?.dateFilterConfigs ?? []).filter((config) => dateDataSets.some((ref) => areObjRefsEqual(ref, config.dateDataSet))),
|
|
262
|
-
measureValueFilterConfigs: (sourceTab.measureValueFilterConfigs?.measureValueFilterConfigs ?? []).filter((config) => localIds.has(config.localIdentifier)),
|
|
263
|
-
filterGroupsConfig: groups.length > 0 ? { groups } : undefined,
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
261
|
function writeFilter(tab, current, next) {
|
|
267
262
|
const filters = tab.filterContext?.filterContextDefinition?.filters;
|
|
268
263
|
if (!filters) {
|
|
@@ -351,6 +346,10 @@ function attributeFilterPresentation(tab, filter) {
|
|
|
351
346
|
* list-or-text filter, and cannot be applied to a list-only filter. An omitted selection type
|
|
352
347
|
* means list-or-text, except a single-value list filter, which means list.
|
|
353
348
|
*
|
|
349
|
+
* A text value is a value of one label, so it is valid only on a filter of the same display form.
|
|
350
|
+
* A filter that shows that label through its display-as label filters by another label and keeps
|
|
351
|
+
* its own value.
|
|
352
|
+
*
|
|
354
353
|
* @internal
|
|
355
354
|
*/
|
|
356
355
|
export function targetAcceptsAttributeFilterValue(targetTab, targetFilter, value) {
|
|
@@ -358,16 +357,19 @@ export function targetAcceptsAttributeFilterValue(targetTab, targetFilter, value
|
|
|
358
357
|
const selectionType = localIdentifier
|
|
359
358
|
? targetTab.attributeFilterConfigs?.attributeFilterConfigs?.find((config) => config.localIdentifier === localIdentifier)?.selectionType
|
|
360
359
|
: undefined;
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
if (isDashboardAttributeFilter(value)) {
|
|
361
|
+
return canApplyFilterTypeToTarget("list", selectionType, targetFilter);
|
|
362
|
+
}
|
|
363
|
+
return (canApplyFilterTypeToTarget("text", selectionType, targetFilter) &&
|
|
364
|
+
areObjRefsEqual(dashboardAttributeFilterItemDisplayForm(value), dashboardAttributeFilterItemDisplayForm(targetFilter)));
|
|
363
365
|
}
|
|
364
366
|
/**
|
|
365
367
|
* Attribute filters are the same filter when they show the same label and both select either a
|
|
366
368
|
* single value or multiple values.
|
|
367
369
|
*/
|
|
368
|
-
function samePresentation(left, right
|
|
370
|
+
function samePresentation(left, right) {
|
|
369
371
|
return (left.isSingleSelection === right.isSingleSelection &&
|
|
370
|
-
|
|
372
|
+
areObjRefsEqual(left.displayAsLabel, right.displayAsLabel));
|
|
371
373
|
}
|
|
372
374
|
function findDateCounterpart(sourceFilter, targets) {
|
|
373
375
|
// Check the data set directly. `isDashboardCommonDateFilter` is typed as
|
|
@@ -110,6 +110,9 @@ export type DashboardConfig = {
|
|
|
110
110
|
*
|
|
111
111
|
* Compatible matching filters will replace originals.
|
|
112
112
|
*
|
|
113
|
+
* When the dashboard keeps filter selections across tabs, the same values are written onto the
|
|
114
|
+
* matching filters of every tab. Each tab keeps its own filter identifiers, which its widgets bind.
|
|
115
|
+
*
|
|
113
116
|
* Incompatible filters are merged following these rules:
|
|
114
117
|
* - Non-matching filters won't be added
|
|
115
118
|
* - Multi-to-single selection conversions will use first element only
|
|
@@ -234,8 +237,8 @@ export type DashboardConfig = {
|
|
|
234
237
|
* visualization list. Analytical Designer loads lazily when one of them opens it.
|
|
235
238
|
*
|
|
236
239
|
* `@gooddata/sdk-ui-analytical-designer` and its stylesheets load with it. Analytical Designer
|
|
237
|
-
*
|
|
238
|
-
*
|
|
240
|
+
* ships a bundled Monaco editor worker, so no worker-specific Vite or webpack setup is needed.
|
|
241
|
+
* See the README of that package for build-time defines and content security policy requirements.
|
|
239
242
|
*
|
|
240
243
|
* Defaults to false.
|
|
241
244
|
*
|
|
@@ -285,18 +288,6 @@ export type DashboardConfig = {
|
|
|
285
288
|
* @internal
|
|
286
289
|
*/
|
|
287
290
|
aiMode?: "active" | "generating" | "waiting" | "building" | null;
|
|
288
|
-
/**
|
|
289
|
-
* Current AI reasoning title shown while the dashboard is generating or building.
|
|
290
|
-
*
|
|
291
|
-
* @remarks
|
|
292
|
-
* Provide only the title, not the reasoning body. The title is rendered as plain text,
|
|
293
|
-
* without interpreting HTML or Markdown. The waiting-for-input message takes precedence
|
|
294
|
-
* while AI is waiting. Updating this value updates the status without reinitializing the
|
|
295
|
-
* dashboard; setting it to `undefined` clears the title.
|
|
296
|
-
*
|
|
297
|
-
* @public
|
|
298
|
-
*/
|
|
299
|
-
aiReasoningTitle?: string;
|
|
300
291
|
/**
|
|
301
292
|
* @internal
|
|
302
293
|
* Identifier of the export
|
|
@@ -484,7 +475,7 @@ export interface IDashboardFocusObject {
|
|
|
484
475
|
*
|
|
485
476
|
* @public
|
|
486
477
|
*/
|
|
487
|
-
export type ResolvedDashboardConfig = Omit<Required<DashboardConfig>, "mapboxToken" | "agGridToken" | "maxZoomLevel" | "exportId" | "exportType" | "exportMetadata" | "focusObject" | "slideConfig" | "references" | "entitlements" | "initialContent" | "executionTimestamp" | "user" | "overrideDefaultFilters" | "overrideDefaultParameters" | "overrideTitle" | "hideWidgetTitles" | "workspaceDescriptor" | "evaluationFrequency" | "externalRecipient" | "openAutomationOnLoad" | "hideAddTabButton" | "aiMode"
|
|
478
|
+
export type ResolvedDashboardConfig = Omit<Required<DashboardConfig>, "mapboxToken" | "agGridToken" | "maxZoomLevel" | "exportId" | "exportType" | "exportMetadata" | "focusObject" | "slideConfig" | "references" | "entitlements" | "initialContent" | "executionTimestamp" | "user" | "overrideDefaultFilters" | "overrideDefaultParameters" | "overrideTitle" | "hideWidgetTitles" | "workspaceDescriptor" | "evaluationFrequency" | "externalRecipient" | "openAutomationOnLoad" | "hideAddTabButton" | "aiMode"> & DashboardConfig;
|
|
488
479
|
/**
|
|
489
480
|
*
|
|
490
481
|
* @beta
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonTypes.d.ts","sourceRoot":"","sources":["../../../src/model/types/commonTypes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,E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utomationParameter {
|
|
|
30
30
|
definition: IParameterDefinition;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Stored {@link IInsightParameterValue} overrides carry only {ref, value}
|
|
33
|
+
* Stored {@link IInsightParameterValue} overrides carry only `{ref, value}`; title, mode and
|
|
34
34
|
* definition are re-derived from the current dashboard and workspace catalog. Rows without a
|
|
35
35
|
* resolvable definition (see {@link resolveParameterDefinition}) are dropped; a value whose kind
|
|
36
36
|
* arrives as an untyped wire string is decoded against the definition (see
|
|
@@ -90,8 +90,8 @@ export declare function hasStaleAlertParameters(stored: IInsightParameterValue[]
|
|
|
90
90
|
*/
|
|
91
91
|
export declare function dropStaleAlertParameters(stored: IInsightParameterValue[], catalog: IParameterMetadataObject[]): IInsightParameterValue[];
|
|
92
92
|
/**
|
|
93
|
-
* Encodes the display-ready parameter set back to the neutral export wire shape
|
|
94
|
-
* title, parameterType}). The full per-tab execution set (including `hidden` entries) is converted, not just the
|
|
93
|
+
* Encodes the display-ready parameter set back to the neutral export wire shape
|
|
94
|
+
* (`{id, value:string, title, parameterType}`). The full per-tab execution set (including `hidden` entries) is converted, not just the
|
|
95
95
|
* visible ones, so the server resolver does not drop omitted parameters to the workspace default.
|
|
96
96
|
*
|
|
97
97
|
* @internal
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DashboardParameterModeValues, isIdentifierRef, objRefToString, sanitizeParameterValue, } from "@gooddata/sdk-model";
|
|
3
3
|
import { decodeParameterWireValue, exportParametersToValues, parseNumberWireValue, } from "../../../../_staging/automation/index.js";
|
|
4
4
|
/**
|
|
5
|
-
* Stored {@link IInsightParameterValue} overrides carry only {ref, value}
|
|
5
|
+
* Stored {@link IInsightParameterValue} overrides carry only `{ref, value}`; title, mode and
|
|
6
6
|
* definition are re-derived from the current dashboard and workspace catalog. Rows without a
|
|
7
7
|
* resolvable definition (see {@link resolveParameterDefinition}) are dropped; a value whose kind
|
|
8
8
|
* arrives as an untyped wire string is decoded against the definition (see
|
|
@@ -130,8 +130,8 @@ export function dropStaleAlertParameters(stored, catalog) {
|
|
|
130
130
|
return stored.filter((parameter) => alertParameterMatchesCatalog(parameter, catalogById));
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* Encodes the display-ready parameter set back to the neutral export wire shape
|
|
134
|
-
* title, parameterType}). The full per-tab execution set (including `hidden` entries) is converted, not just the
|
|
133
|
+
* Encodes the display-ready parameter set back to the neutral export wire shape
|
|
134
|
+
* (`{id, value:string, title, parameterType}`). The full per-tab execution set (including `hidden` entries) is converted, not just the
|
|
135
135
|
* visible ones, so the server resolver does not drop omitted parameters to the workspace default.
|
|
136
136
|
*
|
|
137
137
|
* @internal
|
package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface IUseAutomationAlertParameters {
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Parameter editing for the alert dialog. The single source of truth is the edited automation's
|
|
28
|
-
* `alert.execution.parameters` ({ref, value} wire shape); the display-ready set is derived per render.
|
|
28
|
+
* `alert.execution.parameters` (`{ref, value}` wire shape); the display-ready set is derived per render.
|
|
29
29
|
*
|
|
30
30
|
* @internal
|
|
31
31
|
*/
|
package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.js
CHANGED
|
@@ -7,7 +7,7 @@ import { availableAutomationParameters, dropStaleAlertParameters, hasStaleAlertP
|
|
|
7
7
|
const EMPTY_PARAMETERS = [];
|
|
8
8
|
/**
|
|
9
9
|
* Parameter editing for the alert dialog. The single source of truth is the edited automation's
|
|
10
|
-
* `alert.execution.parameters` ({ref, value} wire shape); the display-ready set is derived per render.
|
|
10
|
+
* `alert.execution.parameters` (`{ref, value}` wire shape); the display-ready set is derived per render.
|
|
11
11
|
*
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteInsightDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,MAAM,EAA6C,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteInsightDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,MAAM,EAA6C,MAAM,qBAAqB,CAAC;AAoC5G;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,OAAO,EAAE,QAAQ,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAqDD,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,yBAAyB,2CAuJ7F"}
|
package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js
CHANGED
|
@@ -20,7 +20,11 @@ const messages = defineMessages({
|
|
|
20
20
|
notUsed: { id: "deleteInsightDialog.notUsed" },
|
|
21
21
|
checkFailed: { id: "deleteInsightDialog.checkFailed" },
|
|
22
22
|
usedOnDashboards: { id: "deleteInsightDialog.usedOnDashboards" },
|
|
23
|
+
usedInDocuments: { id: "deleteInsightDialog.usedInDocuments" },
|
|
24
|
+
usedInDocumentsAndDashboards: { id: "deleteInsightDialog.usedInDocumentsAndDashboards" },
|
|
25
|
+
usedInDocumentsAndThisDashboard: { id: "deleteInsightDialog.usedInDocumentsAndThisDashboard" },
|
|
23
26
|
usage: { id: "deleteInsightDialog.usage" },
|
|
27
|
+
documentsUsage: { id: "deleteInsightDialog.documentsUsage" },
|
|
24
28
|
showMore: { id: "deleteInsightDialog.usage.showMore" },
|
|
25
29
|
showLess: { id: "deleteInsightDialog.usage.showLess" },
|
|
26
30
|
inaccessibleDashboards: { id: "deleteInsightDialog.inaccessibleDashboards" },
|
|
@@ -30,11 +34,11 @@ const messages = defineMessages({
|
|
|
30
34
|
error: { id: "deleteInsightDialog.error" },
|
|
31
35
|
});
|
|
32
36
|
const strong = (chunks) => _jsx("strong", { children: chunks });
|
|
33
|
-
function UsageWarning({
|
|
37
|
+
function UsageWarning({ usage, titles, inaccessibleCount = 0 }) {
|
|
34
38
|
const intl = useIntl();
|
|
35
39
|
const [isExpanded, setIsExpanded] = useState(false);
|
|
36
|
-
const count =
|
|
37
|
-
return (_jsxs(Message, { type: "warning", className: "gd-delete-insight-dialog__usage s-delete-insight-dialog-usage", children: [_jsxs("div", { className: "gd-delete-insight-dialog__usage-header", children: [_jsx("span", { children: _jsx(FormattedMessage, { ...
|
|
40
|
+
const count = titles.length + inaccessibleCount;
|
|
41
|
+
return (_jsxs(Message, { type: "warning", className: "gd-delete-insight-dialog__usage s-delete-insight-dialog-usage", children: [_jsxs("div", { className: "gd-delete-insight-dialog__usage-header", children: [_jsx("span", { children: _jsx(FormattedMessage, { ...usage, values: { count, strong } }) }), _jsx("button", { type: "button", className: "gd-delete-insight-dialog__usage-toggle s-delete-insight-dialog-usage-toggle", "aria-expanded": isExpanded, onClick: () => setIsExpanded((expanded) => !expanded), children: intl.formatMessage(isExpanded ? messages.showLess : messages.showMore) })] }), isExpanded ? (_jsxs("div", { className: "gd-delete-insight-dialog__usage-details", children: [titles.length > 0 ? (_jsx("ul", { className: "gd-delete-insight-dialog__usage-list", children: titles.map((itemTitle, index) => (_jsx("li", { children: itemTitle }, index))) })) : null, inaccessibleCount > 0 ? (_jsx("p", { className: "gd-delete-insight-dialog__usage-inaccessible s-delete-insight-dialog-inaccessible", children: _jsx(FormattedMessage, { ...(titles.length > 0
|
|
38
42
|
? messages.inaccessibleDashboards
|
|
39
43
|
: messages.inaccessibleDashboardsOnly), values: { count: inaccessibleCount, strong } }) })) : null] })) : null] }));
|
|
40
44
|
}
|
|
@@ -51,7 +55,10 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
51
55
|
.workspace(workspace)
|
|
52
56
|
.insights()
|
|
53
57
|
.getInsightReferencingObjects(ref)
|
|
54
|
-
.then((references) =>
|
|
58
|
+
.then((references) => ({
|
|
59
|
+
dashboards: references.analyticalDashboards ?? [],
|
|
60
|
+
documents: references.documents ?? [],
|
|
61
|
+
})),
|
|
55
62
|
}, [backend, workspace, refKey]);
|
|
56
63
|
const accessibleDashboards = useDashboardSelector(selectAccessibleDashboardsMap);
|
|
57
64
|
const usedOnThisDashboard = useDashboardSelector(selectIsInsightUsedByDashboard(ref));
|
|
@@ -69,14 +76,19 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
69
76
|
addError(messages.error);
|
|
70
77
|
},
|
|
71
78
|
});
|
|
72
|
-
const dashboards = usage.result ?? [];
|
|
79
|
+
const dashboards = usage.result?.dashboards ?? [];
|
|
80
|
+
const documentTitles = (usage.result?.documents ?? []).map((document) => document.title);
|
|
73
81
|
const otherDashboards = dashboards.filter((dashboard) => dashboard.id !== dashboardId);
|
|
74
82
|
const accessibleTitles = otherDashboards
|
|
75
83
|
.map((dashboard) => accessibleDashboards.get(dashboard.ref)?.title)
|
|
76
84
|
.filter((dashboardTitle) => dashboardTitle !== undefined);
|
|
77
85
|
const inaccessibleCount = otherDashboards.length - accessibleTitles.length;
|
|
78
86
|
const isChecking = usage.status === "pending" || usage.status === "loading";
|
|
79
|
-
const canDelete = usage.status === "success" &&
|
|
87
|
+
const canDelete = usage.status === "success" &&
|
|
88
|
+
otherDashboards.length === 0 &&
|
|
89
|
+
documentTitles.length === 0 &&
|
|
90
|
+
!usedOnThisDashboard;
|
|
91
|
+
const documentsWarning = documentTitles.length > 0 ? (_jsx(UsageWarning, { usage: messages.documentsUsage, titles: documentTitles })) : null;
|
|
80
92
|
const isDeleting = status === "running";
|
|
81
93
|
let body;
|
|
82
94
|
if (isChecking) {
|
|
@@ -86,7 +98,14 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
86
98
|
body = (_jsx("p", { role: "alert", className: "s-delete-insight-dialog-check-failed", children: intl.formatMessage(messages.checkFailed) }));
|
|
87
99
|
}
|
|
88
100
|
else if (otherDashboards.length > 0) {
|
|
89
|
-
body = (_jsxs(_Fragment, { children: [_jsx("p", { className: "s-delete-insight-dialog-used-on-dashboards", children: _jsx(FormattedMessage, { ...
|
|
101
|
+
body = (_jsxs(_Fragment, { children: [_jsx("p", { className: "s-delete-insight-dialog-used-on-dashboards", children: _jsx(FormattedMessage, { ...(documentTitles.length > 0
|
|
102
|
+
? messages.usedInDocumentsAndDashboards
|
|
103
|
+
: messages.usedOnDashboards), values: { title, strong } }) }), _jsx(UsageWarning, { usage: messages.usage, titles: accessibleTitles, inaccessibleCount: inaccessibleCount }), documentsWarning] }));
|
|
104
|
+
}
|
|
105
|
+
else if (documentTitles.length > 0) {
|
|
106
|
+
body = (_jsxs(_Fragment, { children: [_jsx("p", { className: "s-delete-insight-dialog-used-in-documents", children: _jsx(FormattedMessage, { ...(usedOnThisDashboard
|
|
107
|
+
? messages.usedInDocumentsAndThisDashboard
|
|
108
|
+
: messages.usedInDocuments), values: { title, strong } }) }), documentsWarning] }));
|
|
90
109
|
}
|
|
91
110
|
else if (usedOnThisDashboard) {
|
|
92
111
|
body = (_jsx("p", { className: "s-delete-insight-dialog-used-on-this-dashboard", children: _jsx(FormattedMessage, { ...messages.usedOnThisDashboard, values: { title, strong } }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardInner.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardInner.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardInner.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardInner.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAQnD,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,2CAqHpD"}
|
|
@@ -26,7 +26,6 @@ import { DashboardHeader } from "../DashboardHeader/DashboardHeader.js";
|
|
|
26
26
|
import { DashboardSidebar } from "../DashboardSidebar/DashboardSidebar.js";
|
|
27
27
|
import { RenderModeAwareDashboardSidebar } from "../DashboardSidebar/RenderModeAwareDashboardSidebar.js";
|
|
28
28
|
import { useResizableSidebarState } from "../DashboardSidebar/useResizableSidebarState.js";
|
|
29
|
-
import { DashboardInteractionComposing } from "./DashboardInteractionComposing.js";
|
|
30
29
|
import { DashboardInteractionLock } from "./DashboardInteractionLock.js";
|
|
31
30
|
import { DashboardScreenSizeProvider } from "./DashboardScreenSizeContext.js";
|
|
32
31
|
const overlayController = OverlayController.getInstance(DASHBOARD_HEADER_OVERLAYS_Z_INDEX);
|
|
@@ -79,5 +78,5 @@ export function DashboardInner(props) {
|
|
|
79
78
|
"is-insight-editor-open": isInsightEditorOpen,
|
|
80
79
|
}), children: [_jsx(DragLayerComponent, {}), _jsxs("div", { className: cx("gd-dashboards-root gd-flex-container", {
|
|
81
80
|
"gd-dashboards-root--floating-toolbar": enableEnhancedInsightPicker,
|
|
82
|
-
}), style: dashboardsRootStyle, children: [_jsx(DashboardSidebar, { DefaultSidebar: RenderModeAwareDashboardSidebar, DeleteDropZoneComponent: DeleteDropZone, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDrag, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDrag }),
|
|
81
|
+
}), style: dashboardsRootStyle, children: [_jsx(DashboardSidebar, { DefaultSidebar: RenderModeAwareDashboardSidebar, DeleteDropZoneComponent: DeleteDropZone, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDrag, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDrag }), _jsxs("main", { className: dashboardContentClassNames, ...mainContentNavigationProps, children: [_jsx("div", { className: "gd-dash-header-wrapper gd-dash-header-wrapper-sdk-8-12", ref: headerRef, children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(DashboardHeader, {}) }) }), _jsxs(DashboardInteractionLock, { children: [_jsxs("div", { className: "gd-flex-item-stretch dash-section dash-section-kpis", ref: layoutRef, children: [_jsx(DashboardScreenSizeProvider, { children: _jsx(DashboardContent, { ...props }) }), enableEnhancedInsightPicker ? _jsx(FilterDeleteOverlay, {}) : null] }), _jsx("div", { className: "gd-dash-bottom-position-pixel", ref: bottomRef })] })] })] }), _jsx(Toolbar, {})] }) }) })] }) }));
|
|
83
82
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Reads the density setting from theme and localStorage on mount and sets it in the store.
|
|
3
3
|
*
|
|
4
|
-
* Priority: localStorage (user preference)
|
|
4
|
+
* Priority: localStorage (user preference) -\> theme.dashboards.density -\> "comfortable"
|
|
5
5
|
*
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -9,7 +9,7 @@ import { isSupportedDashboardDensity } from "../../../types.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* Reads the density setting from theme and localStorage on mount and sets it in the store.
|
|
11
11
|
*
|
|
12
|
-
* Priority: localStorage (user preference)
|
|
12
|
+
* Priority: localStorage (user preference) -\> theme.dashboards.density -\> "comfortable"
|
|
13
13
|
*
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
@@ -794,11 +794,6 @@ export interface IDashboardExtensionProps extends IDashboardEventing, IDashboard
|
|
|
794
794
|
*/
|
|
795
795
|
export interface IDashboardProps extends IDashboardBaseProps, IDashboardExtensionProps {
|
|
796
796
|
children?: ReactElement | ((dashboard: any) => ReactElement);
|
|
797
|
-
/**
|
|
798
|
-
* Open the assistant on the active conversation when it is waiting for a user response.
|
|
799
|
-
* @internal
|
|
800
|
-
*/
|
|
801
|
-
onReplyInChat?: () => void;
|
|
802
797
|
/**
|
|
803
798
|
* Override the persisted dashboard. This is mainly useful for internal use cases.
|
|
804
799
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,KAAK,qBAAqB,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC5G,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,KAAK,0CAA0C,EAAE,MAAM,gBAAgB,CAAC;AACjF,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,uDAAuD,EAC/D,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,mDAAmD,EACxD,KAAK,6CAA6C,EAClD,KAAK,6DAA6D,EACrE,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,wCAAwC,EAC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;CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IAEzC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IAEpC;;OAEG;IACH,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CACjD;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,wBACb,SACI,kBAAkB,EAClB,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB;IAC1B;;;;;;;;;;;OAWG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CACnE;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,wBAAwB;IAClF,QAAQ,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,SAAS,EAAE,GAAG,KAAK,YAAY,CAAC,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC;CACnC"}
|
package/esm/presentation/filterBar/measureValueFilter/useDashboardMeasureValueFilterData.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface IDashboardMeasureValueFilterData {
|
|
|
45
45
|
catalogDimensionality: IDimensionalityItem[];
|
|
46
46
|
/** Loader for catalog dimensionality items shown in the configuration panel picker. */
|
|
47
47
|
loadCatalogDimensionality: (dimensionality: ObjRef[]) => Promise<IDimensionalityItem[]>;
|
|
48
|
-
/** Human-readable condition summary shown on the chip (
|
|
48
|
+
/** Human-readable condition summary shown on the chip (`> 100 OR ≥ 50%`). */
|
|
49
49
|
conditionLabel: string;
|
|
50
50
|
/** Execution-level MVF that the SDK <MeasureValueFilter /> takes as `filter`. */
|
|
51
51
|
dropdownFilter: IMeasureValueFilter;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export declare const de_DE: {
|
|
2
|
-
"dashboard.ai.composing.replyNow": string;
|
|
3
|
-
"dashboard.ai.composing.waiting": string;
|
|
4
2
|
"dashboard.contractExpired.trial.title": string;
|
|
5
3
|
"dashboard.contractExpired.trial.description": string;
|
|
6
4
|
"dashboard.contractExpired.nonTrial.title": string;
|