react-semaphor 0.0.5921 → 0.0.6372

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-eWa7yST3.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-Bnr2I2ju.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-BbSiLlXL.js";
1
+ import { D as f } from "../chunks/dashboard-plus-EeKZODaq.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -1,3 +1,4 @@
1
+ import { ColumnSizingState } from '@tanstack/react-table';
1
2
  import { FontSpec } from 'chart.js';
2
3
  import { JSX as JSX_2 } from 'react/jsx-runtime';
3
4
 
@@ -192,7 +193,10 @@ declare interface ColorRange_2 {
192
193
  declare interface ColumnSettings {
193
194
  type: 'none' | 'text' | 'number' | 'date' | 'badge' | 'link' | 'progress';
194
195
  textAlign: 'left' | 'center' | 'right';
195
- width: string;
196
+ width: number;
197
+ minWidth?: number;
198
+ maxWidth?: number;
199
+ textOverflow?: 'ellipsis' | 'wrap' | 'clip';
196
200
  textWrap: 'wrap' | 'nowrap';
197
201
  numberFormat: {
198
202
  style: 'decimal' | 'currency' | 'percent';
@@ -210,6 +214,8 @@ declare interface ColumnSettings {
210
214
  useCustomFormat: boolean;
211
215
  customFormat: string;
212
216
  useRelativeTime: boolean;
217
+ timezone?: string;
218
+ sourceTimezone?: string;
213
219
  };
214
220
  colorRanges: ColorRange_2[];
215
221
  }
@@ -234,6 +240,33 @@ export declare type DashboardEventHandlers = {
234
240
  onExportData?: (payload: ExportDataPayload) => void;
235
241
  };
236
242
 
243
+ /**
244
+ * Unified dashboard preferences for both card display and UI modes
245
+ */
246
+ export declare type DashboardPreferences = {
247
+ /**
248
+ * Visual display preferences for cards
249
+ * Controls how card content is rendered (headers, footers, etc.)
250
+ */
251
+ cardDisplay?: VisualDisplayPreferences;
252
+ /**
253
+ * UI modes for developer and debug features
254
+ * Controls what developer tools and debug panels are available
255
+ */
256
+ uiMode?: {
257
+ /**
258
+ * Enable developer mode
259
+ * Shows additional controls and debug information
260
+ */
261
+ developer?: boolean;
262
+ /**
263
+ * Enable console mode
264
+ * Shows console panel for debugging
265
+ */
266
+ console?: boolean;
267
+ };
268
+ };
269
+
237
270
  export declare type DashboardProps = {
238
271
  id?: string;
239
272
  /**
@@ -243,10 +276,7 @@ export declare type DashboardProps = {
243
276
  /**
244
277
  * Default filter values for the dashboard. The dashboard will be filtered by these values when the user loads the dashboard.
245
278
  */
246
- defaultFilterValues?: {
247
- filterId: string;
248
- values: string[] | number[];
249
- }[] | TFilterValue[];
279
+ defaultFilterValues?: TFilterValue[];
250
280
  customStyle?: TStyle;
251
281
  currentTheme?: Theme;
252
282
  version?: string;
@@ -267,6 +297,11 @@ export declare type DashboardProps = {
267
297
  * The id of the sheet to be selected when the dashboard is loaded.
268
298
  */
269
299
  selectedSheetId?: string;
300
+ /**
301
+ * Unified preferences for dashboard configuration
302
+ * Includes both card display preferences and UI mode settings
303
+ */
304
+ preferences?: DashboardPreferences;
270
305
  };
271
306
 
272
307
  declare interface DatabaseEntityReference {
@@ -501,7 +536,7 @@ declare type FilterOnClick = {
501
536
  columnIndex: number;
502
537
  };
503
538
 
504
- declare type FilterValue = string | number | boolean | Date | [number, number] | [string, string] | string[] | number[];
539
+ declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
505
540
 
506
541
  export declare type GetDashboardResponse = {
507
542
  dashboard: TDashboard;
@@ -650,7 +685,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
650
685
 
651
686
  declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
652
687
 
653
- declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
688
+ declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
654
689
 
655
690
  declare type OptionsMap = {
656
691
  number: NumberOptions;
@@ -782,6 +817,7 @@ declare type TablePreferences = {
782
817
  columnSettingsMap?: ColumnSettingsMap;
783
818
  selectColumnVisible?: boolean;
784
819
  columnVisibility?: Record<string, boolean>;
820
+ columnSizing?: ColumnSizingState;
785
821
  pageSize?: number;
786
822
  enableDevModePagination?: boolean;
787
823
  };
@@ -820,6 +856,11 @@ export declare type TCard = {
820
856
  lastSelectedSchema?: string;
821
857
  lastSelectedTable?: string;
822
858
  refreshInterval?: string;
859
+ /**
860
+ * Card-specific display preferences that override dashboard-level preferences.
861
+ * If not specified, the card will use the dashboard's display preferences.
862
+ */
863
+ displayPreferences?: VisualDisplayPreferences;
823
864
  };
824
865
 
825
866
  export declare type TCardContext = {
@@ -870,6 +911,7 @@ export declare type TCardPreferences = {
870
911
  kpiVisualOptions?: {
871
912
  lowerIsBetter?: boolean;
872
913
  countryLogoId?: string;
914
+ valueAlignment?: 'left' | 'center';
873
915
  formatOptions?: TFormatOptions;
874
916
  metricComparison?: {
875
917
  enabled?: boolean;
@@ -1117,4 +1159,41 @@ export declare type TStyle = {
1117
1159
  dark?: StyleProps;
1118
1160
  };
1119
1161
 
1162
+ /**
1163
+ * Display mode for visual components - controls which UI elements are shown
1164
+ */
1165
+ export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'table-print';
1166
+
1167
+ /**
1168
+ * Display preferences for controlling visual component rendering
1169
+ */
1170
+ export declare type VisualDisplayPreferences = {
1171
+ /**
1172
+ * Predefined display mode
1173
+ * - 'full': All UI elements (default)
1174
+ * - 'content-only': Just the visualization/table content
1175
+ * - 'print': Optimized for printing (shows title and description, hides interactive elements)
1176
+ * - 'embed': Minimal chrome for embedding in other contexts
1177
+ */
1178
+ mode?: VisualDisplayMode;
1179
+ /**
1180
+ * Override specific UI elements visibility
1181
+ * These overrides take precedence over the mode presets
1182
+ */
1183
+ overrides?: {
1184
+ showHeader?: boolean;
1185
+ showTitle?: boolean;
1186
+ showDescription?: boolean;
1187
+ showTabs?: boolean;
1188
+ showFooter?: boolean;
1189
+ showFilters?: boolean;
1190
+ showBreadcrumbs?: boolean;
1191
+ showRefreshIndicator?: boolean;
1192
+ showFilterInfo?: boolean;
1193
+ showPagination?: boolean;
1194
+ showTableToolbar?: boolean;
1195
+ showColumnSettings?: boolean;
1196
+ };
1197
+ };
1198
+
1120
1199
  export { }
@@ -3,6 +3,7 @@ import { AIScopeTable as AIScopeTable_2 } from '..';
3
3
  import { CacheConfig as CacheConfig_2 } from '..';
4
4
  import { Chart } from 'chart.js';
5
5
  import { ChartConfiguration } from 'chart.js';
6
+ import { ColumnSizingState } from '@tanstack/react-table';
6
7
  import { ComboBoxOption as ComboBoxOption_2 } from '../../components/surfboard/filter/types';
7
8
  import { CustomCard as CustomCard_2 } from '..';
8
9
  import { DateRange } from 'react-day-picker';
@@ -67,6 +68,7 @@ declare type Actions = {
67
68
  setCardSql: (sheetId: string, cardId: string, sql: string) => void;
68
69
  setCardPython: (cardId: string, pythonCode: string) => void;
69
70
  setCardDescription: (sheetId: string, cardId: string, description: string) => void;
71
+ setCardKpiOptions: (sheetId: string, cardId: string, kpiOptions: Record<string, any>) => void;
70
72
  addFrame: (sheetId: string, frame: TFrame, position?: 'start' | 'end') => void;
71
73
  updateFrame: (sheetId: string, frame: TFrame) => void;
72
74
  updateCard: (sheetId: string, card: TCard) => void;
@@ -109,11 +111,17 @@ declare type Actions = {
109
111
  removeBaseQuery: (baseQueryId: string) => void;
110
112
  setBaseQueries: (baseQueries: TBaseQuery[]) => void;
111
113
  setIsDashboardPanelOpen: (open: boolean) => void;
114
+ updateCardId: (oldCardId: string, newCardId: string) => {
115
+ success: boolean;
116
+ error?: string;
117
+ };
118
+ isCardIdUnique: (cardId: string, currentCardId?: string) => boolean;
112
119
  };
113
120
 
114
121
  declare type Actions_2 = TableActions & ExplorerActions & DrillActions & {
115
122
  setEditorFilterMode: (filterColumnName: string, filterMode: 'include' | 'exclude') => void;
116
123
  setLowerIsBetter: (lowerIsBetter: boolean) => void;
124
+ setValueAlignment: (valueAlignment: 'left' | 'center') => void;
117
125
  clearEditorFilter: (filterColumn: FilterByColumn) => void;
118
126
  removeEditorFilter: (filterColumn: FilterByColumn) => void;
119
127
  updateEditorFilterValue: (filterColumnName: string, filterValue: OldFilterValue, clearFilter?: boolean) => void;
@@ -125,6 +133,7 @@ declare type Actions_2 = TableActions & ExplorerActions & DrillActions & {
125
133
  setQueryConfig: (queryConfig: QueryConfig | undefined) => void;
126
134
  setCardTitle: (title: string) => void;
127
135
  setCardDescription: (description: string) => void;
136
+ setCardId: (cardId: string) => void;
128
137
  setCountryLogo: (countryLogoId: string | null) => void;
129
138
  setIsDevMode: (isDevMode: boolean) => void;
130
139
  setOrderByColumns: (orderByColumns: OrderBy[]) => void;
@@ -403,7 +412,10 @@ export declare type ColumnRole = 'groupby' | 'trendby' | 'metric' | 'filter';
403
412
  declare interface ColumnSettings {
404
413
  type: 'none' | 'text' | 'number' | 'date' | 'badge' | 'link' | 'progress';
405
414
  textAlign: 'left' | 'center' | 'right';
406
- width: string;
415
+ width: number;
416
+ minWidth?: number;
417
+ maxWidth?: number;
418
+ textOverflow?: 'ellipsis' | 'wrap' | 'clip';
407
419
  textWrap: 'wrap' | 'nowrap';
408
420
  numberFormat: {
409
421
  style: 'decimal' | 'currency' | 'percent';
@@ -421,6 +433,8 @@ declare interface ColumnSettings {
421
433
  useCustomFormat: boolean;
422
434
  customFormat: string;
423
435
  useRelativeTime: boolean;
436
+ timezone?: string;
437
+ sourceTimezone?: string;
424
438
  };
425
439
  colorRanges: ColorRange_2[];
426
440
  }
@@ -464,6 +478,33 @@ declare type DashboardPlusProps = {
464
478
  showFooter?: boolean;
465
479
  } & DashboardProps;
466
480
 
481
+ /**
482
+ * Unified dashboard preferences for both card display and UI modes
483
+ */
484
+ export declare type DashboardPreferences = {
485
+ /**
486
+ * Visual display preferences for cards
487
+ * Controls how card content is rendered (headers, footers, etc.)
488
+ */
489
+ cardDisplay?: VisualDisplayPreferences;
490
+ /**
491
+ * UI modes for developer and debug features
492
+ * Controls what developer tools and debug panels are available
493
+ */
494
+ uiMode?: {
495
+ /**
496
+ * Enable developer mode
497
+ * Shows additional controls and debug information
498
+ */
499
+ developer?: boolean;
500
+ /**
501
+ * Enable console mode
502
+ * Shows console panel for debugging
503
+ */
504
+ console?: boolean;
505
+ };
506
+ };
507
+
467
508
  export declare type DashboardProps = {
468
509
  id?: string;
469
510
  /**
@@ -473,10 +514,7 @@ export declare type DashboardProps = {
473
514
  /**
474
515
  * Default filter values for the dashboard. The dashboard will be filtered by these values when the user loads the dashboard.
475
516
  */
476
- defaultFilterValues?: {
477
- filterId: string;
478
- values: string[] | number[];
479
- }[] | TFilterValue[];
517
+ defaultFilterValues?: TFilterValue[];
480
518
  customStyle?: TStyle;
481
519
  currentTheme?: Theme;
482
520
  version?: string;
@@ -497,6 +535,11 @@ export declare type DashboardProps = {
497
535
  * The id of the sheet to be selected when the dashboard is loaded.
498
536
  */
499
537
  selectedSheetId?: string;
538
+ /**
539
+ * Unified preferences for dashboard configuration
540
+ * Includes both card display preferences and UI mode settings
541
+ */
542
+ preferences?: DashboardPreferences;
500
543
  };
501
544
 
502
545
  export declare type DashboardStore = {
@@ -601,7 +644,7 @@ export declare type Dialect = 'mysql' | 'postgresql' | 'bigquery' | 'redshift' |
601
644
 
602
645
  export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
603
646
 
604
- export declare function downloadPdf(): Promise<void>;
647
+ export declare function downloadPdf(password?: string): Promise<void>;
605
648
 
606
649
  declare interface DrillActions {
607
650
  updateDrillHierarchies: (h: DrillHierarchy[]) => void;
@@ -909,7 +952,7 @@ declare type FilterOnClick = {
909
952
  columnIndex: number;
910
953
  };
911
954
 
912
- export declare type FilterValue = string | number | boolean | Date | [number, number] | [string, string] | string[] | number[];
955
+ export declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
913
956
 
914
957
  export declare function fmt(str: string): string;
915
958
 
@@ -1103,6 +1146,11 @@ export declare interface MetricField extends Field {
1103
1146
  valueAliases?: Record<string, string>;
1104
1147
  }
1105
1148
 
1149
+ declare interface MinimalResourceForSharing {
1150
+ id: string;
1151
+ title: string;
1152
+ }
1153
+
1106
1154
  export declare type ModelItem = DropdownItem;
1107
1155
 
1108
1156
  declare type NoneOptions = {};
@@ -1125,7 +1173,7 @@ export declare type OldFilterValue = string | number | null | (string | number)[
1125
1173
 
1126
1174
  declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
1127
1175
 
1128
- export declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
1176
+ export declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
1129
1177
 
1130
1178
  declare type OptionsMap = {
1131
1179
  number: NumberOptions;
@@ -1243,6 +1291,11 @@ declare interface ResourceManagementPanelProps {
1243
1291
  onDashboardItemClick?: (dashboardId: string) => void;
1244
1292
  }
1245
1293
 
1294
+ export declare enum ResourceType {
1295
+ DASHBOARD = "dashboard",
1296
+ VISUAL = "visual"
1297
+ }
1298
+
1246
1299
  export declare function ScheduleDashboard({ triggerButtonClassName, }: {
1247
1300
  triggerButtonClassName?: string;
1248
1301
  }): JSX_2.Element;
@@ -1285,6 +1338,16 @@ declare function SemaphorQueryClient({ children, }: {
1285
1338
  export { SemaphorQueryClient as SemaphorDataProvider }
1286
1339
  export { SemaphorQueryClient }
1287
1340
 
1341
+ export declare function ShareDialog({ resource, resourceType, onClose, onShareSuccess, onRemoveSuccess, }: ShareDialogProps): JSX_2.Element;
1342
+
1343
+ declare interface ShareDialogProps {
1344
+ resource: MinimalResourceForSharing;
1345
+ resourceType: ResourceType;
1346
+ onClose: () => void;
1347
+ onShareSuccess?: () => void;
1348
+ onRemoveSuccess?: () => void;
1349
+ }
1350
+
1288
1351
  export declare interface SortByField extends Field {
1289
1352
  role: 'sortby';
1290
1353
  direction: 'asc' | 'desc';
@@ -1358,6 +1421,7 @@ export declare function Surfboard({ showControls, showFooter, ...rest }: Dashboa
1358
1421
  declare interface TableActions {
1359
1422
  updateColumnSettingsMap: (columnSettings: ColumnSettingsMap) => void;
1360
1423
  updateColumnVisibility: (columnId: string, isVisible: boolean) => void;
1424
+ updateColumnSizing: (sizing: ColumnSizingState) => void;
1361
1425
  updatePageSize: (pageSize: number) => void;
1362
1426
  showAllColumns: () => void;
1363
1427
  hideAllColumns: () => void;
@@ -1379,6 +1443,7 @@ declare type TablePreferences = {
1379
1443
  columnSettingsMap?: ColumnSettingsMap;
1380
1444
  selectColumnVisible?: boolean;
1381
1445
  columnVisibility?: Record<string, boolean>;
1446
+ columnSizing?: ColumnSizingState;
1382
1447
  pageSize?: number;
1383
1448
  enableDevModePagination?: boolean;
1384
1449
  };
@@ -1417,6 +1482,11 @@ export declare type TCard = {
1417
1482
  lastSelectedSchema?: string;
1418
1483
  lastSelectedTable?: string;
1419
1484
  refreshInterval?: string;
1485
+ /**
1486
+ * Card-specific display preferences that override dashboard-level preferences.
1487
+ * If not specified, the card will use the dashboard's display preferences.
1488
+ */
1489
+ displayPreferences?: VisualDisplayPreferences;
1420
1490
  };
1421
1491
 
1422
1492
  export declare type TCardContext = {
@@ -1467,6 +1537,7 @@ export declare type TCardPreferences = {
1467
1537
  kpiVisualOptions?: {
1468
1538
  lowerIsBetter?: boolean;
1469
1539
  countryLogoId?: string;
1540
+ valueAlignment?: 'left' | 'center';
1470
1541
  formatOptions?: TFormatOptions;
1471
1542
  metricComparison?: {
1472
1543
  enabled?: boolean;
@@ -1702,7 +1773,7 @@ export declare type TLens = {
1702
1773
  * Parameters for customizing token behavior and formatting.
1703
1774
  */
1704
1775
  export declare type TokenParams = {
1705
- currencyFormat: {
1776
+ currencyFormat?: {
1706
1777
  /**
1707
1778
  * Locale identifier (e.g., 'en-US', 'fr-FR').
1708
1779
  */
@@ -1712,6 +1783,79 @@ export declare type TokenParams = {
1712
1783
  */
1713
1784
  currency: string;
1714
1785
  };
1786
+ /**
1787
+ * Time zone identifier (e.g., 'America/New_York', 'Europe/London').
1788
+ */
1789
+ timeZone?: string;
1790
+ };
1791
+
1792
+ export declare type TokenProps = {
1793
+ /**
1794
+ * Allowed semantic domains.
1795
+ */
1796
+ allowedSemanticDomains?: string[];
1797
+ /**
1798
+ * Type of the token request. Default is 'dashboard'.
1799
+ */
1800
+ type?: 'dashboard' | 'project';
1801
+ /**
1802
+ * Initial dashboard id to be accessed.
1803
+ */
1804
+ dashboard_id?: string;
1805
+ /**
1806
+ * Unique identifier of the project.
1807
+ */
1808
+ project_id?: string;
1809
+ /**
1810
+ * Unique identifier of the tenant.
1811
+ */
1812
+ tenantId?: string;
1813
+ /**
1814
+ * Unique identifier of the tenant user accessing the dashboard.
1815
+ */
1816
+ endUserId?: string;
1817
+ /**
1818
+ * Email of the tenant user (for personalization, audit, or identification).
1819
+ */
1820
+ endUserEmail?: string;
1821
+ /**
1822
+ * Unique identifier of the org user accessing the dashboard.
1823
+ */
1824
+ orgUserId?: string;
1825
+ /**
1826
+ * Email of the org user (for personalization, audit, or identification).
1827
+ */
1828
+ orgUserEmail?: string;
1829
+ /**
1830
+ * Display name of the end user.
1831
+ */
1832
+ displayName?: string;
1833
+ /**
1834
+ * Enables self-service editing and lens creation by the end user.
1835
+ */
1836
+ allowEdit?: boolean;
1837
+ /**
1838
+ * Schema level security policy. The schema name for the tenant.
1839
+ */
1840
+ sls?: string;
1841
+ /**
1842
+ * Connection-level security policies.
1843
+ * Can be a single policy or an array of policies.
1844
+ */
1845
+ cls?: TokenSecurityPolicy[] | TokenSecurityPolicy;
1846
+ /**
1847
+ * Row-level security policies.
1848
+ * Can be a single policy or an array of policies.
1849
+ */
1850
+ rcls?: TokenSecurityPolicy[] | TokenSecurityPolicy;
1851
+ /**
1852
+ * Parameter overrides and preferences (e.g., formatting).
1853
+ */
1854
+ params?: TokenParams;
1855
+ /**
1856
+ * UI behavior and feature flags.
1857
+ */
1858
+ config?: UIConfig;
1715
1859
  };
1716
1860
 
1717
1861
  /**
@@ -1862,6 +2006,11 @@ export declare type UIConfig = {
1862
2006
  * Defaults to true unless explicitly disabled.
1863
2007
  */
1864
2008
  showAdvancedMode?: boolean;
2009
+ /**
2010
+ * Enables the Info tab in the editor/explorer view.
2011
+ * Defaults to true unless explicitly disabled.
2012
+ */
2013
+ showInfoTab?: boolean;
1865
2014
  /**
1866
2015
  * Enables the AI-powered dashboard assistant.
1867
2016
  * Defaults to true unless explicitly disabled.
@@ -1990,4 +2139,49 @@ export declare function useTextFilterHook(filterId: string): {
1990
2139
  allSelected: boolean;
1991
2140
  };
1992
2141
 
2142
+ export declare function Visual(props: VisualProps): JSX_2.Element;
2143
+
2144
+ /**
2145
+ * Display mode for visual components - controls which UI elements are shown
2146
+ */
2147
+ export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'table-print';
2148
+
2149
+ /**
2150
+ * Display preferences for controlling visual component rendering
2151
+ */
2152
+ export declare type VisualDisplayPreferences = {
2153
+ /**
2154
+ * Predefined display mode
2155
+ * - 'full': All UI elements (default)
2156
+ * - 'content-only': Just the visualization/table content
2157
+ * - 'print': Optimized for printing (shows title and description, hides interactive elements)
2158
+ * - 'embed': Minimal chrome for embedding in other contexts
2159
+ */
2160
+ mode?: VisualDisplayMode;
2161
+ /**
2162
+ * Override specific UI elements visibility
2163
+ * These overrides take precedence over the mode presets
2164
+ */
2165
+ overrides?: {
2166
+ showHeader?: boolean;
2167
+ showTitle?: boolean;
2168
+ showDescription?: boolean;
2169
+ showTabs?: boolean;
2170
+ showFooter?: boolean;
2171
+ showFilters?: boolean;
2172
+ showBreadcrumbs?: boolean;
2173
+ showRefreshIndicator?: boolean;
2174
+ showFilterInfo?: boolean;
2175
+ showPagination?: boolean;
2176
+ showTableToolbar?: boolean;
2177
+ showColumnSettings?: boolean;
2178
+ };
2179
+ };
2180
+
2181
+ declare type VisualProps = DashboardProps & {
2182
+ cardId: string;
2183
+ dashboardId: string;
2184
+ displayPreferences?: VisualDisplayPreferences;
2185
+ };
2186
+
1993
2187
  export { }