@gooddata/sdk-ui-dashboard 11.58.0-alpha.2 → 11.58.0-alpha.3
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 +8 -8
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/model/DashboardTester.d.ts.map +1 -1
- package/esm/model/DashboardTester.js +7 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +13 -6
- package/esm/model/commandHandlers/parameters/filterParameterDependenciesWorker.d.ts +45 -0
- package/esm/model/commandHandlers/parameters/filterParameterDependenciesWorker.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/filterParameterDependenciesWorker.js +99 -0
- package/esm/model/commandHandlers/parameters/insightParameterDependenciesWorker.d.ts +11 -0
- package/esm/model/commandHandlers/parameters/insightParameterDependenciesWorker.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/insightParameterDependenciesWorker.js +71 -0
- package/esm/model/commandHandlers/parameters/loadFilterParameterDependencies.d.ts +22 -0
- package/esm/model/commandHandlers/parameters/loadFilterParameterDependencies.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/loadFilterParameterDependencies.js +39 -0
- package/esm/model/commandHandlers/parameters/loadInsightParameterDependencies.d.ts +21 -0
- package/esm/model/commandHandlers/parameters/loadInsightParameterDependencies.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/loadInsightParameterDependencies.js +86 -0
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +4 -0
- package/esm/model/react/useWidgetExecConfig.d.ts +4 -4
- package/esm/model/react/useWidgetExecConfig.d.ts.map +1 -1
- package/esm/model/react/useWidgetExecConfig.js +2 -2
- package/esm/model/store/catalog/catalogReducers.d.ts +16 -4
- package/esm/model/store/catalog/catalogReducers.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogReducers.js +15 -3
- package/esm/model/store/catalog/catalogSelectors.d.ts +21 -6
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +20 -5
- package/esm/model/store/catalog/catalogState.d.ts +30 -9
- package/esm/model/store/catalog/catalogState.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogState.js +2 -1
- package/esm/model/store/catalog/index.d.ts +4 -1
- package/esm/model/store/catalog/index.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +42 -8
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +88 -19
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +13 -6
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +24 -13
- package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.js +16 -2
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +2 -2
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +5 -2
- package/esm/presentation/widget/common/RestrictedPlaceholder.d.ts +4 -8
- package/esm/presentation/widget/common/RestrictedPlaceholder.d.ts.map +1 -1
- package/esm/presentation/widget/common/RestrictedPlaceholder.js +16 -23
- package/esm/presentation/widget/insight/DefaultInsightBody/DefaultInsightBody.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultInsightBody/DefaultInsightBody.js +2 -4
- package/esm/presentation/widget/insight/LayeredTableView.d.ts +1 -1
- package/esm/presentation/widget/insight/LayeredTableView.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +2 -3
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +1 -1
- package/esm/presentation/widget/insight/types.d.ts +1 -1
- package/esm/presentation/widget/insight/types.d.ts.map +1 -1
- package/esm/presentation/widget/richText/RestrictedReferencesDialog.d.ts.map +1 -1
- package/esm/presentation/widget/richText/RestrictedReferencesDialog.js +5 -6
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList/VisualizationListItem.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList/VisualizationListItem.js +1 -4
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +2 -3
- package/esm/sdk-ui-dashboard.d.ts +68 -42
- package/package.json +21 -21
- package/styles/css/main.css +8 -7
- package/styles/css/main.css.map +1 -1
- package/styles/css/richTextWidget.css +4 -0
- package/styles/css/richTextWidget.css.map +1 -1
- package/styles/scss/richTextWidget.scss +5 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadMeasureParameterDependencies.d.ts +0 -13
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadMeasureParameterDependencies.d.ts.map +0 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadMeasureParameterDependencies.js +0 -98
- package/esm/presentation/widget/insight/geoDefaultDisplayFormRefs.d.ts +0 -5
- package/esm/presentation/widget/insight/geoDefaultDisplayFormRefs.d.ts.map +0 -1
- package/esm/presentation/widget/insight/geoDefaultDisplayFormRefs.js +0 -28
- package/esm/presentation/widget/insight/insightToTable.d.ts +0 -74
- package/esm/presentation/widget/insight/insightToTable.d.ts.map +0 -1
- package/esm/presentation/widget/insight/insightToTable.js +0 -482
|
@@ -173,6 +173,7 @@ import { IKpiComparisonTypeComparison } from '@gooddata/sdk-model';
|
|
|
173
173
|
import { IKpiWidget } from '@gooddata/sdk-model';
|
|
174
174
|
import { IKpiWidgetConfiguration } from '@gooddata/sdk-model';
|
|
175
175
|
import { IKpiWidgetDefinition } from '@gooddata/sdk-model';
|
|
176
|
+
import { ILayerTableDefinition } from '@gooddata/sdk-ui-ext';
|
|
176
177
|
import { IListedDashboard } from '@gooddata/sdk-model';
|
|
177
178
|
import { ILoadingProps } from '@gooddata/sdk-ui';
|
|
178
179
|
import { ILocale } from '@gooddata/sdk-ui';
|
|
@@ -1314,15 +1315,25 @@ export declare const catalogActions: {
|
|
|
1314
1315
|
updateAttributeHierarchy: ActionCreatorWithPayload<ICatalogAttributeHierarchy, "catalog/updateAttributeHierarchy">;
|
|
1315
1316
|
deleteAttributeHierarchy: ActionCreatorWithPayload<ICatalogAttributeHierarchy, "catalog/deleteAttributeHierarchy">;
|
|
1316
1317
|
setCatalogParameters: ActionCreatorWithPayload<ICatalogParametersState, "catalog/setCatalogParameters">;
|
|
1317
|
-
|
|
1318
|
+
setCatalogInsightParameters: ActionCreatorWithPayload<ICatalogInsightParametersState, "catalog/setCatalogInsightParameters">;
|
|
1319
|
+
mergeCatalogInsightParameters: ActionCreatorWithPayload<Record<string, IdentifierRef[]>, "catalog/mergeCatalogInsightParameters">;
|
|
1320
|
+
setCatalogFilterParameters: ActionCreatorWithPayload<ICatalogFilterParametersState, "catalog/setCatalogFilterParameters">;
|
|
1321
|
+
mergeCatalogFilterParameters: ActionCreatorWithPayload<Record<string, IdentifierRef[]>, "catalog/mergeCatalogFilterParameters">;
|
|
1318
1322
|
};
|
|
1319
1323
|
|
|
1320
1324
|
/**
|
|
1321
|
-
* Status of the dashboard-wide
|
|
1325
|
+
* Status of the dashboard-wide dashboard-filter → parameter dependency map.
|
|
1322
1326
|
*
|
|
1323
1327
|
* @alpha
|
|
1324
1328
|
*/
|
|
1325
|
-
export declare type
|
|
1329
|
+
export declare type CatalogFilterParametersStatus = "uninitialized" | "loading" | "loaded" | "failed";
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* Status of the dashboard-wide insight → parameter dependency map.
|
|
1333
|
+
*
|
|
1334
|
+
* @alpha
|
|
1335
|
+
*/
|
|
1336
|
+
export declare type CatalogInsightParametersStatus = "uninitialized" | "loading" | "loaded" | "failed";
|
|
1326
1337
|
|
|
1327
1338
|
/**
|
|
1328
1339
|
* Status of catalog parameters loading.
|
|
@@ -1357,7 +1368,9 @@ export declare type CatalogState = {
|
|
|
1357
1368
|
/** @alpha */
|
|
1358
1369
|
parameters: ICatalogParametersState;
|
|
1359
1370
|
/** @alpha */
|
|
1360
|
-
|
|
1371
|
+
insightParameters: ICatalogInsightParametersState;
|
|
1372
|
+
/** @alpha */
|
|
1373
|
+
filterParameters: ICatalogFilterParametersState;
|
|
1361
1374
|
};
|
|
1362
1375
|
|
|
1363
1376
|
/**
|
|
@@ -8458,15 +8471,29 @@ export declare interface ICancelRenamingDashboardTabPayload {
|
|
|
8458
8471
|
}
|
|
8459
8472
|
|
|
8460
8473
|
/**
|
|
8461
|
-
* Maps each
|
|
8462
|
-
*
|
|
8463
|
-
*
|
|
8474
|
+
* Maps each object a dashboard filter reads (keyed by `serializeObjRef(ref)`: the computed attribute
|
|
8475
|
+
* of an attribute filter, the metric or a computed-attribute dimension of a measure value filter) to
|
|
8476
|
+
* the parameter refs it depends on, as reported by the workspace references service. Complements
|
|
8477
|
+
* {@link ICatalogInsightParametersState} for the parameters a widget reaches only through dashboard
|
|
8478
|
+
* filters, which are not part of its insight.
|
|
8464
8479
|
*
|
|
8465
8480
|
* @alpha
|
|
8466
8481
|
*/
|
|
8467
|
-
export declare interface
|
|
8468
|
-
status:
|
|
8469
|
-
|
|
8482
|
+
export declare interface ICatalogFilterParametersState {
|
|
8483
|
+
status: CatalogFilterParametersStatus;
|
|
8484
|
+
byRef: Record<string, IdentifierRef[]>;
|
|
8485
|
+
}
|
|
8486
|
+
|
|
8487
|
+
/**
|
|
8488
|
+
* Maps each dashboard insight (keyed by `serializeObjRef(insightRef)`) to the parameter refs it
|
|
8489
|
+
* depends on through its metrics and computed attributes, as reported by the workspace references
|
|
8490
|
+
* service. Drives runtime parameter applicability for widget execution.
|
|
8491
|
+
*
|
|
8492
|
+
* @alpha
|
|
8493
|
+
*/
|
|
8494
|
+
export declare interface ICatalogInsightParametersState {
|
|
8495
|
+
status: CatalogInsightParametersStatus;
|
|
8496
|
+
byInsight: Record<string, IdentifierRef[]>;
|
|
8470
8497
|
}
|
|
8471
8498
|
|
|
8472
8499
|
/**
|
|
@@ -17047,21 +17074,7 @@ export declare interface IKpiWidgetComparison {
|
|
|
17047
17074
|
comparisonDirection?: IKpiComparisonDirection;
|
|
17048
17075
|
}
|
|
17049
17076
|
|
|
17050
|
-
|
|
17051
|
-
* Defines a single layer's table conversion result for multi-layer geo charts.
|
|
17052
|
-
*
|
|
17053
|
-
* @alpha
|
|
17054
|
-
*/
|
|
17055
|
-
export declare interface ILayerTableDefinition {
|
|
17056
|
-
/** Stable id — "root" for root layer, layer.id for additional layers */
|
|
17057
|
-
layerId: string;
|
|
17058
|
-
/** Human-readable name for the tab label */
|
|
17059
|
-
layerName: string;
|
|
17060
|
-
/** Normalized layer type */
|
|
17061
|
-
layerType: string;
|
|
17062
|
-
/** Converted table insight for this layer */
|
|
17063
|
-
tableInsight: IInsight;
|
|
17064
|
-
}
|
|
17077
|
+
export { ILayerTableDefinition }
|
|
17065
17078
|
|
|
17066
17079
|
/**
|
|
17067
17080
|
* Coordinates of an item in a layout.
|
|
@@ -26321,17 +26334,13 @@ export declare type RestrictedFiltersPlaceholderComponentProvider = () => Custom
|
|
|
26321
26334
|
export declare type RestrictedPlaceholderComponentProvider = (widget: IInsightWidget) => CustomRestrictedPlaceholderComponent;
|
|
26322
26335
|
|
|
26323
26336
|
/**
|
|
26324
|
-
* The built-in restricted placeholder content: a lock with the reason and the recovery step
|
|
26325
|
-
*
|
|
26326
|
-
*
|
|
26327
|
-
* in place of the warning, so the two read as the same kind of message. It renders the same at every
|
|
26328
|
-
* size — the tile clips what does not fit and the hover tooltip carries the whole message — so one
|
|
26329
|
-
* widget cannot read differently in two render modes. The measured size is therefore not used, and
|
|
26330
|
-
* is passed to a consumer's replacement only.
|
|
26337
|
+
* The built-in restricted placeholder content: a lock with the reason and the recovery step, as the
|
|
26338
|
+
* design has it. It takes over the whole widget, title included, because a stored title can name the
|
|
26339
|
+
* object the reader may not know exists.
|
|
26331
26340
|
*
|
|
26332
26341
|
* @alpha
|
|
26333
26342
|
*/
|
|
26334
|
-
export declare function RestrictedPlaceholderContent(
|
|
26343
|
+
export declare function RestrictedPlaceholderContent({ width }: IRestrictedPlaceholderContentProps): JSX.Element;
|
|
26335
26344
|
|
|
26336
26345
|
/**
|
|
26337
26346
|
* A convenience function to create UndoLayoutChanges command that will revert the very last command and toss it out
|
|
@@ -27576,24 +27585,41 @@ export declare const selectCatalogDateDatasets: DashboardSelector<ICatalogDateDa
|
|
|
27576
27585
|
export declare const selectCatalogFacts: DashboardSelector<ICatalogFact[]>;
|
|
27577
27586
|
|
|
27578
27587
|
/**
|
|
27588
|
+
* Returns the dashboard-wide map from the serialized ref of an object a dashboard filter reads (a computed
|
|
27589
|
+
* attribute, a metric) to the parameter refs it depends on. Populated during dashboard initialization from
|
|
27590
|
+
* the workspace references service and extended when the filter context gains filters on other objects.
|
|
27591
|
+
*
|
|
27579
27592
|
* @alpha
|
|
27580
27593
|
*/
|
|
27581
|
-
export declare const
|
|
27594
|
+
export declare const selectCatalogFilterParameters: DashboardSelector<Record<string, IdentifierRef[]>>;
|
|
27582
27595
|
|
|
27583
27596
|
/**
|
|
27584
|
-
* Returns the
|
|
27585
|
-
* The map is populated during dashboard initialization from the workspace references service.
|
|
27597
|
+
* Returns the load status of the dashboard-wide dashboard-filter → parameter dependency map.
|
|
27586
27598
|
*
|
|
27587
27599
|
* @alpha
|
|
27588
27600
|
*/
|
|
27589
|
-
export declare const
|
|
27601
|
+
export declare const selectCatalogFilterParametersStatus: DashboardSelector<CatalogFilterParametersStatus>;
|
|
27590
27602
|
|
|
27591
27603
|
/**
|
|
27592
|
-
* Returns the
|
|
27604
|
+
* Returns the dashboard-wide map from serialized insight ref to the parameter refs the insight depends on.
|
|
27605
|
+
* The map is populated during dashboard initialization from the workspace references service and extended
|
|
27606
|
+
* when insights are added later.
|
|
27593
27607
|
*
|
|
27594
27608
|
* @alpha
|
|
27595
27609
|
*/
|
|
27596
|
-
export declare const
|
|
27610
|
+
export declare const selectCatalogInsightParameters: DashboardSelector<Record<string, IdentifierRef[]>>;
|
|
27611
|
+
|
|
27612
|
+
/**
|
|
27613
|
+
* Returns the load status of the dashboard-wide insight → parameter dependency map.
|
|
27614
|
+
*
|
|
27615
|
+
* @alpha
|
|
27616
|
+
*/
|
|
27617
|
+
export declare const selectCatalogInsightParametersStatus: DashboardSelector<CatalogInsightParametersStatus>;
|
|
27618
|
+
|
|
27619
|
+
/**
|
|
27620
|
+
* @alpha
|
|
27621
|
+
*/
|
|
27622
|
+
export declare const selectCatalogIsLoaded: DashboardSelector<boolean>;
|
|
27597
27623
|
|
|
27598
27624
|
/**
|
|
27599
27625
|
* @public
|
|
@@ -28342,14 +28368,14 @@ export declare const selectEffectiveDateFilterTitle: DashboardSelector<string |
|
|
|
28342
28368
|
* Returns the parameter values to inject into the widget's `IExecutionConfig.parameterValues`.
|
|
28343
28369
|
*
|
|
28344
28370
|
* @remarks
|
|
28345
|
-
* For each parameter
|
|
28346
|
-
*
|
|
28371
|
+
* For each parameter the widget's insight depends on (via the dashboard-wide
|
|
28372
|
+
* insight → parameter dependency map), the value is resolved in this order:
|
|
28347
28373
|
*
|
|
28348
28374
|
* 1. dashboard chip on the widget's tab with `runtimeOverride !== undefined`,
|
|
28349
28375
|
* 2. else `insight.parameters` entry for that ref (AD-authored per-insight override),
|
|
28350
28376
|
* 3. else nothing (backend uses workspace default).
|
|
28351
28377
|
*
|
|
28352
|
-
* Parameters
|
|
28378
|
+
* Parameters the widget's insight does not depend on are excluded so that adding/removing
|
|
28353
28379
|
* unrelated parameters does not invalidate the widget's `defFingerprint`. Returns `[]` when
|
|
28354
28380
|
* `enableParameters` is off or while the dependency map has not been loaded.
|
|
28355
28381
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.58.0-alpha.
|
|
3
|
+
"version": "11.58.0-alpha.3",
|
|
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-
|
|
64
|
-
"@gooddata/sdk-
|
|
65
|
-
"@gooddata/sdk-backend-spi": "11.58.0-alpha.
|
|
66
|
-
"@gooddata/sdk-ui
|
|
67
|
-
"@gooddata/sdk-ui": "11.58.0-alpha.
|
|
68
|
-
"@gooddata/sdk-ui-ext": "11.58.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-filters": "11.58.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-geo": "11.58.0-alpha.
|
|
71
|
-
"@gooddata/sdk-ui-kit": "11.58.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-pivot": "11.58.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-semantic-search": "11.58.0-alpha.
|
|
74
|
-
"@gooddata/sdk-ui-theme-provider": "11.58.0-alpha.
|
|
75
|
-
"@gooddata/sdk-ui-vis-commons": "11.58.0-alpha.
|
|
76
|
-
"@gooddata/util": "11.58.0-alpha.
|
|
63
|
+
"@gooddata/sdk-model": "11.58.0-alpha.3",
|
|
64
|
+
"@gooddata/sdk-backend-base": "11.58.0-alpha.3",
|
|
65
|
+
"@gooddata/sdk-backend-spi": "11.58.0-alpha.3",
|
|
66
|
+
"@gooddata/sdk-ui": "11.58.0-alpha.3",
|
|
67
|
+
"@gooddata/sdk-ui-charts": "11.58.0-alpha.3",
|
|
68
|
+
"@gooddata/sdk-ui-ext": "11.58.0-alpha.3",
|
|
69
|
+
"@gooddata/sdk-ui-filters": "11.58.0-alpha.3",
|
|
70
|
+
"@gooddata/sdk-ui-geo": "11.58.0-alpha.3",
|
|
71
|
+
"@gooddata/sdk-ui-kit": "11.58.0-alpha.3",
|
|
72
|
+
"@gooddata/sdk-ui-pivot": "11.58.0-alpha.3",
|
|
73
|
+
"@gooddata/sdk-ui-semantic-search": "11.58.0-alpha.3",
|
|
74
|
+
"@gooddata/sdk-ui-theme-provider": "11.58.0-alpha.3",
|
|
75
|
+
"@gooddata/sdk-ui-vis-commons": "11.58.0-alpha.3",
|
|
76
|
+
"@gooddata/util": "11.58.0-alpha.3"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@microsoft/api-documenter": "7.30.10",
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"typescript": "7.0.2",
|
|
116
116
|
"vitest": "4.1.11",
|
|
117
117
|
"vitest-dom": "0.1.1",
|
|
118
|
-
"@gooddata/
|
|
119
|
-
"@gooddata/
|
|
120
|
-
"@gooddata/reference-workspace": "11.58.0-alpha.
|
|
121
|
-
"@gooddata/
|
|
122
|
-
"@gooddata/sdk-backend-mockingbird": "11.58.0-alpha.
|
|
123
|
-
"@gooddata/stylelint-config": "11.58.0-alpha.
|
|
118
|
+
"@gooddata/i18n-toolkit": "11.58.0-alpha.3",
|
|
119
|
+
"@gooddata/eslint-config": "11.58.0-alpha.3",
|
|
120
|
+
"@gooddata/reference-workspace": "11.58.0-alpha.3",
|
|
121
|
+
"@gooddata/oxlint-config": "11.58.0-alpha.3",
|
|
122
|
+
"@gooddata/sdk-backend-mockingbird": "11.58.0-alpha.3",
|
|
123
|
+
"@gooddata/stylelint-config": "11.58.0-alpha.3"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"react": "^18.0.0 || ^19.0.0",
|
package/styles/css/main.css
CHANGED
|
@@ -1664,13 +1664,10 @@ button.gd-list-item {
|
|
|
1664
1664
|
|
|
1665
1665
|
.gd-rich-text-content .gd-rich-text-metric-restricted {
|
|
1666
1666
|
display: inline-flex;
|
|
1667
|
-
align-items:
|
|
1668
|
-
gap:
|
|
1669
|
-
color: var(--gd-palette-complementary-6
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
.gd-rich-text-content .gd-rich-text-metric-restricted::before {
|
|
1673
|
-
font-size: 12px;
|
|
1667
|
+
align-items: center;
|
|
1668
|
+
gap: 2px;
|
|
1669
|
+
color: var(--gd-palette-complementary-6);
|
|
1670
|
+
font-weight: 400;
|
|
1674
1671
|
}
|
|
1675
1672
|
|
|
1676
1673
|
.gd-rich-text-content-view * {
|
|
@@ -31110,6 +31107,10 @@ figure {
|
|
|
31110
31107
|
font-size: 12px;
|
|
31111
31108
|
}
|
|
31112
31109
|
|
|
31110
|
+
.gd-restricted-references-dialog-wrapper {
|
|
31111
|
+
display: contents;
|
|
31112
|
+
}
|
|
31113
|
+
|
|
31113
31114
|
.gd-rich-text-widget-wrapper {
|
|
31114
31115
|
width: 100%;
|
|
31115
31116
|
height: 100%;
|