@gooddata/sdk-code-convertors 11.35.0-alpha.4 → 11.35.0-alpha.6
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/esm/configs/areaChart.d.ts +22 -10
- package/esm/configs/areaChart.js +13 -5
- package/esm/configs/barChart.d.ts +22 -10
- package/esm/configs/barChart.js +13 -5
- package/esm/configs/bubbleChart.d.ts +22 -10
- package/esm/configs/bubbleChart.js +13 -5
- package/esm/configs/bulletChart.d.ts +22 -10
- package/esm/configs/bulletChart.js +13 -5
- package/esm/configs/columnChart.d.ts +22 -10
- package/esm/configs/columnChart.js +13 -5
- package/esm/configs/comboChart.d.ts +22 -10
- package/esm/configs/comboChart.js +13 -5
- package/esm/configs/dependencyWheelChart.d.ts +22 -10
- package/esm/configs/dependencyWheelChart.js +13 -5
- package/esm/configs/donutChart.d.ts +22 -10
- package/esm/configs/donutChart.js +13 -5
- package/esm/configs/funnelChart.d.ts +22 -10
- package/esm/configs/funnelChart.js +13 -5
- package/esm/configs/geoAreaChart.d.ts +22 -10
- package/esm/configs/geoAreaChart.js +13 -5
- package/esm/configs/geoChart.d.ts +22 -10
- package/esm/configs/geoChart.js +13 -5
- package/esm/configs/headlineChart.d.ts +22 -10
- package/esm/configs/headlineChart.js +13 -5
- package/esm/configs/heatmapChart.d.ts +22 -10
- package/esm/configs/heatmapChart.js +13 -5
- package/esm/configs/lineChart.d.ts +22 -10
- package/esm/configs/lineChart.js +13 -5
- package/esm/configs/pieChart.d.ts +22 -10
- package/esm/configs/pieChart.js +13 -5
- package/esm/configs/pyramidChart.d.ts +22 -10
- package/esm/configs/pyramidChart.js +13 -5
- package/esm/configs/repeaterChart.d.ts +25 -11
- package/esm/configs/repeaterChart.js +15 -6
- package/esm/configs/sankeyChart.d.ts +22 -10
- package/esm/configs/sankeyChart.js +13 -5
- package/esm/configs/scatterChart.d.ts +22 -10
- package/esm/configs/scatterChart.js +13 -5
- package/esm/configs/table.d.ts +22 -10
- package/esm/configs/table.js +13 -5
- package/esm/configs/treemapChart.d.ts +22 -10
- package/esm/configs/treemapChart.js +13 -5
- package/esm/configs/types.d.ts +28 -1
- package/esm/configs/types.js +0 -1
- package/esm/configs/utils.d.ts +1 -1
- package/esm/configs/utils.js +0 -1
- package/esm/configs/waterfallChart.d.ts +22 -10
- package/esm/configs/waterfallChart.js +13 -5
- package/esm/conts.d.ts +8 -1
- package/esm/conts.js +8 -1
- package/esm/execution/buildAfmExecution.d.ts +0 -1
- package/esm/execution/buildAfmExecution.js +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.d.ts +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.js +0 -1
- package/esm/from/declarativeDashboardToYaml.d.ts +9 -1
- package/esm/from/declarativeDashboardToYaml.js +7 -1
- package/esm/from/declarativeDatasetToYaml.d.ts +0 -1
- package/esm/from/declarativeDatasetToYaml.js +0 -1
- package/esm/from/declarativeDateInstanceToYaml.d.ts +0 -1
- package/esm/from/declarativeDateInstanceToYaml.js +0 -1
- package/esm/from/declarativeMetricToYaml.d.ts +0 -1
- package/esm/from/declarativeMetricToYaml.js +0 -1
- package/esm/from/declarativePluginToYaml.d.ts +0 -1
- package/esm/from/declarativePluginToYaml.js +0 -1
- package/esm/from/declarativeVisualisationToYaml.d.ts +47 -18
- package/esm/from/declarativeVisualisationToYaml.js +19 -1
- package/esm/index.d.ts +27 -28
- package/esm/index.js +23 -24
- package/esm/schemas/types.d.ts +0 -1
- package/esm/schemas/types.js +0 -1
- package/esm/sdk-code-convertors.d.ts +2107 -1647
- package/esm/to/yamlAttributeHierarchyToDeclarative.d.ts +0 -1
- package/esm/to/yamlAttributeHierarchyToDeclarative.js +0 -1
- package/esm/to/yamlDashboardToDeclarative.d.ts +18 -6
- package/esm/to/yamlDashboardToDeclarative.js +5 -1
- package/esm/to/yamlDatasetToDeclarative.d.ts +4 -1
- package/esm/to/yamlDatasetToDeclarative.js +4 -1
- package/esm/to/yamlDateDatasetToDeclarative.d.ts +0 -1
- package/esm/to/yamlDateDatasetToDeclarative.js +0 -1
- package/esm/to/yamlMetricToDeclarative.d.ts +0 -1
- package/esm/to/yamlMetricToDeclarative.js +0 -1
- package/esm/to/yamlPluginToDeclarative.d.ts +0 -1
- package/esm/to/yamlPluginToDeclarative.js +0 -1
- package/esm/to/yamlVisualisationToDeclarative.d.ts +7 -3
- package/esm/to/yamlVisualisationToDeclarative.js +5 -1
- package/esm/types.d.ts +0 -1
- package/esm/types.js +0 -1
- package/esm/utils/configUtils.d.ts +0 -1
- package/esm/utils/configUtils.js +0 -1
- package/esm/utils/convertBucketToTitle.d.ts +0 -1
- package/esm/utils/convertBucketToTitle.js +0 -1
- package/esm/utils/customUrl.d.ts +0 -1
- package/esm/utils/customUrl.js +0 -1
- package/esm/utils/dateUtils.d.ts +0 -1
- package/esm/utils/dateUtils.js +0 -1
- package/esm/utils/errors.d.ts +0 -1
- package/esm/utils/errors.js +0 -1
- package/esm/utils/filterUtils.d.ts +0 -1
- package/esm/utils/filterUtils.js +0 -1
- package/esm/utils/granularityUtils.d.ts +0 -1
- package/esm/utils/granularityUtils.js +0 -1
- package/esm/utils/locationUtils.d.ts +0 -1
- package/esm/utils/locationUtils.js +0 -1
- package/esm/utils/nameUtils.d.ts +0 -1
- package/esm/utils/nameUtils.js +0 -1
- package/esm/utils/permissionUtils.d.ts +0 -1
- package/esm/utils/permissionUtils.js +0 -1
- package/esm/utils/sharedUtils.d.ts +1 -1
- package/esm/utils/sharedUtils.js +0 -1
- package/esm/utils/texts.d.ts +0 -1
- package/esm/utils/texts.js +0 -1
- package/esm/utils/typeGuards.d.ts +0 -1
- package/esm/utils/typeGuards.js +0 -1
- package/esm/utils/yamlUtils.d.ts +0 -1
- package/esm/utils/yamlUtils.js +0 -1
- package/package.json +7 -7
- package/esm/configs/areaChart.d.ts.map +0 -1
- package/esm/configs/areaChart.js.map +0 -1
- package/esm/configs/barChart.d.ts.map +0 -1
- package/esm/configs/barChart.js.map +0 -1
- package/esm/configs/bubbleChart.d.ts.map +0 -1
- package/esm/configs/bubbleChart.js.map +0 -1
- package/esm/configs/bulletChart.d.ts.map +0 -1
- package/esm/configs/bulletChart.js.map +0 -1
- package/esm/configs/columnChart.d.ts.map +0 -1
- package/esm/configs/columnChart.js.map +0 -1
- package/esm/configs/comboChart.d.ts.map +0 -1
- package/esm/configs/comboChart.js.map +0 -1
- package/esm/configs/dependencyWheelChart.d.ts.map +0 -1
- package/esm/configs/dependencyWheelChart.js.map +0 -1
- package/esm/configs/donutChart.d.ts.map +0 -1
- package/esm/configs/donutChart.js.map +0 -1
- package/esm/configs/funnelChart.d.ts.map +0 -1
- package/esm/configs/funnelChart.js.map +0 -1
- package/esm/configs/geoAreaChart.d.ts.map +0 -1
- package/esm/configs/geoAreaChart.js.map +0 -1
- package/esm/configs/geoChart.d.ts.map +0 -1
- package/esm/configs/geoChart.js.map +0 -1
- package/esm/configs/headlineChart.d.ts.map +0 -1
- package/esm/configs/headlineChart.js.map +0 -1
- package/esm/configs/heatmapChart.d.ts.map +0 -1
- package/esm/configs/heatmapChart.js.map +0 -1
- package/esm/configs/lineChart.d.ts.map +0 -1
- package/esm/configs/lineChart.js.map +0 -1
- package/esm/configs/pieChart.d.ts.map +0 -1
- package/esm/configs/pieChart.js.map +0 -1
- package/esm/configs/pyramidChart.d.ts.map +0 -1
- package/esm/configs/pyramidChart.js.map +0 -1
- package/esm/configs/repeaterChart.d.ts.map +0 -1
- package/esm/configs/repeaterChart.js.map +0 -1
- package/esm/configs/sankeyChart.d.ts.map +0 -1
- package/esm/configs/sankeyChart.js.map +0 -1
- package/esm/configs/scatterChart.d.ts.map +0 -1
- package/esm/configs/scatterChart.js.map +0 -1
- package/esm/configs/table.d.ts.map +0 -1
- package/esm/configs/table.js.map +0 -1
- package/esm/configs/treemapChart.d.ts.map +0 -1
- package/esm/configs/treemapChart.js.map +0 -1
- package/esm/configs/types.d.ts.map +0 -1
- package/esm/configs/types.js.map +0 -1
- package/esm/configs/utils.d.ts.map +0 -1
- package/esm/configs/utils.js.map +0 -1
- package/esm/configs/waterfallChart.d.ts.map +0 -1
- package/esm/configs/waterfallChart.js.map +0 -1
- package/esm/conts.d.ts.map +0 -1
- package/esm/conts.js.map +0 -1
- package/esm/execution/buildAfmExecution.d.ts.map +0 -1
- package/esm/execution/buildAfmExecution.js.map +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.d.ts.map +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.js.map +0 -1
- package/esm/from/declarativeDashboardToYaml.d.ts.map +0 -1
- package/esm/from/declarativeDashboardToYaml.js.map +0 -1
- package/esm/from/declarativeDatasetToYaml.d.ts.map +0 -1
- package/esm/from/declarativeDatasetToYaml.js.map +0 -1
- package/esm/from/declarativeDateInstanceToYaml.d.ts.map +0 -1
- package/esm/from/declarativeDateInstanceToYaml.js.map +0 -1
- package/esm/from/declarativeMetricToYaml.d.ts.map +0 -1
- package/esm/from/declarativeMetricToYaml.js.map +0 -1
- package/esm/from/declarativePluginToYaml.d.ts.map +0 -1
- package/esm/from/declarativePluginToYaml.js.map +0 -1
- package/esm/from/declarativeVisualisationToYaml.d.ts.map +0 -1
- package/esm/from/declarativeVisualisationToYaml.js.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/schemas/types.d.ts.map +0 -1
- package/esm/schemas/types.js.map +0 -1
- package/esm/to/yamlAttributeHierarchyToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlAttributeHierarchyToDeclarative.js.map +0 -1
- package/esm/to/yamlDashboardToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlDashboardToDeclarative.js.map +0 -1
- package/esm/to/yamlDatasetToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlDatasetToDeclarative.js.map +0 -1
- package/esm/to/yamlDateDatasetToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlDateDatasetToDeclarative.js.map +0 -1
- package/esm/to/yamlMetricToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlMetricToDeclarative.js.map +0 -1
- package/esm/to/yamlPluginToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlPluginToDeclarative.js.map +0 -1
- package/esm/to/yamlVisualisationToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlVisualisationToDeclarative.js.map +0 -1
- package/esm/types.d.ts.map +0 -1
- package/esm/types.js.map +0 -1
- package/esm/utils/configUtils.d.ts.map +0 -1
- package/esm/utils/configUtils.js.map +0 -1
- package/esm/utils/convertBucketToTitle.d.ts.map +0 -1
- package/esm/utils/convertBucketToTitle.js.map +0 -1
- package/esm/utils/customUrl.d.ts.map +0 -1
- package/esm/utils/customUrl.js.map +0 -1
- package/esm/utils/dateUtils.d.ts.map +0 -1
- package/esm/utils/dateUtils.js.map +0 -1
- package/esm/utils/errors.d.ts.map +0 -1
- package/esm/utils/errors.js.map +0 -1
- package/esm/utils/filterUtils.d.ts.map +0 -1
- package/esm/utils/filterUtils.js.map +0 -1
- package/esm/utils/granularityUtils.d.ts.map +0 -1
- package/esm/utils/granularityUtils.js.map +0 -1
- package/esm/utils/locationUtils.d.ts.map +0 -1
- package/esm/utils/locationUtils.js.map +0 -1
- package/esm/utils/nameUtils.d.ts.map +0 -1
- package/esm/utils/nameUtils.js.map +0 -1
- package/esm/utils/permissionUtils.d.ts.map +0 -1
- package/esm/utils/permissionUtils.js.map +0 -1
- package/esm/utils/sharedUtils.d.ts.map +0 -1
- package/esm/utils/sharedUtils.js.map +0 -1
- package/esm/utils/texts.d.ts.map +0 -1
- package/esm/utils/texts.js.map +0 -1
- package/esm/utils/typeGuards.d.ts.map +0 -1
- package/esm/utils/typeGuards.js.map +0 -1
- package/esm/utils/yamlUtils.d.ts.map +0 -1
- package/esm/utils/yamlUtils.js.map +0 -1
|
@@ -9,63 +9,92 @@ export declare function declarativeVisualisationToYaml(entities: FromEntities, v
|
|
|
9
9
|
content: string;
|
|
10
10
|
json?: Visualisation;
|
|
11
11
|
};
|
|
12
|
-
export declare function declarativeFiltersConfigToYaml(insight: IInsightDefinition["insight"], filtersMap: Record<string,
|
|
12
|
+
export declare function declarativeFiltersConfigToYaml(insight: IInsightDefinition["insight"], filtersMap: Record<string, YamlFilterMapEntry>, errorContext?: IErrorContext): void;
|
|
13
|
+
/** @internal */
|
|
13
14
|
export declare function declarativeVisTypeToYaml(def: IInsightDefinition["insight"]): string | null;
|
|
14
|
-
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type YamlPostProcessors = {
|
|
15
17
|
filters: Array<{
|
|
16
18
|
item: YAMLMap;
|
|
17
19
|
filters: IFilter[];
|
|
18
20
|
}>;
|
|
19
21
|
};
|
|
20
|
-
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type YamlBuckets = {
|
|
21
24
|
fieldsMap: YAMLMap;
|
|
22
|
-
groups:
|
|
23
|
-
postProcessors:
|
|
25
|
+
groups: YamlBucketGroup[];
|
|
26
|
+
postProcessors: YamlPostProcessors;
|
|
24
27
|
};
|
|
25
|
-
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type YamlBucketGroupItems = Array<{
|
|
26
30
|
field: string;
|
|
27
31
|
format?: string;
|
|
28
32
|
totals?: YAMLMap[];
|
|
29
33
|
axis?: "primary" | "secondary";
|
|
30
34
|
display_as?: "metric" | "line" | "column";
|
|
31
35
|
} | null>;
|
|
32
|
-
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type YamlBucketGroup = {
|
|
33
38
|
type: BucketsType;
|
|
34
|
-
items:
|
|
39
|
+
items: YamlBucketGroupItems;
|
|
35
40
|
};
|
|
36
|
-
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type YamlFieldData = {
|
|
43
|
+
format?: string;
|
|
44
|
+
axis?: "primary" | "secondary";
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare function declarativeBucketsToYaml(entities: FromEntities, buckets: IBucket[], errorContext?: IErrorContext): YamlBuckets;
|
|
48
|
+
/** @internal */
|
|
37
49
|
export declare function declarativeAttributeToYaml(def: IAttributeBody, errorContext?: IErrorContext): YAMLMap;
|
|
50
|
+
/** @internal */
|
|
38
51
|
export declare function declarativeInlineMetricToYaml(def: IMeasureBody, inlineDef: IInlineMeasureDefinition): YAMLMap;
|
|
39
|
-
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare function declarativeNormalMetricToYaml(def: IMeasureBody, metricDefinition: IMeasureDefinition, postProcessors: YamlPostProcessors, errorContext?: IErrorContext): YAMLMap;
|
|
54
|
+
/** @internal */
|
|
40
55
|
export declare function declarativeArithmeticMetricToYaml(def: IMeasureBody, arithmeticDefinition: IArithmeticMeasureDefinition): YAMLMap;
|
|
56
|
+
/** @internal */
|
|
41
57
|
export declare function declarativePoPMetricToYaml(def: IMeasureBody, popDefinition: IPoPMeasureDefinition, errorContext?: IErrorContext): YAMLMap;
|
|
58
|
+
/** @internal */
|
|
42
59
|
export declare function declarativePreviousPeriodMetricToYaml(def: IMeasureBody, previousDefinition: IPreviousPeriodMeasureDefinition, errorContext?: IErrorContext): YAMLMap;
|
|
43
|
-
|
|
60
|
+
/** @internal */
|
|
61
|
+
export type YamlFilterMapEntry = {
|
|
44
62
|
yaml: YAMLMap;
|
|
45
63
|
filter: IFilter;
|
|
46
64
|
};
|
|
47
|
-
|
|
48
|
-
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type YamlFilters = {
|
|
67
|
+
filtersMap: Record<string, YamlFilterMapEntry>;
|
|
49
68
|
filtersArray: YAMLMap;
|
|
50
69
|
};
|
|
51
|
-
|
|
70
|
+
/** @internal */
|
|
71
|
+
export declare function declarativeFiltersToYaml(entities: FromEntities, filters: IFilter[], errorContext?: IErrorContext): YamlFilters;
|
|
72
|
+
/** @internal */
|
|
52
73
|
export declare function declarativeAbsoluteDateFilterToYaml(absoluteDateFilter: IAbsoluteDateFilter["absoluteDateFilter"], connectedAttributeFilters: IFilter[] | undefined, entities: FromEntities, getUniqueKey: (baseKey: string) => string, errorContext?: IErrorContext): YAMLMap;
|
|
74
|
+
/** @internal */
|
|
53
75
|
export declare function declarativeRelativeDateFilterToYaml(relativeDateFilter: IRelativeDateFilter["relativeDateFilter"], connectedAttributeFilters: IFilter[] | undefined, entities: FromEntities, getUniqueKey: (baseKey: string) => string, errorContext?: IErrorContext): YAMLMap;
|
|
76
|
+
/** @internal */
|
|
54
77
|
export declare function declarativePositiveAttributeFilterToYaml(entities: FromEntities, attributeFilter: IPositiveAttributeFilterBody, errorContext?: IErrorContext): YAMLMap;
|
|
78
|
+
/** @internal */
|
|
55
79
|
export declare function declarativeNegativeAttributeFilterToYaml(entities: FromEntities, attributeFilter: INegativeAttributeFilterBody, errorContext?: IErrorContext): YAMLMap;
|
|
56
80
|
export declare function declarativeArbitraryAttributeFilterToYaml(attributeFilter: IArbitraryAttributeFilterBody, errorContext?: IErrorContext): YAMLMap;
|
|
57
81
|
export declare function declarativeMatchAttributeFilterToYaml(attributeFilter: IMatchAttributeFilterBody, errorContext?: IErrorContext): YAMLMap;
|
|
82
|
+
/** @internal */
|
|
58
83
|
export declare function declarativeMeasureValueFilterToYaml(measureValueFilter: IMeasureValueFilterBody, errorContext?: IErrorContext): YAMLMap;
|
|
84
|
+
/** @internal */
|
|
59
85
|
export declare function declarativeRankingFilterToYaml(rankingFilter: IRankingFilterBody, errorContext?: IErrorContext): YAMLMap;
|
|
60
|
-
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type YamlSorts = {
|
|
61
88
|
sortsArray: YAMLMap[];
|
|
62
89
|
};
|
|
63
|
-
|
|
90
|
+
/** @internal */
|
|
91
|
+
export declare function declarativeSortsToYaml(sorts: ISortItem[], _errorContext?: IErrorContext): YamlSorts;
|
|
92
|
+
/** @internal */
|
|
64
93
|
export declare function declarativeAttributeSortToYaml(sort: IAttributeSortItem): YAMLMap;
|
|
94
|
+
/** @internal */
|
|
65
95
|
export declare function declarativeMeasureSortToYaml(sort: IMeasureSortItem): YAMLMap;
|
|
96
|
+
/** @internal */
|
|
66
97
|
export declare function declarativeTotalToYaml(total: ITotal, _errorContext?: IErrorContext): {
|
|
67
98
|
totalMap: YAMLMap<unknown, unknown>;
|
|
68
99
|
attribute: string;
|
|
69
100
|
};
|
|
70
|
-
export {};
|
|
71
|
-
//# sourceMappingURL=declarativeVisualisationToYaml.d.ts.map
|
|
@@ -188,6 +188,7 @@ export function declarativeFiltersConfigToYaml(insight, filtersMap, errorContext
|
|
|
188
188
|
}
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
+
/** @internal */
|
|
191
192
|
export function declarativeVisTypeToYaml(def) {
|
|
192
193
|
switch (def.visualizationUrl) {
|
|
193
194
|
case "local:table":
|
|
@@ -316,6 +317,7 @@ function declarativeVisToYaml(doc, def, report, entities, errorContext) {
|
|
|
316
317
|
break;
|
|
317
318
|
}
|
|
318
319
|
}
|
|
320
|
+
/** @internal */
|
|
319
321
|
export function declarativeBucketsToYaml(entities, buckets, errorContext) {
|
|
320
322
|
const fullFieldsMap = new YAMLMap();
|
|
321
323
|
const groups = [];
|
|
@@ -426,6 +428,7 @@ export function declarativeBucketsToYaml(entities, buckets, errorContext) {
|
|
|
426
428
|
postProcessors,
|
|
427
429
|
};
|
|
428
430
|
}
|
|
431
|
+
/** @internal */
|
|
429
432
|
export function declarativeAttributeToYaml(def, errorContext) {
|
|
430
433
|
const map = new YAMLMap();
|
|
431
434
|
if (def.alias) {
|
|
@@ -440,6 +443,7 @@ export function declarativeAttributeToYaml(def, errorContext) {
|
|
|
440
443
|
}
|
|
441
444
|
return map;
|
|
442
445
|
}
|
|
446
|
+
/** @internal */
|
|
443
447
|
export function declarativeInlineMetricToYaml(def, inlineDef) {
|
|
444
448
|
const map = new YAMLMap();
|
|
445
449
|
fillDefaultMetricProperties(map, def);
|
|
@@ -447,6 +451,7 @@ export function declarativeInlineMetricToYaml(def, inlineDef) {
|
|
|
447
451
|
map.add(new Pair("maql", id.maql));
|
|
448
452
|
return map;
|
|
449
453
|
}
|
|
454
|
+
/** @internal */
|
|
450
455
|
export function declarativeNormalMetricToYaml(def, metricDefinition, postProcessors, errorContext) {
|
|
451
456
|
const map = new YAMLMap();
|
|
452
457
|
fillDefaultMetricProperties(map, def);
|
|
@@ -466,6 +471,7 @@ export function declarativeNormalMetricToYaml(def, metricDefinition, postProcess
|
|
|
466
471
|
map.add(new Pair("using", id));
|
|
467
472
|
return map;
|
|
468
473
|
}
|
|
474
|
+
/** @internal */
|
|
469
475
|
export function declarativeArithmeticMetricToYaml(def, arithmeticDefinition) {
|
|
470
476
|
const map = new YAMLMap();
|
|
471
477
|
fillDefaultMetricProperties(map, def);
|
|
@@ -474,6 +480,7 @@ export function declarativeArithmeticMetricToYaml(def, arithmeticDefinition) {
|
|
|
474
480
|
map.add(new Pair("using", ad.measureIdentifiers));
|
|
475
481
|
return map;
|
|
476
482
|
}
|
|
483
|
+
/** @internal */
|
|
477
484
|
export function declarativePoPMetricToYaml(def, popDefinition, errorContext) {
|
|
478
485
|
const map = new YAMLMap();
|
|
479
486
|
fillDefaultMetricProperties(map, def);
|
|
@@ -487,6 +494,7 @@ export function declarativePoPMetricToYaml(def, popDefinition, errorContext) {
|
|
|
487
494
|
map.add(new Pair("using", pop.measureIdentifier));
|
|
488
495
|
return map;
|
|
489
496
|
}
|
|
497
|
+
/** @internal */
|
|
490
498
|
export function declarativePreviousPeriodMetricToYaml(def, previousDefinition, errorContext) {
|
|
491
499
|
const map = new YAMLMap();
|
|
492
500
|
fillDefaultMetricProperties(map, def);
|
|
@@ -622,6 +630,7 @@ function groupFiltersByDateFilter(filters) {
|
|
|
622
630
|
});
|
|
623
631
|
return result;
|
|
624
632
|
}
|
|
633
|
+
/** @internal */
|
|
625
634
|
export function declarativeFiltersToYaml(entities, filters, errorContext) {
|
|
626
635
|
const filtersArray = [];
|
|
627
636
|
const filtersMap = {};
|
|
@@ -778,6 +787,7 @@ function processConnectedAttributeFilters(map, connectedAttributeFilters, entiti
|
|
|
778
787
|
withMap.add(new Pair(converted.key, converted.yaml));
|
|
779
788
|
});
|
|
780
789
|
}
|
|
790
|
+
/** @internal */
|
|
781
791
|
export function declarativeAbsoluteDateFilterToYaml(absoluteDateFilter, connectedAttributeFilters = [], entities, getUniqueKey, errorContext) {
|
|
782
792
|
const map = new YAMLMap();
|
|
783
793
|
// base date filter attributes
|
|
@@ -801,6 +811,7 @@ function isRelativeDateFilterAllTime(relativeDateFilter) {
|
|
|
801
811
|
// But unfortunately AD emits granularity as GDC.time.year for an all time date filter, so we need this check as well
|
|
802
812
|
return granularity === "GDC.time.year" && from === undefined && to === undefined;
|
|
803
813
|
}
|
|
814
|
+
/** @internal */
|
|
804
815
|
export function declarativeRelativeDateFilterToYaml(relativeDateFilter, connectedAttributeFilters = [], entities, getUniqueKey, errorContext) {
|
|
805
816
|
const map = new YAMLMap();
|
|
806
817
|
map.add(new Pair("type", "date_filter"));
|
|
@@ -825,6 +836,7 @@ export function declarativeRelativeDateFilterToYaml(relativeDateFilter, connecte
|
|
|
825
836
|
processConnectedAttributeFilters(map, connectedAttributeFilters, entities, getUniqueKey, errorContext);
|
|
826
837
|
return map;
|
|
827
838
|
}
|
|
839
|
+
/** @internal */
|
|
828
840
|
export function declarativePositiveAttributeFilterToYaml(entities, attributeFilter, errorContext) {
|
|
829
841
|
const map = new YAMLMap();
|
|
830
842
|
map.add(new Pair("type", "attribute_filter"));
|
|
@@ -840,6 +852,7 @@ export function declarativePositiveAttributeFilterToYaml(entities, attributeFilt
|
|
|
840
852
|
}
|
|
841
853
|
return map;
|
|
842
854
|
}
|
|
855
|
+
/** @internal */
|
|
843
856
|
export function declarativeNegativeAttributeFilterToYaml(entities, attributeFilter, errorContext) {
|
|
844
857
|
const map = new YAMLMap();
|
|
845
858
|
map.add(new Pair("type", "attribute_filter"));
|
|
@@ -916,6 +929,7 @@ function addConditionToYamlMap(conditionMap, condition) {
|
|
|
916
929
|
}
|
|
917
930
|
return hasTreatNullValues;
|
|
918
931
|
}
|
|
932
|
+
/** @internal */
|
|
919
933
|
export function declarativeMeasureValueFilterToYaml(measureValueFilter, errorContext) {
|
|
920
934
|
const map = new YAMLMap();
|
|
921
935
|
map.add(new Pair("type", "metric_value_filter"));
|
|
@@ -967,6 +981,7 @@ export function declarativeMeasureValueFilterToYaml(measureValueFilter, errorCon
|
|
|
967
981
|
}
|
|
968
982
|
return map;
|
|
969
983
|
}
|
|
984
|
+
/** @internal */
|
|
970
985
|
export function declarativeRankingFilterToYaml(rankingFilter, errorContext) {
|
|
971
986
|
const map = new YAMLMap();
|
|
972
987
|
map.add(new Pair("type", "ranking_filter"));
|
|
@@ -996,6 +1011,7 @@ export function declarativeRankingFilterToYaml(rankingFilter, errorContext) {
|
|
|
996
1011
|
}
|
|
997
1012
|
return map;
|
|
998
1013
|
}
|
|
1014
|
+
/** @internal */
|
|
999
1015
|
export function declarativeSortsToYaml(sorts, _errorContext) {
|
|
1000
1016
|
const sortsArray = [];
|
|
1001
1017
|
sorts.forEach((sort) => {
|
|
@@ -1010,6 +1026,7 @@ export function declarativeSortsToYaml(sorts, _errorContext) {
|
|
|
1010
1026
|
sortsArray,
|
|
1011
1027
|
};
|
|
1012
1028
|
}
|
|
1029
|
+
/** @internal */
|
|
1013
1030
|
export function declarativeAttributeSortToYaml(sort) {
|
|
1014
1031
|
const { attributeIdentifier, aggregation, direction } = sort.attributeSortItem;
|
|
1015
1032
|
const map = new YAMLMap();
|
|
@@ -1021,6 +1038,7 @@ export function declarativeAttributeSortToYaml(sort) {
|
|
|
1021
1038
|
}
|
|
1022
1039
|
return map;
|
|
1023
1040
|
}
|
|
1041
|
+
/** @internal */
|
|
1024
1042
|
export function declarativeMeasureSortToYaml(sort) {
|
|
1025
1043
|
const { locators, direction } = sort.measureSortItem;
|
|
1026
1044
|
const map = new YAMLMap();
|
|
@@ -1509,6 +1527,7 @@ function declarativeVisRepeaterToYaml(doc, def, report, _errorContext) {
|
|
|
1509
1527
|
}
|
|
1510
1528
|
}
|
|
1511
1529
|
//TOTALS
|
|
1530
|
+
/** @internal */
|
|
1512
1531
|
export function declarativeTotalToYaml(total, _errorContext) {
|
|
1513
1532
|
const map = new YAMLMap();
|
|
1514
1533
|
if (total.alias) {
|
|
@@ -1637,4 +1656,3 @@ function addLayerConfig(layerMap, layerKind, properties) {
|
|
|
1637
1656
|
layerMap.add(config);
|
|
1638
1657
|
}
|
|
1639
1658
|
}
|
|
1640
|
-
//# sourceMappingURL=declarativeVisualisationToYaml.js.map
|
package/esm/index.d.ts
CHANGED
|
@@ -3,48 +3,47 @@ export { type ExportEntities, type FromEntities, type Profile, type ToExecutionR
|
|
|
3
3
|
export { yamlDatasetToDeclarative, buildAttributeLabels, buildAttributes, buildFacts, buildReferences, } from "./to/yamlDatasetToDeclarative.js";
|
|
4
4
|
export { yamlDateDatesetToDeclarative } from "./to/yamlDateDatasetToDeclarative.js";
|
|
5
5
|
export { yamlMetricToDeclarative } from "./to/yamlMetricToDeclarative.js";
|
|
6
|
-
export { yamlVisualisationToDeclarative, yamlVisualisationToMetadataObject, yamlBucketsToDeclarative, yamlFiltersToDeclarative, yamlReportToDeclarative, yamlReportTotalToDeclarative, yamlSortsToDeclarative, } from "./to/yamlVisualisationToDeclarative.js";
|
|
7
|
-
export { yamlDashboardToDeclarative, yamlFilterContextToDeclarative, yamlInteractionToDeclarative, yamlPluginsToDeclarative, yamlWidgetItemToDeclarative, yamlWidgetToDeclarative, } from "./to/yamlDashboardToDeclarative.js";
|
|
6
|
+
export { yamlVisualisationToDeclarative, yamlVisualisationToMetadataObject, yamlBucketsToDeclarative, yamlFiltersToDeclarative, yamlReportToDeclarative, yamlReportTotalToDeclarative, yamlSortsToDeclarative, type VisualisationDefinition, } from "./to/yamlVisualisationToDeclarative.js";
|
|
7
|
+
export { yamlDashboardToDeclarative, yamlFilterContextToDeclarative, yamlInteractionToDeclarative, yamlPluginsToDeclarative, yamlWidgetItemToDeclarative, yamlWidgetToDeclarative, type DashboardDefinition, type DashboardSection, type DashboardWidget, type EmptyValueHandling, type FilterContextDefinition, } from "./to/yamlDashboardToDeclarative.js";
|
|
8
8
|
export { yamlPluginToDeclarative } from "./to/yamlPluginToDeclarative.js";
|
|
9
9
|
export { yamlAttributeHierarchyToDeclarative } from "./to/yamlAttributeHierarchyToDeclarative.js";
|
|
10
10
|
export { declarativeDatasetToYaml } from "./from/declarativeDatasetToYaml.js";
|
|
11
11
|
export { declarativeDateInstanceToYaml } from "./from/declarativeDateInstanceToYaml.js";
|
|
12
12
|
export { declarativeMetricToYaml } from "./from/declarativeMetricToYaml.js";
|
|
13
|
-
export { declarativeVisualisationToYaml, declarativeVisTypeToYaml, declarativeAbsoluteDateFilterToYaml, declarativeArithmeticMetricToYaml, declarativeAttributeSortToYaml, declarativeAttributeToYaml, declarativeBucketsToYaml, declarativeFiltersToYaml, declarativeInlineMetricToYaml, declarativeMeasureSortToYaml, declarativeMeasureValueFilterToYaml, declarativeNegativeAttributeFilterToYaml, declarativeNormalMetricToYaml, declarativePoPMetricToYaml, declarativePreviousPeriodMetricToYaml, declarativePositiveAttributeFilterToYaml, declarativeRankingFilterToYaml, declarativeRelativeDateFilterToYaml, declarativeSortsToYaml, declarativeTotalToYaml, } from "./from/declarativeVisualisationToYaml.js";
|
|
13
|
+
export { declarativeVisualisationToYaml, declarativeVisTypeToYaml, declarativeAbsoluteDateFilterToYaml, declarativeArithmeticMetricToYaml, declarativeAttributeSortToYaml, declarativeAttributeToYaml, declarativeBucketsToYaml, declarativeFiltersToYaml, declarativeInlineMetricToYaml, declarativeMeasureSortToYaml, declarativeMeasureValueFilterToYaml, declarativeNegativeAttributeFilterToYaml, declarativeNormalMetricToYaml, declarativePoPMetricToYaml, declarativePreviousPeriodMetricToYaml, declarativePositiveAttributeFilterToYaml, declarativeRankingFilterToYaml, declarativeRelativeDateFilterToYaml, declarativeSortsToYaml, declarativeTotalToYaml, type YamlSorts, type YamlPostProcessors, type YamlBuckets, type YamlBucketGroup, type YamlBucketGroupItems, type YamlFieldData, type YamlFilterMapEntry, type YamlFilters, } from "./from/declarativeVisualisationToYaml.js";
|
|
14
14
|
export { declarativeDashboardToYaml, declarativeDrillToYaml, declarativeFilterContextToYaml, declarativeFiltersConfigToYaml, declarativePluginsToYaml, declarativeSectionsToYaml, declarativeTabsToYaml, declarativeWidgetToYaml, type FilterContextItem, type OverrideDashboardDefinition, } from "./from/declarativeDashboardToYaml.js";
|
|
15
15
|
export { declarativePluginToYaml } from "./from/declarativePluginToYaml.js";
|
|
16
16
|
export { declarativeAttributeHierarchyToYaml } from "./from/declarativeAttributeHierarchyToYaml.js";
|
|
17
17
|
export { buildAfmExecution } from "./execution/buildAfmExecution.js";
|
|
18
18
|
export { DatasetTypes, DateDatasetTypes, MetricTypes, DashboardTypes, PluginTypes, AttributeHierarchyTypes, VisualisationsTypes, AllTypes, } from "./conts.js";
|
|
19
|
-
export { table } from "./configs/table.js";
|
|
20
|
-
export { barChart } from "./configs/barChart.js";
|
|
21
|
-
export { columnChart } from "./configs/columnChart.js";
|
|
22
|
-
export { lineChart } from "./configs/lineChart.js";
|
|
23
|
-
export { areaChart } from "./configs/areaChart.js";
|
|
24
|
-
export { scatterChart } from "./configs/scatterChart.js";
|
|
25
|
-
export { bubbleChart } from "./configs/bubbleChart.js";
|
|
26
|
-
export { pieChart } from "./configs/pieChart.js";
|
|
27
|
-
export { donutChart } from "./configs/donutChart.js";
|
|
28
|
-
export { treemapChart } from "./configs/treemapChart.js";
|
|
29
|
-
export { pyramidChart } from "./configs/pyramidChart.js";
|
|
30
|
-
export { funnelChart } from "./configs/funnelChart.js";
|
|
31
|
-
export { heatmapChart } from "./configs/heatmapChart.js";
|
|
32
|
-
export { bulletChart } from "./configs/bulletChart.js";
|
|
33
|
-
export { waterfallChart } from "./configs/waterfallChart.js";
|
|
34
|
-
export { dependencyWheelChart } from "./configs/dependencyWheelChart.js";
|
|
35
|
-
export { sankeyChart } from "./configs/sankeyChart.js";
|
|
36
|
-
export { headlineChart } from "./configs/headlineChart.js";
|
|
37
|
-
export { comboChart } from "./configs/comboChart.js";
|
|
38
|
-
export { geoChart } from "./configs/geoChart.js";
|
|
39
|
-
export { geoAreaChart } from "./configs/geoAreaChart.js";
|
|
40
|
-
export { repeaterChart, type InlineVisualizations } from "./configs/repeaterChart.js";
|
|
19
|
+
export { table, tableLoad, tableSave, TABLE_DEFAULTS, type ITableConfig, type TableConfigProperties, } from "./configs/table.js";
|
|
20
|
+
export { barChart, barChartLoad, barChartSave, BAR_CHART_DEFAULTS, type IBarChartConfig, type BarChartConfigProperties, } from "./configs/barChart.js";
|
|
21
|
+
export { columnChart, columnChartLoad, columnChartSave, COLUMN_CHART_DEFAULTS, type IColumnChartConfig, type ColumnChartConfigProperties, } from "./configs/columnChart.js";
|
|
22
|
+
export { lineChart, lineChartLoad, lineChartSave, LINE_CHART_DEFAULTS, type ILineChartConfig, type LineChartConfigProperties, } from "./configs/lineChart.js";
|
|
23
|
+
export { areaChart, areaChartLoad, areaChartSave, AREA_CHART_DEFAULTS, type IAreaChartConfig, type AreaChartConfigProperties, } from "./configs/areaChart.js";
|
|
24
|
+
export { scatterChart, scatterChartLoad, scatterChartSave, SCATTER_CHART_DEFAULTS, type IScatterChartConfig, type ScatterChartConfigProperties, } from "./configs/scatterChart.js";
|
|
25
|
+
export { bubbleChart, bubbleChartLoad, bubbleChartSave, BUBBLE_CHART_DEFAULTS, type IBubbleChartConfig, type BubbleChartConfigProperties, } from "./configs/bubbleChart.js";
|
|
26
|
+
export { pieChart, pieChartLoad, pieChartSave, PIE_CHART_DEFAULTS, type IPieChartConfig, type PieChartConfigProperties, } from "./configs/pieChart.js";
|
|
27
|
+
export { donutChart, donutChartLoad, donutChartSave, DONUT_CHART_DEFAULTS, type IDonutChartConfig, type DonutChartConfigProperties, } from "./configs/donutChart.js";
|
|
28
|
+
export { treemapChart, treemapChartLoad, treemapChartSave, TREEMAP_CHART_DEFAULTS, type ITreemapChartConfig, type TreemapChartConfigProperties, } from "./configs/treemapChart.js";
|
|
29
|
+
export { pyramidChart, pyramidChartLoad, pyramidChartSave, PYRAMID_CHART_DEFAULTS, type IPyramidChartConfig, type PyramidChartConfigProperties, } from "./configs/pyramidChart.js";
|
|
30
|
+
export { funnelChart, funnelChartLoad, funnelChartSave, FUNNEL_CHART_DEFAULTS, type IFunnelChartConfig, type FunnelChartConfigProperties, } from "./configs/funnelChart.js";
|
|
31
|
+
export { heatmapChart, heatmapChartLoad, heatmapChartSave, HEATMAP_CHART_DEFAULTS, type IHeatmapChartConfig, type HeatmapChartConfigProperties, } from "./configs/heatmapChart.js";
|
|
32
|
+
export { bulletChart, bulletChartLoad, bulletChartSave, BULLET_CHART_DEFAULTS, type IBulletChartConfig, type BulletChartConfigProperties, } from "./configs/bulletChart.js";
|
|
33
|
+
export { waterfallChart, waterfallChartLoad, waterfallChartSave, WATERFALL_CHART_DEFAULTS, type IWaterfallChartConfig, type WaterfallChartConfigProperties, } from "./configs/waterfallChart.js";
|
|
34
|
+
export { dependencyWheelChart, dependencyWheelChartLoad, dependencyWheelChartSave, DEPENDENCY_WHEEL_CHART_DEFAULTS, type IDependencyWheelChartConfig, type DependencyWheelChartConfigProperties, } from "./configs/dependencyWheelChart.js";
|
|
35
|
+
export { sankeyChart, sankeyChartLoad, sankeyChartSave, SANKEY_CHART_DEFAULTS, type ISankeyChartConfig, type SankeyChartConfigProperties, } from "./configs/sankeyChart.js";
|
|
36
|
+
export { headlineChart, headlineChartLoad, headlineChartSave, HEADLINE_CHART_DEFAULTS, type IHeadlineChartConfig, type HeadlineChartConfigProperties, } from "./configs/headlineChart.js";
|
|
37
|
+
export { comboChart, comboChartLoad, comboChartSave, COMBO_CHART_DEFAULTS, type IComboChartConfig, type ComboChartConfigProperties, } from "./configs/comboChart.js";
|
|
38
|
+
export { geoChart, geoChartLoad, geoChartSave, GEO_CHART_DEFAULTS, type IGeoChartConfig, type GeoChartConfigProperties, } from "./configs/geoChart.js";
|
|
39
|
+
export { geoAreaChart, geoAreaChartLoad, geoAreaChartSave, GEO_AREA_CHART_DEFAULTS, type IGeoAreaChartConfig, type GeoAreaChartConfigProperties, } from "./configs/geoAreaChart.js";
|
|
40
|
+
export { repeaterChart, repeaterChartLoad, repeaterChartSave, REPEATER_CHART_DEFAULTS, saveInlineVisualizations, type IRepeaterChartConfig, type RepeaterChartConfigProperties, type InlineVisualizations, } from "./configs/repeaterChart.js";
|
|
41
41
|
export type { IChartFill as ChartFill, ChartFillType, ColorMapping, ColumnLocator, ColumnWidth, ColumnWidthItem, IAbsoluteColumnWidth, IAllMeasureColumnWidthItem, IAllMeasureColumnWidthItemBody, IAttributeColumnLocator, IAttributeColumnLocatorBody, IAttributeColumnWidthItem, IAttributeColumnWidthItemBody, IAutoColumnWidth, IMeasureColumnLocator, IMeasureColumnLocatorBody, IMeasureColumnWidthItem, IMeasureColumnWidthItemBody, IMixedValuesColumnWidthItem, IMixedValuesColumnWidthItemBody, ISliceMeasureColumnWidthItem, ISliceMeasureColumnWidthItemBody, ITotalColumnLocator, ITotalColumnLocatorBody, IWeakMeasureColumnWidthItem, IWeakMeasureColumnWidthItemBody, PatternFillName, PointShapeSymbol, } from "./configs/types.js";
|
|
42
|
-
export { getValueOrDefault, type VisualisationConfig, type ValueType } from "./configs/utils.js";
|
|
42
|
+
export { getValueOrDefault, type ConfigDefaults, type VisualisationConfig, type ValueType, } from "./configs/utils.js";
|
|
43
43
|
export { generateFileName, resolveIdFromFileName, type FileNamesUsed } from "./utils/nameUtils.js";
|
|
44
|
-
export { assertUnreachable, type FilePath } from "./utils/sharedUtils.js";
|
|
44
|
+
export { assertUnreachable, type FilePath, type FullFields } from "./utils/sharedUtils.js";
|
|
45
45
|
export { convertBucketToTitle } from "./utils/convertBucketToTitle.js";
|
|
46
46
|
export { createIdentifier, getIdentifier } from "./utils/yamlUtils.js";
|
|
47
47
|
export { type IErrorContext, type ICoreError, CoreErrorCode, CoreErrorTypes, CoreErrorMessages, } from "./utils/errors.js";
|
|
48
48
|
export { loadColorMapping, loadColumnsWidth, saveColorMapping, saveColumnWidths, } from "./utils/configUtils.js";
|
|
49
49
|
export { fromDeclarativePermissions, toDeclarativePermissions, type GenericAssigneePermission, type GenericAssigneeRulePermission, type GenericPermission, type Permissions, } from "./utils/permissionUtils.js";
|
|
50
|
-
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.js
CHANGED
|
@@ -22,29 +22,29 @@ export { buildAfmExecution } from "./execution/buildAfmExecution.js";
|
|
|
22
22
|
// Constants
|
|
23
23
|
export { DatasetTypes, DateDatasetTypes, MetricTypes, DashboardTypes, PluginTypes, AttributeHierarchyTypes, VisualisationsTypes, AllTypes, } from "./conts.js";
|
|
24
24
|
// Configs
|
|
25
|
-
export { table } from "./configs/table.js";
|
|
26
|
-
export { barChart } from "./configs/barChart.js";
|
|
27
|
-
export { columnChart } from "./configs/columnChart.js";
|
|
28
|
-
export { lineChart } from "./configs/lineChart.js";
|
|
29
|
-
export { areaChart } from "./configs/areaChart.js";
|
|
30
|
-
export { scatterChart } from "./configs/scatterChart.js";
|
|
31
|
-
export { bubbleChart } from "./configs/bubbleChart.js";
|
|
32
|
-
export { pieChart } from "./configs/pieChart.js";
|
|
33
|
-
export { donutChart } from "./configs/donutChart.js";
|
|
34
|
-
export { treemapChart } from "./configs/treemapChart.js";
|
|
35
|
-
export { pyramidChart } from "./configs/pyramidChart.js";
|
|
36
|
-
export { funnelChart } from "./configs/funnelChart.js";
|
|
37
|
-
export { heatmapChart } from "./configs/heatmapChart.js";
|
|
38
|
-
export { bulletChart } from "./configs/bulletChart.js";
|
|
39
|
-
export { waterfallChart } from "./configs/waterfallChart.js";
|
|
40
|
-
export { dependencyWheelChart } from "./configs/dependencyWheelChart.js";
|
|
41
|
-
export { sankeyChart } from "./configs/sankeyChart.js";
|
|
42
|
-
export { headlineChart } from "./configs/headlineChart.js";
|
|
43
|
-
export { comboChart } from "./configs/comboChart.js";
|
|
44
|
-
export { geoChart } from "./configs/geoChart.js";
|
|
45
|
-
export { geoAreaChart } from "./configs/geoAreaChart.js";
|
|
46
|
-
export { repeaterChart } from "./configs/repeaterChart.js";
|
|
47
|
-
export { getValueOrDefault } from "./configs/utils.js";
|
|
25
|
+
export { table, tableLoad, tableSave, TABLE_DEFAULTS, } from "./configs/table.js";
|
|
26
|
+
export { barChart, barChartLoad, barChartSave, BAR_CHART_DEFAULTS, } from "./configs/barChart.js";
|
|
27
|
+
export { columnChart, columnChartLoad, columnChartSave, COLUMN_CHART_DEFAULTS, } from "./configs/columnChart.js";
|
|
28
|
+
export { lineChart, lineChartLoad, lineChartSave, LINE_CHART_DEFAULTS, } from "./configs/lineChart.js";
|
|
29
|
+
export { areaChart, areaChartLoad, areaChartSave, AREA_CHART_DEFAULTS, } from "./configs/areaChart.js";
|
|
30
|
+
export { scatterChart, scatterChartLoad, scatterChartSave, SCATTER_CHART_DEFAULTS, } from "./configs/scatterChart.js";
|
|
31
|
+
export { bubbleChart, bubbleChartLoad, bubbleChartSave, BUBBLE_CHART_DEFAULTS, } from "./configs/bubbleChart.js";
|
|
32
|
+
export { pieChart, pieChartLoad, pieChartSave, PIE_CHART_DEFAULTS, } from "./configs/pieChart.js";
|
|
33
|
+
export { donutChart, donutChartLoad, donutChartSave, DONUT_CHART_DEFAULTS, } from "./configs/donutChart.js";
|
|
34
|
+
export { treemapChart, treemapChartLoad, treemapChartSave, TREEMAP_CHART_DEFAULTS, } from "./configs/treemapChart.js";
|
|
35
|
+
export { pyramidChart, pyramidChartLoad, pyramidChartSave, PYRAMID_CHART_DEFAULTS, } from "./configs/pyramidChart.js";
|
|
36
|
+
export { funnelChart, funnelChartLoad, funnelChartSave, FUNNEL_CHART_DEFAULTS, } from "./configs/funnelChart.js";
|
|
37
|
+
export { heatmapChart, heatmapChartLoad, heatmapChartSave, HEATMAP_CHART_DEFAULTS, } from "./configs/heatmapChart.js";
|
|
38
|
+
export { bulletChart, bulletChartLoad, bulletChartSave, BULLET_CHART_DEFAULTS, } from "./configs/bulletChart.js";
|
|
39
|
+
export { waterfallChart, waterfallChartLoad, waterfallChartSave, WATERFALL_CHART_DEFAULTS, } from "./configs/waterfallChart.js";
|
|
40
|
+
export { dependencyWheelChart, dependencyWheelChartLoad, dependencyWheelChartSave, DEPENDENCY_WHEEL_CHART_DEFAULTS, } from "./configs/dependencyWheelChart.js";
|
|
41
|
+
export { sankeyChart, sankeyChartLoad, sankeyChartSave, SANKEY_CHART_DEFAULTS, } from "./configs/sankeyChart.js";
|
|
42
|
+
export { headlineChart, headlineChartLoad, headlineChartSave, HEADLINE_CHART_DEFAULTS, } from "./configs/headlineChart.js";
|
|
43
|
+
export { comboChart, comboChartLoad, comboChartSave, COMBO_CHART_DEFAULTS, } from "./configs/comboChart.js";
|
|
44
|
+
export { geoChart, geoChartLoad, geoChartSave, GEO_CHART_DEFAULTS, } from "./configs/geoChart.js";
|
|
45
|
+
export { geoAreaChart, geoAreaChartLoad, geoAreaChartSave, GEO_AREA_CHART_DEFAULTS, } from "./configs/geoAreaChart.js";
|
|
46
|
+
export { repeaterChart, repeaterChartLoad, repeaterChartSave, REPEATER_CHART_DEFAULTS, saveInlineVisualizations, } from "./configs/repeaterChart.js";
|
|
47
|
+
export { getValueOrDefault, } from "./configs/utils.js";
|
|
48
48
|
// Utils needed by orchestrators
|
|
49
49
|
export { generateFileName, resolveIdFromFileName } from "./utils/nameUtils.js";
|
|
50
50
|
export { assertUnreachable } from "./utils/sharedUtils.js";
|
|
@@ -53,4 +53,3 @@ export { createIdentifier, getIdentifier } from "./utils/yamlUtils.js";
|
|
|
53
53
|
export { CoreErrorCode, CoreErrorTypes, CoreErrorMessages, } from "./utils/errors.js";
|
|
54
54
|
export { loadColorMapping, loadColumnsWidth, saveColorMapping, saveColumnWidths, } from "./utils/configUtils.js";
|
|
55
55
|
export { fromDeclarativePermissions, toDeclarativePermissions, } from "./utils/permissionUtils.js";
|
|
56
|
-
//# sourceMappingURL=index.js.map
|
package/esm/schemas/types.d.ts
CHANGED
package/esm/schemas/types.js
CHANGED