react-semaphor 0.1.257 → 0.1.259

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 (35) hide show
  1. package/dist/chunks/dashboard-controls-51P6aUVB.js +1847 -0
  2. package/dist/chunks/dashboard-controls-BC3hDGwD.js +47 -0
  3. package/dist/chunks/{dashboard-json-D6k6IUk5.js → dashboard-json-B43n1l6C.js} +1 -1
  4. package/dist/chunks/{dashboard-json-6MWuTr1Q.js → dashboard-json-D0oSxmLa.js} +1 -1
  5. package/dist/chunks/{dashboard-summary-settings-dialog-CeRt95NI.js → dashboard-summary-settings-dialog-CxZAMb8B.js} +1 -1
  6. package/dist/chunks/{dashboard-summary-settings-dialog-MP3O8tJW.js → dashboard-summary-settings-dialog-DMWYgbwB.js} +1 -1
  7. package/dist/chunks/{edit-dashboard-visual-BjyLKDMg.js → edit-dashboard-visual-CCoz1oGX.js} +5410 -5397
  8. package/dist/chunks/edit-dashboard-visual-D1mwhPGF.js +193 -0
  9. package/dist/chunks/{editor-action-buttons-C2bil10O.js → editor-action-buttons-B6ElCCo2.js} +2 -2
  10. package/dist/chunks/{editor-action-buttons-Bcbfk4x4.js → editor-action-buttons-Dbs6eczj.js} +1 -1
  11. package/dist/chunks/index-DAhkssOV.js +1109 -0
  12. package/dist/chunks/{index-O0zHE3FZ.js → index-DpSxZvI0.js} +27561 -27042
  13. package/dist/chunks/{notification-bell-B-UnTb7w.js → notification-bell-DoIAAZqX.js} +1 -1
  14. package/dist/chunks/{notification-bell-D0wrUdyr.js → notification-bell-cYCkxEbp.js} +3 -3
  15. package/dist/chunks/{resource-management-panel-DSrbq5W6.js → resource-management-panel-B_bDGuq_.js} +2 -2
  16. package/dist/chunks/{resource-management-panel-DiGJpeIw.js → resource-management-panel-L51m1i4h.js} +1 -1
  17. package/dist/chunks/{use-visual-utils-DTSrqSws.js → use-visual-utils-Cp5KVbr6.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-CzXtMQW8.js → use-visual-utils-V6paZich.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 +7 -1
  27. package/dist/types/main.d.ts +10 -2
  28. package/dist/types/shared.d.ts +7 -1
  29. package/dist/types/surfboard.d.ts +7 -1
  30. package/dist/types/types.d.ts +7 -1
  31. package/package.json +1 -1
  32. package/dist/chunks/dashboard-controls-8FxQiC6H.js +0 -1837
  33. package/dist/chunks/dashboard-controls-B-V_E2V9.js +0 -47
  34. package/dist/chunks/edit-dashboard-visual-gyLMkv_8.js +0 -193
  35. package/dist/chunks/index-BPRqci8Y.js +0 -1109
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-BPRqci8Y.js"),a=require("../types/index.cjs"),e=require("../chunks/dashboard-summary-settings-dialog-MP3O8tJW.js");exports.Surfboard=r.DashboardPlus;exports.EMPTY_SELECTION=a.EMPTY_SELECTION;exports.CalendarPreferencesDialog=e.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=e.DashboardSummarySettingsDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-DAhkssOV.js"),a=require("../types/index.cjs"),e=require("../chunks/dashboard-summary-settings-dialog-DMWYgbwB.js");exports.Surfboard=r.DashboardPlus;exports.EMPTY_SELECTION=a.EMPTY_SELECTION;exports.CalendarPreferencesDialog=e.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=e.DashboardSummarySettingsDialog;
@@ -1,6 +1,6 @@
1
- import { a as o } from "../chunks/index-O0zHE3FZ.js";
1
+ import { a as o } from "../chunks/index-DpSxZvI0.js";
2
2
  import { EMPTY_SELECTION as s } from "../types/index.js";
