@gooddata/sdk-ui-analytical-designer 11.71.0-alpha.1 → 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 (174) 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 +8 -12
  10. package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
  11. package/esm/translations/de-DE.json +23 -23
  12. package/esm/translations/en-AU.json +11 -11
  13. package/esm/translations/en-GB.json +11 -11
  14. package/esm/translations/es-419.json +12 -12
  15. package/esm/translations/es-ES.json +13 -13
  16. package/esm/translations/fi-FI.json +12 -12
  17. package/esm/translations/fr-CA.json +16 -16
  18. package/esm/translations/fr-FR.json +12 -12
  19. package/esm/translations/id-ID.json +11 -11
  20. package/esm/translations/it-IT.json +12 -12
  21. package/esm/translations/ja-JP.json +14 -14
  22. package/esm/translations/ko-KR.json +11 -11
  23. package/esm/translations/nl-NL.json +12 -12
  24. package/esm/translations/pl-PL.json +14 -14
  25. package/esm/translations/pt-BR.json +12 -12
  26. package/esm/translations/pt-PT.json +12 -12
  27. package/esm/translations/ru-RU.json +12 -12
  28. package/esm/translations/sl-SI.json +12 -12
  29. package/esm/translations/th-TH.json +12 -12
  30. package/esm/translations/tr-TR.json +11 -11
  31. package/esm/translations/uk-UA.json +12 -12
  32. package/esm/translations/vi-VN.json +12 -12
  33. package/esm/translations/zh-HK.json +23 -23
  34. package/esm/translations/zh-Hans.json +12 -12
  35. package/esm/translations/zh-Hant.json +14 -14
  36. package/package.json +21 -21
  37. package/esm/components/filterBar/__mocks__/DraggableFilterItem.d.ts +0 -3
  38. package/esm/components/filterBar/__mocks__/DraggableFilterItem.d.ts.map +0 -1
  39. package/esm/components/filterBar/__mocks__/DraggableFilterItem.js +0 -4
  40. package/esm/components/filterBar/__mocks__/FilterBarList.d.ts +0 -3
  41. package/esm/components/filterBar/__mocks__/FilterBarList.d.ts.map +0 -1
  42. package/esm/components/filterBar/__mocks__/FilterBarList.js +0 -4
  43. package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.d.ts +0 -2
  44. package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.d.ts.map +0 -1
  45. package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.js +0 -6
  46. package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.d.ts +0 -19
  47. package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.d.ts.map +0 -1
  48. package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.js +0 -70
  49. package/esm/components/report/report.test.helpers.d.ts +0 -4
  50. package/esm/components/report/report.test.helpers.d.ts.map +0 -1
  51. package/esm/components/report/report.test.helpers.js +0 -15
  52. package/esm/models/item_cache.d.ts +0 -10
  53. package/esm/models/item_cache.d.ts.map +0 -1
  54. package/esm/models/item_cache.js +0 -19
  55. package/esm/models/metadata.test.helpers.d.ts +0 -8
  56. package/esm/models/metadata.test.helpers.d.ts.map +0 -1
  57. package/esm/models/metadata.test.helpers.js +0 -276
  58. package/esm/postMessageApi/sagas/mocks.test.helpers.d.ts +0 -3
  59. package/esm/postMessageApi/sagas/mocks.test.helpers.d.ts.map +0 -1
  60. package/esm/postMessageApi/sagas/mocks.test.helpers.js +0 -11
  61. package/esm/sagas/properties_saga_mock.d.ts +0 -22
  62. package/esm/sagas/properties_saga_mock.d.ts.map +0 -1
  63. package/esm/sagas/properties_saga_mock.js +0 -18007
  64. package/esm/selectors/bucket.test.helpers.d.ts +0 -12
  65. package/esm/selectors/bucket.test.helpers.d.ts.map +0 -1
  66. package/esm/selectors/bucket.test.helpers.js +0 -83
  67. package/esm/selectors/date_dataset.test.helpers.d.ts +0 -7
  68. package/esm/selectors/date_dataset.test.helpers.d.ts.map +0 -1
  69. package/esm/selectors/date_dataset.test.helpers.js +0 -347
  70. package/esm/selectors/test_helpers.d.ts +0 -6
  71. package/esm/selectors/test_helpers.d.ts.map +0 -1
  72. package/esm/selectors/test_helpers.js +0 -66
  73. package/esm/services/buckets_service.test.helpers.d.ts +0 -3
  74. package/esm/services/buckets_service.test.helpers.d.ts.map +0 -1
  75. package/esm/services/buckets_service.test.helpers.js +0 -94
  76. package/esm/services/decorated_buckets_service.test.helpers.d.ts +0 -4
  77. package/esm/services/decorated_buckets_service.test.helpers.d.ts.map +0 -1
  78. package/esm/services/decorated_buckets_service.test.helpers.js +0 -175
  79. package/esm/services/telemetry/tracking_state.test.helpers.d.ts +0 -9
  80. package/esm/services/telemetry/tracking_state.test.helpers.d.ts.map +0 -1
  81. package/esm/services/telemetry/tracking_state.test.helpers.js +0 -28
  82. package/esm/store/bucket_filters/bucket_filters.test.helpers.d.ts +0 -4
  83. package/esm/store/bucket_filters/bucket_filters.test.helpers.d.ts.map +0 -1
  84. package/esm/store/bucket_filters/bucket_filters.test.helpers.js +0 -12
  85. package/esm/store/filter_bar/cache_item.test.helpers.d.ts +0 -3
  86. package/esm/store/filter_bar/cache_item.test.helpers.d.ts.map +0 -1
  87. package/esm/store/filter_bar/cache_item.test.helpers.js +0 -13
  88. package/esm/store/filter_bar/invalid_type_guard.test.helpers.d.ts +0 -7
  89. package/esm/store/filter_bar/invalid_type_guard.test.helpers.d.ts.map +0 -1
  90. package/esm/store/filter_bar/invalid_type_guard.test.helpers.js +0 -19
  91. package/esm/store/metric_editor/metric_editor.test.helpers.d.ts +0 -6
  92. package/esm/store/metric_editor/metric_editor.test.helpers.d.ts.map +0 -1
  93. package/esm/store/metric_editor/metric_editor.test.helpers.js +0 -17
  94. package/esm/tests/DateDatasetWithGranularities.test.helpers.d.ts +0 -7
  95. package/esm/tests/DateDatasetWithGranularities.test.helpers.d.ts.map +0 -1
  96. package/esm/tests/DateDatasetWithGranularities.test.helpers.js +0 -641
  97. package/esm/tests/bucket_item.test.helpers.d.ts +0 -3
  98. package/esm/tests/bucket_item.test.helpers.d.ts.map +0 -1
  99. package/esm/tests/bucket_item.test.helpers.js +0 -37
  100. package/esm/tests/buckets_builder.test.helpers.d.ts +0 -33
  101. package/esm/tests/buckets_builder.test.helpers.d.ts.map +0 -1
  102. package/esm/tests/buckets_builder.test.helpers.js +0 -89
  103. package/esm/tests/catalog.test.helpers.d.ts +0 -18
  104. package/esm/tests/catalog.test.helpers.d.ts.map +0 -1
  105. package/esm/tests/catalog.test.helpers.js +0 -37
  106. package/esm/tests/catalog_attribute_hierarchy.test.helpers.d.ts +0 -3
  107. package/esm/tests/catalog_attribute_hierarchy.test.helpers.d.ts.map +0 -1
  108. package/esm/tests/catalog_attribute_hierarchy.test.helpers.js +0 -37
  109. package/esm/tests/catalog_components.test.helpers.d.ts +0 -7
  110. package/esm/tests/catalog_components.test.helpers.d.ts.map +0 -1
  111. package/esm/tests/catalog_components.test.helpers.js +0 -53
  112. package/esm/tests/chart_sort.test.helpers.d.ts +0 -28
  113. package/esm/tests/chart_sort.test.helpers.d.ts.map +0 -1
  114. package/esm/tests/chart_sort.test.helpers.js +0 -80
  115. package/esm/tests/constants.test.helpers.d.ts +0 -230
  116. package/esm/tests/constants.test.helpers.d.ts.map +0 -1
  117. package/esm/tests/constants.test.helpers.js +0 -1930
  118. package/esm/tests/dashboard.test.helpers.d.ts +0 -5
  119. package/esm/tests/dashboard.test.helpers.d.ts.map +0 -1
  120. package/esm/tests/dashboard.test.helpers.js +0 -65
  121. package/esm/tests/data_layer.test.helpers.d.ts +0 -5
  122. package/esm/tests/data_layer.test.helpers.d.ts.map +0 -1
  123. package/esm/tests/data_layer.test.helpers.js +0 -106
  124. package/esm/tests/date_datasets_meta.test.helpers.d.ts +0 -5
  125. package/esm/tests/date_datasets_meta.test.helpers.d.ts.map +0 -1
  126. package/esm/tests/date_datasets_meta.test.helpers.js +0 -323
  127. package/esm/tests/decorated_bucket.test.helpers.d.ts +0 -5
  128. package/esm/tests/decorated_bucket.test.helpers.d.ts.map +0 -1
  129. package/esm/tests/decorated_bucket.test.helpers.js +0 -12
  130. package/esm/tests/extended_reference_point_builder.test.helpers.d.ts +0 -47
  131. package/esm/tests/extended_reference_point_builder.test.helpers.d.ts.map +0 -1
  132. package/esm/tests/extended_reference_point_builder.test.helpers.js +0 -36
  133. package/esm/tests/feature_flags.test.helpers.d.ts +0 -4
  134. package/esm/tests/feature_flags.test.helpers.d.ts.map +0 -1
  135. package/esm/tests/feature_flags.test.helpers.js +0 -10
  136. package/esm/tests/filter.test.helpers.d.ts +0 -22
  137. package/esm/tests/filter.test.helpers.d.ts.map +0 -1
  138. package/esm/tests/filter.test.helpers.js +0 -329
  139. package/esm/tests/insightMocking.test.helpers.d.ts +0 -3
  140. package/esm/tests/insightMocking.test.helpers.d.ts.map +0 -1
  141. package/esm/tests/insightMocking.test.helpers.js +0 -13
  142. package/esm/tests/measure_date_datasets.test.helpers.d.ts +0 -17
  143. package/esm/tests/measure_date_datasets.test.helpers.d.ts.map +0 -1
  144. package/esm/tests/measure_date_datasets.test.helpers.js +0 -40
  145. package/esm/tests/parameter.test.helpers.d.ts +0 -5
  146. package/esm/tests/parameter.test.helpers.d.ts.map +0 -1
  147. package/esm/tests/parameter.test.helpers.js +0 -16
  148. package/esm/tests/reference_point.test.helpers.d.ts +0 -9
  149. package/esm/tests/reference_point.test.helpers.d.ts.map +0 -1
  150. package/esm/tests/reference_point.test.helpers.js +0 -29
  151. package/esm/tests/reference_point_builder.test.helpers.d.ts +0 -20
  152. package/esm/tests/reference_point_builder.test.helpers.d.ts.map +0 -1
  153. package/esm/tests/reference_point_builder.test.helpers.js +0 -22
  154. package/esm/tests/report_builder.test.helpers.d.ts +0 -22
  155. package/esm/tests/report_builder.test.helpers.d.ts.map +0 -1
  156. package/esm/tests/report_builder.test.helpers.js +0 -28
  157. package/esm/tests/route.test.helpers.d.ts +0 -15
  158. package/esm/tests/route.test.helpers.d.ts.map +0 -1
  159. package/esm/tests/route.test.helpers.js +0 -9
  160. package/esm/tests/state.test.helpers.d.ts +0 -3
  161. package/esm/tests/state.test.helpers.d.ts.map +0 -1
  162. package/esm/tests/state.test.helpers.js +0 -8
  163. package/esm/tests/state_builder.test.helpers.d.ts +0 -10
  164. package/esm/tests/state_builder.test.helpers.d.ts.map +0 -1
  165. package/esm/tests/state_builder.test.helpers.js +0 -46
  166. package/esm/tests/visualization_class.test.helpers.d.ts +0 -7
  167. package/esm/tests/visualization_class.test.helpers.d.ts.map +0 -1
  168. package/esm/tests/visualization_class.test.helpers.js +0 -16
  169. package/esm/utils/drilling/executeAfmToAfm.test.helpers.d.ts +0 -32
  170. package/esm/utils/drilling/executeAfmToAfm.test.helpers.d.ts.map +0 -1
  171. package/esm/utils/drilling/executeAfmToAfm.test.helpers.js +0 -390
  172. package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.d.ts +0 -13
  173. package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.d.ts.map +0 -1
  174. package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.js +0 -200
