react-semaphor 0.0.565 → 0.0.566

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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DAHFzWxM.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-C4zmqaQZ.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../chunks/index-CEZuyo_5.js";
1
+ import { D as a } from "../chunks/index-BoSWZtuJ.js";
2
2
  import { EMPTY_SELECTION as e } from "../types/index.js";
3
3
  export {
4
4
  a as Dashboard,
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-DAHFzWxM.js"),o=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-CxIpiHa-.js");require("react/jsx-runtime");require("react");require("react-dom");const Y=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];var r=(t=>(t.SUBTOTAL="__SUBTOTAL__",t.TOTAL="__TOTAL__",t.ALL="__ALL__",t))(r||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.SemaphorContextProvider=e.SemaphorContextProvider;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.resolveDatamodelName=e.resolveDatamodelName;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorAside=e.useEditorAside;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=o.EMPTY_SELECTION;exports.ResourceManagementPanel=a.ResourceManagementPanel;exports.ScheduleDashboard=a.ScheduleDashboard;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.downloadPdf=a.downloadPdf;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=Y;exports.PivotMarkerEnum=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-C4zmqaQZ.js"),o=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-wb1r1n95.js");require("react/jsx-runtime");require("react");require("react-dom");const Y=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];var r=(t=>(t.SUBTOTAL="__SUBTOTAL__",t.TOTAL="__TOTAL__",t.ALL="__ALL__",t))(r||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.SemaphorContextProvider=e.SemaphorContextProvider;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.resolveDatamodelName=e.resolveDatamodelName;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorAside=e.useEditorAside;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=o.EMPTY_SELECTION;exports.ResourceManagementPanel=a.ResourceManagementPanel;exports.ScheduleDashboard=a.ScheduleDashboard;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.downloadPdf=a.downloadPdf;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=Y;exports.PivotMarkerEnum=r;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-CEZuyo_5.js";
1
+ import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-BoSWZtuJ.js";
2
2
  import { EMPTY_SELECTION as U } from "./types/index.js";
3
- import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-CJI9Flj6.js";
3
+ import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-CXAL5A12.js";
4
4
  import "react/jsx-runtime";
5
5
  import "react";
6
6
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-CxIpiHa-.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-wb1r1n95.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-CJI9Flj6.js";
1
+ import { D as f } from "../chunks/dashboard-plus-CXAL5A12.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -1639,14 +1639,18 @@ export declare type TokenRequest = {
1639
1639
  * Type of the token request. Default is 'dashboard'.
1640
1640
  */
1641
1641
  type?: 'dashboard' | 'project';
1642
+ /**
1643
+ * Initial dashboard id to be accessed.
1644
+ */
1645
+ initialDashboardId?: string;
1642
1646
  /**
1643
1647
  * Identifier of the dashboard to be accessed.
1644
1648
  */
1645
- dashboardId: string;
1649
+ dashboardId?: string;
1646
1650
  /**
1647
1651
  * Secret key used for validating access to the dashboard.
1648
1652
  */
1649
- dashboardSecret: string;
1653
+ dashboardSecret?: string;
1650
1654
  /**
1651
1655
  * Unique identifier of the project.
1652
1656
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.565",
8
+ "version": "0.0.566",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",
@@ -65,7 +65,7 @@
65
65
  "@radix-ui/react-icons": "^1.3.2",
66
66
  "@radix-ui/react-label": "^2.1.1",
67
67
  "@radix-ui/react-popover": "^1.1.4",
68
- "@radix-ui/react-progress": "^1.1.7",
68
+ "@radix-ui/react-progress": "^1.0.3",
69
69
  "@radix-ui/react-radio-group": "^1.2.2",
70
70
  "@radix-ui/react-scroll-area": "^1.2.2",
71
71
  "@radix-ui/react-select": "^2.1.4",