react-semaphor 0.1.475 → 0.1.476
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/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +1 -1
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +20 -20
- package/dist/chunks/{dashboard-briefing-launcher-B6tm7M3_.cjs → dashboard-briefing-launcher-ZfuxdRN2.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BZOpMkdj.js → dashboard-briefing-launcher-eBsB9kr8.js} +5 -5
- package/dist/chunks/{dashboard-controls-CHn88-1Q.js → dashboard-controls-BX6p6z8a.js} +5 -5
- package/dist/chunks/{dashboard-controls-CyoY0IC_.cjs → dashboard-controls-DwjEc7sO.cjs} +1 -1
- package/dist/chunks/dashboard-filter-value-compatibility-BCVF9IHg.js +1026 -0
- package/dist/chunks/dashboard-filter-value-compatibility-DLkdeypb.cjs +1 -0
- package/dist/chunks/{dashboard-json-Dh3UKm8Y.js → dashboard-json-BfgitBXc.js} +3 -3
- package/dist/chunks/{dashboard-json-BOsyKwip.cjs → dashboard-json-CdwYFOsc.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-DK--eIEf.cjs → edit-dashboard-visual-Cbougpzc.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BCz0oRoM.js → edit-dashboard-visual-D80DLF7C.js} +6 -6
- package/dist/chunks/{editor-action-buttons-D7JDG5pX.cjs → editor-action-buttons-BDRLfaW-.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-Dp-j9gS6.js → editor-action-buttons-DjsEDQok.js} +3 -3
- package/dist/chunks/index-CneWIz__.cjs +1404 -0
- package/dist/chunks/{index-DodDy3sE.js → index-D9S3j7_z.js} +532 -463
- package/dist/chunks/{index-Dw2nLjUn.js → index-Dv5hbC1r.js} +40766 -40484
- package/dist/chunks/index-v2MZLyus.cjs +4 -0
- package/dist/chunks/{pivot-header-presentation-BBiJU_57.js → pivot-header-presentation-CaERAWpl.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-BMyOXlXL.cjs → pivot-header-presentation-CePk1R6g.cjs} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-PxmbJWkm.js → pivot-result-lifecycle-B9FTybxN.js} +176 -165
- package/dist/chunks/pivot-result-lifecycle-CcGt_29N.cjs +1 -0
- package/dist/chunks/{report-preferences-dialog-Di8MmnqB.js → report-preferences-dialog-BXBlvW79.js} +2 -2
- package/dist/chunks/{report-preferences-dialog-B9JUV3Gr.cjs → report-preferences-dialog-cSMJYqns.cjs} +1 -1
- package/dist/chunks/switch-B1mZx2k9.cjs +138 -0
- package/dist/chunks/{switch-D20CIzj6.js → switch-C8NihGV4.js} +3326 -3318
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +298 -287
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/format-utils/index.cjs +3 -3
- package/dist/format-utils/index.js +61 -60
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings.d.ts +13 -1
- package/dist/types/dashboard-assistant.d.ts +2 -0
- package/dist/types/dashboard-authoring.d.ts +13 -1
- package/dist/types/dashboard.d.ts +19 -1
- package/dist/types/format-utils.d.ts +7 -0
- package/dist/types/main.d.ts +19 -1
- package/dist/types/shared.d.ts +13 -1
- package/dist/types/surfboard.d.ts +19 -1
- package/dist/types/types.d.ts +19 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-filter-value-compatibility-9W8Ckcle.js +0 -846
- package/dist/chunks/dashboard-filter-value-compatibility-Co1dn9Bc.cjs +0 -1
- package/dist/chunks/index-B4VxBoJg.cjs +0 -4
- package/dist/chunks/index-DpbiVs0_.cjs +0 -1404
- package/dist/chunks/pivot-result-lifecycle-DJgO2P0H.cjs +0 -1
- package/dist/chunks/switch-B4eH4guz.cjs +0 -138
package/dist/types/main.d.ts
CHANGED
|
@@ -547,6 +547,8 @@ declare type BaseFilter = {
|
|
|
547
547
|
valueType: 'string' | 'number' | 'date' | 'boolean';
|
|
548
548
|
connectionType?: 'database' | 'api';
|
|
549
549
|
dataType?: string;
|
|
550
|
+
/** Exact database type retained across dashboard-to-query transport. */
|
|
551
|
+
nativeDataType?: string;
|
|
550
552
|
fieldMeta?: FilterFieldMeta;
|
|
551
553
|
semanticContext?: FilterSemanticContext;
|
|
552
554
|
/** Governed meaning for canonical grouped-temporal filter values. */
|
|
@@ -3671,6 +3673,8 @@ export declare interface Field {
|
|
|
3671
3673
|
sourceField?: string;
|
|
3672
3674
|
qualifiedFieldName: string;
|
|
3673
3675
|
dataType: string;
|
|
3676
|
+
/** Exact database type when dataType is normalized for analytics/UI use. */
|
|
3677
|
+
nativeDataType?: string;
|
|
3674
3678
|
description?: string;
|
|
3675
3679
|
qualifiedEntityName?: string;
|
|
3676
3680
|
dateFormat?: DateFormatValue;
|
|
@@ -3760,6 +3764,8 @@ declare type FilterDisplayMode = 'canvas' | 'toolbar' | 'inherit';
|
|
|
3760
3764
|
declare type FilterFieldMeta = Pick<Field, 'name' | 'qualifiedFieldName'> & Partial<Pick<Field, 'id' | 'qualifiedEntityName' | 'entityId' | 'dataType' | 'role' | 'fieldScope'>> & {
|
|
3761
3765
|
entityName?: Field['entityName'];
|
|
3762
3766
|
entityType?: string;
|
|
3767
|
+
/** Exact database type used by server-side predicate formatting. */
|
|
3768
|
+
nativeDataType?: string;
|
|
3763
3769
|
expression?: string;
|
|
3764
3770
|
calculatedFormula?: CalculatedFieldFormula;
|
|
3765
3771
|
};
|
|
@@ -5034,8 +5040,10 @@ export declare function pauseBriefing(apiServiceUrl: string, token: string, brie
|
|
|
5034
5040
|
briefing: BriefingDetail;
|
|
5035
5041
|
}>;
|
|
5036
5042
|
|
|
5037
|
-
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat'> & {
|
|
5043
|
+
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat' | 'dateFormat'> & {
|
|
5038
5044
|
numberFormat?: Partial<ColumnSettings['numberFormat']>;
|
|
5045
|
+
/** Sparse persisted date settings; conditional requirements are enforced by the serializer. */
|
|
5046
|
+
dateFormat?: Partial<ColumnSettings['dateFormat']>;
|
|
5039
5047
|
};
|
|
5040
5048
|
|
|
5041
5049
|
declare type PersistedColumnSettingsMap = Record<string, PersistedColumnSettings>;
|
|
@@ -6957,6 +6965,12 @@ export declare type TDashboard = {
|
|
|
6957
6965
|
export declare type TDataColumn = {
|
|
6958
6966
|
column_name: string;
|
|
6959
6967
|
data_type: string;
|
|
6968
|
+
/** Exact catalog type when the columns API can prove it independently. */
|
|
6969
|
+
nativeDataType?: string;
|
|
6970
|
+
/** @deprecated Use the API contract spelling `nativeDataType`. */
|
|
6971
|
+
native_data_type?: string;
|
|
6972
|
+
/** Whether `data_type` came from semantic metadata or physical introspection. */
|
|
6973
|
+
dataTypeProvenance?: 'semantic' | 'physical';
|
|
6960
6974
|
is_nullable?: string;
|
|
6961
6975
|
label?: string;
|
|
6962
6976
|
description?: string;
|
|
@@ -7182,6 +7196,8 @@ export declare type TFilter = {
|
|
|
7182
7196
|
title: string;
|
|
7183
7197
|
column: string;
|
|
7184
7198
|
dataType: string;
|
|
7199
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
7200
|
+
nativeDataType?: string;
|
|
7185
7201
|
table?: string;
|
|
7186
7202
|
database?: string;
|
|
7187
7203
|
qualifiedTableName?: string;
|
|
@@ -7327,6 +7343,8 @@ export declare type TInlineFilter = {
|
|
|
7327
7343
|
column: string;
|
|
7328
7344
|
title: string;
|
|
7329
7345
|
dataType: string;
|
|
7346
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
7347
|
+
nativeDataType?: string;
|
|
7330
7348
|
table: string;
|
|
7331
7349
|
database: string;
|
|
7332
7350
|
qualifiedTableName?: string;
|
package/dist/types/shared.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ declare type BaseFilter = {
|
|
|
62
62
|
valueType: 'string' | 'number' | 'date' | 'boolean';
|
|
63
63
|
connectionType?: 'database' | 'api';
|
|
64
64
|
dataType?: string;
|
|
65
|
+
/** Exact database type retained across dashboard-to-query transport. */
|
|
66
|
+
nativeDataType?: string;
|
|
65
67
|
fieldMeta?: FilterFieldMeta;
|
|
66
68
|
semanticContext?: FilterSemanticContext;
|
|
67
69
|
/** Governed meaning for canonical grouped-temporal filter values. */
|
|
@@ -1179,6 +1181,8 @@ declare interface Field {
|
|
|
1179
1181
|
sourceField?: string;
|
|
1180
1182
|
qualifiedFieldName: string;
|
|
1181
1183
|
dataType: string;
|
|
1184
|
+
/** Exact database type when dataType is normalized for analytics/UI use. */
|
|
1185
|
+
nativeDataType?: string;
|
|
1182
1186
|
description?: string;
|
|
1183
1187
|
qualifiedEntityName?: string;
|
|
1184
1188
|
dateFormat?: DateFormatValue;
|
|
@@ -1268,6 +1272,8 @@ declare type FilterDisplayMode = 'canvas' | 'toolbar' | 'inherit';
|
|
|
1268
1272
|
declare type FilterFieldMeta = Pick<Field, 'name' | 'qualifiedFieldName'> & Partial<Pick<Field, 'id' | 'qualifiedEntityName' | 'entityId' | 'dataType' | 'role' | 'fieldScope'>> & {
|
|
1269
1273
|
entityName?: Field['entityName'];
|
|
1270
1274
|
entityType?: string;
|
|
1275
|
+
/** Exact database type used by server-side predicate formatting. */
|
|
1276
|
+
nativeDataType?: string;
|
|
1271
1277
|
expression?: string;
|
|
1272
1278
|
calculatedFormula?: CalculatedFieldFormula;
|
|
1273
1279
|
};
|
|
@@ -1712,8 +1718,10 @@ declare interface PaginationConfig {
|
|
|
1712
1718
|
pageSize: number;
|
|
1713
1719
|
}
|
|
1714
1720
|
|
|
1715
|
-
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat'> & {
|
|
1721
|
+
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat' | 'dateFormat'> & {
|
|
1716
1722
|
numberFormat?: Partial<ColumnSettings['numberFormat']>;
|
|
1723
|
+
/** Sparse persisted date settings; conditional requirements are enforced by the serializer. */
|
|
1724
|
+
dateFormat?: Partial<ColumnSettings['dateFormat']>;
|
|
1717
1725
|
};
|
|
1718
1726
|
|
|
1719
1727
|
declare type PersistedColumnSettingsMap = Record<string, PersistedColumnSettings>;
|
|
@@ -2861,6 +2869,8 @@ declare type TFilter = {
|
|
|
2861
2869
|
title: string;
|
|
2862
2870
|
column: string;
|
|
2863
2871
|
dataType: string;
|
|
2872
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
2873
|
+
nativeDataType?: string;
|
|
2864
2874
|
table?: string;
|
|
2865
2875
|
database?: string;
|
|
2866
2876
|
qualifiedTableName?: string;
|
|
@@ -2998,6 +3008,8 @@ declare type TInlineFilter = {
|
|
|
2998
3008
|
column: string;
|
|
2999
3009
|
title: string;
|
|
3000
3010
|
dataType: string;
|
|
3011
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
3012
|
+
nativeDataType?: string;
|
|
3001
3013
|
table: string;
|
|
3002
3014
|
database: string;
|
|
3003
3015
|
qualifiedTableName?: string;
|
|
@@ -136,6 +136,8 @@ declare type BaseFilter = {
|
|
|
136
136
|
valueType: 'string' | 'number' | 'date' | 'boolean';
|
|
137
137
|
connectionType?: 'database' | 'api';
|
|
138
138
|
dataType?: string;
|
|
139
|
+
/** Exact database type retained across dashboard-to-query transport. */
|
|
140
|
+
nativeDataType?: string;
|
|
139
141
|
fieldMeta?: FilterFieldMeta;
|
|
140
142
|
semanticContext?: FilterSemanticContext;
|
|
141
143
|
/** Governed meaning for canonical grouped-temporal filter values. */
|
|
@@ -1551,6 +1553,8 @@ declare interface Field {
|
|
|
1551
1553
|
sourceField?: string;
|
|
1552
1554
|
qualifiedFieldName: string;
|
|
1553
1555
|
dataType: string;
|
|
1556
|
+
/** Exact database type when dataType is normalized for analytics/UI use. */
|
|
1557
|
+
nativeDataType?: string;
|
|
1554
1558
|
description?: string;
|
|
1555
1559
|
qualifiedEntityName?: string;
|
|
1556
1560
|
dateFormat?: DateFormatValue;
|
|
@@ -1640,6 +1644,8 @@ declare type FilterDisplayMode = 'canvas' | 'toolbar' | 'inherit';
|
|
|
1640
1644
|
declare type FilterFieldMeta = Pick<Field, 'name' | 'qualifiedFieldName'> & Partial<Pick<Field, 'id' | 'qualifiedEntityName' | 'entityId' | 'dataType' | 'role' | 'fieldScope'>> & {
|
|
1641
1645
|
entityName?: Field['entityName'];
|
|
1642
1646
|
entityType?: string;
|
|
1647
|
+
/** Exact database type used by server-side predicate formatting. */
|
|
1648
|
+
nativeDataType?: string;
|
|
1643
1649
|
expression?: string;
|
|
1644
1650
|
calculatedFormula?: CalculatedFieldFormula;
|
|
1645
1651
|
};
|
|
@@ -2228,8 +2234,10 @@ declare type Params = {
|
|
|
2228
2234
|
[key: string]: string | number | string[] | number[];
|
|
2229
2235
|
};
|
|
2230
2236
|
|
|
2231
|
-
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat'> & {
|
|
2237
|
+
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat' | 'dateFormat'> & {
|
|
2232
2238
|
numberFormat?: Partial<ColumnSettings['numberFormat']>;
|
|
2239
|
+
/** Sparse persisted date settings; conditional requirements are enforced by the serializer. */
|
|
2240
|
+
dateFormat?: Partial<ColumnSettings['dateFormat']>;
|
|
2233
2241
|
};
|
|
2234
2242
|
|
|
2235
2243
|
declare type PersistedColumnSettingsMap = Record<string, PersistedColumnSettings>;
|
|
@@ -3491,6 +3499,12 @@ export declare type TDashboard = {
|
|
|
3491
3499
|
export declare type TDataColumn = {
|
|
3492
3500
|
column_name: string;
|
|
3493
3501
|
data_type: string;
|
|
3502
|
+
/** Exact catalog type when the columns API can prove it independently. */
|
|
3503
|
+
nativeDataType?: string;
|
|
3504
|
+
/** @deprecated Use the API contract spelling `nativeDataType`. */
|
|
3505
|
+
native_data_type?: string;
|
|
3506
|
+
/** Whether `data_type` came from semantic metadata or physical introspection. */
|
|
3507
|
+
dataTypeProvenance?: 'semantic' | 'physical';
|
|
3494
3508
|
is_nullable?: string;
|
|
3495
3509
|
label?: string;
|
|
3496
3510
|
description?: string;
|
|
@@ -3714,6 +3728,8 @@ declare type TFilter = {
|
|
|
3714
3728
|
title: string;
|
|
3715
3729
|
column: string;
|
|
3716
3730
|
dataType: string;
|
|
3731
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
3732
|
+
nativeDataType?: string;
|
|
3717
3733
|
table?: string;
|
|
3718
3734
|
database?: string;
|
|
3719
3735
|
qualifiedTableName?: string;
|
|
@@ -3859,6 +3875,8 @@ export declare type TInlineFilter = {
|
|
|
3859
3875
|
column: string;
|
|
3860
3876
|
title: string;
|
|
3861
3877
|
dataType: string;
|
|
3878
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
3879
|
+
nativeDataType?: string;
|
|
3862
3880
|
table: string;
|
|
3863
3881
|
database: string;
|
|
3864
3882
|
qualifiedTableName?: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -145,6 +145,8 @@ declare type BaseFilter = {
|
|
|
145
145
|
valueType: 'string' | 'number' | 'date' | 'boolean';
|
|
146
146
|
connectionType?: 'database' | 'api';
|
|
147
147
|
dataType?: string;
|
|
148
|
+
/** Exact database type retained across dashboard-to-query transport. */
|
|
149
|
+
nativeDataType?: string;
|
|
148
150
|
fieldMeta?: FilterFieldMeta;
|
|
149
151
|
semanticContext?: FilterSemanticContext;
|
|
150
152
|
/** Governed meaning for canonical grouped-temporal filter values. */
|
|
@@ -2133,6 +2135,8 @@ export declare interface Field {
|
|
|
2133
2135
|
sourceField?: string;
|
|
2134
2136
|
qualifiedFieldName: string;
|
|
2135
2137
|
dataType: string;
|
|
2138
|
+
/** Exact database type when dataType is normalized for analytics/UI use. */
|
|
2139
|
+
nativeDataType?: string;
|
|
2136
2140
|
description?: string;
|
|
2137
2141
|
qualifiedEntityName?: string;
|
|
2138
2142
|
dateFormat?: DateFormatValue;
|
|
@@ -2222,6 +2226,8 @@ declare type FilterDisplayMode = 'canvas' | 'toolbar' | 'inherit';
|
|
|
2222
2226
|
export declare type FilterFieldMeta = Pick<Field, 'name' | 'qualifiedFieldName'> & Partial<Pick<Field, 'id' | 'qualifiedEntityName' | 'entityId' | 'dataType' | 'role' | 'fieldScope'>> & {
|
|
2223
2227
|
entityName?: Field['entityName'];
|
|
2224
2228
|
entityType?: string;
|
|
2229
|
+
/** Exact database type used by server-side predicate formatting. */
|
|
2230
|
+
nativeDataType?: string;
|
|
2225
2231
|
expression?: string;
|
|
2226
2232
|
calculatedFormula?: CalculatedFieldFormula;
|
|
2227
2233
|
};
|
|
@@ -3129,8 +3135,10 @@ declare type Params = {
|
|
|
3129
3135
|
[key: string]: string | number | string[] | number[];
|
|
3130
3136
|
};
|
|
3131
3137
|
|
|
3132
|
-
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat'> & {
|
|
3138
|
+
declare type PersistedColumnSettings = Omit<Partial<ColumnSettings>, 'numberFormat' | 'dateFormat'> & {
|
|
3133
3139
|
numberFormat?: Partial<ColumnSettings['numberFormat']>;
|
|
3140
|
+
/** Sparse persisted date settings; conditional requirements are enforced by the serializer. */
|
|
3141
|
+
dateFormat?: Partial<ColumnSettings['dateFormat']>;
|
|
3134
3142
|
};
|
|
3135
3143
|
|
|
3136
3144
|
declare type PersistedColumnSettingsMap = Record<string, PersistedColumnSettings>;
|
|
@@ -4681,6 +4689,12 @@ export declare type TDashboard = {
|
|
|
4681
4689
|
export declare type TDataColumn = {
|
|
4682
4690
|
column_name: string;
|
|
4683
4691
|
data_type: string;
|
|
4692
|
+
/** Exact catalog type when the columns API can prove it independently. */
|
|
4693
|
+
nativeDataType?: string;
|
|
4694
|
+
/** @deprecated Use the API contract spelling `nativeDataType`. */
|
|
4695
|
+
native_data_type?: string;
|
|
4696
|
+
/** Whether `data_type` came from semantic metadata or physical introspection. */
|
|
4697
|
+
dataTypeProvenance?: 'semantic' | 'physical';
|
|
4684
4698
|
is_nullable?: string;
|
|
4685
4699
|
label?: string;
|
|
4686
4700
|
description?: string;
|
|
@@ -4906,6 +4920,8 @@ export declare type TFilter = {
|
|
|
4906
4920
|
title: string;
|
|
4907
4921
|
column: string;
|
|
4908
4922
|
dataType: string;
|
|
4923
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
4924
|
+
nativeDataType?: string;
|
|
4909
4925
|
table?: string;
|
|
4910
4926
|
database?: string;
|
|
4911
4927
|
qualifiedTableName?: string;
|
|
@@ -5051,6 +5067,8 @@ export declare type TInlineFilter = {
|
|
|
5051
5067
|
column: string;
|
|
5052
5068
|
title: string;
|
|
5053
5069
|
dataType: string;
|
|
5070
|
+
/** Exact database type retained when dataType is a normalized UI category. */
|
|
5071
|
+
nativeDataType?: string;
|
|
5054
5072
|
table: string;
|
|
5055
5073
|
database: string;
|
|
5056
5074
|
qualifiedTableName?: string;
|