react-semaphor 0.0.483 → 0.0.485
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-C0sIK3i7.js → index-B7M8EcMr.js} +13197 -13206
- package/dist/chunks/{index-BSxW67fc.js → index-BYJosMLK.js} +81 -80
- 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/types/dashboard.d.ts +12 -0
- package/dist/types/main.d.ts +12 -0
- package/dist/types/surfboard.d.ts +12 -0
- package/dist/types/types.d.ts +12 -0
- package/package.json +1 -1
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-BYJosMLK.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunks/index-BYJosMLK.js"),Wt=require("./types/index.cjs"),e=require("react/jsx-runtime"),E=require("react");require("react-dom");function Kt(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const n in s)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(s,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>s[n]})}}return a.default=s,Object.freeze(a)}const de=Kt(E);/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as F, p as Wt, u as L, a as at, b as Ue, d as Tn, e as zn, B as K, P as Xe, f as An, g as Fn, h as En, i as Ln, L as H, I as ue, j as Vn, k as _n, l as qn, m as W, n as Rn, o as jn, q as Bn, r as vs, s as yn, t as R, C as Kt, v as xs, S as Ne, w as we, x as Se, y as ke, z as Te, A as Me, E as ce, T as Pn, F as $e, G as Qe, H as Mt, J as Oe, K as Yt, M as Dt, N as Zt, O as It, Q as ze, R as Hn, U as ot, V as Cs, W as Gn, X as Un, Y as bn, Z as Ns, _ as p, $ as $n, a0 as et, a1 as gt, a2 as ws, a3 as Qn, a4 as Jn, a5 as Wn, a6 as Kn, a7 as Yn, a8 as Zn, a9 as Xn, aa as ve, ab as ea, ac as ta, ad as na, ae as aa, af as sa, ag as ra, ah as be, ai as Ss, aj as xe, ak as ks, al as Pe, am as Ce, an as Ms, ao as Ds, ap as Is, aq as Os, ar as yt, as as Ae, at as Ts, au as zs, av as J, aw as la, ax as As, ay as Fs, az as Es, aA as Pt, aB as ia, aC as Xt, aD as Ot, aE as tt, aF as oa, aG as bt, aH as Ht, aI as fe, aJ as Ls, aK as Vs, aL as ct, aM as _s, aN as qs, aO as Rs, aP as ca, aQ as js, aR as Tt, aS as Bs, aT as Ps, aU as Hs, aV as vn, aW as Gs, aX as Us, aY as $s, aZ as en, a_ as De, a$ as Qs, b0 as Gt, b1 as Ve, b2 as he, b3 as _e, b4 as Js, b5 as Ws, b6 as Ks, b7 as Ys, b8 as Zs, b9 as At, ba as Xs, bb as xn, bc as er, bd as Cn, be as tr, bf as nr, bg as ar, bh as sr, bi as da, bj as rr, bk as tn, bl as ua, bm as lr, bn as ir, bo as Ye, bp as or, bq as cr, br as ma, bs as dr, bt as ur, bu as mr, bv as hr, bw as pr, bx as zt, by as ha, bz as fr, bA as nn, bB as an, bC as Ze, bD as ft, bE as gr, bF as yr, bG as br, bH as sn, bI as pa, bJ as vr, bK as vt, bL as fa, bM as xt, bN as ga, bO as ya, bP as ba, bQ as xr, bR as Cr, bS as Nr, bT as wr, bU as Ee, bV as le, bW as ie, bX as oe, bY as rn, bZ as Sr, b_ as kr, b$ as Mr, c0 as Dr, c1 as Ir, c2 as Nn, c3 as va, c4 as Or, c5 as Tr, c6 as zr, c7 as Ar, c8 as ln, c9 as xa, ca as Ca, cb as on, cc as Fr, cd as Er, ce as Na, cf as Lr, cg as Vr, ch as _r, ci as qr, cj as Rr, ck as jr, cl as Br, cm as Pr, cn as Hr, co as Gr, cp as Ft, cq as wa, cr as Ur, cs as $r, ct as Qr, cu as Jr, cv as Wr, cw as Kr, cx as Yr } from "./chunks/index-
|
|
2
|
-
import { D as Uo, cC as $o, cA as Qo, cA as Jo, cF as Wo, cE as Ko, cD as Yo, cG as Zo, cH as Xo, cB as ec, cy as tc, cz as nc } from "./chunks/index-
|
|
1
|
+
import { c as F, p as Wt, u as L, a as at, b as Ue, d as Tn, e as zn, B as K, P as Xe, f as An, g as Fn, h as En, i as Ln, L as H, I as ue, j as Vn, k as _n, l as qn, m as W, n as Rn, o as jn, q as Bn, r as vs, s as yn, t as R, C as Kt, v as xs, S as Ne, w as we, x as Se, y as ke, z as Te, A as Me, E as ce, T as Pn, F as $e, G as Qe, H as Mt, J as Oe, K as Yt, M as Dt, N as Zt, O as It, Q as ze, R as Hn, U as ot, V as Cs, W as Gn, X as Un, Y as bn, Z as Ns, _ as p, $ as $n, a0 as et, a1 as gt, a2 as ws, a3 as Qn, a4 as Jn, a5 as Wn, a6 as Kn, a7 as Yn, a8 as Zn, a9 as Xn, aa as ve, ab as ea, ac as ta, ad as na, ae as aa, af as sa, ag as ra, ah as be, ai as Ss, aj as xe, ak as ks, al as Pe, am as Ce, an as Ms, ao as Ds, ap as Is, aq as Os, ar as yt, as as Ae, at as Ts, au as zs, av as J, aw as la, ax as As, ay as Fs, az as Es, aA as Pt, aB as ia, aC as Xt, aD as Ot, aE as tt, aF as oa, aG as bt, aH as Ht, aI as fe, aJ as Ls, aK as Vs, aL as ct, aM as _s, aN as qs, aO as Rs, aP as ca, aQ as js, aR as Tt, aS as Bs, aT as Ps, aU as Hs, aV as vn, aW as Gs, aX as Us, aY as $s, aZ as en, a_ as De, a$ as Qs, b0 as Gt, b1 as Ve, b2 as he, b3 as _e, b4 as Js, b5 as Ws, b6 as Ks, b7 as Ys, b8 as Zs, b9 as At, ba as Xs, bb as xn, bc as er, bd as Cn, be as tr, bf as nr, bg as ar, bh as sr, bi as da, bj as rr, bk as tn, bl as ua, bm as lr, bn as ir, bo as Ye, bp as or, bq as cr, br as ma, bs as dr, bt as ur, bu as mr, bv as hr, bw as pr, bx as zt, by as ha, bz as fr, bA as nn, bB as an, bC as Ze, bD as ft, bE as gr, bF as yr, bG as br, bH as sn, bI as pa, bJ as vr, bK as vt, bL as fa, bM as xt, bN as ga, bO as ya, bP as ba, bQ as xr, bR as Cr, bS as Nr, bT as wr, bU as Ee, bV as le, bW as ie, bX as oe, bY as rn, bZ as Sr, b_ as kr, b$ as Mr, c0 as Dr, c1 as Ir, c2 as Nn, c3 as va, c4 as Or, c5 as Tr, c6 as zr, c7 as Ar, c8 as ln, c9 as xa, ca as Ca, cb as on, cc as Fr, cd as Er, ce as Na, cf as Lr, cg as Vr, ch as _r, ci as qr, cj as Rr, ck as jr, cl as Br, cm as Pr, cn as Hr, co as Gr, cp as Ft, cq as wa, cr as Ur, cs as $r, ct as Qr, cu as Jr, cv as Wr, cw as Kr, cx as Yr } from "./chunks/index-B7M8EcMr.js";
|
|
2
|
+
import { D as Uo, cC as $o, cA as Qo, cA as Jo, cF as Wo, cE as Ko, cD as Yo, cG as Zo, cH as Xo, cB as ec, cy as tc, cz as nc } from "./chunks/index-B7M8EcMr.js";
|
|
3
3
|
import { EMPTY_SELECTION as sc } from "./types/index.js";
|
|
4
4
|
import { jsxs as r, jsx as e, Fragment as ae } from "react/jsx-runtime";
|
|
5
5
|
import * as Ke from "react";
|
|
@@ -120,6 +120,10 @@ export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
|
120
120
|
|
|
121
121
|
export declare function Dashboard(props: DashboardProps): JSX_2.Element;
|
|
122
122
|
|
|
123
|
+
export declare type DashboardEventHandlers = {
|
|
124
|
+
onExportData?: (payload: ExportDataPayload) => void;
|
|
125
|
+
};
|
|
126
|
+
|
|
123
127
|
export declare type DashboardProps = {
|
|
124
128
|
id?: string;
|
|
125
129
|
/**
|
|
@@ -144,6 +148,7 @@ export declare type DashboardProps = {
|
|
|
144
148
|
onFilterValuesChange?: (filterValues: TFilterValue[]) => void;
|
|
145
149
|
LoadingComponent?: (props: LoadingProps) => React.ReactNode;
|
|
146
150
|
ErrorComponent?: (props: ErrorProps) => React.ReactNode;
|
|
151
|
+
eventHandlers?: DashboardEventHandlers;
|
|
147
152
|
/**
|
|
148
153
|
* Placeholders for the dashboard.
|
|
149
154
|
*/
|
|
@@ -177,6 +182,13 @@ export declare type ErrorProps = {
|
|
|
177
182
|
message?: string;
|
|
178
183
|
};
|
|
179
184
|
|
|
185
|
+
export declare type ExportDataPayload = {
|
|
186
|
+
cardId: string;
|
|
187
|
+
title: string;
|
|
188
|
+
data: Record<string, any>[];
|
|
189
|
+
sql: string;
|
|
190
|
+
};
|
|
191
|
+
|
|
180
192
|
declare interface FilterByColumn extends BaseColumn {
|
|
181
193
|
role: 'filter';
|
|
182
194
|
operators?: string[];
|
package/dist/types/main.d.ts
CHANGED
|
@@ -314,6 +314,10 @@ export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
|
314
314
|
|
|
315
315
|
export declare function Dashboard(props: DashboardProps): JSX_2.Element;
|
|
316
316
|
|
|
317
|
+
export declare type DashboardEventHandlers = {
|
|
318
|
+
onExportData?: (payload: ExportDataPayload) => void;
|
|
319
|
+
};
|
|
320
|
+
|
|
317
321
|
declare type DashboardPlusProps = {
|
|
318
322
|
showControls?: boolean;
|
|
319
323
|
showFooter?: boolean;
|
|
@@ -343,6 +347,7 @@ export declare type DashboardProps = {
|
|
|
343
347
|
onFilterValuesChange?: (filterValues: TFilterValue[]) => void;
|
|
344
348
|
LoadingComponent?: (props: LoadingProps) => React.ReactNode;
|
|
345
349
|
ErrorComponent?: (props: ErrorProps) => React.ReactNode;
|
|
350
|
+
eventHandlers?: DashboardEventHandlers;
|
|
346
351
|
/**
|
|
347
352
|
* Placeholders for the dashboard.
|
|
348
353
|
*/
|
|
@@ -451,6 +456,13 @@ export declare type ErrorProps = {
|
|
|
451
456
|
message?: string;
|
|
452
457
|
};
|
|
453
458
|
|
|
459
|
+
export declare type ExportDataPayload = {
|
|
460
|
+
cardId: string;
|
|
461
|
+
title: string;
|
|
462
|
+
data: Record<string, any>[];
|
|
463
|
+
sql: string;
|
|
464
|
+
};
|
|
465
|
+
|
|
454
466
|
export declare interface FilterByColumn extends BaseColumn {
|
|
455
467
|
role: 'filter';
|
|
456
468
|
operators?: string[];
|
|
@@ -118,6 +118,10 @@ export declare type ConnectionPolicy = {
|
|
|
118
118
|
|
|
119
119
|
export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
120
120
|
|
|
121
|
+
export declare type DashboardEventHandlers = {
|
|
122
|
+
onExportData?: (payload: ExportDataPayload) => void;
|
|
123
|
+
};
|
|
124
|
+
|
|
121
125
|
declare type DashboardPlusProps = {
|
|
122
126
|
showControls?: boolean;
|
|
123
127
|
showFooter?: boolean;
|
|
@@ -147,6 +151,7 @@ export declare type DashboardProps = {
|
|
|
147
151
|
onFilterValuesChange?: (filterValues: TFilterValue[]) => void;
|
|
148
152
|
LoadingComponent?: (props: LoadingProps) => React.ReactNode;
|
|
149
153
|
ErrorComponent?: (props: ErrorProps) => React.ReactNode;
|
|
154
|
+
eventHandlers?: DashboardEventHandlers;
|
|
150
155
|
/**
|
|
151
156
|
* Placeholders for the dashboard.
|
|
152
157
|
*/
|
|
@@ -180,6 +185,13 @@ export declare type ErrorProps = {
|
|
|
180
185
|
message?: string;
|
|
181
186
|
};
|
|
182
187
|
|
|
188
|
+
export declare type ExportDataPayload = {
|
|
189
|
+
cardId: string;
|
|
190
|
+
title: string;
|
|
191
|
+
data: Record<string, any>[];
|
|
192
|
+
sql: string;
|
|
193
|
+
};
|
|
194
|
+
|
|
183
195
|
declare interface FilterByColumn extends BaseColumn {
|
|
184
196
|
role: 'filter';
|
|
185
197
|
operators?: string[];
|
package/dist/types/types.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ export declare type ConnectionPolicy = {
|
|
|
117
117
|
|
|
118
118
|
export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
119
119
|
|
|
120
|
+
export declare type DashboardEventHandlers = {
|
|
121
|
+
onExportData?: (payload: ExportDataPayload) => void;
|
|
122
|
+
};
|
|
123
|
+
|
|
120
124
|
export declare type DashboardProps = {
|
|
121
125
|
id?: string;
|
|
122
126
|
/**
|
|
@@ -141,6 +145,7 @@ export declare type DashboardProps = {
|
|
|
141
145
|
onFilterValuesChange?: (filterValues: TFilterValue[]) => void;
|
|
142
146
|
LoadingComponent?: (props: LoadingProps) => React.ReactNode;
|
|
143
147
|
ErrorComponent?: (props: ErrorProps) => React.ReactNode;
|
|
148
|
+
eventHandlers?: DashboardEventHandlers;
|
|
144
149
|
/**
|
|
145
150
|
* Placeholders for the dashboard.
|
|
146
151
|
*/
|
|
@@ -174,6 +179,13 @@ export declare type ErrorProps = {
|
|
|
174
179
|
message?: string;
|
|
175
180
|
};
|
|
176
181
|
|
|
182
|
+
export declare type ExportDataPayload = {
|
|
183
|
+
cardId: string;
|
|
184
|
+
title: string;
|
|
185
|
+
data: Record<string, any>[];
|
|
186
|
+
sql: string;
|
|
187
|
+
};
|
|
188
|
+
|
|
177
189
|
declare interface FilterByColumn extends BaseColumn {
|
|
178
190
|
role: 'filter';
|
|
179
191
|
operators?: string[];
|