@gooddata/sdk-ui-dashboard 10.23.0-alpha.1 → 10.23.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/NOTICE +1420 -550
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/__version.js.map +1 -1
  6. package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +5 -3
  7. package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
  8. package/esm/_staging/sharedHooks/useFiltersNamings.js +12 -8
  9. package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
  10. package/esm/presentation/export/DefaultDashboardExportVariables.d.ts.map +1 -1
  11. package/esm/presentation/export/DefaultDashboardExportVariables.js +2 -2
  12. package/esm/presentation/export/DefaultDashboardExportVariables.js.map +1 -1
  13. package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts +15 -14
  14. package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -1
  15. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +15 -2
  16. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js.map +1 -1
  17. package/esm/presentation/export/index.d.ts +1 -0
  18. package/esm/presentation/export/index.d.ts.map +1 -1
  19. package/esm/presentation/export/types.d.ts +4 -1
  20. package/esm/presentation/export/types.d.ts.map +1 -1
  21. package/esm/presentation/export/useExportData.d.ts.map +1 -1
  22. package/esm/presentation/export/useExportData.js +3 -0
  23. package/esm/presentation/export/useExportData.js.map +1 -1
  24. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  25. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +1 -1
  26. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  27. package/esm/presentation/localization/bundles/de-DE.json +7 -7
  28. package/esm/presentation/localization/bundles/en-US.json +5 -0
  29. package/esm/presentation/localization/bundles/es-419.json +1 -1
  30. package/esm/presentation/localization/bundles/es-ES.json +2 -2
  31. package/esm/presentation/localization/bundles/fi-FI.json +4 -4
  32. package/esm/presentation/localization/bundles/fr-FR.json +1 -1
  33. package/esm/presentation/localization/bundles/it-IT.json +2 -2
  34. package/esm/presentation/localization/bundles/nl-NL.json +10 -10
  35. package/esm/presentation/localization/bundles/pt-PT.json +1 -1
  36. package/esm/presentation/localization/bundles/zh-HK.json +8 -8
  37. package/esm/presentation/localization/bundles/zh-Hans.json +1 -1
  38. package/esm/presentation/localization/bundles/zh-Hant.json +5 -5
  39. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +1 -7
  40. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -1
  41. package/esm/presentation/widget/common/useInsightExport.d.ts +2 -0
  42. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  43. package/esm/presentation/widget/common/useInsightExport.js +4 -0
  44. package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
  45. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
  46. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +1 -0
  47. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
  48. package/esm/presentation/widget/insight/configuration/ExportOptions.d.ts +2 -0
  49. package/esm/presentation/widget/insight/configuration/ExportOptions.d.ts.map +1 -1
  50. package/esm/presentation/widget/insight/configuration/ExportOptions.js +9 -6
  51. package/esm/presentation/widget/insight/configuration/ExportOptions.js.map +1 -1
  52. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +2 -0
  53. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
  54. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +2 -2
  55. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
  56. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
  57. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +3 -1
  58. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
  59. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +3 -1
  60. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  61. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +2 -0
  62. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
  63. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +5 -1
  64. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
  65. package/esm/sdk-ui-dashboard.d.ts +18 -1
  66. package/package.json +15 -15
