react-semaphor 0.0.365 → 0.0.367

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,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-FJLesO8t.js"),a=require("./index-D-22LEzt.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-C1Qa1YD4.js"),a=require("./index-CON6ISXt.js");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,6 +1,6 @@
1
- import { c as a, C as e, a as t, b as c, d as h, e as d, f as o, g as y, h as i, i as s, E as n, j as r, F as k, k as p, G as l, I as u, l as M, L as v, m as g, O as m, P as x, n as L, o as w, p as C, S as f, q as I, r as S, s as q, T as b, t as H, U as z, u as A, X as P } from "./index-DD_Iz12h.js";
2
- import { v as zv } from "./index-DD_Iz12h.js";
3
- import { B as V, a as j, C as B, b as F, c as D, d as R, e as T, f as U, g as O, h as Z, i as G, E as W, j as E, k as X, G as N, H as K, l as J, m as Q, L as Y, n as _, o as $, p as a1, M as e1, q as t1, N as c1, P as h1, S as d1, r as o1, s as y1, t as i1, u as s1, T as n1, v as r1, w as k1, x as p1, y as l1 } from "./index-Bbvr9K_x.js";
1
+ import { c as a, C as e, a as t, b as c, d as h, e as d, f as o, g as y, h as i, i as s, E as n, j as r, F as k, k as p, G as l, I as u, l as M, L as v, m as g, O as m, P as x, n as L, o as w, p as C, S as f, q as I, r as S, s as q, T as b, t as H, U as z, u as A, X as P } from "./index-Dn9R0tUI.js";
2
+ import { v as zv } from "./index-Dn9R0tUI.js";
3
+ import { B as V, a as j, C as B, b as F, c as D, d as R, e as T, f as U, g as O, h as Z, i as G, E as W, j as E, k as X, G as N, H as K, l as J, m as Q, L as Y, n as _, o as $, p as a1, M as e1, q as t1, N as c1, P as h1, S as d1, r as o1, s as y1, t as i1, u as s1, T as n1, v as r1, w as k1, x as p1, y as l1 } from "./index-CnL0rGKB.js";
4
4
  /**
5
5
  * @license lucide-react v0.453.0 - ISC
6
6
  *
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-FJLesO8t.js");exports.Dashboard=e.Dashboard;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-C1Qa1YD4.js");exports.Dashboard=e.Dashboard;
@@ -1,4 +1,4 @@
1
- import { D as r } from "../chunks/index-DD_Iz12h.js";
1
+ import { D as r } from "../chunks/index-Dn9R0tUI.js";
2
2
  export {
3
3
  r as Dashboard
4
4
  };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-FJLesO8t.js"),a=require("./chunks/index-D-22LEzt.js");require("react");require("react-dom");exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;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.useCard=e.useCard;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.useEditorAside=a.useEditorAside;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-C1Qa1YD4.js"),a=require("./chunks/index-CON6ISXt.js");require("react");require("react-dom");exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;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.useCard=e.useCard;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.downloadPdf=a.downloadPdf;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.useEditorAside=a.useEditorAside;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { D as o, cg as r, ce as i, ce as l, an as u, ap as d, ci as D, ch as n, az as c, bM as p, ao as m, a7 as T, au as b, ax as y, at as S, as as h, ar as g, cj as C, cf as f, y as x, x as F, cc as A, aM as k, a5 as q, cd as v } from "./chunks/index-DD_Iz12h.js";
2
- import { A as N, D as Q, I as z, F as G, z as H } from "./chunks/index-Bbvr9K_x.js";
1
+ import { D as o, cg as r, ce as i, ce as d, an as l, ap as u, ci as n, ch as D, az as c, bM as p, ao as m, a7 as T, au as b, ax as y, at as S, as as h, ar as f, cj as g, cf as C, y as x, x as F, cc as A, aM as k, a5 as q, cd as v } from "./chunks/index-Dn9R0tUI.js";
2
+ import { F as N, D as Q, J as z, z as G, I as H, A as I } from "./chunks/index-CnL0rGKB.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  export {
@@ -7,14 +7,15 @@ export {
7
7
  r as DashboardWC,
8
8
  N as SelectComponent,
9
9
  i as SemaphorDataProvider,
10
- l as SemaphorQueryClient,
10
+ d as SemaphorQueryClient,
11
11
  Q as Surfboard,
12
12
  z as cleanCard,
13
- u as createSqlGenConfig,
14
- d as fmt,
15
- D as getColumnDataType,
16
- G as getDashbaordStateWithoutData,
17
- n as getFilterValueType,
13
+ l as createSqlGenConfig,
14
+ G as downloadPdf,
15
+ u as fmt,
16
+ n as getColumnDataType,
17
+ H as getDashbaordStateWithoutData,
18
+ D as getFilterValueType,
18
19
  c as getFormattedTableNameForQuery,
19
20
  p as getQualifiedTableName,
20
21
  m as getSql,
@@ -23,14 +24,14 @@ export {
23
24
  y as isColumnInSqlGen,
24
25
  S as isDateDataType,
25
26
  h as isNumberDataType,
26
- g as isTextDataType,
27
- C as resolveDataType,
28
- f as useCard,
27
+ f as isTextDataType,
28
+ g as resolveDataType,
29
+ C as useCard,
29
30
  x as useDashboardActions,
30
31
  F as useDashboardStore,
31
32
  A as useDateFilterHook,
32
33
  k as useEditorActions,
33
- H as useEditorAside,
34
+ I as useEditorAside,
34
35
  q as useEditorStore,
35
36
  v as useTextFilterHook
36
37
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-D-22LEzt.js");exports.Surfboard=e.DashboardPlus;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-CON6ISXt.js");exports.Surfboard=e.DashboardPlus;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../chunks/index-Bbvr9K_x.js";
1
+ import { D as a } from "../chunks/index-CnL0rGKB.js";
2
2
  export {
3
3
  a as Surfboard
4
4
  };
@@ -99,6 +99,10 @@ export declare type DashboardProps = {
99
99
  * Placeholders for the dashboard.
100
100
  */
