react-semaphor 0.1.288 → 0.1.290

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.
Files changed (32) hide show
  1. package/dist/chunks/{dashboard-controls-Zmrx1YI2.js → dashboard-controls-BSbG43wo.js} +1 -1
  2. package/dist/chunks/{dashboard-controls-BiW05-mC.js → dashboard-controls-LtQ98rvL.js} +4 -4
  3. package/dist/chunks/{dashboard-filter-controls-button-7f-bvHT_.js → dashboard-filter-controls-button-C4AMu723.js} +3 -3
  4. package/dist/chunks/{dashboard-filter-controls-button-BRd93sFp.js → dashboard-filter-controls-button-CgoIPOZZ.js} +1 -1
  5. package/dist/chunks/{dashboard-json-Co1UgUNw.js → dashboard-json-BKs1UTLL.js} +1 -1
  6. package/dist/chunks/{dashboard-json-B98ND-fr.js → dashboard-json-C13EJaTK.js} +1 -1
  7. package/dist/chunks/{dashboard-summary-settings-dialog-CcNH2IIt.js → dashboard-summary-settings-dialog-T6aUgPAf.js} +1 -1
  8. package/dist/chunks/{dashboard-summary-settings-dialog-XvwdRn2n.js → dashboard-summary-settings-dialog-fL9l0wUO.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-DBvH4PxE.js → edit-dashboard-visual-CKB34ird.js} +31 -36
  10. package/dist/chunks/{edit-dashboard-visual-DcTqSs2k.js → edit-dashboard-visual-CnVx0Xi7.js} +924 -947
  11. package/dist/chunks/{index-J8IvoGB3.js → index-Cr9Smn6Q.js} +55669 -55600
  12. package/dist/chunks/index-Cwg2SRSi.js +1435 -0
  13. package/dist/chunks/{resource-management-panel-B1q16xjI.js → resource-management-panel-DJgYduN9.js} +2 -2
  14. package/dist/chunks/{resource-management-panel-C37Ddk0o.js → resource-management-panel-Dv18tosO.js} +1 -1
  15. package/dist/chunks/{use-create-flow-overlay-state-DkquwAuI.js → use-create-flow-overlay-state-DnI1SSKD.js} +1 -1
  16. package/dist/chunks/{use-create-flow-overlay-state-sPNLNhJR.js → use-create-flow-overlay-state-NGb4c5Ye.js} +2 -2
  17. package/dist/chunks/{use-visual-utils-CzoNgtEf.js → use-visual-utils-BbxYtbzK.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-DMRRNJY1.js → use-visual-utils-ivCDI1cO.js} +1 -1
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +5 -5
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/dist/types/dashboard.d.ts +13 -1
  27. package/dist/types/main.d.ts +7 -1
  28. package/dist/types/shared.d.ts +13 -1
  29. package/dist/types/surfboard.d.ts +13 -1
  30. package/dist/types/types.d.ts +18 -1
  31. package/package.json +1 -1
  32. package/dist/chunks/index-COoAiuFD.js +0 -1435
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-COoAiuFD.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-XvwdRn2n.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-Cwg2SRSi.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-fL9l0wUO.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
@@ -1,6 +1,6 @@
1
- import { a as o } from "../chunks/index-J8IvoGB3.js";
1
+ import { a as o } from "../chunks/index-Cr9Smn6Q.js";
2
2
  import { CONTROL_CARD_DEFAULT_VALUE as s, EMPTY_SELECTION as D } from "../types/index.js";
