@synnaxlabs/pluto 0.31.0 → 0.32.1
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/{Animated-CqxAz8yC.js → Animated-m1d-q2MY.js} +1 -1
- package/dist/{Animated-Bo0VMLXe.cjs → Animated-vgeFXXXh.cjs} +1 -1
- package/dist/{Item-Cr7Cee2t.js → Item-AKMko1DZ.js} +3 -3
- package/dist/{Item-s_R6czdE.cjs → Item-CzgByHQ2.cjs} +1 -1
- package/dist/{Keyboard-CIJ6C-6F.js → Keyboard-DWCElMA3.js} +1 -1
- package/dist/{Keyboard-D-9KUUCq.cjs → Keyboard-Dy7Q9I4w.cjs} +1 -1
- package/dist/{LinePlot-k6OxHynn.cjs → LinePlot-BcVyfdeK.cjs} +8 -8
- package/dist/{LinePlot-CVOH06qp.js → LinePlot-CCzgiKg5.js} +1 -1
- package/dist/Link-BLs4o2WZ.js +11 -0
- package/dist/Link-DAjbmQEI.cjs +1 -0
- package/dist/{List-DVMb5TAO.cjs → List-C8Cd_qEK.cjs} +1 -1
- package/dist/{List-L9yD_LRe.js → List-CVxaH1Gv.js} +2 -2
- package/dist/{Text-Vzb9NS0-.cjs → Text-DwK7WZwz.cjs} +1 -1
- package/dist/{Text-D9wOBnT3.js → Text-ZWBNDAJX.js} +3 -3
- package/dist/{Toggle-BrC3s3ox.js → Toggle-BQtgHKds.js} +3121 -3117
- package/dist/{Toggle-DdnBJm8D.cjs → Toggle-Cu_t9VPe.cjs} +24 -24
- package/dist/{aggregator-BNkkZ-Bc.js → aggregator-f5OfPmNc.js} +603 -580
- package/dist/{aggregator-LvZi4Kvh.cjs → aggregator-q0CY7-QS.cjs} +24 -24
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/color.cjs +1 -1
- package/dist/color.js +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/ether.cjs +1 -1
- package/dist/ether.js +4 -4
- package/dist/{external-BwdvFk2R.js → external-0qSQW-rW.js} +2 -2
- package/dist/{external-BGcGef1R.cjs → external-1AgJfGUo.cjs} +1 -1
- package/dist/{external-D7bzFwDm.cjs → external-2HiPz4gN.cjs} +1 -1
- package/dist/{external-vf43rlmJ.js → external-B22Cd5L_.js} +2 -2
- package/dist/{external-BpWJNQQi.cjs → external-BAqZitjw.cjs} +1 -1
- package/dist/{external-DzY80h7T.js → external-BGO9o6o7.js} +6 -6
- package/dist/{external-EHAadzLe.js → external-BIcOl3QR.js} +2 -2
- package/dist/{external-ByGOTAK0.js → external-BSbQ1fB2.js} +3 -3
- package/dist/{external-ArTLjo1-.cjs → external-BVWCSwPk.cjs} +1 -1
- package/dist/{external-CzVXDUkp.cjs → external-Bcj4ayXg.cjs} +1 -1
- package/dist/{external-BaV5u1sJ.js → external-BiVAfJDo.js} +10 -10
- package/dist/{external-oW8IRqfk.js → external-BswSNc0P.js} +2 -2
- package/dist/{external-Cta1T9rO.js → external-BxSZ_pLZ.js} +2 -2
- package/dist/{external-BxX4TXgQ.cjs → external-CCY3TmGe.cjs} +1 -1
- package/dist/{external-CJt9nz9P.cjs → external-COZBfuIe.cjs} +1 -1
- package/dist/{external-MSpJvixc.cjs → external-CR7eRU7I.cjs} +1 -1
- package/dist/{external-CGdoEsew.cjs → external-CV8q9dy8.cjs} +1 -1
- package/dist/{external-B1KQRpm7.js → external-CWLnWzN8.js} +33 -33
- package/dist/{external-DAswAy_H.js → external-Co3i1qex.js} +25 -25
- package/dist/{external-DmH8EJ0I.cjs → external-Cqh9AY74.cjs} +1 -1
- package/dist/{external-qbHFNsHS.js → external-CyqJB_UP.js} +14 -14
- package/dist/{external-ZS0XGHuP.cjs → external-DNl6ut74.cjs} +1 -1
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +191 -191
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/src/button/Link.d.ts +2 -1
- package/dist/src/button/Link.d.ts.map +1 -1
- package/dist/src/select/Direction.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.js +2 -2
- package/dist/theming.cjs +1 -1
- package/dist/theming.js +2 -2
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/triggers.cjs +1 -1
- package/dist/triggers.js +1 -1
- package/package.json +7 -7
- package/dist/Link-B1bLviPV.js +0 -10
- package/dist/Link-z1QKdW8G.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -2,42 +2,42 @@ var zc = Object.defineProperty;
|
|
|
2
2
|
var Ac = (e, t, n) => t in e ? zc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => Ac(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { j as s } from "./jsx-runtime-B6kdoens.js";
|
|
5
|
-
import Ke, { isValidElement as
|
|
6
|
-
import {
|
|
7
|
-
import { bf as ff, bg as pf, bh as jf, D as yf, bi as bf, bj as vf, bl as Sf, bm as wf, bk as Cf } from "./Toggle-
|
|
8
|
-
import { C as d, J as te, g as ae, h as hi, T as b, q as $, j as ks, i as mi, _ as Nt, k as Xe, c as be, l as
|
|
5
|
+
import Ke, { isValidElement as Vc, forwardRef as kt, Children as Ic, useRef as X, useState as ee, useCallback as p, useEffect as D, createElement as Lt, createContext as Qe, useContext as Me, memo as Et, useMemo as je, useLayoutEffect as Mt, useImperativeHandle as Dc, useId as Xs, createRef as Zc, Fragment as xr } from "react";
|
|
6
|
+
import { U as W, aI as Fc, i as ne, ae as $s, I as ke, B as ct, aJ as hr, aK as et, aL as qs, aM as Hc, aN as Yc, aO as mr, aP as Gc, aQ as Js, aR as Uc, aS as Wc, aT as Kc, aU as Xc, H as qc, ah as gr, aV as Jc, ag as Qc, aW as Z, a3 as fr, aX as re, aY as Ye, aZ as Ve, ak as Ie, a_ as cs, a$ as ei, b0 as ve, c as Qs, a2 as en, a4 as St, b1 as pr, X as jr, ay as yr, ax as br, a0 as vr, G as ti, a9 as tn, b2 as si, j as Sr, r as wr, y as Os, s as zs, V as As, o as sn, f as ni, e as ri, af as Cr, b3 as Dn, b4 as Pr, Z as ye, Y as De, b5 as nn, _ as tt, an as Le, ao as rn, b6 as kr, b7 as oi, b8 as li, b9 as ai, ba as Lr, bb as Er, bc as ci, q as ii, bd as di, P as ui, au as Mr, u as Tt, N as Ps, be as xi, g as Tr } from "./Toggle-BQtgHKds.js";
|
|
7
|
+
import { bf as ff, bg as pf, bh as jf, D as yf, bi as bf, bj as vf, bl as Sf, bm as wf, bk as Cf } from "./Toggle-BQtgHKds.js";
|
|
8
|
+
import { C as d, J as te, g as ae, h as hi, T as b, q as $, j as ks, i as mi, _ as Nt, k as Xe, c as be, l as It, R as Zn, a as Wt, Z as gi } from "./css-B8RwzK24.js";
|
|
9
9
|
import { n as kf } from "./css-B8RwzK24.js";
|
|
10
|
-
import { H as fi, B as pi, A as ji } from "./external-
|
|
11
|
-
import { e as Ef } from "./external-
|
|
12
|
-
import { A as le, V as yi, k as bi, v as vi, o as Si, p as wi,
|
|
13
|
-
import {
|
|
14
|
-
import { S as
|
|
10
|
+
import { H as fi, B as pi, A as ji } from "./external-BxSZ_pLZ.js";
|
|
11
|
+
import { e as Ef } from "./external-BxSZ_pLZ.js";
|
|
12
|
+
import { A as le, V as yi, k as bi, v as vi, o as Si, p as wi, H as Ci, w as Kt, _ as Be, h as Fn, j as Nr, q as Xt, x as Pi, C as ki, F as Hn, Q as Li, n as is, z as lt, U as yt, B as Ei, N as Mi, D as Ti, m as bt, E as Ni, G as _i, y as Yn, i as Bi } from "./aggregator-f5OfPmNc.js";
|
|
13
|
+
import { J as Tf, K as Nf, M as _f, O as Bf, T as Rf, I as $f } from "./aggregator-f5OfPmNc.js";
|
|
14
|
+
import { S as V, P as _r } from "./Pack-BrxYNh7B.js";
|
|
15
15
|
import { G as zf } from "./Pack-BrxYNh7B.js";
|
|
16
|
-
import { e as
|
|
17
|
-
import { r as Ri, a as on, b as $i, T as it, t as Oi, u as _t } from "./external-
|
|
18
|
-
import { I as Df, e as Zf } from "./external-
|
|
19
|
-
import { e as Hf } from "./external-
|
|
20
|
-
import { a as Gf } from "./Animated-
|
|
21
|
-
import { Z as Dt, P as Ls, K as zi, M as Ai, N as
|
|
22
|
-
import { w as Wf } from "./LinePlot-
|
|
16
|
+
import { e as Vf } from "./external-n_t7VfzS.js";
|
|
17
|
+
import { r as Ri, a as on, b as $i, T as it, t as Oi, u as _t } from "./external-Co3i1qex.js";
|
|
18
|
+
import { I as Df, e as Zf } from "./external-Co3i1qex.js";
|
|
19
|
+
import { e as Hf } from "./external-BswSNc0P.js";
|
|
20
|
+
import { a as Gf } from "./Animated-m1d-q2MY.js";
|
|
21
|
+
import { Z as Dt, P as Ls, K as zi, M as Ai, N as Vi, O as Ii, Q as Di, S as Zi, T as Fi, U as Br, V as Vs, W as Is, _ as Ds, g as Hi, $ as Yi, a0 as Gi, a1 as Zs, a2 as ds, a3 as Ui, a4 as us, a5 as Wi, a6 as Rr, a7 as $r, a8 as Or, a9 as zr, aa as dt, ab as xs, ac as Ar, ad as Ki, ae as Xi, af as qi, ag as Ji, ah as Qi, ai as Gn, aj as ed, F as td, H as sd, ak as Vt, X as nd, Y as rd, al as od, am as ld, an as ad, ao as cd, ap as id, aq as dd, ar as ud, as as xd, at as hd, au as md, av as gd, aw as fd, ax as pd, ay as jd, az as yd, aA as Un, aB as Wn, aC as Vr, aD as bd, aE as Kn, aF as vd, aG as Xn, aH as Sd, aI as rt, aJ as ot, aK as Ir, aL as Dr, aM as wd, aN as qn, aO as Cd, aP as Pd, aQ as Jn, aR as kd, aS as Zr, aT as Ld, aU as Fr, aV as Hr, aW as Yr, aX as Ed, aY as Zt, aZ as Md, a_ as Td, a$ as Nd, b0 as _d, b1 as Gr, b2 as Bd, b3 as Rd, b4 as $d, b5 as Od, b6 as zd, b7 as Ad, b8 as Vd, b9 as Id, ba as Dd, bb as hs, bc as ln, bd as ms, be as Zd, bf as Fd, bg as Oe, bh as ze, bi as an, bj as Bt, bk as cn, bl as Ft, bm as Ht, bn as se, bo as Hd, bp as Yd, bq as Gd, br as Ud, bs as Wd, bt as Kd, bu as Xd, bv as qd, bw as Jd, bx as Qd, by as Fs, bz as eu } from "./LinePlot-CCzgiKg5.js";
|
|
22
|
+
import { w as Wf } from "./LinePlot-CCzgiKg5.js";
|
|
23
23
|
import { z as Pe } from "zod";
|
|
24
|
-
import { S as Ur } from "./external-
|
|
25
|
-
import { e as Xf } from "./external-
|
|
26
|
-
import { B as gs, D as dn, C as Wr, a as tu, d as su, S as Kr } from "./external-
|
|
27
|
-
import { e as Jf } from "./external-
|
|
28
|
-
import { T as nu } from "./Text-
|
|
29
|
-
import { u as ru } from "./external-
|
|
30
|
-
import { e as ep } from "./external-
|
|
31
|
-
import "./Item-
|
|
24
|
+
import { S as Ur } from "./external-BiVAfJDo.js";
|
|
25
|
+
import { e as Xf } from "./external-BiVAfJDo.js";
|
|
26
|
+
import { B as gs, D as dn, C as Wr, a as tu, d as su, S as Kr } from "./external-CyqJB_UP.js";
|
|
27
|
+
import { e as Jf } from "./external-CyqJB_UP.js";
|
|
28
|
+
import { T as nu } from "./Text-ZWBNDAJX.js";
|
|
29
|
+
import { u as ru } from "./external-BGO9o6o7.js";
|
|
30
|
+
import { e as ep } from "./external-BGO9o6o7.js";
|
|
31
|
+
import "./Item-AKMko1DZ.js";
|
|
32
32
|
import { createPortal as un } from "react-dom";
|
|
33
|
-
import { F as Xr } from "./external-
|
|
34
|
-
import { e as sp, c as np, f as rp, p as op } from "./external-
|
|
33
|
+
import { F as Xr } from "./external-BSbQ1fB2.js";
|
|
34
|
+
import { e as sp, c as np, f as rp, p as op } from "./external-BSbQ1fB2.js";
|
|
35
35
|
import { c as ap, u as cp } from "./units-CnA_yWxx.js";
|
|
36
|
-
import { I as Re } from "./external-
|
|
37
|
-
import { e as dp } from "./external-
|
|
38
|
-
import { e as xp } from "./external-
|
|
39
|
-
import { e as mp } from "./external-
|
|
40
|
-
import { e as fp } from "./external-
|
|
36
|
+
import { I as Re } from "./external-BIcOl3QR.js";
|
|
37
|
+
import { e as dp } from "./external-BIcOl3QR.js";
|
|
38
|
+
import { e as xp } from "./external-B22Cd5L_.js";
|
|
39
|
+
import { e as mp } from "./external-0qSQW-rW.js";
|
|
40
|
+
import { e as fp } from "./external-CWLnWzN8.js";
|
|
41
41
|
import { V as jp } from "./Video-DdIv_1Yq.js";
|
|
42
42
|
const qr = ({ variant: e, ...t }) => /* @__PURE__ */ s.jsx(W.Circle, { color: Fc[e], ...t }), ou = ({
|
|
43
43
|
status: { key: e, time: t, count: n, message: r, description: o, variant: l },
|
|
@@ -47,15 +47,15 @@ const qr = ({ variant: e, ...t }) => /* @__PURE__ */ s.jsx(W.Circle, { color: Fc
|
|
|
47
47
|
children: x,
|
|
48
48
|
...u
|
|
49
49
|
}) => /* @__PURE__ */ s.jsxs(
|
|
50
|
-
|
|
50
|
+
V,
|
|
51
51
|
{
|
|
52
52
|
className: d(d.B("notification"), i),
|
|
53
53
|
direction: "y",
|
|
54
54
|
empty: !0,
|
|
55
55
|
...u,
|
|
56
56
|
children: [
|
|
57
|
-
/* @__PURE__ */ s.jsxs(
|
|
58
|
-
/* @__PURE__ */ s.jsxs(
|
|
57
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", justify: "spaceBetween", grow: !0, style: { width: "100%" }, children: [
|
|
58
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", align: "center", size: "small", children: [
|
|
59
59
|
/* @__PURE__ */ s.jsx(qr, { style: { height: "2.25rem", width: "2.5rem" }, variant: l }),
|
|
60
60
|
/* @__PURE__ */ s.jsx(ne, { level: "small", shade: 7, children: `x${n}` }),
|
|
61
61
|
/* @__PURE__ */ s.jsx(
|
|
@@ -80,7 +80,7 @@ const qr = ({ variant: e, ...t }) => /* @__PURE__ */ s.jsx(W.Circle, { color: Fc
|
|
|
80
80
|
)
|
|
81
81
|
] }),
|
|
82
82
|
/* @__PURE__ */ s.jsxs(
|
|
83
|
-
|
|
83
|
+
V,
|
|
84
84
|
{
|
|
85
85
|
direction: "y",
|
|
86
86
|
align: "start",
|
|
@@ -109,7 +109,7 @@ const qr = ({ variant: e, ...t }) => /* @__PURE__ */ s.jsx(W.Circle, { color: Fc
|
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
111
|
c != null && /* @__PURE__ */ s.jsx(
|
|
112
|
-
|
|
112
|
+
V,
|
|
113
113
|
{
|
|
114
114
|
direction: "x",
|
|
115
115
|
align: "center",
|
|
@@ -122,7 +122,7 @@ const qr = ({ variant: e, ...t }) => /* @__PURE__ */ s.jsx(W.Circle, { color: Fc
|
|
|
122
122
|
},
|
|
123
123
|
t.toString()
|
|
124
124
|
), lu = ({ action: e }) => {
|
|
125
|
-
if (!
|
|
125
|
+
if (!Vc(e)) {
|
|
126
126
|
const t = e;
|
|
127
127
|
return /* @__PURE__ */ s.jsx(ct, { ...t });
|
|
128
128
|
}
|
|
@@ -244,9 +244,9 @@ const xn = ({
|
|
|
244
244
|
className: o,
|
|
245
245
|
...l
|
|
246
246
|
}, a) => {
|
|
247
|
-
const c = ae.construct(e), i =
|
|
247
|
+
const c = ae.construct(e), i = Ic.toArray(t);
|
|
248
248
|
return n = cu(n), /* @__PURE__ */ s.jsx(
|
|
249
|
-
|
|
249
|
+
V,
|
|
250
250
|
{
|
|
251
251
|
...l,
|
|
252
252
|
ref: a,
|
|
@@ -519,7 +519,7 @@ const au = (e, t) => {
|
|
|
519
519
|
}) => {
|
|
520
520
|
const l = eo(e, r, o);
|
|
521
521
|
return /* @__PURE__ */ s.jsx(
|
|
522
|
-
|
|
522
|
+
V,
|
|
523
523
|
{
|
|
524
524
|
className: d(t, d.B("breadcrumb")),
|
|
525
525
|
direction: "x",
|
|
@@ -603,7 +603,7 @@ const au = (e, t) => {
|
|
|
603
603
|
return u.connectivity.onChange(x), c({ props: t, state: h }), () => {
|
|
604
604
|
u.close(), o(Dt), c({ props: null, state: null });
|
|
605
605
|
};
|
|
606
|
-
}, [t, x]), /* @__PURE__ */ s.jsx(hn.Provider, { value: r, children: /* @__PURE__ */ s.jsx(
|
|
606
|
+
}, [t, x]), /* @__PURE__ */ s.jsx(hn.Provider, { value: r, children: /* @__PURE__ */ s.jsx(Ve, { path: a, children: n }) });
|
|
607
607
|
}
|
|
608
608
|
), Bg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
609
609
|
__proto__: null,
|
|
@@ -702,7 +702,7 @@ const au = (e, t) => {
|
|
|
702
702
|
x,
|
|
703
703
|
" with this label"
|
|
704
704
|
] });
|
|
705
|
-
return /* @__PURE__ */ s.jsxs(
|
|
705
|
+
return /* @__PURE__ */ s.jsxs(Ie, { value: t, ...o, children: [
|
|
706
706
|
h && /* @__PURE__ */ s.jsx(
|
|
707
707
|
ke,
|
|
708
708
|
{
|
|
@@ -733,16 +733,16 @@ const au = (e, t) => {
|
|
|
733
733
|
__proto__: null,
|
|
734
734
|
Canvas: zi,
|
|
735
735
|
axisStateZ: Ai,
|
|
736
|
-
newTickFactory:
|
|
737
|
-
tickFactoryProps:
|
|
736
|
+
newTickFactory: Vi,
|
|
737
|
+
tickFactoryProps: Ii,
|
|
738
738
|
tickType: Di
|
|
739
739
|
}, Symbol.toStringTag, { value: "Module" })), $g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
740
740
|
__proto__: null,
|
|
741
741
|
AcquireChannelControl: Zi,
|
|
742
742
|
AuthoritySource: Fi,
|
|
743
743
|
Chip: Br,
|
|
744
|
-
Controller:
|
|
745
|
-
Indicator:
|
|
744
|
+
Controller: Vs,
|
|
745
|
+
Indicator: Is,
|
|
746
746
|
Legend: Ds,
|
|
747
747
|
REGISTRY: Hi,
|
|
748
748
|
STATUSES: Yi,
|
|
@@ -895,7 +895,7 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
895
895
|
className: d(d.B("canvas"), d.BM("canvas", "upper2d"))
|
|
896
896
|
}
|
|
897
897
|
),
|
|
898
|
-
/* @__PURE__ */ s.jsx(
|
|
898
|
+
/* @__PURE__ */ s.jsx(Ve, { path: l, children: a && e })
|
|
899
899
|
] });
|
|
900
900
|
}
|
|
901
901
|
), gn = (e, t) => cs(
|
|
@@ -959,7 +959,7 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
959
959
|
), E = p(
|
|
960
960
|
(C) => {
|
|
961
961
|
const { mode: v, box: _, stage: z } = C;
|
|
962
|
-
(v === "pan" && z !== "start" || v === "zoom" || v === "zoomReset" && z === "start") && j((K) => ({ ...K, viewport: _ })), y.current.forEach((K,
|
|
962
|
+
(v === "pan" && z !== "start" || v === "zoom" || v === "zoomReset" && z === "start") && j((K) => ({ ...K, viewport: _ })), y.current.forEach((K, I) => I(C));
|
|
963
963
|
},
|
|
964
964
|
[j]
|
|
965
965
|
), M = p(
|
|
@@ -1019,13 +1019,13 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
1019
1019
|
style: { ...t, ...L },
|
|
1020
1020
|
ref: T,
|
|
1021
1021
|
...i,
|
|
1022
|
-
children: /* @__PURE__ */ s.jsx(ao.Provider, { value: R, children: /* @__PURE__ */ s.jsx(
|
|
1022
|
+
children: /* @__PURE__ */ s.jsx(ao.Provider, { value: R, children: /* @__PURE__ */ s.jsx(Ve, { path: g, children: o }) })
|
|
1023
1023
|
}
|
|
1024
1024
|
);
|
|
1025
1025
|
}
|
|
1026
1026
|
), Ru = (e) => {
|
|
1027
1027
|
const t = d.newGridBuilder();
|
|
1028
|
-
return
|
|
1028
|
+
return Vt("top", e).forEach(({ key: n, size: r }) => t.row(`axis-start-${n}`, `axis-end-${n}`, r)), t.row("plot-start", "plot-end", "minmax(0, 1fr)"), Vt("bottom", e).reverse().forEach(({ key: n, size: r }) => t.row(`axis-start-${n}`, `axis-end-${n}`, r)), Vt("left", e).forEach(({ key: n, size: r }) => t.col(`axis-start-${n}`, `axis-end-${n}`, r)), t.col("plot-start", "plot-end", "minmax(0, 1fr)"), Vt("right", e).forEach(({ key: n, size: r }) => t.col(`axis-start-${n}`, `axis-end-${n}`, r)), t.build();
|
|
1029
1029
|
}, fn = (e) => {
|
|
1030
1030
|
const t = e === "x" ? "bottom" : "left", n = e === "x" ? nd.TYPE : rd.TYPE, r = `${e}-axis`;
|
|
1031
1031
|
return Z(
|
|
@@ -1082,7 +1082,7 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
1082
1082
|
order: 1
|
|
1083
1083
|
},
|
|
1084
1084
|
`${e.toUpperCase()}Axis`
|
|
1085
|
-
), K = Qs(i).toString(),
|
|
1085
|
+
), K = Qs(i).toString(), I = X(0);
|
|
1086
1086
|
return D(() => {
|
|
1087
1087
|
if (e === "y") {
|
|
1088
1088
|
if (c == null) return;
|
|
@@ -1091,12 +1091,12 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
1091
1091
|
} else {
|
|
1092
1092
|
let O = Fn(c, K).height * 1.3;
|
|
1093
1093
|
O > 0 && (O += 12);
|
|
1094
|
-
const ue =
|
|
1095
|
-
ad(ue, O) || (
|
|
1094
|
+
const ue = I.current;
|
|
1095
|
+
ad(ue, O) || (I.current = O, _((pe) => ({ ...pe, labelSize: O })));
|
|
1096
1096
|
}
|
|
1097
1097
|
}, [c, x, K]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
1098
1098
|
/* @__PURE__ */ s.jsx(
|
|
1099
|
-
|
|
1099
|
+
V,
|
|
1100
1100
|
{
|
|
1101
1101
|
className: d(
|
|
1102
1102
|
k,
|
|
@@ -1120,7 +1120,7 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
1120
1120
|
)
|
|
1121
1121
|
}
|
|
1122
1122
|
),
|
|
1123
|
-
/* @__PURE__ */ s.jsx(
|
|
1123
|
+
/* @__PURE__ */ s.jsx(Ve, { path: N, children: l })
|
|
1124
1124
|
] });
|
|
1125
1125
|
}
|
|
1126
1126
|
);
|
|
@@ -1201,7 +1201,7 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
1201
1201
|
}, [])
|
|
1202
1202
|
});
|
|
1203
1203
|
return /* @__PURE__ */ s.jsx(
|
|
1204
|
-
|
|
1204
|
+
V,
|
|
1205
1205
|
{
|
|
1206
1206
|
className: d(e, d.B("legend")),
|
|
1207
1207
|
bordered: !0,
|
|
@@ -1220,7 +1220,7 @@ const Nu = { region: b.ZERO, dpr: 1, os: Kt.getOS() }, _u = {
|
|
|
1220
1220
|
);
|
|
1221
1221
|
pn.displayName = "Legend.Container";
|
|
1222
1222
|
const jn = (e, t, n) => e.sort((r, o) => r.label.localeCompare(o.label)).map(({ key: r, color: o, label: l }) => /* @__PURE__ */ s.jsxs(
|
|
1223
|
-
|
|
1223
|
+
V,
|
|
1224
1224
|
{
|
|
1225
1225
|
style: { cursor: "pointer" },
|
|
1226
1226
|
direction: "x",
|
|
@@ -1294,7 +1294,7 @@ const jn = (e, t, n) => e.sort((r, o) => r.label.localeCompare(o.label)).map(({
|
|
|
1294
1294
|
"Legend"
|
|
1295
1295
|
);
|
|
1296
1296
|
return /* @__PURE__ */ s.jsx(
|
|
1297
|
-
|
|
1297
|
+
V,
|
|
1298
1298
|
{
|
|
1299
1299
|
className: d.BE("legend", "container"),
|
|
1300
1300
|
align: "center",
|
|
@@ -1349,7 +1349,7 @@ const jn = (e, t, n) => e.sort((r, o) => r.label.localeCompare(o.label)).map(({
|
|
|
1349
1349
|
},
|
|
1350
1350
|
"Title"
|
|
1351
1351
|
);
|
|
1352
|
-
return /* @__PURE__ */ s.jsx(
|
|
1352
|
+
return /* @__PURE__ */ s.jsx(V, { justify: "center", align: "center", style: o, children: /* @__PURE__ */ s.jsx(en, { ...t, level: e }) });
|
|
1353
1353
|
}, yo = Z(
|
|
1354
1354
|
"Tooltip",
|
|
1355
1355
|
({ aetherKey: e }) => {
|
|
@@ -1381,10 +1381,10 @@ const jn = (e, t, n) => e.sort((r, o) => r.label.localeCompare(o.label)).map(({
|
|
|
1381
1381
|
};
|
|
1382
1382
|
}, [r]), /* @__PURE__ */ s.jsx("span", { ref: n });
|
|
1383
1383
|
}
|
|
1384
|
-
),
|
|
1384
|
+
), Vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1385
1385
|
__proto__: null,
|
|
1386
1386
|
Tooltip: yo
|
|
1387
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1387
|
+
}, Symbol.toStringTag, { value: "Module" })), Iu = {
|
|
1388
1388
|
select: "pointer",
|
|
1389
1389
|
zoom: "crosshair",
|
|
1390
1390
|
pan: "grab",
|
|
@@ -1397,7 +1397,7 @@ const jn = (e, t, n) => e.sort((r, o) => r.label.localeCompare(o.label)).map(({
|
|
|
1397
1397
|
ref: a,
|
|
1398
1398
|
className: d(d.noSelect, d.BE("viewport-mask", "container"), e),
|
|
1399
1399
|
style: {
|
|
1400
|
-
cursor:
|
|
1400
|
+
cursor: Iu[t],
|
|
1401
1401
|
...o
|
|
1402
1402
|
},
|
|
1403
1403
|
...l,
|
|
@@ -1472,7 +1472,7 @@ const Du = [
|
|
|
1472
1472
|
},
|
|
1473
1473
|
{
|
|
1474
1474
|
key: "y",
|
|
1475
|
-
icon: /* @__PURE__ */ s.jsx(W.Arrow.
|
|
1475
|
+
icon: /* @__PURE__ */ s.jsx(W.Arrow.Up, {})
|
|
1476
1476
|
}
|
|
1477
1477
|
], Wu = ({
|
|
1478
1478
|
key: e,
|
|
@@ -1537,7 +1537,7 @@ const Du = [
|
|
|
1537
1537
|
), K = je(
|
|
1538
1538
|
() => _ ? br : Xr,
|
|
1539
1539
|
[_]
|
|
1540
|
-
),
|
|
1540
|
+
), I = /* @__PURE__ */ s.jsx(K, { searcher: i, filter: P, children: ({ onChange: O }) => /* @__PURE__ */ s.jsx(
|
|
1541
1541
|
Xu,
|
|
1542
1542
|
{
|
|
1543
1543
|
autoFocus: y === "modal",
|
|
@@ -1581,8 +1581,8 @@ const Du = [
|
|
|
1581
1581
|
columns: r,
|
|
1582
1582
|
listItem: j,
|
|
1583
1583
|
variant: y,
|
|
1584
|
-
trigger: y !== "modal" ?
|
|
1585
|
-
extraDialogContent: y === "modal" ?
|
|
1584
|
+
trigger: y !== "modal" ? I : q,
|
|
1585
|
+
extraDialogContent: y === "modal" ? I : void 0,
|
|
1586
1586
|
keepMounted: !1,
|
|
1587
1587
|
...w
|
|
1588
1588
|
}
|
|
@@ -1616,7 +1616,7 @@ const Du = [
|
|
|
1616
1616
|
g(""), u == null || u();
|
|
1617
1617
|
};
|
|
1618
1618
|
return /* @__PURE__ */ s.jsx(
|
|
1619
|
-
|
|
1619
|
+
Ie,
|
|
1620
1620
|
{
|
|
1621
1621
|
className: d(d.BE("select", "input"), c),
|
|
1622
1622
|
value: h,
|
|
@@ -1678,7 +1678,7 @@ const Du = [
|
|
|
1678
1678
|
}
|
|
1679
1679
|
)
|
|
1680
1680
|
);
|
|
1681
|
-
},
|
|
1681
|
+
}, Vg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1682
1682
|
__proto__: null,
|
|
1683
1683
|
Tag: wt
|
|
1684
1684
|
}, Symbol.toStringTag, { value: "Module" })), xt = ({
|
|
@@ -1729,9 +1729,9 @@ const Du = [
|
|
|
1729
1729
|
() => v ? br : Xr,
|
|
1730
1730
|
[v]
|
|
1731
1731
|
);
|
|
1732
|
-
let K,
|
|
1732
|
+
let K, I;
|
|
1733
1733
|
if (M === "connected")
|
|
1734
|
-
|
|
1734
|
+
I = /* @__PURE__ */ s.jsx(z, { searcher: c, children: ({ onChange: q, value: O }) => /* @__PURE__ */ s.jsx(
|
|
1735
1735
|
qu,
|
|
1736
1736
|
{
|
|
1737
1737
|
value: O,
|
|
@@ -1753,7 +1753,7 @@ const Du = [
|
|
|
1753
1753
|
) });
|
|
1754
1754
|
else {
|
|
1755
1755
|
const q = le(t);
|
|
1756
|
-
|
|
1756
|
+
I = /* @__PURE__ */ s.jsxs(V, { direction: "x", align: "center", grow: !0, style: y, size: "small", children: [
|
|
1757
1757
|
q.map((O) => {
|
|
1758
1758
|
const ue = L.find((pe) => pe.key === O);
|
|
1759
1759
|
return i({
|
|
@@ -1784,7 +1784,7 @@ const Du = [
|
|
|
1784
1784
|
children: k
|
|
1785
1785
|
}
|
|
1786
1786
|
)
|
|
1787
|
-
] }), K = /* @__PURE__ */ s.jsx(z, { searcher: c, children: (O) => /* @__PURE__ */ s.jsx(
|
|
1787
|
+
] }), K = /* @__PURE__ */ s.jsx(z, { searcher: c, children: (O) => /* @__PURE__ */ s.jsx(Ie, { autoFocus: !0, placeholder: "Search", ...O, children: T }) });
|
|
1788
1788
|
}
|
|
1789
1789
|
return /* @__PURE__ */ s.jsx(
|
|
1790
1790
|
Wr,
|
|
@@ -1801,7 +1801,7 @@ const Du = [
|
|
|
1801
1801
|
columns: o,
|
|
1802
1802
|
allowMultiple: !0,
|
|
1803
1803
|
listItem: E,
|
|
1804
|
-
trigger:
|
|
1804
|
+
trigger: I,
|
|
1805
1805
|
extraDialogContent: K,
|
|
1806
1806
|
variant: M,
|
|
1807
1807
|
...P
|
|
@@ -1837,7 +1837,7 @@ const Du = [
|
|
|
1837
1837
|
l || r("");
|
|
1838
1838
|
};
|
|
1839
1839
|
return /* @__PURE__ */ s.jsxs(
|
|
1840
|
-
|
|
1840
|
+
Ie,
|
|
1841
1841
|
{
|
|
1842
1842
|
ref: E,
|
|
1843
1843
|
className: d(
|
|
@@ -1857,7 +1857,7 @@ const Du = [
|
|
|
1857
1857
|
...j,
|
|
1858
1858
|
children: [
|
|
1859
1859
|
/* @__PURE__ */ s.jsx(
|
|
1860
|
-
|
|
1860
|
+
V,
|
|
1861
1861
|
{
|
|
1862
1862
|
direction: "x",
|
|
1863
1863
|
className: d.BE("select-multiple", "tags"),
|
|
@@ -1906,7 +1906,7 @@ const Du = [
|
|
|
1906
1906
|
},
|
|
1907
1907
|
Li(l)
|
|
1908
1908
|
);
|
|
1909
|
-
},
|
|
1909
|
+
}, Ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1910
1910
|
__proto__: null,
|
|
1911
1911
|
BaseButton: tu,
|
|
1912
1912
|
Button: gs,
|
|
@@ -1958,7 +1958,7 @@ const Du = [
|
|
|
1958
1958
|
threshold: r = rx,
|
|
1959
1959
|
ref: o
|
|
1960
1960
|
}) => {
|
|
1961
|
-
const l = (t == null ? void 0 : t.defaultMode) ?? "zoom", [a, c] = ee(b.ZERO), [i, x] = ee(l), [u, h] = si(n), g = X($.ZERO), m = X(null), j =
|
|
1961
|
+
const l = (t == null ? void 0 : t.defaultMode) ?? "zoom", [a, c] = ee(b.ZERO), [i, x] = ee(l), [u, h] = si(n), g = X($.ZERO), m = X(null), j = It.construct(r);
|
|
1962
1962
|
D(() => h(() => b.truncate(n, Gt)), [n]), D(() => x(l), [l]);
|
|
1963
1963
|
const [y, k, E, M] = Sr(
|
|
1964
1964
|
() => {
|
|
@@ -1988,20 +1988,20 @@ const Du = [
|
|
|
1988
1988
|
v === "zoom" && c(b.ZERO), e == null || e({ box: u.current, mode: "click", stage: R, cursor: C });
|
|
1989
1989
|
return;
|
|
1990
1990
|
}
|
|
1991
|
-
return h((
|
|
1991
|
+
return h((I) => {
|
|
1992
1992
|
if (v === "pan") {
|
|
1993
|
-
const O = nr(L,
|
|
1994
|
-
return O === null || b.equals(O,
|
|
1993
|
+
const O = nr(L, I, _);
|
|
1994
|
+
return O === null || b.equals(O, I) ? I : (e == null || e({ box: O, mode: v, stage: R, cursor: C }), O);
|
|
1995
1995
|
}
|
|
1996
|
-
const q = P(L,
|
|
1997
|
-
return q === null ?
|
|
1996
|
+
const q = P(L, I, _);
|
|
1997
|
+
return q === null ? I : (e == null || e({ box: q, mode: v, stage: R, cursor: C }), v === "zoom" ? (c(b.ZERO), q) : b.truncate(I, Gt));
|
|
1998
1998
|
});
|
|
1999
1999
|
}
|
|
2000
2000
|
if (wo.includes(v))
|
|
2001
2001
|
return z ? void 0 : c(
|
|
2002
2002
|
Xe.XY.scale(_).clamp(_).translate({ x: -b.left(_), y: -b.top(_) }).box(rr(j, L, _))
|
|
2003
2003
|
);
|
|
2004
|
-
if (c((
|
|
2004
|
+
if (c((I) => b.areaIsZero(I) ? I : b.ZERO), $.distance(C, g.current) < Ju)
|
|
2005
2005
|
return;
|
|
2006
2006
|
g.current = C;
|
|
2007
2007
|
const K = nr(L, u.current, _);
|
|
@@ -2047,16 +2047,16 @@ const Du = [
|
|
|
2047
2047
|
const C = b.construct(m.current), v = $.construct(N);
|
|
2048
2048
|
if (!b.contains(C, v) || N.target !== m.current) return;
|
|
2049
2049
|
const z = Hs(u.current, b.construct(m.current)).pos($.construct(N));
|
|
2050
|
-
let
|
|
2050
|
+
let I = Xe.XY.magnify({
|
|
2051
2051
|
x: f.current.held ? 1 : R,
|
|
2052
2052
|
y: w.current.held ? 1 : R
|
|
2053
2053
|
}).box(u.current);
|
|
2054
|
-
|
|
2054
|
+
I = b.translate(I, {
|
|
2055
2055
|
x: f.current.held ? 0 : z.x * (1 - R),
|
|
2056
2056
|
y: w.current.held ? 0 : z.y * (1 - R)
|
|
2057
|
-
}), h(
|
|
2057
|
+
}), h(I), e == null || e({
|
|
2058
2058
|
stage: "end",
|
|
2059
|
-
box:
|
|
2059
|
+
box: I,
|
|
2060
2060
|
cursor: $.construct(N),
|
|
2061
2061
|
mode: "zoom"
|
|
2062
2062
|
});
|
|
@@ -2101,7 +2101,7 @@ const Du = [
|
|
|
2101
2101
|
b.top(t),
|
|
2102
2102
|
b.width(n),
|
|
2103
2103
|
b.height(t)
|
|
2104
|
-
) : t, ox = ({ mode: e, triggers: t }) => /* @__PURE__ */ s.jsxs(
|
|
2104
|
+
) : t, ox = ({ mode: e, triggers: t }) => /* @__PURE__ */ s.jsxs(V, { direction: "x", align: "center", children: [
|
|
2105
2105
|
/* @__PURE__ */ s.jsx(ne, { level: "small", children: Nt.capitalize(e) }),
|
|
2106
2106
|
/* @__PURE__ */ s.jsx(nu, { trigger: t[0], level: "small" })
|
|
2107
2107
|
] }), lx = {
|
|
@@ -2172,7 +2172,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2172
2172
|
Line: bn,
|
|
2173
2173
|
LinePlot: io,
|
|
2174
2174
|
Title: jo,
|
|
2175
|
-
Tooltip:
|
|
2175
|
+
Tooltip: Vu,
|
|
2176
2176
|
Viewport: Cn,
|
|
2177
2177
|
XAxis: uo,
|
|
2178
2178
|
YAxis: xo,
|
|
@@ -2235,7 +2235,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2235
2235
|
...x,
|
|
2236
2236
|
menu: () => t == null || l == null ? null : t(l),
|
|
2237
2237
|
children: /* @__PURE__ */ s.jsx(
|
|
2238
|
-
|
|
2238
|
+
V,
|
|
2239
2239
|
{
|
|
2240
2240
|
style: { width: "100%", height: "100%" },
|
|
2241
2241
|
onClick: () => {
|
|
@@ -2389,7 +2389,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2389
2389
|
draggable: !0
|
|
2390
2390
|
}
|
|
2391
2391
|
),
|
|
2392
|
-
/* @__PURE__ */ s.jsxs(
|
|
2392
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", align: "center", style: { marginLeft: "2rem" }, children: [
|
|
2393
2393
|
/* @__PURE__ */ s.jsx(Cr, { level: "p", value: x, onChange: u }),
|
|
2394
2394
|
/* @__PURE__ */ s.jsx(
|
|
2395
2395
|
ne,
|
|
@@ -2436,8 +2436,8 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2436
2436
|
const w = t.filter(({ location: C }) => te.isY(C)), B = X(), L = Dn(e.length), N = Dn(f.hold);
|
|
2437
2437
|
return (L === 0 && e.length !== 0 || N === !0 && f.hold === !1) && ((R = B.current) == null || R.reset()), /* @__PURE__ */ s.jsxs(io, { ...f, children: [
|
|
2438
2438
|
w.map((C, v) => {
|
|
2439
|
-
const _ = e.filter((
|
|
2440
|
-
(
|
|
2439
|
+
const _ = e.filter((I) => I.axes.x === C.key), z = t.filter(({ location: I }) => te.isX(I)), K = m == null ? void 0 : m.filter(
|
|
2440
|
+
(I) => [...z.map(({ key: q }) => q), C.key].includes(I.axis)
|
|
2441
2441
|
);
|
|
2442
2442
|
return /* @__PURE__ */ s.jsx(
|
|
2443
2443
|
ux,
|
|
@@ -3032,17 +3032,17 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3032
3032
|
let _ = (z, K) => z === K;
|
|
3033
3033
|
return B && (_ = (z, K) => Be.pathsMatch(z, K)), f.error.issues.forEach((z) => {
|
|
3034
3034
|
var ue;
|
|
3035
|
-
const { message: K } = z,
|
|
3036
|
-
if (!_(
|
|
3035
|
+
const { message: K } = z, I = z.path.join(".");
|
|
3036
|
+
if (!_(I, w)) return;
|
|
3037
3037
|
const q = wx(z);
|
|
3038
|
-
q !== "warning" && (C = !1), L.set(
|
|
3039
|
-
let O = x(
|
|
3038
|
+
q !== "warning" && (C = !1), L.set(I, { key: I, variant: q, message: K }), R.add(I);
|
|
3039
|
+
let O = x(I, { optional: !0 });
|
|
3040
3040
|
O == null && (O = {
|
|
3041
3041
|
value: void 0,
|
|
3042
|
-
status: L.get(
|
|
3042
|
+
status: L.get(I) ?? lr(I),
|
|
3043
3043
|
touched: !1,
|
|
3044
3044
|
required: !1
|
|
3045
|
-
}), (ue = N.get(
|
|
3045
|
+
}), (ue = N.get(I)) == null || ue.forEach((pe) => pe(O));
|
|
3046
3046
|
}), L.forEach((z, K) => {
|
|
3047
3047
|
v.has(K) || (L.delete(K), g(K));
|
|
3048
3048
|
}), C;
|
|
@@ -3119,7 +3119,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3119
3119
|
r
|
|
3120
3120
|
]
|
|
3121
3121
|
);
|
|
3122
|
-
}, Cx = (e) => /* @__PURE__ */ s.jsx(kn.Provider, { value: e, children: e.children }), Px = tn(
|
|
3122
|
+
}, Cx = (e) => /* @__PURE__ */ s.jsx(kn.Provider, { value: e, children: e.children }), Px = tn(Ie), xe = ({
|
|
3123
3123
|
path: e,
|
|
3124
3124
|
children: t = Px,
|
|
3125
3125
|
label: n,
|
|
@@ -3177,7 +3177,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3177
3177
|
}
|
|
3178
3178
|
);
|
|
3179
3179
|
return o.displayName = e.displayName, o;
|
|
3180
|
-
}, zo = st(Le), Ln = zo({}), Ao = st(
|
|
3180
|
+
}, zo = st(Le), Ln = zo({}), Ao = st(Ie), Vo = Ao({}), Io = st(rn), En = Io({}), kx = st(Ge), Lx = st(xt), Ex = st(dn), Mn = ({ key: e, open: t, onChange: n }) => {
|
|
3181
3181
|
const r = kr(e);
|
|
3182
3182
|
Ye(async () => {
|
|
3183
3183
|
if (t == null) return;
|
|
@@ -3250,12 +3250,12 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3250
3250
|
Form: Cx,
|
|
3251
3251
|
NumericField: Ln,
|
|
3252
3252
|
SwitchField: En,
|
|
3253
|
-
TextField:
|
|
3253
|
+
TextField: Vo,
|
|
3254
3254
|
buildDropdownButtonSelectField: Ex,
|
|
3255
3255
|
buildNumericField: zo,
|
|
3256
3256
|
buildSelectMultiField: Lx,
|
|
3257
3257
|
buildSelectSingleField: kx,
|
|
3258
|
-
buildSwitchField:
|
|
3258
|
+
buildSwitchField: Io,
|
|
3259
3259
|
buildTextField: Ao,
|
|
3260
3260
|
fieldArrayUtils: $o,
|
|
3261
3261
|
fieldBuilder: st,
|
|
@@ -3480,7 +3480,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3480
3480
|
) != null,
|
|
3481
3481
|
onClickOutside: o
|
|
3482
3482
|
}), sn({ triggers: [["Escape"]], callback: o, loose: !0 }), /* @__PURE__ */ s.jsx(
|
|
3483
|
-
|
|
3483
|
+
V,
|
|
3484
3484
|
{
|
|
3485
3485
|
className: d(
|
|
3486
3486
|
d.BE("modal", "bg"),
|
|
@@ -3490,7 +3490,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3490
3490
|
empty: !0,
|
|
3491
3491
|
align: "center",
|
|
3492
3492
|
children: /* @__PURE__ */ s.jsx(
|
|
3493
|
-
|
|
3493
|
+
V,
|
|
3494
3494
|
{
|
|
3495
3495
|
className: d(
|
|
3496
3496
|
d.BE("modal", "dialog"),
|
|
@@ -3501,7 +3501,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3501
3501
|
ref: c,
|
|
3502
3502
|
...a,
|
|
3503
3503
|
style: { zIndex: r ? 11 : void 0, ...l },
|
|
3504
|
-
children: /* @__PURE__ */ s.jsx(
|
|
3504
|
+
children: /* @__PURE__ */ s.jsx(V, { className: d(d.BE("modal", "content")), empty: !0, children: e })
|
|
3505
3505
|
}
|
|
3506
3506
|
)
|
|
3507
3507
|
}
|
|
@@ -3510,7 +3510,7 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3510
3510
|
__proto__: null,
|
|
3511
3511
|
Dialog: Zo,
|
|
3512
3512
|
Modal: Ax
|
|
3513
|
-
}, Symbol.toStringTag, { value: "Module" })), Ss = new Error("Tab not found"),
|
|
3513
|
+
}, Symbol.toStringTag, { value: "Module" })), Ss = new Error("Tab not found"), Vx = new Error("Invalid Mosaic"), es = (e, t, n = "center", r) => {
|
|
3514
3514
|
var h;
|
|
3515
3515
|
if (e = Ze(e), r === void 0) return Ys(e, t);
|
|
3516
3516
|
const o = Gs(e, r);
|
|
@@ -3522,9 +3522,9 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3522
3522
|
if (o.tabs == null || o.tabs.length === 0)
|
|
3523
3523
|
return es(e, t, "center", r);
|
|
3524
3524
|
const [i, x, u] = Yx(n);
|
|
3525
|
-
if (o.direction = u, o[i] = { key: 0, tabs: [t], selected: t.tabKey }, o[x] = { key: 0, tabs: o.tabs, selected: o.selected }, o.first == null || o.last == null) throw
|
|
3525
|
+
if (o.direction = u, o[i] = { key: 0, tabs: [t], selected: t.tabKey }, o[x] = { key: 0, tabs: o.tabs, selected: o.selected }, o.first == null || o.last == null) throw Vx;
|
|
3526
3526
|
return o.first.key = l, o.last.key = a, o.tabs = void 0, o.size = void 0, o.selected = void 0, e;
|
|
3527
|
-
},
|
|
3527
|
+
}, Ix = (e, t, n) => {
|
|
3528
3528
|
var l;
|
|
3529
3529
|
e = Ze(e);
|
|
3530
3530
|
const [r, o] = qe(e, t);
|
|
@@ -3885,7 +3885,7 @@ const Wx = {
|
|
|
3885
3885
|
resizeNode: Yo,
|
|
3886
3886
|
selectTab: Fo,
|
|
3887
3887
|
split: Dx,
|
|
3888
|
-
updateTab:
|
|
3888
|
+
updateTab: Ix,
|
|
3889
3889
|
use: Qx,
|
|
3890
3890
|
usePortal: qx
|
|
3891
3891
|
}, Symbol.toStringTag, { value: "Module" })), eh = ({
|
|
@@ -3897,7 +3897,7 @@ const Wx = {
|
|
|
3897
3897
|
}) => {
|
|
3898
3898
|
const l = te.construct(e), a = te.direction(l), c = ae.swap(a);
|
|
3899
3899
|
return /* @__PURE__ */ s.jsx(
|
|
3900
|
-
|
|
3900
|
+
V,
|
|
3901
3901
|
{
|
|
3902
3902
|
className: d(
|
|
3903
3903
|
d.B("navbar"),
|
|
@@ -3919,7 +3919,7 @@ const Wx = {
|
|
|
3919
3919
|
}, $t = (e) => (
|
|
3920
3920
|
// eslint-disable-next-line react/display-name
|
|
3921
3921
|
({ bordered: t = !1, className: n, ...r }) => /* @__PURE__ */ s.jsx(
|
|
3922
|
-
|
|
3922
|
+
V,
|
|
3923
3923
|
{
|
|
3924
3924
|
className: d(
|
|
3925
3925
|
d.BE("navbar", "content"),
|
|
@@ -3950,7 +3950,7 @@ ht.Content = Qo;
|
|
|
3950
3950
|
const Bn = ({ aetherKey: e }) => {
|
|
3951
3951
|
const [, { region: t }, n] = re({
|
|
3952
3952
|
aetherKey: e,
|
|
3953
|
-
type:
|
|
3953
|
+
type: Vr.TYPE,
|
|
3954
3954
|
schema: bd,
|
|
3955
3955
|
initialState: { region: b.ZERO, enabled: !0 }
|
|
3956
3956
|
}), r = St(t), o = p(
|
|
@@ -3964,7 +3964,7 @@ const Bn = ({ aetherKey: e }) => {
|
|
|
3964
3964
|
[n]
|
|
3965
3965
|
), erase: o };
|
|
3966
3966
|
}, th = Z(
|
|
3967
|
-
|
|
3967
|
+
Vr.TYPE,
|
|
3968
3968
|
({ aetherKey: e, children: t }) => {
|
|
3969
3969
|
const { erase: n } = Bn({ aetherKey: e }), r = cs(n);
|
|
3970
3970
|
return /* @__PURE__ */ s.jsx("div", { ref: r, className: d(d.inheritDims()), children: t });
|
|
@@ -4028,7 +4028,7 @@ const Bn = ({ aetherKey: e }) => {
|
|
|
4028
4028
|
children: n,
|
|
4029
4029
|
...r
|
|
4030
4030
|
}) => /* @__PURE__ */ s.jsx(
|
|
4031
|
-
|
|
4031
|
+
V,
|
|
4032
4032
|
{
|
|
4033
4033
|
className: d(t, d.B("note"), d.M(e)),
|
|
4034
4034
|
align: "stretch",
|
|
@@ -4121,7 +4121,7 @@ const Bn = ({ aetherKey: e }) => {
|
|
|
4121
4121
|
onClose: a,
|
|
4122
4122
|
...c
|
|
4123
4123
|
}) => /* @__PURE__ */ s.jsxs(
|
|
4124
|
-
|
|
4124
|
+
V,
|
|
4125
4125
|
{
|
|
4126
4126
|
size: 1.5,
|
|
4127
4127
|
direction: "x",
|
|
@@ -4254,7 +4254,7 @@ const ih = Z(
|
|
|
4254
4254
|
});
|
|
4255
4255
|
return D(() => {
|
|
4256
4256
|
l(r);
|
|
4257
|
-
}, [r, l]), /* @__PURE__ */ s.jsx(
|
|
4257
|
+
}, [r, l]), /* @__PURE__ */ s.jsx(Ve, { path: o, children: t });
|
|
4258
4258
|
}
|
|
4259
4259
|
), dh = "data:video/mp2t;base64,Ly8gQ29weXJpZ2h0IDIwMjQgU3lubmF4IExhYnMsIEluYy4KLy8KLy8gVXNlIG9mIHRoaXMgc29mdHdhcmUgaXMgZ292ZXJuZWQgYnkgdGhlIEJ1c2luZXNzIFNvdXJjZSBMaWNlbnNlIGluY2x1ZGVkIGluIHRoZSBmaWxlCi8vIGxpY2Vuc2VzL0JTTC50eHQuCi8vCi8vIEFzIG9mIHRoZSBDaGFuZ2UgRGF0ZSBzcGVjaWZpZWQgaW4gdGhhdCBmaWxlLCBpbiBhY2NvcmRhbmNlIHdpdGggdGhlIEJ1c2luZXNzIFNvdXJjZQovLyBMaWNlbnNlLCB1c2Ugb2YgdGhpcyBzb2Z0d2FyZSB3aWxsIGJlIGdvdmVybmVkIGJ5IHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAsCi8vIGluY2x1ZGVkIGluIHRoZSBmaWxlIGxpY2Vuc2VzL0FQTC50eHQuCgppbXBvcnQgeyBwbHV0byB9IGZyb20gIkAvcGx1dG8vYWV0aGVyIjsKCnBsdXRvLnJlbmRlcigpOwo=", sl = Z(
|
|
4260
4260
|
Xn.TYPE,
|
|
@@ -4265,7 +4265,7 @@ const ih = Z(
|
|
|
4265
4265
|
schema: Sd,
|
|
4266
4266
|
initialState: {}
|
|
4267
4267
|
});
|
|
4268
|
-
return /* @__PURE__ */ s.jsx(
|
|
4268
|
+
return /* @__PURE__ */ s.jsx(Ve, { path: n, children: e });
|
|
4269
4269
|
}
|
|
4270
4270
|
), rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4271
4271
|
__proto__: null,
|
|
@@ -4347,11 +4347,11 @@ const ih = Z(
|
|
|
4347
4347
|
);
|
|
4348
4348
|
}
|
|
4349
4349
|
), rl = Qe({ needsControlOf: [] }), ol = () => Me(rl), xh = Z(
|
|
4350
|
-
|
|
4350
|
+
Vs.TYPE,
|
|
4351
4351
|
({ aetherKey: e, children: t, onStatusChange: n, ...r }) => {
|
|
4352
4352
|
const o = ve(r), [{ path: l }, { status: a, needsControlOf: c }, i] = re({
|
|
4353
4353
|
aetherKey: e,
|
|
4354
|
-
type:
|
|
4354
|
+
type: Vs.TYPE,
|
|
4355
4355
|
schema: $r,
|
|
4356
4356
|
initialState: o
|
|
4357
4357
|
});
|
|
@@ -4360,17 +4360,17 @@ const ih = Z(
|
|
|
4360
4360
|
}, [a, n]), D(() => {
|
|
4361
4361
|
i((x) => ({ ...x, ...o }));
|
|
4362
4362
|
}, [o, i]), D(() => () => n == null ? void 0 : n("released"), []), /* @__PURE__ */ s.jsxs(rl.Provider, { value: { needsControlOf: c }, children: [
|
|
4363
|
-
/* @__PURE__ */ s.jsx(
|
|
4363
|
+
/* @__PURE__ */ s.jsx(Ve, { path: l, children: t }),
|
|
4364
4364
|
";"
|
|
4365
4365
|
] });
|
|
4366
4366
|
}
|
|
4367
4367
|
), ll = Z(
|
|
4368
|
-
|
|
4368
|
+
Is.TYPE,
|
|
4369
4369
|
({ aetherKey: e, colorSource: t, statusSource: n }) => {
|
|
4370
4370
|
var i;
|
|
4371
4371
|
const r = ve({ colorSource: t, statusSource: n }), [, { color: o, status: l }, a] = re({
|
|
4372
4372
|
aetherKey: e,
|
|
4373
|
-
type:
|
|
4373
|
+
type: Is.TYPE,
|
|
4374
4374
|
initialState: {
|
|
4375
4375
|
...r,
|
|
4376
4376
|
status: {
|
|
@@ -4432,7 +4432,7 @@ const ih = Z(
|
|
|
4432
4432
|
schema: Ar,
|
|
4433
4433
|
initialState: {}
|
|
4434
4434
|
});
|
|
4435
|
-
return /* @__PURE__ */ s.jsx(
|
|
4435
|
+
return /* @__PURE__ */ s.jsx(Ve, { path: n, children: t });
|
|
4436
4436
|
}
|
|
4437
4437
|
), of = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4438
4438
|
__proto__: null,
|
|
@@ -4641,7 +4641,7 @@ const ih = Z(
|
|
|
4641
4641
|
}) => {
|
|
4642
4642
|
const l = new bt(e.start), a = l.isToday ? "time" : "dateTime", c = new bt(e.end), i = c.equals(bt.MAX), x = c.span(l) < Yn.DAY ? "time" : "dateTime", u = l.span(c);
|
|
4643
4643
|
return /* @__PURE__ */ s.jsxs(
|
|
4644
|
-
|
|
4644
|
+
V,
|
|
4645
4645
|
{
|
|
4646
4646
|
direction: "x",
|
|
4647
4647
|
size: "small",
|
|
@@ -4695,7 +4695,7 @@ const ih = Z(
|
|
|
4695
4695
|
...r
|
|
4696
4696
|
}) => {
|
|
4697
4697
|
const o = e.findIndex((l) => l.key === t);
|
|
4698
|
-
return /* @__PURE__ */ s.jsx(
|
|
4698
|
+
return /* @__PURE__ */ s.jsx(V, { direction: "x", align: "center", className: d.B("steps"), ...r, children: e.map((l, a) => /* @__PURE__ */ s.jsxs(xr, { children: [
|
|
4699
4699
|
/* @__PURE__ */ s.jsxs(
|
|
4700
4700
|
ct,
|
|
4701
4701
|
{
|
|
@@ -4798,7 +4798,7 @@ const Lh = ({
|
|
|
4798
4798
|
targetOrientation: l,
|
|
4799
4799
|
sourceBox: Ce(ot(), (a == null ? void 0 : a.id) ?? ""),
|
|
4800
4800
|
targetBox: Ce(ot(), (a == null ? void 0 : a.id) ?? "")
|
|
4801
|
-
}), g = ot(), m =
|
|
4801
|
+
}), g = ot(), m = Ir(
|
|
4802
4802
|
$.construct(e, t),
|
|
4803
4803
|
h,
|
|
4804
4804
|
g.getZoom(),
|
|
@@ -4898,7 +4898,7 @@ const Lh = ({
|
|
|
4898
4898
|
P(_);
|
|
4899
4899
|
}, []),
|
|
4900
4900
|
onEnd: p(() => i(f.current), [i])
|
|
4901
|
-
}), C =
|
|
4901
|
+
}), C = Ir(g, T, M.getZoom(), !0);
|
|
4902
4902
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
4903
4903
|
/* @__PURE__ */ s.jsx(
|
|
4904
4904
|
Dr,
|
|
@@ -4909,7 +4909,7 @@ const Lh = ({
|
|
|
4909
4909
|
}
|
|
4910
4910
|
),
|
|
4911
4911
|
u && Mh(C).map((v, _) => {
|
|
4912
|
-
const z = T[_].direction, K = ae.swap(z),
|
|
4912
|
+
const z = T[_].direction, K = ae.swap(z), I = {
|
|
4913
4913
|
[ae.dimension(z)]: "18px",
|
|
4914
4914
|
[ae.dimension(K)]: "4px"
|
|
4915
4915
|
}, q = {
|
|
@@ -4923,7 +4923,7 @@ const Lh = ({
|
|
|
4923
4923
|
className: d.BE("diagram-edge-handle", "background"),
|
|
4924
4924
|
fill: "var(--pluto-gray-l0)",
|
|
4925
4925
|
stroke: "var(--pluto-primary-z)",
|
|
4926
|
-
...
|
|
4926
|
+
...I,
|
|
4927
4927
|
...q,
|
|
4928
4928
|
rx: "2px",
|
|
4929
4929
|
ry: "2px"
|
|
@@ -5080,7 +5080,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5080
5080
|
})
|
|
5081
5081
|
}),
|
|
5082
5082
|
[N]
|
|
5083
|
-
), _ = X(l), z = je(() => (_.current = l, Fr(l)), [l]), K = X(o),
|
|
5083
|
+
), _ = X(l), z = je(() => (_.current = l, Fr(l)), [l]), K = X(o), I = je(() => (K.current = o, Hr(o)), [o]), q = p(
|
|
5084
5084
|
(H) => n(
|
|
5085
5085
|
Yr(K.current, (oe) => Ed(H, oe))
|
|
5086
5086
|
),
|
|
@@ -5144,11 +5144,11 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5144
5144
|
[P]
|
|
5145
5145
|
)
|
|
5146
5146
|
});
|
|
5147
|
-
const
|
|
5148
|
-
selectionOnDrag:
|
|
5149
|
-
panOnDrag:
|
|
5150
|
-
selectionKeyCode:
|
|
5151
|
-
panActivationKeyCode:
|
|
5147
|
+
const Vn = Ps(T.select)[0] ?? null, In = Ps(T.pan)[0] ?? null, _c = Ps(T.zoom)[0] ?? null, Bc = {
|
|
5148
|
+
selectionOnDrag: Vn == null,
|
|
5149
|
+
panOnDrag: In == null,
|
|
5150
|
+
selectionKeyCode: Vn,
|
|
5151
|
+
panActivationKeyCode: In,
|
|
5152
5152
|
zoomActivationKeyCode: _c
|
|
5153
5153
|
}, Rc = xi(An, w), $c = je(
|
|
5154
5154
|
() => ({
|
|
@@ -5160,12 +5160,12 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5160
5160
|
}),
|
|
5161
5161
|
[c, a, C, h]
|
|
5162
5162
|
);
|
|
5163
|
-
return /* @__PURE__ */ s.jsx(hl.Provider, { value: $c, children: /* @__PURE__ */ s.jsx(
|
|
5163
|
+
return /* @__PURE__ */ s.jsx(hl.Provider, { value: $c, children: /* @__PURE__ */ s.jsx(Ve, { path: k, children: m && /* @__PURE__ */ s.jsx(
|
|
5164
5164
|
_d,
|
|
5165
5165
|
{
|
|
5166
5166
|
...Bc,
|
|
5167
5167
|
className: d(d.B("diagram"), d.editable(c)),
|
|
5168
|
-
nodes:
|
|
5168
|
+
nodes: I,
|
|
5169
5169
|
edges: z,
|
|
5170
5170
|
nodeTypes: v,
|
|
5171
5171
|
edgeTypes: Nc,
|
|
@@ -5209,7 +5209,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5209
5209
|
...t,
|
|
5210
5210
|
children: e
|
|
5211
5211
|
}
|
|
5212
|
-
),
|
|
5212
|
+
), Vh = ({
|
|
5213
5213
|
onClick: e,
|
|
5214
5214
|
...t
|
|
5215
5215
|
}) => {
|
|
@@ -5227,7 +5227,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5227
5227
|
children: n ? /* @__PURE__ */ s.jsx(W.EditOff, {}) : /* @__PURE__ */ s.jsx(W.Edit, {})
|
|
5228
5228
|
}
|
|
5229
5229
|
);
|
|
5230
|
-
},
|
|
5230
|
+
}, Ih = ({
|
|
5231
5231
|
onClick: e,
|
|
5232
5232
|
...t
|
|
5233
5233
|
}) => {
|
|
@@ -5253,11 +5253,11 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5253
5253
|
Background: zh,
|
|
5254
5254
|
Controls: Ah,
|
|
5255
5255
|
Diagram: Dh,
|
|
5256
|
-
FitViewControl:
|
|
5256
|
+
FitViewControl: Ih,
|
|
5257
5257
|
HandleLayout: dl,
|
|
5258
5258
|
NodeLayout: ws,
|
|
5259
5259
|
NodeRenderer: ml,
|
|
5260
|
-
ToggleEditControl:
|
|
5260
|
+
ToggleEditControl: Vh,
|
|
5261
5261
|
alignNodes: Ph,
|
|
5262
5262
|
edgeConverter: Zt,
|
|
5263
5263
|
edgeZ: Od,
|
|
@@ -5267,9 +5267,9 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5267
5267
|
selectNode: $n,
|
|
5268
5268
|
selectNodeBox: Ce,
|
|
5269
5269
|
selectNodeLayout: kh,
|
|
5270
|
-
translateEdgesBackward:
|
|
5270
|
+
translateEdgesBackward: Vd,
|
|
5271
5271
|
translateEdgesForward: Fr,
|
|
5272
|
-
translateNodesBackward:
|
|
5272
|
+
translateNodesBackward: Id,
|
|
5273
5273
|
translateNodesForward: Hr,
|
|
5274
5274
|
translateViewportBackward: Zr,
|
|
5275
5275
|
translateViewportForward: Gr,
|
|
@@ -5284,7 +5284,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5284
5284
|
}) => {
|
|
5285
5285
|
const { outer: o } = e, l = (a) => () => r({ ...e, ...a });
|
|
5286
5286
|
return t ? /* @__PURE__ */ s.jsxs(
|
|
5287
|
-
|
|
5287
|
+
V,
|
|
5288
5288
|
{
|
|
5289
5289
|
className: d.B("orientation-control"),
|
|
5290
5290
|
align: "center",
|
|
@@ -5292,7 +5292,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5292
5292
|
size: 0.5,
|
|
5293
5293
|
children: [
|
|
5294
5294
|
/* @__PURE__ */ s.jsx(Fe, { selected: o === "top", onClick: l({ outer: "top" }) }),
|
|
5295
|
-
/* @__PURE__ */ s.jsxs(
|
|
5295
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", align: "center", justify: "center", size: 0.5, children: [
|
|
5296
5296
|
/* @__PURE__ */ s.jsx(Fe, { selected: o === "left", onClick: l({ outer: "left" }) }),
|
|
5297
5297
|
/* @__PURE__ */ s.jsx(ur, { showInner: n, value: e, onChange: r }),
|
|
5298
5298
|
/* @__PURE__ */ s.jsx(
|
|
@@ -5335,7 +5335,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5335
5335
|
width: "1.5rem",
|
|
5336
5336
|
height: "1.5rem"
|
|
5337
5337
|
}), /* @__PURE__ */ s.jsxs(
|
|
5338
|
-
|
|
5338
|
+
V,
|
|
5339
5339
|
{
|
|
5340
5340
|
className: d(n, d.B("value")),
|
|
5341
5341
|
direction: "y",
|
|
@@ -5354,7 +5354,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5354
5354
|
onClick: a({ inner: "top" })
|
|
5355
5355
|
}
|
|
5356
5356
|
),
|
|
5357
|
-
/* @__PURE__ */ s.jsxs(
|
|
5357
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", align: "center", justify: "center", children: [
|
|
5358
5358
|
/* @__PURE__ */ s.jsx(
|
|
5359
5359
|
Fe,
|
|
5360
5360
|
{
|
|
@@ -5404,7 +5404,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5404
5404
|
direction: t,
|
|
5405
5405
|
...n
|
|
5406
5406
|
}) => /* @__PURE__ */ s.jsx(
|
|
5407
|
-
|
|
5407
|
+
V,
|
|
5408
5408
|
{
|
|
5409
5409
|
direction: t,
|
|
5410
5410
|
align: "stretch",
|
|
@@ -5437,8 +5437,8 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5437
5437
|
})
|
|
5438
5438
|
}
|
|
5439
5439
|
);
|
|
5440
|
-
} }), zt = ({ path: e, omit: t = [] }) => /* @__PURE__ */ s.jsxs(
|
|
5441
|
-
/* @__PURE__ */ s.jsx(xe, { path: e + ".label", label: "Label", padHelpText: !1, grow: !0, children: (n) => /* @__PURE__ */ s.jsx(
|
|
5440
|
+
} }), zt = ({ path: e, omit: t = [] }) => /* @__PURE__ */ s.jsxs(V, { direction: "x", align: "stretch", grow: !0, children: [
|
|
5441
|
+
/* @__PURE__ */ s.jsx(xe, { path: e + ".label", label: "Label", padHelpText: !1, grow: !0, children: (n) => /* @__PURE__ */ s.jsx(Ie, { selectOnFocus: !0, ...n }) }),
|
|
5442
5442
|
/* @__PURE__ */ s.jsx(
|
|
5443
5443
|
Ln,
|
|
5444
5444
|
{
|
|
@@ -5481,9 +5481,9 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5481
5481
|
bordered: !0
|
|
5482
5482
|
}
|
|
5483
5483
|
) }), Fh = (e) => /* @__PURE__ */ s.jsx(xe, { hideIfNull: !0, label: "Scale", align: "start", padHelpText: !1, ...e, children: (t) => /* @__PURE__ */ s.jsx(Le, { dragScale: 1, bounds: { lower: 0.5, upper: 15 }, ...t }) }), Se = ({ omit: e }) => /* @__PURE__ */ s.jsxs(Ne, { direction: "x", align: "stretch", children: [
|
|
5484
|
-
/* @__PURE__ */ s.jsxs(
|
|
5484
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "y", grow: !0, empty: !0, children: [
|
|
5485
5485
|
/* @__PURE__ */ s.jsx(zt, { omit: e, path: "label" }),
|
|
5486
|
-
/* @__PURE__ */ s.jsxs(
|
|
5486
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", grow: !0, children: [
|
|
5487
5487
|
/* @__PURE__ */ s.jsx(Je, { path: "color", optional: !0 }),
|
|
5488
5488
|
/* @__PURE__ */ s.jsx(
|
|
5489
5489
|
xe,
|
|
@@ -5599,9 +5599,9 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5599
5599
|
}, pt = { y: 2, x: 0.25 }, jt = { lower: 0, upper: 2e3 }, gl = ({
|
|
5600
5600
|
includeBorderRadius: e = !1
|
|
5601
5601
|
}) => /* @__PURE__ */ s.jsxs(Ne, { direction: "x", align: "stretch", children: [
|
|
5602
|
-
/* @__PURE__ */ s.jsxs(
|
|
5602
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "y", grow: !0, empty: !0, children: [
|
|
5603
5603
|
/* @__PURE__ */ s.jsx(zt, { path: "label" }),
|
|
5604
|
-
/* @__PURE__ */ s.jsxs(
|
|
5604
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", children: [
|
|
5605
5605
|
/* @__PURE__ */ s.jsx(Je, { path: "color" }),
|
|
5606
5606
|
/* @__PURE__ */ s.jsx(Je, { path: "backgroundColor", label: "Background Color" }),
|
|
5607
5607
|
/* @__PURE__ */ s.jsx(
|
|
@@ -5803,9 +5803,9 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5803
5803
|
return /* @__PURE__ */ s.jsx(Yh, { path: "" });
|
|
5804
5804
|
default:
|
|
5805
5805
|
return /* @__PURE__ */ s.jsxs(Ne, { direction: "x", children: [
|
|
5806
|
-
/* @__PURE__ */ s.jsxs(
|
|
5806
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "y", grow: !0, empty: !0, children: [
|
|
5807
5807
|
/* @__PURE__ */ s.jsx(zt, { path: "label" }),
|
|
5808
|
-
/* @__PURE__ */ s.jsxs(
|
|
5808
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", children: [
|
|
5809
5809
|
/* @__PURE__ */ s.jsx(Je, { path: "color" }),
|
|
5810
5810
|
/* @__PURE__ */ s.jsx(
|
|
5811
5811
|
xe,
|
|
@@ -5814,7 +5814,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5814
5814
|
label: "Units",
|
|
5815
5815
|
align: "start",
|
|
5816
5816
|
padHelpText: !1,
|
|
5817
|
-
children: (r) => /* @__PURE__ */ s.jsx(
|
|
5817
|
+
children: (r) => /* @__PURE__ */ s.jsx(Ie, { ...r })
|
|
5818
5818
|
}
|
|
5819
5819
|
),
|
|
5820
5820
|
/* @__PURE__ */ s.jsx(
|
|
@@ -5997,10 +5997,10 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
5997
5997
|
return /* @__PURE__ */ s.jsx(qh, { path: "" });
|
|
5998
5998
|
default:
|
|
5999
5999
|
return /* @__PURE__ */ s.jsxs(Ne, { direction: "x", align: "stretch", children: [
|
|
6000
|
-
/* @__PURE__ */ s.jsxs(
|
|
6000
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", align: "stretch", grow: !0, children: [
|
|
6001
6001
|
/* @__PURE__ */ s.jsx(zt, { path: "label" }),
|
|
6002
6002
|
/* @__PURE__ */ s.jsx(
|
|
6003
|
-
|
|
6003
|
+
Vo,
|
|
6004
6004
|
{
|
|
6005
6005
|
path: "units",
|
|
6006
6006
|
label: "Units",
|
|
@@ -6021,9 +6021,9 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
6021
6021
|
optional: !0
|
|
6022
6022
|
});
|
|
6023
6023
|
return /* @__PURE__ */ s.jsxs(Ne, { direction: "x", align: "stretch", grow: !0, children: [
|
|
6024
|
-
/* @__PURE__ */ s.jsxs(
|
|
6025
|
-
/* @__PURE__ */ s.jsxs(
|
|
6026
|
-
/* @__PURE__ */ s.jsx(xe, { path: "text", label: "Text", padHelpText: !1, grow: !0, children: (t) => /* @__PURE__ */ s.jsx(
|
|
6024
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "y", grow: !0, children: [
|
|
6025
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", align: "stretch", children: [
|
|
6026
|
+
/* @__PURE__ */ s.jsx(xe, { path: "text", label: "Text", padHelpText: !1, grow: !0, children: (t) => /* @__PURE__ */ s.jsx(Ie, { selectOnFocus: !0, ...t }) }),
|
|
6027
6027
|
/* @__PURE__ */ s.jsx(xe, { path: "level", label: "Text Size", padHelpText: !1, children: (t) => /* @__PURE__ */ s.jsx(Kr, { ...t }) }),
|
|
6028
6028
|
/* @__PURE__ */ s.jsx(
|
|
6029
6029
|
xe,
|
|
@@ -6036,7 +6036,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
6036
6036
|
}
|
|
6037
6037
|
)
|
|
6038
6038
|
] }),
|
|
6039
|
-
/* @__PURE__ */ s.jsxs(
|
|
6039
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "x", children: [
|
|
6040
6040
|
/* @__PURE__ */ s.jsx(Je, { path: "color" }),
|
|
6041
6041
|
/* @__PURE__ */ s.jsx(
|
|
6042
6042
|
xe,
|
|
@@ -6071,7 +6071,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
6071
6071
|
/* @__PURE__ */ s.jsx(mt, { path: "" })
|
|
6072
6072
|
] });
|
|
6073
6073
|
}, em = () => /* @__PURE__ */ s.jsxs(Ne, { direction: "x", align: "stretch", children: [
|
|
6074
|
-
/* @__PURE__ */ s.jsxs(
|
|
6074
|
+
/* @__PURE__ */ s.jsxs(V, { direction: "y", grow: !0, empty: !0, children: [
|
|
6075
6075
|
/* @__PURE__ */ s.jsx(zt, { path: "label", omit: ["maxInlineSize", "align"] }),
|
|
6076
6076
|
/* @__PURE__ */ s.jsx(Je, { path: "color" })
|
|
6077
6077
|
] }),
|
|
@@ -6190,7 +6190,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
6190
6190
|
scale: a = 1,
|
|
6191
6191
|
...c
|
|
6192
6192
|
}) => {
|
|
6193
|
-
e = ae.construct(t) === "y" ?
|
|
6193
|
+
e = ae.construct(t) === "y" ? It.swap(e) : e;
|
|
6194
6194
|
const x = be(o), u = Tt();
|
|
6195
6195
|
return o != null && (l[d.var("symbol-color")] = new Wt(o).rgbString, l[d.var("symbol-color-contrast")] = new Wt(o).pickByContrast(
|
|
6196
6196
|
u.colors.gray.l0,
|
|
@@ -6199,14 +6199,14 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
6199
6199
|
"svg",
|
|
6200
6200
|
{
|
|
6201
6201
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6202
|
-
viewBox:
|
|
6202
|
+
viewBox: It.svgViewBox(e),
|
|
6203
6203
|
className: d(d.loc(t), r),
|
|
6204
6204
|
fill: x,
|
|
6205
6205
|
stroke: x,
|
|
6206
6206
|
...c,
|
|
6207
6207
|
style: {
|
|
6208
6208
|
aspectRatio: `${e.width} / ${e.height}`,
|
|
6209
|
-
width:
|
|
6209
|
+
width: It.scale(e, a * om).width,
|
|
6210
6210
|
...l
|
|
6211
6211
|
},
|
|
6212
6212
|
children: /* @__PURE__ */ s.jsx("g", { children: n })
|
|
@@ -7164,7 +7164,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
7164
7164
|
]
|
|
7165
7165
|
}
|
|
7166
7166
|
);
|
|
7167
|
-
},
|
|
7167
|
+
}, Vl = ({
|
|
7168
7168
|
color: e,
|
|
7169
7169
|
className: t,
|
|
7170
7170
|
orientation: n = "left",
|
|
@@ -7242,7 +7242,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
7242
7242
|
)
|
|
7243
7243
|
]
|
|
7244
7244
|
}
|
|
7245
|
-
),
|
|
7245
|
+
), Il = ({
|
|
7246
7246
|
color: e,
|
|
7247
7247
|
className: t,
|
|
7248
7248
|
orientation: n = "left",
|
|
@@ -7972,7 +7972,7 @@ const $h = ["Backspace", "Delete"], Oh = Z(
|
|
|
7972
7972
|
maxInlineSize: c = 150,
|
|
7973
7973
|
...i
|
|
7974
7974
|
}, x) => /* @__PURE__ */ s.jsxs(
|
|
7975
|
-
|
|
7975
|
+
V,
|
|
7976
7976
|
{
|
|
7977
7977
|
style: {
|
|
7978
7978
|
// You may be wondering, why do we do this here? Well it's because react flow
|
|
@@ -8095,7 +8095,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8095
8095
|
show: a = !0,
|
|
8096
8096
|
...c
|
|
8097
8097
|
}) => /* @__PURE__ */ s.jsxs(
|
|
8098
|
-
|
|
8098
|
+
V,
|
|
8099
8099
|
{
|
|
8100
8100
|
direction: te.rotate90(r),
|
|
8101
8101
|
align: "center",
|
|
@@ -8104,7 +8104,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8104
8104
|
...c,
|
|
8105
8105
|
children: [
|
|
8106
8106
|
/* @__PURE__ */ s.jsxs(
|
|
8107
|
-
|
|
8107
|
+
V,
|
|
8108
8108
|
{
|
|
8109
8109
|
direction: ae.construct(r),
|
|
8110
8110
|
align: "center",
|
|
@@ -8384,12 +8384,12 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8384
8384
|
onChange: t,
|
|
8385
8385
|
aetherKey: n,
|
|
8386
8386
|
...r
|
|
8387
|
-
}) => /* @__PURE__ */ s.jsx(G, { ...e, onChange: t, children: /* @__PURE__ */ s.jsx(Sl, { ...r }) }), Aa = (e) => /* @__PURE__ */ s.jsx(Sl, { ...e }),
|
|
8387
|
+
}) => /* @__PURE__ */ s.jsx(G, { ...e, onChange: t, children: /* @__PURE__ */ s.jsx(Sl, { ...r }) }), Aa = (e) => /* @__PURE__ */ s.jsx(Sl, { ...e }), Va = ({
|
|
8388
8388
|
label: e,
|
|
8389
8389
|
onChange: t,
|
|
8390
8390
|
aetherKey: n,
|
|
8391
8391
|
...r
|
|
8392
|
-
}) => /* @__PURE__ */ s.jsx(G, { ...e, onChange: t, children: /* @__PURE__ */ s.jsx(Nl, { ...r }) }),
|
|
8392
|
+
}) => /* @__PURE__ */ s.jsx(G, { ...e, onChange: t, children: /* @__PURE__ */ s.jsx(Nl, { ...r }) }), Ia = (e) => /* @__PURE__ */ s.jsx(Nl, { ...e }), Da = ({
|
|
8393
8393
|
label: e,
|
|
8394
8394
|
onChange: t,
|
|
8395
8395
|
aetherKey: n,
|
|
@@ -8446,7 +8446,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8446
8446
|
location: { y: "top" },
|
|
8447
8447
|
hide: u == null || u.length === 0,
|
|
8448
8448
|
children: [
|
|
8449
|
-
/* @__PURE__ */ s.jsx(
|
|
8449
|
+
/* @__PURE__ */ s.jsx(V, { direction: "y", children: u == null ? void 0 : u.map((P, f) => /* @__PURE__ */ s.jsx(ne, { level: "small", children: P }, f)) }),
|
|
8450
8450
|
/* @__PURE__ */ s.jsx(
|
|
8451
8451
|
G,
|
|
8452
8452
|
{
|
|
@@ -8542,7 +8542,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8542
8542
|
}) => {
|
|
8543
8543
|
const { enabled: i, triggered: x, toggle: u } = me({ aetherKey: e, source: l, sink: a });
|
|
8544
8544
|
return /* @__PURE__ */ s.jsx(G, { ...t, onChange: r, children: /* @__PURE__ */ s.jsx(ce, { ...n, orientation: o, children: /* @__PURE__ */ s.jsx(
|
|
8545
|
-
|
|
8545
|
+
Vl,
|
|
8546
8546
|
{
|
|
8547
8547
|
enabled: i,
|
|
8548
8548
|
triggered: x,
|
|
@@ -8552,7 +8552,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8552
8552
|
}
|
|
8553
8553
|
) }) });
|
|
8554
8554
|
}
|
|
8555
|
-
), Xa = (e) => /* @__PURE__ */ s.jsx(
|
|
8555
|
+
), Xa = (e) => /* @__PURE__ */ s.jsx(Vl, { ...e }), qa = Z(
|
|
8556
8556
|
"vacuumPump",
|
|
8557
8557
|
({
|
|
8558
8558
|
aetherKey: e,
|
|
@@ -8566,7 +8566,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8566
8566
|
}) => {
|
|
8567
8567
|
const { enabled: i, triggered: x, toggle: u } = me({ aetherKey: e, source: l, sink: a });
|
|
8568
8568
|
return /* @__PURE__ */ s.jsx(G, { ...t, onChange: r, children: /* @__PURE__ */ s.jsx(ce, { ...n, orientation: o, children: /* @__PURE__ */ s.jsx(
|
|
8569
|
-
|
|
8569
|
+
Il,
|
|
8570
8570
|
{
|
|
8571
8571
|
enabled: i,
|
|
8572
8572
|
triggered: x,
|
|
@@ -8576,7 +8576,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
8576
8576
|
}
|
|
8577
8577
|
) }) });
|
|
8578
8578
|
}
|
|
8579
|
-
), Ja = (e) => /* @__PURE__ */ s.jsx(
|
|
8579
|
+
), Ja = (e) => /* @__PURE__ */ s.jsx(Il, { ...e }), Qa = Z(
|
|
8580
8580
|
"progressiveCavityPump",
|
|
8581
8581
|
({
|
|
8582
8582
|
aetherKey: e,
|
|
@@ -9145,7 +9145,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
9145
9145
|
}),
|
|
9146
9146
|
Preview: Ra,
|
|
9147
9147
|
zIndex: U
|
|
9148
|
-
},
|
|
9148
|
+
}, Vm = {
|
|
9149
9149
|
name: "Needle Valve",
|
|
9150
9150
|
key: "needleValve",
|
|
9151
9151
|
Form: Se,
|
|
@@ -9157,7 +9157,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
9157
9157
|
}),
|
|
9158
9158
|
Preview: Oa,
|
|
9159
9159
|
zIndex: U
|
|
9160
|
-
},
|
|
9160
|
+
}, Im = {
|
|
9161
9161
|
name: "Check Valve",
|
|
9162
9162
|
key: "checkValve",
|
|
9163
9163
|
Form: Se,
|
|
@@ -9173,13 +9173,13 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
9173
9173
|
name: "Orifice",
|
|
9174
9174
|
key: "orifice",
|
|
9175
9175
|
Form: Se,
|
|
9176
|
-
Symbol:
|
|
9176
|
+
Symbol: Va,
|
|
9177
9177
|
defaultProps: (e) => ({
|
|
9178
9178
|
color: e.colors.gray.l9.rgba255,
|
|
9179
9179
|
...F("Orifice"),
|
|
9180
9180
|
...ie
|
|
9181
9181
|
}),
|
|
9182
|
-
Preview:
|
|
9182
|
+
Preview: Ia,
|
|
9183
9183
|
zIndex: U
|
|
9184
9184
|
}, Zm = {
|
|
9185
9185
|
name: "Angled Relief Valve",
|
|
@@ -9450,10 +9450,10 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
9450
9450
|
fourWayValve: km,
|
|
9451
9451
|
angledValve: Lm,
|
|
9452
9452
|
manualValve: zm,
|
|
9453
|
-
needleValve:
|
|
9453
|
+
needleValve: Vm,
|
|
9454
9454
|
reliefValve: _m,
|
|
9455
9455
|
angledReliefValve: Zm,
|
|
9456
|
-
checkValve:
|
|
9456
|
+
checkValve: Im,
|
|
9457
9457
|
regulator: Bm,
|
|
9458
9458
|
electricRegulator: Rm,
|
|
9459
9459
|
pump: Em,
|
|
@@ -9516,8 +9516,8 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
9516
9516
|
NeedleValvePreview: Oa,
|
|
9517
9517
|
OffPageReference: Pc,
|
|
9518
9518
|
OffPageReferencePreview: kc,
|
|
9519
|
-
Orifice:
|
|
9520
|
-
OrificePreview:
|
|
9519
|
+
Orifice: Va,
|
|
9520
|
+
OrificePreview: Ia,
|
|
9521
9521
|
PaddleAgitator: gc,
|
|
9522
9522
|
PaddleAgitatorPreview: fc,
|
|
9523
9523
|
PistonPump: tc,
|
|
@@ -9560,7 +9560,7 @@ const um = ({ aetherKey: e, source: t, sink: n }) => {
|
|
|
9560
9560
|
export {
|
|
9561
9561
|
Ng as Accordion,
|
|
9562
9562
|
ff as Aether,
|
|
9563
|
-
|
|
9563
|
+
Vf as Align,
|
|
9564
9564
|
_g as Breadcrumb,
|
|
9565
9565
|
Hf as Button,
|
|
9566
9566
|
d as CSS,
|
|
@@ -9606,13 +9606,13 @@ export {
|
|
|
9606
9606
|
Tg as Resize,
|
|
9607
9607
|
Yg as Rule,
|
|
9608
9608
|
hf as Schematic,
|
|
9609
|
-
|
|
9609
|
+
Ig as Select,
|
|
9610
9610
|
Bf as Series,
|
|
9611
9611
|
Eg as Status,
|
|
9612
9612
|
df as Steps,
|
|
9613
9613
|
Bg as Synnax,
|
|
9614
9614
|
Zf as Tabs,
|
|
9615
|
-
|
|
9615
|
+
Vg as Tag,
|
|
9616
9616
|
rf as Telem,
|
|
9617
9617
|
Jf as Text,
|
|
9618
9618
|
mp as Theming,
|