semaphor 0.0.121 → 0.0.123
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-CmMj-j0d.js → dashboard-plus-WAU6uC9K.js} +8207 -7256
- package/dist/chunks/dashboard-plus-nNjDdQ-Z.js +340 -0
- package/dist/chunks/{index-r-kgch1g.js → index-C3UqoMX_.js} +48480 -44880
- package/dist/chunks/index-D9K5qlK0.js +984 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +41 -39
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +6 -1
- package/dist/types/main.d.ts +32 -2
- package/dist/types/surfboard.d.ts +6 -1
- package/dist/types/types.d.ts +6 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-D6wK1gV0.js +0 -355
- package/dist/chunks/index-DIu-QOhH.js +0 -919
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-nNjDdQ-Z.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -308,6 +308,7 @@ declare interface DatabaseEntityReference {
|
|
|
308
308
|
connectionId: string;
|
|
309
309
|
connectionType: ConnectionType;
|
|
310
310
|
type: EntityType;
|
|
311
|
+
dbObjectType?: string;
|
|
311
312
|
dialect?: Dialect;
|
|
312
313
|
database?: string;
|
|
313
314
|
schema?: string;
|
|
@@ -941,6 +942,10 @@ export declare type TCardPreferences = {
|
|
|
941
942
|
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
942
943
|
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
943
944
|
};
|
|
945
|
+
displayOptions?: {
|
|
946
|
+
showFilterInfo?: boolean;
|
|
947
|
+
showCardToolbar?: boolean;
|
|
948
|
+
};
|
|
944
949
|
};
|
|
945
950
|
|
|
946
951
|
export declare type TChartOptions = {
|
|
@@ -1162,7 +1167,7 @@ export declare type TStyle = {
|
|
|
1162
1167
|
/**
|
|
1163
1168
|
* Display mode for visual components - controls which UI elements are shown
|
|
1164
1169
|
*/
|
|
1165
|
-
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | '
|
|
1170
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'table-print';
|
|
1166
1171
|
|
|
1167
1172
|
/**
|
|
1168
1173
|
* Display preferences for controlling visual component rendering
|
package/dist/types/main.d.ts
CHANGED
|
@@ -580,6 +580,7 @@ export declare interface DatabaseEntityReference {
|
|
|
580
580
|
connectionId: string;
|
|
581
581
|
connectionType: ConnectionType;
|
|
582
582
|
type: EntityType;
|
|
583
|
+
dbObjectType?: string;
|
|
583
584
|
dialect?: Dialect;
|
|
584
585
|
database?: string;
|
|
585
586
|
schema?: string;
|
|
@@ -1146,6 +1147,11 @@ export declare interface MetricField extends Field {
|
|
|
1146
1147
|
valueAliases?: Record<string, string>;
|
|
1147
1148
|
}
|
|
1148
1149
|
|
|
1150
|
+
declare interface MinimalResourceForSharing {
|
|
1151
|
+
id: string;
|
|
1152
|
+
title: string;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1149
1155
|
export declare type ModelItem = DropdownItem;
|
|
1150
1156
|
|
|
1151
1157
|
declare type NoneOptions = {};
|
|
@@ -1286,9 +1292,14 @@ declare interface ResourceManagementPanelProps {
|
|
|
1286
1292
|
onDashboardItemClick?: (dashboardId: string) => void;
|
|
1287
1293
|
}
|
|
1288
1294
|
|
|
1295
|
+
export declare enum ResourceType {
|
|
1296
|
+
DASHBOARD = "dashboard",
|
|
1297
|
+
VISUAL = "visual"
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1289
1300
|
export declare function ScheduleDashboard({ triggerButtonClassName, }: {
|
|
1290
1301
|
triggerButtonClassName?: string;
|
|
1291
|
-
}): JSX_2.Element;
|
|
1302
|
+
}): JSX_2.Element | null;
|
|
1292
1303
|
|
|
1293
1304
|
export declare type SchemaItem = DropdownItem;
|
|
1294
1305
|
|
|
@@ -1328,6 +1339,16 @@ declare function SemaphorQueryClient({ children, }: {
|
|
|
1328
1339
|
export { SemaphorQueryClient as SemaphorDataProvider }
|
|
1329
1340
|
export { SemaphorQueryClient }
|
|
1330
1341
|
|
|
1342
|
+
export declare function ShareDialog({ resource, resourceType, onClose, onShareSuccess, onRemoveSuccess, }: ShareDialogProps): JSX_2.Element;
|
|
1343
|
+
|
|
1344
|
+
declare interface ShareDialogProps {
|
|
1345
|
+
resource: MinimalResourceForSharing;
|
|
1346
|
+
resourceType: ResourceType;
|
|
1347
|
+
onClose: () => void;
|
|
1348
|
+
onShareSuccess?: () => void;
|
|
1349
|
+
onRemoveSuccess?: () => void;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1331
1352
|
export declare interface SortByField extends Field {
|
|
1332
1353
|
role: 'sortby';
|
|
1333
1354
|
direction: 'asc' | 'desc';
|
|
@@ -1547,6 +1568,10 @@ export declare type TCardPreferences = {
|
|
|
1547
1568
|
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
1548
1569
|
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
1549
1570
|
};
|
|
1571
|
+
displayOptions?: {
|
|
1572
|
+
showFilterInfo?: boolean;
|
|
1573
|
+
showCardToolbar?: boolean;
|
|
1574
|
+
};
|
|
1550
1575
|
};
|
|
1551
1576
|
|
|
1552
1577
|
declare type TChartConfiguration = ChartConfiguration;
|
|
@@ -1986,6 +2011,11 @@ export declare type UIConfig = {
|
|
|
1986
2011
|
* Defaults to true unless explicitly disabled.
|
|
1987
2012
|
*/
|
|
1988
2013
|
showAdvancedMode?: boolean;
|
|
2014
|
+
/**
|
|
2015
|
+
* Enables the Info tab in the editor/explorer view.
|
|
2016
|
+
* Defaults to true unless explicitly disabled.
|
|
2017
|
+
*/
|
|
2018
|
+
showInfoTab?: boolean;
|
|
1989
2019
|
/**
|
|
1990
2020
|
* Enables the AI-powered dashboard assistant.
|
|
1991
2021
|
* Defaults to true unless explicitly disabled.
|
|
@@ -2119,7 +2149,7 @@ export declare function Visual(props: VisualProps): JSX_2.Element;
|
|
|
2119
2149
|
/**
|
|
2120
2150
|
* Display mode for visual components - controls which UI elements are shown
|
|
2121
2151
|
*/
|
|
2122
|
-
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | '
|
|
2152
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'table-print';
|
|
2123
2153
|
|
|
2124
2154
|
/**
|
|
2125
2155
|
* Display preferences for controlling visual component rendering
|
|
@@ -311,6 +311,7 @@ declare interface DatabaseEntityReference {
|
|
|
311
311
|
connectionId: string;
|
|
312
312
|
connectionType: ConnectionType;
|
|
313
313
|
type: EntityType;
|
|
314
|
+
dbObjectType?: string;
|
|
314
315
|
dialect?: Dialect;
|
|
315
316
|
database?: string;
|
|
316
317
|
schema?: string;
|
|
@@ -946,6 +947,10 @@ export declare type TCardPreferences = {
|
|
|
946
947
|
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
947
948
|
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
948
949
|
};
|
|
950
|
+
displayOptions?: {
|
|
951
|
+
showFilterInfo?: boolean;
|
|
952
|
+
showCardToolbar?: boolean;
|
|
953
|
+
};
|
|
949
954
|
};
|
|
950
955
|
|
|
951
956
|
export declare type TChartOptions = {
|
|
@@ -1167,7 +1172,7 @@ export declare type TStyle = {
|
|
|
1167
1172
|
/**
|
|
1168
1173
|
* Display mode for visual components - controls which UI elements are shown
|
|
1169
1174
|
*/
|
|
1170
|
-
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | '
|
|
1175
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'table-print';
|
|
1171
1176
|
|
|
1172
1177
|
/**
|
|
1173
1178
|
* Display preferences for controlling visual component rendering
|
package/dist/types/types.d.ts
CHANGED
|
@@ -305,6 +305,7 @@ declare interface DatabaseEntityReference {
|
|
|
305
305
|
connectionId: string;
|
|
306
306
|
connectionType: ConnectionType;
|
|
307
307
|
type: EntityType;
|
|
308
|
+
dbObjectType?: string;
|
|
308
309
|
dialect?: Dialect;
|
|
309
310
|
database?: string;
|
|
310
311
|
schema?: string;
|
|
@@ -938,6 +939,10 @@ export declare type TCardPreferences = {
|
|
|
938
939
|
sortRowsBy?: 'label' | 'total' | 'metric';
|
|
939
940
|
sortColumnsBy?: 'label' | 'total' | 'metric';
|
|
940
941
|
};
|
|
942
|
+
displayOptions?: {
|
|
943
|
+
showFilterInfo?: boolean;
|
|
944
|
+
showCardToolbar?: boolean;
|
|
945
|
+
};
|
|
941
946
|
};
|
|
942
947
|
|
|
943
948
|
export declare type TChartOptions = {
|
|
@@ -1159,7 +1164,7 @@ export declare type TStyle = {
|
|
|
1159
1164
|
/**
|
|
1160
1165
|
* Display mode for visual components - controls which UI elements are shown
|
|
1161
1166
|
*/
|
|
1162
|
-
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | '
|
|
1167
|
+
export declare type VisualDisplayMode = 'full' | 'content-only' | 'print' | 'embed' | 'table-print';
|
|
1163
1168
|
|
|
1164
1169
|
/**
|
|
1165
1170
|
* Display preferences for controlling visual component rendering
|