@gooddata/sdk-ui-dashboard 11.16.0-alpha.6 → 11.17.0-alpha.0

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 (21) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/_staging/errors/errorPredicates.d.ts +5 -5
  4. package/esm/kdaDialog/components/KdaErrorComponent.js +1 -1
  5. package/esm/kdaDialog/components/KdaErrorComponent.js.map +1 -1
  6. package/esm/model/commandHandlers/common/validateDrills.d.ts +2 -2
  7. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +1 -1
  8. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadInaccessibleDashboards.d.ts +1 -1
  9. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +1 -1
  10. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.d.ts +1 -1
  11. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.d.ts +2 -2
  12. package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.d.ts +2 -2
  13. package/esm/model/store/inaccessibleDashboards/index.d.ts +1 -1
  14. package/esm/model/store/notificationChannels/index.d.ts +1 -1
  15. package/esm/model/store/notificationChannels/notificationChannelsReducers.d.ts +1 -1
  16. package/esm/presentation/automationFilters/utils.d.ts +1 -1
  17. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts +1 -1
  18. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +1 -1
  19. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.d.ts +1 -1
  20. package/esm/sdk-ui-dashboard.d.ts +3 -3
  21. package/package.json +18 -18
@@ -1,4 +1,4 @@
1
- export declare const LIB_VERSION = "11.16.0-alpha.6";
1
+ export declare const LIB_VERSION = "11.17.0-alpha.0";
2
2
  export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
3
3
  export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
4
4
  //# sourceMappingURL=__version.d.ts.map
package/esm/__version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "11.16.0-alpha.6";
3
+ export const LIB_VERSION = "11.17.0-alpha.0";
4
4
  export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
5
5
  export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
6
6
  //# sourceMappingURL=__version.js.map
@@ -7,21 +7,21 @@
7
7
  *
8
8
  * @internal
9
9
  */
10
- export declare const isNonExportableError: (x: unknown) => x is import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui").BadRequestSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui").DataTooLargeToComputeSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError;
10
+ export declare const isNonExportableError: (x: unknown) => x is import("@gooddata/sdk-ui").BadRequestSdkError | import("@gooddata/sdk-ui").DataTooLargeToComputeSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError;
11
11
  /**
12
12
  * @internal
13
13
  */
14
- export declare const isNonExportableErrorExceptTooLarge: (x: unknown) => x is import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError;
14
+ export declare const isNonExportableErrorExceptTooLarge: (x: unknown) => x is import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError;
15
15
  /**
16
16
  * @internal
17
17
  */
18
- export declare const isDataError: (x: unknown) => x is import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui").BadRequestSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui").DataTooLargeToComputeSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError | import("@gooddata/sdk-ui").DataTooLargeToDisplaySdkError | import("@gooddata/sdk-ui").NegativeValuesSdkError;
18
+ export declare const isDataError: (x: unknown) => x is import("@gooddata/sdk-ui").BadRequestSdkError | import("@gooddata/sdk-ui").DataTooLargeToDisplaySdkError | import("@gooddata/sdk-ui").DataTooLargeToComputeSdkError | import("@gooddata/sdk-ui").NegativeValuesSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError;
19
19
  /**
20
20
  * @internal
21
21
  */
22
- export declare const isDataErrorExceptTooLarge: (x: unknown) => x is import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError | import("@gooddata/sdk-ui").NegativeValuesSdkError;
22
+ export declare const isDataErrorExceptTooLarge: (x: unknown) => x is import("@gooddata/sdk-ui").NegativeValuesSdkError | import("@gooddata/sdk-ui").NoDataSdkError | import("@gooddata/sdk-ui").ProtectedReportSdkError | import("@gooddata/sdk-ui").UnexpectedSdkError | import("@gooddata/sdk-ui-ext").EmptyAfmSdkError;
23
23
  /**
24
24
  * @internal
25
25
  */
26
- export declare const isDataErrorTooLarge: (x: unknown) => x is import("@gooddata/sdk-ui").DataTooLargeToComputeSdkError | import("@gooddata/sdk-ui").DataTooLargeToDisplaySdkError;
26
+ export declare const isDataErrorTooLarge: (x: unknown) => x is import("@gooddata/sdk-ui").DataTooLargeToDisplaySdkError | import("@gooddata/sdk-ui").DataTooLargeToComputeSdkError;
27
27
  //# sourceMappingURL=errorPredicates.d.ts.map
