react-semaphor 0.0.539 → 0.0.541
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.
- package/dist/chunks/dashboard-plus-C-r2MYZc.js +425 -0
- package/dist/chunks/{dashboard-plus-BKpXOKRS.js → dashboard-plus-CP6GZeS2.js} +6081 -5082
- package/dist/chunks/{index-C4HtFfvy.js → index-B1NWaCy2.js} +147 -152
- package/dist/chunks/{index-uzOCVajs.js → index-CTwDj1wp.js} +19970 -20923
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/main.d.ts +14 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-NfeI9KXl.js +0 -420
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-B1NWaCy2.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-B1NWaCy2.js"),t=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-C-r2MYZc.js");require("react/jsx-runtime");require("react");require("react-dom");const r=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","YYYY-MM","MMMM YYYY","custom"];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=t.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=r;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Y, d as D, S as i, b as u, b as d, m as n, f as M, o as l, n as m, q as p, s as C, l as S, i as T, k as c, p as h, j as b, h as g, g as f, t as y, r as A, c as v, x, z as E, y as F, A as N, w as P, e as k, u as q, C as Q, v as R, B as _, a as w } from "./chunks/index-
|
|
1
|
+
import { D as Y, d as D, S as i, b as u, b as d, m as n, f as M, o as l, n as m, q as p, s as C, l as S, i as T, k as c, p as h, j as b, h as g, g as f, t as y, r as A, c as v, x, z as E, y as F, A as N, w as P, e as k, u as q, C as Q, v as R, B as _, a as w } from "./chunks/index-CTwDj1wp.js";
|
|
2
2
|
import { EMPTY_SELECTION as G } from "./types/index.js";
|
|
3
|
-
import { R as I, S as L, a as O, D as V, c as W, d as j, g as z } from "./chunks/dashboard-plus-
|
|
3
|
+
import { R as I, S as L, a as O, D as V, c as W, d as j, g as z } from "./chunks/dashboard-plus-CP6GZeS2.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-C-r2MYZc.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
package/dist/types/main.d.ts
CHANGED
|
@@ -1129,12 +1129,13 @@ export declare function resolveDatamodelName(datamodelName: string): string;
|
|
|
1129
1129
|
|
|
1130
1130
|
export declare const resolveDataType: (value: any) => string;
|
|
1131
1131
|
|
|
1132
|
-
export declare function ResourceManagementPanel({ isOpen, onClose, className, }: ResourceManagementPanelProps): JSX_2.Element;
|
|
1132
|
+
export declare function ResourceManagementPanel({ isOpen, onClose, className, onDashboardItemClick, }: ResourceManagementPanelProps): JSX_2.Element;
|
|
1133
1133
|
|
|
1134
1134
|
declare interface ResourceManagementPanelProps {
|
|
1135
1135
|
isOpen: boolean;
|
|
1136
1136
|
onClose: () => void;
|
|
1137
1137
|
className?: string;
|
|
1138
|
+
onDashboardItemClick?: (dashboardId: string) => void;
|
|
1138
1139
|
}
|
|
1139
1140
|
|
|
1140
1141
|
export declare function ScheduleDashboard({ triggerButtonClassName, }: {
|
|
@@ -1537,6 +1538,10 @@ export declare type TokenParams = {
|
|
|
1537
1538
|
* Main payload for generating a secure access token for a dashboard.
|
|
1538
1539
|
*/
|
|
1539
1540
|
export declare type TokenRequest = {
|
|
1541
|
+
/**
|
|
1542
|
+
* Type of the token request. Default is 'dashboard'.
|
|
1543
|
+
*/
|
|
1544
|
+
type?: 'dashboard' | 'project';
|
|
1540
1545
|
/**
|
|
1541
1546
|
* Identifier of the dashboard to be accessed.
|
|
1542
1547
|
*/
|
|
@@ -1545,6 +1550,14 @@ export declare type TokenRequest = {
|
|
|
1545
1550
|
* Secret key used for validating access to the dashboard.
|
|
1546
1551
|
*/
|
|
1547
1552
|
dashboardSecret: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* Unique identifier of the project.
|
|
1555
|
+
*/
|
|
1556
|
+
projectId?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Secret key used for validating access to the project.
|
|
1559
|
+
*/
|
|
1560
|
+
projectSecret?: string;
|
|
1548
1561
|
/**
|
|
1549
1562
|
* Token expiry duration in seconds.
|
|
1550
1563
|
*/
|