101
101
  placeholders?: Placeholders;
102
+ /**
103
+ * The id of the sheet to be selected when the dashboard is loaded.
104
+ */
105
+ selectedSheetId?: string;
102
106
  };
103
107
 
104
108
  export declare type DateOptions = {
@@ -17,6 +17,7 @@ import { WritableDraft } from 'immer';
17
17
  declare type Actions = {
18
18
  setInitStore: () => void;
19
19
  setGlobalStyle: (style: TStyle) => void;
20
+ setIsDownloadingPdf: (isDownloadingPdf: boolean) => void;
20
21
  setLenses: (lenses: TLens[]) => void;
21
22
  setSelectedLensId: (lensId: string) => void;
22
23
  setAIScopeTables: (aiScopeTables: AIScopeTable[]) => void;
@@ -244,9 +245,14 @@ export declare type DashboardProps = {
244
245
  * Placeholders for the dashboard.
245
246
  */
246
247
  placeholders?: Placeholders;
248
+ /**
249
+ * The id of the sheet to be selected when the dashboard is loaded.
250
+ */
251
+ selectedSheetId?: string;
247
252
  };
248
253
 
249
254
  export declare type DashboardStore = {
255
+ isDownloadingPdf?: boolean;
250
256
  isSessionExpired: boolean;
251
257
  authToken?: AuthToken;
252
258
  currentBreakpoint: Breakpoint;
@@ -287,6 +293,8 @@ export { DateRange }
287
293
 
288
294
  export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
289
295
 
296
+ export declare function downloadPdf(): Promise<void>;
297
+
290
298
  declare type EditorStore = {
291
299
  isShowingVisual: boolean;
292
300
  runSql: boolean;
@@ -102,6 +102,10 @@ export declare type DashboardProps = {
102
102
  * Placeholders for the dashboard.
103
103
  */
104
104
  placeholders?: Placeholders;
105
+ /**
106
+ * The id of the sheet to be selected when the dashboard is loaded.
107
+ */
108
+ selectedSheetId?: string;
105
109
  };
106
110
 
107
111
  export declare type DateOptions = {
@@ -96,6 +96,10 @@ export declare type DashboardProps = {
96
96
  * Placeholders for the dashboard.
97
97
  */
98
98
  placeholders?: Placeholders;
99
+ /**
100
+ * The id of the sheet to be selected when the dashboard is loaded.
101
+ */
102
+ selectedSheetId?: string;
99
103
  };
100
104
 
101
105
  export declare type DateOptions = {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.365",
8
+ "version": "0.0.367",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",