@gooddata/sdk-code-convertors 11.28.0-alpha.2 → 11.28.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.
Files changed (43) hide show
  1. package/esm/configs/headlineChart.d.ts.map +1 -1
  2. package/esm/configs/headlineChart.js +2 -2
  3. package/esm/configs/headlineChart.js.map +1 -1
  4. package/esm/configs/utils.d.ts +3 -0
  5. package/esm/configs/utils.d.ts.map +1 -1
  6. package/esm/configs/utils.js +1 -0
  7. package/esm/configs/utils.js.map +1 -1
  8. package/esm/from/declarativeDashboardToYaml.d.ts.map +1 -1
  9. package/esm/from/declarativeDashboardToYaml.js +9 -1
  10. package/esm/from/declarativeDashboardToYaml.js.map +1 -1
  11. package/esm/index.d.ts +36 -5
  12. package/esm/index.d.ts.map +1 -1
  13. package/esm/index.js +38 -5
  14. package/esm/index.js.map +1 -1
  15. package/esm/sdk-code-convertors.d.ts +2139 -0
  16. package/esm/to/yamlDashboardToDeclarative.d.ts.map +1 -1
  17. package/esm/to/yamlDashboardToDeclarative.js +5 -4
  18. package/esm/to/yamlDashboardToDeclarative.js.map +1 -1
  19. package/esm/utils/configUtils.d.ts +4 -0
  20. package/esm/utils/configUtils.d.ts.map +1 -1
  21. package/esm/utils/configUtils.js +4 -0
  22. package/esm/utils/configUtils.js.map +1 -1
  23. package/esm/utils/convertBucketToTitle.d.ts +1 -0
  24. package/esm/utils/convertBucketToTitle.d.ts.map +1 -1
  25. package/esm/utils/convertBucketToTitle.js +1 -0
  26. package/esm/utils/convertBucketToTitle.js.map +1 -1
  27. package/esm/utils/nameUtils.d.ts +3 -0
  28. package/esm/utils/nameUtils.d.ts.map +1 -1
  29. package/esm/utils/nameUtils.js +2 -0
  30. package/esm/utils/nameUtils.js.map +1 -1
  31. package/esm/utils/permissionUtils.d.ts +10 -5
  32. package/esm/utils/permissionUtils.d.ts.map +1 -1
  33. package/esm/utils/permissionUtils.js +2 -0
  34. package/esm/utils/permissionUtils.js.map +1 -1
  35. package/esm/utils/sharedUtils.d.ts +4 -1
  36. package/esm/utils/sharedUtils.d.ts.map +1 -1
  37. package/esm/utils/sharedUtils.js +14 -0
  38. package/esm/utils/sharedUtils.js.map +1 -1
  39. package/esm/utils/yamlUtils.d.ts +2 -0
  40. package/esm/utils/yamlUtils.d.ts.map +1 -1
  41. package/esm/utils/yamlUtils.js +2 -0
  42. package/esm/utils/yamlUtils.js.map +1 -1
  43. package/package.json +6 -6
@@ -1,27 +1,95 @@
1
1
  import { AfmExecution } from '@gooddata/api-client-tiger';
2
2
  import { AfmObjectIdentifier } from '@gooddata/api-client-tiger';
3
+ import type { ArithmeticMetricField } from '@gooddata/sdk-code-schemas/v1';
4
+ import type { Attribute } from '@gooddata/sdk-code-schemas/v1';
5
+ import type { AttributeField } from '@gooddata/sdk-code-schemas/v1';
3
6
  import type { AttributeHierarchy } from '@gooddata/sdk-code-schemas/v1';
7
+ import type { Bucket } from '@gooddata/sdk-code-schemas/v1';
8
+ import type { CalculatedMetricField } from '@gooddata/sdk-code-schemas/v1';
9
+ import type { Color } from '@gooddata/sdk-code-schemas/v1';
10
+ import type { ContainerWidget } from '@gooddata/sdk-code-schemas/v1';
4
11
  import type { Dashboard } from '@gooddata/sdk-code-schemas/v1';
5
12
  import type { DashboardFilters } from '@gooddata/sdk-code-schemas/v1';
6
13
  import type { Dataset } from '@gooddata/sdk-code-schemas/v1';
7
14
  import type { DateDataset } from '@gooddata/sdk-code-schemas/v1';
8
15
  import { DeclarativeAnalyticalDashboard } from '@gooddata/api-client-tiger';
16
+ import { DeclarativeAttribute } from '@gooddata/api-client-tiger';
9
17
  import { DeclarativeAttributeHierarchy } from '@gooddata/api-client-tiger';
10
18
  import { DeclarativeDashboardPlugin } from '@gooddata/api-client-tiger';
11
19
  import { DeclarativeDataset } from '@gooddata/api-client-tiger';
12
20
  import { DeclarativeDateDataset } from '@gooddata/api-client-tiger';
21
+ import { DeclarativeFact } from '@gooddata/api-client-tiger';
13
22
  import { DeclarativeFilterContext } from '@gooddata/api-client-tiger';
23
+ import { DeclarativeLabel } from '@gooddata/api-client-tiger';
14
24
  import { DeclarativeMetric } from '@gooddata/api-client-tiger';
25
+ import { DeclarativeReference } from '@gooddata/api-client-tiger';
15
26
  import { DeclarativeTable } from '@gooddata/api-client-tiger';
16
27
  import { DeclarativeVisualizationObject } from '@gooddata/api-client-tiger';
28
+ import type { Fields } from '@gooddata/sdk-code-schemas/v1';
29
+ import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
30
+ import { IArithmeticMeasureDefinition } from '@gooddata/sdk-model';
31
+ import { IAttributeBody } from '@gooddata/sdk-model';
32
+ import { IAttributeFilterConfigs } from '@gooddata/sdk-model';
33
+ import { IAttributeSortItem } from '@gooddata/sdk-model';
34
+ import { IBucket } from '@gooddata/sdk-model';
35
+ import { IDashboardAttributeFilterConfig } from '@gooddata/sdk-model';
36
+ import { IDashboardDateFilterConfig } from '@gooddata/sdk-model';
37
+ import { IDashboardDateFilterConfigItem } from '@gooddata/sdk-model';
17
38
  import { IDashboardDefinition } from '@gooddata/sdk-model';
18
39
  import { IDashboardFilterGroupsConfig } from '@gooddata/sdk-model';
40
+ import { IDashboardLayout } from '@gooddata/sdk-model';
41
+ import { IDashboardLayoutItem } from '@gooddata/sdk-model';
42
+ import { IDashboardPluginLink } from '@gooddata/sdk-model';
43
+ import { IDashboardWidget } from '@gooddata/sdk-model';
44
+ import { IDrillToAttributeUrl } from '@gooddata/sdk-model';
45
+ import { IDrillToCustomUrl } from '@gooddata/sdk-model';
46
+ import { IDrillToDashboard } from '@gooddata/sdk-model';
47
+ import { IDrillToInsight } from '@gooddata/sdk-model';
48
+ import { IFilter } from '@gooddata/sdk-model';
49
+ import { IFilterContextDefinition } from '@gooddata/sdk-model';
50
+ import { IInlineMeasureDefinition } from '@gooddata/sdk-model';
51
+ import { IInsight } from '@gooddata/sdk-model';
52
+ import { IInsightDefinition } from '@gooddata/sdk-model';
53
+ import { IMeasureBody } from '@gooddata/sdk-model';
54
+ import { IMeasureDefinition } from '@gooddata/sdk-model';
55
+ import { IMeasureSortItem } from '@gooddata/sdk-model';
56
+ import { IMeasureValueFilterBody } from '@gooddata/sdk-model';
57
+ import { INegativeAttributeFilterBody } from '@gooddata/sdk-model';
58
+ import type { InlineMetricField } from '@gooddata/sdk-code-schemas/v1';
59
+ import { InsightDrillDefinition } from '@gooddata/sdk-model';
60
+ import type { Interaction } from '@gooddata/sdk-code-schemas/v1';
61
+ import { IPoPMeasureDefinition } from '@gooddata/sdk-model';
62
+ import { IPositiveAttributeFilterBody } from '@gooddata/sdk-model';
63
+ import { IPreviousPeriodMeasureDefinition } from '@gooddata/sdk-model';
64
+ import { IRankingFilterBody } from '@gooddata/sdk-model';
65
+ import { IRelativeDateFilter } from '@gooddata/sdk-model';
66
+ import { ISortItem } from '@gooddata/sdk-model';
67
+ import { ITotal } from '@gooddata/sdk-model';
68
+ import type { ListOfColors } from '@gooddata/sdk-code-schemas/v1';
19
69
  import type { Metadata } from '@gooddata/sdk-code-schemas/v1';
20
70
  import type { Metric } from '@gooddata/sdk-code-schemas/v1';
71
+ import type { MetricField } from '@gooddata/sdk-code-schemas/v1';
72
+ import { ObjRef } from '@gooddata/sdk-model';
73
+ import { ObjRefInScope } from '@gooddata/sdk-model';
74
+ import { Pair } from 'yaml';
75
+ import { Permission } from '@gooddata/sdk-code-schemas/v1';
21
76
  import type { Plugin as Plugin_2 } from '@gooddata/sdk-code-schemas/v1';
77
+ import type { PoPMetricField } from '@gooddata/sdk-code-schemas/v1';
78
+ import type { PreviousPeriodMetricField } from '@gooddata/sdk-code-schemas/v1';
22
79
  import type { Query } from '@gooddata/sdk-code-schemas/v1';
80
+ import type { QueryFilters } from '@gooddata/sdk-code-schemas/v1';
81
+ import type { RichTextWidget } from '@gooddata/sdk-code-schemas/v1';
82
+ import { Scalar } from 'yaml';
23
83
  import type { Section } from '@gooddata/sdk-code-schemas/v1';
84
+ import type { Sorts } from '@gooddata/sdk-code-schemas/v1';
85
+ import type { Total } from '@gooddata/sdk-code-schemas/v1';
24
86
  import type { Visualisation } from '@gooddata/sdk-code-schemas/v1';
87
+ import type { VisualisationWidget } from '@gooddata/sdk-code-schemas/v1';
88
+ import type { VisualizationSwitcherWidget } from '@gooddata/sdk-code-schemas/v1';
89
+ import type { Widget } from '@gooddata/sdk-code-schemas/v1';
90
+ import type { Width } from '@gooddata/sdk-code-schemas/v1';
91
+ import { YAMLMap } from 'yaml';
92
+ import { YAMLSeq } from 'yaml';
25
93
 
26
94
  /** @public */
27
95
  export declare type AacAttributeHierarchy = AttributeHierarchy;
@@ -56,6 +124,50 @@ export declare type AacSection = Section;
56
124
  /** @public */
57
125
  export declare type AacVisualisation = Visualisation;
58
126
 
127
+ export declare const AllTypes: string[];
128
+
129
+ export declare const areaChart: {
130
+ load: typeof load_5;
131
+ save: typeof save_5;
132
+ DEFAULTS: ConfigDefaults<DefaultProperties_5>;
133
+ };
134
+
135
+ /** @public */
136
+ export declare function assertUnreachable(x: never): never;
137
+
138
+ export declare const AttributeHierarchyTypes: string[];
139
+
140
+ export declare const barChart: {
141
+ load: typeof load_2;
142
+ save: typeof save_2;
143
+ DEFAULTS: ConfigDefaults<DefaultProperties_2>;
144
+ };
145
+
146
+ export declare const bubbleChart: {
147
+ load: typeof load_7;
148
+ save: typeof save_7;
149
+ DEFAULTS: ConfigDefaults<DefaultProperties_7>;
150
+ };
151
+
152
+ declare type BucketGroup = {
153
+ type: BucketsType;
154
+ items: BucketGroupItems;
155
+ };
156
+
157
+ declare type BucketGroupItems = Array<{
158
+ field: string;
159
+ format?: string;
160
+ totals?: YAMLMap[];
161
+ axis?: "primary" | "secondary";
162
+ display_as?: "metric" | "line" | "column";
163
+ } | null>;
164
+
165
+ declare type Buckets = {
166
+ fieldsMap: YAMLMap;
167
+ groups: BucketGroup[];
168
+ postProcessors: PostProcessors;
169
+ };
170
+
59
171
  /** @public */
