@gooddata/sdk-ui-analytical-designer 11.71.0-alpha.2 → 11.71.0-alpha.3

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 (149) hide show
  1. package/NOTICE +47 -47
  2. package/esm/sagas/catalog/catalog_saga.d.ts.map +1 -1
  3. package/esm/sagas/catalog/catalog_saga.js +3 -8
  4. package/esm/sagas/open_report_sagas.d.ts.map +1 -1
  5. package/esm/sagas/open_report_sagas.js +2 -6
  6. package/esm/selectors/feature_flag_selector.d.ts +2 -23
  7. package/esm/selectors/feature_flag_selector.d.ts.map +1 -1
  8. package/esm/selectors/feature_flag_selector.js +0 -2
  9. package/esm/selectors/report_visualization_selector.d.ts +0 -12
  10. package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
  11. package/package.json +21 -21
  12. package/esm/components/filterBar/__mocks__/DraggableFilterItem.d.ts +0 -3
  13. package/esm/components/filterBar/__mocks__/DraggableFilterItem.d.ts.map +0 -1
  14. package/esm/components/filterBar/__mocks__/DraggableFilterItem.js +0 -4
  15. package/esm/components/filterBar/__mocks__/FilterBarList.d.ts +0 -3
  16. package/esm/components/filterBar/__mocks__/FilterBarList.d.ts.map +0 -1
  17. package/esm/components/filterBar/__mocks__/FilterBarList.js +0 -4
  18. package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.d.ts +0 -2
  19. package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.d.ts.map +0 -1
  20. package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.js +0 -6
  21. package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.d.ts +0 -19
  22. package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.d.ts.map +0 -1
  23. package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.js +0 -70
  24. package/esm/components/report/report.test.helpers.d.ts +0 -4
  25. package/esm/components/report/report.test.helpers.d.ts.map +0 -1
  26. package/esm/components/report/report.test.helpers.js +0 -15
  27. package/esm/models/item_cache.d.ts +0 -10
  28. package/esm/models/item_cache.d.ts.map +0 -1
  29. package/esm/models/item_cache.js +0 -19
  30. package/esm/models/metadata.test.helpers.d.ts +0 -8
  31. package/esm/models/metadata.test.helpers.d.ts.map +0 -1
  32. package/esm/models/metadata.test.helpers.js +0 -276
  33. package/esm/postMessageApi/sagas/mocks.test.helpers.d.ts +0 -3
  34. package/esm/postMessageApi/sagas/mocks.test.helpers.d.ts.map +0 -1
  35. package/esm/postMessageApi/sagas/mocks.test.helpers.js +0 -11
  36. package/esm/sagas/properties_saga_mock.d.ts +0 -22
  37. package/esm/sagas/properties_saga_mock.d.ts.map +0 -1
  38. package/esm/sagas/properties_saga_mock.js +0 -18007
  39. package/esm/selectors/bucket.test.helpers.d.ts +0 -12
  40. package/esm/selectors/bucket.test.helpers.d.ts.map +0 -1
  41. package/esm/selectors/bucket.test.helpers.js +0 -83
  42. package/esm/selectors/date_dataset.test.helpers.d.ts +0 -7
  43. package/esm/selectors/date_dataset.test.helpers.d.ts.map +0 -1
  44. package/esm/selectors/date_dataset.test.helpers.js +0 -347
  45. package/esm/selectors/test_helpers.d.ts +0 -6
  46. package/esm/selectors/test_helpers.d.ts.map +0 -1
  47. package/esm/selectors/test_helpers.js +0 -66
  48. package/esm/services/buckets_service.test.helpers.d.ts +0 -3
  49. package/esm/services/buckets_service.test.helpers.d.ts.map +0 -1
  50. package/esm/services/buckets_service.test.helpers.js +0 -94
  51. package/esm/services/decorated_buckets_service.test.helpers.d.ts +0 -4
  52. package/esm/services/decorated_buckets_service.test.helpers.d.ts.map +0 -1
  53. package/esm/services/decorated_buckets_service.test.helpers.js +0 -175
  54. package/esm/services/telemetry/tracking_state.test.helpers.d.ts +0 -9
  55. package/esm/services/telemetry/tracking_state.test.helpers.d.ts.map +0 -1
  56. package/esm/services/telemetry/tracking_state.test.helpers.js +0 -28
  57. package/esm/store/bucket_filters/bucket_filters.test.helpers.d.ts +0 -4
  58. package/esm/store/bucket_filters/bucket_filters.test.helpers.d.ts.map +0 -1
  59. package/esm/store/bucket_filters/bucket_filters.test.helpers.js +0 -12
  60. package/esm/store/filter_bar/cache_item.test.helpers.d.ts +0 -3
  61. package/esm/store/filter_bar/cache_item.test.helpers.d.ts.map +0 -1
  62. package/esm/store/filter_bar/cache_item.test.helpers.js +0 -13
  63. package/esm/store/filter_bar/invalid_type_guard.test.helpers.d.ts +0 -7
  64. package/esm/store/filter_bar/invalid_type_guard.test.helpers.d.ts.map +0 -1
  65. package/esm/store/filter_bar/invalid_type_guard.test.helpers.js +0 -19
  66. package/esm/store/metric_editor/metric_editor.test.helpers.d.ts +0 -6
  67. package/esm/store/metric_editor/metric_editor.test.helpers.d.ts.map +0 -1
  68. package/esm/store/metric_editor/metric_editor.test.helpers.js +0 -17
  69. package/esm/tests/DateDatasetWithGranularities.test.helpers.d.ts +0 -7
  70. package/esm/tests/DateDatasetWithGranularities.test.helpers.d.ts.map +0 -1
  71. package/esm/tests/DateDatasetWithGranularities.test.helpers.js +0 -641
  72. package/esm/tests/bucket_item.test.helpers.d.ts +0 -3
  73. package/esm/tests/bucket_item.test.helpers.d.ts.map +0 -1
  74. package/esm/tests/bucket_item.test.helpers.js +0 -37
  75. package/esm/tests/buckets_builder.test.helpers.d.ts +0 -33
  76. package/esm/tests/buckets_builder.test.helpers.d.ts.map +0 -1
  77. package/esm/tests/buckets_builder.test.helpers.js +0 -89
  78. package/esm/tests/catalog.test.helpers.d.ts +0 -18
  79. package/esm/tests/catalog.test.helpers.d.ts.map +0 -1
  80. package/esm/tests/catalog.test.helpers.js +0 -37
  81. package/esm/tests/catalog_attribute_hierarchy.test.helpers.d.ts +0 -3
  82. package/esm/tests/catalog_attribute_hierarchy.test.helpers.d.ts.map +0 -1
  83. package/esm/tests/catalog_attribute_hierarchy.test.helpers.js +0 -37
  84. package/esm/tests/catalog_components.test.helpers.d.ts +0 -7
  85. package/esm/tests/catalog_components.test.helpers.d.ts.map +0 -1
  86. package/esm/tests/catalog_components.test.helpers.js +0 -53
  87. package/esm/tests/chart_sort.test.helpers.d.ts +0 -28
  88. package/esm/tests/chart_sort.test.helpers.d.ts.map +0 -1
  89. package/esm/tests/chart_sort.test.helpers.js +0 -80
  90. package/esm/tests/constants.test.helpers.d.ts +0 -230
  91. package/esm/tests/constants.test.helpers.d.ts.map +0 -1
  92. package/esm/tests/constants.test.helpers.js +0 -1930
  93. package/esm/tests/dashboard.test.helpers.d.ts +0 -5
  94. package/esm/tests/dashboard.test.helpers.d.ts.map +0 -1
  95. package/esm/tests/dashboard.test.helpers.js +0 -65
  96. package/esm/tests/data_layer.test.helpers.d.ts +0 -5
  97. package/esm/tests/data_layer.test.helpers.d.ts.map +0 -1
  98. package/esm/tests/data_layer.test.helpers.js +0 -106
  99. package/esm/tests/date_datasets_meta.test.helpers.d.ts +0 -5
  100. package/esm/tests/date_datasets_meta.test.helpers.d.ts.map +0 -1
  101. package/esm/tests/date_datasets_meta.test.helpers.js +0 -323
  102. package/esm/tests/decorated_bucket.test.helpers.d.ts +0 -5
  103. package/esm/tests/decorated_bucket.test.helpers.d.ts.map +0 -1
  104. package/esm/tests/decorated_bucket.test.helpers.js +0 -12
  105. package/esm/tests/extended_reference_point_builder.test.helpers.d.ts +0 -47
  106. package/esm/tests/extended_reference_point_builder.test.helpers.d.ts.map +0 -1
  107. package/esm/tests/extended_reference_point_builder.test.helpers.js +0 -36
  108. package/esm/tests/feature_flags.test.helpers.d.ts +0 -4
  109. package/esm/tests/feature_flags.test.helpers.d.ts.map +0 -1
  110. package/esm/tests/feature_flags.test.helpers.js +0 -10
  111. package/esm/tests/filter.test.helpers.d.ts +0 -22
  112. package/esm/tests/filter.test.helpers.d.ts.map +0 -1
  113. package/esm/tests/filter.test.helpers.js +0 -329
  114. package/esm/tests/insightMocking.test.helpers.d.ts +0 -3
  115. package/esm/tests/insightMocking.test.helpers.d.ts.map +0 -1
  116. package/esm/tests/insightMocking.test.helpers.js +0 -13
  117. package/esm/tests/measure_date_datasets.test.helpers.d.ts +0 -17
  118. package/esm/tests/measure_date_datasets.test.helpers.d.ts.map +0 -1
  119. package/esm/tests/measure_date_datasets.test.helpers.js +0 -40
  120. package/esm/tests/parameter.test.helpers.d.ts +0 -5
  121. package/esm/tests/parameter.test.helpers.d.ts.map +0 -1
  122. package/esm/tests/parameter.test.helpers.js +0 -16
  123. package/esm/tests/reference_point.test.helpers.d.ts +0 -9
  124. package/esm/tests/reference_point.test.helpers.d.ts.map +0 -1
  125. package/esm/tests/reference_point.test.helpers.js +0 -29
  126. package/esm/tests/reference_point_builder.test.helpers.d.ts +0 -20
  127. package/esm/tests/reference_point_builder.test.helpers.d.ts.map +0 -1
  128. package/esm/tests/reference_point_builder.test.helpers.js +0 -22
  129. package/esm/tests/report_builder.test.helpers.d.ts +0 -22
  130. package/esm/tests/report_builder.test.helpers.d.ts.map +0 -1
  131. package/esm/tests/report_builder.test.helpers.js +0 -28
  132. package/esm/tests/route.test.helpers.d.ts +0 -15
  133. package/esm/tests/route.test.helpers.d.ts.map +0 -1
  134. package/esm/tests/route.test.helpers.js +0 -9
  135. package/esm/tests/state.test.helpers.d.ts +0 -3
  136. package/esm/tests/state.test.helpers.d.ts.map +0 -1
  137. package/esm/tests/state.test.helpers.js +0 -8
  138. package/esm/tests/state_builder.test.helpers.d.ts +0 -10
  139. package/esm/tests/state_builder.test.helpers.d.ts.map +0 -1
  140. package/esm/tests/state_builder.test.helpers.js +0 -46
  141. package/esm/tests/visualization_class.test.helpers.d.ts +0 -7
  142. package/esm/tests/visualization_class.test.helpers.d.ts.map +0 -1
  143. package/esm/tests/visualization_class.test.helpers.js +0 -16
  144. package/esm/utils/drilling/executeAfmToAfm.test.helpers.d.ts +0 -32
  145. package/esm/utils/drilling/executeAfmToAfm.test.helpers.d.ts.map +0 -1
  146. package/esm/utils/drilling/executeAfmToAfm.test.helpers.js +0 -390
  147. package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.d.ts +0 -13
  148. package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.d.ts.map +0 -1
  149. package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.js +0 -200
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-analytical-designer",
3
- "version": "11.71.0-alpha.2",
3
+ "version": "11.71.0-alpha.3",
4
4
  "description": "Analytical Designer UI library — core components, sagas, reducers, and application logic",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": {
