react-semaphor 0.0.365 → 0.0.366
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/{index-FJLesO8t.js → index-0sZ1-IXK.js} +2 -2
- package/dist/chunks/{index-DD_Iz12h.js → index-B0y-9ayw.js} +7 -2
- package/dist/chunks/{index-Bbvr9K_x.js → index-DMKp0FF7.js} +878 -865
- package/dist/chunks/index-ckeXgCi_.js +181 -0
- package/dist/chunks/{lucide-react-Ds4vVLCA.js → lucide-react-Ch7fAUq1.js} +3 -3
- package/dist/chunks/{lucide-react-1s476nzq.js → lucide-react-Cui-03tX.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +13 -12
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/main.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunks/index-D-22LEzt.js +0 -181
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-0sZ1-IXK.js"),a=require("./chunks/index-ckeXgCi_.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
|
|
2
|
-
import {
|
|
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-B0y-9ayw.js";
|
|
2
|
+
import { F as N, D as Q, J as z, z as G, I as H, A as I } from "./chunks/index-DMKp0FF7.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
|
-
|
|
10
|
+
d as SemaphorQueryClient,
|
|
11
11
|
Q as Surfboard,
|
|
12
12
|
z as cleanCard,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
34
|
+
I as useEditorAside,
|
|
34
35
|
q as useEditorStore,
|
|
35
36
|
v as useTextFilterHook
|
|
36
37
|
};
|
package/dist/surfboard/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-ckeXgCi_.js");exports.Surfboard=e.DashboardPlus;
|
package/dist/surfboard/index.js
CHANGED
package/dist/types/main.d.ts
CHANGED
|
@@ -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;
|
|
@@ -247,6 +248,7 @@ export declare type DashboardProps = {
|
|
|
247
248
|
};
|
|
248
249
|
|
|
249
250
|
export declare type DashboardStore = {
|
|
251
|
+
isDownloadingPdf?: boolean;
|
|
250
252
|
isSessionExpired: boolean;
|
|
251
253
|
authToken?: AuthToken;
|
|
252
254
|
currentBreakpoint: Breakpoint;
|
|
@@ -287,6 +289,8 @@ export { DateRange }
|
|
|
287
289
|
|
|
288
290
|
export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
|
|
289
291
|
|
|
292
|
+
export declare function downloadPdf(): Promise<void>;
|
|
293
|
+
|
|
290
294
|
declare type EditorStore = {
|
|
291
295
|
isShowingVisual: boolean;
|
|
292
296
|
runSql: boolean;
|