@gooddata/sdk-ui-dashboard 11.56.0-alpha.6 → 11.56.0-alpha.8
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 +1 -1
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/catalog/computedAttributes.d.ts +43 -0
- package/esm/_staging/catalog/computedAttributes.d.ts.map +1 -0
- package/esm/_staging/catalog/computedAttributes.js +93 -0
- package/esm/_staging/catalog/displayFormMap.d.ts +3 -2
- package/esm/_staging/catalog/displayFormMap.d.ts.map +1 -1
- package/esm/_staging/catalog/displayFormMap.js +9 -3
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.js +11 -1
- package/esm/index.d.ts +9 -5
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +7 -3
- package/esm/kdaDialog/composition/hooks/useKdaValidAttributes.js +2 -2
- package/esm/kdaDialog/dialog/hooks/useValidAttributes.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/hooks/useValidAttributes.js +21 -6
- package/esm/kdaDialog/hooks/useAttribute.d.ts.map +1 -1
- package/esm/kdaDialog/hooks/useAttribute.js +16 -8
- package/esm/locales.d.ts +3 -0
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +3 -0
- package/esm/model/commandHandlers/dashboard/common/loadAvailableDisplayFormRefs.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadAvailableDisplayFormRefs.js +15 -6
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +2 -3
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +26 -17
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadCatalog.d.ts +6 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadCatalog.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadCatalog.js +37 -4
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts +7 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +15 -3
- package/esm/model/commandHandlers/filterContext/attributeFilter/validation/filterDisplayFormValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/validation/filterDisplayFormValidation.js +10 -3
- package/esm/model/commandHandlers/filterContext/attributeFilter/validation/uniqueFiltersValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/validation/uniqueFiltersValidation.js +24 -14
- package/esm/model/commandHandlers/scheduledEmail/createScheduledEmailHandler.js +2 -2
- package/esm/model/commandHandlers/scheduledEmail/saveScheduledEmailHandler.js +2 -2
- package/esm/model/commandHandlers/widgets/attributeHierarchyModifiedHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/attributeHierarchyModifiedHandler.js +6 -0
- package/esm/model/commandHandlers/widgets/exportInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/exportInsightWidgetHandler.js +2 -2
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +2 -2
- package/esm/model/queries/base.d.ts +1 -1
- package/esm/model/queries/base.d.ts.map +1 -1
- package/esm/model/queries/base.js +1 -1
- package/esm/model/queries/computedAttributeExpression.d.ts +27 -0
- package/esm/model/queries/computedAttributeExpression.d.ts.map +1 -0
- package/esm/model/queries/computedAttributeExpression.js +21 -0
- package/esm/model/queries/connectedAttributes.d.ts +19 -1
- package/esm/model/queries/connectedAttributes.d.ts.map +1 -1
- package/esm/model/queries/connectedAttributes.js +3 -1
- package/esm/model/queries/index.d.ts +2 -1
- package/esm/model/queries/index.d.ts.map +1 -1
- package/esm/model/queryServices/index.d.ts +1 -1
- package/esm/model/queryServices/index.d.ts.map +1 -1
- package/esm/model/queryServices/index.js +2 -0
- package/esm/model/queryServices/queryAttributeByDisplayForm.d.ts.map +1 -1
- package/esm/model/queryServices/queryAttributeByDisplayForm.js +12 -3
- package/esm/model/queryServices/queryAttributeDataset.d.ts.map +1 -1
- package/esm/model/queryServices/queryAttributeDataset.js +9 -1
- package/esm/model/queryServices/queryComputedAttributeExpression.d.ts +4 -0
- package/esm/model/queryServices/queryComputedAttributeExpression.d.ts.map +1 -0
- package/esm/model/queryServices/queryComputedAttributeExpression.js +17 -0
- package/esm/model/queryServices/queryConnectedAttributes.d.ts.map +1 -1
- package/esm/model/queryServices/queryConnectedAttributes.js +20 -5
- package/esm/model/queryServices/queryInsightAttributesMeta.d.ts.map +1 -1
- package/esm/model/queryServices/queryInsightAttributesMeta.js +20 -11
- package/esm/model/react/useIsWidgetRestricted.d.ts +9 -0
- package/esm/model/react/useIsWidgetRestricted.d.ts.map +1 -0
- package/esm/model/react/useIsWidgetRestricted.js +14 -0
- package/esm/model/store/catalog/catalogReducers.d.ts +2 -1
- package/esm/model/store/catalog/catalogReducers.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogReducers.js +2 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts +21 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +26 -2
- package/esm/model/store/catalog/catalogState.d.ts +8 -1
- package/esm/model/store/catalog/catalogState.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogState.js +1 -0
- package/esm/model/store/config/configSelectors.d.ts +11 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +13 -0
- package/esm/model/store/insights/insightsSelectors.js +3 -3
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js +8 -4
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +8 -0
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -1
- package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +8 -0
- package/esm/model/utils/displayFormResolver.d.ts.map +1 -1
- package/esm/model/utils/displayFormResolver.js +11 -1
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
- package/esm/plugins/customizationApis/insightCustomizer.d.ts +4 -2
- package/esm/plugins/customizationApis/insightCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/insightCustomizer.js +43 -3
- package/esm/plugins/customizer.d.ts +14 -1
- package/esm/plugins/customizer.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/AlertingDialog.d.ts +2 -0
- package/esm/presentation/automations/alerting/AlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/AlertingDialog.js +12 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +1 -1
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.js +23 -58
- package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.d.ts +33 -0
- package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.js +61 -0
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +3 -17
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +3 -52
- package/esm/presentation/automations/alerting/state/useAlertFormState.js +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +2 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +1 -1
- package/esm/presentation/automations/scheduledEmail/ScheduledEmailDialog.d.ts +3 -1
- package/esm/presentation/automations/scheduledEmail/ScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/ScheduledEmailDialog.js +13 -3
- package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +2 -5
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +22 -40
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +14 -3
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDraftFilterWrites.d.ts +27 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDraftFilterWrites.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDraftFilterWrites.js +142 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.d.ts +4 -6
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.js +9 -151
- package/esm/presentation/automations/shared/filters/conversions.d.ts +4 -0
- package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
- package/esm/presentation/automations/shared/filters/conversions.js +28 -24
- package/esm/presentation/automations/shared/hooks/useDecoratorContractCheck.d.ts +16 -0
- package/esm/presentation/automations/shared/hooks/useDecoratorContractCheck.d.ts.map +1 -0
- package/esm/presentation/automations/shared/hooks/useDecoratorContractCheck.js +38 -0
- package/esm/presentation/automations/shared/hooks/useShallowStable.d.ts +10 -0
- package/esm/presentation/automations/shared/hooks/useShallowStable.d.ts.map +1 -0
- package/esm/presentation/automations/shared/hooks/useShallowStable.js +18 -0
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +17 -4
- package/esm/presentation/dashboard/DashboardSidebar/SidebarCollapseToggle.d.ts +10 -0
- package/esm/presentation/dashboard/DashboardSidebar/SidebarCollapseToggle.d.ts.map +1 -0
- package/esm/presentation/dashboard/DashboardSidebar/SidebarCollapseToggle.js +19 -0
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.js +8 -2
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.js +4 -2
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeContext.d.ts +8 -3
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeContext.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeContext.js +65 -25
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +4 -4
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +7 -1
- package/esm/presentation/dashboard/types.d.ts +14 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
- package/esm/presentation/dashboardContexts/types.d.ts +20 -0
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.js +4 -3
- package/esm/presentation/export/useExportData.js +2 -2
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltip.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltip.js +8 -2
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.d.ts +12 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.js +19 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/displayForms/AttributeDisplayFormsDropdown.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/displayForms/AttributeDisplayFormsDropdown.js +3 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useComputedAttributeExpression.d.ts +14 -0
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useComputedAttributeExpression.d.ts.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useComputedAttributeExpression.js +28 -0
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDisplayFormConfiguration.js +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.js +12 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.js +6 -5
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/parentFilters/ParentFiltersDisabledItem.js +2 -2
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +2 -2
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +2 -2
- package/esm/presentation/filterBar/measureValueFilter/useDashboardMeasureValueFilterData.d.ts.map +1 -1
- package/esm/presentation/filterBar/measureValueFilter/useDashboardMeasureValueFilterData.js +55 -17
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +6 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +40 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +40 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +5 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +33 -32
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +5 -4
- 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 -4
- package/esm/presentation/widget/common/RestrictedPlaceholder.d.ts +54 -0
- package/esm/presentation/widget/common/RestrictedPlaceholder.d.ts.map +1 -0
- package/esm/presentation/widget/common/RestrictedPlaceholder.js +49 -0
- package/esm/presentation/widget/common/configuration/DateDatasetFilter.d.ts +6 -1
- package/esm/presentation/widget/common/configuration/DateDatasetFilter.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/DateDatasetFilter.js +2 -2
- package/esm/presentation/widget/common/configuration/DateFilterCheckbox.d.ts +6 -1
- package/esm/presentation/widget/common/configuration/DateFilterCheckbox.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/DateFilterCheckbox.js +10 -3
- package/esm/presentation/widget/insight/DefaultInsightBody/DefaultInsightBody.js +2 -2
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightDateDataSetFilter.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDateDataSetFilter.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigList.d.ts +6 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigList.js +13 -2
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/InsightDrillConfigPanel.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/InsightDrillConfigPanel.js +5 -1
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.d.ts +1 -1
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.js +2 -2
- package/esm/presentation/widget/richText/configuration/RichTextDateDataSetFilter.d.ts.map +1 -1
- package/esm/presentation/widget/richText/configuration/RichTextDateDataSetFilter.js +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +8 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcherRestricted.d.ts +16 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcherRestricted.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcherRestricted.js +19 -0
- package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.js +11 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +2 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +25 -12
- package/esm/sdk-ui-dashboard.d.ts +206 -4
- package/package.json +22 -22
- package/styles/css/alerting.css +3 -1
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/configurationPanel.css +1 -5
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css +5 -3
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/export.css +10 -8
- package/styles/css/export.css.map +1 -1
- package/styles/css/filterBar.css +29 -0
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/main.css +230 -22
- package/styles/css/main.css.map +1 -1
- package/styles/css/sidebar.css +165 -0
- package/styles/css/sidebar.css.map +1 -1
- package/styles/css/visualizationSwitcherWidget.css +8 -0
- package/styles/css/visualizationSwitcherWidget.css.map +1 -1
- package/styles/scss/configurationPanel.scss +1 -7
- package/styles/scss/filterBar.scss +38 -0
- package/styles/scss/sidebar.scss +215 -0
- package/styles/scss/visualizationSwitcherWidget.scss +9 -0
|
@@ -9,6 +9,7 @@ import { DefaultDashboardDateFilter } from "../../filterBar/dateFilter/DefaultDa
|
|
|
9
9
|
import { DefaultDashboardDateFilterComponentSetFactory } from "../../filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.js";
|
|
10
10
|
import { DefaultDashboardFilterGroup } from "../../filterBar/filterBar/DefaultDashboardFilterGroup.js";
|
|
11
11
|
import { DefaultDashboardMeasureValueFilter } from "../../filterBar/measureValueFilter/DefaultDashboardMeasureValueFilter.js";
|
|
12
|
+
import { RestrictedPlaceholderContent } from "../../widget/common/RestrictedPlaceholder.js";
|
|
12
13
|
import { DefaultDashboardLayout as DefaultDashboardNestedLayout } from "../../widget/dashboardLayout/DefaultDashboardLayout.js";
|
|
13
14
|
import { DefaultDashboardLayoutComponentSetFactory } from "../../widget/dashboardLayout/DefaultDashboardLayoutComponentSetFactory.js";
|
|
14
15
|
import { DefaultDashboardInsight } from "../../widget/insight/DefaultDashboardInsight.js";
|
|
@@ -29,7 +30,7 @@ import { DefaultDashboardVisualizationSwitcherComponentSetFactory } from "../../
|
|
|
29
30
|
import { DefaultDashboardWidget } from "../../widget/widget/DefaultDashboardWidget.js";
|
|
30
31
|
import { DefaultDashboardMainContent } from "../DefaultDashboardContent/DefaultDashboardMainContent.js";
|
|
31
32
|
export const useDashboard = (props) => {
|
|
32
|
-
const { dashboard, DashboardAttributeFilterComponentProvider, DashboardDateFilterComponentProvider, DashboardMeasureValueFilterComponentProvider, DashboardFilterGroupComponentProvider, WidgetComponentProvider, InsightComponentProvider, InsightBodyComponentProvider, InsightMenuButtonComponentProvider, InsightMenuComponentProvider, InsightMenuTitleComponentProvider, InsightComponentSetProvider, DashboardContentComponentProvider, RichTextComponentProvider, RichTextMenuComponentProvider, RichTextMenuTitleComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider, DashboardLayoutComponentProvider, ShowAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider, } = props;
|
|
33
|
+
const { dashboard, DashboardAttributeFilterComponentProvider, DashboardDateFilterComponentProvider, DashboardMeasureValueFilterComponentProvider, DashboardFilterGroupComponentProvider, WidgetComponentProvider, InsightComponentProvider, InsightBodyComponentProvider, InsightMenuButtonComponentProvider, InsightMenuComponentProvider, InsightMenuTitleComponentProvider, InsightComponentSetProvider, DashboardContentComponentProvider, RichTextComponentProvider, RestrictedPlaceholderComponentProvider, RichTextMenuComponentProvider, RichTextMenuTitleComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider, DashboardLayoutComponentProvider, ShowAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider, } = props;
|
|
33
34
|
const backend = useBackendStrict(props.backend);
|
|
34
35
|
const workspace = useWorkspaceStrict(props.workspace);
|
|
35
36
|
const attributeFilterProvider = useCallback((filter) => {
|
|
@@ -101,6 +102,10 @@ export const useDashboard = (props) => {
|
|
|
101
102
|
const userSpecified = RichTextComponentProvider?.(richText);
|
|
102
103
|
return userSpecified ?? DefaultDashboardRichText;
|
|
103
104
|
}, [RichTextComponentProvider]);
|
|
105
|
+
const restrictedPlaceholderProvider = useCallback((widget) => {
|
|
106
|
+
const userSpecified = RestrictedPlaceholderComponentProvider?.(widget);
|
|
107
|
+
return userSpecified ?? RestrictedPlaceholderContent;
|
|
108
|
+
}, [RestrictedPlaceholderComponentProvider]);
|
|
104
109
|
const richTextMenuProvider = useCallback((richText) => {
|
|
105
110
|
const userSpecified = RichTextMenuComponentProvider?.(richText);
|
|
106
111
|
// if user customizes the items, always use the "new" default menu
|
|
@@ -157,6 +162,7 @@ export const useDashboard = (props) => {
|
|
|
157
162
|
attributeFilterComponentSet,
|
|
158
163
|
dateFilterComponentSet,
|
|
159
164
|
richTextProvider,
|
|
165
|
+
restrictedPlaceholderProvider,
|
|
160
166
|
richTextMenuProvider,
|
|
161
167
|
richTextMenuTitleProvider,
|
|
162
168
|
richTextWidgetComponentSet,
|
|
@@ -10,7 +10,7 @@ import { type CustomAutomationsContextDecoratorComponent } from "../../types.js"
|
|
|
10
10
|
import { type CustomAlertingDialogComponent, type CustomAlertingDialogContextDecoratorComponent, type CustomAlertingManagementDialogComponent, type CustomAlertingManagementDialogContextDecoratorComponent } from "../automations/alerting/types.js";
|
|
11
11
|
import { type CustomScheduledEmailDialogComponent, type CustomScheduledEmailDialogContextDecoratorComponent, type CustomScheduledEmailManagementDialogComponent, type CustomScheduledEmailManagementDialogContextDecoratorComponent } from "../automations/scheduledEmail/types.js";
|
|
12
12
|
import { type InsightComponentSetProvider } from "../componentDefinition/types.js";
|
|
13
|
-
import { type InsightMenuItemsProvider, type OptionalAttributeFilterComponentProvider, type OptionalDashboardContentComponentProvider, type OptionalDashboardLayoutComponentProvider, type OptionalDateFilterComponentProvider, type OptionalDrillDialogExportDropdownComponentProvider, type OptionalFilterGroupComponentProvider, type OptionalInsightBodyComponentProvider, type OptionalInsightComponentProvider, type OptionalInsightMenuButtonComponentProvider, type OptionalInsightMenuComponentProvider, type OptionalInsightMenuTitleComponentProvider, type OptionalMeasureValueFilterComponentProvider, type OptionalRichTextComponentProvider, type OptionalRichTextMenuComponentProvider, type OptionalRichTextMenuTitleComponentProvider, type OptionalShowAsTableButtonComponentProvider, type OptionalVisualizationSwitcherComponentProvider, type OptionalVisualizationSwitcherToolbarComponentProvider, type OptionalWidgetComponentProvider, type RichTextMenuItemsProvider } from "../dashboardContexts/types.js";
|
|
13
|
+
import { type InsightMenuItemsProvider, type OptionalAttributeFilterComponentProvider, type OptionalDashboardContentComponentProvider, type OptionalDashboardLayoutComponentProvider, type OptionalDateFilterComponentProvider, type OptionalDrillDialogExportDropdownComponentProvider, type OptionalFilterGroupComponentProvider, type OptionalInsightBodyComponentProvider, type OptionalInsightComponentProvider, type OptionalInsightMenuButtonComponentProvider, type OptionalInsightMenuComponentProvider, type OptionalInsightMenuTitleComponentProvider, type OptionalMeasureValueFilterComponentProvider, type OptionalRestrictedPlaceholderComponentProvider, type OptionalRichTextComponentProvider, type OptionalRichTextMenuComponentProvider, type OptionalRichTextMenuTitleComponentProvider, type OptionalShowAsTableButtonComponentProvider, type OptionalVisualizationSwitcherComponentProvider, type OptionalVisualizationSwitcherToolbarComponentProvider, type OptionalWidgetComponentProvider, type RichTextMenuItemsProvider } from "../dashboardContexts/types.js";
|
|
14
14
|
import { type CustomDashboardSettingsDialogComponent } from "../dashboardSettingsDialog/types.js";
|
|
15
15
|
import { type CustomFilterBarComponent } from "../filterBar/filterBar/types.js";
|
|
16
16
|
import { type CustomEmptyLayoutDropZoneBodyComponent } from "../flexibleLayout/types.js";
|
|
@@ -197,6 +197,19 @@ export interface IDashboardCustomComponentProps {
|
|
|
197
197
|
* @public
|
|
198
198
|
*/
|
|
199
199
|
RichTextComponentProvider?: OptionalRichTextComponentProvider;
|
|
200
|
+
/**
|
|
201
|
+
* Specify function to obtain a custom component standing in for an insight widget the current
|
|
202
|
+
* user is not allowed to see.
|
|
203
|
+
*
|
|
204
|
+
* @remarks
|
|
205
|
+
* - If not provided, the default access placeholder is used.
|
|
206
|
+
* - If the factory function returns undefined, the default is used for that widget. This is
|
|
207
|
+
* useful to customize the placeholder for particular widgets only.
|
|
208
|
+
* - The insight is deliberately not passed to the factory: it is the object being withheld.
|
|
209
|
+
*
|
|
210
|
+
* @alpha
|
|
211
|
+
*/
|
|
212
|
+
RestrictedPlaceholderComponentProvider?: OptionalRestrictedPlaceholderComponentProvider;
|
|
200
213
|
/**
|
|
201
214
|
* Specify function to obtain custom component to use for rendering a visualization switcher.
|
|
202
215
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,MAAM,EAAE,KAAK,qBAAqB,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC5G,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAExE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,KAAK,0CAA0C,EAAE,MAAM,gBAAgB,CAAC;AACjF,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,uDAAuD,EAC/D,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,mDAAmD,EACxD,KAAK,6CAA6C,EAClD,KAAK,6DAA6D,EACrE,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,E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MG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IAEzC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IAEpC;;OAEG;IACH,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CACjD;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,wBACb,SACI,kBAAkB,EAClB,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB;IAC1B;;;;;;;;;;;OAWG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CACnE;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,wBAAwB;IAClF,QAAQ,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,SAAS,EAAE,GAAG,KAAK,YAAY,CAAC,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC;CACnC"}
|
|
@@ -18,7 +18,7 @@ import { type CustomMenuButtonComponent } from "../topBar/menuButton/types.js";
|
|
|
18
18
|
import { type CustomTitleComponent } from "../topBar/title/types.js";
|
|
19
19
|
import { type CustomTopBarComponent } from "../topBar/topBar/types.js";
|
|
20
20
|
import { type CustomDashboardLayoutComponent } from "../widget/dashboardLayout/types.js";
|
|
21
|
-
import { type AttributeFilterComponentProvider, type DashboardContentComponentProvider, type DateFilterComponentProvider, type DrillDialogExportDropdownComponentProvider, type FilterGroupComponentProvider, type InsightBodyComponentProvider, type InsightComponentProvider, type InsightMenuButtonComponentProvider, type InsightMenuComponentProvider, type InsightMenuTitleComponentProvider, type MeasureValueFilterComponentProvider, type RichTextComponentProvider, type RichTextMenuComponentProvider, type RichTextMenuTitleComponentProvider, type ShowAsTableButtonComponentProvider, type VisualizationSwitcherComponentProvider, type VisualizationSwitcherToolbarComponentProvider, type WidgetComponentProvider } from "./types.js";
|
|
21
|
+
import { type AttributeFilterComponentProvider, type DashboardContentComponentProvider, type DateFilterComponentProvider, type DrillDialogExportDropdownComponentProvider, type FilterGroupComponentProvider, type InsightBodyComponentProvider, type InsightComponentProvider, type InsightMenuButtonComponentProvider, type InsightMenuComponentProvider, type InsightMenuTitleComponentProvider, type MeasureValueFilterComponentProvider, type RestrictedPlaceholderComponentProvider, type RichTextComponentProvider, type RichTextMenuComponentProvider, type RichTextMenuTitleComponentProvider, type ShowAsTableButtonComponentProvider, type VisualizationSwitcherComponentProvider, type VisualizationSwitcherToolbarComponentProvider, type WidgetComponentProvider } from "./types.js";
|
|
22
22
|
/**
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
@@ -36,6 +36,7 @@ interface IDashboardComponentsContext {
|
|
|
36
36
|
RichTextMenuTitleComponentProvider: RichTextMenuTitleComponentProvider;
|
|
37
37
|
VisualizationSwitcherToolbarComponentProvider: VisualizationSwitcherToolbarComponentProvider;
|
|
38
38
|
RichTextComponentProvider: RichTextComponentProvider;
|
|
39
|
+
RestrictedPlaceholderComponentProvider: RestrictedPlaceholderComponentProvider;
|
|
39
40
|
VisualizationSwitcherComponentProvider: VisualizationSwitcherComponentProvider;
|
|
40
41
|
ButtonBarComponent: CustomButtonBarComponent;
|
|
41
42
|
MenuButtonComponent: CustomMenuButtonComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAEzG,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CAAC;IACvC,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,6BAA6B,EAAE,mCAAmC,CAAC;IACnE,6CAA6C,EAAE,mDAAmD,CAAC;IACnG,uCAAuC,EAAE,6CAA6C,CAAC;IACvF,uDAAuD,EAAE,6DAA6D,CAAC;IACvH,iCAAiC,EAAE,uCAAuC,CAAC;IAC3E,iDAAiD,EAAE,uDAAuD,CAAC;IAC3G,oCAAoC,EAAE,0CAA0C,CAAC;IACjF,uBAAuB,EAAE,6BAA6B,CAAC;IACvD,uCAAuC,EAAE,6CAA6C,CAAC;IACvF,oBAAoB,EAAE,0BAA0B,CAAC;IACjD,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,yCAAyC,EAAE,gCAAgC,CAAC;IAC5E,oCAAoC,EAAE,2BAA2B,CAAC;IAClE,4CAA4C,EAAE,mCAAmC,CAAC;IAClF,qCAAqC,EAAE,4BAA4B,CAAC;IACpE,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,uCAAuC,EAAE,uCAAuC,CAAC;IACjF,iCAAiC,EAAE,iCAAiC,CAAC;IACrE,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,gCAAgC,EAAE,sCAAsC,CAAC;IACzE,mBAAmB,EAAE,yBAAyB,CAAC;IAC/C,sBAAsB,EAAE,4BAA4B,CAAC;IACrD,iCAAiC,EAAE,iCAAiC,CAAC;IACrE,gCAAgC,EAAE,sCAAsC,CAAC;IACzE,kCAAkC,EAAE,kCAAkC,CAAC;IACvE,0CAA0C,EAAE,0CAA0C,CAAC;CAC1F;
|
|
1
|
+
{"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE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C;CAC1F;AAuFD;;GAEG;AACH,eAAO,MAAM,6BAA6B,6BACZ,OAAO,CAAC,2BAA2B,CAAC,KAC/D,2BAUF,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,2BAA2B;IAClF,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,QAAQ,EACR,GAAG,UAAU,EAChB,EAAE,iCAAiC,GAAG,YAAY,CAMlD"}
|
|
@@ -20,6 +20,7 @@ const DashboardComponentsContext = createContext({
|
|
|
20
20
|
RichTextMenuComponentProvider: ThrowMissingComponentError("RichTextMenuComponent"),
|
|
21
21
|
RichTextMenuTitleComponentProvider: ThrowMissingComponentError("RichTextMenuTitleComponentProvider"),
|
|
22
22
|
RichTextComponentProvider: ThrowMissingComponentError("RichTextComponent"),
|
|
23
|
+
RestrictedPlaceholderComponentProvider: ThrowMissingComponentError("RestrictedPlaceholderComponent"),
|
|
23
24
|
VisualizationSwitcherComponentProvider: ThrowMissingComponentError("VisualizationSwitcherComponent"),
|
|
24
25
|
WidgetComponentProvider: ThrowMissingComponentError("WidgetComponent"),
|
|
25
26
|
ButtonBarComponent: ThrowMissingComponentError("ButtonBarComponent"),
|
|
@@ -11,6 +11,7 @@ import { type CustomFilterBarComponent, type IFilterBarProps } from "../filterBa
|
|
|
11
11
|
import { type CustomDashboardMeasureValueFilterComponent } from "../filterBar/measureValueFilter/types.js";
|
|
12
12
|
import { type CustomTitleComponent, type ITitleProps } from "../topBar/title/types.js";
|
|
13
13
|
import { type CustomTopBarComponent, type ITopBarProps } from "../topBar/topBar/types.js";
|
|
14
|
+
import { type IRestrictedPlaceholderContentProps } from "../widget/common/RestrictedPlaceholder.js";
|
|
14
15
|
import { type CustomDashboardLayoutComponent, type CustomDashboardLayoutComponent as CustomDashboardNestedLayoutComponent, type IDashboardLayoutProps } from "../widget/dashboardLayout/types.js";
|
|
15
16
|
import { type CustomDashboardInsightComponent, type CustomInsightBodyComponent } from "../widget/insight/types.js";
|
|
16
17
|
import { type CustomDrillDialogExportDropdownComponent } from "../widget/insight/ViewModeDashboardInsight/InsightDrillDialog/drillDialogExportDropdownTypes.js";
|
|
@@ -97,6 +98,25 @@ export type RichTextComponentProvider = (widget: IRichTextWidget) => CustomDashb
|
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export type OptionalRichTextComponentProvider = OptionalProvider<RichTextComponentProvider>;
|
|
101
|
+
/**
|
|
102
|
+
* Content shown inside a restricted placeholder. The dashboard owns the surrounding tile, and for a
|
|
103
|
+
* visualization switcher also its entry list, so this component supplies only the inner content and
|
|
104
|
+
* is therefore usable in both places.
|
|
105
|
+
*
|
|
106
|
+
* @alpha
|
|
107
|
+
*/
|
|
108
|
+
export type CustomRestrictedPlaceholderComponent = ComponentType<IRestrictedPlaceholderContentProps>;
|
|
109
|
+
/**
|
|
110
|
+
* Provides the content shown in place of a widget the current user may not see. The insight itself
|
|
111
|
+
* is deliberately not passed — it is the object being withheld.
|
|
112
|
+
*
|
|
113
|
+
* @alpha
|
|
114
|
+
*/
|
|
115
|
+
export type RestrictedPlaceholderComponentProvider = (widget: IInsightWidget) => CustomRestrictedPlaceholderComponent;
|
|
116
|
+
/**
|
|
117
|
+
* @alpha
|
|
118
|
+
*/
|
|
119
|
+
export type OptionalRestrictedPlaceholderComponentProvider = OptionalProvider<RestrictedPlaceholderComponentProvider>;
|
|
100
120
|
/**
|
|
101
121
|
* @alpha
|
|
102
122
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,UAAU,EACf,KAAK,oBAAoB,EAC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":"DefaultAttributeFilterDraggingComponent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultAttributeFilterDraggingComponent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAmBjG,wBAAgB,uCAAuC,CAAC,EAAE,IAAI,EAAE,EAAE,sCAAsC,kDAsBvG"}
|
|
@@ -5,12 +5,13 @@ import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, idRef, uriRef
|
|
|
5
5
|
import { IconDragHandle, ShortenedText } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
7
7
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
8
|
-
import {
|
|
8
|
+
import { selectCatalogAttributesWithComputed } from "../../../model/store/catalog/catalogSelectors.js";
|
|
9
9
|
function isDisplayFormEqual(displayForm, identifierOrUriRef) {
|
|
10
|
-
return (areObjRefsEqual(
|
|
10
|
+
return (areObjRefsEqual(displayForm.ref, identifierOrUriRef) ||
|
|
11
|
+
areObjRefsEqual(idRef(displayForm.id, displayForm.type), identifierOrUriRef) ||
|
|
11
12
|
areObjRefsEqual(uriRef(displayForm.uri), identifierOrUriRef));
|
|
12
13
|
}
|
|
13
|
-
const selectFilterAttribute = (filter) => createSelector(
|
|
14
|
+
const selectFilterAttribute = (filter) => createSelector(selectCatalogAttributesWithComputed, (attributes) => attributes.find((attribute) => attribute.displayForms.some((displayForm) => isDisplayFormEqual(displayForm, dashboardAttributeFilterItemDisplayForm(filter)))));
|
|
14
15
|
export function DefaultAttributeFilterDraggingComponent({ item }) {
|
|
15
16
|
const theme = useTheme();
|
|
16
17
|
const filterAttribute = useDashboardSelector(selectFilterAttribute(item.filter));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { areObjRefsEqual, attributeAlias, attributeDisplayFormRef, insightAttributes, insightMeasures, insightVisualizationType, measureAlias, measureTitle, } from "@gooddata/sdk-model";
|
|
4
4
|
import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
5
|
-
import {
|
|
5
|
+
import { selectCatalogAttributesWithComputed } from "../../model/store/catalog/catalogSelectors.js";
|
|
6
6
|
import { selectInsightByWidgetRef } from "../../model/store/insights/insightsSelectors.js";
|
|
7
7
|
import { selectIsInExportMode } from "../../model/store/renderMode/renderModeSelectors.js";
|
|
8
8
|
const getAttributeDisplayName = (attribute, catalogAttributes) => {
|
|
@@ -103,7 +103,7 @@ export const useSectionDescriptionExportData = (exportData, loading, error) => {
|
|
|
103
103
|
export const useWidgetExportData = (widget) => {
|
|
104
104
|
const insight = useDashboardSelector(selectInsightByWidgetRef(widget.ref));
|
|
105
105
|
const isExportMode = useDashboardSelector(selectIsInExportMode);
|
|
106
|
-
const catalogAttributes = useDashboardSelector(
|
|
106
|
+
const catalogAttributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
107
107
|
if (!isExportMode) {
|
|
108
108
|
return undefined;
|
|
109
109
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeListItemTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"AttributeListItemTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,KAAK,iBAAiB,EAA0B,MAAM,qBAAqB,CAAC;AAgBrF,UAAU,8BAA8B;IACpC,IAAI,EAAE,iBAAiB,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,IAAI,EAAE,EAAE,8BAA8B,GAAG,SAAS,CAkD5F"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2023-2026 GoodData Corporation
|
|
3
3
|
import { useState } from "react";
|
|
4
|
+
import { isComputedAttributeRef } from "@gooddata/sdk-model";
|
|
4
5
|
import { Bubble, BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
|
|
5
6
|
import { useAttributeDataSet } from "../../dashboardDropdownBody/configuration/hooks/useAttributeDataSet.js";
|
|
6
7
|
import { useAttributeElements } from "../../dashboardDropdownBody/configuration/hooks/useAttributeElements.js";
|
|
8
|
+
import { useComputedAttributeExpression } from "../../dashboardDropdownBody/configuration/hooks/useComputedAttributeExpression.js";
|
|
7
9
|
import { AttributeListItemTooltipContent } from "./AttributeListItemTooltipContent.js";
|
|
8
10
|
const ATTR_ELEMENTS_LIMIT = 5;
|
|
9
11
|
const bubbleAlignPoints = [
|
|
@@ -16,6 +18,10 @@ const bubbleAlignPoints = [
|
|
|
16
18
|
export function AttributeListItemTooltip({ item }) {
|
|
17
19
|
const [isHover, setIsHover] = useState(false);
|
|
18
20
|
const { attributeElements, attributesElementsLoading } = useAttributeElements(item.defaultDisplayForm.ref, ATTR_ELEMENTS_LIMIT, isHover);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
// a computed attribute belongs to no dataset and additionally shows its MAQL definition,
|
|
22
|
+
// after the values
|
|
23
|
+
const isComputedAttribute = isComputedAttributeRef(item.attribute.ref);
|
|
24
|
+
const { attributeDataSet, attributesDataSetLoading } = useAttributeDataSet(item.attribute.ref, isHover && !isComputedAttribute);
|
|
25
|
+
const { expressionTokens, expressionTokensLoading } = useComputedAttributeExpression(item.attribute.ref, isHover && isComputedAttribute);
|
|
26
|
+
return (_jsx("div", { children: _jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, eventsOnBubble: true, className: "gd-attribute-item-tooltip-icon", children: [_jsx("span", { onMouseEnter: () => setIsHover(true), className: "gd-icon-circle-question gd-list-item-tooltip-icon s-attribute-dropdown-list-item-tooltip" }), _jsx(Bubble, { className: "gd-attribute-dropdown-list-item-details s-attribute-filter-details-bubble", alignPoints: bubbleAlignPoints, arrowStyle: { display: "none" }, children: _jsx(AttributeListItemTooltipContent, { item: item, hideDataSet: isComputedAttribute, attributesDataSetLoading: attributesDataSetLoading, attributesElementsLoading: attributesElementsLoading, attributeDataSet: attributeDataSet, attributeElements: attributeElements, expressionTokens: isComputedAttribute ? expressionTokens : undefined, expressionTokensLoading: isComputedAttribute ? expressionTokensLoading : undefined }) })] }) }));
|
|
21
27
|
}
|
|
@@ -1,15 +1,26 @@
|
|
|
1
|
+
import { type IMeasureExpressionToken } from "@gooddata/sdk-backend-spi";
|
|
1
2
|
import { type ICatalogAttribute, type IDataSetMetadataObject } from "@gooddata/sdk-model";
|
|
2
3
|
import type { IUseAttributeElements } from "../../../../../model/types/attributeFilterTypes.js";
|
|
3
4
|
interface IAttributeListItemTooltipContentProps {
|
|
4
5
|
item: ICatalogAttribute;
|
|
6
|
+
/**
|
|
7
|
+
* Hide the data set section; a computed attribute belongs to no data set.
|
|
8
|
+
*/
|
|
9
|
+
hideDataSet?: boolean;
|
|
5
10
|
attributesDataSetLoading: boolean;
|
|
6
11
|
attributesElementsLoading: boolean;
|
|
7
12
|
attributeDataSet?: IDataSetMetadataObject;
|
|
8
13
|
attributeElements?: IUseAttributeElements;
|
|
14
|
+
/**
|
|
15
|
+
* Tokenized MAQL expression; provided only for computed attributes, rendered after the values
|
|
16
|
+
* with the referenced objects resolved to their titles.
|
|
17
|
+
*/
|
|
18
|
+
expressionTokens?: IMeasureExpressionToken[];
|
|
19
|
+
expressionTokensLoading?: boolean;
|
|
9
20
|
}
|
|
10
21
|
/**
|
|
11
22
|
* @internal
|
|
12
23
|
*/
|
|
13
|
-
export declare function AttributeListItemTooltipContent({ item, attributesDataSetLoading, attributesElementsLoading, attributeDataSet, attributeElements, }: IAttributeListItemTooltipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function AttributeListItemTooltipContent({ item, hideDataSet, attributesDataSetLoading, attributesElementsLoading, attributeDataSet, attributeElements, expressionTokens, expressionTokensLoading, }: IAttributeListItemTooltipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
14
25
|
export {};
|
|
15
26
|
//# sourceMappingURL=AttributeListItemTooltipContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeListItemTooltipContent.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"AttributeListItemTooltipContent.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/attributeListItemTooltip/AttributeListItemTooltipContent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AA4DhG,UAAU,qCAAqC;IAC3C,IAAI,EAAE,iBAAiB,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wBAAwB,EAAE,OAAO,CAAC;IAClC,yBAAyB,EAAE,OAAO,CAAC;IACnC,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAC1C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC7C,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,IAAI,EACJ,WAAW,EACX,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,GAC1B,EAAE,qCAAqC,2CAiDvC"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2023-2026 GoodData Corporation
|
|
3
3
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
4
|
+
const PLAIN_TOKEN_TYPES = ["text", "quoted_text", "number", "comment", "bracket"];
|
|
5
|
+
function AttrTooltipExpression({ tokens }) {
|
|
6
|
+
const intl = useIntl();
|
|
7
|
+
return (_jsx(_Fragment, { children: tokens.map((token, idx) => {
|
|
8
|
+
if (PLAIN_TOKEN_TYPES.includes(token.type)) {
|
|
9
|
+
return _jsx("span", { children: token.value }, idx);
|
|
10
|
+
}
|
|
11
|
+
if (token.type === "attributeElement") {
|
|
12
|
+
const title = token.deleted
|
|
13
|
+
? `(${intl.formatMessage({ id: "deleted_value" })})`
|
|
14
|
+
: token.value || `(${intl.formatMessage({ id: "empty_value" })})`;
|
|
15
|
+
return (_jsx("span", { className: "gd-maql-token-attribute-element", children: title }, idx));
|
|
16
|
+
}
|
|
17
|
+
return (_jsx("span", { className: `gd-maql-token-object gd-maql-token-${token.type}`, children: token.value }, idx));
|
|
18
|
+
}) }));
|
|
19
|
+
}
|
|
4
20
|
function AttrTooltipElements({ elements, totalCount }) {
|
|
5
21
|
const intl = useIntl();
|
|
6
22
|
const remainingElementsCount = totalCount - elements.length;
|
|
@@ -9,6 +25,7 @@ function AttrTooltipElements({ elements, totalCount }) {
|
|
|
9
25
|
/**
|
|
10
26
|
* @internal
|
|
11
27
|
*/
|
|
12
|
-
export function AttributeListItemTooltipContent({ item, attributesDataSetLoading, attributesElementsLoading, attributeDataSet, attributeElements, }) {
|
|
13
|
-
|
|
28
|
+
export function AttributeListItemTooltipContent({ item, hideDataSet, attributesDataSetLoading, attributesElementsLoading, attributeDataSet, attributeElements, expressionTokens, expressionTokensLoading, }) {
|
|
29
|
+
const showExpression = expressionTokensLoading || expressionTokens !== undefined;
|
|
30
|
+
return (_jsxs("div", { className: "gd-attribute-dropdown-list-tooltip-content s-attribute-dropdown-item-list-tooltip-content", children: [_jsx("h3", { className: "s-attribute-filter-tooltip-header", children: item.attribute.title }), hideDataSet ? null : (_jsxs(_Fragment, { children: [_jsx("h4", { children: _jsx(FormattedMessage, { id: "attributesDropdown.details.dataset" }) }), _jsx("p", { className: "s-attribute-filter-tooltip-item-dataset", children: attributesDataSetLoading ? (_jsx(FormattedMessage, { id: "loading" })) : (attributeDataSet?.title) })] })), _jsx("h4", { children: _jsx(FormattedMessage, { id: "attributesDropdown.details.values" }) }), _jsx("p", { className: "s-attribute-filter-tooltip-item-elements", children: attributesElementsLoading ? (_jsx(FormattedMessage, { id: "loading" })) : attributeElements ? (_jsx(AttrTooltipElements, { elements: attributeElements.elements, totalCount: attributeElements.totalCount })) : null }), showExpression ? (_jsxs(_Fragment, { children: [_jsx("h4", { children: _jsx(FormattedMessage, { id: "attributesDropdown.details.definedAs" }) }), _jsx("p", { className: "s-attribute-filter-tooltip-item-maql", children: expressionTokensLoading ? (_jsx(FormattedMessage, { id: "loading" })) : (_jsx(AttrTooltipExpression, { tokens: expressionTokens })) })] })) : null] }));
|
|
14
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeDisplayFormsDropdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/displayForms/AttributeDisplayFormsDropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAM7B,UAAU,wCAAwC;IAC9C,YAAY,EAAE,mCAAmC,EAAE,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAeD,wBAAgB,6BAA6B,CAAC,EAC1C,YAAY,EACZ,mBAAmB,EACnB,QAAQ,GACX,EAAE,wCAAwC,
|
|
1
|
+
{"version":3,"file":"AttributeDisplayFormsDropdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/displayForms/AttributeDisplayFormsDropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAM7B,UAAU,wCAAwC;IAC9C,YAAY,EAAE,mCAAmC,EAAE,CAAC;IACpD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAeD,wBAAgB,6BAA6B,CAAC,EAC1C,YAAY,EACZ,mBAAmB,EACnB,QAAQ,GACX,EAAE,wCAAwC,2CAiD1C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// (C) 2022-
|
|
2
|
+
// (C) 2022-2026 GoodData Corporation
|
|
3
3
|
import { areObjRefsEqual, idRef, uriRef, } from "@gooddata/sdk-model";
|
|
4
4
|
import { Dropdown, DropdownList } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
import { AttributeDisplayFormDropdownButton } from "./AttributeDisplayFormDropdownButton.js";
|
|
@@ -18,7 +18,8 @@ const ALIGN_POINTS = [
|
|
|
18
18
|
];
|
|
19
19
|
export function AttributeDisplayFormsDropdown({ displayForms, selectedDisplayForm, onChange, }) {
|
|
20
20
|
// try matching both uri and id in case the type of ref is different from what is in the ref field
|
|
21
|
-
const selectedDisplayFormTitle = displayForms.find((df) => areObjRefsEqual(
|
|
21
|
+
const selectedDisplayFormTitle = displayForms.find((df) => areObjRefsEqual(df.ref, selectedDisplayForm) ||
|
|
22
|
+
areObjRefsEqual(idRef(df.id, "displayForm"), selectedDisplayForm) ||
|
|
22
23
|
areObjRefsEqual(uriRef(df.uri), selectedDisplayForm)).title;
|
|
23
24
|
return (_jsx(Dropdown, { alignPoints: ALIGN_POINTS, renderButton: ({ isOpen, toggleDropdown }) => {
|
|
24
25
|
return (_jsx(AttributeDisplayFormDropdownButton, { title: selectedDisplayFormTitle, isOpened: isOpen, toggleDropdown: toggleDropdown }));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type IMeasureExpressionToken } from "@gooddata/sdk-backend-spi";
|
|
2
|
+
import { type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
+
/**
|
|
4
|
+
* Loads the tokenized MAQL expression of a computed attribute, with referenced objects resolved
|
|
5
|
+
* to their titles. Fires only when `loadQuery` is true and the ref points at a computed attribute.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare function useComputedAttributeExpression(ref: ObjRef, loadQuery?: boolean): {
|
|
10
|
+
expressionTokens: IMeasureExpressionToken[] | undefined;
|
|
11
|
+
expressionTokensLoading: boolean;
|
|
12
|
+
expressionTokensLoadingError: import("@gooddata/sdk-ui").GoodDataSdkError | undefined;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=useComputedAttributeExpression.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useComputedAttributeExpression.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useComputedAttributeExpression.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQlD;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO;;;;EA6B9E"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { useEffect, useMemo } from "react";
|
|
3
|
+
import { queryComputedAttributeExpression, } from "../../../../../../model/queries/computedAttributeExpression.js";
|
|
4
|
+
import { useDashboardQueryProcessing } from "../../../../../../model/react/useDashboardQueryProcessing.js";
|
|
5
|
+
/**
|
|
6
|
+
* Loads the tokenized MAQL expression of a computed attribute, with referenced objects resolved
|
|
7
|
+
* to their titles. Fires only when `loadQuery` is true and the ref points at a computed attribute.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export function useComputedAttributeExpression(ref, loadQuery) {
|
|
12
|
+
const { run: getExpressionTokens, result: expressionTokens, status: expressionTokensLoadingStatus, error: expressionTokensLoadingError, } = useDashboardQueryProcessing({
|
|
13
|
+
queryCreator: queryComputedAttributeExpression,
|
|
14
|
+
});
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
if (loadQuery) {
|
|
17
|
+
getExpressionTokens(ref);
|
|
18
|
+
}
|
|
19
|
+
}, [ref, loadQuery, getExpressionTokens]);
|
|
20
|
+
const expressionTokensLoading = useMemo(() => {
|
|
21
|
+
return expressionTokensLoadingStatus === "pending" || expressionTokensLoadingStatus === "running";
|
|
22
|
+
}, [expressionTokensLoadingStatus]);
|
|
23
|
+
return {
|
|
24
|
+
expressionTokens,
|
|
25
|
+
expressionTokensLoading,
|
|
26
|
+
expressionTokensLoadingError,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -4,9 +4,9 @@ import { areObjRefsEqual, } from "@gooddata/sdk-model";
|
|
|
4
4
|
import { setDashboardAttributeFilterConfigDisplayAsLabel } from "../../../../../../model/commands/dashboard.js";
|
|
5
5
|
import { useDashboardSelector } from "../../../../../../model/react/DashboardStoreProvider.js";
|
|
6
6
|
import { useDashboardCommandProcessing } from "../../../../../../model/react/useDashboardCommandProcessing.js";
|
|
7
|
-
import {
|
|
7
|
+
import { selectCatalogAttributesWithComputed } from "../../../../../../model/store/catalog/catalogSelectors.js";
|
|
8
8
|
export function useDisplayFormConfiguration(currentFilter, attributes, displayAsLabel) {
|
|
9
|
-
const catalogAttributes = useDashboardSelector(
|
|
9
|
+
const catalogAttributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
10
10
|
const { run: changeDisplayAsLabel, status: displayAsLabelChangeStatus } = useDashboardCommandProcessing({
|
|
11
11
|
commandCreator: setDashboardAttributeFilterConfigDisplayAsLabel,
|
|
12
12
|
successEvent: "GDC.DASH/EVT.ATTRIBUTE_FILTER_CONFIG.DISPLAY_AS_LABEL_CHANGED",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useValidNeighbourAttributes.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAmB,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"useValidNeighbourAttributes.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAmB,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAYzD,UAAU,kCAAkC;IACxC,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC,+BAA+B,EAAE,OAAO,CAAC;IACzC,6BAA6B,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC/D;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,+BACR,MAAM,+BACL,MAAM,EAAE,KACtC,kCAmEF,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { queryConnectedAttributes, } from "../../../../../../model/queries/conne
|
|
|
5
5
|
import { useDashboardSelector } from "../../../../../../model/react/DashboardStoreProvider.js";
|
|
6
6
|
import { useDashboardQueryProcessing } from "../../../../../../model/react/useDashboardQueryProcessing.js";
|
|
7
7
|
import { selectSupportsSettingConnectingAttributes } from "../../../../../../model/store/backendCapabilities/backendCapabilitiesSelectors.js";
|
|
8
|
+
import { selectEnableComputedAttributes } from "../../../../../../model/store/config/configSelectors.js";
|
|
8
9
|
import { selectAttributeFilterDisplayFormsMap } from "../../../../../../model/store/tabs/filterContext/filterContextSelectors.js";
|
|
9
10
|
/**
|
|
10
11
|
* Returns neighbor attribute filter display forms that have a valid connection in model with provided attribute display form.
|
|
@@ -13,6 +14,7 @@ import { selectAttributeFilterDisplayFormsMap } from "../../../../../../model/st
|
|
|
13
14
|
*/
|
|
14
15
|
export const useValidNeighbourAttributes = (attributeFilterDisplayForm, neighbourFilterDisplayForms) => {
|
|
15
16
|
const supportsSettingConnectingAttributes = useDashboardSelector(selectSupportsSettingConnectingAttributes);
|
|
17
|
+
const includeComputedAttributes = useDashboardSelector(selectEnableComputedAttributes);
|
|
16
18
|
const shouldValidateNeighbourAttributes = !supportsSettingConnectingAttributes;
|
|
17
19
|
const neighbourFilterDisplayFormsMap = useDashboardSelector(selectAttributeFilterDisplayFormsMap);
|
|
18
20
|
const { run: getValidAttributes, result: validAttributes, status: validAttributesStatus, error: validAttributesError, } = useDashboardQueryProcessing({
|
|
@@ -20,9 +22,17 @@ export const useValidNeighbourAttributes = (attributeFilterDisplayForm, neighbou
|
|
|
20
22
|
});
|
|
21
23
|
useEffect(() => {
|
|
22
24
|
if (shouldValidateNeighbourAttributes) {
|
|
23
|
-
|
|
25
|
+
// computed attributes count among the valid neighbours; asking for them is gated by
|
|
26
|
+
// the enableComputedAttributes setting because a backend with the setting off refuses
|
|
27
|
+
// the computed-attributes flavour of the request outright
|
|
28
|
+
getValidAttributes(attributeFilterDisplayForm, { includeComputedAttributes });
|
|
24
29
|
}
|
|
25
|
-
}, [
|
|
30
|
+
}, [
|
|
31
|
+
attributeFilterDisplayForm,
|
|
32
|
+
getValidAttributes,
|
|
33
|
+
shouldValidateNeighbourAttributes,
|
|
34
|
+
includeComputedAttributes,
|
|
35
|
+
]);
|
|
26
36
|
const validAttributesLoading = useMemo(() => {
|
|
27
37
|
return validAttributesStatus === "pending" || validAttributesStatus === "running";
|
|
28
38
|
}, [validAttributesStatus]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitingItemsHook.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAGzB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,uDAAuD,CAAC;AAW9F,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,0DAA0D,CAAC;AACpH,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,4BAA4B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACzC;
|
|
1
|
+
{"version":3,"file":"limitingItemsHook.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAGH,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAGzB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,uDAAuD,CAAC;AAW9F,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,0DAA0D,CAAC;AACpH,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,4BAA4B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACzC;AAmED,eAAO,MAAM,kBAAkB,MACxB,4BAA4B,KAC5B,4BAA4B,KAChC,MAMF,CAAC;AAsBF,eAAO,MAAM,gBAAgB,kBACV,mCAAmC,EAAE,sBAChC,MAAM,EAAE,sBACR,MAAM,EAAE,mBACX,gBAAgB,wBACX,6BAA6B,EAAE,qBAClC,mBAAmB,EAAE,6CACG,OAAO,cACtC,OAAO,QACb,SAAS,KAChB,4BAA4B,EAoD9B,CAAC;AAEF,eAAO,MAAM,0BAA0B,2BACX,MAAM,EAAE,KACjC,4BAA4B,EAsB9B,CAAC;AAEF,eAAO,MAAM,cAAc,kBACR,mCAAmC,EAAE,sBAChC,MAAM,EAAE,wBACN,6BAA6B,EAAE,qBAClC,mBAAmB,EAAE,6BACb,oBAAoB,6CACJ,OAAO,cACtC,OAAO,QACb,SAAS,KAChB,4BAA4B,EAuD9B,CAAC;AAgEF,eAAO,MAAM,kBAAkB,sBACR,mBAAmB,EAAE,6BACb,oBAAoB,yBACxB,6BAA6B,EAAE,KACvD,4BAA4B,EAyB9B,CAAC;AAoBF,eAAO,MAAM,2BAA2B,YAC3B,MAAM,GAAG,SAAS,wBACL,6BAA6B,EAAE,KACtD,MAYF,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { useMemo } from "react";
|
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { areObjRefsEqual, isIdentifierRef, isUriRef, } from "@gooddata/sdk-model";
|
|
5
5
|
import { useDashboardSelector } from "../../../../../../../model/react/DashboardStoreProvider.js";
|
|
6
|
-
import { selectAllCatalogDateDatasetsMap, selectAllCatalogDisplayFormsMap,
|
|
6
|
+
import { selectAllCatalogDateDatasetsMap, selectAllCatalogDisplayFormsMap, selectCatalogAttributesWithComputed, selectCatalogFacts, selectCatalogMeasures, } from "../../../../../../../model/store/catalog/catalogSelectors.js";
|
|
7
7
|
import { selectDateFilterConfigOverrides } from "../../../../../../../model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.js";
|
|
8
8
|
import { selectDateFilterConfigsOverrides } from "../../../../../../../model/store/tabs/dateFilterConfigs/dateFilterConfigsSelectors.js";
|
|
9
9
|
const findAttributeByLabel = (labelRef, labels, attributes) => {
|
|
@@ -21,7 +21,7 @@ const findTitleForCatalogItem = (item, { metrics, facts }, attributes) => {
|
|
|
21
21
|
if (item.type === "fact") {
|
|
22
22
|
return facts.find((fact) => areObjRefsEqual(fact.fact.ref, item))?.fact.title;
|
|
23
23
|
}
|
|
24
|
-
if (item.type === "attribute") {
|
|
24
|
+
if (item.type === "attribute" || item.type === "computedAttribute") {
|
|
25
25
|
return attributes.find((attribute) => areObjRefsEqual(attribute.attribute.ref, item))?.attribute
|
|
26
26
|
.title;
|
|
27
27
|
}
|
|
@@ -45,6 +45,7 @@ const getTypeOrder = (item) => {
|
|
|
45
45
|
case "measure":
|
|
46
46
|
return 1;
|
|
47
47
|
case "attribute":
|
|
48
|
+
case "computedAttribute":
|
|
48
49
|
return 2;
|
|
49
50
|
case "fact":
|
|
50
51
|
return 3;
|
|
@@ -70,7 +71,7 @@ const mapParentFilters = (parentFilters, validParentFilters, labels, attributes,
|
|
|
70
71
|
};
|
|
71
72
|
});
|
|
72
73
|
export const useLimitingItems = (parentFilters, validParentFilters, validateElementsBy, metricsAndFacts, dependentDateFilters, availableDatasets, isEnabledKDAttributeFilterDatesValidation, isSelected, intl) => {
|
|
73
|
-
const attributes = useDashboardSelector(
|
|
74
|
+
const attributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
74
75
|
const labels = useDashboardSelector(selectAllCatalogDisplayFormsMap);
|
|
75
76
|
const dateDataSetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
|
|
76
77
|
const filterConfig = useDashboardSelector(selectDateFilterConfigOverrides);
|
|
@@ -104,7 +105,7 @@ export const useLimitingItems = (parentFilters, validParentFilters, validateElem
|
|
|
104
105
|
]);
|
|
105
106
|
};
|
|
106
107
|
export const useSearchableLimitingItems = (currentlySelectedItems) => {
|
|
107
|
-
const attributes = useDashboardSelector(
|
|
108
|
+
const attributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
108
109
|
const measures = useDashboardSelector(selectCatalogMeasures);
|
|
109
110
|
const facts = useDashboardSelector(selectCatalogFacts);
|
|
110
111
|
return useMemo(() => {
|
|
@@ -127,7 +128,7 @@ export const useSearchableLimitingItems = (currentlySelectedItems) => {
|
|
|
127
128
|
};
|
|
128
129
|
export const useFilterItems = (parentFilters, validParentFilters, dependentDateFilters, availableDatasets, dependentCommonDateFilter, isEnabledKDAttributeFilterDatesValidation, isSelected, intl) => {
|
|
129
130
|
const labels = useDashboardSelector(selectAllCatalogDisplayFormsMap);
|
|
130
|
-
const attributes = useDashboardSelector(
|
|
131
|
+
const attributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
131
132
|
const dateDataSetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
|
|
132
133
|
const filterConfig = useDashboardSelector(selectDateFilterConfigOverrides);
|
|
133
134
|
const filterConfigByDimension = useDashboardSelector(selectDateFilterConfigsOverrides);
|
|
@@ -6,7 +6,7 @@ import { areObjRefsEqual } from "@gooddata/sdk-model";
|
|
|
6
6
|
import { Bubble, BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { simplifyText } from "@gooddata/util";
|
|
8
8
|
import { useDashboardSelector } from "../../../../../../model/react/DashboardStoreProvider.js";
|
|
9
|
-
import {
|
|
9
|
+
import { selectCatalogAttributesWithComputed } from "../../../../../../model/store/catalog/catalogSelectors.js";
|
|
10
10
|
import { selectAttributeFilterDisplayFormByLocalId } from "../../../../../../model/store/tabs/filterContext/filterContextSelectors.js";
|
|
11
11
|
const ALIGN_POINTS = [{ align: "bc tl" }, { align: "tc bl" }];
|
|
12
12
|
const ARROW_OFFSET = {
|
|
@@ -15,7 +15,7 @@ const ARROW_OFFSET = {
|
|
|
15
15
|
};
|
|
16
16
|
export function ParentFiltersDisabledItem({ itemLocalId, itemTitle, hasConnectingAttributes, }) {
|
|
17
17
|
const itemDisplayForm = useDashboardSelector(selectAttributeFilterDisplayFormByLocalId(itemLocalId || ""));
|
|
18
|
-
const attributes = useDashboardSelector(
|
|
18
|
+
const attributes = useDashboardSelector(selectCatalogAttributesWithComputed);
|
|
19
19
|
const itemAttribute = attributes.find((attr) => attr.displayForms.some((df) => areObjRefsEqual(df.ref, itemDisplayForm)));
|
|
20
20
|
const currentFilterTitle = itemAttribute?.attribute.title;
|
|
21
21
|
invariant(itemTitle, "The parent filter title could not be fetched.");
|