@gooddata/sdk-ui-dashboard 11.54.0-alpha.4 → 11.54.0-alpha.5

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.
Files changed (130) hide show
  1. package/NOTICE +92923 -17333
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts +6 -0
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +7 -0
  7. package/esm/_staging/layout/coordinates.mock.d.ts +17 -0
  8. package/esm/_staging/layout/coordinates.mock.d.ts.map +1 -0
  9. package/esm/_staging/layout/coordinates.mock.js +103 -0
  10. package/esm/index.d.ts +2 -2
  11. package/esm/index.d.ts.map +1 -1
  12. package/esm/model/DashboardTester.d.ts +150 -0
  13. package/esm/model/DashboardTester.d.ts.map +1 -0
  14. package/esm/model/DashboardTester.js +208 -0
  15. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  16. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +27 -1
  17. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadAutomationTimezone.d.ts +9 -0
  18. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadAutomationTimezone.d.ts.map +1 -0
  19. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadAutomationTimezone.js +27 -0
  20. package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.js +2 -11
  22. package/esm/model/commands/timezone.d.ts +10 -2
  23. package/esm/model/commands/timezone.d.ts.map +1 -1
  24. package/esm/model/commands/timezone.js +5 -2
  25. package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts +14 -0
  26. package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts.map +1 -0
  27. package/esm/model/fixtures/CatalogAvailability.fixtures.js +57 -0
  28. package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts +56 -0
  29. package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts.map +1 -0
  30. package/esm/model/fixtures/ComplexDashboard.fixtures.js +71 -0
  31. package/esm/model/fixtures/Dashboard.fixtures.d.ts +10 -0
  32. package/esm/model/fixtures/Dashboard.fixtures.d.ts.map +1 -0
  33. package/esm/model/fixtures/Dashboard.fixtures.js +13 -0
  34. package/esm/model/fixtures/Insights.fixtures.d.ts +6 -0
  35. package/esm/model/fixtures/Insights.fixtures.d.ts.map +1 -0
  36. package/esm/model/fixtures/Insights.fixtures.js +11 -0
  37. package/esm/model/fixtures/Layout.fixtures.d.ts +14 -0
  38. package/esm/model/fixtures/Layout.fixtures.d.ts.map +1 -0
  39. package/esm/model/fixtures/Layout.fixtures.js +115 -0
  40. package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts +46 -0
  41. package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts.map +1 -0
  42. package/esm/model/fixtures/SimpleDashboard.fixtures.js +315 -0
  43. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts +28 -0
  44. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts.map +1 -0
  45. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.js +40 -0
  46. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +6 -0
  47. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +1 -0
  48. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.js +13 -0
  49. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +7 -0
  50. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +1 -0
  51. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.js +12 -0
  52. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  53. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +25 -13
  54. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts +8 -0
  55. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts.map +1 -0
  56. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.js +8 -0
  57. package/esm/presentation/automations/alerting/state/fixtures.d.ts +13 -0
  58. package/esm/presentation/automations/alerting/state/fixtures.d.ts.map +1 -0
  59. package/esm/presentation/automations/alerting/state/fixtures.js +37 -0
  60. package/esm/presentation/automations/alerting/types.d.ts +42 -2
  61. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  62. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  63. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +24 -5
  64. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts +1 -5
  65. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
  66. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +2 -2
  67. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +0 -4
  68. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
  69. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +6 -0
  70. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +1 -0
  71. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +10 -0
  72. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +6 -0
  73. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +1 -0
  74. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +8 -0
  75. package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts +18 -0
  76. package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts.map +1 -0
  77. package/esm/presentation/automations/scheduledEmail/state/fixtures.js +105 -0
  78. package/esm/presentation/automations/scheduledEmail/types.d.ts +52 -3
  79. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  80. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts +5 -0
  81. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts.map +1 -0
  82. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.js +22 -0
  83. package/esm/presentation/automations/shared/slots/types.d.ts +67 -1
  84. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  85. package/esm/presentation/automations/shared/test/fixtures.d.ts +9 -0
  86. package/esm/presentation/automations/shared/test/fixtures.d.ts.map +1 -0
  87. package/esm/presentation/automations/shared/test/fixtures.js +101 -0
  88. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts +17 -0
  89. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts.map +1 -0
  90. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.js +18 -0
  91. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts +12 -0
  92. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts.map +1 -0
  93. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.js +26 -0
  94. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts +20 -0
  95. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts.map +1 -0
  96. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.js +95 -0
  97. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts +14 -0
  98. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts.map +1 -0
  99. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.js +9 -0
  100. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts +9 -0
  101. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts.map +1 -0
  102. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.js +17 -0
  103. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts +6 -0
  104. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts.map +1 -0
  105. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.js +10 -0
  106. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts +9 -0
  107. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts.map +1 -0
  108. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.js +14 -0
  109. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts +8 -0
  110. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts.map +1 -0
  111. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.js +49 -0
  112. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts +7 -0
  113. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts.map +1 -0
  114. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.js +33 -0
  115. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts +62 -0
  116. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts.map +1 -0
  117. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.js +2 -0
  118. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts +11 -0
  119. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts.map +1 -0
  120. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.js +4 -0
  121. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts +8 -0
  122. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts.map +1 -0
  123. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.js +28 -0
  124. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts +26 -0
  125. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts.map +1 -0
  126. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.js +21 -0
  127. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
  128. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +1 -1
  129. package/esm/sdk-ui-dashboard.d.ts +172 -5
  130. package/package.json +21 -21
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,13 @@
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;
@@ -0,0 +1,6 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
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);
@@ -0,0 +1,14 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,115 @@
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
+ }
@@ -0,0 +1,46 @@
1
+ import { type IDashboardWithReferences } from "@gooddata/sdk-backend-spi";
2
+ import { type IDrillToAttributeUrl, type IDrillToCustomUrl, type IDrillToDashboard, type IDrillToInsight, type IFilterContext, type IListedDashboard } from "@gooddata/sdk-model";
3
+ import { type IAvailableDrillTargets } from "@gooddata/sdk-ui";
4
+ import { type IInaccessibleDashboard } from "../types/inaccessibleDashboardTypes.js";
5
+ export declare const SimpleDashboardIdentifier = "adb4fefa-c5ad-410e-bb2c-d6933e0ec7a0";
6
+ export declare const SimpleDashboardWithReferences: IDashboardWithReferences;
7
+ export declare const SimpleDashboardLayout: import("@gooddata/sdk-model").IDashboardLayout<import("@gooddata/sdk-model").IDashboardWidget>;
8
+ export declare const SimpleDashboardFilterContext: IFilterContext;
9
+ /**
10
+ * drillToAttributeUrl on simple dashboard
11
+ */
12
+ export declare const drillToAttributeUrlWidgetRef: any;
13
+ /**
14
+ * First widget from first section
15
+ */
16
+ export declare const KpiWidgetRef: import("@gooddata/sdk-model").ObjRef;
17
+ /**
18
+ * First widget from second section
19
+ */
20
+ export declare const SimpleSortedTableWidgetRef: any;
21
+ export declare const SimpleSortedTableWidgetInsightRef: import("@gooddata/sdk-model").ObjRef;
22
+ export declare const SimpleSortedTableWidgetInsightIdentifier: string;
23
+ export declare const SimpleSortedTableWidgetInsight: import("@gooddata/sdk-model").IInsight;
24
+ /**
25
+ * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
26
+ */
27
+ export declare const SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
28
+ export declare const SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
29
+ /**
30
+ * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
31
+ */
32
+ export declare const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
33
+ /**
34
+ * This mock is real reported drillTargets after firs render
35
+ */
36
+ export declare const SimpleDashboardSimpleSortedTableWidgetDrillTargets: IAvailableDrillTargets;
37
+ export declare const SimpleDashboarddrillToAttributeUrlWidgetDrillTargets: IAvailableDrillTargets;
38
+ export declare const DrillToDashboardWithThreeSectionsLocalIdentifier = "b4c6999557164163a9e0e75ec74cb8db";
39
+ export declare const DrillToDashboardFromWonMeasureDefinition: IDrillToDashboard;
40
+ export declare const DrillToDashboardFromProductAttributeDefinition: IDrillToDashboard;
41
+ export declare const DrillToToInsightFromWonMeasureDefinition: IDrillToInsight;
42
+ export declare const DrillToCustomUrlFromMeasureDefinition: IDrillToCustomUrl;
43
+ export declare const DrillToAttributeUrlFromMeasureDefinition: IDrillToAttributeUrl;
44
+ export declare const InaccessibleDashboard: IInaccessibleDashboard;
45
+ export declare const SimpleDashboardListed: IListedDashboard;
46
+ //# sourceMappingURL=SimpleDashboard.fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleDashboard.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/SimpleDashboard.fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAEH,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EAEnB,KAAK,gBAAgB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAIrF,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,eAAO,MAAM,6BAA6B,0BAET,CAAC;AAClC,eAAO,MAAM,qBAAqB,gGAAkD,CAAC;AACrF,eAAO,MAAM,4BAA4B,gBACL,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,4BAA4B,KAAiE,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,YAAY,sCAAwE,CAAC;AAClG;;GAEG;AACH,eAAO,MAAM,0BAA0B,KAAiE,CAAC;AACzG,eAAO,MAAM,iCAAiC,sCACsB,CAAC;AACrE,eAAO,MAAM,wCAAwC,QACsB,CAAC;AAC5E,eAAO,MAAM,8BAA8B,wCAAuD,CAAC;AACnG;;GAEG;AACH,eAAO,MAAM,yDAAyD,qCAAqC,CAAC;AAC5G,eAAO,MAAM,+DAA+D,qCACtC,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,mCAAmC,qCAAqC,CAAC;AAEtF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,sBAqGhE,CAAC;AAEF,eAAO,MAAM,oDAAoD,EAAE,sBAkFlE,CAAC;AAEF,eAAO,MAAM,gDAAgD,qCAAqC,CAAC;AAEnG,eAAO,MAAM,wCAAwC,EAAE,iBActD,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,iBAc5D,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,eAWtD,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,iBAanD,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,oBAkBtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,sBAKnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,gBAWnC,CAAC"}
@@ -0,0 +1,315 @@
1
+ // (C) 2021-2026 GoodData Corporation
2
+ import { ReferenceRecordings } from "@gooddata/reference-workspace";
3
+ import { idRef, } from "@gooddata/sdk-model";
4
+ import { ComplexDashboardIdentifier } from "./ComplexDashboard.fixtures.js";
5
+ export const SimpleDashboardIdentifier = "adb4fefa-c5ad-410e-bb2c-d6933e0ec7a0";
6
+ export const SimpleDashboardWithReferences = ReferenceRecordings.Recordings.metadata?.dashboards?.["dash_adb4fefa_c5ad_410e_bb2c_d6933e0ec7a0"].obj;
7
+ export const SimpleDashboardLayout = SimpleDashboardWithReferences.dashboard.layout;
8
+ export const SimpleDashboardFilterContext = SimpleDashboardWithReferences.dashboard
9
+ .filterContext;
10
+ /**
11
+ * drillToAttributeUrl on simple dashboard
12
+ */
13
+ export const drillToAttributeUrlWidgetRef = SimpleDashboardLayout.sections[2].items[0].widget.ref;
14
+ /**
15
+ * First widget from first section
16
+ */
17
+ export const KpiWidgetRef = SimpleDashboardLayout.sections[0].items[0].widget.ref;
18
+ /**
19
+ * First widget from second section
20
+ */
21
+ export const SimpleSortedTableWidgetRef = SimpleDashboardLayout.sections[1].items[0].widget.ref;
22
+ export const SimpleSortedTableWidgetInsightRef = SimpleDashboardWithReferences.references.insights[2].insight.ref;
23
+ export const SimpleSortedTableWidgetInsightIdentifier = SimpleDashboardWithReferences.references.insights[2].insight.identifier;
24
+ export const SimpleSortedTableWidgetInsight = SimpleDashboardWithReferences.references.insights[2];
25
+ /**
26
+ * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
27
+ */
28
+ export const SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
29
+ export const SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
30
+ /**
31
+ * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
32
+ */
33
+ export const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
34
+ /**
35
+ * This mock is real reported drillTargets after firs render
36
+ */
37
+ export const SimpleDashboardSimpleSortedTableWidgetDrillTargets = {
38
+ measures: [
39
+ {
40
+ measure: {
41
+ measureHeaderItem: {
42
+ name: "Won",
43
+ format: "$#,##0.00",
44
+ localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
45
+ uri: "obj_1272",
46
+ identifier: "acugFHNJgsBy",
47
+ ref: {
48
+ identifier: "obj_1272",
49
+ },
50
+ },
51
+ },
52
+ attributes: [
53
+ {
54
+ attributeHeader: {
55
+ name: "Product Name",
56
+ localIdentifier: "3b196b9f8de04b61ba37762fa28fcf4f",
57
+ uri: "obj_1055",
58
+ identifier: "label.product.id.name",
59
+ formOf: {
60
+ name: "Product",
61
+ uri: "obj_1054",
62
+ identifier: "attr.product.id",
63
+ ref: {
64
+ identifier: "obj_1054",
65
+ },
66
+ },
67
+ ref: {
68
+ identifier: "obj_1055",
69
+ },
70
+ },
71
+ },
72
+ {
73
+ attributeHeader: {
74
+ name: "Department",
75
+ localIdentifier: "d25f36e4914f4ed18ee6b057d18decd9",
76
+ uri: "obj_1089",
77
+ identifier: "label.owner.department",
78
+ formOf: {
79
+ name: "Department",
80
+ uri: "obj_1088",
81
+ identifier: "attr.owner.department",
82
+ ref: {
83
+ identifier: "obj_1088",
84
+ },
85
+ },
86
+ ref: {
87
+ identifier: "obj_1089",
88
+ },
89
+ },
90
+ },
91
+ ],
92
+ },
93
+ ],
94
+ attributes: [
95
+ {
96
+ attribute: {
97
+ attributeHeader: {
98
+ name: "Product Name",
99
+ localIdentifier: SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier,
100
+ uri: "obj_1055",
101
+ identifier: "label.product.id.name",
102
+ formOf: {
103
+ name: "Product",
104
+ uri: "obj_1054",
105
+ identifier: "attr.product.id",
106
+ ref: {
107
+ identifier: "obj_1054",
108
+ },
109
+ },
110
+ ref: {
111
+ identifier: "obj_1055",
112
+ },
113
+ },
114
+ },
115
+ intersectionAttributes: [
116
+ {
117
+ attributeHeader: {
118
+ name: "Product Name",
119
+ localIdentifier: "3b196b9f8de04b61ba37762fa28fcf4f",
120
+ uri: "obj_1055",
121
+ identifier: "label.product.id.name",
122
+ formOf: {
123
+ name: "Product",
124
+ uri: "obj_1054",
125
+ identifier: "attr.product.id",
126
+ ref: {
127
+ identifier: "obj_1054",
128
+ },
129
+ },
130
+ ref: {
131
+ identifier: "obj_1055",
132
+ },
133
+ },
134
+ },
135
+ ],
136
+ },
137
+ ],
138
+ };
139
+ export const SimpleDashboarddrillToAttributeUrlWidgetDrillTargets = {
140
+ measures: [
141
+ {
142
+ measure: {
143
+ measureHeaderItem: {
144
+ name: "# Of Opportunities",
145
+ format: "#,##0.00",
146
+ localIdentifier: "8e874c44107d41809d0d5e7bbd1c19ff",
147
+ uri: "obj_1268",
148
+ identifier: "abQgDWx4gOUu",
149
+ ref: {
150
+ identifier: "obj_1268",
151
+ },
152
+ },
153
+ },
154
+ attributes: [
155
+ {
156
+ attributeHeader: {
157
+ name: "Opportunity Name",
158
+ localIdentifier: "a75a78a7e2194c339b4f6b8694777803",
159
+ uri: "obj_1067",
160
+ identifier: "label.opportunity.id.name",
161
+ formOf: {
162
+ name: "Opportunity",
163
+ uri: "obj_1066",
164
+ identifier: "attr.opportunity.id",
165
+ ref: {
166
+ identifier: "obj_1066",
167
+ },
168
+ },
169
+ ref: {
170
+ identifier: "obj_1067",
171
+ },
172
+ },
173
+ },
174
+ ],
175
+ },
176
+ ],
177
+ attributes: [
178
+ {
179
+ attribute: {
180
+ attributeHeader: {
181
+ name: "Opportunity Name",
182
+ localIdentifier: "a75a78a7e2194c339b4f6b8694777803",
183
+ uri: "obj_1067",
184
+ identifier: "label.opportunity.id.name",
185
+ formOf: {
186
+ name: "Opportunity",
187
+ uri: "obj_1066",
188
+ identifier: "attr.opportunity.id",
189
+ ref: {
190
+ identifier: "obj_1066",
191
+ },
192
+ },
193
+ ref: {
194
+ identifier: "obj_1067",
195
+ },
196
+ },
197
+ },
198
+ intersectionAttributes: [
199
+ {
200
+ attributeHeader: {
201
+ name: "Opportunity Name",
202
+ localIdentifier: "a75a78a7e2194c339b4f6b8694777803",
203
+ uri: "obj_1067",
204
+ identifier: "label.opportunity.id.name",
205
+ formOf: {
206
+ name: "Opportunity",
207
+ uri: "obj_1066",
208
+ identifier: "attr.opportunity.id",
209
+ ref: {
210
+ identifier: "obj_1066",
211
+ },
212
+ },
213
+ ref: {
214
+ identifier: "obj_1067",
215
+ },
216
+ },
217
+ },
218
+ ],
219
+ },
220
+ ],
221
+ };
222
+ export const DrillToDashboardWithThreeSectionsLocalIdentifier = "b4c6999557164163a9e0e75ec74cb8db";
223
+ export const DrillToDashboardFromWonMeasureDefinition = {
224
+ localIdentifier: "b4c6999557164163a9e0e75ec74cb854",
225
+ type: "drillToDashboard",
226
+ origin: {
227
+ type: "drillFromMeasure",
228
+ measure: {
229
+ localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
230
+ },
231
+ },
232
+ target: {
233
+ identifier: ComplexDashboardIdentifier,
234
+ type: "analyticalDashboard",
235
+ },
236
+ transition: "in-place",
237
+ };
238
+ export const DrillToDashboardFromProductAttributeDefinition = {
239
+ localIdentifier: "b4c6999557164163a9e0e75ec74cb8d4",
240
+ type: "drillToDashboard",
241
+ origin: {
242
+ type: "drillFromAttribute",
243
+ attribute: {
244
+ localIdentifier: SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier,
245
+ },
246
+ },
247
+ target: {
248
+ identifier: ComplexDashboardIdentifier,
249
+ type: "analyticalDashboard",
250
+ },
251
+ transition: "in-place",
252
+ };
253
+ export const DrillToToInsightFromWonMeasureDefinition = {
254
+ localIdentifier: DrillToDashboardWithThreeSectionsLocalIdentifier,
255
+ type: "drillToInsight",
256
+ origin: {
257
+ type: "drillFromMeasure",
258
+ measure: {
259
+ localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
260
+ },
261
+ },
262
+ transition: "pop-up",
263
+ target: SimpleSortedTableWidgetInsightRef,
264
+ };
265
+ export const DrillToCustomUrlFromMeasureDefinition = {
266
+ localIdentifier: DrillToDashboardWithThreeSectionsLocalIdentifier,
267
+ type: "drillToCustomUrl",
268
+ transition: "new-window",
269
+ origin: {
270
+ type: "drillFromMeasure",
271
+ measure: {
272
+ localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
273
+ },
274
+ },
275
+ target: {
276
+ url: "https://www.example.org?dep={attribute_title(label.owner.department)}",
277
+ },
278
+ };
279
+ export const DrillToAttributeUrlFromMeasureDefinition = {
280
+ localIdentifier: "b4c6999557164163a9e0e75ec74cb8d3",
281
+ type: "drillToAttributeUrl",
282
+ transition: "new-window",
283
+ origin: {
284
+ type: "drillFromMeasure",
285
+ measure: {
286
+ localIdentifier: NumOfOpportunitiesMeasureIdentifier,
287
+ },
288
+ },
289
+ target: {
290
+ displayForm: {
291
+ identifier: "obj_1067",
292
+ },
293
+ hyperlinkDisplayForm: {
294
+ identifier: "obj_1069",
295
+ },
296
+ },
297
+ };
298
+ export const InaccessibleDashboard = {
299
+ title: "Inaccessible Dashboard",
300
+ ref: idRef("inaccessibleDashboardId"),
301
+ uri: "inaccessibleDashboardUri",
302
+ identifier: "inaccessibleDashboardId",
303
+ };
304
+ export const SimpleDashboardListed = {
305
+ ref: SimpleDashboardWithReferences.dashboard.ref,
306
+ identifier: SimpleDashboardWithReferences.dashboard.identifier,
307
+ uri: SimpleDashboardWithReferences.dashboard.uri,
308
+ title: SimpleDashboardWithReferences.dashboard.title,
309
+ description: SimpleDashboardWithReferences.dashboard.description,
310
+ updated: SimpleDashboardWithReferences.dashboard.updated,
311
+ created: SimpleDashboardWithReferences.dashboard.created,
312
+ tags: SimpleDashboardWithReferences.dashboard.tags,
313
+ shareStatus: SimpleDashboardWithReferences.dashboard.shareStatus,
314
+ availability: "full",
315
+ };
@@ -0,0 +1,28 @@
1
+ import { type IDashboardWithReferences } from "@gooddata/sdk-backend-spi";
2
+ import { type IFilterContext, type IListedDashboard } from "@gooddata/sdk-model";
3
+ export declare const SimpleDashboardNoDrillsIdentifier = "44a9d0ed-8a06-4ffd-b16c-6281707acfcf";
4
+ export declare const SimpleDashboardNoDrillsWithReferences: IDashboardWithReferences;
5
+ export declare const SimpleDashboardNoDrillsLayout: import("@gooddata/sdk-model").IDashboardLayout<import("@gooddata/sdk-model").IDashboardWidget>;
6
+ export declare const SimpleDashboardNoDrillsFilterContext: IFilterContext;
7
+ /**
8
+ * First widget from first section
9
+ */
10
+ export declare const KpiWidgetRef: import("@gooddata/sdk-model").ObjRef;
11
+ /**
12
+ * First widget from second section
13
+ */
14
+ export declare const SimpleSortedTableWidgetRef: any;
15
+ export declare const SimpleSortedTableWidgetInsightRef: import("@gooddata/sdk-model").ObjRef;
16
+ export declare const SimpleSortedTableWidgetInsightIdentifier: string;
17
+ export declare const SimpleSortedTableWidgetInsight: import("@gooddata/sdk-model").IInsight;
18
+ /**
19
+ * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
20
+ */
21
+ export declare const SimpleDashboardNoDrillsSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
22
+ export declare const SimpleDashboardNoDrillsSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
23
+ /**
24
+ * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
25
+ */
26
+ export declare const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
27
+ export declare const SimpleDashboardNoDrillsListed: IListedDashboard;
28
+ //# sourceMappingURL=SimpleDashboardNoDrills.fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleDashboardNoDrills.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/SimpleDashboardNoDrills.fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,KAAK,cAAc,EAAmB,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAElG,eAAO,MAAM,iCAAiC,yCAAyC,CAAC;AACxF,eAAO,MAAM,qCAAqC,0BAEjB,CAAC;AAClC,eAAO,MAAM,6BAA6B,gGAA0D,CAAC;AACrG,eAAO,MAAM,oCAAoC,gBACb,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,YAAY,sCAAgF,CAAC;AAC1G;;GAEG;AACH,eAAO,MAAM,0BAA0B,KAC/B,CAAC;AACT,eAAO,MAAM,iCAAiC,sCAC8B,CAAC;AAC7E,eAAO,MAAM,wCAAwC,QAC8B,CAAC;AACpF,eAAO,MAAM,8BAA8B,wCAA+D,CAAC;AAC3G;;GAEG;AACH,eAAO,MAAM,iEAAiE,qCACxC,CAAC;AACvC,eAAO,MAAM,uEAAuE,qCAC9C,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,mCAAmC,qCAAqC,CAAC;AAEtF,eAAO,MAAM,6BAA6B,EAAE,gBAW3C,CAAC"}
@@ -0,0 +1,40 @@
1
+ // (C) 2021-2026 GoodData Corporation
2
+ import { ReferenceRecordings } from "@gooddata/reference-workspace";
3
+ export const SimpleDashboardNoDrillsIdentifier = "44a9d0ed-8a06-4ffd-b16c-6281707acfcf";
4
+ export const SimpleDashboardNoDrillsWithReferences = ReferenceRecordings.Recordings.metadata?.dashboards?.["dash_44a9d0ed_8a06_4ffd_b16c_6281707acfcf"].obj;
5
+ export const SimpleDashboardNoDrillsLayout = SimpleDashboardNoDrillsWithReferences.dashboard.layout;
6
+ export const SimpleDashboardNoDrillsFilterContext = SimpleDashboardNoDrillsWithReferences.dashboard
7
+ .filterContext;
8
+ /**
9
+ * First widget from first section
10
+ */
11
+ export const KpiWidgetRef = SimpleDashboardNoDrillsLayout.sections[0].items[0].widget.ref;
12
+ /**
13
+ * First widget from second section
14
+ */
15
+ export const SimpleSortedTableWidgetRef = SimpleDashboardNoDrillsLayout.sections[1].items[0].widget
16
+ .ref;
17
+ export const SimpleSortedTableWidgetInsightRef = SimpleDashboardNoDrillsWithReferences.references.insights[1].insight.ref;
18
+ export const SimpleSortedTableWidgetInsightIdentifier = SimpleDashboardNoDrillsWithReferences.references.insights[1].insight.identifier;
19
+ export const SimpleSortedTableWidgetInsight = SimpleDashboardNoDrillsWithReferences.references.insights[1];
20
+ /**
21
+ * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
22
+ */
23
+ export const SimpleDashboardNoDrillsSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
24
+ export const SimpleDashboardNoDrillsSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
25
+ /**
26
+ * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
27
+ */
28
+ export const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
29
+ export const SimpleDashboardNoDrillsListed = {
30
+ ref: SimpleDashboardNoDrillsWithReferences.dashboard.ref,
31
+ identifier: SimpleDashboardNoDrillsWithReferences.dashboard.identifier,
32
+ uri: SimpleDashboardNoDrillsWithReferences.dashboard.uri,
33
+ title: SimpleDashboardNoDrillsWithReferences.dashboard.title,
34
+ description: SimpleDashboardNoDrillsWithReferences.dashboard.description,
35
+ updated: SimpleDashboardNoDrillsWithReferences.dashboard.updated,
36
+ created: SimpleDashboardNoDrillsWithReferences.dashboard.created,
37
+ tags: SimpleDashboardNoDrillsWithReferences.dashboard.tags,
38
+ shareStatus: SimpleDashboardNoDrillsWithReferences.dashboard.shareStatus,
39
+ availability: "full",
40
+ };
@@ -0,0 +1,6 @@
1
+ import { type IAutomationDialogDestinationProps } from "../../shared/slots/types.js";
2
+ /**
3
+ * Default implementation of the alerting dialog's destination region (the "Action" row).
4
+ */
5
+ export declare function AlertingDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=AlertingDialogDestination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogDestination.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAQrF;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,oBAAoB,EACpB,6BAA6B,EAC7B,QAAQ,EACX,EAAE,iCAAiC,2CAanC"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { FormattedMessage } from "react-intl";
4
+ import { AlertDestinationSelect } from "./components/AlertDestinationSelect.js";
5
+ import { FormField } from "./FormField.js";
6
+ const OVERLAY_POSITION_TYPE = "sameAsTarget";
7
+ const CLOSE_ON_PARENT_SCROLL = true;
8
+ /**
9
+ * Default implementation of the alerting dialog's destination region (the "Action" row).
10
+ */
11
+ export function AlertingDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange, }) {
12
+ return (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.action" }), htmlFor: "alert.destination", children: _jsx(AlertDestinationSelect, { id: "alert.destination", selectedDestination: selectedNotificationChannelId, onDestinationChange: onChange, destinations: notificationChannels, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }));
13
+ }
@@ -0,0 +1,7 @@
1
+ import { type IAutomationDialogRecipientsProps } from "../../shared/slots/types.js";
2
+ /**
3
+ * Default implementation of the alerting dialog's recipients region. The label comes from the
4
+ * form field row, so the select's own label is off.
5
+ */
6
+ export declare function AlertingDialogRecipients(props: IAutomationDialogRecipientsProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=AlertingDialogRecipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogRecipients.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAIpF;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,gCAAgC,2CAU/E"}