@gooddata/sdk-ui-dashboard 11.55.0-alpha.3 → 11.55.0-alpha.4
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 +8 -8
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/automation/index.d.ts +19 -1
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +44 -8
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +1 -18
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +1 -62
- package/esm/_staging/insight/insightWidgetProperties.d.ts +6 -0
- package/esm/_staging/insight/insightWidgetProperties.d.ts.map +1 -0
- package/esm/_staging/insight/insightWidgetProperties.js +32 -0
- package/esm/_staging/sharedHooks/useRichTextFilters.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useRichTextFilters.js +1 -2
- package/esm/index.d.ts +7 -7
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -4
- package/esm/internal.d.ts +2 -2
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +2 -2
- package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.js +1 -2
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +1 -2
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +1 -2
- package/esm/model/commandHandlers/scheduledEmail/automationParametersRestore.d.ts +11 -5
- package/esm/model/commandHandlers/scheduledEmail/automationParametersRestore.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/automationParametersRestore.js +24 -7
- package/esm/model/commandHandlers/scheduledEmail/csvRawExecutionDefinition.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/csvRawExecutionDefinition.js +1 -2
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +5 -0
- package/esm/model/commandHandlers/widgets/exportInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/exportInsightWidgetHandler.js +21 -3
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +1 -2
- package/esm/model/commands/filters.d.ts +1 -1
- package/esm/model/commands/filters.js +1 -1
- package/esm/model/events/filters.d.ts +6 -6
- package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/layout/layoutSelectors.js +1 -2
- package/esm/presentation/automations/alerting/AlertingManagementDialog.d.ts +4 -0
- package/esm/presentation/automations/alerting/AlertingManagementDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/AlertingManagementDialog.js +6 -2
- package/esm/presentation/automations/alerting/types.d.ts +50 -0
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts +3 -3
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.js +6 -4
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts +3 -3
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +6 -4
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +10 -0
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.js +10 -0
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +10 -0
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AutomationsContext.js +10 -0
- package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts +10 -0
- package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.js +10 -0
- package/esm/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.d.ts +4 -0
- package/esm/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js +6 -2
- package/esm/presentation/automations/scheduledEmail/types.d.ts +52 -0
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +8 -4
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/automationParameters.js +30 -13
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js +1 -4
- package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +12 -7
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.js +3 -1
- package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
- package/esm/presentation/automations/shared/filters/conversions.js +1 -2
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +4 -1
- package/esm/presentation/dashboard/types.d.ts +32 -2
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +6 -2
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +3 -0
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +1 -2
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +1 -2
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +1 -3
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +1 -2
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +12 -8
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.js +3 -35
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts +2 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +262 -94
- package/esm/types.d.ts +59 -3
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js +2 -4
- package/package.json +22 -23
- package/styles/scss/dashboard.scss +4 -4
- package/esm/converters/filterConverters.d.ts +0 -93
- package/esm/converters/filterConverters.d.ts.map +0 -1
- package/esm/converters/filterConverters.js +0 -199
|
@@ -510,7 +510,7 @@ export declare function changeWorkingAttributeFilterSelection(filterLocalId: str
|
|
|
510
510
|
* The {@link ChangeAttributeFilterSelectionPayload}'s `selectionType` and `elements` are derived from the
|
|
511
511
|
* provided attribute filter.
|
|
512
512
|
*
|
|
513
|
-
* To convert {@link IDashboardFilter} to {@link @gooddata/sdk-model#IFilter} use {@link dashboardAttributeFilterToAttributeFilter}.
|
|
513
|
+
* To convert {@link IDashboardFilter} to {@link @gooddata/sdk-model#IFilter} use {@link @gooddata/sdk-model#dashboardAttributeFilterToAttributeFilter}.
|
|
514
514
|
* Converted filter can be used within the command's payload.
|
|
515
515
|
*
|
|
516
516
|
* @param filterLocalId - dashboard attribute filter's local id
|
|
@@ -378,7 +378,7 @@ export function changeWorkingAttributeFilterSelection(filterLocalId, elements, s
|
|
|
378
378
|
* The {@link ChangeAttributeFilterSelectionPayload}'s `selectionType` and `elements` are derived from the
|
|
379
379
|
* provided attribute filter.
|
|
380
380
|
*
|
|
381
|
-
* To convert {@link IDashboardFilter} to {@link @gooddata/sdk-model#IFilter} use {@link dashboardAttributeFilterToAttributeFilter}.
|
|
381
|
+
* To convert {@link IDashboardFilter} to {@link @gooddata/sdk-model#IFilter} use {@link @gooddata/sdk-model#dashboardAttributeFilterToAttributeFilter}.
|
|
382
382
|
* Converted filter can be used within the command's payload.
|
|
383
383
|
*
|
|
384
384
|
* @param filterLocalId - dashboard attribute filter's local id
|
|
@@ -6,7 +6,7 @@ import { type DashboardEventBody, type IDashboardEvent } from "./base.js";
|
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
8
|
*
|
|
9
|
-
* See also {@link dashboardDateFilterToDateFilterByWidget} and {@link dashboardDateFilterToDateFilterByDateDataSet} convertors
|
|
9
|
+
* See also {@link @gooddata/sdk-model#dashboardDateFilterToDateFilterByWidget} and {@link @gooddata/sdk-model#dashboardDateFilterToDateFilterByDateDataSet} convertors
|
|
10
10
|
* – those allow you to convert the `filter` object to an {@link @gooddata/sdk-model#IDateFilter} instance you can use
|
|
11
11
|
* with visualizations, filter UI components and so on.
|
|
12
12
|
*
|
|
@@ -27,7 +27,7 @@ export type DashboardDateFilterSelectionChangedPayload = {
|
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
29
|
*
|
|
30
|
-
* See also {@link dashboardDateFilterToDateFilterByWidget} and {@link dashboardDateFilterToDateFilterByDateDataSet} convertors
|
|
30
|
+
* See also {@link @gooddata/sdk-model#dashboardDateFilterToDateFilterByWidget} and {@link @gooddata/sdk-model#dashboardDateFilterToDateFilterByDateDataSet} convertors
|
|
31
31
|
* – those allow you to convert the `filter` in the event payload to an {@link @gooddata/sdk-model#IDateFilter} instance you can use
|
|
32
32
|
* with visualizations, filter UI components and so on.
|
|
33
33
|
*
|
|
@@ -157,7 +157,7 @@ export declare const isDashboardAttributeFilterMoved: (obj: unknown) => obj is I
|
|
|
157
157
|
*
|
|
158
158
|
* @remarks
|
|
159
159
|
*
|
|
160
|
-
* See also {@link dashboardAttributeFilterToAttributeFilter} convertor – this allows you to convert the `filter`
|
|
160
|
+
* See also {@link @gooddata/sdk-model#dashboardAttributeFilterToAttributeFilter} convertor – this allows you to convert the `filter`
|
|
161
161
|
* object to an {@link @gooddata/sdk-model#IAttributeFilter} instance you can use with visualizations,
|
|
162
162
|
* filter UI components and so on.
|
|
163
163
|
*
|
|
@@ -176,7 +176,7 @@ export type DashboardAttributeFilterSelectionChangedPayload = {
|
|
|
176
176
|
*
|
|
177
177
|
* @remarks
|
|
178
178
|
*
|
|
179
|
-
* See also {@link dashboardAttributeFilterToAttributeFilter} convertor – this allows you to convert the `filter`
|
|
179
|
+
* See also {@link @gooddata/sdk-model#dashboardAttributeFilterToAttributeFilter} convertor – this allows you to convert the `filter`
|
|
180
180
|
* in the event payload to an {@link @gooddata/sdk-model#IAttributeFilter} instance you can use with visualizations,
|
|
181
181
|
* filter UI components and so on.
|
|
182
182
|
*
|
|
@@ -427,7 +427,7 @@ export declare const isDashboardAttributeFilterConfigLimitingItemsChanged: (obj:
|
|
|
427
427
|
*
|
|
428
428
|
* @remarks
|
|
429
429
|
*
|
|
430
|
-
* See also {@link filterContextToDashboardFiltersByWidget} and {@link filterContextToDashboardFiltersByDateDataSet} convertors
|
|
430
|
+
* See also {@link @gooddata/sdk-model#filterContextToDashboardFiltersByWidget} and {@link @gooddata/sdk-model#filterContextToDashboardFiltersByDateDataSet} convertors
|
|
431
431
|
* – those allow you to convert the `filterContext` object to array of {@link @gooddata/sdk-model#IFilter} instances you can use
|
|
432
432
|
* with visualizations, filter UI components and so on.
|
|
433
433
|
*
|
|
@@ -458,7 +458,7 @@ export type DashboardFilterContextChangedPayload = {
|
|
|
458
458
|
* This event is emitted as convenience - more granular events describe all the possible
|
|
459
459
|
* changes to the dashboard filters and can be used to even source the state of filter context.
|
|
460
460
|
*
|
|
461
|
-
* See also {@link filterContextToDashboardFiltersByWidget} and {@link filterContextToDashboardFiltersByDateDataSet} convertors
|
|
461
|
+
* See also {@link @gooddata/sdk-model#filterContextToDashboardFiltersByWidget} and {@link @gooddata/sdk-model#filterContextToDashboardFiltersByDateDataSet} convertors
|
|
462
462
|
* – those allow you to convert the `filterContext` in the event payload to array of {@link @gooddata/sdk-model#IFilter} instances you can use
|
|
463
463
|
* with visualizations, filter UI components and so on.
|
|
464
464
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/layout/layoutSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,MAAM,EACX,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"layoutSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/layout/layoutSelectors.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,MAAM,EACX,KAAK,UAAU,EAUlB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,4CAA4C,CA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BnF,CAAC"}
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
import { createSelector } from "@reduxjs/toolkit";
|
|
3
3
|
import { isEmpty, partition } from "lodash-es";
|
|
4
4
|
import { invariant } from "ts-invariant";
|
|
5
|
-
import { dashboardAttributeFilterItemLocalIdentifier, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardLayout, isInsightWidget, isKpiWidget, isVisualizationSwitcherWidget, objRefToString, } from "@gooddata/sdk-model";
|
|
5
|
+
import { dashboardAttributeFilterItemLocalIdentifier, filterContextItemsToDashboardFiltersByWidget, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardLayout, isInsightWidget, isKpiWidget, isVisualizationSwitcherWidget, objRefToString, } from "@gooddata/sdk-model";
|
|
6
6
|
import { newMapForObjectWithIdentity } from "../../../../_staging/metadata/objRefMap.js";
|
|
7
|
-
import { filterContextItemsToDashboardFiltersByWidget } from "../../../../converters/filterConverters.js";
|
|
8
7
|
import { isInsightPlaceholderWidget, isKpiPlaceholderWidget, isPlaceholderWidget, } from "../../../../widgets/placeholders/types.js";
|
|
9
8
|
import { isCustomWidget, isExtendedDashboardLayoutWidget, } from "../../../types/layoutTypes.js";
|
|
10
9
|
import { createMemoizedSelector } from "../../_infra/selectors.js";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type ReactElement } from "react";
|
|
2
2
|
import { type IAlertingManagementDialogProps } from "./types.js";
|
|
3
3
|
/**
|
|
4
|
+
* Resolves the management dialog component from DashboardComponentsContext and mounts it inside
|
|
5
|
+
* the resolved context decorator — so a decorated management context is what the dialog (default
|
|
6
|
+
* or replacement) reads.
|
|
7
|
+
*
|
|
4
8
|
* @internal
|
|
5
9
|
*/
|
|
6
10
|
export declare function AlertingManagementDialog(props: IAlertingManagementDialogProps): ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertingManagementDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/AlertingManagementDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAEjE
|
|
1
|
+
{"version":3,"file":"AlertingManagementDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/AlertingManagementDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAEjE;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,8BAA8B,GAAG,YAAY,CAS5F"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
3
3
|
/**
|
|
4
|
+
* Resolves the management dialog component from DashboardComponentsContext and mounts it inside
|
|
5
|
+
* the resolved context decorator — so a decorated management context is what the dialog (default
|
|
6
|
+
* or replacement) reads.
|
|
7
|
+
*
|
|
4
8
|
* @internal
|
|
5
9
|
*/
|
|
6
10
|
export function AlertingManagementDialog(props) {
|
|
7
|
-
const { AlertingManagementDialogComponent } = useDashboardComponentsContext();
|
|
8
|
-
return _jsx(AlertingManagementDialogComponent, { ...props });
|
|
11
|
+
const { AlertingManagementDialogComponent, AlertingManagementDialogContextDecoratorComponent } = useDashboardComponentsContext();
|
|
12
|
+
return (_jsx(AlertingManagementDialogContextDecoratorComponent, { children: _jsx(AlertingManagementDialogComponent, { ...props }) }));
|
|
9
13
|
}
|
|
@@ -666,6 +666,12 @@ export type CustomAlertingDialogComponent = ComponentType<IAlertingDialogProps>;
|
|
|
666
666
|
* false, and a decorator that overrides it corrupts the draft seed. Define the decorator
|
|
667
667
|
* outside render, or the dialog remounts (and reseeds) on every parent render.
|
|
668
668
|
*
|
|
669
|
+
* The contract: change the data, not what it means — every member keeps its documented meaning.
|
|
670
|
+
* The dialog does not check the decorated value; when you override a member, everything that
|
|
671
|
+
* reads it is your responsibility. Spread the value you read (`{ ...ctx, member }`) so the other
|
|
672
|
+
* members pass through. Wrap functions instead of replacing them. Do not touch members marked as
|
|
673
|
+
* internal machinery.
|
|
674
|
+
*
|
|
669
675
|
* @alpha
|
|
670
676
|
*/
|
|
671
677
|
export type CustomAlertingDialogContextDecoratorComponent = ComponentType<{
|
|
@@ -675,6 +681,50 @@ export type CustomAlertingDialogContextDecoratorComponent = ComponentType<{
|
|
|
675
681
|
* @alpha
|
|
676
682
|
*/
|
|
677
683
|
export type CustomAlertingManagementDialogComponent = ComponentType<IAlertingManagementDialogProps>;
|
|
684
|
+
/**
|
|
685
|
+
* Decorates the data the alerting management dialog reads.
|
|
686
|
+
*
|
|
687
|
+
* The dashboard mounts this component between the connector-provided management dialog context and
|
|
688
|
+
* the resolved management dialog component (default or replacement), so the value it re-provides is
|
|
689
|
+
* what the dialog reads. Read the current value with `useAlertingManagementDialogContext()`,
|
|
690
|
+
* decorate the members to adjust, and re-provide via `AlertingManagementDialogContextProvider`:
|
|
691
|
+
*
|
|
692
|
+
* @example
|
|
693
|
+
* ```tsx
|
|
694
|
+
* function AlertsListDecorator({ children }: { children?: ReactNode }) {
|
|
695
|
+
* const ctx = useAlertingManagementDialogContext();
|
|
696
|
+
* const { alerts, loading } = useMySelfFetchedAlerts(ctx.automations);
|
|
697
|
+
* const decorated = useMemo(
|
|
698
|
+
* () => ({ ...ctx, automations: alerts, isLoading: ctx.isLoading || loading }),
|
|
699
|
+
* [ctx, alerts, loading],
|
|
700
|
+
* );
|
|
701
|
+
* return (
|
|
702
|
+
* <AlertingManagementDialogContextProvider value={decorated}>
|
|
703
|
+
* {children}
|
|
704
|
+
* </AlertingManagementDialogContextProvider>
|
|
705
|
+
* );
|
|
706
|
+
* }
|
|
707
|
+
* // <Dashboard AlertingManagementDialogContextDecoratorComponent={AlertsListDecorator} />
|
|
708
|
+
* ```
|
|
709
|
+
*
|
|
710
|
+
* The management dialog has no state seeding — it renders from the context on every change, so a
|
|
711
|
+
* decorator may replace `automations` or extend `isLoading` (as above). Extend `isLoading` only
|
|
712
|
+
* as `ctx.isLoading || yourOwnLoading`, never force it: forced false shows the list before its
|
|
713
|
+
* data arrives, forced true hides it forever. `isLoading` here covers the automations load only —
|
|
714
|
+
* deliberately narrower than the scheduled-email management context's flag. Define the decorator
|
|
715
|
+
* outside render, or the dialog remounts on every parent render.
|
|
716
|
+
*
|
|
717
|
+
* The contract: change the data, not what it means — every member keeps its documented meaning.
|
|
718
|
+
* The dialog does not check the decorated value; when you override a member, everything that
|
|
719
|
+
* reads it is your responsibility. Spread the value you read (`{ ...ctx, member }`) so the other
|
|
720
|
+
* members pass through. Wrap functions instead of replacing them. Do not touch members marked as
|
|
721
|
+
* internal machinery.
|
|
722
|
+
*
|
|
723
|
+
* @alpha
|
|
724
|
+
*/
|
|
725
|
+
export type CustomAlertingManagementDialogContextDecoratorComponent = ComponentType<{
|
|
726
|
+
children?: ReactNode;
|
|
727
|
+
}>;
|
|
678
728
|
/**
|
|
679
729
|
* @alpha
|
|
680
730
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEtF,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mCAAm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Q,CAAC,EAAE,SAAS,CAAC;CACxB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* Provides AutomationsContext to its children, built from dashboard Redux state
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Provides AutomationsContext to its children, built from dashboard Redux state, with the
|
|
4
|
+
* resolved context decorator mounted directly inside — so everything in the alerting dialog
|
|
5
|
+
* subtree (both the create/edit and management dialogs) reads the decorated value.
|
|
6
6
|
*
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertingConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/AlertingConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AlertingConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/AlertingConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA2B1D;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAQ/F;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,IAAI,YAAY,GAAG,IAAI,CAMvD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { isWidget, } from "@gooddata/sdk-model";
|
|
3
3
|
import { useDashboardAlerts } from "../../../model/react/useDashboardAlerting/useDashboardAlerts.js";
|
|
4
|
+
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
4
5
|
import { AlertingDialog } from "../alerting/AlertingDialog.js";
|
|
5
6
|
import { AlertingManagementDialog } from "../alerting/AlertingManagementDialog.js";
|
|
6
7
|
import { AlertingDialogContextProvider } from "../contexts/AlertingDialogContext.js";
|
|
@@ -11,15 +12,16 @@ import { useBuildAlertingDialogContext } from "./hooks/useBuildAlertingDialogCon
|
|
|
11
12
|
import { useBuildAlertingManagementDialogContext } from "./hooks/useBuildAlertingManagementDialogContext.js";
|
|
12
13
|
import { useBuildAutomationsContext } from "./hooks/useBuildAutomationsContext.js";
|
|
13
14
|
/**
|
|
14
|
-
* Provides AutomationsContext to its children, built from dashboard Redux state
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Provides AutomationsContext to its children, built from dashboard Redux state, with the
|
|
16
|
+
* resolved context decorator mounted directly inside — so everything in the alerting dialog
|
|
17
|
+
* subtree (both the create/edit and management dialogs) reads the decorated value.
|
|
17
18
|
*
|
|
18
19
|
* @internal
|
|
19
20
|
*/
|
|
20
21
|
export function AlertingAutomationsProvider({ children }) {
|
|
21
22
|
const automationsCtx = useBuildAutomationsContext();
|
|
22
|
-
|
|
23
|
+
const { AutomationsContextDecoratorComponent } = useDashboardComponentsContext();
|
|
24
|
+
return (_jsx(AutomationsContextProvider, { value: automationsCtx, children: _jsx(AutomationsContextDecoratorComponent, { children: children }) }));
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* Connector component that reads from the dashboard Redux store and wires up
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* Provides AutomationsContext to its children, built from dashboard Redux state
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Provides AutomationsContext to its children, built from dashboard Redux state, with the
|
|
4
|
+
* resolved context decorator mounted directly inside — so everything in the scheduled-email dialog
|
|
5
|
+
* subtree (both the create/edit and management dialogs) reads the decorated value.
|
|
6
6
|
*
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledEmailConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/ScheduledEmailConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledEmailConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/ScheduledEmailConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAuCnE;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAQrG;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAM7D"}
|
|
@@ -6,6 +6,7 @@ import { getAutomationDashboardFilters, getAutomationVisualizationFilters, } fro
|
|
|
6
6
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
7
7
|
import { useDashboardScheduledEmails } from "../../../model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js";
|
|
8
8
|
import { selectAutomationDefaultSelectedFilters, selectDashboardHiddenFilters, } from "../../../model/store/filtering/dashboardFilterSelectors.js";
|
|
9
|
+
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
9
10
|
import { AutomationsContextProvider } from "../contexts/AutomationsContext.js";
|
|
10
11
|
import { ScheduledEmailDialogContextProvider } from "../contexts/ScheduledEmailDialogContext.js";
|
|
11
12
|
import { ScheduledEmailManagementDialogContextProvider } from "../contexts/ScheduledEmailManagementDialogContext.js";
|
|
@@ -18,15 +19,16 @@ import { useBuildScheduledEmailDialogContext } from "./hooks/useBuildScheduledEm
|
|
|
18
19
|
import { useBuildScheduledEmailManagementDialogContext } from "./hooks/useBuildScheduledEmailManagementDialogContext.js";
|
|
19
20
|
import { useWidgetAutomationFilters } from "./hooks/useWidgetAutomationFilters.js";
|
|
20
21
|
/**
|
|
21
|
-
* Provides AutomationsContext to its children, built from dashboard Redux state
|
|
22
|
-
*
|
|
23
|
-
*
|
|
22
|
+
* Provides AutomationsContext to its children, built from dashboard Redux state, with the
|
|
23
|
+
* resolved context decorator mounted directly inside — so everything in the scheduled-email dialog
|
|
24
|
+
* subtree (both the create/edit and management dialogs) reads the decorated value.
|
|
24
25
|
*
|
|
25
26
|
* @internal
|
|
26
27
|
*/
|
|
27
28
|
export function ScheduledEmailAutomationsProvider({ children }) {
|
|
28
29
|
const automationsCtx = useBuildAutomationsContext();
|
|
29
|
-
|
|
30
|
+
const { AutomationsContextDecoratorComponent } = useDashboardComponentsContext();
|
|
31
|
+
return (_jsx(AutomationsContextProvider, { value: automationsCtx, children: _jsx(AutomationsContextDecoratorComponent, { children: children }) }));
|
|
30
32
|
}
|
|
31
33
|
/**
|
|
32
34
|
* Connector component that reads from the dashboard Redux store and wires up
|
|
@@ -36,6 +36,16 @@ export interface IAlertingManagementDialogContextValue {
|
|
|
36
36
|
pauseAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
|
|
37
37
|
resumeAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Provides the alerting management dialog context.
|
|
41
|
+
*
|
|
42
|
+
* The dashboard's connector mounts the original value. Exported so a context-decorator
|
|
43
|
+
* component (`CustomAlertingManagementDialogContextDecoratorComponent`) can re-provide a decorated
|
|
44
|
+
* value read from `useAlertingManagementDialogContext()`; it is not a way to run the management
|
|
45
|
+
* dialog outside a dashboard.
|
|
46
|
+
*
|
|
47
|
+
* @alpha
|
|
48
|
+
*/
|
|
39
49
|
export declare const AlertingManagementDialogContextProvider: import("react").Provider<IAlertingManagementDialogContextValue | undefined>;
|
|
40
50
|
/**
|
|
41
51
|
* Reads the alerting management dialog context.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertingManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/AlertingManagementDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEvG;;;;;;GAMG;AACH,MAAM,WAAW,qCAAqC;IAClD,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,uBAAuB,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACzC;;;;;;OAMG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,GAAG,SAAS,CAAC;IACjE,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,SAAS,CAAC;IACzE,UAAU,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACjF,WAAW,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACrF;AAMD,eAAO,MAAM,uCAAuC,6EAA2C,CAAC;AAEhG;;;;;;;;;;;GAWG;AACH,wBAAgB,kCAAkC,IAAI,qCAAqC,CAQ1F"}
|
|
1
|
+
{"version":3,"file":"AlertingManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/AlertingManagementDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEvG;;;;;;GAMG;AACH,MAAM,WAAW,qCAAqC;IAClD,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,uBAAuB,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACzC;;;;;;OAMG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,GAAG,SAAS,CAAC;IACjE,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,SAAS,CAAC;IACzE,UAAU,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACjF,WAAW,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACrF;AAMD;;;;;;;;;GASG;AACH,eAAO,MAAM,uCAAuC,6EAA2C,CAAC;AAEhG;;;;;;;;;;;GAWG;AACH,wBAAgB,kCAAkC,IAAI,qCAAqC,CAQ1F"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
3
|
const AlertingManagementDialogContext = createContext(undefined);
|
|
4
|
+
/**
|
|
5
|
+
* Provides the alerting management dialog context.
|
|
6
|
+
*
|
|
7
|
+
* The dashboard's connector mounts the original value. Exported so a context-decorator
|
|
8
|
+
* component (`CustomAlertingManagementDialogContextDecoratorComponent`) can re-provide a decorated
|
|
9
|
+
* value read from `useAlertingManagementDialogContext()`; it is not a way to run the management
|
|
10
|
+
* dialog outside a dashboard.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
4
14
|
export const AlertingManagementDialogContextProvider = AlertingManagementDialogContext.Provider;
|
|
5
15
|
/**
|
|
6
16
|
* Reads the alerting management dialog context.
|
|
@@ -147,6 +147,16 @@ export interface IAutomationsContextValue {
|
|
|
147
147
|
*/
|
|
148
148
|
widgetExistsByRef: (ref: ObjRef | undefined) => boolean;
|
|
149
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* Provides the automation dialogs' shared context.
|
|
152
|
+
*
|
|
153
|
+
* The dashboard's connectors mount the original value once per tree. Exported so a
|
|
154
|
+
* context-decorator component (`CustomAutomationsContextDecoratorComponent`) can re-provide a
|
|
155
|
+
* decorated value read from `useAutomationsContext()`; it is not a way to run the dialogs outside
|
|
156
|
+
* a dashboard.
|
|
157
|
+
*
|
|
158
|
+
* @alpha
|
|
159
|
+
*/
|
|
150
160
|
export declare const AutomationsContextProvider: import("react").Provider<IAutomationsContextValue | undefined>;
|
|
151
161
|
/**
|
|
152
162
|
* Reads the automation dialogs' shared context.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationsContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/AutomationsContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACR,qCAAqC,EACrC,qBAAqB,EACrB,iBAAiB,EACjB,mCAAm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;AAEtE;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,wBAAwB,CAWhE"}
|
|
1
|
+
{"version":3,"file":"AutomationsContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/AutomationsContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACR,qCAAqC,EACrC,qBAAqB,EACrB,iBAAiB,EACjB,mCAAmC,EACnC,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,EAC9B,kCAAkC,EAClC,mBAAmB,EACnB,wBAAwB,EACxB,WAAW,EACX,SAAS,EACT,KAAK,EACL,MAAM,EACN,SAAS,EACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IACzC,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAChD,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,qBAAqB,EAAE,CAAC;IACnE,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,wBAAwB,GAAG,SAAS,CAAC;CAC7E;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACnC,8EAA8E;IAC9E,OAAO,EAAE,OAAO,CAAC;IACjB,sFAAsF;IACtF,uBAAuB,EAAE,OAAO,CAAC;IACjC,qEAAqE;IACrE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACpC;;;OAGG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB,kGAAkG;IAClG,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC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AAC,WAAW,EAAE,MAAM,KAAK,mCAAmC,GAAG,SAAS,CAAC;IACxG;;;;OAIG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,CAAC;CAC3D;AAID;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,gEAA8B,CAAC;AAEtE;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,wBAAwB,CAWhE"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
3
|
const AutomationsContext = createContext(undefined);
|
|
4
|
+
/**
|
|
5
|
+
* Provides the automation dialogs' shared context.
|
|
6
|
+
*
|
|
7
|
+
* The dashboard's connectors mount the original value once per tree. Exported so a
|
|
8
|
+
* context-decorator component (`CustomAutomationsContextDecoratorComponent`) can re-provide a
|
|
9
|
+
* decorated value read from `useAutomationsContext()`; it is not a way to run the dialogs outside
|
|
10
|
+
* a dashboard.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
4
14
|
export const AutomationsContextProvider = AutomationsContext.Provider;
|
|
5
15
|
/**
|
|
6
16
|
* Reads the automation dialogs' shared context.
|
|
@@ -56,6 +56,16 @@ export interface IScheduledEmailManagementDialogContextValue {
|
|
|
56
56
|
/** True while the automation list is still loading. */
|
|
57
57
|
isLoading: boolean;
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Provides the scheduled email management dialog context.
|
|
61
|
+
*
|
|
62
|
+
* The dashboard's connector mounts the original value. Exported so a context-decorator
|
|
63
|
+
* component (`CustomScheduledEmailManagementDialogContextDecoratorComponent`) can re-provide a decorated
|
|
64
|
+
* value read from `useScheduledEmailManagementDialogContext()`; it is not a way to run the management
|
|
65
|
+
* dialog outside a dashboard.
|
|
66
|
+
*
|
|
67
|
+
* @alpha
|
|
68
|
+
*/
|
|
59
69
|
export declare const ScheduledEmailManagementDialogContextProvider: import("react").Provider<IScheduledEmailManagementDialogContextValue | undefined>;
|
|
60
70
|
/**
|
|
61
71
|
* Reads the scheduled-email management dialog context.
|
package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledEmailManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/ScheduledEmailManagementDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE;;;;;;;;;GASG;AACH,MAAM,WAAW,2CAA2C;IACxD;;;OAGG;IACH,yBAAyB,EAAE,OAAO,CAAC;IACnC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACzC,uDAAuD;IACvD,SAAS,EAAE,OAAO,CAAC;CACtB;AAMD,eAAO,MAAM,6CAA6C,mFAAiD,CAAC;AAE5G;;;;;;;;;;;GAWG;AACH,wBAAgB,wCAAwC,IAAI,2CAA2C,CAQtG"}
|
|
1
|
+
{"version":3,"file":"ScheduledEmailManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/ScheduledEmailManagementDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE;;;;;;;;;GASG;AACH,MAAM,WAAW,2CAA2C;IACxD;;;OAGG;IACH,yBAAyB,EAAE,OAAO,CAAC;IACnC;;;OAGG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACzC,uDAAuD;IACvD,SAAS,EAAE,OAAO,CAAC;CACtB;AAMD;;;;;;;;;GASG;AACH,eAAO,MAAM,6CAA6C,mFAAiD,CAAC;AAE5G;;;;;;;;;;;GAWG;AACH,wBAAgB,wCAAwC,IAAI,2CAA2C,CAQtG"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
3
|
const ScheduledEmailManagementDialogContext = createContext(undefined);
|
|
4
|
+
/**
|
|
5
|
+
* Provides the scheduled email management dialog context.
|
|
6
|
+
*
|
|
7
|
+
* The dashboard's connector mounts the original value. Exported so a context-decorator
|
|
8
|
+
* component (`CustomScheduledEmailManagementDialogContextDecoratorComponent`) can re-provide a decorated
|
|
9
|
+
* value read from `useScheduledEmailManagementDialogContext()`; it is not a way to run the management
|
|
10
|
+
* dialog outside a dashboard.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
4
14
|
export const ScheduledEmailManagementDialogContextProvider = ScheduledEmailManagementDialogContext.Provider;
|
|
5
15
|
/**
|
|
6
16
|
* Reads the scheduled-email management dialog context.
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type ReactElement } from "react";
|
|
2
2
|
import { type IScheduledEmailManagementDialogProps } from "./types.js";
|
|
3
3
|
/**
|
|
4
|
+
* Resolves the management dialog component from DashboardComponentsContext and mounts it inside
|
|
5
|
+
* the resolved context decorator — so a decorated management context is what the dialog (default
|
|
6
|
+
* or replacement) reads.
|
|
7
|
+
*
|
|
4
8
|
* @internal
|
|
5
9
|
*/
|
|
6
10
|
export declare function ScheduledEmailManagementDialog(props: IScheduledEmailManagementDialogProps): ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledEmailManagementDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,YAAY,CAAC;AAEvE
|
|
1
|
+
{"version":3,"file":"ScheduledEmailManagementDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,YAAY,CAAC;AAEvE;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,oCAAoC,GAAG,YAAY,CAWxG"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
3
3
|
/**
|
|
4
|
+
* Resolves the management dialog component from DashboardComponentsContext and mounts it inside
|
|
5
|
+
* the resolved context decorator — so a decorated management context is what the dialog (default
|
|
6
|
+
* or replacement) reads.
|
|
7
|
+
*
|
|
4
8
|
* @internal
|
|
5
9
|
*/
|
|
6
10
|
export function ScheduledEmailManagementDialog(props) {
|
|
7
|
-
const { ScheduledEmailManagementDialogComponent } = useDashboardComponentsContext();
|
|
8
|
-
return _jsx(ScheduledEmailManagementDialogComponent, { ...props });
|
|
11
|
+
const { ScheduledEmailManagementDialogComponent, ScheduledEmailManagementDialogContextDecoratorComponent, } = useDashboardComponentsContext();
|
|
12
|
+
return (_jsx(ScheduledEmailManagementDialogContextDecoratorComponent, { children: _jsx(ScheduledEmailManagementDialogComponent, { ...props }) }));
|
|
9
13
|
}
|
|
@@ -793,6 +793,12 @@ export type CustomScheduledEmailDialogComponent = ComponentType<IScheduledEmailD
|
|
|
793
793
|
* corrupts the draft seed on every such open, not in an edge case. Define the decorator outside
|
|
794
794
|
* render, or the dialog remounts (and reseeds) on every parent render.
|
|
795
795
|
*
|
|
796
|
+
* The contract: change the data, not what it means — every member keeps its documented meaning.
|
|
797
|
+
* The dialog does not check the decorated value; when you override a member, everything that
|
|
798
|
+
* reads it is your responsibility. Spread the value you read (`{ ...ctx, member }`) so the other
|
|
799
|
+
* members pass through. Wrap functions instead of replacing them. Do not touch members marked as
|
|
800
|
+
* internal machinery.
|
|
801
|
+
*
|
|
796
802
|
* @alpha
|
|
797
803
|
*/
|
|
798
804
|
export type CustomScheduledEmailDialogContextDecoratorComponent = ComponentType<{
|
|
@@ -802,4 +808,50 @@ export type CustomScheduledEmailDialogContextDecoratorComponent = ComponentType<
|
|
|
802
808
|
* @alpha
|
|
803
809
|
*/
|
|
804
810
|
export type CustomScheduledEmailManagementDialogComponent = ComponentType<IScheduledEmailManagementDialogProps>;
|
|
811
|
+
/**
|
|
812
|
+
* Decorates the data the scheduled email management dialog reads.
|
|
813
|
+
*
|
|
814
|
+
* The dashboard mounts this component between the connector-provided management dialog context and
|
|
815
|
+
* the resolved management dialog component (default or replacement), so the value it re-provides is
|
|
816
|
+
* what the dialog reads. Read the current value with `useScheduledEmailManagementDialogContext()`,
|
|
817
|
+
* decorate the members to adjust, and re-provide via
|
|
818
|
+
* `ScheduledEmailManagementDialogContextProvider`:
|
|
819
|
+
*
|
|
820
|
+
* @example
|
|
821
|
+
* ```tsx
|
|
822
|
+
* function SchedulesListDecorator({ children }: { children?: ReactNode }) {
|
|
823
|
+
* const ctx = useScheduledEmailManagementDialogContext();
|
|
824
|
+
* const { schedules, loading } = useMySelfFetchedSchedules(ctx.automations);
|
|
825
|
+
* const decorated = useMemo(
|
|
826
|
+
* () => ({ ...ctx, automations: schedules, isLoading: ctx.isLoading || loading }),
|
|
827
|
+
* [ctx, schedules, loading],
|
|
828
|
+
* );
|
|
829
|
+
* return (
|
|
830
|
+
* <ScheduledEmailManagementDialogContextProvider value={decorated}>
|
|
831
|
+
* {children}
|
|
832
|
+
* </ScheduledEmailManagementDialogContextProvider>
|
|
833
|
+
* );
|
|
834
|
+
* }
|
|
835
|
+
* // <Dashboard ScheduledEmailManagementDialogContextDecoratorComponent={SchedulesListDecorator} />
|
|
836
|
+
* ```
|
|
837
|
+
*
|
|
838
|
+
* The management dialog has no state seeding — it renders from the context on every change, so a
|
|
839
|
+
* decorator may replace `automations` or extend `isLoading` (as above). Extend `isLoading` only
|
|
840
|
+
* as `ctx.isLoading || yourOwnLoading`, never force it: forced false shows the list before its
|
|
841
|
+
* data arrives, forced true hides it forever. `isLoading` here may also cover a widget-filters
|
|
842
|
+
* load while a widget-scoped create/edit dialog is open — deliberately broader than the alerting
|
|
843
|
+
* management context's automations-only flag. Define the decorator outside render, or the dialog
|
|
844
|
+
* remounts on every parent render.
|
|
845
|
+
*
|
|
846
|
+
* The contract: change the data, not what it means — every member keeps its documented meaning.
|
|
847
|
+
* The dialog does not check the decorated value; when you override a member, everything that
|
|
848
|
+
* reads it is your responsibility. Spread the value you read (`{ ...ctx, member }`) so the other
|
|
849
|
+
* members pass through. Wrap functions instead of replacing them. Do not touch members marked as
|
|
850
|
+
* internal machinery.
|
|
851
|
+
*
|
|
852
|
+
* @alpha
|
|
853
|
+
*/
|
|
854
|
+
export type CustomScheduledEmailManagementDialogContextDecoratorComponent = ComponentType<{
|
|
855
|
+
children?: ReactNode;
|
|
856
|
+
}>;
|
|
805
857
|
//# sourceMappingURL=types.d.ts.map
|