react-semaphor 0.0.572 → 0.0.573
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-CIPiUNal.js +431 -0
- package/dist/chunks/{dashboard-plus-DHeAgwZa.js → dashboard-plus-k1blZbG_.js} +7941 -7201
- package/dist/chunks/{index-BLDEqvw3.js → index-B5zRA1gM.js} +18935 -18780
- package/dist/chunks/{index-VnK5nMtS.js → index-CO-2JzLZ.js} +132 -127
- 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 +23 -1
- package/dist/types/main.d.ts +23 -1
- package/dist/types/surfboard.d.ts +23 -1
- package/dist/types/types.d.ts +23 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-v6hwyk70.js +0 -425
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-CIPiUNal.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -37,7 +37,6 @@ export declare type AxisConfig = {
|
|
|
37
37
|
enabled: boolean;
|
|
38
38
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
39
39
|
};
|
|
40
|
-
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
41
40
|
formatOptions?: TFormatOptions;
|
|
42
41
|
scale?: {
|
|
43
42
|
min?: number | 'auto';
|
|
@@ -858,6 +857,27 @@ export declare type TCardPreferences = {
|
|
|
858
857
|
kpiVisualOptions?: {
|
|
859
858
|
lowerIsBetter?: boolean;
|
|
860
859
|
countryLogoId?: string;
|
|
860
|
+
formatOptions?: TFormatOptions;
|
|
861
|
+
metricComparison?: {
|
|
862
|
+
enabled?: boolean;
|
|
863
|
+
calculationType?: 'difference' | 'change' | 'change_difference' | 'ratio';
|
|
864
|
+
formatOptions?: TFormatOptions;
|
|
865
|
+
showArrow?: boolean;
|
|
866
|
+
showColor?: boolean;
|
|
867
|
+
conditionalLabel?: boolean;
|
|
868
|
+
labelName?: string;
|
|
869
|
+
position?: 'left' | 'right' | 'top';
|
|
870
|
+
conditionalLabels?: {
|
|
871
|
+
increase?: string;
|
|
872
|
+
decrease?: string;
|
|
873
|
+
noChange?: string;
|
|
874
|
+
};
|
|
875
|
+
colorConfig?: {
|
|
876
|
+
increase?: 'green' | 'red' | 'neutral' | string;
|
|
877
|
+
decrease?: 'green' | 'red' | 'neutral' | string;
|
|
878
|
+
noChange?: 'green' | 'red' | 'neutral' | string;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
861
881
|
};
|
|
862
882
|
pivotTableOptions?: {
|
|
863
883
|
showRowTotals?: boolean;
|
|
@@ -1020,6 +1040,7 @@ declare type TFilter = {
|
|
|
1020
1040
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1021
1041
|
|
|
1022
1042
|
export declare type TFormatOptions = {
|
|
1043
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1023
1044
|
decimalPlaces?: number;
|
|
1024
1045
|
currency?: string;
|
|
1025
1046
|
locale?: string;
|
|
@@ -1028,6 +1049,7 @@ export declare type TFormatOptions = {
|
|
|
1028
1049
|
useSuffix?: boolean;
|
|
1029
1050
|
negativeInParentheses?: boolean;
|
|
1030
1051
|
multiplyBy?: number;
|
|
1052
|
+
dateFormat?: string;
|
|
1031
1053
|
};
|
|
1032
1054
|
|
|
1033
1055
|
export declare type TFrame = {
|
package/dist/types/main.d.ts
CHANGED
|
@@ -242,7 +242,6 @@ export declare type AxisConfig = {
|
|
|
242
242
|
enabled: boolean;
|
|
243
243
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
244
244
|
};
|
|
245
|
-
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
246
245
|
formatOptions?: TFormatOptions;
|
|
247
246
|
scale?: {
|
|
248
247
|
min?: number | 'auto';
|
|
@@ -1455,6 +1454,27 @@ export declare type TCardPreferences = {
|
|
|
1455
1454
|
kpiVisualOptions?: {
|
|
1456
1455
|
lowerIsBetter?: boolean;
|
|
1457
1456
|
countryLogoId?: string;
|
|
1457
|
+
formatOptions?: TFormatOptions;
|
|
1458
|
+
metricComparison?: {
|
|
1459
|
+
enabled?: boolean;
|
|
1460
|
+
calculationType?: 'difference' | 'change' | 'change_difference' | 'ratio';
|
|
1461
|
+
formatOptions?: TFormatOptions;
|
|
1462
|
+
showArrow?: boolean;
|
|
1463
|
+
showColor?: boolean;
|
|
1464
|
+
conditionalLabel?: boolean;
|
|
1465
|
+
labelName?: string;
|
|
1466
|
+
position?: 'left' | 'right' | 'top';
|
|
1467
|
+
conditionalLabels?: {
|
|
1468
|
+
increase?: string;
|
|
1469
|
+
decrease?: string;
|
|
1470
|
+
noChange?: string;
|
|
1471
|
+
};
|
|
1472
|
+
colorConfig?: {
|
|
1473
|
+
increase?: 'green' | 'red' | 'neutral' | string;
|
|
1474
|
+
decrease?: 'green' | 'red' | 'neutral' | string;
|
|
1475
|
+
noChange?: 'green' | 'red' | 'neutral' | string;
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1458
1478
|
};
|
|
1459
1479
|
pivotTableOptions?: {
|
|
1460
1480
|
showRowTotals?: boolean;
|
|
@@ -1619,6 +1639,7 @@ declare type TFilter = {
|
|
|
1619
1639
|
export declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1620
1640
|
|
|
1621
1641
|
export declare type TFormatOptions = {
|
|
1642
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1622
1643
|
decimalPlaces?: number;
|
|
1623
1644
|
currency?: string;
|
|
1624
1645
|
locale?: string;
|
|
@@ -1627,6 +1648,7 @@ export declare type TFormatOptions = {
|
|
|
1627
1648
|
useSuffix?: boolean;
|
|
1628
1649
|
negativeInParentheses?: boolean;
|
|
1629
1650
|
multiplyBy?: number;
|
|
1651
|
+
dateFormat?: string;
|
|
1630
1652
|
};
|
|
1631
1653
|
|
|
1632
1654
|
export declare type TFrame = {
|
|
@@ -37,7 +37,6 @@ export declare type AxisConfig = {
|
|
|
37
37
|
enabled: boolean;
|
|
38
38
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
39
39
|
};
|
|
40
|
-
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
41
40
|
formatOptions?: TFormatOptions;
|
|
42
41
|
scale?: {
|
|
43
42
|
min?: number | 'auto';
|
|
@@ -863,6 +862,27 @@ export declare type TCardPreferences = {
|
|
|
863
862
|
kpiVisualOptions?: {
|
|
864
863
|
lowerIsBetter?: boolean;
|
|
865
864
|
countryLogoId?: string;
|
|
865
|
+
formatOptions?: TFormatOptions;
|
|
866
|
+
metricComparison?: {
|
|
867
|
+
enabled?: boolean;
|
|
868
|
+
calculationType?: 'difference' | 'change' | 'change_difference' | 'ratio';
|
|
869
|
+
formatOptions?: TFormatOptions;
|
|
870
|
+
showArrow?: boolean;
|
|
871
|
+
showColor?: boolean;
|
|
872
|
+
conditionalLabel?: boolean;
|
|
873
|
+
labelName?: string;
|
|
874
|
+
position?: 'left' | 'right' | 'top';
|
|
875
|
+
conditionalLabels?: {
|
|
876
|
+
increase?: string;
|
|
877
|
+
decrease?: string;
|
|
878
|
+
noChange?: string;
|
|
879
|
+
};
|
|
880
|
+
colorConfig?: {
|
|
881
|
+
increase?: 'green' | 'red' | 'neutral' | string;
|
|
882
|
+
decrease?: 'green' | 'red' | 'neutral' | string;
|
|
883
|
+
noChange?: 'green' | 'red' | 'neutral' | string;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
866
886
|
};
|
|
867
887
|
pivotTableOptions?: {
|
|
868
888
|
showRowTotals?: boolean;
|
|
@@ -1025,6 +1045,7 @@ declare type TFilter = {
|
|
|
1025
1045
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1026
1046
|
|
|
1027
1047
|
export declare type TFormatOptions = {
|
|
1048
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1028
1049
|
decimalPlaces?: number;
|
|
1029
1050
|
currency?: string;
|
|
1030
1051
|
locale?: string;
|
|
@@ -1033,6 +1054,7 @@ export declare type TFormatOptions = {
|
|
|
1033
1054
|
useSuffix?: boolean;
|
|
1034
1055
|
negativeInParentheses?: boolean;
|
|
1035
1056
|
multiplyBy?: number;
|
|
1057
|
+
dateFormat?: string;
|
|
1036
1058
|
};
|
|
1037
1059
|
|
|
1038
1060
|
export declare type TFrame = {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export declare type AxisConfig = {
|
|
|
36
36
|
enabled: boolean;
|
|
37
37
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
38
38
|
};
|
|
39
|
-
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
40
39
|
formatOptions?: TFormatOptions;
|
|
41
40
|
scale?: {
|
|
42
41
|
min?: number | 'auto';
|
|
@@ -855,6 +854,27 @@ export declare type TCardPreferences = {
|
|
|
855
854
|
kpiVisualOptions?: {
|
|
856
855
|
lowerIsBetter?: boolean;
|
|
857
856
|
countryLogoId?: string;
|
|
857
|
+
formatOptions?: TFormatOptions;
|
|
858
|
+
metricComparison?: {
|
|
859
|
+
enabled?: boolean;
|
|
860
|
+
calculationType?: 'difference' | 'change' | 'change_difference' | 'ratio';
|
|
861
|
+
formatOptions?: TFormatOptions;
|
|
862
|
+
showArrow?: boolean;
|
|
863
|
+
showColor?: boolean;
|
|
864
|
+
conditionalLabel?: boolean;
|
|
865
|
+
labelName?: string;
|
|
866
|
+
position?: 'left' | 'right' | 'top';
|
|
867
|
+
conditionalLabels?: {
|
|
868
|
+
increase?: string;
|
|
869
|
+
decrease?: string;
|
|
870
|
+
noChange?: string;
|
|
871
|
+
};
|
|
872
|
+
colorConfig?: {
|
|
873
|
+
increase?: 'green' | 'red' | 'neutral' | string;
|
|
874
|
+
decrease?: 'green' | 'red' | 'neutral' | string;
|
|
875
|
+
noChange?: 'green' | 'red' | 'neutral' | string;
|
|
876
|
+
};
|
|
877
|
+
};
|
|
858
878
|
};
|
|
859
879
|
pivotTableOptions?: {
|
|
860
880
|
showRowTotals?: boolean;
|
|
@@ -1017,6 +1037,7 @@ declare type TFilter = {
|
|
|
1017
1037
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1018
1038
|
|
|
1019
1039
|
export declare type TFormatOptions = {
|
|
1040
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1020
1041
|
decimalPlaces?: number;
|
|
1021
1042
|
currency?: string;
|
|
1022
1043
|
locale?: string;
|
|
@@ -1025,6 +1046,7 @@ export declare type TFormatOptions = {
|
|
|
1025
1046
|
useSuffix?: boolean;
|
|
1026
1047
|
negativeInParentheses?: boolean;
|
|
1027
1048
|
multiplyBy?: number;
|
|
1049
|
+
dateFormat?: string;
|
|
1028
1050
|
};
|
|
1029
1051
|
|
|
1030
1052
|
export declare type TFrame = {
|