@gooddata/sdk-ui-dashboard 11.13.0-alpha.2 → 11.13.0-alpha.3
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
- package/esm/kdaDialog/components/KdaSummaryHeadline.js +2 -2
- package/esm/kdaDialog/components/KdaSummaryHeadline.js.map +1 -1
- package/esm/kdaDialog/components/bars/DateBar.js +2 -2
- package/esm/kdaDialog/components/bars/DateBar.js.map +1 -1
- package/esm/kdaDialog/components/bars/MetricBar.d.ts +1 -2
- package/esm/kdaDialog/components/bars/MetricBar.d.ts.map +1 -1
- package/esm/kdaDialog/components/bars/MetricBar.js.map +1 -1
- package/esm/kdaDialog/composition/data/dataview.d.ts +2 -2
- package/esm/kdaDialog/composition/data/dataview.d.ts.map +1 -1
- package/esm/kdaDialog/composition/hooks/usePeriodChangeHandler.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/hooks/useValidAttributes.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/hooks/useValidAttributes.js.map +1 -1
- package/esm/kdaDialog/index.d.ts +2 -1
- package/esm/kdaDialog/index.d.ts.map +1 -1
- package/esm/kdaDialog/index.js +1 -0
- package/esm/kdaDialog/index.js.map +1 -1
- package/esm/kdaDialog/internalTypes.d.ts +1 -6
- package/esm/kdaDialog/internalTypes.d.ts.map +1 -1
- package/esm/kdaDialog/types.d.ts +10 -0
- package/esm/kdaDialog/types.d.ts.map +1 -1
- package/esm/kdaDialog/utils.d.ts +6 -3
- package/esm/kdaDialog/utils.d.ts.map +1 -1
- package/esm/kdaDialog/utils.js +16 -3
- package/esm/kdaDialog/utils.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +2 -2
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js.map +1 -1
- package/esm/model/react/index.d.ts +0 -1
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +0 -1
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +2 -4
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsDialog.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsDialog.js +3 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsDialog.js.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js +3 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js.map +1 -1
- package/esm/model/store/config/configSelectors.js +1 -1
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +0 -5
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/store/index.d.ts +3 -3
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +3 -3
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.d.ts +27 -0
- package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.js +33 -0
- package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.js.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts +75 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js +99 -3
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/ui/index.d.ts +0 -1
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +0 -4
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +3 -5
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +7 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +7 -0
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +1 -6
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +1 -1
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.js +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.js +3 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/transformation.js +42 -2
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/transformation.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.js +3 -3
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.d.ts +2 -1
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.js +4 -4
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationDateFilter.d.ts +2 -1
- package/esm/presentation/automationFilters/components/AutomationDateFilter.d.ts.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationDateFilter.js +15 -5
- package/esm/presentation/automationFilters/components/AutomationDateFilter.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js +6 -6
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFilters.d.ts +5 -1
- package/esm/presentation/automationFilters/useAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFilters.js +12 -4
- package/esm/presentation/automationFilters/useAutomationFilters.js.map +1 -1
- package/esm/presentation/dragAndDrop/useCurrentDateFilterConfig.d.ts +1 -1
- package/esm/presentation/dragAndDrop/useCurrentDateFilterConfig.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useCurrentDateFilterConfig.js +13 -4
- package/esm/presentation/dragAndDrop/useCurrentDateFilterConfig.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +19 -6
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/types.d.ts +10 -0
- package/esm/presentation/filterBar/attributeFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +13 -6
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +8 -4
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +2 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js.map +1 -1
- package/esm/presentation/filterBar/dateFilter/types.d.ts +12 -0
- package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/types.js +1 -0
- package/esm/presentation/filterBar/dateFilter/types.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.js +3 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +143 -22
- package/package.json +18 -18
- package/esm/model/react/useAutomationsInvalidateRef.d.ts +0 -12
- package/esm/model/react/useAutomationsInvalidateRef.d.ts.map +0 -1
- package/esm/model/react/useAutomationsInvalidateRef.js +0 -25
- package/esm/model/react/useAutomationsInvalidateRef.js.map +0 -1
|
@@ -7,5 +7,5 @@ import { IDashboardDateFilterProps } from "./types.js";
|
|
|
7
7
|
*
|
|
8
8
|
* @alpha
|
|
9
9
|
*/
|
|
10
|
-
export declare function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, }: IDashboardDateFilterProps): ReactElement;
|
|
10
|
+
export declare function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, tabId, }: IDashboardDateFilterProps): ReactElement;
|
|
11
11
|
//# sourceMappingURL=DefaultDashboardDateFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAkC,MAAM,OAAO,CAAC;AAiBrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAgBvD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,MAAM,EACN,aAAa,EACb,eAAe,EACf,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DefaultDashboardDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAkC,MAAM,OAAO,CAAC;AAiBrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAgBvD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,MAAM,EACN,aAAa,EACb,eAAe,EACf,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,mBAAmB,EACnB,KAAK,GACR,EAAE,yBAAyB,GAAG,YAAY,CAqJ1C"}
|
|
@@ -17,7 +17,7 @@ import { getVisibilityIcon } from "../utils.js";
|
|
|
17
17
|
*
|
|
18
18
|
* @alpha
|
|
19
19
|
*/
|
|
20
|
-
export function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, }) {
|
|
20
|
+
export function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, tabId, }) {
|
|
21
21
|
const intl = useIntl();
|
|
22
22
|
const settings = useDashboardSelector(selectSettings);
|
|
23
23
|
const capabilities = useDashboardSelector(selectBackendCapabilities);
|
|
@@ -36,7 +36,7 @@ export function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChan
|
|
|
36
36
|
defaultDateFilterName =
|
|
37
37
|
config.customFilterName ?? intl.formatMessage({ id: "dateFilterDropdown.title" });
|
|
38
38
|
}
|
|
39
|
-
const { title, mode } = useCurrentDateFilterConfig(filter?.dateFilter.dataSet, defaultDateFilterName);
|
|
39
|
+
const { title, mode } = useCurrentDateFilterConfig(filter?.dateFilter.dataSet, defaultDateFilterName, tabId);
|
|
40
40
|
const [lastSelectedOptionId, setLastSelectedOptionId] = useState("");
|
|
41
41
|
const { dateFilterOption, excludeCurrentPeriod } = useMemo(() => matchDateFilterToDateFilterOptionWithPreference(filter, config.dateFilterOptions, lastSelectedOptionId), [filter, config.dateFilterOptions, lastSelectedOptionId]);
|
|
42
42
|
const { dateFilterOption: workingFilterOption, excludeCurrentPeriod: workingExcludeCurrentPeriod } = useMemo(() => matchDateFilterToDateFilterOptionWithPreference(workingFilter, config.dateFilterOptions, lastSelectedOptionId), [workingFilter, config.dateFilterOptions, lastSelectedOptionId]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardDateFilter.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAgB,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACH,mCAAmC,EAEnC,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,UAAU,EAGV,gCAAgC,GACnC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAE7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,yDAAyD,CAAC;AAChH,OAAO,EAAE,+CAA+C,EAAE,MAAM,+DAA+D,CAAC;AAChI,OAAO,EACH,yBAAyB,EACzB,yBAAyB,EACzB,0CAA0C,EAC1C,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,0BAA0B,CAAC,EACvC,MAAM,EACN,aAAa,EACb,eAAe,EACf,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DefaultDashboardDateFilter.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAgB,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACH,mCAAmC,EAEnC,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,UAAU,EAGV,gCAAgC,GACnC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAE7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,yDAAyD,CAAC;AAChH,OAAO,EAAE,+CAA+C,EAAE,MAAM,+DAA+D,CAAC;AAChI,OAAO,EACH,yBAAyB,EACzB,yBAAyB,EACzB,0CAA0C,EAC1C,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,0BAA0B,CAAC,EACvC,MAAM,EACN,aAAa,EACb,eAAe,EACf,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,mBAAmB,EACnB,KAAK,GACmB;IACxB,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,QAAQ,GAAG,oBAAoB,CAAC,c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A6B,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,EAC5F,cAAc,EACV,QAAQ;YACJ,CAAC,CAAC,mCAAmC,CAAC,QAAQ;YAC9C,CAAC,CAAC,mCAAmC,CAAC,MAAM,EAEpD,aAAa,EAAE,MAAM,CAAC,iBAAiB,EACvC,sBAAsB,EAAE,MAAM,CAAC,sBAAsB,EACrD,gBAAgB,EAAE,KAAK,EACvB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,6BAA6B,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC9D,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,6BAA6B,EAAE,6BAA6B,EAC5D,UAAU,EAAE,YAAY,EACxB,UAAU,EAAE,QAAQ,EACpB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,cAAc,EAC1B,yBAAyB,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,EACtD,4BAA4B,EAAE,sBAAsB,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,EAC/F,YAAY,EAAE,6BAA6B,EAC3C,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,mBAAmB,EACxC,oBAAoB,EAAE,yBAAyB,GACjD,CACL,CAAC;AACN,CAAC"}
|
|
@@ -70,6 +70,18 @@ export interface IDashboardDateFilterProps {
|
|
|
70
70
|
* Specifies the overlay position type for the date filter dropdown.
|
|
71
71
|
*/
|
|
72
72
|
overlayPositionType?: OverlayPositionType;
|
|
73
|
+
/**
|
|
74
|
+
* Optional tab identifier to read filter context from.
|
|
75
|
+
* When provided, the filter will use configuration from this specific tab.
|
|
76
|
+
* When undefined, uses the active tab (default behavior).
|
|
77
|
+
*
|
|
78
|
+
* @remarks
|
|
79
|
+
* This is primarily used in automation/scheduling contexts where filters from
|
|
80
|
+
* multiple tabs need to be displayed simultaneously.
|
|
81
|
+
*
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
tabId?: string;
|
|
73
85
|
}
|
|
74
86
|
/**
|
|
75
87
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;OAGG;IACH,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAEhD;;;OAGG;IACH,iBAAiB,EAAE,wBAAwB,CAAC;IAE5C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,MAAM,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAEzC;;OAEG;IACH,aAAa,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAEhD;;;;;;;OAOG;IACH,eAAe,EAAE,CACb,MAAM,EAAE,oBAAoB,GAAG,SAAS,EACxC,uBAAuB,CAAC,EAAE,MAAM,EAChC,wBAAwB,CAAC,EAAE,OAAO,KACjC,IAAI,CAAC;IAEV;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC;IAEnC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAExD;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAE1C;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG,aAAa,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/types.ts"],"names":[],"mappings":"AAAA,qCAAqC"}
|
|
@@ -7,7 +7,7 @@ import { useBackend, useWorkspace } from "@gooddata/sdk-ui";
|
|
|
7
7
|
import { Automations } from "@gooddata/sdk-ui-ext";
|
|
8
8
|
import { Button, ContentDivider, Dialog, Hyperlink, OverlayController, OverlayControllerProvider, Typography, UiTooltip, useId, } from "@gooddata/sdk-ui-kit";
|
|
9
9
|
import { messages } from "../../../locales.js";
|
|
10
|
-
import { DEFAULT_MAX_AUTOMATIONS, selectCanCreateAutomation, selectDashboardId, selectDashboardTitle, selectEnableAccessibilityMode, selectEntitlementMaxAutomations, selectEntitlementUnlimitedAutomations, selectExecutionTimestamp, selectExternalRecipient, selectIsScheduleEmailDialogOpen, selectIsWhiteLabeled, selectLocale, selectTimezone,
|
|
10
|
+
import { DEFAULT_MAX_AUTOMATIONS, selectAutomationsInvalidationId, selectCanCreateAutomation, selectDashboardId, selectDashboardTitle, selectEnableAccessibilityMode, selectEntitlementMaxAutomations, selectEntitlementUnlimitedAutomations, selectExecutionTimestamp, selectExternalRecipient, selectIsScheduleEmailDialogOpen, selectIsWhiteLabeled, selectLocale, selectTimezone, useDashboardSelector, } from "../../../model/index.js";
|
|
11
11
|
import { AUTOMATIONS_COLUMN_CONFIG, AUTOMATIONS_MAX_HEIGHT, DASHBOARD_DIALOG_OVERS_Z_INDEX, } from "../../constants/index.js";
|
|
12
12
|
import { SCHEDULED_EMAIL_DIALOG_ID } from "../DefaultScheduledEmailDialog/constants.js";
|
|
13
13
|
import { useScheduleEmailDialogAccessibility } from "../hooks/useScheduleEmailDialogAccessibility.js";
|
|
@@ -30,7 +30,7 @@ export function DefaultScheduledEmailManagementDialogContentEnhanced({ onAdd, on
|
|
|
30
30
|
const isExecutionTimestampMode = !!useDashboardSelector(selectExecutionTimestamp);
|
|
31
31
|
const maxAutomationsEntitlement = useDashboardSelector(selectEntitlementMaxAutomations);
|
|
32
32
|
const unlimitedAutomationsEntitlement = useDashboardSelector(selectEntitlementUnlimitedAutomations);
|
|
33
|
-
const
|
|
33
|
+
const automationsInvalidationId = useDashboardSelector(selectAutomationsInvalidationId);
|
|
34
34
|
const { returnFocusTo } = useScheduleEmailDialogAccessibility();
|
|
35
35
|
const maxAutomations = parseInt(maxAutomationsEntitlement?.value ?? DEFAULT_MAX_AUTOMATIONS, 10);
|
|
36
36
|
const maxAutomationsReached = automations.length >= maxAutomations && !unlimitedAutomationsEntitlement;
|
|
@@ -49,7 +49,7 @@ export function DefaultScheduledEmailManagementDialogContentEnhanced({ onAdd, on
|
|
|
49
49
|
externalRecipients: externalRecipientOverride
|
|
50
50
|
? [{ value: externalRecipientOverride }]
|
|
51
51
|
: undefined,
|
|
52
|
-
}, enableBulkActions: enableBulkActions, availableFilters: availableFilters, locale: locale,
|
|
52
|
+
}, enableBulkActions: enableBulkActions, availableFilters: availableFilters, locale: locale, externalInvalidationId: automationsInvalidationId, renderToolbarCustomElement: () => canCreateAutomation ? (_jsx(CreateButton, { onClick: onAdd, isDisabled: isAddButtonDisabled, label: intl.formatMessage({
|
|
53
53
|
id: messages.scheduleManagementCreateNew.id,
|
|
54
54
|
}), tooltipContent: maxAutomationsReached
|
|
55
55
|
? intl.formatMessage({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultScheduledEmailManagementDialogContentEnhanced.js","sourceRoot":"","sources":["../../../../src/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAA+B,MAAM,sBAAsB,CAAC;AAChF,OAAO,EACH,MAAM,EACN,cAAc,EACd,MAAM,EACN,SAAS,EAET,iBAAiB,EACjB,yBAAyB,EACzB,UAAU,EACV,SAAS,EACT,KAAK,GACR,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EACH,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,oBAAoB,EACpB,6BAA6B,EAC7B,+BAA+B,EAC/B,qCAAqC,EACrC,wBAAwB,EACxB,uBAAuB,EACvB,+BAA+B,EAC/B,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"DefaultScheduledEmailManagementDialogContentEnhanced.js","sourceRoot":"","sources":["../../../../src/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO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CAAC,EAC5C,IAAI,EAAC,gIAAgI,EACrI,SAAS,EAAC,yBAAyB,GACrC,CACL,EACD,cAAK,SAAS,EAAC,kBAAkB,YAC7B,KAAC,MAAM,IACH,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,oCAAoC,EAC9C,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,GAC5C,GACA,IACJ,IACkB,GACvB,CACZ,CAAC;AACN,CAAC;AAWD,SAAS,YAAY,CAAC,EAClB,OAAO,EACP,UAAU,EACV,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACF;IACjB,OAAO,CACH,KAAC,SAAS,IACN,gBAAgB,QAChB,MAAM,EACF,KAAC,MAAM,IACH,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,kBAAkB,EAC5B,mBAAmB,EAAE,mBAAmB,GAC1C,EAEN,QAAQ,EAAE,iBAAiB,EAC3B,SAAS,EAAE,CAAC,OAAO,CAAC,EACpB,OAAO,EAAE,cAAc,GACzB,CACL,CAAC;AACN,CAAC"}
|
|
@@ -7343,6 +7343,18 @@ export declare interface DateFilterValidationFailedPayload {
|
|
|
7343
7343
|
*/
|
|
7344
7344
|
export declare type DateFilterValidationResult = "TOO_MANY_CONFIGS" | "NO_CONFIG" | DateFilterConfigValidationResult;
|
|
7345
7345
|
|
|
7346
|
+
/**
|
|
7347
|
+
* @internal
|
|
7348
|
+
*/
|
|
7349
|
+
export declare type DeepReadonly<T> = T extends (infer R)[] ? ReadonlyArray<DeepReadonly<R>> : T extends Function ? T : T extends object ? DeepReadonlyObject<T> : T;
|
|
7350
|
+
|
|
7351
|
+
/**
|
|
7352
|
+
* @internal
|
|
7353
|
+
*/
|
|
7354
|
+
export declare type DeepReadonlyObject<T> = {
|
|
7355
|
+
readonly [P in keyof T]: DeepReadonly<T[P]>;
|
|
7356
|
+
};
|
|
7357
|
+
|
|
7346
7358
|
/**
|
|
7347
7359
|
* @alpha
|
|
7348
7360
|
* Default maximum number of automations.
|
|
@@ -7417,7 +7429,7 @@ export declare function DefaultDashboardAttributeFilterComponentSetFactory(attri
|
|
|
7417
7429
|
*
|
|
7418
7430
|
* @alpha
|
|
7419
7431
|
*/
|
|
7420
|
-
export declare function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, }: IDashboardDateFilterProps): ReactElement;
|
|
7432
|
+
export declare function DefaultDashboardDateFilter({ filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, tabId, }: IDashboardDateFilterProps): ReactElement;
|
|
7421
7433
|
|
|
7422
7434
|
/**
|
|
7423
7435
|
* @internal
|
|
@@ -9150,6 +9162,11 @@ export declare interface FilterViewsState {
|
|
|
9150
9162
|
*/
|
|
9151
9163
|
export declare type FluidLayoutCustomizationFn = (layout: IDashboardLayout<ExtendedDashboardWidget>, customizer: IFluidLayoutCustomizer) => void;
|
|
9152
9164
|
|
|
9165
|
+
/**
|
|
9166
|
+
* @beta
|
|
9167
|
+
*/
|
|
9168
|
+
export declare function formatKeyDriverAnalysisDateRange(range: DeepReadonly<[IKdaDataPoint, IKdaDataPoint]> | undefined, splitter: string): string;
|
|
9169
|
+
|
|
9153
9170
|
/**
|
|
9154
9171
|
* @internal
|
|
9155
9172
|
* Gets author from capabilities and user
|
|
@@ -10035,6 +10052,16 @@ export declare interface IDashboardAttributeFilterProps {
|
|
|
10035
10052
|
* Specifies the overlay position type for the attribute filter dropdown.
|
|
10036
10053
|
*/
|
|
10037
10054
|
overlayPositionType?: OverlayPositionType;
|
|
10055
|
+
/**
|
|
10056
|
+
* Optional tab identifier to read filter context from.
|
|
10057
|
+
* When provided, the filter will validate against filters from this specific tab.
|
|
10058
|
+
* When undefined, uses the active tab (default behavior).
|
|
10059
|
+
*
|
|
10060
|
+
* @remarks
|
|
10061
|
+
* This is primarily used in automation/scheduling contexts where filters from
|
|
10062
|
+
* multiple tabs need to be displayed simultaneously.
|
|
10063
|
+
*/
|
|
10064
|
+
tabId?: string;
|
|
10038
10065
|
}
|
|
10039
10066
|
|
|
10040
10067
|
/**
|
|
@@ -10810,6 +10837,18 @@ export declare interface IDashboardDateFilterProps {
|
|
|
10810
10837
|
* Specifies the overlay position type for the date filter dropdown.
|
|
10811
10838
|
*/
|
|
10812
10839
|
overlayPositionType?: OverlayPositionType;
|
|
10840
|
+
/**
|
|
10841
|
+
* Optional tab identifier to read filter context from.
|
|
10842
|
+
* When provided, the filter will use configuration from this specific tab.
|
|
10843
|
+
* When undefined, uses the active tab (default behavior).
|
|
10844
|
+
*
|
|
10845
|
+
* @remarks
|
|
10846
|
+
* This is primarily used in automation/scheduling contexts where filters from
|
|
10847
|
+
* multiple tabs need to be displayed simultaneously.
|
|
10848
|
+
*
|
|
10849
|
+
* @internal
|
|
10850
|
+
*/
|
|
10851
|
+
tabId?: string;
|
|
10813
10852
|
}
|
|
10814
10853
|
|
|
10815
10854
|
/**
|
|
@@ -20293,6 +20332,14 @@ export declare const selectAutomationFiltersByTab: DashboardSelector<IAutomation
|
|
|
20293
20332
|
*/
|
|
20294
20333
|
export declare const selectAutomationsError: DashboardSelector<GoodDataSdkError | undefined>;
|
|
20295
20334
|
|
|
20335
|
+
/**
|
|
20336
|
+
* Returns the invalidation ID for automations management.
|
|
20337
|
+
* When this value changes (and is not 0 or undefined), the Automations component should reload its data.
|
|
20338
|
+
*
|
|
20339
|
+
* @alpha
|
|
20340
|
+
*/
|
|
20341
|
+
export declare const selectAutomationsInvalidationId: DashboardSelector<number>;
|
|
20342
|
+
|
|
20296
20343
|
/**
|
|
20297
20344
|
* Returns workspace automations loading
|
|
20298
20345
|
*
|
|
@@ -21163,6 +21210,16 @@ export declare const selectEffectiveAttributeFiltersModeMap: DashboardSelector<M
|
|
|
21163
21210
|
*/
|
|
21164
21211
|
export declare const selectEffectiveDateFilterAvailableGranularities: DashboardSelector<DateFilterGranularity[]>;
|
|
21165
21212
|
|
|
21213
|
+
/**
|
|
21214
|
+
* Returns effective date filter available granularities for a specific tab.
|
|
21215
|
+
*
|
|
21216
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
21217
|
+
* @returns Available granularities for the specified tab
|
|
21218
|
+
*
|
|
21219
|
+
* @internal
|
|
21220
|
+
*/
|
|
21221
|
+
export declare const selectEffectiveDateFilterAvailableGranularitiesForTab: (tabLocalIdentifier: string) => DashboardSelector<DateFilterGranularity[]>;
|
|
21222
|
+
|
|
21166
21223
|
/**
|
|
21167
21224
|
* Returns effective date filter config. The effective date filter config is created by merging the workspace-level
|
|
21168
21225
|
* date filter config and the dashboard-level date filter config.
|
|
@@ -21173,6 +21230,16 @@ export declare const selectEffectiveDateFilterAvailableGranularities: DashboardS
|
|
|
21173
21230
|
*/
|
|
21174
21231
|
export declare const selectEffectiveDateFilterConfig: DashboardSelector<IDateFilterConfig>;
|
|
21175
21232
|
|
|
21233
|
+
/**
|
|
21234
|
+
* Returns effective date filter config for a specific tab.
|
|
21235
|
+
*
|
|
21236
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
21237
|
+
* @returns Effective date filter config for the specified tab
|
|
21238
|
+
*
|
|
21239
|
+
* @internal
|
|
21240
|
+
*/
|
|
21241
|
+
export declare const selectEffectiveDateFilterConfigForTab: (tabLocalIdentifier: string) => DashboardSelector<IDateFilterConfig | undefined>;
|
|
21242
|
+
|
|
21176
21243
|
/**
|
|
21177
21244
|
* Returns display mode for the effective date filter. This always comes from the dashboard-level date filter config overrides - regardless whether
|
|
21178
21245
|
* the rest of the overrides are actually used.
|
|
@@ -21191,6 +21258,16 @@ export declare const selectEffectiveDateFilterMode: DashboardSelector<DashboardD
|
|
|
21191
21258
|
*/
|
|
21192
21259
|
export declare const selectEffectiveDateFilterOptions: DashboardSelector<IDateFilterOptionsByType>;
|
|
21193
21260
|
|
|
21261
|
+
/**
|
|
21262
|
+
* Returns effective date filter options for a specific tab.
|
|
21263
|
+
*
|
|
21264
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
21265
|
+
* @returns Date filter options for the specified tab
|
|
21266
|
+
*
|
|
21267
|
+
* @internal
|
|
21268
|
+
*/
|
|
21269
|
+
export declare const selectEffectiveDateFilterOptionsForTab: (tabLocalIdentifier: string) => DashboardSelector<IDateFilterOptionsByType | undefined>;
|
|
21270
|
+
|
|
21194
21271
|
/**
|
|
21195
21272
|
* Get a map of date filter modes based on the current screen mode (edit or view).
|
|
21196
21273
|
*
|
|
@@ -21677,7 +21754,7 @@ export declare const selectFilterContextAttributeFilters: DashboardSelector<IDas
|
|
|
21677
21754
|
*
|
|
21678
21755
|
* @internal
|
|
21679
21756
|
*/
|
|
21680
|
-
export declare const
|
|
21757
|
+
export declare const selectFilterContextAttributeFiltersForTab: (tabLocalIdentifier: string) => DashboardSelector<IDashboardAttributeFilter[]>;
|
|
21681
21758
|
|
|
21682
21759
|
/**
|
|
21683
21760
|
* This selector returns dashboard's applied filter context date filter.
|
|
@@ -21711,6 +21788,16 @@ export declare const selectFilterContextDateFilterByDataSet: (dataSet: ObjRef) =
|
|
|
21711
21788
|
*/
|
|
21712
21789
|
export declare const selectFilterContextDateFilterByDataSetForTab: (dataSet: ObjRef, tabLocalIdentifier: string) => DashboardSelector<IDashboardDateFilter | undefined>;
|
|
21713
21790
|
|
|
21791
|
+
/**
|
|
21792
|
+
* Returns the common date filter for a specific tab.
|
|
21793
|
+
*
|
|
21794
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
21795
|
+
* @returns Common date filter for the specified tab, or undefined if not found
|
|
21796
|
+
*
|
|
21797
|
+
* @internal
|
|
21798
|
+
*/
|
|
21799
|
+
export declare const selectFilterContextDateFilterForTab: (tabLocalIdentifier: string) => DashboardSelector<IDashboardDateFilter | undefined>;
|
|
21800
|
+
|
|
21714
21801
|
/**
|
|
21715
21802
|
* This selector returns dashboard's applied filter context date filter with dimension specified.
|
|
21716
21803
|
*
|
|
@@ -21866,6 +21953,16 @@ export declare const selectFiltersByTab: ((state: DashboardState) => Record<stri
|
|
|
21866
21953
|
memoize: weakMapMemoize;
|
|
21867
21954
|
};
|
|
21868
21955
|
|
|
21956
|
+
/**
|
|
21957
|
+
* Returns filters for a specific tab.
|
|
21958
|
+
*
|
|
21959
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
21960
|
+
* @returns Filters for the specified tab
|
|
21961
|
+
*
|
|
21962
|
+
* @internal
|
|
21963
|
+
*/
|
|
21964
|
+
export declare const selectFiltersForTab: (tabLocalIdentifier: string) => DashboardSelector<FilterContextItem[]>;
|
|
21965
|
+
|
|
21869
21966
|
/**
|
|
21870
21967
|
* This selector returns array of filter localIds that have invalid selections.
|
|
21871
21968
|
*
|
|
@@ -22120,6 +22217,17 @@ export declare const selectIsApplyFiltersAllAtOnceEnabledAndSet: DashboardSelect
|
|
|
22120
22217
|
*/
|
|
22121
22218
|
export declare const selectIsAttributeFilterDependentByLocalIdentifier: (attributeFilterLocalIdentifier: string) => DashboardSelector<boolean>;
|
|
22122
22219
|
|
|
22220
|
+
/**
|
|
22221
|
+
* Returns information whether attribute filter from a specific tab's filter context has some dependencies.
|
|
22222
|
+
*
|
|
22223
|
+
* @param attributeFilterLocalIdentifier - Filter local identifier
|
|
22224
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
22225
|
+
* @returns True if the filter has dependencies, false otherwise
|
|
22226
|
+
*
|
|
22227
|
+
* @internal
|
|
22228
|
+
*/
|
|
22229
|
+
export declare const selectIsAttributeFilterDependentByLocalIdentifierForTab: (attributeFilterLocalIdentifier: string, tabLocalIdentifier: string) => DashboardSelector<boolean>;
|
|
22230
|
+
|
|
22123
22231
|
/**
|
|
22124
22232
|
* @internal
|
|
22125
22233
|
*/
|
|
@@ -23168,6 +23276,16 @@ export declare const selectWidgetsOverlayState: (refs: (ObjRef | undefined)[]) =
|
|
|
23168
23276
|
*/
|
|
23169
23277
|
export declare const selectWorkingFilterContextAttributeFilters: DashboardSelector<IDashboardAttributeFilter[]>;
|
|
23170
23278
|
|
|
23279
|
+
/**
|
|
23280
|
+
* Returns working attribute filters for a specific tab.
|
|
23281
|
+
*
|
|
23282
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
23283
|
+
* @returns Working attribute filters for the specified tab
|
|
23284
|
+
*
|
|
23285
|
+
* @internal
|
|
23286
|
+
*/
|
|
23287
|
+
export declare const selectWorkingFilterContextAttributeFiltersForTab: (tabLocalIdentifier: string) => DashboardSelector<IDashboardAttributeFilter[]>;
|
|
23288
|
+
|
|
23171
23289
|
/**
|
|
23172
23290
|
* This selector returns dashboard's working filter context date filter.
|
|
23173
23291
|
*
|
|
@@ -23179,6 +23297,16 @@ export declare const selectWorkingFilterContextAttributeFilters: DashboardSelect
|
|
|
23179
23297
|
*/
|
|
23180
23298
|
export declare const selectWorkingFilterContextDateFilter: DashboardSelector<IDashboardDateFilter | undefined>;
|
|
23181
23299
|
|
|
23300
|
+
/**
|
|
23301
|
+
* Returns the working common date filter for a specific tab.
|
|
23302
|
+
*
|
|
23303
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
23304
|
+
* @returns Working common date filter for the specified tab, or undefined if not found
|
|
23305
|
+
*
|
|
23306
|
+
* @internal
|
|
23307
|
+
*/
|
|
23308
|
+
export declare const selectWorkingFilterContextDateFilterForTab: (tabLocalIdentifier: string) => DashboardSelector<IDashboardDateFilter | undefined>;
|
|
23309
|
+
|
|
23182
23310
|
/**
|
|
23183
23311
|
* This selector returns dashboard's working filter context date filter with dimension specified.
|
|
23184
23312
|
*
|
|
@@ -23190,6 +23318,16 @@ export declare const selectWorkingFilterContextDateFilter: DashboardSelector<IDa
|
|
|
23190
23318
|
*/
|
|
23191
23319
|
export declare const selectWorkingFilterContextDateFiltersWithDimension: DashboardSelector<IDashboardDateFilter[]>;
|
|
23192
23320
|
|
|
23321
|
+
/**
|
|
23322
|
+
* Returns working date filters with dimension for a specific tab.
|
|
23323
|
+
*
|
|
23324
|
+
* @param tabLocalIdentifier - Tab local identifier
|
|
23325
|
+
* @returns Working date filters with dimension for the specified tab
|
|
23326
|
+
*
|
|
23327
|
+
* @internal
|
|
23328
|
+
*/
|
|
23329
|
+
export declare const selectWorkingFilterContextDateFiltersWithDimensionForTab: (tabLocalIdentifier: string) => DashboardSelector<IDashboardDateFilter[]>;
|
|
23330
|
+
|
|
23193
23331
|
/**
|
|
23194
23332
|
* This selector returns current working dashboard's filter context definition.
|
|
23195
23333
|
*
|
|
@@ -24791,7 +24929,6 @@ export declare const uiActions: {
|
|
|
24791
24929
|
changeIgnoreExecutionTimestamp: ActionCreatorWithPayload<boolean, "uiSlice/changeIgnoreExecutionTimestamp">;
|
|
24792
24930
|
setIncompatibleDefaultFiltersOverrideMessage: ActionCreatorWithoutPayload<"uiSlice/setIncompatibleDefaultFiltersOverrideMessage">;
|
|
24793
24931
|
resetIncompatibleDefaultFiltersOverrideMessage: ActionCreatorWithoutPayload<"uiSlice/resetIncompatibleDefaultFiltersOverrideMessage">;
|
|
24794
|
-
setAutomationsInvalidateCallback: ActionCreatorWithOptionalPayload<(() => void) | undefined, "uiSlice/setAutomationsInvalidateCallback">;
|
|
24795
24932
|
invalidateAutomationItems: ActionCreatorWithoutPayload<"uiSlice/invalidateAutomationItems">;
|
|
24796
24933
|
};
|
|
24797
24934
|
|
|
@@ -24819,7 +24956,7 @@ export declare interface UiState {
|
|
|
24819
24956
|
context?: IAlertDialogContext;
|
|
24820
24957
|
};
|
|
24821
24958
|
automationsManagement: {
|
|
24822
|
-
|
|
24959
|
+
invalidationId: number;
|
|
24823
24960
|
};
|
|
24824
24961
|
saveAsDialog: {
|
|
24825
24962
|
open: boolean;
|
|
@@ -24883,11 +25020,6 @@ export declare interface UiState {
|
|
|
24883
25020
|
/** @internal */
|
|
24884
25021
|
draggingWidgetTriggeringDropZoneType: DropZoneType | undefined;
|
|
24885
25022
|
widgetsOverlay: Record<string, IDashboardWidgetOverlay>;
|
|
24886
|
-
/**
|
|
24887
|
-
* Ref to invalidate automations list - gets populated by Automations component when it mounts
|
|
24888
|
-
* @alpha
|
|
24889
|
-
*/
|
|
24890
|
-
automationsInvalidateRef?: () => void;
|
|
24891
25023
|
}
|
|
24892
25024
|
|
|
24893
25025
|
/**
|
|
@@ -25155,18 +25287,6 @@ export declare interface UpsertExecutionResult extends IDashboardCommand {
|
|
|
25155
25287
|
*/
|
|
25156
25288
|
export declare function useAutomationAvailableDashboardFilters(): FilterContextItem[] | undefined;
|
|
25157
25289
|
|
|
25158
|
-
/**
|
|
25159
|
-
* Provides a callback to dispatch with the invalidation callback function.
|
|
25160
|
-
* The callback is populated by the Automations component
|
|
25161
|
-
* so it can be invoked from anywhere in the dashboard.
|
|
25162
|
-
*
|
|
25163
|
-
* @returns A callback to dispatch with the invalidation function
|
|
25164
|
-
* @alpha
|
|
25165
|
-
*/
|
|
25166
|
-
export declare const useAutomationsInvalidateRef: () => {
|
|
25167
|
-
onInvalidateCallbackChange: (callback: (() => void) | undefined) => void;
|
|
25168
|
-
};
|
|
25169
|
-
|
|
25170
25290
|
/**
|
|
25171
25291
|
* @internal
|
|
25172
25292
|
*/
|
|
@@ -25687,10 +25807,11 @@ export declare function useMinimalSizeValidation(minimalWidth?: number, minimalH
|
|
|
25687
25807
|
* Returns parent filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter} for particular dashboard attribute filter.
|
|
25688
25808
|
*
|
|
25689
25809
|
* @param filter - dashboard filter to get the parent filter-related data
|
|
25810
|
+
* @param tabId - optional tab identifier to read filter context from a specific tab instead of the active one
|
|
25690
25811
|
*
|
|
25691
25812
|
* @public
|
|
25692
25813
|
*/
|
|
25693
|
-
export declare const useParentFilters: (filter: IDashboardAttributeFilter) => UseParentFiltersResult;
|
|
25814
|
+
export declare const useParentFilters: (filter: IDashboardAttributeFilter, tabId?: string) => UseParentFiltersResult;
|
|
25694
25815
|
|
|
25695
25816
|
/**
|
|
25696
25817
|
* Result of the {@link useParentFilters} hook, that can be used as parent filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter}.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.13.0-alpha.
|
|
3
|
+
"version": "11.13.0-alpha.3",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"ts-invariant": "^0.7.5",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "^11.1.0",
|
|
63
|
-
"@gooddata/sdk-backend-base": "11.13.0-alpha.
|
|
64
|
-
"@gooddata/sdk-model": "11.13.0-alpha.
|
|
65
|
-
"@gooddata/sdk-backend-spi": "11.13.0-alpha.
|
|
66
|
-
"@gooddata/sdk-ui": "11.13.0-alpha.
|
|
67
|
-
"@gooddata/sdk-ui
|
|
68
|
-
"@gooddata/sdk-ui-ext": "11.13.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-filters": "11.13.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-geo": "11.13.0-alpha.
|
|
71
|
-
"@gooddata/sdk-ui-kit": "11.13.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-pivot": "11.13.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-theme-provider": "11.13.0-alpha.
|
|
74
|
-
"@gooddata/
|
|
75
|
-
"@gooddata/
|
|
63
|
+
"@gooddata/sdk-backend-base": "11.13.0-alpha.3",
|
|
64
|
+
"@gooddata/sdk-model": "11.13.0-alpha.3",
|
|
65
|
+
"@gooddata/sdk-backend-spi": "11.13.0-alpha.3",
|
|
66
|
+
"@gooddata/sdk-ui-charts": "11.13.0-alpha.3",
|
|
67
|
+
"@gooddata/sdk-ui": "11.13.0-alpha.3",
|
|
68
|
+
"@gooddata/sdk-ui-ext": "11.13.0-alpha.3",
|
|
69
|
+
"@gooddata/sdk-ui-filters": "11.13.0-alpha.3",
|
|
70
|
+
"@gooddata/sdk-ui-geo": "11.13.0-alpha.3",
|
|
71
|
+
"@gooddata/sdk-ui-kit": "11.13.0-alpha.3",
|
|
72
|
+
"@gooddata/sdk-ui-pivot": "11.13.0-alpha.3",
|
|
73
|
+
"@gooddata/sdk-ui-theme-provider": "11.13.0-alpha.3",
|
|
74
|
+
"@gooddata/util": "11.13.0-alpha.3",
|
|
75
|
+
"@gooddata/sdk-ui-vis-commons": "11.13.0-alpha.3"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"typescript": "5.8.3",
|
|
119
119
|
"vitest": "3.2.4",
|
|
120
120
|
"vitest-dom": "0.1.1",
|
|
121
|
-
"@gooddata/eslint-config": "11.13.0-alpha.
|
|
122
|
-
"@gooddata/i18n-toolkit": "11.13.0-alpha.
|
|
123
|
-
"@gooddata/reference-workspace": "11.13.0-alpha.
|
|
124
|
-
"@gooddata/sdk-backend-mockingbird": "11.13.0-alpha.
|
|
121
|
+
"@gooddata/eslint-config": "11.13.0-alpha.3",
|
|
122
|
+
"@gooddata/i18n-toolkit": "11.13.0-alpha.3",
|
|
123
|
+
"@gooddata/reference-workspace": "11.13.0-alpha.3",
|
|
124
|
+
"@gooddata/sdk-backend-mockingbird": "11.13.0-alpha.3"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
127
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provides a callback to dispatch with the invalidation callback function.
|
|
3
|
-
* The callback is populated by the Automations component
|
|
4
|
-
* so it can be invoked from anywhere in the dashboard.
|
|
5
|
-
*
|
|
6
|
-
* @returns A callback to dispatch with the invalidation function
|
|
7
|
-
* @alpha
|
|
8
|
-
*/
|
|
9
|
-
export declare const useAutomationsInvalidateRef: () => {
|
|
10
|
-
onInvalidateCallbackChange: (callback: (() => void) | undefined) => void;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useAutomationsInvalidateRef.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAutomationsInvalidateRef.d.ts","sourceRoot":"","sources":["../../../src/model/react/useAutomationsInvalidateRef.ts"],"names":[],"mappings":"AAOA;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B;2CAIrB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;CAa1C,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// (C) 2025 GoodData Corporation
|
|
2
|
-
import { useCallback, useEffect } from "react";
|
|
3
|
-
import { useDashboardDispatch } from "./DashboardStoreProvider.js";
|
|
4
|
-
import { uiActions } from "../store/ui/index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Provides a callback to dispatch with the invalidation callback function.
|
|
7
|
-
* The callback is populated by the Automations component
|
|
8
|
-
* so it can be invoked from anywhere in the dashboard.
|
|
9
|
-
*
|
|
10
|
-
* @returns A callback to dispatch with the invalidation function
|
|
11
|
-
* @alpha
|
|
12
|
-
*/
|
|
13
|
-
export const useAutomationsInvalidateRef = () => {
|
|
14
|
-
const dispatch = useDashboardDispatch();
|
|
15
|
-
const onInvalidateCallbackChange = useCallback((callback) => {
|
|
16
|
-
dispatch(uiActions.setAutomationsInvalidateCallback(callback));
|
|
17
|
-
}, [dispatch]);
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
return () => {
|
|
20
|
-
dispatch(uiActions.setAutomationsInvalidateCallback(undefined));
|
|
21
|
-
};
|
|
22
|
-
}, [dispatch]);
|
|
23
|
-
return { onInvalidateCallbackChange };
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=useAutomationsInvalidateRef.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAutomationsInvalidateRef.js","sourceRoot":"","sources":["../../../src/model/react/useAutomationsInvalidateRef.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,EAAE;IAC5C,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,0BAA0B,GAAG,WAAW,CAC1C,CAAC,QAAkC,EAAE,EAAE;QACnC,QAAQ,CAAC,SAAS,CAAC,gCAAgC,CAAC,QAAQ,CAAC,CAAC,CAAC;IACnE,CAAC,EACD,CAAC,QAAQ,CAAC,CACb,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,OAAO,GAAG,EAAE;YACR,QAAQ,CAAC,SAAS,CAAC,gCAAgC,CAAC,SAAS,CAAC,CAAC,CAAC;QACpE,CAAC,CAAC;IACN,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,EAAE,0BAA0B,EAAE,CAAC;AAC1C,CAAC,CAAC"}
|