react-semaphor 0.0.340 → 0.0.342

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-NuXChYzm.js"),a=require("./index-BqIry9sx.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Ci8qnsm7.js"),a=require("./index-TfoU5OfK.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, B as e, C as t, a as c, b as h, d, e as o, f as y, g as i, h as s, i as n, E as r, j as k, F as p, k as l, G as u, I as M, l as v, L as g, m, P as x, n as L, o as w, S as C, p as f, q as I, r as S, T as q, s as b, U as H, X as A } from "./index-D28j_7kp.js";
2
- import { t as Av } from "./index-D28j_7kp.js";
3
- import { B as z, a as P, C as V, b as j, c as B, d as F, e as D, f as R, g as T, h as U, i as O, E as Z, j as G, k as W, G as E, H as X, l as N, m as K, K as J, L as Q, n as Y, o as _, p as $, M as a1, q as e1, N as t1, P as c1, r as h1, S as d1, s as o1, t as y1, u as i1, v as s1, T as n1, w as r1, x as k1, U as p1 } from "./index-YKruFtrM.js";
1
+ import { c as a, B as e, C as t, a as c, b as h, d, e as o, f as y, g as i, h as s, i as n, E as r, j as k, F as p, k as l, G as u, I as M, l as v, L as g, m, P as x, n as L, o as w, S as C, p as f, q as I, r as S, T as q, s as b, U as H, X as A } from "./index-Rn8B0IGd.js";
2
+ import { t as Av } from "./index-Rn8B0IGd.js";
3
+ import { B as z, a as P, C as V, b as j, c as B, d as F, e as D, f as R, g as T, h as U, i as O, E as Z, j as G, k as W, G as E, H as X, l as N, m as K, K as J, L as Q, n as Y, o as _, p as $, M as a1, q as e1, N as t1, P as c1, r as h1, S as d1, s as o1, t as y1, u as i1, v as s1, T as n1, w as r1, x as k1, U as p1 } from "./index-B26lLXsa.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-NuXChYzm.js");exports.Dashboard=e.Dashboard;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-Ci8qnsm7.js");exports.Dashboard=e.Dashboard;
@@ -1,4 +1,4 @@
1
- import { D as r } from "../chunks/index-D28j_7kp.js";
1
+ import { D as r } from "../chunks/index-Rn8B0IGd.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-NuXChYzm.js"),t=require("./chunks/index-BqIry9sx.js");require("react");require("react-dom");exports.BOOLEAN_DATA_TYPES=e.BOOLEAN_DATA_TYPES;exports.DATE_DATA_TYPES=e.DATE_DATA_TYPES;exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.NUMBER_DATA_TYPES=e.NUMBER_DATA_TYPES;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.TEXT_DATA_TYPES=e.TEXT_DATA_TYPES;exports.createSqlGenConfig=e.createSqlGenConfig;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.isColumnInSqlGen=e.isColumnInSqlGen;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=t.SelectComponent;exports.Surfboard=t.DashboardPlus;exports.cleanCard=t.cleanCard;exports.getDashbaordStateWithoutData=t.getDashbaordStateWithoutData;exports.useEditorAside=t.useEditorAside;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-Ci8qnsm7.js"),t=require("./chunks/index-TfoU5OfK.js");require("react");require("react-dom");exports.BOOLEAN_DATA_TYPES=e.BOOLEAN_DATA_TYPES;exports.DATE_DATA_TYPES=e.DATE_DATA_TYPES;exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.NUMBER_DATA_TYPES=e.NUMBER_DATA_TYPES;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.TEXT_DATA_TYPES=e.TEXT_DATA_TYPES;exports.createSqlGenConfig=e.createSqlGenConfig;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.isColumnInSqlGen=e.isColumnInSqlGen;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=t.SelectComponent;exports.Surfboard=t.DashboardPlus;exports.cleanCard=t.cleanCard;exports.getDashbaordStateWithoutData=t.getDashbaordStateWithoutData;exports.useEditorAside=t.useEditorAside;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ar as t, aq as r, D as i, ca as D, ap as l, c8 as u, c8 as T, ao as c, ak as d, am as A, cc as S, cb as m, aw as n, al as p, au as E, cd as b, c9 as h, w as C, v as _, c6 as f, b4 as g, a3 as y, c7 as P } from "./chunks/index-D28j_7kp.js";
2
- import { z as F, D as Y, F as k, A as v, y as x } from "./chunks/index-YKruFtrM.js";
1
+ import { ar as t, aq as r, D as i, ca as D, ap as l, c8 as u, c8 as T, ao as c, ak as d, am as A, cc as S, cb as m, aw as n, al as p, au as E, cd as b, c9 as h, w as C, v as _, c6 as f, aJ as g, a3 as y, c7 as P } from "./chunks/index-Rn8B0IGd.js";
2
+ import { z as F, D as Y, F as k, A as v, y as x } from "./chunks/index-B26lLXsa.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-BqIry9sx.js");exports.Surfboard=e.DashboardPlus;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-TfoU5OfK.js");exports.Surfboard=e.DashboardPlus;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../chunks/index-YKruFtrM.js";
1
+ import { D as a } from "../chunks/index-B26lLXsa.js";
2
2
  export {
3
3
  a as Surfboard
4
4
  };
