@codetectonics/mantle 2.0.0 → 2.0.2
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/index.d.ts
CHANGED
|
@@ -1429,7 +1429,7 @@ declare class LocaleService {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
interface ChartConfig {
|
|
1432
|
-
|
|
1432
|
+
dataset_id: string;
|
|
1433
1433
|
chart_type: string;
|
|
1434
1434
|
x_axis: ChartConfigColumn;
|
|
1435
1435
|
y_axes: ChartConfigColumn[];
|
|
@@ -1459,6 +1459,7 @@ declare class ChartConfigInputComponent implements ControlValueAccessor, Validat
|
|
|
1459
1459
|
tooltip?: string;
|
|
1460
1460
|
options: {
|
|
1461
1461
|
datasets: {
|
|
1462
|
+
id: string;
|
|
1462
1463
|
name: string;
|
|
1463
1464
|
columns: {
|
|
1464
1465
|
name: string;
|
|
@@ -1473,7 +1474,10 @@ declare class ChartConfigInputComponent implements ControlValueAccessor, Validat
|
|
|
1473
1474
|
private filterContainer;
|
|
1474
1475
|
value: ChartConfig;
|
|
1475
1476
|
errorMessage: string | undefined;
|
|
1476
|
-
datasets:
|
|
1477
|
+
datasets: {
|
|
1478
|
+
id: string;
|
|
1479
|
+
name: string;
|
|
1480
|
+
}[];
|
|
1477
1481
|
private datasetColumns;
|
|
1478
1482
|
columnPickerOptions: {
|
|
1479
1483
|
values: {
|
|
@@ -1496,7 +1500,7 @@ declare class ChartConfigInputComponent implements ControlValueAccessor, Validat
|
|
|
1496
1500
|
writeValue(newValue: ChartConfig): void;
|
|
1497
1501
|
onValueChanged(event: ChartConfig): void;
|
|
1498
1502
|
applyChartOptions(): void;
|
|
1499
|
-
|
|
1503
|
+
setDatasetId(datasetId: string): void;
|
|
1500
1504
|
setChartType(chartType: string): void;
|
|
1501
1505
|
addYAxis(): void;
|
|
1502
1506
|
addYAxisFormGroup(yAxis: ChartConfigColumn): void;
|
|
@@ -1527,7 +1531,7 @@ declare class ChartConfigInputComponent implements ControlValueAccessor, Validat
|
|
|
1527
1531
|
}
|
|
1528
1532
|
|
|
1529
1533
|
interface ReportConfig {
|
|
1530
|
-
|
|
1534
|
+
dataset_id: string;
|
|
1531
1535
|
aggregated: boolean;
|
|
1532
1536
|
columns: ReportConfigColumn[];
|
|
1533
1537
|
filters: ReportConfigFilter[];
|
|
@@ -1562,6 +1566,7 @@ declare class ReportConfigInputComponent implements ControlValueAccessor, Valida
|
|
|
1562
1566
|
tooltip?: string;
|
|
1563
1567
|
options: {
|
|
1564
1568
|
datasets: {
|
|
1569
|
+
id: string;
|
|
1565
1570
|
name: string;
|
|
1566
1571
|
columns: {
|
|
1567
1572
|
name: string;
|
|
@@ -1575,7 +1580,10 @@ declare class ReportConfigInputComponent implements ControlValueAccessor, Valida
|
|
|
1575
1580
|
private filterContainer;
|
|
1576
1581
|
value: ReportConfig;
|
|
1577
1582
|
errorMessage: string | undefined;
|
|
1578
|
-
datasets:
|
|
1583
|
+
datasets: {
|
|
1584
|
+
id: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
}[];
|
|
1579
1587
|
datasetColumns: ReportConfigColumn[];
|
|
1580
1588
|
filterPickerOptions: {
|
|
1581
1589
|
values: {
|
|
@@ -1595,7 +1603,7 @@ declare class ReportConfigInputComponent implements ControlValueAccessor, Valida
|
|
|
1595
1603
|
applyReportOptions(): void;
|
|
1596
1604
|
applyValueToDatasetColumns(): void;
|
|
1597
1605
|
refreshValueColumns(): void;
|
|
1598
|
-
|
|
1606
|
+
setDatasetId(datasetId: string): void;
|
|
1599
1607
|
setAggregated(aggregated: boolean): void;
|
|
1600
1608
|
setSelected(item: ReportConfigColumn, selected: boolean): void;
|
|
1601
1609
|
setGroupBy(item: ReportConfigColumn, groupBy: boolean): void;
|