@@ -59,21 +59,21 @@
59
59
  "reselect": "5.1.1",
60
60
  "uuid": "11.1.1",
61
61
  "web-vitals": "3.5.2",
62
- "@gooddata/sdk-backend-base": "11.71.0-alpha.2",
63
- "@gooddata/sdk-backend-spi": "11.71.0-alpha.2",
64
- "@gooddata/sdk-backend-tiger": "11.71.0-alpha.2",
65
- "@gooddata/sdk-embedding": "11.71.0-alpha.2",
66
- "@gooddata/sdk-model": "11.71.0-alpha.2",
67
- "@gooddata/sdk-pluggable-application-model": "11.71.0-alpha.2",
68
- "@gooddata/sdk-ui": "11.71.0-alpha.2",
69
- "@gooddata/sdk-ui-ext": "11.71.0-alpha.2",
70
- "@gooddata/sdk-ui-filters": "11.71.0-alpha.2",
71
- "@gooddata/sdk-ui-metric-component": "11.71.0-alpha.2",
72
- "@gooddata/sdk-ui-pivot": "11.71.0-alpha.2",
73
- "@gooddata/sdk-ui-semantic-search": "11.71.0-alpha.2",
74
- "@gooddata/sdk-ui-kit": "11.71.0-alpha.2",
75
- "@gooddata/sdk-ui-theme-provider": "11.71.0-alpha.2",
76
- "@gooddata/util": "11.71.0-alpha.2"
62
+ "@gooddata/sdk-backend-base": "11.71.0-alpha.3",
63
+ "@gooddata/sdk-backend-spi": "11.71.0-alpha.3",
64
+ "@gooddata/sdk-backend-tiger": "11.71.0-alpha.3",
65
+ "@gooddata/sdk-embedding": "11.71.0-alpha.3",
66
+ "@gooddata/sdk-model": "11.71.0-alpha.3",
67
+ "@gooddata/sdk-pluggable-application-model": "11.71.0-alpha.3",
68
+ "@gooddata/sdk-ui": "11.71.0-alpha.3",
69
+ "@gooddata/sdk-ui-filters": "11.71.0-alpha.3",
70
+ "@gooddata/sdk-ui-ext": "11.71.0-alpha.3",
71
+ "@gooddata/sdk-ui-kit": "11.71.0-alpha.3",
72
+ "@gooddata/sdk-ui-metric-component": "11.71.0-alpha.3",
73
+ "@gooddata/sdk-ui-pivot": "11.71.0-alpha.3",
74
+ "@gooddata/sdk-ui-semantic-search": "11.71.0-alpha.3",
75
+ "@gooddata/sdk-ui-theme-provider": "11.71.0-alpha.3",
76
+ "@gooddata/util": "11.71.0-alpha.3"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@microsoft/api-extractor": "7.59.2",
@@ -114,11 +114,11 @@
114
114
  "stylelint": "16.26.1",
