@gooddata/sdk-ui-dashboard 11.53.0-alpha.3 → 11.53.0-alpha.5

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 (55) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/index.d.ts +6 -5
  4. package/esm/index.d.ts.map +1 -1
  5. package/esm/index.js +2 -2
  6. package/esm/presentation/automations/alerting/AlertingDialog.d.ts +2 -1
  7. package/esm/presentation/automations/alerting/AlertingDialog.d.ts.map +1 -1
  8. package/esm/presentation/automations/alerting/AlertingDialog.js +4 -3
  9. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +8 -0
  10. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +1 -0
  11. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +13 -0
  12. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  13. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +14 -3
  14. package/esm/presentation/automations/alerting/types.d.ts +71 -8
  15. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  16. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +9 -0
  17. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts.map +1 -1
  18. package/esm/presentation/automations/contexts/AlertingDialogContext.js +9 -0
  19. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +10 -0
  20. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
  21. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +10 -0
  22. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +2 -1
  23. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  24. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +27 -3
  25. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +7 -0
  26. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +1 -0
  27. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +11 -0
  28. package/esm/presentation/automations/scheduledEmail/ScheduledEmailDialog.d.ts +3 -1
  29. package/esm/presentation/automations/scheduledEmail/ScheduledEmailDialog.d.ts.map +1 -1
  30. package/esm/presentation/automations/scheduledEmail/ScheduledEmailDialog.js +5 -3
  31. package/esm/presentation/automations/scheduledEmail/types.d.ts +141 -11
  32. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  33. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +17 -1
  34. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -1
  35. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
  36. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +7 -51
  37. package/esm/presentation/automations/shared/automationFilters/utils.d.ts +21 -0
  38. package/esm/presentation/automations/shared/automationFilters/utils.d.ts.map +1 -1
  39. package/esm/presentation/automations/shared/automationFilters/utils.js +57 -0
  40. package/esm/presentation/automations/shared/slots/types.d.ts +42 -0
  41. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  42. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  43. package/esm/presentation/dashboard/components/DashboardRenderer.js +4 -1
  44. package/esm/presentation/dashboard/types.d.ts +20 -2
  45. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  46. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +4 -2
  47. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  48. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +2 -0
  49. package/esm/presentation/dashboardContexts/DefaultDialogContextDecorator.d.ts +10 -0
  50. package/esm/presentation/dashboardContexts/DefaultDialogContextDecorator.d.ts.map +1 -0
  51. package/esm/presentation/dashboardContexts/DefaultDialogContextDecorator.js +9 -0
  52. package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts.map +1 -1
  53. package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.js +4 -4
  54. package/esm/sdk-ui-dashboard.d.ts +332 -17
  55. package/package.json +21 -21
@@ -4,6 +4,27 @@ import { type ExtendedDashboardWidget } from "../../../../model/types/layoutType
4
4
  export declare const getFilterLocalIdentifier: (filter: FilterContextItem) => string | undefined;
5
5
  export declare const validateAllFilterLocalIdentifiers: (filters: FilterContextItem[]) => boolean;
6
6
  export declare const areFiltersMatchedByIdentifier: (filter1: FilterContextItem, filter2: FilterContextItem) => boolean;
7
+ /**
8
+ * Returns `filters` with the entry matching `changed` (by filter local identifier) replaced by
9
+ * `changed`; non-matching entries keep their references.
10
+ */
11
+ export declare function applyFilterChange(filters: FilterContextItem[], changed: FilterContextItem): FilterContextItem[];
12
+ /**
13
+ * Returns `filters` without the entry matching `toRemove` (by filter local identifier).
14
+ */
15
+ export declare function removeFilterFrom(filters: FilterContextItem[], toRemove: FilterContextItem): FilterContextItem[];
16
+ /**
17
+ * Resolves the filter to add for a catalog item picked in the Add dropdown, searching `candidates`
18
+ * (the not-yet-selected filters). Attribute items match through every display form of the owning
19
+ * attribute, date items through their dataset, measure items by the metric's own ref (MVF only).
20
+ */
21
+ export declare function resolveFilterToAdd(catalogItemRef: ObjRef, candidates: FilterContextItem[], attributes: ICatalogAttribute[], dateDatasets: ICatalogDateDataset[]): FilterContextItem | undefined;
22
+ /**
23
+ * By-tab variant of {@link resolveFilterToAdd}: searches a tab's `availableFilters` by filter
24
+ * shape. Deliberately not converged with the flat resolver — the candidate sets differ
25
+ * (available vs non-selected), so unifying them changes duplicate-add behavior.
26
+ */
27
+ export declare function resolveTabFilterToAdd(catalogItemRef: ObjRef, availableFilters: FilterContextItem[], attributes: ICatalogAttribute[], dateDatasets: ICatalogDateDataset[]): FilterContextItem | undefined;
7
28
  export declare const getNonSelectedFilters: (allFilters: FilterContextItem[], selectedFilters: FilterContextItem[]) => FilterContextItem[];
