react-semaphor 0.1.431 → 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.
- package/dist/briefings/index.js +1 -1
- package/dist/chunks/{csv-utils-suxSkJGj.js → csv-utils-BZDvO2Fw.js} +1 -1
- package/dist/chunks/{dashboard-CPq4lMF5.js → dashboard-BNNLoBLt.js} +5623 -5618
- package/dist/chunks/{dashboard-D2wh2Avv.js → dashboard-DxwOPUB6.js} +151 -151
- package/dist/chunks/{dashboard-briefing-launcher-n7BdUvVr.js → dashboard-briefing-launcher-B2jFSq0-.js} +3 -3
- package/dist/chunks/{dashboard-briefing-launcher-DyhfpSOW.js → dashboard-briefing-launcher-Hvo4V3np.js} +1 -1
- package/dist/chunks/{dashboard-controls-BoiZVnIH.js → dashboard-controls-CB2dDJP4.js} +3 -3
- package/dist/chunks/{dashboard-controls-BCkIDYU4.js → dashboard-controls-DwW7cOds.js} +1 -1
- package/dist/chunks/{dashboard-json-CC5FPyln.js → dashboard-json-cSLaRjlU.js} +1 -1
- package/dist/chunks/{dashboard-json-BW3ftPy_.js → dashboard-json-n4hMQPtc.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-CkVRSfgf.js → edit-dashboard-visual-BwXL-sin.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BYhZFx_B.js → edit-dashboard-visual-C5eejq9I.js} +3 -3
- package/dist/chunks/{numeric-presentation-CGTcqocU.js → numeric-presentation-BJs5lSar.js} +4 -4
- package/dist/chunks/{report-preferences-dialog-CDlNNs5F.js → report-preferences-dialog-CDYDm7dt.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-Dpt-3Gkx.js → report-preferences-dialog-D8Qe2GGf.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-Du9wYMdG.js → use-create-flow-overlay-state-9-aceNp5.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-CCJylXK4.js → use-create-flow-overlay-state-Dv5iYPzX.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +1 -1
- package/dist/format-utils/index.cjs +3 -2
- package/dist/format-utils/index.js +237 -137
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/format-utils.d.ts +27 -0
- package/dist/types/main.d.ts +16 -10
- package/dist/types/types.d.ts +14 -10
- package/package.json +1 -1
package/dist/types/main.d.ts
CHANGED
|
@@ -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
|
-
|
|
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;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2134,7 +2134,19 @@ declare type FixedMonthDefaultDateFilter = {
|
|
|
2134
2134
|
month: number;
|
|
2135
2135
|
};
|
|
2136
2136
|
|
|
2137
|
-
|
|
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;
|