115
115
  "typescript": "7.0.2",
116
116
  "vitest": "5.0.4",
117
- "@gooddata/eslint-config": "11.71.0-alpha.2",
118
- "@gooddata/i18n-toolkit": "11.71.0-alpha.2",
119
- "@gooddata/oxlint-config": "11.71.0-alpha.2",
120
- "@gooddata/sdk-backend-mockingbird": "11.71.0-alpha.2",
121
- "@gooddata/stylelint-config": "11.71.0-alpha.2"
117
+ "@gooddata/eslint-config": "11.71.0-alpha.3",
118
+ "@gooddata/oxlint-config": "11.71.0-alpha.3",
119
+ "@gooddata/i18n-toolkit": "11.71.0-alpha.3",
120
+ "@gooddata/sdk-backend-mockingbird": "11.71.0-alpha.3",
121
+ "@gooddata/stylelint-config": "11.71.0-alpha.3"
122
122
  },
123
123
  "peerDependencies": {
124
124
  "react": ">=18",
@@ -1,3 +0,0 @@
1
- import { type IDraggableFilterItemProps } from "../DraggableFilterItem.js";
2
- export declare function DraggableFilterItem({ filterItem }: IDraggableFilterItemProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=DraggableFilterItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DraggableFilterItem.d.ts","sourceRoot":"","sources":["../../../../src/components/filterBar/__mocks__/DraggableFilterItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAE3E,wBAAgB,mBAAmB,CAAC,EAAE,UAAU,EAAE,EAAE,yBAAyB,2CAE5E"}
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function DraggableFilterItem({ filterItem }) {
3
- return _jsx("div", { children: filterItem.localIdentifier });
4
- }
@@ -1,3 +0,0 @@
1
- import { type IFilterBarListProps } from "../FilterBarList.js";
2
- export declare function FilterBarList(props: IFilterBarListProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=FilterBarList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterBarList.d.ts","sourceRoot":"","sources":["../../../../src/components/filterBar/__mocks__/FilterBarList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,2CAQvD"}
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function FilterBarList(props) {
3
- return (_jsx("div", { children: props.filterItems.map((item) => (_jsx("div", { children: item.localIdentifier }, item.localIdentifier))) }));
4
- }
@@ -1,2 +0,0 @@
1
- export declare function FilterBarDropdown(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=FilterBarDropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterBarDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.tsx"],"names":[],"mappings":"AAIA,wBAAgB,iBAAiB,4CAEhC"}
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2019-2026 GoodData Corporation
3
- import { Button } from "@gooddata/sdk-ui-kit";
4
- export function FilterBarDropdown() {
5
- return _jsx(Button, {});
6
- }
@@ -1,19 +0,0 @@
1
- import { type IRankingFilter } from "@gooddata/sdk-model";
2
- import { type IAttributeDropdownItem, type IMeasureDropdownItem } from "@gooddata/sdk-ui-filters";
3
- import { type IRankingFilter as IRankingFilterState } from "../../../store/filter_bar/filter_bar_types.js";
4
- import { type IRankingFilterButtonModel } from "./RankingFilterButton.js";
5
- export declare const rankingFilterWithoutAttributes: IRankingFilter;
6
- export declare const rankingFilterWithAttributes: IRankingFilter;
7
- export declare const rankingFilterWithUriMeasure: IRankingFilter;
8
- export declare const rankingFilterWithUriAttribute: IRankingFilter;
9
- export declare const rankingFilterState: IRankingFilterState;
10
- export declare const rankingFilterStateWithCatalogMeasureRef: IRankingFilterState;
11
- export declare const rankingFilterStateWithAttributeLocalIdentifiers: IRankingFilterState;
12
- export declare const rankingFilterStateWithCatalogAttribute: IRankingFilterState;
13
- export declare const measureItems: IMeasureDropdownItem[];
14
- export declare const measureItemsWithSequence: IMeasureDropdownItem[];
15
- export declare const attributeItems: IAttributeDropdownItem[];
16
- export declare const buttonValueWithoutAttribute: IRankingFilterButtonModel;
17
- export declare const buttonValueWithAttribute: IRankingFilterButtonModel;
18
- export declare const buttonValueWithSequenceAndAttribute: IRankingFilterButtonModel;
19
- //# sourceMappingURL=RankingFilter.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RankingFilter.test.helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/filterBar/rankingFilter/RankingFilter.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAA+C,MAAM,qBAAqB,CAAC;AACvG,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAElG,OAAO,EAAE,KAAK,cAAc,IAAI,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAE3G,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE1E,eAAO,MAAM,8BAA8B,EAAE,cAAkD,CAAC;AAChG,eAAO,MAAM,2BAA2B,EAAE,cAA0D,CAAC;AACrG,eAAO,MAAM,2BAA2B,EAAE,cAKzC,CAAC;AACF,eAAO,MAAM,6BAA6B,EAAE,cAK3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,mBAMhC,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,mBAMrD,CAAC;AAEF,eAAO,MAAM,+CAA+C,EAAE,mBAO7D,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,mBAQpD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,oBAAoB,EAI9C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,oBAAoB,EAI1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,sBAAsB,EAIlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,yBAIzC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,yBAKtC,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,yBAMjD,CAAC"}
@@ -1,70 +0,0 @@
1
- // (C) 2020-2026 GoodData Corporation
2
- import { idRef, localIdRef, newRankingFilter, uriRef } from "@gooddata/sdk-model";
3
- export const rankingFilterWithoutAttributes = newRankingFilter("m1", "TOP", 10);
4
- export const rankingFilterWithAttributes = newRankingFilter("m1", ["a1"], "TOP", 10);
5
- export const rankingFilterWithUriMeasure = newRankingFilter(uriRef("/uri"), ["a1"], "TOP", 10);
6
- export const rankingFilterWithUriAttribute = newRankingFilter("m1", [uriRef("/uri")], "TOP", 10);
7
- export const rankingFilterState = {
8
- type: "ranking",
9
- localIdentifier: "f1",
10
- measureLocalIdentifier: "m1",
11
- operator: "TOP",
12
- value: 10,
13
- };
14
- export const rankingFilterStateWithCatalogMeasureRef = {
15
- type: "ranking",
16
- localIdentifier: "f1",
17
- measureRef: idRef("metric_from_catalog", "measure"),
18
- operator: "TOP",
19
- value: 10,
20
- };
21
- export const rankingFilterStateWithAttributeLocalIdentifiers = {
22
- type: "ranking",
23
- localIdentifier: "f1",
24
- measureLocalIdentifier: "m1",
25
- attributes: ["a1"],
26
- operator: "TOP",
27
- value: 10,
28
- };
29
- export const rankingFilterStateWithCatalogAttribute = {
30
- type: "ranking",
31
- localIdentifier: "f1",
32
- measureLocalIdentifier: "m1",
33
- // A bucket attribute (local id) plus a catalog attribute referenced by ObjRef.
34
- attributes: ["a1", idRef("attr_from_catalog", "displayForm")],
35
- operator: "TOP",
36
- value: 10,
37
- };
38
- export const measureItems = [
39
- { title: "Measure 1", ref: localIdRef("m1") },
40
- { title: "Measure 2", ref: localIdRef("m2") },
41
- { title: "Measure 3", ref: localIdRef("m3") },
42
- ];
43
- export const measureItemsWithSequence = [
44
- { title: "Measure 1", ref: localIdRef("m1"), sequenceNumber: "M1" },
45
- { title: "Measure 2", ref: localIdRef("m2"), sequenceNumber: "M2" },
46
- { title: "Measure 3", ref: localIdRef("m3"), sequenceNumber: "M3" },
47
- ];
48
- export const attributeItems = [
49
- { title: "Attribute 1", ref: localIdRef("a1"), type: "ATTRIBUTE" },
50
- { title: "Attribute 2", ref: localIdRef("a2"), type: "ATTRIBUTE" },
51
- { title: "DATE", ref: localIdRef("d1"), type: "DATE" },
52
- ];
53
- export const buttonValueWithoutAttribute = {
54
- operator: "TOP",
55
- value: 10,
56
- measureTitle: "Measure 1",
57
- };
58
- export const buttonValueWithAttribute = {
59
- operator: "TOP",
60
- value: 10,
61
- measureTitle: "Measure 1",
62
- attributeTitle: "Attribute 1",
63
- };
64
- export const buttonValueWithSequenceAndAttribute = {
65
- operator: "BOTTOM",
66
- value: 10,
67
- measureTitle: "Measure 1",
68
- measureSequence: "M1",
69
- attributeTitle: "Attribute 1",
70
- };
@@ -1,4 +0,0 @@
1
- import { type IVisualizationClass } from "@gooddata/sdk-model";
2
- export declare const EMPTY_TITLE = "empty_title";
3
- export declare const dummyTableVisualizationClass: IVisualizationClass;
4
- //# sourceMappingURL=report.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report.test.helpers.d.ts","sourceRoot":"","sources":["../../../src/components/report/report.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,eAAO,MAAM,WAAW,gBAAgB,CAAC;AAGzC,eAAO,MAAM,4BAA4B,EAAE,mBAW1C,CAAC"}
@@ -1,15 +0,0 @@
1
- // (C) 2019-2026 GoodData Corporation
2
- export const EMPTY_TITLE = "empty_title";
3
- // Visualization classes
4
- export const dummyTableVisualizationClass = {
5
- visualizationClass: {
6
- url: "local:table",
7
- icon: "",
8
- iconSelected: "",
9
- checksum: "",
10
- identifier: "id",
11
- title: EMPTY_TITLE,
12
- orderIndex: 1,
13
- uri: "/some/uri",
14
- },
15
- };
@@ -1,10 +0,0 @@
1
- import { type IAppState } from "../store/types.js";
2
- import { type ICatalogEntries, type ICatalogEntry } from "../typings/state_objects.js";
3
- /**
4
- * Whole-subtree seed / key reads for the itemCache. TEST-ONLY: production writes go through the
5
- * slice and production reads through `selectors/item_cache_selector.ts`.
6
- */
7
- export declare function save(state: IAppState, items: ICatalogEntries): IAppState;
8
- export declare function load(state: IAppState, key: string): ICatalogEntry;
9
- export declare function loadWithDefault<T>(state: IAppState, key: string, defaultValue: T): ICatalogEntry;
10
- //# sourceMappingURL=item_cache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item_cache.d.ts","sourceRoot":"","sources":["../../src/models/item_cache.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEvF;;;GAGG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,eAAe,aAE5D;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,aAAa,CAMjE;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,iBAEhF"}
@@ -1,19 +0,0 @@
1
- // (C) 2007-2026 GoodData Corporation
2
- import invariant from "invariant";
3
- import { getItemCacheState } from "../store/item_cache/item_cache_selectors.js";
4
- import { withData } from "../tests/state_builder.test.helpers.js";
5
- /**
6
- * Whole-subtree seed / key reads for the itemCache. TEST-ONLY: production writes go through the
7
- * slice and production reads through `selectors/item_cache_selector.ts`.
8
- */
9
- export function save(state, items) {
10
- return withData(state, { itemCache: items });
11
- }
12
- export function load(state, key) {
13
- const item = getItemCacheState(state)?.[key];
14
- invariant(item, `Item '${key}' not found.`);
15
- return item;
16
- }
17
- export function loadWithDefault(state, key, defaultValue) {
18
- return getItemCacheState(state)?.[key] ?? defaultValue;
19
- }
@@ -1,8 +0,0 @@
1
- import { type IVisualization } from "../typings/bear/bearTypes.js";
2
- import { type ICatalogEntries } from "../typings/state_objects.js";
3
- export declare const visualizationWithNonDefaultUnsupportedDisplayForm: IVisualization;
4
- export declare const visualizationWithNonDefaultSupportedDisplayForm: IVisualization;
5
- export declare const visualizationWithNonDefaultSupportedDisplayFormOfDateItem: IVisualization;
6
- export declare const visualizationWithAttributeWithoutCachedDisplayForms: IVisualization;
7
- export declare const itemCache: ICatalogEntries;
8
- //# sourceMappingURL=metadata.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadata.test.helpers.d.ts","sourceRoot":"","sources":["../../src/models/metadata.test.helpers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,iDAAiD,EAAE,cAuC/D,CAAC;AAEF,eAAO,MAAM,+CAA+C,EAAE,cAuC7D,CAAC;AAEF,eAAO,MAAM,yDAAyD,EAAE,cAuCvE,CAAC;AAEF,eAAO,MAAM,mDAAmD,EAAE,cAsCjE,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAqHvB,CAAC"}
@@ -1,276 +0,0 @@
1
- // (C) 2021-2026 GoodData Corporation
2
- import { idRef } from "@gooddata/sdk-model";
3
- export const visualizationWithNonDefaultUnsupportedDisplayForm = {
4
- visualizationObject: {
5
- content: {
6
- buckets: [
7
- {
8
- items: [
9
- {
10
- visualizationAttribute: {
11
- displayForm: {
12
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1071",
13
- },
14
- localIdentifier: "c34d73138ece49409eeddc5d346e0eec",
15
- },
16
- },
17
- ],
18
- localIdentifier: "attribute",
19
- },
20
- ],
21
- properties: '{"sortItems":[{"attributeSortItem":{"attributeIdentifier":"c34d73138ece49409eeddc5d346e0eec","direction":"asc"}}]}',
22
- visualizationClass: {
23
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/11",
24
- },
25
- },
26
- meta: {
27
- author: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
28
- category: "visualizationObject",
29
- contributor: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
30
- created: "2021-06-07 09:35:10",
31
- deprecated: "0",
32
- identifier: "aaONmXDPbeiC",
33
- isProduction: 1,
34
- summary: "",
35
- tags: [],
36
- title: "DF for KD",
37
- updated: "2021-06-08 07:23:49",
38
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1799",
39
- },
40
- },
41
- };
42
- export const visualizationWithNonDefaultSupportedDisplayForm = {
43
- visualizationObject: {
44
- content: {
45
- buckets: [
46
- {
47
- items: [
48
- {
49
- visualizationAttribute: {
50
- displayForm: {
51
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1070",
52
- },
53
- localIdentifier: "c34d73138ece49409eeddc5d346e0eec",
54
- },
55
- },
56
- ],
57
- localIdentifier: "attribute",
58
- },
59
- ],
60
- properties: '{"sortItems":[{"attributeSortItem":{"attributeIdentifier":"c34d73138ece49409eeddc5d346e0eec","direction":"asc"}}]}',
61
- visualizationClass: {
62
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/11",
63
- },
64
- },
65
- meta: {
66
- author: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
67
- category: "visualizationObject",
68
- contributor: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
69
- created: "2021-06-07 09:35:10",
70
- deprecated: "0",
71
- identifier: "aaONmXDPbeiC",
72
- isProduction: 1,
73
- summary: "",
74
- tags: [],
75
- title: "DF for KD",
76
- updated: "2021-06-08 07:23:49",
77
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1799",
78
- },
79
- },
80
- };
81
- export const visualizationWithNonDefaultSupportedDisplayFormOfDateItem = {
82
- visualizationObject: {
83
- content: {
84
- buckets: [
85
- {
86
- items: [
87
- {
88
- visualizationAttribute: {
89
- displayForm: {
90
- uri: "/gdc/md/project/obj/df_two",
91
- },
92
- localIdentifier: "c34d73138ece49409eeddc5d346e0eec",
93
- },
94
- },
95
- ],
96
- localIdentifier: "attribute",
97
- },
98
- ],
99
- properties: '{"sortItems":[{"attributeSortItem":{"attributeIdentifier":"c34d73138ece49409eeddc5d346e0eec","direction":"asc"}}]}',
100
- visualizationClass: {
101
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/11",
102
- },
103
- },
104
- meta: {
105
- author: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
106
- category: "visualizationObject",
107
- contributor: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
108
- created: "2021-06-07 09:35:10",
109
- deprecated: "0",
110
- identifier: "aaONmXDPbeiC",
111
- isProduction: 1,
112
- summary: "",
113
- tags: [],
114
- title: "DF for KD",
115
- updated: "2021-06-08 07:23:49",
116
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1799",
117
- },
118
- },
119
- };
120
- export const visualizationWithAttributeWithoutCachedDisplayForms = {
121
- visualizationObject: {
122
- content: {
123
- buckets: [
124
- {
125
- items: [
126
- {
127
- visualizationAttribute: {
128
- displayForm: {
129
- uri: "/gdc/md/project/obj/no_df_list",
130
- },
131
- localIdentifier: "c34d73138ece49409eeddc5d346e0eec",
132
- },
133
- },
134
- ],
135
- localIdentifier: "attribute",
136
- },
137
- ],
138
- properties: "{}",
139
- visualizationClass: {
140
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/11",
141
- },
142
- },
143
- meta: {
144
- author: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
145
- category: "visualizationObject",
146
- contributor: "/gdc/account/profile/3549d3c12c12a736e4ee3abbbb044ae1",
147
- created: "2021-06-07 09:35:10",
148
- deprecated: "0",
149
- identifier: "aaONmXDPbeiC",
150
- isProduction: 1,
151
- summary: "",
152
- tags: [],
153
- title: "DF for KD",
154
- updated: "2021-06-08 07:23:49",
155
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1799",
156
- },
157
- },
158
- };
159
- export const itemCache = {
160
- "attr.opportunity.id": {
161
- dfIdentifiers: ["label.opportunity.id.name", "label.opportunity.id", "label.opportunity.id.url"],
162
- dfUris: [
163
- "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1069",
164
- "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1070",
165
- "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1071",
166
- ],
167
- identifier: "attr.opportunity.id",
168
- dfUri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1069",
169
- dfIdentifier: "label.opportunity.id.name",
170
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1068",
171
- displayForms: [
172
- {
173
- id: "label.opportunity.id.name",
174
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1069",
175
- ref: {
176
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1069",
177
- },
178
- title: "Opportunity Name",
179
- },
180
- {
181
- id: "label.opportunity.id",
182
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1070",
183
- ref: {
184
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1070",
185
- },
186
- title: "Opportunity",
187
- },
188
- {
189
- id: "label.opportunity.id.legacyGeo",
190
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1071",
191
- ref: {
192
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1071",
193
- },
194
- type: "GDC.geo.ausstates.code",
195
- title: "SFDC URL",
196
- },
197
- ],
198
- dfRef: {
199
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1069",
200
- },
201
- ref: {
202
- uri: "/gdc/md/m0fb588l0gp4ozk9qppdudn9k9lrck8y/obj/1068",
203
- },
204
- title: "Opportunity",
205
- type: "attribute",
206
- },
207
- "activity.year": {
208
- dateType: "GDC.time.year",
209
- identifier: "activity.year",
210
- granularity: "activity.year",
211
- ref: {
212
- uri: "/gdc/md/l9lf4jjlbtp9bu4klir251sk8v8l6tsh/obj/850",
213
- },
214
- dfUri: "/gdc/md/project/obj/df_one",
215
- dfIdentifier: "activity.df.one",
216
- dfRef: {
217
- uri: "/gdc/md/project/obj/df_one",
218
- },
219
- uri: "/gdc/md/l9lf4jjlbtp9bu4klir251sk8v8l6tsh/obj/850",
220
- displayForms: [
221
- {
222
- id: "activity.df.one",
223
- uri: "/gdc/md/project/obj/df_one",
224
- ref: {
225
- uri: "/gdc/md/project/obj/df_one",
226
- },
227
- title: "Year (DF 1)",
228
- },
229
- {
230
- id: "activity.df.two",
231
- uri: "/gdc/md/project/obj/df_two",
232
- ref: {
233
- uri: "/gdc/md/project/obj/df_two",
234
- },
235
- title: "Year (DF 2)",
236
- },
237
- ],
238
- title: "Year (Activity)",
239
- },
240
- // the catalog conversion (utils/organized_catalog.ts) leaves displayForms undefined when the
241
- // catalog attribute carries none — readers must not assume the list is present
242
- "attr.without.dfs": {
243
- identifier: "attr.without.dfs",
244
- uri: "/gdc/md/project/obj/2000",
245
- ref: {
246
- uri: "/gdc/md/project/obj/2000",
247
- },
248
- dfUri: "/gdc/md/project/obj/no_df_list",
249
- dfIdentifier: "label.without.dfs",
250
- dfRef: {
251
- uri: "/gdc/md/project/obj/no_df_list",
252
- },
253
- title: "Attribute Without Cached DFs",
254
- type: "attribute",
255
- },
256
- // a REGULAR attribute sharing the computed attribute's identifier below. The backend forbids
257
- // that collision today, but the cache namespaces are kept apart precisely so it cannot decide
258
- // which entry a saved reference resolves to - the lookups must answer off the ref's own type.
259
- "attribute.rep_performance": {
260
- identifier: "rep_performance",
261
- ref: idRef("rep_performance", "attribute"),
262
- dfRef: idRef("rep_performance.name", "displayForm"),
263
- dfIdentifier: "rep_performance.name",
264
- title: "Rep Performance (plain attribute)",
265
- type: "attribute",
266
- },
267
- // a computed attribute lives in its OWN cache namespace (models/item_cache_lookup.ts)
268
- "computedAttribute.rep_performance": {
269
- identifier: "rep_performance",
270
- ref: idRef("rep_performance", "computedAttribute"),
271
- dfRef: idRef("rep_performance", "computedAttribute"),
272
- dfIdentifier: "rep_performance",
273
- title: "Rep Performance",
274
- type: "computedAttribute",
275
- },
276
- };
@@ -1,3 +0,0 @@
1
- import { type IInsightDefinition } from "@gooddata/sdk-model";
2
- export declare const emptyInsightDefinition: IInsightDefinition;
3
- //# sourceMappingURL=mocks.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocks.test.helpers.d.ts","sourceRoot":"","sources":["../../../src/postMessageApi/sagas/mocks.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,EAAE,kBASpC,CAAC"}
@@ -1,11 +0,0 @@
1
- // (C) 2020-2026 GoodData Corporation
2
- export const emptyInsightDefinition = {
3
- insight: {
4
- buckets: [],
5
- filters: [],
6
- properties: {},
7
- sorts: [],
8
- title: "",
9
- visualizationUrl: "",
10
- },
11
- };
@@ -1,22 +0,0 @@
1
- export declare const tooLongProperties: {
2
- controls: {
3
- columnWidths: {
4
- measureColumnWidthItem: {
5
- width: number;
6
- locators: ({
7
- attributeLocatorItem: {
8
- attributeIdentifier: string;
9
- element: string;
10
- };
11
- measureLocatorItem?: undefined;
12
- } | {
13
- attributeLocatorItem?: undefined;
14
- measureLocatorItem: {
15
- measureIdentifier: string;
16
- };
17
- })[];
18
- };
19
- }[];
20
- };
21
- };
22
- //# sourceMappingURL=properties_saga_mock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"properties_saga_mock.d.ts","sourceRoot":"","sources":["../../src/sagas/properties_saga_mock.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;wBASE,mBAAmB;wBACnB,OAAO;;;;;;wBAMP,iBAAiB;;;;;;CA2ilBhD,CAAC"}