@gooddata/sdk-ui-dashboard 11.68.0-alpha.8 → 11.68.0-alpha.9
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 +50 -50
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/automation/index.js +4 -4
- package/esm/_staging/catalog/computedAttributes.d.ts.map +1 -1
- package/esm/_staging/catalog/computedAttributes.js +2 -2
- package/esm/_staging/dateFilterConfig/merge.d.ts.map +1 -1
- package/esm/_staging/dateFilterConfig/merge.js +2 -2
- package/esm/_staging/dateFilterConfig/validation.d.ts.map +1 -1
- package/esm/_staging/dateFilterConfig/validation.js +2 -3
- package/esm/kdaDialog/components/KdaKeyDriverChart.d.ts.map +1 -1
- package/esm/kdaDialog/components/KdaKeyDriverChart.js +1 -2
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +4 -5
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +2 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +2 -2
- package/esm/model/commandHandlers/drill/assertSafeDrillUrl.d.ts +4 -0
- package/esm/model/commandHandlers/drill/assertSafeDrillUrl.d.ts.map +1 -0
- package/esm/model/commandHandlers/drill/assertSafeDrillUrl.js +8 -0
- package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.js +2 -0
- package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.js +2 -0
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js +4 -3
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -2
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +6 -7
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +3 -2
- package/esm/model/commandHandlers/parameters/dashboardParameterRoots.d.ts.map +1 -1
- package/esm/model/commandHandlers/parameters/dashboardParameterRoots.js +3 -3
- package/esm/model/commandHandlers/parameters/parameterDependenciesWorker.d.ts.map +1 -1
- package/esm/model/commandHandlers/parameters/parameterDependenciesWorker.js +2 -2
- package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.js +2 -2
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +4 -5
- package/esm/model/commandHandlers/widgets/validation/filterValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/validation/filterValidation.js +2 -3
- package/esm/model/queryServices/queryInsightAttributesMeta.js +3 -3
- package/esm/model/queryServices/queryInsightDateDatasets.d.ts.map +1 -1
- package/esm/model/queryServices/queryInsightDateDatasets.js +2 -3
- package/esm/model/store/_infra/queryService.d.ts.map +1 -1
- package/esm/model/store/_infra/queryService.js +4 -3
- package/esm/model/store/_infra/selectors.d.ts.map +1 -1
- package/esm/model/store/_infra/selectors.js +3 -3
- package/esm/model/store/config/configSelectors.d.ts +0 -6
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +0 -8
- package/esm/model/store/drillTargets/drillTargetsSelectors.d.ts.map +1 -1
- package/esm/model/store/drillTargets/drillTargetsSelectors.js +2 -2
- package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.js +2 -2
- package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/layout/layoutSelectors.js +2 -3
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +2 -3
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +5 -6
- package/esm/model/utils/alertsUtils.d.ts.map +1 -1
- package/esm/model/utils/alertsUtils.js +2 -2
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +1 -1
- package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.js +2 -2
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +2 -2
- package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +4 -3
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +2 -2
- package/esm/presentation/automations/shared/utils/automationUtils.js +4 -4
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +2 -7
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +3 -3
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +3 -4
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +2 -2
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +3 -3
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
- package/esm/presentation/insightEditor/filterContext/filterIntersection.d.ts.map +1 -1
- package/esm/presentation/insightEditor/filterContext/filterIntersection.js +3 -3
- package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
- package/esm/presentation/insightList/InsightList.js +2 -9
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +5 -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 +5 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +5 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +5 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +5 -0
- package/esm/presentation/localization/translations.d.ts.map +1 -1
- package/esm/presentation/localization/translations.js +2 -3
- package/esm/presentation/widget/common/configuration/DateDatasetDropdown.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js +2 -2
- package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +2 -2
- package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts.map +1 -1
- package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js +1 -2
- package/package.json +24 -23
- package/styles/css/configurationPanel.css +2 -8
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css +8 -3
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +10 -11
- package/styles/css/main.css.map +1 -1
- package/styles/css/scheduled_mail_recipients.css +8 -3
- package/styles/css/scheduled_mail_recipients.css.map +1 -1
- package/styles/scss/configurationPanel.scss +2 -12
- package/styles/scss/scheduled_mail_recipients.scss +15 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parametersSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersSelectors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parametersSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersSelectors.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EAExB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,cAAc,EAMtB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAQxD,OAAO,EAEH,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAsB/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,KAAK,wBAAwB,EAGhC,MAAM,sBAAsB,CAAC;AAgC9B;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAAE,iBAAiB,CAAC,mBAAmB,EAAE,CAG9E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAO9F,CAAC;AAEP;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,CAG/E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,wBAAwB,EAAE,CAGzF,CAAC;AAYF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,mBAAmB,EAAE,GAAG,SAAS,CAGvF,CAAC;AAEN;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,iBAAiB,CAAC,mBAAmB,EAAE,GAAG,SAAS,CAG9F,CAAC;AAEN;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,2BAA2B,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,iBAAiB,CAAC,qBAAqB,EAAE,CAuB/F,CAAC;AAEN;;;;;GAKG;AACH,eAAO,MAAM,2CAA2C,EAAE,CACtD,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,mBAAmB,EAAE,CAe3C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,+BAA+B,EAAE,CAC1C,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,KAC9B,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,CAuBjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,yBAAyB,EAAE,CAI1F,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,CAAC,CAoBpG,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { createSelector } from "@reduxjs/toolkit";
|
|
3
|
-
import { uniq } from "lodash-es";
|
|
4
3
|
import { areObjRefsEqual, insightRef, isInsightWidget, isWidget, objRefToString, } from "@gooddata/sdk-model";
|
|
5
|
-
import { _isEqual } from "@gooddata/util";
|
|
4
|
+
import { _isEqual, _uniq } from "@gooddata/util";
|
|
6
5
|
import { createMemoizedSelector } from "../../_infra/selectors.js";
|
|
7
6
|
import { selectCatalogParameterByRef, selectCatalogParameterDependencies, selectCatalogParameters, selectCatalogParametersIsLoaded, } from "../../catalog/catalogSelectors.js";
|
|
8
7
|
import { selectEnableParameters, selectEnableStringParameters } from "../../config/configSelectors.js";
|
|
@@ -433,7 +432,7 @@ export const selectExportEffectiveParameters = createMemoizedSelector((widgetIds
|
|
|
433
432
|
return EMPTY_EXPORT_PARAMETERS_BY_TAB;
|
|
434
433
|
}
|
|
435
434
|
const scopedTabs = widgetIds?.length
|
|
436
|
-
?
|
|
435
|
+
? _uniq(widgetContexts
|
|
437
436
|
.filter((ctx) => widgetIds.includes(ctx.widget.identifier))
|
|
438
437
|
.map((ctx) => ctx.tab))
|
|
439
438
|
: (tabs ?? []);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widgetDrillSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/widgetDrills/widgetDrillSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,KAAK,oBAAoB,EAEzB,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAE1B,KAAK,mBAAmB,EAExB,KAAK,QAAQ,EACb,KAAK,MAAM,EAcd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,aAAa,EAGlB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACxB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,4CAA4C,EACpD,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"widgetDrillSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/widgetDrills/widgetDrillSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,KAAK,oBAAoB,EAEzB,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAE1B,KAAK,mBAAmB,EAExB,KAAK,QAAQ,EACb,KAAK,MAAM,EAcd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,aAAa,EAGlB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACxB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,4CAA4C,E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essibleDashboardsLoaded, selectAccessibleDashboardsMap, } from "../accessibleDashboards/accessibleDashboardsSelectors.js";
|
|
11
11
|
import { selectBackendCapabilities, selectSupportsAttributeHierarchies, selectSupportsCrossFiltering, } from "../backendCapabilities/backendCapabilitiesSelectors.js";
|
|
12
12
|
import { selectAllCatalogAttributesMap, selectAllCatalogDisplayFormsMap, selectAttributesWithDisplayFormLink, selectAttributesWithHierarchyDescendants, selectCatalogDateAttributes, selectCatalogIsLoaded, selectDrillableAttributeHierarchies, } from "../catalog/catalogSelectors.js";
|
|
13
|
-
import { selectDisableDefaultDrills, selectEnableDashboardPartialRendering, selectEnableDrillToUrlByDefault,
|
|
13
|
+
import { selectDisableDefaultDrills, selectEnableDashboardPartialRendering, selectEnableDrillToUrlByDefault, selectEnableSecondGranularities, selectIsDisabledCrossFiltering, selectIsDisabledKda, selectIsEmbedded, } from "../config/configSelectors.js";
|
|
14
14
|
import { selectDrillableItems } from "../drill/drillSelectors.js";
|
|
15
15
|
import { selectDrillTargetsByWidgetRef } from "../drillTargets/drillTargetsSelectors.js";
|
|
16
16
|
import { selectInsightByWidgetRef, selectInsightsMap } from "../insights/insightsSelectors.js";
|
|
@@ -275,9 +275,8 @@ const selectCrossFilteringByWidgetRef = createMemoizedSelector((ref) => createSe
|
|
|
275
275
|
predicates: [...attributePredicates, ...measurePredicates],
|
|
276
276
|
};
|
|
277
277
|
}));
|
|
278
|
-
const selectKdaByWidgetRef = createMemoizedSelector((ref) => createSelector(selectCanUseAiAssistant,
|
|
279
|
-
if (!
|
|
280
|
-
!canUseAiAssistant ||
|
|
278
|
+
const selectKdaByWidgetRef = createMemoizedSelector((ref) => createSelector(selectCanUseAiAssistant, selectEnableSecondGranularities, selectDrillTargetsByWidgetRef(ref), selectDisableDashboardKda, selectIsDisabledKda, selectDrillableItems, selectCatalogDateAttributes, selectInsightByWidgetRef(ref), (canUseAiAssistant, enableSecondGranularities, availableDrillTargets, disableKda, disableKdaByConfig, drillableItems, dateAttributes, widgetInsight) => {
|
|
279
|
+
if (!canUseAiAssistant ||
|
|
281
280
|
disableKda ||
|
|
282
281
|
disableKdaByConfig ||
|
|
283
282
|
// When some drillable items are present, we need to disable
|
|
@@ -376,7 +375,7 @@ export const selectImplicitDrillsToUrlByWidgetRef = createMemoizedSelector((ref)
|
|
|
376
375
|
/**
|
|
377
376
|
* @internal
|
|
378
377
|
*/
|
|
379
|
-
export const selectConfiguredDrillsByWidgetRef = createMemoizedSelector((ref) => createSelector(selectWidgetDrills(ref), selectDisableDefaultDrills, selectIsEmbedded, selectDisableDashboardCrossFiltering, selectIsDisabledCrossFiltering, selectCanUseAiAssistant,
|
|
378
|
+
export const selectConfiguredDrillsByWidgetRef = createMemoizedSelector((ref) => createSelector(selectWidgetDrills(ref), selectDisableDefaultDrills, selectIsEmbedded, selectDisableDashboardCrossFiltering, selectIsDisabledCrossFiltering, selectCanUseAiAssistant, selectDisableDashboardKda, selectIsDisabledKda, (drills = [], disableDefaultDrills, isEmbedded, disableCrossFiltering, disableCrossFilteringByConfig, canUseAiAssistant, disableKda, disableKdaByConfig) => {
|
|
380
379
|
if (disableDefaultDrills) {
|
|
381
380
|
return [];
|
|
382
381
|
}
|
|
@@ -395,7 +394,7 @@ export const selectConfiguredDrillsByWidgetRef = createMemoizedSelector((ref) =>
|
|
|
395
394
|
return !disableCrossFiltering && !disableCrossFilteringByConfig;
|
|
396
395
|
}
|
|
397
396
|
else if (drillType === "keyDriveAnalysis") {
|
|
398
|
-
return
|
|
397
|
+
return canUseAiAssistant && !disableKda && !disableKdaByConfig;
|
|
399
398
|
}
|
|
400
399
|
else {
|
|
401
400
|
const unhandledType = drillType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertsUtils.d.ts","sourceRoot":"","sources":["../../../src/model/utils/alertsUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alertsUtils.d.ts","sourceRoot":"","sources":["../../../src/model/utils/alertsUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAQd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAE1E;;;;;;;;;;;GAWG;AACH,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,sBAAsB,GAAG,SAAS,EACzC,GAAG,EAAE,iBAAiB,EACtB,cAAc,EAAE,OAAO,EAAE,EACzB,eAAe,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC/D,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACvC,2BAA2B,EAAE,CAqE/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { partition } from "lodash-es";
|
|
3
2
|
import { invariant } from "ts-invariant";
|
|
4
3
|
import { areObjRefsEqual, filterObjRef, isAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterReference, isDashboardDateFilter, isDashboardDateFilterReference, } from "@gooddata/sdk-model";
|
|
4
|
+
import { _partition } from "@gooddata/util";
|
|
5
5
|
/**
|
|
6
6
|
* Gets the information about the so called broken alert filters. These are filters that are set up on the alert,
|
|
7
7
|
* but the currently applied filters either do not contain them, or the KPI has started ignoring them
|
|
@@ -21,7 +21,7 @@ export function getBrokenAlertFiltersBasicInfo(alert, kpi, appliedFilters, displ
|
|
|
21
21
|
return [];
|
|
22
22
|
}
|
|
23
23
|
const result = [];
|
|
24
|
-
const [alertDateFilters, alertNonDateFilters] =
|
|
24
|
+
const [alertDateFilters, alertNonDateFilters] = _partition(alertFilters, isDashboardDateFilter);
|
|
25
25
|
const alertAttributeFilters = alertNonDateFilters.filter(isDashboardAttributeFilter);
|
|
26
26
|
// attribute filters
|
|
27
27
|
const appliedAttributeFilters = appliedFilters.filter(isAttributeFilter);
|
package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertingDialogFieldLabelWithTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,YAAY,CAAC;AAI/E;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,EAChD,KAAK,EACL,OAAO,GACV,EAAE;IACC,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC9B,
|
|
1
|
+
{"version":3,"file":"AlertingDialogFieldLabelWithTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,YAAY,CAAC;AAI/E;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,EAChD,KAAK,EACL,OAAO,GACV,EAAE;IACC,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC9B,2CA0BA"}
|
|
@@ -9,5 +9,5 @@ import { UiIconButton, UiTooltip } from "@gooddata/sdk-ui-kit";
|
|
|
9
9
|
*/
|
|
10
10
|
export function AlertingDialogFieldLabelWithTooltip({ label, tooltip, }) {
|
|
11
11
|
const intl = useIntl();
|
|
12
|
-
return (_jsxs("
|
|
12
|
+
return (_jsxs("span", { className: "gd-dashboard-alerting-dialog-form-field__content-container-tooltip", children: [_jsx(FormattedMessage, { ...label }), _jsx("span", { className: "gd-dashboard-alerting-dialog-form-field__label-tooltip-icon", children: _jsx(UiTooltip, { component: "span", inlineAnchor: true, anchor: _jsx(UiIconButton, { icon: "question", variant: "tertiary", size: "xxsmall", accessibilityConfig: { ariaLabel: intl.formatMessage(label) } }), content: _jsx(FormattedMessage, { ...tooltip }), arrowPlacement: "left", optimalPlacement: true, offset: 10, triggerBy: ["hover", "click"] }) })] }));
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitizeAutomationForSave.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/sanitizeAutomationForSave.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sanitizeAutomationForSave.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/sanitizeAutomationForSave.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EAG3C,MAAM,qBAAqB,CAAC;AAG7B;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,yBAAyB,GAAG,yBAAyB,CAAC;AAC5G,wBAAgB,yBAAyB,CACrC,UAAU,EAAE,mCAAmC,GAChD,mCAAmC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
|
-
import { omit } from "lodash-es";
|
|
3
2
|
import { isAllValuesAttributeFilter, } from "@gooddata/sdk-model";
|
|
3
|
+
import { _omit } from "@gooddata/util";
|
|
4
4
|
export function sanitizeAutomationForSave(automation) {
|
|
5
5
|
let sanitized = { ...automation };
|
|
6
6
|
if (sanitized.schedule) {
|
|
7
|
-
sanitized.schedule =
|
|
7
|
+
sanitized.schedule = _omit(sanitized.schedule, ["cronDescription"]);
|
|
8
8
|
}
|
|
9
9
|
if (sanitized.alert?.execution?.filters) {
|
|
10
10
|
sanitized = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
import { useCallback, useRef, useState } from "react";
|
|
3
|
-
import { omit } from "lodash-es";
|
|
4
3
|
import { useIntl } from "react-intl";
|
|
5
4
|
import { isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
|
|
5
|
+
import { _omit } from "@gooddata/util";
|
|
6
6
|
import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
|
|
7
7
|
import { useScheduledExportDraft } from "./ScheduledExportDraftContext.js";
|
|
8
8
|
/**
|
|
@@ -99,7 +99,7 @@ function sanitizeAutomation(automationToSave, intl) {
|
|
|
99
99
|
// We want to omit the cronDescription as it is a variable created on backend that cannot
|
|
100
100
|
// be overriden and BE has hard time handling it with each PUT
|
|
101
101
|
if (automation.schedule) {
|
|
102
|
-
automation.schedule =
|
|
102
|
+
automation.schedule = _omit(automation.schedule, ["cronDescription"]);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Remove noop filters from export definitions before saving to backend.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useValidateExistingAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,qCAAqC,EAE1C,KAAK,iBAAiB,EAEtB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,OAAO,EAEZ,KAAK,QAAQ,EACb,KAAK,wBAAwB,EAmBhC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useValidateExistingAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,qCAAqC,EAE1C,KAAK,iBAAiB,EAEtB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,E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,CAAC,CAAC;IAC/E,sBAAsB,EAAE,4BAA4B,EAAE,CAAC;IACvD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,qCAAqC,GAAG,SAAS,CAAC,CAAC,CAAC;CAC1G,GAAG,2BAA2B,CAsE9B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2025-2026 GoodData Corporation
|
|
2
|
-
import { differenceBy
|
|
2
|
+
import { differenceBy } from "lodash-es";
|
|
3
3
|
import { DashboardParameterModeValues, dashboardFilterLocalIdentifier, filterContextItemsToDashboardFiltersByWidget, filterLocalIdentifier, isAllDashboardMeasureValueFilter, isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isAttributeFilter, isAttributeFilterWithSelection, isDashboardAttributeFilter, isDashboardCommonDateFilter, isDateFilter, isInsightWidget, isLocalIdRef, isNegativeAttributeFilter, isPositiveAttributeFilter, isRelativeDateFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
|
|
4
|
+
import { _omit } from "@gooddata/util";
|
|
4
5
|
import { decodeParameterWireValue, getAutomationAlertParameters, getAutomationExportParametersByTab, } from "../../../../../_staging/automation/index.js";
|
|
5
6
|
import { isFilterTypeCompatibleWithSelectionType } from "../../../../../model/utils/attributeFilterSelectionTypeCompatibility.js";
|
|
6
7
|
import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
|
|
@@ -12,8 +13,8 @@ function sanitizeCommonDateFilter(filter, commonDateFilterId) {
|
|
|
12
13
|
// Sanitize common date filters by removing date dataSet
|
|
13
14
|
if (isDateFilter(filter) && filterLocalIdentifier(filter) === commonDateFilterId) {
|
|
14
15
|
return isRelativeDateFilter(filter)
|
|
15
|
-
?
|
|
16
|
-
:
|
|
16
|
+
? _omit(filter, "relativeDateFilter.dataSet")
|
|
17
|
+
: _omit(filter, "absoluteDateFilter.dataSet");
|
|
17
18
|
}
|
|
18
19
|
return filter;
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAA0C,MAAM,OAAO,CAAC;AAItF,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EAEnC,KAAK,MAAM,EACd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAuFxF;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,cAAc,EAAE,iBAAiB,EAAE,CAAC;IACpC,6EAA6E;IAC7E,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iEAAiE;IACjE,eAAe,EAAE,OAAO,CAAC;IACzB,kCAAkC;IAClC,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,2DAA2D;IAC3D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,8DAA8D;IAC9D,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,sFAAsF;IACtF,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,4DAA4D;IAC5D,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,4CAA4C;IAC5C,gBAAgB,EAAE,+BAA+B,EAAE,CAA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G,SAAS;mCAsBpD,MAAM,kBAAkB,iBAAiB;gCAkBtC,MAAM,eACA,MAAM,cACP,iBAAiB,EAAE,gBACjB,mBAAmB,EAAE;8CAgC/B,MAAM;sCAgBN,OAAO;;sCAgBF,iBAAiB,GAAG,cAAc,GAAG,IAAI,sBAC9B,gBAAgB,CAAC,WAAW,CAAC;CAwC5D,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2025-2026 GoodData Corporation
|
|
2
2
|
import { useCallback, useMemo, useRef, useState } from "react";
|
|
3
|
-
import { partition } from "lodash-es";
|
|
4
3
|
import { useIntl } from "react-intl";
|
|
4
|
+
import { _partition } from "@gooddata/util";
|
|
5
5
|
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
6
6
|
import { applyFilterChange, getCatalogAttributesByFilters, getCatalogDateDatasetsByFilters, getCatalogMeasuresByFilters, getFilterTitle, getNonHiddenFilters, getNonSelectedFilters, removeFilterFrom, resolveFilterToAdd, resolveTabFilterToAdd, } from "./utils.js";
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ import { applyFilterChange, getCatalogAttributesByFilters, getCatalogDateDataset
|
|
|
10
10
|
*/
|
|
11
11
|
function computeVisibleFilters(selectedFilters, context) {
|
|
12
12
|
const nonHiddenFilters = getNonHiddenFilters(selectedFilters, context.attributeConfigs, context.dateConfigs, context.mvfConfigs, context.isCommonDateFilterHidden, context.disableDateFilters);
|
|
13
|
-
const [restrictedFilters, visibleFilters] =
|
|
13
|
+
const [restrictedFilters, visibleFilters] = _partition(nonHiddenFilters, context.isFilterRestricted);
|
|
14
14
|
return { visibleFilters, restrictedFilters };
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2024-2026 GoodData Corporation
|
|
2
|
-
import {
|
|
2
|
+
import { pick } from "lodash-es";
|
|
3
3
|
import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilter, isFilterContextItem, } from "@gooddata/sdk-model";
|
|
4
|
-
import { _isEqual } from "@gooddata/util";
|
|
4
|
+
import { _isEqual, _omit } from "@gooddata/util";
|
|
5
5
|
export const isDashboardAutomation = (automation) => {
|
|
6
6
|
if (!automation) {
|
|
7
7
|
return false;
|
|
@@ -87,8 +87,8 @@ export const getAutomationAlertFilters = (automation) => {
|
|
|
87
87
|
};
|
|
88
88
|
const sortByFormat = (a, b) => a.requestPayload.format.localeCompare(b.requestPayload.format);
|
|
89
89
|
export const areAutomationsEqual = (originalAutomation, updatedAutomation) => {
|
|
90
|
-
const automationWithoutExportDefinitions =
|
|
91
|
-
const origAutomationWithoutExportDefinitions =
|
|
90
|
+
const automationWithoutExportDefinitions = _omit(updatedAutomation, "exportDefinitions");
|
|
91
|
+
const origAutomationWithoutExportDefinitions = _omit(originalAutomation, "exportDefinitions");
|
|
92
92
|
// We only want to compare requestPayload and title of exportDefinitions, rest may be omitted as it is just arbitrary
|
|
93
93
|
// metadata that is not relevant for the comparison and causes false positive results when comparing new and old def.
|
|
94
94
|
// Sorting is done just to avoid false positive result of different order of export definitions.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableInsightListCore.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DraggableInsightListCore.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAMvE,wBAAgB,wBAAwB,CAAC,EACrC,oCAAoC,EACpC,QAAQ,EACR,GAAG,cAAc,EACpB,EAAE,iBAAiB,2CA0EnB"}
|
package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2022-2026 GoodData Corporation
|
|
3
3
|
import { useState } from "react";
|
|
4
|
-
import cx from "classnames";
|
|
5
4
|
import { insightCreated, insightIsLocked, insightSummary, insightTitle, insightUpdated, insightVisualizationType, } from "@gooddata/sdk-model";
|
|
6
5
|
import { InsightListItem } from "@gooddata/sdk-ui-kit";
|
|
7
6
|
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
@@ -23,7 +22,7 @@ export function DraggableInsightListCore({ WrapInsightListItemWithDragComponent,
|
|
|
23
22
|
const { LoadingComponent } = useDashboardComponentsContext();
|
|
24
23
|
const [insightToDelete, setInsightToDelete] = useState(undefined);
|
|
25
24
|
const [deletedRefs, setDeletedRefs] = useState([]);
|
|
26
|
-
return (_jsxs(_Fragment, { children: [insightToDelete ? (_jsx(DeleteInsightDialog, { insight: insightToDelete, onClose: () => setInsightToDelete(undefined), onDeleted: (ref) => setDeletedRefs((refs) => [...refs, ref]) })) : null, _jsx(InsightList, { ...remainingProps, disabled: disabled, includePermissions: shouldLoadInsightPermissionsForDelete(settings, permissions), excludeRefs: deletedRefs, renderItem: ({ item: insight, width
|
|
25
|
+
return (_jsxs(_Fragment, { children: [insightToDelete ? (_jsx(DeleteInsightDialog, { insight: insightToDelete, onClose: () => setInsightToDelete(undefined), onDeleted: (ref) => setDeletedRefs((refs) => [...refs, ref]) })) : null, _jsx(InsightList, { ...remainingProps, disabled: disabled, includePermissions: shouldLoadInsightPermissionsForDelete(settings, permissions), excludeRefs: deletedRefs, renderItem: ({ item: insight, width }) => {
|
|
27
26
|
if (!insight) {
|
|
28
27
|
return _jsx(InsightListItem, { isLoading: true });
|
|
29
28
|
}
|
|
@@ -31,17 +30,13 @@ export function DraggableInsightListCore({ WrapInsightListItemWithDragComponent,
|
|
|
31
30
|
return _jsx(InsightListDivider, {});
|
|
32
31
|
}
|
|
33
32
|
const visualizationType = insightVisualizationType(insight);
|
|
34
|
-
const classNames = cx("gd-visualizations-list-item-wrap", {
|
|
35
|
-
"is-first": isFirst,
|
|
36
|
-
"is-last": isLast,
|
|
37
|
-
});
|
|
38
33
|
const description = insightSummary(insight)?.trim();
|
|
39
34
|
const eventPayload = {
|
|
40
35
|
from: "insight",
|
|
41
36
|
type: "inherit",
|
|
42
37
|
description,
|
|
43
38
|
};
|
|
44
|
-
return (_jsx(DraggableInsightListItemWrapper, { WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, title: insightTitle(insight), description: description, showDescriptionPanel: true, type: visualizationType, width: width, className:
|
|
39
|
+
return (_jsx(DraggableInsightListItemWrapper, { WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, title: insightTitle(insight), description: description, showDescriptionPanel: true, type: visualizationType, width: width, className: "gd-visualizations-list-item-wrap", updated: insightUpdated(insight) ?? insightCreated(insight), isLocked: insightIsLocked(insight), insight: insight, onDescriptionPanelOpen: () => {
|
|
45
40
|
userInteraction.descriptionTooltipOpened(eventPayload);
|
|
46
41
|
}, metadataTimeZone: settings?.metadataTimeZone, useReferences: true, restrictedReferences: restrictedReferences, LoadingComponent: LoadingComponent, disabled: disabled, onDelete: !disabled &&
|
|
47
42
|
!insight.isRelated &&
|
|
@@ -3,12 +3,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useCallback, useMemo, useState } from "react";
|
|
4
4
|
import { HighlightStyle, StreamLanguage, syntaxHighlighting } from "@codemirror/language";
|
|
5
5
|
import { Tag } from "@lezer/highlight";
|
|
6
|
-
import { escapeRegExp
|
|
6
|
+
import { escapeRegExp } from "lodash-es";
|
|
7
7
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
8
8
|
import { dashboardAttributeFilterItemToAttributeFilter, filterObjRef, insightFilters as insightDefinitionFilters, isArbitraryAttributeFilter, isAttributeFilter, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isPositiveAttributeFilter, objRefToString, serializeObjRef, } from "@gooddata/sdk-model";
|
|
9
9
|
import { attributeIdentifierToPlaceholder, dashboardAttributeFilterToPlaceholder, displayFormPlaceholderRef, insightAttributeFilterToPlaceholder, parameterIdentifierToPlaceholder, } from "@gooddata/sdk-model/internal";
|
|
10
10
|
import { ConfirmDialogBase, DefaultSyntaxHighlightingInput, FullScreenOverlay, Overlay, OverlayController, OverlayControllerProvider, useMediaQuery, } from "@gooddata/sdk-ui-kit";
|
|
11
|
-
import { _compact } from "@gooddata/util";
|
|
11
|
+
import { _compact, _uniqBy } from "@gooddata/util";
|
|
12
12
|
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
13
13
|
import { selectAllCatalogDisplayFormsMap, selectAllCatalogMeasuresMap, } from "../../../../model/store/catalog/catalogSelectors.js";
|
|
14
14
|
import { selectEnableMeasureValueFilterKD, selectIsWhiteLabeled, } from "../../../../model/store/config/configSelectors.js";
|
|
@@ -309,7 +309,7 @@ function useSanitizedInsightFilters(widgetRef) {
|
|
|
309
309
|
return undefined;
|
|
310
310
|
}
|
|
311
311
|
// Date filters are currently not supported, so filter them out
|
|
312
|
-
return
|
|
312
|
+
return _uniqBy(insightDefinitionFilters(insight)
|
|
313
313
|
.filter(isAttributeFilter)
|
|
314
314
|
.map(sanitizeAttributeFilter)
|
|
315
315
|
.filter(isAttributeFilter), // filter out undefined values (eg. filters with removed display forms)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrillSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrillSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,YAAY,CAAC;AAGrD,OAAO,EACH,KAAK,mC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OAAO,CAAC;CACvC,KAAG,gBAAgB,EA2JnB,CAAC"}
|
|
@@ -2,13 +2,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2020-2026 GoodData Corporation
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
4
4
|
import stringify from "json-stable-stringify";
|
|
5
|
-
import { groupBy, uniqBy } from "lodash-es";
|
|
6
5
|
import { useIntl } from "react-intl";
|
|
7
6
|
import { invariant } from "ts-invariant";
|
|
8
7
|
import { areObjRefsEqual, insightTitle, isAttributeDescriptor, isCrossFiltering, isDrillFromAttribute, isDrillToAttributeUrl, isDrillToCustomUrl, isDrillToDashboard, isDrillToInsight, isDrillToLegacyDashboard, isIdentifierRef, isInsightWidget, isKeyDriveAnalysis, objRefToString, } from "@gooddata/sdk-model";
|
|
9
8
|
import { UnexpectedSdkError } from "@gooddata/sdk-ui";
|
|
10
9
|
import { Overlay, UiFocusManager, UiMenu } from "@gooddata/sdk-ui-kit";
|
|
11
|
-
import { _compact } from "@gooddata/util";
|
|
10
|
+
import { _compact, _groupBy, _uniqBy } from "@gooddata/util";
|
|
12
11
|
import { getDrillOriginLocalIdentifier } from "../../../_staging/drills/drillingUtils.js";
|
|
13
12
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
14
13
|
import { selectAccessibleDashboards } from "../../../model/store/accessibleDashboards/accessibleDashboardsSelectors.js";
|
|
@@ -101,7 +100,7 @@ export function DrillSelectDropdown({ isOpen, dropDownAnchorClass, onClose, onCl
|
|
|
101
100
|
attributeDisplayForms,
|
|
102
101
|
enableSecondGranularities,
|
|
103
102
|
]);
|
|
104
|
-
const grouped =
|
|
103
|
+
const grouped = _groupBy(drillSelectItems, (item) => {
|
|
105
104
|
switch (item.type) {
|
|
106
105
|
case DrillType.DRILL_DOWN:
|
|
107
106
|
return "drillDown";
|
|
@@ -354,7 +353,7 @@ export const createDrillSelectItems = ({ drillDefinitions, drillEvent, insights,
|
|
|
354
353
|
* It let other types of drill definitions as it is.
|
|
355
354
|
*/
|
|
356
355
|
function deduplicateDrillIntoUrlItems(drillDefinitions) {
|
|
357
|
-
return
|
|
356
|
+
return _uniqBy(drillDefinitions, (drillDefinition) => {
|
|
358
357
|
if (!isDrillToAttributeUrl(drillDefinition)) {
|
|
359
358
|
return drillDefinition;
|
|
360
359
|
}
|
package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AttributesDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.tsx"],"names":[],"mappings":"AAOA,OAAO,EAGH,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,EAAE,KAAK,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAS7E,OAAO,EACH,KAAK,iBAAiB,EAIzB,MAAM,gCAAgC,CAAC;AAwDxC;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,yCAAyC;IACvF,0FAA0F;IAC1F,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACjC,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AA6BD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,EAAE,EACF,SAAS,EACT,aAAa,EACb,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,QAAa,EACb,UAAiB,EACjB,uBAAkD,EAClD,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,UAAe,EACf,iBAAiB,GACpB,EAAE,wBAAwB,2CAyT1B"}
|
|
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2007-2026 GoodData Corporation
|
|
3
3
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
import { debounce } from "lodash-es";
|
|
6
5
|
import { useIntl } from "react-intl";
|
|
7
6
|
import { isCatalogAttribute, isCatalogMeasure, } from "@gooddata/sdk-model";
|
|
8
7
|
import { Dropdown, DropdownList, SingleSelectListItem, UiIcon, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
import { _debounce } from "@gooddata/util";
|
|
9
9
|
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
10
10
|
import { selectSupportsMultipleDateFilters } from "../../../../model/store/backendCapabilities/backendCapabilitiesSelectors.js";
|
|
11
11
|
import { selectEnableMeasureValueFilterKD } from "../../../../model/store/config/configSelectors.js";
|
|
@@ -107,7 +107,7 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
107
107
|
const insightWidgets = useDashboardSelector(selectAllInsightWidgets);
|
|
108
108
|
const shouldDisplayLocationIcon = useMemo(() => isLocationIconEnabled(insightWidgets, insightsMap), [insightWidgets, insightsMap]);
|
|
109
109
|
// oxlint-disable-next-line react-hooks/exhaustive-deps
|
|
110
|
-
const onSearch = useCallback(
|
|
110
|
+
const onSearch = useCallback(_debounce((query) => {
|
|
111
111
|
setSearchQuery(query);
|
|
112
112
|
}, 250), []);
|
|
113
113
|
const onDropdownStateChange = useCallback((isOpen) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { useCallback, useMemo } from "react";
|
|
3
|
-
import { difference
|
|
3
|
+
import { difference } from "lodash-es";
|
|
4
4
|
import { generateDateFilterLocalIdentifier } from "@gooddata/sdk-backend-base";
|
|
5
5
|
import { dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMeasureValueFilter, isNoopAllTimeDashboardDateFilter, newAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
6
6
|
import { useToastMessage } from "@gooddata/sdk-ui-kit";
|
|
7
|
-
import { _isEqual } from "@gooddata/util";
|
|
7
|
+
import { _isEqual, _partition } from "@gooddata/util";
|
|
8
8
|
import { messages } from "../../../../locales.js";
|
|
9
9
|
import { changeFilterContextSelectionByParams, removeAttributeFilters, resetFilterContextWorkingSelection, } from "../../../../model/commands/filters.js";
|
|
10
10
|
import { changeParameterValues } from "../../../../model/commands/parameters.js";
|
|
@@ -156,7 +156,7 @@ export const useResetFiltersButton = () => {
|
|
|
156
156
|
// keep user-modified filters; only the cross-filter cleanup branch runs below.
|
|
157
157
|
if (willResetFilterContext && userFilterResetAllowed) {
|
|
158
158
|
// Normalize filters to include "All time" date filter
|
|
159
|
-
const [[commonDateFilter], otherFilters] =
|
|
159
|
+
const [[commonDateFilter], otherFilters] = _partition(originalFilters, isDashboardCommonDateFilter);
|
|
160
160
|
if (isApplyAllAtOnceEnabledAndSet) {
|
|
161
161
|
dispatch(resetFilterContextWorkingSelection());
|
|
162
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFiltersWithAddedPlaceholder.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFiltersWithAddedPlaceholder.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,MAAM,EASd,MAAM,qBAAqB,C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AAW,EAAE,qBAAqB,CAAC;IACnC,OAAO,EAAE,aAAa,EAAE,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,CAAC,EAAE,aAAa,uCAEhE;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GACnB,0BAA0B,GAC1B,+BAA+B,GAC/B,0BAA0B,GAC1B,kCAAkC,GAClC,yBAAyB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,aAAa,EAAE,CAAC;AAYtD;;GAEG;AACH,wBAAgB,8BAA8B,CAC1C,OAAO,EAAE,iBAAiB,EAAE,EAC5B,cAAc,CAAC,EAAE,iBAAiB,EAAE,GACrC;IACC;QACI,gBAAgB,EAAE,oBAAoB,CAAC;QACvC,uBAAuB,CAAC,EAAE,oBAAoB,CAAC;QAC/C,+BAA+B,EAAE,uBAAuB,CAAC;QACzD,qBAAqB,EAAE,MAAM,CAAC;QAC9B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;KACtC;IACD;QACI,6BAA6B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACvD,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,4BAA4B,KAAK,IAAI,CAAC;QAC3F,uBAAuB,EAAE,MAAM,IAAI,CAAC;QACpC,sBAAsB,EAAE,MAAM,IAAI,CAAC;KACtC;CACJ,CA2OA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2021-2026 GoodData Corporation
|
|
2
2
|
import { useCallback, useMemo, useState } from "react";
|
|
3
|
-
import { partition } from "lodash-es";
|
|
4
3
|
import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardFilterObjRef, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, } from "@gooddata/sdk-model";
|
|
4
|
+
import { _partition } from "@gooddata/util";
|
|
5
5
|
import { addAttributeFilter as addAttributeFilterAction, addDateFilter as addDateFilterAction, addMeasureValueFilter as addMeasureValueFilterAction, } from "../../../model/commands/filters.js";
|
|
6
6
|
import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
7
7
|
import { dispatchAndWaitFor } from "../../../model/store/_infra/dispatchAndWaitFor.js";
|
|
@@ -59,11 +59,11 @@ export function useFiltersWithAddedPlaceholder(filters, workingFilters) {
|
|
|
59
59
|
const allAttributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
60
60
|
const dateDatasetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
|
|
61
61
|
const commonWorkingDateFilter = workingFilters?.find(isDashboardCommonDateFilter);
|
|
62
|
-
const [draggableFilters, nonDraggableFilters] =
|
|
62
|
+
const [draggableFilters, nonDraggableFilters] = _partition(filters, isNotDashboardCommonDateFilter);
|
|
63
63
|
// nonDraggableFilters may contain new filter types (arbitrary, match) alongside the common date filter.
|
|
64
64
|
// Use a cast since TypeScript cannot narrow FilterContextItem exclusions through .find().
|
|
65
65
|
const commonDateFilter = nonDraggableFilters.find((f) => isDashboardCommonDateFilter(f));
|
|
66
|
-
const [dateFiltersWithDimensions, attributeFilters] =
|
|
66
|
+
const [dateFiltersWithDimensions, attributeFilters] = _partition(draggableFilters, isDashboardDateFilterWithDimension);
|
|
67
67
|
const [selectedDisplayForm, setSelectedDisplayForm] = useState();
|
|
68
68
|
const [autoOpenFilter, setAutoOpenFilter] = useState();
|
|
69
69
|
const addedAttributeFilter = useMemo(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterIntersection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/insightEditor/filterContext/filterIntersection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filterIntersection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/insightEditor/filterContext/filterIntersection.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,wBAAwB,IAAI,6BAA6B,EAC9D,KAAK,wBAAwB,IAAI,6BAA6B,EAGjE,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEH,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAUhC,MAAM,qBAAqB,CAAC;AAS7B,wBAAgB,wCAAwC,CACpD,kBAAkB,EAAE,wBAAwB,EAC5C,kBAAkB,EAAE,6BAA6B,GAClD,6BAA6B,CAiC/B;AAED,wBAAgB,yCAAyC,CACrD,kBAAkB,EAAE,6BAA6B,EACjD,kBAAkB,EAAE,wBAAwB,GAC7C,6BAA6B,CA0B/B;AACD,wBAAgB,gBAAgB,CAC5B,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,6BAA6B,GAAG,6BAA6B,GACjF,6BAA6B,GAAG,6BAA6B,CA+D/D;AAED,wBAAgB,0BAA0B,CACtC,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,6BAA6B,GAAG,6BAA6B,GACjF,OAAO,CAsDT"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import { uniq } from "lodash-es";
|
|
3
2
|
import { isNegativeAttributeFilter as isEmbedNegativeAttributeFilter, isPositiveAttributeFilter as isEmbedPositiveAttributeFilter, } from "@gooddata/sdk-embedding";
|
|
4
3
|
import { filterAttributeElements, filterIsEmpty, isAttributeElementsByRef, isAttributeElementsByValue, isNegativeAttributeFilter, isObjRef, isPositiveAttributeFilter, newNegativeAttributeFilter, newPositiveAttributeFilter, } from "@gooddata/sdk-model";
|
|
4
|
+
import { _uniq } from "@gooddata/util";
|
|
5
5
|
// The embedding API types the element lists as strings. The null element (an empty value) passes
|
|
6
6
|
// through as it is.
|
|
7
7
|
function elementIds(elements) {
|
|
@@ -68,7 +68,7 @@ export function intersectFilters(insightAttrFilter, attrFilterContext) {
|
|
|
68
68
|
return {
|
|
69
69
|
negativeAttributeFilter: {
|
|
70
70
|
displayForm: attrFilterContext.negativeAttributeFilter.displayForm,
|
|
71
|
-
notIn:
|
|
71
|
+
notIn: _uniq(elementIds(attributeElements).concat(attrFilterContext.negativeAttributeFilter.notIn)),
|
|
72
72
|
},
|
|
73
73
|
};
|
|
74
74
|
}
|
|
@@ -91,7 +91,7 @@ export function intersectFilters(insightAttrFilter, attrFilterContext) {
|
|
|
91
91
|
return {
|
|
92
92
|
negativeAttributeFilter: {
|
|
93
93
|
displayForm: attrFilterContext.negativeAttributeFilter.displayForm,
|
|
94
|
-
notIn:
|
|
94
|
+
notIn: _uniq(elementIds(attributeElements).concat(attrFilterContext.negativeAttributeFilter.notIn)),
|
|
95
95
|
},
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightList.d.ts","sourceRoot":"","sources":["../../../src/presentation/insightList/InsightList.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,QAAQ,EAUhB,MAAM,qBAAqB,CAAC;AAmC7B,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"InsightList.d.ts","sourceRoot":"","sources":["../../../src/presentation/insightList/InsightList.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,QAAQ,EAUhB,MAAM,qBAAqB,CAAC;AAmC7B,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,YAAY,CAAC;AAMzE,UAAU,gBAAgB;IACtB,OAAO,EAAE,QAAQ,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,QAAQ,GAAG,gBAAgB,CAO5E;AAsCD;;GAEG;AACH,wBAAgB,WAAW,CAAC,EACxB,MAAM,EACN,KAAkB,EAClB,eAAe,EACf,UAAU,EACV,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,WAAW,GACd,EAAE,iBAAiB,2CA0OnB"}
|
|
@@ -24,6 +24,7 @@ import { useDashboardComponentsContext } from "../dashboardContexts/DashboardCom
|
|
|
24
24
|
import { DIVIDER, InsightListDivider } from "./InsightListDivider.js";
|
|
25
25
|
import { InsightListNoData } from "./InsightListNoData.js";
|
|
26
26
|
const ITEM_HEIGHT = 40;
|
|
27
|
+
const LIST_PADDING = 10;
|
|
27
28
|
const LIST_WIDTH = 229;
|
|
28
29
|
export function getInsightListSourceItem(insight) {
|
|
29
30
|
const insightType = insightVisualizationType(insight);
|
|
@@ -128,14 +129,6 @@ export function InsightList({ height, width = LIST_WIDTH, searchAutofocus, rende
|
|
|
128
129
|
}
|
|
129
130
|
prevInsightListLastUpdateRequestedRef.current = insightListLastUpdateRequested;
|
|
130
131
|
}, [insightListLastUpdateRequested, refreshItems]);
|
|
131
|
-
const itemHeightGetter = (index) => {
|
|
132
|
-
// Modify item heights for first/last item so that their hover states don't overlap.
|
|
133
|
-
// Also @see styles and keep this value in sync with what's in css styles
|
|
134
|
-
// for is-first and is-last in visualization items in the list
|
|
135
|
-
const firstLastItemMargin = 10;
|
|
136
|
-
const isFirstOrLast = totalInsightsCount ? index === 0 || index === totalInsightsCount - 1 : false;
|
|
137
|
-
return isFirstOrLast ? ITEM_HEIGHT + firstLastItemMargin : ITEM_HEIGHT;
|
|
138
|
-
};
|
|
139
132
|
const eventDispatch = useDashboardEventDispatch();
|
|
140
133
|
const dispatch = useDashboardDispatch();
|
|
141
134
|
const isInsightEditingEnabled = useDashboardSelector(selectEnableInsightEditing);
|
|
@@ -155,7 +148,7 @@ export function InsightList({ height, width = LIST_WIDTH, searchAutofocus, rende
|
|
|
155
148
|
const dropdownListLoading = isLoading && pagedInsights.length === 0;
|
|
156
149
|
const showDropdownListTabs = initialLoadCompleted && !search;
|
|
157
150
|
const showNoDataCreateButton = (allowCreateInsightRequest || isInsightEditingEnabled) && canCreateVisualization;
|
|
158
|
-
return (_jsx(DropdownList, { width: width, height: dropdownListHeight, isMobile: false, isLoading: dropdownListLoading, showSearch: initialLoadCompleted, searchString: search, searchFieldSize: "small", searchPlaceholder: intl.formatMessage({ id: "search_insights" }), onSearch: onSearch, disableAutofocus: !searchAutofocus, showTabs: showDropdownListTabs, tabs: backend.capabilities.supportsOwners && author ? dropdownTabsTranslationIds : undefined, selectedTabId: selectedTabId, onTabSelect: onTabSelect, itemHeight: ITEM_HEIGHT,
|
|
151
|
+
return (_jsx(DropdownList, { width: width, height: dropdownListHeight, isMobile: false, isLoading: dropdownListLoading, showSearch: initialLoadCompleted, searchString: search, searchFieldSize: "small", searchPlaceholder: intl.formatMessage({ id: "search_insights" }), onSearch: onSearch, disableAutofocus: !searchAutofocus, showTabs: showDropdownListTabs, tabs: backend.capabilities.supportsOwners && author ? dropdownTabsTranslationIds : undefined, selectedTabId: selectedTabId, onTabSelect: onTabSelect, itemHeight: ITEM_HEIGHT, listPadding: LIST_PADDING, items: insights, itemsCount: totalItems, body: () => {
|
|
159
152
|
if (!isLoading && pagedInsights.length === 0 && searchRelatedItems.length > 0) {
|
|
160
153
|
return (_jsx(InsightListNoData, { isUserInsights: selectedTabId === messages.tabsMy.id, hasNoMatchingData: true, showNoDataCreateButton: showNoDataCreateButton, onCreateButtonClick: createInsightRequestedEvent }));
|
|
161
154
|
}
|
|
@@ -594,6 +594,7 @@ export declare const de_DE: {
|
|
|
594
594
|
"configurationPanel.drillIntoUrl.editor.addParameterButtonLabel": string;
|
|
595
595
|
"configurationPanel.drillIntoUrl.editor.parameterDetailType": string;
|
|
596
596
|
"configurationPanel.drillIntoUrl.editor.parameterDetailLabel": string;
|
|
597
|
+
"configurationPanel.drillIntoUrl.editor.parameterDetailIdentifier": string;
|
|
597
598
|
"configurationPanel.drillIntoUrl.editor.parameterDetailValues": string;
|
|
598
599
|
"configurationPanel.drillIntoUrl.editor.parameterDetailMoreValues": string;
|
|
599
600
|
"configurationPanel.drillIntoUrl.editor.insightIdParameterLabel": string;
|
|
@@ -604,9 +605,13 @@ export declare const de_DE: {
|
|
|
604
605
|
"configurationPanel.drillIntoUrl.editor.widgetIdParameterLabel": string;
|
|
605
606
|
"configurationPanel.drillIntoUrl.editor.dashboardIdParameterLabel": string;
|
|
606
607
|
"configurationPanel.drillIntoUrl.editor.identifierTypeLabel": string;
|
|
608
|
+
"configurationPanel.drillIntoUrl.editor.numberParameterTypeLabel": string;
|
|
609
|
+
"configurationPanel.drillIntoUrl.editor.stringParameterTypeLabel": string;
|
|
607
610
|
"configurationPanel.drillIntoUrl.editor.insightParametersSectionLabel": string;
|
|
608
611
|
"configurationPanel.drillIntoUrl.editor.identifierParametersSectionLabel": string;
|
|
609
612
|
"configurationPanel.drillIntoUrl.editor.dashboardParametersSectionLabel": string;
|
|
613
|
+
"configurationPanel.drillIntoUrl.editor.parameterParametersSectionLabel": string;
|
|
614
|
+
"configurationPanel.drillIntoUrl.editor.parameterParametersSectionEmpty": string;
|
|
610
615
|
"configurationPanel.drillIntoUrl.editor.applyButtonLabel": string;
|
|
611
616
|
"configurationPanel.drillIntoUrl.editor.cancelButtonLabel": string;
|
|
612
617
|
"configurationPanel.drillIntoUrl.editor.textAreaPlaceholder": string;
|