@gooddata/sdk-ui-dashboard 10.22.0-alpha.5 → 10.22.0-alpha.51
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 +4516 -4046
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +5 -2
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +12 -7
- package/esm/_staging/dashboard/dashboardFilterConverter.js.map +1 -1
- package/esm/_staging/errors/errorPredicates.d.ts +12 -0
- package/esm/_staging/errors/errorPredicates.d.ts.map +1 -1
- package/esm/_staging/errors/errorPredicates.js +13 -1
- package/esm/_staging/errors/errorPredicates.js.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +2 -0
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +8 -2
- package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
- package/esm/assets/type-csv-formatted.svg +1 -0
- package/esm/assets/type-csv-raw.svg +1 -0
- package/esm/assets/type-image.svg +1 -0
- package/esm/assets/type-pdf.svg +1 -0
- package/esm/assets/type-sheet.svg +1 -0
- package/esm/assets/type-slides.svg +1 -0
- package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.d.ts +18 -0
- package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.js +36 -0
- package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts +8 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +20 -7
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.d.ts +6 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.js +26 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts +6 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +33 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts +6 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +33 -0
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +37 -4
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js +19 -5
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +14 -7
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +12 -4
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.d.ts +4 -0
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +8 -1
- package/esm/model/commandHandlers/filterContext/common.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +15 -9
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +9 -2
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +12 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +36 -0
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +33 -0
- package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js.map +1 -0
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/dashboard.d.ts +51 -0
- package/esm/model/commands/dashboard.d.ts.map +1 -1
- package/esm/model/commands/dashboard.js +49 -1
- package/esm/model/commands/dashboard.js.map +1 -1
- package/esm/model/commands/filters.d.ts +74 -4
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +71 -4
- package/esm/model/commands/filters.js.map +1 -1
- package/esm/model/commands/index.d.ts +10 -10
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +4 -4
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/insight.d.ts +78 -1
- package/esm/model/commands/insight.d.ts.map +1 -1
- package/esm/model/commands/insight.js +45 -1
- package/esm/model/commands/insight.js.map +1 -1
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/base.js.map +1 -1
- package/esm/model/events/dashboard.d.ts +144 -0
- package/esm/model/events/dashboard.d.ts.map +1 -1
- package/esm/model/events/dashboard.js +97 -1
- package/esm/model/events/dashboard.js.map +1 -1
- package/esm/model/events/index.d.ts +4 -4
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/index.js +1 -1
- package/esm/model/events/index.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +6 -0
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +24 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +18 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +24 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +8 -0
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +19 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts +11 -0
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +87 -28
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.d.ts +70 -5
- package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +124 -7
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextState.d.ts +44 -2
- package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextState.js +1 -0
- package/esm/model/store/filterContext/filterContextState.js.map +1 -1
- package/esm/model/store/filterContext/filterContextUtils.d.ts +10 -0
- package/esm/model/store/filterContext/filterContextUtils.d.ts.map +1 -0
- package/esm/model/store/filterContext/filterContextUtils.js +70 -0
- package/esm/model/store/filterContext/filterContextUtils.js.map +1 -0
- package/esm/model/store/filterContext/index.d.ts +4 -0
- package/esm/model/store/filterContext/index.d.ts.map +1 -1
- package/esm/model/store/index.d.ts +6 -5
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +5 -4
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/topBar/topBarSelectors.d.ts +86 -0
- package/esm/model/store/topBar/topBarSelectors.d.ts.map +1 -0
- package/esm/model/store/topBar/topBarSelectors.js +160 -0
- package/esm/model/store/topBar/topBarSelectors.js.map +1 -0
- package/esm/presentation/dashboard/Dashboard.d.ts +1 -1
- package/esm/presentation/dashboard/Dashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/Dashboard.js +26 -6
- package/esm/presentation/dashboard/Dashboard.js.map +1 -1
- package/esm/presentation/dashboardContexts/useSlideData.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/useSlideData.js +1 -0
- package/esm/presentation/dashboardContexts/useSlideData.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js.map +1 -1
- package/esm/presentation/export/DefaultDashboardExportVariables.d.ts +13 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.d.ts.map +1 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.js +34 -0
- package/esm/presentation/export/DefaultDashboardExportVariables.js.map +1 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts +17 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +13 -0
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js.map +1 -0
- package/esm/presentation/export/index.d.ts +1 -0
- package/esm/presentation/export/index.d.ts.map +1 -1
- package/esm/presentation/export/index.js +1 -0
- package/esm/presentation/export/index.js.map +1 -1
- package/esm/presentation/export/types.d.ts +51 -1
- package/esm/presentation/export/types.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.d.ts +6 -2
- package/esm/presentation/export/useExportData.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.js +74 -5
- package/esm/presentation/export/useExportData.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +9 -2
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/types.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +14 -4
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +9 -3
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +8 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js.map +1 -1
- package/esm/presentation/filterBar/dateFilter/types.d.ts +2 -1
- package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +19 -10
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +15 -4
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +2 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +4 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +2 -0
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js +2 -0
- package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +4 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +14 -1
- package/esm/presentation/localization/bundles/en-AU.json +14 -1
- package/esm/presentation/localization/bundles/en-GB.json +14 -1
- package/esm/presentation/localization/bundles/en-US.json +51 -1
- package/esm/presentation/localization/bundles/es-419.json +14 -1
- package/esm/presentation/localization/bundles/es-ES.json +14 -1
- package/esm/presentation/localization/bundles/fi-FI.json +14 -1
- package/esm/presentation/localization/bundles/fr-CA.json +14 -1
- package/esm/presentation/localization/bundles/fr-FR.json +14 -1
- package/esm/presentation/localization/bundles/it-IT.json +14 -1
- package/esm/presentation/localization/bundles/ja-JP.json +14 -1
- package/esm/presentation/localization/bundles/nl-NL.json +14 -1
- package/esm/presentation/localization/bundles/pt-BR.json +14 -1
- package/esm/presentation/localization/bundles/pt-PT.json +14 -1
- package/esm/presentation/localization/bundles/ru-RU.json +1 -0
- package/esm/presentation/localization/bundles/zh-HK.json +14 -1
- package/esm/presentation/localization/bundles/zh-Hans.json +14 -1
- package/esm/presentation/localization/bundles/zh-Hant.json +14 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +2 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js +5 -4
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts +0 -5
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js +2 -27
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.d.ts +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.js +2 -2
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.js.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js +2 -3
- package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js +3 -4
- package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +53 -28
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.d.ts +9 -0
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.d.ts.map +1 -0
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js +15 -0
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js.map +1 -0
- package/esm/presentation/topBar/menuButton/types.d.ts +18 -1
- package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +105 -69
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.d.ts +5 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.d.ts.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.js +44 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.js.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.d.ts +5 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.d.ts.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.js +44 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.js.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.d.ts +5 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.d.ts.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.js +44 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.js.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.d.ts +5 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.d.ts.map +1 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.js +44 -0
- package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.js.map +1 -0
- package/esm/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.js +2 -2
- package/esm/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.js.map +1 -1
- package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.d.ts +8 -1
- package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.d.ts.map +1 -1
- package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.js +6 -3
- package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.js.map +1 -1
- package/esm/presentation/widget/common/useCustomWidgetInsightDataView.d.ts +8 -1
- package/esm/presentation/widget/common/useCustomWidgetInsightDataView.d.ts.map +1 -1
- package/esm/presentation/widget/common/useCustomWidgetInsightDataView.js +6 -3
- package/esm/presentation/widget/common/useCustomWidgetInsightDataView.js.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.d.ts +10 -2
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.js +38 -4
- package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
- package/esm/presentation/widget/common/useRawExportHandler.d.ts +5 -0
- package/esm/presentation/widget/common/useRawExportHandler.d.ts.map +1 -0
- package/esm/presentation/widget/common/useRawExportHandler.js +35 -0
- package/esm/presentation/widget/common/useRawExportHandler.js.map +1 -0
- package/esm/presentation/widget/common/useSlidesExportHandler.d.ts +5 -0
- package/esm/presentation/widget/common/useSlidesExportHandler.d.ts.map +1 -0
- package/esm/presentation/widget/common/useSlidesExportHandler.js +35 -0
- package/esm/presentation/widget/common/useSlidesExportHandler.js.map +1 -0
- package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
- package/esm/presentation/widget/description/DescriptionClickTrigger.js +3 -3
- package/esm/presentation/widget/description/DescriptionClickTrigger.js.map +1 -1
- package/esm/presentation/widget/description/types.d.ts +2 -2
- package/esm/presentation/widget/description/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts +3 -2
- package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.js +13 -4
- package/esm/presentation/widget/insight/DefaultDashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +35 -9
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts +4 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js +2 -2
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.d.ts +4 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js +12 -5
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts +15 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js +56 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +7 -3
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/ExportOptions.d.ts +17 -0
- package/esm/presentation/widget/insight/configuration/ExportOptions.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/ExportOptions.js +62 -0
- package/esm/presentation/widget/insight/configuration/ExportOptions.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +6 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +4 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/types.d.ts +4 -0
- package/esm/presentation/widget/insight/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/types.js.map +1 -1
- package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.d.ts +6 -0
- package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.d.ts.map +1 -0
- package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.js +26 -0
- package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.js.map +1 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.js +4 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +7 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +21 -4
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.js +4 -2
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +9 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +9 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +7 -0
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +25 -2
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +789 -26
- package/esm/types.d.ts +8 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js.map +1 -1
- package/package.json +15 -15
- package/styles/css/attributeFilterConfig.css +39 -9
- package/styles/css/attributeFilterConfig.css.map +1 -1
- package/styles/css/configurationPanel.css +15 -0
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css +8 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dateFilterConfig.css +39 -9
- package/styles/css/dateFilterConfig.css.map +1 -1
- package/styles/css/export.css +5 -0
- package/styles/css/export.css.map +1 -1
- package/styles/css/icons.css +42 -0
- package/styles/css/icons.css.map +1 -1
- package/styles/css/main.css +161 -17
- package/styles/css/main.css.map +1 -1
- package/styles/css/sharedFilterConfig.css +39 -9
- package/styles/css/sharedFilterConfig.css.map +1 -1
- package/styles/scss/configurationPanel.scss +16 -1
- package/styles/scss/dashboard.scss +8 -0
- package/styles/scss/export.scss +5 -0
- package/styles/scss/filterBar.scss +1 -1
- package/styles/scss/icons.scss +55 -1
- package/styles/scss/sharedFilterConfig.scss +24 -1
- package/esm/presentation/topBar/buttonBar/button/selectors.d.ts +0 -40
- package/esm/presentation/topBar/buttonBar/button/selectors.d.ts.map +0 -1
- package/esm/presentation/topBar/buttonBar/button/selectors.js +0 -61
- package/esm/presentation/topBar/buttonBar/button/selectors.js.map +0 -1
@@ -1,9 +1,8 @@
|
|
1
|
-
// (C) 2022-
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
2
2
|
import React, { useCallback } from "react";
|
3
3
|
import { useIntl } from "react-intl";
|
4
4
|
import { Bubble, BubbleHoverTrigger, Button, useMediaQuery } from "@gooddata/sdk-ui-kit";
|
5
|
-
import { selectIsDashboardLoading, selectIsInEditMode, selectCatalogIsLoaded, switchToEditRenderMode, useDashboardDispatch, useDashboardSelector, } from "../../../../../model/index.js";
|
6
|
-
import { selectCanEnterEditMode } from "../selectors.js";
|
5
|
+
import { selectIsDashboardLoading, selectIsInEditMode, selectCatalogIsLoaded, switchToEditRenderMode, useDashboardDispatch, useDashboardSelector, selectCanEnterEditMode, } from "../../../../../model/index.js";
|
7
6
|
const ALIGN_POINTS_TOOLTIP = [{ align: "bc tr" }];
|
8
7
|
/**
|
9
8
|
* @internal
|
@@ -32,7 +31,9 @@ export function DefaultEditButton({ isVisible, isEnabled, onEditClick }) {
|
|
32
31
|
return null;
|
33
32
|
}
|
34
33
|
return (React.createElement(BubbleHoverTrigger, { showDelay: 100 },
|
35
|
-
React.createElement(Button, { className: "gd-button-action dash-header-edit-button gd-icon-pencil s-edit_button", value: intl.formatMessage({ id: "controlButtons.edit.value" }), disabled: !isEnabled, onClick: onEditClick,
|
34
|
+
React.createElement(Button, { className: "gd-button-action dash-header-edit-button gd-icon-pencil s-edit_button", value: intl.formatMessage({ id: "controlButtons.edit.value" }), disabled: !isEnabled, onClick: onEditClick, accessibilityConfig: {
|
35
|
+
ariaLabel: tooltipText,
|
36
|
+
} }),
|
36
37
|
React.createElement(Bubble, { alignTo: "gd-button-action dash-header-edit-button", alignPoints: ALIGN_POINTS_TOOLTIP }, tooltipText)));
|
37
38
|
}
|
38
39
|
//# sourceMappingURL=DefaultEditButton.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultEditButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEzF,OAAO,EACH,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,
|
1
|
+
{"version":3,"file":"DefaultEditButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEzF,OAAO,EACH,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,GACzB,MAAM,+BAA+B,CAAC;AAIvC,MAAM,oBAAoB,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAElD;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAC9B,MAAM,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IAEjD,MAAM,YAAY,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;IAClE,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;IAC1E,MAAM,eAAe,GAAG,oBAAoB,CAAC,qBAAqB,CAAC,CAAC;IACpE,MAAM,SAAS,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,CAAC;IAE3D,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,sBAAsB,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEtF,OAAO;QACH,SAAS,EAAE,kBAAkB,IAAI,CAAC,SAAS,IAAI,YAAY;QAC3D,SAAS,EAAE,CAAC,kBAAkB,IAAI,eAAe;QACjD,WAAW;KACd,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAoB;IACrF,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,6BAA6B,EAAE,CAAC,CAAC;IAE9E,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,oBAAC,kBAAkB,IAAC,SAAS,EAAE,GAAG;QAC9B,oBAAC,MAAM,IACH,SAAS,EAAC,uEAAuE,EACjF,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,2BAA2B,EAAE,CAAC,EAC9D,QAAQ,EAAE,CAAC,SAAS,EACpB,OAAO,EAAE,WAAW,EACpB,mBAAmB,EAAE;gBACjB,SAAS,EAAE,WAAW;aACzB,GACH;QACF,oBAAC,MAAM,IAAC,OAAO,EAAC,0CAA0C,EAAC,WAAW,EAAE,oBAAoB,IACvF,WAAW,CACP,CACQ,CACxB,CAAC;AACN,CAAC"}
|
@@ -1,10 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import { DashboardSelector } from "../../../../../model/index.js";
|
3
2
|
import { ISaveAsNewButtonProps } from "./types.js";
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export declare const selectIsSaveAsNewButtonVisible: DashboardSelector<boolean>;
|
8
3
|
/**
|
9
4
|
* @internal
|
10
5
|
*/
|
package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultSaveAsNewButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"DefaultSaveAsNewButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,qBAAqB,CAY/D;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,EAAE,qBAAqB,4BAc5F"}
|
@@ -1,33 +1,8 @@
|
|
1
|
-
// (C) 2021-
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
2
2
|
import React, { useCallback } from "react";
|
3
3
|
import { useIntl } from "react-intl";
|
4
4
|
import { Button } from "@gooddata/sdk-ui-kit";
|
5
|
-
import {
|
6
|
-
import { selectCanEnterEditModeAndIsLoaded } from "../selectors.js";
|
7
|
-
import { createSelector } from "@reduxjs/toolkit";
|
8
|
-
/**
|
9
|
-
* @internal
|
10
|
-
*/
|
11
|
-
export const selectIsSaveAsNewButtonVisible = createSelector(selectEnableKPIDashboardSaveAsNew, selectIsSaveAsNewButtonHidden, selectCanEnterEditModeAndIsLoaded, selectCanCreateAnalyticalDashboard, selectIsExport, selectIsReadOnly, (isSaveAsNewEnabled, isSaveAsButtonHidden, isDashboardEditable, canCreateDashboard, isExport, isReadOnly) => {
|
12
|
-
/*
|
13
|
-
* The reasoning behind this condition is as follows. Do not show separate Save As button if:
|
14
|
-
*
|
15
|
-
*
|
16
|
-
* 1. The feature is not enabled or
|
17
|
-
* 2. If is disabled by config
|
18
|
-
* 3. If the dashboard can be edited; in this case, the save as option is part of the dropdown menu;
|
19
|
-
* it is somewhat more hidden
|
20
|
-
* 4. dashboard is not in export mode
|
21
|
-
* 5. If the user cannot create dashboards - e.g. does not have permissions to do so (is viewer for example).
|
22
|
-
* 6. If the dashboard is in read-only mode.
|
23
|
-
*/
|
24
|
-
return (isSaveAsNewEnabled &&
|
25
|
-
!isSaveAsButtonHidden &&
|
26
|
-
!isDashboardEditable &&
|
27
|
-
!isExport &&
|
28
|
-
canCreateDashboard &&
|
29
|
-
!isReadOnly);
|
30
|
-
});
|
5
|
+
import { uiActions, selectIsSaveAsNewButtonVisible, useDashboardDispatch, useDashboardSelector, } from "../../../../../model/index.js";
|
31
6
|
/**
|
32
7
|
* @internal
|
33
8
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultSaveAsNewButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EACH,
|
1
|
+
{"version":3,"file":"DefaultSaveAsNewButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EACH,SAAS,EACT,8BAA8B,EAC9B,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,+BAA+B,CAAC;AAIvC;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACnC,MAAM,iBAAiB,GAAG,oBAAoB,EAAE,CAAC;IACjD,MAAM,SAAS,GAAG,oBAAoB,CAAC,8BAA8B,CAAC,CAAC;IAEvE,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,EAAE;QACtC,iBAAiB,CAAC,SAAS,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACpD,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAExB,OAAO;QACH,SAAS;QACT,gBAAgB;KACnB,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAyB;IACzF,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,oBAAC,MAAM,IACH,SAAS,EAAC,0CAA0C,EACpD,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,EAChD,OAAO,EAAE,gBAAgB,GAC3B,CACL,CAAC;AACN,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { DefaultSaveAsNewButton, useSaveAsNewButtonProps
|
1
|
+
export { DefaultSaveAsNewButton, useSaveAsNewButtonProps } from "./DefaultSaveAsNewButton.js";
|
2
2
|
export { SaveAsNewButton } from "./SaveAsNewButton.js";
|
3
3
|
export * from "./types.js";
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/index.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,cAAc,YAAY,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
2
|
-
export { DefaultSaveAsNewButton, useSaveAsNewButtonProps
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
2
|
+
export { DefaultSaveAsNewButton, useSaveAsNewButtonProps } from "./DefaultSaveAsNewButton.js";
|
3
3
|
export { SaveAsNewButton } from "./SaveAsNewButton.js";
|
4
4
|
export * from "./types.js";
|
5
5
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/index.tsx"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveAsButton/index.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,cAAc,YAAY,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultSaveButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgC,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"DefaultSaveButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAqBrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,gBAAgB,CAkErD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,SAAS,EACT,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,WAAW,GACd,EAAE,gBAAgB,4BAoClB"}
|
@@ -1,11 +1,10 @@
|
|
1
|
-
// (C) 2021-
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
2
2
|
import React, { useCallback, useState } from "react";
|
3
3
|
import { FormattedMessage, useIntl } from "react-intl";
|
4
4
|
import { Bubble, BubbleHoverTrigger, Button } from "@gooddata/sdk-ui-kit";
|
5
5
|
import noop from "lodash/noop.js";
|
6
|
-
import { dispatchAndWaitFor, saveDashboard, selectEnableAnalyticalDashboardPermissions, selectIsDashboardDirty, selectIsDashboardSaving, selectIsInEditMode, useDashboardDispatch, useDashboardSelector, selectDashboardTitle, selectLayoutHasAnalyticalWidgets, } from "../../../../../model/index.js";
|
6
|
+
import { dispatchAndWaitFor, saveDashboard, selectEnableAnalyticalDashboardPermissions, selectIsDashboardDirty, selectIsDashboardSaving, selectIsInEditMode, useDashboardDispatch, useDashboardSelector, selectDashboardTitle, selectLayoutHasAnalyticalWidgets, selectCanSaveDashboard, selectIsPrivateDashboard, } from "../../../../../model/index.js";
|
7
7
|
import { messages } from "../../../../../locales.js";
|
8
|
-
import { selectCanSaveDashboard, selectIsPrivateDashboard } from "../selectors.js";
|
9
8
|
/**
|
10
9
|
* @internal
|
11
10
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultSaveButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,OAAO,EACH,kBAAkB,EAClB,aAAa,EACb,0CAA0C,EAC1C,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,gCAAgC,
|
1
|
+
{"version":3,"file":"DefaultSaveButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,OAAO,EACH,kBAAkB,EAClB,aAAa,EACb,0CAA0C,EAC1C,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,GAC3B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAIrD;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAC9B,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,KAAK,GAAG,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;IACzD,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,UAAU,EA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CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EACjC,YAAY,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EACnC,OAAO,EAAE,sBAAsB;YAE/B,oBAAC,gBAAgB,OAAK,WAAW,GAAI,CAChC,CACQ,CACxB,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultShareButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"DefaultShareButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAW/C;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,iBAAiB,CASvD;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0B1D,CAAC"}
|
@@ -1,10 +1,9 @@
|
|
1
|
-
// (C) 2021-
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
2
2
|
import React, { useCallback } from "react";
|
3
3
|
import { useIntl } from "react-intl";
|
4
4
|
import { Bubble, BubbleHoverTrigger, Button } from "@gooddata/sdk-ui-kit";
|
5
|
-
import { uiActions, useDashboardDispatch, useDashboardSelector } from "../../../../../model/index.js";
|
5
|
+
import { uiActions, selectIsShareButtonVisible, useDashboardDispatch, useDashboardSelector, } from "../../../../../model/index.js";
|
6
6
|
import { HiddenShareButton } from "./HiddenShareButton.js";
|
7
|
-
import { selectIsShareButtonVisible } from "../selectors.js";
|
8
7
|
const ALIGN_POINTS_TOOLTIP = [{ align: "bc tr" }];
|
9
8
|
/**
|
10
9
|
* @internal
|
@@ -28,7 +27,7 @@ export const DefaultShareButton = ({ isVisible, onShareButtonClick, }) => {
|
|
28
27
|
return React.createElement(HiddenShareButton, null);
|
29
28
|
}
|
30
29
|
return (React.createElement(BubbleHoverTrigger, { showDelay: 100 },
|
31
|
-
React.createElement(Button, { onClick: () => onShareButtonClick(), value: intl.formatMessage({ id: "share.button.text" }), className: "gd-button-secondary dash-header-share-button s-header-share-button gd-button gd-icon-users", ariaLabel: tooltipText }),
|
30
|
+
React.createElement(Button, { onClick: () => onShareButtonClick(), value: intl.formatMessage({ id: "share.button.text" }), className: "gd-button-secondary dash-header-share-button s-header-share-button gd-button gd-icon-users", accessibilityConfig: { ariaLabel: tooltipText } }),
|
32
31
|
React.createElement(Bubble, { alignTo: "gd-button-secondary dash-header-share-button", alignPoints: ALIGN_POINTS_TOOLTIP }, tooltipText)));
|
33
32
|
};
|
34
33
|
//# sourceMappingURL=DefaultShareButton.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultShareButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG1E,OAAO,
|
1
|
+
{"version":3,"file":"DefaultShareButton.js","sourceRoot":"","sources":["../../../../../../src/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,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AAE,GACjD;QACF,oBAAC,MAAM,IAAC,OAAO,EAAC,8CAA8C,EAAC,WAAW,EAAE,oBAAoB,IAC3F,WAAW,CACP,CACQ,CACxB,CAAC;AACN,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultMenuButton.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultMenuButton.tsx"],"names":[],"mappings":";AAeA,OAAO,
|
1
|
+
{"version":3,"file":"DefaultMenuButton.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultMenuButton.tsx"],"names":[],"mappings":";AAeA,OAAO,EAA8C,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAO1F;;GAEG;AACH,eAAO,MAAM,iBAAiB,UAAW,gBAAgB,KAAG,WAAW,GAAG,IAiLzE,CAAC"}
|
@@ -1,9 +1,10 @@
|
|
1
|
-
// (C) 2021-
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
2
2
|
import React, { useCallback, useMemo, useState } from "react";
|
3
3
|
import cx from "classnames";
|
4
4
|
import { Bubble, BubbleHoverTrigger, Button, ItemsWrapper, Overlay, SingleSelectListItem, } from "@gooddata/sdk-ui-kit";
|
5
5
|
import { useIntl } from "react-intl";
|
6
6
|
import { v4 as uuid } from "uuid";
|
7
|
+
import { DefaultSubmenuHeader } from "./DefaultSubmenuHeader.js";
|
7
8
|
const ALIGN_POINTS_TOOLTIP = [{ align: "bc tr" }, { align: "cl cr" }];
|
8
9
|
const overlayAlignPoints = [{ align: "br tr" }];
|
9
10
|
const bubbleAlignPoints = [{ align: "cl tr" }];
|
@@ -20,8 +21,10 @@ export const DefaultMenuButton = (props) => {
|
|
20
21
|
const dropdownAnchorClassName = useMemo(() => `dash-header-options-anchor-${uuid()}`, []);
|
21
22
|
const onMenuButtonClick = useCallback(() => {
|
22
23
|
setIsOpen((prevIsOpen) => !prevIsOpen);
|
24
|
+
setSelectedMenuItem(null);
|
23
25
|
}, []);
|
24
|
-
const
|
26
|
+
const [selectedMenuItem, setSelectedMenuItem] = useState(null);
|
27
|
+
const visibleMenuItems = useMemo(() => (selectedMenuItem?.items ?? menuItems).filter((item) => item.visible !== false), [menuItems, selectedMenuItem]);
|
25
28
|
if (!visibleMenuItems.length) {
|
26
29
|
if (!menuItems.length) {
|
27
30
|
// only warn if the items were really empty before filtering
|
@@ -31,35 +34,57 @@ export const DefaultMenuButton = (props) => {
|
|
31
34
|
}
|
32
35
|
const renderMenuItems = () => {
|
33
36
|
return (React.createElement(Overlay, { key: "topBarMenuButton", alignTo: `.${dropdownAnchorClassName}`, alignPoints: overlayAlignPoints, className: "gd-header-menu-overlay", closeOnMouseDrag: true, closeOnOutsideClick: true, onClose: onMenuButtonClick },
|
34
|
-
React.createElement(ItemsWrapper, { smallItemsSpacing: true },
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
React.createElement(
|
57
|
-
|
58
|
-
|
37
|
+
React.createElement(ItemsWrapper, { smallItemsSpacing: true },
|
38
|
+
selectedMenuItem ? (React.createElement(DefaultSubmenuHeader, { title: selectedMenuItem.itemName, onClose: () => {
|
39
|
+
setIsOpen(false);
|
40
|
+
setSelectedMenuItem(null);
|
41
|
+
}, onGoBack: () => setSelectedMenuItem(null) })) : null,
|
42
|
+
visibleMenuItems.map((menuItem) => {
|
43
|
+
if (menuItem.type === "separator") {
|
44
|
+
return (React.createElement(SingleSelectListItem, { key: menuItem.itemId, type: menuItem.type, className: menuItem.className }));
|
45
|
+
}
|
46
|
+
if (menuItem.type === "header") {
|
47
|
+
return (React.createElement(SingleSelectListItem, { key: menuItem.itemId, type: menuItem.type, title: menuItem.itemName, className: menuItem.className }));
|
48
|
+
}
|
49
|
+
if (menuItem.type === "menu") {
|
50
|
+
return renderWithOptionalTooltip(menuItem, ({ selectorClassName }) => (React.createElement(SingleSelectListItem, { className: cx("gd-menu-item", menuItem.className, `s-${menuItem.itemId}`, {
|
51
|
+
[selectorClassName]: menuItem.tooltip,
|
52
|
+
"is-disabled": menuItem.disabled,
|
53
|
+
}), key: menuItem.itemId, title: menuItem.itemName, icon: menuItem.icon, isMenu: true, onClick: menuItem.disabled
|
54
|
+
? undefined
|
55
|
+
: () => {
|
56
|
+
setSelectedMenuItem(menuItem);
|
57
|
+
} })));
|
58
|
+
}
|
59
|
+
return renderWithOptionalTooltip(menuItem, ({ selectorClassName }) => (React.createElement(SingleSelectListItem, { className: cx("gd-menu-item", menuItem.className, `s-${menuItem.itemId}`, {
|
60
|
+
[selectorClassName]: menuItem.tooltip,
|
61
|
+
"is-disabled": menuItem.disabled,
|
62
|
+
}), key: menuItem.itemId, title: menuItem.itemName, icon: menuItem.icon, onClick: menuItem.disabled
|
63
|
+
? undefined
|
64
|
+
: () => {
|
65
|
+
menuItem.onClick?.();
|
66
|
+
setIsOpen(false);
|
67
|
+
setSelectedMenuItem(null);
|
68
|
+
} })));
|
69
|
+
}))));
|
70
|
+
};
|
71
|
+
const renderWithOptionalTooltip = (menuItem, children) => {
|
72
|
+
const selectorClassName = `gd-menu-item-${menuItem.itemId}`;
|
73
|
+
if (!menuItem.tooltip) {
|
74
|
+
return children({ selectorClassName });
|
75
|
+
}
|
76
|
+
return (React.createElement(BubbleHoverTrigger, { key: menuItem.itemId, eventsOnBubble: true },
|
77
|
+
children({
|
78
|
+
selectorClassName,
|
79
|
+
}),
|
80
|
+
React.createElement(Bubble, { alignTo: `.${selectorClassName}`, alignPoints: bubbleAlignPoints },
|
81
|
+
React.createElement("span", null, menuItem.tooltip))));
|
59
82
|
};
|
60
83
|
return (React.createElement(React.Fragment, null,
|
61
84
|
React.createElement(BubbleHoverTrigger, { className: "dash-header-options-wrapper", showDelay: 100 },
|
62
|
-
React.createElement(Button, { onClick: onMenuButtonClick, value: "\u22EF", className: cx("gd-button-primary dash-header-options-button s-header-options-button gd-button", dropdownAnchorClassName),
|
85
|
+
React.createElement(Button, { onClick: onMenuButtonClick, value: "\u22EF", className: cx("gd-button-primary dash-header-options-button s-header-options-button gd-button", dropdownAnchorClassName), accessibilityConfig: {
|
86
|
+
ariaLabel: tooltipText,
|
87
|
+
} }),
|
63
88
|
!isOpen ? (React.createElement(Bubble, { alignTo: "gd-button-primary dash-header-options-button", alignPoints: ALIGN_POINTS_TOOLTIP }, tooltipText)) : null),
|
64
89
|
isOpen ? renderMenuItems() : null));
|
65
90
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DefaultMenuButton.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultMenuButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"DefaultMenuButton.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultMenuButton.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAgB,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EACH,MAAM,EACN,kBAAkB,EAClB,MAAM,EAEN,YAAY,EACZ,OAAO,EACP,oBAAoB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAGlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,oBAAoB,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AACtE,MAAM,kBAAkB,GAAkB,CAAC,EAAE,KA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AAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,CACnC,CACN,CAAC;AACN,CAAC,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
interface IDefaultSubmenuHeaderProps {
|
3
|
+
title: string;
|
4
|
+
onGoBack?: () => void;
|
5
|
+
onClose: () => void;
|
6
|
+
}
|
7
|
+
export declare const DefaultSubmenuHeader: React.FC<IDefaultSubmenuHeaderProps>;
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=DefaultSubmenuHeader.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DefaultSubmenuHeader.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultSubmenuHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,0BAA0B;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAgBrE,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
2
|
+
import React from "react";
|
3
|
+
import { Button, Typography } from "@gooddata/sdk-ui-kit";
|
4
|
+
import cx from "classnames";
|
5
|
+
export const DefaultSubmenuHeader = ({ title, onGoBack, onClose }) => {
|
6
|
+
const headerClassNames = cx("configuration-panel-header-title", {
|
7
|
+
clickable: !!onGoBack,
|
8
|
+
});
|
9
|
+
return (React.createElement("div", { className: "configuration-panel-header" },
|
10
|
+
React.createElement(Typography, { tagName: "h3", className: headerClassNames, onClick: onGoBack ? onGoBack : undefined },
|
11
|
+
onGoBack ? React.createElement("i", { className: "gd-icon-navigateleft" }) : null,
|
12
|
+
title),
|
13
|
+
React.createElement(Button, { className: "gd-button-link gd-button-icon-only gd-icon-cross configuration-panel-header-close-button s-configuration-panel-header-close-button", onClick: onClose })));
|
14
|
+
};
|
15
|
+
//# sourceMappingURL=DefaultSubmenuHeader.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DefaultSubmenuHeader.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultSubmenuHeader.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,MAAM,YAAY,CAAC;AAQ5B,MAAM,CAAC,MAAM,oBAAoB,GAAyC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACvG,MAAM,gBAAgB,GAAG,EAAE,CAAC,kCAAkC,EAAE;QAC5D,SAAS,EAAE,CAAC,CAAC,QAAQ;KACxB,CAAC,CAAC;IACH,OAAO,CACH,6BAAK,SAAS,EAAC,4BAA4B;QACvC,oBAAC,UAAU,IAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;YACzF,QAAQ,CAAC,CAAC,CAAC,2BAAG,SAAS,EAAC,sBAAsB,GAAG,CAAC,CAAC,CAAC,IAAI;YACxD,KAAK,CACG;QACb,oBAAC,MAAM,IACH,SAAS,EAAC,oIAAoI,EAC9I,OAAO,EAAE,OAAO,GAClB,CACA,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -21,6 +21,23 @@ export interface IMenuButtonItemButton extends IMenuItemCommonProps {
|
|
21
21
|
disabled?: boolean;
|
22
22
|
icon?: string | ReactNode;
|
23
23
|
}
|
24
|
+
/**
|
25
|
+
* @alpha
|
26
|
+
*/
|
27
|
+
export interface IMenuButtonItemMenu extends IMenuItemCommonProps {
|
28
|
+
type: "menu";
|
29
|
+
itemName: string;
|
30
|
+
/**
|
31
|
+
* If specified, the value is shown on hover of the item as a tooltip.
|
32
|
+
*/
|
33
|
+
tooltip?: string | ReactNode;
|
34
|
+
disabled?: boolean;
|
35
|
+
icon?: string | ReactNode;
|
36
|
+
items: [
|
37
|
+
IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader,
|
38
|
+
...(IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader)[]
|
39
|
+
];
|
40
|
+
}
|
24
41
|
/**
|
25
42
|
* @alpha
|
26
43
|
*/
|
@@ -37,7 +54,7 @@ export interface IMenuButtonItemHeader extends IMenuItemCommonProps {
|
|
37
54
|
/**
|
38
55
|
* @alpha
|
39
56
|
*/
|
40
|
-
export type IMenuButtonItem = IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader;
|
57
|
+
export type IMenuButtonItem = IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader | IMenuButtonItemMenu;
|
41
58
|
/**
|
42
59
|
* @alpha
|
43
60
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,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AqB;QACxE,GAAG,CAAC,qBAAqB,GAAG,wBAAwB,GAAG,qBAAqB,CAAC,EAAE;KAClF,CAAC;CACL;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IAClE,IAAI,EAAE,WAAW,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GACrB,qBAAqB,GACrB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAE1C,iBAAiB,EAAE,yBAAyB,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAE3C;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;CAClE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDefaultMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useDefaultMenuItems.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useDefaultMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useDefaultMenuItems.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA0B9C;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,eAAe,EAAE,CA6SvD"}
|