@gooddata/sdk-ui-analytical-designer 11.71.0-alpha.2 → 11.71.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +47 -47
- package/esm/components/buckets/MeasureDateFilter.d.ts +4 -2
- package/esm/components/buckets/MeasureDateFilter.d.ts.map +1 -1
- package/esm/components/buckets/MeasureDateFilter.js +5 -3
- package/esm/components/buckets/MeasureDateFilterPicker.d.ts +4 -2
- package/esm/components/buckets/MeasureDateFilterPicker.d.ts.map +1 -1
- package/esm/components/buckets/MeasureDateFilterPicker.js +2 -2
- package/esm/components/filterBar/dateFilter/Buttons/applyButtonHook.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/Buttons/applyButtonHook.js +32 -17
- package/esm/components/filterBar/dateFilter/DateFilter.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/DateFilter.js +3 -4
- package/esm/components/filterBar/dateFilter/PresetSection/DatePresetsDropdown.d.ts +8 -4
- package/esm/components/filterBar/dateFilter/PresetSection/DatePresetsDropdown.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/PresetSection/DatePresetsDropdown.js +13 -6
- package/esm/components/filterBar/dateFilter/PresetSection/DatePresetsDropdownButton.d.ts +4 -3
- package/esm/components/filterBar/dateFilter/PresetSection/DatePresetsDropdownButton.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/PresetSection/DatePresetsDropdownButton.js +2 -2
- package/esm/components/filterBar/dateFilter/PresetSection/PresetsSection.d.ts +6 -2
- package/esm/components/filterBar/dateFilter/PresetSection/PresetsSection.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/PresetSection/PresetsSection.js +16 -5
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonSection.d.ts +4 -2
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonSection.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonSection.js +2 -2
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdown.d.ts +4 -2
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdown.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdown.js +2 -2
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdownItem.d.ts +4 -2
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdownItem.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdownItem.js +11 -11
- package/esm/components/filterBar/dateFilter/dateFilterOptionFactory.d.ts +6 -1
- package/esm/components/filterBar/dateFilter/dateFilterOptionFactory.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/dateFilterOptionFactory.js +14 -0
- package/esm/components/filterBar/dateFilter/selectors.d.ts +94 -3
- package/esm/components/filterBar/dateFilter/selectors.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/selectors.js +3 -0
- package/esm/components/filterBar/dateFilter/types.d.ts +3 -1
- package/esm/components/filterBar/dateFilter/types.d.ts.map +1 -1
- package/esm/models/metadata.d.ts.map +1 -1
- package/esm/models/metadata.js +3 -9
- package/esm/models/period.d.ts +6 -0
- package/esm/models/period.d.ts.map +1 -1
- package/esm/models/period.js +14 -0
- package/esm/postMessageApi/sagas/control_filtering_saga.d.ts +2 -2
- package/esm/postMessageApi/sagas/control_filtering_saga.d.ts.map +1 -1
- package/esm/postMessageApi/sagas/control_filtering_saga.js +22 -5
- package/esm/sagas/catalog/catalog_saga.d.ts.map +1 -1
- package/esm/sagas/catalog/catalog_saga.js +3 -8
- package/esm/sagas/open_report_sagas.d.ts.map +1 -1
- package/esm/sagas/open_report_sagas.js +2 -6
- package/esm/selectors/feature_flag_selector.d.ts +2 -23
- package/esm/selectors/feature_flag_selector.d.ts.map +1 -1
- package/esm/selectors/feature_flag_selector.js +0 -2
- package/esm/selectors/report_visualization_selector.d.ts +0 -12
- package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
- package/esm/store/bucket_filters/bucket_filters_operations.d.ts.map +1 -1
- package/esm/store/bucket_filters/bucket_filters_operations.js +9 -8
- package/esm/translations/en-US.json +12 -0
- package/package.json +21 -21
- package/esm/components/dialog_utils.d.ts +0 -19
- package/esm/components/dialog_utils.d.ts.map +0 -1
- package/esm/components/dialog_utils.js +0 -25
- package/esm/components/filterBar/__mocks__/DraggableFilterItem.d.ts +0 -3
- package/esm/components/filterBar/__mocks__/DraggableFilterItem.d.ts.map +0 -1
- package/esm/components/filterBar/__mocks__/DraggableFilterItem.js +0 -4
- package/esm/components/filterBar/__mocks__/FilterBarList.d.ts +0 -3
- package/esm/components/filterBar/__mocks__/FilterBarList.d.ts.map +0 -1
- package/esm/components/filterBar/__mocks__/FilterBarList.js +0 -4
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/fragments/AdditionalDateAttributes.d.ts +0 -22
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/fragments/AdditionalDateAttributes.d.ts.map +0 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/fragments/AdditionalDateAttributes.js +0 -85
- package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.d.ts +0 -2
- package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.d.ts.map +0 -1
- package/esm/components/filterBar/filterBarDropdown/__mocks__/FilterBarDropdown.js +0 -6
- package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.d.ts +0 -19
- package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.d.ts.map +0 -1
- package/esm/components/filterBar/rankingFilter/RankingFilter.test.helpers.js +0 -70
- package/esm/components/report/report.test.helpers.d.ts +0 -4
- package/esm/components/report/report.test.helpers.d.ts.map +0 -1
- package/esm/components/report/report.test.helpers.js +0 -15
- package/esm/components/sort/fragments/ChartSortFragment.d.ts +0 -24
- package/esm/components/sort/fragments/ChartSortFragment.d.ts.map +0 -1
- package/esm/components/sort/fragments/ChartSortFragment.js +0 -49
- package/esm/models/item_cache.d.ts +0 -10
- package/esm/models/item_cache.d.ts.map +0 -1
- package/esm/models/item_cache.js +0 -19
- package/esm/models/metadata.test.helpers.d.ts +0 -8
- package/esm/models/metadata.test.helpers.d.ts.map +0 -1
- package/esm/models/metadata.test.helpers.js +0 -276
- package/esm/postMessageApi/sagas/mocks.test.helpers.d.ts +0 -3
- package/esm/postMessageApi/sagas/mocks.test.helpers.d.ts.map +0 -1
- package/esm/postMessageApi/sagas/mocks.test.helpers.js +0 -11
- package/esm/sagas/properties_saga_mock.d.ts +0 -22
- package/esm/sagas/properties_saga_mock.d.ts.map +0 -1
- package/esm/sagas/properties_saga_mock.js +0 -18007
- package/esm/selectors/bucket.test.helpers.d.ts +0 -12
- package/esm/selectors/bucket.test.helpers.d.ts.map +0 -1
- package/esm/selectors/bucket.test.helpers.js +0 -83
- package/esm/selectors/date_dataset.test.helpers.d.ts +0 -7
- package/esm/selectors/date_dataset.test.helpers.d.ts.map +0 -1
- package/esm/selectors/date_dataset.test.helpers.js +0 -347
- package/esm/selectors/test_helpers.d.ts +0 -6
- package/esm/selectors/test_helpers.d.ts.map +0 -1
- package/esm/selectors/test_helpers.js +0 -66
- package/esm/services/buckets_service.test.helpers.d.ts +0 -3
- package/esm/services/buckets_service.test.helpers.d.ts.map +0 -1
- package/esm/services/buckets_service.test.helpers.js +0 -94
- package/esm/services/decorated_buckets_service.test.helpers.d.ts +0 -4
- package/esm/services/decorated_buckets_service.test.helpers.d.ts.map +0 -1
- package/esm/services/decorated_buckets_service.test.helpers.js +0 -175
- package/esm/services/telemetry/tracking_state.test.helpers.d.ts +0 -9
- package/esm/services/telemetry/tracking_state.test.helpers.d.ts.map +0 -1
- package/esm/services/telemetry/tracking_state.test.helpers.js +0 -28
- package/esm/store/bucket_filters/bucket_filters.test.helpers.d.ts +0 -4
- package/esm/store/bucket_filters/bucket_filters.test.helpers.d.ts.map +0 -1
- package/esm/store/bucket_filters/bucket_filters.test.helpers.js +0 -12
- package/esm/store/filter_bar/cache_item.test.helpers.d.ts +0 -3
- package/esm/store/filter_bar/cache_item.test.helpers.d.ts.map +0 -1
- package/esm/store/filter_bar/cache_item.test.helpers.js +0 -13
- package/esm/store/filter_bar/invalid_type_guard.test.helpers.d.ts +0 -7
- package/esm/store/filter_bar/invalid_type_guard.test.helpers.d.ts.map +0 -1
- package/esm/store/filter_bar/invalid_type_guard.test.helpers.js +0 -19
- package/esm/store/metric_editor/metric_editor.test.helpers.d.ts +0 -6
- package/esm/store/metric_editor/metric_editor.test.helpers.d.ts.map +0 -1
- package/esm/store/metric_editor/metric_editor.test.helpers.js +0 -17
- package/esm/tests/DateDatasetWithGranularities.test.helpers.d.ts +0 -7
- package/esm/tests/DateDatasetWithGranularities.test.helpers.d.ts.map +0 -1
- package/esm/tests/DateDatasetWithGranularities.test.helpers.js +0 -641
- package/esm/tests/bucket_item.test.helpers.d.ts +0 -3
- package/esm/tests/bucket_item.test.helpers.d.ts.map +0 -1
- package/esm/tests/bucket_item.test.helpers.js +0 -37
- package/esm/tests/buckets_builder.test.helpers.d.ts +0 -33
- package/esm/tests/buckets_builder.test.helpers.d.ts.map +0 -1
- package/esm/tests/buckets_builder.test.helpers.js +0 -89
- package/esm/tests/catalog.test.helpers.d.ts +0 -18
- package/esm/tests/catalog.test.helpers.d.ts.map +0 -1
- package/esm/tests/catalog.test.helpers.js +0 -37
- package/esm/tests/catalog_attribute_hierarchy.test.helpers.d.ts +0 -3
- package/esm/tests/catalog_attribute_hierarchy.test.helpers.d.ts.map +0 -1
- package/esm/tests/catalog_attribute_hierarchy.test.helpers.js +0 -37
- package/esm/tests/catalog_components.test.helpers.d.ts +0 -7
- package/esm/tests/catalog_components.test.helpers.d.ts.map +0 -1
- package/esm/tests/catalog_components.test.helpers.js +0 -53
- package/esm/tests/chart_sort.test.helpers.d.ts +0 -28
- package/esm/tests/chart_sort.test.helpers.d.ts.map +0 -1
- package/esm/tests/chart_sort.test.helpers.js +0 -80
- package/esm/tests/constants.test.helpers.d.ts +0 -230
- package/esm/tests/constants.test.helpers.d.ts.map +0 -1
- package/esm/tests/constants.test.helpers.js +0 -1930
- package/esm/tests/dashboard.test.helpers.d.ts +0 -5
- package/esm/tests/dashboard.test.helpers.d.ts.map +0 -1
- package/esm/tests/dashboard.test.helpers.js +0 -65
- package/esm/tests/data_layer.test.helpers.d.ts +0 -5
- package/esm/tests/data_layer.test.helpers.d.ts.map +0 -1
- package/esm/tests/data_layer.test.helpers.js +0 -106
- package/esm/tests/date_datasets_meta.test.helpers.d.ts +0 -5
- package/esm/tests/date_datasets_meta.test.helpers.d.ts.map +0 -1
- package/esm/tests/date_datasets_meta.test.helpers.js +0 -323
- package/esm/tests/decorated_bucket.test.helpers.d.ts +0 -5
- package/esm/tests/decorated_bucket.test.helpers.d.ts.map +0 -1
- package/esm/tests/decorated_bucket.test.helpers.js +0 -12
- package/esm/tests/extended_reference_point_builder.test.helpers.d.ts +0 -47
- package/esm/tests/extended_reference_point_builder.test.helpers.d.ts.map +0 -1
- package/esm/tests/extended_reference_point_builder.test.helpers.js +0 -36
- package/esm/tests/feature_flags.test.helpers.d.ts +0 -4
- package/esm/tests/feature_flags.test.helpers.d.ts.map +0 -1
- package/esm/tests/feature_flags.test.helpers.js +0 -10
- package/esm/tests/filter.test.helpers.d.ts +0 -22
- package/esm/tests/filter.test.helpers.d.ts.map +0 -1
- package/esm/tests/filter.test.helpers.js +0 -329
- package/esm/tests/insightMocking.test.helpers.d.ts +0 -3
- package/esm/tests/insightMocking.test.helpers.d.ts.map +0 -1
- package/esm/tests/insightMocking.test.helpers.js +0 -13
- package/esm/tests/measure_date_datasets.test.helpers.d.ts +0 -17
- package/esm/tests/measure_date_datasets.test.helpers.d.ts.map +0 -1
- package/esm/tests/measure_date_datasets.test.helpers.js +0 -40
- package/esm/tests/parameter.test.helpers.d.ts +0 -5
- package/esm/tests/parameter.test.helpers.d.ts.map +0 -1
- package/esm/tests/parameter.test.helpers.js +0 -16
- package/esm/tests/reference_point.test.helpers.d.ts +0 -9
- package/esm/tests/reference_point.test.helpers.d.ts.map +0 -1
- package/esm/tests/reference_point.test.helpers.js +0 -29
- package/esm/tests/reference_point_builder.test.helpers.d.ts +0 -20
- package/esm/tests/reference_point_builder.test.helpers.d.ts.map +0 -1
- package/esm/tests/reference_point_builder.test.helpers.js +0 -22
- package/esm/tests/report_builder.test.helpers.d.ts +0 -22
- package/esm/tests/report_builder.test.helpers.d.ts.map +0 -1
- package/esm/tests/report_builder.test.helpers.js +0 -28
- package/esm/tests/route.test.helpers.d.ts +0 -15
- package/esm/tests/route.test.helpers.d.ts.map +0 -1
- package/esm/tests/route.test.helpers.js +0 -9
- package/esm/tests/state.test.helpers.d.ts +0 -3
- package/esm/tests/state.test.helpers.d.ts.map +0 -1
- package/esm/tests/state.test.helpers.js +0 -8
- package/esm/tests/state_builder.test.helpers.d.ts +0 -10
- package/esm/tests/state_builder.test.helpers.d.ts.map +0 -1
- package/esm/tests/state_builder.test.helpers.js +0 -46
- package/esm/tests/visualization_class.test.helpers.d.ts +0 -7
- package/esm/tests/visualization_class.test.helpers.d.ts.map +0 -1
- package/esm/tests/visualization_class.test.helpers.js +0 -16
- package/esm/utils/drilling/executeAfmToAfm.test.helpers.d.ts +0 -32
- package/esm/utils/drilling/executeAfmToAfm.test.helpers.d.ts.map +0 -1
- package/esm/utils/drilling/executeAfmToAfm.test.helpers.js +0 -390
- package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.d.ts +0 -13
- package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.d.ts.map +0 -1
- package/esm/utils/sdkModelToADRep/ReferenceConverter.test.helpers.js +0 -200
|
@@ -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 +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,24 +0,0 @@
|
|
|
1
|
-
declare class ButtonFragment {
|
|
2
|
-
container: HTMLElement;
|
|
3
|
-
button: HTMLButtonElement;
|
|
4
|
-
constructor(container: HTMLElement, button: HTMLButtonElement);
|
|
5
|
-
isEnabled(): boolean;
|
|
6
|
-
getText(): string;
|
|
7
|
-
click(): void;
|
|
8
|
-
hasBubble(): boolean;
|
|
9
|
-
hasIcon(iconClassName: string): boolean;
|
|
10
|
-
}
|
|
11
|
-
declare class DialogFragment {
|
|
12
|
-
dialog: HTMLElement;
|
|
13
|
-
constructor(dialog: HTMLElement);
|
|
14
|
-
isOpen(): boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare class ChartSortFragment {
|
|
17
|
-
container: HTMLElement;
|
|
18
|
-
constructor(container: HTMLElement);
|
|
19
|
-
exists(): boolean;
|
|
20
|
-
getButton(): ButtonFragment;
|
|
21
|
-
getDialog(): DialogFragment;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=ChartSortFragment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartSortFragment.d.ts","sourceRoot":"","sources":["../../../../src/components/sort/fragments/ChartSortFragment.ts"],"names":[],"mappings":"AAIA,cAAM,cAAc;IACT,SAAS,EAAE,WAAW,CAAC;IACvB,MAAM,EAAE,iBAAiB,CAAC;IAEjC,YAAY,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,iBAAiB,EAG5D;IAEM,SAAS,YAEf;IAEM,OAAO,WAEb;IAEM,KAAK,SAEX;IAEM,SAAS,YAEf;IAEM,OAAO,CAAC,aAAa,EAAE,MAAM,WAEnC;CACJ;AAED,cAAM,cAAc;IACT,MAAM,EAAE,WAAW,CAAC;IAE3B,YAAY,MAAM,EAAE,WAAW,EAE9B;IAEM,MAAM,YAEZ;CACJ;AAED,qBAAa,iBAAiB;IACnB,SAAS,EAAE,WAAW,CAAC;IAE9B,YAAY,SAAS,EAAE,WAAW,EAEjC;IAEM,MAAM,YAEZ;IAEM,SAAS,mBAEf;IAEM,SAAS,mBAEf;CACJ"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// (C) 2022-2026 GoodData Corporation
|
|
2
|
-
import { fireEvent } from "@testing-library/react";
|
|
3
|
-
class ButtonFragment {
|
|
4
|
-
container;
|
|
5
|
-
button;
|
|
6
|
-
constructor(container, button) {
|
|
7
|
-
this.container = container;
|
|
8
|
-
this.button = button;
|
|
9
|
-
}
|
|
10
|
-
isEnabled() {
|
|
11
|
-
return !this.button.classList.contains("disabled");
|
|
12
|
-
}
|
|
13
|
-
getText() {
|
|
14
|
-
return this.button.textContent;
|
|
15
|
-
}
|
|
16
|
-
click() {
|
|
17
|
-
fireEvent.click(this.button);
|
|
18
|
-
}
|
|
19
|
-
hasBubble() {
|
|
20
|
-
return !!this.container.querySelector(".s-chart-sort-button-bubble");
|
|
21
|
-
}
|
|
22
|
-
hasIcon(iconClassName) {
|
|
23
|
-
return !!this.button.querySelector(`.${iconClassName}`);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
class DialogFragment {
|
|
27
|
-
dialog;
|
|
28
|
-
constructor(dialog) {
|
|
29
|
-
this.dialog = dialog;
|
|
30
|
-
}
|
|
31
|
-
isOpen() {
|
|
32
|
-
return !!this.dialog;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
export class ChartSortFragment {
|
|
36
|
-
container;
|
|
37
|
-
constructor(container) {
|
|
38
|
-
this.container = container;
|
|
39
|
-
}
|
|
40
|
-
exists() {
|
|
41
|
-
return !!this.container.querySelector(".s-chart-sort");
|
|
42
|
-
}
|
|
43
|
-
getButton() {
|
|
44
|
-
return new ButtonFragment(this.container, this.container.querySelector(".s-chart-sort-button"));
|
|
45
|
-
}
|
|
46
|
-
getDialog() {
|
|
47
|
-
return new DialogFragment(document.querySelector(".s-sort-charting-dropdown"));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -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"}
|
package/esm/models/item_cache.js
DELETED
|
@@ -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 +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,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"}
|