@synnaxlabs/pluto 0.38.0 → 0.38.2
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-CBm9-vEt.js → Animated-BWcO40x5.js} +2 -2
- package/dist/{Animated-Cv0kRBvj.cjs → Animated-Cxl7iHik.cjs} +1 -1
- package/dist/{Item-DfHOrsI4.js → Item-BZvmqn4h.js} +4 -4
- package/dist/{Item-D4eTqW7p.cjs → Item-C4SOBynl.cjs} +1 -1
- package/dist/LinePlot-Cys9-mEC.cjs +56 -0
- package/dist/{LinePlot-BLovx_K1.js → LinePlot-tqJ3Um1S.js} +1778 -1796
- package/dist/{Link-DsUveQ8_.js → Link-BIWA4Kdj.js} +1 -1
- package/dist/{Link-CcELhLK5.cjs → Link-DO2YbtQM.cjs} +1 -1
- package/dist/{Pack-SDIuOEWr.cjs → Pack-B7_tAsYd.cjs} +1 -1
- package/dist/{Pack-meMPpnLE.js → Pack-Di5J8hmU.js} +1 -1
- package/dist/{Toggle--8qqNnzb.cjs → Toggle-BOWYgKry.cjs} +61 -61
- package/dist/{Toggle-Bkpw4raJ.js → Toggle-DvdBHJvZ.js} +6983 -6992
- package/dist/{Video-M2UhBzQi.js → Video-CAbdyjCE.js} +1 -1
- package/dist/{Video-D9_mAnaf.cjs → Video-usN9Roxq.cjs} +1 -1
- package/dist/{aggregator-By11htYo.cjs → aggregator-B4RWbN9h.cjs} +34 -34
- package/dist/{aggregator-BpyoaCoW.js → aggregator-Bl15iClv.js} +2593 -2617
- package/dist/align.cjs +1 -1
- package/dist/align.js +1 -1
- 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/{css-CxwKC6TD.js → css-Bbri4zkj.js} +190 -184
- package/dist/css-DT9dIVAb.cjs +1 -0
- package/dist/css.cjs +1 -1
- package/dist/css.js +2 -2
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/ether.cjs +1 -1
- package/dist/ether.js +67 -71
- package/dist/{external-ByzAGKGm.cjs → external-8OKX45Jc.cjs} +1 -1
- package/dist/{external-biLn9KfP.cjs → external-9Q86X8hc.cjs} +1 -1
- package/dist/{external-DSHJn336.js → external-B45MvYg8.js} +4 -4
- package/dist/{external-BDxOWeCJ.js → external-BP5euc4j.js} +3 -3
- package/dist/external-Ba8go3wq.cjs +1 -0
- package/dist/{external-BDI5gGZT.js → external-C59dex28.js} +2 -2
- package/dist/{external-BlB1LKU5.cjs → external-CKXRIr4_.cjs} +1 -1
- package/dist/{external-CEAUuDRU.js → external-CML3oqyJ.js} +2 -2
- package/dist/{external-BdhgaSFj.cjs → external-CW61uh4b.cjs} +1 -1
- package/dist/{external-DaTbvfth.cjs → external-CWIwuJks.cjs} +1 -1
- package/dist/{external-BOqGZoJO.js → external-CcuRxo0Z.js} +27 -27
- package/dist/{external-Dvj3Y4C_.cjs → external-CigHe3w_.cjs} +1 -1
- package/dist/{external-NDebmx0l.js → external-Cm1kldLr.js} +13 -13
- package/dist/{external-Cc7R9gIf.js → external-DNjLBxYA.js} +4 -4
- package/dist/{external-BzzIJ4wP.js → external-DTDBfIqD.js} +1 -1
- package/dist/{external-DN8Ec8n8.cjs → external-DkXE1VK8.cjs} +1 -1
- package/dist/{external--jF6DCow.cjs → external-Dt4ggRt2.cjs} +1 -1
- package/dist/{external-CsLjI7EJ.js → external-DuGCS_ZD.js} +2 -2
- package/dist/{external-CqOmm0mk.js → external-DuK5v_sl.js} +38 -36
- package/dist/{external-mT9bNf0F.cjs → external-SsIgRo40.cjs} +1 -1
- package/dist/{external-hZWRSBEb.js → external-U33eEFR3.js} +14 -14
- package/dist/{external-CDa3lybi.js → external-bw66TR6V.js} +10 -10
- package/dist/{external---lrKeGh.cjs → external-kZBV4X9L.cjs} +1 -1
- package/dist/{external-Dqh2Lbnl.cjs → external-ok_ye4LF.cjs} +1 -1
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +2867 -2875
- 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/aether/aether/aether.bench.d.ts +2 -0
- package/dist/src/aether/aether/aether.bench.d.ts.map +1 -0
- package/dist/src/aether/aether/aether.d.ts +143 -136
- package/dist/src/aether/aether/aether.d.ts.map +1 -1
- package/dist/src/aether/aether/{worker.spec.d.ts → aether.spec.spec.d.ts} +1 -1
- package/dist/src/aether/aether/aether.spec.spec.d.ts.map +1 -0
- package/dist/src/alamos/aether/alamos.d.ts +2 -2
- package/dist/src/alamos/aether/alamos.d.ts.map +1 -1
- package/dist/src/breadcrumb/Breadcrumb.d.ts +2 -2
- package/dist/src/breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/src/button/Button.d.ts +5 -5
- package/dist/src/button/Button.d.ts.map +1 -1
- package/dist/src/button/Toggle.d.ts +2 -2
- package/dist/src/channel/Select.d.ts +1 -1
- package/dist/src/channel/Select.d.ts.map +1 -1
- package/dist/src/color/Provider.d.ts.map +1 -1
- package/dist/src/hooks/effect.d.ts +2 -2
- package/dist/src/hooks/effect.d.ts.map +1 -1
- package/dist/src/icon/Icon.d.ts +11 -4
- package/dist/src/icon/Icon.d.ts.map +1 -1
- package/dist/src/menu/Item.d.ts.map +1 -1
- package/dist/src/os/Controls/Controls.d.ts.map +1 -1
- package/dist/src/os/use.d.ts.map +1 -1
- package/dist/src/pluto/aether/pluto.d.ts.map +1 -1
- package/dist/src/select/Alignment.d.ts +1 -1
- package/dist/src/select/Alignment.d.ts.map +1 -1
- package/dist/src/select/ComponentSize.d.ts.map +1 -1
- package/dist/src/select/Direction.d.ts +1 -1
- package/dist/src/select/Direction.d.ts.map +1 -1
- package/dist/src/status/Aggregator.d.ts +4 -6
- package/dist/src/status/Aggregator.d.ts.map +1 -1
- package/dist/src/status/aether/aggregator.d.ts +10 -4
- package/dist/src/status/aether/aggregator.d.ts.map +1 -1
- package/dist/src/synnax/aether/provider.d.ts +2 -2
- package/dist/src/synnax/aether/provider.d.ts.map +1 -1
- package/dist/src/table/aether/Table.d.ts +3 -1
- package/dist/src/table/aether/Table.d.ts.map +1 -1
- package/dist/src/table/cells/registry.d.ts.map +1 -1
- package/dist/src/table/external.d.ts.map +1 -1
- package/dist/src/tabs/types.d.ts +2 -2
- package/dist/src/tabs/types.d.ts.map +1 -1
- package/dist/src/tag/Tag.d.ts +1 -1
- package/dist/src/tag/Tag.d.ts.map +1 -1
- package/dist/src/telem/aether/context.d.ts +22 -22
- package/dist/src/telem/aether/context.d.ts.map +1 -1
- package/dist/src/telem/aether/factory.d.ts +1 -1
- package/dist/src/telem/aether/factory.d.ts.map +1 -1
- package/dist/src/telem/aether/provider.d.ts +3 -13
- package/dist/src/telem/aether/provider.d.ts.map +1 -1
- package/dist/src/telem/aether/remote.d.ts.map +1 -1
- package/dist/src/telem/client/client.d.ts +8 -12
- package/dist/src/telem/client/client.d.ts.map +1 -1
- package/dist/src/telem/control/aether/chip.d.ts +1 -2
- package/dist/src/telem/control/aether/chip.d.ts.map +1 -1
- package/dist/src/telem/control/aether/controller.d.ts +3 -2
- package/dist/src/telem/control/aether/controller.d.ts.map +1 -1
- package/dist/src/telem/control/aether/indicator.d.ts +1 -2
- package/dist/src/telem/control/aether/indicator.d.ts.map +1 -1
- package/dist/src/telem/control/aether/legend.d.ts +1 -1
- package/dist/src/telem/control/aether/legend.d.ts.map +1 -1
- package/dist/src/telem/control/aether/state.d.ts +1 -1
- package/dist/src/telem/control/aether/state.d.ts.map +1 -1
- package/dist/src/text/Editable.d.ts.map +1 -1
- package/dist/src/theming/Provider.d.ts.map +1 -1
- package/dist/src/theming/aether/provider.d.ts +1 -1
- package/dist/src/theming/aether/provider.d.ts.map +1 -1
- package/dist/src/tree/Tree.d.ts +1 -1
- package/dist/src/tree/Tree.d.ts.map +1 -1
- package/dist/src/tree/core.d.ts +1 -2
- package/dist/src/tree/core.d.ts.map +1 -1
- package/dist/src/triggers/Provider.d.ts.map +1 -1
- package/dist/src/util/canDisable.d.ts.map +1 -1
- package/dist/src/util/reflow.d.ts.map +1 -1
- package/dist/src/vis/axis/canvas.d.ts +1 -1
- package/dist/src/vis/axis/canvas.d.ts.map +1 -1
- package/dist/src/vis/button/aether/button.d.ts +1 -1
- package/dist/src/vis/button/aether/button.d.ts.map +1 -1
- package/dist/src/vis/canvas/aether/canvas.d.ts +9 -8
- package/dist/src/vis/canvas/aether/canvas.d.ts.map +1 -1
- package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
- package/dist/src/vis/diagram/aether/Diagram.d.ts +2 -2
- package/dist/src/vis/diagram/aether/Diagram.d.ts.map +1 -1
- package/dist/src/vis/eraser/aether/eraser.d.ts +4 -4
- package/dist/src/vis/eraser/aether/eraser.d.ts.map +1 -1
- package/dist/src/vis/light/aether/light.d.ts +2 -2
- package/dist/src/vis/light/aether/light.d.ts.map +1 -1
- package/dist/src/vis/line/aether/line.d.ts +2 -2
- package/dist/src/vis/line/aether/line.d.ts.map +1 -1
- package/dist/src/vis/lineplot/aether/LinePlot.d.ts +3 -3
- package/dist/src/vis/lineplot/aether/LinePlot.d.ts.map +1 -1
- package/dist/src/vis/lineplot/aether/axis.d.ts +2 -2
- package/dist/src/vis/lineplot/aether/axis.d.ts.map +1 -1
- package/dist/src/vis/lineplot/range/aether/annotation.d.ts +1 -1
- package/dist/src/vis/lineplot/range/aether/annotation.d.ts.map +1 -1
- package/dist/src/vis/lineplot/range/aether/provider.d.ts +1 -1
- package/dist/src/vis/lineplot/range/aether/provider.d.ts.map +1 -1
- package/dist/src/vis/lineplot/tooltip/aether/tooltip.d.ts +2 -2
- package/dist/src/vis/lineplot/tooltip/aether/tooltip.d.ts.map +1 -1
- package/dist/src/vis/log/Log.d.ts.map +1 -1
- package/dist/src/vis/log/aether/Log.d.ts +1 -1
- package/dist/src/vis/log/aether/Log.d.ts.map +1 -1
- package/dist/src/vis/log/index.d.ts.map +1 -1
- package/dist/src/vis/measure/aether/measure.d.ts +3 -3
- package/dist/src/vis/measure/aether/measure.d.ts.map +1 -1
- package/dist/src/vis/render/GLProgram.d.ts +1 -1
- package/dist/src/vis/render/GLProgram.d.ts.map +1 -1
- package/dist/src/vis/render/external.d.ts +0 -1
- package/dist/src/vis/render/external.d.ts.map +1 -1
- package/dist/src/vis/render/loop.d.ts +1 -1
- package/dist/src/vis/render/loop.d.ts.map +1 -1
- package/dist/src/vis/rule/aether/aether.d.ts +2 -2
- package/dist/src/vis/rule/aether/aether.d.ts.map +1 -1
- package/dist/src/vis/setpoint/aether/setpoint.d.ts +2 -2
- package/dist/src/vis/setpoint/aether/setpoint.d.ts.map +1 -1
- package/dist/src/vis/toggle/aether/toggle.d.ts +2 -2
- package/dist/src/vis/toggle/aether/toggle.d.ts.map +1 -1
- package/dist/src/vis/value/aether/value.d.ts +2 -2
- package/dist/src/vis/value/aether/value.d.ts.map +1 -1
- package/dist/src/worker/Context.d.ts.map +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/{transformColorsToHex-1p-bBtDw.cjs → transformColorsToHex-CDwcIPob.cjs} +1 -1
- package/dist/{transformColorsToHex-CjnZ3Lo3.js → transformColorsToHex-CnZpPlL2.js} +1 -1
- 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/dist/{units-Cq6pBqSd.cjs → units-BpKy5yTv.cjs} +1 -1
- package/dist/{units-Bz3KAVba.js → units-CNGjg1NV.js} +1 -1
- package/dist/video.cjs +1 -1
- package/dist/video.js +1 -1
- package/package.json +7 -6
- package/dist/LinePlot-BXBKDBXS.cjs +0 -56
- package/dist/css-CRd0zXr-.cjs +0 -1
- package/dist/external-BXEbAbxf.cjs +0 -1
- package/dist/src/aether/aether/worker.spec.d.ts.map +0 -1
- package/dist/src/aether/test/index.d.ts +0 -2
- package/dist/src/aether/test/index.d.ts.map +0 -1
- package/dist/src/aether/test/test.d.ts +0 -11
- package/dist/src/aether/test/test.d.ts.map +0 -1
- package/dist/src/telem/test/index.d.ts +0 -2
- package/dist/src/telem/test/index.d.ts.map +0 -1
- package/dist/src/telem/test/mock.d.ts +0 -33
- package/dist/src/telem/test/mock.d.ts.map +0 -1
- package/dist/src/vis/render/eraser.d.ts +0 -20
- package/dist/src/vis/render/eraser.d.ts.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as r } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
2
|
-
import {
|
|
3
|
-
import { cloneElement as
|
|
4
|
-
import { S as P, P as U } from "./Pack-
|
|
5
|
-
import { C as o, e as Y } from "./css-
|
|
6
|
-
import { _ as D, v as K, j as k } from "./aggregator-
|
|
7
|
-
import "./Item-
|
|
2
|
+
import { L as T, ab as W, f as X, I as O, e as Z, d as G, C as q, y as F, ao as H } from "./Toggle-DvdBHJvZ.js";
|
|
3
|
+
import { cloneElement as w, createContext as J, useCallback as _, useContext as Q } from "react";
|
|
4
|
+
import { S as P, P as U } from "./Pack-Di5J8hmU.js";
|
|
5
|
+
import { C as o, e as Y } from "./css-Bbri4zkj.js";
|
|
6
|
+
import { _ as D, v as K, j as k } from "./aggregator-Bl15iClv.js";
|
|
7
|
+
import "./Item-BZvmqn4h.js";
|
|
8
8
|
import { z as m } from "zod";
|
|
9
|
-
const
|
|
9
|
+
const y = (n, s) => w(n, {
|
|
10
10
|
className: o(n.props.className, o.B("sub"), o.M(s))
|
|
11
11
|
}), S = ({
|
|
12
12
|
topRight: n,
|
|
@@ -17,21 +17,21 @@ const T = (n, s) => z(n, {
|
|
|
17
17
|
className: a,
|
|
18
18
|
...c
|
|
19
19
|
}) => /* @__PURE__ */ r.jsxs("div", { className: o(a, o.B("icon")), ...c, children: [
|
|
20
|
-
n &&
|
|
21
|
-
s &&
|
|
22
|
-
e &&
|
|
23
|
-
l &&
|
|
20
|
+
n && y(n, "topRight"),
|
|
21
|
+
s && y(s, "topLeft"),
|
|
22
|
+
e && y(e, "bottomLeft"),
|
|
23
|
+
l && y(l, "bottomRight"),
|
|
24
24
|
t
|
|
25
|
-
] }), ee = (n) => /* @__PURE__ */ r.jsx(S, { topRight: /* @__PURE__ */ r.jsx(
|
|
25
|
+
] }), ee = (n) => /* @__PURE__ */ r.jsx(S, { topRight: /* @__PURE__ */ r.jsx(T.Add, {}), ...n }), te = (n) => /* @__PURE__ */ r.jsx(S, { topRight: /* @__PURE__ */ r.jsx(T.Import, {}), ...n }), A = (n, s) => {
|
|
26
26
|
if (n != null) {
|
|
27
27
|
if (typeof n == "string") {
|
|
28
28
|
const e = D.get(
|
|
29
|
-
|
|
29
|
+
T,
|
|
30
30
|
n
|
|
31
31
|
);
|
|
32
32
|
return /* @__PURE__ */ r.jsx(e, { ...s });
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return w(n, s);
|
|
35
35
|
}
|
|
36
36
|
}, je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
37
|
__proto__: null,
|
|
@@ -70,7 +70,7 @@ const T = (n, s) => z(n, {
|
|
|
70
70
|
content: s,
|
|
71
71
|
onSelect: i
|
|
72
72
|
};
|
|
73
|
-
}, I = J({ tabs: [] }),
|
|
73
|
+
}, I = J({ tabs: [] }), R = I.Provider, M = () => Q(I), oe = ({
|
|
74
74
|
id: n,
|
|
75
75
|
content: s,
|
|
76
76
|
children: e,
|
|
@@ -103,7 +103,7 @@ const T = (n, s) => z(n, {
|
|
|
103
103
|
direction: N,
|
|
104
104
|
...j,
|
|
105
105
|
children: /* @__PURE__ */ r.jsxs(
|
|
106
|
-
|
|
106
|
+
R,
|
|
107
107
|
{
|
|
108
108
|
value: {
|
|
109
109
|
tabs: i,
|
|
@@ -121,7 +121,7 @@ const T = (n, s) => z(n, {
|
|
|
121
121
|
},
|
|
122
122
|
children: [
|
|
123
123
|
/* @__PURE__ */ r.jsx(
|
|
124
|
-
|
|
124
|
+
z,
|
|
125
125
|
{
|
|
126
126
|
size: h,
|
|
127
127
|
direction: Y.swap(N),
|
|
@@ -129,17 +129,17 @@ const T = (n, s) => z(n, {
|
|
|
129
129
|
contextMenu: x
|
|
130
130
|
}
|
|
131
131
|
),
|
|
132
|
-
/* @__PURE__ */ r.jsx(
|
|
132
|
+
/* @__PURE__ */ r.jsx($, {})
|
|
133
133
|
]
|
|
134
134
|
}
|
|
135
135
|
)
|
|
136
136
|
}
|
|
137
|
-
),
|
|
137
|
+
), $ = () => {
|
|
138
138
|
const { tabs: n, selected: s, content: e, emptyContent: l, onSelect: t } = M();
|
|
139
139
|
let a = null;
|
|
140
140
|
const c = n.find((i) => i.tabKey === s);
|
|
141
141
|
return s == null || c == null ? l ?? null : (e != null ? typeof e == "function" ? a = e(c) : a = e : c.content != null && (a = c.content), /* @__PURE__ */ r.jsx("div", { className: o.B("tabs-content"), onClick: () => t == null ? void 0 : t(s), children: a }));
|
|
142
|
-
}, p = "tabs-selector",
|
|
142
|
+
}, p = "tabs-selector", z = ({
|
|
143
143
|
className: n,
|
|
144
144
|
altColor: s = !1,
|
|
145
145
|
size: e = "medium",
|
|
@@ -185,7 +185,7 @@ const T = (n, s) => z(n, {
|
|
|
185
185
|
},
|
|
186
186
|
h.tabKey
|
|
187
187
|
)) }),
|
|
188
|
-
g != null && /* @__PURE__ */ r.jsx(P, { className: o.BE(p, "actions"), children: /* @__PURE__ */ r.jsx(
|
|
188
|
+
g != null && /* @__PURE__ */ r.jsx(P, { className: o.BE(p, "actions"), children: /* @__PURE__ */ r.jsx(O, { size: e, sharp: !0, onClick: g, children: /* @__PURE__ */ r.jsx(T.Add, {}) }) })
|
|
189
189
|
]
|
|
190
190
|
}
|
|
191
191
|
);
|
|
@@ -269,17 +269,17 @@ const T = (n, s) => z(n, {
|
|
|
269
269
|
level: k[f]
|
|
270
270
|
}
|
|
271
271
|
),
|
|
272
|
-
d && l != null && /* @__PURE__ */ r.jsx(
|
|
272
|
+
d && l != null && /* @__PURE__ */ r.jsx(O, { onClick: g, children: /* @__PURE__ */ r.jsx(T.Close, { "aria-label": "pluto-tabs__close" }) })
|
|
273
273
|
]
|
|
274
274
|
}
|
|
275
275
|
);
|
|
276
|
-
},
|
|
276
|
+
}, L = o.BE(p, "name"), ae = ({
|
|
277
277
|
onRename: n,
|
|
278
278
|
name: s,
|
|
279
279
|
tabKey: e,
|
|
280
280
|
editable: l = !0,
|
|
281
281
|
...t
|
|
282
|
-
}) => n == null || !l ? /* @__PURE__ */ r.jsx(F, { className:
|
|
282
|
+
}) => n == null || !l ? /* @__PURE__ */ r.jsx(F, { className: L, noWrap: !0, ...t, children: s }) : /* @__PURE__ */ r.jsx("div", { className: L, children: /* @__PURE__ */ r.jsx(
|
|
283
283
|
H,
|
|
284
284
|
{
|
|
285
285
|
id: o.B(`tab-${e}`),
|
|
@@ -299,10 +299,10 @@ const T = (n, s) => z(n, {
|
|
|
299
299
|
content: m.unknown().optional()
|
|
300
300
|
}), be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
301
301
|
__proto__: null,
|
|
302
|
-
Content:
|
|
302
|
+
Content: $,
|
|
303
303
|
Context: I,
|
|
304
|
-
Provider:
|
|
305
|
-
Selector:
|
|
304
|
+
Provider: R,
|
|
305
|
+
Selector: z,
|
|
306
306
|
Tabs: oe,
|
|
307
307
|
rename: se,
|
|
308
308
|
resetSelection: ne,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./aggregator-
|
|
1
|
+
"use strict";const r=require("./aggregator-B4RWbN9h.cjs"),e=require("./Toggle-BOWYgKry.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,SYNNAX_DARK:r.SYNNAX_DARK,SYNNAX_LIGHT:r.SYNNAX_LIGHT,SYNNAX_THEMES:r.SYNNAX_THEMES,Switch:e.Switch,get Theming(){return t},themeZ:r.themeZ,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext,useProvider:e.useProvider,useTypography:e.useTypography},Symbol.toStringTag,{value:"Module"}));exports.external=t;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as S, au as b, av as D, aw as v, ax as N, ay as _, az as A, aA as C, aB as w, aC as z, aD as T, aE as L, aF as M, aG as E } from "./Toggle-DvdBHJvZ.js";
|
|
2
2
|
import { j as t } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
3
|
-
import { C as s, e as H } from "./css-
|
|
4
|
-
import "./aggregator-
|
|
3
|
+
import { C as s, e as H } from "./css-Bbri4zkj.js";
|
|
4
|
+
import "./aggregator-Bl15iClv.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import { S as g } from "./Pack-
|
|
6
|
+
import { S as g } from "./Pack-Di5J8hmU.js";
|
|
7
7
|
const p = ({
|
|
8
8
|
className: a,
|
|
9
9
|
variant: r = "error",
|
|
@@ -19,7 +19,7 @@ const p = ({
|
|
|
19
19
|
level: "small",
|
|
20
20
|
...e
|
|
21
21
|
}
|
|
22
|
-
),
|
|
22
|
+
), y = ({
|
|
23
23
|
className: a,
|
|
24
24
|
required: r = !1,
|
|
25
25
|
children: e,
|
|
@@ -44,8 +44,8 @@ const p = ({
|
|
|
44
44
|
...i
|
|
45
45
|
}) => {
|
|
46
46
|
let j;
|
|
47
|
-
const
|
|
48
|
-
return !
|
|
47
|
+
const B = f && e != null && e.length > 0, h = r && a != null && a.length > 0;
|
|
48
|
+
return !B && !h ? /* @__PURE__ */ t.jsx(t.Fragment, { children: l }) : (n === "x" ? j = /* @__PURE__ */ t.jsxs(g, { direction: "y", size: "small", children: [
|
|
49
49
|
l,
|
|
50
50
|
(c || e != null && e.length > 0) && /* @__PURE__ */ t.jsx(p, { variant: d, children: e })
|
|
51
51
|
] }) : j = /* @__PURE__ */ t.jsxs(g, { direction: "y", size: 1 / 3, children: [
|
|
@@ -60,7 +60,7 @@ const p = ({
|
|
|
60
60
|
align: I(u, n),
|
|
61
61
|
...i,
|
|
62
62
|
children: [
|
|
63
|
-
h && /* @__PURE__ */ t.jsx(
|
|
63
|
+
h && /* @__PURE__ */ t.jsx(y, { required: o, children: a }),
|
|
64
64
|
j
|
|
65
65
|
]
|
|
66
66
|
}
|
|
@@ -105,13 +105,13 @@ const p = ({
|
|
|
105
105
|
DragButton: N,
|
|
106
106
|
HelpText: p,
|
|
107
107
|
Item: O,
|
|
108
|
-
Label:
|
|
108
|
+
Label: y,
|
|
109
109
|
Numeric: _,
|
|
110
|
-
Switch:
|
|
111
|
-
Text:
|
|
110
|
+
Switch: A,
|
|
111
|
+
Text: C,
|
|
112
112
|
TextArea: q,
|
|
113
|
-
Time:
|
|
114
|
-
TimeSelector:
|
|
113
|
+
Time: w,
|
|
114
|
+
TimeSelector: z,
|
|
115
115
|
combineDateAndTimeValue: T,
|
|
116
116
|
createTimeList: L,
|
|
117
117
|
useDate: M,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a7 as fe, aH as ke, aA as Le, aj as Te, aI as Ce, ac as $e, aJ as ve, ai as Fe, aK as Ne, ad as je, aL as Ke, ae as De, aM as We, aN as Ye, aO as ze, aP as He, aQ as Ve, al as Ue, aR as Be, aS as Ge, a6 as Je, aT as Qe, aU as Xe, aV as Ze } from "./Toggle-
|
|
1
|
+
import { a7 as fe, aH as ke, aA as Le, aj as Te, aI as Ce, ac as $e, aJ as ve, ai as Fe, aK as Ne, ad as je, aL as Ke, ae as De, aM as We, aN as Ye, aO as ze, aP as He, aQ as Ve, al as Ue, aR as Be, aS as Ge, a6 as Je, aT as Qe, aU as Xe, aV as Ze } from "./Toggle-DvdBHJvZ.js";
|
|
2
2
|
import { j as qe } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
3
3
|
import { useCallback as et } from "react";
|
|
4
|
-
import { x as tt, v as st } from "./aggregator-
|
|
5
|
-
import "./css-
|
|
6
|
-
import "./Pack-
|
|
4
|
+
import { x as tt, v as st } from "./aggregator-Bl15iClv.js";
|
|
5
|
+
import "./css-Bbri4zkj.js";
|
|
6
|
+
import "./Pack-Di5J8hmU.js";
|
|
7
7
|
const de = Symbol(), q = Symbol(), T = "a", F = "w";
|
|
8
8
|
let rt = (t, e) => new Proxy(t, e);
|
|
9
9
|
const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) => t && (ne.has(t) ? ne.get(t) : H(t) === Object.prototype || H(t) === Array.prototype), ie = (t) => typeof t == "object" && t !== null, ce = /* @__PURE__ */ new WeakMap(), ge = (t) => t[q] || t, pe = (t, e, s) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, C as a, J as o, P as r, S as s, s as t } from "./Pack-
|
|
1
|
+
import { A as e, C as a, J as o, P as r, S as s, s as t } from "./Pack-Di5J8hmU.js";
|
|
2
2
|
const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
ALIGNMENTS: e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./jsx-runtime-D8EVjfnb.cjs"),d=require("./aggregator-
|
|
1
|
+
"use strict";const i=require("./jsx-runtime-D8EVjfnb.cjs"),d=require("./aggregator-B4RWbN9h.cjs"),c=require("react"),S=require("./Pack-B7_tAsYd.cjs"),o=require("./css-DT9dIVAb.cjs"),a=require("./Toggle-BOWYgKry.cjs"),p=c.createContext({divided:!1,level:"h1"}),l=()=>c.useContext(p),j=({children:s,className:r,level:e="h1",divided:n=!1,...t})=>i.jsxRuntimeExports.jsx(p.Provider,{value:{level:e,divided:n},children:i.jsxRuntimeExports.jsx(S.Space,{el:"header",direction:"x",justify:"spaceBetween",className:o.CSS(o.CSS.B("header"),o.CSS.bordered("bottom"),n&&o.CSS.BM("header","divided"),r),...t,children:s})}),m=({children:s=[]})=>{const{level:r,divided:e}=l();return i.jsxRuntimeExports.jsx(S.Space,{direction:"x",size:"small",align:"center",className:o.CSS.BE("header","actions"),children:d.A(s).map((n,t)=>i.jsxRuntimeExports.jsx(E,{index:t,level:r,divided:e,children:n},t))})},E=({index:s,level:r,children:e,divided:n})=>{let t=e;if(!c.isValidElement(e)){const{onClick:x,key:C,...h}=e;t=i.jsxRuntimeExports.jsx(a.Icon,{onClick:u=>{u.stopPropagation(),u.preventDefault(),x==null||x(u)},size:d.LevelComponentSizes[r],...h},C??s)}return i.jsxRuntimeExports.jsxs(c.Fragment,{children:[n&&i.jsxRuntimeExports.jsx(a.Divider,{}),t]},s)},v=({children:s="",className:r,onClick:e,...n})=>{const{level:t}=l();return i.jsxRuntimeExports.jsx(a.Button,{variant:"text",size:d.LevelComponentSizes[t],onClick:e,className:o.CSS(o.CSS.B("header-button-title"),r),sharp:!0,...n,children:s})},R=({className:s,level:r,...e})=>{const{level:n,divided:t}=l();return i.jsxRuntimeExports.jsx(a.WithIcon,{className:o.CSS(o.CSS.BE("header","text"),s),level:r??n,divided:t,size:1.5,...e})},g=Object.freeze(Object.defineProperty({__proto__:null,Actions:m,ButtonTitle:v,Header:j,Title:R,useContext:l},Symbol.toStringTag,{value:"Module"}));exports.Actions=m;exports.ButtonTitle=v;exports.Header=j;exports.external=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./Toggle
|
|
1
|
+
"use strict";const e=require("./Toggle-BOWYgKry.cjs"),E=require("./jsx-runtime-D8EVjfnb.cjs"),u=require("react");require("./aggregator-B4RWbN9h.cjs");const o=require("./css-DT9dIVAb.cjs");require("./Pack-B7_tAsYd.cjs");const M=t=>{const{listen:i}=e.useContext$2(),[a,l]=u.useState([]);return u.useEffect(()=>i(({next:[r]})=>l(r??[])),[i,l]),E.jsxRuntimeExports.jsx(e.Text$1,{...t,children:a.join(" ")})},f=({onDrag:t,triggers:i=[["MouseLeft"],["MouseRight"]],bound:a,loose:l=!1})=>{const r=u.useRef(null),g=u.useRef(o.G.ZERO),d=u.useCallback(s=>{const n=o.G.construct(s);if(r.current===null)return;const{triggers:c}=r.current;t({box:o.Tt.construct(g.current,n),cursor:n,triggers:c,stage:"during"})},[t]),m=u.useCallback(s=>{const{stage:n,cursor:c}=s;n==="start"?(t({box:o.Tt.construct(c),...s}),window.addEventListener("mousemove",d),r.current=s,g.current=c):n==="end"&&r.current!=null&&(t({box:o.Tt.construct(g.current,c),...s}),window.removeEventListener("mousemove",d),r.current=null,g.current=o.G.ZERO)},[t]);e.use$1({triggers:i,callback:m,region:a,loose:l})},S=Object.freeze(Object.defineProperty({__proto__:null,ALPHANUMERIC_KEYS:e.ALPHANUMERIC_KEYS,ALPHANUMERIC_KEYS_SET:e.ALPHANUMERIC_KEYS_SET,KEYS:e.KEYS,MOUSE_KEYS:e.MOUSE_KEYS,Provider:e.Provider$2,Status:M,Text:e.Text,compareModeConfigs:e.compareModeConfigs,determineMode:e.determineMode,diff:e.diff,eventKey:e.eventKey,filter:e.filter,flattenConfig:e.flattenConfig,keyZ:e.keyZ,keyboardKey:e.keyboardKey,match:e.match,matchCallback:e.matchCallback,mouseKey:e.mouseKey,mouseKeyZ:e.mouseKeyZ,purge:e.purge,purgeMouse:e.purgeMouse,toSymbols:e.toSymbols,triggerZ:e.triggerZ,use:e.use$1,useContext:e.useContext$2,useDrag:f,useFlattenedMemoConfig:e.useFlattenedMemoConfig,useHeld:e.useHeld,useHeldRef:e.useHeldRef},Symbol.toStringTag,{value:"Module"}));exports.external=S;exports.useDrag=f;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e, d as t, e as o, f as a } from "./Toggle-
|
|
2
|
-
import { C as n, D as s, I as r, a as u, b as C, M as m, c as T, u as i } from "./Item-
|
|
1
|
+
import { C as e, d as t, e as o, f as a } from "./Toggle-DvdBHJvZ.js";
|
|
2
|
+
import { C as n, D as s, I as r, a as u, b as C, M as m, c as T, u as i } from "./Item-BZvmqn4h.js";
|
|
3
3
|
const x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
CONTEXT_SELECTED: e,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { F as se, c as Y, A as M, u as le } from "./aggregator-
|
|
1
|
+
import { F as se, c as Y, A as M, u as le } from "./aggregator-Bl15iClv.js";
|
|
2
2
|
import { j as b } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
3
|
-
import { a6 as oe, a7 as ie,
|
|
3
|
+
import { a6 as oe, a7 as ie, L as ce, a8 as de, d as fe, C as ue, a9 as he, aa as pe, ab as me, a5 as ge, B as xe, ac as X, ad as ye, ae as Ce, af as Ee, ag as be, ah as Ne } from "./Toggle-DvdBHJvZ.js";
|
|
4
4
|
import { memo as Te, useState as ve, useCallback as N, useMemo as Se } from "react";
|
|
5
|
-
import { L as _e } from "./Link-
|
|
6
|
-
import { A as Ie } from "./Animated-
|
|
7
|
-
import { C as h } from "./css-
|
|
8
|
-
import "./Pack-
|
|
5
|
+
import { L as _e } from "./Link-BIWA4Kdj.js";
|
|
6
|
+
import { A as Ie } from "./Animated-BWcO40x5.js";
|
|
7
|
+
import { C as h } from "./css-Bbri4zkj.js";
|
|
8
|
+
import "./Pack-Di5J8hmU.js";
|
|
9
9
|
const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.name, t.name), H = (e, t = V) => {
|
|
10
10
|
typeof t == "function" && e.sort(t);
|
|
11
11
|
let a = !1;
|
|
@@ -35,7 +35,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
35
35
|
})
|
|
36
36
|
));
|
|
37
37
|
}), s;
|
|
38
|
-
},
|
|
38
|
+
}, Le = ({ tree: e, destination: t, keys: a }) => (a = M(a), a.forEach((n) => {
|
|
39
39
|
const r = T({ tree: e, key: n });
|
|
40
40
|
r != null && (J({ tree: e, keys: n }), Q({ tree: e, destination: t, additions: r }));
|
|
41
41
|
}), e), J = ({ tree: e, keys: t }) => {
|
|
@@ -60,7 +60,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
60
60
|
...r,
|
|
61
61
|
...n.children.filter((l) => !s.includes(l.key))
|
|
62
62
|
], e;
|
|
63
|
-
},
|
|
63
|
+
}, we = ({
|
|
64
64
|
tree: e,
|
|
65
65
|
key: t,
|
|
66
66
|
updater: a,
|
|
@@ -83,7 +83,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
83
83
|
a(r)
|
|
84
84
|
);
|
|
85
85
|
return e;
|
|
86
|
-
},
|
|
86
|
+
}, $e = ({
|
|
87
87
|
tree: e,
|
|
88
88
|
parent: t,
|
|
89
89
|
updater: a,
|
|
@@ -112,7 +112,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
return null;
|
|
115
|
-
},
|
|
115
|
+
}, je = ({ tree: e, keys: t }) => {
|
|
116
116
|
const a = [];
|
|
117
117
|
for (const n of t) {
|
|
118
118
|
const r = T({ tree: e, key: n });
|
|
@@ -147,14 +147,14 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
147
147
|
}), S = Se(
|
|
148
148
|
() => K({ nodes: a, expanded: i, sort: r }),
|
|
149
149
|
[a, i, r]
|
|
150
|
-
), _ = me(S),
|
|
150
|
+
), _ = me(S), w = ge({ triggers: Pe }), P = N(
|
|
151
151
|
(f, { clicked: d }) => {
|
|
152
152
|
v(f);
|
|
153
153
|
const x = _.current.find((E) => E.key === d);
|
|
154
|
-
if ((x == null ? void 0 : x.hasChildren) === !1 || d == null ||
|
|
155
|
-
const y = u.current,
|
|
154
|
+
if ((x == null ? void 0 : x.hasChildren) === !1 || d == null || w.current.held) return;
|
|
155
|
+
const y = u.current, L = y.some((E) => E === d) ? "contract" : "expand";
|
|
156
156
|
let C;
|
|
157
|
-
|
|
157
|
+
L === "contract" ? C = y.filter((E) => E !== d) : C = [...y, d], o(C), t == null || t({ current: C, action: L, clicked: d });
|
|
158
158
|
},
|
|
159
159
|
[t, _, o, v]
|
|
160
160
|
), p = N(
|
|
@@ -162,9 +162,11 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
162
162
|
o((d) => Y.unique([...d, f])), t == null || t({ current: i, action: "expand", clicked: f });
|
|
163
163
|
},
|
|
164
164
|
[o]
|
|
165
|
-
),
|
|
166
|
-
(f) => {
|
|
167
|
-
o((d) => d.filter((x) => x
|
|
165
|
+
), $ = N(
|
|
166
|
+
(...f) => {
|
|
167
|
+
o((d) => d.filter((x) => !f.includes(x))), f.forEach((d) => {
|
|
168
|
+
t == null || t({ current: i, action: "contract", clicked: d });
|
|
169
|
+
});
|
|
168
170
|
},
|
|
169
171
|
[o]
|
|
170
172
|
), I = N(() => o([]), [o]);
|
|
@@ -172,7 +174,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
172
174
|
onSelect: P,
|
|
173
175
|
selected: c,
|
|
174
176
|
expanded: i,
|
|
175
|
-
contract:
|
|
177
|
+
contract: $,
|
|
176
178
|
expand: p,
|
|
177
179
|
nodes: S,
|
|
178
180
|
clearExpanded: I
|
|
@@ -195,24 +197,24 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
195
197
|
hasChildren: v = !1,
|
|
196
198
|
allowRename: S = !1,
|
|
197
199
|
children: _,
|
|
198
|
-
icon:
|
|
200
|
+
icon: w,
|
|
199
201
|
name: P,
|
|
200
202
|
depth: p,
|
|
201
|
-
expanded:
|
|
203
|
+
expanded: $,
|
|
202
204
|
href: I,
|
|
203
205
|
haulItems: f = []
|
|
204
|
-
} = e, { getSelected: d } = oe(), { getSourceData: x } = ie(), y = v || _ != null && _.length > 0,
|
|
205
|
-
y &&
|
|
206
|
+
} = e, { getSelected: d } = oe(), { getSourceData: x } = ie(), y = v || _ != null && _.length > 0, L = [];
|
|
207
|
+
y && L.push(
|
|
206
208
|
/* @__PURE__ */ b.jsx(
|
|
207
209
|
Ie,
|
|
208
210
|
{
|
|
209
|
-
enabled:
|
|
211
|
+
enabled: $,
|
|
210
212
|
enabledLoc: "bottom",
|
|
211
213
|
disabledLoc: "right"
|
|
212
214
|
},
|
|
213
215
|
"caret"
|
|
214
216
|
)
|
|
215
|
-
),
|
|
217
|
+
), w != null && L.push(w);
|
|
216
218
|
const C = [];
|
|
217
219
|
i && C.push(
|
|
218
220
|
/* @__PURE__ */ b.jsx(ce.Loading, { className: h.B("loading-indicator") }, "loading-indicator")
|
|
@@ -221,7 +223,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
221
223
|
type: "Tree.Item",
|
|
222
224
|
key: c,
|
|
223
225
|
canDrop: N(({ items: m, source: O }) => {
|
|
224
|
-
const g = m.map((
|
|
226
|
+
const g = m.map((j) => j.key);
|
|
225
227
|
return A(!1), O.type === "Tree.Item" && !g.includes(c);
|
|
226
228
|
}, []),
|
|
227
229
|
onDrop: N((m) => (n == null ? void 0 : n(c, m)) ?? [], [c, n]),
|
|
@@ -231,14 +233,14 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
231
233
|
(g) => m.includes(g.key)
|
|
232
234
|
);
|
|
233
235
|
if (m.includes(c)) {
|
|
234
|
-
const g = O.map(({ key:
|
|
235
|
-
{ type: k, key:
|
|
236
|
+
const g = O.map(({ key: j, haulItems: B, depth: F }) => [
|
|
237
|
+
{ type: k, key: j, data: { depth: F } },
|
|
236
238
|
...(B == null ? void 0 : B.map((W) => ({
|
|
237
239
|
...W,
|
|
238
240
|
data: { ...W.data, depth: F }
|
|
239
241
|
}))) ?? []
|
|
240
242
|
]).flat();
|
|
241
|
-
return U(g, (
|
|
243
|
+
return U(g, (j) => s == null ? void 0 : s(c, j));
|
|
242
244
|
}
|
|
243
245
|
U(
|
|
244
246
|
[
|
|
@@ -274,7 +276,7 @@ const z = (e, t) => t.includes(e.key), V = (e, t) => se.stringsWithNumbers(e.nam
|
|
|
274
276
|
// @ts-expect-error - CSS variable
|
|
275
277
|
"--pluto-tree-indicator-offset": `${p * 1.5 + (p === 0 ? 0 : 0.5)}rem`
|
|
276
278
|
},
|
|
277
|
-
startIcon:
|
|
279
|
+
startIcon: L,
|
|
278
280
|
iconSpacing: "small",
|
|
279
281
|
noWrap: !0,
|
|
280
282
|
endIcon: C,
|
|
@@ -311,10 +313,10 @@ const Ae = Ne(G), Oe = ({
|
|
|
311
313
|
showRules: v = !1,
|
|
312
314
|
virtual: S = !0,
|
|
313
315
|
clearExpanded: _,
|
|
314
|
-
expand:
|
|
316
|
+
expand: w,
|
|
315
317
|
contract: P,
|
|
316
318
|
emptyContent: p,
|
|
317
|
-
loading:
|
|
319
|
+
loading: $,
|
|
318
320
|
...I
|
|
319
321
|
}) => {
|
|
320
322
|
const f = S ? X.Virtual : X;
|
|
@@ -334,7 +336,7 @@ const Ae = Ne(G), Oe = ({
|
|
|
334
336
|
children: ({ key: d, ...x }) => o({
|
|
335
337
|
...x,
|
|
336
338
|
key: d,
|
|
337
|
-
loading:
|
|
339
|
+
loading: $ === d,
|
|
338
340
|
useMargin: c,
|
|
339
341
|
onDrop: n,
|
|
340
342
|
onRename: r,
|
|
@@ -355,17 +357,17 @@ const Ae = Ne(G), Oe = ({
|
|
|
355
357
|
defaultSort: V,
|
|
356
358
|
findNode: T,
|
|
357
359
|
findNodeParent: R,
|
|
358
|
-
findNodes:
|
|
360
|
+
findNodes: je,
|
|
359
361
|
flatten: K,
|
|
360
362
|
getDescendants: D,
|
|
361
|
-
moveNode:
|
|
363
|
+
moveNode: Le,
|
|
362
364
|
removeNode: J,
|
|
363
365
|
setNode: Q,
|
|
364
366
|
shouldExpand: z,
|
|
365
367
|
sortAndSplice: H,
|
|
366
368
|
startRenaming: Be,
|
|
367
|
-
updateNode:
|
|
368
|
-
updateNodeChildren:
|
|
369
|
+
updateNode: we,
|
|
370
|
+
updateNodeChildren: $e,
|
|
369
371
|
use: Re
|
|
370
372
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
371
373
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./Toggle
|
|
1
|
+
"use strict";const t=require("./Toggle-BOWYgKry.cjs"),n=require("./jsx-runtime-D8EVjfnb.cjs"),s=require("./css-DT9dIVAb.cjs");require("./aggregator-B4RWbN9h.cjs");require("react");const g=require("./Pack-B7_tAsYd.cjs"),C=({className:r,variant:i="error",...e})=>n.jsxRuntimeExports.jsx(t.Text$1,{className:s.CSS(s.CSS.B("input-help-text"),s.CSS.BM("input-help-text",i),r),level:"small",...e}),h=({className:r,required:i=!1,children:e,...a})=>n.jsxRuntimeExports.jsxs("label",{className:s.CSS(s.CSS.B("input-label"),r),...a,children:[e," ",i&&n.jsxRuntimeExports.jsx("span",{className:s.CSS.B("required-indicator"),children:"*"})]}),D=(r,i="x")=>r??(s.g.construct(i)==="y"?"stretch":"center"),E=({label:r,showLabel:i=!0,helpText:e,direction:a="y",className:m,children:l,required:x,align:o,size:S="small",padHelpText:c=!1,helpTextVariant:j,showHelpText:p=!0,...u})=>{let d;const f=p&&e!=null&&e.length>0,R=i&&r!=null&&r.length>0;return!f&&!R?n.jsxRuntimeExports.jsx(n.jsxRuntimeExports.Fragment,{children:l}):(a==="x"?d=n.jsxRuntimeExports.jsxs(g.Space,{direction:"y",size:"small",children:[l,(c||e!=null&&e.length>0)&&n.jsxRuntimeExports.jsx(C,{variant:j,children:e})]}):d=n.jsxRuntimeExports.jsxs(g.Space,{direction:"y",size:1/3,children:[l,(c||e!=null&&e.length>0)&&n.jsxRuntimeExports.jsx(C,{variant:j,children:e})]}),n.jsxRuntimeExports.jsxs(g.Space,{className:s.CSS(s.CSS.B("input-item"),m),direction:a,size:S,align:D(o,a),...u,children:[R&&n.jsxRuntimeExports.jsx(h,{required:x,children:r}),d]}))},T=({ref:r,value:i,style:e,onChange:a,className:m,onFocus:l,selectOnFocus:x=!1,placeholder:o,variant:S="outlined",sharp:c=!1,children:j,...p})=>n.jsxRuntimeExports.jsx("textarea",{style:e,className:s.CSS(s.CSS.B("textarea"),s.CSS.BM("textarea",S),s.CSS.sharp(c),m),ref:r,value:i,onChange:u=>a(u.target.value.replace(/\n/g,"")),onFocus:u=>{x&&u.target.select(),l==null||l(u)},placeholder:o,...p}),B=Object.freeze(Object.defineProperty({__proto__:null,Calendar:t.Calendar,Date:t.Date,DateTime:t.DateTime$1,DragButton:t.DragButton,HelpText:C,Item:E,Label:h,Numeric:t.Numeric,Switch:t.Switch$1,Text:t.Text$2,TextArea:T,Time:t.Time,TimeSelector:t.TimeSelector,combineDateAndTimeValue:t.combineDateAndTimeValue,createTimeList:t.createTimeList,useDate:t.useDate,useTime:t.useTime},Symbol.toStringTag,{value:"Module"}));exports.Item=E;exports.external=B;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { x as d,
|
|
1
|
+
import { x as d, y as p, z as E, A as M, E as b, K as S, M as y, F as R, w as K, H as T, J as _, N as C, O as j, Q as v, R as L, U as O, V as h, W as k, X as w, Y as A, _ as H, $ as Y, a0 as Z, a1 as P, a2 as U, a3 as N, a4 as z, a5 as F } from "./Toggle-DvdBHJvZ.js";
|
|
2
2
|
import { j as I } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
3
3
|
import { useState as $, useEffect as G, useRef as m, useCallback as f } from "react";
|
|
4
|
-
import "./aggregator-
|
|
5
|
-
import { G as i,
|
|
6
|
-
import "./Pack-
|
|
4
|
+
import "./aggregator-Bl15iClv.js";
|
|
5
|
+
import { G as i, T as l } from "./css-Bbri4zkj.js";
|
|
6
|
+
import "./Pack-Di5J8hmU.js";
|
|
7
7
|
const J = (e) => {
|
|
8
8
|
const { listen: a } = d(), [c, n] = $([]);
|
|
9
9
|
return G(
|
|
10
10
|
() => a(({ next: [s] }) => n(s ?? [])),
|
|
11
11
|
[a, n]
|
|
12
|
-
), /* @__PURE__ */ I.jsx(
|
|
12
|
+
), /* @__PURE__ */ I.jsx(p, { ...e, children: c.join(" ") });
|
|
13
13
|
}, Q = ({
|
|
14
14
|
onDrag: e,
|
|
15
15
|
triggers: a = [["MouseLeft"], ["MouseRight"]],
|
|
@@ -39,19 +39,19 @@ const J = (e) => {
|
|
|
39
39
|
E({ triggers: a, callback: x, region: c, loose: n });
|
|
40
40
|
}, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41
41
|
__proto__: null,
|
|
42
|
-
ALPHANUMERIC_KEYS:
|
|
42
|
+
ALPHANUMERIC_KEYS: M,
|
|
43
43
|
ALPHANUMERIC_KEYS_SET: b,
|
|
44
44
|
KEYS: S,
|
|
45
|
-
MOUSE_KEYS:
|
|
46
|
-
Provider:
|
|
45
|
+
MOUSE_KEYS: y,
|
|
46
|
+
Provider: R,
|
|
47
47
|
Status: J,
|
|
48
48
|
Text: K,
|
|
49
|
-
compareModeConfigs:
|
|
50
|
-
determineMode:
|
|
51
|
-
diff:
|
|
52
|
-
eventKey:
|
|
53
|
-
filter:
|
|
54
|
-
flattenConfig:
|
|
49
|
+
compareModeConfigs: T,
|
|
50
|
+
determineMode: _,
|
|
51
|
+
diff: C,
|
|
52
|
+
eventKey: j,
|
|
53
|
+
filter: v,
|
|
54
|
+
flattenConfig: L,
|
|
55
55
|
keyZ: O,
|
|
56
56
|
keyboardKey: h,
|
|
57
57
|
match: k,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as D, k as M, m as N, n as T, o as v, p as _, s as P, q as
|
|
2
|
-
import {
|
|
1
|
+
import { j as D, k as M, m as N, n as T, o as v, p as _, s as P, q as H, w as K } from "./aggregator-Bl15iClv.js";
|
|
2
|
+
import { y as g, ai as O, aj as L, ac as R, ad as z, ae as F, ak as I, ah as C, al as W, B, am as Z, an as q, ao as U, ap as V, a9 as X, aq as $, ar as G, ag as J, af as Q, as as Y, at as ee } from "./Toggle-DvdBHJvZ.js";
|
|
3
3
|
import { j as l } from "./jsx-runtime-Bdg6XQ1m.js";
|
|
4
|
-
import { C as y } from "./css-
|
|
4
|
+
import { C as y } from "./css-Bbri4zkj.js";
|
|
5
5
|
import { useState as se, useEffect as le, useCallback as ne } from "react";
|
|
6
|
-
import { P as A } from "./Pack-
|
|
7
|
-
import { A as te } from "./Animated-
|
|
6
|
+
import { P as A } from "./Pack-Di5J8hmU.js";
|
|
7
|
+
import { A as te } from "./Animated-BWcO40x5.js";
|
|
8
8
|
const ae = ({
|
|
9
9
|
ref: e,
|
|
10
10
|
href: s,
|
|
@@ -48,14 +48,14 @@ const ae = ({
|
|
|
48
48
|
variant: r = "connected",
|
|
49
49
|
...o
|
|
50
50
|
}) => {
|
|
51
|
-
let p = /* @__PURE__ */ l.jsxs(
|
|
51
|
+
let p = /* @__PURE__ */ l.jsxs(O, { disabled: !f, children: [
|
|
52
52
|
x,
|
|
53
53
|
/* @__PURE__ */ l.jsx(
|
|
54
54
|
L.Header,
|
|
55
55
|
{
|
|
56
56
|
hide: n || b != null,
|
|
57
57
|
columns: k,
|
|
58
|
-
children: /* @__PURE__ */ l.jsx(
|
|
58
|
+
children: /* @__PURE__ */ l.jsx(R.Virtual, { itemHeight: m, children: b })
|
|
59
59
|
}
|
|
60
60
|
)
|
|
61
61
|
] });
|
|
@@ -67,7 +67,7 @@ const ae = ({
|
|
|
67
67
|
className: y.B("select-dialog-content"),
|
|
68
68
|
children: p
|
|
69
69
|
}
|
|
70
|
-
)), /* @__PURE__ */ l.jsx(
|
|
70
|
+
)), /* @__PURE__ */ l.jsx(z, { data: e, emptyContent: s, omit: u, children: /* @__PURE__ */ l.jsx(
|
|
71
71
|
F,
|
|
72
72
|
{
|
|
73
73
|
value: t,
|
|
@@ -261,8 +261,8 @@ const ae = ({
|
|
|
261
261
|
formatChildren: ee,
|
|
262
262
|
levelZ: _,
|
|
263
263
|
specZ: P,
|
|
264
|
-
upLevel:
|
|
265
|
-
weightZ:
|
|
264
|
+
upLevel: H,
|
|
265
|
+
weightZ: K
|
|
266
266
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
267
267
|
export {
|
|
268
268
|
E as B,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./Toggle
|
|
1
|
+
"use strict";const t=require("./Toggle-BOWYgKry.cjs"),e=require("./Item-C4SOBynl.cjs"),n=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_SELECTED:t.CONTEXT_SELECTED,CONTEXT_TARGET:t.CONTEXT_TARGET,ContextMenu:t.ContextMenu,CoreItem:e.CoreItem,Divider:e.Divider,Item:e.Item,ItemIcon:e.ItemIcon,ItemLink:e.ItemLink,Menu:e.Menu,MenuContext:e.MenuContext,useContextMenu:t.useContextMenu,useMenuContext:e.useMenuContext},Symbol.toStringTag,{value:"Module"}));exports.external=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./css-
|
|
1
|
+
"use strict";const t=require("./css-DT9dIVAb.cjs"),r=require("./transformColorsToHex-CDwcIPob.cjs"),e=require("./Toggle-BOWYgKry.cjs"),o=Object.freeze(Object.defineProperty({__proto__:null,Color:t.Color,GradientPicker:e.GradientPicker,Picker:e.Picker,Provider:e.Provider$1,Swatch:e.Swatch,ZERO:t.ZERO,ZERO_CONTEXT_STATE:e.ZERO_CONTEXT_STATE,contextStateZ:e.contextStateZ,crudeZ:t.crudeZ,cssString:t.cssString,frequentZ:e.frequentZ,fromGradient:t.fromGradient,fromHSLA:t.fromHSLA,gradientZ:t.gradientZ,paletteZ:t.paletteZ,recalculate:e.recalculate,relevancyZ:e.relevancyZ,stopZ:t.stopZ,toHex:t.toHex,transformColorsToHex:r.transformColorsToHex,useContext:e.useContext$1,useFrequent:e.useFrequent,useFrequentUpdater:e.useFrequentUpdater,usePalette:e.usePalette,useRequiredPalette:e.useRequiredPalette},Symbol.toStringTag,{value:"Module"}));exports.external=o;
|
package/dist/header.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-DkXE1VK8.cjs");exports.Header=e.external;
|
package/dist/header.js
CHANGED