react-semaphor 0.0.293 → 0.0.294
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-zdNMIsZu.js → index-WSX3yFRv.js} +2 -2
- package/dist/chunks/{index-ljPCqLiY.js → index-X4nZNc-o.js} +1 -1
- package/dist/chunks/{index-fAm5iYrM.js → index-ZoqY0jME.js} +2 -2
- package/dist/chunks/{index-4ghd54jS.js → index-zNf1a2y4.js} +29 -32
- package/dist/chunks/{lucide-react-3E-f4CQ5.js → lucide-react-BVBcUTQJ.js} +3 -3
- package/dist/chunks/{lucide-react-VOTuZL6R.js → lucide-react-btAE90-U.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 +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as q, p as hs, u as k, n as Fs, o as Oe, q as e, r as Ts, s as Is, t as O, j as Ds, v as Ms, w as Ls, x as Es, y as As, L as H, z as re, A as oa, E as ca, H as da, J as ua, K as rt, M as it, N as ot, O as Ys, Q as W, R as Je, V as ct, F as ha, W as We, Y as Ye, Z as Vs, _ as ma, $ as qs, a0 as fe, a1 as ge, a2 as je, a3 as be, a4 as ke, a5 as ye, a6 as J, T as Rs, a7 as d, a8 as _s, a9 as Hs, aa as $s, ab as xa, ac as pa, ad as xe, ae as dt, af as ut, ag as fa, ah as ht, C as mt, ai as xt, aj as ga, B as pt, ak as Ps, al as ft, am as Xs, an as ja, ao as Ns, ap as me, aq as we, ar as de, as as ms, at as ba, au as gt, av as jt, aw as ya, ax as bt, ay as yt, az as vt, aA as Ct, aB as Nt, aC as qe, aD as Ss, aE as St, a as wt, aF as Ke, aG as ws, aH as Ve, aI as ks, aJ as kt, aK as zt, aL as Ot, aM as Ft, aN as Tt, aO as It, aP as Cs, aQ as Dt, aR as Zs, aS as Mt, aT as ea, aU as Lt, aV as Et, aW as At, aX as va, aY as ce, aZ as Bs, a_ as Ca, a$ as Vt, b0 as qt, b1 as rs, b2 as Rt, b3 as _t, b4 as Ht, b5 as $t, b6 as Pt, b7 as Bt, b8 as Ut, l as Gt, b9 as xs, ba as Na, bb as Sa, bc as wa, bd as is, be as ka, bf as os, bg as sa, bh as Kt, bi as Qt, bj as ps, bk as fs, bl as gs, bm as Jt, bn as Wt, X as za, bo as Yt, bp as Xt, bq as Zt, br as js, bs as Ie, f as en, bt as Ge, bu as Oa, bv as sn, bw as an, bx as cs, by as tn, bz as nn, bA as ln, bB as aa, bC as rn, bD as on, bE as cn, bF as dn, bG as un, bH as hn, bI as mn, bJ as xn, bK as De, bL as U, bM as G, bN as Us, bO as K, bP as pn, bQ as Fa, bR as fn, bS as gn, bT as jn, bU as bn, bV as yn, bW as vn, bX as Cn, bY as Nn, bZ as Sn } from "./index-
|
|
1
|
+
import { c as q, p as hs, u as k, n as Fs, o as Oe, q as e, r as Ts, s as Is, t as O, j as Ds, v as Ms, w as Ls, x as Es, y as As, L as H, z as re, A as oa, E as ca, H as da, J as ua, K as rt, M as it, N as ot, O as Ys, Q as W, R as Je, V as ct, F as ha, W as We, Y as Ye, Z as Vs, _ as ma, $ as qs, a0 as fe, a1 as ge, a2 as je, a3 as be, a4 as ke, a5 as ye, a6 as J, T as Rs, a7 as d, a8 as _s, a9 as Hs, aa as $s, ab as xa, ac as pa, ad as xe, ae as dt, af as ut, ag as fa, ah as ht, C as mt, ai as xt, aj as ga, B as pt, ak as Ps, al as ft, am as Xs, an as ja, ao as Ns, ap as me, aq as we, ar as de, as as ms, at as ba, au as gt, av as jt, aw as ya, ax as bt, ay as yt, az as vt, aA as Ct, aB as Nt, aC as qe, aD as Ss, aE as St, a as wt, aF as Ke, aG as ws, aH as Ve, aI as ks, aJ as kt, aK as zt, aL as Ot, aM as Ft, aN as Tt, aO as It, aP as Cs, aQ as Dt, aR as Zs, aS as Mt, aT as ea, aU as Lt, aV as Et, aW as At, aX as va, aY as ce, aZ as Bs, a_ as Ca, a$ as Vt, b0 as qt, b1 as rs, b2 as Rt, b3 as _t, b4 as Ht, b5 as $t, b6 as Pt, b7 as Bt, b8 as Ut, l as Gt, b9 as xs, ba as Na, bb as Sa, bc as wa, bd as is, be as ka, bf as os, bg as sa, bh as Kt, bi as Qt, bj as ps, bk as fs, bl as gs, bm as Jt, bn as Wt, X as za, bo as Yt, bp as Xt, bq as Zt, br as js, bs as Ie, f as en, bt as Ge, bu as Oa, bv as sn, bw as an, bx as cs, by as tn, bz as nn, bA as ln, bB as aa, bC as rn, bD as on, bE as cn, bF as dn, bG as un, bH as hn, bI as mn, bJ as xn, bK as De, bL as U, bM as G, bN as Us, bO as K, bP as pn, bQ as Fa, bR as fn, bS as gn, bT as jn, bU as bn, bV as yn, bW as vn, bX as Cn, bY as Nn, bZ as Sn } from "./index-zNf1a2y4.js";
|
|
2
2
|
import * as ta from "react";
|
|
3
3
|
import ze, { useState as R, useMemo as zs, useEffect as Z, useRef as Xe, Suspense as wn } from "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -2959,7 +2959,7 @@ function Xa(s) {
|
|
|
2959
2959
|
const [t, a] = R(null);
|
|
2960
2960
|
return Z(() => {
|
|
2961
2961
|
s && (async () => {
|
|
2962
|
-
const i = (await import("./lucide-react-
|
|
2962
|
+
const i = (await import("./lucide-react-BVBcUTQJ.js"))[s];
|
|
2963
2963
|
a(i);
|
|
2964
2964
|
})();
|
|
2965
2965
|
}, [s]), t;
|
|
@@ -31312,19 +31312,19 @@ function UC(e) {
|
|
|
31312
31312
|
const o = $e((V) => V.filteringCards), i = $e((V) => V.selectedSheetId), s = $e((V) => V.selectedLensId);
|
|
31313
31313
|
$e((V) => V.selectedCardId), $e((V) => V.dashboard), $e(
|
|
31314
31314
|
(V) => V.isDashboardEditing
|
|
31315
|
-
);
|
|
31316
|
-
const a = $e((V) => V.
|
|
31317
|
-
addFilteringCard:
|
|
31318
|
-
getCardFrame:
|
|
31319
|
-
addOrUpdateFilterValues:
|
|
31320
|
-
removeFilterValue:
|
|
31321
|
-
removeFilteringCard:
|
|
31322
|
-
} = Nr(), { data:
|
|
31315
|
+
), $e((V) => V.themeStyle);
|
|
31316
|
+
const a = $e((V) => V.filterValues), l = fe(a), c = (G = e == null ? void 0 : e.preferences) == null ? void 0 : G.onClickFilter, {
|
|
31317
|
+
addFilteringCard: u,
|
|
31318
|
+
getCardFrame: d,
|
|
31319
|
+
addOrUpdateFilterValues: h,
|
|
31320
|
+
removeFilterValue: p,
|
|
31321
|
+
removeFilteringCard: b
|
|
31322
|
+
} = Nr(), { data: m, isLoading: y, isFetching: v, isError: w, queryKey: _ } = hC(e), { data: S } = Fie(e), C = o == null ? void 0 : o.find(
|
|
31323
31323
|
(V) => V.id === e.id
|
|
31324
|
-
), $ =
|
|
31324
|
+
), $ = d(e.id), O = ($ == null ? void 0 : $.cards) || [], D = (O == null ? void 0 : O.length) == 1;
|
|
31325
31325
|
let A;
|
|
31326
|
-
|
|
31327
|
-
data:
|
|
31326
|
+
m && m.records && ((T = m.records) == null ? void 0 : T.length) > 0 && e.type !== "custom" && (A = lk({
|
|
31327
|
+
data: m == null ? void 0 : m.records,
|
|
31328
31328
|
cardType: e.type,
|
|
31329
31329
|
cfg: e.cfg,
|
|
31330
31330
|
customCfg: e.customCfg,
|
|
@@ -31335,30 +31335,27 @@ function UC(e) {
|
|
|
31335
31335
|
filteringCards: o
|
|
31336
31336
|
});
|
|
31337
31337
|
xe(() => {
|
|
31338
|
-
|
|
31338
|
+
!(m != null && m.records) || y || v || C && D || r((V) => V + 1);
|
|
31339
31339
|
}, [
|
|
31340
|
-
|
|
31341
|
-
|
|
31342
|
-
|
|
31343
|
-
|
|
31344
|
-
|
|
31345
|
-
e.customCfg,
|
|
31346
|
-
e.preferences,
|
|
31347
|
-
a
|
|
31340
|
+
m == null ? void 0 : m.records,
|
|
31341
|
+
y,
|
|
31342
|
+
v,
|
|
31343
|
+
C,
|
|
31344
|
+
D
|
|
31348
31345
|
]), xe(() => {
|
|
31349
|
-
e.connectionId && !C && (
|
|
31350
|
-
}, [
|
|
31346
|
+
e.connectionId && !C && (l.current = a);
|
|
31347
|
+
}, [a, s, e.connectionId, C]), xe(() => {
|
|
31351
31348
|
var H;
|
|
31352
31349
|
C && (N.current.filteringCards = [...o || []]), !C && ((H = N.current.filteringCards) == null ? void 0 : H.find((K) => K.id === e.id)) && D && r((K) => K + 1);
|
|
31353
|
-
}, [C]);
|
|
31350
|
+
}, [C, D, e.id, o]);
|
|
31354
31351
|
function L(V, H, K, q) {
|
|
31355
31352
|
var Y;
|
|
31356
31353
|
let P = !1;
|
|
31357
|
-
if (!(
|
|
31354
|
+
if (!(m != null && m.records))
|
|
31358
31355
|
return;
|
|
31359
31356
|
const B = Lie({
|
|
31360
31357
|
card: e,
|
|
31361
|
-
data:
|
|
31358
|
+
data: m == null ? void 0 : m.records,
|
|
31362
31359
|
datasetIndex: H,
|
|
31363
31360
|
clickIndex: K,
|
|
31364
31361
|
value: q
|
|
@@ -31366,13 +31363,13 @@ function UC(e) {
|
|
|
31366
31363
|
if (console.log("fieldValues", B), t == null || t(e, B), !!(((Y = e == null ? void 0 : e.preferences) == null ? void 0 : Y.onClickFilter) ?? []).length) {
|
|
31367
31364
|
if (C) {
|
|
31368
31365
|
const k = e.id;
|
|
31369
|
-
|
|
31366
|
+
p(k), b(e);
|
|
31370
31367
|
} else {
|
|
31371
31368
|
if (P = !0, !B)
|
|
31372
31369
|
return;
|
|
31373
31370
|
const k = [];
|
|
31374
31371
|
B.forEach((te, ue) => {
|
|
31375
|
-
const de =
|
|
31372
|
+
const de = c == null ? void 0 : c.find((ie) => ie.columnIndex === ue);
|
|
31376
31373
|
if (!de)
|
|
31377
31374
|
return;
|
|
31378
31375
|
const me = {
|
|
@@ -31390,7 +31387,7 @@ function UC(e) {
|
|
|
31390
31387
|
values: [B[de.columnIndex].columnValue]
|
|
31391
31388
|
};
|
|
31392
31389
|
k.push(me);
|
|
31393
|
-
}),
|
|
31390
|
+
}), h(k), u(e);
|
|
31394
31391
|
}
|
|
31395
31392
|
Mie({
|
|
31396
31393
|
chart: V,
|
|
@@ -31403,10 +31400,10 @@ function UC(e) {
|
|
|
31403
31400
|
}
|
|
31404
31401
|
}
|
|
31405
31402
|
return {
|
|
31406
|
-
isError:
|
|
31407
|
-
isLoading:
|
|
31408
|
-
isFetching:
|
|
31409
|
-
data:
|
|
31403
|
+
isError: w,
|
|
31404
|
+
isLoading: y,
|
|
31405
|
+
isFetching: v,
|
|
31406
|
+
data: m,
|
|
31410
31407
|
visualKey: n,
|
|
31411
31408
|
handleDatapointClick: L,
|
|
31412
31409
|
cfg: A
|
|
@@ -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, F as n, i as r, G as k, I as p, P as l, j as M, S as u, k as v, l as g, T as m, U as x, X as L } from "./index-
|
|
2
|
-
import { m as Pv } from "./index-
|
|
3
|
-
import { B as w, C, a as f, b as I, c as S, d as q, e as b, f as H, g as A, h as z, E as P, i as V, j, k as B, G as F, H as D, l as R, m as T, K as U, L as O, n as Z, o as G, p as W, M as E, q as X, N, P as K, r as J, s as Q, S as Y, t as _, u as $, v as a1, w as e1, T as t1, x as c1, y as h1, U as d1 } from "./index-
|
|
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, F as n, i as r, G as k, I as p, P as l, j as M, S as u, k as v, l as g, T as m, U as x, X as L } from "./index-zNf1a2y4.js";
|
|
2
|
+
import { m as Pv } from "./index-zNf1a2y4.js";
|
|
3
|
+
import { B as w, C, a as f, b as I, c as S, d as q, e as b, f as H, g as A, h as z, E as P, i as V, j, k as B, G as F, H as D, l as R, m as T, K as U, L as O, n as Z, o as G, p as W, M as E, q as X, N, P as K, r as J, s as Q, S as Y, t as _, u as $, v as a1, w as e1, T as t1, x as c1, y as h1, U as d1 } from "./index-ZoqY0jME.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-X4nZNc-o.js"),a=require("./index-WSX3yFRv.js");require("react");require("react-dom");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
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-X4nZNc-o.js");require("react");require("react-dom");exports.Dashboard=e.Dashboard;
|
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-X4nZNc-o.js"),a=require("./chunks/index-WSX3yFRv.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.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.useEditorActions=e.useEditorActions;exports.useEditorStore=e.useEditorStore;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.useEditorAside=a.useEditorAside;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ai as o, ah as r, D as i, b$ as D, ag as T, c3 as d, af as l, ab as n, ad as u, c1 as A, c0 as S, an as E, ac as b, al as c, c2 as m, b_ as p, n as _, u as h, aY as C, a7 as f } from "./chunks/index-
|
|
2
|
-
import { A as Y, D as y, I as P, F as q, z as N } from "./chunks/index-
|
|
1
|
+
import { ai as o, ah as r, D as i, b$ as D, ag as T, c3 as d, af as l, ab as n, ad as u, c1 as A, c0 as S, an as E, ac as b, al as c, c2 as m, b_ as p, n as _, u as h, aY as C, a7 as f } from "./chunks/index-zNf1a2y4.js";
|
|
2
|
+
import { A as Y, D as y, I as P, F as q, z as N } from "./chunks/index-ZoqY0jME.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
export {
|
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-WSX3yFRv.js");require("../chunks/index-X4nZNc-o.js");require("react");require("react-dom");exports.Surfboard=e.DashboardPlus;
|
package/dist/surfboard/index.js
CHANGED