@gooddata/sdk-ui-dashboard 11.56.0 → 11.57.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 +16 -16
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/sharedHooks/useRichTextFilters.js +2 -2
- package/esm/index.d.ts +5 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -2
- 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/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +11 -1
- 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/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 +34 -0
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.js +62 -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/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/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 +31 -28
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/types.js +1 -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 +3 -3
- package/esm/presentation/automations/contexts/AlertingDialogContext.js +2 -2
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +5 -5
- package/esm/presentation/automations/contexts/AutomationsContext.js +2 -2
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +3 -3
- package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +2 -2
- 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 +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +1 -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 +25 -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/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 +5 -2
- 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 +14 -0
- package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts.map +1 -0
- package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.js +11 -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/en-US.localization-bundle.d.ts +28 -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 +28 -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/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/sdk-ui-dashboard.d.ts +366 -246
- package/esm/types.d.ts +1 -1
- package/package.json +22 -22
- package/styles/css/dashboard.css +8 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/filterBar.css +23 -0
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/main.css +42 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/dashboard.scss +8 -0
- package/styles/scss/filterBar.scss +30 -0
|
@@ -3,8 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { objRefToString, widgetRef } from "@gooddata/sdk-model";
|
|
4
4
|
import { simplifyText } from "@gooddata/util";
|
|
5
5
|
import { useRichTextWidgetFilters } from "../../../_staging/sharedHooks/useRichTextFilters.js";
|
|
6
|
+
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
6
7
|
import { useDashboardUserInteraction } from "../../../model/react/useDashboardUserInteraction.js";
|
|
7
8
|
import { useDashboardExecConfig } from "../../../model/react/useWidgetExecConfig.js";
|
|
9
|
+
import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
|
|
8
10
|
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
9
11
|
import { DescriptionClickTrigger } from "./DescriptionClickTrigger.js";
|
|
10
12
|
import { useInsightWidgetDescription } from "./useInsightWidgetDescription.js";
|
|
@@ -15,6 +17,7 @@ export function InsightWidgetDescriptionTrigger(props) {
|
|
|
15
17
|
const userInteraction = useDashboardUserInteraction();
|
|
16
18
|
const execConfig = useDashboardExecConfig();
|
|
17
19
|
const { filters } = useRichTextWidgetFilters(widget);
|
|
20
|
+
const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
|
|
18
21
|
const { LoadingComponent } = useDashboardComponentsContext();
|
|
19
22
|
const eventPayload = {
|
|
20
23
|
from: "widget",
|
|
@@ -22,7 +25,7 @@ export function InsightWidgetDescriptionTrigger(props) {
|
|
|
22
25
|
description,
|
|
23
26
|
};
|
|
24
27
|
if (isVisible) {
|
|
25
|
-
return (_jsx(DescriptionClickTrigger, { className: `widget-description-${simplifyText(widgetRefAsString)}`, description: description, onOpen: () => userInteraction.descriptionTooltipOpened(eventPayload), useReferences: true, filters: filters, LoadingComponent: LoadingComponent, execConfig: execConfig }));
|
|
28
|
+
return (_jsx(DescriptionClickTrigger, { className: `widget-description-${simplifyText(widgetRefAsString)}`, description: description, onOpen: () => userInteraction.descriptionTooltipOpened(eventPayload), useReferences: true, filters: filters, restrictedReferences: restrictedReferences, LoadingComponent: LoadingComponent, execConfig: execConfig }));
|
|
26
29
|
}
|
|
27
30
|
return null;
|
|
28
31
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentType } from "react";
|
|
2
|
-
import { type IExecutionConfig, type IFilter, type IInsight, type IInsightWidget, type ScreenSize } from "@gooddata/sdk-model";
|
|
2
|
+
import { type IExecutionConfig, type IFilter, type IInsight, type IInsightWidget, type ObjRef, type ScreenSize } from "@gooddata/sdk-model";
|
|
3
3
|
import { type DescriptionExportData } from "../../export/types.js";
|
|
4
4
|
export interface IInsightWidgetDescriptionTriggerProps {
|
|
5
5
|
widget: IInsightWidget;
|
|
@@ -14,6 +14,7 @@ export interface IDescriptionClickTriggerProps {
|
|
|
14
14
|
useReferences?: boolean;
|
|
15
15
|
LoadingComponent?: ComponentType;
|
|
16
16
|
filters?: IFilter[];
|
|
17
|
+
restrictedReferences?: ObjRef[];
|
|
17
18
|
execConfig?: IExecutionConfig;
|
|
18
19
|
id?: string;
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/description/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,UAAU,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,WAAW,qCAAqC;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/description/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,UAAU,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,WAAW,qCAAqC;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;AA0BvE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAgB7G;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAmCD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CA2MhF"}
|
|
@@ -11,6 +11,7 @@ import { useDashboardExecConfig } from "../../../../../model/react/useWidgetExec
|
|
|
11
11
|
import { useWidgetExecutionsHandler } from "../../../../../model/react/useWidgetExecutionsHandler.js";
|
|
12
12
|
import { selectSeparators } from "../../../../../model/store/config/configSelectors.js";
|
|
13
13
|
import { DRILL_MODAL_EXECUTION_PSEUDO_REF } from "../../../../../model/store/executionResults/constants.js";
|
|
14
|
+
import { selectRestrictedRichTextReferences } from "../../../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
|
|
14
15
|
import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../../../constants/zIndex.js";
|
|
15
16
|
import { useDashboardComponentsContext } from "../../../../dashboardContexts/DashboardComponentsContext.js";
|
|
16
17
|
import { WithDrillSelect } from "../../../../drill/DrillSelect/WithDrillSelect.js";
|
|
@@ -121,9 +122,10 @@ function InsightDrillDialogDescriptionButton({ isOpen, isMobileDevice, setIsOpen
|
|
|
121
122
|
}
|
|
122
123
|
function InsightDrillDialogDescriptionContent({ id, isOpen, isMobileDevice, description, widgetFilters, LoadingComponent, }) {
|
|
123
124
|
const separators = useDashboardSelector(selectSeparators);
|
|
125
|
+
const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
|
|
124
126
|
const execConfig = useDashboardExecConfig();
|
|
125
127
|
return (_jsx("div", { id: id, className: cx("drill-dialog-insight-container-description", {
|
|
126
128
|
"drill-dialog-insight-container-description--open": isOpen,
|
|
127
129
|
"drill-dialog-insight-container-description--mobile": isMobileDevice,
|
|
128
|
-
}), children: _jsx("div", { className: "drill-dialog-insight-container-description-content", children: _jsx(RichText, { value: description, execConfig: execConfig, renderMode: "view", referencesEnabled: true, filters: widgetFilters, separators: separators, LoadingComponent: LoadingComponent }) }) }));
|
|
130
|
+
}), children: _jsx("div", { className: "drill-dialog-insight-container-description-content", children: _jsx(RichText, { value: description, execConfig: execConfig, renderMode: "view", referencesEnabled: true, filters: widgetFilters, separators: separators, restrictedReferences: restrictedReferences, LoadingComponent: LoadingComponent }) }) }));
|
|
129
131
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightDescription.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAK7E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"InsightDescription.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAK7E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAYrE,UAAU,wBAAwB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EAC/B,WAAW,EACX,cAAc,EACd,QAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,UAAU,GACb,EAAE,wBAAwB,2CAmE1B"}
|
package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js
CHANGED
|
@@ -4,7 +4,9 @@ import { useCallback, useEffect, useState } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { RichTextWithTooltip } from "@gooddata/sdk-ui-kit";
|
|
7
|
+
import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
|
|
7
8
|
import { useDashboardExecConfig } from "../../../../../model/react/useWidgetExecConfig.js";
|
|
9
|
+
import { selectRestrictedRichTextReferences } from "../../../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
|
|
8
10
|
const richTextTooltipAlignPoints = [
|
|
9
11
|
{ align: "bl tl", offset: { x: 4, y: 5 } },
|
|
10
12
|
{ align: "tl bl", offset: { x: 4, y: -5 } },
|
|
@@ -17,6 +19,7 @@ export function InsightDescription({ description, setDescription, readOnly = fal
|
|
|
17
19
|
const [isRichTextEditing, setIsRichTextEditing] = useState(false);
|
|
18
20
|
const [richTextValue, setRichTextValue] = useState(description);
|
|
19
21
|
const execConfig = useDashboardExecConfig();
|
|
22
|
+
const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
|
|
20
23
|
useEffect(() => {
|
|
21
24
|
setRichTextValue(description);
|
|
22
25
|
}, [description]);
|
|
@@ -35,5 +38,5 @@ export function InsightDescription({ description, setDescription, readOnly = fal
|
|
|
35
38
|
const onRichTextChange = useCallback((value) => {
|
|
36
39
|
setRichTextValue(value);
|
|
37
40
|
}, []);
|
|
38
|
-
return (_jsx("label", { className: "gd-input", children: _jsx("div", { className: cx("gd-input-field gd-rich-text-insight-description", { disabled: readOnly }), onClick: onDescriptionClick, onBlur: onDescriptionBlur, children: _jsx(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 4, editPlaceholder: placeholder, emptyElement: readOnly ? undefined : (_jsx("div", { className: "gd-editable-label-richtext-empty", children: placeholder })), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints, referencesEnabled: true, LoadingComponent: LoadingComponent, filters: insightFilters, separators: separators, execConfig: execConfig }) }) }));
|
|
41
|
+
return (_jsx("label", { className: "gd-input", children: _jsx("div", { className: cx("gd-input-field gd-rich-text-insight-description", { disabled: readOnly }), onClick: onDescriptionClick, onBlur: onDescriptionBlur, children: _jsx(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 4, editPlaceholder: placeholder, emptyElement: readOnly ? undefined : (_jsx("div", { className: "gd-editable-label-richtext-empty", children: placeholder })), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints, referencesEnabled: true, LoadingComponent: LoadingComponent, filters: insightFilters, separators: separators, restrictedReferences: restrictedReferences, execConfig: execConfig }) }) }));
|
|
39
42
|
}
|
|
@@ -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 }));
|