react-semaphor 0.1.445 → 0.1.447
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/analytics-protocol/index.js +8 -8
- package/dist/appearance/index.cjs +1 -1
- package/dist/appearance/index.js +1 -1
- package/dist/brand-studio/index.cjs +2 -2
- package/dist/brand-studio/index.js +9 -9
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-DUv3QnMl.js → analyze-result-contract-T-0Ntzys.js} +1 -1
- package/dist/chunks/{braces-BdbUk_r9.js → braces-8TRlDwDw.js} +1 -1
- package/dist/chunks/{braces-BKimshER.cjs → braces-v55uLCAK.cjs} +1 -1
- package/dist/chunks/{catalog-field-grounding-AOGwWu0K.js → catalog-field-grounding-S2jKwKGD.js} +9 -9
- package/dist/chunks/{common-types-DFsDdpH7.js → common-types-B7Jk3Rtj.js} +5 -5
- package/dist/chunks/{dashboard-briefing-launcher-2SLNOaTg.js → dashboard-briefing-launcher-CDjcivK2.js} +192 -191
- package/dist/chunks/dashboard-briefing-launcher-D44Au-Qp.cjs +26 -0
- package/dist/chunks/dashboard-controls-DH3J4L1D.cjs +52 -0
- package/dist/chunks/dashboard-controls-tHwb3g3W.js +2409 -0
- package/dist/chunks/{dashboard-date-comparison-definition-BaYxjLi5.js → dashboard-date-comparison-definition-Ba-clViK.js} +1 -1
- package/dist/chunks/{dashboard-input-contract-BFpERluO.js → dashboard-input-contract-DSt8dGzP.js} +4 -4
- package/dist/chunks/{dashboard-json-BZwq3EcS.js → dashboard-json-Bihrrl5_.js} +11 -11
- package/dist/chunks/dashboard-json-VOXcUBqx.cjs +1 -0
- package/dist/chunks/edit-dashboard-visual-8XtuSSKG.cjs +177 -0
- package/dist/chunks/{edit-dashboard-visual-njLPYip3.js → edit-dashboard-visual-Dsc9mZnc.js} +7113 -7097
- package/dist/chunks/{editor-action-buttons-CBVMFipA.cjs → editor-action-buttons-BFqvBlLw.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-BhLX5Q6m.js → editor-action-buttons-BbVgPOda.js} +41 -41
- package/dist/chunks/{format-types-CZH5w1lo.js → format-types-DZGgYj39.js} +5 -5
- package/dist/chunks/index-BSTyv45D.cjs +1395 -0
- package/dist/chunks/{index-If0wlXGi.js → index-CJdxSyQq.js} +308 -308
- package/dist/chunks/{index-Dpm_VET4.cjs → index-DRlMUglg.cjs} +2 -2
- package/dist/chunks/{dashboard-u61yfU6u.js → index-srGACKDr.js} +148223 -151540
- package/dist/chunks/{layout-grid-D5tYJg1-.js → layout-grid-CiubineE.js} +1 -1
- package/dist/chunks/{layout-grid-3-HWzEwU.cjs → layout-grid-xm8pqtx0.cjs} +1 -1
- package/dist/chunks/{metric-comparison-BJ_Qu1ZF.js → metric-comparison-97zHGEx5.js} +7 -7
- package/dist/chunks/mouse-pointer-2-BZvGk45-.js +19 -0
- package/dist/chunks/mouse-pointer-2-DX4A_XZw.cjs +6 -0
- package/dist/chunks/{palette-DW_l7Jr0.cjs → palette-BN-jYtaK.cjs} +1 -1
- package/dist/chunks/{palette-jqaAcwiQ.js → palette-Cp1hqZtm.js} +1 -1
- package/dist/chunks/{pivot-result-identity-B6QCWOSi.js → pivot-result-identity-CwJWpKI7.js} +3 -3
- package/dist/chunks/{pivot-result-lifecycle-BM3Pl-D1.js → pivot-result-lifecycle-BBabQ_da.js} +27 -27
- package/dist/chunks/{presentation-execution-CGlb7YZ6.js → presentation-execution-BLfPTGX_.js} +10 -10
- package/dist/chunks/{report-preferences-dialog-D_NJu2wU.js → report-preferences-dialog-DZez53xw.js} +6 -6
- package/dist/chunks/report-preferences-dialog-TYTIHpHi.cjs +1 -0
- package/dist/chunks/{report-runtime-context-Qzn11HQe.js → report-runtime-context-bCy3CVzK.js} +1 -1
- package/dist/chunks/{save-4_uMnE6s.cjs → save-3dYRmehL.cjs} +1 -1
- package/dist/chunks/{save-HCJjjzdX.js → save-DgMfP0j8.js} +1 -1
- package/dist/chunks/{search-DHZCro8B.js → search-BHsQIWBV.js} +1 -1
- package/dist/chunks/{search-6ZmeMq55.cjs → search-BqqhaMx9.cjs} +1 -1
- package/dist/chunks/{code-editor-B4gTfvc5.js → switch-Bz2uj3q0.js} +9405 -9330
- package/dist/chunks/switch-rbwGjmad.cjs +138 -0
- package/dist/chunks/{temporal-bucket-authoring-BUZMuVca.js → temporal-bucket-authoring-CgOuakGW.js} +2 -2
- package/dist/chunks/{temporal-bucket-contract-B2bJ1oe4.js → temporal-bucket-contract-_F6vNhhH.js} +3 -3
- package/dist/chunks/{temporal-result-owner-Cb27SSG9.js → temporal-result-owner-6peubmhU.js} +3 -3
- package/dist/chunks/{token-types-DLo91nOf.js → token-types-BHR58aTy.js} +1 -1
- package/dist/chunks/{update-policy-eg59mQqv.js → update-policy-g0rCQ9BM.js} +9 -9
- package/dist/chunks/{validators-wZ2WlNHc.js → validators-Cs74WVie.js} +46 -46
- package/dist/chunks/x-B6ghREd2.cjs +31 -0
- package/dist/chunks/{index-xHCrHprY.js → x-CXDkqdur.js} +59 -59
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +6 -6
- package/dist/data-app-builder/index.cjs +13 -18
- package/dist/data-app-builder/index.js +92 -106
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +6 -6
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +4 -4
- package/dist/format-utils/index.js +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.js +16 -16
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/brand-studio.d.ts +2 -2
- package/dist/types/dashboard.d.ts +3 -2
- package/dist/types/data-app-builder.d.ts +2 -2
- package/dist/types/data-app-sdk.d.ts +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +7 -7
- package/dist/types/main.d.ts +27 -25
- package/dist/types/surfboard.d.ts +3 -2
- package/package.json +1 -2
- package/dist/chunks/code-editor-BYVorgOf.cjs +0 -138
- package/dist/chunks/dashboard-CAiwJW3L.cjs +0 -1397
- package/dist/chunks/dashboard-briefing-launcher-CHwjpUYz.cjs +0 -26
- package/dist/chunks/dashboard-controls-BfL14aqO.js +0 -2238
- package/dist/chunks/dashboard-controls-BgGTg4yw.cjs +0 -36
- package/dist/chunks/dashboard-json-BOv8tCa9.cjs +0 -1
- package/dist/chunks/edit-dashboard-visual-BdVCH0DJ.cjs +0 -182
- package/dist/chunks/index-jSrCwPQz.cjs +0 -31
- package/dist/chunks/report-preferences-dialog-r8QzOSFb.cjs +0 -1
package/dist/chunks/{editor-action-buttons-CBVMFipA.cjs → editor-action-buttons-BFqvBlLw.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const J=require("./
|
|
1
|
+
"use strict";const J=require("./x-B6ghREd2.cjs"),v=require("react"),s=require("./switch-rbwGjmad.cjs"),f=require("./index-BSTyv45D.cjs"),e=require("react/jsx-runtime");require("./validators-9D4KBqKD.cjs");require("./analyze-result-contract-BHb7sUUW.cjs");require("../value-format-preferences/index.cjs");const ge=require("./search-BqqhaMx9.cjs"),Se=require("./save-3dYRmehL.cjs");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as Te, C as je, X as Ze } from "./
|
|
2
|
-
import { useState as H, useEffect as ie, useCallback as
|
|
3
|
-
import {
|
|
4
|
-
import { b7 as Lt, az as qt, b8 as ce, b9 as Mt, ba as Ae, bb as Ot, bc as
|
|
1
|
+
import { c as Te, C as je, X as Ze } from "./x-CXDkqdur.js";
|
|
2
|
+
import { useState as H, useEffect as ie, useCallback as U, useMemo as oe, useRef as ke, Fragment as ht } from "react";
|
|
3
|
+
import { E as de, z as _e, u as J, D as z, a4 as bt, Q as gt, V as yt, W as vt, c as fe, Y as xt, a5 as Ct, a6 as kt, a7 as pe, a8 as Re, a9 as Qe, aa as Se, ab as Ne, ac as St, ad as $e, ae as Nt, af as wt, ag as me, ah as Dt, ai as Pe, B as L, aj as et, ak as tt, al as rt, O as ne, Z as at, _ as we, $ as De, a0 as Ee, a1 as Fe, a2 as Ie, am as st, an as Et, ao as Ft, ap as We, aq as It, ar as He, as as Vt, at as Ve, d as Tt, L as nt, au as _t, av as At } from "./switch-Bz2uj3q0.js";
|
|
4
|
+
import { b7 as Lt, az as qt, b8 as ce, b9 as Mt, ba as Ae, bb as Ot, bc as zt, bd as Ut, aG as B, be as Bt, bf as jt, bg as Rt, bh as ot, bi as lt, bj as Qt, u as $t, bk as Pt, bl as Wt, bm as Ht, bn as Kt, bo as it, bp as dt, bq as Yt, br as Gt, bs as Xt, bt as Jt, bu as Zt, aZ as er, bv as tr, bw as rr, bx as ct, by as ar } from "./index-srGACKDr.js";
|
|
5
5
|
import { jsx as r, jsxs as p, Fragment as re } from "react/jsx-runtime";
|
|
6
|
-
import "./validators-
|
|
7
|
-
import "./analyze-result-contract-
|
|
6
|
+
import "./validators-Cs74WVie.js";
|
|
7
|
+
import "./analyze-result-contract-T-0Ntzys.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
|
-
import { C as Ke } from "./search-
|
|
10
|
-
import { S as ut } from "./save-
|
|
9
|
+
import { C as Ke } from "./search-BHsQIWBV.js";
|
|
10
|
+
import { S as ut } from "./save-DgMfP0j8.js";
|
|
11
11
|
/**
|
|
12
12
|
* @license lucide-react v0.453.0 - ISC
|
|
13
13
|
*
|
|
@@ -168,13 +168,13 @@ function dr(t, a) {
|
|
|
168
168
|
}), !0) : !1;
|
|
169
169
|
}
|
|
170
170
|
function cr() {
|
|
171
|
-
const t =
|
|
171
|
+
const t = z(
|
|
172
172
|
(s) => {
|
|
173
173
|
var i;
|
|
174
174
|
return ((i = s.card.customCardPreferences) == null ? void 0 : i.url) || "";
|
|
175
175
|
}
|
|
176
176
|
), a = or(t);
|
|
177
|
-
return { getUpdatedFrame:
|
|
177
|
+
return { getUpdatedFrame: U(() => {
|
|
178
178
|
var V;
|
|
179
179
|
jt();
|
|
180
180
|
const {
|
|
@@ -187,7 +187,7 @@ function cr() {
|
|
|
187
187
|
selectedDatabaseName: v,
|
|
188
188
|
selectedTableName: y,
|
|
189
189
|
selectedConnectionId: b
|
|
190
|
-
} =
|
|
190
|
+
} = z.getState(), x = i.sql, D = (V = a == null ? void 0 : a.getState()) == null ? void 0 : V.settings, k = bt(i, {
|
|
191
191
|
isDevMode: c,
|
|
192
192
|
cardSql: x,
|
|
193
193
|
isShowingVisual: m,
|
|
@@ -233,9 +233,9 @@ function Le() {
|
|
|
233
233
|
clearSelectedFrameId: P
|
|
234
234
|
} = _e(), M = J((_) => _.selectedSheetId), Y = J((_) => _.selectedFrameId), G = J((_) => _.dashboard), ee = J((_) => _.filterValues), q = J(
|
|
235
235
|
(_) => _.inlineFilterValuesMap
|
|
236
|
-
), X =
|
|
236
|
+
), X = zt((i == null ? void 0 : i.id) || "", {
|
|
237
237
|
enabled: !!(i != null && i.id) && !!(t != null && t.accessToken)
|
|
238
|
-
}), ae =
|
|
238
|
+
}), ae = U(
|
|
239
239
|
async (_) => {
|
|
240
240
|
try {
|
|
241
241
|
c(_), P(), Z();
|
|
@@ -306,7 +306,7 @@ function Le() {
|
|
|
306
306
|
ee,
|
|
307
307
|
q
|
|
308
308
|
]
|
|
309
|
-
), be =
|
|
309
|
+
), be = U(
|
|
310
310
|
async (_) => {
|
|
311
311
|
var W;
|
|
312
312
|
const F = (A) => (B.error(A), { success: !1, error: A });
|
|
@@ -326,7 +326,7 @@ function Le() {
|
|
|
326
326
|
if (!(Q != null && Q.cards) || Q.cards.length === 0)
|
|
327
327
|
return F("Visual frame is malformed");
|
|
328
328
|
const le = {
|
|
329
|
-
...
|
|
329
|
+
...Ut(Q),
|
|
330
330
|
visualId: _.id
|
|
331
331
|
// Link this frame to the library visual
|
|
332
332
|
};
|
|
@@ -364,7 +364,7 @@ function Le() {
|
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
function Fr() {
|
|
367
|
-
const t =
|
|
367
|
+
const t = z((m) => m.card.dataSource), {
|
|
368
368
|
setSelectedConnectionId: a,
|
|
369
369
|
setSelectedDatabaseName: o,
|
|
370
370
|
setSelectedSchemaName: s,
|
|
@@ -402,7 +402,7 @@ function ur(t, a) {
|
|
|
402
402
|
};
|
|
403
403
|
}
|
|
404
404
|
function pr() {
|
|
405
|
-
const { setTempQueryData: t } = de(), a = ce(), o =
|
|
405
|
+
const { setTempQueryData: t } = de(), a = ce(), o = z((R) => R.tempQueryData), s = z((R) => R.card), i = ot(), c = oe(() => i !== s.type ? { ...s, type: i } : s, [s, i]), { queryKey: m } = lt(c), {
|
|
406
406
|
setCardSql: h,
|
|
407
407
|
setSqlGen: u,
|
|
408
408
|
setCardPython: v,
|
|
@@ -422,7 +422,7 @@ function pr() {
|
|
|
422
422
|
queryKey: m,
|
|
423
423
|
queryData: R
|
|
424
424
|
}), a.setQueryData(m, null), a.removeQueries({ queryKey: m, exact: !0 }), h(""), u({}), x(), D(void 0), v(""), y(""), b({});
|
|
425
|
-
const $ =
|
|
425
|
+
const $ = z.getState().frame, Z = z.getState().card, E = Qt($, Z), n = ((P = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : P.visualType) === "multiple" || !!((M = E == null ? void 0 : E.customCardPreferences) != null && M.dataInputCardIds) || (((Y = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : Y.minInputs) || 0) > 1 || (((G = E == null ? void 0 : E.customCardPreferences) == null ? void 0 : G.maxInputs) || 0) > 1, w = ur(Z, n);
|
|
426
426
|
N({
|
|
427
427
|
...$,
|
|
428
428
|
cards: $.cards.map(
|
|
@@ -439,7 +439,7 @@ function Ir({
|
|
|
439
439
|
showLabel: s = !1,
|
|
440
440
|
showLocal: i = !1
|
|
441
441
|
}) {
|
|
442
|
-
const c = J((N) => N.selectedFrameId), m = $t((N) => N.selectedVisual), h =
|
|
442
|
+
const c = J((N) => N.selectedFrameId), m = $t((N) => N.selectedVisual), h = z((N) => N.frame);
|
|
443
443
|
let u;
|
|
444
444
|
if (t)
|
|
445
445
|
u = t;
|
|
@@ -798,7 +798,7 @@ function Vr({
|
|
|
798
798
|
const V = oe(
|
|
799
799
|
() => new Set(o || []),
|
|
800
800
|
[o]
|
|
801
|
-
), j =
|
|
801
|
+
), j = Et(t), K = kt(t), [R, $] = H(
|
|
802
802
|
null
|
|
803
803
|
), [Z, E] = H(
|
|
804
804
|
null
|
|
@@ -813,7 +813,7 @@ function Vr({
|
|
|
813
813
|
return e;
|
|
814
814
|
const d = new Set(D);
|
|
815
815
|
return e.filter((l) => d.has(l.value));
|
|
816
|
-
}, [D, x, t]), ee =
|
|
816
|
+
}, [D, x, t]), ee = U(
|
|
817
817
|
(e) => {
|
|
818
818
|
const d = Re({
|
|
819
819
|
scope: t,
|
|
@@ -826,7 +826,7 @@ function Vr({
|
|
|
826
826
|
return d.filter((f) => l.has(f.value));
|
|
827
827
|
},
|
|
828
828
|
[D, x, t]
|
|
829
|
-
), q =
|
|
829
|
+
), q = U(
|
|
830
830
|
(e) => t === "dashboard" && (e === "field_selector" || e === "metric_selector"),
|
|
831
831
|
[t]
|
|
832
832
|
), X = oe(
|
|
@@ -931,7 +931,7 @@ function Vr({
|
|
|
931
931
|
nextControl: f,
|
|
932
932
|
cardBindingsById: C
|
|
933
933
|
};
|
|
934
|
-
}, F =
|
|
934
|
+
}, F = U(
|
|
935
935
|
(e, d = s, l = { type: "update" }) => {
|
|
936
936
|
const f = e.map((C) => (Ne({
|
|
937
937
|
control: C,
|
|
@@ -1022,7 +1022,7 @@ function Vr({
|
|
|
1022
1022
|
}
|
|
1023
1023
|
const l = { ...s };
|
|
1024
1024
|
delete l[e], F(d, l, { type: "remove", controlId: e });
|
|
1025
|
-
}, ue =
|
|
1025
|
+
}, ue = U(() => {
|
|
1026
1026
|
M.current = void 0, w({
|
|
1027
1027
|
step: 1,
|
|
1028
1028
|
control: pe(t, a, Array.from(V))
|
|
@@ -1074,7 +1074,7 @@ function Vr({
|
|
|
1074
1074
|
var S;
|
|
1075
1075
|
if (!n)
|
|
1076
1076
|
return;
|
|
1077
|
-
const e = $e(n.control), d =
|
|
1077
|
+
const e = $e(n.control), d = It({
|
|
1078
1078
|
label: e.label,
|
|
1079
1079
|
fallbackId: e.id,
|
|
1080
1080
|
existingControls: a,
|
|
@@ -1098,9 +1098,9 @@ function Vr({
|
|
|
1098
1098
|
selectedCardIds: n.selectedCardIds,
|
|
1099
1099
|
cardBindingsById: f
|
|
1100
1100
|
});
|
|
1101
|
-
}, ve =
|
|
1101
|
+
}, ve = U(() => {
|
|
1102
1102
|
w(null);
|
|
1103
|
-
}, []), Oe =
|
|
1103
|
+
}, []), Oe = U(() => {
|
|
1104
1104
|
if (!(n != null && n.createdControlId)) {
|
|
1105
1105
|
w(null);
|
|
1106
1106
|
return;
|
|
@@ -1141,10 +1141,10 @@ function Vr({
|
|
|
1141
1141
|
}
|
|
1142
1142
|
);
|
|
1143
1143
|
E(d), w(null), N == null || N();
|
|
1144
|
-
}, [a, n, s, F, N]), ft = n ? q(n.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [],
|
|
1144
|
+
}, [a, n, s, F, N]), ft = n ? q(n.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [], ze = n != null && n.createdControlId ? `[[param.${n.createdControlId}]]` : n ? `[[param.${Dt(n.control.label) || n.control.id}]]` : "", xe = Pe({
|
|
1145
1145
|
controls: a,
|
|
1146
1146
|
defaultValues: s
|
|
1147
|
-
}), Ce = n ? [...a, n.control] : a,
|
|
1147
|
+
}), Ce = n ? [...a, n.control] : a, Ue = n ? Pe({
|
|
1148
1148
|
controls: Ce,
|
|
1149
1149
|
defaultValues: s,
|
|
1150
1150
|
overrides: [
|
|
@@ -1317,7 +1317,7 @@ function Vr({
|
|
|
1317
1317
|
availableFieldChoices: ae.fields,
|
|
1318
1318
|
availableMetricChoices: ae.metrics,
|
|
1319
1319
|
previewControlDefinitions: Ce,
|
|
1320
|
-
previewControlValues:
|
|
1320
|
+
previewControlValues: Ue,
|
|
1321
1321
|
onControlChange: (e) => Q(() => e),
|
|
1322
1322
|
onLabelChange: (e) => Q((d) => ({
|
|
1323
1323
|
...d,
|
|
@@ -1342,7 +1342,7 @@ function Vr({
|
|
|
1342
1342
|
availableFieldChoices: ae.fields,
|
|
1343
1343
|
availableMetricChoices: ae.metrics,
|
|
1344
1344
|
previewControlDefinitions: Ce,
|
|
1345
|
-
previewControlValues:
|
|
1345
|
+
previewControlValues: Ue,
|
|
1346
1346
|
onControlChange: (e) => Q(() => e),
|
|
1347
1347
|
onLabelChange: (e) => Q((d) => ({
|
|
1348
1348
|
...d,
|
|
@@ -1364,7 +1364,7 @@ function Vr({
|
|
|
1364
1364
|
{
|
|
1365
1365
|
control: n.control,
|
|
1366
1366
|
scope: t,
|
|
1367
|
-
createdReference:
|
|
1367
|
+
createdReference: ze,
|
|
1368
1368
|
explorerContent: /* @__PURE__ */ p(re, { children: [
|
|
1369
1369
|
"Open the card and use",
|
|
1370
1370
|
" ",
|
|
@@ -1388,7 +1388,7 @@ function Vr({
|
|
|
1388
1388
|
{
|
|
1389
1389
|
control: n.control,
|
|
1390
1390
|
scope: t,
|
|
1391
|
-
createdReference:
|
|
1391
|
+
createdReference: ze,
|
|
1392
1392
|
summaryDetail: /* @__PURE__ */ p(re, { children: [
|
|
1393
1393
|
"Used by ",
|
|
1394
1394
|
(n.selectedCardIds || []).length,
|
|
@@ -1628,7 +1628,7 @@ function Vr({
|
|
|
1628
1628
|
})),
|
|
1629
1629
|
children: [
|
|
1630
1630
|
/* @__PURE__ */ r(De, { size: "xs", children: /* @__PURE__ */ r(Ee, {}) }),
|
|
1631
|
-
/* @__PURE__ */ r(Fe, { children:
|
|
1631
|
+
/* @__PURE__ */ r(Fe, { children: Ft.map((g) => /* @__PURE__ */ r(
|
|
1632
1632
|
Ie,
|
|
1633
1633
|
{
|
|
1634
1634
|
value: g.value,
|
|
@@ -1681,18 +1681,18 @@ function Tr(t) {
|
|
|
1681
1681
|
dismissMode: i = "passive"
|
|
1682
1682
|
} = t, c = a !== void 0, [m, h] = H(!1), [u, v] = H(
|
|
1683
1683
|
s
|
|
1684
|
-
), y = c ? a : m, b =
|
|
1684
|
+
), y = c ? a : m, b = U(
|
|
1685
1685
|
(k) => {
|
|
1686
1686
|
!k && u && i === "passive" || (c || h(k), k || v(!1), o == null || o(k));
|
|
1687
1687
|
},
|
|
1688
1688
|
[c, u, i, o]
|
|
1689
|
-
), x =
|
|
1689
|
+
), x = U(() => {
|
|
1690
1690
|
c || h(!1), v(!1), o == null || o(!1);
|
|
1691
1691
|
}, [c, o]);
|
|
1692
1692
|
ie(() => {
|
|
1693
1693
|
y || v(!1);
|
|
1694
1694
|
}, [y]);
|
|
1695
|
-
const D =
|
|
1695
|
+
const D = U(
|
|
1696
1696
|
(k) => {
|
|
1697
1697
|
u && k.preventDefault();
|
|
1698
1698
|
},
|
|
@@ -1715,7 +1715,7 @@ function _r({
|
|
|
1715
1715
|
className: t,
|
|
1716
1716
|
variant: a = "outline"
|
|
1717
1717
|
}) {
|
|
1718
|
-
const o =
|
|
1718
|
+
const o = z((c) => c.onSave), { getUpdatedFrame: s } = Le();
|
|
1719
1719
|
function i() {
|
|
1720
1720
|
const c = s();
|
|
1721
1721
|
qe(c) && (o == null || o(c));
|
|
@@ -1738,7 +1738,7 @@ function Ar({
|
|
|
1738
1738
|
className: t,
|
|
1739
1739
|
variant: a = "default"
|
|
1740
1740
|
}) {
|
|
1741
|
-
const o = ce(), [s, i] = H(!1), { setIsVisualEditing: c } = _e(), { getUpdatedFrame: m } = Le(), h = Ae(), u =
|
|
1741
|
+
const o = ce(), [s, i] = H(!1), { setIsVisualEditing: c } = _e(), { getUpdatedFrame: m } = Le(), h = Ae(), u = z((b) => b.frame), v = ct();
|
|
1742
1742
|
return /* @__PURE__ */ r(
|
|
1743
1743
|
L,
|
|
1744
1744
|
{
|
|
@@ -1787,7 +1787,7 @@ function Ar({
|
|
|
1787
1787
|
function Lr({
|
|
1788
1788
|
className: t
|
|
1789
1789
|
}) {
|
|
1790
|
-
const a = ce(), [o, s] = H(!1), i = Ae(), c =
|
|
1790
|
+
const a = ce(), [o, s] = H(!1), i = Ae(), c = z((k) => k.frame), m = J((k) => k.selectedSheetId), h = J((k) => k.dashboard), { updateFrame: u, setIsVisualEditing: v } = _e(), { getUpdatedFrame: y } = Le(), b = ct(), x = ar();
|
|
1791
1791
|
return /* @__PURE__ */ r(
|
|
1792
1792
|
L,
|
|
1793
1793
|
{
|
|
@@ -1848,7 +1848,7 @@ function Lr({
|
|
|
1848
1848
|
);
|
|
1849
1849
|
}
|
|
1850
1850
|
function qr({ className: t }) {
|
|
1851
|
-
const { setTempQueryData: a, setSqlGen: o } = de(), s = ce(), i =
|
|
1851
|
+
const { setTempQueryData: a, setSqlGen: o } = de(), s = ce(), i = z((b) => b.tempQueryData), c = z((b) => b.onClose), m = z((b) => b.card), h = ot(), u = oe(() => h !== m.type ? { ...m, type: h } : m, [m, h]), { queryKey: v } = lt(u);
|
|
1852
1852
|
function y() {
|
|
1853
1853
|
if (i) {
|
|
1854
1854
|
const { queryKey: b, queryData: x } = i;
|
|
@@ -1646,13 +1646,13 @@ function en(e) {
|
|
|
1646
1646
|
return t === "number" || t === "currency" || t === "percent" || t === "scientific";
|
|
1647
1647
|
}
|
|
1648
1648
|
export {
|
|
1649
|
-
|
|
1650
|
-
|
|
1649
|
+
Z as a,
|
|
1650
|
+
Bt as b,
|
|
1651
1651
|
D as c,
|
|
1652
|
-
|
|
1652
|
+
bt as d,
|
|
1653
1653
|
Ze as e,
|
|
1654
|
-
|
|
1655
|
-
|
|
1654
|
+
Jt as f,
|
|
1655
|
+
p as g,
|
|
1656
1656
|
Kt as h,
|
|
1657
1657
|
en as i,
|
|
1658
1658
|
Gt as j,
|