@gooddata/sdk-ui-dashboard 10.13.0-alpha.0 → 10.13.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.
Files changed (85) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/model/store/ui/uiSelectors.d.ts +2 -0
  4. package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
  5. package/esm/model/store/ui/uiSelectors.js +2 -0
  6. package/esm/model/store/ui/uiSelectors.js.map +1 -1
  7. package/esm/presentation/dashboardContexts/types.d.ts +3 -3
  8. package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
  9. package/esm/presentation/dragAndDrop/draggableWidget/InsightDraggingComponent.d.ts.map +1 -1
  10. package/esm/presentation/dragAndDrop/draggableWidget/InsightDraggingComponent.js +5 -3
  11. package/esm/presentation/dragAndDrop/draggableWidget/InsightDraggingComponent.js.map +1 -1
  12. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
  13. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +1 -1
  14. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js.map +1 -1
  15. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParameters.d.ts.map +1 -1
  16. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParameters.js +2 -2
  17. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParameters.js.map +1 -1
  18. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/IdentifierParametersSection.d.ts.map +1 -1
  19. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/IdentifierParametersSection.js +6 -6
  20. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/IdentifierParametersSection.js.map +1 -1
  21. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/InsightIdParameterDetail.d.ts +2 -0
  22. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/InsightIdParameterDetail.d.ts.map +1 -1
  23. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/InsightIdParameterDetail.js +3 -4
  24. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/InsightIdParameterDetail.js.map +1 -1
  25. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/WidgetIdParameterDetail.d.ts +2 -0
  26. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/WidgetIdParameterDetail.d.ts.map +1 -1
  27. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/WidgetIdParameterDetail.js +3 -4
  28. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/WidgetIdParameterDetail.js.map +1 -1
  29. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/types.d.ts +1 -0
  30. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/types.d.ts.map +1 -1
  31. package/esm/presentation/layout/DefaultDashboardLayoutUtils.d.ts.map +1 -1
  32. package/esm/presentation/layout/DefaultDashboardLayoutUtils.js +8 -3
  33. package/esm/presentation/layout/DefaultDashboardLayoutUtils.js.map +1 -1
  34. package/esm/presentation/localization/bundles/en-US.json +10 -0
  35. package/esm/presentation/widget/common/useInsightExport.d.ts +1 -1
  36. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  37. package/esm/presentation/widget/common/useInsightExport.js +3 -1
  38. package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
  39. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
  40. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +3 -1
  41. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js.map +1 -1
  42. package/esm/presentation/widget/description/types.d.ts +1 -1
  43. package/esm/presentation/widget/description/types.d.ts.map +1 -1
  44. package/esm/presentation/widget/insight/DashboardInsight.d.ts +4 -1
  45. package/esm/presentation/widget/insight/DashboardInsight.d.ts.map +1 -1
  46. package/esm/presentation/widget/insight/DashboardInsight.js +9 -4
  47. package/esm/presentation/widget/insight/DashboardInsight.js.map +1 -1
  48. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
  49. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +2 -2
  50. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js.map +1 -1
  51. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.d.ts +1 -1
  52. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.d.ts.map +1 -1
  53. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.js +1 -1
  54. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DefaultDashboardInsightMenuTitle.js +2 -2
  55. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DefaultDashboardInsightMenuTitle.js.map +1 -1
  56. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.d.ts +2 -1
  57. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.d.ts.map +1 -1
  58. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js +3 -3
  59. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js.map +1 -1
  60. package/esm/presentation/widget/insightMenu/types.d.ts +3 -3
  61. package/esm/presentation/widget/insightMenu/types.d.ts.map +1 -1
  62. package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.d.ts.map +1 -1
  63. package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.js +1 -6
  64. package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.js.map +1 -1
  65. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +1 -1
  66. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  67. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +2 -2
  68. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js.map +1 -1
  69. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidgetHeader.d.ts +1 -1
  70. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidgetHeader.d.ts.map +1 -1
  71. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidgetHeader.js +1 -1
  72. package/esm/presentation/widget/widget/InsightWidget/types.d.ts +1 -1
  73. package/esm/presentation/widget/widget/InsightWidget/types.d.ts.map +1 -1
  74. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts +1 -1
  75. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts.map +1 -1
  76. package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts +1 -1
  77. package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts.map +1 -1
  78. package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js +13 -3
  79. package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js.map +1 -1
  80. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +1 -1
  81. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
  82. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +1 -1
  83. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
  84. package/esm/sdk-ui-dashboard.d.ts +13 -8
  85. package/package.json +15 -15