3
- import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-CcNH2IIt.js";
3
+ import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-T6aUgPAf.js";
4
4
  export {
5
5
  s as CONTROL_CARD_DEFAULT_VALUE,
6
6
  m as CalendarPreferencesDialog,
@@ -493,6 +493,17 @@ declare interface DataModelEntityReference extends DatabaseEntityReference {
493
493
  description: string;
494
494
  }
495
495
 
496
+ declare interface DatasetEntityReference extends DatabaseEntityReference {
497
+ type: 'dataset';
498
+ datasetType: 'physical' | 'virtual';
499
+ datamodelId: string;
500
+ sql: string;
501
+ id: string;
502
+ domainId: string;
503
+ label: string;
504
+ description: string;
505
+ }
506
+
496
507
  declare interface DataSource {
497
508
  connectionId: string;
498
509
  semanticDomainId?: string;
@@ -1275,7 +1286,7 @@ declare type RelativeDateFilter = {
1275
1286
  to: number;
1276
1287
  };
1277
1288
 
1278
- declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
1289
+ declare type SelectedEntities = Array<DatabaseEntityReference | DataModelEntityReference | DatasetEntityReference | FileEntityReference>;
1279
1290
 
1280
1291
  export declare type SelectionState = Record<Level, string | null>;
1281
1292
 
@@ -2032,6 +2043,7 @@ export declare type TInlineFilter = {
2032
2043
  dataType: string;
2033
2044
  table: string;
2034
2045
  database: string;
2046
+ qualifiedTableName?: string;
2035
2047
  connectionId: string;
2036
2048
  operation: Operation;
2037
2049
  sql: string;
@@ -3264,7 +3264,7 @@ export declare function ScheduleDashboard({ triggerButtonClassName, variant, }:
3264
3264
 
3265
3265
  export declare type SchemaItem = DropdownItem;
3266
3266
 
3267
- export declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
3267
+ export declare type SelectedEntities = Array<DatabaseEntityReference | DataModelEntityReference | DatasetEntityReference | FileEntityReference>;
3268
3268
 
3269
3269
  export declare type SelectionState = Record<Level, string | null>;
3270
3270
 
@@ -4202,6 +4202,7 @@ export declare type TInlineFilter = {
4202
4202
  dataType: string;
4203
4203
  table: string;
4204
4204
  database: string;
4205
+ qualifiedTableName?: string;
4205
4206
  connectionId: string;
4206
4207
  operation: Operation;
4207
4208
  sql: string;
@@ -4540,6 +4541,11 @@ export declare type UIConfig = {
4540
4541
  * If unset, runtime falls back to `showAssistant`; if both are unset, assistant is hidden.
4541
4542
  */
4542
4543
  showDashboardAssistant?: boolean;
4544
+ /**
4545
+ * Shows the Direct Source option in the data-source selector.
4546
+ * Defaults to true unless explicitly disabled.
4547
+ */
4548
+ showDirectSource?: boolean;
4543
4549
  /**
4544
4550
  * Enables QueryInfo debug tools for Explorer troubleshooting.
4545
4551
  * Defaults to true unless explicitly disabled.
@@ -388,6 +388,17 @@ declare interface DataModelEntityReference extends DatabaseEntityReference {
388
388
  description: string;
389
389
  }
390
390
 
391
+ declare interface DatasetEntityReference extends DatabaseEntityReference {
392
+ type: 'dataset';
393
+ datasetType: 'physical' | 'virtual';
394
+ datamodelId: string;
395
+ sql: string;
396
+ id: string;
397
+ domainId: string;
398
+ label: string;
399
+ description: string;
400
+ }
401
+
391
402
  declare interface DataSource {
392
403
  connectionId: string;
393
404
  semanticDomainId?: string;
@@ -1118,7 +1129,7 @@ declare type RelativeDateFilter = {
1118
1129
  to: number;
1119
1130
  };
1120
1131
 
1121
- declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
1132
+ declare type SelectedEntities = Array<DatabaseEntityReference | DataModelEntityReference | DatasetEntityReference | FileEntityReference>;
1122
1133
 
1123
1134
  /**
1124
1135
  * Stable serializer for dashboard dirty checks.
@@ -1838,6 +1849,7 @@ declare type TInlineFilter = {
1838
1849
  dataType: string;
1839
1850
  table: string;
1840
1851
  database: string;
1852
+ qualifiedTableName?: string;
1841
1853
  connectionId: string;
1842
1854
  operation: Operation;
1843
1855
  sql: string;
@@ -513,6 +513,17 @@ declare interface DataModelEntityReference extends DatabaseEntityReference {
513
513
  description: string;
514
514
  }
515
515
 
516
+ declare interface DatasetEntityReference extends DatabaseEntityReference {
517
+ type: 'dataset';
518
+ datasetType: 'physical' | 'virtual';
519
+ datamodelId: string;
520
+ sql: string;
521
+ id: string;
522
+ domainId: string;
523
+ label: string;
524
+ description: string;
525
+ }
526
+
516
527
  declare interface DataSource {
517
528
  connectionId: string;
518
529
  semanticDomainId?: string;
@@ -1295,7 +1306,7 @@ declare type RelativeDateFilter = {
1295
1306
  to: number;
1296
1307
  };
1297
1308
 
1298
- declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
1309
+ declare type SelectedEntities = Array<DatabaseEntityReference | DataModelEntityReference | DatasetEntityReference | FileEntityReference>;
1299
1310
 
1300
1311
  export declare type SelectionState = Record<Level, string | null>;
1301
1312
 
@@ -2054,6 +2065,7 @@ export declare type TInlineFilter = {
2054
2065
  dataType: string;
2055
2066
  table: string;
2056
2067
  database: string;
2068
+ qualifiedTableName?: string;
2057
2069
  connectionId: string;
2058
2070
  operation: Operation;
2059
2071
  sql: string;
@@ -755,6 +755,17 @@ declare interface DataModelEntityReference extends DatabaseEntityReference {
755
755
  description: string;
756
756
  }
757
757
 
758
+ declare interface DatasetEntityReference extends DatabaseEntityReference {
759
+ type: 'dataset';
760
+ datasetType: 'physical' | 'virtual';
761
+ datamodelId: string;
762
+ sql: string;
763
+ id: string;
764
+ domainId: string;
765
+ label: string;
766
+ description: string;
767
+ }
768
+
758
769
  declare interface DataSource {
759
770
  connectionId: string;
760
771
  semanticDomainId?: string;
@@ -1597,7 +1608,7 @@ export declare type ResolvedTokenParams = Omit<TokenParams, 'calendarContext'> &
1597
1608
  calendarContext: CalendarContext;
1598
1609
  };
1599
1610
 
1600
- declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
1611
+ declare type SelectedEntities = Array<DatabaseEntityReference | DataModelEntityReference | DatasetEntityReference | FileEntityReference>;
1601
1612
 
1602
1613
  export declare type SelectionState = Record<Level, string | null>;
1603
1614
 
@@ -2382,6 +2393,7 @@ export declare type TInlineFilter = {
2382
2393
  dataType: string;
2383
2394
  table: string;
2384
2395
  database: string;
2396
+ qualifiedTableName?: string;
2385
2397
  connectionId: string;
2386
2398
  operation: Operation;
2387
2399
  sql: string;
@@ -2713,6 +2725,11 @@ export declare type UIConfig = {
2713
2725
  * If unset, runtime falls back to `showAssistant`; if both are unset, assistant is hidden.
2714
2726
  */
2715
2727
  showDashboardAssistant?: boolean;
2728
+ /**
2729
+ * Shows the Direct Source option in the data-source selector.
2730
+ * Defaults to true unless explicitly disabled.
2731
+ */
2732
+ showDirectSource?: boolean;
2716
2733
  /**
2717
2734
  * Enables QueryInfo debug tools for Explorer troubleshooting.
2718
2735
  * Defaults to true unless explicitly disabled.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.288",
8
+ "version": "0.1.290",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",