react-semaphor 0.1.334 → 0.1.335
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 +68 -232
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +435 -391
- package/dist/chunks/{braces-DlW7C5BH.js → braces-BLa_lORs.js} +1 -1
- package/dist/chunks/{braces-DYx37F5Z.js → braces-Q86XHDaD.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-CB5MA9gF.js → calendar-preferences-dialog-Bm7ji3k9.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-BLz4PrDX.js → calendar-preferences-dialog-Cocogo9H.js} +3 -3
- package/dist/chunks/catalog-field-grounding-DmT7aGUA.js +191 -0
- package/dist/chunks/catalog-field-grounding-VgVzDd25.js +1 -0
- package/dist/chunks/{chevrons-up-down-CP6oFMrt.js → chevrons-up-down-BBTZ5pAY.js} +1 -1
- package/dist/chunks/{chevrons-up-down-B_66pVv5.js → chevrons-up-down-CYuWasy_.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Bwz4mKOI.js → dashboard-briefing-launcher-BtqtLx1-.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-B7AxiecS.js → dashboard-briefing-launcher-DF4CoaRn.js} +4 -4
- package/dist/chunks/{dashboard-controls-DlN7FGW-.js → dashboard-controls-0VMAeMoa.js} +1 -1
- package/dist/chunks/{dashboard-controls-CbuKeeeP.js → dashboard-controls-B5U-VUxs.js} +6 -6
- package/dist/chunks/{dashboard-json-CeVrYTnR.js → dashboard-json-CqbLOfnr.js} +1 -1
- package/dist/chunks/{dashboard-json-gcpeSd5I.js → dashboard-json-Hmc0Ri5z.js} +2 -2
- package/dist/chunks/{edit-dashboard-visual-Kn1wtj-Z.js → edit-dashboard-visual-C0EDM0QB.js} +3 -3
- package/dist/chunks/{edit-dashboard-visual-BggRcCO2.js → edit-dashboard-visual-D4VVu-QQ.js} +1302 -1302
- package/dist/chunks/{index-CP3_hN7P.js → index-DE0vIuYG.js} +4 -4
- package/dist/chunks/{index-TA0tBZ1g.js → index-DzyUhzV3.js} +262 -270
- package/dist/chunks/{palette-BW7lzLOY.js → palette-B9AbDw0n.js} +1 -1
- package/dist/chunks/{palette-BueS2ZEM.js → palette-DalASD28.js} +1 -1
- package/dist/chunks/{resource-management-panel-vDrPcmXs.js → resource-management-panel-C4YydU9I.js} +3 -3
- package/dist/chunks/{resource-management-panel-DBYcMHVL.js → resource-management-panel-P9iNqBM1.js} +1 -1
- package/dist/chunks/{switch-B6fK1sl9.js → switch-BAYfpAEb.js} +1967 -2008
- package/dist/chunks/{switch-BT7khJGF.js → switch-CyRoZr5T.js} +35 -35
- package/dist/chunks/{use-create-flow-overlay-state-T8Su6dzu.js → use-create-flow-overlay-state-CbhjxI3W.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-DPYHfe-S.js → use-create-flow-overlay-state-P1LMwQ89.js} +3 -3
- package/dist/chunks/{use-visual-utils-wqosOqyY.js → use-visual-utils-CV6_-y4p.js} +1 -1
- package/dist/chunks/{use-visual-utils-Daov8_1p.js → use-visual-utils-lB-3Zk0b.js} +2 -2
- package/dist/chunks/validators-BuaRUBQI.js +561 -0
- package/dist/chunks/validators-x74uYpnG.js +2 -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 +378 -377
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +1 -1
- package/dist/data-app-builder-browser-runtime/index.cjs +1 -1
- package/dist/data-app-builder-browser-runtime/index.js +4 -9
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +1 -1
- 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 +90 -0
- package/dist/types/briefings.d.ts +12 -0
- package/dist/types/dashboard-authoring.d.ts +14 -0
- package/dist/types/data-app-builder.d.ts +14 -0
- package/dist/types/data-app-sdk.d.ts +14 -0
- package/dist/types/main.d.ts +14 -0
- package/package.json +1 -1
- package/dist/chunks/validators-DDAweCzB.js +0 -371
- package/dist/chunks/validators-odlRJblR.js +0 -2
|
@@ -19,7 +19,7 @@ import * as ee from "react";
|
|
|
19
19
|
import le, { createContext as Dr, useContext as zn, useState as X, useMemo as J, useEffect as xe, useCallback as ce, useRef as Fe, forwardRef as Ri, isValidElement as Eg, createElement as Ho, useLayoutEffect as Zs, useImperativeHandle as UY, memo as Ml, Component as WY, Suspense as hl, cloneElement as U5, Fragment as vw, useId as Oc, useSyncExternalStore as eN, useTransition as xme, useReducer as wme, Children as Cme, startTransition as qY, lazy as xw } from "react";
|
|
20
20
|
import * as oR from "react-dom";
|
|
21
21
|
import ww, { flushSync as mu, createPortal as um, unstable_batchedUpdates as oC } from "react-dom";
|
|
22
|
-
import { bB as gu, bC as Cw, bD as iR, E as Dn, bE as p2, bF as YY, u as te, bG as Sme, bl as
|
|
22
|
+
import { bB as gu, bC as Cw, bD as iR, E as Dn, bE as p2, bF as YY, u as te, bG as Sme, bl as nr, b5 as Ha, bH as u6, bI as Nme, bJ as kme, bK as _me, aH as Ime, bL as Eme, r as Os, a as Q, c as at, bM as Ou, bN as Al, bO as un, bP as mo, bQ as W5, bR as Xs, bS as q5, bT as Hn, bU as m2, bV as g2, bW as GY, bX as KY, bY as ZY, bZ as XY, b_ as Y5, b$ as G5, c0 as QY, c1 as JY, c2 as eG, c3 as Tme, aC as K5, c4 as b2, c5 as Z5, c6 as ba, c7 as tG, c8 as Rl, c9 as Sc, e as hr, B as ke, f as br, Z as wo, _ as Ir, $ as Er, a1 as Ur, a9 as nG, ca as X5, az as Zu, cb as Sw, aF as y2, aG as pi, cc as ao, cd as Dme, X as hn, g as va, W as ss, aE as pf, ce as YN, P as tr, b as sr, d as lr, aO as Mme, cf as Ame, aP as Rme, cg as Nw, L as mt, a2 as Yt, aK as Co, ch as Q5, a3 as Xt, a4 as Qt, a5 as nn, a6 as Jt, a7 as rt, R as aR, S as Pme, ci as Fme, cj as rG, ck as Ome, cl as GN, cm as sR, cn as zb, co as Bb, cp as d6, cq as Lme, cr as oG, cs as iG, ct as $me, cu as zme, cv as Bme, cw as Vme, aX as Nc, aL as kw, bt as J5, G as ft, aQ as dr, aA as aG, cx as lR, bk as sG, br as ls, bs as pl, cy as jme, cz as Hme, H as So, cA as lG, cB as KN, cC as cG, cD as uG, aI as v2, cE as x2, cF as eO, cG as tO, bv as Xu, cH as dG, bu as Qu, cI as Ume, cJ as nO, bw as rO, cK as Wme, bg as iT, aR as cs, cL as Vh, cM as Dp, y as qme, Y as rs, cN as fG, cO as Yme, aW as dm, cP as Gme, cQ as Li, bf as Qo, bd as Kme, be as Zme, J as ib, cR as oO, cS as hG, cT as pG, cU as mG, cV as ZN, a0 as ho, cW as Xme, b6 as gG, cX as bG, cY as Qme, cZ as Jme, c_ as ege, T as Ju, K as ed, M as Ti, O as tf, N as Lu, bz as Bd, bA as bu, c$ as fv, d0 as tN, d1 as nN, d2 as hv, d3 as xh, d4 as wh, d5 as al, d6 as rN, d7 as oN, d8 as pv, d9 as cR, da as uR, db as dR, dc as yG, n as kl, m as mf, dd as tge, de as M0, df as nge, dg as vG, dh as aT, di as sT, dj as rge, dk as oge, dl as ige, dm as age, dn as sge, dp as lge, aN as cge, dq as uge, dr as dge, ds as xG, dt as wG, C as w2, aY as CG, du as fge, dv as hge, b4 as SG, dw as pge, aD as mge, dx as gge, dy as NG, b7 as kG, dz as bge, ba as Vd, dA as Zv, bb as iO, dB as _G, dC as jy, bj as f6, dD as IG, dE as yge, dF as vge, dG as xge, dH as EG, dI as h6, dJ as TG, dK as Id, dL as DG, dM as MG, dN as aO, a8 as kc, dO as wge, dP as Cge, bn as C2, aJ as mv, aT as sO, Q as lO, A as Sge, dQ as Nge, dR as kge, V as AG, dS as _ge, dT as p6, dU as m6, dV as RG, dW as Ige, dX as Ege, dY as Tge, dZ as Dge, d_ as Mge, d$ as Age, e0 as Rge, e1 as Pge, e2 as Fge, w as fR, q as PG, p as FG, l as Oge, k as g6, e3 as hR, e4 as Lge, e5 as $ge, e6 as zge, e7 as Bge, e8 as Vge, e9 as nf, ea as cO, eb as oc, bx as jge, ec as Hge, ed as OG, ee as Uge, an as uO, ef as dO, ai as S2, aj as Wge, al as LG, eg as qge, am as lT, eh as Yge, ei as Gge, ej as Kge, a$ as Zge, b0 as Xge, at as Qge, ab as $G, ek as jl, ae as Jge, ag as zG, af as cT, as as BG, ao as VG, au as pR, ax as b6, aw as ebe, ah as jG, el as mR, em as jd, en as HG, eo as iC, ep as tbe, eq as fO, er as gR, es as hO, et as pO, aB as nbe, bm as UG, bo as _w, b8 as rbe, eu as obe, ev as ibe, ew as Xv, aU as abe, ex as sbe, U as mO, ey as lbe, bp as WG, bq as qG, ez as YG, eA as cbe, eB as ube, eC as dbe, eD as fbe, eE as GG } from "./switch-BAYfpAEb.js";
|
|
23
23
|
import { j as hbe } from "./index-CuHybtft.js";
|
|
24
24
|
import { c as Iw, d as pbe, A as mbe, r as KG } from "./index-CJdxSyQq.js";
|
|
25
25
|
import * as gbe from "react-dom/client";
|
|
@@ -384,7 +384,7 @@ JN.exports;
|
|
|
384
384
|
}
|
|
385
385
|
var Ft = Et();
|
|
386
386
|
function ve(de) {
|
|
387
|
-
return de == null ? de === void 0 ? k : y : Ze && Ze in Object(de) ?
|
|
387
|
+
return de == null ? de === void 0 ? k : y : Ze && Ze in Object(de) ? rr(de) : XE(de);
|
|
388
388
|
}
|
|
389
389
|
function qe(de) {
|
|
390
390
|
return oh(de) && ve(de) == s;
|
|
@@ -494,7 +494,7 @@ JN.exports;
|
|
|
494
494
|
var Ye = ge(de, Le);
|
|
495
495
|
return ut(Ye) ? Ye : void 0;
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function rr(de) {
|
|
498
498
|
var Le = Se.call(de, Ze), Ye = de[Ze];
|
|
499
499
|
try {
|
|
500
500
|
de[Ze] = void 0;
|
|
@@ -3488,7 +3488,7 @@ function kK(e, t) {
|
|
|
3488
3488
|
return `${e}${r}`;
|
|
3489
3489
|
}
|
|
3490
3490
|
function NO(e) {
|
|
3491
|
-
return
|
|
3491
|
+
return nr(e.dataType) === "date" ? ["label", "start", "end", "range"] : ["label", "value"];
|
|
3492
3492
|
}
|
|
3493
3493
|
function kO(e) {
|
|
3494
3494
|
return Kye(e) ? ["label", "value"] : ["value"];
|
|
@@ -9351,9 +9351,9 @@ function uk({
|
|
|
9351
9351
|
}
|
|
9352
9352
|
);
|
|
9353
9353
|
return s ? l : /* @__PURE__ */ C(tr, { modal: !0, children: [
|
|
9354
|
-
/* @__PURE__ */ d(
|
|
9354
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: l }),
|
|
9355
9355
|
/* @__PURE__ */ C(
|
|
9356
|
-
|
|
9356
|
+
lr,
|
|
9357
9357
|
{
|
|
9358
9358
|
align: "end",
|
|
9359
9359
|
sideOffset: 4,
|
|
@@ -16657,7 +16657,7 @@ function INe({
|
|
|
16657
16657
|
})
|
|
16658
16658
|
);
|
|
16659
16659
|
}
|
|
16660
|
-
function
|
|
16660
|
+
function rr(ue, Re) {
|
|
16661
16661
|
T(
|
|
16662
16662
|
(Be) => Be.map(
|
|
16663
16663
|
($e) => $e.type === "run" && $e.id === ue ? { ...$e, ...Re } : $e
|
|
@@ -16996,7 +16996,7 @@ function INe({
|
|
|
16996
16996
|
}
|
|
16997
16997
|
if (!Ns)
|
|
16998
16998
|
throw new Error("The browser runtime loop ended without a validation result.");
|
|
16999
|
-
Pi(Re, Ns.ok ? "complete" : "failed"),
|
|
16999
|
+
Pi(Re, Ns.ok ? "complete" : "failed"), rr(Re, {
|
|
17000
17000
|
status: Ns.ok ? "done" : "failed",
|
|
17001
17001
|
result: Ns,
|
|
17002
17002
|
error: Ns.error,
|
|
@@ -17007,7 +17007,7 @@ function INe({
|
|
|
17007
17007
|
);
|
|
17008
17008
|
} catch (xn) {
|
|
17009
17009
|
const oi = xn instanceof DOMException && xn.name === "AbortError", xr = oi ? "Timed out waiting for the browser runtime loop." : xn instanceof Error ? xn.message : String(xn);
|
|
17010
|
-
|
|
17010
|
+
rr(Re, {
|
|
17011
17011
|
status: oi ? "cancelled" : "failed",
|
|
17012
17012
|
error: xr,
|
|
17013
17013
|
result: {
|
|
@@ -17176,7 +17176,7 @@ function INe({
|
|
|
17176
17176
|
}
|
|
17177
17177
|
if (!ra)
|
|
17178
17178
|
throw new Error("The app-builder loop ended without a validation result.");
|
|
17179
|
-
Pi(Re, ra.ok ? "complete" : "failed"),
|
|
17179
|
+
Pi(Re, ra.ok ? "complete" : "failed"), rr(Re, {
|
|
17180
17180
|
status: ra.ok ? "done" : "failed",
|
|
17181
17181
|
result: ra,
|
|
17182
17182
|
error: ra.error,
|
|
@@ -17187,7 +17187,7 @@ function INe({
|
|
|
17187
17187
|
);
|
|
17188
17188
|
} catch (xn) {
|
|
17189
17189
|
const oi = xn instanceof DOMException && xn.name === "AbortError", xr = oi ? "Timed out waiting for the app-builder/bridge loop. The target app may still have updated through HMR." : xn instanceof Error ? xn.message : String(xn);
|
|
17190
|
-
|
|
17190
|
+
rr(Re, {
|
|
17191
17191
|
status: oi ? "cancelled" : "failed",
|
|
17192
17192
|
error: xr,
|
|
17193
17193
|
result: {
|
|
@@ -17856,7 +17856,7 @@ function INe({
|
|
|
17856
17856
|
}
|
|
17857
17857
|
),
|
|
17858
17858
|
/* @__PURE__ */ C(tr, { children: [
|
|
17859
|
-
/* @__PURE__ */ d(
|
|
17859
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
17860
17860
|
ke,
|
|
17861
17861
|
{
|
|
17862
17862
|
type: "button",
|
|
@@ -17869,7 +17869,7 @@ function INe({
|
|
|
17869
17869
|
}
|
|
17870
17870
|
) }),
|
|
17871
17871
|
/* @__PURE__ */ d(
|
|
17872
|
-
|
|
17872
|
+
lr,
|
|
17873
17873
|
{
|
|
17874
17874
|
align: "start",
|
|
17875
17875
|
side: "top",
|
|
@@ -18031,7 +18031,7 @@ function INe({
|
|
|
18031
18031
|
tn(ue), ue && eC();
|
|
18032
18032
|
},
|
|
18033
18033
|
children: [
|
|
18034
|
-
/* @__PURE__ */ d(
|
|
18034
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
18035
18035
|
ke,
|
|
18036
18036
|
{
|
|
18037
18037
|
type: "button",
|
|
@@ -18046,7 +18046,7 @@ function INe({
|
|
|
18046
18046
|
}
|
|
18047
18047
|
) }),
|
|
18048
18048
|
/* @__PURE__ */ C(
|
|
18049
|
-
|
|
18049
|
+
lr,
|
|
18050
18050
|
{
|
|
18051
18051
|
align: "end",
|
|
18052
18052
|
sideOffset: 6,
|
|
@@ -18177,7 +18177,7 @@ function INe({
|
|
|
18177
18177
|
}
|
|
18178
18178
|
) : null,
|
|
18179
18179
|
/* @__PURE__ */ C(tr, { children: [
|
|
18180
|
-
/* @__PURE__ */ d(
|
|
18180
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
18181
18181
|
ke,
|
|
18182
18182
|
{
|
|
18183
18183
|
type: "button",
|
|
@@ -18192,7 +18192,7 @@ function INe({
|
|
|
18192
18192
|
}
|
|
18193
18193
|
) }),
|
|
18194
18194
|
/* @__PURE__ */ d(
|
|
18195
|
-
|
|
18195
|
+
lr,
|
|
18196
18196
|
{
|
|
18197
18197
|
align: "end",
|
|
18198
18198
|
sideOffset: 6,
|
|
@@ -18546,7 +18546,7 @@ function s3({
|
|
|
18546
18546
|
) : null
|
|
18547
18547
|
] });
|
|
18548
18548
|
return e.type === "dom-selection" ? /* @__PURE__ */ C(tr, { children: [
|
|
18549
|
-
/* @__PURE__ */ d(
|
|
18549
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
18550
18550
|
"button",
|
|
18551
18551
|
{
|
|
18552
18552
|
type: "button",
|
|
@@ -18555,7 +18555,7 @@ function s3({
|
|
|
18555
18555
|
children: n
|
|
18556
18556
|
}
|
|
18557
18557
|
) }),
|
|
18558
|
-
/* @__PURE__ */ C(
|
|
18558
|
+
/* @__PURE__ */ C(lr, { align: "start", sideOffset: 6, className: "w-[420px] p-0", children: [
|
|
18559
18559
|
/* @__PURE__ */ C("div", { className: "border-b border-border px-3 py-2", children: [
|
|
18560
18560
|
/* @__PURE__ */ d("div", { className: "text-[12px] font-medium text-foreground", children: "Captured DOM context" }),
|
|
18561
18561
|
/* @__PURE__ */ d("div", { className: "mt-0.5 truncate text-[11px] text-muted-foreground", children: e.name })
|
|
@@ -24541,7 +24541,7 @@ function eIe({
|
|
|
24541
24541
|
filterValue: t,
|
|
24542
24542
|
timezone: n
|
|
24543
24543
|
}) {
|
|
24544
|
-
const r = e.exports || NO(e.filter), o = (t == null ? void 0 : t.values) || [], i =
|
|
24544
|
+
const r = e.exports || NO(e.filter), o = (t == null ? void 0 : t.values) || [], i = nr(e.filter.dataType) === "date", a = o.map(lIe), s = i ? a.length > 1 ? `${a[0]} - ${a[1]}` : a[0] || "" : a.join(", "), l = {};
|
|
24545
24545
|
for (const c of r)
|
|
24546
24546
|
c === "start" ? l.start = a[0] || null : c === "end" ? l.end = a[1] || null : c === "range" ? l.range = s || null : l[c] = s || null;
|
|
24547
24547
|
return l;
|
|
@@ -25333,7 +25333,7 @@ function FIe(e) {
|
|
|
25333
25333
|
function OIe(e) {
|
|
25334
25334
|
var t;
|
|
25335
25335
|
return ((t = e == null ? void 0 : e.groupByColumns) == null ? void 0 : t.find(
|
|
25336
|
-
(n) =>
|
|
25336
|
+
(n) => nr(n.dataType || "") === "date"
|
|
25337
25337
|
)) || null;
|
|
25338
25338
|
}
|
|
25339
25339
|
function LIe(e) {
|
|
@@ -29288,7 +29288,7 @@ function wk(e, t) {
|
|
|
29288
29288
|
percentValueMode: e.percentValueMode
|
|
29289
29289
|
};
|
|
29290
29290
|
}
|
|
29291
|
-
function
|
|
29291
|
+
function ir(e, t = "auto", n = {}) {
|
|
29292
29292
|
switch (t === "auto" && (t = WTe(e, n)), t) {
|
|
29293
29293
|
case "number":
|
|
29294
29294
|
return vee(e, n);
|
|
@@ -29377,7 +29377,7 @@ function WTe(e, t) {
|
|
|
29377
29377
|
return t.currency ? "currency" : typeof e == "string" && !isNaN(Date.parse(e)) ? "date" : "number";
|
|
29378
29378
|
}
|
|
29379
29379
|
function qTe(e, t = {}) {
|
|
29380
|
-
return (n) =>
|
|
29380
|
+
return (n) => ir(n, e, t);
|
|
29381
29381
|
}
|
|
29382
29382
|
function fx({
|
|
29383
29383
|
number: e,
|
|
@@ -29886,7 +29886,7 @@ function Xw(e) {
|
|
|
29886
29886
|
function px(e) {
|
|
29887
29887
|
var o, i, a, s, l;
|
|
29888
29888
|
const { value: t, formatOptions: n, preferences: r } = e;
|
|
29889
|
-
return n != null && n.type && n.type !== "auto" ?
|
|
29889
|
+
return n != null && n.type && n.type !== "auto" ? ir(t, n.type, n) : fx({
|
|
29890
29890
|
number: t,
|
|
29891
29891
|
decimalPlaces: ((o = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : o.decimalPlaces) ?? 0,
|
|
29892
29892
|
useSuffix: !!((i = r == null ? void 0 : r.numberAxisFormat) != null && i.suffix),
|
|
@@ -29933,7 +29933,7 @@ function lB(e, t, n, r, o) {
|
|
|
29933
29933
|
});
|
|
29934
29934
|
if (b != null && b.type && b.type !== "auto")
|
|
29935
29935
|
return Zy(
|
|
29936
|
-
|
|
29936
|
+
ir(p, b.type, b),
|
|
29937
29937
|
i
|
|
29938
29938
|
);
|
|
29939
29939
|
if ((g == null ? void 0 : g.type) === "number")
|
|
@@ -36672,7 +36672,7 @@ function BRe(e, t, n) {
|
|
|
36672
36672
|
function VRe(e, t, n, r) {
|
|
36673
36673
|
return !n || e.type === "mouseout" ? null : r ? t : e;
|
|
36674
36674
|
}
|
|
36675
|
-
class
|
|
36675
|
+
class or {
|
|
36676
36676
|
static register(...t) {
|
|
36677
36677
|
Eo.add(...t), cV();
|
|
36678
36678
|
}
|
|
@@ -37147,9 +37147,9 @@ class rr {
|
|
|
37147
37147
|
return this.getElementsAtEventForMode(t, i.mode, i, o);
|
|
37148
37148
|
}
|
|
37149
37149
|
}
|
|
37150
|
-
Me(
|
|
37150
|
+
Me(or, "defaults", lo), Me(or, "instances", yN), Me(or, "overrides", zp), Me(or, "registry", Eo), Me(or, "version", LRe), Me(or, "getChart", lV);
|
|
37151
37151
|
function cV() {
|
|
37152
|
-
return Nr(
|
|
37152
|
+
return Nr(or.instances, (e) => e._plugins.invalidate());
|
|
37153
37153
|
}
|
|
37154
37154
|
function jRe(e, t, n) {
|
|
37155
37155
|
const { startAngle: r, x: o, y: i, outerRadius: a, innerRadius: s, options: l } = t, { borderWidth: c, borderJoinStyle: u } = l, f = Math.min(c / a, ji(r - n));
|
|
@@ -40212,13 +40212,13 @@ const _Fe = [
|
|
|
40212
40212
|
];
|
|
40213
40213
|
function IFe() {
|
|
40214
40214
|
return function(e) {
|
|
40215
|
-
const t =
|
|
40215
|
+
const t = or.defaults.plugins.legend.labels.generateLabels;
|
|
40216
40216
|
return t(e).map((r) => (r.pointStyle = "rect", r));
|
|
40217
40217
|
};
|
|
40218
40218
|
}
|
|
40219
40219
|
function EFe() {
|
|
40220
40220
|
return function(e) {
|
|
40221
|
-
const t = e.data.datasets || [], n =
|
|
40221
|
+
const t = e.data.datasets || [], n = or.defaults.plugins.legend.labels.generateLabels;
|
|
40222
40222
|
return n(e).map((o) => {
|
|
40223
40223
|
const i = o.datasetIndex;
|
|
40224
40224
|
if (i !== void 0 && t[i]) {
|
|
@@ -40231,13 +40231,13 @@ function EFe() {
|
|
|
40231
40231
|
}
|
|
40232
40232
|
function TFe() {
|
|
40233
40233
|
return function(e) {
|
|
40234
|
-
const t =
|
|
40234
|
+
const t = or.defaults.plugins.legend.labels.generateLabels;
|
|
40235
40235
|
return t(e).map((r) => (r.pointStyle = "rect", r));
|
|
40236
40236
|
};
|
|
40237
40237
|
}
|
|
40238
40238
|
function DFe() {
|
|
40239
40239
|
return function(e) {
|
|
40240
|
-
const t = e.data.datasets || [], n =
|
|
40240
|
+
const t = e.data.datasets || [], n = or.defaults.plugins.legend.labels.generateLabels;
|
|
40241
40241
|
return n(e).map((o) => {
|
|
40242
40242
|
const i = o.datasetIndex;
|
|
40243
40243
|
if (i !== void 0 && t[i]) {
|
|
@@ -40359,9 +40359,9 @@ function OV(e, t, n, r) {
|
|
|
40359
40359
|
return "";
|
|
40360
40360
|
if (r === "range" && Array.isArray(o)) {
|
|
40361
40361
|
const i = e || {}, a = e == null ? void 0 : e.type;
|
|
40362
|
-
return o.slice(0, 2).map((l) => a && a !== "auto" ?
|
|
40362
|
+
return o.slice(0, 2).map((l) => a && a !== "auto" ? ir(Number(l), a, i) : l).join(" - ");
|
|
40363
40363
|
}
|
|
40364
|
-
return t ? o : e != null && e.type && e.type !== "auto" ?
|
|
40364
|
+
return t ? o : e != null && e.type && e.type !== "auto" ? ir(
|
|
40365
40365
|
Number(o),
|
|
40366
40366
|
e.type,
|
|
40367
40367
|
e
|
|
@@ -40451,7 +40451,7 @@ function Jb(e, t, n, r, o) {
|
|
|
40451
40451
|
if (ne != null && ne !== "")
|
|
40452
40452
|
return ne;
|
|
40453
40453
|
const ae = (typeof (K == null ? void 0 : K.y) == "number" ? K == null ? void 0 : K.y : Number(K == null ? void 0 : K.y)) ?? (typeof (K == null ? void 0 : K.x) == "number" ? K == null ? void 0 : K.x : Number(K == null ? void 0 : K.x)) ?? Number(U);
|
|
40454
|
-
return Number.isFinite(ae) ? y ? ae : x != null && x.type && x.type !== "auto" ?
|
|
40454
|
+
return Number.isFinite(ae) ? y ? ae : x != null && x.type && x.type !== "auto" ? ir(
|
|
40455
40455
|
ae,
|
|
40456
40456
|
x.type,
|
|
40457
40457
|
x
|
|
@@ -40724,7 +40724,7 @@ function Ote(e, t) {
|
|
|
40724
40724
|
...(y = (b = (g = e == null ? void 0 : e.options) == null ? void 0 : g.scales) == null ? void 0 : b[n]) == null ? void 0 : y.ticks,
|
|
40725
40725
|
callback: (k) => {
|
|
40726
40726
|
var I, E, _, T;
|
|
40727
|
-
return i != null && i.type && i.type !== "auto" ?
|
|
40727
|
+
return i != null && i.type && i.type !== "auto" ? ir(
|
|
40728
40728
|
Number(k),
|
|
40729
40729
|
i.type,
|
|
40730
40730
|
i
|
|
@@ -40750,7 +40750,7 @@ function Ote(e, t) {
|
|
|
40750
40750
|
...(N = (S = e == null ? void 0 : e.options) == null ? void 0 : S.plugins) == null ? void 0 : N.datalabels,
|
|
40751
40751
|
formatter: function(k) {
|
|
40752
40752
|
var I, E, _, T;
|
|
40753
|
-
return i != null && i.type && i.type !== "auto" ?
|
|
40753
|
+
return i != null && i.type && i.type !== "auto" ? ir(
|
|
40754
40754
|
Number(k),
|
|
40755
40755
|
i.type,
|
|
40756
40756
|
i
|
|
@@ -40964,9 +40964,9 @@ function VFe(e, t, n, r) {
|
|
|
40964
40964
|
axis: i(g)
|
|
40965
40965
|
}).formatOptions;
|
|
40966
40966
|
if (b != null && b.type && b.type !== "auto")
|
|
40967
|
-
return
|
|
40967
|
+
return ir(m, b.type, b);
|
|
40968
40968
|
const y = Xw(t);
|
|
40969
|
-
return y != null && y.type && y.type !== "auto" ?
|
|
40969
|
+
return y != null && y.type && y.type !== "auto" ? ir(m, y.type, y) : fx({
|
|
40970
40970
|
number: m,
|
|
40971
40971
|
decimalPlaces: ((x = t == null ? void 0 : t.numberAxisFormat) == null ? void 0 : x.decimalPlaces) || 0,
|
|
40972
40972
|
useSuffix: !!((v = t == null ? void 0 : t.numberAxisFormat) != null && v.suffix),
|
|
@@ -41042,7 +41042,7 @@ function Cg(e, t, n) {
|
|
|
41042
41042
|
i[r] = e + r * n;
|
|
41043
41043
|
return i;
|
|
41044
41044
|
}
|
|
41045
|
-
var yn = 1e-6, IL = 1e-12, Vn = Math.PI, Mo = Vn / 2, LV = Vn / 4, ms = Vn * 2, fa = 180 / Vn, zr = Vn / 180,
|
|
41045
|
+
var yn = 1e-6, IL = 1e-12, Vn = Math.PI, Mo = Vn / 2, LV = Vn / 4, ms = Vn * 2, fa = 180 / Vn, zr = Vn / 180, cr = Math.abs, ey = Math.atan, Tc = Math.atan2, En = Math.cos, zC = Math.ceil, $te = Math.exp, Pk = Math.log, yD = Math.pow, Cn = Math.sin, Vs = Math.sign || function(e) {
|
|
41046
41046
|
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
41047
41047
|
}, wa = Math.sqrt, EL = Math.tan;
|
|
41048
41048
|
function zte(e) {
|
|
@@ -41134,7 +41134,7 @@ function IP(e, t) {
|
|
|
41134
41134
|
}), n;
|
|
41135
41135
|
}
|
|
41136
41136
|
function EP(e, t) {
|
|
41137
|
-
return
|
|
41137
|
+
return cr(e) > Vn && (e -= Math.round(e / ms) * ms), [e, t];
|
|
41138
41138
|
}
|
|
41139
41139
|
EP.invert = EP;
|
|
41140
41140
|
function Bte(e, t, n) {
|
|
@@ -41142,7 +41142,7 @@ function Bte(e, t, n) {
|
|
|
41142
41142
|
}
|
|
41143
41143
|
function VV(e) {
|
|
41144
41144
|
return function(t, n) {
|
|
41145
|
-
return t += e,
|
|
41145
|
+
return t += e, cr(t) > Vn && (t -= Math.round(t / ms) * ms), [t, n];
|
|
41146
41146
|
};
|
|
41147
41147
|
}
|
|
41148
41148
|
function jV(e) {
|
|
@@ -41208,7 +41208,7 @@ function Vte() {
|
|
|
41208
41208
|
};
|
|
41209
41209
|
}
|
|
41210
41210
|
function vN(e, t) {
|
|
41211
|
-
return
|
|
41211
|
+
return cr(e[0] - t[0]) < yn && cr(e[1] - t[1]) < yn;
|
|
41212
41212
|
}
|
|
41213
41213
|
function jC(e, t, n, r) {
|
|
41214
41214
|
this.x = e, this.z = t, this.o = n, this.e = r, this.v = !1, this.n = this.p = null;
|
|
@@ -41262,7 +41262,7 @@ function WV(e) {
|
|
|
41262
41262
|
}
|
|
41263
41263
|
}
|
|
41264
41264
|
function xD(e) {
|
|
41265
|
-
return
|
|
41265
|
+
return cr(e[0]) <= Vn ? e[0] : Vs(e[0]) * ((cr(e[0]) + Vn) % ms - Vn);
|
|
41266
41266
|
}
|
|
41267
41267
|
function Hte(e, t) {
|
|
41268
41268
|
var n = xD(t), r = t[1], o = Cn(r), i = [Cn(n), -En(n), 0], a = 0, s = 0, l = new Nf();
|
|
@@ -41356,8 +41356,8 @@ function YFe(e) {
|
|
|
41356
41356
|
e.lineStart(), o = 1;
|
|
41357
41357
|
},
|
|
41358
41358
|
point: function(i, a) {
|
|
41359
|
-
var s = i > 0 ? Vn : -Vn, l =
|
|
41360
|
-
|
|
41359
|
+
var s = i > 0 ? Vn : -Vn, l = cr(i - t);
|
|
41360
|
+
cr(l - Vn) < yn ? (e.point(t, n = (n + a) / 2 > 0 ? Mo : -Mo), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(s, n), e.point(i, n), o = 0) : r !== s && l >= Vn && (cr(t - r) < yn && (t -= r * yn), cr(i - s) < yn && (i -= s * yn), n = GFe(t, n, i, a), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(s, n), o = 0), e.point(t = i, n = a), r = s;
|
|
41361
41361
|
},
|
|
41362
41362
|
lineEnd: function() {
|
|
41363
41363
|
e.lineEnd(), t = n = NaN;
|
|
@@ -41369,20 +41369,20 @@ function YFe(e) {
|
|
|
41369
41369
|
}
|
|
41370
41370
|
function GFe(e, t, n, r) {
|
|
41371
41371
|
var o, i, a = Cn(e - n);
|
|
41372
|
-
return
|
|
41372
|
+
return cr(a) > yn ? ey((Cn(t) * (i = En(r)) * Cn(n) - Cn(r) * (o = En(t)) * Cn(e)) / (o * i * a)) : (t + r) / 2;
|
|
41373
41373
|
}
|
|
41374
41374
|
function KFe(e, t, n, r) {
|
|
41375
41375
|
var o;
|
|
41376
41376
|
if (e == null)
|
|
41377
41377
|
o = n * Mo, r.point(-Vn, o), r.point(0, o), r.point(Vn, o), r.point(Vn, 0), r.point(Vn, -o), r.point(0, -o), r.point(-Vn, -o), r.point(-Vn, 0), r.point(-Vn, o);
|
|
41378
|
-
else if (
|
|
41378
|
+
else if (cr(e[0] - t[0]) > yn) {
|
|
41379
41379
|
var i = e[0] < t[0] ? Vn : -Vn;
|
|
41380
41380
|
o = n * i / 2, r.point(-i, o), r.point(0, o), r.point(i, o);
|
|
41381
41381
|
} else
|
|
41382
41382
|
r.point(t[0], t[1]);
|
|
41383
41383
|
}
|
|
41384
41384
|
function ZFe(e) {
|
|
41385
|
-
var t = En(e), n = 2 * zr, r = t > 0, o =
|
|
41385
|
+
var t = En(e), n = 2 * zr, r = t > 0, o = cr(t) > yn;
|
|
41386
41386
|
function i(u, f, h, p) {
|
|
41387
41387
|
UFe(p, e, n, h, u, f);
|
|
41388
41388
|
}
|
|
@@ -41426,8 +41426,8 @@ function ZFe(e) {
|
|
|
41426
41426
|
if (vD(F, k), F = kP(F), !h) return F;
|
|
41427
41427
|
var R = u[0], B = f[0], z = u[1], H = f[1], q;
|
|
41428
41428
|
B < R && (q = R, R = B, B = q);
|
|
41429
|
-
var O = B - R, G =
|
|
41430
|
-
if (!G && H < z && (q = z, z = H, H = q), W ? G ? z + H > 0 ^ F[1] < (
|
|
41429
|
+
var O = B - R, G = cr(O - Vn) < yn, W = G || O < yn;
|
|
41430
|
+
if (!G && H < z && (q = z, z = H, H = q), W ? G ? z + H > 0 ^ F[1] < (cr(F[0] - R) < yn ? z : H) : z <= F[1] && F[1] <= H : O > Vn ^ (R <= F[0] && F[0] <= B)) {
|
|
41431
41431
|
var M = VC(E, (-_ + P) / T);
|
|
41432
41432
|
return vD(M, k), [F, kP(M)];
|
|
41433
41433
|
}
|
|
@@ -41494,7 +41494,7 @@ function QFe(e, t, n, r) {
|
|
|
41494
41494
|
h.point(u[0], u[1]);
|
|
41495
41495
|
}
|
|
41496
41496
|
function a(c, u) {
|
|
41497
|
-
return
|
|
41497
|
+
return cr(c[0] - e) < yn ? u > 0 ? 0 : 3 : cr(c[0] - n) < yn ? u > 0 ? 2 : 1 : cr(c[1] - t) < yn ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2;
|
|
41498
41498
|
}
|
|
41499
41499
|
function s(c, u) {
|
|
41500
41500
|
return l(c.x, u.x);
|
|
@@ -41566,7 +41566,7 @@ function t5e(e, t) {
|
|
|
41566
41566
|
}
|
|
41567
41567
|
function n5e(e, t) {
|
|
41568
41568
|
e *= zr, t *= zr;
|
|
41569
|
-
var n = Cn(t), r = En(t), o =
|
|
41569
|
+
var n = Cn(t), r = En(t), o = cr(e - DP), i = En(o), a = Cn(o), s = r * a, l = wN * n - xN * r * i, c = xN * n + wN * r * i;
|
|
41570
41570
|
TP.add(Tc(wa(s * s + l * l), c)), DP = e, xN = n, wN = r;
|
|
41571
41571
|
}
|
|
41572
41572
|
function r5e(e) {
|
|
@@ -41663,9 +41663,9 @@ function qte() {
|
|
|
41663
41663
|
}
|
|
41664
41664
|
function x() {
|
|
41665
41665
|
return Cg(zC(r / u) * u, n, u).map(m).concat(Cg(zC(s / f) * f, a, f).map(g)).concat(Cg(zC(t / l) * l, e, l).filter(function(v) {
|
|
41666
|
-
return
|
|
41666
|
+
return cr(v % u) > yn;
|
|
41667
41667
|
}).map(h)).concat(Cg(zC(i / c) * c, o, c).filter(function(v) {
|
|
41668
|
-
return
|
|
41668
|
+
return cr(v % f) > yn;
|
|
41669
41669
|
}).map(p));
|
|
41670
41670
|
}
|
|
41671
41671
|
return y.lines = function() {
|
|
@@ -41711,7 +41711,7 @@ var wD = new Nf(), PP = new Nf(), Yte, Gte, FP, OP, fu = {
|
|
|
41711
41711
|
fu.lineStart = l5e, fu.lineEnd = u5e;
|
|
41712
41712
|
},
|
|
41713
41713
|
polygonEnd: function() {
|
|
41714
|
-
fu.lineStart = fu.lineEnd = fu.point = ci, wD.add(
|
|
41714
|
+
fu.lineStart = fu.lineEnd = fu.point = ci, wD.add(cr(PP)), PP = new Nf();
|
|
41715
41715
|
},
|
|
41716
41716
|
result: function() {
|
|
41717
41717
|
var e = wD / 2;
|
|
@@ -42017,8 +42017,8 @@ function w5e(e, t) {
|
|
|
42017
42017
|
function n(r, o, i, a, s, l, c, u, f, h, p, m, g, b) {
|
|
42018
42018
|
var y = c - r, x = u - o, v = y * y + x * x;
|
|
42019
42019
|
if (v > 4 * t && g--) {
|
|
42020
|
-
var w = a + h, S = s + p, N = l + m, k = wa(w * w + S * S + N * N), I = Ws(N /= k), E =
|
|
42021
|
-
(R * R / v > t ||
|
|
42020
|
+
var w = a + h, S = s + p, N = l + m, k = wa(w * w + S * S + N * N), I = Ws(N /= k), E = cr(cr(N) - 1) < yn || cr(i - f) < yn ? (i + f) / 2 : Tc(S, w), _ = e(E, I), T = _[0], D = _[1], P = T - r, F = D - o, R = x * P - y * F;
|
|
42021
|
+
(R * R / v > t || cr((y * P + x * F) / v - 0.5) > 0.3 || a * h + s * p + l * m < v5e) && (n(r, o, i, a, s, l, T, D, E, w /= k, S /= k, N, g, b), b.point(T, D), n(T, D, E, w, S, N, c, u, f, h, p, m, g, b));
|
|
42022
42022
|
}
|
|
42023
42023
|
}
|
|
42024
42024
|
return function(r) {
|
|
@@ -42165,14 +42165,14 @@ function k5e(e) {
|
|
|
42165
42165
|
}
|
|
42166
42166
|
function _5e(e, t) {
|
|
42167
42167
|
var n = Cn(e), r = (n + Cn(t)) / 2;
|
|
42168
|
-
if (
|
|
42168
|
+
if (cr(r) < yn) return k5e(e);
|
|
42169
42169
|
var o = 1 + n * (2 * r - n), i = wa(o) / r;
|
|
42170
42170
|
function a(s, l) {
|
|
42171
42171
|
var c = wa(o - 2 * r * Cn(l)) / r;
|
|
42172
42172
|
return [c * Cn(s *= r), i - c * En(s)];
|
|
42173
42173
|
}
|
|
42174
42174
|
return a.invert = function(s, l) {
|
|
42175
|
-
var c = i - l, u = Tc(s,
|
|
42175
|
+
var c = i - l, u = Tc(s, cr(c)) * Vs(c);
|
|
42176
42176
|
return c * r < 0 && (u -= Vn * Vs(s) * Vs(c)), [u / r, Ws((o - (s * s + c * c) * r * r) / (2 * r))];
|
|
42177
42177
|
}, a;
|
|
42178
42178
|
}
|
|
@@ -42314,7 +42314,7 @@ function A5e(e, t) {
|
|
|
42314
42314
|
return [l * Cn(r * a), o - l * En(r * a)];
|
|
42315
42315
|
}
|
|
42316
42316
|
return i.invert = function(a, s) {
|
|
42317
|
-
var l = o - s, c = Vs(r) * wa(a * a + l * l), u = Tc(a,
|
|
42317
|
+
var l = o - s, c = Vs(r) * wa(a * a + l * l), u = Tc(a, cr(l)) * Vs(l);
|
|
42318
42318
|
return l * r < 0 && (u -= Vn * Vs(a) * Vs(l)), [u / r, 2 * ey(yD(o / c, 1 / r)) - Mo];
|
|
42319
42319
|
}, i;
|
|
42320
42320
|
}
|
|
@@ -42330,13 +42330,13 @@ function P5e() {
|
|
|
42330
42330
|
}
|
|
42331
42331
|
function F5e(e, t) {
|
|
42332
42332
|
var n = En(e), r = e === t ? Cn(e) : (n - En(t)) / (t - e), o = n / r + e;
|
|
42333
|
-
if (
|
|
42333
|
+
if (cr(r) < yn) return Wk;
|
|
42334
42334
|
function i(a, s) {
|
|
42335
42335
|
var l = o - s, c = r * a;
|
|
42336
42336
|
return [l * Cn(c), o - l * En(c)];
|
|
42337
42337
|
}
|
|
42338
42338
|
return i.invert = function(a, s) {
|
|
42339
|
-
var l = o - s, c = Tc(a,
|
|
42339
|
+
var l = o - s, c = Tc(a, cr(l)) * Vs(l);
|
|
42340
42340
|
return l * r < 0 && (c -= Vn * Vs(a) * Vs(l)), [c / r, o - Vs(r) * wa(a * a + l * l)];
|
|
42341
42341
|
}, i;
|
|
42342
42342
|
}
|
|
@@ -42352,7 +42352,7 @@ function hne(e, t) {
|
|
|
42352
42352
|
];
|
|
42353
42353
|
}
|
|
42354
42354
|
hne.invert = function(e, t) {
|
|
42355
|
-
for (var n = t, r = n * n, o = r * r * r, i = 0, a, s, l; i < L5e && (s = n * (Sv + Nv * r + o * (kv + _v * r)) - t, l = Sv + 3 * Nv * r + o * (7 * kv + 9 * _v * r), n -= a = s / l, r = n * n, o = r * r * r, !(
|
|
42355
|
+
for (var n = t, r = n * n, o = r * r * r, i = 0, a, s, l; i < L5e && (s = n * (Sv + Nv * r + o * (kv + _v * r)) - t, l = Sv + 3 * Nv * r + o * (7 * kv + 9 * _v * r), n -= a = s / l, r = n * n, o = r * r * r, !(cr(a) < IL)); ++i)
|
|
42356
42356
|
;
|
|
42357
42357
|
return [
|
|
42358
42358
|
qk * e * (Sv + 3 * Nv * r + o * (7 * kv + 9 * _v * r)) / En(n),
|
|
@@ -42382,7 +42382,7 @@ mne.invert = function(e, t) {
|
|
|
42382
42382
|
do {
|
|
42383
42383
|
var i = n * n, a = i * i;
|
|
42384
42384
|
n -= o = (n * (1.007226 + i * (0.015085 + a * (-0.044475 + 0.028874 * i - 5916e-6 * a))) - t) / (1.007226 + i * (0.015085 * 3 + a * (-0.044475 * 7 + 0.028874 * 9 * i - 5916e-6 * 11 * a)));
|
|
42385
|
-
} while (
|
|
42385
|
+
} while (cr(o) > yn && --r > 0);
|
|
42386
42386
|
return [
|
|
42387
42387
|
e / (0.8707 + (i = n * n) * (-0.131979 + i * (-0.013791 + i * i * i * (3971e-6 - 1529e-6 * i)))),
|
|
42388
42388
|
n
|
|
@@ -43917,7 +43917,7 @@ ny.overrides = Uo({}, [
|
|
|
43917
43917
|
}
|
|
43918
43918
|
}
|
|
43919
43919
|
]);
|
|
43920
|
-
class A3e extends
|
|
43920
|
+
class A3e extends or {
|
|
43921
43921
|
constructor(t, n) {
|
|
43922
43922
|
super(t, Ane("choropleth", n, ny, Gu, [kf, xm]));
|
|
43923
43923
|
}
|
|
@@ -44007,7 +44007,7 @@ ry.overrides = Uo({}, [
|
|
|
44007
44007
|
}
|
|
44008
44008
|
}
|
|
44009
44009
|
]);
|
|
44010
|
-
class R3e extends
|
|
44010
|
+
class R3e extends or {
|
|
44011
44011
|
constructor(t, n) {
|
|
44012
44012
|
super(t, Ane("bubbleMap", n, ry, Gu, [_f, xm]));
|
|
44013
44013
|
}
|
|
@@ -44520,7 +44520,7 @@ function K3e(e, t, n, r, o, i) {
|
|
|
44520
44520
|
preferences: r,
|
|
44521
44521
|
metric: f
|
|
44522
44522
|
})).formatOptions;
|
|
44523
|
-
return h != null && h.type && h.type !== "auto" ?
|
|
44523
|
+
return h != null && h.type && h.type !== "auto" ? ir(s, h.type, h) : Gk(s, c, t, r, i);
|
|
44524
44524
|
};
|
|
44525
44525
|
return {
|
|
44526
44526
|
title: (s) => {
|
|
@@ -44589,9 +44589,9 @@ function Gk(e, t, n, r, o) {
|
|
|
44589
44589
|
axisConfig: t === "x" ? r == null ? void 0 : r.xAxisConfig : r == null ? void 0 : r.yAxisConfig
|
|
44590
44590
|
}).formatOptions;
|
|
44591
44591
|
if (i != null && i.type && i.type !== "auto")
|
|
44592
|
-
return
|
|
44592
|
+
return ir(e, i.type, i);
|
|
44593
44593
|
const a = Xw(r);
|
|
44594
|
-
return a != null && a.type && a.type !== "auto" ?
|
|
44594
|
+
return a != null && a.type && a.type !== "auto" ? ir(e, a.type, a) : ir(e, n.format, n.options);
|
|
44595
44595
|
}
|
|
44596
44596
|
function Q3e(e) {
|
|
44597
44597
|
if (!(e != null && e.interactionConfig)) return !1;
|
|
@@ -45294,7 +45294,7 @@ function pLe(e, t) {
|
|
|
45294
45294
|
}).filter(Boolean).join(" → ") : e != null && e.g ? e.g : "";
|
|
45295
45295
|
}
|
|
45296
45296
|
function Pne(e, t) {
|
|
45297
|
-
return t.rawValue ? String(e) :
|
|
45297
|
+
return t.rawValue ? String(e) : ir(e, t.format, t.formatOptions);
|
|
45298
45298
|
}
|
|
45299
45299
|
function _9({
|
|
45300
45300
|
raw: e,
|
|
@@ -45385,20 +45385,20 @@ function vLe(e, t, n, r) {
|
|
|
45385
45385
|
const i = t.format || "auto", a = t.formatOptions || {};
|
|
45386
45386
|
switch (i) {
|
|
45387
45387
|
case "currency":
|
|
45388
|
-
return
|
|
45388
|
+
return ir(o, "currency", {
|
|
45389
45389
|
currency: a.currency || "USD",
|
|
45390
45390
|
decimalPlaces: a.decimalPlaces ?? 2,
|
|
45391
45391
|
useSuffix: a.useSuffix,
|
|
45392
45392
|
locale: a.locale
|
|
45393
45393
|
});
|
|
45394
45394
|
case "number":
|
|
45395
|
-
return
|
|
45395
|
+
return ir(o, "number", {
|
|
45396
45396
|
decimalPlaces: a.decimalPlaces ?? 0,
|
|
45397
45397
|
useSuffix: a.useSuffix,
|
|
45398
45398
|
locale: a.locale
|
|
45399
45399
|
});
|
|
45400
45400
|
case "percent":
|
|
45401
|
-
return
|
|
45401
|
+
return ir(o, "percent", {
|
|
45402
45402
|
decimalPlaces: a.decimalPlaces ?? 1,
|
|
45403
45403
|
locale: a.locale
|
|
45404
45404
|
});
|
|
@@ -45406,11 +45406,11 @@ function vLe(e, t, n, r) {
|
|
|
45406
45406
|
return String(e);
|
|
45407
45407
|
case "auto":
|
|
45408
45408
|
default:
|
|
45409
|
-
return n != null && n.type && n.type !== "auto" ?
|
|
45409
|
+
return n != null && n.type && n.type !== "auto" ? ir(
|
|
45410
45410
|
o,
|
|
45411
45411
|
n.type,
|
|
45412
45412
|
n
|
|
45413
|
-
) : (s = r == null ? void 0 : r.formatOptions) != null && s.type && r.formatOptions.type !== "auto" ?
|
|
45413
|
+
) : (s = r == null ? void 0 : r.formatOptions) != null && s.type && r.formatOptions.type !== "auto" ? ir(
|
|
45414
45414
|
o,
|
|
45415
45415
|
r.formatOptions.type,
|
|
45416
45416
|
r.formatOptions
|
|
@@ -45997,7 +45997,7 @@ function FLe({
|
|
|
45997
45997
|
beginAtZero: !0,
|
|
45998
45998
|
suggestedMax: t,
|
|
45999
45999
|
ticks: {
|
|
46000
|
-
callback: (S) =>
|
|
46000
|
+
callback: (S) => ir(
|
|
46001
46001
|
Number(S),
|
|
46002
46002
|
n.format,
|
|
46003
46003
|
n.options
|
|
@@ -46057,7 +46057,7 @@ function OLe(e, t, n, r, o, i) {
|
|
|
46057
46057
|
metric: c,
|
|
46058
46058
|
axis: ((f = o == null ? void 0 : o.chartOptions) == null ? void 0 : f.indexAxis) === "y" ? "x" : "y"
|
|
46059
46059
|
}).formatOptions;
|
|
46060
|
-
return u != null && u.type && u.type !== "auto" ?
|
|
46060
|
+
return u != null && u.type && u.type !== "auto" ? ir(s, u.type, u) : ir(s, t.format, t.options);
|
|
46061
46061
|
};
|
|
46062
46062
|
return {
|
|
46063
46063
|
title: (s) => {
|
|
@@ -46760,7 +46760,7 @@ function _x(e, t, n) {
|
|
|
46760
46760
|
return Math.min(n, Math.max(t, e));
|
|
46761
46761
|
}
|
|
46762
46762
|
function jL(e, t) {
|
|
46763
|
-
return e == null || Number.isNaN(e) ? "—" : t.rawValue ? String(e) :
|
|
46763
|
+
return e == null || Number.isNaN(e) ? "—" : t.rawValue ? String(e) : ir(e, t.format, t.options);
|
|
46764
46764
|
}
|
|
46765
46765
|
function l$e(e, t) {
|
|
46766
46766
|
const n = Gw({
|
|
@@ -47511,7 +47511,7 @@ function n1({
|
|
|
47511
47511
|
datasetIndex: U,
|
|
47512
47512
|
datasetLabel: Z
|
|
47513
47513
|
}), ne = K.formatOptions;
|
|
47514
|
-
return Qb(K) ? String(A) : ne != null && ne.type && ne.type !== "auto" ?
|
|
47514
|
+
return Qb(K) ? String(A) : ne != null && ne.type && ne.type !== "auto" ? ir(A, ne.type, ne) : O(A, U, Z);
|
|
47515
47515
|
}, M = {
|
|
47516
47516
|
...q,
|
|
47517
47517
|
plugins: {
|
|
@@ -48098,12 +48098,11 @@ function Hne(e) {
|
|
|
48098
48098
|
return !1;
|
|
48099
48099
|
}
|
|
48100
48100
|
function HL(e) {
|
|
48101
|
-
|
|
48102
|
-
return /int|decimal|float|double|num|real/i.test(t) || t === "number" ? "SUM" : "COUNT";
|
|
48101
|
+
return nr(e || "") === "number" ? "SUM" : "COUNT";
|
|
48103
48102
|
}
|
|
48104
48103
|
const j$e = "day", H$e = "YYYY-MM-DD";
|
|
48105
48104
|
function Une(e) {
|
|
48106
|
-
return
|
|
48105
|
+
return nr(e.dataType) !== "date" ? e : {
|
|
48107
48106
|
...e,
|
|
48108
48107
|
granularity: e.granularity ?? j$e,
|
|
48109
48108
|
dateFormat: e.dateFormat ?? H$e
|
|
@@ -48139,11 +48138,11 @@ function qne(e, t) {
|
|
|
48139
48138
|
}
|
|
48140
48139
|
}
|
|
48141
48140
|
function q$e(e, t, n) {
|
|
48142
|
-
const r =
|
|
48141
|
+
const r = nr(e.dataType);
|
|
48143
48142
|
return n === "detailTable" ? "detailColumns" : n === "kpi" ? r === "date" ? "groupBy" : "metrics" : t.length === 0 || r === "number" ? "metrics" : r === "date" || r === "string" || r === "boolean" ? "groupBy" : "metrics";
|
|
48144
48143
|
}
|
|
48145
48144
|
function Y$e(e, t, n = []) {
|
|
48146
|
-
const r = Wne(t, e), o =
|
|
48145
|
+
const r = Wne(t, e), o = nr(e.dataType), i = o === "date", a = e.role === "metric" && "expression" in e && !!e.expression, s = e.role === "groupby" && "expression" in e && !!e.expression, l = {
|
|
48147
48146
|
id: r,
|
|
48148
48147
|
name: e.name,
|
|
48149
48148
|
dataType: e.dataType,
|
|
@@ -49190,7 +49189,7 @@ function ere(e, t, n, r) {
|
|
|
49190
49189
|
columnId: t,
|
|
49191
49190
|
existingSettings: n
|
|
49192
49191
|
});
|
|
49193
|
-
return o != null && o.type && o.type !== "auto" ?
|
|
49192
|
+
return o != null && o.type && o.type !== "auto" ? ir(e, o.type, o) : zf(
|
|
49194
49193
|
e,
|
|
49195
49194
|
n.numberFormat,
|
|
49196
49195
|
n.numberFormat.locale || "en-US"
|
|
@@ -50475,7 +50474,7 @@ function _4e(e, t, n, r, o, i = !0, a) {
|
|
|
50475
50474
|
existingSettings: n
|
|
50476
50475
|
});
|
|
50477
50476
|
if (g != null && g.type && g.type !== "auto")
|
|
50478
|
-
return
|
|
50477
|
+
return ir(e, g.type, g);
|
|
50479
50478
|
} catch {
|
|
50480
50479
|
}
|
|
50481
50480
|
if (!n)
|
|
@@ -53914,7 +53913,7 @@ function Rze(e, t, n) {
|
|
|
53914
53913
|
if ((s = n == null ? void 0 : n[e]) != null && s.metricId)
|
|
53915
53914
|
return "number";
|
|
53916
53915
|
if ((l = n == null ? void 0 : n[e]) != null && l.dataType) {
|
|
53917
|
-
const u =
|
|
53916
|
+
const u = nr(n[e].dataType);
|
|
53918
53917
|
return u === "number" ? "number" : u === "date" ? "date" : "text";
|
|
53919
53918
|
}
|
|
53920
53919
|
const r = Math.min(10, t.length);
|
|
@@ -54298,7 +54297,7 @@ function o$({
|
|
|
54298
54297
|
if (y === "scientific")
|
|
54299
54298
|
return `${z}${B.toExponential(w.decimalPlaces)}`;
|
|
54300
54299
|
if (y === "duration") {
|
|
54301
|
-
const G =
|
|
54300
|
+
const G = ir(F, "duration", {
|
|
54302
54301
|
...f,
|
|
54303
54302
|
durationInputUnit: w.durationInputUnit,
|
|
54304
54303
|
durationDisplayStyle: w.durationDisplayStyle,
|
|
@@ -54716,7 +54715,7 @@ function Zze({
|
|
|
54716
54715
|
existingSettings: Se
|
|
54717
54716
|
}) : void 0;
|
|
54718
54717
|
if (Ce != null && Ce.type && Ce.type !== "auto")
|
|
54719
|
-
return
|
|
54718
|
+
return ir(se, Ce.type, Ce);
|
|
54720
54719
|
if (!(Se != null && Se.numberFormat))
|
|
54721
54720
|
return se.toLocaleString();
|
|
54722
54721
|
try {
|
|
@@ -54745,7 +54744,7 @@ function Zze({
|
|
|
54745
54744
|
if (fe === "scientific")
|
|
54746
54745
|
return `${Xe}${nt.toExponential(_e)}`;
|
|
54747
54746
|
if (fe === "duration") {
|
|
54748
|
-
const ot =
|
|
54747
|
+
const ot = ir(ht, "duration", Ce);
|
|
54749
54748
|
return we && ht > 0 ? `+${ot}` : ot;
|
|
54750
54749
|
}
|
|
54751
54750
|
const Ge = fe === "currency" ? (Ce == null ? void 0 : Ce.currency) || ((Qe = re == null ? void 0 : re.numberFormat) == null ? void 0 : Qe.currency) || "USD" : "", je = Tb({
|
|
@@ -57024,7 +57023,7 @@ function z6e(e) {
|
|
|
57024
57023
|
columnId: Mt,
|
|
57025
57024
|
existingSettings: tn
|
|
57026
57025
|
});
|
|
57027
|
-
return Kt != null && Kt.type && Kt.type !== "auto" ?
|
|
57026
|
+
return Kt != null && Kt.type && Kt.type !== "auto" ? ir(jt, Kt.type, Kt) : tn != null && tn.numberFormat ? zf(
|
|
57028
57027
|
jt,
|
|
57029
57028
|
tn.numberFormat,
|
|
57030
57029
|
tn.numberFormat.locale || "en-US"
|
|
@@ -67687,7 +67686,7 @@ function N9e({ active: e }) {
|
|
|
67687
67686
|
t.dispatchCommand(p_, null), i(""), r(!1);
|
|
67688
67687
|
};
|
|
67689
67688
|
return /* @__PURE__ */ C(tr, { open: n, onOpenChange: r, children: [
|
|
67690
|
-
/* @__PURE__ */ d(
|
|
67689
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
67691
67690
|
"button",
|
|
67692
67691
|
{
|
|
67693
67692
|
type: "button",
|
|
@@ -67702,7 +67701,7 @@ function N9e({ active: e }) {
|
|
|
67702
67701
|
}
|
|
67703
67702
|
) }),
|
|
67704
67703
|
/* @__PURE__ */ C(
|
|
67705
|
-
|
|
67704
|
+
lr,
|
|
67706
67705
|
{
|
|
67707
67706
|
align: "start",
|
|
67708
67707
|
side: "bottom",
|
|
@@ -67737,7 +67736,7 @@ function k9e({
|
|
|
67737
67736
|
}) {
|
|
67738
67737
|
const [n, r] = X(!1);
|
|
67739
67738
|
return /* @__PURE__ */ C(tr, { open: n, onOpenChange: r, children: [
|
|
67740
|
-
/* @__PURE__ */ d(
|
|
67739
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
67741
67740
|
"button",
|
|
67742
67741
|
{
|
|
67743
67742
|
type: "button",
|
|
@@ -67751,7 +67750,7 @@ function k9e({
|
|
|
67751
67750
|
]
|
|
67752
67751
|
}
|
|
67753
67752
|
) }),
|
|
67754
|
-
/* @__PURE__ */ d(
|
|
67753
|
+
/* @__PURE__ */ d(lr, { align: "end", side: "bottom", className: "w-64 p-1", children: /* @__PURE__ */ d("div", { className: "max-h-[240px] overflow-y-auto", children: e.map((o) => /* @__PURE__ */ C(
|
|
67755
67754
|
"button",
|
|
67756
67755
|
{
|
|
67757
67756
|
type: "button",
|
|
@@ -69447,7 +69446,7 @@ var A7e = {
|
|
|
69447
69446
|
(t._dirty || o.length) && (Lv.update(t._labels), e.render()), delete t._dirty;
|
|
69448
69447
|
}
|
|
69449
69448
|
};
|
|
69450
|
-
|
|
69449
|
+
or.register(..._Fe);
|
|
69451
69450
|
const { min: R7e, max: P7e } = Math, Ep = (e, t = 0, n = 1) => R7e(P7e(t, e), n), q$ = (e) => {
|
|
69452
69451
|
e._clipped = !1, e._unclipped = e.slice(0);
|
|
69453
69452
|
for (let t = 0; t <= 3; t++)
|
|
@@ -71249,7 +71248,7 @@ vy.overrides = Uo({}, [
|
|
|
71249
71248
|
},
|
|
71250
71249
|
color: (e) => {
|
|
71251
71250
|
const t = e.chart.getDatasetMeta(e.datasetIndex).data[e.dataIndex].options.backgroundColor;
|
|
71252
|
-
return OHe(t,
|
|
71251
|
+
return OHe(t, or.defaults.color, "#ffffff");
|
|
71253
71252
|
},
|
|
71254
71253
|
formatter: (e, t) => {
|
|
71255
71254
|
var n, r;
|
|
@@ -71285,7 +71284,7 @@ ${(e * 100).toLocaleString()}%`;
|
|
|
71285
71284
|
}
|
|
71286
71285
|
}
|
|
71287
71286
|
]);
|
|
71288
|
-
class zHe extends
|
|
71287
|
+
class zHe extends or {
|
|
71289
71288
|
constructor(t, n) {
|
|
71290
71289
|
super(t, $He("funnel", n, vy, yy, [yx, Vp]));
|
|
71291
71290
|
}
|
|
@@ -71930,7 +71929,7 @@ dd.overrides = {
|
|
|
71930
71929
|
}
|
|
71931
71930
|
};
|
|
71932
71931
|
dd.beforeRegister = function() {
|
|
71933
|
-
GHe("chart.js", "3.8",
|
|
71932
|
+
GHe("chart.js", "3.8", or.version);
|
|
71934
71933
|
};
|
|
71935
71934
|
dd.afterRegister = function() {
|
|
71936
71935
|
const e = Eo.plugins.get("tooltip");
|
|
@@ -72129,22 +72128,22 @@ t4.defaults = {
|
|
|
72129
72128
|
width: 20,
|
|
72130
72129
|
height: 20
|
|
72131
72130
|
};
|
|
72132
|
-
|
|
72133
|
-
|
|
72134
|
-
|
|
72135
|
-
|
|
72136
|
-
|
|
72137
|
-
|
|
72138
|
-
|
|
72139
|
-
|
|
72140
|
-
|
|
72141
|
-
|
|
72142
|
-
|
|
72143
|
-
|
|
72144
|
-
|
|
72145
|
-
|
|
72146
|
-
|
|
72147
|
-
|
|
72131
|
+
or.register(A7e);
|
|
72132
|
+
or.register(yp);
|
|
72133
|
+
or.register(ny);
|
|
72134
|
+
or.register(ry);
|
|
72135
|
+
or.register(Gu);
|
|
72136
|
+
or.register(xm);
|
|
72137
|
+
or.register(kf);
|
|
72138
|
+
or.register(_f);
|
|
72139
|
+
or.register(yx);
|
|
72140
|
+
or.register(Ate);
|
|
72141
|
+
or.register(vy);
|
|
72142
|
+
or.register(yy);
|
|
72143
|
+
or.register(dd);
|
|
72144
|
+
or.register(y1);
|
|
72145
|
+
or.register(v1);
|
|
72146
|
+
or.register(t4);
|
|
72148
72147
|
function JI({
|
|
72149
72148
|
cfg: e,
|
|
72150
72149
|
onDatapointClick: t,
|
|
@@ -72178,7 +72177,7 @@ function JI({
|
|
|
72178
72177
|
if (!m) return;
|
|
72179
72178
|
let g, b = !1;
|
|
72180
72179
|
try {
|
|
72181
|
-
g = new
|
|
72180
|
+
g = new or(m, p), a(g);
|
|
72182
72181
|
const v = typeof document < "u" ? document.fonts : void 0;
|
|
72183
72182
|
(x = v == null ? void 0 : v.ready) == null || x.then(() => {
|
|
72184
72183
|
b || g.update("none");
|
|
@@ -75866,7 +75865,7 @@ function _se({
|
|
|
75866
75865
|
open: P,
|
|
75867
75866
|
onOpenChange: F,
|
|
75868
75867
|
children: [
|
|
75869
|
-
/* @__PURE__ */ d(
|
|
75868
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
75870
75869
|
ke,
|
|
75871
75870
|
{
|
|
75872
75871
|
variant: "outline",
|
|
@@ -75884,7 +75883,7 @@ function _se({
|
|
|
75884
75883
|
}
|
|
75885
75884
|
) }),
|
|
75886
75885
|
/* @__PURE__ */ d(
|
|
75887
|
-
|
|
75886
|
+
lr,
|
|
75888
75887
|
{
|
|
75889
75888
|
style: A,
|
|
75890
75889
|
className: Q(
|
|
@@ -75926,7 +75925,7 @@ function _se({
|
|
|
75926
75925
|
open: P,
|
|
75927
75926
|
onOpenChange: F,
|
|
75928
75927
|
children: [
|
|
75929
|
-
/* @__PURE__ */ d(
|
|
75928
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
75930
75929
|
ke,
|
|
75931
75930
|
{
|
|
75932
75931
|
variant: "outline",
|
|
@@ -75944,7 +75943,7 @@ function _se({
|
|
|
75944
75943
|
}
|
|
75945
75944
|
) }),
|
|
75946
75945
|
/* @__PURE__ */ d(
|
|
75947
|
-
|
|
75946
|
+
lr,
|
|
75948
75947
|
{
|
|
75949
75948
|
style: A,
|
|
75950
75949
|
className: Q(
|
|
@@ -75982,7 +75981,7 @@ function _se({
|
|
|
75982
75981
|
open: R,
|
|
75983
75982
|
onOpenChange: B,
|
|
75984
75983
|
children: [
|
|
75985
|
-
/* @__PURE__ */ d(
|
|
75984
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
75986
75985
|
ke,
|
|
75987
75986
|
{
|
|
75988
75987
|
variant: "outline",
|
|
@@ -76000,7 +75999,7 @@ function _se({
|
|
|
76000
75999
|
}
|
|
76001
76000
|
) }),
|
|
76002
76001
|
/* @__PURE__ */ d(
|
|
76003
|
-
|
|
76002
|
+
lr,
|
|
76004
76003
|
{
|
|
76005
76004
|
style: A,
|
|
76006
76005
|
className: Q(
|
|
@@ -76182,7 +76181,7 @@ function _se({
|
|
|
76182
76181
|
children: pe
|
|
76183
76182
|
}
|
|
76184
76183
|
) : /* @__PURE__ */ d("div", { className: Q("w-full", h), children: /* @__PURE__ */ C(tr, { open: E, onOpenChange: oe, children: [
|
|
76185
|
-
/* @__PURE__ */ d(
|
|
76184
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
76186
76185
|
ke,
|
|
76187
76186
|
{
|
|
76188
76187
|
variant: "outline",
|
|
@@ -76203,7 +76202,7 @@ function _se({
|
|
|
76203
76202
|
}
|
|
76204
76203
|
) }),
|
|
76205
76204
|
/* @__PURE__ */ d(
|
|
76206
|
-
|
|
76205
|
+
lr,
|
|
76207
76206
|
{
|
|
76208
76207
|
style: A,
|
|
76209
76208
|
className: Q(
|
|
@@ -76836,7 +76835,7 @@ function Ese({
|
|
|
76836
76835
|
f(void 0), n == null || n(), s(!1);
|
|
76837
76836
|
}, g = u ? `${zYe[u.month]} ${u.year}` : r;
|
|
76838
76837
|
return /* @__PURE__ */ C(tr, { open: a, onOpenChange: s, children: [
|
|
76839
|
-
/* @__PURE__ */ d(
|
|
76838
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
76840
76839
|
ke,
|
|
76841
76840
|
{
|
|
76842
76841
|
variant: "outline",
|
|
@@ -76854,7 +76853,7 @@ function Ese({
|
|
|
76854
76853
|
] })
|
|
76855
76854
|
}
|
|
76856
76855
|
) }),
|
|
76857
|
-
/* @__PURE__ */ d(
|
|
76856
|
+
/* @__PURE__ */ d(lr, { className: "z-[52] w-80 p-0", align: "start", children: /* @__PURE__ */ C("div", { className: "p-3", children: [
|
|
76858
76857
|
/* @__PURE__ */ C("div", { className: "mb-3 flex items-center justify-between border-b pb-3", children: [
|
|
76859
76858
|
/* @__PURE__ */ d(
|
|
76860
76859
|
ke,
|
|
@@ -77300,7 +77299,7 @@ function qYe(e, t, n, r = {}) {
|
|
|
77300
77299
|
semanticExecutionPayload: x
|
|
77301
77300
|
}),
|
|
77302
77301
|
[e, v, D, x]
|
|
77303
|
-
), F = J(() =>
|
|
77302
|
+
), F = J(() => nr(e.dataType) === "number" ? e.searchMode || "auto" : "text", [e.dataType, e.searchMode]), R = !!e.column && (!!e.qualifiedTableName || !!e.table) && !!e.connectionId, B = !!e.fieldMeta && !!e.connectionId, z = E && !Uw(e) && !!(h != null && h.accessToken) && (!!e.sql || R || B), H = J(
|
|
77304
77303
|
() => JSON.stringify({
|
|
77305
77304
|
qualifiedTableName: e.qualifiedTableName ?? null,
|
|
77306
77305
|
fieldMeta: e.fieldMeta ?? null,
|
|
@@ -82221,7 +82220,7 @@ function MXe({
|
|
|
82221
82220
|
onSelect: t,
|
|
82222
82221
|
onClear: n
|
|
82223
82222
|
}) {
|
|
82224
|
-
const { filters: r, isLoading: o } = Rle(), i =
|
|
82223
|
+
const { filters: r, isLoading: o } = Rle(), i = nr(e.dataType), a = r == null ? void 0 : r.filter((c) => !c.supportedDataTypes || c.supportedDataTypes.length === 0 ? !0 : c.supportedDataTypes.some(
|
|
82225
82224
|
(u) => i.toLowerCase() === u.toLowerCase()
|
|
82226
82225
|
)), s = e.customFilterPreferences, l = s ? `${s.url}::${s.componentName}` : "";
|
|
82227
82226
|
return o ? /* @__PURE__ */ d("div", { className: "flex h-7 items-center rounded-control border border-input bg-background px-2 text-[12px] text-muted-foreground", children: "Checking available custom filters…" }) : !a || a.length === 0 ? /* @__PURE__ */ d("p", { className: "text-[12px] text-muted-foreground", children: "No custom filters available." }) : /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
|
|
@@ -82346,7 +82345,7 @@ function FXe({
|
|
|
82346
82345
|
), [N, k] = X(
|
|
82347
82346
|
null
|
|
82348
82347
|
), I = J(
|
|
82349
|
-
() =>
|
|
82348
|
+
() => nr(e.dataType) === "date",
|
|
82350
82349
|
[e.dataType]
|
|
82351
82350
|
), E = s || Intl.DateTimeFormat().resolvedOptions().timeZone, _ = l === "inline" || l === "document" ? "z-[80]" : void 0, T = J(() => {
|
|
82352
82351
|
if (!m) return;
|
|
@@ -82736,10 +82735,10 @@ function OXe({
|
|
|
82736
82735
|
variant: n = "dashboard"
|
|
82737
82736
|
}) {
|
|
82738
82737
|
const r = uE(e), { filters: o, isLoading: i } = Rle(), a = J(
|
|
82739
|
-
() =>
|
|
82738
|
+
() => nr(e.dataType) === "date",
|
|
82740
82739
|
[e.dataType]
|
|
82741
82740
|
), s = n === "inline" || n === "document" ? "z-[80]" : void 0, l = J(() => {
|
|
82742
|
-
const g =
|
|
82741
|
+
const g = nr(e.dataType);
|
|
82743
82742
|
return (o == null ? void 0 : o.filter((b) => !b.supportedDataTypes || b.supportedDataTypes.length === 0 ? !0 : b.supportedDataTypes.some(
|
|
82744
82743
|
(y) => g.toLowerCase() === y.toLowerCase()
|
|
82745
82744
|
))) ?? [];
|
|
@@ -83031,7 +83030,7 @@ function Ple({
|
|
|
83031
83030
|
const f = Uf("interactive");
|
|
83032
83031
|
function h(L) {
|
|
83033
83032
|
if (!L) return "Unknown";
|
|
83034
|
-
const $ =
|
|
83033
|
+
const $ = nr(L), V = $ === "date" ? "Datetime" : $ === "string" ? "Text" : $ === "number" ? "Number" : $ === "boolean" ? "Boolean" : $ === "json" ? "JSON" : "Geo";
|
|
83035
83034
|
return /nullable/i.test(L) ? `${V} (nullable)` : V;
|
|
83036
83035
|
}
|
|
83037
83036
|
const [p, m] = le.useState(!1), g = i ?? p, b = a ?? m, [y, x] = le.useState("basic"), v = "kind" in e && e.kind === "global-date", [w, S] = le.useState({}), [N, k] = le.useState({}), { updateFilter: I, addOrUpdateFilterValue: E, removeFilterValues: _ } = Dn(), T = le.useMemo(
|
|
@@ -83079,7 +83078,7 @@ function Ple({
|
|
|
83079
83078
|
}, [g]);
|
|
83080
83079
|
const q = v ? e.title || O3 : e.column.split(".").pop() || e.column, O = v ? q : e.column, G = v ? "Global date" : h(e.dataType);
|
|
83081
83080
|
return /* @__PURE__ */ C(tr, { open: g, onOpenChange: b, children: [
|
|
83082
|
-
/* @__PURE__ */ d(
|
|
83081
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: s ?? /* @__PURE__ */ d(
|
|
83083
83082
|
"button",
|
|
83084
83083
|
{
|
|
83085
83084
|
type: "button",
|
|
@@ -83092,7 +83091,7 @@ function Ple({
|
|
|
83092
83091
|
}
|
|
83093
83092
|
) }),
|
|
83094
83093
|
/* @__PURE__ */ C(
|
|
83095
|
-
|
|
83094
|
+
lr,
|
|
83096
83095
|
{
|
|
83097
83096
|
onMouseDown: (L) => L.stopPropagation(),
|
|
83098
83097
|
onDoubleClick: (L) => L.stopPropagation(),
|
|
@@ -83288,7 +83287,7 @@ function UXe(e, t, n) {
|
|
|
83288
83287
|
if (t.operation === "is not null") return "is not empty";
|
|
83289
83288
|
const r = t.values;
|
|
83290
83289
|
if (!r || r.length === 0) return null;
|
|
83291
|
-
const o =
|
|
83290
|
+
const o = nr(e.dataType), i = (s) => {
|
|
83292
83291
|
try {
|
|
83293
83292
|
return Jr(new Date(s), n, "MMM d");
|
|
83294
83293
|
} catch {
|
|
@@ -83326,10 +83325,10 @@ function UXe(e, t, n) {
|
|
|
83326
83325
|
return t.operation === "not in" ? r.length === 1 ? y0(`not ${String(r[0])}`) : `${r.length} excluded` : t.operation === "not like" ? y0(`not ${String(r[0])}`) : t.operation === "like" ? y0(`contains ${String(r[0])}`) : r.length === 1 ? y0(String(r[0])) : `${r.length} selected`;
|
|
83327
83326
|
}
|
|
83328
83327
|
function WXe(e) {
|
|
83329
|
-
return
|
|
83328
|
+
return nr(e.dataType) === "date" || e.kind === "global-date" ? ab : (e.searchMode === "numeric", null);
|
|
83330
83329
|
}
|
|
83331
83330
|
function qXe(e) {
|
|
83332
|
-
return
|
|
83331
|
+
return nr(e.dataType) === "date" || e.kind === "global-date" ? 360 : e.uiType === "tabs" ? 320 : e.uiType === "radio" ? 260 : e.searchMode === "numeric" ? 240 : 300;
|
|
83333
83332
|
}
|
|
83334
83333
|
function YXe(e) {
|
|
83335
83334
|
var t;
|
|
@@ -83436,7 +83435,7 @@ function k4({
|
|
|
83436
83435
|
),
|
|
83437
83436
|
style: u.chipStyle,
|
|
83438
83437
|
children: [
|
|
83439
|
-
/* @__PURE__ */ d(
|
|
83438
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
83440
83439
|
"button",
|
|
83441
83440
|
{
|
|
83442
83441
|
type: "button",
|
|
@@ -83477,7 +83476,7 @@ function k4({
|
|
|
83477
83476
|
}
|
|
83478
83477
|
),
|
|
83479
83478
|
/* @__PURE__ */ d(
|
|
83480
|
-
|
|
83479
|
+
lr,
|
|
83481
83480
|
{
|
|
83482
83481
|
align: "start",
|
|
83483
83482
|
sideOffset: 4,
|
|
@@ -85081,7 +85080,7 @@ function I1({
|
|
|
85081
85080
|
locale: f || r,
|
|
85082
85081
|
currency: h || n || (l == null ? void 0 : l.currency) || "USD"
|
|
85083
85082
|
};
|
|
85084
|
-
return
|
|
85083
|
+
return ir(v, c, S);
|
|
85085
85084
|
}, m = (v, w) => {
|
|
85086
85085
|
const S = typeof (o == null ? void 0 : o.decimalPlaces) == "number" ? o.decimalPlaces : n ? 2 : 0;
|
|
85087
85086
|
return Tb({
|
|
@@ -86745,7 +86744,7 @@ function lJe({
|
|
|
86745
86744
|
}
|
|
86746
86745
|
const R = I !== null && E !== null && E !== 0 ? (I - E) / E : null, B = ($) => {
|
|
86747
86746
|
var V, j, A, U, Z, K;
|
|
86748
|
-
return g ? String($) : p != null && p.type && p.type !== "auto" ?
|
|
86747
|
+
return g ? String($) : p != null && p.type && p.type !== "auto" ? ir($, p.type, {
|
|
86749
86748
|
...p,
|
|
86750
86749
|
locale: p.locale || u() || "",
|
|
86751
86750
|
currency: p.currency || c() || ""
|
|
@@ -90907,7 +90906,7 @@ function wce({ card: e }) {
|
|
|
90907
90906
|
h ? a(l) : u(), o(h);
|
|
90908
90907
|
};
|
|
90909
90908
|
return t ? /* @__PURE__ */ C(tr, { open: r, onOpenChange: f, children: [
|
|
90910
|
-
/* @__PURE__ */ d(
|
|
90909
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
90911
90910
|
"button",
|
|
90912
90911
|
{
|
|
90913
90912
|
type: "button",
|
|
@@ -90922,7 +90921,7 @@ function wce({ card: e }) {
|
|
|
90922
90921
|
}
|
|
90923
90922
|
) }),
|
|
90924
90923
|
/* @__PURE__ */ d(
|
|
90925
|
-
|
|
90924
|
+
lr,
|
|
90926
90925
|
{
|
|
90927
90926
|
align: "start",
|
|
90928
90927
|
className: "w-[300px] p-2",
|
|
@@ -90944,7 +90943,7 @@ function wce({ card: e }) {
|
|
|
90944
90943
|
}
|
|
90945
90944
|
)
|
|
90946
90945
|
] }) : c ? /* @__PURE__ */ C(tr, { open: r, onOpenChange: o, children: [
|
|
90947
|
-
/* @__PURE__ */ d(
|
|
90946
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
90948
90947
|
"button",
|
|
90949
90948
|
{
|
|
90950
90949
|
type: "button",
|
|
@@ -90956,7 +90955,7 @@ function wce({ card: e }) {
|
|
|
90956
90955
|
}
|
|
90957
90956
|
) }),
|
|
90958
90957
|
/* @__PURE__ */ d(
|
|
90959
|
-
|
|
90958
|
+
lr,
|
|
90960
90959
|
{
|
|
90961
90960
|
align: "start",
|
|
90962
90961
|
className: "w-[300px] whitespace-pre-wrap p-3 text-[13px] leading-relaxed text-foreground",
|
|
@@ -90972,7 +90971,7 @@ function HJe({ card: e, renderFilterInfo: t }) {
|
|
|
90972
90971
|
te((T) => T.themeStyle);
|
|
90973
90972
|
const { data: n, isLoading: r } = Yu(e), o = (n == null ? void 0 : n.records) || [], { getCurrency: i, getLocale: a, getPrimaryFormat: s } = fE(e), l = (v = (x = e.preferences) == null ? void 0 : x.formatNumber) == null ? void 0 : v.colorRanges, c = Qu(s()), u = (S = (w = e.preferences) == null ? void 0 : w.formatNumber) == null ? void 0 : S.enabled, f = u === !1 || u === "false", { keys: h } = to(o || []), p = (N = o == null ? void 0 : o[0]) == null ? void 0 : N[h == null ? void 0 : h[0]], m = (k = o == null ? void 0 : o[0]) == null ? void 0 : k[h == null ? void 0 : h[1]], g = (o == null ? void 0 : o.length) > 0, b = m && m - p !== 0 ? (p - m) / m : null, y = (T) => {
|
|
90974
90973
|
var D, P, F, R, B, z;
|
|
90975
|
-
return f ? String(T) : c != null && c.type && c.type !== "auto" ?
|
|
90974
|
+
return f ? String(T) : c != null && c.type && c.type !== "auto" ? ir(T, c.type, {
|
|
90976
90975
|
...c,
|
|
90977
90976
|
locale: c.locale || a() || "",
|
|
90978
90977
|
currency: c.currency || i() || ""
|
|
@@ -91519,7 +91518,7 @@ function MU({
|
|
|
91519
91518
|
] });
|
|
91520
91519
|
}
|
|
91521
91520
|
return /* @__PURE__ */ C(tr, { open: c, onOpenChange: u, children: [
|
|
91522
|
-
/* @__PURE__ */ d(
|
|
91521
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: h ? /* @__PURE__ */ C(
|
|
91523
91522
|
"button",
|
|
91524
91523
|
{
|
|
91525
91524
|
type: "button",
|
|
@@ -91559,7 +91558,7 @@ function MU({
|
|
|
91559
91558
|
/* @__PURE__ */ d("span", { "aria-hidden": "true", className: "hidden" })
|
|
91560
91559
|
) }),
|
|
91561
91560
|
/* @__PURE__ */ C(
|
|
91562
|
-
|
|
91561
|
+
lr,
|
|
91563
91562
|
{
|
|
91564
91563
|
onMouseDown: (ie) => ie.stopPropagation(),
|
|
91565
91564
|
className: "w-[340px] p-0",
|
|
@@ -91862,7 +91861,7 @@ function QJe({
|
|
|
91862
91861
|
isPending: b,
|
|
91863
91862
|
hasRecords: !!((S = h == null ? void 0 : h.records) != null && S.length)
|
|
91864
91863
|
}), v = /* @__PURE__ */ C(tr, { open: r, onOpenChange: o, children: [
|
|
91865
|
-
/* @__PURE__ */ d(
|
|
91864
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
91866
91865
|
ke,
|
|
91867
91866
|
{
|
|
91868
91867
|
type: "button",
|
|
@@ -91883,7 +91882,7 @@ function QJe({
|
|
|
91883
91882
|
}
|
|
91884
91883
|
) }),
|
|
91885
91884
|
/* @__PURE__ */ C(
|
|
91886
|
-
|
|
91885
|
+
lr,
|
|
91887
91886
|
{
|
|
91888
91887
|
align: "end",
|
|
91889
91888
|
sideOffset: 8,
|
|
@@ -93096,7 +93095,7 @@ function Dce({
|
|
|
93096
93095
|
] }) : null,
|
|
93097
93096
|
/* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
|
|
93098
93097
|
/* @__PURE__ */ C(tr, { children: [
|
|
93099
|
-
/* @__PURE__ */ d(
|
|
93098
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
93100
93099
|
ke,
|
|
93101
93100
|
{
|
|
93102
93101
|
type: "button",
|
|
@@ -93112,7 +93111,7 @@ function Dce({
|
|
|
93112
93111
|
}
|
|
93113
93112
|
) }),
|
|
93114
93113
|
/* @__PURE__ */ d(
|
|
93115
|
-
|
|
93114
|
+
lr,
|
|
93116
93115
|
{
|
|
93117
93116
|
align: "start",
|
|
93118
93117
|
className: "w-64",
|
|
@@ -93363,7 +93362,7 @@ function Mce({
|
|
|
93363
93362
|
h.id
|
|
93364
93363
|
)),
|
|
93365
93364
|
f.length > 0 && /* @__PURE__ */ C(tr, { children: [
|
|
93366
|
-
/* @__PURE__ */ d(
|
|
93365
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
93367
93366
|
ke,
|
|
93368
93367
|
{
|
|
93369
93368
|
type: "button",
|
|
@@ -93376,7 +93375,7 @@ function Mce({
|
|
|
93376
93375
|
}
|
|
93377
93376
|
) }),
|
|
93378
93377
|
/* @__PURE__ */ d(
|
|
93379
|
-
|
|
93378
|
+
lr,
|
|
93380
93379
|
{
|
|
93381
93380
|
align: "start",
|
|
93382
93381
|
className: "w-80",
|
|
@@ -93819,9 +93818,9 @@ function OU({
|
|
|
93819
93818
|
// Keep reference to original config
|
|
93820
93819
|
});
|
|
93821
93820
|
}
|
|
93822
|
-
const
|
|
93821
|
+
const rr = Ee.filter((Mr) => Mr.mode !== "dynamicDrill"), on = [
|
|
93823
93822
|
...Bt,
|
|
93824
|
-
...
|
|
93823
|
+
...rr,
|
|
93825
93824
|
...Zt
|
|
93826
93825
|
];
|
|
93827
93826
|
Xe({
|
|
@@ -93849,11 +93848,11 @@ function OU({
|
|
|
93849
93848
|
};
|
|
93850
93849
|
f && W(f, Bt);
|
|
93851
93850
|
}, Ue = (Ee) => {
|
|
93852
|
-
var Zt,
|
|
93851
|
+
var Zt, rr, on;
|
|
93853
93852
|
const yt = H6e(
|
|
93854
93853
|
Ee,
|
|
93855
93854
|
(Zt = e.config) == null ? void 0 : Zt.metricColumns,
|
|
93856
|
-
(
|
|
93855
|
+
(rr = e.config) == null ? void 0 : rr.groupByColumns,
|
|
93857
93856
|
(on = e.config) == null ? void 0 : on.detailColumns
|
|
93858
93857
|
), Et = {
|
|
93859
93858
|
...e,
|
|
@@ -93878,8 +93877,8 @@ function OU({
|
|
|
93878
93877
|
columnKeyMap: ie == null ? void 0 : ie.columnKeyMap
|
|
93879
93878
|
});
|
|
93880
93879
|
if (!Et) return;
|
|
93881
|
-
const Bt = oO(Qe.interactionConfig), Zt = mG(Bt, Et),
|
|
93882
|
-
Ee.button === 0 &&
|
|
93880
|
+
const Bt = oO(Qe.interactionConfig), Zt = mG(Bt, Et), rr = Zt.length === 1 && Zt[0].mode === "clickFilter", on = Zt.some((uo) => uo.mode === "dynamicDrill"), Or = Zt.length > 1 || on;
|
|
93881
|
+
Ee.button === 0 && rr && !Or && L(Ee.nativeEvent, yt);
|
|
93883
93882
|
const Mr = {
|
|
93884
93883
|
shift: Ee.shiftKey,
|
|
93885
93884
|
ctrl: Ee.ctrlKey,
|
|
@@ -94022,9 +94021,9 @@ function OU({
|
|
|
94022
94021
|
card: Ee,
|
|
94023
94022
|
data: dt.data,
|
|
94024
94023
|
options: dt.options,
|
|
94025
|
-
onAggregationChange: (
|
|
94024
|
+
onAggregationChange: (rr) => {
|
|
94026
94025
|
const on = AU(
|
|
94027
|
-
|
|
94026
|
+
rr,
|
|
94028
94027
|
e.config
|
|
94029
94028
|
), Or = { ...e, config: on }, Mr = {
|
|
94030
94029
|
...t,
|
|
@@ -94034,9 +94033,9 @@ function OU({
|
|
|
94034
94033
|
};
|
|
94035
94034
|
f && W(f, Mr);
|
|
94036
94035
|
},
|
|
94037
|
-
onAggregationLabelChange: (
|
|
94036
|
+
onAggregationLabelChange: (rr) => {
|
|
94038
94037
|
const on = qJe(
|
|
94039
|
-
|
|
94038
|
+
rr,
|
|
94040
94039
|
e.config
|
|
94041
94040
|
), Or = { ...e, config: on }, Mr = {
|
|
94042
94041
|
...t,
|
|
@@ -94058,9 +94057,9 @@ function OU({
|
|
|
94058
94057
|
pivotSchema: ie == null ? void 0 : ie.pivotSchema,
|
|
94059
94058
|
paginationMetadata: Je,
|
|
94060
94059
|
onPaginationChange: bt,
|
|
94061
|
-
onAggregationChange: (
|
|
94060
|
+
onAggregationChange: (rr) => {
|
|
94062
94061
|
const on = AU(
|
|
94063
|
-
|
|
94062
|
+
rr,
|
|
94064
94063
|
e.config
|
|
94065
94064
|
), Or = { ...e, config: on }, Mr = {
|
|
94066
94065
|
...t,
|
|
@@ -94086,9 +94085,9 @@ function OU({
|
|
|
94086
94085
|
if (iO(Ee) && ((Zt = Ee.customCardPreferences) != null && Zt.url))
|
|
94087
94086
|
return /* @__PURE__ */ d("div", { className: "relative flex h-full min-h-0 w-full flex-1 grow basis-0", children: /* @__PURE__ */ d(Pc, { FallbackComponent: D_, children: /* @__PURE__ */ d(__, { frame: t, card: Ee }) }) });
|
|
94088
94087
|
if (r && r.length > 0) {
|
|
94089
|
-
const
|
|
94090
|
-
if (
|
|
94091
|
-
const on =
|
|
94088
|
+
const rr = r.find((on) => on.cardId === Ee.id);
|
|
94089
|
+
if (rr && rr.content) {
|
|
94090
|
+
const on = rr.content;
|
|
94092
94091
|
return /* @__PURE__ */ d(on, { card: Ee });
|
|
94093
94092
|
}
|
|
94094
94093
|
}
|
|
@@ -94186,7 +94185,7 @@ function OU({
|
|
|
94186
94185
|
);
|
|
94187
94186
|
}
|
|
94188
94187
|
function Dt() {
|
|
94189
|
-
var yt, Et, Bt, Zt,
|
|
94188
|
+
var yt, Et, Bt, Zt, rr;
|
|
94190
94189
|
let Ee = t.cards.find(
|
|
94191
94190
|
(on) => on.type === "kpi" && on.tabTitle === `${e.tabTitle}__Header`
|
|
94192
94191
|
);
|
|
@@ -94259,7 +94258,7 @@ function OU({
|
|
|
94259
94258
|
{
|
|
94260
94259
|
cardId: E.id,
|
|
94261
94260
|
cardFilters: (Zt = E.config) == null ? void 0 : Zt.filters,
|
|
94262
|
-
cardFilterCount: t5(((
|
|
94261
|
+
cardFilterCount: t5(((rr = E.config) == null ? void 0 : rr.filters) || null),
|
|
94263
94262
|
inlineFilters: E.inlineFilters,
|
|
94264
94263
|
inlineFilterValues: F,
|
|
94265
94264
|
sheetId: f || "",
|
|
@@ -95369,7 +95368,7 @@ const Bet = {
|
|
|
95369
95368
|
};
|
|
95370
95369
|
function Vet(e) {
|
|
95371
95370
|
const t = (e || "").toLowerCase();
|
|
95372
|
-
return t === "calculated" ? "calculated" :
|
|
95371
|
+
return t === "calculated" ? "calculated" : nr(t);
|
|
95373
95372
|
}
|
|
95374
95373
|
function mE({
|
|
95375
95374
|
dataType: e,
|
|
@@ -99165,8 +99164,8 @@ function Fnt({
|
|
|
99165
99164
|
trigger: a
|
|
99166
99165
|
}) {
|
|
99167
99166
|
return /* @__PURE__ */ C(tr, { open: o, onOpenChange: i, children: [
|
|
99168
|
-
/* @__PURE__ */ d(
|
|
99169
|
-
/* @__PURE__ */ d(
|
|
99167
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: a }),
|
|
99168
|
+
/* @__PURE__ */ d(lr, { className: "z-50 w-80", align: "start", children: /* @__PURE__ */ C("div", { className: "space-y-3", children: [
|
|
99170
99169
|
/* @__PURE__ */ C("div", { children: [
|
|
99171
99170
|
/* @__PURE__ */ d(mt, { className: "mb-1 block text-xs font-medium", children: "Chart Type" }),
|
|
99172
99171
|
/* @__PURE__ */ C(
|
|
@@ -99951,7 +99950,7 @@ function drt({
|
|
|
99951
99950
|
xe(() => {
|
|
99952
99951
|
e && a(n);
|
|
99953
99952
|
}, [e, n]);
|
|
99954
|
-
const s = J(() => o.filter((x) =>
|
|
99953
|
+
const s = J(() => o.filter((x) => nr(x.dataType) === "string"), [o]), l = W4(
|
|
99955
99954
|
Qx(F1),
|
|
99956
99955
|
Qx(wE, {
|
|
99957
99956
|
coordinateGetter: gue
|
|
@@ -100291,7 +100290,7 @@ function frt({
|
|
|
100291
100290
|
/* @__PURE__ */ d("p", { className: "mb-2 text-xs text-muted-foreground", children: "Select which hierarchy to drill through when this interaction triggers" }),
|
|
100292
100291
|
x.length > 0 ? /* @__PURE__ */ C(Ve, { children: [
|
|
100293
100292
|
/* @__PURE__ */ C(tr, { open: a, onOpenChange: s, children: [
|
|
100294
|
-
/* @__PURE__ */ d(
|
|
100293
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
100295
100294
|
ke,
|
|
100296
100295
|
{
|
|
100297
100296
|
variant: "outline",
|
|
@@ -100320,7 +100319,7 @@ function frt({
|
|
|
100320
100319
|
]
|
|
100321
100320
|
}
|
|
100322
100321
|
) }),
|
|
100323
|
-
/* @__PURE__ */ C(
|
|
100322
|
+
/* @__PURE__ */ C(lr, { className: "w-[500px] p-0", align: "start", children: [
|
|
100324
100323
|
/* @__PURE__ */ C("div", { className: "flex items-center justify-between border-b p-3", children: [
|
|
100325
100324
|
/* @__PURE__ */ d("span", { className: "text-sm font-medium", children: "Select Hierarchy" }),
|
|
100326
100325
|
/* @__PURE__ */ C(ke, { variant: "ghost", size: "sm", onClick: S, children: [
|
|
@@ -100526,7 +100525,7 @@ function hrt({
|
|
|
100526
100525
|
] })
|
|
100527
100526
|
] });
|
|
100528
100527
|
}
|
|
100529
|
-
const prt = (e) => ["string", "boolean"].includes(
|
|
100528
|
+
const prt = (e) => ["string", "boolean"].includes(nr(e.dataType));
|
|
100530
100529
|
function mrt({
|
|
100531
100530
|
interaction: e,
|
|
100532
100531
|
availableFields: t,
|
|
@@ -100565,7 +100564,7 @@ function grt({ value: e, onChange: t }) {
|
|
|
100565
100564
|
t(g.id, g.title), r(!1), i("");
|
|
100566
100565
|
};
|
|
100567
100566
|
return /* @__PURE__ */ C(tr, { open: n, onOpenChange: r, children: [
|
|
100568
|
-
/* @__PURE__ */ d(
|
|
100567
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
100569
100568
|
ke,
|
|
100570
100569
|
{
|
|
100571
100570
|
variant: "outline",
|
|
@@ -100576,7 +100575,7 @@ function grt({ value: e, onChange: t }) {
|
|
|
100576
100575
|
children: p ? /* @__PURE__ */ d("span", { className: "truncate", children: p.title }) : "Choose dashboard..."
|
|
100577
100576
|
}
|
|
100578
100577
|
) }),
|
|
100579
|
-
/* @__PURE__ */ d(
|
|
100578
|
+
/* @__PURE__ */ d(lr, { className: "w-[500px] p-0", align: "start", children: /* @__PURE__ */ C(Ju, { value: a, onValueChange: (g) => s(g), children: [
|
|
100580
100579
|
/* @__PURE__ */ d("div", { className: "p-3 border-b", children: /* @__PURE__ */ C("div", { className: "relative", children: [
|
|
100581
100580
|
/* @__PURE__ */ d(Qi, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
|
|
100582
100581
|
/* @__PURE__ */ d(
|
|
@@ -100715,7 +100714,7 @@ function vrt({ value: e, onChange: t }) {
|
|
|
100715
100714
|
t(g.id, g.title), r(!1), i("");
|
|
100716
100715
|
};
|
|
100717
100716
|
return /* @__PURE__ */ C(tr, { open: n, onOpenChange: r, children: [
|
|
100718
|
-
/* @__PURE__ */ d(
|
|
100717
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
100719
100718
|
ke,
|
|
100720
100719
|
{
|
|
100721
100720
|
variant: "outline",
|
|
@@ -100726,7 +100725,7 @@ function vrt({ value: e, onChange: t }) {
|
|
|
100726
100725
|
children: p ? /* @__PURE__ */ d("span", { className: "truncate", children: p.title }) : "Choose insight..."
|
|
100727
100726
|
}
|
|
100728
100727
|
) }),
|
|
100729
|
-
/* @__PURE__ */ d(
|
|
100728
|
+
/* @__PURE__ */ d(lr, { className: "w-[500px] p-0", align: "start", children: /* @__PURE__ */ C(Ju, { value: a, onValueChange: (g) => s(g), children: [
|
|
100730
100729
|
/* @__PURE__ */ d("div", { className: "p-3 border-b", children: /* @__PURE__ */ C("div", { className: "relative", children: [
|
|
100731
100730
|
/* @__PURE__ */ d(Qi, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
|
|
100732
100731
|
/* @__PURE__ */ d(
|
|
@@ -102125,7 +102124,7 @@ function zrt() {
|
|
|
102125
102124
|
open: e,
|
|
102126
102125
|
onOpenChange: (ge) => !ge && r(),
|
|
102127
102126
|
children: [
|
|
102128
|
-
/* @__PURE__ */ d(
|
|
102127
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
102129
102128
|
"div",
|
|
102130
102129
|
{
|
|
102131
102130
|
style: $,
|
|
@@ -102134,7 +102133,7 @@ function zrt() {
|
|
|
102134
102133
|
}
|
|
102135
102134
|
) }),
|
|
102136
102135
|
/* @__PURE__ */ C(
|
|
102137
|
-
|
|
102136
|
+
lr,
|
|
102138
102137
|
{
|
|
102139
102138
|
onEscapeKeyDown: (ge) => ge.preventDefault(),
|
|
102140
102139
|
className: "mt-5 flex max-h-[70vh] w-[600px] max-w-4xl flex-col overflow-hidden p-0",
|
|
@@ -102562,7 +102561,7 @@ function Aue(e) {
|
|
|
102562
102561
|
function Qrt(e, t, n) {
|
|
102563
102562
|
if (t === "source")
|
|
102564
102563
|
return { isValid: !0 };
|
|
102565
|
-
const r =
|
|
102564
|
+
const r = nr(e.dataType);
|
|
102566
102565
|
if (n === "detailTable" && t !== "detailColumns" && t !== "sortBy")
|
|
102567
102566
|
return {
|
|
102568
102567
|
isValid: !1,
|
|
@@ -102610,7 +102609,7 @@ const tot = /* @__PURE__ */ new Set(["COUNT", "DISTINCT"]), not = /* @__PURE__ *
|
|
|
102610
102609
|
"previous_period_delta"
|
|
102611
102610
|
]);
|
|
102612
102611
|
function rot(e) {
|
|
102613
|
-
return
|
|
102612
|
+
return nr(e.dataType || "") === "number" ? !0 : e.aggregate ? tot.has(e.aggregate.toUpperCase()) : !1;
|
|
102614
102613
|
}
|
|
102615
102614
|
function l_t(e, t) {
|
|
102616
102615
|
var r, o;
|
|
@@ -102652,7 +102651,7 @@ function oot({
|
|
|
102652
102651
|
} : { supported: !0 };
|
|
102653
102652
|
}
|
|
102654
102653
|
function iot(e) {
|
|
102655
|
-
return e.find((t) =>
|
|
102654
|
+
return e.find((t) => nr(t.dataType || "") === "date");
|
|
102656
102655
|
}
|
|
102657
102656
|
function c_t(e) {
|
|
102658
102657
|
return e;
|
|
@@ -104075,7 +104074,7 @@ function pot() {
|
|
|
104075
104074
|
const g = Co(), b = $ue(l), y = zue(i, {
|
|
104076
104075
|
connectionId: a == null ? void 0 : a.id,
|
|
104077
104076
|
connectionType: a == null ? void 0 : a.type
|
|
104078
|
-
}), x = H_(b), v = !!((i == null ? void 0 : i.mode) === "semanticDomain" && ((m = y == null ? void 0 : y.selectedEntities) != null && m.length || y != null && y.semanticDomainId)), w = c === "sheet" && t ? [t] : void 0, S =
|
|
104077
|
+
}), x = H_(b), v = !!((i == null ? void 0 : i.mode) === "semanticDomain" && ((m = y == null ? void 0 : y.selectedEntities) != null && m.length || y != null && y.semanticDomainId)), w = c === "sheet" && t ? [t] : void 0, S = nr(l.dataType) === "date" ? "between" : "in";
|
|
104079
104078
|
return n({
|
|
104080
104079
|
id: g,
|
|
104081
104080
|
location: c,
|
|
@@ -105485,7 +105484,7 @@ function rit({
|
|
|
105485
105484
|
}) {
|
|
105486
105485
|
const [a, s] = X(!1);
|
|
105487
105486
|
return /* @__PURE__ */ C(tr, { open: a, onOpenChange: s, children: [
|
|
105488
|
-
/* @__PURE__ */ d(
|
|
105487
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
105489
105488
|
ke,
|
|
105490
105489
|
{
|
|
105491
105490
|
type: "button",
|
|
@@ -105500,7 +105499,7 @@ function rit({
|
|
|
105500
105499
|
}
|
|
105501
105500
|
) }),
|
|
105502
105501
|
/* @__PURE__ */ d(
|
|
105503
|
-
|
|
105502
|
+
lr,
|
|
105504
105503
|
{
|
|
105505
105504
|
align: "end",
|
|
105506
105505
|
sideOffset: 6,
|
|
@@ -105826,7 +105825,7 @@ function Cit({
|
|
|
105826
105825
|
tokenFields: f
|
|
105827
105826
|
};
|
|
105828
105827
|
}
|
|
105829
|
-
const Sit = (e) =>
|
|
105828
|
+
const Sit = (e) => nr(e.dataType || "") === "number", dW = (e) => Sit(e) ? "SUM" : "COUNT", Nit = (e) => {
|
|
105830
105829
|
if (e.role === "metric") {
|
|
105831
105830
|
const n = e;
|
|
105832
105831
|
return {
|
|
@@ -105855,15 +105854,8 @@ const Sit = (e) => cr(e.dataType || "") === "number", dW = (e) => Sit(e) ? "SUM"
|
|
|
105855
105854
|
return "string";
|
|
105856
105855
|
if (/[+\-*/]/.test(n))
|
|
105857
105856
|
return "number";
|
|
105858
|
-
if (t.length === 1)
|
|
105859
|
-
|
|
105860
|
-
if (/date|timestamp/i.test(o))
|
|
105861
|
-
return "date";
|
|
105862
|
-
if (/int|decimal|float|double|num|real/i.test(o))
|
|
105863
|
-
return "number";
|
|
105864
|
-
if (/boolean/i.test(o))
|
|
105865
|
-
return "boolean";
|
|
105866
|
-
}
|
|
105857
|
+
if (t.length === 1)
|
|
105858
|
+
return nr(((r = t[0]) == null ? void 0 : r.dataType) || "");
|
|
105867
105859
|
}
|
|
105868
105860
|
};
|
|
105869
105861
|
function _it({
|
|
@@ -107014,7 +107006,7 @@ const ade = le.memo(function({
|
|
|
107014
107006
|
return "calculated";
|
|
107015
107007
|
if (ve.dataType === "number" || ve.dataType === "integer" || ve.dataType === "float" || ve.dataType === "decimal" || ve.dataType === "currency")
|
|
107016
107008
|
return "metrics";
|
|
107017
|
-
const qe =
|
|
107009
|
+
const qe = nr(ve.dataType);
|
|
107018
107010
|
return ["date", "string", "boolean"].includes(qe) ? "dimensions" : qe === "number" ? "metrics" : "dimensions";
|
|
107019
107011
|
}, gt = (ve) => {
|
|
107020
107012
|
const qe = ve.filter(Oe);
|
|
@@ -107889,7 +107881,7 @@ function qit(e, t) {
|
|
|
107889
107881
|
}
|
|
107890
107882
|
function Yit(e, t, n) {
|
|
107891
107883
|
const r = (t == null ? void 0 : t.values) || [];
|
|
107892
|
-
if (
|
|
107884
|
+
if (nr(e.filter.dataType) === "date") {
|
|
107893
107885
|
const s = r[0] ? K_(r[0], n) : "", l = r[1] ? K_(r[1], n) : "", c = s && l ? `${s} - ${l}` : s || l;
|
|
107894
107886
|
return {
|
|
107895
107887
|
inputId: e.id,
|
|
@@ -107940,7 +107932,7 @@ function mz(e) {
|
|
|
107940
107932
|
return Array.from(/* @__PURE__ */ new Set([...t, ...n]));
|
|
107941
107933
|
}
|
|
107942
107934
|
function Kit(e) {
|
|
107943
|
-
return e.kind === "filter" ?
|
|
107935
|
+
return e.kind === "filter" ? nr(e.filter.dataType) === "date" ? ["label", "start", "end", "range"] : ["label", "value"] : ["label", "value"];
|
|
107944
107936
|
}
|
|
107945
107937
|
function Zit(e) {
|
|
107946
107938
|
const t = mz(e);
|
|
@@ -108707,7 +108699,7 @@ function Dat(e) {
|
|
|
108707
108699
|
] });
|
|
108708
108700
|
}
|
|
108709
108701
|
function Mat(e) {
|
|
108710
|
-
return e ?
|
|
108702
|
+
return e ? nr(e.dataType || "") === "date" : !1;
|
|
108711
108703
|
}
|
|
108712
108704
|
function Aat(e) {
|
|
108713
108705
|
return e != null && e.granularity ? e.granularity : wde(e == null ? void 0 : e.dataType)[0] || "day";
|
|
@@ -108748,7 +108740,7 @@ function Pat(e) {
|
|
|
108748
108740
|
return I ? k.label.toLowerCase().includes(I) || k.value.toLowerCase().includes(I) || ((_ = (E = k.presentation) == null ? void 0 : E.customFormat) == null ? void 0 : _.toLowerCase().includes(I)) : !0;
|
|
108749
108741
|
}), w = (k, I) => {
|
|
108750
108742
|
var R, B, z;
|
|
108751
|
-
const E = l.get(k.value), _ = I ?
|
|
108743
|
+
const E = l.get(k.value), _ = I ? nr(I.dataType || "") : void 0, T = Mat(I), D = T ? ((R = E == null ? void 0 : E.presentation) == null ? void 0 : R.granularity) ?? Aat(I) : void 0, P = T && D ? ((B = E == null ? void 0 : E.presentation) == null ? void 0 : B.dateFormat) ?? Rat(I, D) : void 0, F = T && D ? V_(D) : [];
|
|
108752
108744
|
return /* @__PURE__ */ C("div", { className: "space-y-4", children: [
|
|
108753
108745
|
/* @__PURE__ */ C("div", { className: "space-y-1", children: [
|
|
108754
108746
|
/* @__PURE__ */ C("p", { className: "text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: [
|
|
@@ -108906,7 +108898,7 @@ function Pat(e) {
|
|
|
108906
108898
|
] })
|
|
108907
108899
|
] }),
|
|
108908
108900
|
n.length === 0 ? /* @__PURE__ */ d("div", { className: "rounded-md border border-dashed p-3 text-xs text-muted-foreground", children: o }) : v.length === 0 ? /* @__PURE__ */ d("div", { className: "rounded-md border border-dashed p-3 text-xs text-muted-foreground", children: u.trim().length > 0 ? "No matching fields found." : `All compatible ${r.toLowerCase()} are already selected.` }) : /* @__PURE__ */ d("div", { className: "h-[320px] overflow-y-auto pr-1", children: /* @__PURE__ */ d("div", { className: "space-y-1", children: v.map(({ option: k, target: I }) => {
|
|
108909
|
-
const E = I ?
|
|
108901
|
+
const E = I ? nr(I.dataType || "") : void 0;
|
|
108910
108902
|
return /* @__PURE__ */ C(
|
|
108911
108903
|
"button",
|
|
108912
108904
|
{
|
|
@@ -108946,7 +108938,7 @@ function Pat(e) {
|
|
|
108946
108938
|
] }),
|
|
108947
108939
|
b.length === 0 ? /* @__PURE__ */ d("div", { className: "rounded-md border border-dashed p-3 text-xs text-muted-foreground", children: "Choose at least one option from the catalog." }) : /* @__PURE__ */ C(Ve, { children: [
|
|
108948
108940
|
/* @__PURE__ */ d("div", { className: "max-h-[220px] overflow-y-auto pr-1", children: /* @__PURE__ */ d("div", { className: "space-y-1", children: b.map(({ option: k, target: I }) => {
|
|
108949
|
-
const E = l.get(k.value), _ = I ?
|
|
108941
|
+
const E = l.get(k.value), _ = I ? nr(I.dataType || "") : void 0, T = (x == null ? void 0 : x.option.value) === k.value;
|
|
108950
108942
|
return /* @__PURE__ */ C(
|
|
108951
108943
|
"div",
|
|
108952
108944
|
{
|
|
@@ -109506,7 +109498,7 @@ function Uat(e) {
|
|
|
109506
109498
|
} = e, i = aO(n), a = i.length === 0 ? o ? "No default" : "Choose defaults" : i.length === 1 ? ((s = t.find((l) => l.value === i[0])) == null ? void 0 : s.label) || i[0] : `${i.length} selected`;
|
|
109507
109499
|
return /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
|
|
109508
109500
|
/* @__PURE__ */ C(tr, { children: [
|
|
109509
|
-
/* @__PURE__ */ d(
|
|
109501
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
109510
109502
|
ke,
|
|
109511
109503
|
{
|
|
109512
109504
|
type: "button",
|
|
@@ -109515,7 +109507,7 @@ function Uat(e) {
|
|
|
109515
109507
|
children: /* @__PURE__ */ d("span", { className: "truncate", children: a })
|
|
109516
109508
|
}
|
|
109517
109509
|
) }),
|
|
109518
|
-
/* @__PURE__ */ d(
|
|
109510
|
+
/* @__PURE__ */ d(lr, { align: "start", className: "w-64", children: /* @__PURE__ */ d("div", { className: "space-y-2", children: t.map((l) => {
|
|
109519
109511
|
const c = i.includes(l.value);
|
|
109520
109512
|
return /* @__PURE__ */ C("label", { className: "flex items-center gap-2 text-sm", children: [
|
|
109521
109513
|
/* @__PURE__ */ d(
|
|
@@ -110090,9 +110082,9 @@ function Ide({
|
|
|
110090
110082
|
}
|
|
110091
110083
|
)
|
|
110092
110084
|
] }) : /* @__PURE__ */ C(tr, { open: e, onOpenChange: t, children: [
|
|
110093
|
-
/* @__PURE__ */ d(
|
|
110085
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: n }),
|
|
110094
110086
|
/* @__PURE__ */ C(
|
|
110095
|
-
|
|
110087
|
+
lr,
|
|
110096
110088
|
{
|
|
110097
110089
|
align: "start",
|
|
110098
110090
|
className: "m-2 flex h-[440px] max-h-[85vh] w-[480px] max-w-[95vw] flex-col overflow-hidden rounded-control border border-border/60 p-0 shadow-sm",
|
|
@@ -110575,7 +110567,7 @@ function Ede({
|
|
|
110575
110567
|
),
|
|
110576
110568
|
style: f.chipStyle,
|
|
110577
110569
|
children: [
|
|
110578
|
-
/* @__PURE__ */ d(
|
|
110570
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
110579
110571
|
"button",
|
|
110580
110572
|
{
|
|
110581
110573
|
type: "button",
|
|
@@ -110619,7 +110611,7 @@ function Ede({
|
|
|
110619
110611
|
}
|
|
110620
110612
|
),
|
|
110621
110613
|
/* @__PURE__ */ d(
|
|
110622
|
-
|
|
110614
|
+
lr,
|
|
110623
110615
|
{
|
|
110624
110616
|
align: "start",
|
|
110625
110617
|
sideOffset: 4,
|
|
@@ -111248,7 +111240,7 @@ function yst({
|
|
|
111248
111240
|
] })
|
|
111249
111241
|
] }),
|
|
111250
111242
|
a ? /* @__PURE__ */ C(tr, { open: c, onOpenChange: u, children: [
|
|
111251
|
-
/* @__PURE__ */ d(
|
|
111243
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
111252
111244
|
"button",
|
|
111253
111245
|
{
|
|
111254
111246
|
type: "button",
|
|
@@ -111261,7 +111253,7 @@ function yst({
|
|
|
111261
111253
|
}
|
|
111262
111254
|
) }),
|
|
111263
111255
|
/* @__PURE__ */ d(
|
|
111264
|
-
|
|
111256
|
+
lr,
|
|
111265
111257
|
{
|
|
111266
111258
|
align: "end",
|
|
111267
111259
|
side: "bottom",
|
|
@@ -115078,7 +115070,7 @@ function fct({
|
|
|
115078
115070
|
t(c), i(""), r(!1);
|
|
115079
115071
|
}
|
|
115080
115072
|
return /* @__PURE__ */ C(tr, { open: n, onOpenChange: r, children: [
|
|
115081
|
-
/* @__PURE__ */ d(
|
|
115073
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
115082
115074
|
"button",
|
|
115083
115075
|
{
|
|
115084
115076
|
type: "button",
|
|
@@ -115092,7 +115084,7 @@ function fct({
|
|
|
115092
115084
|
}
|
|
115093
115085
|
) }),
|
|
115094
115086
|
/* @__PURE__ */ C(
|
|
115095
|
-
|
|
115087
|
+
lr,
|
|
115096
115088
|
{
|
|
115097
115089
|
align: "end",
|
|
115098
115090
|
side: "bottom",
|
|
@@ -115313,7 +115305,7 @@ function ul({
|
|
|
115313
115305
|
E || v(), f(E);
|
|
115314
115306
|
},
|
|
115315
115307
|
children: [
|
|
115316
|
-
/* @__PURE__ */ d(
|
|
115308
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ d(
|
|
115317
115309
|
"button",
|
|
115318
115310
|
{
|
|
115319
115311
|
type: "button",
|
|
@@ -115332,7 +115324,7 @@ function ul({
|
|
|
115332
115324
|
}
|
|
115333
115325
|
) }),
|
|
115334
115326
|
/* @__PURE__ */ C(
|
|
115335
|
-
|
|
115327
|
+
lr,
|
|
115336
115328
|
{
|
|
115337
115329
|
align: "start",
|
|
115338
115330
|
sideOffset: 6,
|
|
@@ -117177,7 +117169,7 @@ function Hct({
|
|
|
117177
117169
|
filterId: o
|
|
117178
117170
|
}) {
|
|
117179
117171
|
var m, g, b;
|
|
117180
|
-
const { qualifiedColumnName: i, qualifiedTableName: a, formattedColumnName: s } = Lue(e), l =
|
|
117172
|
+
const { qualifiedColumnName: i, qualifiedTableName: a, formattedColumnName: s } = Lue(e), l = nr(e.dataType), c = l === "date" ? "between" : "in", u = $ue(e), f = zue(t, {
|
|
117181
117173
|
connectionId: n,
|
|
117182
117174
|
connectionType: r
|
|
117183
117175
|
}), h = H_(u), p = !!((t == null ? void 0 : t.mode) === "semanticDomain" && ((m = f == null ? void 0 : f.selectedEntities) != null && m.length || f != null && f.semanticDomainId));
|
|
@@ -117205,7 +117197,7 @@ function Uct(e, t) {
|
|
|
117205
117197
|
return e.kind === "filter" && ew(e.filter, t);
|
|
117206
117198
|
}
|
|
117207
117199
|
function LE(e) {
|
|
117208
|
-
return
|
|
117200
|
+
return nr(e.dataType) === "date" ? ["label", "start", "end", "range"] : ["label", "value"];
|
|
117209
117201
|
}
|
|
117210
117202
|
function ofe(e) {
|
|
117211
117203
|
return Wct(e) ? ["label", "value"] : ["value"];
|
|
@@ -117864,7 +117856,7 @@ function out({ sheet: e }) {
|
|
|
117864
117856
|
}
|
|
117865
117857
|
T(e.id, (Et) => {
|
|
117866
117858
|
const Bt = (Et.inputs || []).find(
|
|
117867
|
-
(
|
|
117859
|
+
(rr) => rr.id === et && Cc(rr)
|
|
117868
117860
|
), Zt = Nut(
|
|
117869
117861
|
Et,
|
|
117870
117862
|
et,
|
|
@@ -118113,14 +118105,14 @@ function out({ sheet: e }) {
|
|
|
118113
118105
|
);
|
|
118114
118106
|
if (Bt === -1 || Zt === -1)
|
|
118115
118107
|
return Et;
|
|
118116
|
-
const
|
|
118117
|
-
return
|
|
118118
|
-
Math.min(Mr,
|
|
118108
|
+
const rr = [...Et.sections], [on] = rr.splice(Bt, 1), Or = yt === "after" ? Zt + 1 : Zt, Mr = Bt < Or ? Or - 1 : Or;
|
|
118109
|
+
return rr.splice(
|
|
118110
|
+
Math.min(Mr, rr.length),
|
|
118119
118111
|
0,
|
|
118120
118112
|
on
|
|
118121
118113
|
), {
|
|
118122
118114
|
...Et,
|
|
118123
|
-
sections:
|
|
118115
|
+
sections: rr
|
|
118124
118116
|
};
|
|
118125
118117
|
}), j(et));
|
|
118126
118118
|
}, he = (et) => {
|
|
@@ -119239,7 +119231,7 @@ function put({
|
|
|
119239
119231
|
[t, e]
|
|
119240
119232
|
), l = e.toLowerCase();
|
|
119241
119233
|
return /* @__PURE__ */ C(tr, { open: r, onOpenChange: o, children: [
|
|
119242
|
-
/* @__PURE__ */ d(
|
|
119234
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
119243
119235
|
"button",
|
|
119244
119236
|
{
|
|
119245
119237
|
type: "button",
|
|
@@ -119266,7 +119258,7 @@ function put({
|
|
|
119266
119258
|
}
|
|
119267
119259
|
) }),
|
|
119268
119260
|
/* @__PURE__ */ C(
|
|
119269
|
-
|
|
119261
|
+
lr,
|
|
119270
119262
|
{
|
|
119271
119263
|
align: "start",
|
|
119272
119264
|
sideOffset: 4,
|
|
@@ -122240,7 +122232,7 @@ function My(e) {
|
|
|
122240
122232
|
}
|
|
122241
122233
|
return t.join("") + e.slice(r);
|
|
122242
122234
|
}
|
|
122243
|
-
function
|
|
122235
|
+
function ar(e, t, n, r) {
|
|
122244
122236
|
const o = r ? r - 1 : Number.POSITIVE_INFINITY;
|
|
122245
122237
|
let i = 0;
|
|
122246
122238
|
return a;
|
|
@@ -122263,7 +122255,7 @@ function nft(e) {
|
|
|
122263
122255
|
e.consume(s);
|
|
122264
122256
|
return;
|
|
122265
122257
|
}
|
|
122266
|
-
return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"),
|
|
122258
|
+
return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), ar(e, t, "linePrefix");
|
|
122267
122259
|
}
|
|
122268
122260
|
function o(s) {
|
|
122269
122261
|
return e.enter("paragraph"), i(s);
|
|
@@ -122401,7 +122393,7 @@ function oft(e) {
|
|
|
122401
122393
|
}
|
|
122402
122394
|
}
|
|
122403
122395
|
function ift(e, t, n) {
|
|
122404
|
-
return
|
|
122396
|
+
return ar(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
122405
122397
|
}
|
|
122406
122398
|
function $b(e) {
|
|
122407
122399
|
if (e === null || qr(e) || sm(e))
|
|
@@ -122541,7 +122533,7 @@ const W1 = {
|
|
|
122541
122533
|
function uft(e, t, n) {
|
|
122542
122534
|
return r;
|
|
122543
122535
|
function r(i) {
|
|
122544
|
-
return Gn(i) ?
|
|
122536
|
+
return Gn(i) ? ar(e, o, "linePrefix")(i) : o(i);
|
|
122545
122537
|
}
|
|
122546
122538
|
function o(i) {
|
|
122547
122539
|
return i === null || fn(i) ? t(i) : n(i);
|
|
@@ -122575,7 +122567,7 @@ function fft(e, t, n) {
|
|
|
122575
122567
|
const r = this;
|
|
122576
122568
|
return o;
|
|
122577
122569
|
function o(a) {
|
|
122578
|
-
return Gn(a) ?
|
|
122570
|
+
return Gn(a) ? ar(e, i, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a) : i(a);
|
|
122579
122571
|
}
|
|
122580
122572
|
function i(a) {
|
|
122581
122573
|
return e.attempt(kfe, t, n)(a);
|
|
@@ -122645,7 +122637,7 @@ function gft(e, t, n) {
|
|
|
122645
122637
|
return i = k && k[1].type === "linePrefix" ? k[2].sliceSerialize(k[1], !0).length : 0, s = N, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(N);
|
|
122646
122638
|
}
|
|
122647
122639
|
function u(N) {
|
|
122648
|
-
return N === s ? (a++, e.consume(N), u) : a < 3 ? n(N) : (e.exit("codeFencedFenceSequence"), Gn(N) ?
|
|
122640
|
+
return N === s ? (a++, e.consume(N), u) : a < 3 ? n(N) : (e.exit("codeFencedFenceSequence"), Gn(N) ? ar(e, f, "whitespace")(N) : f(N));
|
|
122649
122641
|
}
|
|
122650
122642
|
function f(N) {
|
|
122651
122643
|
return N === null || fn(N) ? (e.exit("codeFencedFence"), r.interrupt ? t(N) : e.check(eq, g, w)(N)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
@@ -122653,7 +122645,7 @@ function gft(e, t, n) {
|
|
|
122653
122645
|
}), h(N));
|
|
122654
122646
|
}
|
|
122655
122647
|
function h(N) {
|
|
122656
|
-
return N === null || fn(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(N)) : Gn(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"),
|
|
122648
|
+
return N === null || fn(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(N)) : Gn(N) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ar(e, p, "whitespace")(N)) : N === 96 && N === s ? n(N) : (e.consume(N), h);
|
|
122657
122649
|
}
|
|
122658
122650
|
function p(N) {
|
|
122659
122651
|
return N === null || fn(N) ? f(N) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
@@ -122670,7 +122662,7 @@ function gft(e, t, n) {
|
|
|
122670
122662
|
return e.enter("lineEnding"), e.consume(N), e.exit("lineEnding"), y;
|
|
122671
122663
|
}
|
|
122672
122664
|
function y(N) {
|
|
122673
|
-
return i > 0 && Gn(N) ?
|
|
122665
|
+
return i > 0 && Gn(N) ? ar(e, x, "linePrefix", i + 1)(N) : x(N);
|
|
122674
122666
|
}
|
|
122675
122667
|
function x(N) {
|
|
122676
122668
|
return N === null || fn(N) ? e.check(eq, g, w)(N) : (e.enter("codeFlowValue"), v(N));
|
|
@@ -122688,13 +122680,13 @@ function gft(e, t, n) {
|
|
|
122688
122680
|
return N.enter("lineEnding"), N.consume(R), N.exit("lineEnding"), T;
|
|
122689
122681
|
}
|
|
122690
122682
|
function T(R) {
|
|
122691
|
-
return N.enter("codeFencedFence"), Gn(R) ?
|
|
122683
|
+
return N.enter("codeFencedFence"), Gn(R) ? ar(N, D, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(R) : D(R);
|
|
122692
122684
|
}
|
|
122693
122685
|
function D(R) {
|
|
122694
122686
|
return R === s ? (N.enter("codeFencedFenceSequence"), P(R)) : I(R);
|
|
122695
122687
|
}
|
|
122696
122688
|
function P(R) {
|
|
122697
|
-
return R === s ? (E++, N.consume(R), P) : E >= a ? (N.exit("codeFencedFenceSequence"), Gn(R) ?
|
|
122689
|
+
return R === s ? (E++, N.consume(R), P) : E >= a ? (N.exit("codeFencedFenceSequence"), Gn(R) ? ar(N, F, "whitespace")(R) : F(R)) : I(R);
|
|
122698
122690
|
}
|
|
122699
122691
|
function F(R) {
|
|
122700
122692
|
return R === null || fn(R) ? (N.exit("codeFencedFence"), k(R)) : I(R);
|
|
@@ -122722,7 +122714,7 @@ function vft(e, t, n) {
|
|
|
122722
122714
|
const r = this;
|
|
122723
122715
|
return o;
|
|
122724
122716
|
function o(c) {
|
|
122725
|
-
return e.enter("codeIndented"),
|
|
122717
|
+
return e.enter("codeIndented"), ar(e, i, "linePrefix", 5)(c);
|
|
122726
122718
|
}
|
|
122727
122719
|
function i(c) {
|
|
122728
122720
|
const u = r.events[r.events.length - 1];
|
|
@@ -122742,7 +122734,7 @@ function xft(e, t, n) {
|
|
|
122742
122734
|
const r = this;
|
|
122743
122735
|
return o;
|
|
122744
122736
|
function o(a) {
|
|
122745
|
-
return r.parser.lazy[r.now().line] ? n(a) : fn(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), o) :
|
|
122737
|
+
return r.parser.lazy[r.now().line] ? n(a) : fn(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), o) : ar(e, i, "linePrefix", 5)(a);
|
|
122746
122738
|
}
|
|
122747
122739
|
function i(a) {
|
|
122748
122740
|
const s = r.events[r.events.length - 1];
|
|
@@ -123046,7 +123038,7 @@ function Mft(e, t, n) {
|
|
|
123046
123038
|
const r = this;
|
|
123047
123039
|
return o;
|
|
123048
123040
|
function o(a) {
|
|
123049
|
-
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"),
|
|
123041
|
+
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), ar(e, i, "linePrefix");
|
|
123050
123042
|
}
|
|
123051
123043
|
function i(a) {
|
|
123052
123044
|
if (a === null || fn(a))
|
|
@@ -123116,7 +123108,7 @@ function Mfe(e, t, n, r, o, i) {
|
|
|
123116
123108
|
return h === a ? (e.enter(o), e.consume(h), e.exit(o), e.exit(r), t) : (e.enter(i), c(h));
|
|
123117
123109
|
}
|
|
123118
123110
|
function c(h) {
|
|
123119
|
-
return h === a ? (e.exit(i), l(a)) : h === null ? n(h) : fn(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"),
|
|
123111
|
+
return h === a ? (e.exit(i), l(a)) : h === null ? n(h) : fn(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), ar(e, c, "linePrefix")) : (e.enter("chunkString", {
|
|
123120
123112
|
contentType: "string"
|
|
123121
123113
|
}), u(h));
|
|
123122
123114
|
}
|
|
@@ -123131,7 +123123,7 @@ function Yv(e, t) {
|
|
|
123131
123123
|
let n;
|
|
123132
123124
|
return r;
|
|
123133
123125
|
function r(o) {
|
|
123134
|
-
return fn(o) ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), n = !0, r) : Gn(o) ?
|
|
123126
|
+
return fn(o) ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), n = !0, r) : Gn(o) ? ar(e, r, n ? "linePrefix" : "lineSuffix")(o) : t(o);
|
|
123135
123127
|
}
|
|
123136
123128
|
}
|
|
123137
123129
|
const Aft = {
|
|
@@ -123183,7 +123175,7 @@ function Pft(e, t, n) {
|
|
|
123183
123175
|
return e.attempt(Rft, f, f)(p);
|
|
123184
123176
|
}
|
|
123185
123177
|
function f(p) {
|
|
123186
|
-
return Gn(p) ?
|
|
123178
|
+
return Gn(p) ? ar(e, h, "whitespace")(p) : h(p);
|
|
123187
123179
|
}
|
|
123188
123180
|
function h(p) {
|
|
123189
123181
|
return p === null || fn(p) ? (e.exit("definition"), r.parser.defined.push(o), t(p)) : n(p);
|
|
@@ -123198,7 +123190,7 @@ function Fft(e, t, n) {
|
|
|
123198
123190
|
return Mfe(e, i, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(s);
|
|
123199
123191
|
}
|
|
123200
123192
|
function i(s) {
|
|
123201
|
-
return Gn(s) ?
|
|
123193
|
+
return Gn(s) ? ar(e, a, "whitespace")(s) : a(s);
|
|
123202
123194
|
}
|
|
123203
123195
|
function a(s) {
|
|
123204
123196
|
return s === null || fn(s) ? t(s) : n(s);
|
|
@@ -123248,7 +123240,7 @@ function Bft(e, t, n) {
|
|
|
123248
123240
|
return u === 35 && r++ < 6 ? (e.consume(u), a) : u === null || qr(u) ? (e.exit("atxHeadingSequence"), s(u)) : n(u);
|
|
123249
123241
|
}
|
|
123250
123242
|
function s(u) {
|
|
123251
|
-
return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || fn(u) ? (e.exit("atxHeading"), t(u)) : Gn(u) ?
|
|
123243
|
+
return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || fn(u) ? (e.exit("atxHeading"), t(u)) : Gn(u) ? ar(e, s, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
|
|
123252
123244
|
}
|
|
123253
123245
|
function l(u) {
|
|
123254
123246
|
return u === 35 ? (e.consume(u), l) : (e.exit("atxHeadingSequence"), s(u));
|
|
@@ -123549,7 +123541,7 @@ function Zft(e, t, n) {
|
|
|
123549
123541
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(O), e.exit("lineEnding"), H;
|
|
123550
123542
|
}
|
|
123551
123543
|
function H(O) {
|
|
123552
|
-
return Gn(O) ?
|
|
123544
|
+
return Gn(O) ? ar(e, q, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(O) : q(O);
|
|
123553
123545
|
}
|
|
123554
123546
|
function q(O) {
|
|
123555
123547
|
return e.enter("htmlTextData"), a(O);
|
|
@@ -123736,7 +123728,7 @@ const OA = {
|
|
|
123736
123728
|
function uht(e, t) {
|
|
123737
123729
|
return n;
|
|
123738
123730
|
function n(r) {
|
|
123739
|
-
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"),
|
|
123731
|
+
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), ar(e, t, "linePrefix");
|
|
123740
123732
|
}
|
|
123741
123733
|
}
|
|
123742
123734
|
const jN = {
|
|
@@ -123756,7 +123748,7 @@ function dht(e, t, n) {
|
|
|
123756
123748
|
return c === o ? (e.enter("thematicBreakSequence"), l(c)) : r >= 3 && (c === null || fn(c)) ? (e.exit("thematicBreak"), t(c)) : n(c);
|
|
123757
123749
|
}
|
|
123758
123750
|
function l(c) {
|
|
123759
|
-
return c === o ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Gn(c) ?
|
|
123751
|
+
return c === o ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Gn(c) ? ar(e, s, "whitespace")(c) : s(c));
|
|
123760
123752
|
}
|
|
123761
123753
|
}
|
|
123762
123754
|
const Da = {
|
|
@@ -123814,18 +123806,18 @@ function mht(e, t, n) {
|
|
|
123814
123806
|
const r = this;
|
|
123815
123807
|
return r.containerState._closeFlow = void 0, e.check(W1, o, i);
|
|
123816
123808
|
function o(s) {
|
|
123817
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
|
123809
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, ar(e, t, "listItemIndent", r.containerState.size + 1)(s);
|
|
123818
123810
|
}
|
|
123819
123811
|
function i(s) {
|
|
123820
123812
|
return r.containerState.furtherBlankLines || !Gn(s) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, a(s)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(hht, t, a)(s));
|
|
123821
123813
|
}
|
|
123822
123814
|
function a(s) {
|
|
123823
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
|
123815
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, ar(e, e.attempt(Da, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s);
|
|
123824
123816
|
}
|
|
123825
123817
|
}
|
|
123826
123818
|
function ght(e, t, n) {
|
|
123827
123819
|
const r = this;
|
|
123828
|
-
return
|
|
123820
|
+
return ar(e, o, "listItemIndent", r.containerState.size + 1);
|
|
123829
123821
|
function o(i) {
|
|
123830
123822
|
const a = r.events[r.events.length - 1];
|
|
123831
123823
|
return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === r.containerState.size ? t(i) : n(i);
|
|
@@ -123836,7 +123828,7 @@ function bht(e) {
|
|
|
123836
123828
|
}
|
|
123837
123829
|
function yht(e, t, n) {
|
|
123838
123830
|
const r = this;
|
|
123839
|
-
return
|
|
123831
|
+
return ar(e, o, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
123840
123832
|
function o(i) {
|
|
123841
123833
|
const a = r.events[r.events.length - 1];
|
|
123842
123834
|
return !Gn(i) && a && a[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
|
|
@@ -123888,7 +123880,7 @@ function xht(e, t, n) {
|
|
|
123888
123880
|
return e.enter("setextHeadingLineSequence"), s(c);
|
|
123889
123881
|
}
|
|
123890
123882
|
function s(c) {
|
|
123891
|
-
return c === o ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Gn(c) ?
|
|
123883
|
+
return c === o ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Gn(c) ? ar(e, l, "lineSuffix")(c) : l(c));
|
|
123892
123884
|
}
|
|
123893
123885
|
function l(c) {
|
|
123894
123886
|
return c === null || fn(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c);
|
|
@@ -123903,7 +123895,7 @@ function Cht(e) {
|
|
|
123903
123895
|
W1,
|
|
123904
123896
|
r,
|
|
123905
123897
|
// Try to parse initial flow (essentially, only code).
|
|
123906
|
-
e.attempt(this.parser.constructs.flowInitial, o,
|
|
123898
|
+
e.attempt(this.parser.constructs.flowInitial, o, ar(e, e.attempt(this.parser.constructs.flow, o, e.attempt(Ift, o)), "linePrefix"))
|
|
123907
123899
|
);
|
|
123908
123900
|
return n;
|
|
123909
123901
|
function r(i) {
|
|
@@ -128652,7 +128644,7 @@ function cbt(e, t, n) {
|
|
|
128652
128644
|
return m === 91 || m === 92 || m === 93 ? (e.consume(m), a++, u) : u(m);
|
|
128653
128645
|
}
|
|
128654
128646
|
function h(m) {
|
|
128655
|
-
return m === 58 ? (e.enter("definitionMarker"), e.consume(m), e.exit("definitionMarker"), o.includes(i) || o.push(i),
|
|
128647
|
+
return m === 58 ? (e.enter("definitionMarker"), e.consume(m), e.exit("definitionMarker"), o.includes(i) || o.push(i), ar(e, p, "gfmFootnoteDefinitionWhitespace")) : n(m);
|
|
128656
128648
|
}
|
|
128657
128649
|
function p(m) {
|
|
128658
128650
|
return t(m);
|
|
@@ -128666,7 +128658,7 @@ function dbt(e) {
|
|
|
128666
128658
|
}
|
|
128667
128659
|
function fbt(e, t, n) {
|
|
128668
128660
|
const r = this;
|
|
128669
|
-
return
|
|
128661
|
+
return ar(e, o, "gfmFootnoteDefinitionIndent", 5);
|
|
128670
128662
|
function o(i) {
|
|
128671
128663
|
const a = r.events[r.events.length - 1];
|
|
128672
128664
|
return a && a[1].type === "gfmFootnoteDefinitionIndent" && a[2].sliceSerialize(a[1], !0).length === 4 ? t(i) : n(i);
|
|
@@ -128854,7 +128846,7 @@ function ybt(e, t, n) {
|
|
|
128854
128846
|
return _ === 124 || (a = !0, i += 1), u(_);
|
|
128855
128847
|
}
|
|
128856
128848
|
function u(_) {
|
|
128857
|
-
return _ === null ? n(_) : fn(_) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(_), e.exit("lineEnding"), p) : n(_) : Gn(_) ?
|
|
128849
|
+
return _ === null ? n(_) : fn(_) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(_), e.exit("lineEnding"), p) : n(_) : Gn(_) ? ar(e, u, "whitespace")(_) : (i += 1, a && (a = !1, o += 1), _ === 124 ? (e.enter("tableCellDivider"), e.consume(_), e.exit("tableCellDivider"), a = !0, u) : (e.enter("data"), f(_)));
|
|
128858
128850
|
}
|
|
128859
128851
|
function f(_) {
|
|
128860
128852
|
return _ === null || _ === 124 || qr(_) ? (e.exit("data"), u(_)) : (e.consume(_), _ === 92 ? h : f);
|
|
@@ -128863,13 +128855,13 @@ function ybt(e, t, n) {
|
|
|
128863
128855
|
return _ === 92 || _ === 124 ? (e.consume(_), f) : f(_);
|
|
128864
128856
|
}
|
|
128865
128857
|
function p(_) {
|
|
128866
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(_) : (e.enter("tableDelimiterRow"), a = !1, Gn(_) ?
|
|
128858
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(_) : (e.enter("tableDelimiterRow"), a = !1, Gn(_) ? ar(e, m, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(_) : m(_));
|
|
128867
128859
|
}
|
|
128868
128860
|
function m(_) {
|
|
128869
128861
|
return _ === 45 || _ === 58 ? b(_) : _ === 124 ? (a = !0, e.enter("tableCellDivider"), e.consume(_), e.exit("tableCellDivider"), g) : S(_);
|
|
128870
128862
|
}
|
|
128871
128863
|
function g(_) {
|
|
128872
|
-
return Gn(_) ?
|
|
128864
|
+
return Gn(_) ? ar(e, b, "whitespace")(_) : b(_);
|
|
128873
128865
|
}
|
|
128874
128866
|
function b(_) {
|
|
128875
128867
|
return _ === 58 ? (i += 1, a = !0, e.enter("tableDelimiterMarker"), e.consume(_), e.exit("tableDelimiterMarker"), y) : _ === 45 ? (i += 1, y(_)) : _ === null || fn(_) ? w(_) : S(_);
|
|
@@ -128881,7 +128873,7 @@ function ybt(e, t, n) {
|
|
|
128881
128873
|
return _ === 45 ? (e.consume(_), x) : _ === 58 ? (a = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(_), e.exit("tableDelimiterMarker"), v) : (e.exit("tableDelimiterFiller"), v(_));
|
|
128882
128874
|
}
|
|
128883
128875
|
function v(_) {
|
|
128884
|
-
return Gn(_) ?
|
|
128876
|
+
return Gn(_) ? ar(e, w, "whitespace")(_) : w(_);
|
|
128885
128877
|
}
|
|
128886
128878
|
function w(_) {
|
|
128887
128879
|
return _ === 124 ? m(_) : _ === null || fn(_) ? !a || o !== i ? S(_) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(_)) : S(_);
|
|
@@ -128893,7 +128885,7 @@ function ybt(e, t, n) {
|
|
|
128893
128885
|
return e.enter("tableRow"), k(_);
|
|
128894
128886
|
}
|
|
128895
128887
|
function k(_) {
|
|
128896
|
-
return _ === 124 ? (e.enter("tableCellDivider"), e.consume(_), e.exit("tableCellDivider"), k) : _ === null || fn(_) ? (e.exit("tableRow"), t(_)) : Gn(_) ?
|
|
128888
|
+
return _ === 124 ? (e.enter("tableCellDivider"), e.consume(_), e.exit("tableCellDivider"), k) : _ === null || fn(_) ? (e.exit("tableRow"), t(_)) : Gn(_) ? ar(e, k, "whitespace")(_) : (e.enter("data"), I(_));
|
|
128897
128889
|
}
|
|
128898
128890
|
function I(_) {
|
|
128899
128891
|
return _ === null || _ === 124 || qr(_) ? (e.exit("data"), k(_)) : (e.consume(_), _ === 92 ? E : I);
|
|
@@ -128994,7 +128986,7 @@ function Cbt(e, t, n) {
|
|
|
128994
128986
|
}
|
|
128995
128987
|
}
|
|
128996
128988
|
function Sbt(e, t, n) {
|
|
128997
|
-
return
|
|
128989
|
+
return ar(e, r, "whitespace");
|
|
128998
128990
|
function r(o) {
|
|
128999
128991
|
return o === null ? n(o) : t(o);
|
|
129000
128992
|
}
|
|
@@ -139788,7 +139780,7 @@ function SY({
|
|
|
139788
139780
|
}
|
|
139789
139781
|
) : null, j = z ? /* @__PURE__ */ C(Ve, { children: [
|
|
139790
139782
|
/* @__PURE__ */ C(tr, { open: S, onOpenChange: q, children: [
|
|
139791
|
-
/* @__PURE__ */ d(
|
|
139783
|
+
/* @__PURE__ */ d(sr, { asChild: !0, children: /* @__PURE__ */ C(
|
|
139792
139784
|
ke,
|
|
139793
139785
|
{
|
|
139794
139786
|
variant: p,
|
|
@@ -139808,7 +139800,7 @@ function SY({
|
|
|
139808
139800
|
}
|
|
139809
139801
|
) }),
|
|
139810
139802
|
/* @__PURE__ */ d(
|
|
139811
|
-
|
|
139803
|
+
lr,
|
|
139812
139804
|
{
|
|
139813
139805
|
className: Q("w-80 p-0", t && "w-72"),
|
|
139814
139806
|
align: "start",
|
|
@@ -143023,10 +143015,10 @@ function JSt() {
|
|
|
143023
143015
|
}
|
|
143024
143016
|
);
|
|
143025
143017
|
}
|
|
143026
|
-
const eNt = xw(() => import("./dashboard-controls-
|
|
143027
|
-
() => import("./edit-dashboard-visual-
|
|
143028
|
-
), nNt = xw(() => import("./dashboard-json-
|
|
143029
|
-
() => import("./resource-management-panel-
|
|
143018
|
+
const eNt = xw(() => import("./dashboard-controls-B5U-VUxs.js")), tNt = xw(
|
|
143019
|
+
() => import("./edit-dashboard-visual-D4VVu-QQ.js")
|
|
143020
|
+
), nNt = xw(() => import("./dashboard-json-Hmc0Ri5z.js")), rNt = xw(
|
|
143021
|
+
() => import("./resource-management-panel-C4YydU9I.js").then(
|
|
143030
143022
|
(e) => ({ default: e.ResourceManagementPanel })
|
|
143031
143023
|
)
|
|
143032
143024
|
);
|