60
172
  export declare enum BucketsType {
61
173
  Measures = "measures",
@@ -78,6 +190,91 @@ export declare enum BucketsType {
78
190
  /** @public */
79
191
  export declare function buildAfmExecution(entities: ExportEntities, query: Query): ToExecutionResults;
80
192
 
193
+ /**
194
+ * Build declarative attribute labels out of AaC labels
195
+ */
196
+ export declare function buildAttributeLabels(labels?: Attribute["labels"]): DeclarativeLabel[];
197
+
198
+ /**
199
+ * Build declarative attributes out of AaC fields
200
+ */
201
+ export declare function buildAttributes(fields?: Fields): DeclarativeAttribute[];
202
+
203
+ /**
204
+ * Build declarative facts out of AaC fields
205
+ */
206
+ export declare function buildFacts(fields?: Fields): DeclarativeFact[];
207
+
208
+ /**
209
+ * Build declarative references
210
+ */
211
+ export declare function buildReferences(entities: ExportEntities, refs?: Dataset["references"]): DeclarativeReference[];
212
+
213
+ export declare const bulletChart: {
214
+ load: typeof load_14;
215
+ save: typeof save_14;
216
+ DEFAULTS: ConfigDefaults<DefaultProperties_14>;
217
+ };
218
+
219
+ export declare interface ChartFill {
220
+ type: ChartFillType;
221
+ measureToPatternName?: Record<string, PatternFillName>;
222
+ }
223
+
224
+ export declare type ChartFillType = "solid" | "pattern" | "outline";
225
+
226
+ export declare type ColorMapping = {
227
+ id: string;
228
+ color: {
229
+ type: "guid";
230
+ value: string;
231
+ } | {
232
+ type: "rgb";
233
+ value: {
234
+ r: number;
235
+ g: number;
236
+ b: number;
237
+ };
238
+ };
239
+ };
240
+
241
+ export declare const columnChart: {
242
+ load: typeof load_3;
243
+ save: typeof save_3;
244
+ DEFAULTS: ConfigDefaults<DefaultProperties_3>;
245
+ };
246
+
247
+ export declare type ColumnLocator = IAttributeColumnLocator | IMeasureColumnLocator | ITotalColumnLocator;
248
+
249
+ export declare type ColumnWidth = IAbsoluteColumnWidth | IAutoColumnWidth;
250
+
251
+ export declare type ColumnWidthItem = IAttributeColumnWidthItem | IMeasureColumnWidthItem | ISliceMeasureColumnWidthItem | IMixedValuesColumnWidthItem | IAllMeasureColumnWidthItem | IWeakMeasureColumnWidthItem;
252
+
253
+ export declare const comboChart: {
254
+ load: typeof load_19;
255
+ save: typeof save_19;
256
+ DEFAULTS: ConfigDefaults<DefaultProperties_19>;
257
+ };
258
+
259
+ declare type ConfigDefaults<T> = {
260
+ [key in keyof T]: T[key];
261
+ };
262
+
263
+ /** @public */
264
+ export declare function convertBucketToTitle(entities: ExportEntities, query: Query, field: FullFields, location?: boolean): string | null;
265
+
266
+ /** @public */
267
+ export declare function createIdentifier<T = AfmObjectIdentifier>(data: string, { forceMetric, forceType }?: {
268
+ forceMetric?: boolean;
269
+ forceType?: "user" | "userGroup" | "dataset" | "date" | "attribute" | "label" | "measure" | "workspaceDataFilter" | "visualizationObject" | "analyticalDashboard" | "dashboardPlugin" | "filterContext";
270
+ }): T | null;
271
+
272
+ declare type DashboardDefinition = Pick<OverrideDashboardDefinition, "layout" | "plugins" | "dateFilterConfig" | "dateFilterConfigs" | "disableCrossFiltering" | "disableUserFilterSave" | "disableUserFilterReset" | "disableFilterViews" | "attributeFilterConfigs" | "filterContextRef" | "tabs" | "activeTabLocalIdentifier"> & {
273
+ version: string;
274
+ };
275
+
276
+ declare type DashboardSection = Required<DashboardDefinition>["layout"]["sections"][number];
277
+
81
278
  /** @public */
82
279
  export declare type DashboardTab = {
83
280
  localIdentifier: string;
@@ -90,12 +287,30 @@ export declare type DashboardTab = {
90
287
  filterGroupsConfig?: IDashboardFilterGroupsConfig;
91
288
  };
92
289
 
290
+ export declare const DashboardTypes: string[];
291
+
292
+ declare type DashboardWidget = DashboardSection["items"][number];
293
+
294
+ export declare const DatasetTypes: string[];
295
+
296
+ export declare const DateDatasetTypes: string[];
297
+
298
+ export declare function declarativeAbsoluteDateFilterToYaml(absoluteDateFilter: IAbsoluteDateFilter["absoluteDateFilter"], connectedAttributeFilters: IFilter[] | undefined, entities: FromEntities, getUniqueKey: (baseKey: string) => string): YAMLMap;
299
+
300
+ export declare function declarativeArithmeticMetricToYaml(def: IMeasureBody, arithmeticDefinition: IArithmeticMeasureDefinition): YAMLMap;
301
+
93
302
  /** @public */
94
303
  export declare function declarativeAttributeHierarchyToYaml(hierarchy: DeclarativeAttributeHierarchy): {
95
304
  content: string;
96
305
  json: AttributeHierarchy;
97
306
  };
98
307
 
308
+ export declare function declarativeAttributeSortToYaml(sort: IAttributeSortItem): YAMLMap;
309
+
310
+ export declare function declarativeAttributeToYaml(def: IAttributeBody): YAMLMap;
311
+
312
+ export declare function declarativeBucketsToYaml(entities: FromEntities, buckets: IBucket[]): Buckets;
313
+
99
314
  /** @public */
100
315
  export declare function declarativeDashboardToYaml(entities: FromEntities, dashboard: DeclarativeAnalyticalDashboard, filterContexts?: DeclarativeFilterContext[]): {
101
316
  content: string;
@@ -114,24 +329,816 @@ export declare function declarativeDateInstanceToYaml(dataset: DeclarativeDateDa
114
329
  json: DateDataset;
115
330
  };
116
331
 
332
+ export declare function declarativeDrillToYaml(drill: InsightDrillDefinition, entities?: FromEntities, sourceVisualizationId?: string): YAMLMap<unknown, unknown>;
333
+
334
+ export declare function declarativeFilterContextToYaml(dateFilterConfig?: IDashboardDateFilterConfig, filterContext?: DeclarativeFilterContext): {
335
+ filters: YAMLMap<unknown, unknown>;
336
+ filtersMap: {
337
+ [key: string]: FilterContextItem;
338
+ };
339
+ };
340
+
341
+ export declare function declarativeFiltersConfigToYaml(filtersMap: Record<string, FilterContextItem>, dateFilterConfig?: IDashboardDateFilterConfig, dateFilterConfigs?: IDashboardDateFilterConfigItem[], attributeFilterConfigs?: IDashboardAttributeFilterConfig[]): void;
342
+
343
+ export declare function declarativeFiltersToYaml(entities: FromEntities, filters: IFilter[]): Filters;
344
+
345
+ export declare function declarativeInlineMetricToYaml(def: IMeasureBody, inlineDef: IInlineMeasureDefinition): YAMLMap;
346
+
347
+ export declare function declarativeMeasureSortToYaml(sort: IMeasureSortItem): YAMLMap;
348
+
349
+ export declare function declarativeMeasureValueFilterToYaml(measureValueFilter: IMeasureValueFilterBody): YAMLMap;
350
+
117
351
  /** @public */
118
352
  export declare function declarativeMetricToYaml(metric: DeclarativeMetric): {
119
353
  content: string;
120
354
  json: Metric;
121
355
  };
122
356
 
357
+ export declare function declarativeNegativeAttributeFilterToYaml(entities: FromEntities, attributeFilter: INegativeAttributeFilterBody): YAMLMap;
358
+
359
+ export declare function declarativeNormalMetricToYaml(def: IMeasureBody, metricDefinition: IMeasureDefinition, postProcessors: PostProcessors): YAMLMap;
360
+
361
+ export declare function declarativePluginsToYaml(dashboard: IDashboardDefinition): YAMLSeq<unknown> | undefined;
362
+
123
363
  /** @public */
124
364
  export declare function declarativePluginToYaml(plugin: DeclarativeDashboardPlugin): {
125
365
  content: string;
126
366
  json: Plugin_2;
127
367
  };
128
368
 
369
+ export declare function declarativePoPMetricToYaml(def: IMeasureBody, popDefinition: IPoPMeasureDefinition): YAMLMap;
370
+
371
+ export declare function declarativePositiveAttributeFilterToYaml(entities: FromEntities, attributeFilter: IPositiveAttributeFilterBody): YAMLMap;
372
+
373
+ export declare function declarativePreviousPeriodMetricToYaml(def: IMeasureBody, previousDefinition: IPreviousPeriodMeasureDefinition): YAMLMap;
374
+
375
+ export declare function declarativeRankingFilterToYaml(rankingFilter: IRankingFilterBody): YAMLMap;
376
+
377
+ export declare function declarativeRelativeDateFilterToYaml(relativeDateFilter: IRelativeDateFilter["relativeDateFilter"], connectedAttributeFilters: IFilter[] | undefined, entities: FromEntities, getUniqueKey: (baseKey: string) => string): YAMLMap;
378
+
379
+ export declare function declarativeSectionsToYaml(layout?: IDashboardLayout, entities?: FromEntities): YAMLSeq<unknown> | undefined;
380
+
381
+ export declare function declarativeSortsToYaml(sorts: ISortItem[]): Sorts_2;
382
+
383
+ export declare function declarativeTabsToYaml(tabs: DashboardTab[], filterContexts?: DeclarativeFilterContext[], entities?: FromEntities): YAMLSeq | undefined;
384
+
385
+ export declare function declarativeTotalToYaml(total: ITotal): {
386
+ totalMap: YAMLMap<unknown, unknown>;
387
+ attribute: string;
388
+ };
389
+
390
+ export declare function declarativeVisTypeToYaml(def: IInsightDefinition["insight"]): string | null;
391
+
129
392
  /** @public */
130
393
  export declare function declarativeVisualisationToYaml(entities: FromEntities, visualisation: DeclarativeVisualizationObject): {
131
394
  content: string;
132
395
  json?: Visualisation;
133
396
  };
134
397
 
398
+ export declare function declarativeWidgetToYaml(widget?: IDashboardWidget | null, size?: IDashboardLayoutItem["size"], entities?: FromEntities): YAMLMap<unknown, unknown> | undefined;
399
+
400
+ declare type DefaultProperties = {
401
+ columnWidths: Array<ColumnWidthItem>;
402
+ measureGroupDimension: "columns" | "rows";
403
+ columnHeadersPosition: "top" | "left";
404
+ disableDrillDown: boolean;
405
+ disableDrillIntoURL: boolean;
406
+ disableAlerts: boolean;
407
+ disableScheduledExports: boolean;
408
+ textWrapping: {
409
+ wrapText: boolean;
410
+ wrapHeaderText: boolean;
411
+ columnOverrides: Array<{
412
+ locators: ColumnLocator[];
413
+ wrapText: boolean;
414
+ wrapHeaderText: boolean;
415
+ matchType: "column" | "pivotGroup";
416
+ }>;
417
+ };
418
+ enableAccessibility: boolean;
419
+ pagination: {
420
+ enabled: boolean;
421
+ };
422
+ pageSize: number;
423
+ grandTotalsPosition: "pinnedBottom" | "pinnedTop" | "bottom" | "top";
424
+ };
425
+
426
+ declare type DefaultProperties_10 = {
427
+ colorMapping: Array<ColorMapping>;
428
+ dataLabels: {
429
+ visible: boolean | "auto";
430
+ style: "auto" | "backplate";
431
+ };
432
+ chartFill: {
433
+ type: ChartFillType;
434
+ measureToPatternName?: Record<string, PatternFillName>;
435
+ };
436
+ legend: {
437
+ enabled: boolean;
438
+ position: "top" | "bottom" | "left" | "right" | "auto";
439
+ };
440
+ disableDrillDown: boolean;
441
+ disableAlerts: boolean;
442
+ disableScheduledExports: boolean;
443
+ };
444
+
445
+ declare type DefaultProperties_11 = {
446
+ colorMapping: Array<ColorMapping>;
447
+ dataLabels: {
448
+ visible: boolean | "auto";
449
+ style: "auto" | "backplate";
450
+ };
451
+ chartFill: {
452
+ type: ChartFillType;
453
+ measureToPatternName?: Record<string, PatternFillName>;
454
+ };
455
+ legend: {
456
+ enabled: boolean;
457
+ position: "top" | "bottom" | "left" | "right" | "auto";
458
+ };
459
+ disableDrillDown: boolean;
460
+ disableAlerts: boolean;
461
+ disableScheduledExports: boolean;
462
+ };
463
+
464
+ declare type DefaultProperties_12 = {
465
+ colorMapping: Array<ColorMapping>;
466
+ dataLabels: {
467
+ visible: boolean | "auto";
468
+ style: "auto" | "backplate";
469
+ };
470
+ chartFill: {
471
+ type: ChartFillType;
472
+ measureToPatternName?: Record<string, PatternFillName>;
473
+ };
474
+ legend: {
475
+ enabled: boolean;
476
+ position: "top" | "bottom" | "left" | "right" | "auto";
477
+ };
478
+ disableDrillDown: boolean;
479
+ disableAlerts: boolean;
480
+ disableScheduledExports: boolean;
481
+ };
482
+
483
+ declare type DefaultProperties_13 = {
484
+ colorMapping: Array<ColorMapping>;
485
+ dataLabels: {
486
+ visible: boolean | "auto";
487
+ style: "auto" | "backplate";
488
+ };
489
+ legend: {
490
+ enabled: boolean;
491
+ position: "top" | "bottom" | "left" | "right" | "auto";
492
+ };
493
+ xaxis: {
494
+ name: {
495
+ visible: boolean;
496
+ position: "center" | "left" | "right" | "auto";
497
+ };
498
+ labelsEnabled: boolean;
499
+ rotation: "0" | "30" | "60" | "90" | "auto";
500
+ visible: boolean;
501
+ };
502
+ yaxis: {
503
+ name: {
504
+ visible: boolean;
505
+ position: "center" | "left" | "right" | "auto";
506
+ };
507
+ labelsEnabled: boolean;
508
+ rotation: "0" | "30" | "60" | "90" | "auto";
509
+ visible: boolean;
510
+ };
511
+ disableDrillDown: boolean;
512
+ disableAlerts: boolean;
513
+ disableScheduledExports: boolean;
514
+ };
515
+
516
+ declare type DefaultProperties_14 = {
517
+ colorMapping: Array<ColorMapping>;
518
+ legend: {
519
+ enabled: boolean;
520
+ position: "top" | "bottom" | "left" | "right" | "auto";
521
+ };
522
+ chartFill: {
523
+ type: ChartFillType;
524
+ measureToPatternName?: Record<string, PatternFillName>;
525
+ };
526
+ xaxis: {
527
+ format: "inherit" | "auto";
528
+ max: number | string;
529
+ min: number | string;
530
+ name: {
531
+ visible: boolean;
532
+ position: "center" | "left" | "right" | "auto";
533
+ };
534
+ labelsEnabled: boolean;
535
+ rotation: "0" | "30" | "60" | "90" | "auto";
536
+ visible: boolean;
537
+ };
538
+ yaxis: {
539
+ name: {
540
+ visible: boolean;
541
+ position: "center" | "left" | "right" | "auto";
542
+ };
543
+ labelsEnabled: boolean;
544
+ rotation: "0" | "30" | "60" | "90" | "auto";
545
+ visible: boolean;
546
+ };
547
+ grid: {
548
+ enabled: boolean;
549
+ };
550
+ disableDrillDown: boolean;
551
+ disableAlerts: boolean;
552
+ disableScheduledExports: boolean;
553
+ };
554
+
555
+ declare type DefaultProperties_15 = {
556
+ colorMapping: Array<ColorMapping>;
557
+ dataLabels: {
558
+ visible: boolean | "auto";
559
+ style: "auto" | "backplate";
560
+ };
561
+ chartFill: {
562
+ type: ChartFillType;
563
+ measureToPatternName?: Record<string, PatternFillName>;
564
+ };
565
+ orientation: {
566
+ position: "horizontal" | "vertical";
567
+ };
568
+ total: {
569
+ enabled: boolean;
570
+ name: string;
571
+ };
572
+ legend: {
573
+ enabled: boolean;
574
+ position: "top" | "bottom" | "left" | "right" | "auto";
575
+ };
576
+ xaxis: {
577
+ format: "inherit" | "auto";
578
+ max: number | string;
579
+ min: number | string;
580
+ name: {
581
+ visible: boolean;
582
+ position: "center" | "left" | "right" | "auto";
583
+ };
584
+ labelsEnabled: boolean;
585
+ rotation: "0" | "30" | "60" | "90" | "auto";
586
+ visible: boolean;
587
+ };
588
+ yaxis: {
589
+ name: {
590
+ visible: boolean;
591
+ position: "center" | "left" | "right" | "auto";
592
+ };
593
+ labelsEnabled: boolean;
594
+ rotation: "0" | "30" | "60" | "90" | "auto";
595
+ visible: boolean;
596
+ };
597
+ grid: {
598
+ enabled: boolean;
599
+ };
600
+ disableDrillDown: boolean;
601
+ disableAlerts: boolean;
602
+ disableScheduledExports: boolean;
603
+ };
604
+
605
+ declare type DefaultProperties_16 = {
606
+ colorMapping: Array<ColorMapping>;
607
+ dataLabels: {
608
+ visible: boolean | "auto";
609
+ };
610
+ legend: {
611
+ enabled: boolean;
612
+ position: "top" | "bottom" | "left" | "right" | "auto";
613
+ };
614
+ disableDrillDown: boolean;
615
+ disableAlerts: boolean;
616
+ disableScheduledExports: boolean;
617
+ };
618
+
619
+ declare type DefaultProperties_17 = {
620
+ colorMapping: Array<ColorMapping>;
621
+ dataLabels: {
622
+ visible: boolean | "auto";
623
+ style: "auto" | "backplate";
624
+ };
625
+ legend: {
626
+ enabled: boolean;
627
+ position: "top" | "bottom" | "left" | "right" | "auto";
628
+ };
629
+ disableDrillDown: boolean;
630
+ disableAlerts: boolean;
631
+ disableScheduledExports: boolean;
632
+ };
633
+
634
+ declare type DefaultProperties_18 = {
635
+ comparison: {
636
+ enabled: boolean;
637
+ calculationType: "change" | "change_difference" | "ratio" | "difference";
638
+ format: "inherit" | string;
639
+ position: "right" | "left" | "top" | "auto";
640
+ isArrowEnabled: boolean;
641
+ colorConfig?: {
642
+ disabled: boolean;
643
+ equals: ColorMapping["color"] | undefined;
644
+ negative: ColorMapping["color"] | undefined;
645
+ positive: ColorMapping["color"] | undefined;
646
+ };
647
+ labelConfig?: {
648
+ isConditional: boolean;
649
+ unconditionalValue: string;
650
+ equals: string;
651
+ negative: string;
652
+ positive: string;
653
+ };
654
+ };
655
+ disableAlerts: boolean;
656
+ disableScheduledExports: boolean;
657
+ };
658
+
659
+ declare type DefaultProperties_19 = {
660
+ colorMapping: Array<ColorMapping>;
661
+ continuousLine: {
662
+ enabled: boolean;
663
+ };
664
+ distinctPointShapes: {
665
+ enabled: boolean;
666
+ pointShapeMapping?: Record<string, PointShapeSymbol>;
667
+ };
668
+ chartFill: {
669
+ type: ChartFillType;
670
+ measureToPatternName?: Record<string, PatternFillName>;
671
+ };
672
+ dataLabels: {
673
+ visible: boolean | "auto";
674
+ style: "auto" | "backplate";
675
+ };
676
+ dataPoints: {
677
+ visible: boolean | "auto";
678
+ };
679
+ legend: {
680
+ enabled: boolean;
681
+ position: "top" | "bottom" | "left" | "right" | "auto";
682
+ };
683
+ dualAxis: boolean;
684
+ primaryChartType: "column" | "area" | "line";
685
+ secondaryChartType: "column" | "area" | "line";
686
+ stackMeasures: boolean;
687
+ stackMeasuresToPercent: boolean;
688
+ xaxis: {
689
+ name: {
690
+ visible: boolean;
691
+ position: "center" | "left" | "right" | "auto";
692
+ };
693
+ labelsEnabled: boolean;
694
+ rotation: "0" | "30" | "60" | "90" | "auto";
695
+ visible: boolean;
696
+ };
697
+ yaxis: {
698
+ format: "inherit" | "auto";
699
+ max: number | string;
700
+ min: number | string;
701
+ name: {
702
+ visible: boolean;
703
+ position: "center" | "left" | "right" | "auto";
704
+ };
705
+ labelsEnabled: boolean;
706
+ rotation: "0" | "30" | "60" | "90" | "auto";
707
+ visible: boolean;
708
+ };
709
+ secondary_yaxis: {
710
+ measures: string[];
711
+ format: "inherit" | "auto";
712
+ max: number | string;
713
+ min: number | string;
714
+ name: {
715
+ visible: boolean;
716
+ position: "center" | "left" | "right" | "auto";
717
+ };
718
+ labelsEnabled: boolean;
719
+ rotation: "0" | "30" | "60" | "90" | "auto";
720
+ visible: boolean;
721
+ };
722
+ grid: {
723
+ enabled: boolean;
724
+ };
725
+ disableDrillDown: boolean;
726
+ disableAlerts: boolean;
727
+ disableScheduledExports: boolean;
728
+ thresholdMeasures: string[];
729
+ thresholdExcludedMeasures: string[];
730
+ };
731
+
732
+ declare type DefaultProperties_2 = {
733
+ colorMapping: Array<ColorMapping>;
734
+ dataLabels: {
735
+ totalsVisible: boolean | "auto";
736
+ visible: boolean | "auto";
737
+ style: "auto" | "backplate";
738
+ };
739
+ chartFill: {
740
+ type: ChartFillType;
741
+ measureToPatternName?: Record<string, PatternFillName>;
742
+ };
743
+ legend: {
744
+ enabled: boolean;
745
+ position: "top" | "bottom" | "left" | "right" | "auto";
746
+ };
747
+ stackMeasures: boolean;
748
+ stackMeasuresToPercent: boolean;
749
+ xaxis: {
750
+ format: "inherit" | "auto";
751
+ max: number | string;
752
+ min: number | string;
753
+ name: {
754
+ visible: boolean;
755
+ position: "center" | "left" | "right" | "auto";
756
+ };
757
+ labelsEnabled: boolean;
758
+ rotation: "0" | "30" | "60" | "90" | "auto";
759
+ visible: boolean;
760
+ };
761
+ yaxis: {
762
+ name: {
763
+ visible: boolean;
764
+ position: "center" | "left" | "right" | "auto";
765
+ };
766
+ labelsEnabled: boolean;
767
+ rotation: "0" | "30" | "60" | "90" | "auto";
768
+ visible: boolean;
769
+ };
770
+ grid: {
771
+ enabled: boolean;
772
+ };
773
+ disableDrillDown: boolean;
774
+ disableAlerts: boolean;
775
+ disableScheduledExports: boolean;
776
+ };
777
+
778
+ declare type DefaultProperties_20 = {
779
+ colorMapping: Array<ColorMapping>;
780
+ legend: {
781
+ enabled: boolean;
782
+ position: "top" | "bottom" | "left" | "right" | "auto" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
783
+ };
784
+ longitude: string;
785
+ latitude: string;
786
+ tooltipText: string;
787
+ basemap: string;
788
+ colorScheme: string;
789
+ viewport: {
790
+ area: "auto" | "continent_af" | "continent_as" | "continent_au" | "continent_eu" | "continent_na" | "continent_sa" | "world" | "custom";
791
+ navigation: {
792
+ pan: boolean;
793
+ zoom: boolean;
794
+ };
795
+ };
796
+ center: {
797
+ lat: number;
798
+ lng: number;
799
+ };
800
+ zoom: number;
801
+ points: {
802
+ groupNearbyPoints: boolean;
803
+ maxSize: "0.5x" | "0.75x" | "normal" | "1.25x" | "1.5x" | "default";
804
+ minSize: "0.5x" | "0.75x" | "normal" | "1.25x" | "1.5x" | "default";
805
+ };
806
+ disableAlerts: boolean;
807
+ disableScheduledExports: boolean;
808
+ };
809
+
810
+ declare type DefaultProperties_21 = {
811
+ colorMapping: Array<ColorMapping>;
812
+ legend: {
813
+ enabled: boolean;
814
+ position: "top" | "bottom" | "left" | "right" | "auto" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
815
+ };
816
+ tooltipText: string;
817
+ basemap: string;
818
+ colorScheme: string;
819
+ viewport: {
820
+ area: "auto" | "continent_af" | "continent_as" | "continent_au" | "continent_eu" | "continent_na" | "continent_sa" | "world" | "custom";
821
+ navigation: {
822
+ pan: boolean;
823
+ zoom: boolean;
824
+ };
825
+ };
826
+ center: {
827
+ lat: number;
828
+ lng: number;
829
+ };
830
+ zoom: number;
831
+ disableAlerts: boolean;
832
+ disableScheduledExports: boolean;
833
+ };
834
+
835
+ declare type DefaultProperties_22 = {
836
+ colorMapping: Array<ColorMapping>;
837
+ columnWidths: Array<ColumnWidthItem>;
838
+ cellImageSizing: "fit" | "fill";
839
+ cellTextWrapping: "clip" | "wrap";
840
+ cellVerticalAlign: "top" | "middle" | "bottom";
841
+ rowHeight: "small" | "medium" | "large";
842
+ disableAlerts: boolean;
843
+ disableScheduledExports: boolean;
844
+ };
845
+
846
+ declare type DefaultProperties_3 = {
847
+ colorMapping: Array<ColorMapping>;
848
+ dataLabels: {
849
+ totalsVisible: boolean | "auto";
850
+ visible: boolean | "auto";
851
+ style: "auto" | "backplate";
852
+ };
853
+ chartFill: {
854
+ type: ChartFillType;
855
+ measureToPatternName?: Record<string, PatternFillName>;
856
+ };
857
+ legend: {
858
+ enabled: boolean;
859
+ position: "top" | "bottom" | "left" | "right" | "auto";
860
+ };
861
+ stackMeasures: boolean;
862
+ stackMeasuresToPercent: boolean;
863
+ xaxis: {
864
+ name: {
865
+ visible: boolean;
866
+ position: "center" | "left" | "right" | "auto";
867
+ };
868
+ labelsEnabled: boolean;
869
+ rotation: "0" | "30" | "60" | "90" | "auto";
870
+ visible: boolean;
871
+ };
872
+ yaxis: {
873
+ format: "inherit" | "auto";
874
+ max: number | string;
875
+ min: number | string;
876
+ name: {
877
+ visible: boolean;
878
+ position: "center" | "left" | "right" | "auto";
879
+ };
880
+ labelsEnabled: boolean;
881
+ rotation: "0" | "30" | "60" | "90" | "auto";
882
+ visible: boolean;
883
+ };
884
+ grid: {
885
+ enabled: boolean;
886
+ };
887
+ disableDrillDown: boolean;
888
+ disableAlerts: boolean;
889
+ disableScheduledExports: boolean;
890
+ };
891
+
892
+ declare type DefaultProperties_4 = {
893
+ colorMapping: Array<ColorMapping>;
894
+ continuousLine: {
895
+ enabled: boolean;
896
+ };
897
+ distinctPointShapes: {
898
+ enabled: boolean;
899
+ pointShapeMapping?: Record<string, PointShapeSymbol>;
900
+ };
901
+ dataLabels: {
902
+ visible: boolean | "auto";
903
+ style: "auto" | "backplate";
904
+ };
905
+ dataPoints: {
906
+ visible: boolean | "auto";
907
+ };
908
+ legend: {
909
+ enabled: boolean;
910
+ position: "top" | "bottom" | "left" | "right" | "auto";
911
+ };
912
+ xaxis: {
913
+ name: {
914
+ visible: boolean;
915
+ position: "center" | "left" | "right" | "auto";
916
+ };
917
+ labelsEnabled: boolean;
918
+ rotation: "0" | "30" | "60" | "90" | "auto";
919
+ visible: boolean;
920
+ };
921
+ yaxis: {
922
+ format: "inherit" | "auto";
923
+ max: number | string;
924
+ min: number | string;
925
+ name: {
926
+ visible: boolean;
927
+ position: "center" | "left" | "right" | "auto";
928
+ };
929
+ labelsEnabled: boolean;
930
+ rotation: "0" | "30" | "60" | "90" | "auto";
931
+ visible: boolean;
932
+ };
933
+ grid: {
934
+ enabled: boolean;
935
+ };
936
+ forecast: {
937
+ enabled: boolean;
938
+ confidence: number;
939
+ period: number;
940
+ seasonal: boolean;
941
+ };
942
+ anomalies: {
943
+ enabled: boolean;
944
+ sensitivity: "low" | "medium" | "high";
945
+ size: "small" | "medium" | "big";
946
+ color: string | number;
947
+ };
948
+ disableDrillDown: boolean;
949
+ disableAlerts: boolean;
950
+ disableScheduledExports: boolean;
951
+ thresholdMeasures: string[];
952
+ thresholdExcludedMeasures: string[];
953
+ };
954
+
955
+ declare type DefaultProperties_5 = {
956
+ colorMapping: Array<ColorMapping>;
957
+ distinctPointShapes: {
958
+ enabled: boolean;
959
+ pointShapeMapping?: Record<string, PointShapeSymbol>;
960
+ };
961
+ chartFill: {
962
+ type: ChartFillType;
963
+ measureToPatternName?: Record<string, PatternFillName>;
964
+ };
965
+ dataLabels: {
966
+ visible: boolean | "auto";
967
+ style: "auto" | "backplate";
968
+ };
969
+ dataPoints: {
970
+ visible: boolean | "auto";
971
+ };
972
+ legend: {
973
+ enabled: boolean;
974
+ position: "top" | "bottom" | "left" | "right" | "auto";
975
+ };
976
+ stackMeasures: boolean;
977
+ stackMeasuresToPercent: boolean;
978
+ xaxis: {
979
+ name: {
980
+ visible: boolean;
981
+ position: "center" | "left" | "right" | "auto";
982
+ };
983
+ labelsEnabled: boolean;
984
+ rotation: "0" | "30" | "60" | "90" | "auto";
985
+ visible: boolean;
986
+ };
987
+ yaxis: {
988
+ format: "inherit" | "auto";
989
+ max: number | string;
990
+ min: number | string;
991
+ name: {
992
+ visible: boolean;
993
+ position: "center" | "left" | "right" | "auto";
994
+ };
995
+ labelsEnabled: boolean;
996
+ rotation: "0" | "30" | "60" | "90" | "auto";
997
+ visible: boolean;
998
+ };
999
+ grid: {
1000
+ enabled: boolean;
1001
+ };
1002
+ disableDrillDown: boolean;
1003
+ disableAlerts: boolean;
1004
+ disableScheduledExports: boolean;
1005
+ };
1006
+
1007
+ declare type DefaultProperties_6 = {
1008
+ colorMapping: Array<ColorMapping>;
1009
+ dataLabels: {
1010
+ visible: boolean | "auto";
1011
+ style: "auto" | "backplate";
1012
+ };
1013
+ xaxis: {
1014
+ format: "inherit" | "auto";
1015
+ max: number | string;
1016
+ min: number | string;
1017
+ name: {
1018
+ visible: boolean;
1019
+ position: "center" | "left" | "right" | "auto";
1020
+ };
1021
+ labelsEnabled: boolean;
1022
+ rotation: "0" | "30" | "60" | "90" | "auto";
1023
+ visible: boolean;
1024
+ };
1025
+ yaxis: {
1026
+ format: "inherit" | "auto";
1027
+ max: number | string;
1028
+ min: number | string;
1029
+ name: {
1030
+ visible: boolean;
1031
+ position: "center" | "left" | "right" | "auto";
1032
+ };
1033
+ labelsEnabled: boolean;
1034
+ rotation: "0" | "30" | "60" | "90" | "auto";
1035
+ visible: boolean;
1036
+ };
1037
+ grid: {
1038
+ enabled: boolean;
1039
+ };
1040
+ clustering: {
1041
+ enabled: boolean;
1042
+ numberOfClusters: number;
1043
+ threshold: number;
1044
+ };
1045
+ disableDrillDown: boolean;
1046
+ disableAlerts: boolean;
1047
+ disableScheduledExports: boolean;
1048
+ };
1049
+
1050
+ declare type DefaultProperties_7 = {
1051
+ colorMapping: Array<ColorMapping>;
1052
+ dataLabels: {
1053
+ visible: boolean | "auto";
1054
+ style: "auto" | "backplate";
1055
+ };
1056
+ legend: {
1057
+ enabled: boolean;
1058
+ position: "top" | "bottom" | "left" | "right" | "auto";
1059
+ };
1060
+ xaxis: {
1061
+ format: "inherit" | "auto";
1062
+ max: number | string;
1063
+ min: number | string;
1064
+ name: {
1065
+ visible: boolean;
1066
+ position: "center" | "left" | "right" | "auto";
1067
+ };
1068
+ labelsEnabled: boolean;
1069
+ rotation: "0" | "30" | "60" | "90" | "auto";
1070
+ visible: boolean;
1071
+ };
1072
+ yaxis: {
1073
+ format: "inherit" | "auto";
1074
+ max: number | string;
1075
+ min: number | string;
1076
+ name: {
1077
+ visible: boolean;
1078
+ position: "center" | "left" | "right" | "auto";
1079
+ };
1080
+ labelsEnabled: boolean;
1081
+ rotation: "0" | "30" | "60" | "90" | "auto";
1082
+ visible: boolean;
1083
+ };
1084
+ grid: {
1085
+ enabled: boolean;
1086
+ };
1087
+ disableDrillDown: boolean;
1088
+ disableAlerts: boolean;
1089
+ disableScheduledExports: boolean;
1090
+ };
1091
+
1092
+ declare type DefaultProperties_8 = {
1093
+ colorMapping: Array<ColorMapping>;
1094
+ dataLabels: {
1095
+ visible: boolean | "auto";
1096
+ style: "auto" | "backplate";
1097
+ };
1098
+ chartFill: {
1099
+ type: ChartFillType;
1100
+ measureToPatternName?: Record<string, PatternFillName>;
1101
+ };
1102
+ legend: {
1103
+ enabled: boolean;
1104
+ position: "top" | "bottom" | "left" | "right" | "auto";
1105
+ };
1106
+ disableDrillDown: boolean;
1107
+ disableAlerts: boolean;
1108
+ disableScheduledExports: boolean;
1109
+ };
1110
+
1111
+ declare type DefaultProperties_9 = {
1112
+ colorMapping: Array<ColorMapping>;
1113
+ dataLabels: {
1114
+ visible: boolean | "auto";
1115
+ style: "auto" | "backplate";
1116
+ };
1117
+ chartFill: {
1118
+ type: ChartFillType;
1119
+ measureToPatternName?: Record<string, PatternFillName>;
1120
+ };
1121
+ legend: {
1122
+ enabled: boolean;
1123
+ position: "top" | "bottom" | "left" | "right" | "auto";
1124
+ };
1125
+ disableDrillDown: boolean;
1126
+ disableAlerts: boolean;
1127
+ disableScheduledExports: boolean;
1128
+ };
1129
+
1130
+ export declare const dependencyWheelChart: {
1131
+ load: typeof load_16;
1132
+ save: typeof save_16;
1133
+ DEFAULTS: ConfigDefaults<DefaultProperties_16>;
1134
+ };
1135
+
1136
+ export declare const donutChart: {
1137
+ load: typeof load_9;
1138
+ save: typeof save_9;
1139
+ DEFAULTS: ConfigDefaults<DefaultProperties_9>;
1140
+ };
1141
+
135
1142
  /** @public */
136
1143
  export declare type ExportEntities = Array<{
137
1144
  id: string;
@@ -144,6 +1151,32 @@ export declare type ExportEntities = Array<{
144
1151
  };
145
1152
  }>;
146
1153
 
1154
+ /** @public */
1155
+ export declare type FileNamesUsed = {
1156
+ files: string[];
1157
+ };
1158
+
1159
+ /** @public */
1160
+ export declare type FilePath = string[] | string;
1161
+
1162
+ export declare type FilterContextItem = {
1163
+ yaml: YAMLMap;
1164
+ filter: IFilterContextDefinition["filters"][number];
1165
+ };
1166
+
1167
+ declare type FilterMapEntry = {
1168
+ yaml: YAMLMap;
1169
+ filter: IFilter;
1170
+ };
1171
+
1172
+ declare type Filters = {
1173
+ filtersMap: Record<string, FilterMapEntry>;
1174
+ filtersArray: YAMLMap;
1175
+ };
1176
+
1177
+ /** @public */
1178
+ export declare const fromDeclarativePermissions: (permissions?: GenericPermission[] | undefined, hierarchyPermissions?: GenericPermission[] | undefined) => Permissions_2 | undefined;
1179
+
147
1180
  /** @public */
148
1181
  export declare type FromEntities = Array<{
149
1182
  id: string;
@@ -152,6 +1185,252 @@ export declare type FromEntities = Array<{
152
1185
  data?: Dataset | DateDataset | Metric | Visualisation | Dashboard | Plugin_2 | AttributeHierarchy;
153
1186
  }>;
154
1187
 
1188
+ declare type FullFields = AttributeField | MetricField | CalculatedMetricField | InlineMetricField | ArithmeticMetricField | PoPMetricField | PreviousPeriodMetricField;
1189
+
1190
+ export declare const funnelChart: {
1191
+ load: typeof load_12;
1192
+ save: typeof save_12;
1193
+ DEFAULTS: ConfigDefaults<DefaultProperties_12>;
1194
+ };
1195
+
1196
+ /** @public */
1197
+ export declare function generateFileName(used: FileNamesUsed, base: string[], id: string, title?: string | null): string;
1198
+
1199
+ /** @public */
1200
+ export declare type GenericAssigneePermission = {
1201
+ name: string;
1202
+ assignee: {
1203
+ type: string;
1204
+ id: string;
1205
+ };
1206
+ };
1207
+
1208
+ /** @public */
1209
+ export declare type GenericAssigneeRulePermission = {
1210
+ name: string;
1211
+ assigneeRule: {
1212
+ type: "allWorkspaceUsers";
1213
+ };
1214
+ };
1215
+
1216
+ /** @public */
1217
+ export declare type GenericPermission = GenericAssigneePermission | GenericAssigneeRulePermission;
1218
+
1219
+ export declare const geoAreaChart: {
1220
+ load: typeof load_21;
1221
+ save: typeof save_21;
1222
+ DEFAULTS: ConfigDefaults<DefaultProperties_21>;
1223
+ };
1224
+
1225
+ export declare const geoChart: {
1226
+ load: typeof load_20;
1227
+ save: typeof save_20;
1228
+ DEFAULTS: ConfigDefaults<DefaultProperties_20>;
1229
+ };
1230
+
1231
+ /** @public */
1232
+ export declare function getIdentifier(obj: ObjRef | ObjRefInScope | AfmObjectIdentifier, untype?: boolean): string;
1233
+
1234
+ /** @public */
1235
+ export declare function getValueOrDefault<T>(value: T, defaultValue: T, type?: ValueType, undefinedAsDefault?: boolean): T | undefined;
1236
+
1237
+ export declare const headlineChart: {
1238
+ load: typeof load_18;
1239
+ save: typeof save_18;
1240
+ DEFAULTS: ConfigDefaults<DefaultProperties_18>;
1241
+ };
1242
+
1243
+ export declare const heatmapChart: {
1244
+ load: typeof load_13;
1245
+ save: typeof save_13;
1246
+ DEFAULTS: ConfigDefaults<DefaultProperties_13>;
1247
+ };
1248
+
1249
+ export declare interface IAbsoluteColumnWidth {
1250
+ value: number;
1251
+ allowGrowToFit?: boolean;
1252
+ }
1253
+
1254
+ export declare interface IAllMeasureColumnWidthItem {
1255
+ measureColumnWidthItem: IAllMeasureColumnWidthItemBody;
1256
+ }
1257
+
1258
+ export declare interface IAllMeasureColumnWidthItemBody {
1259
+ width: IAbsoluteColumnWidth;
1260
+ }
1261
+
1262
+ export declare interface IAttributeColumnLocator {
1263
+ attributeLocatorItem: IAttributeColumnLocatorBody;
1264
+ }
1265
+
1266
+ export declare interface IAttributeColumnLocatorBody {
1267
+ attributeIdentifier: string;
1268
+ element?: string | null;
1269
+ }
1270
+
1271
+ export declare interface IAttributeColumnWidthItem {
1272
+ attributeColumnWidthItem: IAttributeColumnWidthItemBody;
1273
+ }
1274
+
1275
+ export declare interface IAttributeColumnWidthItemBody {
1276
+ width: IAbsoluteColumnWidth;
1277
+ attributeIdentifier: string;
1278
+ }
1279
+
1280
+ export declare interface IAutoColumnWidth {
1281
+ value: "auto";
1282
+ }
1283
+
1284
+ export declare interface IMeasureColumnLocator {
1285
+ measureLocatorItem: IMeasureColumnLocatorBody;
1286
+ }
1287
+
1288
+ export declare interface IMeasureColumnLocatorBody {
1289
+ measureIdentifier: string;
1290
+ }
1291
+
1292
+ export declare interface IMeasureColumnWidthItem {
1293
+ measureColumnWidthItem: IMeasureColumnWidthItemBody;
1294
+ }
1295
+
1296
+ export declare interface IMeasureColumnWidthItemBody {
1297
+ width: ColumnWidth;
1298
+ locators: ColumnLocator[];
1299
+ }
1300
+
1301
+ export declare interface IMixedValuesColumnWidthItem {
1302
+ mixedValuesColumnWidthItem: IMixedValuesColumnWidthItemBody;
1303
+ }
1304
+
1305
+ export declare interface IMixedValuesColumnWidthItemBody {
1306
+ width: ColumnWidth;
1307
+ locators: IMeasureColumnLocator[];
1308
+ }
1309
+
1310
+ export declare type InlineVisualizations = Record<string, {
1311
+ type: "metric" | "line" | "column";
1312
+ }>;
1313
+
1314
+ export declare interface ISliceMeasureColumnWidthItem {
1315
+ sliceMeasureColumnWidthItem: ISliceMeasureColumnWidthItemBody;
1316
+ }
1317
+
1318
+ export declare interface ISliceMeasureColumnWidthItemBody {
1319
+ width: ColumnWidth;
1320
+ locators: IMeasureColumnLocator[];
1321
+ }
1322
+
1323
+ export declare interface ITotalColumnLocator {
1324
+ totalLocatorItem: ITotalColumnLocatorBody;
1325
+ }
1326
+
1327
+ export declare interface ITotalColumnLocatorBody {
1328
+ attributeIdentifier: string;
1329
+ totalFunction: string;
1330
+ }
1331
+
1332
+ export declare interface IWeakMeasureColumnWidthItem {
1333
+ measureColumnWidthItem: IWeakMeasureColumnWidthItemBody;
1334
+ }
1335
+
1336
+ export declare interface IWeakMeasureColumnWidthItemBody {
1337
+ width: IAbsoluteColumnWidth;
1338
+ locator: IMeasureColumnLocator;
1339
+ }
1340
+
1341
+ export declare const lineChart: {
1342
+ load: typeof load_4;
1343
+ save: typeof save_4;
1344
+ DEFAULTS: ConfigDefaults<DefaultProperties_4>;
1345
+ };
1346
+
1347
+ declare function load(props: VisualisationConfig<DefaultProperties>): Pair<Scalar<string>, any> | null;
1348
+
1349
+ declare function load_10(props: VisualisationConfig<DefaultProperties_10>): Pair<Scalar<string>, any> | null;
1350
+
1351
+ declare function load_11(props: VisualisationConfig<DefaultProperties_11>): Pair<Scalar<string>, any> | null;
1352
+
1353
+ declare function load_12(props: VisualisationConfig<DefaultProperties_12>): Pair<Scalar<string>, any> | null;
1354
+
1355
+ declare function load_13(props: VisualisationConfig<DefaultProperties_13>): Pair<Scalar<string>, any> | null;
1356
+
1357
+ declare function load_14(props: VisualisationConfig<DefaultProperties_14>): Pair<Scalar<string>, any> | null;
1358
+
1359
+ declare function load_15(props: VisualisationConfig<DefaultProperties_15>): Pair<Scalar<string>, any> | null;
1360
+
1361
+ declare function load_16(props: VisualisationConfig<DefaultProperties_16>): Pair<Scalar<string>, any> | null;
1362
+
1363
+ declare function load_17(props: VisualisationConfig<DefaultProperties_17>): Pair<Scalar<string>, any> | null;
1364
+
1365
+ declare function load_18(props: VisualisationConfig<DefaultProperties_18>): Pair<Scalar<string>, any> | null;
1366
+
1367
+ declare function load_19(props: VisualisationConfig<DefaultProperties_19>): Pair<Scalar<string>, any> | null;
1368
+
1369
+ declare function load_2(props: VisualisationConfig<DefaultProperties_2>): Pair<Scalar<string>, any> | null;
1370
+
1371
+ declare function load_20(props: VisualisationConfig<DefaultProperties_20>): Pair<Scalar<string>, any> | null;
1372
+
1373
+ declare function load_21(props: VisualisationConfig<DefaultProperties_21>): Pair<Scalar<string>, any> | null;
1374
+
1375
+ declare function load_22(props: VisualisationConfig<DefaultProperties_22>): Pair<Scalar<string>, any> | null;
1376
+
1377
+ declare function load_3(props: VisualisationConfig<DefaultProperties_3>): Pair<Scalar<string>, any> | null;
1378
+
1379
+ declare function load_4(props: VisualisationConfig<DefaultProperties_4>): Pair<Scalar<string>, any> | null;
1380
+
1381
+ declare function load_5(props: VisualisationConfig<DefaultProperties_5>): Pair<Scalar<string>, any> | null;
1382
+
1383
+ declare function load_6(props: VisualisationConfig<DefaultProperties_6>): Pair<Scalar<string>, any> | null;
1384
+
1385
+ declare function load_7(props: VisualisationConfig<DefaultProperties_7>): Pair<Scalar<string>, any> | null;
1386
+
1387
+ declare function load_8(props: VisualisationConfig<DefaultProperties_8>): Pair<Scalar<string>, any> | null;
1388
+
1389
+ declare function load_9(props: VisualisationConfig<DefaultProperties_9>): Pair<Scalar<string>, any> | null;
1390
+
1391
+ /** @public */
1392
+ export declare function loadColorMapping(mappings: Array<ColorMapping>): YAMLMap<keyof ListOfColors, Color>;
1393
+
1394
+ /** @public */
1395
+ export declare function loadColumnsWidth(widths: Array<ColumnWidthItem>): YAMLMap<keyof Width, any>[] | undefined;
1396
+
1397
+ export declare const MetricTypes: string[];
1398
+
1399
+ export declare type OverrideDashboardDefinition = Omit<IDashboardDefinition, "filterContext"> & {
1400
+ filterContextRef?: AfmObjectIdentifier;
1401
+ tabs?: DashboardTab[];
1402
+ activeTabLocalIdentifier?: string;
1403
+ };
1404
+
1405
+ export declare type PatternFillName = "diagonal_grid_small" | "vertical_lines_small" | "grid_small" | "horizontal_lines_small" | "circle_small" | "flag_small" | "waffle_small" | "dot_small" | "pyramid_small" | "needle_small" | "diamond_small" | "pizza_small" | "diagonal_grid_medium" | "vertical_lines_medium" | "grid_large" | "horizontal_lines_medium" | "circle_medium" | "flag_medium" | "waffle_medium" | "dot_medium" | "pyramid_medium" | "needle_medium" | "diamond_medium" | "pizza_medium";
1406
+
1407
+ /** @public */
1408
+ declare type Permissions_2 = {
1409
+ [name: string]: {
1410
+ all?: boolean;
1411
+ users?: string[];
1412
+ user_groups?: string[];
1413
+ } | undefined;
1414
+ };
1415
+ export { Permissions_2 as Permissions }
1416
+
1417
+ export declare const pieChart: {
1418
+ load: typeof load_8;
1419
+ save: typeof save_8;
1420
+ DEFAULTS: ConfigDefaults<DefaultProperties_8>;
1421
+ };
1422
+
1423
+ export declare const PluginTypes: string[];
1424
+
1425
+ export declare type PointShapeSymbol = "circle" | "square" | "diamond" | "triangle" | "triangle-down";
1426
+
1427
+ declare type PostProcessors = {
1428
+ filters: Array<{
1429
+ item: YAMLMap;
1430
+ filters: IFilter[];
1431
+ }>;
1432
+ };
1433
+
155
1434
  /** @public */
156
1435
  export declare type Profile = {
157
1436
  host: string;
@@ -160,6 +1439,798 @@ export declare type Profile = {
160
1439
  data_source?: string;
161
1440
  };
162
1441
 
1442
+ export declare const pyramidChart: {
1443
+ load: typeof load_11;
1444
+ save: typeof save_11;
1445
+ DEFAULTS: ConfigDefaults<DefaultProperties_11>;
1446
+ };
1447
+
1448
+ export declare const repeaterChart: {
1449
+ load: typeof load_22;
1450
+ save: typeof save_22;
1451
+ saveInlineVisualizations: typeof saveInlineVisualizations;
1452
+ DEFAULTS: ConfigDefaults<DefaultProperties_22>;
1453
+ };
1454
+
1455
+ /** @public */
1456
+ export declare function resolveIdFromFileName(fileName: FilePath): string;
1457
+
1458
+ export declare const sankeyChart: {
1459
+ load: typeof load_17;
1460
+ save: typeof save_17;
1461
+ DEFAULTS: ConfigDefaults<DefaultProperties_17>;
1462
+ };
1463
+
1464
+ declare function save(fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1465
+ columnWidths: ColumnWidthItem[] | undefined;
1466
+ columnHeadersPosition: string | undefined;
1467
+ measureGroupDimension: string | undefined;
1468
+ disableDrillDown: boolean | undefined;
1469
+ disableDrillIntoURL: boolean | undefined;
1470
+ disableAlerts: boolean | undefined;
1471
+ disableScheduledExports: boolean | undefined;
1472
+ textWrapping: {
1473
+ wrapText: boolean;
1474
+ wrapHeaderText: boolean;
1475
+ columnOverrides: {
1476
+ locators: ColumnLocator[];
1477
+ wrapText: boolean;
1478
+ wrapHeaderText: boolean;
1479
+ matchType: "column" | "pivotGroup";
1480
+ }[];
1481
+ } | undefined;
1482
+ enableAccessibility: boolean | undefined;
1483
+ pagination: {
1484
+ enabled: boolean;
1485
+ } | undefined;
1486
+ pageSize: number | undefined;
1487
+ grandTotalsPosition: "bottom" | "pinnedBottom" | "pinnedTop" | "top" | undefined;
1488
+ } | undefined;
1489
+
1490
+ declare function save_10(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1491
+ colorMapping: ColorMapping[] | undefined;
1492
+ dataLabels: {
1493
+ visible: "auto" | boolean | undefined;
1494
+ style: "auto" | "backplate" | undefined;
1495
+ } | undefined;
1496
+ chartFill: {
1497
+ type: ChartFillType | undefined;
1498
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1499
+ } | undefined;
1500
+ legend: {
1501
+ enabled: boolean | undefined;
1502
+ position: string | undefined;
1503
+ } | undefined;
1504
+ disableDrillDown: boolean | undefined;
1505
+ disableAlerts: boolean | undefined;
1506
+ disableScheduledExports: boolean | undefined;
1507
+ } | undefined;
1508
+
1509
+ declare function save_11(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1510
+ colorMapping: ColorMapping[] | undefined;
1511
+ dataLabels: {
1512
+ visible: "auto" | boolean | undefined;
1513
+ style: "auto" | "backplate" | undefined;
1514
+ } | undefined;
1515
+ chartFill: {
1516
+ type: ChartFillType | undefined;
1517
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1518
+ } | undefined;
1519
+ legend: {
1520
+ enabled: boolean | undefined;
1521
+ position: string | undefined;
1522
+ } | undefined;
1523
+ disableDrillDown: boolean | undefined;
1524
+ disableAlerts: boolean | undefined;
1525
+ disableScheduledExports: boolean | undefined;
1526
+ } | undefined;
1527
+
1528
+ declare function save_12(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1529
+ colorMapping: ColorMapping[] | undefined;
1530
+ dataLabels: {
1531
+ visible: "auto" | boolean | undefined;
1532
+ style: "auto" | "backplate" | undefined;
1533
+ } | undefined;
1534
+ chartFill: {
1535
+ type: ChartFillType | undefined;
1536
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1537
+ } | undefined;
1538
+ legend: {
1539
+ enabled: boolean | undefined;
1540
+ position: string | undefined;
1541
+ } | undefined;
1542
+ disableDrillDown: boolean | undefined;
1543
+ disableAlerts: boolean | undefined;
1544
+ disableScheduledExports: boolean | undefined;
1545
+ } | undefined;
1546
+
1547
+ declare function save_13(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1548
+ colorMapping: ColorMapping[] | undefined;
1549
+ dataLabels: {
1550
+ visible: "auto" | boolean | undefined;
1551
+ style: "auto" | "backplate" | undefined;
1552
+ } | undefined;
1553
+ legend: {
1554
+ enabled: boolean | undefined;
1555
+ position: string | undefined;
1556
+ } | undefined;
1557
+ xaxis: {
1558
+ name: {
1559
+ position: string | undefined;
1560
+ visible: boolean | undefined;
1561
+ } | undefined;
1562
+ rotation: string | undefined;
1563
+ visible: boolean | undefined;
1564
+ labelsEnabled: boolean | undefined;
1565
+ } | undefined;
1566
+ yaxis: {
1567
+ name: {
1568
+ position: string | undefined;
1569
+ visible: boolean | undefined;
1570
+ } | undefined;
1571
+ rotation: string | undefined;
1572
+ visible: boolean | undefined;
1573
+ labelsEnabled: boolean | undefined;
1574
+ } | undefined;
1575
+ disableDrillDown: boolean | undefined;
1576
+ disableAlerts: boolean | undefined;
1577
+ disableScheduledExports: boolean | undefined;
1578
+ } | undefined;
1579
+
1580
+ declare function save_14(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1581
+ colorMapping: ColorMapping[] | undefined;
1582
+ legend: {
1583
+ enabled: boolean | undefined;
1584
+ position: string | undefined;
1585
+ } | undefined;
1586
+ chartFill: {
1587
+ type: ChartFillType | undefined;
1588
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1589
+ } | undefined;
1590
+ xaxis: {
1591
+ format: string | undefined;
1592
+ max: string | number | undefined;
1593
+ min: string | number | undefined;
1594
+ name: {
1595
+ position: string | undefined;
1596
+ visible: boolean | undefined;
1597
+ } | undefined;
1598
+ rotation: string | undefined;
1599
+ visible: boolean | undefined;
1600
+ labelsEnabled: boolean | undefined;
1601
+ } | undefined;
1602
+ yaxis: {
1603
+ name: {
1604
+ position: string | undefined;
1605
+ visible: boolean | undefined;
1606
+ } | undefined;
1607
+ rotation: string | undefined;
1608
+ visible: boolean | undefined;
1609
+ labelsEnabled: boolean | undefined;
1610
+ } | undefined;
1611
+ grid: {
1612
+ enabled: boolean | undefined;
1613
+ } | undefined;
1614
+ disableDrillDown: boolean | undefined;
1615
+ disableAlerts: boolean | undefined;
1616
+ disableScheduledExports: boolean | undefined;
1617
+ } | undefined;
1618
+
1619
+ declare function save_15(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1620
+ colorMapping: ColorMapping[] | undefined;
1621
+ dataLabels: {
1622
+ visible: "auto" | boolean | undefined;
1623
+ style: "auto" | "backplate" | undefined;
1624
+ } | undefined;
1625
+ chartFill: {
1626
+ type: ChartFillType | undefined;
1627
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1628
+ } | undefined;
1629
+ orientation: {
1630
+ position: string | undefined;
1631
+ } | undefined;
1632
+ total: {
1633
+ enabled: boolean | undefined;
1634
+ name: string | undefined;
1635
+ } | undefined;
1636
+ legend: {
1637
+ enabled: boolean | undefined;
1638
+ position: string | undefined;
1639
+ } | undefined;
1640
+ xaxis: {
1641
+ format: string | undefined;
1642
+ max: string | number | undefined;
1643
+ min: string | number | undefined;
1644
+ name: {
1645
+ position: string | undefined;
1646
+ visible: boolean | undefined;
1647
+ } | undefined;
1648
+ rotation: string | undefined;
1649
+ visible: boolean | undefined;
1650
+ labelsEnabled: boolean | undefined;
1651
+ } | undefined;
1652
+ yaxis: {
1653
+ name: {
1654
+ position: string | undefined;
1655
+ visible: boolean | undefined;
1656
+ } | undefined;
1657
+ rotation: string | undefined;
1658
+ visible: boolean | undefined;
1659
+ labelsEnabled: boolean | undefined;
1660
+ } | undefined;
1661
+ grid: {
1662
+ enabled: boolean | undefined;
1663
+ } | undefined;
1664
+ disableDrillDown: boolean | undefined;
1665
+ disableAlerts: boolean | undefined;
1666
+ disableScheduledExports: boolean | undefined;
1667
+ } | undefined;
1668
+
1669
+ declare function save_16(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1670
+ colorMapping: ColorMapping[] | undefined;
1671
+ dataLabels: {
1672
+ visible: "auto" | boolean | undefined;
1673
+ } | undefined;
1674
+ legend: {
1675
+ enabled: boolean | undefined;
1676
+ position: string | undefined;
1677
+ } | undefined;
1678
+ disableDrillDown: boolean | undefined;
1679
+ disableAlerts: boolean | undefined;
1680
+ disableScheduledExports: boolean | undefined;
1681
+ } | undefined;
1682
+
1683
+ declare function save_17(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1684
+ colorMapping: ColorMapping[] | undefined;
1685
+ dataLabels: {
1686
+ visible: "auto" | boolean | undefined;
1687
+ style: "auto" | "backplate" | undefined;
1688
+ } | undefined;
1689
+ legend: {
1690
+ enabled: boolean | undefined;
1691
+ position: string | undefined;
1692
+ } | undefined;
1693
+ disableDrillDown: boolean | undefined;
1694
+ disableAlerts: boolean | undefined;
1695
+ disableScheduledExports: boolean | undefined;
1696
+ } | undefined;
1697
+
1698
+ declare function save_18(_fields: Visualisation["query"]["fields"] | undefined, config?: Visualisation["config"] | undefined): {
1699
+ comparison: {
1700
+ calculationType: string | undefined;
1701
+ format: string | undefined;
1702
+ enabled: boolean | undefined;
1703
+ position: string | undefined;
1704
+ isArrowEnabled: boolean | undefined;
1705
+ labelConfig: {
1706
+ isConditional: boolean | undefined;
1707
+ unconditionalValue: string | undefined;
1708
+ equals: string | undefined;
1709
+ negative: string | undefined;
1710
+ positive: string | undefined;
1711
+ } | undefined;
1712
+ colorConfig: {
1713
+ disabled: boolean | undefined;
1714
+ equals: {
1715
+ type: "guid";
1716
+ value: string;
1717
+ } | {
1718
+ type: "rgb";
1719
+ value: {
1720
+ r: number;
1721
+ g: number;
1722
+ b: number;
1723
+ };
1724
+ } | undefined;
1725
+ negative: {
1726
+ type: "guid";
1727
+ value: string;
1728
+ } | {
1729
+ type: "rgb";
1730
+ value: {
1731
+ r: number;
1732
+ g: number;
1733
+ b: number;
1734
+ };
1735
+ } | undefined;
1736
+ positive: {
1737
+ type: "guid";
1738
+ value: string;
1739
+ } | {
1740
+ type: "rgb";
1741
+ value: {
1742
+ r: number;
1743
+ g: number;
1744
+ b: number;
1745
+ };
1746
+ } | undefined;
1747
+ } | undefined;
1748
+ } | undefined;
1749
+ disableAlerts: boolean | undefined;
1750
+ disableScheduledExports: boolean | undefined;
1751
+ } | undefined;
1752
+
1753
+ declare function save_19(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined, buckets?: Bucket[]): {
1754
+ colorMapping: ColorMapping[] | undefined;
1755
+ continuousLine: {
1756
+ enabled: boolean | undefined;
1757
+ } | undefined;
1758
+ distinctPointShapes: {
1759
+ enabled: boolean | undefined;
1760
+ pointShapeMapping: Record<string, PointShapeSymbol> | undefined;
1761
+ } | undefined;
1762
+ chartFill: {
1763
+ type: ChartFillType | undefined;
1764
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1765
+ } | undefined;
1766
+ dataPoints: {
1767
+ visible: "auto" | boolean | undefined;
1768
+ } | undefined;
1769
+ dataLabels: {
1770
+ visible: "auto" | boolean | undefined;
1771
+ style: "auto" | "backplate" | undefined;
1772
+ } | undefined;
1773
+ legend: {
1774
+ enabled: boolean | undefined;
1775
+ position: string | undefined;
1776
+ } | undefined;
1777
+ stackMeasuresToPercent: boolean | undefined;
1778
+ stackMeasures: boolean | undefined;
1779
+ xaxis: {
1780
+ name: {
1781
+ position: string | undefined;
1782
+ visible: boolean | undefined;
1783
+ } | undefined;
1784
+ rotation: string | undefined;
1785
+ visible: boolean | undefined;
1786
+ labelsEnabled: boolean | undefined;
1787
+ } | undefined;
1788
+ primaryChartType: "area" | "column" | "line" | undefined;
1789
+ yaxis: {
1790
+ format: string | undefined;
1791
+ max: string | number | undefined;
1792
+ min: string | number | undefined;
1793
+ name: {
1794
+ position: string | undefined;
1795
+ visible: boolean | undefined;
1796
+ } | undefined;
1797
+ rotation: string | undefined;
1798
+ visible: boolean | undefined;
1799
+ labelsEnabled: boolean | undefined;
1800
+ } | undefined;
1801
+ secondaryChartType: "area" | "column" | "line" | undefined;
1802
+ secondary_yaxis: {
1803
+ measures: string[] | undefined;
1804
+ format: string | undefined;
1805
+ max: string | number | undefined;
1806
+ min: string | number | undefined;
1807
+ name: {
1808
+ position: string | undefined;
1809
+ visible: boolean | undefined;
1810
+ } | undefined;
1811
+ rotation: string | undefined;
1812
+ visible: boolean | undefined;
1813
+ labelsEnabled: boolean | undefined;
1814
+ } | undefined;
1815
+ dualAxis: boolean | undefined;
1816
+ grid: {
1817
+ enabled: boolean | undefined;
1818
+ } | undefined;
1819
+ disableDrillDown: boolean | undefined;
1820
+ disableAlerts: boolean | undefined;
1821
+ disableScheduledExports: boolean | undefined;
1822
+ thresholdMeasures: string[] | undefined;
1823
+ thresholdExcludedMeasures: string[] | undefined;
1824
+ } | undefined;
1825
+
1826
+ declare function save_2(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1827
+ colorMapping: ColorMapping[] | undefined;
1828
+ dataLabels: {
1829
+ totalsVisible: "auto" | boolean | undefined;
1830
+ visible: "auto" | boolean | undefined;
1831
+ style: "auto" | "backplate" | undefined;
1832
+ } | undefined;
1833
+ chartFill: {
1834
+ type: ChartFillType | undefined;
1835
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1836
+ } | undefined;
1837
+ legend: {
1838
+ enabled: boolean | undefined;
1839
+ position: string | undefined;
1840
+ } | undefined;
1841
+ stackMeasuresToPercent: boolean | undefined;
1842
+ stackMeasures: boolean | undefined;
1843
+ xaxis: {
1844
+ format: string | undefined;
1845
+ max: string | number | undefined;
1846
+ min: string | number | undefined;
1847
+ name: {
1848
+ position: string | undefined;
1849
+ visible: boolean | undefined;
1850
+ } | undefined;
1851
+ rotation: string | undefined;
1852
+ visible: boolean | undefined;
1853
+ labelsEnabled: boolean | undefined;
1854
+ } | undefined;
1855
+ yaxis: {
1856
+ name: {
1857
+ position: string | undefined;
1858
+ visible: boolean | undefined;
1859
+ } | undefined;
1860
+ rotation: string | undefined;
1861
+ visible: boolean | undefined;
1862
+ labelsEnabled: boolean | undefined;
1863
+ } | undefined;
1864
+ grid: {
1865
+ enabled: boolean | undefined;
1866
+ } | undefined;
1867
+ disableDrillDown: boolean | undefined;
1868
+ disableAlerts: boolean | undefined;
1869
+ disableScheduledExports: boolean | undefined;
1870
+ } | undefined;
1871
+
1872
+ declare function save_20(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined, positions: Array<{
1873
+ longitude: string;
1874
+ latitude: string;
1875
+ }>): {
1876
+ longitude: string;
1877
+ latitude: string;
1878
+ } | undefined;
1879
+
1880
+ declare function save_21(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined, _positions: Array<{
1881
+ longitude: string;
1882
+ latitude: string;
1883
+ }>): {
1884
+ colorMapping: ColorMapping[] | undefined;
1885
+ legend: {
1886
+ enabled: boolean | undefined;
1887
+ position: string | undefined;
1888
+ } | undefined;
1889
+ tooltipText: string | undefined;
1890
+ basemap: string | undefined;
1891
+ colorScheme: string | undefined;
1892
+ viewport: {
1893
+ area: "auto" | "continent_af" | "continent_as" | "continent_au" | "continent_eu" | "continent_na" | "continent_sa" | "custom" | "world" | undefined;
1894
+ navigation: {
1895
+ pan: boolean | undefined;
1896
+ zoom: boolean | undefined;
1897
+ } | undefined;
1898
+ } | undefined;
1899
+ center: {
1900
+ lat: number | undefined;
1901
+ lng: number | undefined;
1902
+ } | undefined;
1903
+ zoom: number | undefined;
1904
+ disableAlerts: boolean | undefined;
1905
+ disableScheduledExports: boolean | undefined;
1906
+ } | undefined;
1907
+
1908
+ declare function save_22(fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1909
+ columnWidths: ColumnWidthItem[] | undefined;
1910
+ colorMapping: ColorMapping[] | undefined;
1911
+ rowHeight: "large" | "medium" | "small" | undefined;
1912
+ cellVerticalAlign: "bottom" | "middle" | "top" | undefined;
1913
+ cellTextWrapping: "clip" | "wrap" | undefined;
1914
+ cellImageSizing: "fill" | "fit" | undefined;
1915
+ disableAlerts: boolean | undefined;
1916
+ disableScheduledExports: boolean | undefined;
1917
+ } | undefined;
1918
+
1919
+ declare function save_3(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1920
+ colorMapping: ColorMapping[] | undefined;
1921
+ dataLabels: {
1922
+ totalsVisible: "auto" | boolean | undefined;
1923
+ visible: "auto" | boolean | undefined;
1924
+ style: "auto" | "backplate" | undefined;
1925
+ } | undefined;
1926
+ chartFill: {
1927
+ type: ChartFillType | undefined;
1928
+ measureToPatternName: Record<string, PatternFillName> | undefined;
1929
+ } | undefined;
1930
+ legend: {
1931
+ enabled: boolean | undefined;
1932
+ position: string | undefined;
1933
+ } | undefined;
1934
+ stackMeasuresToPercent: boolean | undefined;
1935
+ stackMeasures: boolean | undefined;
1936
+ xaxis: {
1937
+ name: {
1938
+ position: string | undefined;
1939
+ visible: boolean | undefined;
1940
+ } | undefined;
1941
+ rotation: string | undefined;
1942
+ visible: boolean | undefined;
1943
+ labelsEnabled: boolean | undefined;
1944
+ } | undefined;
1945
+ yaxis: {
1946
+ format: string | undefined;
1947
+ max: string | number | undefined;
1948
+ min: string | number | undefined;
1949
+ name: {
1950
+ position: string | undefined;
1951
+ visible: boolean | undefined;
1952
+ } | undefined;
1953
+ rotation: string | undefined;
1954
+ visible: boolean | undefined;
1955
+ labelsEnabled: boolean | undefined;
1956
+ } | undefined;
1957
+ grid: {
1958
+ enabled: boolean | undefined;
1959
+ } | undefined;
1960
+ disableDrillDown: boolean | undefined;
1961
+ disableAlerts: boolean | undefined;
1962
+ disableScheduledExports: boolean | undefined;
1963
+ } | undefined;
1964
+
1965
+ declare function save_4(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
1966
+ colorMapping: ColorMapping[] | undefined;
1967
+ continuousLine: {
1968
+ enabled: boolean | undefined;
1969
+ } | undefined;
1970
+ distinctPointShapes: {
1971
+ enabled: boolean | undefined;
1972
+ pointShapeMapping: Record<string, PointShapeSymbol> | undefined;
1973
+ } | undefined;
1974
+ dataLabels: {
1975
+ visible: "auto" | boolean | undefined;
1976
+ style: "auto" | "backplate" | undefined;
1977
+ } | undefined;
1978
+ dataPoints: {
1979
+ visible: "auto" | boolean | undefined;
1980
+ } | undefined;
1981
+ legend: {
1982
+ enabled: boolean | undefined;
1983
+ position: string | undefined;
1984
+ } | undefined;
1985
+ xaxis: {
1986
+ name: {
1987
+ position: string | undefined;
1988
+ visible: boolean | undefined;
1989
+ } | undefined;
1990
+ rotation: string | undefined;
1991
+ visible: boolean | undefined;
1992
+ labelsEnabled: boolean | undefined;
1993
+ } | undefined;
1994
+ yaxis: {
1995
+ format: string | undefined;
1996
+ max: string | number | undefined;
1997
+ min: string | number | undefined;
1998
+ name: {
1999
+ position: string | undefined;
2000
+ visible: boolean | undefined;
2001
+ } | undefined;
2002
+ rotation: string | undefined;
2003
+ visible: boolean | undefined;
2004
+ labelsEnabled: boolean | undefined;
2005
+ } | undefined;
2006
+ grid: {
2007
+ enabled: boolean | undefined;
2008
+ } | undefined;
2009
+ forecast: {
2010
+ enabled: boolean | undefined;
2011
+ confidence: number | undefined;
2012
+ period: number | undefined;
2013
+ seasonal: boolean | undefined;
2014
+ } | undefined;
2015
+ anomalies: {
2016
+ enabled: boolean | undefined;
2017
+ sensitivity: "high" | "low" | "medium" | undefined;
2018
+ size: "big" | "medium" | "small" | undefined;
2019
+ color: string | number | undefined;
2020
+ } | undefined;
2021
+ disableDrillDown: boolean | undefined;
2022
+ disableAlerts: boolean | undefined;
2023
+ disableScheduledExports: boolean | undefined;
2024
+ thresholdMeasures: string[] | undefined;
2025
+ thresholdExcludedMeasures: string[] | undefined;
2026
+ } | undefined;
2027
+
2028
+ declare function save_5(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
2029
+ colorMapping: ColorMapping[] | undefined;
2030
+ distinctPointShapes: {
2031
+ enabled: boolean | undefined;
2032
+ pointShapeMapping: Record<string, PointShapeSymbol> | undefined;
2033
+ } | undefined;
2034
+ chartFill: {
2035
+ type: ChartFillType | undefined;
2036
+ measureToPatternName: Record<string, PatternFillName> | undefined;
2037
+ } | undefined;
2038
+ dataLabels: {
2039
+ visible: "auto" | boolean | undefined;
2040
+ style: "auto" | "backplate" | undefined;
2041
+ } | undefined;
2042
+ dataPoints: {
2043
+ visible: "auto" | boolean | undefined;
2044
+ } | undefined;
2045
+ legend: {
2046
+ enabled: boolean | undefined;
2047
+ position: string | undefined;
2048
+ } | undefined;
2049
+ stackMeasuresToPercent: boolean | undefined;
2050
+ stackMeasures: boolean | undefined;
2051
+ xaxis: {
2052
+ name: {
2053
+ position: string | undefined;
2054
+ visible: boolean | undefined;
2055
+ } | undefined;
2056
+ rotation: string | undefined;
2057
+ visible: boolean | undefined;
2058
+ labelsEnabled: boolean | undefined;
2059
+ } | undefined;
2060
+ yaxis: {
2061
+ format: string | undefined;
2062
+ max: string | number | undefined;
2063
+ min: string | number | undefined;
2064
+ name: {
2065
+ position: string | undefined;
2066
+ visible: boolean | undefined;
2067
+ } | undefined;
2068
+ rotation: string | undefined;
2069
+ visible: boolean | undefined;
2070
+ labelsEnabled: boolean | undefined;
2071
+ } | undefined;
2072
+ grid: {
2073
+ enabled: boolean | undefined;
2074
+ } | undefined;
2075
+ disableDrillDown: boolean | undefined;
2076
+ disableAlerts: boolean | undefined;
2077
+ disableScheduledExports: boolean | undefined;
2078
+ } | undefined;
2079
+
2080
+ declare function save_6(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
2081
+ colorMapping: ColorMapping[] | undefined;
2082
+ dataLabels: {
2083
+ visible: "auto" | boolean | undefined;
2084
+ style: "auto" | "backplate" | undefined;
2085
+ } | undefined;
2086
+ xaxis: {
2087
+ format: string | undefined;
2088
+ max: string | number | undefined;
2089
+ min: string | number | undefined;
2090
+ name: {
2091
+ position: string | undefined;
2092
+ visible: boolean | undefined;
2093
+ } | undefined;
2094
+ rotation: string | undefined;
2095
+ visible: boolean | undefined;
2096
+ labelsEnabled: boolean | undefined;
2097
+ } | undefined;
2098
+ yaxis: {
2099
+ format: string | undefined;
2100
+ max: string | number | undefined;
2101
+ min: string | number | undefined;
2102
+ name: {
2103
+ position: string | undefined;
2104
+ visible: boolean | undefined;
2105
+ } | undefined;
2106
+ rotation: string | undefined;
2107
+ visible: boolean | undefined;
2108
+ labelsEnabled: boolean | undefined;
2109
+ } | undefined;
2110
+ grid: {
2111
+ enabled: boolean | undefined;
2112
+ } | undefined;
2113
+ clustering: {
2114
+ enabled: boolean | undefined;
2115
+ numberOfClusters: number | undefined;
2116
+ threshold: number | undefined;
2117
+ } | undefined;
2118
+ disableDrillDown: boolean | undefined;
2119
+ disableAlerts: boolean | undefined;
2120
+ disableScheduledExports: boolean | undefined;
2121
+ } | undefined;
2122
+
2123
+ declare function save_7(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
2124
+ colorMapping: ColorMapping[] | undefined;
2125
+ dataLabels: {
2126
+ visible: "auto" | boolean | undefined;
2127
+ style: "auto" | "backplate" | undefined;
2128
+ } | undefined;
2129
+ legend: {
2130
+ enabled: boolean | undefined;
2131
+ position: string | undefined;
2132
+ } | undefined;
2133
+ xaxis: {
2134
+ format: string | undefined;
2135
+ max: string | number | undefined;
2136
+ min: string | number | undefined;
2137
+ name: {
2138
+ position: string | undefined;
2139
+ visible: boolean | undefined;
2140
+ } | undefined;
2141
+ rotation: string | undefined;
2142
+ visible: boolean | undefined;
2143
+ labelsEnabled: boolean | undefined;
2144
+ } | undefined;
2145
+ yaxis: {
2146
+ format: string | undefined;
2147
+ max: string | number | undefined;
2148
+ min: string | number | undefined;
2149
+ name: {
2150
+ position: string | undefined;
2151
+ visible: boolean | undefined;
2152
+ } | undefined;
2153
+ rotation: string | undefined;
2154
+ visible: boolean | undefined;
2155
+ labelsEnabled: boolean | undefined;
2156
+ } | undefined;
2157
+ grid: {
2158
+ enabled: boolean | undefined;
2159
+ } | undefined;
2160
+ disableDrillDown: boolean | undefined;
2161
+ disableAlerts: boolean | undefined;
2162
+ disableScheduledExports: boolean | undefined;
2163
+ } | undefined;
2164
+
2165
+ declare function save_8(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
2166
+ colorMapping: ColorMapping[] | undefined;
2167
+ dataLabels: {
2168
+ visible: "auto" | boolean | undefined;
2169
+ style: "auto" | "backplate" | undefined;
2170
+ } | undefined;
2171
+ chartFill: {
2172
+ type: ChartFillType | undefined;
2173
+ measureToPatternName: Record<string, PatternFillName> | undefined;
2174
+ } | undefined;
2175
+ legend: {
2176
+ enabled: boolean | undefined;
2177
+ position: string | undefined;
2178
+ } | undefined;
2179
+ disableDrillDown: boolean | undefined;
2180
+ disableAlerts: boolean | undefined;
2181
+ disableScheduledExports: boolean | undefined;
2182
+ } | undefined;
2183
+
2184
+ declare function save_9(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
2185
+ colorMapping: ColorMapping[] | undefined;
2186
+ dataLabels: {
2187
+ visible: "auto" | boolean | undefined;
2188
+ style: "auto" | "backplate" | undefined;
2189
+ } | undefined;
2190
+ chartFill: {
2191
+ type: ChartFillType | undefined;
2192
+ measureToPatternName: Record<string, PatternFillName> | undefined;
2193
+ } | undefined;
2194
+ legend: {
2195
+ enabled: boolean | undefined;
2196
+ position: string | undefined;
2197
+ } | undefined;
2198
+ disableDrillDown: boolean | undefined;
2199
+ disableAlerts: boolean | undefined;
2200
+ disableScheduledExports: boolean | undefined;
2201
+ } | undefined;
2202
+
2203
+ /** @public */
2204
+ export declare function saveColorMapping(mapping: ListOfColors): Array<ColorMapping> | undefined;
2205
+
2206
+ /** @public */
2207
+ export declare function saveColumnWidths(fields: Visualisation["query"]["fields"], widths: Width[] | undefined): ColumnWidthItem[] | undefined;
2208
+
2209
+ declare function saveInlineVisualizations(metrics?: Bucket[]): InlineVisualizations;
2210
+
2211
+ export declare const scatterChart: {
2212
+ load: typeof load_6;
2213
+ save: typeof save_6;
2214
+ DEFAULTS: ConfigDefaults<DefaultProperties_6>;
2215
+ };
2216
+
2217
+ declare type Sorts_2 = {
2218
+ sortsArray: YAMLMap[];
2219
+ };
2220
+
2221
+ export declare const table: {
2222
+ load: typeof load;
2223
+ save: typeof save;
2224
+ DEFAULTS: ConfigDefaults<DefaultProperties>;
2225
+ };
2226
+
2227
+ /** @public */
2228
+ export declare const toDeclarativePermissions: (permissions?: {
2229
+ VIEW?: Permission | undefined;
2230
+ EDIT?: Permission | undefined;
2231
+ SHARE?: Permission | undefined;
2232
+ } | undefined) => [GenericPermission[], GenericPermission[]];
2233
+
163
2234
  /** @public */
164
2235
  export declare type ToExecutionResults = {
165
2236
  execution: AfmExecution;
@@ -169,9 +2240,41 @@ export declare type ToExecutionResults = {
169
2240
  sorting: Record<string, "ASC" | "DESC">;
170
2241
  };
171
2242
 
2243
+ export declare const treemapChart: {
2244
+ load: typeof load_10;
2245
+ save: typeof save_10;
2246
+ DEFAULTS: ConfigDefaults<DefaultProperties_10>;
2247
+ };
2248
+
2249
+ /** @public */
2250
+ export declare type ValueType = "string" | "bool" | "number" | "bool_auto" | "array";
2251
+
2252
+ declare type VisBucket = Omit<IBucket, "items" | "totals"> & {
2253
+ items: Array<Bucket>;
2254
+ };
2255
+
2256
+ /** @public */
2257
+ export declare type VisualisationConfig<T> = {
2258
+ controls?: T;
2259
+ };
2260
+
2261
+ declare type VisualisationDefinition = Pick<IInsight["insight"], "visualizationUrl" | "properties" | "filters" | "buckets" | "sorts" | "attributeFilterConfigs"> & {
2262
+ version: string;
2263
+ };
2264
+
2265
+ export declare const VisualisationsTypes: string[];
2266
+
2267
+ export declare const waterfallChart: {
2268
+ load: typeof load_15;
2269
+ save: typeof save_15;
2270
+ DEFAULTS: ConfigDefaults<DefaultProperties_15>;
2271
+ };
2272
+
172
2273
  /** @public */
173
2274
  export declare function yamlAttributeHierarchyToDeclarative(input: AttributeHierarchy): DeclarativeAttributeHierarchy;
174
2275
 
2276
+ export declare function yamlBucketsToDeclarative(input: Visualisation): VisBucket[];
2277
+
175
2278
  /** @public */
176
2279
  export declare function yamlDashboardToDeclarative(entities: ExportEntities, input: Dashboard): {
177
2280
  dashboard: DeclarativeAnalyticalDashboard;
@@ -192,13 +2295,49 @@ export declare function yamlDatasetToDeclarative(entities: ExportEntities, input
192
2295
  /** @public */
193
2296
  export declare function yamlDateDatesetToDeclarative(input: DateDataset): DeclarativeDateDataset;
194
2297
 
2298
+ export declare function yamlFilterContextToDeclarative(baseId: string, yamlFilters: DashboardFilters | undefined): {
2299
+ filterContext: DeclarativeFilterContext;
2300
+ dateFilterConfig: IDashboardDateFilterConfig | undefined;
2301
+ dateFilterConfigs: IDashboardDateFilterConfigItem[] | undefined;
2302
+ attributeFilterConfigs: IDashboardAttributeFilterConfig[] | undefined;
2303
+ filterGroupsConfig: IDashboardFilterGroupsConfig | undefined;
2304
+ };
2305
+
2306
+ export declare function yamlFiltersToDeclarative(entities: ExportEntities, filters_by: QueryFilters | undefined, attributeFilterConfigs?: IAttributeFilterConfigs): {
2307
+ filters: IFilter[];
2308
+ attributeFilterConfigs: IAttributeFilterConfigs | undefined;
2309
+ };
2310
+
2311
+ export declare function yamlInteractionToDeclarative(entities: ExportEntities, visualisation: string, input: Interaction): IDrillToInsight | IDrillToDashboard | IDrillToCustomUrl | IDrillToAttributeUrl | null;
2312
+
195
2313
  /** @public */
196
2314
  export declare function yamlMetricToDeclarative(input: Metric): DeclarativeMetric;
197
2315
 
2316
+ export declare function yamlPluginsToDeclarative(plugins: Dashboard["plugins"]): IDashboardPluginLink[] | undefined;
2317
+
198
2318
  /** @public */
199
2319
  export declare function yamlPluginToDeclarative(input: Plugin_2): DeclarativeDashboardPlugin;
200
2320
 
2321
+ export declare function yamlReportToDeclarative(entities: ExportEntities, input: Visualisation): {
2322
+ buckets: VisualisationDefinition["buckets"];
2323
+ sorts: VisualisationDefinition["sorts"];
2324
+ filters: VisualisationDefinition["filters"];
2325
+ positions: Array<{
2326
+ longitude: string;
2327
+ latitude: string;
2328
+ }>;
2329
+ attributeFilterConfigs?: IAttributeFilterConfigs;
2330
+ };
2331
+
2332
+ export declare function yamlReportTotalToDeclarative(totals: Total[] | undefined, attributeIdentifier: string): ITotal[];
2333
+
2334
+ export declare function yamlSortsToDeclarative(sort_by: Sorts | undefined, fields: Visualisation["query"]["fields"]): ISortItem[];
2335
+
201
2336
  /** @public */
202
2337
  export declare function yamlVisualisationToDeclarative(entities: ExportEntities, input: Visualisation): DeclarativeVisualizationObject;
203
2338
 
2339
+ export declare function yamlWidgetItemToDeclarative(entities: ExportEntities, input: Widget, enableSectionHeaders?: boolean): DashboardWidget | null;
2340
+
2341
+ export declare function yamlWidgetToDeclarative(entities: ExportEntities, input: VisualisationWidget | RichTextWidget | VisualizationSwitcherWidget | ContainerWidget, enableSectionHeaders?: boolean): DashboardWidget["widget"];
2342
+
204
2343
  export { }