@gooddata/sdk-ui-dashboard 11.54.0-alpha.5 → 11.54.0-alpha.7
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 +849 -114
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +2 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts +7 -0
- package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/parameterHydration.js +17 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +7 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +32 -91
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +19 -14
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.js +18 -2
- package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -10
- package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -11
- package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -11
- package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -13
- package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/types.d.ts +156 -0
- package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/state/types.js +2 -0
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +2 -8
- package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +4 -34
- package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.d.ts +2 -11
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +2 -2
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +82 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +152 -0
- package/esm/presentation/automations/alerting/types.d.ts +34 -6
- package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +41 -126
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +2 -3
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +17 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +16 -5
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts +2 -29
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.js +0 -14
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +3 -3
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -16
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -12
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -15
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +2 -14
- package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -0
- package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/state/types.js +2 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +105 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts.map +1 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +196 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts +3 -11
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +10 -8
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.d.ts +2 -20
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.d.ts +3 -20
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +2 -2
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +3 -4
- package/esm/presentation/automations/scheduledEmail/types.d.ts +38 -7
- package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +25 -0
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +1 -0
- package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.js +22 -0
- package/esm/presentation/automations/shared/slots/types.d.ts +53 -26
- package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts +1 -2
- package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts.map +1 -1
- package/esm/presentation/dialogs/ExportCsvDialog.d.ts +0 -1
- package/esm/presentation/dialogs/ExportCsvDialog.d.ts.map +1 -1
- package/esm/presentation/dialogs/ExportCsvDialog.js +2 -2
- package/esm/presentation/dialogs/ExportCsvDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dialogs/ExportCsvDialogProvider.js +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +12 -16
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +0 -60
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +0 -60
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +10 -16
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +12 -18
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +12 -16
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +16 -20
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +16 -20
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +12 -16
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +14 -18
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +12 -16
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +14 -18
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.js +2 -4
- package/esm/sdk-ui-dashboard.d.ts +123 -36
- package/package.json +25 -25
- package/styles/css/main.css +369 -0
- package/styles/css/main.css.map +1 -1
- package/esm/_staging/dateFilterConfig/fixtures.d.ts +0 -10
- package/esm/_staging/dateFilterConfig/fixtures.d.ts.map +0 -1
- package/esm/_staging/dateFilterConfig/fixtures.js +0 -60
- package/esm/_staging/layout/coordinates.mock.d.ts +0 -17
- package/esm/_staging/layout/coordinates.mock.d.ts.map +0 -1
- package/esm/_staging/layout/coordinates.mock.js +0 -103
- package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts +0 -8
- package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts.map +0 -1
- package/esm/model/commandHandlers/filterContext/filterViewParameters.js +0 -9
- package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts +0 -14
- package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/CatalogAvailability.fixtures.js +0 -57
- package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts +0 -56
- package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/ComplexDashboard.fixtures.js +0 -71
- package/esm/model/fixtures/Dashboard.fixtures.d.ts +0 -10
- package/esm/model/fixtures/Dashboard.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/Dashboard.fixtures.js +0 -13
- package/esm/model/fixtures/Insights.fixtures.d.ts +0 -6
- package/esm/model/fixtures/Insights.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/Insights.fixtures.js +0 -11
- package/esm/model/fixtures/Layout.fixtures.d.ts +0 -14
- package/esm/model/fixtures/Layout.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/Layout.fixtures.js +0 -115
- package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts +0 -46
- package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/SimpleDashboard.fixtures.js +0 -315
- package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts +0 -28
- package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts.map +0 -1
- package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.js +0 -40
- package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts +0 -16
- package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts.map +0 -1
- package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.js +0 -30
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +0 -3
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +0 -46
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +0 -11
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +0 -31
- package/esm/presentation/automations/alerting/state/fixtures.d.ts +0 -13
- package/esm/presentation/automations/alerting/state/fixtures.d.ts.map +0 -1
- package/esm/presentation/automations/alerting/state/fixtures.js +0 -37
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +0 -19
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +0 -28
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +0 -13
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +0 -56
- package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts +0 -18
- package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts.map +0 -1
- package/esm/presentation/automations/scheduledEmail/state/fixtures.js +0 -105
- package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts +0 -5
- package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts.map +0 -1
- package/esm/presentation/automations/shared/automationFilters/parameterFixtures.js +0 -22
- package/esm/presentation/automations/shared/test/fixtures.d.ts +0 -9
- package/esm/presentation/automations/shared/test/fixtures.d.ts.map +0 -1
- package/esm/presentation/automations/shared/test/fixtures.js +0 -101
- package/esm/presentation/dashboard/components/DashboardMainContent.d.ts +0 -3
- package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +0 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.js +0 -39
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts +0 -16
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.js +0 -17
- package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts +0 -3
- package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.js +0 -9
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts +0 -6
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts.map +0 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.js +0 -10
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts +0 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts.map +0 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.js +0 -14
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts +0 -6
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts.map +0 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.js +0 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts +0 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts.map +0 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.js +0 -10
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts +0 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts.map +0 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.js +0 -33
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts +0 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts.map +0 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.js +0 -33
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts +0 -17
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.js +0 -18
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts +0 -12
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.js +0 -26
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts +0 -20
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.js +0 -95
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts +0 -14
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.js +0 -9
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts +0 -9
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.js +0 -17
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts +0 -6
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.js +0 -10
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts +0 -9
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.js +0 -14
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts +0 -8
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.js +0 -49
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts +0 -7
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.js +0 -33
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts +0 -62
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.js +0 -2
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts +0 -11
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.js +0 -4
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts +0 -8
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.js +0 -28
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts +0 -26
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.js +0 -21
- package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts +0 -7
- package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts.map +0 -1
- package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.js +0 -39
- package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts +0 -9
- package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts.map +0 -1
- package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.js +0 -26
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts +0 -7
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.js +0 -37
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts +0 -8
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.js +0 -15
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts +0 -7
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.js +0 -8
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts +0 -7
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.js +0 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts +0 -12
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.js +0 -12
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +0 -25
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +0 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +0 -29
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +0 -137
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +0 -11
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +0 -42
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +0 -48
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +0 -171
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts +0 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.js +0 -46
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type IAbsoluteDateFilterForm, type IAbsoluteDateFilterPreset, type IAllTimeDateFilterOption, type IEmptyValuesDateFilterOption, type IRelativeDateFilterForm, type IRelativeDateFilterPreset } from "@gooddata/sdk-model";
|
|
2
|
-
export declare const allTime: IAllTimeDateFilterOption;
|
|
3
|
-
export declare const year2019: IAbsoluteDateFilterPreset;
|
|
4
|
-
export declare const absoluteForm: IAbsoluteDateFilterForm;
|
|
5
|
-
export declare const lastMonth: IRelativeDateFilterPreset;
|
|
6
|
-
export declare const lastYear: IRelativeDateFilterPreset;
|
|
7
|
-
export declare const last30days: IRelativeDateFilterPreset;
|
|
8
|
-
export declare const relativeForm: IRelativeDateFilterForm;
|
|
9
|
-
export declare const emptyValues: IEmptyValuesDateFilterOption;
|
|
10
|
-
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/_staging/dateFilterConfig/fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EACjC,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,OAAO,EAAE,wBAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,yBAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,uBAK1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,yBAQvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,yBAQtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,yBAQxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,uBAM1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,4BAIzB,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// (C) 2019-2026 GoodData Corporation
|
|
2
|
-
export const allTime = {
|
|
3
|
-
type: "allTime",
|
|
4
|
-
localIdentifier: "ALL_TIME",
|
|
5
|
-
name: "",
|
|
6
|
-
visible: true,
|
|
7
|
-
};
|
|
8
|
-
export const year2019 = {
|
|
9
|
-
type: "absolutePreset",
|
|
10
|
-
from: "2019-01-01",
|
|
11
|
-
localIdentifier: "YEAR_2019",
|
|
12
|
-
name: "",
|
|
13
|
-
to: "2019-12-31",
|
|
14
|
-
visible: true,
|
|
15
|
-
};
|
|
16
|
-
export const absoluteForm = {
|
|
17
|
-
type: "absoluteForm",
|
|
18
|
-
localIdentifier: "ABSOLUTE_FORM",
|
|
19
|
-
name: "",
|
|
20
|
-
visible: true,
|
|
21
|
-
};
|
|
22
|
-
export const lastMonth = {
|
|
23
|
-
type: "relativePreset",
|
|
24
|
-
from: -1,
|
|
25
|
-
to: -1,
|
|
26
|
-
granularity: "GDC.time.month",
|
|
27
|
-
localIdentifier: "LAST_MONTH",
|
|
28
|
-
name: "",
|
|
29
|
-
visible: true,
|
|
30
|
-
};
|
|
31
|
-
export const lastYear = {
|
|
32
|
-
type: "relativePreset",
|
|
33
|
-
from: -1,
|
|
34
|
-
to: -1,
|
|
35
|
-
granularity: "GDC.time.year",
|
|
36
|
-
localIdentifier: "LAST_YEAR",
|
|
37
|
-
name: "",
|
|
38
|
-
visible: true,
|
|
39
|
-
};
|
|
40
|
-
export const last30days = {
|
|
41
|
-
from: -29,
|
|
42
|
-
to: 0,
|
|
43
|
-
granularity: "GDC.time.date",
|
|
44
|
-
type: "relativePreset",
|
|
45
|
-
localIdentifier: "LAST_30_DAYS",
|
|
46
|
-
name: "",
|
|
47
|
-
visible: true,
|
|
48
|
-
};
|
|
49
|
-
export const relativeForm = {
|
|
50
|
-
type: "relativeForm",
|
|
51
|
-
availableGranularities: ["GDC.time.year", "GDC.time.month"],
|
|
52
|
-
localIdentifier: "RELATIVE_FORM",
|
|
53
|
-
name: "",
|
|
54
|
-
visible: true,
|
|
55
|
-
};
|
|
56
|
-
export const emptyValues = {
|
|
57
|
-
type: "emptyValues",
|
|
58
|
-
localIdentifier: "EMPTY_VALUES",
|
|
59
|
-
visible: true,
|
|
60
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type IDashboardLayout } from "@gooddata/sdk-model";
|
|
2
|
-
import { type ExtendedDashboardWidget } from "../../model/types/layoutTypes.js";
|
|
3
|
-
/**
|
|
4
|
-
* layout
|
|
5
|
-
* section 1
|
|
6
|
-
* item 1: insight1
|
|
7
|
-
* item 2: layout
|
|
8
|
-
* section 3
|
|
9
|
-
* item 4: insight2
|
|
10
|
-
* item 5: insight3
|
|
11
|
-
* section 4
|
|
12
|
-
* item 6: insight4
|
|
13
|
-
* section 2
|
|
14
|
-
* item 7: insight5
|
|
15
|
-
*/
|
|
16
|
-
export declare const NESTED_LAYOUT: IDashboardLayout<ExtendedDashboardWidget>;
|
|
17
|
-
//# sourceMappingURL=coordinates.mock.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coordinates.mock.d.ts","sourceRoot":"","sources":["../../../src/_staging/layout/coordinates.mock.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAA8B,MAAM,qBAAqB,CAAC;AAExF,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAgBhF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAAC,uBAAuB,CA0EnE,CAAC"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// (C) 2024-2026 GoodData Corporation
|
|
2
|
-
import { idRef } from "@gooddata/sdk-model";
|
|
3
|
-
const buildInsightWidget = (name) => ({
|
|
4
|
-
type: "insight",
|
|
5
|
-
insight: idRef(name),
|
|
6
|
-
drills: [],
|
|
7
|
-
title: name,
|
|
8
|
-
description: "",
|
|
9
|
-
ignoredDrillDownHierarchies: [],
|
|
10
|
-
ignoredDrillToUrlAttributes: [],
|
|
11
|
-
ignoreDashboardFilters: [],
|
|
12
|
-
ref: idRef(name),
|
|
13
|
-
uri: `/${name}`,
|
|
14
|
-
identifier: name,
|
|
15
|
-
});
|
|
16
|
-
/**
|
|
17
|
-
* layout
|
|
18
|
-
* section 1
|
|
19
|
-
* item 1: insight1
|
|
20
|
-
* item 2: layout
|
|
21
|
-
* section 3
|
|
22
|
-
* item 4: insight2
|
|
23
|
-
* item 5: insight3
|
|
24
|
-
* section 4
|
|
25
|
-
* item 6: insight4
|
|
26
|
-
* section 2
|
|
27
|
-
* item 7: insight5
|
|
28
|
-
*/
|
|
29
|
-
export const NESTED_LAYOUT = {
|
|
30
|
-
type: "IDashboardLayout",
|
|
31
|
-
size: { gridWidth: 12 },
|
|
32
|
-
sections: [
|
|
33
|
-
{
|
|
34
|
-
type: "IDashboardLayoutSection",
|
|
35
|
-
header: {
|
|
36
|
-
title: "Section 1",
|
|
37
|
-
},
|
|
38
|
-
items: [
|
|
39
|
-
{
|
|
40
|
-
type: "IDashboardLayoutItem",
|
|
41
|
-
size: { xl: { gridWidth: 8 } },
|
|
42
|
-
widget: buildInsightWidget("insight1"),
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
type: "IDashboardLayoutItem",
|
|
46
|
-
size: { xl: { gridWidth: 4 } },
|
|
47
|
-
widget: {
|
|
48
|
-
type: "IDashboardLayout",
|
|
49
|
-
ref: idRef("layout2"),
|
|
50
|
-
uri: "/layout2",
|
|
51
|
-
identifier: "layout2",
|
|
52
|
-
sections: [
|
|
53
|
-
{
|
|
54
|
-
type: "IDashboardLayoutSection",
|
|
55
|
-
header: {
|
|
56
|
-
title: "Section 3",
|
|
57
|
-
},
|
|
58
|
-
items: [
|
|
59
|
-
{
|
|
60
|
-
type: "IDashboardLayoutItem",
|
|
61
|
-
size: { xl: { gridWidth: 2 } },
|
|
62
|
-
widget: buildInsightWidget("insight2"),
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
type: "IDashboardLayoutItem",
|
|
66
|
-
size: { xl: { gridWidth: 2 } },
|
|
67
|
-
widget: buildInsightWidget("insight3"),
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: "IDashboardLayoutSection",
|
|
73
|
-
header: {
|
|
74
|
-
title: "Section 4",
|
|
75
|
-
},
|
|
76
|
-
items: [
|
|
77
|
-
{
|
|
78
|
-
type: "IDashboardLayoutItem",
|
|
79
|
-
size: { xl: { gridWidth: 4 } },
|
|
80
|
-
widget: buildInsightWidget("insight4"),
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
type: "IDashboardLayoutSection",
|
|
91
|
-
header: {
|
|
92
|
-
title: "Section 2",
|
|
93
|
-
},
|
|
94
|
-
items: [
|
|
95
|
-
{
|
|
96
|
-
type: "IDashboardLayoutItem",
|
|
97
|
-
size: { xl: { gridWidth: 12 } },
|
|
98
|
-
widget: buildInsightWidget("insight5"),
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type IDashboardParameter, type IParameterMetadataObject, type ObjRef, type ParameterValue } from "@gooddata/sdk-model";
|
|
2
|
-
interface IResolvedFilterViewParameter {
|
|
3
|
-
ref: ObjRef;
|
|
4
|
-
value: ParameterValue | undefined;
|
|
5
|
-
}
|
|
6
|
-
export declare function resolveFilterViewParameterValues(parameters: ReadonlyArray<IDashboardParameter>, workspaceParameters: ReadonlyArray<IParameterMetadataObject>): IResolvedFilterViewParameter[];
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=filterViewParameters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterViewParameters.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewParameters.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,MAAM,EACX,KAAK,cAAc,EAEtB,MAAM,qBAAqB,CAAC;AAI7B,UAAU,4BAA4B;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC;CACrC;AAED,wBAAgB,gCAAgC,CAC5C,UAAU,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAC9C,mBAAmB,EAAE,aAAa,CAAC,wBAAwB,CAAC,GAC7D,4BAA4B,EAAE,CAQhC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// (C) 2026 GoodData Corporation
|
|
2
|
-
import { areObjRefsEqual, } from "@gooddata/sdk-model";
|
|
3
|
-
import { computeHydratedRuntimeOverride } from "../../store/tabs/parameters/parametersHelpers.js";
|
|
4
|
-
export function resolveFilterViewParameterValues(parameters, workspaceParameters) {
|
|
5
|
-
return parameters.map((parameter) => ({
|
|
6
|
-
ref: parameter.ref,
|
|
7
|
-
value: computeHydratedRuntimeOverride(parameter, workspaceParameters.find((item) => areObjRefsEqual(item.ref, parameter.ref))),
|
|
8
|
-
}));
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type ICatalogDateDataset } from "@gooddata/sdk-model";
|
|
2
|
-
/**
|
|
3
|
-
* given all available datasets, this availability mock will pick 2 by name and associate relevance so that second one has more relevance
|
|
4
|
-
*
|
|
5
|
-
* Timeline date has greater relevance; see TimelineDateDatasetRef
|
|
6
|
-
* Activity date has lower relevance; see ActivityDateDatasetRef
|
|
7
|
-
*/
|
|
8
|
-
export declare const MockAvailabilityWithDifferentRelevance: (datasets: ICatalogDateDataset[]) => ICatalogDateDataset[];
|
|
9
|
-
/**
|
|
10
|
-
* given all available datasets, this mock will pick 2 by name and ensure they have same relevance
|
|
11
|
-
*/
|
|
12
|
-
export declare const MockAvailabilityWithSameRelevance: (datasets: ICatalogDateDataset[]) => ICatalogDateDataset[];
|
|
13
|
-
export declare const ActivityDateDatasetRef: import("@gooddata/sdk-model").IdentifierRef;
|
|
14
|
-
//# sourceMappingURL=CatalogAvailability.fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogAvailability.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/CatalogAvailability.fixtures.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,mBAAmB,EAAS,MAAM,qBAAqB,CAAC;AAuBtE;;;;;GAKG;AACH,eAAO,MAAM,sCAAsC,4DAclD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iCAAiC,4DAY7C,CAAC;AAEF,eAAO,MAAM,sBAAsB,6CAA4C,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { invariant } from "ts-invariant";
|
|
3
|
-
import { idRef } from "@gooddata/sdk-model";
|
|
4
|
-
/*
|
|
5
|
-
* The catalog availability mocks for date dataset queries.
|
|
6
|
-
*
|
|
7
|
-
* Normally the recorded backend from mockingbird returns all data sets available in the catalog as available. Mockingbird
|
|
8
|
-
* allows to customize filtering functions to 'simulate' the availability.
|
|
9
|
-
*
|
|
10
|
-
* Here are a couple of functions that you can use.
|
|
11
|
-
*
|
|
12
|
-
* To set up DashboardTester you can do something like:
|
|
13
|
-
*
|
|
14
|
-
* const Tester = DashboardTester.forRecording(
|
|
15
|
-
* ComplexDashboardIdentifier,
|
|
16
|
-
* {},
|
|
17
|
-
* {
|
|
18
|
-
* catalogAvailability: {
|
|
19
|
-
* availableDateDatasets: MockAvailabilityWithDifferentRelevance,
|
|
20
|
-
* },
|
|
21
|
-
* },
|
|
22
|
-
* );
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* given all available datasets, this availability mock will pick 2 by name and associate relevance so that second one has more relevance
|
|
26
|
-
*
|
|
27
|
-
* Timeline date has greater relevance; see TimelineDateDatasetRef
|
|
28
|
-
* Activity date has lower relevance; see ActivityDateDatasetRef
|
|
29
|
-
*/
|
|
30
|
-
export const MockAvailabilityWithDifferentRelevance = (datasets) => {
|
|
31
|
-
const available = datasets
|
|
32
|
-
.filter((d) => ["Activity", "Timeline"].includes(d.dataSet.title))
|
|
33
|
-
.map((d) => {
|
|
34
|
-
return {
|
|
35
|
-
...d,
|
|
36
|
-
relevance: d.dataSet.title === "Timeline" ? 1 : 0,
|
|
37
|
-
};
|
|
38
|
-
});
|
|
39
|
-
invariant(available.length === 2, "unexpected mock");
|
|
40
|
-
return available;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* given all available datasets, this mock will pick 2 by name and ensure they have same relevance
|
|
44
|
-
*/
|
|
45
|
-
export const MockAvailabilityWithSameRelevance = (datasets) => {
|
|
46
|
-
const available = datasets
|
|
47
|
-
.filter((d) => ["Activity", "Timeline"].includes(d.dataSet.title))
|
|
48
|
-
.map((d) => {
|
|
49
|
-
return {
|
|
50
|
-
...d,
|
|
51
|
-
relevance: 1,
|
|
52
|
-
};
|
|
53
|
-
});
|
|
54
|
-
invariant(available.length === 2, "unexpected mock");
|
|
55
|
-
return available;
|
|
56
|
-
};
|
|
57
|
-
export const ActivityDateDatasetRef = idRef("dt_activity_timestamp", "dataSet");
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type IDashboardWithReferences } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { type IDashboardAttributeFilter, type IDashboardDateFilter, type IFilterContext, type IInsightWidget, type IKpiWidget, type IListedDashboard } from "@gooddata/sdk-model";
|
|
3
|
-
/**
|
|
4
|
-
* A more complex dashboard that has 3 sections (rows).
|
|
5
|
-
*
|
|
6
|
-
* Two attribute filters: Region & Product
|
|
7
|
-
* First row: 6 KPIs, first three without date filtering, second three with full filtering
|
|
8
|
-
* Second row: two tables; same tables, each with 3 measures. first without any filtering whatsoever but with all drills; second with date filter and no attribute filtering, no drills
|
|
9
|
-
* Third row: single heatmap with all filters applied
|
|
10
|
-
*/
|
|
11
|
-
export declare const ComplexDashboardIdentifier = "e6473e57-1914-46ec-9cb9-5611f1298100";
|
|
12
|
-
export declare const ComplexDashboardWithReferences: IDashboardWithReferences;
|
|
13
|
-
export declare const ComplexDashboardFilterContext: IFilterContext;
|
|
14
|
-
/**
|
|
15
|
-
* Contains breakdown of the complex dashboard's filters context. There is date filter and
|
|
16
|
-
* two attribute filters. For each attribute filter the entry contains both the full filter
|
|
17
|
-
* definition and then uriRef and idRef of the display form used in the attribute filter.
|
|
18
|
-
*/
|
|
19
|
-
export declare const ComplexDashboardFilters: {
|
|
20
|
-
Date: IDashboardDateFilter;
|
|
21
|
-
FirstAttribute: {
|
|
22
|
-
filter: IDashboardAttributeFilter;
|
|
23
|
-
idRef: import("@gooddata/sdk-model").IdentifierRef;
|
|
24
|
-
sampleElementValue: string;
|
|
25
|
-
};
|
|
26
|
-
SecondAttribute: {
|
|
27
|
-
filter: IDashboardAttributeFilter;
|
|
28
|
-
idRef: import("@gooddata/sdk-model").IdentifierRef;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const ComplexDashboardLayout: import("@gooddata/sdk-model").IDashboardLayout<import("@gooddata/sdk-model").IDashboardWidget>;
|
|
32
|
-
export declare const ComplexDashboardWidgets: {
|
|
33
|
-
FirstSection: {
|
|
34
|
-
/**
|
|
35
|
-
* KPI with date filter disabled
|
|
36
|
-
*/
|
|
37
|
-
FirstKpi: IKpiWidget;
|
|
38
|
-
/**
|
|
39
|
-
* KPI with all filters disabled
|
|
40
|
-
*/
|
|
41
|
-
ThirdKpi: IKpiWidget;
|
|
42
|
-
/**
|
|
43
|
-
* KPI with all filters enabled
|
|
44
|
-
*/
|
|
45
|
-
LastKpi: IKpiWidget;
|
|
46
|
-
};
|
|
47
|
-
SecondSection: {
|
|
48
|
-
FirstTable: IInsightWidget;
|
|
49
|
-
SecondTable: IInsightWidget;
|
|
50
|
-
};
|
|
51
|
-
ThirdSection: {
|
|
52
|
-
Heatmap: IInsightWidget;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
export declare const ComplexDashboardListed: IListedDashboard;
|
|
56
|
-
//# sourceMappingURL=ComplexDashboard.fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComplexDashboard.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/ComplexDashboard.fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,gBAAgB,EAExB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,yCAAyC,CAAC;AACjF,eAAO,MAAM,8BAA8B,0BAEV,CAAC;AAClC,eAAO,MAAM,6BAA6B,gBACL,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;CAWnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gGAAmD,CAAC;AAEvF,eAAO,MAAM,uBAAuB;;QAE5B;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;;;;;;;;CAaV,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,gBAWpC,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { ReferenceRecordings } from "@gooddata/reference-workspace";
|
|
3
|
-
import { idRef, } from "@gooddata/sdk-model";
|
|
4
|
-
/**
|
|
5
|
-
* A more complex dashboard that has 3 sections (rows).
|
|
6
|
-
*
|
|
7
|
-
* Two attribute filters: Region & Product
|
|
8
|
-
* First row: 6 KPIs, first three without date filtering, second three with full filtering
|
|
9
|
-
* Second row: two tables; same tables, each with 3 measures. first without any filtering whatsoever but with all drills; second with date filter and no attribute filtering, no drills
|
|
10
|
-
* Third row: single heatmap with all filters applied
|
|
11
|
-
*/
|
|
12
|
-
export const ComplexDashboardIdentifier = "e6473e57-1914-46ec-9cb9-5611f1298100";
|
|
13
|
-
export const ComplexDashboardWithReferences = ReferenceRecordings.Recordings.metadata?.dashboards?.["dash_e6473e57_1914_46ec_9cb9_5611f1298100"].obj;
|
|
14
|
-
export const ComplexDashboardFilterContext = ComplexDashboardWithReferences.dashboard
|
|
15
|
-
.filterContext;
|
|
16
|
-
/**
|
|
17
|
-
* Contains breakdown of the complex dashboard's filters context. There is date filter and
|
|
18
|
-
* two attribute filters. For each attribute filter the entry contains both the full filter
|
|
19
|
-
* definition and then uriRef and idRef of the display form used in the attribute filter.
|
|
20
|
-
*/
|
|
21
|
-
export const ComplexDashboardFilters = {
|
|
22
|
-
Date: ComplexDashboardFilterContext.filters[0],
|
|
23
|
-
FirstAttribute: {
|
|
24
|
-
filter: ComplexDashboardFilterContext.filters[1],
|
|
25
|
-
idRef: idRef("f_owner.region_id"),
|
|
26
|
-
sampleElementValue: "East Coast",
|
|
27
|
-
},
|
|
28
|
-
SecondAttribute: {
|
|
29
|
-
filter: ComplexDashboardFilterContext.filters[2],
|
|
30
|
-
idRef: idRef("attr.f_product.product"),
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
export const ComplexDashboardLayout = ComplexDashboardWithReferences.dashboard.layout;
|
|
34
|
-
export const ComplexDashboardWidgets = {
|
|
35
|
-
FirstSection: {
|
|
36
|
-
/**
|
|
37
|
-
* KPI with date filter disabled
|
|
38
|
-
*/
|
|
39
|
-
FirstKpi: ComplexDashboardWithReferences.dashboard.layout.sections[0].items[0].widget,
|
|
40
|
-
/**
|
|
41
|
-
* KPI with all filters disabled
|
|
42
|
-
*/
|
|
43
|
-
ThirdKpi: ComplexDashboardWithReferences.dashboard.layout.sections[0].items[2].widget,
|
|
44
|
-
/**
|
|
45
|
-
* KPI with all filters enabled
|
|
46
|
-
*/
|
|
47
|
-
LastKpi: ComplexDashboardWithReferences.dashboard.layout.sections[0].items[5].widget,
|
|
48
|
-
},
|
|
49
|
-
SecondSection: {
|
|
50
|
-
FirstTable: ComplexDashboardWithReferences.dashboard.layout.sections[1].items[0]
|
|
51
|
-
.widget,
|
|
52
|
-
SecondTable: ComplexDashboardWithReferences.dashboard.layout.sections[1].items[1]
|
|
53
|
-
.widget,
|
|
54
|
-
},
|
|
55
|
-
ThirdSection: {
|
|
56
|
-
Heatmap: ComplexDashboardWithReferences.dashboard.layout.sections[2].items[0]
|
|
57
|
-
.widget,
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
export const ComplexDashboardListed = {
|
|
61
|
-
ref: ComplexDashboardWithReferences.dashboard.ref,
|
|
62
|
-
identifier: ComplexDashboardWithReferences.dashboard.identifier,
|
|
63
|
-
uri: ComplexDashboardWithReferences.dashboard.uri,
|
|
64
|
-
title: ComplexDashboardWithReferences.dashboard.title,
|
|
65
|
-
description: ComplexDashboardWithReferences.dashboard.description,
|
|
66
|
-
updated: ComplexDashboardWithReferences.dashboard.updated,
|
|
67
|
-
created: ComplexDashboardWithReferences.dashboard.created,
|
|
68
|
-
tags: ComplexDashboardWithReferences.dashboard.tags,
|
|
69
|
-
shareStatus: ComplexDashboardWithReferences.dashboard.shareStatus,
|
|
70
|
-
availability: "full",
|
|
71
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type IDashboardWithReferences } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
export declare const TestCorrelation = "testCorrelationId";
|
|
3
|
-
export declare const TestStash = "testStash";
|
|
4
|
-
export declare const BeforeTestCorrelation = "beforeTestId";
|
|
5
|
-
/**
|
|
6
|
-
* Empty dashboard. No filter context, empty layout.
|
|
7
|
-
*/
|
|
8
|
-
export declare const EmptyDashboardIdentifier = "emptyDashboard";
|
|
9
|
-
export declare const EmptyDashboardWithReferences: IDashboardWithReferences;
|
|
10
|
-
//# sourceMappingURL=Dashboard.fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/Dashboard.fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAM1E,eAAO,MAAM,eAAe,sBAAsB,CAAC;AACnD,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,qBAAqB,iBAAiB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,wBAAwB,mBAAmB,CAAC;AACzD,eAAO,MAAM,4BAA4B,0BAER,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { ReferenceRecordings } from "@gooddata/reference-workspace";
|
|
3
|
-
//
|
|
4
|
-
// Basic constants and building blocks used in tests
|
|
5
|
-
//
|
|
6
|
-
export const TestCorrelation = "testCorrelationId";
|
|
7
|
-
export const TestStash = "testStash";
|
|
8
|
-
export const BeforeTestCorrelation = "beforeTestId";
|
|
9
|
-
/**
|
|
10
|
-
* Empty dashboard. No filter context, empty layout.
|
|
11
|
-
*/
|
|
12
|
-
export const EmptyDashboardIdentifier = "emptyDashboard";
|
|
13
|
-
export const EmptyDashboardWithReferences = ReferenceRecordings.Recordings.metadata?.dashboards?.["dash_emptyDashboard"].obj;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const PivotTableWithRowAndColumnAttributes: import("@gooddata/sdk-model").IInsight;
|
|
2
|
-
export declare const PivotTableWithDateFilter: import("@gooddata/sdk-model").IInsight;
|
|
3
|
-
export declare const PivotTableWithTwoSameDates: import("@gooddata/sdk-model").IInsight;
|
|
4
|
-
export declare const TreemapWithSingleMeasureAndViewByFilteredToOneElement: import("@gooddata/sdk-model").IInsight;
|
|
5
|
-
export declare const TreemapWithOneMeasureAndViewByDateAndSegmentByDate: import("@gooddata/sdk-model").IInsight;
|
|
6
|
-
//# sourceMappingURL=Insights.fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Insights.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/Insights.fixtures.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oCAAoC,wCAGhD,CAAC;AACF,eAAO,MAAM,wBAAwB,wCAEpC,CAAC;AACF,eAAO,MAAM,0BAA0B,wCAEtC,CAAC;AACF,eAAO,MAAM,qDAAqD,wCAGjE,CAAC;AAEF,eAAO,MAAM,kDAAkD,wCAG9D,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { ReferenceRecordings } from "@gooddata/reference-workspace";
|
|
3
|
-
import { recordedInsight } from "@gooddata/sdk-backend-mockingbird";
|
|
4
|
-
export const PivotTableWithRowAndColumnAttributes = recordedInsight(ReferenceRecordings.Insights.PivotTable
|
|
5
|
-
.SingleMeasureWithTwoRowAndTwoColumnAttributes);
|
|
6
|
-
export const PivotTableWithDateFilter = recordedInsight(ReferenceRecordings.Insights.PivotTable.WithDateFilter);
|
|
7
|
-
export const PivotTableWithTwoSameDates = recordedInsight(ReferenceRecordings.Insights.PivotTable.WithTwoSameDates);
|
|
8
|
-
export const TreemapWithSingleMeasureAndViewByFilteredToOneElement = recordedInsight(ReferenceRecordings.Insights.Treemap
|
|
9
|
-
.SingleMeasureAndViewByFilteredToOneElement);
|
|
10
|
-
export const TreemapWithOneMeasureAndViewByDateAndSegmentByDate = recordedInsight(ReferenceRecordings.Insights.Treemap
|
|
11
|
-
.WithOneMeasureAndViewByDateAndSegmentByDate);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type IDashboardLayoutItem, type IDashboardLayoutSectionHeader, type IInsight, type IInsightWidget, type IInsightWidgetDefinition, type IKpiWidget, type IKpiWidgetDefinition, type IRichTextWidget, type IVisualizationSwitcherWidget, type IdentifierRef, type ObjRef } from "@gooddata/sdk-model";
|
|
2
|
-
import { type IInsightPlaceholderWidget, type IKpiPlaceholderWidget } from "../../widgets/placeholders/types.js";
|
|
3
|
-
export declare const TestSectionHeader: IDashboardLayoutSectionHeader;
|
|
4
|
-
export declare const TestKpiPlaceholderItem: IDashboardLayoutItem<IKpiPlaceholderWidget>;
|
|
5
|
-
export declare const TestInsightPlaceholderItem: IDashboardLayoutItem<IInsightPlaceholderWidget>;
|
|
6
|
-
export declare const TestInsightItem: IDashboardLayoutItem<IInsightWidgetDefinition>;
|
|
7
|
-
export declare function createTestInsightItem(insightOrInsightRef: IInsight | ObjRef): IDashboardLayoutItem<IInsightWidgetDefinition>;
|
|
8
|
-
export declare const TestRichTextItem: IDashboardLayoutItem<IRichTextWidget>;
|
|
9
|
-
export declare function createTestRichTextItem(ref: IdentifierRef): IDashboardLayoutItem<IRichTextWidget>;
|
|
10
|
-
export declare const TestVisualizationSwitcherItem: IDashboardLayoutItem<IVisualizationSwitcherWidget>;
|
|
11
|
-
export declare function createTestVisualizationSwitcherItem(ref: IdentifierRef): IDashboardLayoutItem<IVisualizationSwitcherWidget>;
|
|
12
|
-
export declare function testItemWithDateDataset<T extends IInsightWidget | IKpiWidget | IInsightWidgetDefinition | IKpiWidgetDefinition>(item: IDashboardLayoutItem<T>, dataset: ObjRef): IDashboardLayoutItem<T>;
|
|
13
|
-
export declare function testItemWithFilterIgnoreList<T extends IInsightWidget | IKpiWidget | IInsightWidgetDefinition | IKpiWidgetDefinition>(item: IDashboardLayoutItem<T>, displayForms: ObjRef[]): IDashboardLayoutItem<T>;
|
|
14
|
-
//# sourceMappingURL=Layout.fixtures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/Layout.fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,aAAa,EAClB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAG7B,MAAM,qCAAqC,CAAC;AAI7C,eAAO,MAAM,iBAAiB,EAAE,6BAG/B,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,oBAAoB,CAAC,qBAAqB,CAQ9E,CAAC;AAGF,eAAO,MAAM,0BAA0B,EAAE,oBAAoB,CAAC,yBAAyB,CAQtF,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,oBAAoB,CAAC,wBAAwB,CAE1E,CAAC;AAEF,wBAAgB,qBAAqB,CACjC,mBAAmB,EAAE,QAAQ,GAAG,MAAM,GACvC,oBAAoB,CAAC,wBAAwB,CAAC,CAqBhD;AAED,eAAO,MAAM,gBAAgB,EAAE,oBAAoB,CAAC,eAAe,CAElE,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,aAAa,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAoBhG;AAED,eAAO,MAAM,6BAA6B,EAAE,oBAAoB,CAAC,4BAA4B,CACb,CAAC;AAEjF,wBAAgB,mCAAmC,CAC/C,GAAG,EAAE,aAAa,GACnB,oBAAoB,CAAC,4BAA4B,CAAC,CAoBpD;AAED,wBAAgB,uBAAuB,CACnC,CAAC,SAAS,cAAc,GAAG,UAAU,GAAG,wBAAwB,GAAG,oBAAoB,EACzF,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAQzE;AAED,wBAAgB,4BAA4B,CACxC,CAAC,SAAS,cAAc,GAAG,UAAU,GAAG,wBAAwB,GAAG,oBAAoB,EACzF,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAWhF"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
// (C) 2021-2026 GoodData Corporation
|
|
2
|
-
import { idRef, insightId, isObjRef, } from "@gooddata/sdk-model";
|
|
3
|
-
import { newInsightPlaceholderWidget, newKpiPlaceholderWidget, } from "../../widgets/placeholders/types.js";
|
|
4
|
-
import { PivotTableWithRowAndColumnAttributes } from "./Insights.fixtures.js";
|
|
5
|
-
export const TestSectionHeader = {
|
|
6
|
-
title: "Test Section",
|
|
7
|
-
description: "Section added for test purposes",
|
|
8
|
-
};
|
|
9
|
-
const TestKpiPlaceholderWidget = newKpiPlaceholderWidget();
|
|
10
|
-
export const TestKpiPlaceholderItem = {
|
|
11
|
-
type: "IDashboardLayoutItem",
|
|
12
|
-
widget: TestKpiPlaceholderWidget,
|
|
13
|
-
size: {
|
|
14
|
-
xl: {
|
|
15
|
-
gridWidth: 2,
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
const TestInsightPlaceholderWidget = newInsightPlaceholderWidget();
|
|
20
|
-
export const TestInsightPlaceholderItem = {
|
|
21
|
-
type: "IDashboardLayoutItem",
|
|
22
|
-
widget: TestInsightPlaceholderWidget,
|
|
23
|
-
size: {
|
|
24
|
-
xl: {
|
|
25
|
-
gridWidth: 2,
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
export const TestInsightItem = createTestInsightItem(PivotTableWithRowAndColumnAttributes);
|
|
30
|
-
export function createTestInsightItem(insightOrInsightRef) {
|
|
31
|
-
const insightRef = isObjRef(insightOrInsightRef)
|
|
32
|
-
? insightOrInsightRef
|
|
33
|
-
: idRef(insightId(insightOrInsightRef), "insight");
|
|
34
|
-
return {
|
|
35
|
-
type: "IDashboardLayoutItem",
|
|
36
|
-
widget: {
|
|
37
|
-
type: "insight",
|
|
38
|
-
insight: insightRef,
|
|
39
|
-
ignoreDashboardFilters: [],
|
|
40
|
-
drills: [],
|
|
41
|
-
title: "Test Insight Item",
|
|
42
|
-
description: "",
|
|
43
|
-
},
|
|
44
|
-
size: {
|
|
45
|
-
xl: {
|
|
46
|
-
gridWidth: 2,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
export const TestRichTextItem = createTestRichTextItem(idRef("richTextWidgetRef"));
|
|
52
|
-
export function createTestRichTextItem(ref) {
|
|
53
|
-
return {
|
|
54
|
-
type: "IDashboardLayoutItem",
|
|
55
|
-
widget: {
|
|
56
|
-
type: "richText",
|
|
57
|
-
ref,
|
|
58
|
-
content: "",
|
|
59
|
-
ignoreDashboardFilters: [],
|
|
60
|
-
drills: [],
|
|
61
|
-
title: "Test Rich Text Item",
|
|
62
|
-
description: "",
|
|
63
|
-
identifier: ref.identifier,
|
|
64
|
-
uri: `/${ref.identifier}`,
|
|
65
|
-
},
|
|
66
|
-
size: {
|
|
67
|
-
xl: {
|
|
68
|
-
gridWidth: 6,
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
export const TestVisualizationSwitcherItem = createTestVisualizationSwitcherItem(idRef("visualizationSwitcherWidgetRef"));
|
|
74
|
-
export function createTestVisualizationSwitcherItem(ref) {
|
|
75
|
-
return {
|
|
76
|
-
type: "IDashboardLayoutItem",
|
|
77
|
-
widget: {
|
|
78
|
-
type: "visualizationSwitcher",
|
|
79
|
-
ref,
|
|
80
|
-
visualizations: [],
|
|
81
|
-
ignoreDashboardFilters: [],
|
|
82
|
-
drills: [],
|
|
83
|
-
title: "Visualization Switcher Text Item",
|
|
84
|
-
description: "",
|
|
85
|
-
identifier: ref.identifier,
|
|
86
|
-
uri: `/${ref.identifier}`,
|
|
87
|
-
},
|
|
88
|
-
size: {
|
|
89
|
-
xl: {
|
|
90
|
-
gridWidth: 6,
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
export function testItemWithDateDataset(item, dataset) {
|
|
96
|
-
return {
|
|
97
|
-
...item,
|
|
98
|
-
widget: {
|
|
99
|
-
...item.widget,
|
|
100
|
-
dateDataSet: dataset,
|
|
101
|
-
},
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
export function testItemWithFilterIgnoreList(item, displayForms) {
|
|
105
|
-
return {
|
|
106
|
-
...item,
|
|
107
|
-
widget: {
|
|
108
|
-
...item.widget,
|
|
109
|
-
ignoreDashboardFilters: displayForms.map((displayForm) => ({
|
|
110
|
-
type: "attributeFilterReference",
|
|
111
|
-
displayForm,
|
|
112
|
-
})),
|
|
113
|
-
},
|
|
114
|
-
};
|
|
115
|
-
}
|