@gooddata/sdk-ui-dashboard 11.70.0-alpha.0 → 11.70.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +50 -83
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +18 -8
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +11 -0
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -0
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +46 -0
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +5 -2
- package/esm/_staging/drills/drillingUtils.d.ts +2 -2
- package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
- package/esm/_staging/drills/drillingUtils.js +3 -3
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.js +8 -10
- package/esm/kdaDialog/components/bars/AttributeBar.d.ts.map +1 -1
- package/esm/kdaDialog/components/bars/AttributeBar.js +9 -2
- package/esm/kdaDialog/components/bars/DateBar.d.ts.map +1 -1
- package/esm/kdaDialog/components/bars/DateBar.js +3 -1
- package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.d.ts.map +1 -1
- package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.js +9 -5
- package/esm/kdaDialog/internalTypes.d.ts +3 -0
- package/esm/kdaDialog/internalTypes.d.ts.map +1 -1
- package/esm/kdaDialog/providers/KdaState.d.ts.map +1 -1
- package/esm/kdaDialog/providers/KdaState.js +1 -0
- package/esm/kdaDialog/types.d.ts +9 -2
- package/esm/kdaDialog/types.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +5 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +14 -3
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -0
- package/esm/model/commandHandlers/drill/common/filterValuesResolver.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/common/filterValuesResolver.js +11 -4
- package/esm/model/commandHandlers/drill/common/sourceDrillFilters.d.ts +2 -2
- package/esm/model/commandHandlers/drill/common/sourceDrillFilters.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/common/sourceDrillFilters.js +13 -4
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +15 -7
- package/esm/model/commandHandlers/drill/drillToInsightUtils.js +3 -3
- package/esm/model/commandHandlers/drill/getDrillToUrlFilters.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/getDrillToUrlFilters.js +5 -4
- package/esm/model/commandHandlers/filterContext/attributeFilter/validation/filterDisplayFormValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/validation/filterDisplayFormValidation.js +3 -4
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +7 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +6 -1
- package/esm/model/commandHandlers/scheduledEmail/csvRawExecutionDefinition.js +3 -3
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +27 -11
- package/esm/model/commands/filters.d.ts +1 -0
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +7 -2
- package/esm/model/events/drill.d.ts +21 -0
- package/esm/model/events/drill.d.ts.map +1 -1
- package/esm/model/queryServices/queryInsightDateDatasets.js +2 -2
- package/esm/model/queryServices/queryWidgetFilters.js +2 -2
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js +3 -4
- package/esm/model/utils/attributeFilterMatching.d.ts.map +1 -1
- package/esm/model/utils/attributeFilterMatching.js +10 -3
- package/esm/model/utils/widgetFilters.d.ts +3 -3
- package/esm/model/utils/widgetFilters.d.ts.map +1 -1
- package/esm/model/utils/widgetFilters.js +2 -2
- package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.js +2 -3
- package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +12 -5
- package/esm/presentation/automations/shared/automationFilters/utils.d.ts +2 -2
- package/esm/presentation/automations/shared/automationFilters/utils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/utils.js +32 -11
- package/esm/presentation/automations/shared/filters/conversions.js +2 -2
- package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/utils/automationUtils.js +18 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/displayForms/AttributeDisplayFormsDropdown.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/displayForms/AttributeDisplayFormsDropdown.js +3 -4
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +5 -1
- package/esm/presentation/filterBar/utils.d.ts +1 -0
- package/esm/presentation/filterBar/utils.d.ts.map +1 -1
- package/esm/presentation/filterBar/utils.js +3 -1
- package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -1
- package/esm/presentation/insightEditor/filterContext/dateFilters.js +12 -5
- package/esm/presentation/insightEditor/useInsightEditPermissions.d.ts +5 -2
- package/esm/presentation/insightEditor/useInsightEditPermissions.d.ts.map +1 -1
- package/esm/presentation/insightEditor/useInsightEditPermissions.js +5 -2
- package/esm/presentation/insightEditor/useInsightEditorMenuItems.d.ts.map +1 -1
- package/esm/presentation/insightEditor/useInsightEditorMenuItems.js +10 -4
- package/esm/presentation/widget/common/configuration/utils.js +2 -2
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useExcludedDrillDefinitionFilters.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useExcludedDrillDefinitionFilters.js +4 -2
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +7 -2
- package/esm/sdk-ui-dashboard.d.ts +31 -2
- package/package.json +23 -23
|
@@ -1042,6 +1042,7 @@ export declare function applyAttributeFilter(filterLocalId: string, filter: IAtt
|
|
|
1042
1042
|
* update (e.g. hidden date filter option by dateFilterConfig).
|
|
1043
1043
|
*
|
|
1044
1044
|
* All parameters for {@link ChangeDateFilterSelection} command is derived from the provided date filter.
|
|
1045
|
+
* An absolute date filter with granularity is not supported yet and throws an error.
|
|
1045
1046
|
*
|
|
1046
1047
|
* See {@link ChangeDateFilterSelection} for a more complete description of the different parameters
|
|
1047
1048
|
*
|
|
@@ -13208,14 +13209,35 @@ export declare interface IDashboardKeyDriverAnalysisResolvedPayload {
|
|
|
13208
13209
|
}
|
|
13209
13210
|
|
|
13210
13211
|
/**
|
|
13212
|
+
* Describes a metric and a pair of periods available for comparison in a key driver analysis drill interaction.
|
|
13213
|
+
*
|
|
13211
13214
|
* @internal
|
|
13212
13215
|
*/
|
|
13213
13216
|
export declare interface IDashboardKeyDriverCombinationItem {
|
|
13217
|
+
/**
|
|
13218
|
+
* Whether the comparison uses the period before or after the drilled data point, or neither for a
|
|
13219
|
+
* year-to-year comparison.
|
|
13220
|
+
*/
|
|
13214
13221
|
where: "before" | "after" | "none";
|
|
13222
|
+
/**
|
|
13223
|
+
* Whether to compare adjacent periods or the same period across consecutive years.
|
|
13224
|
+
*/
|
|
13215
13225
|
type: "comparative" | "year-to-year";
|
|
13226
|
+
/**
|
|
13227
|
+
* Descriptor of the metric to analyze.
|
|
13228
|
+
*/
|
|
13216
13229
|
measure: IMeasureDescriptor;
|
|
13230
|
+
/**
|
|
13231
|
+
* Metric value difference associated with the comparison.
|
|
13232
|
+
*/
|
|
13217
13233
|
difference: number;
|
|
13234
|
+
/**
|
|
13235
|
+
* Metric values for the reference period and the analyzed period, in that order.
|
|
13236
|
+
*/
|
|
13218
13237
|
values: [number, number];
|
|
13238
|
+
/**
|
|
13239
|
+
* Date attribute scopes for the reference period and the analyzed period, matching the order of values.
|
|
13240
|
+
*/
|
|
13219
13241
|
range: [ITableDataAttributeScope, ITableDataAttributeScope];
|
|
13220
13242
|
}
|
|
13221
13243
|
|
|
@@ -17472,6 +17494,8 @@ export declare interface IItemWithWidth {
|
|
|
17472
17494
|
}
|
|
17473
17495
|
|
|
17474
17496
|
/**
|
|
17497
|
+
* Metric value and date identifying one of the periods compared in key driver analysis.
|
|
17498
|
+
*
|
|
17475
17499
|
* @internal
|
|
17476
17500
|
*/
|
|
17477
17501
|
export declare interface IKdaDataPoint {
|
|
@@ -17485,7 +17509,7 @@ export declare interface IKdaDataPoint {
|
|
|
17485
17509
|
*/
|
|
17486
17510
|
date: string;
|
|
17487
17511
|
/**
|
|
17488
|
-
*
|
|
17512
|
+
* Metric value for the period, or undefined if the value is unavailable.
|
|
17489
17513
|
*/
|
|
17490
17514
|
value: number | undefined;
|
|
17491
17515
|
/**
|
|
@@ -17495,6 +17519,8 @@ export declare interface IKdaDataPoint {
|
|
|
17495
17519
|
}
|
|
17496
17520
|
|
|
17497
17521
|
/**
|
|
17522
|
+
* Defines the metric, filters, and periods to compare in key driver analysis.
|
|
17523
|
+
*
|
|
17498
17524
|
* @internal
|
|
17499
17525
|
*/
|
|
17500
17526
|
export declare interface IKdaDefinition {
|
|
@@ -17530,7 +17556,7 @@ export declare interface IKdaDefinition {
|
|
|
17530
17556
|
*/
|
|
17531
17557
|
type: KdaPeriodType;
|
|
17532
17558
|
/**
|
|
17533
|
-
*
|
|
17559
|
+
* Data points for the reference period and the analyzed period, in that order.
|
|
17534
17560
|
*/
|
|
17535
17561
|
range: [IKdaDataPoint, IKdaDataPoint];
|
|
17536
17562
|
}
|
|
@@ -25081,6 +25107,9 @@ export declare interface IXlsxExportConfig {
|
|
|
25081
25107
|
export declare function KdaDialog(props: IKdaDialogProps): JSX.Element;
|
|
25082
25108
|
|
|
25083
25109
|
/**
|
|
25110
|
+
* Determines whether key driver analysis compares the analyzed period with the same period in the previous
|
|
25111
|
+
* year or with the immediately preceding period.
|
|
25112
|
+
*
|
|
25084
25113
|
* @internal
|
|
25085
25114
|
*/
|
|
25086
25115
|
export declare type KdaPeriodType = "same_period_previous_year" | "previous_period";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.70.0-alpha.
|
|
3
|
+
"version": "11.70.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -62,22 +62,22 @@
|
|
|
62
62
|
"ts-invariant": "0.10.3",
|
|
63
63
|
"tslib": "2.8.1",
|
|
64
64
|
"uuid": "11.1.1",
|
|
65
|
-
"@gooddata/sdk-backend-
|
|
66
|
-
"@gooddata/sdk-
|
|
67
|
-
"@gooddata/sdk-
|
|
68
|
-
"@gooddata/sdk-
|
|
69
|
-
"@gooddata/sdk-ui-analytical-designer": "11.70.0-alpha.
|
|
70
|
-
"@gooddata/sdk-
|
|
71
|
-
"@gooddata/sdk-ui-charts": "11.70.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-
|
|
73
|
-
"@gooddata/sdk-ui-
|
|
74
|
-
"@gooddata/sdk-ui-
|
|
75
|
-
"@gooddata/sdk-ui-
|
|
76
|
-
"@gooddata/sdk-ui-
|
|
77
|
-
"@gooddata/sdk-ui-
|
|
78
|
-
"@gooddata/sdk-ui-theme-provider": "11.70.0-alpha.
|
|
79
|
-
"@gooddata/
|
|
80
|
-
"@gooddata/
|
|
65
|
+
"@gooddata/sdk-backend-spi": "11.70.0-alpha.2",
|
|
66
|
+
"@gooddata/sdk-embedding": "11.70.0-alpha.2",
|
|
67
|
+
"@gooddata/sdk-ui": "11.70.0-alpha.2",
|
|
68
|
+
"@gooddata/sdk-backend-base": "11.70.0-alpha.2",
|
|
69
|
+
"@gooddata/sdk-ui-analytical-designer": "11.70.0-alpha.2",
|
|
70
|
+
"@gooddata/sdk-model": "11.70.0-alpha.2",
|
|
71
|
+
"@gooddata/sdk-ui-charts": "11.70.0-alpha.2",
|
|
72
|
+
"@gooddata/sdk-ui-filters": "11.70.0-alpha.2",
|
|
73
|
+
"@gooddata/sdk-ui-geo": "11.70.0-alpha.2",
|
|
74
|
+
"@gooddata/sdk-ui-pivot": "11.70.0-alpha.2",
|
|
75
|
+
"@gooddata/sdk-ui-semantic-search": "11.70.0-alpha.2",
|
|
76
|
+
"@gooddata/sdk-ui-vis-commons": "11.70.0-alpha.2",
|
|
77
|
+
"@gooddata/sdk-ui-ext": "11.70.0-alpha.2",
|
|
78
|
+
"@gooddata/sdk-ui-theme-provider": "11.70.0-alpha.2",
|
|
79
|
+
"@gooddata/sdk-ui-kit": "11.70.0-alpha.2",
|
|
80
|
+
"@gooddata/util": "11.70.0-alpha.2"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@microsoft/api-documenter": "7.30.20",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"svgo": "2.8.4",
|
|
120
120
|
"typescript": "7.0.2",
|
|
121
121
|
"vitest": "5.0.4",
|
|
122
|
-
"@gooddata/eslint-config": "11.70.0-alpha.
|
|
123
|
-
"@gooddata/i18n-toolkit": "11.70.0-alpha.
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/oxlint-config": "11.70.0-alpha.
|
|
126
|
-
"@gooddata/stylelint-config": "11.70.0-alpha.
|
|
127
|
-
"@gooddata/
|
|
122
|
+
"@gooddata/eslint-config": "11.70.0-alpha.2",
|
|
123
|
+
"@gooddata/i18n-toolkit": "11.70.0-alpha.2",
|
|
124
|
+
"@gooddata/sdk-backend-mockingbird": "11.70.0-alpha.2",
|
|
125
|
+
"@gooddata/oxlint-config": "11.70.0-alpha.2",
|
|
126
|
+
"@gooddata/stylelint-config": "11.70.0-alpha.2",
|
|
127
|
+
"@gooddata/reference-workspace": "11.70.0-alpha.2"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
130
|
"react": "^18.0.0 || ^19.0.0",
|