@gooddata/sdk-ui-dashboard 9.10.0-alpha.9 → 10.0.0-alpha.2
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 +3 -6
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/locales.js +1 -1
- package/esm/locales.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.d.ts +5 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.js +25 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.js.map +1 -0
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +18 -3
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.d.ts +9 -2
- package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.js +10 -3
- package/esm/model/commandHandlers/render/renderingWorker.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +33 -1
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +26 -0
- package/esm/model/commands/filters.js.map +1 -1
- package/esm/model/commands/index.d.ts +3 -3
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/render.d.ts +3 -3
- package/esm/model/commands/render.js +3 -3
- package/esm/model/index.d.ts +1 -1
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -0
- package/esm/model/index.js.map +1 -1
- package/esm/model/react/useDashboardAsyncRender.d.ts +3 -3
- package/esm/model/react/useDashboardAsyncRender.js +4 -4
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +11 -2
- package/esm/model/react/useInitializeDashboardStore.js.map +1 -1
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.d.ts +6 -0
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.d.ts.map +1 -1
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.js +6 -0
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.js.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 +20 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts +9 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +8 -0
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +2 -1
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- 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 +2 -2
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +2 -2
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts +2 -1
- package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
- package/esm/model/store/layout/layoutUtils.js +13 -0
- package/esm/model/store/layout/layoutUtils.js.map +1 -1
- package/esm/model/types/dateFilterTypes.d.ts +12 -3
- package/esm/model/types/dateFilterTypes.d.ts.map +1 -1
- package/esm/model/types/dateFilterTypes.js +11 -1
- package/esm/model/types/dateFilterTypes.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +8 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +6 -3
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/AttributeFilterConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/AttributeFilterConfiguration.js +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/AttributeFilterConfiguration.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.d.ts +3 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.js +39 -7
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts +4 -0
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +56 -5
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts +3 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js +14 -7
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.js +3 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.d.ts +8 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.js +16 -11
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.js +3 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.js +0 -4
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts +5 -5
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.js +75 -31
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts +17 -0
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +59 -0
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +8 -8
- package/esm/presentation/localization/bundles/en-US.json +3 -3
- package/esm/presentation/localization/bundles/es-ES.json +9 -9
- package/esm/presentation/localization/bundles/fr-FR.json +8 -8
- package/esm/presentation/localization/bundles/ja-JP.json +8 -8
- package/esm/presentation/localization/bundles/nl-NL.json +7 -7
- package/esm/presentation/localization/bundles/pt-BR.json +9 -9
- package/esm/presentation/localization/bundles/pt-PT.json +9 -9
- package/esm/presentation/localization/bundles/zh-Hans.json +9 -9
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +84 -10
- package/package.json +15 -15
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "Os utilizadores do dashboard podem ver o filtro mas não o podem alterar.",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "Oculto",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "Os utilizadores do dashboard não podem ver o filtro, mas este é aplicado.",
|
|
413
|
-
"filter.dependency.icon.tooltip": "Os valores
|
|
413
|
+
"filter.dependency.icon.tooltip": "Os valores de <strong>{filterTitle}</strong> são filtrados pela seleção noutro filtro.",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "Esta <strong>hierarquia</strong> já é utilizada para <strong>a mesma</strong> exploração descendente.",
|
|
415
415
|
"richText.formattingOptions": "Opções de formatação",
|
|
416
416
|
"richText.deleteDialog.header": "Eliminar Rich Text?",
|
|
417
417
|
"richText.deleteDialog.message": "O Rich Text e todo o seu conteúdo será eliminado de forma irreversível.",
|
|
418
418
|
"richText.emptyContent": "Nenhum conteúdo Rich Text",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "Filtrar valores por",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "Limite as opções do menu de filtros aplicando um filtro de dashboard ou adicionando uma métrica.",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "Adicionar",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "Escolher métrica",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "Escolher filtro de dashboard",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "Adicionar",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "Pesquisar…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "Soma de {fact}",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "Contagem de {attribute}",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "Não há mais itens para adicionar.",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "Item desconhecido",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "Não foi encontrado qualquer item correspondente.",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.
|
|
430
|
-
"attributesDropdown.valuesLimiting.
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "Não há mais filtros de painel para adicionar.",
|
|
432
|
-
"attributesDropdown.valuesLimiting.addFilters.title": "Filtro do painel",
|
|
433
|
-
"attributesDropdown.valuesLimiting.addFilters.description": "Use um filtro de painel existente para ocultar valores irrelevantes.",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "Não há mais filtros de dashboard para adicionar.",
|
|
432
|
+
"attributesDropdown.valuesLimiting.addFilters.title": "Filtro de dashboard",
|
|
433
|
+
"attributesDropdown.valuesLimiting.addFilters.description": "Utilize um filtro de dashboard existente para ocultar os valores irrelevantes. ",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "Métrica",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Utilize uma métrica para ocultar os valores irrelevantes. Só são apresentados os valores com resultados não nulos para a métrica. <a>Saber mais</a>"
|
|
436
436
|
}
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "仪表板用户可以看到筛选条件,但不能更改它。",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "隐藏",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "仪表板用户无法看到筛选条件,但其已获应用。",
|
|
413
|
-
"filter.dependency.icon.tooltip": "<strong>{filterTitle}</strong
|
|
413
|
+
"filter.dependency.icon.tooltip": "<strong>{filterTitle}</strong>的值由另一个筛选器的选择进行筛选。",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "此<strong>层次结构</strong>已用于<strong>同一</strong>向下挖掘。",
|
|
415
415
|
"richText.formattingOptions": "格式化选项",
|
|
416
416
|
"richText.deleteDialog.header": "删除富文本?",
|
|
417
417
|
"richText.deleteDialog.message": "富文本及其所有内容将被不可逆地删除。",
|
|
418
418
|
"richText.emptyContent": "无富文本内容",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "数值筛选依据",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "通过应用控制面板筛选器或添加指标来限制筛选器菜单选项。",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "添加",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "选择指标",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "选择控制面板筛选器",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "添加",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "搜索…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "{fact} 总和",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "{attribute} 计数",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "没有要添加的项。",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "未知项",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "未找到匹配项。",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.
|
|
430
|
-
"attributesDropdown.valuesLimiting.
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "无需添加更多仪表板过滤器。",
|
|
432
|
-
"attributesDropdown.valuesLimiting.addFilters.title": "仪表板过滤器",
|
|
433
|
-
"attributesDropdown.valuesLimiting.addFilters.description": "使用现有的仪表板过滤器隐藏不相关的值。",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "没有更多的控制面板筛选器可添加。",
|
|
432
|
+
"attributesDropdown.valuesLimiting.addFilters.title": "控制面板筛选器",
|
|
433
|
+
"attributesDropdown.valuesLimiting.addFilters.description": "使用现有的控制面板筛选器隐藏无关的值。",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "指标",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "使用指标隐藏无关的值。仅显示指标结果为非空的值。<a>了解更多</a>"
|
|
436
436
|
}
|
|
@@ -6,9 +6,10 @@ export declare const stripLocalIdentifierFromFilters: (filters: FilterContextIte
|
|
|
6
6
|
attributeElements: import("@gooddata/sdk-model").IAttributeElements;
|
|
7
7
|
localIdentifier?: string | undefined;
|
|
8
8
|
filterElementsBy?: import("@gooddata/sdk-model").IDashboardAttributeFilterParent[] | undefined;
|
|
9
|
+
filterElementsByDate?: import("@gooddata/sdk-model").IDashboardAttributeFilterByDate[] | undefined;
|
|
9
10
|
validateElementsBy?: import("@gooddata/sdk-model").ObjRef[] | undefined;
|
|
10
11
|
title?: string | undefined;
|
|
11
12
|
selectionMode?: import("@gooddata/sdk-model").DashboardAttributeFilterSelectionMode | undefined;
|
|
12
|
-
}, "title" | "displayForm" | "selectionMode" | "validateElementsBy" | "negativeSelection" | "attributeElements" | "filterElementsBy">;
|
|
13
|
+
}, "title" | "displayForm" | "selectionMode" | "validateElementsBy" | "negativeSelection" | "attributeElements" | "filterElementsBy" | "filterElementsByDate">;
|
|
13
14
|
})[];
|
|
14
15
|
//# sourceMappingURL=stripLocalIdentifierFromFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripLocalIdentifierFromFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA8B,MAAM,qBAAqB,CAAC;AAGpF,eAAO,MAAM,+BAA+B,YAAa,iBAAiB,EAAE
|
|
1
|
+
{"version":3,"file":"stripLocalIdentifierFromFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA8B,MAAM,qBAAqB,CAAC;AAGpF,eAAO,MAAM,+BAA+B,YAAa,iBAAiB,EAAE;;;;;;;;;;;;IAOtE,CAAC"}
|
|
@@ -155,6 +155,7 @@ import { ICrossFiltering } from '@gooddata/sdk-model';
|
|
|
155
155
|
import { ICrossFilteringItem as ICrossFilteringItem_2 } from './types.js';
|
|
156
156
|
import { IDashboard } from '@gooddata/sdk-model';
|
|
157
157
|
import { IDashboardAttributeFilter } from '@gooddata/sdk-model';
|
|
158
|
+
import { IDashboardAttributeFilterByDate } from '@gooddata/sdk-model';
|
|
158
159
|
import { IDashboardAttributeFilterConfig } from '@gooddata/sdk-model';
|
|
159
160
|
import { IDashboardAttributeFilterParent } from '@gooddata/sdk-model';
|
|
160
161
|
import { IDashboardDateFilter } from '@gooddata/sdk-model';
|
|
@@ -2642,7 +2643,7 @@ export declare interface DashboardCommandRejected extends IDashboardEvent {
|
|
|
2642
2643
|
*
|
|
2643
2644
|
* @public
|
|
2644
2645
|
*/
|
|
2645
|
-
export declare type DashboardCommands = InitializeDashboard | SaveDashboardAs | RequestAsyncRender | ResolveAsyncRender | ChangeFilterContextSelection | ChangeDateFilterSelection | ChangeAttributeFilterSelection | ChangeRenderMode | SaveDashboard | RenameDashboard | ResetDashboard | ExportDashboardToPdf | DeleteDashboard | TriggerEvent | UpsertExecutionResult | AddAttributeFilter | RemoveAttributeFilters | MoveAttributeFilter | SetAttributeFilterParents | AddLayoutSection | MoveLayoutSection | RemoveLayoutSection | ChangeLayoutSectionHeader | ResizeHeight | ResizeWidth | AddSectionItems | ReplaceSectionItem | MoveSectionItem | MoveSectionItemToNewSection | RemoveSectionItem | RemoveSectionItemByWidgetRef | UndoLayoutChanges | ChangeKpiWidgetHeader | ChangeKpiWidgetDescription | ChangeKpiWidgetConfiguration | ChangeKpiWidgetMeasure | ChangeKpiWidgetFilterSettings | ChangeKpiWidgetComparison | RefreshKpiWidget | SetDrillForKpiWidget | RemoveDrillForKpiWidget | ChangeInsightWidgetHeader | ChangeInsightWidgetDescription | ChangeInsightWidgetFilterSettings | ChangeInsightWidgetVisProperties | ChangeInsightWidgetVisConfiguration | ChangeInsightWidgetInsight | ModifyDrillsForInsightWidget | RemoveDrillsForInsightWidget | RefreshInsightWidget | ExportInsightWidget | CreateAlert | UpdateAlert | RemoveAlerts | CreateScheduledEmail | SaveScheduledEmail | ChangeSharing | SetAttributeFilterDisplayForm | SetAttributeFilterTitle | SetAttributeFilterSelectionMode | ChangeRichTextWidgetContent | Drill | DrillDown | DrillToAttributeUrl | DrillToCustomUrl | DrillToDashboard | DrillToInsight | DrillToLegacyDashboard | ChangeDrillableItems | AddDrillTargets | SetDashboardDateFilterConfigMode | SetDashboardAttributeFilterConfigMode | RemoveDrillDownForInsightWidget | AddDrillDownForInsightWidget | ModifyDrillDownForInsightWidget | CrossFiltering | AttributeHierarchyModified | AddDateFilter | RemoveDateFilters | MoveDateFilter | SetDashboardDateFilterWithDimensionConfigMode | SetDateFilterConfigTitle | SetAttributeFilterLimitingItems;
|
|
2646
|
+
export declare type DashboardCommands = InitializeDashboard | SaveDashboardAs | RequestAsyncRender | ResolveAsyncRender | ChangeFilterContextSelection | ChangeDateFilterSelection | ChangeAttributeFilterSelection | ChangeRenderMode | SaveDashboard | RenameDashboard | ResetDashboard | ExportDashboardToPdf | DeleteDashboard | TriggerEvent | UpsertExecutionResult | AddAttributeFilter | RemoveAttributeFilters | MoveAttributeFilter | SetAttributeFilterParents | SetAttributeFilterDependentDateFilters | AddLayoutSection | MoveLayoutSection | RemoveLayoutSection | ChangeLayoutSectionHeader | ResizeHeight | ResizeWidth | AddSectionItems | ReplaceSectionItem | MoveSectionItem | MoveSectionItemToNewSection | RemoveSectionItem | RemoveSectionItemByWidgetRef | UndoLayoutChanges | ChangeKpiWidgetHeader | ChangeKpiWidgetDescription | ChangeKpiWidgetConfiguration | ChangeKpiWidgetMeasure | ChangeKpiWidgetFilterSettings | ChangeKpiWidgetComparison | RefreshKpiWidget | SetDrillForKpiWidget | RemoveDrillForKpiWidget | ChangeInsightWidgetHeader | ChangeInsightWidgetDescription | ChangeInsightWidgetFilterSettings | ChangeInsightWidgetVisProperties | ChangeInsightWidgetVisConfiguration | ChangeInsightWidgetInsight | ModifyDrillsForInsightWidget | RemoveDrillsForInsightWidget | RefreshInsightWidget | ExportInsightWidget | CreateAlert | UpdateAlert | RemoveAlerts | CreateScheduledEmail | SaveScheduledEmail | ChangeSharing | SetAttributeFilterDisplayForm | SetAttributeFilterTitle | SetAttributeFilterSelectionMode | ChangeRichTextWidgetContent | Drill | DrillDown | DrillToAttributeUrl | DrillToCustomUrl | DrillToDashboard | DrillToInsight | DrillToLegacyDashboard | ChangeDrillableItems | AddDrillTargets | SetDashboardDateFilterConfigMode | SetDashboardAttributeFilterConfigMode | RemoveDrillDownForInsightWidget | AddDrillDownForInsightWidget | ModifyDrillDownForInsightWidget | CrossFiltering | AttributeHierarchyModified | AddDateFilter | RemoveDateFilters | MoveDateFilter | SetDashboardDateFilterWithDimensionConfigMode | SetDateFilterConfigTitle | SetAttributeFilterLimitingItems;
|
|
2646
2647
|
|
|
2647
2648
|
/**
|
|
2648
2649
|
* This event is emitted when a particular command processing starts.
|
|
@@ -2676,7 +2677,7 @@ export declare interface DashboardCommandStartedPayload<TCommand extends IDashbo
|
|
|
2676
2677
|
*
|
|
2677
2678
|
* @public
|
|
2678
2679
|
*/
|
|
2679
|
-
export declare type DashboardCommandType = "GDC.DASH/CMD.INITIALIZE" | "GDC.DASH/CMD.SAVE" | "GDC.DASH/CMD.SAVEAS" | "GDC.DASH/CMD.RESET" | "GDC.DASH/CMD.RENAME" | "GDC.DASH/CMD.DELETE" | "GDC.DASH/CMD.CHANGE_RENDER_MODE" | "GDC.DASH/CMD.SHARING.CHANGE" | "GDC.DASH/CMD.EXPORT.PDF" | "GDC.DASH/CMD.EVENT.TRIGGER" | "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT" | "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_PARENTS" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DISPLAY_FORM" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_TITLE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_SELECTION_MODE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.MOVE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_LIMITING_ITEMS" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_WITH_DIMENSION_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_TITLE" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM_TO_NEW_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.CHANGE_SECTION_HEADER" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_ITEMS" | "GDC.DASH/CMD.FLUID_LAYOUT.REPLACE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM_BY_WIDGET_REF" | "GDC.DASH/CMD.FLUID_LAYOUT.UNDO" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_HEIGHT" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_WIDTH" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_MEASURE" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_COMPARISON" | "GDC.DASH/CMD.KPI_WIDGET.REFRESH" | "GDC.DASH/CMD.KPI_WIDGET.SET_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.REMOVE_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_PROPERTIES" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_INSIGHT" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.ADD_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT" | "GDC.DASH/CMD.ALERT.CREATE" | "GDC.DASH/CMD.ALERT.UPDATE" | "GDC.DASH/CMD.ALERTS.REMOVE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.SAVE" | "GDC.DASH/CMD.DRILL" | "GDC.DASH/CMD.DRILL.DRILL_DOWN" | "GDC.DASH/CMD.DRILL.DRILL_TO_INSIGHT" | "GDC.DASH/CMD.DRILL.DRILL_TO_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILL_TO_ATTRIBUTE_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_CUSTOM_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_LEGACY_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILLABLE_ITEMS.CHANGE" | "GDC.DASH/CMD.DRILL.CROSS_FILTERING" | "GDC.DASH/CMD.DRILL_TARGETS.ADD" | "GDC.DASH/CMD.RENDER.ASYNC.REQUEST" | "GDC.DASH/CMD.RENDER.ASYNC.RESOLVE" | "GDC.DASH/CMD.ATTRIBUTE_HIERARCHY_MODIFIED";
|
|
2680
|
+
export declare type DashboardCommandType = "GDC.DASH/CMD.INITIALIZE" | "GDC.DASH/CMD.SAVE" | "GDC.DASH/CMD.SAVEAS" | "GDC.DASH/CMD.RESET" | "GDC.DASH/CMD.RENAME" | "GDC.DASH/CMD.DELETE" | "GDC.DASH/CMD.CHANGE_RENDER_MODE" | "GDC.DASH/CMD.SHARING.CHANGE" | "GDC.DASH/CMD.EXPORT.PDF" | "GDC.DASH/CMD.EVENT.TRIGGER" | "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT" | "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_PARENTS" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DISPLAY_FORM" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_TITLE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_SELECTION_MODE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DEPENDENT_DATE_FILTERS" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.MOVE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_LIMITING_ITEMS" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_WITH_DIMENSION_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_TITLE" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM_TO_NEW_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.CHANGE_SECTION_HEADER" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_ITEMS" | "GDC.DASH/CMD.FLUID_LAYOUT.REPLACE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM_BY_WIDGET_REF" | "GDC.DASH/CMD.FLUID_LAYOUT.UNDO" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_HEIGHT" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_WIDTH" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_MEASURE" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_COMPARISON" | "GDC.DASH/CMD.KPI_WIDGET.REFRESH" | "GDC.DASH/CMD.KPI_WIDGET.SET_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.REMOVE_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_PROPERTIES" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_INSIGHT" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.ADD_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT" | "GDC.DASH/CMD.ALERT.CREATE" | "GDC.DASH/CMD.ALERT.UPDATE" | "GDC.DASH/CMD.ALERTS.REMOVE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.SAVE" | "GDC.DASH/CMD.DRILL" | "GDC.DASH/CMD.DRILL.DRILL_DOWN" | "GDC.DASH/CMD.DRILL.DRILL_TO_INSIGHT" | "GDC.DASH/CMD.DRILL.DRILL_TO_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILL_TO_ATTRIBUTE_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_CUSTOM_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_LEGACY_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILLABLE_ITEMS.CHANGE" | "GDC.DASH/CMD.DRILL.CROSS_FILTERING" | "GDC.DASH/CMD.DRILL_TARGETS.ADD" | "GDC.DASH/CMD.RENDER.ASYNC.REQUEST" | "GDC.DASH/CMD.RENDER.ASYNC.RESOLVE" | "GDC.DASH/CMD.ATTRIBUTE_HIERARCHY_MODIFIED";
|
|
2680
2681
|
|
|
2681
2682
|
/**
|
|
2682
2683
|
* Dashboard configuration can influence the available features, look and feel and behavior of the dashboard.
|
|
@@ -7951,13 +7952,15 @@ export declare interface IDashboardDateFilterProps {
|
|
|
7951
7952
|
*/
|
|
7952
7953
|
export declare interface IDashboardDependentDateFilter {
|
|
7953
7954
|
localIdentifier: string;
|
|
7954
|
-
|
|
7955
|
+
isCommonDate: boolean;
|
|
7955
7956
|
type: string;
|
|
7956
7957
|
title?: string;
|
|
7958
|
+
isSelected?: boolean;
|
|
7957
7959
|
dataSet?: ObjRef;
|
|
7958
7960
|
from?: DateString | number;
|
|
7959
7961
|
to?: DateString | number;
|
|
7960
|
-
granularity?:
|
|
7962
|
+
granularity?: DateFilterGranularity;
|
|
7963
|
+
isDisabled?: boolean;
|
|
7961
7964
|
}
|
|
7962
7965
|
|
|
7963
7966
|
/**
|
|
@@ -10487,6 +10490,14 @@ export declare const isDashboardDeinitialized: (obj: unknown) => obj is Dashboar
|
|
|
10487
10490
|
*/
|
|
10488
10491
|
export declare const isDashboardDeleted: (obj: unknown) => obj is DashboardDeleted;
|
|
10489
10492
|
|
|
10493
|
+
/**
|
|
10494
|
+
* Type-guard that tests whether an object is an instance of {@link IDashboardDependentDateFilter}.
|
|
10495
|
+
*
|
|
10496
|
+
* @param obj - object to test
|
|
10497
|
+
* @internal
|
|
10498
|
+
*/
|
|
10499
|
+
export declare function isDashboardDependentDateFilter(obj: unknown): obj is IDashboardDependentDateFilter;
|
|
10500
|
+
|
|
10490
10501
|
/**
|
|
10491
10502
|
* Tests whether the provided object is an instance of {@link DashboardDrillableItemsChanged}.
|
|
10492
10503
|
*
|
|
@@ -13599,11 +13610,11 @@ export declare interface RequestAsyncRender extends IDashboardCommand {
|
|
|
13599
13610
|
*
|
|
13600
13611
|
* @remarks
|
|
13601
13612
|
* * Mechanism is following:
|
|
13602
|
-
* - You must request async rendering for at least 1 component within
|
|
13603
|
-
* (If you do not register any asynchronous rendering, after
|
|
13613
|
+
* - You must request async rendering for at least 1 component within 5 seconds of the {@link DashboardInitialized} event.
|
|
13614
|
+
* (If you do not register any asynchronous rendering, after 5 seconds the dashboard will announce that it is rendered by dispatching {@link DashboardRenderResolved} event.)
|
|
13604
13615
|
* - You can request async rendering for any number of components. Requests are valid if the first rule is met
|
|
13605
13616
|
* and not all asynchronous renderings have been resolved and the maximum timeout (20min by default) has not elapsed.
|
|
13606
|
-
* - The component may again request asynchronous rendering within
|
|
13617
|
+
* - The component may again request asynchronous rendering within 5 seconds of resolution. Maximum 3x.
|
|
13607
13618
|
* (this is necessary to cover possible re-renders caused by data received from the components themselves, after they are rendered)
|
|
13608
13619
|
* - Maximum rendering time of the dashboard is 20min - if some asynchronous renderings are not yet resolved at this time, {@link DashboardRenderResolved} event is dispatched anyway.
|
|
13609
13620
|
*
|
|
@@ -15024,6 +15035,13 @@ export declare const selectEnableKDAttributeFilterDatesValidation: DashboardSele
|
|
|
15024
15035
|
*/
|
|
15025
15036
|
export declare const selectEnableKDCrossFiltering: DashboardSelector<boolean>;
|
|
15026
15037
|
|
|
15038
|
+
/**
|
|
15039
|
+
* Returns whether new KD dependent filters are enabled.
|
|
15040
|
+
*
|
|
15041
|
+
* @internal
|
|
15042
|
+
*/
|
|
15043
|
+
export declare const selectEnableKDDependentFilters: DashboardSelector<boolean>;
|
|
15044
|
+
|
|
15027
15045
|
/**
|
|
15028
15046
|
* Returns whether rich text widgets are enabled.
|
|
15029
15047
|
*
|
|
@@ -15547,6 +15565,13 @@ export declare const selectIsInEditMode: DashboardSelector<boolean>;
|
|
|
15547
15565
|
*/
|
|
15548
15566
|
export declare const selectIsInViewMode: DashboardSelector<boolean>;
|
|
15549
15567
|
|
|
15568
|
+
/**
|
|
15569
|
+
* Returns whether KD dependent filters are enabled.
|
|
15570
|
+
*
|
|
15571
|
+
* @internal
|
|
15572
|
+
*/
|
|
15573
|
+
export declare const selectIsKDDependentFiltersEnabled: DashboardSelector<boolean>;
|
|
15574
|
+
|
|
15550
15575
|
/**
|
|
15551
15576
|
* @alpha
|
|
15552
15577
|
*/
|
|
@@ -15557,6 +15582,13 @@ export declare const selectIsKpiAlertHighlightedByWidgetRef: (ref: ObjRef | unde
|
|
|
15557
15582
|
*/
|
|
15558
15583
|
export declare const selectIsKpiAlertOpenedByWidgetRef: (ref: ObjRef | undefined) => (state: DashboardState) => boolean;
|
|
15559
15584
|
|
|
15585
|
+
/**
|
|
15586
|
+
* Returns whether dependent filters are enabled.
|
|
15587
|
+
*
|
|
15588
|
+
* @internal
|
|
15589
|
+
*/
|
|
15590
|
+
export declare const selectIsKPIDashboardDependentFiltersEnabled: DashboardSelector<boolean>;
|
|
15591
|
+
|
|
15560
15592
|
/**
|
|
15561
15593
|
* @internal
|
|
15562
15594
|
*/
|
|
@@ -15887,6 +15919,13 @@ export declare const selectSupportsAttributeHierarchies: DashboardSelector<boole
|
|
|
15887
15919
|
*/
|
|
15888
15920
|
export declare const selectSupportsCrossFiltering: DashboardSelector<boolean>;
|
|
15889
15921
|
|
|
15922
|
+
/**
|
|
15923
|
+
* This selector returns capability if parent child filtering is enabled.
|
|
15924
|
+
*
|
|
15925
|
+
* @public
|
|
15926
|
+
*/
|
|
15927
|
+
export declare const selectSupportsElementsQueryParentFiltering: DashboardSelector<boolean>;
|
|
15928
|
+
|
|
15890
15929
|
/**
|
|
15891
15930
|
* Selector for {@link @gooddata/sdk-backend-spi#IBackendCapabilities.supportsElementUris}
|
|
15892
15931
|
*
|
|
@@ -16032,6 +16071,41 @@ export declare const selectWidgetsOverlay: DashboardSelector<Record<string, IDas
|
|
|
16032
16071
|
*/
|
|
16033
16072
|
export declare const selectWidgetsOverlayState: (refs: (ObjRef | undefined)[]) => DashboardSelector<boolean>;
|
|
16034
16073
|
|
|
16074
|
+
/**
|
|
16075
|
+
* @beta
|
|
16076
|
+
*/
|
|
16077
|
+
export declare interface SetAttributeFilterDependentDateFilters extends IDashboardCommand {
|
|
16078
|
+
readonly type: "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DEPENDENT_DATE_FILTERS";
|
|
16079
|
+
readonly payload: SetAttributeFilterDependentDateFiltersPayload;
|
|
16080
|
+
}
|
|
16081
|
+
|
|
16082
|
+
/**
|
|
16083
|
+
* Creates the SetAttributeFilterDependentDateFilters command. Dispatching this command will result in setting a
|
|
16084
|
+
* relationship between one dashboard attribute filters and one or more date filters.
|
|
16085
|
+
*
|
|
16086
|
+
* When an attribute filter has a dependent date filter set up, the attribute elements that will be available in the attribute
|
|
16087
|
+
* filter will be influenced by the selection in the date filter. The attribute filter will show only those elements
|
|
16088
|
+
* for which a link exists to the selected elements in the dependent date filter.
|
|
16089
|
+
*
|
|
16090
|
+
*
|
|
16091
|
+
* @param filterLocalId - local id of filter that will be a child in the relationship
|
|
16092
|
+
* @param dateParentFilters - definition of the dependent date filter this contains local id of the date filter
|
|
16093
|
+
* @param correlationId - specify correlation id to use for this command. this will be included in all
|
|
16094
|
+
* events that will be emitted during the command processing
|
|
16095
|
+
*
|
|
16096
|
+
* @beta
|
|
16097
|
+
*/
|
|
16098
|
+
export declare function setAttributeFilterDependentDateFilters(filterLocalId: string, dependentDateFilters: IDashboardAttributeFilterByDate[], correlationId?: string): SetAttributeFilterDependentDateFilters;
|
|
16099
|
+
|
|
16100
|
+
/**
|
|
16101
|
+
* Payload of the {@link SetAttributeFilterDependentDateFilters} command.
|
|
16102
|
+
* @beta
|
|
16103
|
+
*/
|
|
16104
|
+
export declare interface SetAttributeFilterDependentDateFiltersPayload {
|
|
16105
|
+
readonly filterLocalId: string;
|
|
16106
|
+
readonly dependentDateFilters: ReadonlyArray<IDashboardAttributeFilterByDate>;
|
|
16107
|
+
}
|
|
16108
|
+
|
|
16035
16109
|
/**
|
|
16036
16110
|
* @beta
|
|
16037
16111
|
*/
|
|
@@ -17030,11 +17104,11 @@ export declare interface UseDashboardAsyncRender {
|
|
|
17030
17104
|
* This mechanism is necessary for dashboard exports to PDF to work properly.
|
|
17031
17105
|
*
|
|
17032
17106
|
* Mechanism is following:
|
|
17033
|
-
* - You must request async rendering for at least 1 component within
|
|
17034
|
-
* (If you do not register any asynchronous rendering, after
|
|
17107
|
+
* - You must request async rendering for at least 1 component within 5 seconds of the {@link DashboardInitialized} event.
|
|
17108
|
+
* (If you do not register any asynchronous rendering, after 5 seconds the dashboard will announce that it is rendered by dispatching {@link DashboardRenderResolved} event.)
|
|
17035
17109
|
* - You can request async rendering for any number of components. Requests are valid if the first rule is met
|
|
17036
17110
|
* and not all asynchronous renderings have been resolved and the maximum timeout (20min by default) has not elapsed.
|
|
17037
|
-
* - The component may again request asynchronous rendering within
|
|
17111
|
+
* - The component may again request asynchronous rendering within 5 seconds of resolution. Maximum 3x.
|
|
17038
17112
|
* (this is necessary to cover possible re-renders caused by data received from the components themselves, after they are rendered)
|
|
17039
17113
|
* - Maximum rendering time of the dashboard is 20min - if some asynchronous renderings are not yet resolved at this time, {@link DashboardRenderResolved} event is dispatched anyway.
|
|
17040
17114
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"ts-invariant": "^0.7.5",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
58
58
|
"uuid": "^8.3.2",
|
|
59
|
-
"@gooddata/sdk-backend-base": "
|
|
60
|
-
"@gooddata/sdk-backend-spi": "
|
|
61
|
-
"@gooddata/sdk-model": "
|
|
62
|
-
"@gooddata/sdk-ui": "
|
|
63
|
-
"@gooddata/sdk-ui-
|
|
64
|
-
"@gooddata/sdk-ui-
|
|
65
|
-
"@gooddata/sdk-ui-geo": "
|
|
66
|
-
"@gooddata/sdk-ui-kit": "
|
|
67
|
-
"@gooddata/sdk-ui-theme-provider": "
|
|
68
|
-
"@gooddata/sdk-ui-vis-commons": "
|
|
69
|
-
"@gooddata/util": "
|
|
59
|
+
"@gooddata/sdk-backend-base": "10.0.0-alpha.2",
|
|
60
|
+
"@gooddata/sdk-backend-spi": "10.0.0-alpha.2",
|
|
61
|
+
"@gooddata/sdk-model": "10.0.0-alpha.2",
|
|
62
|
+
"@gooddata/sdk-ui": "10.0.0-alpha.2",
|
|
63
|
+
"@gooddata/sdk-ui-ext": "10.0.0-alpha.2",
|
|
64
|
+
"@gooddata/sdk-ui-filters": "10.0.0-alpha.2",
|
|
65
|
+
"@gooddata/sdk-ui-geo": "10.0.0-alpha.2",
|
|
66
|
+
"@gooddata/sdk-ui-kit": "10.0.0-alpha.2",
|
|
67
|
+
"@gooddata/sdk-ui-theme-provider": "10.0.0-alpha.2",
|
|
68
|
+
"@gooddata/sdk-ui-vis-commons": "10.0.0-alpha.2",
|
|
69
|
+
"@gooddata/util": "10.0.0-alpha.2"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"typescript": "5.3.3",
|
|
120
120
|
"vitest": "1.0.4",
|
|
121
121
|
"vitest-dom": "0.1.1",
|
|
122
|
-
"@gooddata/reference-workspace": "
|
|
123
|
-
"@gooddata/
|
|
124
|
-
"@gooddata/
|
|
122
|
+
"@gooddata/reference-workspace": "10.0.0-alpha.2",
|
|
123
|
+
"@gooddata/i18n-toolkit": "10.0.0-alpha.2",
|
|
124
|
+
"@gooddata/sdk-backend-mockingbird": "10.0.0-alpha.2"
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|