react-semaphor 0.1.381 → 0.1.382
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/DATA_APP_SDK.md +238 -0
- package/README.md +7 -0
- package/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +45 -41
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +6 -6
- package/dist/chunks/analyze-result-contract-CtXfp3nv.js +1 -0
- package/dist/chunks/analyze-result-contract-DuhlklhI.js +102 -0
- package/dist/chunks/{braces-BT-ZyB-g.js → braces-CGi-YFZp.js} +1 -1
- package/dist/chunks/{braces-DOxxfERN.js → braces-CP8BEzl3.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-Dsgs8WDv.js → calendar-preferences-dialog-CV4xF2Tp.js} +3 -3
- package/dist/chunks/{calendar-preferences-dialog-iZs8XqyH.js → calendar-preferences-dialog-rDDobeLo.js} +1 -1
- package/dist/chunks/catalog-field-grounding-Bnx-3tE0.js +1 -0
- package/dist/chunks/catalog-field-grounding-CJKAqtiC.js +100 -0
- package/dist/chunks/{dashboard-briefing-launcher-Coks66cV.js → dashboard-briefing-launcher-BT00MvGB.js} +5 -5
- package/dist/chunks/{dashboard-briefing-launcher-B5vPTl8P.js → dashboard-briefing-launcher-Dcbh-mjY.js} +1 -1
- package/dist/chunks/{dashboard-controls-BfkcnIdy.js → dashboard-controls-B6y7jkKO.js} +8 -8
- package/dist/chunks/{dashboard-controls-Dyqye6fh.js → dashboard-controls-CRqnPibB.js} +1 -1
- package/dist/chunks/{dashboard-json-DjXi4cI6.js → dashboard-json-CfIUG8k1.js} +3 -3
- package/dist/chunks/{dashboard-json-CV_LnO9x.js → dashboard-json-DEQqRR1x.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-DOW1Ap1N.js → edit-dashboard-visual-DMbf89xa.js} +5 -5
- package/dist/chunks/{edit-dashboard-visual-yinO0yU-.js → edit-dashboard-visual-wDOcHak3.js} +1 -1
- package/dist/chunks/{index-DlprYjr6.js → index-BAsWLkZ8.js} +169 -168
- package/dist/chunks/{index-CkoRCh3g.js → index-CrKxP9uF.js} +5 -5
- package/dist/chunks/{layout-grid-DTbOIOsE.js → layout-grid-BsKH3TgY.js} +1 -1
- package/dist/chunks/{layout-grid-DccceHv4.js → layout-grid-jJQUqDN9.js} +1 -1
- package/dist/chunks/operators-C8TxpM4C.js +48 -0
- package/dist/chunks/operators-DrTQsJXv.js +1 -0
- package/dist/chunks/{palette-SimHJELn.js → palette-9zLPGlj2.js} +1 -1
- package/dist/chunks/{palette-DCzLwqIw.js → palette-xU9Qt6bE.js} +1 -1
- package/dist/chunks/{save-D2O96E5A.js → save-8A_q6K4E.js} +1 -1
- package/dist/chunks/{save-zNVYH02T.js → save-DzciESDh.js} +1 -1
- package/dist/chunks/{source-identity-Dj3dryN9.js → source-identity-CN4xiyKJ.js} +5 -5
- package/dist/chunks/{switch-DMPsMpHW.js → switch-DArtNJZh.js} +292 -291
- package/dist/chunks/{switch-Jhyl63RF.js → switch-k7kj6NRg.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-r5JKyXU8.js → use-create-flow-overlay-state-BdG1DiSx.js} +4 -4
- package/dist/chunks/{use-create-flow-overlay-state-NsqFPwdB.js → use-create-flow-overlay-state-ipeaE65_.js} +1 -1
- package/dist/chunks/{validators-CtNmgsvG.js → validators-CHPH6ORs.js} +641 -498
- package/dist/chunks/validators-lWo8m0Q7.js +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +105 -92
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +444 -380
- package/dist/data-app-sdk-adapters/index.cjs +1 -0
- package/dist/data-app-sdk-adapters/index.js +383 -0
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +1073 -6
- package/dist/index.cjs +1 -1
- package/dist/index.js +7 -7
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/analytics-protocol.d.ts +58 -31
- package/dist/types/dashboard-assistant.d.ts +40 -15
- package/dist/types/dashboard-authoring.d.ts +36 -16
- package/dist/types/dashboard.d.ts +8 -8
- package/dist/types/data-app-builder.d.ts +35 -11
- package/dist/types/data-app-sdk-adapters.d.ts +733 -0
- package/dist/types/data-app-sdk-validation.d.ts +85 -25
- package/dist/types/data-app-sdk.d.ts +99 -155
- package/dist/types/main.d.ts +35 -11
- package/dist/types/shared.d.ts +8 -8
- package/dist/types/surfboard.d.ts +8 -8
- package/dist/types/types.d.ts +8 -8
- package/package.json +9 -2
- package/src/data-app-sdk/README.md +240 -0
- package/dist/chunks/catalog-field-grounding-8L9I0zdg.js +0 -1
- package/dist/chunks/catalog-field-grounding-BK4BX8sZ.js +0 -200
- package/dist/chunks/validation-BM3-ShHV.js +0 -1003
- package/dist/chunks/validation-BVpqRFar.js +0 -1
- package/dist/chunks/validators-jpoYhpHh.js +0 -1
|
@@ -2,11 +2,12 @@ import { jsx as x, jsxs as be, Fragment as Dr } from "react/jsx-runtime";
|
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import Ce, { createContext as ef, useContext as tf, forwardRef as Bs, createElement as Oo, useLayoutEffect as rf, useState as nf, useMemo as of, useId as af } from "react";
|
|
4
4
|
import { j as ui } from "./index-CuHybtft.js";
|
|
5
|
-
import
|
|
5
|
+
import "./analyze-result-contract-DuhlklhI.js";
|
|
6
6
|
import * as Tn from "react-dom";
|
|
7
7
|
import sf from "react-dom";
|
|
8
8
|
import { S as lf, b as ua, c as $s, d as cf, e as df, r as uf } from "./index-CJdxSyQq.js";
|
|
9
9
|
import "react-dom/client";
|
|
10
|
+
import { b as fi } from "./catalog-field-grounding-CJKAqtiC.js";
|
|
10
11
|
import { createFrameLayouts as ff } from "../layouts/index.js";
|
|
11
12
|
import { t as Us, c as Mo, f as js, h as Cr, i as pf } from "./index-DFOb_6HB.js";
|
|
12
13
|
import { a as fa, C as zs } from "./common-types-4bjoIgvm.js";
|
|
@@ -533,7 +534,7 @@ function Ys(e) {
|
|
|
533
534
|
n
|
|
534
535
|
), r && (r.finalized_ = !1), t;
|
|
535
536
|
}
|
|
536
|
-
function
|
|
537
|
+
function ew() {
|
|
537
538
|
class e extends Map {
|
|
538
539
|
constructor(l, c) {
|
|
539
540
|
super(), this[Q] = {
|
|
@@ -716,7 +717,7 @@ var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
716
717
|
function gi(e) {
|
|
717
718
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
718
719
|
}
|
|
719
|
-
function
|
|
720
|
+
function tw(e) {
|
|
720
721
|
if (e.__esModule) return e;
|
|
721
722
|
var r = e.default;
|
|
722
723
|
if (typeof r == "function") {
|
|
@@ -785,7 +786,7 @@ const at = {
|
|
|
785
786
|
subscribe: _f,
|
|
786
787
|
emit: yi,
|
|
787
788
|
clear: Of
|
|
788
|
-
},
|
|
789
|
+
}, rw = () => yi("dashboard:load"), nw = () => yi("dashboard:unload"), wa = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, Tr = /* @__PURE__ */ new Map(), Ur = (e) => {
|
|
789
790
|
const r = Tr.get(e);
|
|
790
791
|
return r ? Object.fromEntries(
|
|
791
792
|
Object.entries(r.stores).map(([t, n]) => [t, n.getState()])
|
|
@@ -1093,7 +1094,7 @@ const $o = (e) => (r) => {
|
|
|
1093
1094
|
l.delete(m);
|
|
1094
1095
|
})
|
|
1095
1096
|
}, i.skipHydration || v(), h || p;
|
|
1096
|
-
},
|
|
1097
|
+
}, ow = Bf, xa = (e) => Symbol.iterator in e, Ia = (e) => (
|
|
1097
1098
|
// HACK: avoid checking entries type
|
|
1098
1099
|
"entries" in e
|
|
1099
1100
|
), Ea = (e, r) => {
|
|
@@ -1351,7 +1352,7 @@ const Zs = [
|
|
|
1351
1352
|
"minute",
|
|
1352
1353
|
"second"
|
|
1353
1354
|
];
|
|
1354
|
-
function
|
|
1355
|
+
function iw(e) {
|
|
1355
1356
|
const t = (tp(e) ? Xf : Zs).map(
|
|
1356
1357
|
(n) => ({
|
|
1357
1358
|
field: {
|
|
@@ -1380,7 +1381,7 @@ function ow(e) {
|
|
|
1380
1381
|
// Store reference to original field for matching
|
|
1381
1382
|
};
|
|
1382
1383
|
}
|
|
1383
|
-
function
|
|
1384
|
+
function aw(e, r = []) {
|
|
1384
1385
|
return Qf(e) ? !Zf(
|
|
1385
1386
|
e.id,
|
|
1386
1387
|
r
|
|
@@ -1473,7 +1474,7 @@ function rp(e, r) {
|
|
|
1473
1474
|
}
|
|
1474
1475
|
return console.warn(`Cannot resolve parameter: ${e.id}`), "";
|
|
1475
1476
|
}
|
|
1476
|
-
function
|
|
1477
|
+
function sw(e) {
|
|
1477
1478
|
const r = [];
|
|
1478
1479
|
if (!e || e.trim() === "")
|
|
1479
1480
|
return r.push("URL template cannot be empty"), { valid: !1, errors: r };
|
|
@@ -1517,7 +1518,7 @@ function vi(e) {
|
|
|
1517
1518
|
return !1;
|
|
1518
1519
|
}
|
|
1519
1520
|
}
|
|
1520
|
-
function
|
|
1521
|
+
function lw(e) {
|
|
1521
1522
|
return e.filter(
|
|
1522
1523
|
(r) => vi(r)
|
|
1523
1524
|
);
|
|
@@ -1688,7 +1689,7 @@ function op(e, r, t, n, o, i, a) {
|
|
|
1688
1689
|
appliedClickFilters: [p]
|
|
1689
1690
|
}), !0;
|
|
1690
1691
|
}
|
|
1691
|
-
function
|
|
1692
|
+
function cw(e, r, t, n) {
|
|
1692
1693
|
const o = Ee(), i = Xs();
|
|
1693
1694
|
return {
|
|
1694
1695
|
handlePointerInteraction: ({
|
|
@@ -1904,7 +1905,7 @@ const ip = [
|
|
|
1904
1905
|
"matrixTable",
|
|
1905
1906
|
"detailTable"
|
|
1906
1907
|
], ap = new Set(ip);
|
|
1907
|
-
function
|
|
1908
|
+
function dw(e) {
|
|
1908
1909
|
return typeof e == "string" && ap.has(e);
|
|
1909
1910
|
}
|
|
1910
1911
|
const sp = [
|
|
@@ -1915,7 +1916,7 @@ const sp = [
|
|
|
1915
1916
|
], lp = new Set(
|
|
1916
1917
|
sp
|
|
1917
1918
|
);
|
|
1918
|
-
function
|
|
1919
|
+
function uw(e) {
|
|
1919
1920
|
return typeof e == "string" && lp.has(e);
|
|
1920
1921
|
}
|
|
1921
1922
|
const cp = [
|
|
@@ -2198,7 +2199,7 @@ function rl(e, r) {
|
|
|
2198
2199
|
return n.sourceCardId === e && !n.filterSourceCard ? !1 : (o = n.applyToCardIds) != null && o.length ? n.applyToCardIds.includes(e) : (i = n.excludeCardIds) != null && i.length ? !n.excludeCardIds.includes(e) : !0;
|
|
2199
2200
|
});
|
|
2200
2201
|
}
|
|
2201
|
-
const
|
|
2202
|
+
const fw = (e) => Ee(
|
|
2202
2203
|
bi(
|
|
2203
2204
|
(r) => rl(e, r.interactionStates)
|
|
2204
2205
|
)
|
|
@@ -2252,7 +2253,7 @@ function fp(e, r, t) {
|
|
|
2252
2253
|
};
|
|
2253
2254
|
return dp(l, e.type);
|
|
2254
2255
|
}
|
|
2255
|
-
function
|
|
2256
|
+
function pw(e) {
|
|
2256
2257
|
const r = Ee((o) => o.interactionStates), t = Ke((o) => {
|
|
2257
2258
|
var i;
|
|
2258
2259
|
return (i = o.dashboard) == null ? void 0 : i.id;
|
|
@@ -2271,7 +2272,7 @@ function pp(e, r, t) {
|
|
|
2271
2272
|
const n = t ?? Dn(e, r);
|
|
2272
2273
|
return Yf(n);
|
|
2273
2274
|
}
|
|
2274
|
-
function
|
|
2275
|
+
function mw(e) {
|
|
2275
2276
|
const r = Ee((i) => i.interactionStates), t = Ke((i) => {
|
|
2276
2277
|
var a;
|
|
2277
2278
|
return (a = i.dashboard) == null ? void 0 : a.id;
|
|
@@ -2711,11 +2712,11 @@ function bp(e) {
|
|
|
2711
2712
|
const r = e.dataset.semaphorTheme;
|
|
2712
2713
|
return r === "dark" || r === "light" ? r : e.classList.contains("dark") ? "dark" : "light";
|
|
2713
2714
|
}
|
|
2714
|
-
const
|
|
2715
|
+
const hw = !1, vp = [
|
|
2715
2716
|
"table",
|
|
2716
2717
|
"view",
|
|
2717
2718
|
"materialized view"
|
|
2718
|
-
],
|
|
2719
|
+
], gw = ["_forecast"], hn = "dm", yw = "semaphor_calculated_fields", bw = "calculated_fields", vw = [
|
|
2719
2720
|
{ locale: "en-US", currency: "USD", currencyName: "US Dollar" },
|
|
2720
2721
|
// United States
|
|
2721
2722
|
{ locale: "en-GB", currency: "GBP", currencyName: "British Pound" },
|
|
@@ -3100,7 +3101,7 @@ function ll(e) {
|
|
|
3100
3101
|
function cl(e) {
|
|
3101
3102
|
return Be(e) === "boolean";
|
|
3102
3103
|
}
|
|
3103
|
-
function
|
|
3104
|
+
function Cw(e, r, t, n, o, i, a) {
|
|
3104
3105
|
const { measures: s, dimensions: l } = e, c = s == null ? void 0 : s.map(
|
|
3105
3106
|
(v) => `${v.calc}(${v.name}) as ${v.calc}_${v.name.replace(/"/g, "")}`
|
|
3106
3107
|
).join(", "), d = (l == null ? void 0 : l.join(", ")) || "";
|
|
@@ -3118,7 +3119,7 @@ function vw(e, r, t, n, o, i, a) {
|
|
|
3118
3119
|
if (c && !d)
|
|
3119
3120
|
return u = `SELECT ${c} FROM ${h} LIMIT 100`, u;
|
|
3120
3121
|
}
|
|
3121
|
-
function
|
|
3122
|
+
function Sw(e, r, t = "AVG") {
|
|
3122
3123
|
var i, a, s, l;
|
|
3123
3124
|
let n = {};
|
|
3124
3125
|
const o = sl(e.column_name);
|
|
@@ -3148,15 +3149,15 @@ function Cw(e, r, t = "AVG") {
|
|
|
3148
3149
|
]
|
|
3149
3150
|
}), n;
|
|
3150
3151
|
}
|
|
3151
|
-
function
|
|
3152
|
+
function ww(e) {
|
|
3152
3153
|
return wi(e.dataType) ? "string" : xi(e.dataType) ? "number" : ll(e.dataType) ? "date" : cl(e.dataType) ? "boolean" : "string";
|
|
3153
3154
|
}
|
|
3154
|
-
function
|
|
3155
|
+
function xw(e) {
|
|
3155
3156
|
let r;
|
|
3156
3157
|
const t = e.data_type.toLowerCase();
|
|
3157
3158
|
return wi(t) ? r = "T" : xi(t) ? r = "#" : ll(t) ? r = "D" : cl(t) ? r = "B" : r = "?", r;
|
|
3158
3159
|
}
|
|
3159
|
-
function
|
|
3160
|
+
function Iw(e, r) {
|
|
3160
3161
|
const { dimensions: t, measures: n } = r, o = t == null ? void 0 : t.includes(e.column_name), i = n == null ? void 0 : n.some((a) => a.name === e.column_name);
|
|
3161
3162
|
return o || i;
|
|
3162
3163
|
}
|
|
@@ -3171,7 +3172,7 @@ function Ip({
|
|
|
3171
3172
|
}) {
|
|
3172
3173
|
return n === "S3" || n === "API" ? r : n === "S3Tables" ? `${t}.${e}.${r}` : e ? `${e}.${r}` : r;
|
|
3173
3174
|
}
|
|
3174
|
-
function
|
|
3175
|
+
function Ew({
|
|
3175
3176
|
schemaName: e,
|
|
3176
3177
|
tableName: r,
|
|
3177
3178
|
modelName: t,
|
|
@@ -3455,7 +3456,7 @@ function Bp({
|
|
|
3455
3456
|
}), o[i] = s;
|
|
3456
3457
|
}), o;
|
|
3457
3458
|
}
|
|
3458
|
-
function
|
|
3459
|
+
function Tw(e) {
|
|
3459
3460
|
const r = Ke.getState().dashboard.globalCacheConfig, { card: t, filter: n } = e;
|
|
3460
3461
|
return r;
|
|
3461
3462
|
}
|
|
@@ -3505,7 +3506,7 @@ function Up(e) {
|
|
|
3505
3506
|
error: "Card ID can only contain letters, numbers, hyphens, and underscores"
|
|
3506
3507
|
};
|
|
3507
3508
|
}
|
|
3508
|
-
function
|
|
3509
|
+
function Aw(e, r) {
|
|
3509
3510
|
var t;
|
|
3510
3511
|
return (t = jp(e, r)) == null ? void 0 : t.card;
|
|
3511
3512
|
}
|
|
@@ -3514,7 +3515,7 @@ function jp(e, r) {
|
|
|
3514
3515
|
if (t.card.id === r)
|
|
3515
3516
|
return t;
|
|
3516
3517
|
}
|
|
3517
|
-
function
|
|
3518
|
+
function Fw(e, r) {
|
|
3518
3519
|
for (const t of e.sheets || [])
|
|
3519
3520
|
for (const n of t.frames || [])
|
|
3520
3521
|
for (const o of n.cards || [])
|
|
@@ -3688,7 +3689,7 @@ const ut = (e, r) => e.toString().padStart(r, "0"), Tt = (e, r) => {
|
|
|
3688
3689
|
break;
|
|
3689
3690
|
}
|
|
3690
3691
|
return At(i, r);
|
|
3691
|
-
}, sr = (e, r, t) => _r(e, r, "day", t), lr = (e, r, t) => _r(e, r, "week", t), cr = (e, r, t) => _r(e, r, "month", t), dr = (e, r, t) => _r(e, r, "quarter", t), ur = (e, r, t) => _r(e, r, "year", t),
|
|
3692
|
+
}, sr = (e, r, t) => _r(e, r, "day", t), lr = (e, r, t) => _r(e, r, "week", t), cr = (e, r, t) => _r(e, r, "month", t), dr = (e, r, t) => _r(e, r, "quarter", t), ur = (e, r, t) => _r(e, r, "year", t), Rw = (e) => e ? typeof e == "object" && "tz" in e ? e.tz : e : Intl.DateTimeFormat().resolvedOptions().timeZone, em = /* @__PURE__ */ new Set(["last", "this", "previous", "between"]), Ma = (e) => `${e}`.padStart(2, "0"), Ai = (e) => {
|
|
3692
3693
|
if (!e || typeof e != "object") return !1;
|
|
3693
3694
|
const r = e.mode;
|
|
3694
3695
|
return typeof r == "string" && em.has(r);
|
|
@@ -3926,7 +3927,7 @@ function rm(e, r, t = 1) {
|
|
|
3926
3927
|
}
|
|
3927
3928
|
return [Mt(n, r), mt(n, r)];
|
|
3928
3929
|
}
|
|
3929
|
-
function
|
|
3930
|
+
function Dw(e) {
|
|
3930
3931
|
if (!e) return null;
|
|
3931
3932
|
for (const [o, i] of Object.entries(om))
|
|
3932
3933
|
if (nm(i, e))
|
|
@@ -4097,7 +4098,7 @@ function Fi(e, r) {
|
|
|
4097
4098
|
semanticContext: e.semanticContext
|
|
4098
4099
|
};
|
|
4099
4100
|
}
|
|
4100
|
-
function
|
|
4101
|
+
function Pw(e, r) {
|
|
4101
4102
|
return e != null && e.length ? e.map((t) => Fi(t, r)).filter((t) => !!t) : [];
|
|
4102
4103
|
}
|
|
4103
4104
|
function vl(e, r) {
|
|
@@ -4144,7 +4145,7 @@ function pm(e) {
|
|
|
4144
4145
|
);
|
|
4145
4146
|
return [...a, ...s];
|
|
4146
4147
|
}
|
|
4147
|
-
function
|
|
4148
|
+
function _w(e) {
|
|
4148
4149
|
const {
|
|
4149
4150
|
previousFilters: r,
|
|
4150
4151
|
nextFilters: t,
|
|
@@ -4262,7 +4263,7 @@ function ao(e, r, t) {
|
|
|
4262
4263
|
cardControlValuesMap: i
|
|
4263
4264
|
};
|
|
4264
4265
|
}
|
|
4265
|
-
function
|
|
4266
|
+
function Ow(e) {
|
|
4266
4267
|
var t, n;
|
|
4267
4268
|
const r = {};
|
|
4268
4269
|
for (const o of e.relevantControlIds) {
|
|
@@ -4432,7 +4433,7 @@ function Dm(e) {
|
|
|
4432
4433
|
}
|
|
4433
4434
|
return e.name;
|
|
4434
4435
|
}
|
|
4435
|
-
function
|
|
4436
|
+
function Mw(e) {
|
|
4436
4437
|
return Array.isArray(e) ? e.reduce((r, t) => t.role !== "assistant" ? (r.push(t), r) : t.parts.some(
|
|
4437
4438
|
(o) => {
|
|
4438
4439
|
var i;
|
|
@@ -4625,16 +4626,16 @@ const we = Yt()(
|
|
|
4625
4626
|
getFileAttachments: (t) => r().fileAttachments[t]
|
|
4626
4627
|
}
|
|
4627
4628
|
}))
|
|
4628
|
-
),
|
|
4629
|
+
), Nw = () => we((e) => e.currentAIContext), kw = () => we((e) => e.activeAssistantType), Lw = (e) => we(
|
|
4629
4630
|
(r) => e ? r.assistantMessageContexts[e] : void 0
|
|
4630
|
-
),
|
|
4631
|
+
), Vw = () => we((e) => e.actions), Bw = (e) => we((r) => r.messageQueues[e]), $w = () => we(
|
|
4631
4632
|
bi((e) => ({
|
|
4632
4633
|
queueMessage: e.actions.queueMessage,
|
|
4633
4634
|
dequeueMessage: e.actions.dequeueMessage,
|
|
4634
4635
|
removeFromQueue: e.actions.removeFromQueue,
|
|
4635
4636
|
clearQueue: e.actions.clearQueue
|
|
4636
4637
|
}))
|
|
4637
|
-
),
|
|
4638
|
+
), Uw = (e) => we((r) => r.fileAttachments[e]), jw = () => we(
|
|
4638
4639
|
bi((e) => ({
|
|
4639
4640
|
addFileAttachment: e.actions.addFileAttachment,
|
|
4640
4641
|
removeFileAttachment: e.actions.removeFileAttachment,
|
|
@@ -4842,7 +4843,7 @@ function Pi(e) {
|
|
|
4842
4843
|
const r = e.groupByColumns && e.groupByColumns.length > 0, t = e.metricColumns && e.metricColumns.length > 0, n = e.pivotByColumns && e.pivotByColumns.length > 0, o = e.detailColumns && e.detailColumns.length > 0;
|
|
4843
4844
|
return !!(r || t || n || o);
|
|
4844
4845
|
}
|
|
4845
|
-
function
|
|
4846
|
+
function zw(e, r) {
|
|
4846
4847
|
var i, a, s;
|
|
4847
4848
|
if (r != null && r.skipSetupCheck || e.type === "text" || (i = e.customCardPreferences) != null && i.url)
|
|
4848
4849
|
return !1;
|
|
@@ -4862,7 +4863,7 @@ function Fl(e) {
|
|
|
4862
4863
|
var r, t;
|
|
4863
4864
|
return !e || e.type !== "text" ? !1 : !!((r = e.sql) != null && r.trim() || (t = e.python) != null && t.trim() || Pi(e.config));
|
|
4864
4865
|
}
|
|
4865
|
-
function
|
|
4866
|
+
function Hw(e) {
|
|
4866
4867
|
var r, t;
|
|
4867
4868
|
return !e || e.type !== "text" ? !1 : ((t = (r = e.preferences) == null ? void 0 : r.textVisualOptions) == null ? void 0 : t.isDynamicText) === !0 ? !0 : Fl(e) && !Al(e);
|
|
4868
4869
|
}
|
|
@@ -4906,7 +4907,7 @@ function Lm(e) {
|
|
|
4906
4907
|
function Vm(e) {
|
|
4907
4908
|
return Lm(e) === "dynamic";
|
|
4908
4909
|
}
|
|
4909
|
-
function
|
|
4910
|
+
function qw(e) {
|
|
4910
4911
|
return e.type === "custom";
|
|
4911
4912
|
}
|
|
4912
4913
|
function Bm(e, r) {
|
|
@@ -5011,7 +5012,7 @@ function Wm(e, r, t) {
|
|
|
5011
5012
|
rendererCode: r
|
|
5012
5013
|
};
|
|
5013
5014
|
}
|
|
5014
|
-
function
|
|
5015
|
+
function Ww(e, r, t) {
|
|
5015
5016
|
return r === "dynamic" && (t != null && t.rendererCode) ? {
|
|
5016
5017
|
...e,
|
|
5017
5018
|
visualizationMode: "dynamic",
|
|
@@ -5029,14 +5030,14 @@ function qw(e, r, t) {
|
|
|
5029
5030
|
dynamicCardPreferences: void 0
|
|
5030
5031
|
};
|
|
5031
5032
|
}
|
|
5032
|
-
function
|
|
5033
|
+
function Gw(e) {
|
|
5033
5034
|
return {
|
|
5034
5035
|
...e,
|
|
5035
5036
|
type: zm(e),
|
|
5036
5037
|
visualizationMode: "builtin"
|
|
5037
5038
|
};
|
|
5038
5039
|
}
|
|
5039
|
-
function
|
|
5040
|
+
function Yw(e, {
|
|
5040
5041
|
isDevMode: r,
|
|
5041
5042
|
cardSql: t,
|
|
5042
5043
|
isShowingVisual: n,
|
|
@@ -5270,7 +5271,7 @@ function Jm(e) {
|
|
|
5270
5271
|
var r;
|
|
5271
5272
|
return Vm(e) && Qm((r = e.dynamicCardPreferences) == null ? void 0 : r.rendererCode).error || null;
|
|
5272
5273
|
}
|
|
5273
|
-
function
|
|
5274
|
+
function Kw(e) {
|
|
5274
5275
|
for (const r of e.cards) {
|
|
5275
5276
|
const t = Jm(r);
|
|
5276
5277
|
if (t)
|
|
@@ -5309,7 +5310,7 @@ function th(e) {
|
|
|
5309
5310
|
}))
|
|
5310
5311
|
};
|
|
5311
5312
|
}
|
|
5312
|
-
function
|
|
5313
|
+
function Xw(e) {
|
|
5313
5314
|
var a, s, l, c, d, u;
|
|
5314
5315
|
if (!e)
|
|
5315
5316
|
return "no-payload";
|
|
@@ -5386,7 +5387,7 @@ function rh() {
|
|
|
5386
5387
|
function Ml(e) {
|
|
5387
5388
|
return Or(e) ? e.version === 1 && Array.isArray(e.blocks) && e.blocks.every(nh) : !1;
|
|
5388
5389
|
}
|
|
5389
|
-
function
|
|
5390
|
+
function Zw(e, r) {
|
|
5390
5391
|
return !Ml(e) || !e.blocks.length ? "" : e.blocks.map((t) => ah(t, r)).join("");
|
|
5391
5392
|
}
|
|
5392
5393
|
function nh(e) {
|
|
@@ -6108,7 +6109,7 @@ function bh(e) {
|
|
|
6108
6109
|
percentValueMode: e.type === "percent" ? e.percentValueMode || (e.multiplyBy === 1 ? "whole" : "fraction") : void 0
|
|
6109
6110
|
});
|
|
6110
6111
|
}
|
|
6111
|
-
function
|
|
6112
|
+
function Qw(e) {
|
|
6112
6113
|
if (!e)
|
|
6113
6114
|
return;
|
|
6114
6115
|
const r = zt(e.currency), t = zt(e.locale), n = typeof e.prefix == "string" ? e.prefix : void 0, o = typeof e.suffix == "string" ? e.suffix : void 0, i = r ? "currency" : o === "%" ? "percent" : "number";
|
|
@@ -6124,7 +6125,7 @@ function Zw(e) {
|
|
|
6124
6125
|
percentValueMode: i === "percent" ? e.percentValueMode || "whole" : void 0
|
|
6125
6126
|
});
|
|
6126
6127
|
}
|
|
6127
|
-
function
|
|
6128
|
+
function Jw(e) {
|
|
6128
6129
|
if (!e)
|
|
6129
6130
|
return;
|
|
6130
6131
|
const r = zt(e.currency), t = zt(e.locale), n = typeof e.suffix == "string" ? e.suffix : void 0, o = r ? "currency" : n === "%" ? "percent" : "number";
|
|
@@ -6139,7 +6140,7 @@ function Qw(e) {
|
|
|
6139
6140
|
percentValueMode: o === "percent" ? e.percentValueMode || "whole" : void 0
|
|
6140
6141
|
});
|
|
6141
6142
|
}
|
|
6142
|
-
function
|
|
6143
|
+
function ex(e) {
|
|
6143
6144
|
if (!e)
|
|
6144
6145
|
return;
|
|
6145
6146
|
const r = e.style === "currency" ? "currency" : e.style === "percent" ? "percent" : e.style === "decimal" ? "number" : void 0;
|
|
@@ -6153,7 +6154,7 @@ function Jw(e) {
|
|
|
6153
6154
|
percentValueMode: r === "percent" ? e.percentValueMode || "whole" : void 0
|
|
6154
6155
|
});
|
|
6155
6156
|
}
|
|
6156
|
-
function
|
|
6157
|
+
function tx(e) {
|
|
6157
6158
|
const r = _i(e);
|
|
6158
6159
|
if (r) {
|
|
6159
6160
|
if (r.type === "date")
|
|
@@ -6200,7 +6201,7 @@ function ex(e) {
|
|
|
6200
6201
|
};
|
|
6201
6202
|
}
|
|
6202
6203
|
}
|
|
6203
|
-
function
|
|
6204
|
+
function rx(e) {
|
|
6204
6205
|
const r = _i(e);
|
|
6205
6206
|
return !r || r.type === "date" || r.type === "duration" || r.type === "string" ? void 0 : {
|
|
6206
6207
|
style: r.type === "currency" ? "currency" : r.type === "percent" ? "percent" : r.type === "scientific" ? "scientific" : "decimal",
|
|
@@ -6216,7 +6217,7 @@ function tx(e) {
|
|
|
6216
6217
|
dataBarMaxValue: void 0
|
|
6217
6218
|
};
|
|
6218
6219
|
}
|
|
6219
|
-
function
|
|
6220
|
+
function nx(e) {
|
|
6220
6221
|
const r = _i(e);
|
|
6221
6222
|
if (!(!r || r.type === "date" || r.type === "duration" || r.type === "string"))
|
|
6222
6223
|
return {
|
|
@@ -6274,7 +6275,7 @@ function Ch(e) {
|
|
|
6274
6275
|
preferences: o
|
|
6275
6276
|
};
|
|
6276
6277
|
}
|
|
6277
|
-
const
|
|
6278
|
+
const ox = () => ({
|
|
6278
6279
|
groupByColumns: [],
|
|
6279
6280
|
metricColumns: [],
|
|
6280
6281
|
pivotByColumns: [],
|
|
@@ -7214,7 +7215,7 @@ const On = Yt()(
|
|
|
7214
7215
|
}
|
|
7215
7216
|
}
|
|
7216
7217
|
}))
|
|
7217
|
-
),
|
|
7218
|
+
), ix = () => On((e) => e.actions);
|
|
7218
7219
|
at.subscribe("dashboard:load", () => {
|
|
7219
7220
|
On.getState().actions.resetEditorStore();
|
|
7220
7221
|
});
|
|
@@ -7271,7 +7272,7 @@ function Eh(e) {
|
|
|
7271
7272
|
r.has(n) || r.set(n, t);
|
|
7272
7273
|
}), Array.from(r.values());
|
|
7273
7274
|
}
|
|
7274
|
-
function
|
|
7275
|
+
function ax(e, r, t, n) {
|
|
7275
7276
|
var a;
|
|
7276
7277
|
const i = Ih(e, t || r, n);
|
|
7277
7278
|
if (i >= 0) {
|
|
@@ -7282,12 +7283,12 @@ function ix(e, r, t, n) {
|
|
|
7282
7283
|
}
|
|
7283
7284
|
return [...e, r];
|
|
7284
7285
|
}
|
|
7285
|
-
function
|
|
7286
|
+
function sx(e, r, t) {
|
|
7286
7287
|
return e.filter(
|
|
7287
7288
|
(n) => !Oi(n, r, t)
|
|
7288
7289
|
);
|
|
7289
7290
|
}
|
|
7290
|
-
function
|
|
7291
|
+
function lx(e) {
|
|
7291
7292
|
return new Set(e.map(Vt));
|
|
7292
7293
|
}
|
|
7293
7294
|
function Th(e) {
|
|
@@ -7362,10 +7363,10 @@ function za(e, r) {
|
|
|
7362
7363
|
...n.map((i) => i.calculatedFields)
|
|
7363
7364
|
);
|
|
7364
7365
|
}
|
|
7365
|
-
function
|
|
7366
|
+
function cx(e, r) {
|
|
7366
7367
|
return e ? Mi(e) : [];
|
|
7367
7368
|
}
|
|
7368
|
-
function
|
|
7369
|
+
function dx(e, r) {
|
|
7369
7370
|
if (!e)
|
|
7370
7371
|
return [];
|
|
7371
7372
|
const t = Mi(e), n = $l(e), o = Ct(
|
|
@@ -7383,7 +7384,7 @@ function co(e) {
|
|
|
7383
7384
|
e.map((r) => Kt(r, "sheet"))
|
|
7384
7385
|
);
|
|
7385
7386
|
}
|
|
7386
|
-
function
|
|
7387
|
+
function ux(e) {
|
|
7387
7388
|
const { field: r, sheetFields: t = [], dashboardFields: n = [] } = e, o = (s) => s.find(
|
|
7388
7389
|
(l) => Oi(l, r, {
|
|
7389
7390
|
allowComparableFallback: !0
|
|
@@ -7421,7 +7422,7 @@ function uo() {
|
|
|
7421
7422
|
sections: []
|
|
7422
7423
|
};
|
|
7423
7424
|
}
|
|
7424
|
-
function
|
|
7425
|
+
function fx() {
|
|
7425
7426
|
return {
|
|
7426
7427
|
region: "header",
|
|
7427
7428
|
enabled: !0,
|
|
@@ -7430,7 +7431,7 @@ function ux() {
|
|
|
7430
7431
|
blocks: []
|
|
7431
7432
|
};
|
|
7432
7433
|
}
|
|
7433
|
-
function
|
|
7434
|
+
function px() {
|
|
7434
7435
|
return {
|
|
7435
7436
|
region: "footer",
|
|
7436
7437
|
enabled: !0,
|
|
@@ -7442,7 +7443,7 @@ function fx() {
|
|
|
7442
7443
|
function Rh(e) {
|
|
7443
7444
|
return [{ type: "text", value: e }];
|
|
7444
7445
|
}
|
|
7445
|
-
function
|
|
7446
|
+
function mx(e, r = []) {
|
|
7446
7447
|
return (e == null ? void 0 : e.map((t) => t.type === "text" ? t.value : Dh(t.ref, r)).join("")) || "";
|
|
7447
7448
|
}
|
|
7448
7449
|
function Dh(e, r) {
|
|
@@ -7453,17 +7454,17 @@ function Dh(e, r) {
|
|
|
7453
7454
|
const t = r.find((n) => n.id === e.inputId);
|
|
7454
7455
|
return `{{${(t == null ? void 0 : t.variableName) || e.inputId}.${e.export}}}`;
|
|
7455
7456
|
}
|
|
7456
|
-
function
|
|
7457
|
+
function hx(e, r) {
|
|
7457
7458
|
return e.find(
|
|
7458
7459
|
(t) => t.type === "text" && t.role === r
|
|
7459
7460
|
);
|
|
7460
7461
|
}
|
|
7461
|
-
function
|
|
7462
|
+
function gx(e, r) {
|
|
7462
7463
|
return e.find(
|
|
7463
7464
|
(t) => t.type === "image" && t.role === r
|
|
7464
7465
|
);
|
|
7465
7466
|
}
|
|
7466
|
-
function
|
|
7467
|
+
function yx(e, r) {
|
|
7467
7468
|
const t = {
|
|
7468
7469
|
...r,
|
|
7469
7470
|
type: "text",
|
|
@@ -7471,7 +7472,7 @@ function gx(e, r) {
|
|
|
7471
7472
|
};
|
|
7472
7473
|
return jl(e, t);
|
|
7473
7474
|
}
|
|
7474
|
-
function
|
|
7475
|
+
function bx(e, r) {
|
|
7475
7476
|
return jl(e, r);
|
|
7476
7477
|
}
|
|
7477
7478
|
function jl(e, r) {
|
|
@@ -7486,7 +7487,7 @@ function zl(e) {
|
|
|
7486
7487
|
function Hl(e) {
|
|
7487
7488
|
return (e || []).filter((r) => !zl(r));
|
|
7488
7489
|
}
|
|
7489
|
-
const
|
|
7490
|
+
const vx = Hl;
|
|
7490
7491
|
function Ph(e) {
|
|
7491
7492
|
return e === "dashboard" ? [
|
|
7492
7493
|
{ value: "toolbar", label: "Toolbar" },
|
|
@@ -7496,7 +7497,7 @@ function Ph(e) {
|
|
|
7496
7497
|
{ value: "advanced", label: "More options" }
|
|
7497
7498
|
];
|
|
7498
7499
|
}
|
|
7499
|
-
const
|
|
7500
|
+
const Cx = [
|
|
7500
7501
|
{ value: "saved_default", label: "Use configured default" },
|
|
7501
7502
|
{ value: "embed_required", label: "From embedding app" }
|
|
7502
7503
|
], ql = [
|
|
@@ -7535,7 +7536,7 @@ function Ni(e) {
|
|
|
7535
7536
|
function _h(e) {
|
|
7536
7537
|
return e === "enum" || e === "multi_enum" || e === "aggregation_selector" || e === "grain_selector";
|
|
7537
7538
|
}
|
|
7538
|
-
function
|
|
7539
|
+
function Sx(e, r, t = []) {
|
|
7539
7540
|
let n = r.length + 1, o = `${e}_control_${n}`;
|
|
7540
7541
|
const i = new Set(t);
|
|
7541
7542
|
for (; r.some((a) => a.id === o) || i.has(o); )
|
|
@@ -7558,7 +7559,7 @@ function Cx(e, r, t = []) {
|
|
|
7558
7559
|
placement: e === "dashboard" ? "toolbar" : "card_header"
|
|
7559
7560
|
};
|
|
7560
7561
|
}
|
|
7561
|
-
function
|
|
7562
|
+
function wx(e, r) {
|
|
7562
7563
|
const t = /* @__PURE__ */ new Set();
|
|
7563
7564
|
for (const n of e.controls || [])
|
|
7564
7565
|
t.add(n.id);
|
|
@@ -7582,10 +7583,10 @@ function Gl(e) {
|
|
|
7582
7583
|
source: { kind: "manual", options: r }
|
|
7583
7584
|
} : (e.source.kind === "manual", e);
|
|
7584
7585
|
}
|
|
7585
|
-
function
|
|
7586
|
+
function xx(e) {
|
|
7586
7587
|
return _h(e.type);
|
|
7587
7588
|
}
|
|
7588
|
-
function
|
|
7589
|
+
function Ix(e, r) {
|
|
7589
7590
|
const t = r.trim();
|
|
7590
7591
|
if (t.length !== 0)
|
|
7591
7592
|
switch (e.type) {
|
|
@@ -7599,7 +7600,7 @@ function xx(e, r) {
|
|
|
7599
7600
|
return t;
|
|
7600
7601
|
}
|
|
7601
7602
|
}
|
|
7602
|
-
function
|
|
7603
|
+
function Ex(e) {
|
|
7603
7604
|
const r = (o, i) => i === "field_selector" || i === "metric_selector" ? {
|
|
7604
7605
|
kind: "manual",
|
|
7605
7606
|
options: []
|
|
@@ -7624,12 +7625,12 @@ function Ix(e) {
|
|
|
7624
7625
|
defaultValues: n
|
|
7625
7626
|
};
|
|
7626
7627
|
}
|
|
7627
|
-
function
|
|
7628
|
+
function Tx(e, r) {
|
|
7628
7629
|
return [...(r || []).filter(
|
|
7629
7630
|
(n) => n.target === "sql_param"
|
|
7630
7631
|
), ...e];
|
|
7631
7632
|
}
|
|
7632
|
-
function
|
|
7633
|
+
function Ax(e) {
|
|
7633
7634
|
var o, i, a, s, l, c;
|
|
7634
7635
|
const r = ((i = (o = e.config) == null ? void 0 : o.metricColumns) == null ? void 0 : i.map((d) => `${d.id} (${d.label})`)) || [], t = ((s = (a = e.config) == null ? void 0 : a.groupByColumns) == null ? void 0 : s.map((d) => `${d.id} (${d.label})`)) || [], n = ((c = (l = e.config) == null ? void 0 : l.groupByColumns) == null ? void 0 : c.filter(
|
|
7635
7636
|
(d) => ["date", "datetime"].includes((d.dataType || "").toLowerCase())
|
|
@@ -7653,7 +7654,7 @@ function Mh(e, r) {
|
|
|
7653
7654
|
function Nh(e, r) {
|
|
7654
7655
|
return Mh(e.type, r);
|
|
7655
7656
|
}
|
|
7656
|
-
function
|
|
7657
|
+
function Fx(e) {
|
|
7657
7658
|
const r = kh(e.card);
|
|
7658
7659
|
return e.control ? r.filter(
|
|
7659
7660
|
(t) => Nh(e.control, t.value)
|
|
@@ -7700,7 +7701,7 @@ function Bh(e, r = "SUM") {
|
|
|
7700
7701
|
aggregate: e.aggregate || r
|
|
7701
7702
|
};
|
|
7702
7703
|
}
|
|
7703
|
-
function
|
|
7704
|
+
function Rx(e) {
|
|
7704
7705
|
const r = /* @__PURE__ */ new Map(), t = {};
|
|
7705
7706
|
return e.filter(Lh).filter((n) => typeof n.id == "string" && n.id.length > 0).forEach((n) => {
|
|
7706
7707
|
const o = n.label || n.name || n.id, i = Yl(o, n.name || n.id);
|
|
@@ -7710,7 +7711,7 @@ function Fx(e) {
|
|
|
7710
7711
|
targetMap: t
|
|
7711
7712
|
};
|
|
7712
7713
|
}
|
|
7713
|
-
function
|
|
7714
|
+
function Dx(e, r = "SUM") {
|
|
7714
7715
|
const t = /* @__PURE__ */ new Map(), n = {};
|
|
7715
7716
|
return e.filter(Kl).filter((o) => typeof o.id == "string" && o.id.length > 0).forEach((o) => {
|
|
7716
7717
|
const i = o.label || o.name || o.id, a = Yl(i, o.name || o.id);
|
|
@@ -7720,7 +7721,7 @@ function Rx(e, r = "SUM") {
|
|
|
7720
7721
|
targetMap: n
|
|
7721
7722
|
};
|
|
7722
7723
|
}
|
|
7723
|
-
function
|
|
7724
|
+
function Px(e) {
|
|
7724
7725
|
var r;
|
|
7725
7726
|
return Mr(
|
|
7726
7727
|
ki(
|
|
@@ -7731,7 +7732,7 @@ function Dx(e) {
|
|
|
7731
7732
|
)
|
|
7732
7733
|
);
|
|
7733
7734
|
}
|
|
7734
|
-
function
|
|
7735
|
+
function _x(e) {
|
|
7735
7736
|
var r;
|
|
7736
7737
|
return Mr(
|
|
7737
7738
|
ki(
|
|
@@ -7773,7 +7774,7 @@ function Ql(e, r) {
|
|
|
7773
7774
|
...r.customFormat !== void 0 ? { customFormat: r.customFormat } : {}
|
|
7774
7775
|
} : e;
|
|
7775
7776
|
}
|
|
7776
|
-
function
|
|
7777
|
+
function Ox(e, r) {
|
|
7777
7778
|
return e.filter(
|
|
7778
7779
|
(t) => t.canBindStructuralControl && (r === "field_selector" ? t.fieldChoices.length > 0 : r === "metric_selector" ? t.metricChoices.length > 0 : !1)
|
|
7779
7780
|
);
|
|
@@ -7789,7 +7790,7 @@ function Uh(e) {
|
|
|
7789
7790
|
);
|
|
7790
7791
|
return $h(t);
|
|
7791
7792
|
}
|
|
7792
|
-
function
|
|
7793
|
+
function Mx(e) {
|
|
7793
7794
|
var i, a;
|
|
7794
7795
|
const r = e.participants.filter(
|
|
7795
7796
|
(s) => e.selectedCardIds.includes(s.cardId)
|
|
@@ -7828,10 +7829,10 @@ function jh(e) {
|
|
|
7828
7829
|
}
|
|
7829
7830
|
};
|
|
7830
7831
|
}
|
|
7831
|
-
function
|
|
7832
|
+
function Nx(e) {
|
|
7832
7833
|
return !Xl(e.control.type) || e.control.source.kind !== "manual" ? e.control : jh(e);
|
|
7833
7834
|
}
|
|
7834
|
-
function
|
|
7835
|
+
function kx(e) {
|
|
7835
7836
|
if (e.control.type !== "field_selector" && e.control.type !== "metric_selector")
|
|
7836
7837
|
return {};
|
|
7837
7838
|
if (e.control.source.kind !== "manual")
|
|
@@ -7864,7 +7865,7 @@ function Nx(e) {
|
|
|
7864
7865
|
})
|
|
7865
7866
|
);
|
|
7866
7867
|
}
|
|
7867
|
-
function
|
|
7868
|
+
function Lx(e, r) {
|
|
7868
7869
|
if (!e || e.length === 0)
|
|
7869
7870
|
return e;
|
|
7870
7871
|
const t = new Map(r.map((n) => [n.id, n]));
|
|
@@ -7892,7 +7893,7 @@ function zh(e) {
|
|
|
7892
7893
|
function Hh(e) {
|
|
7893
7894
|
return e === zs;
|
|
7894
7895
|
}
|
|
7895
|
-
const Yo = "__semaphor_ui_option_",
|
|
7896
|
+
const Yo = "__semaphor_ui_option_", Vx = {
|
|
7896
7897
|
clear: "__semaphor_ui_clear__",
|
|
7897
7898
|
noDefault: "__semaphor_ui_no_default__",
|
|
7898
7899
|
cardDefault: "__semaphor_ui_card_default__"
|
|
@@ -7900,14 +7901,14 @@ const Yo = "__semaphor_ui_option_", Lx = {
|
|
|
7900
7901
|
function qh(e) {
|
|
7901
7902
|
return `${Yo}${e}`;
|
|
7902
7903
|
}
|
|
7903
|
-
function
|
|
7904
|
+
function Bx(e, r) {
|
|
7904
7905
|
if (r === void 0)
|
|
7905
7906
|
return;
|
|
7906
7907
|
const t = e.findIndex((n) => n.value === r);
|
|
7907
7908
|
if (t !== -1)
|
|
7908
7909
|
return qh(t);
|
|
7909
7910
|
}
|
|
7910
|
-
function
|
|
7911
|
+
function $x(e, r) {
|
|
7911
7912
|
if (!r.startsWith(Yo))
|
|
7912
7913
|
return;
|
|
7913
7914
|
const t = Number(r.slice(Yo.length));
|
|
@@ -7968,7 +7969,7 @@ const vr = [
|
|
|
7968
7969
|
label: "Displayed metric",
|
|
7969
7970
|
description: "Switch which metric the card shows."
|
|
7970
7971
|
}
|
|
7971
|
-
],
|
|
7972
|
+
], Ux = {
|
|
7972
7973
|
enum: "Dropdown",
|
|
7973
7974
|
multi_enum: "Multi-select",
|
|
7974
7975
|
boolean: "Toggle",
|
|
@@ -7980,10 +7981,10 @@ const vr = [
|
|
|
7980
7981
|
aggregation_selector: "Aggregation",
|
|
7981
7982
|
grain_selector: "Time Grain"
|
|
7982
7983
|
};
|
|
7983
|
-
function
|
|
7984
|
+
function jx(e) {
|
|
7984
7985
|
return vr.find((r) => r.value === e) || vr[0];
|
|
7985
7986
|
}
|
|
7986
|
-
function
|
|
7987
|
+
function zx(e) {
|
|
7987
7988
|
var a;
|
|
7988
7989
|
const r = e, t = /* @__PURE__ */ new Set([
|
|
7989
7990
|
"grain_selector",
|
|
@@ -8000,14 +8001,14 @@ function jx(e) {
|
|
|
8000
8001
|
);
|
|
8001
8002
|
return i ? [...o, i] : o;
|
|
8002
8003
|
}
|
|
8003
|
-
function
|
|
8004
|
+
function Hx(e, r) {
|
|
8004
8005
|
return e === "dashboard" ? r === "advanced" ? "More controls" : "Toolbar" : r === "advanced" ? "More options" : "Header";
|
|
8005
8006
|
}
|
|
8006
|
-
function
|
|
8007
|
+
function qx(e) {
|
|
8007
8008
|
var r;
|
|
8008
8009
|
return ((r = Ph(e)[0]) == null ? void 0 : r.value) || "toolbar";
|
|
8009
8010
|
}
|
|
8010
|
-
function
|
|
8011
|
+
function Wx(e) {
|
|
8011
8012
|
const r = Gl(e);
|
|
8012
8013
|
if (r.type === "boolean")
|
|
8013
8014
|
return "True, False";
|
|
@@ -8016,7 +8017,7 @@ function qx(e) {
|
|
|
8016
8017
|
const t = r.source.kind === "manual" ? r.source.options.map((n) => n.label || n.value).filter(Boolean) : [];
|
|
8017
8018
|
return t.length === 0 ? "No choices yet" : t.length <= 3 ? t.join(", ") : `${t.slice(0, 3).join(", ")} +${t.length - 3} more`;
|
|
8018
8019
|
}
|
|
8019
|
-
function
|
|
8020
|
+
function Gx(e) {
|
|
8020
8021
|
return Array.isArray(e) ? e.length > 0 : e != null && String(e).trim().length > 0;
|
|
8021
8022
|
}
|
|
8022
8023
|
function Gh(e, r) {
|
|
@@ -8054,7 +8055,7 @@ function Ha(e) {
|
|
|
8054
8055
|
valueColumn: e.valueColumn
|
|
8055
8056
|
});
|
|
8056
8057
|
}
|
|
8057
|
-
function
|
|
8058
|
+
function Yx(e) {
|
|
8058
8059
|
const { previousControl: r, nextControl: t, currentDefaultValue: n } = e;
|
|
8059
8060
|
if (!(r.source.kind !== "sql_query" && t.source.kind === "sql_query") && !(r.source.kind === "sql_query" && t.source.kind === "sql_query" && Ha(r.source) !== Ha(t.source)))
|
|
8060
8061
|
return Gh(t, n);
|
|
@@ -8063,7 +8064,7 @@ function Yh(e) {
|
|
|
8063
8064
|
const { control: r, defaultValues: t } = e;
|
|
8064
8065
|
return t && Object.prototype.hasOwnProperty.call(t, r.id) ? t[r.id] : r.defaultValue;
|
|
8065
8066
|
}
|
|
8066
|
-
function
|
|
8067
|
+
function Kx(e, r) {
|
|
8067
8068
|
return e.scope !== "dashboard" || e.source.kind !== "sql_query" ? e : e.initialValueStrategy === "embed_required" ? e.requiredAtExecution ? e : {
|
|
8068
8069
|
...e,
|
|
8069
8070
|
requiredAtExecution: !0
|
|
@@ -8097,7 +8098,7 @@ function Kh(e) {
|
|
|
8097
8098
|
}
|
|
8098
8099
|
return r;
|
|
8099
8100
|
}
|
|
8100
|
-
function
|
|
8101
|
+
function Xx(e) {
|
|
8101
8102
|
const r = new Set(e.reservedIds), t = new Set(e.existingControls.map((a) => a.id)), n = Go(e.label) || e.fallbackId;
|
|
8102
8103
|
if (!t.has(n) && !r.has(n))
|
|
8103
8104
|
return n;
|
|
@@ -8156,7 +8157,7 @@ function Xh(e, r, t) {
|
|
|
8156
8157
|
}
|
|
8157
8158
|
return ke(n);
|
|
8158
8159
|
}
|
|
8159
|
-
function
|
|
8160
|
+
function Zx(e) {
|
|
8160
8161
|
const r = Wa(
|
|
8161
8162
|
e.runtimeValues,
|
|
8162
8163
|
e.input,
|
|
@@ -8196,7 +8197,7 @@ function Zh(e, r) {
|
|
|
8196
8197
|
}
|
|
8197
8198
|
} : void 0;
|
|
8198
8199
|
}
|
|
8199
|
-
function
|
|
8200
|
+
function Qx(e) {
|
|
8200
8201
|
return e ? {
|
|
8201
8202
|
status: "set",
|
|
8202
8203
|
value: {
|
|
@@ -8205,7 +8206,7 @@ function Zx(e) {
|
|
|
8205
8206
|
}
|
|
8206
8207
|
} : void 0;
|
|
8207
8208
|
}
|
|
8208
|
-
function
|
|
8209
|
+
function Jx(e) {
|
|
8209
8210
|
return e !== void 0 ? {
|
|
8210
8211
|
status: "set",
|
|
8211
8212
|
value: {
|
|
@@ -9977,7 +9978,7 @@ const Ke = Yt()(
|
|
|
9977
9978
|
(d) => d.id === r.selectedSheetId
|
|
9978
9979
|
), n = (s = t == null ? void 0 : t.frames) == null ? void 0 : s.find((d) => d.id === r.selectedFrameId);
|
|
9979
9980
|
return ((l = n == null ? void 0 : n.cards) == null ? void 0 : l.find((d) => d.id === (n == null ? void 0 : n.activeCardId))) || ((c = n == null ? void 0 : n.cards) == null ? void 0 : c[0]);
|
|
9980
|
-
}),
|
|
9981
|
+
}), eI = () => {
|
|
9981
9982
|
var t;
|
|
9982
9983
|
const e = Ke(
|
|
9983
9984
|
(n) => {
|
|
@@ -9991,7 +9992,7 @@ const Ke = Yt()(
|
|
|
9991
9992
|
return (o = n.cards) == null ? void 0 : o.find((i) => i.id === n.activeCardId);
|
|
9992
9993
|
}
|
|
9993
9994
|
)) || []).filter((n) => n !== void 0);
|
|
9994
|
-
},
|
|
9995
|
+
}, tI = () => {
|
|
9995
9996
|
var r, t, n;
|
|
9996
9997
|
const e = ig();
|
|
9997
9998
|
return {
|
|
@@ -9999,7 +10000,7 @@ const Ke = Yt()(
|
|
|
9999
10000
|
groupByFields: ((t = e == null ? void 0 : e.config) == null ? void 0 : t.groupByColumns) || [],
|
|
10000
10001
|
pivotByFields: ((n = e == null ? void 0 : e.config) == null ? void 0 : n.pivotByColumns) || []
|
|
10001
10002
|
};
|
|
10002
|
-
},
|
|
10003
|
+
}, rI = () => Ke((e) => e.actions);
|
|
10003
10004
|
at.subscribe("dashboard:load", () => {
|
|
10004
10005
|
Ke.getState().actions.setInitStore();
|
|
10005
10006
|
});
|
|
@@ -10082,7 +10083,7 @@ function yn() {
|
|
|
10082
10083
|
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = tc(e)) && (n && (n += " "), n += r);
|
|
10083
10084
|
return n;
|
|
10084
10085
|
}
|
|
10085
|
-
const
|
|
10086
|
+
const nI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10086
10087
|
__proto__: null,
|
|
10087
10088
|
clsx: yn,
|
|
10088
10089
|
default: yn
|
|
@@ -12379,7 +12380,7 @@ const ne = (e) => {
|
|
|
12379
12380
|
function ie(...e) {
|
|
12380
12381
|
return $g(yn(e));
|
|
12381
12382
|
}
|
|
12382
|
-
const
|
|
12383
|
+
const oI = (e) => Object.keys(e).length === 0;
|
|
12383
12384
|
function St(e) {
|
|
12384
12385
|
return !!e && typeof e == "object";
|
|
12385
12386
|
}
|
|
@@ -12403,18 +12404,18 @@ function Co(e, r, t) {
|
|
|
12403
12404
|
function Ug(e, r = "Unknown error", t = {}) {
|
|
12404
12405
|
return sc(e, r, t) || r;
|
|
12405
12406
|
}
|
|
12406
|
-
function
|
|
12407
|
+
function iI(e, r, t = {}) {
|
|
12407
12408
|
const n = Ug(r, "", t);
|
|
12408
12409
|
return n ? `${e}: ${n}` : e;
|
|
12409
12410
|
}
|
|
12410
|
-
function
|
|
12411
|
+
function aI(e) {
|
|
12411
12412
|
return St(e) && typeof e.status == "number" ? e.status : void 0;
|
|
12412
12413
|
}
|
|
12413
|
-
function
|
|
12414
|
+
function sI(e) {
|
|
12414
12415
|
if (!(!St(e) || !St(e.details)))
|
|
12415
12416
|
return Array.isArray(e.details.violations) ? e.details.violations : void 0;
|
|
12416
12417
|
}
|
|
12417
|
-
function
|
|
12418
|
+
function lI(e) {
|
|
12418
12419
|
return St(e) && typeof e.sql == "string" ? e.sql : void 0;
|
|
12419
12420
|
}
|
|
12420
12421
|
async function lc(e) {
|
|
@@ -12451,7 +12452,7 @@ async function cc(e, r, t = "GET", n) {
|
|
|
12451
12452
|
throw console.error("Error during fetch:", o), o;
|
|
12452
12453
|
}
|
|
12453
12454
|
}
|
|
12454
|
-
async function
|
|
12455
|
+
async function cI(e, r, t = {}) {
|
|
12455
12456
|
const n = new URLSearchParams(t).toString(), o = n ? `${e}?${n}` : e;
|
|
12456
12457
|
return cc(o, r, "GET");
|
|
12457
12458
|
}
|
|
@@ -12494,34 +12495,34 @@ async function jg(e, r, t = {}, n = "POST") {
|
|
|
12494
12495
|
async function zg(e, r, t = {}, n = "POST") {
|
|
12495
12496
|
return cc(e, r, n, t);
|
|
12496
12497
|
}
|
|
12497
|
-
const Hg = typeof window < "u" && window.isSecureContext,
|
|
12498
|
-
function
|
|
12498
|
+
const Hg = typeof window < "u" && window.isSecureContext, dI = Hg ? jg : zg;
|
|
12499
|
+
function uI(e) {
|
|
12499
12500
|
if (!e)
|
|
12500
12501
|
return;
|
|
12501
12502
|
const r = ui(e);
|
|
12502
12503
|
if (r.params && r.params.currencyFormat)
|
|
12503
12504
|
return r.params.currencyFormat;
|
|
12504
12505
|
}
|
|
12505
|
-
function
|
|
12506
|
+
function fI(e) {
|
|
12506
12507
|
return e ? ui(e).params : void 0;
|
|
12507
12508
|
}
|
|
12508
|
-
function
|
|
12509
|
+
function pI(e) {
|
|
12509
12510
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
12510
12511
|
}
|
|
12511
|
-
function
|
|
12512
|
+
function mI(e) {
|
|
12512
12513
|
return e.replace(
|
|
12513
12514
|
/\w\S*/g,
|
|
12514
12515
|
(r) => r.charAt(0).toUpperCase() + r.substring(1).toLowerCase()
|
|
12515
12516
|
);
|
|
12516
12517
|
}
|
|
12517
|
-
function
|
|
12518
|
+
function hI(e) {
|
|
12518
12519
|
return e.replace(/[_-]+/g, " ").replace(/([a-z])([A-Z])/g, "$1 $2").replace(
|
|
12519
12520
|
/\w\S*/g,
|
|
12520
12521
|
(r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()
|
|
12521
12522
|
);
|
|
12522
12523
|
}
|
|
12523
|
-
const
|
|
12524
|
-
async function
|
|
12524
|
+
const gI = "focus:ring-1 focus:ring-offset-0 focus-visible:ring-1 focus-visible:ring-offset-0", yI = "focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0 focus:ring-0 focus:ring-ring focus:ring-offset-0";
|
|
12525
|
+
async function bI(e) {
|
|
12525
12526
|
var i, a;
|
|
12526
12527
|
const r = (a = (i = Ke.getState()) == null ? void 0 : i.authToken) == null ? void 0 : a.accessToken;
|
|
12527
12528
|
if (!r)
|
|
@@ -12537,7 +12538,7 @@ async function yI(e) {
|
|
|
12537
12538
|
const o = await n.json();
|
|
12538
12539
|
return console.log("invalidateToken", o), o;
|
|
12539
12540
|
}
|
|
12540
|
-
async function
|
|
12541
|
+
async function vI(e, r, t = {}) {
|
|
12541
12542
|
if (!r)
|
|
12542
12543
|
return null;
|
|
12543
12544
|
let n = `${e}/v1/dashboard`;
|
|
@@ -12559,7 +12560,7 @@ async function bI(e, r, t = {}) {
|
|
|
12559
12560
|
}
|
|
12560
12561
|
return s;
|
|
12561
12562
|
}
|
|
12562
|
-
async function
|
|
12563
|
+
async function CI(e, r) {
|
|
12563
12564
|
if (!r)
|
|
12564
12565
|
return null;
|
|
12565
12566
|
const t = `${e}/v1/plugins`;
|
|
@@ -12774,7 +12775,7 @@ const Ae = (e, r) => {
|
|
|
12774
12775
|
* This source code is licensed under the ISC license.
|
|
12775
12776
|
* See the LICENSE file in the root directory of this source tree.
|
|
12776
12777
|
*/
|
|
12777
|
-
const
|
|
12778
|
+
const SI = Ae("ChartColumn", [
|
|
12778
12779
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
12779
12780
|
["path", { d: "M18 17V9", key: "2bz60n" }],
|
|
12780
12781
|
["path", { d: "M13 17V5", key: "1frdt8" }],
|
|
@@ -12809,7 +12810,7 @@ const sy = Ae("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
|
|
12809
12810
|
* This source code is licensed under the ISC license.
|
|
12810
12811
|
* See the LICENSE file in the root directory of this source tree.
|
|
12811
12812
|
*/
|
|
12812
|
-
const
|
|
12813
|
+
const wI = Ae("Info", [
|
|
12813
12814
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
12814
12815
|
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
12815
12816
|
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
@@ -12820,7 +12821,7 @@ const SI = Ae("Info", [
|
|
|
12820
12821
|
* This source code is licensed under the ISC license.
|
|
12821
12822
|
* See the LICENSE file in the root directory of this source tree.
|
|
12822
12823
|
*/
|
|
12823
|
-
const
|
|
12824
|
+
const xI = Ae("LoaderCircle", [
|
|
12824
12825
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
12825
12826
|
]);
|
|
12826
12827
|
/**
|
|
@@ -12829,7 +12830,7 @@ const wI = Ae("LoaderCircle", [
|
|
|
12829
12830
|
* This source code is licensed under the ISC license.
|
|
12830
12831
|
* See the LICENSE file in the root directory of this source tree.
|
|
12831
12832
|
*/
|
|
12832
|
-
const
|
|
12833
|
+
const II = Ae("RotateCcw", [
|
|
12833
12834
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
12834
12835
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }]
|
|
12835
12836
|
]);
|
|
@@ -12839,7 +12840,7 @@ const xI = Ae("RotateCcw", [
|
|
|
12839
12840
|
* This source code is licensed under the ISC license.
|
|
12840
12841
|
* See the LICENSE file in the root directory of this source tree.
|
|
12841
12842
|
*/
|
|
12842
|
-
const
|
|
12843
|
+
const EI = Ae("SlidersHorizontal", [
|
|
12843
12844
|
["line", { x1: "21", x2: "14", y1: "4", y2: "4", key: "obuewd" }],
|
|
12844
12845
|
["line", { x1: "10", x2: "3", y1: "4", y2: "4", key: "1q6298" }],
|
|
12845
12846
|
["line", { x1: "21", x2: "12", y1: "12", y2: "12", key: "1iu8h1" }],
|
|
@@ -12856,7 +12857,7 @@ const II = Ae("SlidersHorizontal", [
|
|
|
12856
12857
|
* This source code is licensed under the ISC license.
|
|
12857
12858
|
* See the LICENSE file in the root directory of this source tree.
|
|
12858
12859
|
*/
|
|
12859
|
-
const
|
|
12860
|
+
const TI = Ae("Table2", [
|
|
12860
12861
|
[
|
|
12861
12862
|
"path",
|
|
12862
12863
|
{
|
|
@@ -12871,7 +12872,7 @@ const EI = Ae("Table2", [
|
|
|
12871
12872
|
* This source code is licensed under the ISC license.
|
|
12872
12873
|
* See the LICENSE file in the root directory of this source tree.
|
|
12873
12874
|
*/
|
|
12874
|
-
const
|
|
12875
|
+
const AI = Ae("Type", [
|
|
12875
12876
|
["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
|
|
12876
12877
|
["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
|
|
12877
12878
|
["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
|
|
@@ -12882,7 +12883,7 @@ const TI = Ae("Type", [
|
|
|
12882
12883
|
* This source code is licensed under the ISC license.
|
|
12883
12884
|
* See the LICENSE file in the root directory of this source tree.
|
|
12884
12885
|
*/
|
|
12885
|
-
const
|
|
12886
|
+
const FI = Ae("Upload", [
|
|
12886
12887
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
12887
12888
|
["polyline", { points: "17 8 12 3 7 8", key: "t8dd8p" }],
|
|
12888
12889
|
["line", { x1: "12", x2: "12", y1: "3", y2: "15", key: "widbto" }]
|
|
@@ -12893,7 +12894,7 @@ const AI = Ae("Upload", [
|
|
|
12893
12894
|
* This source code is licensed under the ISC license.
|
|
12894
12895
|
* See the LICENSE file in the root directory of this source tree.
|
|
12895
12896
|
*/
|
|
12896
|
-
const
|
|
12897
|
+
const RI = Ae("X", [
|
|
12897
12898
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
12898
12899
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
12899
12900
|
]);
|
|
@@ -13050,7 +13051,7 @@ function V(e, r, { checkForDefaultPrevented: t = !0 } = {}) {
|
|
|
13050
13051
|
return r == null ? void 0 : r(o);
|
|
13051
13052
|
};
|
|
13052
13053
|
}
|
|
13053
|
-
function
|
|
13054
|
+
function DI(e, r) {
|
|
13054
13055
|
const t = f.createContext(r), n = (i) => {
|
|
13055
13056
|
const { children: a, ...s } = i, l = f.useMemo(() => s, Object.values(s));
|
|
13056
13057
|
return /* @__PURE__ */ x(t.Provider, { value: l, children: a });
|
|
@@ -14720,7 +14721,7 @@ function kb(e, r, t, n) {
|
|
|
14720
14721
|
}), u == null || u(), (S = h) == null || S.disconnect(), h = null, l && cancelAnimationFrame(v);
|
|
14721
14722
|
};
|
|
14722
14723
|
}
|
|
14723
|
-
const
|
|
14724
|
+
const PI = Cc, Lb = pb, Vb = mb, Bb = db, $b = gb, Ub = ub, Is = cb, jb = hb, zb = (e, r, t) => {
|
|
14724
14725
|
const n = /* @__PURE__ */ new Map(), o = {
|
|
14725
14726
|
platform: Mb,
|
|
14726
14727
|
...t
|
|
@@ -16215,8 +16216,8 @@ pd.displayName = xC;
|
|
|
16215
16216
|
function md(e) {
|
|
16216
16217
|
return e ? "open" : "closed";
|
|
16217
16218
|
}
|
|
16218
|
-
var IC = od, EC = ad, TC = ld, AC = cd, hd = dd,
|
|
16219
|
-
const
|
|
16219
|
+
var IC = od, EC = ad, TC = ld, AC = cd, hd = dd, _I = pd;
|
|
16220
|
+
const OI = IC, MI = EC, NI = TC, FC = f.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...n }, o) => /* @__PURE__ */ x(AC, { children: /* @__PURE__ */ x(zn, { children: /* @__PURE__ */ x(
|
|
16220
16221
|
hd,
|
|
16221
16222
|
{
|
|
16222
16223
|
ref: o,
|
|
@@ -16453,7 +16454,7 @@ function Ad(e, r) {
|
|
|
16453
16454
|
return `${e}-content-${r}`;
|
|
16454
16455
|
}
|
|
16455
16456
|
var VC = vd, Fd = Sd, Rd = xd, Dd = Ed;
|
|
16456
|
-
const
|
|
16457
|
+
const kI = VC, BC = st("text-muted-foreground", {
|
|
16457
16458
|
variants: {
|
|
16458
16459
|
variant: {
|
|
16459
16460
|
segmented: "inline-flex items-center justify-center rounded-control bg-muted",
|
|
@@ -17452,7 +17453,7 @@ function yS(e, r) {
|
|
|
17452
17453
|
return e.map((t, n) => e[(r + n) % e.length]);
|
|
17453
17454
|
}
|
|
17454
17455
|
var bS = Nd, du = Ld, vS = Bd, CS = $d, SS = Ud, uu = jd, wS = Wd, xS = Yd, fu = Xd, pu = Qd, IS = Jd, ES = tu, mu = ru, hu = nu, gu = iu;
|
|
17455
|
-
const
|
|
17456
|
+
const LI = bS, VI = xS, BI = vS, TS = st(
|
|
17456
17457
|
// Border-only focus (no outset ring) — mirrors Input / Textarea so
|
|
17457
17458
|
// focus chrome is consistent across form primitives and never gets
|
|
17458
17459
|
// clipped by tight parent containers. See CHANGES.md.
|
|
@@ -18509,7 +18510,7 @@ function m0(e) {
|
|
|
18509
18510
|
return t.pop(), r.length === 1 && t.length === 1 && r[0].x === t[0].x && r[0].y === t[0].y ? r : r.concat(t);
|
|
18510
18511
|
}
|
|
18511
18512
|
var h0 = ku, g0 = Lu, y0 = Vu, b0 = Bu, Hu = $u, v0 = zu;
|
|
18512
|
-
const
|
|
18513
|
+
const $I = h0, UI = g0, jI = y0, C0 = f.forwardRef(({ className: e, sideOffset: r = 4, forceMount: t, ...n }, o) => (
|
|
18513
18514
|
// Thread `forceMount` to both Portal and Content. If a caller forces
|
|
18514
18515
|
// the tooltip mounted (e.g., for framer-motion exit animations or
|
|
18515
18516
|
// layout measurement on a closed tooltip), the outer Portal must also
|
|
@@ -18532,7 +18533,7 @@ const BI = h0, $I = g0, UI = y0, C0 = f.forwardRef(({ className: e, sideOffset:
|
|
|
18532
18533
|
) }) })
|
|
18533
18534
|
));
|
|
18534
18535
|
C0.displayName = Hu.displayName;
|
|
18535
|
-
const
|
|
18536
|
+
const zI = v0;
|
|
18536
18537
|
var qu = {}, le = Te && Te.__assign || function() {
|
|
18537
18538
|
return le = Object.assign || function(e) {
|
|
18538
18539
|
for (var r, t = 1, n = arguments.length; t < n; t++) {
|
|
@@ -20397,7 +20398,7 @@ ht.languages.yaml && ht.languages.insertBefore("yaml", "punctuation", {
|
|
|
20397
20398
|
alias: "string"
|
|
20398
20399
|
}
|
|
20399
20400
|
});
|
|
20400
|
-
function
|
|
20401
|
+
function HI({
|
|
20401
20402
|
value: e,
|
|
20402
20403
|
onValueChange: r,
|
|
20403
20404
|
language: t,
|
|
@@ -20641,110 +20642,110 @@ const $0 = st(
|
|
|
20641
20642
|
j0.displayName = Qu.displayName;
|
|
20642
20643
|
export {
|
|
20643
20644
|
C0 as $,
|
|
20644
|
-
|
|
20645
|
+
eI as A,
|
|
20645
20646
|
gy as B,
|
|
20646
|
-
|
|
20647
|
-
|
|
20648
|
-
|
|
20649
|
-
|
|
20647
|
+
HI as C,
|
|
20648
|
+
tI as D,
|
|
20649
|
+
rI as E,
|
|
20650
|
+
ox as F,
|
|
20650
20651
|
On as G,
|
|
20651
|
-
|
|
20652
|
+
ix as H,
|
|
20652
20653
|
UC as I,
|
|
20653
20654
|
jC as J,
|
|
20654
20655
|
ZS as K,
|
|
20655
20656
|
OC as L,
|
|
20656
20657
|
zC as M,
|
|
20657
|
-
|
|
20658
|
-
|
|
20659
|
-
|
|
20660
|
-
|
|
20661
|
-
|
|
20662
|
-
|
|
20663
|
-
|
|
20664
|
-
|
|
20658
|
+
AI as N,
|
|
20659
|
+
SI as O,
|
|
20660
|
+
OI as P,
|
|
20661
|
+
TI as Q,
|
|
20662
|
+
II as R,
|
|
20663
|
+
EI as S,
|
|
20664
|
+
kI as T,
|
|
20665
|
+
FI as U,
|
|
20665
20666
|
LS as V,
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20667
|
+
$I as W,
|
|
20668
|
+
RI as X,
|
|
20669
|
+
UI as Y,
|
|
20670
|
+
jI as Z,
|
|
20671
|
+
wI as _,
|
|
20671
20672
|
ie as a,
|
|
20672
20673
|
Em as a$,
|
|
20673
20674
|
NC as a0,
|
|
20674
|
-
|
|
20675
|
+
LI as a1,
|
|
20675
20676
|
AS as a2,
|
|
20676
|
-
|
|
20677
|
+
BI as a3,
|
|
20677
20678
|
FS as a4,
|
|
20678
20679
|
DS as a5,
|
|
20679
20680
|
j0 as a6,
|
|
20680
|
-
|
|
20681
|
-
|
|
20682
|
-
|
|
20681
|
+
Yw as a7,
|
|
20682
|
+
zI as a8,
|
|
20683
|
+
Kw as a9,
|
|
20683
20684
|
ge as aA,
|
|
20684
20685
|
pe as aB,
|
|
20685
20686
|
Ug as aC,
|
|
20686
20687
|
cc as aD,
|
|
20687
20688
|
zg as aE,
|
|
20688
|
-
|
|
20689
|
+
Aw as aF,
|
|
20689
20690
|
zl as aG,
|
|
20690
20691
|
we as aH,
|
|
20691
20692
|
rt as aI,
|
|
20692
20693
|
pl as aJ,
|
|
20693
|
-
|
|
20694
|
+
wx as aK,
|
|
20694
20695
|
Hl as aL,
|
|
20695
20696
|
EC as aM,
|
|
20696
20697
|
hd as aN,
|
|
20697
20698
|
Ee as aO,
|
|
20698
|
-
|
|
20699
|
-
|
|
20700
|
-
|
|
20701
|
-
|
|
20702
|
-
|
|
20699
|
+
bw as aP,
|
|
20700
|
+
oI as aQ,
|
|
20701
|
+
Vw as aR,
|
|
20702
|
+
Mw as aS,
|
|
20703
|
+
MI as aT,
|
|
20703
20704
|
Mu as aU,
|
|
20704
20705
|
Pi as aV,
|
|
20705
20706
|
Fi as aW,
|
|
20706
|
-
|
|
20707
|
-
|
|
20708
|
-
|
|
20709
|
-
|
|
20710
|
-
|
|
20711
|
-
|
|
20712
|
-
|
|
20713
|
-
|
|
20714
|
-
|
|
20707
|
+
Ax as aX,
|
|
20708
|
+
Fx as aY,
|
|
20709
|
+
Px as aZ,
|
|
20710
|
+
_x as a_,
|
|
20711
|
+
qx as aa,
|
|
20712
|
+
Sx as ab,
|
|
20713
|
+
zx as ac,
|
|
20714
|
+
Ox as ad,
|
|
20715
|
+
Mx as ae,
|
|
20715
20716
|
Yh as af,
|
|
20716
|
-
|
|
20717
|
+
Kx as ag,
|
|
20717
20718
|
Gl as ah,
|
|
20718
|
-
|
|
20719
|
-
|
|
20719
|
+
xx as ai,
|
|
20720
|
+
Gx as aj,
|
|
20720
20721
|
Gh as ak,
|
|
20721
20722
|
Go as al,
|
|
20722
20723
|
Kh as am,
|
|
20723
|
-
|
|
20724
|
-
|
|
20725
|
-
|
|
20726
|
-
|
|
20724
|
+
jx as an,
|
|
20725
|
+
Hx as ao,
|
|
20726
|
+
Wx as ap,
|
|
20727
|
+
Ex as aq,
|
|
20727
20728
|
Ph as ar,
|
|
20728
|
-
|
|
20729
|
-
|
|
20730
|
-
|
|
20731
|
-
|
|
20732
|
-
|
|
20733
|
-
|
|
20734
|
-
|
|
20729
|
+
Cx as as,
|
|
20730
|
+
Yx as at,
|
|
20731
|
+
Xx as au,
|
|
20732
|
+
kx as av,
|
|
20733
|
+
Nx as aw,
|
|
20734
|
+
Ux as ax,
|
|
20735
|
+
dI as ay,
|
|
20735
20736
|
Vi as az,
|
|
20736
|
-
|
|
20737
|
+
NI as b,
|
|
20737
20738
|
Bi as b$,
|
|
20738
|
-
|
|
20739
|
-
|
|
20740
|
-
|
|
20739
|
+
Lx as b0,
|
|
20740
|
+
Tx as b1,
|
|
20741
|
+
fI as b2,
|
|
20741
20742
|
Jg as b3,
|
|
20742
20743
|
rh as b4,
|
|
20743
20744
|
Gm as b5,
|
|
20744
20745
|
Qm as b6,
|
|
20745
|
-
|
|
20746
|
+
Ww as b7,
|
|
20746
20747
|
Lm as b8,
|
|
20747
|
-
|
|
20748
|
+
qw as b9,
|
|
20748
20749
|
mt as bA,
|
|
20749
20750
|
Mt as bB,
|
|
20750
20751
|
Te as bC,
|
|
@@ -20752,12 +20753,12 @@ export {
|
|
|
20752
20753
|
Fa as bE,
|
|
20753
20754
|
Yt as bF,
|
|
20754
20755
|
hi as bG,
|
|
20755
|
-
|
|
20756
|
+
vI as bH,
|
|
20756
20757
|
at as bI,
|
|
20757
|
-
|
|
20758
|
+
_w as bJ,
|
|
20758
20759
|
im as bK,
|
|
20759
20760
|
mm as bL,
|
|
20760
|
-
|
|
20761
|
+
Pw as bM,
|
|
20761
20762
|
Zt as bN,
|
|
20762
20763
|
Xe as bO,
|
|
20763
20764
|
V as bP,
|
|
@@ -20773,30 +20774,30 @@ export {
|
|
|
20773
20774
|
yc as bZ,
|
|
20774
20775
|
Zi as b_,
|
|
20775
20776
|
qm as ba,
|
|
20776
|
-
|
|
20777
|
-
|
|
20777
|
+
uw as bb,
|
|
20778
|
+
VI as bc,
|
|
20778
20779
|
RS as bd,
|
|
20779
|
-
|
|
20780
|
+
yI as be,
|
|
20780
20781
|
oe as bf,
|
|
20781
|
-
|
|
20782
|
+
vw as bg,
|
|
20782
20783
|
sy as bh,
|
|
20783
|
-
|
|
20784
|
-
|
|
20784
|
+
pI as bi,
|
|
20785
|
+
gw as bj,
|
|
20785
20786
|
Be as bk,
|
|
20786
|
-
|
|
20787
|
-
|
|
20788
|
-
|
|
20789
|
-
|
|
20790
|
-
|
|
20791
|
-
|
|
20787
|
+
dw as bl,
|
|
20788
|
+
hw as bm,
|
|
20789
|
+
Nw as bn,
|
|
20790
|
+
$w as bo,
|
|
20791
|
+
jw as bp,
|
|
20792
|
+
Uw as bq,
|
|
20792
20793
|
Cp as br,
|
|
20793
20794
|
io as bs,
|
|
20794
|
-
|
|
20795
|
-
|
|
20795
|
+
Tw as bt,
|
|
20796
|
+
tx as bu,
|
|
20796
20797
|
_i as bv,
|
|
20797
20798
|
bh as bw,
|
|
20798
|
-
|
|
20799
|
-
|
|
20799
|
+
ux as bx,
|
|
20800
|
+
mI as by,
|
|
20800
20801
|
cp as bz,
|
|
20801
20802
|
Ae as c,
|
|
20802
20803
|
sr as c$,
|
|
@@ -20813,55 +20814,55 @@ export {
|
|
|
20813
20814
|
jp as cA,
|
|
20814
20815
|
Ga as cB,
|
|
20815
20816
|
ke as cC,
|
|
20816
|
-
|
|
20817
|
-
|
|
20817
|
+
Fw as cD,
|
|
20818
|
+
vx as cE,
|
|
20818
20819
|
_d as cF,
|
|
20819
20820
|
_c as cG,
|
|
20820
|
-
|
|
20821
|
-
|
|
20822
|
-
|
|
20821
|
+
rx as cH,
|
|
20822
|
+
Jw as cI,
|
|
20823
|
+
Qw as cJ,
|
|
20823
20824
|
Ra as cK,
|
|
20824
20825
|
Dm as cL,
|
|
20825
|
-
|
|
20826
|
+
hI as cM,
|
|
20826
20827
|
Ou as cN,
|
|
20827
20828
|
KS as cO,
|
|
20828
20829
|
XS as cP,
|
|
20829
|
-
|
|
20830
|
+
gI as cQ,
|
|
20830
20831
|
kt as cR,
|
|
20831
|
-
|
|
20832
|
-
|
|
20832
|
+
pw as cS,
|
|
20833
|
+
cw as cT,
|
|
20833
20834
|
tl as cU,
|
|
20834
20835
|
nt as cV,
|
|
20835
20836
|
ka as cW,
|
|
20836
|
-
|
|
20837
|
+
Hw as cX,
|
|
20837
20838
|
Ml as cY,
|
|
20838
|
-
|
|
20839
|
-
|
|
20839
|
+
Zw as cZ,
|
|
20840
|
+
Rw as c_,
|
|
20840
20841
|
zn as ca,
|
|
20841
|
-
|
|
20842
|
-
|
|
20843
|
-
|
|
20844
|
-
|
|
20842
|
+
aI as cb,
|
|
20843
|
+
iI as cc,
|
|
20844
|
+
cI as cd,
|
|
20845
|
+
DI as ce,
|
|
20845
20846
|
hy as cf,
|
|
20846
20847
|
AC as cg,
|
|
20847
20848
|
st as ch,
|
|
20848
|
-
|
|
20849
|
-
|
|
20850
|
-
|
|
20849
|
+
ew as ci,
|
|
20850
|
+
tw as cj,
|
|
20851
|
+
nI as ck,
|
|
20851
20852
|
fl as cl,
|
|
20852
20853
|
Wa as cm,
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
20854
|
+
Zx as cn,
|
|
20855
|
+
Qx as co,
|
|
20856
|
+
Jx as cp,
|
|
20856
20857
|
xl as cq,
|
|
20857
20858
|
Zh as cr,
|
|
20858
20859
|
vl as cs,
|
|
20859
|
-
|
|
20860
|
+
Ow as ct,
|
|
20860
20861
|
Dn as cu,
|
|
20861
20862
|
fp as cv,
|
|
20862
20863
|
pp as cw,
|
|
20863
|
-
|
|
20864
|
-
|
|
20864
|
+
lI as cx,
|
|
20865
|
+
dx as cy,
|
|
20865
20866
|
Th as cz,
|
|
20866
20867
|
FC as d,
|
|
20867
20868
|
Eh as d$,
|
|
@@ -20875,9 +20876,9 @@ export {
|
|
|
20875
20876
|
Yr as d7,
|
|
20876
20877
|
dr as d8,
|
|
20877
20878
|
Kr as d9,
|
|
20878
|
-
|
|
20879
|
-
|
|
20880
|
-
|
|
20879
|
+
Xw as dA,
|
|
20880
|
+
Gw as dB,
|
|
20881
|
+
fw as dC,
|
|
20881
20882
|
yt as dD,
|
|
20882
20883
|
Al as dE,
|
|
20883
20884
|
Fl as dF,
|
|
@@ -20885,23 +20886,23 @@ export {
|
|
|
20885
20886
|
Qs as dH,
|
|
20886
20887
|
bi as dI,
|
|
20887
20888
|
Lt as dJ,
|
|
20888
|
-
|
|
20889
|
-
|
|
20889
|
+
Bx as dK,
|
|
20890
|
+
Vx as dL,
|
|
20890
20891
|
qh as dM,
|
|
20891
|
-
|
|
20892
|
+
$x as dN,
|
|
20892
20893
|
Wh as dO,
|
|
20893
|
-
|
|
20894
|
+
zw as dP,
|
|
20894
20895
|
Vm as dQ,
|
|
20895
|
-
|
|
20896
|
-
|
|
20897
|
-
|
|
20896
|
+
aw as dR,
|
|
20897
|
+
iw as dS,
|
|
20898
|
+
sw as dT,
|
|
20898
20899
|
vp as dU,
|
|
20899
20900
|
Wo as dV,
|
|
20900
|
-
|
|
20901
|
-
|
|
20902
|
-
|
|
20903
|
-
|
|
20904
|
-
|
|
20901
|
+
yw as dW,
|
|
20902
|
+
_I as dX,
|
|
20903
|
+
lw as dY,
|
|
20904
|
+
cx as dZ,
|
|
20905
|
+
lx as d_,
|
|
20905
20906
|
Xr as da,
|
|
20906
20907
|
ur as db,
|
|
20907
20908
|
om as dc,
|
|
@@ -20909,7 +20910,7 @@ export {
|
|
|
20909
20910
|
Pe as de,
|
|
20910
20911
|
Ge as df,
|
|
20911
20912
|
Yb as dg,
|
|
20912
|
-
|
|
20913
|
+
PI as dh,
|
|
20913
20914
|
Se as di,
|
|
20914
20915
|
vn as dj,
|
|
20915
20916
|
ot as dk,
|
|
@@ -20918,76 +20919,76 @@ export {
|
|
|
20918
20919
|
Qb as dn,
|
|
20919
20920
|
kb as dp,
|
|
20920
20921
|
yn as dq,
|
|
20921
|
-
|
|
20922
|
+
CI as dr,
|
|
20922
20923
|
yl as ds,
|
|
20923
20924
|
tm as dt,
|
|
20924
20925
|
Ai as du,
|
|
20925
|
-
|
|
20926
|
-
|
|
20927
|
-
|
|
20926
|
+
Dw as dv,
|
|
20927
|
+
ex as dw,
|
|
20928
|
+
uI as dx,
|
|
20928
20929
|
qg as dy,
|
|
20929
20930
|
Sa as dz,
|
|
20930
20931
|
ay as e,
|
|
20931
20932
|
Vt as e0,
|
|
20932
20933
|
qo as e1,
|
|
20933
|
-
|
|
20934
|
-
|
|
20934
|
+
nx as e2,
|
|
20935
|
+
mw as e3,
|
|
20935
20936
|
Bl as e4,
|
|
20936
20937
|
b0 as e5,
|
|
20937
20938
|
Hu as e6,
|
|
20938
20939
|
v0 as e7,
|
|
20939
|
-
|
|
20940
|
+
sI as e8,
|
|
20940
20941
|
Ih as e9,
|
|
20941
20942
|
Hm as eA,
|
|
20942
20943
|
Gg as eB,
|
|
20943
20944
|
ey as eC,
|
|
20944
20945
|
Qg as eD,
|
|
20945
|
-
|
|
20946
|
+
ow as eE,
|
|
20946
20947
|
ri as eF,
|
|
20947
20948
|
Oi as ea,
|
|
20948
|
-
|
|
20949
|
-
|
|
20949
|
+
ax as eb,
|
|
20950
|
+
sx as ec,
|
|
20950
20951
|
Fh as ed,
|
|
20951
|
-
|
|
20952
|
+
mx as ee,
|
|
20952
20953
|
Rh as ef,
|
|
20953
20954
|
Ni as eg,
|
|
20954
|
-
|
|
20955
|
+
Ix as eh,
|
|
20955
20956
|
zh as ei,
|
|
20956
|
-
|
|
20957
|
-
|
|
20957
|
+
Rx as ej,
|
|
20958
|
+
Dx as ek,
|
|
20958
20959
|
Xl as el,
|
|
20959
|
-
|
|
20960
|
-
|
|
20960
|
+
gx as em,
|
|
20961
|
+
hx as en,
|
|
20961
20962
|
uo as eo,
|
|
20962
|
-
|
|
20963
|
-
|
|
20964
|
-
|
|
20965
|
-
|
|
20963
|
+
fx as ep,
|
|
20964
|
+
bx as eq,
|
|
20965
|
+
yx as er,
|
|
20966
|
+
px as es,
|
|
20966
20967
|
rl as et,
|
|
20967
20968
|
bt as eu,
|
|
20968
20969
|
Tl as ev,
|
|
20969
20970
|
Md as ew,
|
|
20970
|
-
|
|
20971
|
-
|
|
20972
|
-
|
|
20973
|
-
|
|
20971
|
+
Bw as ex,
|
|
20972
|
+
kw as ey,
|
|
20973
|
+
Lw as ez,
|
|
20974
|
+
xI as f,
|
|
20974
20975
|
uc as g,
|
|
20975
|
-
|
|
20976
|
-
|
|
20977
|
-
|
|
20976
|
+
rw as h,
|
|
20977
|
+
nw as i,
|
|
20978
|
+
bI as j,
|
|
20978
20979
|
sl as k,
|
|
20979
20980
|
wi as l,
|
|
20980
20981
|
xi as m,
|
|
20981
20982
|
ll as n,
|
|
20982
20983
|
cl as o,
|
|
20983
|
-
|
|
20984
|
-
|
|
20985
|
-
|
|
20986
|
-
|
|
20987
|
-
|
|
20984
|
+
Cw as p,
|
|
20985
|
+
Sw as q,
|
|
20986
|
+
ww as r,
|
|
20987
|
+
xw as s,
|
|
20988
|
+
Iw as t,
|
|
20988
20989
|
Ke as u,
|
|
20989
20990
|
xp as v,
|
|
20990
|
-
|
|
20991
|
+
Ew as w,
|
|
20991
20992
|
dl as x,
|
|
20992
20993
|
Ap as y,
|
|
20993
20994
|
ig as z
|