@@ -4106,7 +4106,9 @@ export declare interface DashboardInitializedPayload {
4106
4106
  /**
4107
4107
  * @internal
4108
4108
  */
4109
- export declare const DashboardInsight: (props: IDashboardInsightProps) => JSX.Element;
4109
+ export declare const DashboardInsight: (props: Omit<IDashboardInsightProps, "insight"> & {
4110
+ insight?: IInsight;
4111
+ }) => JSX.Element;
4110
4112
 
4111
4113
  /**
4112
4114
  * @internal
@@ -7343,7 +7345,7 @@ export declare function getAuthor(capabilities: IBackendCapabilities, user: IUse
7343
7345
  /**
7344
7346
  * @internal
7345
7347
  */
7346
- export declare function getDefaultInsightEditMenuItems(widget: IInsightWidget, { intl, dispatch, eventDispatch, includeInteractions, useWidgetDeleteDialog, }: MenuItemDependencies): IInsightMenuItem[];
7348
+ export declare function getDefaultInsightEditMenuItems(widget: IInsightWidget, { intl, dispatch, eventDispatch, includeInteractions, includeConfigurations, useWidgetDeleteDialog, }: MenuItemDependencies): IInsightMenuItem[];
7347
7349
 
7348
7350
  /**
7349
7351
  * @internal
@@ -8945,7 +8947,7 @@ export declare interface IDashboardInsightCustomizer {
8945
8947
  */
8946
8948
  export declare interface IDashboardInsightMenuButtonProps {
8947
8949
  widget: IInsightWidget;
8948
- insight: IInsight;
8950
+ insight?: IInsight;
8949
8951
  isOpen: boolean;
8950
8952
  onClick: () => void;
8951
8953
  items: IInsightMenuItem[];
@@ -8956,7 +8958,7 @@ export declare interface IDashboardInsightMenuButtonProps {
8956
8958
  */
8957
8959
  export declare interface IDashboardInsightMenuProps {
8958
8960
  widget: IInsightWidget;
8959
- insight: IInsight;
8961
+ insight?: IInsight;
8960
8962
  isOpen: boolean;
8961
8963
  onClose: () => void;
8962
8964
  items: IInsightMenuItem[];
@@ -8967,7 +8969,7 @@ export declare interface IDashboardInsightMenuProps {
8967
8969
  */
8968
8970
  export declare interface IDashboardInsightMenuTitleProps {
8969
8971
  widget: IInsightWidget;
8970
- insight: IInsight;
8972
+ insight?: IInsight;
8971
8973
  renderMode: RenderMode;
8972
8974
  }
8973
8975
 
@@ -10699,12 +10701,12 @@ export declare const InsightList: React_2.FC<IInsightListProps>;
10699
10701
  /**
10700
10702
  * @alpha
10701
10703
  */
10702
- export declare type InsightMenuButtonComponentProvider = (insight: IInsight, widget: IInsightWidget) => CustomDashboardInsightMenuButtonComponent;
10704
+ export declare type InsightMenuButtonComponentProvider = (insight: IInsight | undefined, widget: IInsightWidget) => CustomDashboardInsightMenuButtonComponent;
10703
10705
 
10704
10706
  /**
10705
10707
  * @alpha
10706
10708
  */
10707
- export declare type InsightMenuComponentProvider = (insight: IInsight, widget: IInsightWidget) => CustomDashboardInsightMenuComponent;
10709
+ export declare type InsightMenuComponentProvider = (insight: IInsight | undefined, widget: IInsightWidget) => CustomDashboardInsightMenuComponent;
10708
10710
 
10709
10711
  /**
10710
10712
  * @beta
@@ -10714,7 +10716,7 @@ export declare type InsightMenuItemsProvider = (insight: IInsight, widget: IInsi
10714
10716
  /**
10715
10717
  * @internal
10716
10718
  */
10717
- export declare type InsightMenuTitleComponentProvider = (insight: IInsight, widget: IInsightWidget) => CustomDashboardInsightMenuTitleComponent;
10719
+ export declare type InsightMenuTitleComponentProvider = (insight: IInsight | undefined, widget: IInsightWidget) => CustomDashboardInsightMenuTitleComponent;
10718
10720
 
10719
10721
  /**
10720
10722
  * @internal
@@ -12686,6 +12688,7 @@ export declare type MenuItemDependencies = {
12686
12688
  dispatch: ReturnType<typeof useDashboardDispatch>;
12687
12689
  eventDispatch: ReturnType<typeof useDashboardEventDispatch>;
12688
12690
  includeInteractions?: boolean;
12691
+ includeConfigurations?: boolean;
12689
12692
  useWidgetDeleteDialog?: boolean;
12690
12693
  };
12691
12694
 
@@ -17235,6 +17238,8 @@ export declare const selectSelectedFilterIndex: DashboardSelector<number | undef
17235
17238
 
17236
17239
  /**
17237
17240
  * @internal
17241
+ *
17242
+ * This selector provides selected widget on dashboard. It DOES NOT provide selected widget inside of selected visualization switcher.
17238
17243
  */
17239
17244
  export declare const selectSelectedWidgetRef: DashboardSelector<ObjRef | undefined>;
17240
17245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.13.0-alpha.0",
3
+ "version": "10.13.0-alpha.2",
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.13.0-alpha.0",
61
- "@gooddata/sdk-model": "10.13.0-alpha.0",
62
- "@gooddata/sdk-backend-spi": "10.13.0-alpha.0",
63
- "@gooddata/sdk-ui": "10.13.0-alpha.0",
64
- "@gooddata/sdk-ui-filters": "10.13.0-alpha.0",
65
- "@gooddata/sdk-ui-ext": "10.13.0-alpha.0",
66
- "@gooddata/sdk-ui-geo": "10.13.0-alpha.0",
67
- "@gooddata/sdk-ui-kit": "10.13.0-alpha.0",
68
- "@gooddata/sdk-ui-theme-provider": "10.13.0-alpha.0",
69
- "@gooddata/util": "10.13.0-alpha.0",
70
- "@gooddata/sdk-ui-vis-commons": "10.13.0-alpha.0"
60
+ "@gooddata/sdk-backend-base": "10.13.0-alpha.2",
61
+ "@gooddata/sdk-backend-spi": "10.13.0-alpha.2",
62
+ "@gooddata/sdk-model": "10.13.0-alpha.2",
63
+ "@gooddata/sdk-ui": "10.13.0-alpha.2",
64
+ "@gooddata/sdk-ui-filters": "10.13.0-alpha.2",
65
+ "@gooddata/sdk-ui-ext": "10.13.0-alpha.2",
66
+ "@gooddata/sdk-ui-geo": "10.13.0-alpha.2",
67
+ "@gooddata/sdk-ui-kit": "10.13.0-alpha.2",
68
+ "@gooddata/sdk-ui-theme-provider": "10.13.0-alpha.2",
69
+ "@gooddata/sdk-ui-vis-commons": "10.13.0-alpha.2",
70
+ "@gooddata/util": "10.13.0-alpha.2"
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.13.0-alpha.0",
124
- "@gooddata/reference-workspace": "10.13.0-alpha.0",
125
- "@gooddata/sdk-backend-mockingbird": "10.13.0-alpha.0"
123
+ "@gooddata/i18n-toolkit": "10.13.0-alpha.2",
124
+ "@gooddata/reference-workspace": "10.13.0-alpha.2",
125
+ "@gooddata/sdk-backend-mockingbird": "10.13.0-alpha.2"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",