@gooddata/sdk-ui-dashboard 10.22.0-alpha.49 → 10.22.0-alpha.50
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +2 -0
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +8 -2
- package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
- package/esm/model/store/index.d.ts +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/presentation/export/DefaultDashboardExportVariables.d.ts +13 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.d.ts.map +1 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.js +34 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.js.map +1 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts +17 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +13 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js.map +1 -0
- package/esm/presentation/export/index.d.ts +1 -0
- package/esm/presentation/export/index.d.ts.map +1 -1
- package/esm/presentation/export/index.js +1 -0
- package/esm/presentation/export/index.js.map +1 -1
- package/esm/presentation/export/types.d.ts +40 -1
- package/esm/presentation/export/types.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.d.ts +5 -1
- package/esm/presentation/export/useExportData.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.js +52 -0
- package/esm/presentation/export/useExportData.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +2 -0
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js +2 -0
- package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +2 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +67 -1
- package/package.json +15 -15
- package/styles/css/export.css +5 -0
- package/styles/css/export.css.map +1 -1
- package/styles/css/main.css +5 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/export.scss +5 -0
@@ -6714,6 +6714,18 @@ export declare const DefaultDashboardDateFilter: (props: IDashboardDateFilterPro
|
|
6714
6714
|
*/
|
6715
6715
|
export declare function DefaultDashboardDateFilterComponentSetFactory(dateFilterProvider: DateFilterComponentProvider): DateFilterComponentSet;
|
6716
6716
|
|
6717
|
+
/**
|
6718
|
+
* @alpha
|
6719
|
+
*/
|
6720
|
+
export declare function DefaultDashboardExportVariables({ renderMode }: DefaultDashboardExportVariablesProps): React_2.JSX.Element | null;
|
6721
|
+
|
6722
|
+
/**
|
6723
|
+
* @alpha
|
6724
|
+
*/
|
6725
|
+
export declare interface DefaultDashboardExportVariablesProps {
|
6726
|
+
renderMode: RenderMode;
|
6727
|
+
}
|
6728
|
+
|
6717
6729
|
/**
|
6718
6730
|
* Default implementation of the Dashboard Insight widget.
|
6719
6731
|
*
|
@@ -7704,7 +7716,7 @@ export declare function exportDashboardToPptPresentation(correlationId?: string)
|
|
7704
7716
|
*
|
7705
7717
|
* @alpha
|
7706
7718
|
*/
|
7707
|
-
export declare type ExportElementType = "section" | "section-info" | "section-title" | "section-description" | "widget" | "widget-content" | "widget-title" | "widget-description";
|
7719
|
+
export declare type ExportElementType = "meta" | "section" | "section-info" | "section-title" | "section-description" | "widget" | "widget-content" | "widget-title" | "widget-description";
|
7708
7720
|
|
7709
7721
|
/**
|
7710
7722
|
* @beta
|
@@ -7746,6 +7758,13 @@ export declare interface ExportInsightWidgetPayload {
|
|
7746
7758
|
*/
|
7747
7759
|
export declare type ExportLayoutCustomizationFn = <TWidget>(layout: IDashboardLayout, customizer: IExportLayoutCustomizer<TWidget>) => void;
|
7748
7760
|
|
7761
|
+
/**
|
7762
|
+
* Export meta type.
|
7763
|
+
*
|
7764
|
+
* @alpha
|
7765
|
+
*/
|
7766
|
+
export declare type ExportMetaType = "dashboard-id" | "dashboard-title" | "dashboard-description" | "dashboard-tags" | "dashboard-tag" | "dashboard-filters" | "dashboard-filter" | "dashboard-filter-name" | "dashboard-filter-value";
|
7767
|
+
|
7749
7768
|
/**
|
7750
7769
|
* @alpha
|
7751
7770
|
*/
|
@@ -14468,6 +14487,41 @@ export declare type MenuItemDependencies = {
|
|
14468
14487
|
useWidgetDeleteDialog?: boolean;
|
14469
14488
|
};
|
14470
14489
|
|
14490
|
+
/**
|
14491
|
+
* Data attributes for export mode to be added to the header.
|
14492
|
+
*
|
14493
|
+
* @alpha
|
14494
|
+
*/
|
14495
|
+
export declare type MetaExportData = {
|
14496
|
+
root?: CommonExportDataAttributes;
|
14497
|
+
id?: MetaExportDataAttributes;
|
14498
|
+
title?: MetaExportDataAttributes;
|
14499
|
+
description?: MetaExportDataAttributes;
|
14500
|
+
tags?: {
|
14501
|
+
root: MetaExportDataAttributes;
|
14502
|
+
tag: MetaExportDataAttributes;
|
14503
|
+
};
|
14504
|
+
filters?: {
|
14505
|
+
root: MetaExportDataAttributes;
|
14506
|
+
dateFilter: MetaExportDataAttributes;
|
14507
|
+
attributeFilter: MetaExportDataAttributes;
|
14508
|
+
filter: {
|
14509
|
+
name: MetaExportDataAttributes;
|
14510
|
+
value: MetaExportDataAttributes;
|
14511
|
+
};
|
14512
|
+
};
|
14513
|
+
};
|
14514
|
+
|
14515
|
+
/**
|
14516
|
+
* Data attributes with export specification for meta.
|
14517
|
+
*
|
14518
|
+
* @alpha
|
14519
|
+
*/
|
14520
|
+
export declare type MetaExportDataAttributes = {
|
14521
|
+
"data-export-meta-type": ExportMetaType;
|
14522
|
+
"data-export-meta-filter-type"?: "date" | "attribute";
|
14523
|
+
};
|
14524
|
+
|
14471
14525
|
/**
|
14472
14526
|
* @alpha
|
14473
14527
|
*/
|
@@ -18135,6 +18189,13 @@ export declare const selectCurrentUserRef: DashboardSelector<ObjRef>;
|
|
18135
18189
|
*/
|
18136
18190
|
export declare const selectDashboardDescription: DashboardSelector<string>;
|
18137
18191
|
|
18192
|
+
/**
|
18193
|
+
* Selects dashboard's descriptor.
|
18194
|
+
*
|
18195
|
+
* @internal
|
18196
|
+
*/
|
18197
|
+
export declare const selectDashboardDescriptor: DashboardSelector<DashboardDescriptor>;
|
18198
|
+
|
18138
18199
|
/**
|
18139
18200
|
* Setting of dashboard filters apply mode. The value is resolved in the following order:
|
18140
18201
|
* If set on workspace level, workspace setting is used.
|
@@ -22207,6 +22268,11 @@ export declare function useInsightWidgetDataView(config: IUseInsightWidgetDataVi
|
|
22207
22268
|
*/
|
22208
22269
|
export declare type UseInsightWidgetInsightDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
|
22209
22270
|
|
22271
|
+
/**
|
22272
|
+
* @alpha
|
22273
|
+
*/
|
22274
|
+
export declare const useMetaExportData: () => MetaExportData | undefined;
|
22275
|
+
|
22210
22276
|
/**
|
22211
22277
|
* Returns parent filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter} for particular dashboard attribute filter.
|
22212
22278
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
3
|
-
"version": "10.22.0-alpha.
|
3
|
+
"version": "10.22.0-alpha.50",
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -57,17 +57,17 @@
|
|
57
57
|
"ts-invariant": "^0.7.5",
|
58
58
|
"tslib": "^2.5.0",
|
59
59
|
"uuid": "^8.3.2",
|
60
|
-
"@gooddata/sdk-backend-base": "10.22.0-alpha.
|
61
|
-
"@gooddata/sdk-backend-spi": "10.22.0-alpha.
|
62
|
-
"@gooddata/sdk-model": "10.22.0-alpha.
|
63
|
-
"@gooddata/sdk-ui": "10.22.0-alpha.
|
64
|
-
"@gooddata/sdk-ui-
|
65
|
-
"@gooddata/sdk-ui-
|
66
|
-
"@gooddata/sdk-ui-
|
67
|
-
"@gooddata/sdk-ui-
|
68
|
-
"@gooddata/sdk-ui-
|
69
|
-
"@gooddata/sdk-ui-
|
70
|
-
"@gooddata/util": "10.22.0-alpha.
|
60
|
+
"@gooddata/sdk-backend-base": "10.22.0-alpha.50",
|
61
|
+
"@gooddata/sdk-backend-spi": "10.22.0-alpha.50",
|
62
|
+
"@gooddata/sdk-model": "10.22.0-alpha.50",
|
63
|
+
"@gooddata/sdk-ui": "10.22.0-alpha.50",
|
64
|
+
"@gooddata/sdk-ui-filters": "10.22.0-alpha.50",
|
65
|
+
"@gooddata/sdk-ui-ext": "10.22.0-alpha.50",
|
66
|
+
"@gooddata/sdk-ui-kit": "10.22.0-alpha.50",
|
67
|
+
"@gooddata/sdk-ui-geo": "10.22.0-alpha.50",
|
68
|
+
"@gooddata/sdk-ui-vis-commons": "10.22.0-alpha.50",
|
69
|
+
"@gooddata/sdk-ui-theme-provider": "10.22.0-alpha.50",
|
70
|
+
"@gooddata/util": "10.22.0-alpha.50"
|
71
71
|
},
|
72
72
|
"peerDependencies": {
|
73
73
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
@@ -120,9 +120,9 @@
|
|
120
120
|
"typescript": "5.3.3",
|
121
121
|
"vitest": "1.0.4",
|
122
122
|
"vitest-dom": "0.1.1",
|
123
|
-
"@gooddata/i18n-toolkit": "10.22.0-alpha.
|
124
|
-
"@gooddata/reference-workspace": "10.22.0-alpha.
|
125
|
-
"@gooddata/sdk-backend-mockingbird": "10.22.0-alpha.
|
123
|
+
"@gooddata/i18n-toolkit": "10.22.0-alpha.50",
|
124
|
+
"@gooddata/reference-workspace": "10.22.0-alpha.50",
|
125
|
+
"@gooddata/sdk-backend-mockingbird": "10.22.0-alpha.50"
|
126
126
|
},
|
127
127
|
"scripts": {
|
128
128
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|
package/styles/css/export.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../scss/export.scss"],"names":[],"mappings":"AAGI;EACI;;AAGJ;EAEI;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAKZ;EACI;;AAEA;EACI;;AAGJ;EACI;;AAIR;EACI;;AAMJ;EACI;EACA;EACA;EACA;EACA;;AAeJ;EACI;;AAGJ;EACI","file":"export.css"}
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/export.scss"],"names":[],"mappings":"AAGI;EACI;;AAGJ;EAEI;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAKZ;EACI;;AAEA;EACI;;AAGJ;EACI;;AAIR;EACI;;AAMJ;EACI;EACA;EACA;EACA;EACA;;AAeJ;EACI;;AAGJ;EACI;;;AAIR;EACI;EACA","file":"export.css"}
|
package/styles/css/main.css
CHANGED
@@ -22758,6 +22758,11 @@ figure {
|
|
22758
22758
|
padding-bottom: 300px;
|
22759
22759
|
}
|
22760
22760
|
|
22761
|
+
.gd-dashboard-meta {
|
22762
|
+
display: none;
|
22763
|
+
width: 100%;
|
22764
|
+
}
|
22765
|
+
|
22761
22766
|
.gd-dialog.save-as-new-dialog {
|
22762
22767
|
max-width: 450px;
|
22763
22768
|
}
|