3
- import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-CeRt95NI.js";
3
+ import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-CxZAMb8B.js";
4
4
  export {
5
5
  m as CalendarPreferencesDialog,
6
6
  t as DashboardSummarySettingsDialog,
@@ -313,6 +313,12 @@ export declare type CustomCard = CardWithContent | CardWithFooter;
313
313
 
314
314
  export declare function Dashboard(props: DashboardProps): JSX.Element | null;
315
315
 
316
+ declare type DashboardAIContext = AIContext & {
317
+ mode?: DashboardAIContextMode;
318
+ };
319
+
320
+ declare type DashboardAIContextMode = 'auto' | 'fixed';
321
+
316
322
  export declare type DashboardEventHandlers = {
317
323
  onExportData?: (payload: ExportDataPayload) => void;
318
324
  };
@@ -1621,7 +1627,7 @@ declare type TCustomFilterPreferences = {
1621
1627
  export declare type TDashboard = {
1622
1628
  id: string;
1623
1629
  title?: string;
1624
- aiContext?: AIContext;
1630
+ aiContext?: DashboardAIContext;
1625
1631
  summary?: {
1626
1632
  enabled?: boolean;
1627
1633
  position?: 'top' | 'bottom';
@@ -33,7 +33,7 @@ declare type Actions = {
33
33
 
34
34
  declare type Actions_2 = {
35
35
  triggerReload: () => void;
36
- setAiContext: (aiContext: AIContext) => void;
36
+ setAiContext: (aiContext: DashboardAIContext) => void;
37
37
  setHandleOpenAssistantProfile: (handleOpenAssistantProfile: () => void) => void;
38
38
  setFilterMode: (filterId: string, filterMode: 'include' | 'exclude') => void;
39
39
  setInitStore: () => void;
@@ -1192,6 +1192,12 @@ export declare type CustomCard = CardWithContent | CardWithFooter;
1192
1192
 
1193
1193
  export declare function Dashboard(props: DashboardProps): JSX.Element | null;
1194
1194
 
1195
+ declare type DashboardAIContext = AIContext & {
1196
+ mode?: DashboardAIContextMode;
1197
+ };
1198
+
1199
+ declare type DashboardAIContextMode = 'auto' | 'fixed';
1200
+
1195
1201
  export declare type DashboardEventHandlers = {
1196
1202
  onExportData?: (payload: ExportDataPayload) => void;
1197
1203
  };
@@ -1284,6 +1290,7 @@ export declare type DashboardStore = {
1284
1290
  selectedLensId?: string;
1285
1291
  filteringCards?: TCard[];
1286
1292
  dashboard: TDashboard;
1293
+ dashboardAssistantDraftScopeKey: string;
1287
1294
  relaodToken?: number;
1288
1295
  selectedSheetId?: string | null | undefined;
1289
1296
  selectedFrameId?: string | null;
@@ -3681,7 +3688,7 @@ declare type TCustomFilterPreferences = {
3681
3688
  export declare type TDashboard = {
3682
3689
  id: string;
3683
3690
  title?: string;
3684
- aiContext?: AIContext;
3691
+ aiContext?: DashboardAIContext;
3685
3692
  summary?: {
3686
3693
  enabled?: boolean;
3687
3694
  position?: 'top' | 'bottom';
@@ -5109,6 +5116,7 @@ export declare const useSelectedAlertId: () => string | null;
5109
5116
  export declare function useTextFilterHook(filterId: string): {
5110
5117
  isLoading: boolean;
5111
5118
  isFetching: boolean;
5119
+ isPlaceholderData: boolean;
5112
5120
  isError: boolean;
5113
5121
  records: ComboBoxOption[];
5114
5122
  selectedRecords: ComboBoxOption[];
@@ -292,6 +292,12 @@ declare type ConnectionType = 'GoogleSheets' | 'FileUpload' | 'MySQL' | 'MSSQL'
292
292
 
293
293
  declare type CustomCard = CardWithContent | CardWithFooter;
294
294
 
295
+ declare type DashboardAIContext = AIContext & {
296
+ mode?: DashboardAIContextMode;
297
+ };
298
+
299
+ declare type DashboardAIContextMode = 'auto' | 'fixed';
300
+
295
301
  declare interface DatabaseEntityReference {
296
302
  connectionId: string;
297
303
  connectionType: ConnectionType;
@@ -1472,7 +1478,7 @@ declare type TCustomFilterPreferences = {
1472
1478
  declare type TDashboard = {
1473
1479
  id: string;
1474
1480
  title?: string;
1475
- aiContext?: AIContext;
1481
+ aiContext?: DashboardAIContext;
1476
1482
  summary?: {
1477
1483
  enabled?: boolean;
1478
1484
  position?: 'top' | 'bottom';
@@ -318,6 +318,12 @@ declare type ConnectionType = 'GoogleSheets' | 'FileUpload' | 'MySQL' | 'MSSQL'
318
318
 
319
319
  export declare type CustomCard = CardWithContent | CardWithFooter;
320
320
 
321
+ declare type DashboardAIContext = AIContext & {
322
+ mode?: DashboardAIContextMode;
323
+ };
324
+
325
+ declare type DashboardAIContextMode = 'auto' | 'fixed';
326
+
321
327
  export declare type DashboardEventHandlers = {
322
328
  onExportData?: (payload: ExportDataPayload) => void;
323
329
  };
@@ -1643,7 +1649,7 @@ declare type TCustomFilterPreferences = {
1643
1649
  export declare type TDashboard = {
1644
1650
  id: string;
1645
1651
  title?: string;
1646
- aiContext?: AIContext;
1652
+ aiContext?: DashboardAIContext;
1647
1653
  summary?: {
1648
1654
  enabled?: boolean;
1649
1655
  position?: 'top' | 'bottom';
@@ -567,6 +567,12 @@ export declare interface CreateAlertRequest {
567
567
 
568
568
  export declare type CustomCard = CardWithContent | CardWithFooter;
569
569
 
570
+ declare type DashboardAIContext = AIContext & {
571
+ mode?: DashboardAIContextMode;
572
+ };
573
+
574
+ declare type DashboardAIContextMode = 'auto' | 'fixed';
575
+
570
576
  export declare type DashboardEventHandlers = {
571
577
  onExportData?: (payload: ExportDataPayload) => void;
572
578
  };
@@ -1963,7 +1969,7 @@ declare type TCustomFilterPreferences = {
1963
1969
  export declare type TDashboard = {
1964
1970
  id: string;
1965
1971
  title?: string;
1966
- aiContext?: AIContext;
1972
+ aiContext?: DashboardAIContext;
1967
1973
  summary?: {
1968
1974
  enabled?: boolean;
1969
1975
  position?: 'top' | 'bottom';
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.257",
8
+ "version": "0.1.259",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",