8
29
  export declare const getCatalogAttributesByFilters: (filters: FilterContextItem[], attributes: ICatalogAttribute[], attributeConfigs: IDashboardAttributeFilterConfig[]) => ICatalogAttribute[];
9
30
  export declare const getCatalogMeasuresByFilters: (filters: FilterContextItem[], measures: ICatalogMeasure[], mvfConfigs: IDashboardMeasureValueFilterConfig[]) => ICatalogMeasure[];
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EA6Bd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,eAAO,MAAM,wBAAwB,mDAEpC,CAAC;AAEF,eAAO,MAAM,iCAAiC,2CAE7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,qEAKzC,CAAC;AAEF,eAAO,MAAM,qBAAqB,gGASjC,CAAC;AAEF,eAAO,MAAM,6BAA6B,6IA0BzC,CAAC;AAEF,eAAO,MAAM,2BAA2B,oIAqBvC,CAAC;AAEF,eAAO,MAAM,+BAA+B,4IAwB3C,CAAC;AAEF,eAAO,MAAM,yBAAyB,8EAcrC,CAAC;AAEF,eAAO,MAAM,mBAAmB,uOA0B/B,CAAC;AAEF,eAAO,MAAM,0BAA0B,sGAYtC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAuB5D;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CA+C3E;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,qHAMnD;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,uBAAuB,GAAG,OAAO,CA+B3G;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAazE;AAED,eAAO,MAAM,cAAc,oIA8C1B,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EA6Bd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,eAAO,MAAM,wBAAwB,mDAEpC,CAAC;AAEF,eAAO,MAAM,iCAAiC,2CAE7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,qEAKzC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,iBAAiB,CAC7B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,OAAO,EAAE,iBAAiB,GAC3B,iBAAiB,EAAE,CAErB;AA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oIA8C1B,CAAC"}
@@ -10,6 +10,63 @@ export const validateAllFilterLocalIdentifiers = (filters) => {
10
10
  export const areFiltersMatchedByIdentifier = (filter1, filter2) => {
11
11
  return getFilterLocalIdentifier(filter1) === getFilterLocalIdentifier(filter2);
12
12
  };
13
+ /**
14
+ * Returns `filters` with the entry matching `changed` (by filter local identifier) replaced by
15
+ * `changed`; non-matching entries keep their references.
16
+ */
17
+ export function applyFilterChange(filters, changed) {
18
+ return filters.map((filter) => (areFiltersMatchedByIdentifier(filter, changed) ? changed : filter));
19
+ }
20
+ /**
21
+ * Returns `filters` without the entry matching `toRemove` (by filter local identifier).
22
+ */
23
+ export function removeFilterFrom(filters, toRemove) {
24
+ return filters.filter((filter) => !areFiltersMatchedByIdentifier(filter, toRemove));
25
+ }
26
+ function getCatalogItemTargets(catalogItemRef, attributes, dateDatasets) {
27
+ // The dropdown may emit a different display form than the filter uses, so all display forms
28
+ // of the owning attribute are candidates.
29
+ const attributeDisplayForms = attributes
30
+ .find((attribute) => attribute.displayForms.some((df) => areObjRefsEqual(df.ref, catalogItemRef)))
31
+ ?.displayForms?.map((df) => df.ref) ?? [];
32
+ const dateDataSets = dateDatasets.filter((ds) => areObjRefsEqual(ds.dataSet.ref, catalogItemRef));
33
+ return { attributeDisplayForms, dateDataSets };
34
+ }
35
+ /**
36
+ * Resolves the filter to add for a catalog item picked in the Add dropdown, searching `candidates`
37
+ * (the not-yet-selected filters). Attribute items match through every display form of the owning
38
+ * attribute, date items through their dataset, measure items by the metric's own ref (MVF only).
39
+ */
40
+ export function resolveFilterToAdd(catalogItemRef, candidates, attributes, dateDatasets) {
41
+ const { attributeDisplayForms, dateDataSets } = getCatalogItemTargets(catalogItemRef, attributes, dateDatasets);
42
+ const attributeFilter = attributeDisplayForms.reduce((acc, displayFormRef) => acc || getFilterByCatalogItemRef(displayFormRef, candidates), undefined);
43
+ const dateFilter = dateDataSets.reduce((acc, dateDataSet) => acc || getFilterByCatalogItemRef(dateDataSet.dataSet.ref, candidates), undefined);
44
+ // For MVF: the dropdown emits the metric's catalog ref directly; look it up by ref.
45
+ const measureFilter = getFilterByCatalogItemRef(catalogItemRef, candidates);
46
+ return (attributeFilter ||
47
+ dateFilter ||
48
+ (measureFilter && isDashboardMeasureValueFilter(measureFilter) ? measureFilter : undefined));
49
+ }
50
+ /**
51
+ * By-tab variant of {@link resolveFilterToAdd}: searches a tab's `availableFilters` by filter
52
+ * shape. Deliberately not converged with the flat resolver — the candidate sets differ
53
+ * (available vs non-selected), so unifying them changes duplicate-add behavior.
54
+ */
55
+ export function resolveTabFilterToAdd(catalogItemRef, availableFilters, attributes, dateDatasets) {
56
+ const { attributeDisplayForms, dateDataSets } = getCatalogItemTargets(catalogItemRef, attributes, dateDatasets);
57
+ return availableFilters.find((f) => {
58
+ if (isDashboardAttributeFilterItem(f)) {
59
+ return attributeDisplayForms.some((dfRef) => areObjRefsEqual(dashboardAttributeFilterItemDisplayForm(f), dfRef));
60
+ }
61
+ else if (isDashboardDateFilter(f)) {
62
+ return dateDataSets.some((ds) => areObjRefsEqual(f.dateFilter.dataSet, ds.dataSet.ref));
63
+ }
64
+ else if (isDashboardMeasureValueFilter(f)) {
65
+ return areObjRefsEqual(f.dashboardMeasureValueFilter.measure, catalogItemRef);
66
+ }
67
+ return false;
68
+ });
69
+ }
13
70
  export const getNonSelectedFilters = (allFilters, selectedFilters) => {
14
71
  return allFilters.filter((allFilter) => {
15
72
  return !selectedFilters.some((selectedFilter) => {
@@ -1,4 +1,6 @@
1
1
  import { type ComponentType, type ReactNode } from "react";
2
+ import { type FilterContextItem, type IdentifierRef, type ParameterValue } from "@gooddata/sdk-model";
3
+ import { type IAutomationParameter } from "../automationFilters/automationParameters.js";
2
4
  /**
3
5
  * Contract of a section-level slot: the default implementation and the exact props the default
4
6
  * dialog would render it with.
@@ -55,4 +57,44 @@ export interface IAutomationDialogHeaderProps {
55
57
  */
56
58
  onChange: (value: string) => void;
57
59
  }
60
+ /**
61
+ * Members shared by both automation dialogs' filters regions.
62
+ *
63
+ * @alpha
64
+ */
65
+ export interface IAutomationDialogFiltersProps {
66
+ /**
67
+ * All filters the automation could select from.
68
+ */
69
+ availableFilters: FilterContextItem[] | undefined;
70
+ /**
71
+ * The automation's current filter selection.
72
+ */
73
+ selectedFilters: FilterContextItem[];
74
+ /**
75
+ * Replaces the selection with the complete updated array. The dialog state applies it
76
+ * wholesale — change/remove/add gestures must submit the whole array, not a delta.
77
+ */
78
+ onFiltersChange: (filters: FilterContextItem[]) => void;
79
+ /**
80
+ * Parameter chips to render. Empty or undefined while the `enableParameters` feature is off.
81
+ */
82
+ parameters?: IAutomationParameter[];
83
+ /**
84
+ * Workspace parameters addable via the "+" menu.
85
+ */
86
+ availableParameters?: IAutomationParameter[];
87
+ /**
88
+ * Called when a parameter is added from the "+" menu.
89
+ */
90
+ onParameterAdd: (ref: IdentifierRef) => void;
91
+ /**
92
+ * Called when a parameter chip's value is edited.
93
+ */
94
+ onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
95
+ /**
96
+ * Called when a parameter chip is removed.
97
+ */
98
+ onParameterDelete: (ref: IdentifierRef) => void;
99
+ }
58
100
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/slots/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3D;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU,CAAC,MAAM;IAC9B;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAE/B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,kBAAkB,EAAE,SAAS,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/slots/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEtG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU,CAAC,MAAM;IAC9B;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAE/B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,kBAAkB,EAAE,SAAS,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IAElD;;OAEG;IACH,eAAe,EAAE,iBAAiB,EAAE,CAAC;IAErC;;;OAGG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAExD;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEpC;;OAEG;IACH,mBAAmB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAE7C;;OAEG;IACH,cAAc,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IAE7C;;OAEG;IACH,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAEvE;;OAEG;IACH,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardRenderer.tsx"],"names":[],"mappings":"AA6CA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AA2DnD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,2CAuLvD"}
1
+ {"version":3,"file":"DashboardRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardRenderer.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AA+DnD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,2CA6LvD"}
@@ -14,6 +14,7 @@ import { DASHBOARD_OVERLAYS_Z_INDEX } from "../../constants/zIndex.js";
14
14
  import { DashboardComponentsProvider } from "../../dashboardContexts/DashboardComponentsContext.js";
15
15
  import { DashboardConfigProvider } from "../../dashboardContexts/DashboardConfigContext.js";
16
16
  import { DashboardCustomizationsProvider } from "../../dashboardContexts/DashboardCustomizationsContext.js";
17
+ import { DefaultDialogContextDecorator } from "../../dashboardContexts/DefaultDialogContextDecorator.js";
17
18
  import { ExportCsvDialogContextProvider } from "../../dashboardContexts/ExportCsvDialogContext.js";
18
19
  import { ExportTabularPdfDialogContextProvider } from "../../dashboardContexts/ExportTabularPdfDialogContext.js";
19
20
  import { ExportTemplateDialogContextProvider } from "../../dashboardContexts/ExportTemplateDialogContext.js";
@@ -55,10 +56,12 @@ function resolveCoreComponents(props) {
55
56
  function resolveDialogComponents(props) {
56
57
  return {
57
58
  ScheduledEmailDialogComponent: props.ScheduledEmailDialogComponent ?? DefaultScheduledEmailDialog,
59
+ ScheduledEmailDialogContextDecoratorComponent: props.ScheduledEmailDialogContextDecoratorComponent ?? DefaultDialogContextDecorator,
58
60
  ScheduledEmailManagementDialogComponent: props.ScheduledEmailManagementDialogComponent ?? DefaultScheduledEmailManagementDialog,
59
61
  ShareDialogComponent: props.ShareDialogComponent ?? DefaultShareDialog,
60
62
  AlertingManagementDialogComponent: props.AlertingManagementDialogComponent ?? DefaultAlertingManagementDialogNew,
61
63
  AlertingDialogComponent: props.AlertingDialogComponent ?? DefaultAlertingDialog,
64
+ AlertingDialogContextDecoratorComponent: props.AlertingDialogContextDecoratorComponent ?? DefaultDialogContextDecorator,
62
65
  SaveAsDialogComponent: props.SaveAsDialogComponent ?? DefaultSaveAsDialog,
63
66
  DashboardSettingsDialogComponent: props.DashboardSettingsDialogComponent ?? DefaultDashboardSettingsDialog,
64
67
  };
@@ -88,7 +91,7 @@ function shouldUseThemeProvider(props, hasThemeProvider) {
88
91
  export function DashboardRenderer(props) {
89
92
  const { backend, workspace, hasThemeProvider, dashboardOrRef, attributeFilterProvider, dateFilterProvider, measureValueFilterProvider, filterGroupProvider, widgetProvider, insightProvider, insightBodyProvider, insightMenuButtonProvider, dashboardContentProvider, insightMenuProvider, richTextMenuProvider, richTextMenuTitleProvider, insightMenuTitleProvider, insightWidgetComponentSet, attributeFilterComponentSet, dateFilterComponentSet, richTextProvider, visualizationSwitcherProvider, richTextWidgetComponentSet, visualizationSwitcherWidgetComponentSet, visualizationSwitcherToolbarComponentProvider, dashboardLayoutWidgetComponentSet, showAsTableButtonComponentProvider, drillDialogExportDropdownProvider, } = useDashboard(props);
90
93
  const components = resolveComponentsWithDefaults(props);
91
- const dashboardRender = (_jsx(BackendProvider, { backend: backend, children: _jsx(WorkspaceProvider, { workspace: workspace, children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(DashboardStoreProvider, { backend: props.backend, workspace: props.workspace, dashboard: dashboardOrRef, persistedDashboard: props.persistedDashboard, filterContextRef: props.filterContextRef, eventHandlers: props.eventHandlers, config: props.config, permissions: props.permissions, onStateChange: props.onStateChange, onEventingInitialized: props.onEventingInitialized, additionalReduxContext: props.additionalReduxContext, customizationFns: props.customizationFns, widgetsOverlayFn: props.widgetsOverlayFn, initialTabId: props.initialTabId, children: _jsx(ExportTemplateDialogContextProvider, { children: _jsx(ExportXlsxDialogContextProvider, { children: _jsx(ExportCsvDialogContextProvider, { children: _jsx(ExportTabularPdfDialogContextProvider, { children: _jsx(DashboardCustomizationsProvider, { insightMenuItemsProvider: props.insightMenuItemsProvider, richTextMenuItemsProvider: props.richTextMenuItemsProvider, existingExportTransformFn: props.customizationFns?.existingExportTransformFn, slideConfig: props.config?.slideConfig, children: _jsx(DashboardComponentsProvider, { ErrorComponent: components.ErrorComponent, LoadingComponent: components.LoadingComponent, LayoutComponent: components.LayoutComponent, InsightComponentProvider: insightProvider, InsightBodyComponentProvider: insightBodyProvider, InsightMenuButtonComponentProvider: insightMenuButtonProvider, InsightMenuTitleComponentProvider: insightMenuTitleProvider, InsightMenuComponentProvider: insightMenuProvider, VisualizationSwitcherToolbarComponentProvider: visualizationSwitcherToolbarComponentProvider, RichTextComponentProvider: richTextProvider, RichTextMenuComponentProvider: richTextMenuProvider, RichTextMenuTitleComponentProvider: richTextMenuTitleProvider, VisualizationSwitcherComponentProvider: visualizationSwitcherProvider, WidgetComponentProvider: widgetProvider, ButtonBarComponent: components.ButtonBarComponent, MenuButtonComponent: components.MenuButtonComponent, TopBarComponent: components.TopBarComponent, ToolbarComponent: components.ToolbarComponent, TitleComponent: components.TitleComponent, ScheduledEmailDialogComponent: components.ScheduledEmailDialogComponent, ScheduledEmailManagementDialogComponent: components.ScheduledEmailManagementDialogComponent, ShareDialogComponent: components.ShareDialogComponent, AlertingManagementDialogComponent: components.AlertingManagementDialogComponent, AlertingDialogComponent: components.AlertingDialogComponent, SaveAsDialogComponent: components.SaveAsDialogComponent, DashboardAttributeFilterComponentProvider: attributeFilterProvider, DashboardDateFilterComponentProvider: dateFilterProvider, DashboardMeasureValueFilterComponentProvider: measureValueFilterProvider, DashboardFilterGroupComponentProvider: filterGroupProvider, FilterBarComponent: components.FilterBarComponent, SidebarComponent: components.SidebarComponent, InsightWidgetComponentSet: insightWidgetComponentSet, RichTextWidgetComponentSet: richTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet: visualizationSwitcherWidgetComponentSet, DashboardLayoutWidgetComponentSet: dashboardLayoutWidgetComponentSet, AttributeFilterComponentSet: attributeFilterComponentSet, DateFilterComponentSet: dateFilterComponentSet, EmptyLayoutDropZoneBodyComponent: components.EmptyLayoutDropZoneBodyComponent, SaveButtonComponent: components.SaveButtonComponent, DashboardContentComponentProvider: dashboardContentProvider, SettingButtonComponent: components.SettingButtonComponent, DashboardSettingsDialogComponent: components.DashboardSettingsDialogComponent, ShowAsTableButtonComponentProvider: showAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider: drillDialogExportDropdownProvider, children: _jsx(DashboardConfigProvider, { menuButtonConfig: props.menuButtonConfig, children: _jsx(DndProvider, { backend: HTML5Backend, children: _jsx(LayoutResizeStateProvider, { children: _jsx(DashboardItemPathAndSizeProvider, { children: _jsxs(HoveredWidgetProvider, { children: [
94
+ const dashboardRender = (_jsx(BackendProvider, { backend: backend, children: _jsx(WorkspaceProvider, { workspace: workspace, children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(DashboardStoreProvider, { backend: props.backend, workspace: props.workspace, dashboard: dashboardOrRef, persistedDashboard: props.persistedDashboard, filterContextRef: props.filterContextRef, eventHandlers: props.eventHandlers, config: props.config, permissions: props.permissions, onStateChange: props.onStateChange, onEventingInitialized: props.onEventingInitialized, additionalReduxContext: props.additionalReduxContext, customizationFns: props.customizationFns, widgetsOverlayFn: props.widgetsOverlayFn, initialTabId: props.initialTabId, children: _jsx(ExportTemplateDialogContextProvider, { children: _jsx(ExportXlsxDialogContextProvider, { children: _jsx(ExportCsvDialogContextProvider, { children: _jsx(ExportTabularPdfDialogContextProvider, { children: _jsx(DashboardCustomizationsProvider, { insightMenuItemsProvider: props.insightMenuItemsProvider, richTextMenuItemsProvider: props.richTextMenuItemsProvider, existingExportTransformFn: props.customizationFns?.existingExportTransformFn, slideConfig: props.config?.slideConfig, children: _jsx(DashboardComponentsProvider, { ErrorComponent: components.ErrorComponent, LoadingComponent: components.LoadingComponent, LayoutComponent: components.LayoutComponent, InsightComponentProvider: insightProvider, InsightBodyComponentProvider: insightBodyProvider, InsightMenuButtonComponentProvider: insightMenuButtonProvider, InsightMenuTitleComponentProvider: insightMenuTitleProvider, InsightMenuComponentProvider: insightMenuProvider, VisualizationSwitcherToolbarComponentProvider: visualizationSwitcherToolbarComponentProvider, RichTextComponentProvider: richTextProvider, RichTextMenuComponentProvider: richTextMenuProvider, RichTextMenuTitleComponentProvider: richTextMenuTitleProvider, VisualizationSwitcherComponentProvider: visualizationSwitcherProvider, WidgetComponentProvider: widgetProvider, ButtonBarComponent: components.ButtonBarComponent, MenuButtonComponent: components.MenuButtonComponent, TopBarComponent: components.TopBarComponent, ToolbarComponent: components.ToolbarComponent, TitleComponent: components.TitleComponent, ScheduledEmailDialogComponent: components.ScheduledEmailDialogComponent, ScheduledEmailDialogContextDecoratorComponent: components.ScheduledEmailDialogContextDecoratorComponent, ScheduledEmailManagementDialogComponent: components.ScheduledEmailManagementDialogComponent, ShareDialogComponent: components.ShareDialogComponent, AlertingManagementDialogComponent: components.AlertingManagementDialogComponent, AlertingDialogComponent: components.AlertingDialogComponent, AlertingDialogContextDecoratorComponent: components.AlertingDialogContextDecoratorComponent, SaveAsDialogComponent: components.SaveAsDialogComponent, DashboardAttributeFilterComponentProvider: attributeFilterProvider, DashboardDateFilterComponentProvider: dateFilterProvider, DashboardMeasureValueFilterComponentProvider: measureValueFilterProvider, DashboardFilterGroupComponentProvider: filterGroupProvider, FilterBarComponent: components.FilterBarComponent, SidebarComponent: components.SidebarComponent, InsightWidgetComponentSet: insightWidgetComponentSet, RichTextWidgetComponentSet: richTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet: visualizationSwitcherWidgetComponentSet, DashboardLayoutWidgetComponentSet: dashboardLayoutWidgetComponentSet, AttributeFilterComponentSet: attributeFilterComponentSet, DateFilterComponentSet: dateFilterComponentSet, EmptyLayoutDropZoneBodyComponent: components.EmptyLayoutDropZoneBodyComponent, SaveButtonComponent: components.SaveButtonComponent, DashboardContentComponentProvider: dashboardContentProvider, SettingButtonComponent: components.SettingButtonComponent, DashboardSettingsDialogComponent: components.DashboardSettingsDialogComponent, ShowAsTableButtonComponentProvider: showAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider: drillDialogExportDropdownProvider, children: _jsx(DashboardConfigProvider, { menuButtonConfig: props.menuButtonConfig, children: _jsx(DndProvider, { backend: HTML5Backend, children: _jsx(LayoutResizeStateProvider, { children: _jsx(DashboardItemPathAndSizeProvider, { children: _jsxs(HoveredWidgetProvider, { children: [
92
95
  _jsx(DensityInitializer, {}), _jsx(DashboardLoading, { ...props })
93
96
  ] }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
94
97
  if (shouldUseThemeProvider(props, hasThemeProvider)) {
@@ -6,8 +6,8 @@ import { type IErrorProps, type ILoadingProps } from "@gooddata/sdk-ui";
6
6
  import { type DashboardEventHandler } from "../../model/eventHandlers/eventHandler.js";
7
7
  import { type DashboardDispatch, type DashboardState } from "../../model/store/types.js";
8
8
  import { type DashboardConfig, type DashboardModelCustomizationFns, type WidgetsOverlayFn } from "../../model/types/commonTypes.js";
9
- import { type CustomAlertingDialogComponent, type CustomAlertingManagementDialogComponent } from "../automations/alerting/types.js";
10
- import { type CustomScheduledEmailDialogComponent, type CustomScheduledEmailManagementDialogComponent } from "../automations/scheduledEmail/types.js";
9
+ import { type CustomAlertingDialogComponent, type CustomAlertingDialogContextDecoratorComponent, type CustomAlertingManagementDialogComponent } from "../automations/alerting/types.js";
10
+ import { type CustomScheduledEmailDialogComponent, type CustomScheduledEmailDialogContextDecoratorComponent, type CustomScheduledEmailManagementDialogComponent } from "../automations/scheduledEmail/types.js";
11
11
  import { type InsightComponentSetProvider } from "../componentDefinition/types.js";
12
12
  import { type InsightMenuItemsProvider, type OptionalAttributeFilterComponentProvider, type OptionalDashboardContentComponentProvider, type OptionalDashboardLayoutComponentProvider, type OptionalDateFilterComponentProvider, type OptionalDrillDialogExportDropdownComponentProvider, type OptionalFilterGroupComponentProvider, type OptionalInsightBodyComponentProvider, type OptionalInsightComponentProvider, type OptionalInsightMenuButtonComponentProvider, type OptionalInsightMenuComponentProvider, type OptionalInsightMenuTitleComponentProvider, type OptionalMeasureValueFilterComponentProvider, type OptionalRichTextComponentProvider, type OptionalRichTextMenuComponentProvider, type OptionalRichTextMenuTitleComponentProvider, type OptionalShowAsTableButtonComponentProvider, type OptionalVisualizationSwitcherComponentProvider, type OptionalVisualizationSwitcherToolbarComponentProvider, type OptionalWidgetComponentProvider, type RichTextMenuItemsProvider } from "../dashboardContexts/types.js";
13
13
  import { type CustomDashboardSettingsDialogComponent } from "../dashboardSettingsDialog/types.js";
@@ -238,6 +238,15 @@ export interface IDashboardCustomComponentProps {
238
238
  * @alpha
239
239
  */
240
240
  ScheduledEmailDialogComponent?: CustomScheduledEmailDialogComponent;
241
+ /**
242
+ * Specify component to decorate the data the scheduled email dialog reads.
243
+ *
244
+ * Rendered between the dialog's data context and its state model; see
245
+ * `CustomScheduledEmailDialogContextDecoratorComponent` for the contract and an example.
246
+ *
247
+ * @alpha
248
+ */
249
+ ScheduledEmailDialogContextDecoratorComponent?: CustomScheduledEmailDialogContextDecoratorComponent;
241
250
  /**
242
251
  * Specify component to use for rendering the scheduled email management dialog.
243
252
  *
@@ -256,6 +265,15 @@ export interface IDashboardCustomComponentProps {
256
265
  * @alpha
257
266
  */
258
267
  AlertingDialogComponent?: CustomAlertingDialogComponent;
268
+ /**
269
+ * Specify component to decorate the data the alerting dialog reads.
270
+ *
271
+ * Rendered between the dialog's data context and its state model; see
272
+ * `CustomAlertingDialogContextDecoratorComponent` for the contract and an example.
273
+ *
274
+ * @alpha
275
+ */
276
+ AlertingDialogContextDecoratorComponent?: CustomAlertingDialogContextDecoratorComponent;
259
277
  /**
260
278
  * Specify component to use for rendering the share dialog.
261
279
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,KAAK,qBAAqB,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC5G,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,uCAAuC,EAC/C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,mCAAm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EAAE,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CACnE;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,wBAAwB;IAClF,QAAQ,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,SAAS,EAAE,GAAG,KAAK,YAAY,CAAC,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC;CACnC"}
@@ -1,7 +1,7 @@
1
1
  import { type ComponentType, type ReactElement, type ReactNode } from "react";
2
2
  import { type IErrorProps, type ILoadingProps } from "@gooddata/sdk-ui";
3
- import { type CustomAlertingDialogComponent, type CustomAlertingManagementDialogComponent } from "../automations/alerting/types.js";
4
- import { type CustomScheduledEmailDialogComponent, type CustomScheduledEmailManagementDialogComponent } from "../automations/scheduledEmail/types.js";
3
+ import { type CustomAlertingDialogComponent, type CustomAlertingDialogContextDecoratorComponent, type CustomAlertingManagementDialogComponent } from "../automations/alerting/types.js";
4
+ import { type CustomScheduledEmailDialogComponent, type CustomScheduledEmailDialogContextDecoratorComponent, type CustomScheduledEmailManagementDialogComponent } from "../automations/scheduledEmail/types.js";
5
5
  import { type AttributeFilterComponentSet, type DashboardLayoutWidgetComponentSet, type DateFilterComponentSet, type InsightWidgetComponentSet, type RichTextWidgetComponentSet, type VisualizationSwitcherWidgetComponentSet } from "../componentDefinition/types.js";
6
6
  import { type CustomSidebarComponent } from "../dashboard/DashboardSidebar/types.js";
7
7
  import { type CustomDashboardSettingsDialogComponent } from "../dashboardSettingsDialog/types.js";
@@ -42,9 +42,11 @@ interface IDashboardComponentsContext {
42
42
  TopBarComponent: CustomTopBarComponent;
43
43
  ToolbarComponent: CustomToolbarComponent;
44
44
  ScheduledEmailDialogComponent: CustomScheduledEmailDialogComponent;
45
+ ScheduledEmailDialogContextDecoratorComponent: CustomScheduledEmailDialogContextDecoratorComponent;
45
46
  ScheduledEmailManagementDialogComponent: CustomScheduledEmailManagementDialogComponent;
46
47
  AlertingManagementDialogComponent: CustomAlertingManagementDialogComponent;
47
48
  AlertingDialogComponent: CustomAlertingDialogComponent;
49
+ AlertingDialogContextDecoratorComponent: CustomAlertingDialogContextDecoratorComponent;
48
50
  ShareDialogComponent: CustomShareDialogComponent;
49
51
  SaveAsDialogComponent: CustomSaveAsDialogComponent;
50
52
  DashboardAttributeFilterComponentProvider: AttributeFilterComponentProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAEzG,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,aAAa,EAGrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,uCAAuC,EAC/C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,6CAA6C,EACrD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AAClG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,K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C,CAAC;CAC1F;AAyED;;GAEG;AACH,eAAO,MAAM,6BAA6B,6GAYzC,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,2BAA2B;IAClF,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,QAAQ,EACR,GAAG,UAAU,EAChB,EAAE,iCAAiC,GAAG,YAAY,CAMlD"}
1
+ {"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAEzG,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,aAAa,EAGrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC/C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,mDAAmD,EACxD,KAAK,6CAA6C,EACrD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AAClG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,KAAK,0B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AAiC,EAAE,iCAAiC,CAAC;IACrE,gCAAgC,EAAE,sCAAsC,CAAC;IACzE,kCAAkC,EAAE,kCAAkC,CAAC;IACvE,0CAA0C,EAAE,0CAA0C,CAAC;CAC1F;AA+ED;;GAEG;AACH,eAAO,MAAM,6BAA6B,6GAYzC,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,2BAA2B;IAClF,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,QAAQ,EACR,GAAG,UAAU,EAChB,EAAE,iCAAiC,GAAG,YAAY,CAMlD"}
@@ -28,9 +28,11 @@ const DashboardComponentsContext = createContext({
28
28
  TopBarComponent: ThrowMissingComponentError("TopBarComponent"),
29
29
  ToolbarComponent: ThrowMissingComponentError("ToolbarComponent"),
30
30
  ScheduledEmailDialogComponent: ThrowMissingComponentError("ScheduledEmailDialogComponent"),
31
+ ScheduledEmailDialogContextDecoratorComponent: ThrowMissingComponentError("ScheduledEmailDialogContextDecoratorComponent"),
31
32
  ScheduledEmailManagementDialogComponent: ThrowMissingComponentError("ScheduledEmailManagementDialogComponent"),
32
33
  AlertingManagementDialogComponent: ThrowMissingComponentError("AlertingManagementDialogComponent"),
33
34
  AlertingDialogComponent: ThrowMissingComponentError("AlertingDialogComponent"),
35
+ AlertingDialogContextDecoratorComponent: ThrowMissingComponentError("AlertingDialogContextDecoratorComponent"),
34
36
  ShareDialogComponent: ThrowMissingComponentError("ShareDialogComponent"),
35
37
  SaveAsDialogComponent: ThrowMissingComponentError("SaveAsDialogComponent"),
36
38
  DashboardAttributeFilterComponentProvider: ThrowMissingComponentError("DashboardAttributeFilterComponentProvider"),
@@ -0,0 +1,10 @@
1
+ import { type ReactElement, type ReactNode } from "react";
2
+ /**
3
+ * Default for the dialog context-decorator slots: renders children with the dialog context untouched.
4
+ *
5
+ * @internal
6
+ */
7
+ export declare function DefaultDialogContextDecorator({ children }: {
8
+ children?: ReactNode;
9
+ }): ReactElement;
10
+ //# sourceMappingURL=DefaultDialogContextDecorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultDialogContextDecorator.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DefaultDialogContextDecorator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAElG"}
@@ -0,0 +1,9 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Default for the dialog context-decorator slots: renders children with the dialog context untouched.
4
+ *
5
+ * @internal
6
+ */
7
+ export function DefaultDialogContextDecorator({ children }) {
8
+ return _jsx(_Fragment, { children: children });
9
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultDashboardSettingsDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAoD,MAAM,OAAO,CAAC;AA2C5F,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAGhE;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,EAC3C,SAAS,EACT,OAAO,EACP,QAAQ,EACX,EAAE,6BAA6B,GAAG,YAAY,GAAG,IAAI,CA+QrD"}
1
+ {"version":3,"file":"DefaultDashboardSettingsDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAoD,MAAM,OAAO,CAAC;AA2C5F,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAGhE;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,EAC3C,SAAS,EACT,OAAO,EACP,QAAQ,EACX,EAAE,6BAA6B,GAAG,YAAY,GAAG,IAAI,CAiRrD"}
@@ -121,7 +121,7 @@ export function DefaultDashboardSettingsDialog({ isVisible, onApply, onCancel /*
121
121
  timezoneId,
122
122
  }),
123
123
  });
124
- } }), _jsx(ConfigurationOption, { label: intl.formatMessage({
124
+ } }), _jsx(ConfigurationOption, { dataTestId: "s-timezone-allow-user-override", label: intl.formatMessage({
125
125
  id: "settingsDashboardDialog.section.timezone.allowUserOverride.toggle",
126
126
  }), tooltip: intl.formatMessage({
127
127
  id: "settingsDashboardDialog.section.timezone.allowUserOverride.toggle.tooltip",
@@ -133,7 +133,7 @@ export function DefaultDashboardSettingsDialog({ isVisible, onApply, onCancel /*
133
133
  allowUserOverrideInViewMode: isChecked,
134
134
  }),
135
135
  });
136
- } }), _jsx(ConfigurationOption, { label: intl.formatMessage({
136
+ } }), _jsx(ConfigurationOption, { dataTestId: "s-timezone-show-info", label: intl.formatMessage({
137
137
  id: "settingsDashboardDialog.section.timezone.showTimezoneInfo.toggle",
138
138
  }), tooltip: intl.formatMessage({
139
139
  id: "settingsDashboardDialog.section.timezone.showTimezoneInfo.toggle.tooltip",
@@ -149,8 +149,8 @@ export function DefaultDashboardSettingsDialog({ isVisible, onApply, onCancel /*
149
149
  ] })) : null] }) }));
150
150
  }
151
151
  const BUBBLE_ALIGN_POINTS = [{ align: "bc tl" }];
152
- function ConfigurationOption({ label, tooltip, isChecked, onChange }) {
153
- return (_jsx("div", { className: "configuration-category-item", children: _jsxs("label", { className: "input-checkbox-toggle", children: [
152
+ function ConfigurationOption({ label, tooltip, isChecked, onChange, dataTestId }) {
153
+ return (_jsx("div", { className: "configuration-category-item", children: _jsxs("label", { className: "input-checkbox-toggle", "data-testid": dataTestId, children: [
154
154
  _jsx("input", { type: "checkbox", checked: isChecked, onChange: (e) => {
155
155
  onChange(e.currentTarget.checked);
156
156
  } }), _jsxs("span", { className: "input-label-text", children: [label, _jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, eventsOnBubble: true, className: "configuration-category-item-tooltip-icon", children: [