@gooddata/sdk-ui-dashboard 11.55.0-alpha.0 → 11.55.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 +26793 -68204
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/metadata/objRefMap.d.ts +11 -0
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.js +19 -1
- package/esm/index.d.ts +70 -7
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +62 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +10 -7
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +5 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
- package/esm/model/commands/filters.d.ts +3 -3
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +9 -1
- package/esm/model/store/dashboardStore.d.ts +2 -0
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +2 -0
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
- package/esm/model/store/tabs/index.d.ts +136 -128
- package/esm/model/store/tabs/index.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
- package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
- package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
- package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/tabsReducers.js +21 -1
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
- package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
- package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
- package/esm/model/store/types.d.ts +3 -0
- package/esm/model/store/types.d.ts.map +1 -1
- package/esm/model/store/unavailableObjects/index.d.ts +8 -0
- package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/index.js +13 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +15 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +38 -65
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +13 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertAttributeSelect.js → DefaultAlertingDialogAttribute.js} +11 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +13 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonOperatorSelect.js → DefaultAlertingDialogComparisonOperator.js} +13 -4
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +14 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonPeriodSelect.js → DefaultAlertingDialogComparisonPeriod.js} +14 -4
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +18 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertGranularitySelect.js → DefaultAlertingDialogGranularity.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertMeasureSelect.js → DefaultAlertingDialogMeasure.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +16 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertSensitivitySelect.js → DefaultAlertingDialogSensitivity.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertThresholdInput.js → DefaultAlertingDialogThreshold.js} +9 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +13 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerIntervalSelect.js → DefaultAlertingDialogTriggerInterval.js} +11 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +12 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerModeSelect.js → DefaultAlertingDialogTriggerMode.js} +10 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +16 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +28 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +22 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +31 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +18 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +31 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts +11 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +16 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +33 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +26 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +39 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +13 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +30 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +21 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +36 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +32 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +15 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +24 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts +12 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.d.ts +1 -1
- package/esm/presentation/automations/alerting/hooks/useAlertThreshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
- package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +1 -1
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.d.ts +1 -1
- package/esm/presentation/automations/alerting/hooks/useThresholdValue.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
- package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
- package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
- package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +87 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +234 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +8 -8
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
- package/esm/presentation/automations/alerting/types.d.ts +390 -9
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/types.js +3 -1
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +8 -3
- package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
- package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
- package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
- package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
- package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.js +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.js +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationMeasureValueFilter.js +1 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +13 -0
- package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts.map +1 -0
- package/esm/presentation/automations/{alerting/DefaultAlertingDialog/FormField.js → shared/slots/AutomationDialogFormField.js} +10 -1
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +27 -0
- package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
- package/esm/presentation/automations/shared/slots/types.d.ts +23 -0
- package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
- package/esm/sdk-ui-dashboard.d.ts +2648 -349
- package/package.json +25 -27
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.js +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.js +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts +0 -8
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +0 -19
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +0 -19
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +0 -15
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +0 -13
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts +0 -11
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts +0 -11
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts +0 -12
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +0 -23
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
- /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
- /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
|
@@ -3,113 +3,6 @@ export declare const tabsSliceReducer: import("redux").Reducer<import("./tabsSta
|
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
6
|
-
readonly setTabs: import("./tabsReducers.js").TabsReducer<{
|
|
7
|
-
payload: {
|
|
8
|
-
tabs?: import("./tabsState.js").ITabState[] | undefined;
|
|
9
|
-
activeTabLocalIdentifier?: string | undefined;
|
|
10
|
-
};
|
|
11
|
-
type: string;
|
|
12
|
-
}>;
|
|
13
|
-
readonly setActiveTabLocalIdentifier: import("./tabsReducers.js").TabsReducer<{
|
|
14
|
-
payload: string | undefined;
|
|
15
|
-
type: string;
|
|
16
|
-
}>;
|
|
17
|
-
readonly updateTab: import("./tabsReducers.js").TabsReducer<{
|
|
18
|
-
payload: import("./tabsState.js").ITabState;
|
|
19
|
-
type: string;
|
|
20
|
-
}>;
|
|
21
|
-
readonly removeTabById: import("./tabsReducers.js").TabsReducer<{
|
|
22
|
-
payload: string;
|
|
23
|
-
type: string;
|
|
24
|
-
}>;
|
|
25
|
-
readonly clearTabs: import("./tabsReducers.js").TabsReducer<{
|
|
26
|
-
payload: void;
|
|
27
|
-
type: string;
|
|
28
|
-
}>;
|
|
29
|
-
readonly setTabIsRenaming: import("./tabsReducers.js").TabsReducer<{
|
|
30
|
-
payload: {
|
|
31
|
-
tabId: string;
|
|
32
|
-
isRenaming: boolean;
|
|
33
|
-
};
|
|
34
|
-
type: string;
|
|
35
|
-
}>;
|
|
36
|
-
readonly renameTab: import("./tabsReducers.js").TabsReducer<{
|
|
37
|
-
payload: {
|
|
38
|
-
tabId: string;
|
|
39
|
-
title: string;
|
|
40
|
-
};
|
|
41
|
-
type: string;
|
|
42
|
-
}>;
|
|
43
|
-
readonly resolveDefaultTab: import("./tabsReducers.js").TabsReducer<{
|
|
44
|
-
payload: {
|
|
45
|
-
newLocalIdentifier: string;
|
|
46
|
-
};
|
|
47
|
-
type: string;
|
|
48
|
-
}>;
|
|
49
|
-
readonly changeAttributeFilterConfigMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
50
|
-
payload: import("../../commands/dashboard.js").ISetDashboardAttributeFilterConfigModePayload;
|
|
51
|
-
type: string;
|
|
52
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
53
|
-
readonly changeAttributeFilterSelectionType: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
54
|
-
payload: import("../../commands/dashboard.js").ISetDashboardAttributeFilterSelectionTypePayload;
|
|
55
|
-
type: string;
|
|
56
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
57
|
-
readonly setAttributeFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
58
|
-
payload: any;
|
|
59
|
-
type: string;
|
|
60
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
61
|
-
readonly removeAttributeFilterConfig: import("./tabsReducers.js").TabsReducer<{
|
|
62
|
-
payload: string;
|
|
63
|
-
type: string;
|
|
64
|
-
}>;
|
|
65
|
-
readonly changeDisplayAsLabel: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
66
|
-
payload: import("../../commands/dashboard.js").ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
|
|
67
|
-
type: string;
|
|
68
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
69
|
-
readonly setDateFilterConfig: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
70
|
-
payload: {
|
|
71
|
-
dateFilterConfig?: import("@gooddata/sdk-model").IDashboardDateFilterConfig | undefined;
|
|
72
|
-
effectiveDateFilterConfig: import("@gooddata/sdk-model").IDateFilterConfig;
|
|
73
|
-
isUsingDashboardOverrides: boolean;
|
|
74
|
-
};
|
|
75
|
-
type: string;
|
|
76
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
77
|
-
readonly setDateFilterConfigMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
78
|
-
payload: import("@gooddata/sdk-model").DashboardDateFilterConfigMode;
|
|
79
|
-
type: string;
|
|
80
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
81
|
-
readonly setDateFilterConfigTitle: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
82
|
-
payload: string | undefined;
|
|
83
|
-
type: string;
|
|
84
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
85
|
-
readonly updateDateFilterConfig: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
86
|
-
payload: import("@gooddata/sdk-model").IDashboardDateFilterConfig;
|
|
87
|
-
type: string;
|
|
88
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
89
|
-
readonly addDateFilterConfigValidationWarning: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
90
|
-
payload: import("../../../types.js").DateFilterValidationResult;
|
|
91
|
-
type: string;
|
|
92
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
93
|
-
readonly clearDateFilterConfigValidationWarning: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
94
|
-
payload: void;
|
|
95
|
-
type: string;
|
|
96
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
97
|
-
readonly changeDateFilterConfigsMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
98
|
-
payload: import("../../commands/dashboard.js").ISetDashboardDateFilterWithDimensionConfigModePayload;
|
|
99
|
-
type: string;
|
|
100
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
101
|
-
readonly setDateFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
102
|
-
payload: any;
|
|
103
|
-
type: string;
|
|
104
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
105
|
-
readonly removeDateFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
106
|
-
payload: import("@gooddata/sdk-model").ObjRef;
|
|
107
|
-
type: string;
|
|
108
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
109
|
-
readonly changeDateFilterConfigsTitle: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
110
|
-
payload: import("../../commands/dashboard.js").ISetDateFilterConfigTitlePayload;
|
|
111
|
-
type: string;
|
|
112
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
113
6
|
readonly setFilterContext: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
114
7
|
payload: {
|
|
115
8
|
filterContextDefinition: import("@gooddata/sdk-model").IFilterContextDefinition;
|
|
@@ -228,11 +121,7 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
228
121
|
payload: import("@gooddata/sdk-backend-spi").IAttributeWithReferences[];
|
|
229
122
|
type: string;
|
|
230
123
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
231
|
-
readonly
|
|
232
|
-
payload: import("./filterContext/filterContextReducers.js").IApplyWorkingSelectionPayload;
|
|
233
|
-
type: string;
|
|
234
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
235
|
-
readonly resetWorkingSelection: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
124
|
+
readonly resetWorkingFilterSelection: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
236
125
|
payload: void;
|
|
237
126
|
type: string;
|
|
238
127
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
@@ -258,6 +147,141 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
258
147
|
};
|
|
259
148
|
type: string;
|
|
260
149
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
150
|
+
readonly addParameter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
151
|
+
payload: import("./parameters/parametersReducers.js").IAddParameterPayload;
|
|
152
|
+
type: string;
|
|
153
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
154
|
+
readonly setParameterRuntimeValue: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
155
|
+
payload: import("./parameters/parametersReducers.js").ISetParameterRuntimeValuePayload;
|
|
156
|
+
type: string;
|
|
157
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
158
|
+
readonly setParameterRuntimeValues: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
159
|
+
payload: import("./parameters/parametersReducers.js").ISetParameterRuntimeValuesPayload;
|
|
160
|
+
type: string;
|
|
161
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
162
|
+
readonly setParameterWorkingValue: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
163
|
+
payload: import("./parameters/parametersReducers.js").ISetParameterWorkingValuePayload;
|
|
164
|
+
type: string;
|
|
165
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
166
|
+
readonly removeParameter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
167
|
+
payload: import("./parameters/parametersReducers.js").IRemoveParameterPayload;
|
|
168
|
+
type: string;
|
|
169
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
170
|
+
readonly setTabs: import("./tabsReducers.js").TabsReducer<{
|
|
171
|
+
payload: {
|
|
172
|
+
tabs?: import("./tabsState.js").ITabState[] | undefined;
|
|
173
|
+
activeTabLocalIdentifier?: string | undefined;
|
|
174
|
+
};
|
|
175
|
+
type: string;
|
|
176
|
+
}>;
|
|
177
|
+
readonly setActiveTabLocalIdentifier: import("./tabsReducers.js").TabsReducer<{
|
|
178
|
+
payload: string | undefined;
|
|
179
|
+
type: string;
|
|
180
|
+
}>;
|
|
181
|
+
readonly updateTab: import("./tabsReducers.js").TabsReducer<{
|
|
182
|
+
payload: import("./tabsState.js").ITabState;
|
|
183
|
+
type: string;
|
|
184
|
+
}>;
|
|
185
|
+
readonly removeTabById: import("./tabsReducers.js").TabsReducer<{
|
|
186
|
+
payload: string;
|
|
187
|
+
type: string;
|
|
188
|
+
}>;
|
|
189
|
+
readonly clearTabs: import("./tabsReducers.js").TabsReducer<{
|
|
190
|
+
payload: void;
|
|
191
|
+
type: string;
|
|
192
|
+
}>;
|
|
193
|
+
readonly setTabIsRenaming: import("./tabsReducers.js").TabsReducer<{
|
|
194
|
+
payload: {
|
|
195
|
+
tabId: string;
|
|
196
|
+
isRenaming: boolean;
|
|
197
|
+
};
|
|
198
|
+
type: string;
|
|
199
|
+
}>;
|
|
200
|
+
readonly renameTab: import("./tabsReducers.js").TabsReducer<{
|
|
201
|
+
payload: {
|
|
202
|
+
tabId: string;
|
|
203
|
+
title: string;
|
|
204
|
+
};
|
|
205
|
+
type: string;
|
|
206
|
+
}>;
|
|
207
|
+
readonly resolveDefaultTab: import("./tabsReducers.js").TabsReducer<{
|
|
208
|
+
payload: {
|
|
209
|
+
newLocalIdentifier: string;
|
|
210
|
+
};
|
|
211
|
+
type: string;
|
|
212
|
+
}>;
|
|
213
|
+
readonly applyWorkingSelection: import("./tabsReducers.js").TabsReducer<{
|
|
214
|
+
payload: import("./tabsReducers.js").IApplyWorkingSelectionPayload;
|
|
215
|
+
type: string;
|
|
216
|
+
}>;
|
|
217
|
+
readonly resetWorkingSelection: import("./tabsReducers.js").TabsReducer<{
|
|
218
|
+
payload: void;
|
|
219
|
+
type: string;
|
|
220
|
+
}>;
|
|
221
|
+
readonly changeAttributeFilterConfigMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
222
|
+
payload: import("../../commands/dashboard.js").ISetDashboardAttributeFilterConfigModePayload;
|
|
223
|
+
type: string;
|
|
224
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
225
|
+
readonly changeAttributeFilterSelectionType: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
226
|
+
payload: import("../../commands/dashboard.js").ISetDashboardAttributeFilterSelectionTypePayload;
|
|
227
|
+
type: string;
|
|
228
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
229
|
+
readonly setAttributeFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
230
|
+
payload: any;
|
|
231
|
+
type: string;
|
|
232
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
233
|
+
readonly removeAttributeFilterConfig: import("./tabsReducers.js").TabsReducer<{
|
|
234
|
+
payload: string;
|
|
235
|
+
type: string;
|
|
236
|
+
}>;
|
|
237
|
+
readonly changeDisplayAsLabel: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
238
|
+
payload: import("../../commands/dashboard.js").ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
|
|
239
|
+
type: string;
|
|
240
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
241
|
+
readonly setDateFilterConfig: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
242
|
+
payload: {
|
|
243
|
+
dateFilterConfig?: import("@gooddata/sdk-model").IDashboardDateFilterConfig | undefined;
|
|
244
|
+
effectiveDateFilterConfig: import("@gooddata/sdk-model").IDateFilterConfig;
|
|
245
|
+
isUsingDashboardOverrides: boolean;
|
|
246
|
+
};
|
|
247
|
+
type: string;
|
|
248
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
249
|
+
readonly setDateFilterConfigMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
250
|
+
payload: import("@gooddata/sdk-model").DashboardDateFilterConfigMode;
|
|
251
|
+
type: string;
|
|
252
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
253
|
+
readonly setDateFilterConfigTitle: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
254
|
+
payload: string | undefined;
|
|
255
|
+
type: string;
|
|
256
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
257
|
+
readonly updateDateFilterConfig: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
258
|
+
payload: import("@gooddata/sdk-model").IDashboardDateFilterConfig;
|
|
259
|
+
type: string;
|
|
260
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
261
|
+
readonly addDateFilterConfigValidationWarning: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
262
|
+
payload: import("../../../types.js").DateFilterValidationResult;
|
|
263
|
+
type: string;
|
|
264
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
265
|
+
readonly clearDateFilterConfigValidationWarning: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
266
|
+
payload: void;
|
|
267
|
+
type: string;
|
|
268
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
269
|
+
readonly changeDateFilterConfigsMode: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
270
|
+
payload: import("../../commands/dashboard.js").ISetDashboardDateFilterWithDimensionConfigModePayload;
|
|
271
|
+
type: string;
|
|
272
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
273
|
+
readonly setDateFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
274
|
+
payload: any;
|
|
275
|
+
type: string;
|
|
276
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
277
|
+
readonly removeDateFilterConfigs: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
278
|
+
payload: import("@gooddata/sdk-model").ObjRef;
|
|
279
|
+
type: string;
|
|
280
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
281
|
+
readonly changeDateFilterConfigsTitle: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
282
|
+
payload: import("../../commands/dashboard.js").ISetDateFilterConfigTitlePayload;
|
|
283
|
+
type: string;
|
|
284
|
+
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
261
285
|
readonly setLayout: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
262
286
|
payload: import("@gooddata/sdk-model").IDashboardLayout<import("../../types/layoutTypes.js").ExtendedDashboardWidget>;
|
|
263
287
|
type: string;
|
|
@@ -580,21 +604,5 @@ export declare const tabsActions: import("@reduxjs/toolkit").CaseReducerActions<
|
|
|
580
604
|
payload: string;
|
|
581
605
|
type: string;
|
|
582
606
|
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
583
|
-
readonly addParameter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
584
|
-
payload: import("./parameters/parametersReducers.js").IAddParameterPayload;
|
|
585
|
-
type: string;
|
|
586
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
587
|
-
readonly setParameterRuntimeValue: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
588
|
-
payload: import("./parameters/parametersReducers.js").ISetParameterRuntimeValuePayload;
|
|
589
|
-
type: string;
|
|
590
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
591
|
-
readonly setParameterRuntimeValues: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
592
|
-
payload: import("./parameters/parametersReducers.js").ISetParameterRuntimeValuesPayload;
|
|
593
|
-
type: string;
|
|
594
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
595
|
-
readonly removeParameter: (state: import("immer").WritableDraft<import("./tabsState.js").ITabsState>, action: {
|
|
596
|
-
payload: import("./parameters/parametersReducers.js").IRemoveParameterPayload;
|
|
597
|
-
type: string;
|
|
598
|
-
}) => void | import("./tabsState.js").ITabsState | import("immer").WritableDraft<import("./tabsState.js").ITabsState>;
|
|
599
607
|
}, "tabs">;
|
|
600
608
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/index.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,gBAAgB,8DAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/index.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,gBAAgB,8DAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAoB,CAAC"}
|
|
@@ -126,12 +126,25 @@ export declare function resolveParameterTitle(parameter: IDashboardParameter, wo
|
|
|
126
126
|
* @internal
|
|
127
127
|
*/
|
|
128
128
|
export declare function buildWorkspaceParametersByRef(workspaceParameters: IParameterMetadataObject[]): Map<string, IParameterMetadataObject>;
|
|
129
|
+
/**
|
|
130
|
+
* The value the parameter control shows: the staged one when the entry has it, otherwise the
|
|
131
|
+
* applied one.
|
|
132
|
+
*
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
export declare function displayOverride(entry: IDashboardParameterEntry): ParameterValue | undefined;
|
|
129
136
|
/**
|
|
130
137
|
* Folds an entry's ephemeral `runtimeOverride` into the persisted parameter shape's `value`.
|
|
131
138
|
*
|
|
132
139
|
* @internal
|
|
133
140
|
*/
|
|
134
141
|
export declare function applyRuntimeOverride(entry: IDashboardParameterEntry): IDashboardParameter;
|
|
142
|
+
/**
|
|
143
|
+
* Folds an entry's display value into the persisted parameter shape's `value`.
|
|
144
|
+
*
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
export declare function applyDisplayOverride(entry: IDashboardParameterEntry): IDashboardParameter;
|
|
135
148
|
/**
|
|
136
149
|
* Resolves a single parameter entry to the export wire shape. Returns `undefined` for entries with
|
|
137
150
|
* no `runtimeOverride` — the dashboard's persisted parameter state and the workspace default are
|
|
@@ -171,10 +184,10 @@ export declare function buildPersistedByTabAndRef(persistedTabs: ReadonlyArray<I
|
|
|
171
184
|
*/
|
|
172
185
|
export declare function computeParameterResetValue(entry: IDashboardParameterEntry, workspaceParameter: IParameterMetadataObject | undefined, isInEditMode: boolean): ParameterValue | undefined;
|
|
173
186
|
/**
|
|
174
|
-
* Only `mode: "active"` entries with a defined
|
|
175
|
-
* HIDDEN and READONLY entries are skipped, and entries with
|
|
176
|
-
*
|
|
177
|
-
*
|
|
187
|
+
* Only `mode: "active"` entries with a defined display value are considered resettable;
|
|
188
|
+
* HIDDEN and READONLY entries are skipped, and entries with no display value (control hidden,
|
|
189
|
+
* execution falls back to `insight.parameters`) are preserved as-is — symmetric with the
|
|
190
|
+
* per-control behavior in `DashboardParameterFilter`.
|
|
178
191
|
*
|
|
179
192
|
* @internal
|
|
180
193
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parametersHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersHelpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,cAAc,EAOtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EACH,KA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,GAAG,cAAc,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,uBAAuB,CAAC;CACjC;AAED;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAC3C,kBAAkB,EAAE,mBAAmB,EACvC,kBAAkB,EAAE,wBAAwB,GAAG,SAAS,GACzD,uBAAuB,GAAG,SAAS,CAcrC;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC3C,OAAO,EAAE,wBAAwB,EAAE,EACnC,mBAAmB,EAAE,wBAAwB,EAAE,GAChD,6BAA6B,EAAE,CAsBjC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,EAAE,eAAe,EAAE,OAAO,GAAG,OAAO,CAErG;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,OAAO,GAAG,OAAO,CAE3F;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CACzC,OAAO,EAAE,kBAAkB,EAC3B,eAAe,EAAE,OAAO,GACzB,sBAAsB,EAAE,CAE1B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACjC,SAAS,EAAE,mBAAmB,EAC9B,kBAAkB,EAAE,wBAAwB,GAAG,SAAS,GACzD,MAAM,CAER;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CACzC,mBAAmB,EAAE,wBAAwB,EAAE,GAChD,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAEvC;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,GAAG,mBAAmB,
|
|
1
|
+
{"version":3,"file":"parametersHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersHelpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,yBAAyB,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IAAE,GAAG,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC;IAAC,KAAK,EAAE,cAAc,GAAG,SAAS,CAAA;CAAE,EAAE,CAsB5F;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAClC,gBAAgB,EAAE,aAAa,CAAC;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC,EAC9E,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,EAC9D,eAAe,EAAE,OAAO,GACzB,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,CAe7C;AAED;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC5C,cAAc,EAAE,aAAa,CAAC,wBAAwB,CAAC,EACvD,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,EAChC,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC7B,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC,GACnD;IAAE,GAAG,EAAE,SAAS,CAAC;IAAC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,EAAE,CAuBhD"}
|
|
@@ -221,16 +221,36 @@ export function resolveParameterTitle(parameter, workspaceParameter) {
|
|
|
221
221
|
export function buildWorkspaceParametersByRef(workspaceParameters) {
|
|
222
222
|
return new Map(workspaceParameters.map((parameter) => [objRefToString(parameter.ref), parameter]));
|
|
223
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* The value the parameter control shows: the staged one when the entry has it, otherwise the
|
|
226
|
+
* applied one.
|
|
227
|
+
*
|
|
228
|
+
* @internal
|
|
229
|
+
*/
|
|
230
|
+
export function displayOverride(entry) {
|
|
231
|
+
return entry.workingOverride ?? entry.runtimeOverride;
|
|
232
|
+
}
|
|
224
233
|
/**
|
|
225
234
|
* Folds an entry's ephemeral `runtimeOverride` into the persisted parameter shape's `value`.
|
|
226
235
|
*
|
|
227
236
|
* @internal
|
|
228
237
|
*/
|
|
229
238
|
export function applyRuntimeOverride(entry) {
|
|
230
|
-
|
|
239
|
+
return foldOverride(entry, entry.runtimeOverride);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Folds an entry's display value into the persisted parameter shape's `value`.
|
|
243
|
+
*
|
|
244
|
+
* @internal
|
|
245
|
+
*/
|
|
246
|
+
export function applyDisplayOverride(entry) {
|
|
247
|
+
return foldOverride(entry, displayOverride(entry));
|
|
248
|
+
}
|
|
249
|
+
function foldOverride(entry, value) {
|
|
250
|
+
if (value === undefined) {
|
|
231
251
|
return entry.parameter;
|
|
232
252
|
}
|
|
233
|
-
return { ...entry.parameter, value
|
|
253
|
+
return { ...entry.parameter, value };
|
|
234
254
|
}
|
|
235
255
|
/**
|
|
236
256
|
* Resolves a single parameter entry to the export wire shape. Returns `undefined` for entries with
|
|
@@ -321,10 +341,10 @@ export function computeParameterResetValue(entry, workspaceParameter, isInEditMo
|
|
|
321
341
|
return dashboardOverride ?? workspaceDefault;
|
|
322
342
|
}
|
|
323
343
|
/**
|
|
324
|
-
* Only `mode: "active"` entries with a defined
|
|
325
|
-
* HIDDEN and READONLY entries are skipped, and entries with
|
|
326
|
-
*
|
|
327
|
-
*
|
|
344
|
+
* Only `mode: "active"` entries with a defined display value are considered resettable;
|
|
345
|
+
* HIDDEN and READONLY entries are skipped, and entries with no display value (control hidden,
|
|
346
|
+
* execution falls back to `insight.parameters`) are preserved as-is — symmetric with the
|
|
347
|
+
* per-control behavior in `DashboardParameterFilter`.
|
|
328
348
|
*
|
|
329
349
|
* @internal
|
|
330
350
|
*/
|
|
@@ -335,12 +355,16 @@ export function computeParameterResetTargets(entries, workspaceParameters, isInE
|
|
|
335
355
|
if (entry.parameter.mode !== DashboardParameterModeValues.ACTIVE) {
|
|
336
356
|
continue;
|
|
337
357
|
}
|
|
338
|
-
if (entry
|
|
358
|
+
if (displayOverride(entry) === undefined) {
|
|
339
359
|
continue;
|
|
340
360
|
}
|
|
341
361
|
const workspaceParameter = workspaceParameterByRef.get(objRefToString(entry.parameter.ref));
|
|
342
362
|
const resetValue = computeParameterResetValue(entry, workspaceParameter, isInEditMode);
|
|
343
|
-
if (resetValue
|
|
363
|
+
if (resetValue === undefined) {
|
|
364
|
+
continue;
|
|
365
|
+
}
|
|
366
|
+
const isAlreadyReset = entry.workingOverride === undefined && entry.runtimeOverride === resetValue;
|
|
367
|
+
if (!isAlreadyReset) {
|
|
344
368
|
result.push({ ref: entry.parameter.ref, value: resetValue });
|
|
345
369
|
}
|
|
346
370
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Action, type CaseReducer } from "@reduxjs/toolkit";
|
|
2
2
|
import { type IDashboardParameter, type ObjRef, type ParameterValue } from "@gooddata/sdk-model";
|
|
3
|
-
import { type ITabsState } from "../tabsState.js";
|
|
3
|
+
import { type ITabState, type ITabsState } from "../tabsState.js";
|
|
4
4
|
type ParametersReducer<A extends Action> = CaseReducer<ITabsState, A>;
|
|
5
5
|
/**
|
|
6
6
|
* Add a parameter to the active tab. Initial `runtimeOverride` is `parameter.value`
|
|
@@ -29,12 +29,36 @@ export interface ISetParameterRuntimeValuesPayload {
|
|
|
29
29
|
*/
|
|
30
30
|
tabLocalIdentifier?: string;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Stage a parameter value under the apply-all-at-once mode. The value is always concrete: the
|
|
34
|
+
* parameter control does not render for unresolved parameters, so staged `undefined` is
|
|
35
|
+
* unreachable.
|
|
36
|
+
*
|
|
37
|
+
* @alpha
|
|
38
|
+
*/
|
|
39
|
+
export interface ISetParameterWorkingValuePayload {
|
|
40
|
+
ref: ObjRef;
|
|
41
|
+
value: ParameterValue;
|
|
42
|
+
}
|
|
32
43
|
/**
|
|
33
44
|
* @alpha
|
|
34
45
|
*/
|
|
35
46
|
export interface IRemoveParameterPayload {
|
|
36
47
|
ref: ObjRef;
|
|
37
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Commits every staged value on the tab into `runtimeOverride`. Called by the tab-level
|
|
51
|
+
* `applyWorkingSelection` reducer so filters and parameters commit in one atomic transition.
|
|
52
|
+
*
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export declare function commitParameterWorkingValues(tab: ITabState): void;
|
|
56
|
+
/**
|
|
57
|
+
* Drops every staged value on the tab. Called by the tab-level `resetWorkingSelection` reducer.
|
|
58
|
+
*
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare function clearParameterWorkingValues(tab: ITabState): void;
|
|
38
62
|
export declare const parametersReducers: {
|
|
39
63
|
addParameter: ParametersReducer<{
|
|
40
64
|
payload: IAddParameterPayload;
|
|
@@ -48,6 +72,10 @@ export declare const parametersReducers: {
|
|
|
48
72
|
payload: ISetParameterRuntimeValuesPayload;
|
|
49
73
|
type: string;
|
|
50
74
|
}>;
|
|
75
|
+
setParameterWorkingValue: ParametersReducer<{
|
|
76
|
+
payload: ISetParameterWorkingValuePayload;
|
|
77
|
+
type: string;
|
|
78
|
+
}>;
|
|
51
79
|
removeParameter: ParametersReducer<{
|
|
52
80
|
payload: IRemoveParameterPayload;
|
|
53
81
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parametersReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,cAAc,EAEtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAgC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"parametersReducers.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersReducers.ts"],"names":[],"mappings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payload;
|
|
11
|
-
|
|
12
|
-
if (tabParameters.parameters.some((entry) => areObjRefsEqual(entry.parameter.ref, parameter.ref))) {
|
|
11
|
+
if (findParameterEntry(state, parameter.ref)) {
|
|
13
12
|
return;
|
|
14
13
|
}
|
|
14
|
+
const tabParameters = activeTab.parameters ?? parametersInitialState;
|
|
15
15
|
activeTab.parameters = {
|
|
16
16
|
parameters: [
|
|
17
17
|
...tabParameters.parameters,
|
|
@@ -27,6 +27,19 @@ const setParameterRuntimeValues = (state, action) => {
|
|
|
27
27
|
setRuntimeOverride(state, entry, action.payload.tabLocalIdentifier);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
+
const setParameterWorkingValue = (state, action) => {
|
|
31
|
+
const { ref, value } = action.payload;
|
|
32
|
+
const entry = findParameterEntry(state, ref);
|
|
33
|
+
if (!entry) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (entry.runtimeOverride === value) {
|
|
37
|
+
delete entry.workingOverride;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
entry.workingOverride = value;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
30
43
|
const removeParameter = (state, action) => {
|
|
31
44
|
const activeTab = getActiveTab(state);
|
|
32
45
|
if (!activeTab?.parameters) {
|
|
@@ -37,18 +50,47 @@ const removeParameter = (state, action) => {
|
|
|
37
50
|
};
|
|
38
51
|
};
|
|
39
52
|
function setRuntimeOverride(state, { ref, value }, tabLocalIdentifier) {
|
|
40
|
-
const
|
|
41
|
-
if (!
|
|
53
|
+
const entry = findParameterEntry(state, ref, tabLocalIdentifier);
|
|
54
|
+
if (!entry) {
|
|
42
55
|
return;
|
|
43
56
|
}
|
|
44
|
-
|
|
45
|
-
if (entry
|
|
57
|
+
delete entry.workingOverride;
|
|
58
|
+
if (entry.runtimeOverride !== value) {
|
|
46
59
|
entry.runtimeOverride = value;
|
|
47
60
|
}
|
|
48
61
|
}
|
|
62
|
+
function findParameterEntry(state, ref, tabLocalIdentifier) {
|
|
63
|
+
const tab = getTabOrActive(state, tabLocalIdentifier);
|
|
64
|
+
return tab?.parameters?.parameters.find((entry) => areObjRefsEqual(entry.parameter.ref, ref));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Commits every staged value on the tab into `runtimeOverride`. Called by the tab-level
|
|
68
|
+
* `applyWorkingSelection` reducer so filters and parameters commit in one atomic transition.
|
|
69
|
+
*
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
export function commitParameterWorkingValues(tab) {
|
|
73
|
+
for (const entry of tab.parameters?.parameters ?? []) {
|
|
74
|
+
if (entry.workingOverride !== undefined) {
|
|
75
|
+
entry.runtimeOverride = entry.workingOverride;
|
|
76
|
+
delete entry.workingOverride;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Drops every staged value on the tab. Called by the tab-level `resetWorkingSelection` reducer.
|
|
82
|
+
*
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
export function clearParameterWorkingValues(tab) {
|
|
86
|
+
for (const entry of tab.parameters?.parameters ?? []) {
|
|
87
|
+
delete entry.workingOverride;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
49
90
|
export const parametersReducers = {
|
|
50
91
|
addParameter,
|
|
51
92
|
setParameterRuntimeValue,
|
|
52
93
|
setParameterRuntimeValues,
|
|
94
|
+
setParameterWorkingValue,
|
|
53
95
|
removeParameter,
|
|
54
96
|
};
|
|
@@ -22,12 +22,19 @@ export declare const selectActiveParameterRefKeys: DashboardSelector<ReadonlySet
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const selectDashboardParameterEntries: DashboardSelector<IDashboardParameterEntry[]>;
|
|
24
24
|
/**
|
|
25
|
-
* Returns the active tab's parameters in the shape persisted by a filter view.
|
|
25
|
+
* Returns the active tab's applied parameters in the shape persisted by a filter view.
|
|
26
26
|
* Runtime overrides become persisted `value`; existing parameter values are kept when no runtime value exists.
|
|
27
27
|
*
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
30
|
export declare const selectFilterViewParameters: DashboardSelector<IDashboardParameter[] | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the active tab's parameters with their display values, in the shape persisted by a filter
|
|
33
|
+
* view, so a view saved before "Apply All" captures what the user sees.
|
|
34
|
+
*
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
export declare const selectFilterViewDisplayParameters: DashboardSelector<IDashboardParameter[] | undefined>;
|
|
31
38
|
/**
|
|
32
39
|
* Runtime parameter values from the active tab, to hand off on a drill. Values equal to the source's
|
|
33
40
|
* own default are kept (a drill target's default may differ), so the current value always propagates.
|
|
@@ -49,6 +56,19 @@ export declare const selectDashboardParameterEntryByRef: (ref: ObjRef) => Dashbo
|
|
|
49
56
|
* @alpha
|
|
50
57
|
*/
|
|
51
58
|
export declare const selectParameterRuntimeOverrideByRef: (ref: ObjRef) => DashboardSelector<ParameterValue | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Returns a selector that yields the value shown for a given parameter ref on the active tab: the
|
|
61
|
+
* staged one when the entry has it, otherwise the applied `runtimeOverride`.
|
|
62
|
+
*
|
|
63
|
+
* @alpha
|
|
64
|
+
*/
|
|
65
|
+
export declare const selectParameterDisplayValueByRef: (ref: ObjRef) => DashboardSelector<ParameterValue | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* True when the active tab has at least one staged parameter value.
|
|
68
|
+
*
|
|
69
|
+
* @alpha
|
|
70
|
+
*/
|
|
71
|
+
export declare const selectIsWorkingParametersChanged: DashboardSelector<boolean>;
|
|
52
72
|
/**
|
|
53
73
|
* Reset value for a parameter chip's dropdown, bound to the kit dropdown's `resetValue` prop.
|
|
54
74
|
*
|
|
@@ -91,8 +111,8 @@ export declare const selectActiveTabParameterResetTargets: DashboardSelector<{
|
|
|
91
111
|
value: ParameterValue | undefined;
|
|
92
112
|
}[]>;
|
|
93
113
|
/**
|
|
94
|
-
* True when the active tab has at least one parameter whose
|
|
95
|
-
* the value it would be reset to (per `computeParameterResetValue`).
|
|
114
|
+
* True when the active tab has at least one parameter whose display value (staged, else applied)
|
|
115
|
+
* or applied value differs from the value it would be reset to (per `computeParameterResetValue`).
|
|
96
116
|
*
|
|
97
117
|
* @alpha
|
|
98
118
|
*/
|
|
@@ -105,8 +125,9 @@ export declare const selectHasAnyResettableParameterOnActiveTab: DashboardSelect
|
|
|
105
125
|
*/
|
|
106
126
|
export declare const selectParameterReconciliations: DashboardSelector<IParameterReconciliationEntry[]>;
|
|
107
127
|
/**
|
|
108
|
-
* Reconciliation status of a parameter's
|
|
109
|
-
* {@link selectParameterReconciliations} uses)
|
|
128
|
+
* Reconciliation status of a parameter's display value (staged, else applied), not its persisted
|
|
129
|
+
* value (which {@link selectParameterReconciliations} uses), so the control's warning matches the
|
|
130
|
+
* value it shows.
|
|
110
131
|
*
|
|
111
132
|
* @internal
|
|
112
133
|
*/
|