@gooddata/sdk-ui-dashboard 11.57.0-alpha.0 → 11.57.0-alpha.2
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 +18 -18
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/dateFilterConfig/dateFilterConfigConverters.js +1 -1
- package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.js +1 -1
- package/esm/_staging/dateFilterConfig/defaultConfig.js +1 -1
- package/esm/_staging/metadata/objRefMap.js +1 -1
- package/esm/_staging/sharedHooks/useRichTextFilters.js +2 -2
- package/esm/index.d.ts +6 -4
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +5 -3
- package/esm/internal.js +1 -1
- package/esm/locales.d.ts +2 -2
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +2 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +14 -4
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js +3 -3
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +3 -3
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +3 -3
- package/esm/model/commandHandlers/dashboard/exportToTabularHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportToTabularHandler.js +9 -4
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +13 -3
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +19 -5
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +2 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +3 -2
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +2 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +11 -1
- package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.d.ts +9 -0
- package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.js +39 -0
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js +2 -2
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +3 -2
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +3 -3
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +20 -0
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +13 -0
- package/esm/model/commands/index.d.ts +2 -2
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +2 -2
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js +3 -3
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts +2 -2
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js +5 -5
- package/esm/model/react/useDashboardAlerting/useDashboardAlerts.d.ts +2 -2
- package/esm/model/react/useDashboardAlerting/useDashboardAlerts.js +3 -3
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.d.ts +2 -2
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js +5 -5
- package/esm/model/react/useWidgetFilters.js +2 -2
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts +40 -0
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.js +67 -3
- package/esm/model/store/filtering/restrictedFilterUtils.d.ts +5 -0
- package/esm/model/store/filtering/restrictedFilterUtils.d.ts.map +1 -0
- package/esm/model/store/filtering/restrictedFilterUtils.js +22 -0
- package/esm/model/store/filtering/types.d.ts +1 -1
- package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +9 -1
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -1
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +14 -0
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
- package/esm/plugins/customizationApis/customizationLogging.js +2 -2
- package/esm/plugins/customizationApis/filterBarCustomizer.d.ts +4 -2
- package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/filterBarCustomizer.js +42 -3
- package/esm/plugins/customizer.d.ts +13 -1
- package/esm/plugins/customizer.d.ts.map +1 -1
- package/esm/plugins/engine.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +10 -10
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +10 -10
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +3 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +1 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +3 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +1 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +3 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +1 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +4 -3
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +1 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +3 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +3 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +1 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +3 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +3 -3
- package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +3 -3
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +1 -1
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts +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 +8 -8
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSubmit.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +9 -9
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +9 -9
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +7 -7
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +5 -5
- package/esm/presentation/automations/alerting/types.d.ts +54 -28
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/types.js +8 -1
- package/esm/presentation/automations/alerting/utils/getters.d.ts +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.js +2 -2
- package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.d.ts +1 -1
- package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.js +1 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +2 -2
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +16 -3
- package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AlertingDialogContext.js +2 -2
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +25 -0
- package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +76 -5
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/AutomationsContext.js +2 -2
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +12 -3
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +2 -2
- package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts +3 -2
- package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +11 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +11 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +1 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.js +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js +1 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts +4 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +4 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +4 -3
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +1 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +1 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +1 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +3 -3
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +3 -3
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +3 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +1 -2
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.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 +8 -8
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +8 -8
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +6 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +9 -9
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +2 -2
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/types.d.ts +40 -22
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +1 -1
- package/esm/presentation/automations/shared/dateFilterConfig/dateFilterConfigConverters.js +1 -1
- package/esm/presentation/automations/shared/dateFilterConfig/dateFilterOptionMapping.js +1 -1
- package/esm/presentation/automations/shared/dateFilterConfig/defaultConfig.js +1 -1
- package/esm/presentation/automations/shared/filters/index.js +1 -1
- package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +2 -2
- package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.js +1 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +1 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogFormField.js +1 -1
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +1 -1
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.js +1 -1
- package/esm/presentation/automations/shared/slots/types.d.ts +9 -7
- package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/types.d.ts +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +3 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.js +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts +8 -0
- package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardContractExpired.js +25 -0
- package/esm/presentation/dashboard/components/DashboardLoading.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardLoading.js +13 -2
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
- package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts +13 -0
- package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/contractExpiredIcons.js +15 -0
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +7 -1
- package/esm/presentation/dashboard/types.d.ts +12 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
- package/esm/presentation/dashboardContexts/types.d.ts +20 -0
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/types.d.ts +1 -0
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +2 -2
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +7 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +11 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.js +3 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +13 -4
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +10 -3
- package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +13 -0
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +9 -3
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +10 -5
- package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts +16 -0
- package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts.map +1 -0
- package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.js +42 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +3 -1
- package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
- package/esm/presentation/insightList/InsightList.js +3 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +14 -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 +14 -0
- 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 +40 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +14 -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 +16 -2
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +14 -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 +107 -93
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +14 -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 +14 -0
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -1
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +3 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +4 -1
- package/esm/presentation/widget/description/types.d.ts +2 -1
- package/esm/presentation/widget/description/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +3 -1
- package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js +4 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/CustomUiMenuComponents.d.ts +5 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/CustomUiMenuComponents.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/CustomUiMenuComponents.js +12 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.d.ts +2 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts +6 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +11 -6
- package/esm/presentation/widget/richText/EditModeDashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/EditModeDashboardRichText.js +3 -1
- package/esm/presentation/widget/richText/ViewModeDashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/ViewModeDashboardRichText.js +3 -1
- package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.d.ts +6 -0
- package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.js +4 -4
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +2 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.d.ts +13 -0
- package/esm/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.js +32 -0
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts +1 -1
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.js +8 -2
- package/esm/presentation/widgetDeleteDialog/types.d.ts +5 -0
- package/esm/presentation/widgetDeleteDialog/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +554 -250
- package/esm/types.d.ts +1 -1
- package/package.json +25 -24
- package/styles/css/alerting.css +2 -2
- package/styles/css/attributeFilterConfig.css +1 -1
- package/styles/css/dashboard.css +10 -2
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css +1 -1
- package/styles/css/dragAndDrop.css +2 -2
- package/styles/css/drillConfigPanel.css +4 -4
- package/styles/css/filterBar.css +34 -2
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/icons.css +2 -2
- package/styles/css/main.css +218 -167
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +2 -2
- package/styles/css/resizing.css +4 -4
- package/styles/css/visualizationSwitcherToolbar.css +4 -4
- package/styles/scss/dashboard.scss +8 -0
- package/styles/scss/filterBar.scss +39 -0
|
@@ -2,5 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { ItemsWrapper } from "@gooddata/sdk-ui-kit";
|
|
3
3
|
const itemsWrapperStyle = { width: "100%" };
|
|
4
4
|
export function DashboardInsightMenuContainer(props) {
|
|
5
|
-
return (_jsx("div", { className: "insight-configuration", role: "dialog", "aria-labelledby": props.ariaLabelledBy, children: _jsx(ItemsWrapper, { smallItemsSpacing: true, style: itemsWrapperStyle, children: props.children }) }));
|
|
5
|
+
return (_jsx("div", { className: "insight-configuration", role: "dialog", "aria-labelledby": props.ariaLabelledBy, "aria-label": props.ariaLabel, children: _jsx(ItemsWrapper, { smallItemsSpacing: true, style: itemsWrapperStyle, children: props.children }) }));
|
|
6
6
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { type Dispatch, type SetStateAction } from "react";
|
|
2
2
|
import { type RenderMode } from "../../../../../types.js";
|
|
3
3
|
import { type IDashboardInsightMenuProps, type IInsightMenuSubmenu } from "../../types.js";
|
|
4
|
-
export declare function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, }: IDashboardInsightMenuProps & {
|
|
4
|
+
export declare function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, showTitle, }: IDashboardInsightMenuProps & {
|
|
5
5
|
setSubmenu?: Dispatch<SetStateAction<IInsightMenuSubmenu | null>>;
|
|
6
6
|
renderMode: RenderMode;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the menu names the widget it belongs to. Off for a widget the user is not allowed to
|
|
9
|
+
* see, whose stored title can name the object they have no access to.
|
|
10
|
+
*/
|
|
11
|
+
showTitle?: boolean;
|
|
7
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
13
|
export declare function DashboardInsightMenu(props: IDashboardInsightMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;AAef,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACH,KAAK,0BAA0B,EAE/B,KAAK,mBAAmB,EAE3B,MAAM,gBAAgB,CAAC;AA8HxB,wBAAgB,wBAAwB,CAAC,EACrC,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAgB,GACnB,EAAE,0BAA0B,GAAG;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,2CAwFA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,2CAcrE"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2021-2026 GoodData Corporation
|
|
3
3
|
import { useMemo, useRef, useState, } from "react";
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
4
5
|
import { objRefToString, widgetRef } from "@gooddata/sdk-model";
|
|
5
6
|
import { UiFocusManager, UiMenu, getSelectedMenuId, } from "@gooddata/sdk-ui-kit";
|
|
6
7
|
import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
|
|
7
8
|
import { selectRenderMode } from "../../../../../model/store/renderMode/renderModeSelectors.js";
|
|
8
9
|
import { isIInsightMenuSubmenu, } from "../../types.js";
|
|
9
|
-
import { CustomUiMenuContentComponent, CustomUiMenuContentItemComponent, CustomUiMenuHeaderComponent, CustomUiMenuInteractiveItemComponent, } from "./CustomUiMenuComponents.js";
|
|
10
|
+
import { CustomUiMenuContentComponent, CustomUiMenuContentItemComponent, CustomUiMenuHeaderComponent, CustomUiMenuHeaderComponentWithoutTitle, CustomUiMenuInteractiveItemComponent, } from "./CustomUiMenuComponents.js";
|
|
10
11
|
import { DashboardInsightEditMenuBubble } from "./DashboardInsightEditMenuBubble.js";
|
|
11
12
|
import { DashboardInsightMenuBubble } from "./DashboardInsightMenuBubble.js";
|
|
12
13
|
import { DashboardInsightMenuContainer } from "./DashboardInsightMenuContainer.js";
|
|
@@ -83,7 +84,8 @@ const convertToUiMenuItems = (items, latestWidgetRef, submenuComponentCache) =>
|
|
|
83
84
|
};
|
|
84
85
|
});
|
|
85
86
|
};
|
|
86
|
-
export function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, }) {
|
|
87
|
+
export function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, showTitle = true, }) {
|
|
88
|
+
const intl = useIntl();
|
|
87
89
|
const widgetRefAsString = objRefToString(widgetRef(widget));
|
|
88
90
|
const latestWidgetRef = useRef(widget);
|
|
89
91
|
latestWidgetRef.current = widget;
|
|
@@ -109,16 +111,19 @@ export function DashboardInsightMenuBody({ items, widget, insight, onClose, rend
|
|
|
109
111
|
};
|
|
110
112
|
const menuId = `insight-menu-${widgetRefAsString}`;
|
|
111
113
|
const menuLabelId = `${menuId}-label`;
|
|
114
|
+
// without the title there is no element carrying menuLabelId, so the name goes on the menu itself
|
|
115
|
+
const menuLabel = showTitle
|
|
116
|
+
? undefined
|
|
117
|
+
: intl.formatMessage({ id: "insightMenu.restrictedWidget.options" });
|
|
112
118
|
const getMaxHeight = (context) => {
|
|
113
119
|
if (getSelectedMenuId(context) === "Alerts") {
|
|
114
120
|
return 500;
|
|
115
121
|
}
|
|
116
122
|
return 350;
|
|
117
123
|
};
|
|
118
|
-
return (_jsx(UiFocusManager, { enableAutofocus: { initialFocus: menuId }, enableFocusTrap: true, enableReturnFocusOnUnmount: true, children: _jsx(DashboardInsightMenuContainer, { ariaLabelledBy: menuLabelId, children: _jsx(UiMenu, { maxHeight: getMaxHeight, containerBottomPadding: "small", items: uiMenuItems, onClose: onClose, InteractiveItem: CustomUiMenuInteractiveItemComponent, ContentItem: CustomUiMenuContentItemComponent, Content: CustomUiMenuContentComponent, MenuHeader: CustomUiMenuHeaderComponent, shouldCloseOnSelect: true, ariaAttributes:
|
|
119
|
-
id: menuId,
|
|
120
|
-
"aria-labelledby": menuLabelId,
|
|
121
|
-
}, onSelect: handleSelect, onLevelChange: handleSubmenuOpen, menuCtxData: {
|
|
124
|
+
return (_jsx(UiFocusManager, { enableAutofocus: { initialFocus: menuId }, enableFocusTrap: true, enableReturnFocusOnUnmount: true, children: _jsx(DashboardInsightMenuContainer, { ariaLabelledBy: menuLabel ? undefined : menuLabelId, ariaLabel: menuLabel, children: _jsx(UiMenu, { maxHeight: getMaxHeight, containerBottomPadding: "small", items: uiMenuItems, onClose: onClose, InteractiveItem: CustomUiMenuInteractiveItemComponent, ContentItem: CustomUiMenuContentItemComponent, Content: CustomUiMenuContentComponent, MenuHeader: showTitle ? CustomUiMenuHeaderComponent : CustomUiMenuHeaderComponentWithoutTitle, shouldCloseOnSelect: true, ariaAttributes: menuLabel
|
|
125
|
+
? { id: menuId, "aria-label": menuLabel }
|
|
126
|
+
: { id: menuId, "aria-labelledby": menuLabelId }, onSelect: handleSelect, onLevelChange: handleSubmenuOpen, menuCtxData: {
|
|
122
127
|
widget,
|
|
123
128
|
insight,
|
|
124
129
|
renderMode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/EditModeDashboardRichText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/EditModeDashboardRichText.tsx"],"names":[],"mappings":"AA6BA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAK1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CAgHvG"}
|
|
@@ -13,6 +13,7 @@ import { useDashboardDispatch, useDashboardSelector } from "../../../model/react
|
|
|
13
13
|
import { useDashboardExecConfig } from "../../../model/react/useWidgetExecConfig.js";
|
|
14
14
|
import { useWidgetSelection } from "../../../model/react/useWidgetSelection.js";
|
|
15
15
|
import { selectIsWhiteLabeled, selectSeparators } from "../../../model/store/config/configSelectors.js";
|
|
16
|
+
import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
|
|
16
17
|
import { DASHBOARD_OVERLAYS_FILTER_Z_INDEX } from "../../../presentation/constants/zIndex.js";
|
|
17
18
|
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
18
19
|
import { useEditableRichTextMenu } from "./useEditableRichTextMenu.js";
|
|
@@ -24,6 +25,7 @@ export function EditModeDashboardRichText({ widget, clientWidth, clientHeight })
|
|
|
24
25
|
const { isSelected, hasConfigPanelOpen, closeConfigPanel } = useWidgetSelection(widgetRef(widget));
|
|
25
26
|
const previousIsSelected = usePrevious(isSelected);
|
|
26
27
|
const isWhiteLabeled = useDashboardSelector(selectIsWhiteLabeled);
|
|
28
|
+
const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
|
|
27
29
|
const intl = useIntl();
|
|
28
30
|
const execConfig = useDashboardExecConfig();
|
|
29
31
|
const { menuItems } = useEditableRichTextMenu({ closeMenu: closeConfigPanel, widget });
|
|
@@ -54,5 +56,5 @@ export function EditModeDashboardRichText({ widget, clientWidth, clientHeight })
|
|
|
54
56
|
clientWidth > 250 &&
|
|
55
57
|
typeof clientHeight !== "undefined" &&
|
|
56
58
|
clientHeight > 150;
|
|
57
|
-
return (_jsxs(_Fragment, { children: [hasConfigPanelOpen ? (_jsx(RichTextMenuComponent, { widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, items: menuItems })) : null, _jsx(RichText, { referencesEnabled: true, filters: filters, separators: separators, className: "gd-rich-text-widget", value: richText, onChange: setRichText, renderMode: isRichTextEditing ? "edit" : "view", emptyElement: EmptyElement, LoadingComponent: LoadingComponent, execConfig: execConfig }), isRichTextEditing && showLink ? (_jsx("div", { className: "gd-rich-text-widget-footer", children: _jsx("div", { className: "gd-rich-text-footer-options", children: showLink ? (_jsx("a", { className: "gd-button-link-dimmed gd-icon-circle-question", href: "https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/", rel: "noopener noreferrer", target: "_blank", children: _jsx(FormattedMessage, { id: "richText.formattingOptions" }) })) : null }) })) : null, isConfirmDeleteDialogVisible ? (_jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialog, { className: "s-rich-text-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "richText.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }), children: _jsx(FormattedMessage, { id: "richText.deleteDialog.message" }) }) })) : null] }));
|
|
59
|
+
return (_jsxs(_Fragment, { children: [hasConfigPanelOpen ? (_jsx(RichTextMenuComponent, { widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, items: menuItems })) : null, _jsx(RichText, { referencesEnabled: true, filters: filters, separators: separators, restrictedReferences: restrictedReferences, className: "gd-rich-text-widget", value: richText, onChange: setRichText, renderMode: isRichTextEditing ? "edit" : "view", emptyElement: EmptyElement, LoadingComponent: LoadingComponent, execConfig: execConfig }), isRichTextEditing && showLink ? (_jsx("div", { className: "gd-rich-text-widget-footer", children: _jsx("div", { className: "gd-rich-text-footer-options", children: showLink ? (_jsx("a", { className: "gd-button-link-dimmed gd-icon-circle-question", href: "https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/", rel: "noopener noreferrer", target: "_blank", children: _jsx(FormattedMessage, { id: "richText.formattingOptions" }) })) : null }) })) : null, isConfirmDeleteDialogVisible ? (_jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialog, { className: "s-rich-text-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "richText.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }), children: _jsx(FormattedMessage, { id: "richText.deleteDialog.message" }) }) })) : null] }));
|
|
58
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/ViewModeDashboardRichText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/ViewModeDashboardRichText.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,GACV,EAAE,uBAAuB,2CAwDzB"}
|
|
@@ -9,6 +9,7 @@ import { selectSeparators } from "../../../model/store/config/configSelectors.js
|
|
|
9
9
|
import { DASHBOARD_SUMMARY_MACRO } from "../../../model/store/dashboardSummaryWorkflow/constants.js";
|
|
10
10
|
import { selectCurrentDashboardSummaryWorkflowStatus } from "../../../model/store/dashboardSummaryWorkflow/dashboardSummaryWorkflowSelectors.js";
|
|
11
11
|
import { selectCurrentDashboardSummary } from "../../../model/store/listedDashboards/listedDashboardsSummarySelectors.js";
|
|
12
|
+
import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
|
|
12
13
|
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
@@ -17,6 +18,7 @@ export function ViewModeDashboardRichText({ widget, richTextExportData, onLoadin
|
|
|
17
18
|
const intl = useIntl();
|
|
18
19
|
const { filters } = useRichTextWidgetFilters(widget);
|
|
19
20
|
const separators = useDashboardSelector(selectSeparators);
|
|
21
|
+
const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
|
|
20
22
|
const { LoadingComponent } = useDashboardComponentsContext();
|
|
21
23
|
const dashboardSummary = useDashboardSelector(selectCurrentDashboardSummary);
|
|
22
24
|
const summaryWorkflowStatus = useDashboardSelector(selectCurrentDashboardSummaryWorkflowStatus);
|
|
@@ -44,7 +46,7 @@ export function ViewModeDashboardRichText({ widget, richTextExportData, onLoadin
|
|
|
44
46
|
const raw = widget?.content ?? "";
|
|
45
47
|
const value = raw.split(DASHBOARD_SUMMARY_MACRO).join(summaryWorkflowReplaceString);
|
|
46
48
|
const execConfig = useDashboardExecConfig();
|
|
47
|
-
return (_jsx(RichText, { referencesEnabled: true, className: "gd-rich-text-widget", value: value, filters: filters, separators: separators, renderMode: "view", rawContent: {
|
|
49
|
+
return (_jsx(RichText, { referencesEnabled: true, className: "gd-rich-text-widget", value: value, filters: filters, separators: separators, restrictedReferences: restrictedReferences, renderMode: "view", rawContent: {
|
|
48
50
|
show: !!richTextExportData,
|
|
49
51
|
dataAttributes: richTextExportData?.markdown,
|
|
50
52
|
}, execConfig: execConfig, onLoadingChanged: onLoadingChanged, onError: onError, LoadingComponent: LoadingComponent }));
|
|
@@ -2,6 +2,12 @@ import { type ComponentType } from "react";
|
|
|
2
2
|
import { type IDefaultDashboardInsightWidgetProps } from "./types.js";
|
|
3
3
|
interface IDashboardWidgetInsightGuardProps extends Omit<IDefaultDashboardInsightWidgetProps, "insight"> {
|
|
4
4
|
Component: ComponentType<IDefaultDashboardInsightWidgetProps>;
|
|
5
|
+
/**
|
|
6
|
+
* What stands in for a widget the user is not allowed to see. Defaults to the placeholder tile,
|
|
7
|
+
* which is all a viewer can be offered; edit mode passes a rendering that keeps the selection and
|
|
8
|
+
* the remove entry.
|
|
9
|
+
*/
|
|
10
|
+
RestrictedComponent?: ComponentType<Omit<IDefaultDashboardInsightWidgetProps, "insight">>;
|
|
5
11
|
}
|
|
6
12
|
export declare function DashboardWidgetInsightGuard(props: IDashboardWidgetInsightGuardProps): import("react/jsx-runtime").JSX.Element;
|
|
7
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardWidgetInsightGuard.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ3C,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEtE,UAAU,iCAAkC,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC;IACpG,SAAS,EAAE,aAAa,CAAC,mCAAmC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardWidgetInsightGuard.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ3C,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEtE,UAAU,iCAAkC,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC;IACpG,SAAS,EAAE,aAAa,CAAC,mCAAmC,CAAC,CAAC;IAE9D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,CAAC,CAAC;CAC7F;AAKD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,2CAwBnF"}
|
|
@@ -8,14 +8,14 @@ import { RestrictedPlaceholder } from "../../common/RestrictedPlaceholder.js";
|
|
|
8
8
|
// Since the behavior is nearly impossible to replicate reliably, let's be defensive here and not render
|
|
9
9
|
// anything until the insights "catch up".
|
|
10
10
|
export function DashboardWidgetInsightGuard(props) {
|
|
11
|
-
const { widget, screen, dashboardItemClasses, exportData, Component } = props;
|
|
11
|
+
const { widget, screen, dashboardItemClasses, exportData, Component, RestrictedComponent } = props;
|
|
12
12
|
const insights = useDashboardSelector(selectInsightsMap);
|
|
13
13
|
const isRestricted = useIsWidgetRestricted(widget);
|
|
14
14
|
const { RestrictedPlaceholderComponentProvider } = useDashboardComponentsContext();
|
|
15
|
-
// view, edit and export modes all reach the widget through this guard, so
|
|
16
|
-
//
|
|
15
|
+
// view, edit and export modes all reach the widget through this guard, so this is the single
|
|
16
|
+
// short-circuit that keeps a restricted insight from reaching the widget in any of them
|
|
17
17
|
if (isRestricted) {
|
|
18
|
-
return (_jsx(RestrictedPlaceholder, { screen: screen, dashboardItemClasses: dashboardItemClasses, exportData: exportData, Content: RestrictedPlaceholderComponentProvider(widget) }));
|
|
18
|
+
return RestrictedComponent ? (_jsx(RestrictedComponent, { ...props })) : (_jsx(RestrictedPlaceholder, { screen: screen, dashboardItemClasses: dashboardItemClasses, exportData: exportData, Content: RestrictedPlaceholderComponentProvider(widget) }));
|
|
19
19
|
}
|
|
20
20
|
const insight = insights.get(widget.insight);
|
|
21
21
|
return _jsx(Component, { ...props, insight: insight });
|
package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardInsightWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditableDashboardInsightWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAItE,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,2CAQzG"}
|
|
@@ -15,10 +15,11 @@ import { DashboardInsight } from "../../insight/DashboardInsight.js";
|
|
|
15
15
|
import { InsightWidgetWarningPartialResult } from "../warningPartialResult/InsightWidgetWarningPartialResult.js";
|
|
16
16
|
import { DashboardWidgetInsightGuard } from "./DashboardWidgetInsightGuard.js";
|
|
17
17
|
import { EditableDashboardInsightWidgetHeader } from "./EditableDashboardInsightWidgetHeader.js";
|
|
18
|
+
import { EditableRestrictedInsightWidget } from "./EditableRestrictedInsightWidget.js";
|
|
18
19
|
import { useEditableInsightMenu } from "./useEditableInsightMenu.js";
|
|
19
20
|
import { useInsightWarning } from "./useInsightWarning.js";
|
|
20
21
|
export function EditableDashboardInsightWidget(props) {
|
|
21
|
-
return _jsx(DashboardWidgetInsightGuard, { ...props, Component: EditableDashboardInsightWidgetCore });
|
|
22
|
+
return (_jsx(DashboardWidgetInsightGuard, { ...props, Component: EditableDashboardInsightWidgetCore, RestrictedComponent: EditableRestrictedInsightWidget }));
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* @internal
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type IDefaultDashboardInsightWidgetProps } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Stands in for an insight widget the editor is not allowed to see. It keeps the selection and the
|
|
4
|
+
* context menu of an ordinary widget, because the editor may still want the widget gone; the menu is
|
|
5
|
+
* built by the standard builder for a widget with no readable insight, which leaves removal alone.
|
|
6
|
+
*
|
|
7
|
+
* It renders the standard menu body — keyboard handling, focus management and item rendering come
|
|
8
|
+
* with it — with its title suppressed, because the widget title can name the object the editor may
|
|
9
|
+
* not see. It does not go through `InsightMenuComponentProvider`: a replacement menu would have no
|
|
10
|
+
* reason to honour that.
|
|
11
|
+
*/
|
|
12
|
+
export declare function EditableRestrictedInsightWidget({ widget, screen, dashboardItemClasses, }: Omit<IDefaultDashboardInsightWidgetProps, "insight">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=EditableRestrictedInsightWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableRestrictedInsightWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAGtE;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,MAAM,EACN,MAAM,EACN,oBAAoB,GACvB,EAAE,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,2CAkDtD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2026 GoodData Corporation
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { widgetRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { useWidgetSelection } from "../../../../model/react/useWidgetSelection.js";
|
|
6
|
+
import { useDashboardComponentsContext } from "../../../dashboardContexts/DashboardComponentsContext.js";
|
|
7
|
+
import { DashboardItem } from "../../../presentationComponents/DashboardItems/DashboardItem.js";
|
|
8
|
+
import { DashboardItemVisualization } from "../../../presentationComponents/DashboardItems/DashboardItemVisualization.js";
|
|
9
|
+
import { DashboardInsightEditMenuBubble } from "../../insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightEditMenuBubble.js";
|
|
10
|
+
import { DashboardInsightMenuBody } from "../../insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js";
|
|
11
|
+
import { useEditableInsightMenu } from "./useEditableInsightMenu.js";
|
|
12
|
+
/**
|
|
13
|
+
* Stands in for an insight widget the editor is not allowed to see. It keeps the selection and the
|
|
14
|
+
* context menu of an ordinary widget, because the editor may still want the widget gone; the menu is
|
|
15
|
+
* built by the standard builder for a widget with no readable insight, which leaves removal alone.
|
|
16
|
+
*
|
|
17
|
+
* It renders the standard menu body — keyboard handling, focus management and item rendering come
|
|
18
|
+
* with it — with its title suppressed, because the widget title can name the object the editor may
|
|
19
|
+
* not see. It does not go through `InsightMenuComponentProvider`: a replacement menu would have no
|
|
20
|
+
* reason to honour that.
|
|
21
|
+
*/
|
|
22
|
+
export function EditableRestrictedInsightWidget({ widget, screen, dashboardItemClasses, }) {
|
|
23
|
+
const { isSelectable, isSelected, onSelected, closeConfigPanel, hasConfigPanelOpen } = useWidgetSelection(widgetRef(widget));
|
|
24
|
+
const { RestrictedPlaceholderComponentProvider } = useDashboardComponentsContext();
|
|
25
|
+
const Content = RestrictedPlaceholderComponentProvider(widget);
|
|
26
|
+
const { menuItems } = useEditableInsightMenu({
|
|
27
|
+
closeMenu: closeConfigPanel,
|
|
28
|
+
insight: undefined,
|
|
29
|
+
widget,
|
|
30
|
+
});
|
|
31
|
+
return (_jsx(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", "is-edit-mode", { "is-selected": isSelected }), screen: screen, children: _jsx(DashboardItemVisualization, { isSelectable: isSelectable, isSelected: isSelected, onSelected: onSelected, renderAfterContent: () => hasConfigPanelOpen ? (_jsx(DashboardInsightEditMenuBubble, { onClose: closeConfigPanel, children: _jsx(DashboardInsightMenuBody, { items: menuItems, widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, renderMode: "edit", showTitle: false }) })) : null, children: ({ clientHeight, clientWidth }) => (_jsx("div", { className: "visualization-content", children: _jsx(Content, { width: clientWidth, height: clientHeight }) })) }) }));
|
|
32
|
+
}
|
|
@@ -7,5 +7,5 @@ export declare function useWidgetDeleteDialogProps(): IWidgetDeleteDialogProps;
|
|
|
7
7
|
/**
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
|
10
|
-
export declare function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, }: IWidgetDeleteDialogProps): ReactElement | null;
|
|
10
|
+
export declare function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, isRestricted, }: IWidgetDeleteDialogProps): ReactElement | null;
|
|
11
11
|
//# sourceMappingURL=DefaultWidgetDeleteDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultWidgetDeleteDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultWidgetDeleteDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AAsBvD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AA0B3D;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,wBAAwB,CAgCrE;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,YAAoB,GACvB,EAAE,wBAAwB,GAAG,YAAY,GAAG,IAAI,CAuChD"}
|
|
@@ -6,6 +6,7 @@ import { FormattedMessage, defineMessages, useIntl } from "react-intl";
|
|
|
6
6
|
import { ConfirmDialog } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { eagerRemoveSectionItemByWidgetRef } from "../../model/commands/layout.js";
|
|
8
8
|
import { useDashboardDispatch, useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
9
|
+
import { useIsWidgetRestricted } from "../../model/react/useIsWidgetRestricted.js";
|
|
9
10
|
import { dispatchAndWaitFor } from "../../model/store/_infra/dispatchAndWaitFor.js";
|
|
10
11
|
import { selectDashboardUserAutomationAlertsInContext, selectDashboardUserAutomationSchedulesInContext, } from "../../model/store/automations/automationsSelectors.js";
|
|
11
12
|
import { selectAnalyticalWidgetByRef } from "../../model/store/tabs/layout/layoutSelectors.js";
|
|
@@ -18,6 +19,9 @@ const deleteMessages = defineMessages({
|
|
|
18
19
|
objects: {
|
|
19
20
|
id: "deleteWidgetDialog.objectsMessage",
|
|
20
21
|
},
|
|
22
|
+
objectsRestricted: {
|
|
23
|
+
id: "deleteWidgetDialog.objectsMessage.restricted",
|
|
24
|
+
},
|
|
21
25
|
alerts: {
|
|
22
26
|
id: "deleteWidgetDialog.alerts",
|
|
23
27
|
},
|
|
@@ -47,6 +51,7 @@ export function useWidgetDeleteDialogProps() {
|
|
|
47
51
|
}
|
|
48
52
|
}, [dispatch, widget]);
|
|
49
53
|
const isVisible = useDashboardSelector(selectIsWidgetDeleteDialogOpen);
|
|
54
|
+
const isRestricted = useIsWidgetRestricted(widget);
|
|
50
55
|
const alerts = useDashboardSelector(selectDashboardUserAutomationAlertsInContext(widget?.localIdentifier));
|
|
51
56
|
const schedules = useDashboardSelector(selectDashboardUserAutomationSchedulesInContext(widget?.localIdentifier));
|
|
52
57
|
return {
|
|
@@ -56,12 +61,13 @@ export function useWidgetDeleteDialogProps() {
|
|
|
56
61
|
onCancel,
|
|
57
62
|
onDelete,
|
|
58
63
|
widget,
|
|
64
|
+
isRestricted,
|
|
59
65
|
};
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
62
68
|
* @internal
|
|
63
69
|
*/
|
|
64
|
-
export function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, }) {
|
|
70
|
+
export function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, isRestricted = false, }) {
|
|
65
71
|
const intl = useIntl();
|
|
66
72
|
if (!isVisible || !widget) {
|
|
67
73
|
return null;
|
|
@@ -71,5 +77,5 @@ export function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSc
|
|
|
71
77
|
showAlertsMessage && deleteMessages.alerts,
|
|
72
78
|
showSchedulesMessage && deleteMessages.schedules,
|
|
73
79
|
]);
|
|
74
|
-
return (_jsx(ConfirmDialog, { onCancel: onCancel, onSubmit: onDelete, isPositive: false, className: "s-dialog s-delete_widget_dialog", headline: intl.formatMessage(deleteMessages.headline), cancelButtonText: intl.formatMessage(deleteMessages.cancel), submitButtonText: intl.formatMessage(deleteMessages.delete), children: _jsxs("div", { children: [_jsx(FormattedMessage, { id: deleteMessages.objects.id, values: { title: widgetTitle } }), _jsx("ul", { className: "gd-delete-dialog-objects-list", children: messages.map((message) => (_jsx("li", { children: _jsx(FormattedMessage, { ...message }) }, message.id))) })] }) }));
|
|
80
|
+
return (_jsx(ConfirmDialog, { onCancel: onCancel, onSubmit: onDelete, isPositive: false, className: "s-dialog s-delete_widget_dialog", headline: intl.formatMessage(deleteMessages.headline), cancelButtonText: intl.formatMessage(deleteMessages.cancel), submitButtonText: intl.formatMessage(deleteMessages.delete), children: _jsxs("div", { children: [isRestricted ? (_jsx(FormattedMessage, { id: deleteMessages.objectsRestricted.id })) : (_jsx(FormattedMessage, { id: deleteMessages.objects.id, values: { title: widgetTitle } })), _jsx("ul", { className: "gd-delete-dialog-objects-list", children: messages.map((message) => (_jsx("li", { children: _jsx(FormattedMessage, { ...message }) }, message.id))) })] }) }));
|
|
75
81
|
}
|
|
@@ -10,6 +10,11 @@ export interface IWidgetDeleteDialogProps {
|
|
|
10
10
|
onDelete: () => void;
|
|
11
11
|
onCancel: () => void;
|
|
12
12
|
widget: IWidget | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the widget renders something the current user is not allowed to see. Such a widget must
|
|
15
|
+
* not be named: its stored title can be the name of the object they have no access to.
|
|
16
|
+
*/
|
|
17
|
+
isRestricted?: boolean;
|
|
13
18
|
}
|
|
14
19
|
/**
|
|
15
20
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAE5B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC,wBAAwB,CAAC,CAAC"}
|