react-semaphor 0.0.597 → 0.0.599
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-BaplQ0xO.js +361 -0
- package/dist/chunks/{dashboard-plus-RBclqnFM.js → dashboard-plus-DEvUJH_h.js} +4552 -4438
- package/dist/chunks/{index-DpIbeW7F.js → index-44bfQto9.js} +169 -169
- package/dist/chunks/{index-CREnNIpV.js → index-C_CNJIjg.js} +16763 -16615
- 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/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +74 -0
- package/dist/types/main.d.ts +74 -0
- package/dist/types/surfboard.d.ts +74 -0
- package/dist/types/types.d.ts +74 -0
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-DUtAD2ee.js +0 -346
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-44bfQto9.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-44bfQto9.js"),o=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-BaplQ0xO.js");require("react/jsx-runtime");require("react");require("react-dom");const Y=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];var r=(t=>(t.SUBTOTAL="__SUBTOTAL__",t.TOTAL="__TOTAL__",t.ALL="__ALL__",t))(r||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.createSqlGenConfig=e.createSqlGenConfig;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getFormattedTableNameForQuery=e.getFormattedTableNameForQuery;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.invalidateToken=e.invalidateToken;exports.isBooleanDataType=e.isBooleanDataType;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.isDateDataType=e.isDateDataType;exports.isNumberDataType=e.isNumberDataType;exports.isTextDataType=e.isTextDataType;exports.resolveDataType=e.resolveDataType;exports.resolveDatamodelName=e.resolveDatamodelName;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorAside=e.useEditorAside;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=o.EMPTY_SELECTION;exports.ResourceManagementPanel=a.ResourceManagementPanel;exports.ScheduleDashboard=a.ScheduleDashboard;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.downloadPdf=a.downloadPdf;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=Y;exports.PivotMarkerEnum=r;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-
|
|
1
|
+
import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-C_CNJIjg.js";
|
|
2
2
|
import { EMPTY_SELECTION as U } from "./types/index.js";
|
|
3
|
-
import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-
|
|
3
|
+
import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-DEvUJH_h.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
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-BaplQ0xO.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -236,6 +236,33 @@ export declare type DashboardEventHandlers = {
|
|
|
236
236
|
onExportData?: (payload: ExportDataPayload) => void;
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
+
/**
|
|
240
|
+
* Unified dashboard preferences for both card display and UI modes
|
|
241
|
+
*/
|
|
242
|
+
export declare type DashboardPreferences = {
|
|
243
|
+
/**
|
|
244
|
+
* Visual display preferences for cards
|
|
245
|
+
* Controls how card content is rendered (headers, footers, etc.)
|
|
246
|
+
*/
|
|
247
|
+
cardDisplay?: VisualDisplayPreferences;
|
|
248
|
+
/**
|
|
249
|
+
* UI modes for developer and debug features
|
|
250
|
+
* Controls what developer tools and debug panels are available
|
|
251
|
+
*/
|
|
252
|
+
uiMode?: {
|
|
253
|
+
/**
|
|
254
|
+
* Enable developer mode
|
|
255
|
+
* Shows additional controls and debug information
|
|
256
|
+
*/
|
|
257
|
+
developer?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Enable console mode
|
|
260
|
+
* Shows console panel for debugging
|
|
261
|
+
*/
|
|
262
|
+
console?: boolean;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
|
|
239
266
|
export declare type DashboardProps = {
|
|
240
267
|
id?: string;
|
|
241
268
|
/**
|
|
@@ -269,6 +296,11 @@ export declare type DashboardProps = {
|
|
|
269
296
|
* The id of the sheet to be selected when the dashboard is loaded.
|
|
270
297
|
*/
|
|
271
298
|
selectedSheetId?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Unified preferences for dashboard configuration
|
|
301
|
+
* Includes both card display preferences and UI mode settings
|
|
302
|
+
*/
|
|
303
|
+
preferences?: DashboardPreferences;
|
|
272
304
|
};
|
|
273
305
|
|
|
274
306
|
declare interface DatabaseEntityReference {
|
|
@@ -822,6 +854,11 @@ export declare type TCard = {
|
|
|
822
854
|
lastSelectedSchema?: string;
|
|
823
855
|
lastSelectedTable?: string;
|
|
824
856
|
refreshInterval?: string;
|
|
857
|
+
/**
|
|
858
|
+
* Card-specific display preferences that override dashboard-level preferences.
|
|
859
|
+
* If not specified, the card will use the dashboard's display preferences.
|
|
860
|
+
*/
|
|
861
|
+
displayPreferences?: VisualDisplayPreferences;
|
|
825
862
|
};
|
|
826
863
|
|
|
827
864
|
export declare type TCardContext = {
|
|
@@ -1119,4 +1156,41 @@ export declare type TStyle = {
|
|
|
1119
1156
|
dark?: StyleProps;
|
|
1120
1157
|
};
|
|
1121
1158
|
|
|
1159
|
+
/**
|
|
1160
|
+
* Display mode for visual components - controls which UI elements are shown
|
|
1161
|
+
*/
|
|
1162
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'paginated';
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Display preferences for controlling visual component rendering
|
|
1166
|
+
*/
|
|
1167
|
+
export declare type VisualDisplayPreferences = {
|
|
1168
|
+
/**
|
|
1169
|
+
* Predefined display mode
|
|
1170
|
+
* - 'full': All UI elements (default)
|
|
1171
|
+
* - 'content-only': Just the visualization/table content
|
|
1172
|
+
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
1173
|
+
* - 'embed': Minimal chrome for embedding in other contexts
|
|
1174
|
+
*/
|
|
1175
|
+
mode?: VisualDisplayMode;
|
|
1176
|
+
/**
|
|
1177
|
+
* Override specific UI elements visibility
|
|
1178
|
+
* These overrides take precedence over the mode presets
|
|
1179
|
+
*/
|
|
1180
|
+
overrides?: {
|
|
1181
|
+
showHeader?: boolean;
|
|
1182
|
+
showTitle?: boolean;
|
|
1183
|
+
showDescription?: boolean;
|
|
1184
|
+
showTabs?: boolean;
|
|
1185
|
+
showFooter?: boolean;
|
|
1186
|
+
showFilters?: boolean;
|
|
1187
|
+
showBreadcrumbs?: boolean;
|
|
1188
|
+
showRefreshIndicator?: boolean;
|
|
1189
|
+
showFilterInfo?: boolean;
|
|
1190
|
+
showPagination?: boolean;
|
|
1191
|
+
showTableToolbar?: boolean;
|
|
1192
|
+
showColumnSettings?: boolean;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1122
1196
|
export { }
|
package/dist/types/main.d.ts
CHANGED
|
@@ -472,6 +472,33 @@ declare type DashboardPlusProps = {
|
|
|
472
472
|
showFooter?: boolean;
|
|
473
473
|
} & DashboardProps;
|
|
474
474
|
|
|
475
|
+
/**
|
|
476
|
+
* Unified dashboard preferences for both card display and UI modes
|
|
477
|
+
*/
|
|
478
|
+
export declare type DashboardPreferences = {
|
|
479
|
+
/**
|
|
480
|
+
* Visual display preferences for cards
|
|
481
|
+
* Controls how card content is rendered (headers, footers, etc.)
|
|
482
|
+
*/
|
|
483
|
+
cardDisplay?: VisualDisplayPreferences;
|
|
484
|
+
/**
|
|
485
|
+
* UI modes for developer and debug features
|
|
486
|
+
* Controls what developer tools and debug panels are available
|
|
487
|
+
*/
|
|
488
|
+
uiMode?: {
|
|
489
|
+
/**
|
|
490
|
+
* Enable developer mode
|
|
491
|
+
* Shows additional controls and debug information
|
|
492
|
+
*/
|
|
493
|
+
developer?: boolean;
|
|
494
|
+
/**
|
|
495
|
+
* Enable console mode
|
|
496
|
+
* Shows console panel for debugging
|
|
497
|
+
*/
|
|
498
|
+
console?: boolean;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
|
|
475
502
|
export declare type DashboardProps = {
|
|
476
503
|
id?: string;
|
|
477
504
|
/**
|
|
@@ -505,6 +532,11 @@ export declare type DashboardProps = {
|
|
|
505
532
|
* The id of the sheet to be selected when the dashboard is loaded.
|
|
506
533
|
*/
|
|
507
534
|
selectedSheetId?: string;
|
|
535
|
+
/**
|
|
536
|
+
* Unified preferences for dashboard configuration
|
|
537
|
+
* Includes both card display preferences and UI mode settings
|
|
538
|
+
*/
|
|
539
|
+
preferences?: DashboardPreferences;
|
|
508
540
|
};
|
|
509
541
|
|
|
510
542
|
export declare type DashboardStore = {
|
|
@@ -1425,6 +1457,11 @@ export declare type TCard = {
|
|
|
1425
1457
|
lastSelectedSchema?: string;
|
|
1426
1458
|
lastSelectedTable?: string;
|
|
1427
1459
|
refreshInterval?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* Card-specific display preferences that override dashboard-level preferences.
|
|
1462
|
+
* If not specified, the card will use the dashboard's display preferences.
|
|
1463
|
+
*/
|
|
1464
|
+
displayPreferences?: VisualDisplayPreferences;
|
|
1428
1465
|
};
|
|
1429
1466
|
|
|
1430
1467
|
export declare type TCardContext = {
|
|
@@ -2071,4 +2108,41 @@ export declare function useTextFilterHook(filterId: string): {
|
|
|
2071
2108
|
allSelected: boolean;
|
|
2072
2109
|
};
|
|
2073
2110
|
|
|
2111
|
+
/**
|
|
2112
|
+
* Display mode for visual components - controls which UI elements are shown
|
|
2113
|
+
*/
|
|
2114
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'paginated';
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Display preferences for controlling visual component rendering
|
|
2118
|
+
*/
|
|
2119
|
+
export declare type VisualDisplayPreferences = {
|
|
2120
|
+
/**
|
|
2121
|
+
* Predefined display mode
|
|
2122
|
+
* - 'full': All UI elements (default)
|
|
2123
|
+
* - 'content-only': Just the visualization/table content
|
|
2124
|
+
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
2125
|
+
* - 'embed': Minimal chrome for embedding in other contexts
|
|
2126
|
+
*/
|
|
2127
|
+
mode?: VisualDisplayMode;
|
|
2128
|
+
/**
|
|
2129
|
+
* Override specific UI elements visibility
|
|
2130
|
+
* These overrides take precedence over the mode presets
|
|
2131
|
+
*/
|
|
2132
|
+
overrides?: {
|
|
2133
|
+
showHeader?: boolean;
|
|
2134
|
+
showTitle?: boolean;
|
|
2135
|
+
showDescription?: boolean;
|
|
2136
|
+
showTabs?: boolean;
|
|
2137
|
+
showFooter?: boolean;
|
|
2138
|
+
showFilters?: boolean;
|
|
2139
|
+
showBreadcrumbs?: boolean;
|
|
2140
|
+
showRefreshIndicator?: boolean;
|
|
2141
|
+
showFilterInfo?: boolean;
|
|
2142
|
+
showPagination?: boolean;
|
|
2143
|
+
showTableToolbar?: boolean;
|
|
2144
|
+
showColumnSettings?: boolean;
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2074
2148
|
export { }
|
|
@@ -239,6 +239,33 @@ declare type DashboardPlusProps = {
|
|
|
239
239
|
showFooter?: boolean;
|
|
240
240
|
} & DashboardProps;
|
|
241
241
|
|
|
242
|
+
/**
|
|
243
|
+
* Unified dashboard preferences for both card display and UI modes
|
|
244
|
+
*/
|
|
245
|
+
export declare type DashboardPreferences = {
|
|
246
|
+
/**
|
|
247
|
+
* Visual display preferences for cards
|
|
248
|
+
* Controls how card content is rendered (headers, footers, etc.)
|
|
249
|
+
*/
|
|
250
|
+
cardDisplay?: VisualDisplayPreferences;
|
|
251
|
+
/**
|
|
252
|
+
* UI modes for developer and debug features
|
|
253
|
+
* Controls what developer tools and debug panels are available
|
|
254
|
+
*/
|
|
255
|
+
uiMode?: {
|
|
256
|
+
/**
|
|
257
|
+
* Enable developer mode
|
|
258
|
+
* Shows additional controls and debug information
|
|
259
|
+
*/
|
|
260
|
+
developer?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* Enable console mode
|
|
263
|
+
* Shows console panel for debugging
|
|
264
|
+
*/
|
|
265
|
+
console?: boolean;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
|
|
242
269
|
export declare type DashboardProps = {
|
|
243
270
|
id?: string;
|
|
244
271
|
/**
|
|
@@ -272,6 +299,11 @@ export declare type DashboardProps = {
|
|
|
272
299
|
* The id of the sheet to be selected when the dashboard is loaded.
|
|
273
300
|
*/
|
|
274
301
|
selectedSheetId?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Unified preferences for dashboard configuration
|
|
304
|
+
* Includes both card display preferences and UI mode settings
|
|
305
|
+
*/
|
|
306
|
+
preferences?: DashboardPreferences;
|
|
275
307
|
};
|
|
276
308
|
|
|
277
309
|
declare interface DatabaseEntityReference {
|
|
@@ -827,6 +859,11 @@ export declare type TCard = {
|
|
|
827
859
|
lastSelectedSchema?: string;
|
|
828
860
|
lastSelectedTable?: string;
|
|
829
861
|
refreshInterval?: string;
|
|
862
|
+
/**
|
|
863
|
+
* Card-specific display preferences that override dashboard-level preferences.
|
|
864
|
+
* If not specified, the card will use the dashboard's display preferences.
|
|
865
|
+
*/
|
|
866
|
+
displayPreferences?: VisualDisplayPreferences;
|
|
830
867
|
};
|
|
831
868
|
|
|
832
869
|
export declare type TCardContext = {
|
|
@@ -1124,4 +1161,41 @@ export declare type TStyle = {
|
|
|
1124
1161
|
dark?: StyleProps;
|
|
1125
1162
|
};
|
|
1126
1163
|
|
|
1164
|
+
/**
|
|
1165
|
+
* Display mode for visual components - controls which UI elements are shown
|
|
1166
|
+
*/
|
|
1167
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'paginated';
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Display preferences for controlling visual component rendering
|
|
1171
|
+
*/
|
|
1172
|
+
export declare type VisualDisplayPreferences = {
|
|
1173
|
+
/**
|
|
1174
|
+
* Predefined display mode
|
|
1175
|
+
* - 'full': All UI elements (default)
|
|
1176
|
+
* - 'content-only': Just the visualization/table content
|
|
1177
|
+
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
1178
|
+
* - 'embed': Minimal chrome for embedding in other contexts
|
|
1179
|
+
*/
|
|
1180
|
+
mode?: VisualDisplayMode;
|
|
1181
|
+
/**
|
|
1182
|
+
* Override specific UI elements visibility
|
|
1183
|
+
* These overrides take precedence over the mode presets
|
|
1184
|
+
*/
|
|
1185
|
+
overrides?: {
|
|
1186
|
+
showHeader?: boolean;
|
|
1187
|
+
showTitle?: boolean;
|
|
1188
|
+
showDescription?: boolean;
|
|
1189
|
+
showTabs?: boolean;
|
|
1190
|
+
showFooter?: boolean;
|
|
1191
|
+
showFilters?: boolean;
|
|
1192
|
+
showBreadcrumbs?: boolean;
|
|
1193
|
+
showRefreshIndicator?: boolean;
|
|
1194
|
+
showFilterInfo?: boolean;
|
|
1195
|
+
showPagination?: boolean;
|
|
1196
|
+
showTableToolbar?: boolean;
|
|
1197
|
+
showColumnSettings?: boolean;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1127
1201
|
export { }
|
package/dist/types/types.d.ts
CHANGED
|
@@ -233,6 +233,33 @@ export declare type DashboardEventHandlers = {
|
|
|
233
233
|
onExportData?: (payload: ExportDataPayload) => void;
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
+
/**
|
|
237
|
+
* Unified dashboard preferences for both card display and UI modes
|
|
238
|
+
*/
|
|
239
|
+
export declare type DashboardPreferences = {
|
|
240
|
+
/**
|
|
241
|
+
* Visual display preferences for cards
|
|
242
|
+
* Controls how card content is rendered (headers, footers, etc.)
|
|
243
|
+
*/
|
|
244
|
+
cardDisplay?: VisualDisplayPreferences;
|
|
245
|
+
/**
|
|
246
|
+
* UI modes for developer and debug features
|
|
247
|
+
* Controls what developer tools and debug panels are available
|
|
248
|
+
*/
|
|
249
|
+
uiMode?: {
|
|
250
|
+
/**
|
|
251
|
+
* Enable developer mode
|
|
252
|
+
* Shows additional controls and debug information
|
|
253
|
+
*/
|
|
254
|
+
developer?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Enable console mode
|
|
257
|
+
* Shows console panel for debugging
|
|
258
|
+
*/
|
|
259
|
+
console?: boolean;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
|
|
236
263
|
export declare type DashboardProps = {
|
|
237
264
|
id?: string;
|
|
238
265
|
/**
|
|
@@ -266,6 +293,11 @@ export declare type DashboardProps = {
|
|
|
266
293
|
* The id of the sheet to be selected when the dashboard is loaded.
|
|
267
294
|
*/
|
|
268
295
|
selectedSheetId?: string;
|
|
296
|
+
/**
|
|
297
|
+
* Unified preferences for dashboard configuration
|
|
298
|
+
* Includes both card display preferences and UI mode settings
|
|
299
|
+
*/
|
|
300
|
+
preferences?: DashboardPreferences;
|
|
269
301
|
};
|
|
270
302
|
|
|
271
303
|
declare interface DatabaseEntityReference {
|
|
@@ -819,6 +851,11 @@ export declare type TCard = {
|
|
|
819
851
|
lastSelectedSchema?: string;
|
|
820
852
|
lastSelectedTable?: string;
|
|
821
853
|
refreshInterval?: string;
|
|
854
|
+
/**
|
|
855
|
+
* Card-specific display preferences that override dashboard-level preferences.
|
|
856
|
+
* If not specified, the card will use the dashboard's display preferences.
|
|
857
|
+
*/
|
|
858
|
+
displayPreferences?: VisualDisplayPreferences;
|
|
822
859
|
};
|
|
823
860
|
|
|
824
861
|
export declare type TCardContext = {
|
|
@@ -1116,4 +1153,41 @@ export declare type TStyle = {
|
|
|
1116
1153
|
dark?: StyleProps;
|
|
1117
1154
|
};
|
|
1118
1155
|
|
|
1156
|
+
/**
|
|
1157
|
+
* Display mode for visual components - controls which UI elements are shown
|
|
1158
|
+
*/
|
|
1159
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'paginated';
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Display preferences for controlling visual component rendering
|
|
1163
|
+
*/
|
|
1164
|
+
export declare type VisualDisplayPreferences = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Predefined display mode
|
|
1167
|
+
* - 'full': All UI elements (default)
|
|
1168
|
+
* - 'content-only': Just the visualization/table content
|
|
1169
|
+
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
1170
|
+
* - 'embed': Minimal chrome for embedding in other contexts
|
|
1171
|
+
*/
|
|
1172
|
+
mode?: VisualDisplayMode;
|
|
1173
|
+
/**
|
|
1174
|
+
* Override specific UI elements visibility
|
|
1175
|
+
* These overrides take precedence over the mode presets
|
|
1176
|
+
*/
|
|
1177
|
+
overrides?: {
|
|
1178
|
+
showHeader?: boolean;
|
|
1179
|
+
showTitle?: boolean;
|
|
1180
|
+
showDescription?: boolean;
|
|
1181
|
+
showTabs?: boolean;
|
|
1182
|
+
showFooter?: boolean;
|
|
1183
|
+
showFilters?: boolean;
|
|
1184
|
+
showBreadcrumbs?: boolean;
|
|
1185
|
+
showRefreshIndicator?: boolean;
|
|
1186
|
+
showFilterInfo?: boolean;
|
|
1187
|
+
showPagination?: boolean;
|
|
1188
|
+
showTableToolbar?: boolean;
|
|
1189
|
+
showColumnSettings?: boolean;
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1119
1193
|
export { }
|