@gooddata/sdk-ui-dashboard 11.54.0 → 11.55.0-alpha.1
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/_staging/metadata/objRefMap.d.ts +11 -0
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.js +19 -1
- package/esm/index.d.ts +49 -6
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +42 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +9 -6
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +5 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
- package/esm/model/commands/filters.d.ts +3 -3
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- package/esm/model/store/dashboardStore.d.ts +2 -0
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +2 -0
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
- package/esm/model/store/tabs/index.d.ts +136 -128
- package/esm/model/store/tabs/index.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
- package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
- package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
- package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.js +21 -1
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
- package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
- package/esm/model/store/types.d.ts +3 -0
- package/esm/model/store/types.d.ts.map +1 -1
- package/esm/model/store/unavailableObjects/index.d.ts +8 -0
- package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/index.js +13 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +8 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +21 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogDestination.js → DefaultAlertingDialogDestination.js} +7 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogRecipients.js → DefaultAlertingDialogRecipients.js} +7 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +16 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +26 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +13 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts +12 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -0
- package/esm/presentation/automations/alerting/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
- package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
- package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +8 -8
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
- package/esm/presentation/automations/alerting/types.d.ts +48 -6
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/types.js +3 -1
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +14 -2
- package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
- package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
- package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +27 -0
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -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 +6 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
- package/esm/sdk-ui-dashboard.d.ts +1828 -250
- package/package.json +25 -25
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +0 -23
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
- /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type IScheduledEmailDialogTimezoneProps } from "../../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The "Time zone" section of the scheduled-email dialog's General tab. Unlike the
|
|
4
|
+
* dashboard-settings timezone picker, the dropdown offers no browser-detected option — the
|
|
5
|
+
* schedule runs without a browser. Dashboard schedules offer a Default option (the backend
|
|
6
|
+
* derives the persisted dashboard/settings timezone at run time); widget schedules always show
|
|
7
|
+
* a concrete timezone.
|
|
8
|
+
*
|
|
9
|
+
* Default render of that section; its props are the slot contract
|
|
10
|
+
* ({@link IScheduledEmailDialogTimezoneProps}). Props-driven — reads no scheduled-email dialog state. The default dialog
|
|
11
|
+
* and {@link ScheduledEmailDialogTimezone} render it with {@link useScheduledEmailDialogTimezoneProps};
|
|
12
|
+
* a `slots.Timezone` slot receives it as `Default`.
|
|
13
|
+
*
|
|
14
|
+
* @alpha
|
|
15
|
+
*/
|
|
16
|
+
export declare function DefaultScheduledEmailDialogTimezone({ isWidget, selection, defaultResolvedTimezone, onTimezoneChange }: IScheduledEmailDialogTimezoneProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=DefaultScheduledEmailDialogTimezone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultScheduledEmailDialogTimezone.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAEzE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mCAAmC,CAAC,EAChD,QAAQ,EACR,SAAS,EACT,uBAAuB,EACvB,gBAAgB,EACnB,EAAE,kCAAkC,2CAiFpC"}
|
|
@@ -9,12 +9,14 @@ import { TimezoneSelect, getCurrentTimeByTimezoneId, getTimezoneDisplayLabel, us
|
|
|
9
9
|
* derives the persisted dashboard/settings timezone at run time); widget schedules always show
|
|
10
10
|
* a concrete timezone.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* (
|
|
12
|
+
* Default render of that section; its props are the slot contract
|
|
13
|
+
* ({@link IScheduledEmailDialogTimezoneProps}). Props-driven — reads no scheduled-email dialog state. The default dialog
|
|
14
|
+
* and {@link ScheduledEmailDialogTimezone} render it with {@link useScheduledEmailDialogTimezoneProps};
|
|
15
|
+
* a `slots.Timezone` slot receives it as `Default`.
|
|
14
16
|
*
|
|
15
|
-
* @
|
|
17
|
+
* @alpha
|
|
16
18
|
*/
|
|
17
|
-
export function
|
|
19
|
+
export function DefaultScheduledEmailDialogTimezone({ isWidget, selection, defaultResolvedTimezone, onTimezoneChange, }) {
|
|
18
20
|
const intl = useIntl();
|
|
19
21
|
const selectId = useIdPrefixed("schedule-timezone");
|
|
20
22
|
const currentTimeId = useIdPrefixed("schedule-timezone-current-time");
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type IAutomationDialogActionBarProps } from "../../shared/slots/types.js";
|
|
2
|
+
import { type IUseScheduledEmailDialogActionBarPropsInput } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
3
|
+
/**
|
|
4
|
+
* Props of {@link ScheduledEmailDialogActionBar}: the dialog inputs
|
|
5
|
+
* {@link useScheduledEmailDialogActionBarProps} needs (`onSubmit` and `isSaving` from
|
|
6
|
+
* {@link useSaveScheduledEmailToBackend}, the dialog's `onCancel`, `onDelete` for edit mode) plus any
|
|
7
|
+
* {@link IAutomationDialogActionBarProps} member to override.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*/
|
|
11
|
+
export type IScheduledEmailDialogActionBarBlockProps = IUseScheduledEmailDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
|
|
12
|
+
/**
|
|
13
|
+
* The scheduled-export dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
|
|
14
|
+
* connected to the dialog's state.
|
|
15
|
+
*
|
|
16
|
+
* Renders {@link DefaultAutomationDialogActionBar} with the props of
|
|
17
|
+
* {@link useScheduledEmailDialogActionBarProps}; every override prop replaces the hook's value
|
|
18
|
+
* wholesale. The block does not own the save: pass `handleSaveScheduledEmail` and
|
|
19
|
+
* `isSavingScheduledEmail` from one {@link useSaveScheduledEmailToBackend} instance, so an Enter
|
|
20
|
+
* handler elsewhere in the shell shares it. Renders nothing while
|
|
21
|
+
* `useScheduledEmailDialogContext().isLoading` is true.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* const { handleSaveScheduledEmail, isSavingScheduledEmail } = useSaveScheduledEmailToBackend(props);
|
|
26
|
+
* <ScheduledEmailDialogActionBar
|
|
27
|
+
* onCancel={props.onCancel}
|
|
28
|
+
* onSubmit={handleSaveScheduledEmail}
|
|
29
|
+
* isSaving={isSavingScheduledEmail}
|
|
30
|
+
* />;
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @alpha
|
|
34
|
+
*/
|
|
35
|
+
export declare function ScheduledEmailDialogActionBar(props: IScheduledEmailDialogActionBarBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
//# sourceMappingURL=ScheduledEmailDialogActionBar.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogActionBar.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACH,KAAK,2CAA2C,EAEnD,MAAM,gDAAgD,CAAC;AAIxD;;;;;;;GAOG;AACH,MAAM,MAAM,wCAAwC,GAAG,2CAA2C,GAC9F,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,wCAAwC,2CAM5F"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { DefaultAutomationDialogActionBar } from "../../shared/slots/DefaultAutomationDialogActionBar.js";
|
|
4
|
+
import { useScheduledEmailDialogActionBarProps, } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
5
|
+
import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
|
|
6
|
+
/**
|
|
7
|
+
* The scheduled-export dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
|
|
8
|
+
* connected to the dialog's state.
|
|
9
|
+
*
|
|
10
|
+
* Renders {@link DefaultAutomationDialogActionBar} with the props of
|
|
11
|
+
* {@link useScheduledEmailDialogActionBarProps}; every override prop replaces the hook's value
|
|
12
|
+
* wholesale. The block does not own the save: pass `handleSaveScheduledEmail` and
|
|
13
|
+
* `isSavingScheduledEmail` from one {@link useSaveScheduledEmailToBackend} instance, so an Enter
|
|
14
|
+
* handler elsewhere in the shell shares it. Renders nothing while
|
|
15
|
+
* `useScheduledEmailDialogContext().isLoading` is true.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* const { handleSaveScheduledEmail, isSavingScheduledEmail } = useSaveScheduledEmailToBackend(props);
|
|
20
|
+
* <ScheduledEmailDialogActionBar
|
|
21
|
+
* onCancel={props.onCancel}
|
|
22
|
+
* onSubmit={handleSaveScheduledEmail}
|
|
23
|
+
* isSaving={isSavingScheduledEmail}
|
|
24
|
+
* />;
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @alpha
|
|
28
|
+
*/
|
|
29
|
+
export function ScheduledEmailDialogActionBar(props) {
|
|
30
|
+
return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogActionBar, { ...props }) }));
|
|
31
|
+
}
|
|
32
|
+
function ConnectedScheduledEmailDialogActionBar({ onCancel, onSubmit, isSaving, onDelete, ...overrides }) {
|
|
33
|
+
const defaultProps = useScheduledEmailDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete });
|
|
34
|
+
return _jsx(DefaultAutomationDialogActionBar, { ...defaultProps, ...overrides });
|
|
35
|
+
}
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type IAutomationDialogDestinationProps } from "../../shared/slots/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The scheduled-export dialog's destination region (the notification-channel select), connected to
|
|
4
|
+
* the dialog's state.
|
|
5
|
+
*
|
|
6
|
+
* Renders {@link DefaultScheduledEmailDialogDestination} with the props of
|
|
7
|
+
* {@link useScheduledEmailDialogDestinationProps}; every prop passed here replaces the hook's value
|
|
8
|
+
* for that prop wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
|
|
9
|
+
*
|
|
10
|
+
* @alpha
|
|
11
|
+
*/
|
|
12
|
+
export declare function ScheduledEmailDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ScheduledEmailDialogDestination.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogDestination.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAMrF;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,OAAO,CAAC,iCAAiC,CAAC,2CAMpG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { DefaultScheduledEmailDialogDestination } from "../DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js";
|
|
3
|
+
import { useScheduledEmailDialogDestinationProps } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
4
|
+
import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
|
|
5
|
+
/**
|
|
6
|
+
* The scheduled-export dialog's destination region (the notification-channel select), connected to
|
|
7
|
+
* the dialog's state.
|
|
8
|
+
*
|
|
9
|
+
* Renders {@link DefaultScheduledEmailDialogDestination} with the props of
|
|
10
|
+
* {@link useScheduledEmailDialogDestinationProps}; every prop passed here replaces the hook's value
|
|
11
|
+
* for that prop wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
|
|
12
|
+
*
|
|
13
|
+
* @alpha
|
|
14
|
+
*/
|
|
15
|
+
export function ScheduledEmailDialogDestination(overrides) {
|
|
16
|
+
return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogDestination, { ...overrides }) }));
|
|
17
|
+
}
|
|
18
|
+
function ConnectedScheduledEmailDialogDestination(overrides) {
|
|
19
|
+
const defaultProps = useScheduledEmailDialogDestinationProps();
|
|
20
|
+
return _jsx(DefaultScheduledEmailDialogDestination, { ...defaultProps, ...overrides });
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type IScheduledEmailDialogFiltersProps } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The scheduled-export dialog's filters region (the filter and parameter chips, flat or per tab),
|
|
4
|
+
* connected to the dialog's state.
|
|
5
|
+
*
|
|
6
|
+
* Renders {@link DefaultScheduledEmailDialogFilters} with the props of
|
|
7
|
+
* {@link useScheduledEmailDialogFiltersProps}; every prop passed here replaces the hook's value for
|
|
8
|
+
* that prop wholesale (`onFiltersChange` / `onFiltersByTabChange` overrides take over the write and
|
|
9
|
+
* must submit the complete selection). Renders nothing while
|
|
10
|
+
* `useScheduledEmailDialogContext().isLoading` is true. The default dialog renders this region on its
|
|
11
|
+
* Filters tab only and hides it behind its stale-filters confirmation step; the block renders wherever
|
|
12
|
+
* it is placed — a shell that wants either builds it from {@link useScheduledExportFilters}.
|
|
13
|
+
*
|
|
14
|
+
* @alpha
|
|
15
|
+
*/
|
|
16
|
+
export declare function ScheduledEmailDialogFilters(overrides: Partial<IScheduledEmailDialogFiltersProps>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ScheduledEmailDialogFilters.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAIrE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,OAAO,CAAC,iCAAiC,CAAC,2CAMhG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { DefaultScheduledEmailDialogFilters } from "../DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js";
|
|
4
|
+
import { useScheduledEmailDialogFiltersProps } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
5
|
+
import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
|
|
6
|
+
/**
|
|
7
|
+
* The scheduled-export dialog's filters region (the filter and parameter chips, flat or per tab),
|
|
8
|
+
* connected to the dialog's state.
|
|
9
|
+
*
|
|
10
|
+
* Renders {@link DefaultScheduledEmailDialogFilters} with the props of
|
|
11
|
+
* {@link useScheduledEmailDialogFiltersProps}; every prop passed here replaces the hook's value for
|
|
12
|
+
* that prop wholesale (`onFiltersChange` / `onFiltersByTabChange` overrides take over the write and
|
|
13
|
+
* must submit the complete selection). Renders nothing while
|
|
14
|
+
* `useScheduledEmailDialogContext().isLoading` is true. The default dialog renders this region on its
|
|
15
|
+
* Filters tab only and hides it behind its stale-filters confirmation step; the block renders wherever
|
|
16
|
+
* it is placed — a shell that wants either builds it from {@link useScheduledExportFilters}.
|
|
17
|
+
*
|
|
18
|
+
* @alpha
|
|
19
|
+
*/
|
|
20
|
+
export function ScheduledEmailDialogFilters(overrides) {
|
|
21
|
+
return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogFilters, { ...overrides }) }));
|
|
22
|
+
}
|
|
23
|
+
function ConnectedScheduledEmailDialogFilters(overrides) {
|
|
24
|
+
const defaultProps = useScheduledEmailDialogFiltersProps();
|
|
25
|
+
return _jsx(DefaultScheduledEmailDialogFilters, { ...defaultProps, ...overrides });
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type IScheduledEmailDialogHeaderProps } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The scheduled-export dialog's header region (the back button and the title input), connected to the
|
|
4
|
+
* dialog's state.
|
|
5
|
+
*
|
|
6
|
+
* Renders {@link DefaultScheduledEmailDialogHeader} with the props of
|
|
7
|
+
* {@link useScheduledEmailDialogHeaderProps}; every prop passed here replaces the hook's value for that
|
|
8
|
+
* prop wholesale. Pass `onBack` to get the back button, `ref` to receive the title input, and
|
|
9
|
+
* `onTitleKeyDown` to submit on Enter — the default dialog passes a handler over its single
|
|
10
|
+
* {@link useSaveScheduledEmailToBackend} instance; without it Enter does nothing here. Renders
|
|
11
|
+
* nothing while `useScheduledEmailDialogContext().isLoading` is true, which on scheduled email is
|
|
12
|
+
* the ordinary path while a widget export's filters load.
|
|
13
|
+
*
|
|
14
|
+
* @alpha
|
|
15
|
+
*/
|
|
16
|
+
export declare const ScheduledEmailDialogHeader: import("react").ForwardRefExoticComponent<Partial<IScheduledEmailDialogHeaderProps> & import("react").RefAttributes<HTMLInputElement>>;
|
|
17
|
+
//# sourceMappingURL=ScheduledEmailDialogHeader.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,aAAa,CAAC;AAMpE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,0BAA0B,wIASrC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { DefaultScheduledEmailDialogHeader } from "../DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.js";
|
|
5
|
+
import { useScheduledEmailDialogHeaderProps } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
6
|
+
import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
|
|
7
|
+
const noop = () => { };
|
|
8
|
+
/**
|
|
9
|
+
* The scheduled-export dialog's header region (the back button and the title input), connected to the
|
|
10
|
+
* dialog's state.
|
|
11
|
+
*
|
|
12
|
+
* Renders {@link DefaultScheduledEmailDialogHeader} with the props of
|
|
13
|
+
* {@link useScheduledEmailDialogHeaderProps}; every prop passed here replaces the hook's value for that
|
|
14
|
+
* prop wholesale. Pass `onBack` to get the back button, `ref` to receive the title input, and
|
|
15
|
+
* `onTitleKeyDown` to submit on Enter — the default dialog passes a handler over its single
|
|
16
|
+
* {@link useSaveScheduledEmailToBackend} instance; without it Enter does nothing here. Renders
|
|
17
|
+
* nothing while `useScheduledEmailDialogContext().isLoading` is true, which on scheduled email is
|
|
18
|
+
* the ordinary path while a widget export's filters load.
|
|
19
|
+
*
|
|
20
|
+
* @alpha
|
|
21
|
+
*/
|
|
22
|
+
export const ScheduledEmailDialogHeader = forwardRef(function ScheduledEmailDialogHeader(props, ref) {
|
|
23
|
+
return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogHeader, { ...props, ref: ref }) }));
|
|
24
|
+
});
|
|
25
|
+
const ConnectedScheduledEmailDialogHeader = forwardRef(function ConnectedScheduledEmailDialogHeader({ onBack, onTitleKeyDown, ...overrides }, ref) {
|
|
26
|
+
const defaultProps = useScheduledEmailDialogHeaderProps({
|
|
27
|
+
onBack,
|
|
28
|
+
onTitleKeyDown: onTitleKeyDown ?? noop,
|
|
29
|
+
ref,
|
|
30
|
+
});
|
|
31
|
+
return _jsx(DefaultScheduledEmailDialogHeader, { ...defaultProps, ...overrides });
|
|
32
|
+
});
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type IScheduledEmailDialogRecipientsProps } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The scheduled-export dialog's recipients region, connected to the dialog's state.
|
|
4
|
+
*
|
|
5
|
+
* Renders {@link DefaultScheduledEmailDialogRecipients} with the props of
|
|
6
|
+
* {@link useScheduledEmailDialogRecipientsProps}; every prop passed here replaces the hook's value
|
|
7
|
+
* for that prop wholesale, e.g. `<ScheduledEmailDialogRecipients maxRecipients={3} />`. Pass
|
|
8
|
+
* `onKeyDownSubmit` to submit on Enter from the recipients input — the default dialog passes a
|
|
9
|
+
* handler over its single {@link useSaveScheduledEmailToBackend} instance; without it Enter does
|
|
10
|
+
* nothing here. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export declare function ScheduledEmailDialogRecipients(props: Partial<IScheduledEmailDialogRecipientsProps>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ScheduledEmailDialogRecipients.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogRecipients.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAMxE;;;;;;;;;;;GAWG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,CAAC,oCAAoC,CAAC,2CAMlG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { DefaultScheduledEmailDialogRecipients } from "../DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js";
|
|
4
|
+
import { useScheduledEmailDialogRecipientsProps } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
5
|
+
import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
|
|
6
|
+
const noop = () => { };
|
|
7
|
+
/**
|
|
8
|
+
* The scheduled-export dialog's recipients region, connected to the dialog's state.
|
|
9
|
+
*
|
|
10
|
+
* Renders {@link DefaultScheduledEmailDialogRecipients} with the props of
|
|
11
|
+
* {@link useScheduledEmailDialogRecipientsProps}; every prop passed here replaces the hook's value
|
|
12
|
+
* for that prop wholesale, e.g. `<ScheduledEmailDialogRecipients maxRecipients={3} />`. Pass
|
|
13
|
+
* `onKeyDownSubmit` to submit on Enter from the recipients input — the default dialog passes a
|
|
14
|
+
* handler over its single {@link useSaveScheduledEmailToBackend} instance; without it Enter does
|
|
15
|
+
* nothing here. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export function ScheduledEmailDialogRecipients(props) {
|
|
20
|
+
return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogRecipients, { ...props }) }));
|
|
21
|
+
}
|
|
22
|
+
function ConnectedScheduledEmailDialogRecipients({ onKeyDownSubmit, ...overrides }) {
|
|
23
|
+
const defaultProps = useScheduledEmailDialogRecipientsProps({ onKeyDownSubmit: onKeyDownSubmit ?? noop });
|
|
24
|
+
return _jsx(DefaultScheduledEmailDialogRecipients, { ...defaultProps, ...overrides });
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type ScheduledEmailDialogTimezoneDefaultProps } from "../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The scheduled-export dialog's "Time zone" section (the export-content timezone picker), connected
|
|
4
|
+
* to the dialog's state.
|
|
5
|
+
*
|
|
6
|
+
* Renders {@link DefaultScheduledEmailDialogTimezone} with the props of
|
|
7
|
+
* {@link useScheduledEmailDialogTimezoneProps}; every prop passed here replaces the hook's value
|
|
8
|
+
* wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true, and nothing
|
|
9
|
+
* when `useScheduledExportDraft().canSelectScheduleTimezone` is false — the schedule may not define
|
|
10
|
+
* its own timezone then, exactly as in the default dialog.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export declare function ScheduledEmailDialogTimezone(overrides: Partial<ScheduledEmailDialogTimezoneDefaultProps>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ScheduledEmailDialogTimezone.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogTimezone.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAI5E;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,OAAO,CAAC,wCAAwC,CAAC,2CAMxG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import { DefaultScheduledEmailDialogTimezone } from "../DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js";
|
|
4
|
+
import { useScheduledExportDraft } from "../state/ScheduledExportDraftContext.js";
|
|
5
|
+
import { useScheduledEmailDialogTimezoneProps } from "../state/useScheduledEmailDialogRegionProps.js";
|
|
6
|
+
import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
|
|
7
|
+
/**
|
|
8
|
+
* The scheduled-export dialog's "Time zone" section (the export-content timezone picker), connected
|
|
9
|
+
* to the dialog's state.
|
|
10
|
+
*
|
|
11
|
+
* Renders {@link DefaultScheduledEmailDialogTimezone} with the props of
|
|
12
|
+
* {@link useScheduledEmailDialogTimezoneProps}; every prop passed here replaces the hook's value
|
|
13
|
+
* wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true, and nothing
|
|
14
|
+
* when `useScheduledExportDraft().canSelectScheduleTimezone` is false — the schedule may not define
|
|
15
|
+
* its own timezone then, exactly as in the default dialog.
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export function ScheduledEmailDialogTimezone(overrides) {
|
|
20
|
+
return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogTimezone, { ...overrides }) }));
|
|
21
|
+
}
|
|
22
|
+
function ConnectedScheduledEmailDialogTimezone(overrides) {
|
|
23
|
+
const { canSelectScheduleTimezone } = useScheduledExportDraft();
|
|
24
|
+
const defaultProps = useScheduledEmailDialogTimezoneProps();
|
|
25
|
+
return canSelectScheduleTimezone ? (_jsx(DefaultScheduledEmailDialogTimezone, { ...defaultProps, ...overrides })) : null;
|
|
26
|
+
}
|
package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Renders its children only once the scheduled-export dialog's data has loaded — the state accessors
|
|
4
|
+
* throw while `useScheduledEmailDialogContext().isLoading` is true, because the state providers mount
|
|
5
|
+
* only then. Every connected scheduled-email block goes through it. On scheduled email this state is
|
|
6
|
+
* on the ordinary path — a widget export renders while its filters load — so a shell sees its blocks
|
|
7
|
+
* appear once loading ends.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare function WhenScheduledEmailDialogLoaded({ children }: {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
//# sourceMappingURL=WhenScheduledEmailDialogLoaded.d.ts.map
|
package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhenScheduledEmailDialogLoaded.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,kDAGnF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
|
|
3
|
+
/**
|
|
4
|
+
* Renders its children only once the scheduled-export dialog's data has loaded — the state accessors
|
|
5
|
+
* throw while `useScheduledEmailDialogContext().isLoading` is true, because the state providers mount
|
|
6
|
+
* only then. Every connected scheduled-email block goes through it. On scheduled email this state is
|
|
7
|
+
* on the ordinary path — a widget export renders while its filters load — so a shell sees its blocks
|
|
8
|
+
* appear once loading ends.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export function WhenScheduledEmailDialogLoaded({ children }) {
|
|
13
|
+
const { isLoading } = useScheduledEmailDialogContext();
|
|
14
|
+
return isLoading ? null : _jsx(_Fragment, { children: children });
|
|
15
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IScheduleTimezoneSelection } from "
|
|
1
|
+
import { type IScheduleTimezoneSelection } from "../types.js";
|
|
2
2
|
/**
|
|
3
3
|
* Export-content timezone inputs for scheduled export definitions (unrelated to the schedule
|
|
4
4
|
* cron timezone). What gets baked into a NEW schedule — and what the Default option means —
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExportTimezones.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/hooks/useExportTimezones.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAAC,gBAAgB,EAAE,OAAO,GAAG;IAC3D;;;OAGG;IACH,wBAAwB,EAAE,OAAO,CAAC;IAClC;;;;;OAKG;IACH,yBAAyB,EAAE,OAAO,CAAC;IACnC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;;OAGG;IACH,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;;;OAIG;IACH,gBAAgB,EAAE,0BAA0B,CAAC;IAC7C;;;;;OAKG;IACH,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/C,CAsCA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { resolveTimezoneId } from "@gooddata/sdk-model";
|
|
3
|
-
import { useAutomationsContext } from "
|
|
3
|
+
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
4
4
|
/**
|
|
5
5
|
* Export-content timezone inputs for scheduled export definitions (unrelated to the schedule
|
|
6
6
|
* cron timezone). What gets baked into a NEW schedule — and what the Default option means —
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Dispatch, type SetStateAction } from "react";
|
|
2
2
|
import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IWidget } from "@gooddata/sdk-model";
|
|
3
|
-
import { type IScheduleTimezoneState } from "
|
|
3
|
+
import { type IScheduleTimezoneState } from "../state/types.js";
|
|
4
4
|
export interface IUseScheduleTimezoneProps {
|
|
5
5
|
scheduledExportToEdit?: IAutomationMetadataObject;
|
|
6
6
|
widget?: IWidget;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScheduleTimezone.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAyB,MAAM,OAAO,CAAC;AAElF,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAKhE,MAAM,WAAW,yBAAyB;IACtC,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAClD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAAC,CAAC;CACtF;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,qBAAqB,EACrB,MAAM,EACN,mBAAmB,EACtB,EAAE,yBAAyB,GAAG,sBAAsB,CA0EpD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { useCallback, useState } from "react";
|
|
3
|
-
import { getExportDefinitionsTimezone, withExportDefinitionsTimezone
|
|
3
|
+
import { getExportDefinitionsTimezone, withExportDefinitionsTimezone } from "../state/exportDefinitions.js";
|
|
4
4
|
import { useExportTimezones } from "./useExportTimezones.js";
|
|
5
5
|
/**
|
|
6
6
|
* Owns the "Time zone" section state of the scheduled-email dialog.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScheduleValidation.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/hooks/useScheduleValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EAI3C,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,qBAAqB;;CAsBjC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2024-2026 GoodData Corporation
|
|
2
2
|
import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
|
|
3
|
-
import { useAutomationsContext } from "
|
|
3
|
+
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
4
4
|
export const useScheduleValidation = (schedule) => {
|
|
5
5
|
const { widgetExistsByRef } = useAutomationsContext();
|
|
6
6
|
const isDashboardSchedule = schedule.exportDefinitions?.some((exportDefinition) => isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload));
|
package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useMemo } from "react";
|
|
|
4
4
|
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
5
5
|
import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
|
|
6
6
|
import { useAutomationFiltersSelect } from "../../shared/automationFilters/useAutomationFiltersSelect.js";
|
|
7
|
-
import { useScheduleTimezone } from "../
|
|
7
|
+
import { useScheduleTimezone } from "../hooks/useScheduleTimezone.js";
|
|
8
8
|
import { getDefaultPdfPageSize } from "../utils/pdfPageSize.js";
|
|
9
9
|
import { ScheduledExportActionsContextProvider } from "./ScheduledExportActionsContext.js";
|
|
10
10
|
import { ScheduledExportDataContextProvider } from "./ScheduledExportDataContext.js";
|
package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const ScheduledExportActionsContextProvider: import("react").Prov
|
|
|
8
8
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
9
9
|
* ordinary path here: a widget export renders while its filters load.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useScheduledExportActions(): IScheduledExportActionsContextValue;
|
|
14
14
|
//# sourceMappingURL=ScheduledExportActionsContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const ScheduledExportActionsContextProvider = ScheduledExportActionsConte
|
|
|
12
12
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
13
13
|
* ordinary path here: a widget export renders while its filters load.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useScheduledExportActions() {
|
|
18
18
|
return (useContext(ScheduledExportActionsContext) ??
|
|
@@ -8,7 +8,7 @@ export declare const ScheduledExportDataContextProvider: import("react").Provide
|
|
|
8
8
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
9
9
|
* ordinary path here: a widget export renders while its filters load.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useScheduledExportData(): IScheduledExportDataContextValue;
|
|
14
14
|
//# sourceMappingURL=ScheduledExportDataContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const ScheduledExportDataContextProvider = ScheduledExportDataContext.Pro
|
|
|
12
12
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
13
13
|
* ordinary path here: a widget export renders while its filters load.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useScheduledExportData() {
|
|
18
18
|
return (useContext(ScheduledExportDataContext) ??
|
|
@@ -8,7 +8,7 @@ export declare const ScheduledExportDraftContextProvider: import("react").Provid
|
|
|
8
8
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
9
9
|
* ordinary path here: a widget export renders while its filters load.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useScheduledExportDraft(): IScheduledExportDraftContextValue;
|
|
14
14
|
//# sourceMappingURL=ScheduledExportDraftContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const ScheduledExportDraftContextProvider = ScheduledExportDraftContext.P
|
|
|
12
12
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
13
13
|
* ordinary path here: a widget export renders while its filters load.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useScheduledExportDraft() {
|
|
18
18
|
return (useContext(ScheduledExportDraftContext) ??
|
package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const ScheduledExportFiltersContextProvider: import("react").Prov
|
|
|
8
8
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
9
9
|
* ordinary path here: a widget export renders while its filters load.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export declare function useScheduledExportFilters(): IScheduledExportFiltersContextValue;
|
|
14
14
|
//# sourceMappingURL=ScheduledExportFiltersContext.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const ScheduledExportFiltersContextProvider = ScheduledExportFiltersConte
|
|
|
12
12
|
* `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
|
|
13
13
|
* ordinary path here: a widget export renders while its filters load.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export function useScheduledExportFilters() {
|
|
18
18
|
return (useContext(ScheduledExportFiltersContext) ??
|