@mechane-ai/elements 0.39.0 → 0.41.0
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/NOTICE +11 -19
- package/README.md +49 -25
- package/dist/accessibility-P89UG9-r.js +25 -0
- package/dist/agent.js +1 -0
- package/dist/ai.js +50 -44
- package/dist/{categorical-values-BECG-J6R.js → categorical-values-DnGR_pQx.js} +3 -3
- package/dist/{chart-frame-CJFnI39T.js → chart-frame-BsyI1Zc8.js} +58 -57
- package/dist/{chart-input-DwAobO8Y.js → chart-input-r4S3-QCT.js} +2 -2
- package/dist/chart-navigation-D7OkLdSx.js +119 -0
- package/dist/charts/cartesian.js +560 -583
- package/dist/charts/distribution.js +218 -218
- package/dist/charts/graph.js +86 -85
- package/dist/charts/hierarchy.js +4 -4
- package/dist/charts/matrix.js +148 -147
- package/dist/charts/timeline.js +77 -76
- package/dist/charts.js +2 -2
- package/dist/code-block-C4K1sM9O.js +255 -0
- package/dist/collections.js +828 -607
- package/dist/constants.stylex-BILvnwUk.js +84 -0
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +184 -77
- package/dist/{content-link-B3ObdyZY.js → content-link-CBDqSvgP.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/control-styles-D3q_Qyxi.js +179 -0
- package/dist/csp.js +14 -1
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +359 -245
- package/dist/forms-I-WMHTkr.js +139 -0
- package/dist/forms.js +3 -3
- package/dist/index.js +1 -1
- package/dist/layout.js +271 -241
- package/dist/navigation/commands.js +87 -76
- package/dist/{navigation-D2_sGy3C.js → navigation-CveMIuXI.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/message-action.d.ts +1 -1
- package/dist/packages/charts/src/chart-navigation.d.ts +18 -2
- package/dist/packages/charts/src/chart-surface.d.ts +23 -0
- package/dist/packages/charts/src/distribution/distribution-plot.d.ts +3 -2
- package/dist/packages/collections/src/data-table.d.ts +7 -2
- package/dist/packages/collections/src/index.d.ts +4 -1
- package/dist/packages/collections/src/query-controls.d.ts +18 -0
- package/dist/packages/collections/src/table-query.d.ts +64 -0
- package/dist/packages/collections/src/use-collection-controls.d.ts +3 -8
- package/dist/packages/content/src/pierre-theme.d.ts +0 -1
- package/dist/packages/core/src/actions.d.ts +15 -13
- package/dist/packages/core/src/copy-value.d.ts +3 -2
- package/dist/packages/core/src/disclosure.d.ts +14 -11
- package/dist/packages/feedback/src/notifications.d.ts +15 -15
- package/dist/packages/feedback/src/toast.d.ts +9 -3
- package/dist/packages/forms/src/combobox.d.ts +31 -41
- package/dist/packages/forms/src/dates/event-month.d.ts +17 -0
- package/dist/packages/forms/src/dates/index.d.ts +2 -0
- package/dist/packages/forms/src/field-styles.d.ts +0 -19
- package/dist/packages/forms/src/form-controls.d.ts +26 -24
- package/dist/packages/forms/src/forms.d.ts +17 -14
- package/dist/packages/forms/src/select-control.d.ts +6 -4
- package/dist/packages/forms/src/select.d.ts +14 -18
- package/dist/packages/forms/src/selection-state.d.ts +11 -0
- package/dist/packages/forms/src/selection-styles.d.ts +3 -0
- package/dist/packages/forms/src/selection.d.ts +21 -19
- package/dist/packages/foundations/src/agent/index.d.ts +2 -0
- package/dist/packages/foundations/src/control-state.d.ts +2 -3
- package/dist/packages/foundations/src/control-styles.d.ts +19 -0
- package/dist/packages/foundations/src/csp/index.d.ts +1 -1
- package/dist/packages/foundations/src/csp/provider.d.ts +3 -0
- package/dist/packages/foundations/src/style-composition.d.ts +4 -1
- package/dist/packages/layout/src/app-shell.d.ts +12 -1
- package/dist/packages/layout/src/index.d.ts +1 -1
- package/dist/packages/layout/src/navigation-rail.d.ts +15 -2
- package/dist/packages/layout/src/resizable.d.ts +2 -2
- package/dist/packages/layout/src/sidebar.d.ts +4 -3
- package/dist/packages/navigation/src/tab-styles.d.ts +1 -1
- package/dist/packages/navigation/src/tabs.d.ts +12 -10
- package/dist/packages/overlays/src/alert-dialog.d.ts +19 -13
- package/dist/packages/overlays/src/dialog.d.ts +39 -24
- package/dist/packages/overlays/src/drawer.d.ts +16 -26
- package/dist/packages/overlays/src/menu.d.ts +37 -44
- package/dist/packages/overlays/src/overlay-root.d.ts +10 -0
- package/dist/packages/overlays/src/popover.d.ts +11 -20
- package/dist/packages/overlays/src/preview.d.ts +6 -13
- package/dist/packages/overlays/src/tooltip.d.ts +12 -15
- package/dist/{pierre-diff-CaPsfQRo.js → pierre-diff-DJ3oOfPX.js} +5 -5
- package/dist/{src-DPRmO-JY.js → src-CNV1ewzb.js} +379 -407
- package/dist/{src-CSWIG_op.js → src-CQQvXi7a.js} +58 -81
- package/dist/{src-DWjAoOyd.js → src-D2OHco8V.js} +42 -41
- package/dist/src-DfOAlAd2.js +750 -0
- package/dist/src-na2DdkKI.js +561 -0
- package/dist/{src-C-Sx37kz.js → src-s3tWwnN4.js} +361 -518
- package/dist/styles.js +3 -0
- package/dist/{elements.css → styles2.css} +195 -97
- package/dist/tokens.js +3 -1
- package/dist/{tokens.stylex-CJbIDPB9.js → tokens.stylex-dF5CACEJ.js} +13 -93
- package/package.json +8 -9
- package/skills/elements-workspace/SKILL.md +12 -0
- package/dist/accessibility-C-aIZ1Yx.js +0 -15
- package/dist/chart-navigation-CBIeNtJq.js +0 -67
- package/dist/code-block-aC0Htt4N.js +0 -184
- package/dist/forms-BQQFas9g.js +0 -118
- package/dist/foundations.css +0 -7
- package/dist/packages/content/src/tree/pierre-tree.d.ts +0 -3
- package/dist/pierre-theme-BpNaWn1x.js +0 -126
- package/dist/pierre-tree-CYCRjdGG.js +0 -106
- package/dist/src-d7EAi61b.js +0 -617
- package/dist/src-nkgFDl-g.js +0 -1171
- package/dist/style-composition-uYlczSsB.js +0 -9
- package/styles.css +0 -2
package/dist/charts/graph.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { c as e } from "../src-
|
|
2
|
-
import {
|
|
3
|
-
import { i
|
|
4
|
-
import { n as
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { c as e } from "../src-DfOAlAd2.js";
|
|
2
|
+
import { a as t, n, t as r } from "../chart-navigation-D7OkLdSx.js";
|
|
3
|
+
import { i, n as a } from "../chart-frame-BsyI1Zc8.js";
|
|
4
|
+
import { n as o, t as s } from "../chart-input-r4S3-QCT.js";
|
|
5
|
+
import * as c from "@stylexjs/stylex";
|
|
6
|
+
import { Button as l } from "@ui-sdk/react/button";
|
|
7
|
+
import { useId as u } from "react";
|
|
8
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
8
9
|
// packages/charts/src/graph/relation-graph.tsx
|
|
9
|
-
var
|
|
10
|
+
var m = {
|
|
10
11
|
kVAEAm: "x1n2onr6",
|
|
11
12
|
$$css: !0
|
|
12
|
-
},
|
|
13
|
+
}, h = {
|
|
13
14
|
canvas: (e, t) => [
|
|
14
|
-
|
|
15
|
+
m,
|
|
15
16
|
{
|
|
16
17
|
kzqmXN: e == null ? e : "x5lhr3w",
|
|
17
18
|
kZKoxP: t == null ? t : "x16ye13r",
|
|
@@ -81,132 +82,132 @@ var f = {
|
|
|
81
82
|
kInvED: "x2ssjo2",
|
|
82
83
|
$$css: !0
|
|
83
84
|
}
|
|
84
|
-
},
|
|
85
|
-
function
|
|
86
|
-
let
|
|
87
|
-
title:
|
|
88
|
-
selection:
|
|
89
|
-
items:
|
|
85
|
+
}, g = 256, _ = 1024, v = 256, y = 8192;
|
|
86
|
+
function b({ title: o, report: m, description: g, nodes: _, edges: v, groups: y = [], width: b, height: C, selection: w, emptyLabel: T }) {
|
|
87
|
+
let E = r({
|
|
88
|
+
title: o,
|
|
89
|
+
selection: w,
|
|
90
|
+
items: _.map((e) => ({
|
|
90
91
|
id: e.id,
|
|
91
92
|
label: [e.label, e.description].filter((e) => e !== void 0).join(", ")
|
|
92
93
|
}))
|
|
93
|
-
}),
|
|
94
|
-
nodes:
|
|
95
|
-
edges:
|
|
96
|
-
groups:
|
|
97
|
-
width:
|
|
98
|
-
height:
|
|
94
|
+
}), D = u(), O = x({
|
|
95
|
+
nodes: _,
|
|
96
|
+
edges: v,
|
|
97
|
+
groups: y,
|
|
98
|
+
width: b,
|
|
99
|
+
height: C
|
|
99
100
|
});
|
|
100
|
-
if (
|
|
101
|
-
title:
|
|
102
|
-
report:
|
|
103
|
-
description:
|
|
104
|
-
message:
|
|
101
|
+
if (O !== null) return /* @__PURE__ */ f(s, {
|
|
102
|
+
title: o,
|
|
103
|
+
report: m,
|
|
104
|
+
description: g,
|
|
105
|
+
message: O
|
|
105
106
|
});
|
|
106
|
-
let
|
|
107
|
-
return
|
|
108
|
-
title:
|
|
109
|
-
report:
|
|
110
|
-
description:
|
|
107
|
+
let k = new Map(_.map((e) => [e.id, e])), A = S(v, k), j = _.length > 0;
|
|
108
|
+
return A === null ? /* @__PURE__ */ f(s, {
|
|
109
|
+
title: o,
|
|
110
|
+
report: m,
|
|
111
|
+
description: g,
|
|
111
112
|
message: "Every relationship must refer to two supplied nodes."
|
|
112
|
-
}) : /* @__PURE__ */
|
|
113
|
-
title:
|
|
114
|
-
report:
|
|
115
|
-
description:
|
|
116
|
-
footer: /* @__PURE__ */
|
|
117
|
-
id:
|
|
118
|
-
children:
|
|
113
|
+
}) : /* @__PURE__ */ p(a, {
|
|
114
|
+
title: o,
|
|
115
|
+
report: m,
|
|
116
|
+
description: g,
|
|
117
|
+
footer: /* @__PURE__ */ f(i, {
|
|
118
|
+
id: E.id,
|
|
119
|
+
children: E.label ?? "\xA0"
|
|
119
120
|
}),
|
|
120
|
-
children: [
|
|
121
|
-
...
|
|
121
|
+
children: [j ? /* @__PURE__ */ f(n, {
|
|
122
|
+
...E.props,
|
|
122
123
|
className: "xysyzu8 xzuc9lq xeuugli x1t137rt xmkeg23 x1y0btm7 x1ey3b81 x13qnu6 x19rmrnh x9v5kkp x1bqaal",
|
|
123
|
-
children: /* @__PURE__ */
|
|
124
|
-
...
|
|
125
|
-
children: [/* @__PURE__ */
|
|
126
|
-
width:
|
|
127
|
-
height:
|
|
124
|
+
children: /* @__PURE__ */ p("div", {
|
|
125
|
+
...c.props(h.canvas(b, C)),
|
|
126
|
+
children: [/* @__PURE__ */ p("svg", {
|
|
127
|
+
width: b,
|
|
128
|
+
height: C,
|
|
128
129
|
"aria-hidden": !0,
|
|
129
130
|
className: "x10l6tqk x10a8y8t x1lliihq",
|
|
130
131
|
children: [
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
id:
|
|
132
|
+
/* @__PURE__ */ f("defs", { children: /* @__PURE__ */ f("marker", {
|
|
133
|
+
id: D,
|
|
133
134
|
markerWidth: 8,
|
|
134
135
|
markerHeight: 8,
|
|
135
136
|
refX: 7,
|
|
136
137
|
refY: 4,
|
|
137
138
|
orient: "auto",
|
|
138
139
|
markerUnits: "userSpaceOnUse",
|
|
139
|
-
children: /* @__PURE__ */
|
|
140
|
+
children: /* @__PURE__ */ f("path", {
|
|
140
141
|
d: "M0,0 L8,4 L0,8 Z",
|
|
141
142
|
className: "x8futc7"
|
|
142
143
|
})
|
|
143
144
|
}) }),
|
|
144
|
-
|
|
145
|
+
y.map((e) => /* @__PURE__ */ p("g", { children: [/* @__PURE__ */ f("rect", {
|
|
145
146
|
x: e.x,
|
|
146
147
|
y: e.y,
|
|
147
148
|
width: e.width,
|
|
148
149
|
height: e.height,
|
|
149
150
|
className: "x2wnxhi x13hfdr1 xnpr05h"
|
|
150
|
-
}), /* @__PURE__ */
|
|
151
|
+
}), /* @__PURE__ */ f("svg", {
|
|
151
152
|
x: e.x,
|
|
152
153
|
y: e.y,
|
|
153
154
|
width: e.width,
|
|
154
155
|
height: e.height,
|
|
155
156
|
overflow: "hidden",
|
|
156
|
-
children: /* @__PURE__ */
|
|
157
|
+
children: /* @__PURE__ */ f("text", {
|
|
157
158
|
x: 12,
|
|
158
159
|
y: 20,
|
|
159
160
|
className: "x1q7gtio x1hz01jw xy8obcc",
|
|
160
161
|
children: e.label
|
|
161
162
|
})
|
|
162
163
|
})] }, e.id)),
|
|
163
|
-
|
|
164
|
-
let r = t.x < n.x, i = t.x + (r ? t.width : 0), a = n.x + (r ? 0 : n.width), o = t.y + t.height / 2, s = n.y + n.height / 2, c = (i + a) / 2, l = t.x + t.width / 2,
|
|
165
|
-
return /* @__PURE__ */
|
|
166
|
-
d,
|
|
167
|
-
markerEnd: e.direction === "directed" ? `url(#${
|
|
164
|
+
A.map(({ edge: e, source: t, target: n }) => {
|
|
165
|
+
let r = t.x < n.x, i = t.x + (r ? t.width : 0), a = n.x + (r ? 0 : n.width), o = t.y + t.height / 2, s = n.y + n.height / 2, c = (i + a) / 2, l = t.x + t.width / 2, u = t.id === n.id ? `M${l - 12},${t.y} C${l - 48},${t.y - 36} ${l + 48},${t.y - 36} ${l + 12},${t.y}` : `M${i},${o} C${c},${o} ${c},${s} ${a},${s}`;
|
|
166
|
+
return /* @__PURE__ */ f("path", {
|
|
167
|
+
d: u,
|
|
168
|
+
markerEnd: e.direction === "directed" ? `url(#${D})` : void 0,
|
|
168
169
|
className: "xbh8q5q x1crw9hw xhr4kjn",
|
|
169
|
-
children: /* @__PURE__ */
|
|
170
|
+
children: /* @__PURE__ */ f("title", { children: e.label })
|
|
170
171
|
}, e.id);
|
|
171
172
|
})
|
|
172
173
|
]
|
|
173
|
-
}),
|
|
174
|
-
let n =
|
|
175
|
-
...
|
|
174
|
+
}), _.map((t) => {
|
|
175
|
+
let n = E.label !== void 0 && E.activeId === t.id, r = [
|
|
176
|
+
...y.filter((e) => e.nodeIds.includes(t.id)).map((e) => e.label),
|
|
176
177
|
t.label,
|
|
177
178
|
t.description
|
|
178
|
-
].filter((e) => e !== void 0).join(", "), i =
|
|
179
|
+
].filter((e) => e !== void 0).join(", "), i = c.props(h.node, h.position(t.x, t.y), h.size(t.width, t.height), h.tone(e[t.tone]), w !== void 0 && h.action, (w?.selectedId === t.id || n) && h.selected), a = /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("span", {
|
|
179
180
|
className: "xtqrqnz x1778rvt xk4h15q xb3r6kr xlyipyv xuxw1ft",
|
|
180
181
|
children: t.label
|
|
181
|
-
}), t.description !== void 0 && t.height >= 56 && /* @__PURE__ */
|
|
182
|
+
}), t.description !== void 0 && t.height >= 56 && /* @__PURE__ */ f("span", {
|
|
182
183
|
className: "xy8obcc xas2l8k x153jb6y xb3r6kr xlyipyv xuxw1ft",
|
|
183
184
|
children: t.description
|
|
184
185
|
})] });
|
|
185
|
-
return
|
|
186
|
-
onPointerEnter: () =>
|
|
186
|
+
return w === void 0 ? /* @__PURE__ */ f("div", {
|
|
187
|
+
onPointerEnter: () => E.inspect(t.id),
|
|
187
188
|
role: "group",
|
|
188
189
|
"aria-label": r,
|
|
189
190
|
title: r,
|
|
190
191
|
...i,
|
|
191
192
|
children: a
|
|
192
|
-
}, t.id) : /* @__PURE__ */
|
|
193
|
+
}, t.id) : /* @__PURE__ */ f(l, {
|
|
193
194
|
type: "button",
|
|
194
195
|
tabIndex: -1,
|
|
195
|
-
onPointerEnter: () =>
|
|
196
|
+
onPointerEnter: () => E.inspect(t.id),
|
|
196
197
|
"aria-label": r,
|
|
197
198
|
title: r,
|
|
198
|
-
"aria-pressed":
|
|
199
|
-
onClick: () =>
|
|
199
|
+
"aria-pressed": w.selectedId === t.id,
|
|
200
|
+
onClick: () => w.onSelect(t.id),
|
|
200
201
|
...i,
|
|
201
202
|
children: a
|
|
202
203
|
}, t.id);
|
|
203
204
|
})]
|
|
204
205
|
})
|
|
205
|
-
}) : /* @__PURE__ */
|
|
206
|
+
}) : /* @__PURE__ */ f("p", {
|
|
206
207
|
className: "x1ghz6dp x153jb6y",
|
|
207
|
-
children:
|
|
208
|
-
}), /* @__PURE__ */
|
|
209
|
-
label: `${
|
|
208
|
+
children: T
|
|
209
|
+
}), /* @__PURE__ */ f(t, {
|
|
210
|
+
label: `${o} graph data`,
|
|
210
211
|
columns: [{
|
|
211
212
|
id: "kind",
|
|
212
213
|
label: "Kind"
|
|
@@ -215,15 +216,15 @@ function v({ title: a, report: f, description: m, nodes: h, edges: g, groups: _
|
|
|
215
216
|
label: "Description"
|
|
216
217
|
}],
|
|
217
218
|
rows: [
|
|
218
|
-
...
|
|
219
|
+
..._.map((e) => ({
|
|
219
220
|
id: `node:${e.id}`,
|
|
220
221
|
values: ["Node", [e.label, e.description].filter((e) => e !== void 0).join(", ")]
|
|
221
222
|
})),
|
|
222
|
-
...
|
|
223
|
+
...y.map((e) => ({
|
|
223
224
|
id: `group:${e.id}`,
|
|
224
|
-
values: ["Group", `${e.label}: ${e.nodeIds.map((e) =>
|
|
225
|
+
values: ["Group", `${e.label}: ${e.nodeIds.map((e) => k.get(e)?.label).join(", ")}`]
|
|
225
226
|
})),
|
|
226
|
-
...
|
|
227
|
+
...A.map(({ edge: e, source: t, target: n }) => ({
|
|
227
228
|
id: `edge:${e.id}`,
|
|
228
229
|
values: ["Relationship", `${t.label + (e.direction === "directed" ? " → " : " ↔ ") + n.label}: ${e.label}`]
|
|
229
230
|
}))
|
|
@@ -231,22 +232,22 @@ function v({ title: a, report: f, description: m, nodes: h, edges: g, groups: _
|
|
|
231
232
|
})]
|
|
232
233
|
});
|
|
233
234
|
}
|
|
234
|
-
function
|
|
235
|
-
if (!Number.isFinite(r) || r <= 0 || r > 8192 || !Number.isFinite(i) || i <= 0 || i > 8192) return `Graph dimensions must be finite, positive, and at most ${
|
|
236
|
-
if (e.length > 256 || t.length > 1024 || n.length > 256) return `This graph exceeds the render limit of 256 nodes, ${
|
|
237
|
-
let
|
|
238
|
-
return !
|
|
235
|
+
function x({ nodes: e, edges: t, groups: n, width: r, height: i }) {
|
|
236
|
+
if (!Number.isFinite(r) || r <= 0 || r > 8192 || !Number.isFinite(i) || i <= 0 || i > 8192) return `Graph dimensions must be finite, positive, and at most ${y} pixels.`;
|
|
237
|
+
if (e.length > 256 || t.length > 1024 || n.length > 256) return `This graph exceeds the render limit of 256 nodes, ${_} relationships, or 256 groups. Supply a smaller, labelled neighborhood.`;
|
|
238
|
+
let a = new Set(e.map((e) => e.id));
|
|
239
|
+
return !o(e) || !o(t) || !o(n) ? "Graph nodes, relationships, and groups must have unique identifiers." : [...e, ...n].some((e) => {
|
|
239
240
|
if (!Number.isFinite(e.width) || !Number.isFinite(e.height) || e.width <= 0 || e.height <= 0) return !0;
|
|
240
241
|
let t = !Number.isFinite(e.x) || e.x < 0 || e.x + e.width > r, n = !Number.isFinite(e.y) || e.y < 0 || e.y + e.height > i;
|
|
241
242
|
return t || n;
|
|
242
|
-
}) ? "Graph boxes must have finite, positive dimensions and fit inside the supplied canvas." : e.some((e) => e.width < 44 || e.height < 44) ? "Graph node boxes must be at least 44 by 44 pixels." : t.some((t) => t.sourceId === t.targetId && e.some((e) => e.id === t.sourceId && e.y < 36)) ? "A self-relationship needs at least 36 pixels of space above its node." : n.some((e) => new Set(e.nodeIds).size !== e.nodeIds.length || e.nodeIds.some((e) => !
|
|
243
|
+
}) ? "Graph boxes must have finite, positive dimensions and fit inside the supplied canvas." : e.some((e) => e.width < 44 || e.height < 44) ? "Graph node boxes must be at least 44 by 44 pixels." : t.some((t) => t.sourceId === t.targetId && e.some((e) => e.id === t.sourceId && e.y < 36)) ? "A self-relationship needs at least 36 pixels of space above its node." : n.some((e) => new Set(e.nodeIds).size !== e.nodeIds.length || e.nodeIds.some((e) => !a.has(e))) ? "Each group must contain unique references to supplied nodes." : n.some((t) => t.nodeIds.some((n) => {
|
|
243
244
|
let r = e.find((e) => e.id === n);
|
|
244
245
|
if (r === void 0) return !1;
|
|
245
246
|
let i = r.x < t.x || r.x + r.width > t.x + t.width, a = r.y < t.y || r.y + r.height > t.y + t.height;
|
|
246
247
|
return i || a;
|
|
247
248
|
})) ? "A group box must contain the node boxes assigned to it." : null;
|
|
248
249
|
}
|
|
249
|
-
function
|
|
250
|
+
function S(e, t) {
|
|
250
251
|
let n = [];
|
|
251
252
|
for (let r of e) {
|
|
252
253
|
let e = t.get(r.sourceId), i = t.get(r.targetId);
|
|
@@ -259,4 +260,4 @@ function b(e, t) {
|
|
|
259
260
|
}
|
|
260
261
|
return n;
|
|
261
262
|
}
|
|
262
|
-
export {
|
|
263
|
+
export { y as MAX_RELATION_DIMENSION, _ as MAX_RELATION_EDGES, v as MAX_RELATION_GROUPS, g as MAX_RELATION_NODES, b as RelationGraph };
|
package/dist/charts/hierarchy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as e } from "../src-
|
|
2
|
-
import { i as t, r as n, t as r } from "../categorical-values-
|
|
3
|
-
import { n as i } from "../chart-frame-
|
|
4
|
-
import { t as a } from "../chart-input-
|
|
1
|
+
import { c as e } from "../src-DfOAlAd2.js";
|
|
2
|
+
import { i as t, r as n, t as r } from "../categorical-values-DnGR_pQx.js";
|
|
3
|
+
import { n as i } from "../chart-frame-BsyI1Zc8.js";
|
|
4
|
+
import { t as a } from "../chart-input-r4S3-QCT.js";
|
|
5
5
|
import { n as o, t as s } from "../plot-width-BQQS-mw9.js";
|
|
6
6
|
import * as c from "@stylexjs/stylex";
|
|
7
7
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|