react-semaphor 0.0.571 → 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-C32xyi1Z.js → dashboard-plus-k1blZbG_.js} +7468 -6692
- package/dist/chunks/{index-BSZ4q0Db.js → index-B5zRA1gM.js} +20405 -20174
- package/dist/chunks/index-CO-2JzLZ.js +653 -0
- 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 +26 -2
- package/dist/types/main.d.ts +26 -15
- package/dist/types/surfboard.d.ts +26 -2
- package/dist/types/types.d.ts +26 -2
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-BoQnT85A.js +0 -455
- package/dist/chunks/index-sMMR87WC.js +0 -648
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';
|
|
@@ -611,7 +610,9 @@ declare interface MetricField extends Field {
|
|
|
611
610
|
}
|
|
612
611
|
}
|
|
613
612
|
*/
|
|
614
|
-
parameters?:
|
|
613
|
+
parameters?: {
|
|
614
|
+
filters?: FilterGroup;
|
|
615
|
+
};
|
|
615
616
|
aliasTemplate?: string;
|
|
616
617
|
valueAliases?: Record<string, string>;
|
|
617
618
|
}
|
|
@@ -856,6 +857,27 @@ export declare type TCardPreferences = {
|
|
|
856
857
|
kpiVisualOptions?: {
|
|
857
858
|
lowerIsBetter?: boolean;
|
|
858
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
|
+
};
|
|
859
881
|
};
|
|
860
882
|
pivotTableOptions?: {
|
|
861
883
|
showRowTotals?: boolean;
|
|
@@ -1018,6 +1040,7 @@ declare type TFilter = {
|
|
|
1018
1040
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1019
1041
|
|
|
1020
1042
|
export declare type TFormatOptions = {
|
|
1043
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1021
1044
|
decimalPlaces?: number;
|
|
1022
1045
|
currency?: string;
|
|
1023
1046
|
locale?: string;
|
|
@@ -1026,6 +1049,7 @@ export declare type TFormatOptions = {
|
|
|
1026
1049
|
useSuffix?: boolean;
|
|
1027
1050
|
negativeInParentheses?: boolean;
|
|
1028
1051
|
multiplyBy?: number;
|
|
1052
|
+
dateFormat?: string;
|
|
1029
1053
|
};
|
|
1030
1054
|
|
|
1031
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';
|
|
@@ -427,13 +426,6 @@ declare interface ColumnSettings {
|
|
|
427
426
|
|
|
428
427
|
declare type ColumnSettingsMap = Record<string, ColumnSettings>;
|
|
429
428
|
|
|
430
|
-
export declare interface ColumnSubtotalMeta {
|
|
431
|
-
alias: string;
|
|
432
|
-
subtotalLevel?: string;
|
|
433
|
-
isColumnSubtotal?: boolean;
|
|
434
|
-
isColumnTotal?: boolean;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
429
|
export declare type ColumnType = 'string' | 'number' | 'date';
|
|
438
430
|
|
|
439
431
|
declare type ComboBoxOption = {
|
|
@@ -1091,7 +1083,9 @@ export declare interface MetricField extends Field {
|
|
|
1091
1083
|
}
|
|
1092
1084
|
}
|
|
1093
1085
|
*/
|
|
1094
|
-
parameters?:
|
|
1086
|
+
parameters?: {
|
|
1087
|
+
filters?: FilterGroup;
|
|
1088
|
+
};
|
|
1095
1089
|
aliasTemplate?: string;
|
|
1096
1090
|
valueAliases?: Record<string, string>;
|
|
1097
1091
|
}
|
|
@@ -1186,12 +1180,6 @@ export declare enum PivotMarkerEnum {
|
|
|
1186
1180
|
ALL = "__ALL__"
|
|
1187
1181
|
}
|
|
1188
1182
|
|
|
1189
|
-
export declare interface PivotRowMetadata {
|
|
1190
|
-
isSubtotal?: boolean;
|
|
1191
|
-
subtotalLevel?: string | null;
|
|
1192
|
-
isGrandTotal?: boolean;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
1183
|
export declare type Placeholders = {
|
|
1196
1184
|
/**
|
|
1197
1185
|
* Placeholder for the card when there are no records to display.
|
|
@@ -1466,6 +1454,27 @@ export declare type TCardPreferences = {
|
|
|
1466
1454
|
kpiVisualOptions?: {
|
|
1467
1455
|
lowerIsBetter?: boolean;
|
|
1468
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
|
+
};
|
|
1469
1478
|
};
|
|
1470
1479
|
pivotTableOptions?: {
|
|
1471
1480
|
showRowTotals?: boolean;
|
|
@@ -1630,6 +1639,7 @@ declare type TFilter = {
|
|
|
1630
1639
|
export declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1631
1640
|
|
|
1632
1641
|
export declare type TFormatOptions = {
|
|
1642
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1633
1643
|
decimalPlaces?: number;
|
|
1634
1644
|
currency?: string;
|
|
1635
1645
|
locale?: string;
|
|
@@ -1638,6 +1648,7 @@ export declare type TFormatOptions = {
|
|
|
1638
1648
|
useSuffix?: boolean;
|
|
1639
1649
|
negativeInParentheses?: boolean;
|
|
1640
1650
|
multiplyBy?: number;
|
|
1651
|
+
dateFormat?: string;
|
|
1641
1652
|
};
|
|
1642
1653
|
|
|
1643
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';
|
|
@@ -614,7 +613,9 @@ declare interface MetricField extends Field {
|
|
|
614
613
|
}
|
|
615
614
|
}
|
|
616
615
|
*/
|
|
617
|
-
parameters?:
|
|
616
|
+
parameters?: {
|
|
617
|
+
filters?: FilterGroup;
|
|
618
|
+
};
|
|
618
619
|
aliasTemplate?: string;
|
|
619
620
|
valueAliases?: Record<string, string>;
|
|
620
621
|
}
|
|
@@ -861,6 +862,27 @@ export declare type TCardPreferences = {
|
|
|
861
862
|
kpiVisualOptions?: {
|
|
862
863
|
lowerIsBetter?: boolean;
|
|
863
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
|
+
};
|
|
864
886
|
};
|
|
865
887
|
pivotTableOptions?: {
|
|
866
888
|
showRowTotals?: boolean;
|
|
@@ -1023,6 +1045,7 @@ declare type TFilter = {
|
|
|
1023
1045
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1024
1046
|
|
|
1025
1047
|
export declare type TFormatOptions = {
|
|
1048
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1026
1049
|
decimalPlaces?: number;
|
|
1027
1050
|
currency?: string;
|
|
1028
1051
|
locale?: string;
|
|
@@ -1031,6 +1054,7 @@ export declare type TFormatOptions = {
|
|
|
1031
1054
|
useSuffix?: boolean;
|
|
1032
1055
|
negativeInParentheses?: boolean;
|
|
1033
1056
|
multiplyBy?: number;
|
|
1057
|
+
dateFormat?: string;
|
|
1034
1058
|
};
|
|
1035
1059
|
|
|
1036
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';
|
|
@@ -608,7 +607,9 @@ declare interface MetricField extends Field {
|
|
|
608
607
|
}
|
|
609
608
|
}
|
|
610
609
|
*/
|
|
611
|
-
parameters?:
|
|
610
|
+
parameters?: {
|
|
611
|
+
filters?: FilterGroup;
|
|
612
|
+
};
|
|
612
613
|
aliasTemplate?: string;
|
|
613
614
|
valueAliases?: Record<string, string>;
|
|
614
615
|
}
|
|
@@ -853,6 +854,27 @@ export declare type TCardPreferences = {
|
|
|
853
854
|
kpiVisualOptions?: {
|
|
854
855
|
lowerIsBetter?: boolean;
|
|
855
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
|
+
};
|
|
856
878
|
};
|
|
857
879
|
pivotTableOptions?: {
|
|
858
880
|
showRowTotals?: boolean;
|
|
@@ -1015,6 +1037,7 @@ declare type TFilter = {
|
|
|
1015
1037
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1016
1038
|
|
|
1017
1039
|
export declare type TFormatOptions = {
|
|
1040
|
+
type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date';
|
|
1018
1041
|
decimalPlaces?: number;
|
|
1019
1042
|
currency?: string;
|
|
1020
1043
|
locale?: string;
|
|
@@ -1023,6 +1046,7 @@ export declare type TFormatOptions = {
|
|
|
1023
1046
|
useSuffix?: boolean;
|
|
1024
1047
|
negativeInParentheses?: boolean;
|
|
1025
1048
|
multiplyBy?: number;
|
|
1049
|
+
dateFormat?: string;
|
|
1026
1050
|
};
|
|
1027
1051
|
|
|
1028
1052
|
export declare type TFrame = {
|