@@ -34,7 +34,7 @@ function TraceId({ traceId }) {
34
34
  const onCopyTraceId = () => {
35
35
  void navigator.clipboard.writeText(traceId ?? "");
36
36
  };
37
- if (traceId) {
37
+ if (!traceId) {
38
38
  return null;
39
39
  }
40
40
  return (_jsxs("div", { className: "gd-kda-dialog-error-trace-id", children: [_jsxs("div", { children: [_jsxs("span", { className: "gd-kda-dialog-error-trace-id-name", children: [intl.formatMessage({ id: "kdaDialog.dialog.keyDrives.error.traceId" }), ":"] }), " ", traceId] }), _jsx(UiIconButton, { label: intl.formatMessage({ id: "kdaDialog.dialog.keyDrives.error.traceId.copy" }), icon: "copy", size: "small", variant: "tertiary", onClick: onCopyTraceId })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"KdaErrorComponent.js","sourceRoot":"","sources":["../../../src/kdaDialog/components/KdaErrorComponent.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAEH,wBAAwB,EACxB,yBAAyB,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAO/E,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,+BAAe,CAAA;IACf,mCAAmB,CAAA;AACvB,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB;AAED,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,EAChB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE;gBACV,OAAO,CAAC,IAAI,CAAC,CAAC;YAClB,CAAC,GACH,CACL,GACC,CACT,CAAC;AACN,CAAC"}
@@ -5,10 +5,10 @@ interface IInvalidDrillInfo {
5
5
  invalidDrills: DrillDefinition[];
6
6
  widget: IInsightWidget;
7
7
  }
8
- export declare function validateDrills(ctx: DashboardContext, cmd: IDashboardCommand, widgets: (IKpiWidget | IInsightWidget | IRichTextWidget | IVisualizationSwitcherWidget)[]): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<IInvalidDrillInfo>> | import("redux-saga/effects").PutEffect<{
8
+ export declare function validateDrills(ctx: DashboardContext, cmd: IDashboardCommand, widgets: (IKpiWidget | IInsightWidget | IRichTextWidget | IVisualizationSwitcherWidget)[]): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<void>> | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<IInvalidDrillInfo>> | import("redux-saga/effects").PutEffect<{
9
9
  payload: import("@gooddata/sdk-model").ObjRef[];
10
10
  type: "uiSlice/removeInvalidDrillWidgetRefs";
11
- }> | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<void>> | import("redux-saga/effects").PutEffect<{
11
+ }> | import("redux-saga/effects").PutEffect<{
12
12
  payload: import("@gooddata/sdk-model").ObjRef[];
13
13
  type: "uiSlice/addInvalidDrillWidgetRefs";
14
14
  }>, void, IInvalidDrillInfo[]>;
@@ -12,6 +12,6 @@ export declare function preloadAttributeFiltersData(ctx: DashboardContext, dashb
12
12
  payload: import("@gooddata/sdk-backend-spi").IAttributeWithReferences[];
13
13
  type: "tabs/setPreloadedAttributesWithReferences";
14
14
  }>, void, import("@gooddata/sdk-backend-spi").IAttributeWithReferences[]>;
15
- export declare function requestDashboardsList(ctx: DashboardContext): Generator<import("redux-saga/effects").CallEffect<import("@gooddata/sdk-model").IListedDashboard[]> | import("redux-saga/effects").PutEffect<BatchAction>, void, import("@gooddata/sdk-model").IListedDashboard[]>;
15
+ export declare function requestDashboardsList(ctx: DashboardContext): Generator<import("redux-saga/effects").PutEffect<BatchAction> | import("redux-saga/effects").CallEffect<import("@gooddata/sdk-model").IListedDashboard[]>, void, import("@gooddata/sdk-model").IListedDashboard[]>;
16
16
  export declare function initializeDashboardHandler(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator;
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@ import { type IWidget } from "@gooddata/sdk-model";
2
2
  import { type DashboardContext } from "../../../types/commonTypes.js";
3
3
  import { type IInaccessibleDashboard } from "../../../types/inaccessibleDashboardTypes.js";
4
4
  export declare function loadInaccessibleDashboards(ctx: DashboardContext, widgets: IWidget[]): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect<import("@gooddata/sdk-model").IExistingDashboard[]> | import("redux-saga/effects").PutEffect<{
5
- payload: readonly IInaccessibleDashboard[] | Record<import("@reduxjs/toolkit").EntityId, IInaccessibleDashboard>;
5
+ payload: Record<import("@reduxjs/toolkit").EntityId, IInaccessibleDashboard> | readonly IInaccessibleDashboard[];
6
6
  type: "inaccessibleDashboards/addInaccessibleDashboards";
7
7
  }>, void, import("../../../../index.js").ObjRefMap<import("@gooddata/sdk-model").IListedDashboard> & import("@gooddata/sdk-model").IExistingDashboard[]>;
8
8
  //# sourceMappingURL=loadInaccessibleDashboards.d.ts.map
@@ -10,7 +10,7 @@ export declare const useDashboardScheduledEmails: () => {
10
10
  automations: import("@gooddata/sdk-model").IAutomationMetadataObject[];
11
11
  automationsCount: number;
12
12
  numberOfAvailableDestinations: number;
13
- widget: import("../../index.js").ICustomWidget | import("@gooddata/sdk-model").IWidget | undefined;
13
+ widget: import("@gooddata/sdk-model").IWidget | import("../../index.js").ICustomWidget | undefined;
14
14
  insight: import("@gooddata/sdk-model").IInsight | undefined;
15
15
  automationsLoading: boolean;
16
16
  automationsError: import("@gooddata/sdk-ui").GoodDataSdkError | undefined;
@@ -13,7 +13,7 @@ export declare const useDashboardScheduledEmailsData: ({ scheduledExportToEdit,
13
13
  automationsError: import("@gooddata/sdk-ui").GoodDataSdkError | undefined;
14
14
  automationsCount: number;
15
15
  numberOfAvailableDestinations: number;
16
- widget: import("../../index.js").ICustomWidget | import("@gooddata/sdk-model").IWidget | undefined;
16
+ widget: import("@gooddata/sdk-model").IWidget | import("../../index.js").ICustomWidget | undefined;
17
17
  insight: import("@gooddata/sdk-model").IInsight | undefined;
18
18
  isScheduledEmailingVisible: boolean;
19
19
  isScheduleEmailingDialogOpen: boolean;
@@ -6,11 +6,11 @@
6
6
  export declare const useDashboardAlerts: () => {
7
7
  alertToEdit: import("@gooddata/sdk-model").IAutomationMetadataObject | undefined;
8
8
  isInitialized: boolean;
9
- notificationChannels: import("@gooddata/sdk-model").INotificationChannelIdentifier[] | import("@gooddata/sdk-model").INotificationChannelMetadataObject[];
9
+ notificationChannels: import("@gooddata/sdk-model").INotificationChannelMetadataObject[] | import("@gooddata/sdk-model").INotificationChannelIdentifier[];
10
10
  automations: import("@gooddata/sdk-model").IAutomationMetadataObject[];
11
11
  automationsCount: number;
12
12
  numberOfAvailableDestinations: number;
13
- widget: import("../../index.js").ICustomWidget | import("@gooddata/sdk-model").IWidget | undefined;
13
+ widget: import("@gooddata/sdk-model").IWidget | import("../../index.js").ICustomWidget | undefined;
14
14
  insight: import("@gooddata/sdk-model").IInsight | undefined;
15
15
  automationsLoading: boolean;
16
16
  automationsError: import("@gooddata/sdk-ui").GoodDataSdkError | undefined;
@@ -7,13 +7,13 @@ interface IUseDashboardAlertsDataProps {
7
7
  */
8
8
  export declare const useDashboardAlertsData: ({ alertToEdit }: IUseDashboardAlertsDataProps) => {
9
9
  isInitialized: boolean;
10
- notificationChannels: import("@gooddata/sdk-model").INotificationChannelIdentifier[] | import("@gooddata/sdk-model").INotificationChannelMetadataObject[];
10
+ notificationChannels: import("@gooddata/sdk-model").INotificationChannelMetadataObject[] | import("@gooddata/sdk-model").INotificationChannelIdentifier[];
11
11
  automations: IAutomationMetadataObject[];
12
12
  automationsLoading: boolean;
13
13
  automationsError: import("@gooddata/sdk-ui").GoodDataSdkError | undefined;
14
14
  automationsCount: number;
15
15
  numberOfAvailableDestinations: number;
16
- widget: import("../../index.js").ICustomWidget | import("@gooddata/sdk-model").IWidget | undefined;
16
+ widget: import("@gooddata/sdk-model").IWidget | import("../../index.js").ICustomWidget | undefined;
17
17
  insight: import("@gooddata/sdk-model").IInsight | undefined;
18
18
  isAlertingVisible: boolean;
19
19
  isAlertDialogOpen: boolean;
@@ -3,6 +3,6 @@ import { inaccessibleDashboardsEntityAdapter } from "./inaccessibleDashboardsEnt
3
3
  export type InaccessibleDashboardsState = ReturnType<typeof inaccessibleDashboardsEntityAdapter.getInitialState>;
4
4
  export declare const inaccessibleDashboardsSliceReducer: Reducer<InaccessibleDashboardsState>;
5
5
  export declare const inaccessibleDashboardsActions: {
6
- addInaccessibleDashboards: import("@reduxjs/toolkit").ActionCreatorWithPayload<readonly import("../../index.js").IInaccessibleDashboard[] | Record<import("@reduxjs/toolkit").EntityId, import("../../index.js").IInaccessibleDashboard>, "inaccessibleDashboards/addInaccessibleDashboards">;
6
+ addInaccessibleDashboards: import("@reduxjs/toolkit").ActionCreatorWithPayload<Record<import("@reduxjs/toolkit").EntityId, import("../../index.js").IInaccessibleDashboard> | readonly import("../../index.js").IInaccessibleDashboard[], "inaccessibleDashboards/addInaccessibleDashboards">;
7
7
  };
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@ import { type Reducer } from "@reduxjs/toolkit";
2
2
  import { type NotificationChannelsState } from "./notificationChannelsState.js";
3
3
  export declare const notificationChannelsSliceReducer: Reducer<NotificationChannelsState>;
4
4
  export declare const notificationChannelsActions: {
5
- setNotificationChannels: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@gooddata/sdk-model").INotificationChannelIdentifier[] | import("@gooddata/sdk-model").INotificationChannelMetadataObject[], "notificationChannels/setNotificationChannels">;
5
+ setNotificationChannels: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("@gooddata/sdk-model").INotificationChannelMetadataObject[] | import("@gooddata/sdk-model").INotificationChannelIdentifier[], "notificationChannels/setNotificationChannels">;
6
6
  setNotificationChannelsCount: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "notificationChannels/setNotificationChannelsCount">;
7
7
  };
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -4,7 +4,7 @@ import { type NotificationChannelsState } from "./notificationChannelsState.js";
4
4
  type NotificationChannelsReducer<A extends Action> = CaseReducer<NotificationChannelsState, A>;
5
5
  export declare const notificationChannelsReducers: {
6
6
  setNotificationChannels: NotificationChannelsReducer<{
7
- payload: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
7
+ payload: INotificationChannelMetadataObject[] | INotificationChannelIdentifier[];
8
8
  type: string;
9
9
  }>;
10
10
  setNotificationChannelsCount: NotificationChannelsReducer<{
@@ -31,7 +31,7 @@ export declare const getFilterByLocalIdentifier: (localIdentifier: string | unde
31
31
  */
32
32
  export declare function isAllTimeDateFilterFixed(f: IFilter): boolean;
33
33
  export declare function areFiltersEqual(filter1: IFilter, filter2: IFilter): boolean;
34
- export declare function dateFilterValues(filter: IDateFilter): import("@gooddata/sdk-model").IRelativeDateFilterValues | import("@gooddata/sdk-model").IAbsoluteDateFilterValues;
34
+ export declare function dateFilterValues(filter: IDateFilter): import("@gooddata/sdk-model").IAbsoluteDateFilterValues | import("@gooddata/sdk-model").IRelativeDateFilterValues;
35
35
  export declare function isFilterIgnoredByWidget(filter: FilterContextItem, widget: ExtendedDashboardWidget): boolean;
36
36
  export declare function isFilterMatch(filter1: IFilter, filter2: IFilter): boolean;
37
37
  export declare const getFilterTitle: (filter: FilterContextItem, allAttributes: ICatalogAttribute[], allDateDatasets: ICatalogDateDataset[], intl: IntlShape) => string;
@@ -3,7 +3,7 @@ export declare const useEmptyContentHandlers: (sectionPath: ILayoutSectionPath)
3
3
  canDrop: boolean;
4
4
  isOver: boolean;
5
5
  itemType: import("../../../dragAndDrop/types.js").DraggableItemType;
6
- item: import("../../../dragAndDrop/types.js").InsightDraggableItem | import("../../../dragAndDrop/types.js").RichTextDraggableItem | import("../../../dragAndDrop/types.js").VisualizationSwitcherDraggableItem | import("../../../dragAndDrop/types.js").DashboardLayoutDraggableItem | import("../../../dragAndDrop/types.js").InsightDraggableListItem | import("../../../dragAndDrop/types.js").InsightPlaceholderDraggableItem | import("../../../dragAndDrop/types.js").KpiPlaceholderDraggableItem | import("../../../dragAndDrop/types.js").RichTextDraggableListItem | import("../../../dragAndDrop/types.js").VisualizationSwitcherDraggableListItem | import("../../../dragAndDrop/types.js").DashboardLayoutDraggableListItem;
6
+ item: import("../../../dragAndDrop/types.js").InsightDraggableItem | import("../../../dragAndDrop/types.js").RichTextDraggableItem | import("../../../dragAndDrop/types.js").RichTextDraggableListItem | import("../../../dragAndDrop/types.js").VisualizationSwitcherDraggableItem | import("../../../dragAndDrop/types.js").VisualizationSwitcherDraggableListItem | import("../../../dragAndDrop/types.js").DashboardLayoutDraggableItem | import("../../../dragAndDrop/types.js").DashboardLayoutDraggableListItem | import("../../../dragAndDrop/types.js").KpiPlaceholderDraggableItem | import("../../../dragAndDrop/types.js").InsightPlaceholderDraggableItem | import("../../../dragAndDrop/types.js").InsightDraggableListItem;
7
7
  dropRef: import("@evil-internetmann/react-dnd").ConnectDropTarget;
8
8
  };
9
9
  //# sourceMappingURL=useEmptyContentHandlers.d.ts.map
@@ -37,7 +37,7 @@ export declare function useEditScheduledEmail({ scheduledExportToEdit, notificat
37
37
  originalAutomation: IAutomationMetadataObjectDefinition;
38
38
  editedAutomation: IAutomationMetadataObjectDefinition;
39
39
  isCronValid: boolean;
40
- notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
40
+ notificationChannels: INotificationChannelMetadataObject[] | INotificationChannelIdentifier[];
41
41
  isDashboardExportSelected: boolean;
42
42
  isCsvExportSelected: boolean;
43
43
  isXlsxExportSelected: boolean;
@@ -6,7 +6,7 @@ export interface IInsightWidgetAlertingProps {
6
6
  }
7
7
  export declare const useInsightWidgetAlerting: ({ widget, closeInsightWidgetMenu }: IInsightWidgetAlertingProps) => {
8
8
  isLoading: boolean;
9
- destinations: import("@gooddata/sdk-model").INotificationChannelIdentifier[] | import("@gooddata/sdk-model").INotificationChannelMetadataObject[];
9
+ destinations: import("@gooddata/sdk-model").INotificationChannelMetadataObject[] | import("@gooddata/sdk-model").INotificationChannelIdentifier[];
10
10
  users: import("@gooddata/sdk-model").IWorkspaceUser[] | undefined;
11
11
  alerts: IAutomationMetadataObject[];
12
12
  viewMode: InsightWidgetAlertingViewMode;
@@ -25369,11 +25369,11 @@ export declare type UseCustomWidgetInsightDataViewCallbacks = UseCancelablePromi
25369
25369
  export declare const useDashboardAlerts: () => {
25370
25370
  alertToEdit: IAutomationMetadataObject | undefined;
25371
25371
  isInitialized: boolean;
25372
- notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
25372
+ notificationChannels: INotificationChannelMetadataObject[] | INotificationChannelIdentifier[];
25373
25373
  automations: IAutomationMetadataObject[];
25374
25374
  automationsCount: number;
25375
25375
  numberOfAvailableDestinations: number;
25376
- widget: ICustomWidget | IWidget | undefined;
25376
+ widget: IWidget | ICustomWidget | undefined;
25377
25377
  insight: IInsight | undefined;
25378
25378
  automationsLoading: boolean;
25379
25379
  automationsError: GoodDataSdkError | undefined;
@@ -25552,7 +25552,7 @@ export declare const useDashboardScheduledEmails: () => {
25552
25552
  automations: IAutomationMetadataObject[];
25553
25553
  automationsCount: number;
25554
25554
  numberOfAvailableDestinations: number;
25555
- widget: ICustomWidget | IWidget | undefined;
25555
+ widget: IWidget | ICustomWidget | undefined;
25556
25556
  insight: IInsight | undefined;
25557
25557
  automationsLoading: boolean;
25558
25558
  automationsError: GoodDataSdkError | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "11.16.0-alpha.6",
3
+ "version": "11.17.0-alpha.0",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,19 +60,19 @@
60
60
  "ts-invariant": "^0.7.5",
61
61
  "tslib": "2.8.1",
62
62
  "uuid": "^11.1.0",
63
- "@gooddata/sdk-backend-base": "11.16.0-alpha.6",
64
- "@gooddata/sdk-backend-spi": "11.16.0-alpha.6",
65
- "@gooddata/sdk-ui": "11.16.0-alpha.6",
66
- "@gooddata/sdk-model": "11.16.0-alpha.6",
67
- "@gooddata/sdk-ui-ext": "11.16.0-alpha.6",
68
- "@gooddata/sdk-ui-charts": "11.16.0-alpha.6",
69
- "@gooddata/sdk-ui-filters": "11.16.0-alpha.6",
70
- "@gooddata/sdk-ui-geo": "11.16.0-alpha.6",
71
- "@gooddata/sdk-ui-pivot": "11.16.0-alpha.6",
72
- "@gooddata/sdk-ui-theme-provider": "11.16.0-alpha.6",
73
- "@gooddata/sdk-ui-vis-commons": "11.16.0-alpha.6",
74
- "@gooddata/sdk-ui-kit": "11.16.0-alpha.6",
75
- "@gooddata/util": "11.16.0-alpha.6"
63
+ "@gooddata/sdk-backend-base": "11.17.0-alpha.0",
64
+ "@gooddata/sdk-backend-spi": "11.17.0-alpha.0",
65
+ "@gooddata/sdk-model": "11.17.0-alpha.0",
66
+ "@gooddata/sdk-ui": "11.17.0-alpha.0",
67
+ "@gooddata/sdk-ui-charts": "11.17.0-alpha.0",
68
+ "@gooddata/sdk-ui-ext": "11.17.0-alpha.0",
69
+ "@gooddata/sdk-ui-filters": "11.17.0-alpha.0",
70
+ "@gooddata/sdk-ui-kit": "11.17.0-alpha.0",
71
+ "@gooddata/sdk-ui-geo": "11.17.0-alpha.0",
72
+ "@gooddata/sdk-ui-pivot": "11.17.0-alpha.0",
73
+ "@gooddata/sdk-ui-theme-provider": "11.17.0-alpha.0",
74
+ "@gooddata/util": "11.17.0-alpha.0",
75
+ "@gooddata/sdk-ui-vis-commons": "11.17.0-alpha.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@microsoft/api-documenter": "^7.17.0",
@@ -118,10 +118,10 @@
118
118
  "typescript": "5.9.3",
119
119
  "vitest": "4.0.8",
120
120
  "vitest-dom": "0.1.1",
121
- "@gooddata/eslint-config": "11.16.0-alpha.6",
122
- "@gooddata/reference-workspace": "11.16.0-alpha.6",
123
- "@gooddata/i18n-toolkit": "11.16.0-alpha.6",
124
- "@gooddata/sdk-backend-mockingbird": "11.16.0-alpha.6"
121
+ "@gooddata/i18n-toolkit": "11.17.0-alpha.0",
122
+ "@gooddata/eslint-config": "11.17.0-alpha.0",
123
+ "@gooddata/sdk-backend-mockingbird": "11.17.0-alpha.0",
124
+ "@gooddata/reference-workspace": "11.17.0-alpha.0"
125
125
  },
126
126
  "peerDependencies": {
127
127
  "react": "^18.0.0 || ^19.0.0",