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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-v6hwyk70.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
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;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-DHeAgwZa.js";
1
+ import { D as f } from "../chunks/dashboard-plus-k1blZbG_.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -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 = {
@@ -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 = {
@@ -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 = {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.572",
8
+ "version": "0.0.573",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",