react-semaphor 0.0.422 → 0.0.423
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-B83SwU1c.js → index-BVBbWA3V.js} +78 -78
- package/dist/chunks/{index-CLv0skGQ.js → index-DLAi6G9R.js} +65 -33
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +80 -70
- package/dist/index.js +2513 -2354
- package/dist/style.css +1 -1
- package/dist/types/dashboard.d.ts +15 -11
- package/dist/types/main.d.ts +22 -11
- package/dist/types/surfboard.d.ts +15 -11
- package/dist/types/types.d.ts +15 -11
- package/package.json +1 -1
|
@@ -4226,7 +4226,7 @@ const se = tx()(
|
|
|
4226
4226
|
n.isSessionExpired = !1, n.currentBreakpoint = "lg", n.dashboard = {
|
|
4227
4227
|
id: "",
|
|
4228
4228
|
style: bp
|
|
4229
|
-
}, n.showContext = !1, n.selectedSheetId = null, n.selectedCardId = null, n.selectedFrameId = null, n.selectedCard = null, n.showFilters = !1, n.isDashboardEditing = !
|
|
4229
|
+
}, n.showContext = !1, n.selectedSheetId = null, n.selectedCardId = null, n.selectedFrameId = null, n.selectedCard = null, n.showFilters = !1, n.isDashboardEditing = !0, n.isVisualEditing = !1, n.showDashboardJSON = !1, n.filteringCards = [], n.selectedLensId = void 0, n.filterValues = void 0;
|
|
4230
4230
|
});
|
|
4231
4231
|
},
|
|
4232
4232
|
updateEmailSettings: (n) => {
|
|
@@ -13513,17 +13513,17 @@ function ZV() {
|
|
|
13513
13513
|
};
|
|
13514
13514
|
}
|
|
13515
13515
|
function ej(e) {
|
|
13516
|
-
const t = se((
|
|
13516
|
+
const t = se((l) => l.selectedLensId), { filterColumns: n, ...r } = e.queryConfig || {}, { sheetFilterValues: o } = ZV(), i = (e == null ? void 0 : e.sql) || "", a = tj((e == null ? void 0 : e.python) || "");
|
|
13517
13517
|
return { queryKey: [
|
|
13518
13518
|
"query",
|
|
13519
13519
|
e == null ? void 0 : e.id,
|
|
13520
13520
|
e == null ? void 0 : e.title,
|
|
13521
|
-
o,
|
|
13522
13521
|
i,
|
|
13522
|
+
a,
|
|
13523
13523
|
t || "",
|
|
13524
|
-
JSON.stringify(
|
|
13525
|
-
JSON.stringify(
|
|
13526
|
-
], sql:
|
|
13524
|
+
JSON.stringify(o),
|
|
13525
|
+
JSON.stringify(r)
|
|
13526
|
+
], sql: i, sheetFilterValues: o };
|
|
13527
13527
|
}
|
|
13528
13528
|
function tj(e) {
|
|
13529
13529
|
return e === kD ? "" : e;
|
|
@@ -13553,7 +13553,7 @@ function Ps(e, t, n) {
|
|
|
13553
13553
|
}
|
|
13554
13554
|
const fr = tx()(
|
|
13555
13555
|
CD((e, t) => ({
|
|
13556
|
-
isDevMode: !
|
|
13556
|
+
isDevMode: !0,
|
|
13557
13557
|
userInputForAI: "",
|
|
13558
13558
|
triggerAIRun: !1,
|
|
13559
13559
|
showAIDialog: !1,
|
|
@@ -13587,6 +13587,35 @@ const fr = tx()(
|
|
|
13587
13587
|
activeCardId: ""
|
|
13588
13588
|
},
|
|
13589
13589
|
actions: {
|
|
13590
|
+
updateEditorCardFilterValue: (n, r) => {
|
|
13591
|
+
e((o) => {
|
|
13592
|
+
var a, s, l;
|
|
13593
|
+
const i = (s = (a = o.card.queryConfig) == null ? void 0 : a.filters) == null ? void 0 : s.find(
|
|
13594
|
+
(c) => c.filterColumnName === n
|
|
13595
|
+
);
|
|
13596
|
+
i ? i.filterValue = r : o.card.queryConfig = {
|
|
13597
|
+
...o.card.queryConfig,
|
|
13598
|
+
filters: [
|
|
13599
|
+
...((l = o.card.queryConfig) == null ? void 0 : l.filters) || [],
|
|
13600
|
+
{ filterColumnName: n, filterValue: r, exclude: !1 }
|
|
13601
|
+
]
|
|
13602
|
+
};
|
|
13603
|
+
});
|
|
13604
|
+
},
|
|
13605
|
+
removeEditorCardFilter: (n) => {
|
|
13606
|
+
e((r) => {
|
|
13607
|
+
var o, i, a, s;
|
|
13608
|
+
r.card.queryConfig = {
|
|
13609
|
+
...r.card.queryConfig,
|
|
13610
|
+
filters: (i = (o = r.card.queryConfig) == null ? void 0 : o.filters) == null ? void 0 : i.filter(
|
|
13611
|
+
(l) => l.filterColumnName !== n.name
|
|
13612
|
+
),
|
|
13613
|
+
filterColumns: (s = (a = r.card.queryConfig) == null ? void 0 : a.filterColumns) == null ? void 0 : s.filter(
|
|
13614
|
+
(l) => l.id !== n.id
|
|
13615
|
+
)
|
|
13616
|
+
};
|
|
13617
|
+
});
|
|
13618
|
+
},
|
|
13590
13619
|
setTempQueryData: (n) => {
|
|
13591
13620
|
e((r) => {
|
|
13592
13621
|
r.tempQueryData = n;
|
|
@@ -63919,32 +63948,35 @@ export {
|
|
|
63919
63948
|
_V as bz,
|
|
63920
63949
|
Ct as c,
|
|
63921
63950
|
RSe as c0,
|
|
63922
|
-
|
|
63923
|
-
|
|
63924
|
-
|
|
63925
|
-
|
|
63926
|
-
|
|
63927
|
-
|
|
63928
|
-
|
|
63929
|
-
|
|
63930
|
-
|
|
63931
|
-
|
|
63932
|
-
|
|
63933
|
-
|
|
63934
|
-
|
|
63935
|
-
|
|
63936
|
-
|
|
63937
|
-
|
|
63938
|
-
|
|
63939
|
-
|
|
63940
|
-
|
|
63941
|
-
|
|
63942
|
-
|
|
63943
|
-
|
|
63944
|
-
|
|
63945
|
-
|
|
63946
|
-
|
|
63947
|
-
|
|
63951
|
+
h5 as c1,
|
|
63952
|
+
kl as c2,
|
|
63953
|
+
Zse as c3,
|
|
63954
|
+
dbe as c4,
|
|
63955
|
+
zV as c5,
|
|
63956
|
+
Pge as c6,
|
|
63957
|
+
kge as c7,
|
|
63958
|
+
Mge as c8,
|
|
63959
|
+
Ige as c9,
|
|
63960
|
+
Tge as ca,
|
|
63961
|
+
_ye as cb,
|
|
63962
|
+
uM as cc,
|
|
63963
|
+
vSe as cd,
|
|
63964
|
+
ove as ce,
|
|
63965
|
+
Dxe as cf,
|
|
63966
|
+
U9 as cg,
|
|
63967
|
+
hSe as ch,
|
|
63968
|
+
ive as ci,
|
|
63969
|
+
Q9 as cj,
|
|
63970
|
+
K1e as ck,
|
|
63971
|
+
Q1e as cl,
|
|
63972
|
+
H9 as cm,
|
|
63973
|
+
V1e as cn,
|
|
63974
|
+
PSe as co,
|
|
63975
|
+
O1e as cp,
|
|
63976
|
+
Du as cq,
|
|
63977
|
+
C1e as cr,
|
|
63978
|
+
_1e as cs,
|
|
63979
|
+
sx as ct,
|
|
63948
63980
|
pSe as d,
|
|
63949
63981
|
gSe as e,
|
|
63950
63982
|
lve as f,
|
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-BVBbWA3V.js");exports.Dashboard=e.Dashboard;
|
package/dist/dashboard/index.js
CHANGED