react-semaphor 0.1.430 → 0.1.432

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.
Files changed (35) hide show
  1. package/dist/brand-studio/index.cjs +1 -1
  2. package/dist/brand-studio/index.js +1 -1
  3. package/dist/briefings/index.js +1 -1
  4. package/dist/chunks/{code-editor-DOh3aYEh.js → code-editor-BSENCZwR.js} +1 -1
  5. package/dist/chunks/{code-editor-C65eEYyU.js → code-editor-C8zzmSgt.js} +4 -3
  6. package/dist/chunks/{csv-utils-suxSkJGj.js → csv-utils-BZDvO2Fw.js} +1 -1
  7. package/dist/chunks/{dashboard-0Tpj3XFq.js → dashboard-BNNLoBLt.js} +26306 -26219
  8. package/dist/chunks/{dashboard-CVDy3fbO.js → dashboard-DxwOPUB6.js} +229 -229
  9. package/dist/chunks/{dashboard-briefing-launcher-pkNPk_4j.js → dashboard-briefing-launcher-B2jFSq0-.js} +4 -4
  10. package/dist/chunks/{dashboard-briefing-launcher-DLQqwXMF.js → dashboard-briefing-launcher-Hvo4V3np.js} +1 -1
  11. package/dist/chunks/{dashboard-controls-CIN4biYx.js → dashboard-controls-CB2dDJP4.js} +4 -4
  12. package/dist/chunks/{dashboard-controls-DbW9Jt_P.js → dashboard-controls-DwW7cOds.js} +1 -1
  13. package/dist/chunks/{dashboard-json-DBfR770k.js → dashboard-json-cSLaRjlU.js} +2 -2
  14. package/dist/chunks/{dashboard-json-BDKT0Z-m.js → dashboard-json-n4hMQPtc.js} +1 -1
  15. package/dist/chunks/{edit-dashboard-visual-BjAp_UpK.js → edit-dashboard-visual-BwXL-sin.js} +1 -1
  16. package/dist/chunks/{edit-dashboard-visual-qkvRHS8Q.js → edit-dashboard-visual-C5eejq9I.js} +4 -4
  17. package/dist/chunks/{numeric-presentation-CGTcqocU.js → numeric-presentation-BJs5lSar.js} +4 -4
  18. package/dist/chunks/{report-preferences-dialog-LCHeqh7t.js → report-preferences-dialog-CDYDm7dt.js} +1 -1
  19. package/dist/chunks/{report-preferences-dialog-Bx8uzG8K.js → report-preferences-dialog-D8Qe2GGf.js} +2 -2
  20. package/dist/chunks/{use-create-flow-overlay-state-C-j8E5IZ.js → use-create-flow-overlay-state-9-aceNp5.js} +2 -2
  21. package/dist/chunks/{use-create-flow-overlay-state-C-CxrQ48.js → use-create-flow-overlay-state-Dv5iYPzX.js} +1 -1
  22. package/dist/dashboard/index.cjs +1 -1
  23. package/dist/dashboard/index.js +1 -1
  24. package/dist/data-app-builder/index.cjs +1 -1
  25. package/dist/data-app-builder/index.js +2 -2
  26. package/dist/format-utils/index.cjs +3 -2
  27. package/dist/format-utils/index.js +237 -137
  28. package/dist/index.cjs +1 -1
  29. package/dist/index.js +6 -6
  30. package/dist/surfboard/index.cjs +1 -1
  31. package/dist/surfboard/index.js +2 -2
  32. package/dist/types/format-utils.d.ts +27 -0
  33. package/dist/types/main.d.ts +16 -10
  34. package/dist/types/types.d.ts +14 -10
  35. package/package.json +1 -1