@@ -98,10 +98,6 @@ export declare type DashboardProps = {
98
98
  * Placeholders for the dashboard.
99
99
  */
100
100
  placeholders?: Placeholders;
101
- /**
102
- * Whether the dashboard is being rendered for PDF export.
103
- */
104
- isPdfRender?: boolean;
105
101
  };
106
102
 
107
103
  export declare type DateOptions = {
@@ -89,6 +89,8 @@ declare type Actions = {
89
89
  };
90
90
 
91
91
  declare type Actions_2 = {
92
+ setActiveTabCardId: (activeTabCardId: string) => void;
93
+ updateCardTab: (activeTabCardId: string, currentCard: TCard) => void;
92
94
  setSortChart: (sortChart: 'asc' | 'desc' | 'none') => void;
93
95
  setChartOrientation: (indexAxis: 'x' | 'y') => void;
94
96
  setCustomVisualCode: (code: string) => void;
@@ -241,10 +243,6 @@ export declare type DashboardProps = {
241
243
  * Placeholders for the dashboard.
242
244
  */
243
245
  placeholders?: Placeholders;
244
- /**
245
- * Whether the dashboard is being rendered for PDF export.
246
- */
247
- isPdfRender?: boolean;
248
246
  };
249
247
 
250
248
  export declare type DashboardStore = {
@@ -298,6 +296,7 @@ declare type EditorStore = {
298
296
  sqlGen: SqlGen;
299
297
  frame: TFrame;
300
298
  card: TCard;
299
+ activeTabCardId?: string | null;
301
300
  showFilters: boolean;
302
301
  applyFilters: boolean;
303
302
  filterValues?: TFilterValue[];
@@ -486,9 +485,8 @@ declare type SelectProps = {
486
485
  disabled?: boolean;
487
486
  };
488
487
 
489
- declare function SemaphorQueryClient({ children, isPdfRender, }: {
488
+ declare function SemaphorQueryClient({ children, }: {
490
489
  children: React.ReactNode;
491
- isPdfRender?: boolean;
492
490
  }): JSX_2.Element;
493
491
  export { SemaphorQueryClient as SemaphorDataProvider }
494
492
  export { SemaphorQueryClient }
@@ -101,10 +101,6 @@ export declare type DashboardProps = {
101
101
  * Placeholders for the dashboard.
102
102
  */
103
103
  placeholders?: Placeholders;
104
- /**
105
- * Whether the dashboard is being rendered for PDF export.
106
- */
107
- isPdfRender?: boolean;
108
104
  };
109
105
 
110
106
  export declare type DateOptions = {
@@ -95,10 +95,6 @@ export declare type DashboardProps = {
95
95
  * Placeholders for the dashboard.
96
96
  */
97
97
  placeholders?: Placeholders;
98
- /**
99
- * Whether the dashboard is being rendered for PDF export.
100
- */
101
- isPdfRender?: boolean;
102
98
  };
103
99
 
104
100
  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.340",
8
+ "version": "0.0.342",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",