@@ -5893,6 +5893,19 @@ export declare interface DashboardQueryStartedPayload {
5893
5893
  */
5894
5894
  export declare type DashboardQueryType = "GDC.DASH/QUERY.INSIGHT.DATE.DATASETS" | "GDC.DASH/QUERY.INSIGHT.ATTRIBUTE.META" | "GDC.DASH/QUERY.MEASURE.DATE.DATASETS" | "GDC.DASH/QUERY.WIDGET.FILTERS" | "GDC.DASH/QUERY.WIDGET.BROKEN_ALERTS" | "GDC.DASH/QUERY.WIDGET.ALERT_COUNT" | "GDC.DASH/QUERY.CONNECTING.ATTRIBUTES" | "GDC.DASH/QUERY.DISPLAY.FORM.ATTRIBUTE" | "GDC.DASH/QUERY.DATA.SET.ATTRIBUTE" | "GDC.DASH/QUERY.ELEMENTS.ATTRIBUTE" | "GDC.DASH/QUERY.CONNECTED.ATTRIBUTES" | "GDC.DASH/QUERY.METRICS_AND_FACTS" | "GDC.DASH/QUERY.AVAILABLE.DATA.SETS.FOR.ITEMS";
5895
5895
 
5896
+ /**
5897
+ * @alpha
5898
+ */
5899
+ export declare type DashboardRelatedFilter = {
5900
+ type: "attributeFilter" | "dateFilter";
5901
+ all: boolean;
5902
+ id: string;
5903
+ title: string;
5904
+ subtitle: string;
5905
+ common?: true;
5906
+ mode: DashboardDateFilterConfigMode | DashboardAttributeFilterConfigMode;
5907
+ };
5908
+
5896
5909
  /**
5897
5910
  * This event is emitted at the end of successful 'dashboard rename' command processing. At this point, only the
5898
5911
  * in-memory title is changed and the changes are not saved on the backend.
@@ -8239,6 +8252,8 @@ export declare function getDefaultInsightMenuItems(intl: IntlShape, config: {
8239
8252
  scheduleExportDisabled: boolean;
8240
8253
  scheduleExportDisabledReason?: SchedulingDisabledReason;
8241
8254
  scheduleExportManagementDisabled: boolean;
8255
+ exportPdfPresentationDisabled: boolean;
8256
+ exportPowerPointPresentationDisabled: boolean;
8242
8257
  onExportXLSX: () => void;
8243
8258
  onExportCSV: () => void;
8244
8259
  onExportRawCSV: () => void;
@@ -14513,6 +14528,7 @@ export declare type MetaExportData = {
14513
14528
  filter: {
14514
14529
  name: MetaExportDataAttributes;
14515
14530
  value: MetaExportDataAttributes;
14531
+ filterData: (data: DashboardRelatedFilter) => MetaExportDataAttributes;
14516
14532
  };
14517
14533
  };
14518
14534
  };
@@ -14523,8 +14539,9 @@ export declare type MetaExportData = {
14523
14539
  * @alpha
14524
14540
  */
14525
14541
  export declare type MetaExportDataAttributes = {
14526
- "data-export-meta-type": ExportMetaType;
14542
+ "data-export-meta-type"?: ExportMetaType;
14527
14543
  "data-export-meta-filter-type"?: "date" | "attribute";
14544
+ "data-export-meta-filter-mode"?: "readonly" | "hidden" | "active";
14528
14545
  };
14529
14546
 
14530
14547
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.23.0-alpha.1",
3
+ "version": "10.23.0-alpha.10",
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.23.0-alpha.1",
61
- "@gooddata/sdk-model": "10.23.0-alpha.1",
62
- "@gooddata/sdk-backend-spi": "10.23.0-alpha.1",
63
- "@gooddata/sdk-ui": "10.23.0-alpha.1",
64
- "@gooddata/sdk-ui-ext": "10.23.0-alpha.1",
65
- "@gooddata/sdk-ui-filters": "10.23.0-alpha.1",
66
- "@gooddata/sdk-ui-geo": "10.23.0-alpha.1",
67
- "@gooddata/sdk-ui-kit": "10.23.0-alpha.1",
68
- "@gooddata/sdk-ui-theme-provider": "10.23.0-alpha.1",
69
- "@gooddata/sdk-ui-vis-commons": "10.23.0-alpha.1",
70
- "@gooddata/util": "10.23.0-alpha.1"
60
+ "@gooddata/sdk-backend-base": "10.23.0-alpha.10",
61
+ "@gooddata/sdk-backend-spi": "10.23.0-alpha.10",
62
+ "@gooddata/sdk-model": "10.23.0-alpha.10",
63
+ "@gooddata/sdk-ui": "10.23.0-alpha.10",
64
+ "@gooddata/sdk-ui-ext": "10.23.0-alpha.10",
65
+ "@gooddata/sdk-ui-filters": "10.23.0-alpha.10",
66
+ "@gooddata/sdk-ui-geo": "10.23.0-alpha.10",
67
+ "@gooddata/sdk-ui-theme-provider": "10.23.0-alpha.10",
68
+ "@gooddata/sdk-ui-kit": "10.23.0-alpha.10",
69
+ "@gooddata/sdk-ui-vis-commons": "10.23.0-alpha.10",
70
+ "@gooddata/util": "10.23.0-alpha.10"
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.23.0-alpha.1",
124
- "@gooddata/sdk-backend-mockingbird": "10.23.0-alpha.1",
125
- "@gooddata/reference-workspace": "10.23.0-alpha.1"
123
+ "@gooddata/i18n-toolkit": "10.23.0-alpha.10",
124
+ "@gooddata/reference-workspace": "10.23.0-alpha.10",
125
+ "@gooddata/sdk-backend-mockingbird": "10.23.0-alpha.10"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",