react-semaphor 0.1.477 → 0.1.478
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.cjs +1 -1
- package/dist/analytics-protocol/index.js +9 -9
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-OgPk-zGu.cjs → analyze-result-contract-BX_nQmPN.cjs} +1 -1
- package/dist/chunks/{analyze-result-contract-C8s8EUL5.js → analyze-result-contract-DsiAzCYn.js} +1 -1
- package/dist/chunks/{saved-temporal-bucket-format-CHsXUPJI.js → card-config-utils-CyDKaPNT.js} +190 -190
- package/dist/chunks/card-config-utils-D3Xuu0ub.cjs +1 -0
- package/dist/chunks/{common-types-C1IM7gao.cjs → common-types-BCSbPclk.cjs} +1 -1
- package/dist/chunks/{common-types-BLPy5_E0.js → common-types-D3r4PILe.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CXHq6ime.cjs → dashboard-briefing-launcher-7qAW16mO.cjs} +2 -2
- package/dist/chunks/{dashboard-briefing-launcher-C9d8CPxv.js → dashboard-briefing-launcher-DAhtLQPc.js} +134 -134
- package/dist/chunks/{dashboard-controls-BqDm4ARp.js → dashboard-controls-C_CBmEwW.js} +13 -12
- package/dist/chunks/{dashboard-controls-d7Yd2fJb.cjs → dashboard-controls-CoVqAeKG.cjs} +10 -10
- package/dist/chunks/{dashboard-input-contract-JFJZgenC.cjs → dashboard-date-comparison-definition-C93wv8Ua.cjs} +1 -1
- package/dist/chunks/{dashboard-input-contract-BrGdGFz0.js → dashboard-date-comparison-definition-KohOqBqR.js} +19 -19
- package/dist/chunks/dashboard-filter-value-compatibility-BAatYtUS.js +1215 -0
- package/dist/chunks/dashboard-filter-value-compatibility-Bco2gN96.cjs +1 -0
- package/dist/chunks/{dashboard-json-CL_vgcWq.js → dashboard-json-0w58H39L.js} +7 -7
- package/dist/chunks/dashboard-json-B3XSl7b_.cjs +1 -0
- package/dist/chunks/{edit-dashboard-visual-Dklel3MC.cjs → edit-dashboard-visual-BsLRKeuO.cjs} +6 -6
- package/dist/chunks/{edit-dashboard-visual-C0Zvyo-X.js → edit-dashboard-visual-BsWEU8xf.js} +277 -277
- package/dist/chunks/{editor-action-buttons-BOyUtX9j.js → editor-action-buttons-B3CB5c__.js} +39 -39
- package/dist/chunks/{editor-action-buttons-AcaZsiDy.cjs → editor-action-buttons-DMLDvrJD.cjs} +1 -1
- package/dist/chunks/{index-Cd8qGOXl.cjs → index--0Il-Bpd.cjs} +238 -238
- package/dist/chunks/{format-types-CFHQoIuk.js → index-BS0_dp0l.js} +168 -168
- package/dist/chunks/{index-D9S3j7_z.js → index-BvRREsU9.js} +9 -9
- package/dist/chunks/index-ByQgqT9d.cjs +1 -0
- package/dist/chunks/{index-v2MZLyus.cjs → index-CXeIDdjd.cjs} +1 -1
- package/dist/chunks/{index-DrdF7QR7.js → index-DgGcVyUs.js} +30518 -31308
- package/dist/chunks/matrix-result-contract-CFPnlcLm.cjs +1 -0
- package/dist/chunks/{matrix-result-contract-BpzhImar.js → matrix-result-contract-DFfUvb1r.js} +3 -3
- package/dist/chunks/{temporal-bucket-CtP7hKLa.js → metric-comparison-CTexJ8V1.js} +705 -705
- package/dist/chunks/metric-comparison-x0lipytf.cjs +1 -0
- package/dist/chunks/pivot-header-presentation-8Ra1RfHg.cjs +4 -0
- package/dist/chunks/{pivot-header-presentation-CaERAWpl.js → pivot-header-presentation-tpb_J900.js} +118 -118
- package/dist/chunks/{pivot-result-identity-CIZXsI53.js → pivot-result-identity-BIeP9v8I.js} +1 -1
- package/dist/chunks/{pivot-result-identity-DRUlTWUq.cjs → pivot-result-identity-BVnhG2rR.cjs} +1 -1
- package/dist/chunks/pivot-result-lifecycle-D_bRCqaB.cjs +1 -0
- package/dist/chunks/{pivot-result-lifecycle-B9FTybxN.js → pivot-result-lifecycle-mjJ1rBvV.js} +7 -7
- package/dist/chunks/{raw-temporal-contract-U8J9RlEH.js → raw-temporal-contract-BuQIB31z.js} +1 -1
- package/dist/chunks/{raw-temporal-contract-D8YuxTAg.cjs → raw-temporal-contract-vnNwLy9R.cjs} +1 -1
- package/dist/chunks/{report-preferences-dialog-BjygtSP3.js → report-preferences-dialog-Bytgubvz.js} +25 -25
- package/dist/chunks/report-preferences-dialog-I0Pbn_Yb.cjs +1 -0
- package/dist/chunks/{report-runtime-context-DNbgCsko.js → report-runtime-context-B_pAmqxl.js} +1 -1
- package/dist/chunks/{report-runtime-context-RFiWq4wK.cjs → report-runtime-context-BfW4qiMJ.cjs} +1 -1
- package/dist/chunks/{source-entity-resolution-BDC-Qngk.cjs → source-entity-resolution-DCAAS-y8.cjs} +1 -1
- package/dist/chunks/{source-entity-resolution-ugN3sZUk.js → source-entity-resolution-WUstJID6.js} +1 -1
- package/dist/chunks/{switch-C8NihGV4.js → switch-BsGTOjuD.js} +12342 -11110
- package/dist/chunks/switch-Cpj3DrCZ.cjs +138 -0
- package/dist/chunks/{temporal-bucket-authoring-DJ9kK2wD.js → temporal-bucket-authoring-CyTCHy1K.js} +3 -3
- package/dist/chunks/temporal-bucket-authoring-DueSgLJU.cjs +1 -0
- package/dist/chunks/{temporal-bucket-contract-CZl5D7FZ.js → temporal-bucket-contract-BeOx0uYe.js} +1 -1
- package/dist/chunks/{temporal-bucket-contract-BD862TAa.cjs → temporal-bucket-contract-Cp-usD9Z.cjs} +1 -1
- package/dist/chunks/{token-types-CoHsSJ4E.cjs → token-types-D9eN35rf.cjs} +1 -1
- package/dist/chunks/{token-types-DfDtCqlw.js → token-types-Dvomvqw0.js} +1 -1
- package/dist/chunks/{update-policy-BGNXFgBU.cjs → update-policy-Buw2LmvX.cjs} +1 -1
- package/dist/chunks/{update-policy-BybMiM61.js → update-policy-MWg0aH3d.js} +1 -1
- package/dist/chunks/{validators-D-T-2HOR.js → validators-D3AarM2T.js} +662 -663
- package/dist/chunks/validators-DqIM0B3C.cjs +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +81 -79
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +1 -1
- 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 +3 -3
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +3 -3
- package/dist/format-utils/index.cjs +3 -3
- package/dist/format-utils/index.js +9 -9
- package/dist/index.cjs +1 -1
- package/dist/index.js +177 -176
- package/dist/report-runtime-context/index.cjs +1 -1
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/briefings.d.ts +11 -0
- package/dist/types/dashboard-authoring.d.ts +17 -0
- package/dist/types/dashboard.d.ts +11 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/main.d.ts +12 -0
- package/dist/types/shared.d.ts +11 -0
- package/dist/types/surfboard.d.ts +11 -0
- package/dist/types/types.d.ts +11 -0
- package/package.json +1 -1
- package/dist/chunks/dashboard-filter-value-compatibility-BCVF9IHg.js +0 -1026
- package/dist/chunks/dashboard-filter-value-compatibility-DLkdeypb.cjs +0 -1
- package/dist/chunks/dashboard-json-BYQjTmqD.cjs +0 -1
- package/dist/chunks/format-types-PSZZ7hG8.cjs +0 -1
- package/dist/chunks/matrix-result-contract-Bhg60NtS.cjs +0 -1
- package/dist/chunks/pivot-header-presentation-CePk1R6g.cjs +0 -4
- package/dist/chunks/pivot-result-lifecycle-CcGt_29N.cjs +0 -1
- package/dist/chunks/report-preferences-dialog-DW40ECz1.cjs +0 -1
- package/dist/chunks/saved-temporal-bucket-format-DNMtD77o.cjs +0 -1
- package/dist/chunks/switch-B1mZx2k9.cjs +0 -138
- package/dist/chunks/temporal-bucket-9Wz9Ds6H.cjs +0 -1
- package/dist/chunks/temporal-bucket-authoring-DSpzgXHc.cjs +0 -1
- package/dist/chunks/validators-DcshgK7w.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
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
|
|
3
|
-
import { E as de, z as _e, u as J, D as
|
|
4
|
-
import {
|
|
2
|
+
import { useState as H, useEffect as ie, useCallback as z, useMemo as oe, useRef as ke, Fragment as ht } from "react";
|
|
3
|
+
import { E as de, z as _e, u as J, D as U, 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 Tt, au as Ve, d as _t, L as nt, av as At, aw as Lt } from "./switch-BsGTOjuD.js";
|
|
4
|
+
import { b6 as qt, ay as Mt, b7 as ce, b8 as Ot, b9 as Ae, ba as Ut, bb as zt, bc as Bt, aF as B, bd as jt, be as Rt, bf as Qt, bg as ot, bh as lt, u as $t, bi as Pt, bj as Wt, bk as Ht, bl as Kt, bm as it, bn as dt, bo as Yt, bp as Gt, bq as Xt, br as Jt, bs as Zt, aY as er, bt as tr, bu as ct, bv as rr } from "./index-DgGcVyUs.js";
|
|
5
5
|
import { jsx as r, jsxs as p, Fragment as re } from "react/jsx-runtime";
|
|
6
|
-
import "./
|
|
7
|
-
import "./validators-
|
|
8
|
-
import "./analyze-result-contract-
|
|
6
|
+
import "./card-config-utils-CyDKaPNT.js";
|
|
7
|
+
import "./validators-D3AarM2T.js";
|
|
8
|
+
import "./analyze-result-contract-DsiAzCYn.js";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
import { C as Ke } from "./search-BHsQIWBV.js";
|
|
11
|
-
import { f as ar } from "./index-
|
|
11
|
+
import { f as ar } from "./index-BvRREsU9.js";
|
|
12
12
|
import { S as ut } from "./save-DgMfP0j8.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.453.0 - ISC
|
|
@@ -170,13 +170,13 @@ function dr(t, a) {
|
|
|
170
170
|
}), !0) : !1;
|
|
171
171
|
}
|
|
172
172
|
function cr() {
|
|
173
|
-
const t =
|
|
173
|
+
const t = U(
|
|
174
174
|
(s) => {
|
|
175
175
|
var i;
|
|
176
176
|
return ((i = s.card.customCardPreferences) == null ? void 0 : i.url) || "";
|
|
177
177
|
}
|
|
178
178
|
), a = or(t);
|
|
179
|
-
return { getUpdatedFrame:
|
|
179
|
+
return { getUpdatedFrame: z(() => {
|
|
180
180
|
var V;
|
|
181
181
|
Rt();
|
|
182
182
|
const {
|
|
@@ -189,7 +189,7 @@ function cr() {
|
|
|
189
189
|
selectedDatabaseName: v,
|
|
190
190
|
selectedTableName: y,
|
|
191
191
|
selectedConnectionId: b
|
|
192
|
-
} =
|
|
192
|
+
} = U.getState(), x = i.sql, D = (V = a == null ? void 0 : a.getState()) == null ? void 0 : V.settings, k = bt(i, {
|
|
193
193
|
isDevMode: c,
|
|
194
194
|
cardSql: x,
|
|
195
195
|
isShowingVisual: m,
|
|
@@ -211,7 +211,7 @@ function cr() {
|
|
|
211
211
|
}, [a]) };
|
|
212
212
|
}
|
|
213
213
|
function Le() {
|
|
214
|
-
const { authToken: t, tokenProps: a } = Mt(), o = ce(), s = Ot(), i = Ae(), { selectVisual: c } =
|
|
214
|
+
const { authToken: t, tokenProps: a } = Mt(), o = ce(), s = Ot(), i = Ae(), { selectVisual: c } = Ut(), {
|
|
215
215
|
setFrame: m,
|
|
216
216
|
setCard: h,
|
|
217
217
|
setIsDevMode: u,
|
|
@@ -235,9 +235,9 @@ function Le() {
|
|
|
235
235
|
clearSelectedFrameId: P
|
|
236
236
|
} = _e(), M = J((_) => _.selectedSheetId), Y = J((_) => _.selectedFrameId), G = J((_) => _.dashboard), ee = J((_) => _.filterValues), q = J(
|
|
237
237
|
(_) => _.inlineFilterValuesMap
|
|
238
|
-
), X =
|
|
238
|
+
), X = zt((i == null ? void 0 : i.id) || "", {
|
|
239
239
|
enabled: !!(i != null && i.id) && !!(t != null && t.accessToken)
|
|
240
|
-
}), ae =
|
|
240
|
+
}), ae = z(
|
|
241
241
|
async (_) => {
|
|
242
242
|
try {
|
|
243
243
|
c(_), P(), Z();
|
|
@@ -308,7 +308,7 @@ function Le() {
|
|
|
308
308
|
ee,
|
|
309
309
|
q
|
|
310
310
|
]
|
|
311
|
-
), be =
|
|
311
|
+
), be = z(
|
|
312
312
|
async (_) => {
|
|
313
313
|
var W;
|
|
314
314
|
const F = (A) => (B.error(A), { success: !1, error: A });
|
|
@@ -366,7 +366,7 @@ function Le() {
|
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
368
|
function Vr() {
|
|
369
|
-
const t =
|
|
369
|
+
const t = U((m) => m.card.dataSource), {
|
|
370
370
|
setSelectedConnectionId: a,
|
|
371
371
|
setSelectedDatabaseName: o,
|
|
372
372
|
setSelectedSchemaName: s,
|
|
@@ -404,7 +404,7 @@ function ur(t, a) {
|
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
function pr() {
|
|
407
|
-
const { setTempQueryData: t } = de(), a = ce(), o =
|
|
407
|
+
const { setTempQueryData: t } = de(), a = ce(), o = U((R) => R.tempQueryData), s = U((R) => R.card), i = ot(), c = oe(() => i !== s.type ? { ...s, type: i } : s, [s, i]), { queryKey: m } = lt(c), {
|
|
408
408
|
setCardSql: h,
|
|
409
409
|
setSqlGen: u,
|
|
410
410
|
setCardPython: v,
|
|
@@ -424,7 +424,7 @@ function pr() {
|
|
|
424
424
|
queryKey: m,
|
|
425
425
|
queryData: R
|
|
426
426
|
}), a.setQueryData(m, null), a.removeQueries({ queryKey: m, exact: !0 }), h(""), u({}), x(), D(void 0), v(""), y(""), b({});
|
|
427
|
-
const $ =
|
|
427
|
+
const $ = U.getState().frame, Z = U.getState().card, E = ar($, 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);
|
|
428
428
|
N({
|
|
429
429
|
...$,
|
|
430
430
|
cards: $.cards.map(
|
|
@@ -441,7 +441,7 @@ function Tr({
|
|
|
441
441
|
showLabel: s = !1,
|
|
442
442
|
showLocal: i = !1
|
|
443
443
|
}) {
|
|
444
|
-
const c = J((N) => N.selectedFrameId), m = $t((N) => N.selectedVisual), h =
|
|
444
|
+
const c = J((N) => N.selectedFrameId), m = $t((N) => N.selectedVisual), h = U((N) => N.frame);
|
|
445
445
|
let u;
|
|
446
446
|
if (t)
|
|
447
447
|
u = t;
|
|
@@ -815,7 +815,7 @@ function _r({
|
|
|
815
815
|
return e;
|
|
816
816
|
const d = new Set(D);
|
|
817
817
|
return e.filter((l) => d.has(l.value));
|
|
818
|
-
}, [D, x, t]), ee =
|
|
818
|
+
}, [D, x, t]), ee = z(
|
|
819
819
|
(e) => {
|
|
820
820
|
const d = Re({
|
|
821
821
|
scope: t,
|
|
@@ -828,7 +828,7 @@ function _r({
|
|
|
828
828
|
return d.filter((f) => l.has(f.value));
|
|
829
829
|
},
|
|
830
830
|
[D, x, t]
|
|
831
|
-
), q =
|
|
831
|
+
), q = z(
|
|
832
832
|
(e) => t === "dashboard" && (e === "field_selector" || e === "metric_selector"),
|
|
833
833
|
[t]
|
|
834
834
|
), X = oe(
|
|
@@ -933,7 +933,7 @@ function _r({
|
|
|
933
933
|
nextControl: f,
|
|
934
934
|
cardBindingsById: C
|
|
935
935
|
};
|
|
936
|
-
}, F =
|
|
936
|
+
}, F = z(
|
|
937
937
|
(e, d = s, l = { type: "update" }) => {
|
|
938
938
|
const f = e.map((C) => (Ne({
|
|
939
939
|
control: C,
|
|
@@ -1024,7 +1024,7 @@ function _r({
|
|
|
1024
1024
|
}
|
|
1025
1025
|
const l = { ...s };
|
|
1026
1026
|
delete l[e], F(d, l, { type: "remove", controlId: e });
|
|
1027
|
-
}, ue =
|
|
1027
|
+
}, ue = z(() => {
|
|
1028
1028
|
M.current = void 0, w({
|
|
1029
1029
|
step: 1,
|
|
1030
1030
|
control: pe(t, a, Array.from(V))
|
|
@@ -1100,9 +1100,9 @@ function _r({
|
|
|
1100
1100
|
selectedCardIds: n.selectedCardIds,
|
|
1101
1101
|
cardBindingsById: f
|
|
1102
1102
|
});
|
|
1103
|
-
}, ve =
|
|
1103
|
+
}, ve = z(() => {
|
|
1104
1104
|
w(null);
|
|
1105
|
-
}, []), Oe =
|
|
1105
|
+
}, []), Oe = z(() => {
|
|
1106
1106
|
if (!(n != null && n.createdControlId)) {
|
|
1107
1107
|
w(null);
|
|
1108
1108
|
return;
|
|
@@ -1143,10 +1143,10 @@ function _r({
|
|
|
1143
1143
|
}
|
|
1144
1144
|
);
|
|
1145
1145
|
E(d), w(null), N == null || N();
|
|
1146
|
-
}, [a, n, s, F, N]), ft = n ? q(n.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [],
|
|
1146
|
+
}, [a, n, s, F, N]), ft = n ? q(n.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [], Ue = n != null && n.createdControlId ? `[[param.${n.createdControlId}]]` : n ? `[[param.${Dt(n.control.label) || n.control.id}]]` : "", xe = Pe({
|
|
1147
1147
|
controls: a,
|
|
1148
1148
|
defaultValues: s
|
|
1149
|
-
}), Ce = n ? [...a, n.control] : a,
|
|
1149
|
+
}), Ce = n ? [...a, n.control] : a, ze = n ? Pe({
|
|
1150
1150
|
controls: Ce,
|
|
1151
1151
|
defaultValues: s,
|
|
1152
1152
|
overrides: [
|
|
@@ -1319,7 +1319,7 @@ function _r({
|
|
|
1319
1319
|
availableFieldChoices: ae.fields,
|
|
1320
1320
|
availableMetricChoices: ae.metrics,
|
|
1321
1321
|
previewControlDefinitions: Ce,
|
|
1322
|
-
previewControlValues:
|
|
1322
|
+
previewControlValues: ze,
|
|
1323
1323
|
onControlChange: (e) => Q(() => e),
|
|
1324
1324
|
onLabelChange: (e) => Q((d) => ({
|
|
1325
1325
|
...d,
|
|
@@ -1344,7 +1344,7 @@ function _r({
|
|
|
1344
1344
|
availableFieldChoices: ae.fields,
|
|
1345
1345
|
availableMetricChoices: ae.metrics,
|
|
1346
1346
|
previewControlDefinitions: Ce,
|
|
1347
|
-
previewControlValues:
|
|
1347
|
+
previewControlValues: ze,
|
|
1348
1348
|
onControlChange: (e) => Q(() => e),
|
|
1349
1349
|
onLabelChange: (e) => Q((d) => ({
|
|
1350
1350
|
...d,
|
|
@@ -1366,7 +1366,7 @@ function _r({
|
|
|
1366
1366
|
{
|
|
1367
1367
|
control: n.control,
|
|
1368
1368
|
scope: t,
|
|
1369
|
-
createdReference:
|
|
1369
|
+
createdReference: Ue,
|
|
1370
1370
|
explorerContent: /* @__PURE__ */ p(re, { children: [
|
|
1371
1371
|
"Open the card and use",
|
|
1372
1372
|
" ",
|
|
@@ -1390,7 +1390,7 @@ function _r({
|
|
|
1390
1390
|
{
|
|
1391
1391
|
control: n.control,
|
|
1392
1392
|
scope: t,
|
|
1393
|
-
createdReference:
|
|
1393
|
+
createdReference: Ue,
|
|
1394
1394
|
summaryDetail: /* @__PURE__ */ p(re, { children: [
|
|
1395
1395
|
"Used by ",
|
|
1396
1396
|
(n.selectedCardIds || []).length,
|
|
@@ -1683,18 +1683,18 @@ function Ar(t) {
|
|
|
1683
1683
|
dismissMode: i = "passive"
|
|
1684
1684
|
} = t, c = a !== void 0, [m, h] = H(!1), [u, v] = H(
|
|
1685
1685
|
s
|
|
1686
|
-
), y = c ? a : m, b =
|
|
1686
|
+
), y = c ? a : m, b = z(
|
|
1687
1687
|
(k) => {
|
|
1688
1688
|
!k && u && i === "passive" || (c || h(k), k || v(!1), o == null || o(k));
|
|
1689
1689
|
},
|
|
1690
1690
|
[c, u, i, o]
|
|
1691
|
-
), x =
|
|
1691
|
+
), x = z(() => {
|
|
1692
1692
|
c || h(!1), v(!1), o == null || o(!1);
|
|
1693
1693
|
}, [c, o]);
|
|
1694
1694
|
ie(() => {
|
|
1695
1695
|
y || v(!1);
|
|
1696
1696
|
}, [y]);
|
|
1697
|
-
const D =
|
|
1697
|
+
const D = z(
|
|
1698
1698
|
(k) => {
|
|
1699
1699
|
u && k.preventDefault();
|
|
1700
1700
|
},
|
|
@@ -1717,7 +1717,7 @@ function Lr({
|
|
|
1717
1717
|
className: t,
|
|
1718
1718
|
variant: a = "outline"
|
|
1719
1719
|
}) {
|
|
1720
|
-
const o =
|
|
1720
|
+
const o = U((c) => c.onSave), { getUpdatedFrame: s } = Le();
|
|
1721
1721
|
function i() {
|
|
1722
1722
|
const c = s();
|
|
1723
1723
|
qe(c) && (o == null || o(c));
|
|
@@ -1740,7 +1740,7 @@ function qr({
|
|
|
1740
1740
|
className: t,
|
|
1741
1741
|
variant: a = "default"
|
|
1742
1742
|
}) {
|
|
1743
|
-
const o = ce(), [s, i] = H(!1), { setIsVisualEditing: c } = _e(), { getUpdatedFrame: m } = Le(), h = Ae(), u =
|
|
1743
|
+
const o = ce(), [s, i] = H(!1), { setIsVisualEditing: c } = _e(), { getUpdatedFrame: m } = Le(), h = Ae(), u = U((b) => b.frame), v = ct();
|
|
1744
1744
|
return /* @__PURE__ */ r(
|
|
1745
1745
|
L,
|
|
1746
1746
|
{
|
|
@@ -1789,7 +1789,7 @@ function qr({
|
|
|
1789
1789
|
function Mr({
|
|
1790
1790
|
className: t
|
|
1791
1791
|
}) {
|
|
1792
|
-
const a = ce(), [o, s] = H(!1), i = Ae(), c =
|
|
1792
|
+
const a = ce(), [o, s] = H(!1), i = Ae(), c = U((k) => k.frame), m = J((k) => k.selectedSheetId), h = J((k) => k.dashboard), { updateFrame: u, setIsVisualEditing: v } = _e(), { getUpdatedFrame: y } = Le(), b = ct(), x = rr();
|
|
1793
1793
|
return /* @__PURE__ */ r(
|
|
1794
1794
|
L,
|
|
1795
1795
|
{
|
|
@@ -1850,7 +1850,7 @@ function Mr({
|
|
|
1850
1850
|
);
|
|
1851
1851
|
}
|
|
1852
1852
|
function Or({ className: t }) {
|
|
1853
|
-
const { setTempQueryData: a, setSqlGen: o } = de(), s = ce(), i =
|
|
1853
|
+
const { setTempQueryData: a, setSqlGen: o } = de(), s = ce(), i = U((b) => b.tempQueryData), c = U((b) => b.onClose), m = U((b) => b.card), h = ot(), u = oe(() => h !== m.type ? { ...m, type: h } : m, [m, h]), { queryKey: v } = lt(u);
|
|
1854
1854
|
function y() {
|
|
1855
1855
|
if (i) {
|
|
1856
1856
|
const { queryKey: b, queryData: x } = i;
|
|
@@ -1872,7 +1872,7 @@ function Or({ className: t }) {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
);
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1875
|
+
function Ur({
|
|
1876
1876
|
label: t = "Clear",
|
|
1877
1877
|
variant: a = "secondary",
|
|
1878
1878
|
className: o
|
|
@@ -1905,6 +1905,6 @@ export {
|
|
|
1905
1905
|
Ar as e,
|
|
1906
1906
|
Vr as f,
|
|
1907
1907
|
pr as g,
|
|
1908
|
-
|
|
1908
|
+
Ur as h,
|
|
1909
1909
|
Le as u
|
|
1910
1910
|
};
|
package/dist/chunks/{editor-action-buttons-AcaZsiDy.cjs → editor-action-buttons-DMLDvrJD.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const J=require("./x-B6ghREd2.cjs"),v=require("react"),s=require("./switch-
|
|
1
|
+
"use strict";const J=require("./x-B6ghREd2.cjs"),v=require("react"),s=require("./switch-Cpj3DrCZ.cjs"),f=require("./index--0Il-Bpd.cjs"),e=require("react/jsx-runtime");require("./card-config-utils-D3Xuu0ub.cjs");require("./validators-DqIM0B3C.cjs");require("./analyze-result-contract-BX_nQmPN.cjs");require("../value-format-preferences/index.cjs");const ge=require("./search-BqqhaMx9.cjs"),Fe=require("./index-CXeIDdjd.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.
|