@@ -1,33 +0,0 @@
1
- import { type IRawBucket, type IRawBucketItem, type IRawBucketItems, type IRawBuckets } from "../typings/buckets.js";
2
- /** Patches the fields of ONE bucket. */
3
- export declare const withBucket: (buckets: IRawBuckets, bucketIndex: number, patch: Partial<IRawBucket>) => IRawBuckets;
4
- /**
5
- * Puts a whole bucket in one slot, EXTENDING the buckets value when the index is past the end — which
6
- * is how a fixture seeds the FIRST bucket of an initially empty reference point.
7
- */
8
- export declare const withReplacedBucket: (buckets: IRawBuckets, bucketIndex: number, bucket: IRawBucket) => IRawBuckets;
9
- /** Takes ONE bucket out of the buckets value. */
10
- export declare const withoutBucket: (buckets: IRawBuckets, bucketIndex: number) => IRawBuckets;
11
- /**
12
- * Replaces ONE bucket's items outright, MATERIALIZING the bucket when the index is past the end. The
13
- * materialized bucket carries nothing but its items, which is a shape no production write makes — but
14
- * several fixtures seed items into a buckets value that has no such slot yet, and what they are
15
- * testing is precisely a reader's behavior on it.
16
- */
17
- export declare const withBucketItems: (buckets: IRawBuckets, bucketIndex: number, items: IRawBucketItems) => IRawBuckets;
18
- /** Adds items to the END of one bucket, which is where a drop lands them. */
19
- export declare const withAddedBucketItems: (buckets: IRawBuckets, bucketIndex: number, ...items: IRawBucketItems) => IRawBuckets;
20
- /** Patches the fields of ONE bucket item. */
21
- export declare const withBucketItem: (buckets: IRawBuckets, bucketIndex: number, itemIndex: number, patch: Partial<IRawBucketItem>) => IRawBuckets;
22
- /** Puts a whole bucket item in one slot. */
23
- export declare const withReplacedBucketItem: (buckets: IRawBuckets, bucketIndex: number, itemIndex: number, item: IRawBucketItem) => IRawBuckets;
24
- /** Takes ONE bucket item out of its bucket, closing the gap. */
25
- export declare const withoutBucketItem: (buckets: IRawBuckets, bucketIndex: number, itemIndex: number) => IRawBuckets;
26
- /** Replaces ONE bucket's totals. */
27
- export declare const withBucketTotals: (buckets: IRawBuckets, bucketIndex: number, totals: IRawBucket["totals"]) => IRawBuckets;
28
- /**
29
- * Drops ONE bucket's `totals` KEY, rather than emptying it. Absent and empty are different to the
30
- * totals readers, so a fixture has to be able to say which one it means.
31
- */
32
- export declare const withoutBucketTotals: (buckets: IRawBuckets, bucketIndex: number) => IRawBuckets;
33
- //# sourceMappingURL=buckets_builder.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buckets_builder.test.helpers.d.ts","sourceRoot":"","sources":["../../src/tests/buckets_builder.test.helpers.ts"],"names":[],"mappings":"AASA,OAAO,EACH,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,WAAW,EACnB,MAAM,uBAAuB,CAAC;AA0B/B,wCAAwC;AACxC,eAAO,MAAM,UAAU,YACV,WAAW,eACP,MAAM,SACZ,OAAO,CAAC,UAAU,CAAC,KAC3B,WAGE,CAAC;AAEN;;;GAGG;AACH,eAAO,MAAM,kBAAkB,YAClB,WAAW,eACP,MAAM,UACX,UAAU,KACnB,WAOF,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,aAAa,YAAa,WAAW,eAAe,MAAM,KAAG,WAGP,CAAC;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,YACf,WAAW,eACP,MAAM,SACZ,eAAe,KACvB,WAUF,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,oBAAoB,YACpB,WAAW,eACP,MAAM,YACT,eAAe,KAC1B,WAAuG,CAAC;AAE3G,6CAA6C;AAC7C,eAAO,MAAM,cAAc,YACd,WAAW,eACP,MAAM,aACR,MAAM,SACV,OAAO,CAAC,cAAc,CAAC,KAC/B,WAGE,CAAC;AAEN,4CAA4C;AAC5C,eAAO,MAAM,sBAAsB,YACtB,WAAW,eACP,MAAM,aACR,MAAM,QACX,cAAc,KACrB,WAA6E,CAAC;AAEjF,gEAAgE;AAChE,eAAO,MAAM,iBAAiB,YACjB,WAAW,eACP,MAAM,aACR,MAAM,KAClB,WAAsE,CAAC;AAE1E,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,YAChB,WAAW,eACP,MAAM,UACX,UAAU,CAAC,QAAQ,CAAC,KAC7B,WAYF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,YAAa,WAAW,eAAe,MAAM,KAAG,WAO1E,CAAC"}
@@ -1,89 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { removeBucketItemAt, replaceBucketItemAt, updateBucketAt, updateBucketItemAt, updateBucketItemsAt, } from "../store/buckets/bucket_item_address.js";
3
- /**
4
- * TYPED patching of a raw BUCKETS VALUE for test fixtures — the counterpart of
5
- * `state_builder.test.helpers.ts` one level down, where that one stops.
6
- *
7
- * A fixture needs to say "these buckets, but with a second measure in VIEW", or "…but with that item
8
- * shown in percent". Each helper here says exactly one such thing, in BUCKET terminology, over the
9
- * REAL raw types — so an unknown field and a wrong-typed value are both compile errors, and there is
10
- * no runtime path to mistype.
11
- *
12
- * They are built ON the production buckets operations, which has two consequences worth knowing: a
13
- * fixture is written the way the app writes state, and a fixture cannot address a place the app
14
- * cannot address either.
15
- *
16
- * TEST-ONLY, and named so.
17
- */
18
- /**
19
- * IDENTITY is preserved on a patch that changes nothing, matching `state_builder.test.helpers.ts`:
20
- * the suites assert `expect(write(value)).toBe(value)`, so a patcher that rebuilt unconditionally
21
- * would make every no-op look like a write.
22
- */
23
- const unchanged = (current, patch) => current != null && Object.keys(patch).every((k) => current[k] === patch[k]);
24
- /** Patches the fields of ONE bucket. */
25
- export const withBucket = (buckets, bucketIndex, patch) => updateBucketAt(buckets, bucketIndex, (bucket) => unchanged(bucket, patch) ? bucket : { ...bucket, ...patch });
26
- /**
27
- * Puts a whole bucket in one slot, EXTENDING the buckets value when the index is past the end — which
28
- * is how a fixture seeds the FIRST bucket of an initially empty reference point.
29
- */
30
- export const withReplacedBucket = (buckets, bucketIndex, bucket) => {
31
- if (bucketIndex < 0 || (bucketIndex < buckets.length && buckets[bucketIndex] === bucket)) {
32
- return buckets;
33
- }
34
- const nextBuckets = buckets.slice();
35
- nextBuckets[bucketIndex] = bucket;
36
- return nextBuckets;
37
- };
38
- /** Takes ONE bucket out of the buckets value. */
39
- export const withoutBucket = (buckets, bucketIndex) => bucketIndex < 0 || bucketIndex >= buckets.length
40
- ? buckets
41
- : buckets.filter((_bucket, index) => index !== bucketIndex);
42
- /**
43
- * Replaces ONE bucket's items outright, MATERIALIZING the bucket when the index is past the end. The
44
- * materialized bucket carries nothing but its items, which is a shape no production write makes — but
45
- * several fixtures seed items into a buckets value that has no such slot yet, and what they are
46
- * testing is precisely a reader's behavior on it.
47
- */
48
- export const withBucketItems = (buckets, bucketIndex, items) => {
49
- if (bucketIndex < 0) {
50
- return buckets;
51
- }
52
- if (bucketIndex >= buckets.length) {
53
- const nextBuckets = buckets.slice();
54
- nextBuckets[bucketIndex] = { items };
55
- return nextBuckets;
56
- }
57
- return updateBucketItemsAt(buckets, bucketIndex, () => items);
58
- };
59
- /** Adds items to the END of one bucket, which is where a drop lands them. */
60
- export const withAddedBucketItems = (buckets, bucketIndex, ...items) => updateBucketItemsAt(buckets, bucketIndex, (existing) => [...(existing ?? []), ...items]);
61
- /** Patches the fields of ONE bucket item. */
62
- export const withBucketItem = (buckets, bucketIndex, itemIndex, patch) => updateBucketItemAt(buckets, { bucketIndex, itemIndex }, (item) => unchanged(item, patch) ? item : { ...item, ...patch });
63
- /** Puts a whole bucket item in one slot. */
64
- export const withReplacedBucketItem = (buckets, bucketIndex, itemIndex, item) => replaceBucketItemAt(buckets, { bucketIndex, itemIndex }, item);
65
- /** Takes ONE bucket item out of its bucket, closing the gap. */
66
- export const withoutBucketItem = (buckets, bucketIndex, itemIndex) => removeBucketItemAt(buckets, { bucketIndex, itemIndex });
67
- /** Replaces ONE bucket's totals. */
68
- export const withBucketTotals = (buckets, bucketIndex, totals) => {
69
- if (bucketIndex < 0) {
70
- return buckets;
71
- }
72
- if (bucketIndex >= buckets.length) {
73
- const nextBuckets = buckets.slice();
74
- nextBuckets[bucketIndex] = { totals };
75
- return nextBuckets;
76
- }
77
- return updateBucketAt(buckets, bucketIndex, (bucket) => bucket?.totals === totals ? bucket : { ...bucket, totals });
78
- };
79
- /**
80
- * Drops ONE bucket's `totals` KEY, rather than emptying it. Absent and empty are different to the
81
- * totals readers, so a fixture has to be able to say which one it means.
82
- */
83
- export const withoutBucketTotals = (buckets, bucketIndex) => updateBucketAt(buckets, bucketIndex, (bucket) => {
84
- if (!bucket || !("totals" in bucket)) {
85
- return bucket;
86
- }
87
- const { totals: _dropped, ...bucketWithoutTotals } = bucket;
88
- return bucketWithoutTotals;
89
- });
@@ -1,18 +0,0 @@
1
- import { type AccessGranularPermission, type ICatalogAttribute, type ICatalogFact, type ICatalogMeasure, type ObjRef } from "@gooddata/sdk-model";
2
- interface IItemBase {
3
- ref: ObjRef;
4
- id: string;
5
- uri: string;
6
- title: string;
7
- }
8
- export declare const generateItemBase: (index: number, type: string) => IItemBase;
9
- export declare const getCatalogMeasure: (index: number) => ICatalogMeasure;
10
- export declare const catalogMeasure: ICatalogMeasure;
11
- /** A catalog metric carrying its object-level permissions, or none when they were not asked for. */
12
- export declare const getCatalogMeasureWithPermissions: (index: number, permissions?: AccessGranularPermission[]) => ICatalogMeasure;
13
- export declare const getCatalogFact: (index: number) => ICatalogFact;
14
- export declare const catalogFact: ICatalogFact;
15
- export declare const getCatalogAttribute: (index: number) => ICatalogAttribute;
16
- export declare const catalogAttribute: ICatalogAttribute;
17
- export {};
18
- //# sourceMappingURL=catalog.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalog.test.helpers.d.ts","sourceRoot":"","sources":["../../src/tests/catalog.test.helpers.ts"],"names":[],"mappings":"AASA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,eAAe,EAEpB,KAAK,MAAM,EAEd,MAAM,qBAAqB,CAAC;AAE7B,UAAU,SAAS;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,MAAM,KAAG,SAQ9D,CAAC;AASF,eAAO,MAAM,iBAAiB,UAAW,MAAM,KAAG,eAM5C,CAAC;AAEP,eAAO,MAAM,cAAc,iBAAuB,CAAC;AAEnD,oGAAoG;AACpG,eAAO,MAAM,gCAAgC,UAClC,MAAM,gBACC,wBAAwB,EAAE,KACzC,eAGF,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,YAIzC,CAAC;AAEP,eAAO,MAAM,WAAW,cAAoB,CAAC;AAE7C,eAAO,MAAM,mBAAmB,UAAW,MAAM,KAAG,iBAW9C,CAAC;AAEP,eAAO,MAAM,gBAAgB,mBAAyB,CAAC"}
@@ -1,37 +0,0 @@
1
- // (C) 2020-2026 GoodData Corporation
2
- import { newCatalogAttribute, newCatalogFact, newCatalogMeasure, } from "@gooddata/sdk-backend-base";
3
- import { idRef, } from "@gooddata/sdk-model";
4
- export const generateItemBase = (index, type) => {
5
- const id = `${type}${index}.identifier`;
6
- return {
7
- ref: idRef(id),
8
- id,
9
- uri: `uri/${type}${index}`,
10
- title: `${type} ${index}`,
11
- };
12
- };
13
- const itemBaseToCommonModifications = (itemBase) => (m) => m.id(itemBase.id).uri(itemBase.uri).title(itemBase.title);
14
- export const getCatalogMeasure = (index) => newCatalogMeasure((catalogM) => {
15
- const measureBase = generateItemBase(index, "measure");
16
- return catalogM.measure(measureBase.ref, (m) => m.modify(itemBaseToCommonModifications(measureBase)).format("").expression(""));
17
- });
18
- export const catalogMeasure = getCatalogMeasure(1);
19
- /** A catalog metric carrying its object-level permissions, or none when they were not asked for. */
20
- export const getCatalogMeasureWithPermissions = (index, permissions) => {
21
- const measure = getCatalogMeasure(index);
22
- return { ...measure, measure: { ...measure.measure, permissions } };
23
- };
24
- export const getCatalogFact = (index) => newCatalogFact((catalogF) => {
25
- const factBase = generateItemBase(index, "fact");
26
- return catalogF.fact(factBase.ref, (f) => f.modify(itemBaseToCommonModifications(factBase)));
27
- });
28
- export const catalogFact = getCatalogFact(1);
29
- export const getCatalogAttribute = (index) => newCatalogAttribute((catalogF) => {
30
- const attributeBase = generateItemBase(index, "attribute");
31
- const displayFormBase = generateItemBase(index, "displayForm");
32
- return catalogF
33
- .attribute(attributeBase.ref, (f) => f.modify(itemBaseToCommonModifications(attributeBase)))
34
- .defaultDisplayForm(displayFormBase.ref, (df) => df.modify(itemBaseToCommonModifications(displayFormBase)).attribute(attributeBase.ref))
35
- .geoPinDisplayForms([]);
36
- });
37
- export const catalogAttribute = getCatalogAttribute(1);
@@ -1,3 +0,0 @@
1
- import { type IAttributeHierarchyMetadataObject, type ICatalogAttributeHierarchy } from "@gooddata/sdk-model";
2
- export declare function buildAttributeHierarchyMock(props?: Partial<IAttributeHierarchyMetadataObject>): ICatalogAttributeHierarchy;
3
- //# sourceMappingURL=catalog_attribute_hierarchy.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalog_attribute_hierarchy.test.helpers.d.ts","sourceRoot":"","sources":["../../src/tests/catalog_attribute_hierarchy.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iCAAiC,EAAE,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA8B9G,wBAAgB,2BAA2B,CACvC,KAAK,GAAE,OAAO,CAAC,iCAAiC,CAAM,GACvD,0BAA0B,CAQ5B"}
@@ -1,37 +0,0 @@
1
- // (C) 2019-2026 GoodData Corporation
2
- const attributeHierarchyBase = {
3
- type: "attributeHierarchy",
4
- attributeHierarchy: {
5
- type: "attributeHierarchy",
6
- id: "abc",
7
- title: "hierarchy 1",
8
- attributes: [
9
- {
10
- identifier: "county_name",
11
- type: "attribute",
12
- },
13
- {
14
- identifier: "state_name",
15
- type: "attribute",
16
- },
17
- ],
18
- ref: {
19
- identifier: "id2",
20
- type: "attributeHierarchy",
21
- },
22
- description: "hierarchy 1",
23
- deprecated: false,
24
- production: true,
25
- unlisted: false,
26
- uri: "/abc",
27
- },
28
- };
29
- export function buildAttributeHierarchyMock(props = {}) {
30
- return {
31
- ...attributeHierarchyBase,
32
- attributeHierarchy: {
33
- ...attributeHierarchyBase.attributeHierarchy,
34
- ...props,
35
- },
36
- };
37
- }
@@ -1,7 +0,0 @@
1
- import { type CatalogItem } from "@gooddata/sdk-model";
2
- import { type IOrganizedCatalogItem } from "../typings/catalog.js";
3
- export declare const catalogMeasures: CatalogItem[];
4
- export declare const catalogAttributes: CatalogItem[];
5
- export declare const catalogItems: CatalogItem[];
6
- export declare const organizedCatalogItems: IOrganizedCatalogItem[];
7
- //# sourceMappingURL=catalog_components.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalog_components.test.helpers.d.ts","sourceRoot":"","sources":["../../src/tests/catalog_components.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAInE,eAAO,MAAM,eAAe,EAAE,WAAW,EAAoE,CAAC;AAE9G,eAAO,MAAM,iBAAiB,EAAE,WAAW,EAAqD,CAAC;AAEjG,eAAO,MAAM,YAAY,EAAE,WAAW,EAA+C,CAAC;AAEtF,eAAO,MAAM,qBAAqB,EAAE,qBAAqB,EA+CxD,CAAC"}
@@ -1,53 +0,0 @@
1
- // (C) 2019-2026 GoodData Corporation
2
- import { getCatalogAttribute, getCatalogFact, getCatalogMeasure } from "./catalog.test.helpers.js";
3
- export const catalogMeasures = [getCatalogMeasure(1), getCatalogMeasure(2), getCatalogFact(1)];
4
- export const catalogAttributes = [getCatalogAttribute(1), getCatalogAttribute(2)];
5
- export const catalogItems = [...catalogMeasures, ...catalogAttributes];
6
- export const organizedCatalogItems = [
7
- {
8
- title: "Metric1",
9
- ref: {
10
- identifier: "metric1",
11
- },
12
- identifier: "metric1",
13
- type: "metric",
14
- },
15
- {
16
- title: "Metric2",
17
- ref: {
18
- identifier: "metric2",
19
- },
20
- identifier: "metric2",
21
- type: "metric",
22
- },
23
- {
24
- title: "Fact1",
25
- ref: {
26
- identifier: "fact1",
27
- },
28
- identifier: "fact1",
29
- type: "fact",
30
- },
31
- {
32
- title: "Attribute1",
33
- ref: {
34
- identifier: "attribute1",
35
- },
36
- identifier: "attribute1",
37
- type: "attribute",
38
- dfRef: {
39
- identifier: "df1",
40
- },
41
- },
42
- {
43
- title: "Attribute2",
44
- ref: {
45
- identifier: "attribute2",
46
- },
47
- identifier: "attribute2",
48
- type: "attribute",
49
- dfRef: {
50
- identifier: "df2",
51
- },
52
- },
53
- ];
@@ -1,28 +0,0 @@
1
- import { type ISortItem } from "@gooddata/sdk-model";
2
- import { type IAvailableSortsGroup, type ISortConfig } from "@gooddata/sdk-ui-ext/internal";
3
- export declare const attributeSortAsc1: import("@gooddata/sdk-model").IAttributeSortItem;
4
- export declare const attributeSortAsc2: import("@gooddata/sdk-model").IAttributeSortItem;
5
- export declare const attributeSortDesc1: import("@gooddata/sdk-model").IAttributeSortItem;
6
- export declare const attributeSortDesc2: import("@gooddata/sdk-model").IAttributeSortItem;
7
- export declare const areaSortAsc1: import("@gooddata/sdk-model").IAttributeSortItem;
8
- export declare const areaSortAsc2: import("@gooddata/sdk-model").IAttributeSortItem;
9
- export declare const areaSortDesc1: import("@gooddata/sdk-model").IAttributeSortItem;
10
- export declare const areaSortDesc2: import("@gooddata/sdk-model").IAttributeSortItem;
11
- export declare const chronoDateSortAsc1: import("@gooddata/sdk-model").IAttributeSortItem;
12
- export declare const chronoDateSortAsc2: import("@gooddata/sdk-model").IAttributeSortItem;
13
- export declare const chronoDateSortDesc1: import("@gooddata/sdk-model").IAttributeSortItem;
14
- export declare const chronoDateSortDesc2: import("@gooddata/sdk-model").IAttributeSortItem;
15
- export declare const genericDateSortAsc1: import("@gooddata/sdk-model").IAttributeSortItem;
16
- export declare const genericDateSortAsc2: import("@gooddata/sdk-model").IAttributeSortItem;
17
- export declare const genericDateSortDesc1: import("@gooddata/sdk-model").IAttributeSortItem;
18
- export declare const genericDateSortDesc2: import("@gooddata/sdk-model").IAttributeSortItem;
19
- export declare const measureSortAsc1: import("@gooddata/sdk-model").IMeasureSortItem;
20
- export declare const measureSortAsc2: import("@gooddata/sdk-model").IMeasureSortItem;
21
- export declare const measureSortDesc1: import("@gooddata/sdk-model").IMeasureSortItem;
22
- export declare const measureSortDesc2: import("@gooddata/sdk-model").IMeasureSortItem;
23
- export declare const attributeSortConfig: ISortConfig;
24
- export declare const measureSortConfig: ISortConfig;
25
- export declare const disabledSortConfig: ISortConfig;
26
- export declare const buildSortConfig: (supported?: boolean, disabled?: boolean, defaultSort?: ISortItem[], availableSorts?: IAvailableSortsGroup[], disabledExplanation?: string) => ISortConfig;
27
- export declare const buildSupportedSortConfig: (currentSort?: ISortItem[], availableSorts?: IAvailableSortsGroup[]) => ISortConfig;
28
- //# sourceMappingURL=chart_sort.test.helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart_sort.test.helpers.d.ts","sourceRoot":"","sources":["../../src/tests/chart_sort.test.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,SAAS,EAKjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5F,eAAO,MAAM,iBAAiB,kDAAmC,CAAC;AAClE,eAAO,MAAM,iBAAiB,kDAAmC,CAAC;AAClE,eAAO,MAAM,kBAAkB,kDAAoC,CAAC;AACpE,eAAO,MAAM,kBAAkB,kDAAoC,CAAC;AAEpE,eAAO,MAAM,YAAY,kDAAuC,CAAC;AACjE,eAAO,MAAM,YAAY,kDAAuC,CAAC;AACjE,eAAO,MAAM,aAAa,kDAAwC,CAAC;AACnE,eAAO,MAAM,aAAa,kDAAwC,CAAC;AAEnE,eAAO,MAAM,kBAAkB,kDAAiC,CAAC;AACjE,eAAO,MAAM,kBAAkB,kDAAiC,CAAC;AACjE,eAAO,MAAM,mBAAmB,kDAAkC,CAAC;AACnE,eAAO,MAAM,mBAAmB,kDAAkC,CAAC;AAEnE,eAAO,MAAM,mBAAmB,kDAAiC,CAAC;AAClE,eAAO,MAAM,mBAAmB,kDAAiC,CAAC;AAClE,eAAO,MAAM,oBAAoB,kDAAkC,CAAC;AACpE,eAAO,MAAM,oBAAoB,kDAAkC,CAAC;AAEpE,eAAO,MAAM,eAAe,gDAA8B,CAAC;AAC3D,eAAO,MAAM,eAAe,gDAA8B,CAAC;AAC3D,eAAO,MAAM,gBAAgB,gDAA+B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,gDAA+B,CAAC;AAE7D,eAAO,MAAM,mBAAmB,EAAE,WAajC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,WAsB/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAC;AAUF,eAAO,MAAM,eAAe,0DAGX,SAAS,EAAE,mBACR,oBAAoB,EAAE,wBAChB,MAAM,KAC7B,WAMD,CAAC;AAEH,eAAO,MAAM,wBAAwB,iBACpB,SAAS,EAAE,mBACR,oBAAoB,EAAE,gBACoB,CAAC"}
@@ -1,80 +0,0 @@
1
- // (C) 2022-2026 GoodData Corporation
2
- import { localIdRef, newAttributeAreaSort, newAttributeSort, newMeasureSort, } from "@gooddata/sdk-model";
3
- export const attributeSortAsc1 = newAttributeSort("attr1", "asc");
4
- export const attributeSortAsc2 = newAttributeSort("attr2", "asc");
5
- export const attributeSortDesc1 = newAttributeSort("attr1", "desc");
6
- export const attributeSortDesc2 = newAttributeSort("attr2", "desc");
7
- export const areaSortAsc1 = newAttributeAreaSort("area1", "asc");
8
- export const areaSortAsc2 = newAttributeAreaSort("area2", "asc");
9
- export const areaSortDesc1 = newAttributeAreaSort("area1", "desc");
10
- export const areaSortDesc2 = newAttributeAreaSort("area2", "desc");
11
- export const chronoDateSortAsc1 = newAttributeSort("cd1", "asc");
12
- export const chronoDateSortAsc2 = newAttributeSort("cd2", "asc");
13
- export const chronoDateSortDesc1 = newAttributeSort("cd1", "desc");
14
- export const chronoDateSortDesc2 = newAttributeSort("cd2", "desc");
15
- export const genericDateSortAsc1 = newAttributeSort("gd1", "asc");
16
- export const genericDateSortAsc2 = newAttributeSort("gd2", "asc");
17
- export const genericDateSortDesc1 = newAttributeSort("gd1", "desc");
18
- export const genericDateSortDesc2 = newAttributeSort("gd2", "desc");
19
- export const measureSortAsc1 = newMeasureSort("m1", "asc");
20
- export const measureSortAsc2 = newMeasureSort("m2", "asc");
21
- export const measureSortDesc1 = newMeasureSort("m1", "desc");
22
- export const measureSortDesc2 = newMeasureSort("m2", "desc");
23
- export const attributeSortConfig = {
24
- defaultSort: [attributeSortAsc1],
25
- availableSorts: [
26
- {
27
- itemId: localIdRef("a1"),
28
- attributeSort: {
29
- areaSortEnabled: true,
30
- normalSortEnabled: true,
31
- },
32
- },
33
- ],
34
- supported: true,
35
- disabled: false,
36
- };
37
- export const measureSortConfig = {
38
- defaultSort: [measureSortDesc1],
39
- appliedSort: [measureSortDesc2],
40
- availableSorts: [
41
- {
42
- itemId: localIdRef("m1"),
43
- metricSorts: [
44
- {
45
- type: "measureSort",
46
- locators: [
47
- {
48
- measureLocatorItem: {
49
- measureIdentifier: "m1",
50
- },
51
- },
52
- ],
53
- },
54
- ],
55
- },
56
- ],
57
- supported: true,
58
- disabled: false,
59
- };
60
- export const disabledSortConfig = {
61
- defaultSort: [],
62
- availableSorts: [],
63
- supported: true,
64
- disabled: true,
65
- };
66
- const availableAttributeSort = {
67
- itemId: localIdRef("attr1"),
68
- attributeSort: {
69
- normalSortEnabled: true,
70
- areaSortEnabled: true,
71
- },
72
- };
73
- export const buildSortConfig = (supported = true, disabled = false, defaultSort = [attributeSortAsc1], availableSorts = [availableAttributeSort], disabledExplanation) => ({
74
- defaultSort,
75
- availableSorts,
76
- supported,
77
- disabled,
78
- disabledExplanation,
79
- });
80
- export const buildSupportedSortConfig = (currentSort = [], availableSorts = []) => buildSortConfig(true, false, currentSort, availableSorts);
@@ -1,230 +0,0 @@
1
- import { type IFilter as IFilterModel, type IListedDashboard, type IMetadataObject, type IVisualizationClass, type ObjRef } from "@gooddata/sdk-model";
2
- import { type IDateDatasetsMeta } from "../models/date_datasets_meta.js";
3
- import { type IDateDatasetsMetaItem } from "../models/date_datasets_meta_item.js";
4
- import { type IDecoratedDateDataset } from "../models/decorated_date_dataset.js";
5
- import { type IDecoratedDateDatasets } from "../models/decorated_date_datasets.js";
6
- import { type IDateFilter, type IFilter } from "../store/filter_bar/filter_bar_types.js";
7
- import { type IAppState } from "../store/types.js";
8
- import { type IBucket as IVisualizationObjectBucket, type VisualizationObjectExtendedFilter } from "../typings/bear/bearTypes.js";
9
- import { type IRawBucketItem, type IRawBucketItems, type IRawBuckets } from "../typings/buckets.js";
10
- import { type IDateDataset } from "../typings/datasets.js";
11
- import { type ICatalogEntries, type ICatalogEntry } from "../typings/state_objects.js";
12
- export declare const elements: {
13
- uri: string;
14
- title: string;
15
- }[];
16
- export declare const defaultBuckets: IRawBuckets;
17
- export declare const tableVisualizationClass: IVisualizationClass;
18
- export declare const columnVisualizationClass: IVisualizationClass;
19
- export declare const barVisualizationClass: IVisualizationClass;
20
- export declare const lineVisualizationClass: IVisualizationClass;
21
- export declare const pieVisualizationClass: IVisualizationClass;
22
- export declare const comboVisualizationClass: IVisualizationClass;
23
- export declare const headlineVisualizationClass: IVisualizationClass;
24
- export declare const defaultVisualizationClasses: IVisualizationClass[];
25
- export declare const defaultUiConfig: {
26
- buckets: {
27
- measures: {
28
- accepts: string[];
29
- allowsDuplicateItems: boolean;
30
- enabled: boolean;
31
- allowsReordering: boolean;
32
- allowsSwapping: boolean;
33
- itemsLimit: number;
34
- isShowInPercentEnabled: boolean;
35
- canAddItems: boolean;
36
- title: string;
37
- };
38
- view: {
39
- accepts: string[];
40
- itemsLimit: number;
41
- allowsSwapping: boolean;
42
- allowsReordering: boolean;
43
- enabled: boolean;
44
- canAddItems: boolean;
45
- isShowInPercentEnabled: boolean;
46
- title: string;
47
- };
48
- stack: {
49
- accepts: string[];
50
- itemsLimit: number;
51
- allowsSwapping: boolean;
52
- allowsReordering: boolean;
53
- enabled: boolean;
54
- isShowInPercentEnabled: boolean;
55
- canAddItems: boolean;
56
- title: string;
57
- };
58
- filters: {
59
- accepts: string[];
60
- itemsLimit: number;
61
- allowsReordering: boolean;
62
- enabled: boolean;
63
- isShowInPercentEnabled: boolean;
64
- };
65
- };
66
- };
67
- export declare const countryElements: {
68
- uri: string;
69
- title: string;
70
- }[];
71
- export declare const countryElementNotAvailable: {
72
- uri: string;
73
- title: string;
74
- available: boolean;
75
- };
76
- export declare const cartAdditionsFact: {
77
- id: string;
78
- identifier: string;
79
- isAvailable: boolean;
80
- summary: string;
81
- title: string;
82
- type: string;
83
- uri: string;
84
- ref: import("@gooddata/sdk-model").UriRef;
85
- };
86
- export declare const awarenessMetric: {
87
- expression: string;
88
- format: string;
89
- id: string;
90
- identifier: string;
91
- isMeasure: boolean;
92
- isAvailable: boolean;
93
- summary: string;
94
- title: string;
95
- type: string;
96
- uri: string;
97
- ref: import("@gooddata/sdk-model").UriRef;
98
- };
99
- export declare const awarenessMetricLong: {
100
- expression: string;
101
- format: string;
102
- isMeasure: boolean;
103
- isAvailable: boolean;
104
- summary: string;
105
- type: string;
106
- uri: string;
107
- ref: import("@gooddata/sdk-model").UriRef;
108
- id: string;
109
- identifier: string;
110
- title: string;
111
- };
112
- export declare const awarenessMetricPercent: {
113
- expression: string;
114
- isMeasure: boolean;
115
- isAvailable: boolean;
116
- summary: string;
117
- type: string;
118
- uri: string;
119
- ref: import("@gooddata/sdk-model").UriRef;
120
- id: string;
121
- identifier: string;
122
- title: string;
123
- format: string;
124
- };
125
- export declare const productAttribute: ICatalogEntry;
126
- export declare const countryAttribute: ICatalogEntry & IRawBucketItem;
127
- export declare const currencyAttribute: ICatalogEntry;
128
- export declare const cityAttribute: ICatalogEntry;
129
- export declare const repPerformanceComputedAttribute: ICatalogEntry;
130
- export declare const itemCache: ICatalogEntries;
131
- export declare const dateCreated: IDateDataset;
132
- export declare const measureBucketItems: IRawBucketItems;
133
- export declare const getBucketItemByLocalIdentifier: (localIdentifier: string) => IRawBucketItem | undefined;
134
- export declare const categoriesBucketItems: IRawBucketItems;
135
- export declare const enrichCategoriesBucketItems: IRawBucketItems;
136
- export declare const stacksBucketItems: IRawBucketItems;
137
- export declare const dateBucketItemRefs: ObjRef[];
138
- export declare const metadataBucketMeasures: IVisualizationObjectBucket;
139
- export declare const metadataBucketCategories: {
140
- items: {
141
- visualizationAttribute: {
142
- displayForm: {
143
- uri: string;
144
- };
145
- localIdentifier: string;
146
- };
147
- }[];
148
- localIdentifier: string;
149
- };
150
- export declare const metadataBucketStacksItems: {
151
- visualizationAttribute: {
152
- displayForm: {
153
- uri: string;
154
- };
155
- localIdentifier: string;
156
- };
157
- }[];
158
- export declare const metadataBucketCategoriesWithDate: IRawBucketItems;
159
- export declare const metadataBucketFiltersNoSelection: VisualizationObjectExtendedFilter[];
160
- export declare const metadataFilterWithNonDefaultDisplayForm: VisualizationObjectExtendedFilter;
161
- export declare const measuresWithDateFilter: IRawBucketItems;
162
- export declare const metadataBucketFilterWithSelection: {
163
- positiveAttributeFilter: {
164
- localIdentifier: string;
165
- displayForm: {
166
- uri: string;
167
- };
168
- in: string[];
169
- };
170
- };
171
- export declare const metadataBucketFiltersWithSelection: VisualizationObjectExtendedFilter[];
172
- export declare const bucketFilterWithSelection: import("@gooddata/sdk-model").IPositiveAttributeFilter;
173
- export declare const bucketFiltersWithSelection: IFilterModel[];
174
- export declare const metadataBucketFiltersWithQuarterGranularity: {
175
- relativeDateFilter: {
176
- dataSet: {
177
- uri: string;
178
- };
179
- granularity: string;
180
- from: number;
181
- to: number;
182
- };
183
- }[];
184
- export declare const dateDatasetsAvailable: ReadonlyArray<IDateDataset>;
185
- export declare const dateDataset: IDateDataset;
186
- export declare const dateDatasetRef: IDateDataset;
187
- export declare const dateDatasets: import("../models/date_dataset.js").IDecoratedDateDatasets;
188
- export declare const emptyDateDatasets: import("../models/date_dataset.js").IDecoratedDateDatasets;
189
- export declare const selectedDateDatasets: {
190
- globalDateDatasets: import("../models/date_dataset.js").IDecoratedDateDatasets;
191
- measureDateDatasets: Map<string, {
192
- ref: import("@gooddata/sdk-model").UriRef;
193
- identifier: string;
194
- uri: string;
195
- type: string;
196
- title: string;
197
- summary: string;
198
- attributes: never[];
199
- }>;
200
- };
201
- export declare function setupAppStateWithDateDatasetMeta(state: IAppState): IAppState;
202
- /**
203
- * Seeds the state exactly as a dispatched SET_DATE_DATASETS_META does: the meta leaf plus the
204
- * granularity entries derived into the itemCache.
205
- */
206
- export declare function seedDateDatasetsMeta(state: IAppState, dateDatasetsMeta: IDateDatasetsMeta): IAppState;
207
- export declare const activityDateDataset: IDateDataset;
208
- export declare const closedDateDataset: IDateDataset;
209
- export declare const activityDateDatasetRef: IDateDataset;
210
- export declare const closedDateDatasetRef: IDateDataset;
211
- export declare const decoratedActivityDateDataset: IDecoratedDateDataset;
212
- export declare const decoratedActivityDateDatasetRef: IDecoratedDateDataset;
213
- export declare const decoratedClosedDateDataset: IDecoratedDateDataset;
214
- export declare const decoratedClosedDateDatasetRef: IDecoratedDateDataset;
215
- export declare const decoratedClosedDateDatasetRefWithoutRelevance: Pick<IDecoratedDateDataset, "identifier" | "isAvailable" | "ref" | "title">;
216
- export declare function setupAppStateWithDateDatasets(state: IAppState): IAppState;
217
- export declare const decoratedDateDataset: IDecoratedDateDataset;
218
- export declare const decoratedDateDatasets: IDecoratedDateDatasets;
219
- export declare const decoratedDateDatasetsRef: IDecoratedDateDatasets;
220
- export declare const activityDateDatasetsMetaItem: IDateDatasetsMetaItem;
221
- export declare const closedDateDatasetsMetaItem: IDateDatasetsMetaItem;
222
- export declare const dateDatasetsMeta: IDateDatasetsMeta;
223
- export declare const insightWithMeasuresWithVariousTypesOfFilters: import("@gooddata/sdk-model").IInsight;
224
- export declare const selectedDateDataSetRef: IDateDataset;
225
- export declare const filterWithUnavailableElements: IFilter;
226
- export declare const dateFilterBarItem: IDateFilter;
227
- export declare const dateFilterBarItemActivity: IDateFilter;
228
- export declare const createAnalyticalDashboard: (name: string, identifier: string, id: number) => IMetadataObject;
229
- export declare const createListedDashboard: (name: string, identifier: string, id: number) => IListedDashboard;
230
- //# sourceMappingURL=constants.test.helpers.d.ts.map