react-semaphor 0.0.550 → 0.0.551
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/dist/chunks/dashboard-plus-BBUFcg_2.js +425 -0
- package/dist/chunks/{dashboard-plus-BnkyzrOZ.js → dashboard-plus-BiTdiJWG.js} +2730 -2666
- package/dist/chunks/{index-CEWweOR2.js → index-CphHc_zH.js} +16175 -15394
- package/dist/chunks/{index-DIFWt1VS.js → index-_4WM9HaF.js} +147 -142
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +8 -1
- package/dist/types/main.d.ts +18 -1
- package/dist/types/surfboard.d.ts +8 -1
- package/dist/types/types.d.ts +8 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-BaRzk8Wl.js +0 -425
package/dist/surfboard/index.js
CHANGED
|
@@ -809,6 +809,13 @@ export declare type TCardPreferences = {
|
|
|
809
809
|
lowerIsBetter?: boolean;
|
|
810
810
|
countryLogoId?: string;
|
|
811
811
|
};
|
|
812
|
+
pivotTableOptions?: {
|
|
813
|
+
showRowTotals?: boolean;
|
|
814
|
+
showColumnTotals?: boolean;
|
|
815
|
+
showGrandTotal?: boolean;
|
|
816
|
+
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
817
|
+
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
818
|
+
};
|
|
812
819
|
};
|
|
813
820
|
|
|
814
821
|
export declare type TChartOptions = {
|
|
@@ -846,7 +853,7 @@ export declare type TChartOptions = {
|
|
|
846
853
|
};
|
|
847
854
|
};
|
|
848
855
|
|
|
849
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
856
|
+
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
850
857
|
|
|
851
858
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
852
859
|
columnIdx: number;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1091,6 +1091,16 @@ export declare interface PivotByField extends Field {
|
|
|
1091
1091
|
role: 'pivotby';
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
+
export declare interface PivotColumnSchema {
|
|
1095
|
+
alias: string;
|
|
1096
|
+
metricId: string;
|
|
1097
|
+
metricName: string;
|
|
1098
|
+
metricLabel?: string;
|
|
1099
|
+
pivotValues: string[];
|
|
1100
|
+
pivotFields: string[];
|
|
1101
|
+
displayLabel?: string;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1094
1104
|
export declare type Placeholders = {
|
|
1095
1105
|
/**
|
|
1096
1106
|
* Placeholder for the card when there are no records to display.
|
|
@@ -1352,6 +1362,13 @@ export declare type TCardPreferences = {
|
|
|
1352
1362
|
lowerIsBetter?: boolean;
|
|
1353
1363
|
countryLogoId?: string;
|
|
1354
1364
|
};
|
|
1365
|
+
pivotTableOptions?: {
|
|
1366
|
+
showRowTotals?: boolean;
|
|
1367
|
+
showColumnTotals?: boolean;
|
|
1368
|
+
showGrandTotal?: boolean;
|
|
1369
|
+
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
1370
|
+
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
1371
|
+
};
|
|
1355
1372
|
};
|
|
1356
1373
|
|
|
1357
1374
|
declare type TChartConfiguration = ChartConfiguration;
|
|
@@ -1391,7 +1408,7 @@ export declare type TChartOptions = {
|
|
|
1391
1408
|
};
|
|
1392
1409
|
};
|
|
1393
1410
|
|
|
1394
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
1411
|
+
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
1395
1412
|
|
|
1396
1413
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
1397
1414
|
columnIdx: number;
|
|
@@ -814,6 +814,13 @@ export declare type TCardPreferences = {
|
|
|
814
814
|
lowerIsBetter?: boolean;
|
|
815
815
|
countryLogoId?: string;
|
|
816
816
|
};
|
|
817
|
+
pivotTableOptions?: {
|
|
818
|
+
showRowTotals?: boolean;
|
|
819
|
+
showColumnTotals?: boolean;
|
|
820
|
+
showGrandTotal?: boolean;
|
|
821
|
+
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
822
|
+
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
823
|
+
};
|
|
817
824
|
};
|
|
818
825
|
|
|
819
826
|
export declare type TChartOptions = {
|
|
@@ -851,7 +858,7 @@ export declare type TChartOptions = {
|
|
|
851
858
|
};
|
|
852
859
|
};
|
|
853
860
|
|
|
854
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
861
|
+
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
855
862
|
|
|
856
863
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
857
864
|
columnIdx: number;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -806,6 +806,13 @@ export declare type TCardPreferences = {
|
|
|
806
806
|
lowerIsBetter?: boolean;
|
|
807
807
|
countryLogoId?: string;
|
|
808
808
|
};
|
|
809
|
+
pivotTableOptions?: {
|
|
810
|
+
showRowTotals?: boolean;
|
|
811
|
+
showColumnTotals?: boolean;
|
|
812
|
+
showGrandTotal?: boolean;
|
|
813
|
+
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
814
|
+
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
815
|
+
};
|
|
809
816
|
};
|
|
810
817
|
|
|
811
818
|
export declare type TChartOptions = {
|
|
@@ -843,7 +850,7 @@ export declare type TChartOptions = {
|
|
|
843
850
|
};
|
|
844
851
|
};
|
|
845
852
|
|
|
846
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
853
|
+
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
847
854
|
|
|
848
855
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
849
856
|
columnIdx: number;
|