@gooddata/sdk-ui-dashboard 11.51.0-alpha.4 → 11.51.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.
- package/NOTICE +3 -3
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +17 -4
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.d.ts +6 -0
- package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.js +39 -0
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/index.d.ts +2 -1
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/timezone.d.ts +42 -0
- package/esm/model/commands/timezone.d.ts.map +1 -0
- package/esm/model/commands/timezone.js +29 -0
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/index.d.ts +2 -1
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/timezone.d.ts +50 -0
- package/esm/model/events/timezone.d.ts.map +1 -0
- package/esm/model/events/timezone.js +31 -0
- package/esm/model/react/useDashboardCommand.d.ts +1 -0
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +4 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.d.ts +13 -1
- package/esm/model/store/filterViews/filterViewsReducers.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.js +46 -0
- package/esm/model/store/filterViews/filterViewsState.d.ts +22 -0
- package/esm/model/store/filterViews/filterViewsState.d.ts.map +1 -1
- package/esm/model/store/filterViews/index.d.ts +3 -0
- package/esm/model/store/filterViews/index.d.ts.map +1 -1
- package/esm/model/store/meta/metaSelectors.d.ts +6 -4
- package/esm/model/store/meta/metaSelectors.d.ts.map +1 -1
- package/esm/model/store/meta/metaSelectors.js +17 -6
- package/esm/model/store/ui/index.d.ts +3 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +6 -0
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +15 -0
- package/esm/model/store/ui/uiSelectors.d.ts +15 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +15 -0
- package/esm/model/store/ui/uiState.d.ts +12 -0
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +4 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +4 -23
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts +17 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.js +19 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts +7 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +14 -4
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +6 -45
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts +1 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +1 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +1 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +1 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +34 -30
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +20 -9
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.js +12 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.d.ts +37 -15
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.js +41 -19
- package/esm/presentation/automations/scheduledEmail/utils/pdfPageSize.d.ts +1 -2
- package/esm/presentation/automations/scheduledEmail/utils/pdfPageSize.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/utils/pdfPageSize.js +12 -3
- package/esm/presentation/automations/shared/filters/conversions.d.ts +1 -1
- package/esm/presentation/automations/shared/filters/conversions.js +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +2 -1
- package/esm/presentation/dashboard/DashboardHeader/TimezoneDialogProvider.d.ts +6 -0
- package/esm/presentation/dashboard/DashboardHeader/TimezoneDialogProvider.d.ts.map +1 -0
- package/esm/presentation/dashboard/DashboardHeader/TimezoneDialogProvider.js +14 -0
- package/esm/presentation/dashboard/components/DashboardLoading.js +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +9 -7
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +1 -6
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +19 -16
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +40 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +45 -5
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +13 -2
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +11 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +13 -2
- package/esm/presentation/timezoneDialog/TimezoneDialog.d.ts +15 -0
- package/esm/presentation/timezoneDialog/TimezoneDialog.d.ts.map +1 -0
- package/esm/presentation/timezoneDialog/TimezoneDialog.js +80 -0
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +22 -3
- package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.d.ts.map +1 -1
- package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.js +2 -2
- package/esm/presentation/topBar/timezoneIndicator/resolveDashboardTimezoneInfo.d.ts +5 -3
- package/esm/presentation/topBar/timezoneIndicator/resolveDashboardTimezoneInfo.d.ts.map +1 -1
- package/esm/presentation/topBar/timezoneIndicator/resolveDashboardTimezoneInfo.js +6 -4
- package/esm/presentation/topBar/topBar/DefaultTopBar.d.ts.map +1 -1
- package/esm/presentation/topBar/topBar/DefaultTopBar.js +5 -3
- package/esm/sdk-ui-dashboard.d.ts +140 -11
- package/package.json +21 -21
- package/styles/css/filterBar.css +15 -44
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/main.css +38 -44
- package/styles/css/main.css.map +1 -1
- package/styles/css/timezoneDialog.css +24 -0
- package/styles/css/timezoneDialog.css.map +1 -0
- package/styles/scss/filterBar.scss +17 -62
- package/styles/scss/main.scss +1 -0
- package/styles/scss/timezoneDialog.scss +31 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiReducers.d.ts","sourceRoot":"","sources":["../../../../src/model/store/ui/uiReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErG,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,MAAM,EAMd,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB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AAS,CAAC,EAAE,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AAgEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEtB,CAAC"}
|
|
@@ -317,6 +317,18 @@ const resetIncompatibleDefaultFiltersOverrideMessage = (state) => {
|
|
|
317
317
|
const invalidateAutomationItems = (state) => {
|
|
318
318
|
state.automationsManagement.invalidationId += 1;
|
|
319
319
|
};
|
|
320
|
+
// The override is session-only ui state and must never make it into the persisted dashboard.
|
|
321
|
+
// The payload must be a concrete IANA timezone ID (the browser-detected sentinel is resolved
|
|
322
|
+
// by the caller before dispatching); undefined clears the override.
|
|
323
|
+
const setTimezoneOverride = (state, action) => {
|
|
324
|
+
state.timezoneOverride = action.payload;
|
|
325
|
+
};
|
|
326
|
+
const openTimezoneDialog = (state) => {
|
|
327
|
+
state.timezoneDialog.open = true;
|
|
328
|
+
};
|
|
329
|
+
const closeTimezoneDialog = (state) => {
|
|
330
|
+
state.timezoneDialog.open = false;
|
|
331
|
+
};
|
|
320
332
|
export const uiReducers = {
|
|
321
333
|
openSettingsDialog,
|
|
322
334
|
closeSettingsDialog,
|
|
@@ -384,4 +396,7 @@ export const uiReducers = {
|
|
|
384
396
|
setIncompatibleDefaultFiltersOverrideMessage,
|
|
385
397
|
resetIncompatibleDefaultFiltersOverrideMessage,
|
|
386
398
|
invalidateAutomationItems,
|
|
399
|
+
setTimezoneOverride,
|
|
400
|
+
openTimezoneDialog,
|
|
401
|
+
closeTimezoneDialog,
|
|
387
402
|
};
|
|
@@ -261,4 +261,19 @@ export declare const selectFilterValidationIncompatibleDefaultFiltersOverride: D
|
|
|
261
261
|
* @alpha
|
|
262
262
|
*/
|
|
263
263
|
export declare const selectAutomationsInvalidationId: DashboardSelector<number>;
|
|
264
|
+
/**
|
|
265
|
+
* Selects the session-only ad-hoc timezone override selected by the viewer in view mode.
|
|
266
|
+
*
|
|
267
|
+
* @remarks
|
|
268
|
+
* The value is always a concrete IANA timezone ID (never the browser-detected sentinel).
|
|
269
|
+
* Undefined means no override is active and the dashboard/workspace timezone configuration
|
|
270
|
+
* applies. The override is never persisted with the dashboard.
|
|
271
|
+
*
|
|
272
|
+
* @alpha
|
|
273
|
+
*/
|
|
274
|
+
export declare const selectTimezoneOverride: DashboardSelector<string | undefined>;
|
|
275
|
+
/**
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
export declare const selectIsTimezoneDialogOpen: DashboardSelector<boolean>;
|
|
264
279
|
//# sourceMappingURL=uiSelectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/ui/uiSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAmC,MAAM,qBAAqB,CAAC;AAGnF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAK1E,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,OAAO,EAAE,KAAK,oBAAoB,EAA4C,MAAM,cAAc,CAAC;AAOnG;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB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,iBAAiB,CAAC,CAAC,kBAAkB,GAAG,kBAAkB,CAAC,EAAE,CAiBjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,CACpC,IAAI,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,KAC3B,iBAAiB,CAAC,CAAC,kBAAkB,GAAG,kBAAkB,CAAC,EAAE,CAsBjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,KAAK,iBAAiB,CAAC,OAAO,CASpG,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,iBAAiB,CAAC,OAAO,CAGpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,iBAAiB,CAAC,oBAAoB,CAG/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,OAAO,CAGrE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAS1E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,iBAAiB,CAAC,OAAO,CACY,CAAC;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,MAAM,CAGrE,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAGxE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,OAAO,CAGjE,CAAC"}
|
|
@@ -348,3 +348,18 @@ export const selectFilterValidationIncompatibleDefaultFiltersOverride = createSe
|
|
|
348
348
|
* @alpha
|
|
349
349
|
*/
|
|
350
350
|
export const selectAutomationsInvalidationId = createSelector(selectSelf, (state) => state.automationsManagement.invalidationId);
|
|
351
|
+
/**
|
|
352
|
+
* Selects the session-only ad-hoc timezone override selected by the viewer in view mode.
|
|
353
|
+
*
|
|
354
|
+
* @remarks
|
|
355
|
+
* The value is always a concrete IANA timezone ID (never the browser-detected sentinel).
|
|
356
|
+
* Undefined means no override is active and the dashboard/workspace timezone configuration
|
|
357
|
+
* applies. The override is never persisted with the dashboard.
|
|
358
|
+
*
|
|
359
|
+
* @alpha
|
|
360
|
+
*/
|
|
361
|
+
export const selectTimezoneOverride = createSelector(selectSelf, (state) => state.timezoneOverride);
|
|
362
|
+
/**
|
|
363
|
+
* @internal
|
|
364
|
+
*/
|
|
365
|
+
export const selectIsTimezoneDialogOpen = createSelector(selectSelf, (state) => state.timezoneDialog.open ?? false);
|
|
@@ -103,6 +103,18 @@ export interface IUiState {
|
|
|
103
103
|
sanitizedDrillWidgetRefs: ObjRef[];
|
|
104
104
|
invalidCustomUrlDrillParameterWidgets: IInvalidCustomUrlDrillParameterInfo[];
|
|
105
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
* Session-only ad-hoc timezone override selected by the viewer in view mode. Always a
|
|
108
|
+
* concrete IANA timezone ID — never the browser-detected sentinel. Undefined means no
|
|
109
|
+
* override is active (the dashboard/workspace configuration applies). This value is never
|
|
110
|
+
* persisted with the dashboard.
|
|
111
|
+
*
|
|
112
|
+
* @alpha
|
|
113
|
+
*/
|
|
114
|
+
timezoneOverride: string | undefined;
|
|
115
|
+
timezoneDialog: {
|
|
116
|
+
open: boolean;
|
|
117
|
+
};
|
|
106
118
|
/** @internal */
|
|
107
119
|
draggingWidgetSource: DraggableLayoutItem | undefined;
|
|
108
120
|
draggingWidgetTarget: ILayoutItemPath | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiState.d.ts","sourceRoot":"","sources":["../../../../src/model/store/ui/uiState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,KAAK,GAAG,EAAE,MAAM,qBAAqB,CAAC;A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= {
|
|
|
74
74
|
sanitizedDrillWidgetRefs: [],
|
|
75
75
|
invalidCustomUrlDrillParameterWidgets: [],
|
|
76
76
|
},
|
|
77
|
+
timezoneOverride: undefined,
|
|
78
|
+
timezoneDialog: {
|
|
79
|
+
open: false,
|
|
80
|
+
},
|
|
77
81
|
draggingWidgetSource: undefined,
|
|
78
82
|
draggingWidgetTarget: undefined,
|
|
79
83
|
draggingWidgetTriggeringDropZoneType: undefined,
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA4BxD,wBAAgB,sBAAsB,CAAC,EACnC,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EAChB,EAAE,oBAAoB,2CA4hBtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,oBAAoB,2CAchE"}
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js
CHANGED
|
@@ -11,8 +11,6 @@ import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
|
11
11
|
import { RecipientsSelect } from "../../scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js";
|
|
12
12
|
import { ApplyCurrentFiltersConfirmDialog } from "../../shared/automationFilters/components/ApplyLatestFiltersConfirmDialog.js";
|
|
13
13
|
import { AutomationFiltersSelect } from "../../shared/automationFilters/components/AutomationFiltersSelect.js";
|
|
14
|
-
import { useValidateExistingAutomationFilters } from "../../shared/automationFilters/hooks/useValidateExistingAutomationFilters.js";
|
|
15
|
-
import { useAutomationFiltersSelect } from "../../shared/automationFilters/useAutomationFiltersSelect.js";
|
|
16
14
|
import { DeleteAlertConfirmDialog } from "../DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js";
|
|
17
15
|
import { AlertingDialogHeader } from "./AlertingDialogHeader.js";
|
|
18
16
|
import { AlertAttributeSelect } from "./components/AlertAttributeSelect.js";
|
|
@@ -41,34 +39,17 @@ export function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDeleteErro
|
|
|
41
39
|
const intl = useIntl();
|
|
42
40
|
const dialogTitleRef = useRef(null);
|
|
43
41
|
const { isWhiteLabeled, isSecondaryTitleVisible, externalRecipient: externalRecipientOverride, maxAutomationsRecipients, isExecutionTimestampMode, features: { enableAlertOncePerInterval, enableAnomalyDetectionAlert, canUseAiAssistant: enableAiAssistant, }, } = useAutomationsContext();
|
|
44
|
-
|
|
45
|
-
// useValidateExistingAutomationFilters directly, and the filter-select call must run before
|
|
46
|
-
// useEditAlert, which consumes its output. Removed with the filter read-model consolidation
|
|
47
|
-
// (EB-867), which retires these call sites.
|
|
48
|
-
const { widgetTitle, alertToEdit, widget, insight } = useAlertingDialogContext();
|
|
42
|
+
const { widgetTitle, alertToEdit } = useAlertingDialogContext();
|
|
49
43
|
const [alertToDelete, setAlertToDelete] = useState(null);
|
|
50
44
|
const handleAlertDeleteSuccess = (alert) => {
|
|
51
45
|
onDeleteSuccess?.(alert);
|
|
52
46
|
setAlertToDelete(null);
|
|
53
47
|
};
|
|
54
|
-
const {
|
|
55
|
-
automationToEdit: alertToEdit,
|
|
56
|
-
widget,
|
|
57
|
-
});
|
|
58
|
-
const { onTitleChange, onRecipientsChange, onFiltersChange, onApplyCurrentFilters, dropStaleParameters, automationParameters, availableParameters, onParameterChange, onParameterDelete, onParameterAdd, onMeasureChange, getAttributeValues, onAttributeChange, onComparisonOperatorChange, onRelativeOperatorChange, onAnomalyDetectionChange, onChange, onBlur, onComparisonTypeChange, onDestinationChange, onTriggerModeChange, onTriggerIntervalChange, selectedMeasure, canChangeMeasure, supportedMeasures, selectedAttribute, selectedValue, supportedAttributes, catalogAttributes, catalogDateDatasets, isResultLoading, selectedComparisonOperator, selectedRelativeOperator, selectedAiOperator, value, selectedComparator, selectedSensitivity, onSensitivityChange, selectedGranularity, onGranularityChange, separators, defaultUser, originalAutomation, editedAutomation, allowOnlyLoggedUserRecipients, allowExternalRecipients, warningMessage, validationErrorMessage, isInvalidConnectionToInsight, isSubmitDisabled, isParentValid, thresholdErrorMessage, allowHourlyRecurrence, users, usersError, notificationChannels, } = useEditAlert({
|
|
59
|
-
editedAutomationFilters,
|
|
48
|
+
const { onTitleChange, onRecipientsChange, selectedFilters, availableFilters, onFiltersChange, onApplyCurrentFilters, automationIsValid, filtersAreStale, dropStaleParameters, automationParameters, availableParameters, onParameterChange, onParameterDelete, onParameterAdd, onMeasureChange, getAttributeValues, onAttributeChange, onComparisonOperatorChange, onRelativeOperatorChange, onAnomalyDetectionChange, onChange, onBlur, onComparisonTypeChange, onDestinationChange, onTriggerModeChange, onTriggerIntervalChange, selectedMeasure, canChangeMeasure, supportedMeasures, selectedAttribute, selectedValue, supportedAttributes, catalogAttributes, catalogDateDatasets, isResultLoading, selectedComparisonOperator, selectedRelativeOperator, selectedAiOperator, value, selectedComparator, selectedSensitivity, onSensitivityChange, selectedGranularity, onGranularityChange, separators, defaultUser, originalAutomation, editedAutomation, allowOnlyLoggedUserRecipients, allowExternalRecipients, warningMessage, validationErrorMessage, isInvalidConnectionToInsight, isSubmitDisabled, isParentValid, thresholdErrorMessage, allowHourlyRecurrence, users, usersError, notificationChannels, } = useEditAlert({
|
|
60
49
|
maxAutomationsRecipients,
|
|
61
|
-
availableFiltersAsVisibleFilters,
|
|
62
|
-
setEditedAutomationFilters,
|
|
63
|
-
filtersForNewAutomation,
|
|
64
50
|
externalRecipientOverride,
|
|
65
51
|
});
|
|
66
|
-
const
|
|
67
|
-
automationToEdit: alertToEdit,
|
|
68
|
-
widget,
|
|
69
|
-
insight,
|
|
70
|
-
});
|
|
71
|
-
const [isApplyCurrentFiltersDialogOpen, setIsApplyCurrentFiltersDialogOpen] = useState(!isValid);
|
|
52
|
+
const [isApplyCurrentFiltersDialogOpen, setIsApplyCurrentFiltersDialogOpen] = useState(!automationIsValid);
|
|
72
53
|
const { isSaving, submit } = useAlertSubmit({
|
|
73
54
|
editedAutomation,
|
|
74
55
|
supportedMeasures,
|
|
@@ -134,7 +115,7 @@ export function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDeleteErro
|
|
|
134
115
|
}), ref: dialogTitleRef, secondaryTitle: secondaryTitle, secondaryTitleIcon: secondaryTitleIcon, isSecondaryTitleVisible: isSecondaryTitleVisible ? isParentValid : undefined })), children: [
|
|
135
116
|
_jsx("h2", { className: "sr-only", id: titleElementId, children: intl.formatMessage({ id: "dialogs.alert.accessibility.label.title" }) }), _jsxs(ScrollablePanel, { className: "gd-notifications-channel-dialog-content-wrapper gd-notification-channel-dialog-with-automation-filters", children: [
|
|
136
117
|
_jsx("div", { className: "gd-divider-with-margin" }), _jsxs(_Fragment, { children: [
|
|
137
|
-
_jsx(AutomationFiltersSelect, { availableFilters: availableFilters, selectedFilters:
|
|
118
|
+
_jsx(AutomationFiltersSelect, { availableFilters: availableFilters, selectedFilters: selectedFilters, onFiltersChange: onFiltersChange, storeFilters: true, onStoreFiltersChange: () => { }, isDashboardAutomation: false, overlayPositionType: OVERLAY_POSITION_TYPE, disableDateFilters: isAnomalyDetection(editedAutomation?.alert), parameters: automationParameters, onParameterChange: onParameterChange, onParameterDelete: onParameterDelete, availableParameters: availableParameters, onParameterAdd: onParameterAdd }), _jsx(ContentDivider, { className: "gd-divider-with-margin" })
|
|
138
119
|
] }), _jsxs(FormFieldGroup, { label: _jsx(FormattedMessage, { id: "insightAlert.config.when" }), children: [
|
|
139
120
|
_jsx(FormField, { label: intl.formatMessage({ id: "insightAlert.config.metric" }), htmlFor: "alert.measure", children: _jsx(AlertMeasureSelect, { selectedMeasure: selectedMeasure, onMeasureChange: onMeasureChange, measures: supportedMeasures, disabled: !canChangeMeasure, overlayPositionType: OVERLAY_POSITION_TYPE, id: "alert.measure", closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }), supportedAttributes.filter((a) => a.type === "attribute").length > 0 && (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.for" }), htmlFor: "alert.attribute", children: _jsx(AlertAttributeSelect, { id: "alert.attribute", disabled: !canChangeMeasure, selectedAttribute: selectedAttribute, selectedValue: selectedValue, onAttributeChange: onAttributeChange, attributes: supportedAttributes, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, getAttributeValues: getAttributeValues, isResultLoading: isResultLoading, showLabel: false, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) })), _jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.condition" }), htmlFor: "alert.condition", children: _jsx(AlertComparisonOperatorSelect, { id: "alert.condition", measure: selectedMeasure, enableAnomalyDetectionAlert: enableAnomalyDetectionAlert ? enableAiAssistant : false, selectedComparisonOperator: selectedComparisonOperator, selectedRelativeOperator: selectedRelativeOperator, selectedAiOperator: selectedAiOperator, onAnomalyDetectionChange: onAnomalyDetectionChange, onComparisonOperatorChange: onComparisonOperatorChange, onRelativeOperatorChange: onRelativeOperatorChange, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }), !isAnomalyDetection(editedAutomation?.alert) && (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.threshold" }), htmlFor: "alert.value", children: _jsx(AlertThresholdInput, { id: "alert.value", value: value, onChange: onChange, onBlur: onBlur, suffix: getValueSuffix(editedAutomation?.alert), errorMessage: thresholdErrorMessage }) })), isChangeOrDifferenceOperator(editedAutomation?.alert) && (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.comparison" }), htmlFor: "alert.comparison", children: _jsx(AlertComparisonPeriodSelect, { id: "alert.comparison", measure: selectedMeasure, alert: editedAutomation, selectedComparison: selectedComparator?.comparator, selectedGranularity: selectedComparator?.granularity, onComparisonChange: (comparisonType, granularity) => {
|
|
140
121
|
onComparisonTypeChange(selectedMeasure, selectedRelativeOperator, comparisonType, granularity);
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Dispatch, type SetStateAction } from "react";
|
|
2
|
-
import { type FilterContextItem, type IAutomationMetadataObjectDefinition, type IAutomationVisibleFilter, type IInsight, type IWidget, type WeekStart } from "@gooddata/sdk-model";
|
|
2
|
+
import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationVisibleFilter, type IInsight, type IWidget, type WeekStart } from "@gooddata/sdk-model";
|
|
3
3
|
import { type AlertAttribute, type AlertMetric } from "../../types.js";
|
|
4
4
|
import { type IMeasureFormatMap } from "../utils/getters.js";
|
|
5
5
|
/**
|
|
@@ -8,7 +8,10 @@ import { type IMeasureFormatMap } from "../utils/getters.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface IUseAlertFiltersProps {
|
|
10
10
|
setEditedAutomation: Dispatch<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
|
|
11
|
+
alertToEdit?: IAutomationMetadataObject;
|
|
12
|
+
editedAutomationFilters: FilterContextItem[];
|
|
11
13
|
setEditedAutomationFilters: (filters: FilterContextItem[]) => void;
|
|
14
|
+
availableFilters?: FilterContextItem[];
|
|
12
15
|
filtersForNewAutomation: FilterContextItem[];
|
|
13
16
|
availableFiltersAsVisibleFilters?: IAutomationVisibleFilter[] | undefined;
|
|
14
17
|
dashboardHiddenFilters: FilterContextItem[];
|
|
@@ -25,18 +28,24 @@ export interface IUseAlertFiltersProps {
|
|
|
25
28
|
timezone: string | undefined;
|
|
26
29
|
}
|
|
27
30
|
/**
|
|
28
|
-
* Owns the alerting dialog's filter
|
|
29
|
-
* edited filters and mirror the result into
|
|
31
|
+
* Owns the alerting dialog's single filter model: the current selection and available filters,
|
|
32
|
+
* `onFiltersChange`/`onApplyCurrentFilters` to mutate the edited filters and mirror the result into
|
|
33
|
+
* the alert draft. `automationIsValid` gates the repair / apply-current-filters dialog: it is false
|
|
34
|
+
* whenever the saved filters no longer match the dashboard, or the automation's saved parameters
|
|
35
|
+
* are stale, or both — it does not distinguish which. `filtersAreStale` reports only whether saved
|
|
36
|
+
* filters no longer match the dashboard.
|
|
30
37
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* All inputs are params; this hook reads no context.
|
|
38
|
+
* All inputs are params; this hook reads no context directly — `useValidateExistingAutomationFilters`
|
|
39
|
+
* reads context internally.
|
|
35
40
|
*
|
|
36
41
|
* @internal
|
|
37
42
|
*/
|
|
38
|
-
export declare function useAlertFilters({ setEditedAutomation, setEditedAutomationFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone }: IUseAlertFiltersProps): {
|
|
43
|
+
export declare function useAlertFilters({ setEditedAutomation, alertToEdit, editedAutomationFilters, setEditedAutomationFilters, availableFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone }: IUseAlertFiltersProps): {
|
|
44
|
+
selectedFilters: FilterContextItem[];
|
|
45
|
+
availableFilters: FilterContextItem[] | undefined;
|
|
39
46
|
onFiltersChange: (filters: FilterContextItem[]) => void;
|
|
40
47
|
onApplyCurrentFilters: () => void;
|
|
48
|
+
automationIsValid: boolean;
|
|
49
|
+
filtersAreStale: boolean;
|
|
41
50
|
};
|
|
42
51
|
//# sourceMappingURL=useAlertFilters.d.ts.map
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAlertFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useAlertFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IAClC,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,0BAA0B,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACnE,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CA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ingDialog/hooks/useAlertFilters.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { useCallback } from "react";
|
|
3
|
+
import { useValidateExistingAutomationFilters } from "../../../shared/automationFilters/hooks/useValidateExistingAutomationFilters.js";
|
|
3
4
|
import { getAppliedWidgetFilters, getVisibleFiltersByFilters } from "../../../shared/filters/index.js";
|
|
4
5
|
import { transformAlertByAttribute, transformAlertByMetric } from "../utils/transformation.js";
|
|
5
6
|
/**
|
|
6
|
-
* Owns the alerting dialog's filter
|
|
7
|
-
* edited filters and mirror the result into
|
|
7
|
+
* Owns the alerting dialog's single filter model: the current selection and available filters,
|
|
8
|
+
* `onFiltersChange`/`onApplyCurrentFilters` to mutate the edited filters and mirror the result into
|
|
9
|
+
* the alert draft. `automationIsValid` gates the repair / apply-current-filters dialog: it is false
|
|
10
|
+
* whenever the saved filters no longer match the dashboard, or the automation's saved parameters
|
|
11
|
+
* are stale, or both — it does not distinguish which. `filtersAreStale` reports only whether saved
|
|
12
|
+
* filters no longer match the dashboard.
|
|
8
13
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* All inputs are params; this hook reads no context.
|
|
14
|
+
* All inputs are params; this hook reads no context directly — `useValidateExistingAutomationFilters`
|
|
15
|
+
* reads context internally.
|
|
13
16
|
*
|
|
14
17
|
* @internal
|
|
15
18
|
*/
|
|
16
|
-
export function useAlertFilters({ setEditedAutomation, setEditedAutomationFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone, }) {
|
|
19
|
+
export function useAlertFilters({ setEditedAutomation, alertToEdit, editedAutomationFilters, setEditedAutomationFilters, availableFilters, filtersForNewAutomation, availableFiltersAsVisibleFilters, dashboardHiddenFilters, commonDateFilterId, widget, insight, supportedMeasures, supportedAttributes, measureFormatMap, selectedMeasure, selectedAttribute, selectedValue, weekStart, timezone, }) {
|
|
17
20
|
const onFiltersChange = useCallback((filters) => {
|
|
18
21
|
setEditedAutomationFilters(filters);
|
|
19
22
|
setEditedAutomation((s) => {
|
|
@@ -68,8 +71,17 @@ export function useAlertFilters({ setEditedAutomation, setEditedAutomationFilter
|
|
|
68
71
|
const onApplyCurrentFilters = useCallback(() => {
|
|
69
72
|
onFiltersChange(filtersForNewAutomation);
|
|
70
73
|
}, [filtersForNewAutomation, onFiltersChange]);
|
|
74
|
+
const { isValid: automationIsValid, filtersAreStale = false } = useValidateExistingAutomationFilters({
|
|
75
|
+
automationToEdit: alertToEdit,
|
|
76
|
+
widget,
|
|
77
|
+
insight,
|
|
78
|
+
});
|
|
71
79
|
return {
|
|
80
|
+
selectedFilters: editedAutomationFilters,
|
|
81
|
+
availableFilters,
|
|
72
82
|
onFiltersChange,
|
|
73
83
|
onApplyCurrentFilters,
|
|
84
|
+
automationIsValid,
|
|
85
|
+
filtersAreStale,
|
|
74
86
|
};
|
|
75
87
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { type FilterContextItem, type IAutomationVisibleFilter } from "@gooddata/sdk-model";
|
|
2
1
|
export interface IUseEditAlertProps {
|
|
3
2
|
maxAutomationsRecipients: number;
|
|
4
|
-
editedAutomationFilters?: FilterContextItem[];
|
|
5
|
-
setEditedAutomationFilters: (filters: FilterContextItem[]) => void;
|
|
6
|
-
availableFiltersAsVisibleFilters?: IAutomationVisibleFilter[] | undefined;
|
|
7
|
-
filtersForNewAutomation: FilterContextItem[];
|
|
8
3
|
externalRecipientOverride?: string;
|
|
9
4
|
}
|
|
10
|
-
export declare function useEditAlert({
|
|
5
|
+
export declare function useEditAlert({ maxAutomationsRecipients, externalRecipientOverride }: IUseEditAlertProps): {
|
|
6
|
+
selectedFilters: import("@gooddata/sdk-model").FilterContextItem[];
|
|
7
|
+
availableFilters: import("@gooddata/sdk-model").FilterContextItem[] | undefined;
|
|
8
|
+
onFiltersChange: (filters: import("@gooddata/sdk-model").FilterContextItem[]) => void;
|
|
9
|
+
onApplyCurrentFilters: () => void;
|
|
10
|
+
automationIsValid: boolean;
|
|
11
|
+
filtersAreStale: boolean;
|
|
11
12
|
onTitleChange: (value: string, isValid: boolean) => void;
|
|
12
13
|
onRecipientsChange: (updatedRecipients: import("@gooddata/sdk-model").IAutomationRecipient[]) => void;
|
|
13
|
-
onFiltersChange: (filters: FilterContextItem[]) => void;
|
|
14
|
-
onApplyCurrentFilters: () => void;
|
|
15
14
|
automationParameters: import("../../../shared/automationFilters/automationParameters.js").IAutomationParameter[];
|
|
16
15
|
availableParameters: import("../../../shared/automationFilters/automationParameters.js").IAutomationParameter[];
|
|
17
16
|
onParameterChange: (ref: import("@gooddata/sdk-model").IdentifierRef, value: string | number) => void;
|
package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useEditAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,kBAAkB;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC;AAED,wBAAgB,YAAY,CAAC,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkNvG"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
import { useAlertingDialogContext } from "../../../contexts/AlertingDialogContext.js";
|
|
3
3
|
import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
|
|
4
|
+
import { useAutomationFiltersSelect } from "../../../shared/automationFilters/useAutomationFiltersSelect.js";
|
|
4
5
|
import { useAlertFilters } from "./useAlertFilters.js";
|
|
5
6
|
import { useAlertFormState } from "./useAlertFormState.js";
|
|
6
7
|
import { useAlertFormValidation } from "./useAlertFormValidation.js";
|
|
7
8
|
import { useAlertSelectedValues } from "./useAlertSelectedValues.js";
|
|
8
9
|
import { useAlertSupportedMetrics } from "./useAlertSupportedMetrics.js";
|
|
9
10
|
import { useAlertThreshold } from "./useAlertThreshold.js";
|
|
10
|
-
export function useEditAlert({
|
|
11
|
+
export function useEditAlert({ maxAutomationsRecipients, externalRecipientOverride }) {
|
|
11
12
|
const { catalogDateDatasets, catalogAttributes, separators, weekStart, timezone, allowHourlyRecurrence } = useAutomationsContext();
|
|
12
13
|
const { hiddenFilters: dashboardHiddenFilters, commonDateFilterId, alertToEdit, users, usersError, notificationChannels, widget, insight, } = useAlertingDialogContext();
|
|
14
|
+
const { editedAutomationFilters, setEditedAutomationFilters, availableFilters, availableFiltersAsVisibleFilters, filtersForNewAutomation, } = useAutomationFiltersSelect({ automationToEdit: alertToEdit, widget });
|
|
13
15
|
const isInvalidConnectionToInsight = alertToEdit?.metadata?.widget && !insight;
|
|
14
16
|
const { measureFormatMap, supportedMeasures, supportedAttributes, isResultLoading, getAttributeValues, getMetricValue, } = useAlertSupportedMetrics({ insight, widget, alertToEdit });
|
|
15
17
|
const { editedAutomation, setEditedAutomation, originalAutomation, defaultUser, defaultRecipient, automationParameters, availableParameters, onParameterChange, onParameterDelete, onParameterAdd, dropStaleParameters, onTitleChange, onMeasureChange, onAttributeChange, onComparisonOperatorChange, onRelativeOperatorChange, onAnomalyDetectionChange, onComparisonTypeChange, onSensitivityChange, onTriggerIntervalChange, onGranularityChange, onDestinationChange, onTriggerModeChange, onRecipientsChange, warningMessage, isTitleValid, } = useAlertFormState({
|
|
@@ -34,9 +36,15 @@ export function useEditAlert({ editedAutomationFilters, maxAutomationsRecipients
|
|
|
34
36
|
supportedAttributes,
|
|
35
37
|
notificationChannels,
|
|
36
38
|
});
|
|
37
|
-
|
|
39
|
+
// Kept whole rather than destructured: every member is re-exposed unchanged, so spreading it into
|
|
40
|
+
// the return means a member can never be dropped by forgetting to re-list it. What the model may
|
|
41
|
+
// contain is gated by its own shape test, not here.
|
|
42
|
+
const filterModel = useAlertFilters({
|
|
38
43
|
setEditedAutomation,
|
|
44
|
+
alertToEdit,
|
|
45
|
+
editedAutomationFilters,
|
|
39
46
|
setEditedAutomationFilters,
|
|
47
|
+
availableFilters,
|
|
40
48
|
filtersForNewAutomation,
|
|
41
49
|
availableFiltersAsVisibleFilters,
|
|
42
50
|
dashboardHiddenFilters,
|
|
@@ -80,8 +88,10 @@ export function useEditAlert({ editedAutomationFilters, maxAutomationsRecipients
|
|
|
80
88
|
return {
|
|
81
89
|
onTitleChange,
|
|
82
90
|
onRecipientsChange,
|
|
83
|
-
|
|
84
|
-
|
|
91
|
+
// Filter model, absorbed from `useAlertFilters`. Spread rather than re-listed so a member
|
|
92
|
+
// cannot be dropped by omission; its `availableFilters` is the model's, not the raw
|
|
93
|
+
// selection hook's.
|
|
94
|
+
...filterModel,
|
|
85
95
|
automationParameters,
|
|
86
96
|
availableParameters,
|
|
87
97
|
onParameterChange,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AA+D9D,wBAAgB,2BAA2B,CAAC,EACxC,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,MAAM,EACN,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACZ,EAAE,0BAA0B,2CAwgB5B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,0BAA0B,2CAY5E"}
|
|
@@ -11,9 +11,6 @@ import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
|
11
11
|
import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
|
|
12
12
|
import { ApplyCurrentFiltersConfirmDialog } from "../../shared/automationFilters/components/ApplyLatestFiltersConfirmDialog.js";
|
|
13
13
|
import { AutomationFiltersSelect } from "../../shared/automationFilters/components/AutomationFiltersSelect.js";
|
|
14
|
-
import { useValidateExistingAutomationFilters } from "../../shared/automationFilters/hooks/useValidateExistingAutomationFilters.js";
|
|
15
|
-
import { useAutomationExportParameters } from "../../shared/automationFilters/useAutomationExportParameters.js";
|
|
16
|
-
import { useAutomationFiltersSelect } from "../../shared/automationFilters/useAutomationFiltersSelect.js";
|
|
17
14
|
import { DeleteScheduleConfirmDialog } from "../DefaultScheduledEmailManagementDialog/components/DeleteScheduleConfirmDialog.js";
|
|
18
15
|
import { useScheduleEmailDialogAccessibility } from "../hooks/useScheduleEmailDialogAccessibility.js";
|
|
19
16
|
import { getDefaultCronExpression } from "../utils/cron.js";
|
|
@@ -48,54 +45,18 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
|
|
|
48
45
|
const [scheduledEmailToDelete, setScheduledEmailToDelete] = useState(null);
|
|
49
46
|
const [selectedTabId, setSelectedTabId] = useState("general");
|
|
50
47
|
const { isWhiteLabeled, externalRecipient: externalRecipientOverride, isSecondaryTitleVisible, } = useAutomationsContext();
|
|
51
|
-
|
|
52
|
-
// useAutomationExportParameters and useValidateExistingAutomationFilters directly, and the
|
|
53
|
-
// filter-select call must run before useEditScheduledEmail, which consumes its output. Removed
|
|
54
|
-
// with the filter read-model consolidation (EB-867), which retires these call sites.
|
|
55
|
-
const { exportTemplates, widgetTitle, hasMultipleTabs, scheduledExportToEdit, widget, insight, dashboardFilters, } = useScheduledEmailDialogContext();
|
|
48
|
+
const { exportTemplates, widgetTitle, hasMultipleTabs, scheduledExportToEdit, widget, dashboardFilters } = useScheduledEmailDialogContext();
|
|
56
49
|
const handleScheduleDeleteSuccess = () => {
|
|
57
50
|
onDeleteSuccess?.();
|
|
58
51
|
setScheduledEmailToDelete(null);
|
|
59
52
|
};
|
|
60
|
-
const { editedAutomationFilters, setEditedAutomationFilters, storeFilters, setStoreFilters, availableFilters, availableFiltersAsVisibleFilters, filtersForNewAutomation,
|
|
61
|
-
// filter by tab data
|
|
62
|
-
filtersByTab, editedAutomationFiltersByTab, setEditedAutomationFiltersByTab, availableFiltersAsVisibleFiltersByTab, } = useAutomationFiltersSelect({
|
|
63
|
-
automationToEdit: scheduledExportToEdit,
|
|
64
|
-
widget,
|
|
65
|
-
});
|
|
66
53
|
const { locale, dashboardTitle, dateFormat, weekStart, maxAutomationsRecipients, allowHourlyRecurrence, isCrossFiltering, isExecutionTimestampMode, isSlidesExportEnabled, isAccessibilityModeEnabled, defaultPdfPageSize, } = useDefaultScheduledEmailDialogData();
|
|
67
|
-
const { defaultUser, editedAutomation, originalAutomation, isSubmitDisabled, xlsxSettings, pdfSettings, csvSettings, csvRawSettings, startDate, allowExternalRecipients, allowOnlyLoggedUserRecipients, validationErrorMessage, selectedAttachments, isParentValid, onDashboardAttachmentsChange, onWidgetAttachmentsChange, onXlsxSettingsChange, onPdfSettingsChange, onCsvSettingsChange, onCsvRawSettingsChange, slidesTemplateIds, onSlidesTemplateIdChange, onDestinationChange, onMessageChange, onRecipientsChange, onRecurrenceChange, onEvaluationModeChange, onSubjectChange, onTitleChange, onFiltersChange, onApplyCurrentFilters, onStoreFiltersChange, onFiltersByTabChange,
|
|
68
|
-
storeFilters,
|
|
69
|
-
editedAutomationFilters,
|
|
54
|
+
const { defaultUser, editedAutomation, originalAutomation, isSubmitDisabled, xlsxSettings, pdfSettings, csvSettings, csvRawSettings, startDate, allowExternalRecipients, allowOnlyLoggedUserRecipients, validationErrorMessage, selectedAttachments, isParentValid, onDashboardAttachmentsChange, onWidgetAttachmentsChange, onXlsxSettingsChange, onPdfSettingsChange, onCsvSettingsChange, onCsvRawSettingsChange, slidesTemplateIds, onSlidesTemplateIdChange, onDestinationChange, onMessageChange, onRecipientsChange, onRecurrenceChange, onEvaluationModeChange, onSubjectChange, onTitleChange, onFiltersChange, onApplyCurrentFilters, onStoreFiltersChange, onFiltersByTabChange, enableAutomationEvaluationMode, users, usersError, notificationChannels, selectedFilters, availableFilters, storeFilters, filtersByTab, editedFiltersByTab, automationIsValid, parametersEnabled, visibleParametersByTab, availableParametersByTab, flatTabId, onParameterAdd, onParameterChange, onParameterDelete, onParameterAddByTab, onParameterChangeByTab, onParameterDeleteByTab, applyLatest: applyLatestParameters, } = useEditScheduledEmail({
|
|
70
55
|
maxAutomationsRecipients,
|
|
71
|
-
setEditedAutomationFilters,
|
|
72
|
-
setStoreFilters,
|
|
73
|
-
availableFiltersAsVisibleFilters,
|
|
74
|
-
filtersForNewAutomation,
|
|
75
56
|
externalRecipientOverride,
|
|
76
|
-
|
|
77
|
-
editedAutomationFiltersByTab,
|
|
78
|
-
setEditedAutomationFiltersByTab,
|
|
79
|
-
availableFiltersAsVisibleFiltersByTab,
|
|
80
|
-
});
|
|
81
|
-
const { parametersEnabled, visibleParametersByTab, availableParametersByTab, flatTabId, onParameterAdd, onParameterChange, onParameterDelete, onParameterAddByTab, onParameterChangeByTab, onParameterDeleteByTab, applyLatest: applyLatestParameters, onStoreParametersChange, } = useAutomationExportParameters({
|
|
82
|
-
automationToEdit: scheduledExportToEdit,
|
|
83
|
-
widget,
|
|
84
|
-
storeParameters: storeFilters,
|
|
85
|
-
setParametersWire,
|
|
86
|
-
});
|
|
87
|
-
// The store-filters checkbox gates parameter persistence too; the new value is passed to both
|
|
88
|
-
// sides because the `storeFilters` prop still holds the old one at call time.
|
|
89
|
-
const handleStoreFiltersChange = useCallback((value, filters, filtersByTabParam) => {
|
|
90
|
-
onStoreFiltersChange(value, filters, filtersByTabParam);
|
|
91
|
-
onStoreParametersChange(value);
|
|
92
|
-
}, [onStoreFiltersChange, onStoreParametersChange]);
|
|
93
|
-
const { isValid } = useValidateExistingAutomationFilters({
|
|
94
|
-
automationToEdit: scheduledExportToEdit,
|
|
95
|
-
widget,
|
|
96
|
-
insight,
|
|
57
|
+
defaultPdfPageSize,
|
|
97
58
|
});
|
|
98
|
-
const [isApplyCurrentFiltersDialogOpen, setIsApplyCurrentFiltersDialogOpen] = useState(!
|
|
59
|
+
const [isApplyCurrentFiltersDialogOpen, setIsApplyCurrentFiltersDialogOpen] = useState(!automationIsValid);
|
|
99
60
|
const { handleSaveScheduledEmail, isSavingScheduledEmail, savingErrorMessage } = useSaveScheduledEmailToBackend(editedAutomation, {
|
|
100
61
|
onSuccess,
|
|
101
62
|
onError,
|
|
@@ -198,13 +159,13 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
|
|
|
198
159
|
}), children: [
|
|
199
160
|
_jsx("div", { className: "gd-divider-with-margin" }), selectedTabId === "filters" ? (_jsx("div", { ref: filtersTabContentRef, className: "gd-schedule-dialog-tab-content", style: tabContentHeight
|
|
200
161
|
? { minHeight: `${tabContentHeight}px` }
|
|
201
|
-
: undefined, children: _jsx(AutomationFiltersSelect, { availableFilters: availableFilters, selectedFilters:
|
|
162
|
+
: undefined, children: _jsx(AutomationFiltersSelect, { availableFilters: availableFilters, selectedFilters: selectedFilters, onFiltersChange: onFiltersChange, storeFilters: storeFilters, onStoreFiltersChange: onStoreFiltersChange, isDashboardAutomation: !widget, overlayPositionType: OVERLAY_POSITION_TYPE, hideTitle: true, showAllFilters: true, filtersByTab: filtersByTab, editedFiltersByTab: editedFiltersByTab, onFiltersByTabChange: onFiltersByTabChange, parameters: flatTabId ? visibleParametersByTab[flatTabId] : undefined, availableParameters: flatTabId ? availableParametersByTab[flatTabId] : undefined, onParameterChange: onParameterChange, onParameterDelete: onParameterDelete, onParameterAdd: onParameterAdd, parametersByTab: visibleParametersByTab, availableParametersByTab: availableParametersByTab, onParameterChangeByTab: onParameterChangeByTab, onParameterDeleteByTab: onParameterDeleteByTab, onParameterAddByTab: onParameterAddByTab, parametersEnabled: parametersEnabled }) })) : (_jsxs("div", { ref: generalTabContentRef, className: "gd-schedule-dialog-tab-content", children: [!widget && hasMultipleTabs ? (_jsx(Message, { type: "progress", className: "gd-schedule-dialog-tab-content-info", children: intl.formatMessage({
|
|
202
163
|
id: "dialogs.schedule.email.tabs.info",
|
|
203
164
|
}) })) : null, _jsx(RecurrenceForm, { startDate: startDate, cronExpression: editedAutomation.schedule?.cron ??
|
|
204
165
|
getDefaultCronExpression(startDate), cronDescription: editedAutomation.schedule?.cronDescription, timezone: editedAutomation.schedule?.timezone ??
|
|
205
166
|
TIMEZONE_DEFAULT.identifier, dateFormat: dateFormat ?? "MM/dd/yyyy", locale: locale, weekStart: weekStart, onChange: onRecurrenceChange, allowHourlyRecurrence: allowHourlyRecurrence, isWhiteLabeled: isWhiteLabeled, closeDropdownsOnParentScroll: CLOSE_ON_PARENT_SCROLL, onKeyDownSubmit: handleSubmitForm }), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), _jsx(DestinationSelect, { notificationChannels: notificationChannels, selectedItemId: editedAutomation.notificationChannel, onChange: onDestinationChange, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL, overlayPositionType: OVERLAY_POSITION_TYPE }), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), _jsx(RecipientsSelect, { id: "schedule.email.recipients", loggedUser: defaultUser, users: users, usersError: usersError, value: editedAutomation.recipients ?? [], originalValue: originalAutomation.recipients || [], onChange: onRecipientsChange, allowEmptySelection: true, allowOnlyLoggedUserRecipients: allowOnlyLoggedUserRecipients, allowExternalRecipients: allowExternalRecipients, maxRecipients: maxAutomationsRecipients, notificationChannels: notificationChannels, notificationChannelId: editedAutomation.notificationChannel, onKeyDownSubmit: handleSubmitForm, externalRecipientOverride: externalRecipientOverride }), isInPlatformChannel ? null : (_jsxs(_Fragment, { children: [
|
|
206
167
|
_jsx(SubjectForm, { dashboardTitle: dashboardTitle, editedAutomation: editedAutomation, onChange: onSubjectChange, onKeyDownSubmit: handleSaveScheduledEmail, isSubmitDisabled: isSubmitDisabled }), _jsx(MessageForm, { onChange: onMessageChange, value: editedAutomation.details?.message ?? "" })
|
|
207
|
-
] })), widget ? (_jsx(WidgetAttachments, { selectedAttachments: selectedAttachments, onWidgetAttachmentsChange: onWidgetAttachmentsChange, xlsxSettings: xlsxSettings, pdfSettings: pdfSettings, onXlsxSettingsChange: onXlsxSettingsChange, onPdfSettingsChange: onPdfSettingsChange, csvSettings: csvSettings, onCsvSettingsChange: onCsvSettingsChange, csvRawSettings: csvRawSettings, onCsvRawSettingsChange: onCsvRawSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, isAccessibilityModeEnabled: isAccessibilityModeEnabled,
|
|
168
|
+
] })), widget ? (_jsx(WidgetAttachments, { selectedAttachments: selectedAttachments, onWidgetAttachmentsChange: onWidgetAttachmentsChange, xlsxSettings: xlsxSettings, pdfSettings: pdfSettings, onXlsxSettingsChange: onXlsxSettingsChange, onPdfSettingsChange: onPdfSettingsChange, csvSettings: csvSettings, onCsvSettingsChange: onCsvSettingsChange, csvRawSettings: csvRawSettings, onCsvRawSettingsChange: onCsvRawSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, isAccessibilityModeEnabled: isAccessibilityModeEnabled, exportTemplates: exportTemplates, slidesTemplateIds: slidesTemplateIds, onSlidesTemplateIdChange: onSlidesTemplateIdChange })) : (_jsx(DashboardAttachments, { selectedAttachments: selectedAttachments, dashboardFilters: dashboardFilters, isCrossFiltering: isCrossFiltering, onDashboardAttachmentsChange: onDashboardAttachmentsChange, xlsxSettings: xlsxSettings, onXlsxSettingsChange: onXlsxSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, exportTemplates: exportTemplates, slidesTemplateIds: slidesTemplateIds, onSlidesTemplateIdChange: onSlidesTemplateIdChange })), enableAutomationEvaluationMode ? (_jsx(EvaluationModeCheckbox, { isShared: editedAutomation.evaluationMode === "SHARED", onChange: onEvaluationModeChange })) : null, errorMessage ? (_jsx(Message, { type: "error", className: cx("gd-notifications-channels-dialog-error", {
|
|
208
169
|
"gd-notifications-channels-dialog-error-scrollable": true,
|
|
209
170
|
}), children: errorMessage })) : null, getInvalidDatapoints()
|
|
210
171
|
.filter((invalidDatapoint) => invalidDatapoint.severity === "error")
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { type IExportDefinitionVisualizationObjectSettings } from "@gooddata/sdk-model";
|
|
2
|
-
type PdfPageSize = NonNullable<IExportDefinitionVisualizationObjectSettings["pageSize"]>;
|
|
3
2
|
type IAttachmentSettingsType = "XLSX" | "PDF_TABULAR" | "CSV" | "CSV_RAW";
|
|
4
3
|
export interface IAttachmentSettingsProps {
|
|
5
4
|
type: IAttachmentSettingsType;
|
|
6
5
|
settings: IExportDefinitionVisualizationObjectSettings;
|
|
7
6
|
onSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
8
|
-
defaultPdfPageSize?: PdfPageSize;
|
|
9
7
|
}
|
|
10
|
-
export declare function AttachmentSettings({ type, settings, onSettingsChange
|
|
8
|
+
export declare function AttachmentSettings({ type, settings, onSettingsChange }: IAttachmentSettingsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
9
|
export {};
|
|
12
10
|
//# sourceMappingURL=AttachmentSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentSettings.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,4CAA4C,EAIpD,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentSettings.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,4CAA4C,EAIpD,MAAM,qBAAqB,CAAC;AAsC7B,KAAK,uBAAuB,GAAG,MAAM,GAAG,aAAa,GAAG,KAAK,GAAG,SAAS,CAAC;AAE1E,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,QAAQ,EAAE,4CAA4C,CAAC;IACvD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;CACtF;AA6BD,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,wBAAwB,2CA2WhG"}
|
|
@@ -38,13 +38,13 @@ const mapPageOrientationToLegacyOrientation = (orientation) => {
|
|
|
38
38
|
}
|
|
39
39
|
return undefined;
|
|
40
40
|
};
|
|
41
|
-
export function AttachmentSettings({ type, settings, onSettingsChange
|
|
41
|
+
export function AttachmentSettings({ type, settings, onSettingsChange }) {
|
|
42
42
|
const intl = useIntl();
|
|
43
43
|
const isPdfTabular = type === "PDF_TABULAR";
|
|
44
44
|
const isCsv = type === "CSV" || type === "CSV_RAW";
|
|
45
45
|
const legacyOrientation = settings.orientation;
|
|
46
46
|
const legacyPageOrientation = mapLegacyOrientationToPageOrientation(legacyOrientation);
|
|
47
|
-
const resolvedDefaultPageSize = settings.pageSize ??
|
|
47
|
+
const resolvedDefaultPageSize = settings.pageSize ?? DEFAULT_PDF_PAGE_SIZE;
|
|
48
48
|
const resolvedCsvDelimiter = settings.delimiter ?? DEFAULT_CSV_DELIMITER;
|
|
49
49
|
const resolvedCsvState = getCsvDelimiterState(settings.delimiter);
|
|
50
50
|
const [mergeHeaders, setMergeHeaders] = useState(settings.mergeHeaders ?? true);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DashboardAttachmentType, type IExportDefinitionVisualizationObjectSettings, type IExportTemplate, type WidgetAttachmentType } from "@gooddata/sdk-model";
|
|
2
|
-
export declare function AttachmentsList<T extends WidgetAttachmentType | DashboardAttachmentType>({ attachments, onDelete, xlsxSettings, onXlsxSettingsChange, pdfSettings, onPdfSettingsChange, csvSettings, onCsvSettingsChange, csvRawSettings, onCsvRawSettingsChange,
|
|
2
|
+
export declare function AttachmentsList<T extends WidgetAttachmentType | DashboardAttachmentType>({ attachments, onDelete, xlsxSettings, onXlsxSettingsChange, pdfSettings, onPdfSettingsChange, csvSettings, onCsvSettingsChange, csvRawSettings, onCsvRawSettingsChange, mode, exportTemplates, slidesTemplateIds, onSlidesTemplateIdChange }: {
|
|
3
3
|
attachments: T[];
|
|
4
4
|
onDelete: (attachment: T) => void;
|
|
5
5
|
xlsxSettings: IExportDefinitionVisualizationObjectSettings;
|
|
@@ -10,7 +10,6 @@ export declare function AttachmentsList<T extends WidgetAttachmentType | Dashboa
|
|
|
10
10
|
onCsvSettingsChange?: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
11
11
|
csvRawSettings?: IExportDefinitionVisualizationObjectSettings;
|
|
12
12
|
onCsvRawSettingsChange?: (settings: IExportDefinitionVisualizationObjectSettings) => void;
|
|
13
|
-
defaultPdfPageSize?: IExportDefinitionVisualizationObjectSettings["pageSize"];
|
|
14
13
|
mode: "widget" | "dashboard";
|
|
15
14
|
exportTemplates?: IExportTemplate[];
|
|
16
15
|
slidesTemplateIds?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentsList.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,4CAA4C,EACjD,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC5B,MAAM,qBAAqB,CAAC;AAM7B,wBAAgB,eAAe,CAAC,CAAC,SAAS,oBAAoB,GAAG,uBAAuB,EAAE,EACtF,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"AttachmentsList.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,4CAA4C,EACjD,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAC5B,MAAM,qBAAqB,CAAC;AAM7B,wBAAgB,eAAe,CAAC,CAAC,SAAS,oBAAoB,GAAG,uBAAuB,EAAE,EACtF,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,IAAI,EACJ,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EAC3B,EAAE;IACC,WAAW,EAAE,CAAC,EAAE,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,IAAI,CAAC;IAClC,YAAY,EAAE,4CAA4C,CAAC;IAC3D,oBAAoB,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;IACvF,WAAW,CAAC,EAAE,4CAA4C,CAAC;IAC3D,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;IACvF,WAAW,CAAC,EAAE,4CAA4C,CAAC;IAC3D,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;IACvF,cAAc,CAAC,EAAE,4CAA4C,CAAC;IAC9D,sBAA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