@@ -1860,6 +1860,7 @@ export declare interface CreateExportRequest {
1860
1860
  resolvedPrimaryDateField?: ResolvedPrimaryDateField;
1861
1861
  globalDateComparison?: GlobalDateComparisonContext;
1862
1862
  reportContext: ReportRuntimeContext;
1863
+ tableTotalsRequest?: TableTotalsRequest;
1863
1864
  totalRows: number;
1864
1865
  format: ExportFormat;
1865
1866
  formatOptions: AuthoritativeExportFormattingConfig;
@@ -3345,6 +3346,7 @@ export declare interface ExportFormattingConfig {
3345
3346
  columnSettings?: Record<string, unknown>;
3346
3347
  visibleColumns?: string[];
3347
3348
  columnLabels?: Record<string, string>;
3349
+ tableTotalsLabelColumnKey?: string;
3348
3350
  resolvedNumericFormats?: NumericPresentationSnapshotEntry[];
3349
3351
  comparisonPresentation?: ComparisonPresentationSpec;
3350
3352
  }
@@ -3647,7 +3649,19 @@ declare type FixedMonthDefaultDateFilter = {
3647
3649
  month: number;
3648
3650
  };
3649
3651
 
3650
- export declare type FlatTableTotalsBehavior = 'sum' | 'avg' | 'count' | 'label';
3652
+ declare type FlatTableExportTotalsBehavior = 'sum' | 'avg' | 'count' | 'label';
3653
+
3654
+ declare type FlatTableExportTotalsRequest = {
3655
+ source: 'documentFlatTable';
3656
+ columns: Array<{
3657
+ fieldId: string;
3658
+ role: 'detail' | 'groupby' | 'metric';
3659
+ behavior: FlatTableExportTotalsBehavior;
3660
+ label?: string;
3661
+ }>;
3662
+ };
3663
+
3664
+ export declare type FlatTableTotalsBehavior = FlatTableExportTotalsBehavior;
3651
3665
 
3652
3666
  export declare function fmt(str: string): string;
3653
3667
 
@@ -6026,15 +6040,7 @@ declare type TableStylePreferences = {
6026
6040
 
6027
6041
  declare type TableTotalsFontWeight = 'normal' | 'medium' | 'semibold' | 'bold';
6028
6042
 
6029
- export declare type TableTotalsRequest = {
6030
- source: 'documentFlatTable';
6031
- columns: Array<{
6032
- fieldId: string;
6033
- role: 'detail' | 'groupby' | 'metric';
6034
- behavior: FlatTableTotalsBehavior;
6035
- label?: string;
6036
- }>;
6037
- };
6043
+ export declare type TableTotalsRequest = FlatTableExportTotalsRequest;
6038
6044
 
6039
6045
  declare type TableTotalsStylePreferences = {
6040
6046
  enabled?: boolean;
@@ -2134,7 +2134,19 @@ declare type FixedMonthDefaultDateFilter = {
2134
2134
  month: number;
2135
2135
  };
2136
2136
 
2137
- export declare type FlatTableTotalsBehavior = 'sum' | 'avg' | 'count' | 'label';
2137
+ declare type FlatTableExportTotalsBehavior = 'sum' | 'avg' | 'count' | 'label';
2138
+
2139
+ declare type FlatTableExportTotalsRequest = {
2140
+ source: 'documentFlatTable';
2141
+ columns: Array<{
2142
+ fieldId: string;
2143
+ role: 'detail' | 'groupby' | 'metric';
2144
+ behavior: FlatTableExportTotalsBehavior;
2145
+ label?: string;
2146
+ }>;
2147
+ };
2148
+
2149
+ export declare type FlatTableTotalsBehavior = FlatTableExportTotalsBehavior;
2138
2150
 
2139
2151
  export declare type FormatSpec = {
2140
2152
  type: 'number' | 'currency' | 'percent' | 'percentage' | 'scientific';
@@ -3692,15 +3704,7 @@ declare type TableStylePreferences = {
3692
3704
 
3693
3705
  declare type TableTotalsFontWeight = 'normal' | 'medium' | 'semibold' | 'bold';
3694
3706
 
3695
- export declare type TableTotalsRequest = {
3696
- source: 'documentFlatTable';
3697
- columns: Array<{
3698
- fieldId: string;
3699
- role: 'detail' | 'groupby' | 'metric';
3700
- behavior: FlatTableTotalsBehavior;
3701
- label?: string;
3702
- }>;
3703
- };
3707
+ export declare type TableTotalsRequest = FlatTableExportTotalsRequest;
3704
3708
 
3705
3709
  declare type TableTotalsStylePreferences = {
3706
3710
  enabled?: boolean;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.430",
8
+ "version": "0.1.432",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",