@databrainhq/plugin 0.9.24 → 0.9.25
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/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +2 -2
- package/dist/index.es.js +309 -305
- package/dist/index.umd.js +20 -20
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Xt from "react";
|
|
2
|
-
import J, { useEffect as je, useLayoutEffect as NU, useRef as
|
|
2
|
+
import J, { useEffect as je, useLayoutEffect as NU, useRef as mr, useState as fe, forwardRef as EU, Fragment as rl, isValidElement as kU, cloneElement as OU, createElement as G$, createContext as Xp, useContext as nf, useReducer as RU, createRef as fm, useMemo as Lt, useCallback as nl, PureComponent as PU, Component as $U, memo as jU } from "react";
|
|
3
3
|
import * as zU from "react-dom";
|
|
4
4
|
import Kp, { findDOMNode as FU } from "react-dom";
|
|
5
5
|
var qr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -3343,7 +3343,7 @@ function R0(r = {}) {
|
|
|
3343
3343
|
const gj = typeof window > "u" || typeof document > "u";
|
|
3344
3344
|
let Fn = gj ? je : NU;
|
|
3345
3345
|
function il(r) {
|
|
3346
|
-
let t =
|
|
3346
|
+
let t = mr(r);
|
|
3347
3347
|
return Fn(() => {
|
|
3348
3348
|
t.current = r;
|
|
3349
3349
|
}, [r]), t;
|
|
@@ -3467,7 +3467,7 @@ function hw(r, t, e) {
|
|
|
3467
3467
|
}, [r, e]);
|
|
3468
3468
|
}
|
|
3469
3469
|
function A9(r, t, e = !0) {
|
|
3470
|
-
let n =
|
|
3470
|
+
let n = mr(!1);
|
|
3471
3471
|
je(() => {
|
|
3472
3472
|
requestAnimationFrame(() => {
|
|
3473
3473
|
n.current = e;
|
|
@@ -3490,7 +3490,7 @@ function A9(r, t, e = !0) {
|
|
|
3490
3490
|
return !bj(c, LC.Loose) && c.tabIndex !== -1 && o.preventDefault(), t(o, c);
|
|
3491
3491
|
}
|
|
3492
3492
|
}
|
|
3493
|
-
let a =
|
|
3493
|
+
let a = mr(null);
|
|
3494
3494
|
hw("mousedown", (o) => {
|
|
3495
3495
|
n.current && (a.current = o.target);
|
|
3496
3496
|
}, !0), hw("click", (o) => {
|
|
@@ -3515,7 +3515,7 @@ function L9(r, t) {
|
|
|
3515
3515
|
}
|
|
3516
3516
|
let N9 = Symbol();
|
|
3517
3517
|
function vc(...r) {
|
|
3518
|
-
let t =
|
|
3518
|
+
let t = mr(r);
|
|
3519
3519
|
je(() => {
|
|
3520
3520
|
t.current = r;
|
|
3521
3521
|
}, [r]);
|
|
@@ -3695,7 +3695,7 @@ function z9(r, t, e) {
|
|
|
3695
3695
|
return [a ? r : n, en((o) => (a || i(o), t == null ? void 0 : t(o)))];
|
|
3696
3696
|
}
|
|
3697
3697
|
function Dj() {
|
|
3698
|
-
let r =
|
|
3698
|
+
let r = mr(!1);
|
|
3699
3699
|
return Fn(() => (r.current = !0, () => {
|
|
3700
3700
|
r.current = !1;
|
|
3701
3701
|
}), []), r;
|
|
@@ -3873,7 +3873,7 @@ let U9 = rl, Y9 = gs(function(r, t) {
|
|
|
3873
3873
|
}, [n.labelRef.current, n.buttonRef.current]), d = Lt(() => ({ open: n.listboxState === 0 }), [n]), p = r, v = { "aria-activedescendant": n.activeOptionIndex === null || (e = n.options[n.activeOptionIndex]) == null ? void 0 : e.id, "aria-multiselectable": n.propsRef.current.mode === 1 ? !0 : void 0, "aria-labelledby": f, "aria-orientation": n.orientation, id: o, onKeyDown: h, role: "listbox", tabIndex: 0, ref: a };
|
|
3874
3874
|
return Cl({ ourProps: v, theirProps: p, slot: d, defaultTag: K9, features: J9, visible: u, name: "Listbox.Options" });
|
|
3875
3875
|
}), t8 = "li", r8 = gs(function(r, t) {
|
|
3876
|
-
let { disabled: e = !1, value: n, ...i } = r, [a, o] = rv("Listbox.Option"), s = `headlessui-listbox-option-${P0()}`, l = a.activeOptionIndex !== null ? a.options[a.activeOptionIndex].id === s : !1, { value: c, compare: u } = a.propsRef.current, h = Br(a.propsRef.current.mode, { [1]: () => c.some((_) => u(_, n)), [0]: () => u(c, n) }), f =
|
|
3876
|
+
let { disabled: e = !1, value: n, ...i } = r, [a, o] = rv("Listbox.Option"), s = `headlessui-listbox-option-${P0()}`, l = a.activeOptionIndex !== null ? a.options[a.activeOptionIndex].id === s : !1, { value: c, compare: u } = a.propsRef.current, h = Br(a.propsRef.current.mode, { [1]: () => c.some((_) => u(_, n)), [0]: () => u(c, n) }), f = mr(null), d = vc(t, f);
|
|
3877
3877
|
Fn(() => {
|
|
3878
3878
|
if (a.listboxState !== 0 || !l || a.activationTrigger === 0)
|
|
3879
3879
|
return;
|
|
@@ -3883,7 +3883,7 @@ let U9 = rl, Y9 = gs(function(r, t) {
|
|
|
3883
3883
|
(T = (w = f.current) == null ? void 0 : w.scrollIntoView) == null || T.call(w, { block: "nearest" });
|
|
3884
3884
|
}), _.dispose;
|
|
3885
3885
|
}, [f, l, a.listboxState, a.activationTrigger, a.activeOptionIndex]);
|
|
3886
|
-
let p =
|
|
3886
|
+
let p = mr({ disabled: e, value: n, domRef: f });
|
|
3887
3887
|
Fn(() => {
|
|
3888
3888
|
p.current.disabled = e;
|
|
3889
3889
|
}, [p, e]), Fn(() => {
|
|
@@ -3995,7 +3995,7 @@ function z0(r) {
|
|
|
3995
3995
|
return "children" in r ? z0(r.children) : r.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
|
|
3996
3996
|
}
|
|
3997
3997
|
function Tj(r, t) {
|
|
3998
|
-
let e = il(r), n =
|
|
3998
|
+
let e = il(r), n = mr([]), i = Dj(), a = up(), o = en((d, p = Qo.Hidden) => {
|
|
3999
3999
|
let v = n.current.findIndex(({ el: g }) => g === d);
|
|
4000
4000
|
v !== -1 && (Br(p, { [Qo.Unmount]() {
|
|
4001
4001
|
n.current.splice(v, 1);
|
|
@@ -4008,7 +4008,7 @@ function Tj(r, t) {
|
|
|
4008
4008
|
}), s = en((d) => {
|
|
4009
4009
|
let p = n.current.find(({ el: v }) => v === d);
|
|
4010
4010
|
return p ? p.state !== "visible" && (p.state = "visible") : n.current.push({ el: d, state: "visible" }), () => o(d, Qo.Unmount);
|
|
4011
|
-
}), l =
|
|
4011
|
+
}), l = mr([]), c = mr(Promise.resolve()), u = mr({ enter: [], leave: [], idle: [] }), h = en((d, p, v) => {
|
|
4012
4012
|
l.current.splice(0), t && (t.chains.current[p] = t.chains.current[p].filter(([g]) => g !== d)), t == null || t.chains.current[p].push([d, new Promise((g) => {
|
|
4013
4013
|
l.current.push(g);
|
|
4014
4014
|
})]), t == null || t.chains.current[p].push([d, new Promise((g) => {
|
|
@@ -4033,13 +4033,13 @@ function ZA(r) {
|
|
|
4033
4033
|
return e;
|
|
4034
4034
|
}
|
|
4035
4035
|
function f8(r) {
|
|
4036
|
-
let t =
|
|
4036
|
+
let t = mr(ZA(r));
|
|
4037
4037
|
return je(() => {
|
|
4038
4038
|
t.current = ZA(r);
|
|
4039
4039
|
}, [r]), t;
|
|
4040
4040
|
}
|
|
4041
4041
|
let d8 = "div", Ij = ey.RenderStrategy, Aj = gs(function(r, t) {
|
|
4042
|
-
let { beforeEnter: e, afterEnter: n, beforeLeave: i, afterLeave: a, enter: o, enterFrom: s, enterTo: l, entered: c, leave: u, leaveFrom: h, leaveTo: f, ...d } = r, p =
|
|
4042
|
+
let { beforeEnter: e, afterEnter: n, beforeLeave: i, afterLeave: a, enter: o, enterFrom: s, enterTo: l, entered: c, leave: u, leaveFrom: h, leaveTo: f, ...d } = r, p = mr(null), v = vc(p, t), g = d.unmount ? Qo.Unmount : Qo.Hidden, { show: m, appear: y, initial: b } = l8(), [x, _] = fe(m ? "visible" : "hidden"), w = u8(), { register: T, unregister: I } = w, D = mr(null);
|
|
4043
4043
|
je(() => T(p), [T, p]), je(() => {
|
|
4044
4044
|
if (g === Qo.Hidden && p.current) {
|
|
4045
4045
|
if (m && x !== "visible") {
|
|
@@ -4069,14 +4069,14 @@ let d8 = "div", Ij = ey.RenderStrategy, Aj = gs(function(r, t) {
|
|
|
4069
4069
|
let R = d, P = { ref: v };
|
|
4070
4070
|
return J.createElement(j0.Provider, { value: O }, J.createElement(Cj, { value: Br(x, { visible: fl.Open, hidden: fl.Closed }) }, Cl({ ourProps: P, theirProps: R, defaultTag: d8, features: Ij, visible: x === "visible", name: "Transition.Child" })));
|
|
4071
4071
|
}), $1 = gs(function(r, t) {
|
|
4072
|
-
let { show: e, appear: n = !1, unmount: i, ...a } = r, o =
|
|
4072
|
+
let { show: e, appear: n = !1, unmount: i, ...a } = r, o = mr(null), s = vc(o, t);
|
|
4073
4073
|
AC();
|
|
4074
4074
|
let l = EC();
|
|
4075
4075
|
if (e === void 0 && l !== null && (e = Br(l, { [fl.Open]: !0, [fl.Closed]: !1 })), ![!0, !1].includes(e))
|
|
4076
4076
|
throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
|
|
4077
4077
|
let [c, u] = fe(e ? "visible" : "hidden"), h = Tj(() => {
|
|
4078
4078
|
u("hidden");
|
|
4079
|
-
}), [f, d] = fe(!0), p =
|
|
4079
|
+
}), [f, d] = fe(!0), p = mr([e]);
|
|
4080
4080
|
Fn(() => {
|
|
4081
4081
|
f !== !1 && p.current[p.current.length - 1] !== e && (p.current.push(e), d(!1));
|
|
4082
4082
|
}, [p, e]);
|
|
@@ -4415,7 +4415,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
4415
4415
|
] })
|
|
4416
4416
|
] }) })
|
|
4417
4417
|
);
|
|
4418
|
-
},
|
|
4418
|
+
}, eQ = ({
|
|
4419
4419
|
control: r,
|
|
4420
4420
|
name: t,
|
|
4421
4421
|
options: e,
|
|
@@ -4596,14 +4596,14 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
4596
4596
|
boxplot: "boxplot",
|
|
4597
4597
|
table: "table",
|
|
4598
4598
|
timeSeries: "time series"
|
|
4599
|
-
},
|
|
4599
|
+
}, tQ = "STATUS_TAB", rQ = "STREAM_TAB", RC = "client_id_variable", nQ = {
|
|
4600
4600
|
"is equal to": "=",
|
|
4601
4601
|
"is not equal to": "!=",
|
|
4602
4602
|
"is greater than": ">",
|
|
4603
4603
|
"is less than": "<",
|
|
4604
4604
|
"is greater than or equal to": ">=",
|
|
4605
4605
|
"is less than or equal to": "<="
|
|
4606
|
-
}, ym = "CHART_TAB", wd = "TABLE_TAB",
|
|
4606
|
+
}, ym = "CHART_TAB", wd = "TABLE_TAB", iQ = "QUERY_TAB", yu = "INPUT_TABLE", bu = "OUTPUT_TABLE", j1 = "doughnut", z1 = "pie", Rj = "sankey", aQ = "boxplot", oQ = "table", wu = "general", ch = "configuration", F1 = {
|
|
4607
4607
|
Snowflake: "Snowflake",
|
|
4608
4608
|
Redshift: "Redshift",
|
|
4609
4609
|
BigQuery: "BigQuery",
|
|
@@ -4808,25 +4808,25 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
4808
4808
|
}
|
|
4809
4809
|
)
|
|
4810
4810
|
] }) });
|
|
4811
|
-
},
|
|
4811
|
+
}, sQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "m3.5 18.5l6-6l4 4L22 6.92L20.59 5.5l-7.09 8l-4-4L2 17l1.5 1.5Z" }) }), lQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M3 22V8h4v14H3m7 0V2h4v20h-4m7 0v-8h4v8h-4Z" }) }), uQ = (r) => /* @__PURE__ */ A.jsxs("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: [
|
|
4812
4812
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M4 21h17v-2H5V3H3v17a1 1 0 0 0 1 1z" }),
|
|
4813
4813
|
/* @__PURE__ */ A.jsx("circle", { cx: 10, cy: 8, r: 2, fill: "currentColor" }),
|
|
4814
4814
|
/* @__PURE__ */ A.jsx("circle", { cx: 18, cy: 12, r: 2, fill: "currentColor" }),
|
|
4815
4815
|
/* @__PURE__ */ A.jsx("circle", { cx: 11.5, cy: 13.5, r: 1.5, fill: "currentColor" }),
|
|
4816
4816
|
/* @__PURE__ */ A.jsx("circle", { cx: 16.5, cy: 6.5, r: 1.5, fill: "currentColor" })
|
|
4817
|
-
] }),
|
|
4817
|
+
] }), cQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M4 22H2V2h2v20Zm11-1H5v-3h10v3Zm3-5H5v-3h13v3Zm3-5H5V8h16v3Zm-8-5H5V3h8v3Z" }) }), hQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 1024 1024", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 0 0-11.3 0l-189 189.6a7.87 7.87 0 0 0-2.3 5.6V720c0 4.4 3.6 8 8 8z" }) }), fQ = (r) => /* @__PURE__ */ A.jsxs("svg", { viewBox: "0 0 32 32", width: "1.2em", height: "1.2em", ...r, children: [
|
|
4818
4818
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M27 28V16h-8v12h-4V12H7v16H4V2H2v26a2 2 0 0 0 2 2h26v-2Zm-14 0H9V14h4Zm12 0h-4V18h4Z" }),
|
|
4819
4819
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M22.786 14a1.988 1.988 0 0 1-1.18-.387L11.205 5.987L8.242 10L6.637 8.806l2.982-4a1.998 1.998 0 0 1 2.749-.446L22.789 12l3.604-4.86L28 8.33l-3.604 4.862a2.001 2.001 0 0 1-1.61.808Z" })
|
|
4820
|
-
] }),
|
|
4820
|
+
] }), dQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 16 16", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M7.5 1.018a7 7 0 0 0-4.79 11.566L7.5 7.793V1.018zm1 0V7.5h6.482A7.001 7.001 0 0 0 8.5 1.018zM14.982 8.5H8.207l-4.79 4.79A7 7 0 0 0 14.982 8.5zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z" }) }), pQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M12.051 21.949a10 10 0 0 1-1-19.949v4.04a5.994 5.994 0 1 0 6.91 6.909H22a10.015 10.015 0 0 1-9.95 9Zm9.95-11h-4.04a5.993 5.993 0 0 0-4.91-4.909V2a10.022 10.022 0 0 1 8.95 8.948v.001Z" }) }), vQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 16 16", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2zm1 .5v1.308l4.372 4.858A.5.5 0 0 1 7 8.5v5.306l2-.666V8.5a.5.5 0 0 1 .128-.334L13.5 3.308V2h-11z" }) }), gQ = (r) => /* @__PURE__ */ A.jsxs("svg", { viewBox: "0 0 32 32", width: "1.2em", height: "1.2em", ...r, children: [
|
|
4821
4821
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M28 28V18h-2v10h-4V4h-2v24H10V14H8v14H4V2H2v26a2.002 2.002 0 0 0 2 2h26v-2Z" }),
|
|
4822
4822
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M14 4h2v14h-2z" })
|
|
4823
|
-
] }),
|
|
4823
|
+
] }), mQ = (r) => /* @__PURE__ */ A.jsxs("svg", { viewBox: "0 0 32 32", width: "1.2em", height: "1.2em", ...r, children: [
|
|
4824
4824
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M30 30H4a2 2 0 0 1-2-2V2h2v26h26Z" }),
|
|
4825
4825
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M10 16a2 2 0 1 1-2 2a2 2 0 0 1 2-2m0-2a4 4 0 1 0 4 4a4 4 0 0 0-4-4zm11-8a4 4 0 1 1-4 4a4 4 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6zm3.5 17a1.5 1.5 0 1 1-1.5 1.5a1.5 1.5 0 0 1 1.5-1.5m0-2a3.5 3.5 0 1 0 3.5 3.5a3.5 3.5 0 0 0-3.5-3.5z" })
|
|
4826
|
-
] }),
|
|
4826
|
+
] }), yQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 32 32", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M22 10V6H10v6H4V2H2v26a2.002 2.002 0 0 0 2 2h26V10Zm-10 4V8h8v4h8v10h-6v-6H12v6H4v-8ZM4 28v-4h10v-6h6v6h8v4Z" }) }), bQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M3 4h1v9h3V7h5v4h4v4h4v6H3V4m13 12v4h3v-4h-3m-4-4v8h3v-8h-3M8 8v12h3V8H8m-4 6v6h3v-6H4Z" }) }), wQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 20 20", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M8.127 13.6c-.689 1.197-.225 2.18.732 2.732c.956.553 2.041.465 2.732-.732c.689-1.195 5.047-11.865 4.668-12.084c-.379-.219-7.442 8.888-8.132 10.084zM10 6c.438 0 .864.037 1.281.109c.438-.549.928-1.154 1.405-1.728A9.664 9.664 0 0 0 10 4C4.393 4 0 8.729 0 14.766c0 .371.016.742.049 1.103c.049.551.54.955 1.084.908c.551-.051.957-.535.908-1.086A10.462 10.462 0 0 1 2 14.766C2 9.85 5.514 6 10 6zm7.219 1.25c-.279.75-.574 1.514-.834 2.174C17.4 10.894 18 12.738 18 14.766c0 .316-.015.635-.043.943a1.001 1.001 0 0 0 1.992.182c.033-.37.051-.748.051-1.125c0-2.954-1.053-5.59-2.781-7.516z" }) }), _Q = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 32 32", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M30 2H2v14h6.111a7.036 7.036 0 0 1 3.13.74L15.764 19l-4.522 2.26a7.036 7.036 0 0 1-3.13.74H2v8h7.223a9.045 9.045 0 0 0 4.025-.95l8.622-4.31A7.036 7.036 0 0 1 25 24h5V14h-5a7.036 7.036 0 0 1-3.13-.74L15.348 10H30ZM8 4h16v4H8ZM4 4h2v10H4Zm0 20h2v4H4Zm16.975-1.05l-8.622 4.31a7.036 7.036 0 0 1-3.13.74H8v-4h.111a9.045 9.045 0 0 0 4.025-.95L18 20.118l1.864.932a9.045 9.045 0 0 0 4.025.95H24v.058a9.052 9.052 0 0 0-3.025.892ZM28 22h-2v-6h2ZM12.354 10.74l8.621 4.31a9.052 9.052 0 0 0 3.025.89V20h-.111a7.036 7.036 0 0 1-3.13-.74l-8.622-4.31A9.045 9.045 0 0 0 8.11 14H8v-4h1.223a7.036 7.036 0 0 1 3.13.74ZM28 8h-2V4h2Z" }) }), xQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M22 21H2V3h2v16h2v-2h4v2h2v-3h4v3h2v-2h4v4m-4-7h4v2h-4v-2m-6-8h4v3h-4V6m4 9h-4v-5h4v5M6 10h4v2H6v-2m4 6H6v-3h4v3Z" }) }), MQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 16 16", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M2.873 11.297V4.142H1.699L0 5.379v1.137l1.64-1.18h.06v5.961h1.174Zm3.213-5.09v-.063c0-.618.44-1.169 1.196-1.169c.676 0 1.174.44 1.174 1.106c0 .624-.42 1.101-.807 1.526L4.99 10.553v.744h4.78v-.99H6.643v-.069L8.41 8.252c.65-.724 1.237-1.332 1.237-2.27C9.646 4.849 8.723 4 7.308 4c-1.573 0-2.36 1.064-2.36 2.15v.057h1.138Zm6.559 1.883h.786c.823 0 1.374.481 1.379 1.179c.01.707-.55 1.216-1.421 1.21c-.77-.005-1.326-.419-1.379-.953h-1.095c.042 1.053.938 1.918 2.464 1.918c1.478 0 2.642-.839 2.62-2.144c-.02-1.143-.922-1.651-1.551-1.714v-.063c.535-.09 1.347-.66 1.326-1.678c-.026-1.053-.933-1.855-2.359-1.845c-1.5.005-2.317.88-2.348 1.898h1.116c.032-.498.498-.944 1.206-.944c.703 0 1.206.435 1.206 1.07c.005.64-.504 1.106-1.2 1.106h-.75v.96Z" }) }), SQ = (r) => /* @__PURE__ */ A.jsxs("svg", { viewBox: "0 0 32 32", width: "1.2em", height: "1.2em", ...r, children: [
|
|
4827
4827
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M22 6V4H12v2h4v2h-4v12h4v2h-4v2h10v-2h-4v-2h4V8h-4V6Zm-8 12v-3h6v3Zm6-5h-6v-3h6Z" }),
|
|
4828
4828
|
/* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M30 30H4a2 2 0 0 1-2-2V2h2v26h26Z" })
|
|
4829
|
-
] }),
|
|
4829
|
+
] }), CQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M8 16h5v-5H8v5Zm0-7h12V4H8Zm7 7h5v-5h-5Zm-7 2q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm-4 4q-.825 0-1.412-.587Q2 20.825 2 20V6h2v14h14v2Z" }) }), DQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M21 8c-1.5 0-2.3 1.4-1.9 2.5l-3.6 3.6c-.3-.1-.7-.1-1 0l-2.6-2.6c.4-1.1-.4-2.5-1.9-2.5c-1.4 0-2.3 1.4-1.9 2.5L3.5 16c-1.1-.3-2.5.5-2.5 2c0 1.1.9 2 2 2c1.4 0 2.3-1.4 1.9-2.5l4.5-4.6c.3.1.7.1 1 0l2.6 2.6c-.3 1 .5 2.5 2 2.5s2.3-1.4 1.9-2.5l3.6-3.6c1.1.3 2.5-.5 2.5-1.9c0-1.1-.9-2-2-2m-6 1l.9-2.1L18 6l-2.1-.9L15 3l-.9 2.1L12 6l2.1.9L15 9M3.5 11L4 9l2-.5L4 8l-.5-2L3 8l-2 .5L3 9l.5 2Z" }) }), FC = [
|
|
4830
4830
|
{
|
|
4831
4831
|
value: "=",
|
|
4832
4832
|
label: "Equal to (=)"
|
|
@@ -4940,13 +4940,13 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
4940
4940
|
"timestamp without time zone",
|
|
4941
4941
|
"timestamp with time zone",
|
|
4942
4942
|
"datetime"
|
|
4943
|
-
], Wj = ["array", "text[]"], WC = ["boolean", "bool"], H1 = ["saved", "simple", "custom"],
|
|
4943
|
+
], Wj = ["array", "text[]"], WC = ["boolean", "bool"], H1 = ["saved", "simple", "custom"], OPe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4944
4944
|
__proto__: null,
|
|
4945
4945
|
ARRAY_TYPES: Wj,
|
|
4946
4946
|
AVAILABLE: Bj,
|
|
4947
4947
|
AggregateList: B1,
|
|
4948
4948
|
BOOLEAN_TYPES: WC,
|
|
4949
|
-
BOXPLOT:
|
|
4949
|
+
BOXPLOT: aQ,
|
|
4950
4950
|
CHART_TAB: ym,
|
|
4951
4951
|
CHART_TYPES: xe,
|
|
4952
4952
|
CLIENT_NAME_VAR: RC,
|
|
@@ -4965,17 +4965,17 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
4965
4965
|
NUMBER_TYPES: BC,
|
|
4966
4966
|
OUTPUT_TABLE: bu,
|
|
4967
4967
|
PIE: z1,
|
|
4968
|
-
QUERY_TAB:
|
|
4968
|
+
QUERY_TAB: iQ,
|
|
4969
4969
|
RAW_CSV_OPTIONS: _d,
|
|
4970
4970
|
REQUESTED: xd,
|
|
4971
|
-
RLS_CONDITIONS:
|
|
4971
|
+
RLS_CONDITIONS: nQ,
|
|
4972
4972
|
RowLimitList: Vj,
|
|
4973
4973
|
SANKEY: Rj,
|
|
4974
4974
|
SOMETHING_WENT_WRONG: jn,
|
|
4975
|
-
STATUS_TAB:
|
|
4976
|
-
STREAM_TAB:
|
|
4975
|
+
STATUS_TAB: tQ,
|
|
4976
|
+
STREAM_TAB: rQ,
|
|
4977
4977
|
STRING_TYPES: HC,
|
|
4978
|
-
TABLE:
|
|
4978
|
+
TABLE: oQ,
|
|
4979
4979
|
TABLE_TAB: wd,
|
|
4980
4980
|
TIME: $j,
|
|
4981
4981
|
TIME_ZONES: Pj,
|
|
@@ -4983,92 +4983,92 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
4983
4983
|
WEEK_DAYS: zC,
|
|
4984
4984
|
configTabs: H1,
|
|
4985
4985
|
operatorList: FC
|
|
4986
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4986
|
+
}, Symbol.toStringTag, { value: "Module" })), TQ = [
|
|
4987
4987
|
{
|
|
4988
4988
|
name: "Line",
|
|
4989
|
-
icon:
|
|
4989
|
+
icon: sQ
|
|
4990
4990
|
},
|
|
4991
4991
|
{
|
|
4992
4992
|
name: "Bar",
|
|
4993
|
-
icon:
|
|
4993
|
+
icon: lQ
|
|
4994
4994
|
},
|
|
4995
4995
|
{
|
|
4996
4996
|
name: "Combo",
|
|
4997
|
-
icon:
|
|
4997
|
+
icon: fQ
|
|
4998
4998
|
},
|
|
4999
4999
|
{
|
|
5000
5000
|
name: "Scatter",
|
|
5001
|
-
icon:
|
|
5001
|
+
icon: uQ
|
|
5002
5002
|
},
|
|
5003
5003
|
{
|
|
5004
5004
|
name: "Row",
|
|
5005
|
-
icon:
|
|
5005
|
+
icon: cQ
|
|
5006
5006
|
},
|
|
5007
5007
|
{
|
|
5008
5008
|
name: "Area",
|
|
5009
|
-
icon:
|
|
5009
|
+
icon: hQ
|
|
5010
5010
|
},
|
|
5011
5011
|
{
|
|
5012
5012
|
name: "Pie",
|
|
5013
|
-
icon:
|
|
5013
|
+
icon: dQ
|
|
5014
5014
|
},
|
|
5015
5015
|
{
|
|
5016
5016
|
name: "Waterfall",
|
|
5017
|
-
icon:
|
|
5017
|
+
icon: gQ
|
|
5018
5018
|
},
|
|
5019
5019
|
{
|
|
5020
5020
|
name: "Funnel",
|
|
5021
|
-
icon:
|
|
5021
|
+
icon: vQ
|
|
5022
5022
|
},
|
|
5023
5023
|
{
|
|
5024
5024
|
name: "Bubble",
|
|
5025
|
-
icon:
|
|
5025
|
+
icon: mQ
|
|
5026
5026
|
},
|
|
5027
5027
|
{
|
|
5028
5028
|
name: "Doughnut",
|
|
5029
|
-
icon:
|
|
5029
|
+
icon: pQ
|
|
5030
5030
|
},
|
|
5031
5031
|
{
|
|
5032
5032
|
name: "Stepped",
|
|
5033
|
-
icon:
|
|
5033
|
+
icon: yQ
|
|
5034
5034
|
},
|
|
5035
5035
|
{
|
|
5036
5036
|
name: "Histogram",
|
|
5037
|
-
icon:
|
|
5037
|
+
icon: bQ
|
|
5038
5038
|
},
|
|
5039
5039
|
{
|
|
5040
5040
|
name: "Gauge",
|
|
5041
|
-
icon:
|
|
5041
|
+
icon: wQ
|
|
5042
5042
|
},
|
|
5043
5043
|
{
|
|
5044
5044
|
name: "Sankey",
|
|
5045
|
-
icon:
|
|
5045
|
+
icon: _Q
|
|
5046
5046
|
},
|
|
5047
5047
|
{
|
|
5048
5048
|
name: "Stack",
|
|
5049
|
-
icon:
|
|
5049
|
+
icon: xQ
|
|
5050
5050
|
},
|
|
5051
5051
|
{
|
|
5052
5052
|
name: "Single value",
|
|
5053
|
-
icon:
|
|
5053
|
+
icon: MQ
|
|
5054
5054
|
},
|
|
5055
5055
|
{
|
|
5056
5056
|
name: "BoxPlot",
|
|
5057
|
-
icon:
|
|
5057
|
+
icon: SQ
|
|
5058
5058
|
},
|
|
5059
5059
|
{
|
|
5060
5060
|
name: "Table",
|
|
5061
|
-
icon:
|
|
5061
|
+
icon: CQ
|
|
5062
5062
|
},
|
|
5063
5063
|
{
|
|
5064
5064
|
name: "Time series",
|
|
5065
|
-
icon:
|
|
5065
|
+
icon: DQ
|
|
5066
5066
|
}
|
|
5067
5067
|
], Gj = ({
|
|
5068
5068
|
chartType: r,
|
|
5069
5069
|
onChartChange: t,
|
|
5070
5070
|
isEnableTimeSeries: e
|
|
5071
|
-
}) => /* @__PURE__ */ A.jsx("div", { className: fo.chartOptions, children:
|
|
5071
|
+
}) => /* @__PURE__ */ A.jsx("div", { className: fo.chartOptions, children: TQ.map((n) => /* @__PURE__ */ A.jsxs("div", { className: fo.chartOption, children: [
|
|
5072
5072
|
/* @__PURE__ */ A.jsx(
|
|
5073
5073
|
Me,
|
|
5074
5074
|
{
|
|
@@ -5110,7 +5110,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5110
5110
|
children: n.name
|
|
5111
5111
|
}
|
|
5112
5112
|
)
|
|
5113
|
-
] }, n.name)) }),
|
|
5113
|
+
] }, n.name)) }), IQ = ({ value: r, options: t, control: e }) => {
|
|
5114
5114
|
const [n, i] = fe("");
|
|
5115
5115
|
return /* @__PURE__ */ A.jsx(
|
|
5116
5116
|
Fd,
|
|
@@ -5122,16 +5122,16 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5122
5122
|
name: n || r
|
|
5123
5123
|
}
|
|
5124
5124
|
);
|
|
5125
|
-
}, GC = ({ datatype: r = "unknown", className: t }) => BC.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "number-icon", className: t }) : HC.includes(r.toLowerCase()) || r.toLowerCase().includes("char") ? /* @__PURE__ */ A.jsx(tt, { name: "text-icon", className: t }) : Wj.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "array-icon", className: t }) : VC.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "date-icon", className: t }) : WC.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "boolean-icon", className: t }) : /* @__PURE__ */ A.jsx(tt, { name: "unknown-icon" }),
|
|
5126
|
-
error:
|
|
5127
|
-
}, ho = ({ message: r = "" }) => /* @__PURE__ */ A.jsx(ye, { variant: "p", styleClass: "custom", className:
|
|
5128
|
-
container:
|
|
5129
|
-
windowIcon:
|
|
5130
|
-
},
|
|
5125
|
+
}, GC = ({ datatype: r = "unknown", className: t }) => BC.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "number-icon", className: t }) : HC.includes(r.toLowerCase()) || r.toLowerCase().includes("char") ? /* @__PURE__ */ A.jsx(tt, { name: "text-icon", className: t }) : Wj.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "array-icon", className: t }) : VC.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "date-icon", className: t }) : WC.includes(r.toLowerCase()) ? /* @__PURE__ */ A.jsx(tt, { name: "boolean-icon", className: t }) : /* @__PURE__ */ A.jsx(tt, { name: "unknown-icon" }), AQ = "_error_1csa7_1", LQ = {
|
|
5126
|
+
error: AQ
|
|
5127
|
+
}, ho = ({ message: r = "" }) => /* @__PURE__ */ A.jsx(ye, { variant: "p", styleClass: "custom", className: LQ.error, children: r }), NQ = "_container_7vfcn_1", EQ = "_windowIcon_7vfcn_7", qA = {
|
|
5128
|
+
container: NQ,
|
|
5129
|
+
windowIcon: EQ
|
|
5130
|
+
}, kQ = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsxs("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, children: [
|
|
5131
5131
|
/* @__PURE__ */ A.jsx("path", { d: "M15 21H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10" }),
|
|
5132
5132
|
/* @__PURE__ */ A.jsx("path", { strokeLinejoin: "round", d: "M2 7h20M5 5.01l.01-.011M8 5.01l.01-.011M11 5.01l.01-.011M18 22.243l2.121-2.122m0 0L22.243 18m-2.122 2.121L18 18m2.121 2.121l2.122 2.122" })
|
|
5133
5133
|
] }) }), Uj = () => /* @__PURE__ */ A.jsxs("div", { role: "alert", className: qA.container, children: [
|
|
5134
|
-
/* @__PURE__ */ A.jsx(
|
|
5134
|
+
/* @__PURE__ */ A.jsx(kQ, { className: qA.windowIcon }),
|
|
5135
5135
|
/* @__PURE__ */ A.jsx(ye, { variant: "p", styleClass: "font-20", children: "Something went wrong!" }),
|
|
5136
5136
|
/* @__PURE__ */ A.jsx(
|
|
5137
5137
|
Me,
|
|
@@ -5143,22 +5143,22 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5143
5143
|
children: "Try again"
|
|
5144
5144
|
}
|
|
5145
5145
|
)
|
|
5146
|
-
] }),
|
|
5147
|
-
container:
|
|
5148
|
-
field:
|
|
5149
|
-
fieldLabel:
|
|
5150
|
-
save: $
|
|
5151
|
-
cancel:
|
|
5152
|
-
error:
|
|
5153
|
-
},
|
|
5154
|
-
label:
|
|
5155
|
-
floatingLabel:
|
|
5146
|
+
] }), OQ = "_container_dv0n1_1", RQ = "_field_dv0n1_9", PQ = "_fieldLabel_dv0n1_17", $Q = "_save_dv0n1_25", jQ = "_cancel_dv0n1_33", zQ = "_error_dv0n1_41", Fl = {
|
|
5147
|
+
container: OQ,
|
|
5148
|
+
field: RQ,
|
|
5149
|
+
fieldLabel: PQ,
|
|
5150
|
+
save: $Q,
|
|
5151
|
+
cancel: jQ,
|
|
5152
|
+
error: zQ
|
|
5153
|
+
}, FQ = "_label_1wy7g_1", BQ = "_floatingLabel_1wy7g_7", HQ = "_checkboxLabel_1wy7g_19", VQ = "_input_1wy7g_13", WQ = "_floatingInput_1wy7g_31", GQ = "_checkboxField_1wy7g_37", UQ = "_inputWrapper_1wy7g_43", Cs = {
|
|
5154
|
+
label: FQ,
|
|
5155
|
+
floatingLabel: BQ,
|
|
5156
5156
|
"inputField-container": "_inputField-container_1wy7g_13",
|
|
5157
|
-
checkboxLabel:
|
|
5158
|
-
input:
|
|
5159
|
-
floatingInput:
|
|
5160
|
-
checkboxField:
|
|
5161
|
-
inputWrapper:
|
|
5157
|
+
checkboxLabel: HQ,
|
|
5158
|
+
input: VQ,
|
|
5159
|
+
floatingInput: WQ,
|
|
5160
|
+
checkboxField: GQ,
|
|
5161
|
+
inputWrapper: UQ
|
|
5162
5162
|
}, nt = ({
|
|
5163
5163
|
type: r = "text",
|
|
5164
5164
|
register: t,
|
|
@@ -5213,11 +5213,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5213
5213
|
n
|
|
5214
5214
|
] }),
|
|
5215
5215
|
e && /* @__PURE__ */ A.jsx(ho, { message: e.message })
|
|
5216
|
-
] }),
|
|
5217
|
-
container:
|
|
5218
|
-
label:
|
|
5219
|
-
textarea:
|
|
5220
|
-
resizable:
|
|
5216
|
+
] }), YQ = "_container_1rie6_1", QQ = "_label_1rie6_9", ZQ = "_textarea_1rie6_17", qQ = "_resizable_1rie6_25", Qv = {
|
|
5217
|
+
container: YQ,
|
|
5218
|
+
label: QQ,
|
|
5219
|
+
textarea: ZQ,
|
|
5220
|
+
resizable: qQ
|
|
5221
5221
|
}, Yj = ({
|
|
5222
5222
|
id: r,
|
|
5223
5223
|
label: t,
|
|
@@ -5254,7 +5254,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5254
5254
|
}
|
|
5255
5255
|
),
|
|
5256
5256
|
s && /* @__PURE__ */ A.jsx(ho, { message: s.message })
|
|
5257
|
-
] }),
|
|
5257
|
+
] }), XQ = ({
|
|
5258
5258
|
name: r,
|
|
5259
5259
|
styles: t,
|
|
5260
5260
|
placeholder: e,
|
|
@@ -5303,20 +5303,20 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5303
5303
|
className: ` ${t.switch} ${n ? t.enabled : t.notenabled}`
|
|
5304
5304
|
}
|
|
5305
5305
|
)
|
|
5306
|
-
] }),
|
|
5307
|
-
group:
|
|
5308
|
-
button:
|
|
5309
|
-
toggleWidth:
|
|
5310
|
-
checkbox:
|
|
5306
|
+
] }), KQ = "_group_2xttg_1", JQ = "_button_2xttg_9", e6 = "_toggleWidth_2xttg_15", t6 = "_checkbox_2xttg_23", r6 = "_enabled_2xttg_49", n6 = "_notenabled_2xttg_65", i6 = "_toggle_2xttg_15", a6 = "_label_2xttg_89", o6 = "_labelActive_2xttg_97", s6 = "_labelInactive_2xttg_105", l6 = "_toggleInactive_2xttg_113", Zv = {
|
|
5307
|
+
group: KQ,
|
|
5308
|
+
button: JQ,
|
|
5309
|
+
toggleWidth: e6,
|
|
5310
|
+
checkbox: t6,
|
|
5311
5311
|
switch: "_switch_2xttg_31",
|
|
5312
|
-
enabled:
|
|
5313
|
-
notenabled:
|
|
5314
|
-
toggle:
|
|
5315
|
-
label:
|
|
5316
|
-
labelActive:
|
|
5317
|
-
labelInactive:
|
|
5318
|
-
toggleInactive:
|
|
5319
|
-
},
|
|
5312
|
+
enabled: r6,
|
|
5313
|
+
notenabled: n6,
|
|
5314
|
+
toggle: i6,
|
|
5315
|
+
label: a6,
|
|
5316
|
+
labelActive: o6,
|
|
5317
|
+
labelInactive: s6,
|
|
5318
|
+
toggleInactive: l6
|
|
5319
|
+
}, u6 = ({
|
|
5320
5320
|
name: r,
|
|
5321
5321
|
styles: t,
|
|
5322
5322
|
placeholder: e,
|
|
@@ -5391,7 +5391,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5391
5391
|
}
|
|
5392
5392
|
),
|
|
5393
5393
|
t === "toggle" && /* @__PURE__ */ A.jsx(
|
|
5394
|
-
|
|
5394
|
+
u6,
|
|
5395
5395
|
{
|
|
5396
5396
|
name: l,
|
|
5397
5397
|
styles: Zv,
|
|
@@ -5400,7 +5400,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5400
5400
|
}
|
|
5401
5401
|
),
|
|
5402
5402
|
t === "switch" && /* @__PURE__ */ A.jsx(
|
|
5403
|
-
|
|
5403
|
+
XQ,
|
|
5404
5404
|
{
|
|
5405
5405
|
name: l,
|
|
5406
5406
|
styles: Zv,
|
|
@@ -5408,13 +5408,13 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5408
5408
|
enabled: r
|
|
5409
5409
|
}
|
|
5410
5410
|
)
|
|
5411
|
-
] }),
|
|
5412
|
-
modal:
|
|
5413
|
-
popup:
|
|
5414
|
-
header:
|
|
5415
|
-
headerTitle:
|
|
5416
|
-
content:
|
|
5417
|
-
footer:
|
|
5411
|
+
] }), c6 = "_modal_1myn6_1", h6 = "_popup_1myn6_9", f6 = "_header_1myn6_17", d6 = "_headerTitle_1myn6_25", p6 = "_content_1myn6_33", v6 = "_footer_1myn6_41", hh = {
|
|
5412
|
+
modal: c6,
|
|
5413
|
+
popup: h6,
|
|
5414
|
+
header: f6,
|
|
5415
|
+
headerTitle: d6,
|
|
5416
|
+
content: p6,
|
|
5417
|
+
footer: v6
|
|
5418
5418
|
}, UC = ({ children: r }) => {
|
|
5419
5419
|
const [t, e] = fe();
|
|
5420
5420
|
return je(() => {
|
|
@@ -5467,7 +5467,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5467
5467
|
throw new Error(a);
|
|
5468
5468
|
}
|
|
5469
5469
|
return i.data;
|
|
5470
|
-
},
|
|
5470
|
+
}, g6 = `
|
|
5471
5471
|
mutation CreateExternalMetric($chartOptions: jsonb = "", $companyId: uuid = "", $companyIntegrationId: uuid = "", $description: String = "", $inputFields: jsonb = "", $integrationName: String = "", $metricId: String = "", $metricQuery: String = "", $name: String = "", $outputColumns: String = "", $query: String = "", $isLive: Boolean, $clientId: String = "", $isCreatedByClient: Boolean = false, $createdBy: String = "", $timeGrain: String = "", $externalDashboardIds: [externalDashboardMetrics_insert_input!] = {}, $selectedGroupBy: jsonb = [], $isEnableGroupBy: Boolean = false, $groupBy: jsonb = {}) {
|
|
5472
5472
|
insert_externalMetrics_one(
|
|
5473
5473
|
object: {chartOptions: $chartOptions, companyId: $companyId, companyIntegrationId: $companyIntegrationId, description: $description, inputFields: $inputFields, integrationName: $integrationName, metricId: $metricId, metricQuery: $metricQuery, name: $name, outputColumns: $outputColumns, query: $query, isLive: $isLive, clientId: $clientId, isCreatedByClient: $isCreatedByClient, createdBy: $createdBy, timeGrain: $timeGrain, externalDashboardMetrics: {data: $externalDashboardIds}, selectedGroupBy: $selectedGroupBy, isEnableGroupBy: $isEnableGroupBy, groupBy: $groupBy}
|
|
@@ -5478,11 +5478,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5478
5478
|
}
|
|
5479
5479
|
}
|
|
5480
5480
|
}
|
|
5481
|
-
`,
|
|
5481
|
+
`, m6 = (r) => In(
|
|
5482
5482
|
["CreateExternalMetric"],
|
|
5483
|
-
(t) => ar(
|
|
5483
|
+
(t) => ar(g6, t)(),
|
|
5484
5484
|
r
|
|
5485
|
-
),
|
|
5485
|
+
), y6 = `
|
|
5486
5486
|
mutation DeleteScheduleEmailReportCharts($scheduleEmailReportId: uuid = "") {
|
|
5487
5487
|
delete_scheduleEmailReportCharts(
|
|
5488
5488
|
where: {scheduleEmailReportId: {_eq: $scheduleEmailReportId}}
|
|
@@ -5490,21 +5490,21 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5490
5490
|
affected_rows
|
|
5491
5491
|
}
|
|
5492
5492
|
}
|
|
5493
|
-
`,
|
|
5493
|
+
`, b6 = (r) => In(
|
|
5494
5494
|
["DeleteScheduleEmailReportCharts"],
|
|
5495
|
-
(t) => ar(
|
|
5495
|
+
(t) => ar(y6, t)(),
|
|
5496
5496
|
r
|
|
5497
|
-
),
|
|
5497
|
+
), w6 = `
|
|
5498
5498
|
mutation DeleteScheduledEmail($id: uuid = "") {
|
|
5499
5499
|
delete_scheduleEmailReports_by_pk(id: $id) {
|
|
5500
5500
|
id
|
|
5501
5501
|
}
|
|
5502
5502
|
}
|
|
5503
|
-
`,
|
|
5503
|
+
`, _6 = (r) => In(
|
|
5504
5504
|
["DeleteScheduledEmail"],
|
|
5505
|
-
(t) => ar(
|
|
5505
|
+
(t) => ar(w6, t)(),
|
|
5506
5506
|
r
|
|
5507
|
-
),
|
|
5507
|
+
), x6 = `
|
|
5508
5508
|
mutation FetchColumnData($tableName: String = "", $columnName: String = "", $integrationId: String = "", $integrationName: String = "") {
|
|
5509
5509
|
fetchColumnData(
|
|
5510
5510
|
input: {columnName: $columnName, tableName: $tableName, integrationId: $integrationId, integrationName: $integrationName}
|
|
@@ -5518,11 +5518,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5518
5518
|
}
|
|
5519
5519
|
}
|
|
5520
5520
|
}
|
|
5521
|
-
`,
|
|
5521
|
+
`, M6 = (r) => In(
|
|
5522
5522
|
["FetchColumnData"],
|
|
5523
|
-
(t) => ar(
|
|
5523
|
+
(t) => ar(x6, t)(),
|
|
5524
5524
|
r
|
|
5525
|
-
),
|
|
5525
|
+
), S6 = `
|
|
5526
5526
|
mutation GenerateDatasetMetrics($userInputs: json = "", $integrationName: String = "", $integrationId: String = "") {
|
|
5527
5527
|
generateDatasetMetrics(
|
|
5528
5528
|
input: {userInputs: $userInputs, integrationName: $integrationName, integrationId: $integrationId}
|
|
@@ -5532,11 +5532,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5532
5532
|
result
|
|
5533
5533
|
}
|
|
5534
5534
|
}
|
|
5535
|
-
`,
|
|
5535
|
+
`, C6 = (r) => In(
|
|
5536
5536
|
["GenerateDatasetMetrics"],
|
|
5537
|
-
(t) => ar(
|
|
5537
|
+
(t) => ar(S6, t)(),
|
|
5538
5538
|
r
|
|
5539
|
-
),
|
|
5539
|
+
), D6 = `
|
|
5540
5540
|
mutation GenerateEmbeddedMetic($clientId: String = "", $companyId: String = "", $queryPrompt: String = "", $timeGrain: String = "") {
|
|
5541
5541
|
generateEmbeddedMetic(
|
|
5542
5542
|
input: {clientId: $clientId, companyId: $companyId, queryPrompt: $queryPrompt, timeGrain: $timeGrain}
|
|
@@ -5548,11 +5548,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5548
5548
|
}
|
|
5549
5549
|
}
|
|
5550
5550
|
}
|
|
5551
|
-
`,
|
|
5551
|
+
`, T6 = (r) => In(
|
|
5552
5552
|
["GenerateEmbeddedMetic"],
|
|
5553
|
-
(t) => ar(
|
|
5553
|
+
(t) => ar(D6, t)(),
|
|
5554
5554
|
r
|
|
5555
|
-
),
|
|
5555
|
+
), I6 = `
|
|
5556
5556
|
query CompanyIntegration($externalDashboardId: uuid = "") {
|
|
5557
5557
|
companyIntegrations(
|
|
5558
5558
|
where: {companyWorkspace: {externalDashboards: {id: {_eq: $externalDashboardId}}}}
|
|
@@ -5563,11 +5563,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5563
5563
|
name
|
|
5564
5564
|
}
|
|
5565
5565
|
}
|
|
5566
|
-
`,
|
|
5566
|
+
`, A6 = (r, t) => $i(
|
|
5567
5567
|
r === void 0 ? ["CompanyIntegration"] : ["CompanyIntegration", r],
|
|
5568
|
-
ar(
|
|
5568
|
+
ar(I6, r),
|
|
5569
5569
|
t
|
|
5570
|
-
),
|
|
5570
|
+
), L6 = `
|
|
5571
5571
|
mutation CompanySubsetTableData($clientId: String = "", $companyId: String = "", $workspaceId: String = "") {
|
|
5572
5572
|
companySubsetTableData(
|
|
5573
5573
|
input: {clientId: $clientId, companyId: $companyId, workspaceId: $workspaceId}
|
|
@@ -5588,11 +5588,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5588
5588
|
}
|
|
5589
5589
|
}
|
|
5590
5590
|
}
|
|
5591
|
-
`,
|
|
5591
|
+
`, N6 = (r) => In(
|
|
5592
5592
|
["CompanySubsetTableData"],
|
|
5593
|
-
(t) => ar(
|
|
5593
|
+
(t) => ar(L6, t)(),
|
|
5594
5594
|
r
|
|
5595
|
-
),
|
|
5595
|
+
), E6 = `
|
|
5596
5596
|
query EmbeddedDashboardMetrics($externalDashboardId: String! = "", $clientId: String! = "") {
|
|
5597
5597
|
externalDashboardMetrics(
|
|
5598
5598
|
where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, _not: {externalMetric: {clientDeletedMetrics: {clientId: {_eq: $clientId}}}}}
|
|
@@ -5633,22 +5633,22 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5633
5633
|
}
|
|
5634
5634
|
}
|
|
5635
5635
|
}
|
|
5636
|
-
`,
|
|
5636
|
+
`, k6 = (r, t) => $i(
|
|
5637
5637
|
r === void 0 ? ["EmbeddedDashboardMetrics"] : ["EmbeddedDashboardMetrics", r],
|
|
5638
|
-
ar(
|
|
5638
|
+
ar(E6, r),
|
|
5639
5639
|
t
|
|
5640
|
-
),
|
|
5640
|
+
), O6 = `
|
|
5641
5641
|
query GetExternalDashboardId($externalDashboardId: String = "") {
|
|
5642
5642
|
externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {
|
|
5643
5643
|
id
|
|
5644
5644
|
filters
|
|
5645
5645
|
}
|
|
5646
5646
|
}
|
|
5647
|
-
`,
|
|
5647
|
+
`, R6 = (r, t) => $i(
|
|
5648
5648
|
r === void 0 ? ["GetExternalDashboardId"] : ["GetExternalDashboardId", r],
|
|
5649
|
-
ar(
|
|
5649
|
+
ar(O6, r),
|
|
5650
5650
|
t
|
|
5651
|
-
),
|
|
5651
|
+
), P6 = `
|
|
5652
5652
|
query getExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!) {
|
|
5653
5653
|
clientDashboardLayout_by_pk(
|
|
5654
5654
|
clientId: $clientId
|
|
@@ -5660,11 +5660,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5660
5660
|
isLocked
|
|
5661
5661
|
}
|
|
5662
5662
|
}
|
|
5663
|
-
`, $
|
|
5663
|
+
`, $6 = (r, t) => $i(
|
|
5664
5664
|
["getExternalDashboardLayout", r],
|
|
5665
|
-
ar(
|
|
5665
|
+
ar(P6, r),
|
|
5666
5666
|
t
|
|
5667
|
-
),
|
|
5667
|
+
), j6 = `
|
|
5668
5668
|
query ExternalDashboardList($companyId: uuid = "") {
|
|
5669
5669
|
externalDashboards(where: {companyId: {_eq: $companyId}}) {
|
|
5670
5670
|
externalDashboardId
|
|
@@ -5672,11 +5672,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5672
5672
|
id
|
|
5673
5673
|
}
|
|
5674
5674
|
}
|
|
5675
|
-
`,
|
|
5675
|
+
`, z6 = (r, t) => $i(
|
|
5676
5676
|
r === void 0 ? ["ExternalDashboardList"] : ["ExternalDashboardList", r],
|
|
5677
|
-
ar(
|
|
5677
|
+
ar(j6, r),
|
|
5678
5678
|
t
|
|
5679
|
-
),
|
|
5679
|
+
), F6 = `
|
|
5680
5680
|
query ExternalMetricRawCsvUrls($externalMetricId: uuid = "") {
|
|
5681
5681
|
externalMetricRawCsvUrls(where: {externalMetricId: {_eq: $externalMetricId}}) {
|
|
5682
5682
|
configurations
|
|
@@ -5689,11 +5689,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5689
5689
|
requestStatus
|
|
5690
5690
|
}
|
|
5691
5691
|
}
|
|
5692
|
-
`,
|
|
5692
|
+
`, B6 = (r, t) => $i(
|
|
5693
5693
|
r === void 0 ? ["ExternalMetricRawCsvUrls"] : ["ExternalMetricRawCsvUrls", r],
|
|
5694
|
-
ar(
|
|
5694
|
+
ar(F6, r),
|
|
5695
5695
|
t
|
|
5696
|
-
),
|
|
5696
|
+
), H6 = `
|
|
5697
5697
|
query GuestTokenParams($id: uuid = "") {
|
|
5698
5698
|
guestTokens_by_pk(id: $id) {
|
|
5699
5699
|
clientId
|
|
@@ -5702,11 +5702,11 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5702
5702
|
params
|
|
5703
5703
|
}
|
|
5704
5704
|
}
|
|
5705
|
-
`,
|
|
5705
|
+
`, V6 = (r, t) => $i(
|
|
5706
5706
|
r === void 0 ? ["GuestTokenParams"] : ["GuestTokenParams", r],
|
|
5707
|
-
ar(
|
|
5707
|
+
ar(H6, r),
|
|
5708
5708
|
t
|
|
5709
|
-
),
|
|
5709
|
+
), W6 = `
|
|
5710
5710
|
query MetricAccess($companyId: uuid = "") {
|
|
5711
5711
|
companySubsetTables(where: {companyId: {_eq: $companyId}}) {
|
|
5712
5712
|
isAllowMetricCreation
|
|
@@ -5715,22 +5715,22 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5715
5715
|
isAllowChangeLayout
|
|
5716
5716
|
}
|
|
5717
5717
|
}
|
|
5718
|
-
`,
|
|
5718
|
+
`, G6 = (r, t) => $i(
|
|
5719
5719
|
r === void 0 ? ["MetricAccess"] : ["MetricAccess", r],
|
|
5720
|
-
ar(
|
|
5720
|
+
ar(W6, r),
|
|
5721
5721
|
t
|
|
5722
|
-
),
|
|
5722
|
+
), U6 = `
|
|
5723
5723
|
query RawCsvSettings($id: uuid = "") {
|
|
5724
5724
|
companyWorkspaces_by_pk(id: $id) {
|
|
5725
5725
|
rawCsvSettings
|
|
5726
5726
|
id
|
|
5727
5727
|
}
|
|
5728
5728
|
}
|
|
5729
|
-
`,
|
|
5729
|
+
`, Y6 = (r, t) => $i(
|
|
5730
5730
|
r === void 0 ? ["RawCsvSettings"] : ["RawCsvSettings", r],
|
|
5731
|
-
ar(
|
|
5731
|
+
ar(U6, r),
|
|
5732
5732
|
t
|
|
5733
|
-
),
|
|
5733
|
+
), Q6 = `
|
|
5734
5734
|
query ScheduleEmailReport($token: uuid = "") {
|
|
5735
5735
|
scheduleEmailReports(where: {guestToken: {_eq: $token}}) {
|
|
5736
5736
|
externalDashboardId
|
|
@@ -5742,21 +5742,21 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5742
5742
|
id
|
|
5743
5743
|
}
|
|
5744
5744
|
}
|
|
5745
|
-
`,
|
|
5745
|
+
`, Z6 = (r, t) => $i(
|
|
5746
5746
|
r === void 0 ? ["ScheduleEmailReport"] : ["ScheduleEmailReport", r],
|
|
5747
|
-
ar(
|
|
5747
|
+
ar(Q6, r),
|
|
5748
5748
|
t
|
|
5749
|
-
),
|
|
5749
|
+
), q6 = `
|
|
5750
5750
|
query SharingSettingsId($companyId: uuid = "") {
|
|
5751
5751
|
sharingSettings(where: {companyId: {_eq: $companyId}}) {
|
|
5752
5752
|
id
|
|
5753
5753
|
}
|
|
5754
5754
|
}
|
|
5755
|
-
`,
|
|
5755
|
+
`, X6 = (r, t) => $i(
|
|
5756
5756
|
r === void 0 ? ["SharingSettingsId"] : ["SharingSettingsId", r],
|
|
5757
|
-
ar(
|
|
5757
|
+
ar(q6, r),
|
|
5758
5758
|
t
|
|
5759
|
-
),
|
|
5759
|
+
), K6 = `
|
|
5760
5760
|
query GetThemes($companyId: uuid! = "") {
|
|
5761
5761
|
themes(where: {companyId: {_eq: $companyId}}) {
|
|
5762
5762
|
id
|
|
@@ -5768,9 +5768,9 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5768
5768
|
chart
|
|
5769
5769
|
}
|
|
5770
5770
|
}
|
|
5771
|
-
`,
|
|
5771
|
+
`, J6 = (r, t) => $i(
|
|
5772
5772
|
r === void 0 ? ["GetThemes"] : ["GetThemes", r],
|
|
5773
|
-
ar(
|
|
5773
|
+
ar(K6, r),
|
|
5774
5774
|
t
|
|
5775
5775
|
), e7 = `
|
|
5776
5776
|
mutation UnderlyingData($columnName: String = "", $companyId: String = "", $query: String = "", $value: json = "") {
|
|
@@ -5983,7 +5983,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
5983
5983
|
}) => {
|
|
5984
5984
|
const { register: l, handleSubmit: c, setValue: u } = R0(), [h, f] = fe((t == null ? void 0 : t.isLive) ?? !1), d = c((m) => {
|
|
5985
5985
|
r({ ...m, isLive: h });
|
|
5986
|
-
}), { data: p } =
|
|
5986
|
+
}), { data: p } = z6({
|
|
5987
5987
|
companyId: o
|
|
5988
5988
|
}), v = p == null ? void 0 : p.externalDashboards, g = n ? (v == null ? void 0 : v.filter((m) => m.id === i[0]).map((m) => ({
|
|
5989
5989
|
value: m.id,
|
|
@@ -6101,19 +6101,19 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
6101
6101
|
aboveList: $7
|
|
6102
6102
|
}, qj = (r) => {
|
|
6103
6103
|
var M, S;
|
|
6104
|
-
const { data: t, isLoading: e } =
|
|
6104
|
+
const { data: t, isLoading: e } = V6({ id: r }, { enabled: !!r }), n = t == null ? void 0 : t.guestTokens_by_pk, i = n != null && n.params ? JSON.parse(n.params) : {}, a = (M = i.dashboard) == null ? void 0 : M.id, o = n == null ? void 0 : n.companyId, s = n == null ? void 0 : n.clientId, l = i == null ? void 0 : i.workspace, c = (S = i == null ? void 0 : i.dashboard) == null ? void 0 : S.isLive, u = i == null ? void 0 : i.rlsSettings, h = i == null ? void 0 : i.companyTenancyType, f = i == null ? void 0 : i.isTestKey, {
|
|
6105
6105
|
data: d,
|
|
6106
6106
|
isLoading: p
|
|
6107
|
-
} =
|
|
6107
|
+
} = k6(
|
|
6108
6108
|
{
|
|
6109
6109
|
externalDashboardId: a,
|
|
6110
6110
|
clientId: s
|
|
6111
6111
|
},
|
|
6112
6112
|
{ enabled: !!a && !!s }
|
|
6113
|
-
), { data: v, isLoading: g } =
|
|
6113
|
+
), { data: v, isLoading: g } = R6(
|
|
6114
6114
|
{ externalDashboardId: a },
|
|
6115
6115
|
{ enabled: !!a }
|
|
6116
|
-
), m = d == null ? void 0 : d.externalDashboardMetrics, { data: y, isLoading: b } =
|
|
6116
|
+
), m = d == null ? void 0 : d.externalDashboardMetrics, { data: y, isLoading: b } = G6({ companyId: o }, { enabled: !!o }), { data: x, isLoading: _ } = X6({ companyId: o }), w = y != null && y.companySubsetTables.length ? y.companySubsetTables[0].isAllowMetricCreation && !f : !1, T = y != null && y.companySubsetTables.length ? y.companySubsetTables[0].isAllowMetricDeletion && !f : !1, I = Lt(
|
|
6117
6117
|
() => x != null && x.sharingSettings.length ? x.sharingSettings[0].id : void 0,
|
|
6118
6118
|
[x]
|
|
6119
6119
|
), D = y != null && y.companySubsetTables.length ? y.companySubsetTables[0].isAllowMetricUpdation && !f : !1, C = y != null && y.companySubsetTables.length ? y.companySubsetTables[0].isAllowChangeLayout && !f : !1;
|
|
@@ -6156,7 +6156,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
6156
6156
|
userProvidedDashboardId: g,
|
|
6157
6157
|
metric: m
|
|
6158
6158
|
}) => {
|
|
6159
|
-
const [y, b] = fe(""), x = ev(), { mutate: _, isLoading: w } =
|
|
6159
|
+
const [y, b] = fe(""), x = ev(), { mutate: _, isLoading: w } = m6(), T = (L) => {
|
|
6160
6160
|
b(""), _(
|
|
6161
6161
|
{
|
|
6162
6162
|
companyId: c,
|
|
@@ -6328,7 +6328,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
6328
6328
|
mutate: r,
|
|
6329
6329
|
isLoading: t,
|
|
6330
6330
|
error: e
|
|
6331
|
-
} =
|
|
6331
|
+
} = C6(), { mutate: n } = M6();
|
|
6332
6332
|
return {
|
|
6333
6333
|
generateDatasetMetric: r,
|
|
6334
6334
|
isGeneratingDataset: t,
|
|
@@ -6344,7 +6344,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
6344
6344
|
setQuery: a,
|
|
6345
6345
|
setMetricQuery: o
|
|
6346
6346
|
}) => {
|
|
6347
|
-
const s =
|
|
6347
|
+
const s = T6();
|
|
6348
6348
|
return { generateEmbeddedMetric: (c) => {
|
|
6349
6349
|
i(!0), a(""), n(""), e(void 0), s.mutate(
|
|
6350
6350
|
{
|
|
@@ -6423,7 +6423,7 @@ const v8 = "_listbox_12rbw_1", g8 = "_listBoxButton_12rbw_13", m8 = "_selectedOp
|
|
|
6423
6423
|
externalDashboardId: r,
|
|
6424
6424
|
clientId: t
|
|
6425
6425
|
}) => {
|
|
6426
|
-
const { data: e } = $
|
|
6426
|
+
const { data: e } = $6(
|
|
6427
6427
|
{
|
|
6428
6428
|
clientId: t,
|
|
6429
6429
|
externalDashboardId: r
|
|
@@ -6736,7 +6736,7 @@ YEAR(${e}) =
|
|
|
6736
6736
|
e.selectedDimensions[u]
|
|
6737
6737
|
), i(u), o(!1);
|
|
6738
6738
|
}
|
|
6739
|
-
},
|
|
6739
|
+
}, RPe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6740
6740
|
__proto__: null,
|
|
6741
6741
|
drilldown: nz,
|
|
6742
6742
|
findKeys: G7,
|
|
@@ -6869,7 +6869,7 @@ YEAR(${e}) =
|
|
|
6869
6869
|
drilledLevel: m,
|
|
6870
6870
|
rlsConditions: s
|
|
6871
6871
|
};
|
|
6872
|
-
},
|
|
6872
|
+
}, PPe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6873
6873
|
__proto__: null,
|
|
6874
6874
|
useApplyAdminTheme: Xj,
|
|
6875
6875
|
useClientDashboardLayout: Kj,
|
|
@@ -6895,7 +6895,7 @@ YEAR(${e}) =
|
|
|
6895
6895
|
closeControl: h,
|
|
6896
6896
|
dropdownAbove: f
|
|
6897
6897
|
}) => {
|
|
6898
|
-
const [d, p] = fe(!1), v =
|
|
6898
|
+
const [d, p] = fe(!1), v = mr(null), [g, m] = fe(""), [y, b] = fe(20);
|
|
6899
6899
|
av({
|
|
6900
6900
|
wrapRef: v,
|
|
6901
6901
|
onOutsideClick: () => p(!1)
|
|
@@ -7006,7 +7006,7 @@ YEAR(${e}) =
|
|
|
7006
7006
|
children: s,
|
|
7007
7007
|
isSearchEnabled: l
|
|
7008
7008
|
}) => {
|
|
7009
|
-
const [c, u] = fe(!1), h =
|
|
7009
|
+
const [c, u] = fe(!1), h = mr(null), [f, d] = fe(""), [p, v] = fe(20), g = Lt(() => f ? a.filter((y) => y.label.toLowerCase().includes(f)).slice(0, p) : a.slice(0, p), [f, a, p]);
|
|
7010
7010
|
av({
|
|
7011
7011
|
wrapRef: h,
|
|
7012
7012
|
onOutsideClick: () => u(!1)
|
|
@@ -11306,7 +11306,7 @@ function X0(r, t, e) {
|
|
|
11306
11306
|
function Jq(r, t) {
|
|
11307
11307
|
X0("log", r, t);
|
|
11308
11308
|
}
|
|
11309
|
-
function
|
|
11309
|
+
function gr(r, t) {
|
|
11310
11310
|
X0("warn", r, t);
|
|
11311
11311
|
}
|
|
11312
11312
|
function Cn(r, t) {
|
|
@@ -11498,7 +11498,7 @@ function Xr(r, t) {
|
|
|
11498
11498
|
return r == null ? t : me(r) ? r : mt(r) || cp(r) ? r + "" : t;
|
|
11499
11499
|
}
|
|
11500
11500
|
function TL(r) {
|
|
11501
|
-
process.env.NODE_ENV !== "production" &&
|
|
11501
|
+
process.env.NODE_ENV !== "production" && gr("`" + r + "` is invalid id or name. Must be a string or number.");
|
|
11502
11502
|
}
|
|
11503
11503
|
function IL(r) {
|
|
11504
11504
|
return cp(r) || q0(r);
|
|
@@ -16164,7 +16164,7 @@ echarts.use([` + S + "]);" : "Unknown series " + M));
|
|
|
16164
16164
|
}
|
|
16165
16165
|
if (h === "tooltip") {
|
|
16166
16166
|
if (b) {
|
|
16167
|
-
process.env.NODE_ENV !== "production" && (x || (
|
|
16167
|
+
process.env.NODE_ENV !== "production" && (x || (gr("Currently only one tooltip component is allowed."), x = !0));
|
|
16168
16168
|
return;
|
|
16169
16169
|
}
|
|
16170
16170
|
b = !0;
|
|
@@ -20200,16 +20200,16 @@ var Wc, d_, wg, As, p_, v_, g_, Qf, Zf, pE, vE, m_, gE, _g, mE, xF, Hi, yE, Ty =
|
|
|
20200
20200
|
a = a || !!u.containPoint(n);
|
|
20201
20201
|
else if (l === "seriesModels") {
|
|
20202
20202
|
var h = this._chartsMap[c.__viewId];
|
|
20203
|
-
h && h.containPoint ? a = a || h.containPoint(n, c) : process.env.NODE_ENV !== "production" &&
|
|
20203
|
+
h && h.containPoint ? a = a || h.containPoint(n, c) : process.env.NODE_ENV !== "production" && gr(l + ": " + (h ? "The found component do not support containPoint." : "No view mapping to the found component."));
|
|
20204
20204
|
} else
|
|
20205
|
-
process.env.NODE_ENV !== "production" &&
|
|
20205
|
+
process.env.NODE_ENV !== "production" && gr(l + ": containPoint is not supported");
|
|
20206
20206
|
}, this);
|
|
20207
20207
|
}, this), !!a;
|
|
20208
20208
|
}, t.prototype.getVisual = function(e, n) {
|
|
20209
20209
|
var i = this._model, a = Yd(i, e, {
|
|
20210
20210
|
defaultMainType: "series"
|
|
20211
20211
|
}), o = a.seriesModel;
|
|
20212
|
-
process.env.NODE_ENV !== "production" && (o ||
|
|
20212
|
+
process.env.NODE_ENV !== "production" && (o || gr("There is no specified series model"));
|
|
20213
20213
|
var s = o.getData(), l = a.hasOwnProperty("dataIndexInside") ? a.dataIndexInside : a.hasOwnProperty("dataIndex") ? s.indexOfRawIndex(a.dataIndex) : null;
|
|
20214
20214
|
return l != null ? qD(s, l, n) : _v(s, n);
|
|
20215
20215
|
}, t.prototype.getViewOfComponentModel = function(e) {
|
|
@@ -20232,7 +20232,7 @@ var Wc, d_, wg, As, p_, v_, g_, Qf, Zf, pE, vE, m_, gE, _g, mE, xF, Hi, yE, Ty =
|
|
|
20232
20232
|
var u = l.componentType, h = l.componentIndex;
|
|
20233
20233
|
(u === "markLine" || u === "markPoint" || u === "markArea") && (u = "series", h = l.seriesIndex);
|
|
20234
20234
|
var f = u && h != null && o.getComponent(u, h), d = f && e[f.mainType === "series" ? "_chartsMap" : "_componentsMap"][f.__viewId];
|
|
20235
|
-
process.env.NODE_ENV !== "production" && !c && !(f && d) &&
|
|
20235
|
+
process.env.NODE_ENV !== "production" && !c && !(f && d) && gr("model or view can not be found by params"), l.event = a, l.type = n, e._$eventProcessor.eventInfo = {
|
|
20236
20236
|
targetEl: s,
|
|
20237
20237
|
packedEvent: l,
|
|
20238
20238
|
model: f,
|
|
@@ -20307,7 +20307,7 @@ var Wc, d_, wg, As, p_, v_, g_, Qf, Zf, pE, vE, m_, gE, _g, mE, xF, Hi, yE, Ty =
|
|
|
20307
20307
|
return;
|
|
20308
20308
|
}
|
|
20309
20309
|
if (Le(e) && (n = e, e = ""), e = e || "default", this.hideLoading(), !HM[e]) {
|
|
20310
|
-
process.env.NODE_ENV !== "production" &&
|
|
20310
|
+
process.env.NODE_ENV !== "production" && gr("Loading effects " + e + " not exists.");
|
|
20311
20311
|
return;
|
|
20312
20312
|
}
|
|
20313
20313
|
var i = HM[e](this._api, n), a = this._zr;
|
|
@@ -20506,7 +20506,7 @@ var Wc, d_, wg, As, p_, v_, g_, Qf, Zf, pE, vE, m_, gE, _g, mE, xF, Hi, yE, Ty =
|
|
|
20506
20506
|
if (x[f] && (m = x[f](v, y, p)) != null)
|
|
20507
20507
|
return m;
|
|
20508
20508
|
}
|
|
20509
|
-
process.env.NODE_ENV !== "production" &&
|
|
20509
|
+
process.env.NODE_ENV !== "production" && gr("No coordinate system that supports " + f + " found by the given finder.");
|
|
20510
20510
|
}, v_ = function(h, f) {
|
|
20511
20511
|
var d = h._chartsMap, p = h._scheduler;
|
|
20512
20512
|
f.eachSeries(function(v) {
|
|
@@ -20800,7 +20800,7 @@ eT.one = function(r, t, e) {
|
|
|
20800
20800
|
};
|
|
20801
20801
|
var vre = ["click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "globalout", "contextmenu"];
|
|
20802
20802
|
function Si(r) {
|
|
20803
|
-
process.env.NODE_ENV !== "production" &&
|
|
20803
|
+
process.env.NODE_ENV !== "production" && gr("Instance " + r + " has been disposed");
|
|
20804
20804
|
}
|
|
20805
20805
|
var Iy = {}, Jd = {}, FM = [], BM = [], Ay = [], MF = {}, HM = {}, Uu = {}, Ly = {}, gre = +/* @__PURE__ */ new Date() - 0, mre = +/* @__PURE__ */ new Date() - 0, tT = "_echarts_instance_";
|
|
20806
20806
|
function yre(r, t, e) {
|
|
@@ -20810,8 +20810,8 @@ function yre(r, t, e) {
|
|
|
20810
20810
|
throw new Error("Initialize failed: invalid dom.");
|
|
20811
20811
|
var i = rT(r);
|
|
20812
20812
|
if (i)
|
|
20813
|
-
return process.env.NODE_ENV !== "production" &&
|
|
20814
|
-
process.env.NODE_ENV !== "production" && rc(r) && r.nodeName.toUpperCase() !== "CANVAS" && (!r.clientWidth && (!e || e.width == null) || !r.clientHeight && (!e || e.height == null)) &&
|
|
20813
|
+
return process.env.NODE_ENV !== "production" && gr("There is a chart instance already initialized on the dom."), i;
|
|
20814
|
+
process.env.NODE_ENV !== "production" && rc(r) && r.nodeName.toUpperCase() !== "CANVAS" && (!r.clientWidth && (!e || e.width == null) || !r.clientHeight && (!e || e.height == null)) && gr("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.");
|
|
20815
20815
|
}
|
|
20816
20816
|
var a = new Ty(r, t, e);
|
|
20817
20817
|
return a.id = "ec_" + gre++, Uu[a.id] = a, n && r4(r, tT, a.id), xF(a), La.trigger("afterinit", a), a;
|
|
@@ -22524,7 +22524,7 @@ function gne(r, t, e, n) {
|
|
|
22524
22524
|
}
|
|
22525
22525
|
}
|
|
22526
22526
|
}
|
|
22527
|
-
process.env.NODE_ENV !== "production" && o >= i &&
|
|
22527
|
+
process.env.NODE_ENV !== "production" && o >= i && gr("Exceed safe limit.");
|
|
22528
22528
|
for (var x = zt(ce(c, function(C) {
|
|
22529
22529
|
return zt(C, function(M) {
|
|
22530
22530
|
return M.value >= n[0] && M.value <= n[1] && !M.notAdd;
|
|
@@ -26663,7 +26663,7 @@ var $ae = (
|
|
|
26663
26663
|
return t.prototype.render = function(e, n, i, a) {
|
|
26664
26664
|
this._model = e, this._removeOnRenderedListener(i), this._updateDrawMode(e);
|
|
26665
26665
|
var o = e.get("coordinateSystem");
|
|
26666
|
-
o === "cartesian2d" || o === "polar" ? (this._progressiveEls = null, this._isLargeDraw ? this._renderLarge(e, n, i) : this._renderNormal(e, n, i, a)) : process.env.NODE_ENV !== "production" &&
|
|
26666
|
+
o === "cartesian2d" || o === "polar" ? (this._progressiveEls = null, this._isLargeDraw ? this._renderLarge(e, n, i) : this._renderNormal(e, n, i, a)) : process.env.NODE_ENV !== "production" && gr("Only cartesian2d and polar supported for bar.");
|
|
26667
26667
|
}, t.prototype.incrementalPrepareRender = function(e) {
|
|
26668
26668
|
this._clear(), this._updateDrawMode(e), this._updateLargeClip(e);
|
|
26669
26669
|
}, t.prototype.incrementalRender = function(e, n) {
|
|
@@ -26879,7 +26879,7 @@ var $ae = (
|
|
|
26879
26879
|
};
|
|
26880
26880
|
function jae(r, t) {
|
|
26881
26881
|
var e = r.get("realtimeSort", !0), n = t.getBaseAxis();
|
|
26882
|
-
if (process.env.NODE_ENV !== "production" && e && (n.type !== "category" &&
|
|
26882
|
+
if (process.env.NODE_ENV !== "production" && e && (n.type !== "category" && gr("`realtimeSort` will not work because this bar series is not based on a category axis."), t.type !== "cartesian2d" && gr("`realtimeSort` will not work because this bar series is not on cartesian2d.")), e && n.type === "category" && t.type === "cartesian2d")
|
|
26883
26883
|
return {
|
|
26884
26884
|
baseAxis: n,
|
|
26885
26885
|
otherAxis: t.getOtherAxis(n)
|
|
@@ -28365,7 +28365,7 @@ function Q5(r, t, e) {
|
|
|
28365
28365
|
var b = (i[0].value - a[0].value) / s, x = (i[o].value - a[o].value) / s;
|
|
28366
28366
|
if (n.setExtent.call(r, v + p * b, g + p * x), n.setInterval.call(r, p), (b || x) && n.setNiceExtent.call(r, v + p, g - p), process.env.NODE_ENV !== "production") {
|
|
28367
28367
|
var _ = n.getTicks.call(r);
|
|
28368
|
-
_[1] && (!tne(p) || hy(_[1].value) > hy(p)) &&
|
|
28368
|
+
_[1] && (!tne(p) || hy(_[1].value) > hy(p)) && gr(
|
|
28369
28369
|
// eslint-disable-next-line
|
|
28370
28370
|
"The ticks may be not readable when set min: " + t.get("min") + ", max: " + t.get("max") + " and alignTicks: true"
|
|
28371
28371
|
);
|
|
@@ -31137,7 +31137,7 @@ var Zse = {
|
|
|
31137
31137
|
var a = r.call(this, e) || this;
|
|
31138
31138
|
a.dimensions = sB, a.type = "geo", a._nameCoordMap = De(), a.map = n;
|
|
31139
31139
|
var o = i.projection, s = ps.load(n, i.nameMap, i.nameProperty), l = ps.getGeoResource(n), c = a.resourceType = l ? l.type : null, u = a.regions = s.regions, h = Zse[l.type];
|
|
31140
|
-
a._regionsMap = s.regionsMap, a.regions = s.regions, process.env.NODE_ENV !== "production" && o && (c === "geoSVG" && (process.env.NODE_ENV !== "production" &&
|
|
31140
|
+
a._regionsMap = s.regionsMap, a.regions = s.regions, process.env.NODE_ENV !== "production" && o && (c === "geoSVG" && (process.env.NODE_ENV !== "production" && gr("Map " + n + " with SVG source can't use projection. Only GeoJSON source supports projection."), o = null), o.project && o.unproject || (process.env.NODE_ENV !== "production" && gr("project and unproject must be both provided in the projeciton."), o = null)), a.projection = o;
|
|
31141
31141
|
var f;
|
|
31142
31142
|
if (o)
|
|
31143
31143
|
for (var d = 0; d < u.length; d++) {
|
|
@@ -33374,7 +33374,7 @@ function oS(r) {
|
|
|
33374
33374
|
function mB(r, t) {
|
|
33375
33375
|
return r.visual = t, r.type === "color" && (r.parsedVisual = ce(t, function(e) {
|
|
33376
33376
|
var n = Kn(e);
|
|
33377
|
-
return !n && process.env.NODE_ENV !== "production" &&
|
|
33377
|
+
return !n && process.env.NODE_ENV !== "production" && gr("'" + e + "' is an illegal color, fallback to '#000000'", !0), n || [0, 0, 0, 1];
|
|
33378
33378
|
})), t;
|
|
33379
33379
|
}
|
|
33380
33380
|
var nue = {
|
|
@@ -40371,7 +40371,7 @@ var lo = {}, npe = {
|
|
|
40371
40371
|
setStyle: function(r, t) {
|
|
40372
40372
|
process.env.NODE_ENV !== "production" && Kc(r);
|
|
40373
40373
|
var e = lo.el, n = e.style;
|
|
40374
|
-
return n && (process.env.NODE_ENV !== "production" && pl(t) &&
|
|
40374
|
+
return n && (process.env.NODE_ENV !== "production" && pl(t) && gr("style." + r + " must not be assigned with NaN."), n[r] = t, e.dirtyStyle && e.dirtyStyle()), this;
|
|
40375
40375
|
},
|
|
40376
40376
|
getStyle: function(r) {
|
|
40377
40377
|
process.env.NODE_ENV !== "production" && Kc(r);
|
|
@@ -40490,7 +40490,7 @@ function lpe(r, t) {
|
|
|
40490
40490
|
}
|
|
40491
40491
|
var mH;
|
|
40492
40492
|
process.env.NODE_ENV !== "production" && (mH = function(r, t) {
|
|
40493
|
-
be(Wy, r) ||
|
|
40493
|
+
be(Wy, r) || gr("Prop `" + r + "` is not a permitted in `" + t + "`. Only `" + at(Wy).join("`, `") + "` are permitted.");
|
|
40494
40494
|
});
|
|
40495
40495
|
var yH = bt(), upe = ["percent", "easing", "shape", "style", "extra"];
|
|
40496
40496
|
function bH(r) {
|
|
@@ -40533,7 +40533,7 @@ function Uy(r, t, e) {
|
|
|
40533
40533
|
}), l.whenWithKeys(i * u.percent, f, d, u.easing);
|
|
40534
40534
|
}
|
|
40535
40535
|
}
|
|
40536
|
-
}), l && (process.env.NODE_ENV !== "production" && (c ||
|
|
40536
|
+
}), l && (process.env.NODE_ENV !== "production" && (c || gr("End frame with percent: 1 is missing in the keyframeAnimation.", !0)), l.delay(t.delay || 0).duration(i).start(t.easing));
|
|
40537
40537
|
}
|
|
40538
40538
|
});
|
|
40539
40539
|
}
|
|
@@ -44450,7 +44450,7 @@ var Vge = (
|
|
|
44450
44450
|
}
|
|
44451
44451
|
K1(b, "click", w), K1(x, "click", function() {
|
|
44452
44452
|
if (f == null && h != null || f != null && h == null) {
|
|
44453
|
-
process.env.NODE_ENV !== "production" &&
|
|
44453
|
+
process.env.NODE_ENV !== "production" && gr("It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored."), w();
|
|
44454
44454
|
return;
|
|
44455
44455
|
}
|
|
44456
44456
|
var T;
|
|
@@ -51143,7 +51143,7 @@ function UR(r) {
|
|
|
51143
51143
|
return $(r, function(e) {
|
|
51144
51144
|
var n = e.data;
|
|
51145
51145
|
if (n.count() > vV) {
|
|
51146
|
-
process.env.NODE_ENV !== "production" &&
|
|
51146
|
+
process.env.NODE_ENV !== "production" && gr("Universal transition is disabled on large data > 10k.");
|
|
51147
51147
|
return;
|
|
51148
51148
|
}
|
|
51149
51149
|
for (var i = n.getIndices(), a = $be(n), o = 0; o < i.length; o++)
|
|
@@ -51324,7 +51324,7 @@ function Fbe(r, t) {
|
|
|
51324
51324
|
});
|
|
51325
51325
|
});
|
|
51326
51326
|
function a(o) {
|
|
51327
|
-
e.get(o) &&
|
|
51327
|
+
e.get(o) && gr("Duplicated seriesKey in universalTransition " + o);
|
|
51328
51328
|
}
|
|
51329
51329
|
return $(t.updatedSeries, function(o) {
|
|
51330
51330
|
if (o.isUniversalTransitionEnabled() && o.isAnimationEnabled()) {
|
|
@@ -56988,7 +56988,7 @@ const y_e = "_tableData_2dwtv_7", b_e = "_tableHeadCol_2dwtv_13", w_e = "_resize
|
|
|
56988
56988
|
const a = e.join(`
|
|
56989
56989
|
`);
|
|
56990
56990
|
return encodeURI(t + a);
|
|
56991
|
-
},
|
|
56991
|
+
}, $Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
56992
56992
|
__proto__: null,
|
|
56993
56993
|
applyTheme: RV,
|
|
56994
56994
|
colors: NV,
|
|
@@ -57034,7 +57034,7 @@ const y_e = "_tableData_2dwtv_7", b_e = "_tableHeadCol_2dwtv_13", w_e = "_resize
|
|
|
57034
57034
|
position: o = "bottom",
|
|
57035
57035
|
isDisabled: s
|
|
57036
57036
|
}) => {
|
|
57037
|
-
const [l, c] = fe(!1), u =
|
|
57037
|
+
const [l, c] = fe(!1), u = mr(null);
|
|
57038
57038
|
return av({
|
|
57039
57039
|
wrapRef: u,
|
|
57040
57040
|
onOutsideClick: () => c(!1)
|
|
@@ -64709,7 +64709,7 @@ const ETe = "_datePickerContainer_2dbbn_1", kTe = "_buttonWrapper_2dbbn_5", OTe
|
|
|
64709
64709
|
e == null ? void 0 : e.startDate
|
|
64710
64710
|
), [s, l] = fe(
|
|
64711
64711
|
e == null ? void 0 : e.endDate
|
|
64712
|
-
), c =
|
|
64712
|
+
), c = mr(null), u = ({
|
|
64713
64713
|
endOffset: f,
|
|
64714
64714
|
label: d,
|
|
64715
64715
|
startOffset: p,
|
|
@@ -64849,7 +64849,7 @@ const ETe = "_datePickerContainer_2dbbn_1", kTe = "_buttonWrapper_2dbbn_5", OTe
|
|
|
64849
64849
|
renderAdditionalHeaderContent: n,
|
|
64850
64850
|
externalDashboardId: i
|
|
64851
64851
|
}) => {
|
|
64852
|
-
const [a, o] = fe([]), s =
|
|
64852
|
+
const [a, o] = fe([]), s = mr(null), [l, c] = fe([]), u = () => {
|
|
64853
64853
|
var w;
|
|
64854
64854
|
o([]), t({
|
|
64855
64855
|
tableName: "",
|
|
@@ -64886,7 +64886,7 @@ const ETe = "_datePickerContainer_2dbbn_1", kTe = "_buttonWrapper_2dbbn_5", OTe
|
|
|
64886
64886
|
};
|
|
64887
64887
|
},
|
|
64888
64888
|
[a]
|
|
64889
|
-
), { data: p, isLoading: v } =
|
|
64889
|
+
), { data: p, isLoading: v } = A6({
|
|
64890
64890
|
externalDashboardId: i
|
|
64891
64891
|
}), { integrationId: g, integrationName: m } = Lt(
|
|
64892
64892
|
() => {
|
|
@@ -69167,7 +69167,8 @@ const ETe = "_datePickerContainer_2dbbn_1", kTe = "_buttonWrapper_2dbbn_5", OTe
|
|
|
69167
69167
|
buttonClass: n = "",
|
|
69168
69168
|
menuClass: i = "",
|
|
69169
69169
|
menuContainerClass: a = "",
|
|
69170
|
-
|
|
69170
|
+
className: o,
|
|
69171
|
+
position: s
|
|
69171
69172
|
}) => /* @__PURE__ */ A.jsx(
|
|
69172
69173
|
Qa,
|
|
69173
69174
|
{
|
|
@@ -69176,9 +69177,10 @@ const ETe = "_datePickerContainer_2dbbn_1", kTe = "_buttonWrapper_2dbbn_5", OTe
|
|
|
69176
69177
|
/* @__PURE__ */ A.jsx("span", { children: "Chart Settings" })
|
|
69177
69178
|
] }),
|
|
69178
69179
|
buttonClass: `${u1.chartSettingsButton} ${n}`,
|
|
69179
|
-
position:
|
|
69180
|
+
position: s || "bottom-right",
|
|
69180
69181
|
menuContainerClass: `${u1.popup} ${a}`,
|
|
69181
69182
|
menuClass: `${u1.popupMenu} ${i}`,
|
|
69183
|
+
className: o,
|
|
69182
69184
|
children: /* @__PURE__ */ A.jsx(
|
|
69183
69185
|
FW,
|
|
69184
69186
|
{
|
|
@@ -69199,7 +69201,7 @@ const ETe = "_datePickerContainer_2dbbn_1", kTe = "_buttonWrapper_2dbbn_5", OTe
|
|
|
69199
69201
|
chartClickConfig: s,
|
|
69200
69202
|
chartPopupChild: l
|
|
69201
69203
|
}) => {
|
|
69202
|
-
const c =
|
|
69204
|
+
const c = mr(null), [u, h] = fe(!1);
|
|
69203
69205
|
return /* @__PURE__ */ A.jsxs("div", { className: Sr["chartTab-container"], children: [
|
|
69204
69206
|
/* @__PURE__ */ A.jsxs("div", { className: Sr.metricChartHeader, children: [
|
|
69205
69207
|
/* @__PURE__ */ A.jsx(ye, { styleClass: "primary", variant: "p", className: "", children: "Preview" }),
|
|
@@ -85486,7 +85488,7 @@ const qNe = ({ onChange: r, value: t, onExecute: e, editorRef: n }) => /* @__PUR
|
|
|
85486
85488
|
clientColumn: c,
|
|
85487
85489
|
databaseId: u
|
|
85488
85490
|
}) => {
|
|
85489
|
-
const h =
|
|
85491
|
+
const h = mr(), [f, d] = fe([]), [p, v] = fe(""), [g, m] = fe({
|
|
85490
85492
|
value: "",
|
|
85491
85493
|
label: ""
|
|
85492
85494
|
}), [y, b] = fe([]), [x, _] = fe([]), [w, T] = fe(""), [I, D] = fe(""), [C, M] = fe([]), [S, L] = fe(
|
|
@@ -86335,7 +86337,7 @@ const qNe = ({ onChange: r, value: t, onExecute: e, editorRef: n }) => /* @__PUR
|
|
|
86335
86337
|
}), [b, x] = fe(""), [_, w] = fe(!1), [T, I] = fe(!1), [D, C] = fe({
|
|
86336
86338
|
value: "",
|
|
86337
86339
|
label: ""
|
|
86338
|
-
}), [M, S] = fe([]), { mutate: L } =
|
|
86340
|
+
}), [M, S] = fe([]), { mutate: L } = N6(), N = Lt(
|
|
86339
86341
|
() => M.map((H) => ({
|
|
86340
86342
|
value: H.tableName,
|
|
86341
86343
|
label: H.tableName
|
|
@@ -90514,12 +90516,12 @@ const zke = "_resizeHandle_170un_17", Fke = "_fullscreen_170un_57", gu = {
|
|
|
90514
90516
|
}
|
|
90515
90517
|
}, _Oe = (r, t, e) => {
|
|
90516
90518
|
var I, D;
|
|
90517
|
-
const n = ev(), { data: i } = fA(), { data: a } =
|
|
90519
|
+
const n = ev(), { data: i } = fA(), { data: a } = Y6(
|
|
90518
90520
|
{
|
|
90519
90521
|
id: (I = i == null ? void 0 : i.workspace) == null ? void 0 : I.id
|
|
90520
90522
|
},
|
|
90521
90523
|
{ enabled: !!((D = i == null ? void 0 : i.workspace) != null && D.id) }
|
|
90522
|
-
), [o, s] = fe(""), [l, c] = fe(!1), [u, h] = fe(""), { mutate: f } = c7(), { mutate: d } = n7(), { mutate: p } = y7(), { handleSubmit: v, register: g } = R0(), { data: m } =
|
|
90524
|
+
), [o, s] = fe(""), [l, c] = fe(!1), [u, h] = fe(""), { mutate: f } = c7(), { mutate: d } = n7(), { mutate: p } = y7(), { handleSubmit: v, register: g } = R0(), { data: m } = B6(
|
|
90523
90525
|
{ externalMetricId: t == null ? void 0 : t.id },
|
|
90524
90526
|
{
|
|
90525
90527
|
enabled: !!(t != null && t.id),
|
|
@@ -91340,7 +91342,7 @@ const GG = ({
|
|
|
91340
91342
|
getUnderlyingData: s,
|
|
91341
91343
|
clickBehaviourConfigs: l
|
|
91342
91344
|
}) => {
|
|
91343
|
-
const [c, u] = fe(!1), h =
|
|
91345
|
+
const [c, u] = fe(!1), h = mr(null);
|
|
91344
91346
|
return av({
|
|
91345
91347
|
wrapRef: h,
|
|
91346
91348
|
onOutsideClick: () => i(!1)
|
|
@@ -91852,7 +91854,7 @@ const GG = ({
|
|
|
91852
91854
|
/* @__PURE__ */ A.jsx("div", { className: $t.noDataText, children: "No Data Available" })
|
|
91853
91855
|
] }) }) }) })
|
|
91854
91856
|
] }) });
|
|
91855
|
-
}, PRe = "
|
|
91857
|
+
}, PRe = "_fullScreen_tfsjd_1", $Re = "_header_tfsjd_9", jRe = "_headerBlock_tfsjd_17", zRe = "_metricName_tfsjd_25", FRe = "_iconButton_tfsjd_33", BRe = "_body_tfsjd_41", HRe = "_metric_tfsjd_25", VRe = "_metricHeader_tfsjd_57", WRe = "_chartSettings_tfsjd_65", GRe = "_chart_tfsjd_65", URe = "_preview_tfsjd_81", YRe = "_popupMenu_tfsjd_89", QRe = "_csvPopup_tfsjd_97", ZRe = "_csvPopupIcon_tfsjd_105", qRe = "_popupItem_tfsjd_113", XRe = "_popupItemIcon_tfsjd_121", KRe = "_dynamicGroupFormat_tfsjd_129", JRe = "_dynamicGroupContainer_tfsjd_137", vr = {
|
|
91856
91858
|
fullScreen: PRe,
|
|
91857
91859
|
header: $Re,
|
|
91858
91860
|
headerBlock: jRe,
|
|
@@ -91861,16 +91863,17 @@ const GG = ({
|
|
|
91861
91863
|
body: BRe,
|
|
91862
91864
|
metric: HRe,
|
|
91863
91865
|
metricHeader: VRe,
|
|
91864
|
-
|
|
91865
|
-
|
|
91866
|
-
|
|
91867
|
-
|
|
91868
|
-
|
|
91869
|
-
|
|
91870
|
-
|
|
91871
|
-
|
|
91872
|
-
|
|
91873
|
-
|
|
91866
|
+
chartSettings: WRe,
|
|
91867
|
+
chart: GRe,
|
|
91868
|
+
preview: URe,
|
|
91869
|
+
popupMenu: YRe,
|
|
91870
|
+
csvPopup: QRe,
|
|
91871
|
+
csvPopupIcon: ZRe,
|
|
91872
|
+
popupItem: qRe,
|
|
91873
|
+
popupItemIcon: XRe,
|
|
91874
|
+
dynamicGroupFormat: KRe,
|
|
91875
|
+
dynamicGroupContainer: JRe
|
|
91876
|
+
}, ePe = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M2 12h2v5h16v-5h2v5c0 1.11-.89 2-2 2H4a2 2 0 0 1-2-2v-5m10 3l5.55-5.46l-1.42-1.41L13 11.25V2h-2v9.25L7.88 8.13L6.46 9.55L12 15Z" }) }), tPe = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M8.7 17.3q-.275-.275-.275-.7q0-.425.275-.7l3.9-3.9l-3.9-3.9q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l4.6 4.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-4.6 4.6q-.275.275-.7.275q-.425 0-.7-.275Z" }) }), rPe = ({
|
|
91874
91877
|
data: r,
|
|
91875
91878
|
chartRef: t,
|
|
91876
91879
|
metricName: e,
|
|
@@ -91878,22 +91881,22 @@ const GG = ({
|
|
|
91878
91881
|
}) => /* @__PURE__ */ A.jsx(A.Fragment, { children: /* @__PURE__ */ A.jsxs(
|
|
91879
91882
|
Qa,
|
|
91880
91883
|
{
|
|
91881
|
-
button: /* @__PURE__ */ A.jsx(
|
|
91882
|
-
buttonClass:
|
|
91884
|
+
button: /* @__PURE__ */ A.jsx(ePe, {}),
|
|
91885
|
+
buttonClass: vr.iconButton,
|
|
91883
91886
|
position: "bottom-right",
|
|
91884
|
-
menuClass:
|
|
91887
|
+
menuClass: vr.popupMenu,
|
|
91885
91888
|
children: [
|
|
91886
91889
|
/* @__PURE__ */ A.jsxs(
|
|
91887
91890
|
Qa,
|
|
91888
91891
|
{
|
|
91889
91892
|
button: /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
|
91890
91893
|
"Download CSV ",
|
|
91891
|
-
/* @__PURE__ */ A.jsx(
|
|
91894
|
+
/* @__PURE__ */ A.jsx(tPe, { className: vr.csvPopupIcon })
|
|
91892
91895
|
] }),
|
|
91893
|
-
buttonClass:
|
|
91896
|
+
buttonClass: vr.popupItem,
|
|
91894
91897
|
position: "left-top",
|
|
91895
|
-
menuClass:
|
|
91896
|
-
menuContainerClass:
|
|
91898
|
+
menuClass: vr.popupMenu,
|
|
91899
|
+
menuContainerClass: vr.csvPopup,
|
|
91897
91900
|
children: [
|
|
91898
91901
|
/* @__PURE__ */ A.jsx(
|
|
91899
91902
|
OW,
|
|
@@ -91901,8 +91904,8 @@ const GG = ({
|
|
|
91901
91904
|
text: "Table Results",
|
|
91902
91905
|
data: r,
|
|
91903
91906
|
fileName: e,
|
|
91904
|
-
className:
|
|
91905
|
-
iconClass:
|
|
91907
|
+
className: vr.popupItem,
|
|
91908
|
+
iconClass: vr.popupItemIcon
|
|
91906
91909
|
}
|
|
91907
91910
|
),
|
|
91908
91911
|
/* @__PURE__ */ A.jsx(
|
|
@@ -91911,7 +91914,7 @@ const GG = ({
|
|
|
91911
91914
|
type: "button",
|
|
91912
91915
|
variant: "custom",
|
|
91913
91916
|
size: "default",
|
|
91914
|
-
className:
|
|
91917
|
+
className: vr.popupItem,
|
|
91915
91918
|
onClick: n,
|
|
91916
91919
|
children: "Raw Data"
|
|
91917
91920
|
}
|
|
@@ -91924,14 +91927,14 @@ const GG = ({
|
|
|
91924
91927
|
{
|
|
91925
91928
|
text: "Save as PNG",
|
|
91926
91929
|
chartRef: t,
|
|
91927
|
-
className:
|
|
91928
|
-
iconClass:
|
|
91930
|
+
className: vr.popupItem,
|
|
91931
|
+
iconClass: vr.popupItemIcon,
|
|
91929
91932
|
fileName: e
|
|
91930
91933
|
}
|
|
91931
91934
|
)
|
|
91932
91935
|
]
|
|
91933
91936
|
}
|
|
91934
|
-
) }),
|
|
91937
|
+
) }), nPe = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 14h6v6m10-10h-6V4m0 6l7-7M3 21l7-7" }) }), KG = ({
|
|
91935
91938
|
metric: r,
|
|
91936
91939
|
colors: t,
|
|
91937
91940
|
rlsFilters: e,
|
|
@@ -91944,7 +91947,7 @@ const GG = ({
|
|
|
91944
91947
|
isAllowedToUpdateMetrics: c
|
|
91945
91948
|
}) => {
|
|
91946
91949
|
var E, O, R, P, z;
|
|
91947
|
-
const u =
|
|
91950
|
+
const u = mr(), [h, f] = fe(!1), [d, p] = fe(
|
|
91948
91951
|
r.chartOptions
|
|
91949
91952
|
), [v, g] = fe(!1), { updateExternalMetric: m, error: y } = QC({
|
|
91950
91953
|
onSuccess: () => {
|
|
@@ -91990,24 +91993,24 @@ const GG = ({
|
|
|
91990
91993
|
tenancyLevel: a,
|
|
91991
91994
|
clientId: i
|
|
91992
91995
|
});
|
|
91993
|
-
return /* @__PURE__ */ A.jsxs("dialog", { open: !0, className:
|
|
91994
|
-
/* @__PURE__ */ A.jsxs("section", { className:
|
|
91995
|
-
/* @__PURE__ */ A.jsx("div", { className:
|
|
91996
|
-
/* @__PURE__ */ A.jsxs("div", { className:
|
|
91996
|
+
return /* @__PURE__ */ A.jsxs("dialog", { open: !0, className: vr.fullScreen, children: [
|
|
91997
|
+
/* @__PURE__ */ A.jsxs("section", { className: vr.header, children: [
|
|
91998
|
+
/* @__PURE__ */ A.jsx("div", { className: vr.headerBlock, children: /* @__PURE__ */ A.jsx(ye, { variant: "h2", styleClass: "font-14", className: vr.metricName, children: r.name }) }),
|
|
91999
|
+
/* @__PURE__ */ A.jsxs("div", { className: vr.headerBlock, children: [
|
|
91997
92000
|
/* @__PURE__ */ A.jsx(
|
|
91998
92001
|
Me,
|
|
91999
92002
|
{
|
|
92000
92003
|
type: "button",
|
|
92001
92004
|
variant: "custom",
|
|
92002
92005
|
size: "default",
|
|
92003
|
-
className:
|
|
92006
|
+
className: vr.iconButton,
|
|
92004
92007
|
onClick: n,
|
|
92005
92008
|
title: "Minimize Full Screen",
|
|
92006
|
-
children: /* @__PURE__ */ A.jsx(
|
|
92009
|
+
children: /* @__PURE__ */ A.jsx(nPe, {})
|
|
92007
92010
|
}
|
|
92008
92011
|
),
|
|
92009
92012
|
/* @__PURE__ */ A.jsx(
|
|
92010
|
-
|
|
92013
|
+
rPe,
|
|
92011
92014
|
{
|
|
92012
92015
|
data: b,
|
|
92013
92016
|
chartRef: u,
|
|
@@ -92027,9 +92030,9 @@ const GG = ({
|
|
|
92027
92030
|
)
|
|
92028
92031
|
] })
|
|
92029
92032
|
] }),
|
|
92030
|
-
/* @__PURE__ */ A.jsxs("section", { className:
|
|
92031
|
-
/* @__PURE__ */ A.jsxs("div", { className:
|
|
92032
|
-
/* @__PURE__ */ A.jsxs("div", { className:
|
|
92033
|
+
/* @__PURE__ */ A.jsxs("section", { className: vr.body, children: [
|
|
92034
|
+
/* @__PURE__ */ A.jsxs("div", { className: vr.metric, children: [
|
|
92035
|
+
/* @__PURE__ */ A.jsxs("div", { className: vr.metricHeader, children: [
|
|
92033
92036
|
/* @__PURE__ */ A.jsx(
|
|
92034
92037
|
iw,
|
|
92035
92038
|
{
|
|
@@ -92067,8 +92070,8 @@ const GG = ({
|
|
|
92067
92070
|
value: d.timeSeriesSettings.groupBySettings.value
|
|
92068
92071
|
},
|
|
92069
92072
|
label: "group",
|
|
92070
|
-
buttonClass:
|
|
92071
|
-
className:
|
|
92073
|
+
buttonClass: vr.dynamicGroupFormat,
|
|
92074
|
+
className: vr.dynamicGroupContainer
|
|
92072
92075
|
}
|
|
92073
92076
|
) : null,
|
|
92074
92077
|
/* @__PURE__ */ A.jsx(
|
|
@@ -92076,7 +92079,8 @@ const GG = ({
|
|
|
92076
92079
|
{
|
|
92077
92080
|
data: b,
|
|
92078
92081
|
settings: d,
|
|
92079
|
-
setSettings: p
|
|
92082
|
+
setSettings: p,
|
|
92083
|
+
className: vr.chartSettings
|
|
92080
92084
|
}
|
|
92081
92085
|
)
|
|
92082
92086
|
] }),
|
|
@@ -92120,7 +92124,7 @@ const GG = ({
|
|
|
92120
92124
|
_(B), D(!0);
|
|
92121
92125
|
}
|
|
92122
92126
|
},
|
|
92123
|
-
className:
|
|
92127
|
+
className: vr.chart,
|
|
92124
92128
|
config: {
|
|
92125
92129
|
ref: u,
|
|
92126
92130
|
chartClickConfig: (z = r.clickActions) == null ? void 0 : z.chart,
|
|
@@ -92135,7 +92139,7 @@ const GG = ({
|
|
|
92135
92139
|
}
|
|
92136
92140
|
) : null
|
|
92137
92141
|
] }),
|
|
92138
|
-
/* @__PURE__ */ A.jsx("div", { className:
|
|
92142
|
+
/* @__PURE__ */ A.jsx("div", { className: vr.preview, children: /* @__PURE__ */ A.jsx(
|
|
92139
92143
|
vs,
|
|
92140
92144
|
{
|
|
92141
92145
|
data: b,
|
|
@@ -92351,18 +92355,18 @@ const GG = ({
|
|
|
92351
92355
|
style: { width: "50px", height: "50px", color: "blue" }
|
|
92352
92356
|
}
|
|
92353
92357
|
) }) : /* @__PURE__ */ A.jsx("div", { className: gu["noMetric-container"], children: /* @__PURE__ */ A.jsx("div", { className: gu["noMetric-wrapper"], children: /* @__PURE__ */ A.jsx(ye, { variant: "h2", styleClass: "primary", children: "No metrics created yet" }) }) }) }) });
|
|
92354
|
-
},
|
|
92355
|
-
container:
|
|
92356
|
-
table:
|
|
92357
|
-
tableHead:
|
|
92358
|
-
tableRow:
|
|
92359
|
-
tableHeadCol:
|
|
92360
|
-
tableHeadColText:
|
|
92361
|
-
tableRowCol:
|
|
92362
|
-
tableColText:
|
|
92363
|
-
empty:
|
|
92364
|
-
error:
|
|
92365
|
-
},
|
|
92358
|
+
}, iPe = "_container_1jkce_1", aPe = "_table_1jkce_9", oPe = "_tableHead_1jkce_17", sPe = "_tableRow_1jkce_25", lPe = "_tableHeadCol_1jkce_33", uPe = "_tableHeadColText_1jkce_41", cPe = "_tableRowCol_1jkce_49", hPe = "_tableColText_1jkce_57", fPe = "_empty_1jkce_65", dPe = "_error_1jkce_73", so = {
|
|
92359
|
+
container: iPe,
|
|
92360
|
+
table: aPe,
|
|
92361
|
+
tableHead: oPe,
|
|
92362
|
+
tableRow: sPe,
|
|
92363
|
+
tableHeadCol: lPe,
|
|
92364
|
+
tableHeadColText: uPe,
|
|
92365
|
+
tableRowCol: cPe,
|
|
92366
|
+
tableColText: hPe,
|
|
92367
|
+
empty: fPe,
|
|
92368
|
+
error: dPe
|
|
92369
|
+
}, pPe = ({ data: r, isError: t }) => /* @__PURE__ */ A.jsxs("div", { className: so.container, children: [
|
|
92366
92370
|
!!(r != null && r.length) && !t && /* @__PURE__ */ A.jsxs("table", { className: so.table, children: [
|
|
92367
92371
|
/* @__PURE__ */ A.jsx("thead", { className: so.tableHead, children: /* @__PURE__ */ A.jsx("tr", { className: so.tableRow, children: Object.keys(r[0]).map((e) => /* @__PURE__ */ A.jsx("th", { className: so.tableHeadCol, scope: "col", children: /* @__PURE__ */ A.jsx(
|
|
92368
92372
|
ye,
|
|
@@ -92387,7 +92391,7 @@ const GG = ({
|
|
|
92387
92391
|
] }),
|
|
92388
92392
|
!(r != null && r.length) && !t && /* @__PURE__ */ A.jsx("div", { className: so.empty, children: "Table is empty" }),
|
|
92389
92393
|
t && /* @__PURE__ */ A.jsx("div", { className: so.error, children: r.message })
|
|
92390
|
-
] }),
|
|
92394
|
+
] }), jPe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92391
92395
|
__proto__: null,
|
|
92392
92396
|
Alert: UG,
|
|
92393
92397
|
AppliedFilter: jV,
|
|
@@ -92408,7 +92412,7 @@ const GG = ({
|
|
|
92408
92412
|
Dataset: jW,
|
|
92409
92413
|
DownloadRawCsvModal: GG,
|
|
92410
92414
|
DrillBreadCrumb: pA,
|
|
92411
|
-
DropDown:
|
|
92415
|
+
DropDown: eQ,
|
|
92412
92416
|
EmbeddedMetricCreation: iG,
|
|
92413
92417
|
Error: ho,
|
|
92414
92418
|
ErrorFallback: Uj,
|
|
@@ -92434,7 +92438,7 @@ const GG = ({
|
|
|
92434
92438
|
MetricFilterDropDown: iw,
|
|
92435
92439
|
MetricForm: rG,
|
|
92436
92440
|
MetricOutput: VW,
|
|
92437
|
-
MetricTable:
|
|
92441
|
+
MetricTable: pPe,
|
|
92438
92442
|
Modal: oa,
|
|
92439
92443
|
ModalFooter: Zo,
|
|
92440
92444
|
MultiFilterDropdown: B0,
|
|
@@ -92445,7 +92449,7 @@ const GG = ({
|
|
|
92445
92449
|
Portal: UC,
|
|
92446
92450
|
SearchTab: iv,
|
|
92447
92451
|
Select: yr,
|
|
92448
|
-
SelectField:
|
|
92452
|
+
SelectField: IQ,
|
|
92449
92453
|
SelectWithSubValue: kj,
|
|
92450
92454
|
SingleValueCard: RRe,
|
|
92451
92455
|
Tab: Yp,
|
|
@@ -92460,8 +92464,8 @@ const GG = ({
|
|
|
92460
92464
|
getFormattedFilterValue: NW,
|
|
92461
92465
|
isInFilterOperator: SI,
|
|
92462
92466
|
isNullFilterOperator: o0
|
|
92463
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
92464
|
-
scheduleEmailButton:
|
|
92467
|
+
}, Symbol.toStringTag, { value: "Module" })), vPe = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z" }) }), gPe = "_scheduleEmailButton_13nzt_1", mPe = {
|
|
92468
|
+
scheduleEmailButton: gPe
|
|
92465
92469
|
}, ui = {
|
|
92466
92470
|
"form-wrapper": "_form-wrapper_ynoky_1",
|
|
92467
92471
|
"form-primary-text": "_form-primary-text_ynoky_5",
|
|
@@ -92474,14 +92478,14 @@ const GG = ({
|
|
|
92474
92478
|
"field-width": "_field-width_ynoky_29",
|
|
92475
92479
|
"timezone-field": "_timezone-field_ynoky_33",
|
|
92476
92480
|
"success-text": "_success-text_ynoky_37"
|
|
92477
|
-
},
|
|
92478
|
-
tag:
|
|
92481
|
+
}, yPe = "_tag_qld84_1", bPe = "_tagBtn_qld84_7", wPe = "_inputFieldContainer_qld84_11", uh = {
|
|
92482
|
+
tag: yPe,
|
|
92479
92483
|
"tag-text": "_tag-text_qld84_4",
|
|
92480
|
-
tagBtn:
|
|
92481
|
-
inputFieldContainer:
|
|
92484
|
+
tagBtn: bPe,
|
|
92485
|
+
inputFieldContainer: wPe,
|
|
92482
92486
|
"tag-container": "_tag-container_qld84_15",
|
|
92483
92487
|
"cross-icon": "_cross-icon_qld84_19"
|
|
92484
|
-
},
|
|
92488
|
+
}, _Pe = ({
|
|
92485
92489
|
control: r,
|
|
92486
92490
|
placeholder: t,
|
|
92487
92491
|
name: e,
|
|
@@ -92541,12 +92545,12 @@ const GG = ({
|
|
|
92541
92545
|
] })
|
|
92542
92546
|
}
|
|
92543
92547
|
);
|
|
92544
|
-
},
|
|
92548
|
+
}, xPe = (r, t) => {
|
|
92545
92549
|
const e = t.getTimezoneOffset() * -1;
|
|
92546
92550
|
return new Date(
|
|
92547
92551
|
t.toLocaleString("en-US", { timeZone: r })
|
|
92548
92552
|
).getTimezoneOffset() * -1 - e;
|
|
92549
|
-
},
|
|
92553
|
+
}, MPe = (r) => {
|
|
92550
92554
|
const t = /* @__PURE__ */ new Date();
|
|
92551
92555
|
let e = null;
|
|
92552
92556
|
switch (r.frequency) {
|
|
@@ -92582,13 +92586,13 @@ const GG = ({
|
|
|
92582
92586
|
}
|
|
92583
92587
|
if (e !== null) {
|
|
92584
92588
|
e.setHours(parseInt(r.hours, 10), 0, 0, 0), r.time === "PM" ? e.setHours(parseInt(r.hours, 10) + 12) : r.time === "AM" && r.hours === "12" && e.setHours(0);
|
|
92585
|
-
const n =
|
|
92589
|
+
const n = xPe(r.timezone, e);
|
|
92586
92590
|
e.setTime(e.getTime() + n * 6e4);
|
|
92587
92591
|
}
|
|
92588
92592
|
return e;
|
|
92589
|
-
},
|
|
92593
|
+
}, SPe = ({ onCancel: r }) => {
|
|
92590
92594
|
var k;
|
|
92591
|
-
const { register: t, handleSubmit: e, watch: n, control: i, setValue: a, getValues: o, reset: s } = R0(), { data: l, token: c } = fA(), { data: u, isLoading: h } =
|
|
92595
|
+
const { register: t, handleSubmit: e, watch: n, control: i, setValue: a, getValues: o, reset: s } = R0(), { data: l, token: c } = fA(), { data: u, isLoading: h } = Z6({ token: c }), f = Lt(() => {
|
|
92592
92596
|
var E;
|
|
92593
92597
|
if ((E = u == null ? void 0 : u.scheduleEmailReports) != null && E.length)
|
|
92594
92598
|
return u == null ? void 0 : u.scheduleEmailReports[0];
|
|
@@ -92601,7 +92605,7 @@ const GG = ({
|
|
|
92601
92605
|
const [d, p] = fe(!1), [v, g] = fe(""), [m, y] = fe(!1), [b, x] = fe(!1), _ = "", w = ((k = l == null ? void 0 : l.externalDashboardMetrics) == null ? void 0 : k.map((E) => ({
|
|
92602
92606
|
value: E.externalMetric.id,
|
|
92603
92607
|
label: E.externalMetric.name
|
|
92604
|
-
}))) || [], T = p7(), I =
|
|
92608
|
+
}))) || [], T = p7(), I = b6(), D = _6(), C = (E, O) => E.charts.length === 0 ? (g("please select at least one chart to share"), p(!1), y(!1), !1) : E.emails.length === 0 ? (g("please add at least one email address"), p(!1), y(!1), !1) : O ? !0 : (g("invalid time configurations"), p(!1), y(!1), !1), M = (E) => {
|
|
92605
92609
|
var q, K;
|
|
92606
92610
|
g(""), p(!0), y(!1);
|
|
92607
92611
|
const {
|
|
@@ -92613,7 +92617,7 @@ const GG = ({
|
|
|
92613
92617
|
hours: F,
|
|
92614
92618
|
time: V,
|
|
92615
92619
|
timezone: W
|
|
92616
|
-
} = E, G =
|
|
92620
|
+
} = E, G = MPe({
|
|
92617
92621
|
date: B,
|
|
92618
92622
|
frequency: P,
|
|
92619
92623
|
hours: F,
|
|
@@ -92708,7 +92712,7 @@ const GG = ({
|
|
|
92708
92712
|
onDelete: N,
|
|
92709
92713
|
isDeleted: b
|
|
92710
92714
|
};
|
|
92711
|
-
},
|
|
92715
|
+
}, CPe = ({ onCancel: r }) => {
|
|
92712
92716
|
var v;
|
|
92713
92717
|
const {
|
|
92714
92718
|
control: t,
|
|
@@ -92725,7 +92729,7 @@ const GG = ({
|
|
|
92725
92729
|
scheduleReportConfig: f,
|
|
92726
92730
|
onDelete: d,
|
|
92727
92731
|
isDeleted: p
|
|
92728
|
-
} =
|
|
92732
|
+
} = SPe({ onCancel: r });
|
|
92729
92733
|
return /* @__PURE__ */ A.jsxs("form", { className: ui["form-container"], onSubmit: l, children: [
|
|
92730
92734
|
/* @__PURE__ */ A.jsxs("div", { className: ui["form-wrapper"], children: [
|
|
92731
92735
|
/* @__PURE__ */ A.jsxs(
|
|
@@ -92749,7 +92753,7 @@ const GG = ({
|
|
|
92749
92753
|
}
|
|
92750
92754
|
),
|
|
92751
92755
|
/* @__PURE__ */ A.jsx(
|
|
92752
|
-
|
|
92756
|
+
_Pe,
|
|
92753
92757
|
{
|
|
92754
92758
|
control: t,
|
|
92755
92759
|
type: "text",
|
|
@@ -92899,7 +92903,7 @@ const GG = ({
|
|
|
92899
92903
|
)
|
|
92900
92904
|
] })
|
|
92901
92905
|
] });
|
|
92902
|
-
},
|
|
92906
|
+
}, DPe = (r) => /* @__PURE__ */ A.jsx("svg", { viewBox: "0 0 2048 2048", width: "1.2em", height: "1.2em", ...r, children: /* @__PURE__ */ A.jsx("path", { fill: "currentColor", d: "M960 1100L128 565v971h768v128H0V384h1920v601q-13-9-29-19t-33-20t-34-18t-32-13V565l-832 535zm678-588H282l678 436l678-436zm410 1024q0 106-40 199t-109 163t-163 110t-200 40q-106 0-199-40t-163-109t-110-163t-40-200q0-106 40-199t109-163t163-110t200-40q106 0 199 40t163 109t110 163t40 200zm-512 384q79 0 149-30t122-82t83-122t30-150q0-79-30-149t-82-122t-123-83t-149-30q-80 0-149 30t-122 82t-83 123t-30 149q0 80 30 149t82 122t122 83t150 30zm0-640v256h192v128h-320v-384h128z" }) }), TPe = () => {
|
|
92903
92907
|
const [r, t] = fe(!1);
|
|
92904
92908
|
return /* @__PURE__ */ A.jsxs("div", { children: [
|
|
92905
92909
|
/* @__PURE__ */ A.jsx(
|
|
@@ -92909,8 +92913,8 @@ const GG = ({
|
|
|
92909
92913
|
type: "button",
|
|
92910
92914
|
onClick: () => t(!0),
|
|
92911
92915
|
title: "email-sharing",
|
|
92912
|
-
className:
|
|
92913
|
-
children: /* @__PURE__ */ A.jsx(
|
|
92916
|
+
className: mPe.scheduleEmailButton,
|
|
92917
|
+
children: /* @__PURE__ */ A.jsx(DPe, {})
|
|
92914
92918
|
}
|
|
92915
92919
|
),
|
|
92916
92920
|
/* @__PURE__ */ A.jsx(
|
|
@@ -92919,17 +92923,17 @@ const GG = ({
|
|
|
92919
92923
|
isOpen: r,
|
|
92920
92924
|
onClose: () => t(!1),
|
|
92921
92925
|
headerTitle: "Schedule Email",
|
|
92922
|
-
children: /* @__PURE__ */ A.jsx(
|
|
92926
|
+
children: /* @__PURE__ */ A.jsx(CPe, { onCancel: () => t(!1) })
|
|
92923
92927
|
}
|
|
92924
92928
|
)
|
|
92925
92929
|
] });
|
|
92926
|
-
},
|
|
92930
|
+
}, IPe = J.memo(
|
|
92927
92931
|
({ options: r, theme: t }) => {
|
|
92928
92932
|
var h, f, d;
|
|
92929
92933
|
const { data: e, isLoading: n } = fA(), [i, a] = fe(!1), [o, s] = fe({
|
|
92930
92934
|
tableName: "",
|
|
92931
92935
|
filters: []
|
|
92932
|
-
}), { data: l } =
|
|
92936
|
+
}), { data: l } = J6(
|
|
92933
92937
|
{
|
|
92934
92938
|
companyId: e == null ? void 0 : e.companyId
|
|
92935
92939
|
},
|
|
@@ -92965,7 +92969,7 @@ const GG = ({
|
|
|
92965
92969
|
{
|
|
92966
92970
|
className: (r == null ? void 0 : r.headerVariant) === "floating" ? Fi.floatingContainer : Fi.staticContainer,
|
|
92967
92971
|
children: [
|
|
92968
|
-
e.sharingSettingsId && /* @__PURE__ */ A.jsx(
|
|
92972
|
+
e.sharingSettingsId && /* @__PURE__ */ A.jsx(TPe, {}),
|
|
92969
92973
|
!(r != null && r.disableMetricCreation) && e.isAllowedToCreateMetrics && /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
|
92970
92974
|
/* @__PURE__ */ A.jsx(
|
|
92971
92975
|
Me,
|
|
@@ -92976,7 +92980,7 @@ const GG = ({
|
|
|
92976
92980
|
className: (r == null ? void 0 : r.headerVariant) === "floating" ? Fi.floatingCreateButton : "",
|
|
92977
92981
|
onClick: () => a(!0),
|
|
92978
92982
|
children: (r == null ? void 0 : r.headerVariant) === "floating" ? /* @__PURE__ */ A.jsx(
|
|
92979
|
-
|
|
92983
|
+
vPe,
|
|
92980
92984
|
{
|
|
92981
92985
|
className: Fi.floatingCreateButtonIcon
|
|
92982
92986
|
}
|
|
@@ -93048,27 +93052,27 @@ const GG = ({
|
|
|
93048
93052
|
!n && !((d = e == null ? void 0 : e.externalDashboard) != null && d.id) && /* @__PURE__ */ A.jsx("div", { className: Fi["alt-container"], children: "Invalid token or Dashboard id" })
|
|
93049
93053
|
] }) });
|
|
93050
93054
|
}
|
|
93051
|
-
),
|
|
93055
|
+
), APe = ({ token: r, children: t }) => {
|
|
93052
93056
|
const { data: e, isLoading: n } = qj(r), i = Lt(
|
|
93053
93057
|
() => ({ data: e, isLoading: n, token: r }),
|
|
93054
93058
|
[e, n, r]
|
|
93055
93059
|
);
|
|
93056
93060
|
return /* @__PURE__ */ A.jsx(WG.Provider, { value: i, children: t });
|
|
93057
|
-
},
|
|
93061
|
+
}, LPe = new cY(), NPe = ({ children: r, theme: t }) => (je(() => {
|
|
93058
93062
|
!t || !Object.keys(t).length || RV(t);
|
|
93059
|
-
}, [t]), /* @__PURE__ */ A.jsx(GU, { FallbackComponent: Uj, children: /* @__PURE__ */ A.jsx(gY, { client:
|
|
93060
|
-
({ token: r, options: t, theme: e }) => /* @__PURE__ */ A.jsx(
|
|
93061
|
-
),
|
|
93063
|
+
}, [t]), /* @__PURE__ */ A.jsx(GU, { FallbackComponent: Uj, children: /* @__PURE__ */ A.jsx(gY, { client: LPe, children: r }) })), zPe = J.memo(
|
|
93064
|
+
({ token: r, options: t, theme: e }) => /* @__PURE__ */ A.jsx(NPe, { theme: e, children: /* @__PURE__ */ A.jsx(APe, { token: r, children: /* @__PURE__ */ A.jsx(IPe, { options: t, theme: e }) }) })
|
|
93065
|
+
), FPe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93062
93066
|
__proto__: null
|
|
93063
93067
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
93064
93068
|
export {
|
|
93065
|
-
|
|
93066
|
-
|
|
93067
|
-
|
|
93068
|
-
|
|
93069
|
-
|
|
93070
|
-
|
|
93071
|
-
|
|
93072
|
-
|
|
93073
|
-
|
|
93069
|
+
zPe as Dashboard,
|
|
93070
|
+
IPe as EmbeddedDashboard,
|
|
93071
|
+
NPe as PluginProvider,
|
|
93072
|
+
jPe as Ui,
|
|
93073
|
+
OPe as consts,
|
|
93074
|
+
RPe as helpers,
|
|
93075
|
+
PPe as hooks,
|
|
93076
|
+
FPe as types,
|
|
93077
|
+
$Pe as utils
|
|
93074
93078
|
};
|