@knpkv/rly 0.13.0 → 0.14.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/README.md +24 -0
- package/dist/assets/relay-mark.svg +9 -0
- package/dist/components.css +1 -1
- package/dist/dts/patterns/Region.d.ts +2 -2
- package/dist/dts/patterns/Region.d.ts.map +1 -1
- package/dist/dts/patterns/RelayDock.d.ts.map +1 -1
- package/dist/dts/patterns/RelayLauncher.d.ts +36 -0
- package/dist/dts/patterns/RelayLauncher.d.ts.map +1 -0
- package/dist/dts/patterns/RelayMark.d.ts +35 -0
- package/dist/dts/patterns/RelayMark.d.ts.map +1 -0
- package/dist/dts/patterns/index.d.ts +4 -0
- package/dist/dts/patterns/index.d.ts.map +1 -1
- package/dist/fonts.css +76 -0
- package/dist/generated-tokens.css +2 -2
- package/dist/index.js +5 -5
- package/dist/patterns/index.js +2 -2
- package/dist/{patterns-DPd5YlSW.js → patterns-ChmGSFqO.js} +925 -848
- package/dist/patterns-ChmGSFqO.js.map +1 -0
- package/dist/primitives-Bd6WhE78.js.map +1 -1
- package/package.json +2 -1
- package/registry/components.json +168 -0
- package/registry/search.json +43 -0
- package/dist/patterns-DPd5YlSW.js.map +0 -1
|
@@ -3,9 +3,9 @@ import { n as r } from "./LinkProvider-DMkhwZ3P.js";
|
|
|
3
3
|
import { a as i, c as a, i as o, l as s, n as c, r as l, s as u, t as d } from "./component-DKy8kjZl.js";
|
|
4
4
|
import { A as f, F as p, I as m, L as h, M as g, N as _, P as v, R as y, T as b, f as x, g as S, h as C, i as ee, j as te, l as ne, t as w, w as T, y as re, z as ie } from "./Dialog-B9Ub_gMT.js";
|
|
5
5
|
import { Portal as ae } from "radix-ui";
|
|
6
|
-
import { useCallback as oe, useId as E, useLayoutEffect as se, useRef as
|
|
7
|
-
import { Fragment as
|
|
8
|
-
var
|
|
6
|
+
import { useCallback as oe, useId as E, useLayoutEffect as se, useRef as D, useState as ce, useSyncExternalStore as le } from "react";
|
|
7
|
+
import { Fragment as ue, jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
8
|
+
var de = {
|
|
9
9
|
root: "rly_AgentContextButton-module__root",
|
|
10
10
|
mark: "rly_AgentContextButton-module__mark",
|
|
11
11
|
glyph: "rly_AgentContextButton-module__glyph",
|
|
@@ -17,62 +17,62 @@ var fe = {
|
|
|
17
17
|
context: "rly_AgentContextButton-module__context",
|
|
18
18
|
job: "rly_AgentContextButton-module__job",
|
|
19
19
|
count: "rly_AgentContextButton-module__count"
|
|
20
|
-
},
|
|
20
|
+
}, A = (e) => c(de, e), fe = () => /* @__PURE__ */ O("span", {
|
|
21
21
|
"aria-hidden": "true",
|
|
22
|
-
className:
|
|
23
|
-
children: /* @__PURE__ */
|
|
24
|
-
className:
|
|
22
|
+
className: A("mark"),
|
|
23
|
+
children: /* @__PURE__ */ O("svg", {
|
|
24
|
+
className: A("glyph"),
|
|
25
25
|
focusable: "false",
|
|
26
26
|
viewBox: "0 0 24 24",
|
|
27
|
-
children: /* @__PURE__ */
|
|
27
|
+
children: /* @__PURE__ */ O("path", {
|
|
28
28
|
d: "M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z",
|
|
29
29
|
fill: "currentColor"
|
|
30
30
|
})
|
|
31
31
|
})
|
|
32
|
-
}),
|
|
32
|
+
}), pe = ({ actionLabel: e = "Ask agent", agentName: t, className: n, context: r, contextLabel: i = "Context", job: a, type: s, ...c }) => {
|
|
33
33
|
let l = o(e, "AgentContextButton actionLabel"), u = o(t, "AgentContextButton agentName"), f = o(r, "AgentContextButton context"), p = o(i, "AgentContextButton contextLabel"), m = a === void 0 ? void 0 : o(a.status, "AgentContextButton job status");
|
|
34
34
|
if (a?.count !== void 0 && (!Number.isInteger(a.count) || a.count < 0)) throw Error("AgentContextButton job count must be a non-negative integer");
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ k("button", {
|
|
36
36
|
...c,
|
|
37
|
-
className: d(
|
|
37
|
+
className: d(A("root"), n),
|
|
38
38
|
"data-rly-agent-context-button": "",
|
|
39
39
|
type: s ?? "button",
|
|
40
40
|
children: [
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
className:
|
|
41
|
+
/* @__PURE__ */ O(fe, {}),
|
|
42
|
+
/* @__PURE__ */ k("span", {
|
|
43
|
+
className: A("copy"),
|
|
44
44
|
children: [
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
className:
|
|
45
|
+
/* @__PURE__ */ O("span", {
|
|
46
|
+
className: A("action"),
|
|
47
47
|
children: l
|
|
48
48
|
}),
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
className:
|
|
49
|
+
/* @__PURE__ */ O("span", {
|
|
50
|
+
className: A("agent"),
|
|
51
51
|
children: u
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
className:
|
|
55
|
-
children: [/* @__PURE__ */
|
|
56
|
-
className:
|
|
53
|
+
/* @__PURE__ */ k("span", {
|
|
54
|
+
className: A("contextRow"),
|
|
55
|
+
children: [/* @__PURE__ */ O("span", {
|
|
56
|
+
className: A("contextLabel"),
|
|
57
57
|
children: p
|
|
58
|
-
}), /* @__PURE__ */
|
|
59
|
-
className:
|
|
58
|
+
}), /* @__PURE__ */ O("span", {
|
|
59
|
+
className: A("context"),
|
|
60
60
|
children: f
|
|
61
61
|
})]
|
|
62
62
|
})
|
|
63
63
|
]
|
|
64
64
|
}),
|
|
65
|
-
m === void 0 ? null : /* @__PURE__ */
|
|
66
|
-
className:
|
|
65
|
+
m === void 0 ? null : /* @__PURE__ */ k("span", {
|
|
66
|
+
className: A("job"),
|
|
67
67
|
"data-rly-agent-job": "",
|
|
68
|
-
children: [m, a?.count === void 0 ? null : /* @__PURE__ */
|
|
69
|
-
className:
|
|
68
|
+
children: [m, a?.count === void 0 ? null : /* @__PURE__ */ O("span", {
|
|
69
|
+
className: A("count"),
|
|
70
70
|
children: a.count
|
|
71
71
|
})]
|
|
72
72
|
})
|
|
73
73
|
]
|
|
74
74
|
});
|
|
75
|
-
},
|
|
75
|
+
}, me = {
|
|
76
76
|
drawer: "rly_AgentDrawer-module__drawer",
|
|
77
77
|
body: "rly_AgentDrawer-module__body",
|
|
78
78
|
slot: "rly_AgentDrawer-module__slot",
|
|
@@ -85,88 +85,88 @@ var fe = {
|
|
|
85
85
|
eyebrow: "rly_AgentDrawer-module__eyebrow",
|
|
86
86
|
slotTitle: "rly_AgentDrawer-module__slotTitle",
|
|
87
87
|
contextSummary: "rly_AgentDrawer-module__contextSummary"
|
|
88
|
-
},
|
|
88
|
+
}, j = (e) => c(me, e), he = () => /* @__PURE__ */ O("span", {
|
|
89
89
|
"aria-hidden": "true",
|
|
90
|
-
className:
|
|
91
|
-
children: /* @__PURE__ */
|
|
92
|
-
className:
|
|
90
|
+
className: j("mark"),
|
|
91
|
+
children: /* @__PURE__ */ O("svg", {
|
|
92
|
+
className: j("glyph"),
|
|
93
93
|
focusable: "false",
|
|
94
94
|
viewBox: "0 0 24 24",
|
|
95
|
-
children: /* @__PURE__ */
|
|
95
|
+
children: /* @__PURE__ */ O("path", {
|
|
96
96
|
d: "M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z",
|
|
97
97
|
fill: "currentColor"
|
|
98
98
|
})
|
|
99
99
|
})
|
|
100
|
-
}),
|
|
101
|
-
className:
|
|
100
|
+
}), ge = ({ children: e, label: t, name: n }) => /* @__PURE__ */ k("section", {
|
|
101
|
+
className: j("slot"),
|
|
102
102
|
"data-rly-agent-drawer-slot": n,
|
|
103
|
-
children: [/* @__PURE__ */
|
|
104
|
-
className:
|
|
103
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
104
|
+
className: j("slotTitle"),
|
|
105
105
|
children: t
|
|
106
|
-
}), /* @__PURE__ */
|
|
107
|
-
className:
|
|
106
|
+
}), /* @__PURE__ */ O("div", {
|
|
107
|
+
className: j("slotContent"),
|
|
108
108
|
children: e
|
|
109
109
|
})]
|
|
110
|
-
}),
|
|
111
|
-
let h = o(e, "AgentDrawer agentName"), g = o(a, "AgentDrawer contextSummary"), _ = o(p, "AgentDrawer title"), v =
|
|
112
|
-
return /* @__PURE__ */
|
|
110
|
+
}), _e = ({ agentName: e, capabilities: t, className: n, composer: r, context: i, contextSummary: a, evidence: s, onOpenChange: c, open: l, thread: u, title: p, ...m }) => {
|
|
111
|
+
let h = o(e, "AgentDrawer agentName"), g = o(a, "AgentDrawer contextSummary"), _ = o(p, "AgentDrawer title"), v = D(null);
|
|
112
|
+
return /* @__PURE__ */ O(f.Root, {
|
|
113
113
|
onOpenChange: c,
|
|
114
114
|
open: l,
|
|
115
|
-
children: /* @__PURE__ */
|
|
116
|
-
className: d(
|
|
115
|
+
children: /* @__PURE__ */ O(f.Content, {
|
|
116
|
+
className: d(j("drawer"), n),
|
|
117
117
|
description: `Context-aware session with ${h}`,
|
|
118
118
|
initialFocusRef: v,
|
|
119
119
|
title: _,
|
|
120
|
-
children: /* @__PURE__ */
|
|
120
|
+
children: /* @__PURE__ */ k(f.Body, {
|
|
121
121
|
...m,
|
|
122
|
-
className:
|
|
122
|
+
className: j("body"),
|
|
123
123
|
children: [
|
|
124
|
-
/* @__PURE__ */
|
|
125
|
-
className: d(
|
|
124
|
+
/* @__PURE__ */ k("section", {
|
|
125
|
+
className: d(j("slot"), j("contextSlot")),
|
|
126
126
|
"data-rly-agent-drawer-slot": "context",
|
|
127
127
|
ref: v,
|
|
128
128
|
tabIndex: -1,
|
|
129
|
-
children: [/* @__PURE__ */
|
|
130
|
-
className:
|
|
131
|
-
children: [/* @__PURE__ */
|
|
132
|
-
className:
|
|
133
|
-
children: [/* @__PURE__ */
|
|
134
|
-
className:
|
|
129
|
+
children: [/* @__PURE__ */ k("div", {
|
|
130
|
+
className: j("identity"),
|
|
131
|
+
children: [/* @__PURE__ */ O(he, {}), /* @__PURE__ */ k("div", {
|
|
132
|
+
className: j("identityCopy"),
|
|
133
|
+
children: [/* @__PURE__ */ O("span", {
|
|
134
|
+
className: j("eyebrow"),
|
|
135
135
|
children: h
|
|
136
|
-
}), /* @__PURE__ */
|
|
137
|
-
className:
|
|
136
|
+
}), /* @__PURE__ */ O("h2", {
|
|
137
|
+
className: j("contextSummary"),
|
|
138
138
|
children: g
|
|
139
139
|
})]
|
|
140
140
|
})]
|
|
141
|
-
}), /* @__PURE__ */
|
|
142
|
-
className:
|
|
141
|
+
}), /* @__PURE__ */ O("div", {
|
|
142
|
+
className: j("slotContent"),
|
|
143
143
|
children: i
|
|
144
144
|
})]
|
|
145
145
|
}),
|
|
146
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ O(ge, {
|
|
147
147
|
label: "Evidence",
|
|
148
148
|
name: "evidence",
|
|
149
149
|
children: s
|
|
150
150
|
}),
|
|
151
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ O(ge, {
|
|
152
152
|
label: "Capabilities",
|
|
153
153
|
name: "capabilities",
|
|
154
154
|
children: t
|
|
155
155
|
}),
|
|
156
|
-
/* @__PURE__ */
|
|
156
|
+
/* @__PURE__ */ k("section", {
|
|
157
157
|
"aria-live": "polite",
|
|
158
158
|
"aria-relevant": "additions text",
|
|
159
|
-
className:
|
|
159
|
+
className: j("slot"),
|
|
160
160
|
"data-rly-agent-drawer-slot": "thread",
|
|
161
|
-
children: [/* @__PURE__ */
|
|
162
|
-
className:
|
|
161
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
162
|
+
className: j("slotTitle"),
|
|
163
163
|
children: "Thread"
|
|
164
|
-
}), /* @__PURE__ */
|
|
165
|
-
className:
|
|
164
|
+
}), /* @__PURE__ */ O("div", {
|
|
165
|
+
className: j("slotContent"),
|
|
166
166
|
children: u
|
|
167
167
|
})]
|
|
168
168
|
}),
|
|
169
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ O(ge, {
|
|
170
170
|
label: "Message",
|
|
171
171
|
name: "composer",
|
|
172
172
|
children: r
|
|
@@ -175,7 +175,7 @@ var fe = {
|
|
|
175
175
|
})
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
|
-
},
|
|
178
|
+
}, ve = {
|
|
179
179
|
root: "rly_AgentJob-module__root",
|
|
180
180
|
header: "rly_AgentJob-module__header",
|
|
181
181
|
agentGlyph: "rly_AgentJob-module__agentGlyph",
|
|
@@ -187,10 +187,10 @@ var fe = {
|
|
|
187
187
|
slot: "rly_AgentJob-module__slot",
|
|
188
188
|
footer: "rly_AgentJob-module__footer",
|
|
189
189
|
outcome: "rly_AgentJob-module__outcome"
|
|
190
|
-
},
|
|
190
|
+
}, M = (e) => c(ve, e), ye = (e, t) => {
|
|
191
191
|
if (e == null || i(e)) throw Error(`${t} must contain renderable content`);
|
|
192
192
|
s(e) && o(e, t);
|
|
193
|
-
},
|
|
193
|
+
}, be = {
|
|
194
194
|
queued: {
|
|
195
195
|
label: "Queued",
|
|
196
196
|
tone: "neutral"
|
|
@@ -215,83 +215,83 @@ var fe = {
|
|
|
215
215
|
label: "Cancelled",
|
|
216
216
|
tone: "neutral"
|
|
217
217
|
}
|
|
218
|
-
},
|
|
218
|
+
}, xe = (e) => {
|
|
219
219
|
if (e !== void 0 && (!Number.isFinite(e) || e < 0 || e > 100)) throw Error("AgentJob progress must be between 0 and 100");
|
|
220
|
-
},
|
|
220
|
+
}, Se = ({ cancelLabel: e = "Request cancellation", capability: t, className: n, context: r, evidence: i, heading: a, onCancel: s, outcome: c, progress: l, provider: u, revision: f, sandbox: p, state: m, ...h }) => {
|
|
221
221
|
let g = o(a, "AgentJob heading"), _ = o(u, "AgentJob provider"), v = o(t, "AgentJob capability"), y = o(e, "AgentJob cancelLabel");
|
|
222
|
-
|
|
223
|
-
let x =
|
|
224
|
-
return /* @__PURE__ */
|
|
222
|
+
ye(r, "AgentJob context"), ye(i, "AgentJob evidence"), (m === "succeeded" || m === "failed" || m === "cancelled") && ye(c, "AgentJob terminal outcome"), p !== void 0 && o(p, "AgentJob sandbox"), f !== void 0 && o(f, "AgentJob revision"), xe(l);
|
|
223
|
+
let x = be[m], S = m === "queued" || m === "running", C = `rly-agent-job-progress-${E()}`;
|
|
224
|
+
return /* @__PURE__ */ k("article", {
|
|
225
225
|
...h,
|
|
226
226
|
"aria-busy": m === "queued" || m === "running" || m === "cancel-requested",
|
|
227
|
-
className: d(
|
|
227
|
+
className: d(M("root"), n),
|
|
228
228
|
"data-rly-agent-job-state": m,
|
|
229
229
|
children: [
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
className:
|
|
230
|
+
/* @__PURE__ */ k("header", {
|
|
231
|
+
className: M("header"),
|
|
232
232
|
children: [
|
|
233
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ O("span", {
|
|
234
234
|
"aria-hidden": "true",
|
|
235
|
-
className:
|
|
235
|
+
className: M("agentGlyph"),
|
|
236
236
|
children: "AI"
|
|
237
237
|
}),
|
|
238
|
-
/* @__PURE__ */
|
|
239
|
-
className:
|
|
240
|
-
children: [/* @__PURE__ */
|
|
241
|
-
className:
|
|
238
|
+
/* @__PURE__ */ k("span", {
|
|
239
|
+
className: M("titleBlock"),
|
|
240
|
+
children: [/* @__PURE__ */ k("span", {
|
|
241
|
+
className: M("eyebrow"),
|
|
242
242
|
children: [
|
|
243
243
|
_,
|
|
244
244
|
", ",
|
|
245
245
|
v
|
|
246
246
|
]
|
|
247
|
-
}), /* @__PURE__ */
|
|
247
|
+
}), /* @__PURE__ */ O("h2", { children: g })]
|
|
248
248
|
}),
|
|
249
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ O(T, {
|
|
250
250
|
label: x.label,
|
|
251
251
|
size: "compact",
|
|
252
252
|
tone: x.tone
|
|
253
253
|
})
|
|
254
254
|
]
|
|
255
255
|
}),
|
|
256
|
-
l === void 0 ? null : /* @__PURE__ */
|
|
257
|
-
className:
|
|
258
|
-
children: [/* @__PURE__ */
|
|
259
|
-
className:
|
|
256
|
+
l === void 0 ? null : /* @__PURE__ */ k("div", {
|
|
257
|
+
className: M("progressBlock"),
|
|
258
|
+
children: [/* @__PURE__ */ k("span", {
|
|
259
|
+
className: M("progressLabel"),
|
|
260
260
|
id: C,
|
|
261
|
-
children: ["Progress ", /* @__PURE__ */
|
|
262
|
-
}), /* @__PURE__ */
|
|
261
|
+
children: ["Progress ", /* @__PURE__ */ k("strong", { children: [Math.round(l), "%"] })]
|
|
262
|
+
}), /* @__PURE__ */ O("progress", {
|
|
263
263
|
"aria-labelledby": C,
|
|
264
264
|
max: 100,
|
|
265
265
|
value: l
|
|
266
266
|
})]
|
|
267
267
|
}),
|
|
268
|
-
/* @__PURE__ */
|
|
269
|
-
className:
|
|
268
|
+
/* @__PURE__ */ k("dl", {
|
|
269
|
+
className: M("metadata"),
|
|
270
270
|
children: [
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */
|
|
273
|
-
p === void 0 ? null : /* @__PURE__ */
|
|
274
|
-
f === void 0 ? null : /* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Provider" }), /* @__PURE__ */ O("dd", { children: _ })] }),
|
|
272
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Capability" }), /* @__PURE__ */ O("dd", { children: v })] }),
|
|
273
|
+
p === void 0 ? null : /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Sandbox" }), /* @__PURE__ */ O("dd", { children: /* @__PURE__ */ O("code", { children: p }) })] }),
|
|
274
|
+
f === void 0 ? null : /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Revision" }), /* @__PURE__ */ O("dd", { children: /* @__PURE__ */ O("code", { children: f }) })] })
|
|
275
275
|
]
|
|
276
276
|
}),
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
className:
|
|
277
|
+
/* @__PURE__ */ k("section", {
|
|
278
|
+
className: M("slot"),
|
|
279
279
|
"data-rly-agent-job-context": "",
|
|
280
|
-
children: [/* @__PURE__ */
|
|
280
|
+
children: [/* @__PURE__ */ O("h3", { children: "Exact context" }), r]
|
|
281
281
|
}),
|
|
282
|
-
/* @__PURE__ */
|
|
283
|
-
className:
|
|
282
|
+
/* @__PURE__ */ k("section", {
|
|
283
|
+
className: M("slot"),
|
|
284
284
|
"data-rly-agent-job-evidence": "",
|
|
285
|
-
children: [/* @__PURE__ */
|
|
285
|
+
children: [/* @__PURE__ */ O("h3", { children: "Evidence" }), i]
|
|
286
286
|
}),
|
|
287
|
-
c === void 0 ? null : /* @__PURE__ */
|
|
288
|
-
className: d(
|
|
287
|
+
c === void 0 ? null : /* @__PURE__ */ k("section", {
|
|
288
|
+
className: d(M("slot"), M("outcome")),
|
|
289
289
|
"data-rly-agent-job-outcome": m,
|
|
290
|
-
children: [/* @__PURE__ */
|
|
290
|
+
children: [/* @__PURE__ */ O("h3", { children: "Terminal outcome" }), c]
|
|
291
291
|
}),
|
|
292
|
-
S && s !== void 0 ? /* @__PURE__ */
|
|
293
|
-
className:
|
|
294
|
-
children: /* @__PURE__ */
|
|
292
|
+
S && s !== void 0 ? /* @__PURE__ */ O("footer", {
|
|
293
|
+
className: M("footer"),
|
|
294
|
+
children: /* @__PURE__ */ O(b, {
|
|
295
295
|
onClick: s,
|
|
296
296
|
variant: "quiet",
|
|
297
297
|
children: y
|
|
@@ -299,7 +299,7 @@ var fe = {
|
|
|
299
299
|
}) : null
|
|
300
300
|
]
|
|
301
301
|
});
|
|
302
|
-
},
|
|
302
|
+
}, Ce = {
|
|
303
303
|
root: "rly_AgentProposal-module__root",
|
|
304
304
|
header: "rly_AgentProposal-module__header",
|
|
305
305
|
agentIdentity: "rly_AgentProposal-module__agentIdentity",
|
|
@@ -314,10 +314,10 @@ var fe = {
|
|
|
314
314
|
outcome: "rly_AgentProposal-module__outcome",
|
|
315
315
|
state: "rly_AgentProposal-module__state",
|
|
316
316
|
facts: "rly_AgentProposal-module__facts"
|
|
317
|
-
},
|
|
317
|
+
}, N = (e) => c(Ce, e), we = (e) => {
|
|
318
318
|
o(e.id, "AgentProposal agent id"), o(e.name, "AgentProposal agent name"), o(e.role, "AgentProposal agent role"), o(e.avatarFallback, "AgentProposal agent avatarFallback"), e.avatarSrc !== void 0 && o(e.avatarSrc, "AgentProposal agent avatarSrc");
|
|
319
|
-
},
|
|
320
|
-
if (o(e.id, "AgentProposal id"),
|
|
319
|
+
}, Te = (e) => {
|
|
320
|
+
if (o(e.id, "AgentProposal id"), we(e.agent), o(e.capability, "AgentProposal capability"), o(e.context, "AgentProposal context"), o(e.expectedRevision, "AgentProposal expectedRevision"), o(e.impact, "AgentProposal impact"), o(e.target, "AgentProposal target"), e.evidence.length === 0) throw Error("AgentProposal evidence must contain at least one reference");
|
|
321
321
|
let t = /* @__PURE__ */ new Set();
|
|
322
322
|
for (let n of e.evidence) {
|
|
323
323
|
let e = o(n.id, "AgentProposal evidence id");
|
|
@@ -325,82 +325,82 @@ var fe = {
|
|
|
325
325
|
t.add(e), o(n.label, `AgentProposal evidence label for ${e}`), o(n.reference, `AgentProposal evidence reference for ${e}`);
|
|
326
326
|
}
|
|
327
327
|
return e;
|
|
328
|
-
},
|
|
329
|
-
let a =
|
|
330
|
-
return /* @__PURE__ */
|
|
328
|
+
}, Ee = ({ className: e, outcome: t, proposal: n, state: r, ...i }) => {
|
|
329
|
+
let a = Te(n), o = `rly-agent-proposal-${E()}`, s = `rly-agent-proposal-reference-${E()}`;
|
|
330
|
+
return /* @__PURE__ */ k("section", {
|
|
331
331
|
...i,
|
|
332
332
|
"aria-labelledby": `${o} ${s}`,
|
|
333
|
-
className: d(
|
|
333
|
+
className: d(N("root"), e),
|
|
334
334
|
"data-rly-agent-proposal-id": a.id,
|
|
335
335
|
children: [
|
|
336
|
-
/* @__PURE__ */
|
|
337
|
-
className:
|
|
338
|
-
children: [/* @__PURE__ */
|
|
339
|
-
className:
|
|
340
|
-
children: [/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ k("header", {
|
|
337
|
+
className: N("header"),
|
|
338
|
+
children: [/* @__PURE__ */ k("div", {
|
|
339
|
+
className: N("agentIdentity"),
|
|
340
|
+
children: [/* @__PURE__ */ O(re, {
|
|
341
341
|
decorative: !0,
|
|
342
342
|
fallback: a.agent.avatarFallback,
|
|
343
343
|
form: "rounded-square",
|
|
344
344
|
...a.agent.avatarSrc === void 0 ? {} : { src: a.agent.avatarSrc }
|
|
345
|
-
}), /* @__PURE__ */
|
|
346
|
-
className:
|
|
345
|
+
}), /* @__PURE__ */ k("div", {
|
|
346
|
+
className: N("agentText"),
|
|
347
347
|
children: [
|
|
348
|
-
/* @__PURE__ */
|
|
349
|
-
className:
|
|
348
|
+
/* @__PURE__ */ O("p", {
|
|
349
|
+
className: N("eyebrow"),
|
|
350
350
|
children: "Agent proposal"
|
|
351
351
|
}),
|
|
352
|
-
/* @__PURE__ */
|
|
353
|
-
className:
|
|
352
|
+
/* @__PURE__ */ O("h2", {
|
|
353
|
+
className: N("heading"),
|
|
354
354
|
id: o,
|
|
355
355
|
children: a.agent.name
|
|
356
356
|
}),
|
|
357
|
-
/* @__PURE__ */
|
|
358
|
-
className:
|
|
357
|
+
/* @__PURE__ */ O("p", {
|
|
358
|
+
className: N("agentRole"),
|
|
359
359
|
children: a.agent.role
|
|
360
360
|
}),
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
className:
|
|
361
|
+
/* @__PURE__ */ O("code", {
|
|
362
|
+
className: N("proposalReference"),
|
|
363
363
|
id: s,
|
|
364
364
|
children: a.id
|
|
365
365
|
})
|
|
366
366
|
]
|
|
367
367
|
})]
|
|
368
|
-
}), /* @__PURE__ */
|
|
369
|
-
className:
|
|
368
|
+
}), /* @__PURE__ */ O("div", {
|
|
369
|
+
className: N("state"),
|
|
370
370
|
"data-rly-agent-proposal-slot": "state",
|
|
371
371
|
children: r
|
|
372
372
|
})]
|
|
373
373
|
}),
|
|
374
|
-
/* @__PURE__ */
|
|
375
|
-
className:
|
|
374
|
+
/* @__PURE__ */ O("p", {
|
|
375
|
+
className: N("boundary"),
|
|
376
376
|
children: "This is an agent proposal. It is not human authorization."
|
|
377
377
|
}),
|
|
378
|
-
/* @__PURE__ */
|
|
379
|
-
className:
|
|
380
|
-
children: [/* @__PURE__ */
|
|
378
|
+
/* @__PURE__ */ k("p", {
|
|
379
|
+
className: N("context"),
|
|
380
|
+
children: [/* @__PURE__ */ O("span", { children: "Context" }), a.context]
|
|
381
381
|
}),
|
|
382
|
-
/* @__PURE__ */
|
|
383
|
-
className:
|
|
382
|
+
/* @__PURE__ */ k("dl", {
|
|
383
|
+
className: N("facts"),
|
|
384
384
|
children: [
|
|
385
|
-
/* @__PURE__ */
|
|
386
|
-
/* @__PURE__ */
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
-
/* @__PURE__ */
|
|
385
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Capability" }), /* @__PURE__ */ O("dd", { children: a.capability })] }),
|
|
386
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Target" }), /* @__PURE__ */ O("dd", { children: a.target })] }),
|
|
387
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Expected revision" }), /* @__PURE__ */ O("dd", { children: a.expectedRevision })] }),
|
|
388
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Impact" }), /* @__PURE__ */ O("dd", { children: a.impact })] })
|
|
389
389
|
]
|
|
390
390
|
}),
|
|
391
|
-
/* @__PURE__ */
|
|
392
|
-
className:
|
|
391
|
+
/* @__PURE__ */ k("div", {
|
|
392
|
+
className: N("evidence"),
|
|
393
393
|
"data-rly-agent-proposal-evidence": "",
|
|
394
|
-
children: [/* @__PURE__ */
|
|
394
|
+
children: [/* @__PURE__ */ O("h3", { children: "Evidence" }), /* @__PURE__ */ O("ul", { children: a.evidence.map((e) => /* @__PURE__ */ k("li", { children: [/* @__PURE__ */ O("span", { children: e.label }), /* @__PURE__ */ O("code", { children: e.reference })] }, e.id)) })]
|
|
395
395
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
397
|
-
className:
|
|
396
|
+
/* @__PURE__ */ k("div", {
|
|
397
|
+
className: N("outcome"),
|
|
398
398
|
"data-rly-agent-proposal-slot": "outcome",
|
|
399
|
-
children: [/* @__PURE__ */
|
|
399
|
+
children: [/* @__PURE__ */ O("h3", { children: "Outcome" }), t]
|
|
400
400
|
})
|
|
401
401
|
]
|
|
402
402
|
});
|
|
403
|
-
},
|
|
403
|
+
}, De = {
|
|
404
404
|
root: "rly_AgentThread-module__root",
|
|
405
405
|
header: "rly_AgentThread-module__header",
|
|
406
406
|
messageHead: "rly_AgentThread-module__messageHead",
|
|
@@ -421,128 +421,128 @@ var fe = {
|
|
|
421
421
|
content: "rly_AgentThread-module__content",
|
|
422
422
|
evidence: "rly_AgentThread-module__evidence",
|
|
423
423
|
visuallyHidden: "rly_AgentThread-module__visuallyHidden"
|
|
424
|
-
},
|
|
424
|
+
}, P = (e) => c(De, e), Oe = (e, t) => {
|
|
425
425
|
if (e == null || i(e)) throw Error(`${t} must contain renderable content`);
|
|
426
426
|
s(e) && o(e, t);
|
|
427
|
-
},
|
|
427
|
+
}, ke = (e) => {
|
|
428
428
|
let t = e.trim().split(/\s+/u), n = Array.from(t[0] ?? "")[0] ?? "", r = Array.from(t[t.length - 1] ?? "")[0] ?? "";
|
|
429
429
|
return o(`${n}${t.length > 1 ? r : ""}`, "AgentThread actor fallback");
|
|
430
|
-
},
|
|
430
|
+
}, Ae = (e) => {
|
|
431
431
|
if (e.kind === "human") {
|
|
432
432
|
o(e.person.id, "AgentThread human id"), o(e.person.name, "AgentThread human name"), o(e.person.role, "AgentThread human role"), e.person.avatarFallback !== void 0 && o(e.person.avatarFallback, "AgentThread human avatarFallback"), e.person.avatarSrc !== void 0 && o(e.person.avatarSrc, "AgentThread human avatarSrc");
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
435
435
|
o(e.id, `AgentThread ${e.kind} id`), o(e.name, `AgentThread ${e.kind} name`), e.kind === "agent" && (o(e.role, "AgentThread agent role"), e.avatarFallback !== void 0 && o(e.avatarFallback, "AgentThread agent avatarFallback"));
|
|
436
|
-
},
|
|
437
|
-
let t = e.kind === "human" ? e.person.name : e.name, n = e.kind === "human" ? e.person.role : e.kind === "agent" ? e.role : "System event", r = e.kind === "human" ? e.person.avatarFallback ??
|
|
438
|
-
return /* @__PURE__ */
|
|
439
|
-
className: d(
|
|
436
|
+
}, je = (e) => {
|
|
437
|
+
let t = e.kind === "human" ? e.person.name : e.name, n = e.kind === "human" ? e.person.role : e.kind === "agent" ? e.role : "System event", r = e.kind === "human" ? e.person.avatarFallback ?? ke(t) : e.kind === "agent" ? e.avatarFallback ?? ke(t) : ke(t), i = e.kind === "human" ? e.person.avatarSrc : void 0;
|
|
438
|
+
return /* @__PURE__ */ k("div", {
|
|
439
|
+
className: d(P("actor"), P(e.kind)),
|
|
440
440
|
"data-rly-agent-thread-actor": e.kind,
|
|
441
|
-
children: [/* @__PURE__ */
|
|
442
|
-
className:
|
|
441
|
+
children: [/* @__PURE__ */ O(re, {
|
|
442
|
+
className: P("avatar"),
|
|
443
443
|
"data-rly-agent-thread-avatar-form": e.kind === "human" ? "circle" : "rounded-square",
|
|
444
444
|
decorative: !0,
|
|
445
445
|
fallback: r,
|
|
446
446
|
form: e.kind === "human" ? "circle" : "rounded-square",
|
|
447
447
|
size: "default",
|
|
448
448
|
...i === void 0 ? {} : { src: i }
|
|
449
|
-
}), /* @__PURE__ */
|
|
450
|
-
className:
|
|
451
|
-
children: [/* @__PURE__ */
|
|
449
|
+
}), /* @__PURE__ */ k("span", {
|
|
450
|
+
className: P("actorText"),
|
|
451
|
+
children: [/* @__PURE__ */ O("strong", { children: t }), /* @__PURE__ */ O("span", { children: n })]
|
|
452
452
|
})]
|
|
453
453
|
});
|
|
454
|
-
},
|
|
454
|
+
}, Me = ({ announcement: e, className: t, composer: n, context: r, emptyLabel: i = "No messages yet.", heading: a, messages: s, ...c }) => {
|
|
455
455
|
let l = o(a, "AgentThread heading"), u = o(i, "AgentThread emptyLabel");
|
|
456
|
-
|
|
456
|
+
Oe(r, "AgentThread context"), Oe(n, "AgentThread composer"), e !== void 0 && o(e, "AgentThread announcement");
|
|
457
457
|
let f = /* @__PURE__ */ new Set();
|
|
458
458
|
for (let e of s) {
|
|
459
459
|
let t = o(e.id, "AgentThread message id");
|
|
460
460
|
if (f.has(t)) throw Error(`AgentThread message ids must be unique: ${t}`);
|
|
461
|
-
f.add(t),
|
|
461
|
+
f.add(t), Ae(e.actor), Oe(e.content, `AgentThread message content for ${t}`), o(e.dateTime, `AgentThread message dateTime for ${t}`), o(e.time, `AgentThread message time for ${t}`);
|
|
462
462
|
}
|
|
463
|
-
return /* @__PURE__ */
|
|
463
|
+
return /* @__PURE__ */ k("section", {
|
|
464
464
|
...c,
|
|
465
|
-
className: d(
|
|
465
|
+
className: d(P("root"), t),
|
|
466
466
|
"data-rly-agent-thread": "",
|
|
467
467
|
children: [
|
|
468
|
-
/* @__PURE__ */
|
|
469
|
-
className:
|
|
470
|
-
children: [/* @__PURE__ */
|
|
468
|
+
/* @__PURE__ */ k("header", {
|
|
469
|
+
className: P("header"),
|
|
470
|
+
children: [/* @__PURE__ */ O("span", {
|
|
471
471
|
"aria-hidden": "true",
|
|
472
|
-
className:
|
|
472
|
+
className: P("agentGlyph"),
|
|
473
473
|
children: "AI"
|
|
474
|
-
}), /* @__PURE__ */
|
|
474
|
+
}), /* @__PURE__ */ O("h2", { children: l })]
|
|
475
475
|
}),
|
|
476
|
-
/* @__PURE__ */
|
|
477
|
-
className:
|
|
476
|
+
/* @__PURE__ */ k("div", {
|
|
477
|
+
className: P("context"),
|
|
478
478
|
"data-rly-agent-thread-context": "",
|
|
479
|
-
children: [/* @__PURE__ */
|
|
480
|
-
className:
|
|
479
|
+
children: [/* @__PURE__ */ O("span", {
|
|
480
|
+
className: P("conceptLabel"),
|
|
481
481
|
children: "Exact context"
|
|
482
482
|
}), r]
|
|
483
483
|
}),
|
|
484
|
-
s.length === 0 ? /* @__PURE__ */
|
|
485
|
-
className:
|
|
484
|
+
s.length === 0 ? /* @__PURE__ */ O("p", {
|
|
485
|
+
className: P("empty"),
|
|
486
486
|
children: u
|
|
487
|
-
}) : /* @__PURE__ */
|
|
487
|
+
}) : /* @__PURE__ */ O("ol", {
|
|
488
488
|
"aria-label": `${l} messages`,
|
|
489
|
-
className:
|
|
490
|
-
children: s.map((e) => /* @__PURE__ */
|
|
491
|
-
className:
|
|
489
|
+
className: P("messages"),
|
|
490
|
+
children: s.map((e) => /* @__PURE__ */ k("li", {
|
|
491
|
+
className: P("message"),
|
|
492
492
|
"data-rly-agent-thread-message": e.id,
|
|
493
493
|
children: [
|
|
494
|
-
/* @__PURE__ */
|
|
495
|
-
className:
|
|
496
|
-
children: [
|
|
494
|
+
/* @__PURE__ */ k("div", {
|
|
495
|
+
className: P("messageHead"),
|
|
496
|
+
children: [je(e.actor), /* @__PURE__ */ O("time", {
|
|
497
497
|
dateTime: e.dateTime,
|
|
498
498
|
children: e.time
|
|
499
499
|
})]
|
|
500
500
|
}),
|
|
501
|
-
/* @__PURE__ */
|
|
502
|
-
className:
|
|
501
|
+
/* @__PURE__ */ O("div", {
|
|
502
|
+
className: P("content"),
|
|
503
503
|
children: e.content
|
|
504
504
|
}),
|
|
505
|
-
e.evidence === void 0 ? null : /* @__PURE__ */
|
|
506
|
-
className:
|
|
505
|
+
e.evidence === void 0 ? null : /* @__PURE__ */ O("div", {
|
|
506
|
+
className: P("evidence"),
|
|
507
507
|
"data-rly-agent-thread-evidence": "",
|
|
508
508
|
children: e.evidence
|
|
509
509
|
}),
|
|
510
|
-
e.actions === void 0 ? null : /* @__PURE__ */
|
|
511
|
-
className:
|
|
510
|
+
e.actions === void 0 ? null : /* @__PURE__ */ O("div", {
|
|
511
|
+
className: P("actions"),
|
|
512
512
|
"data-rly-agent-thread-actions": "",
|
|
513
513
|
children: e.actions
|
|
514
514
|
})
|
|
515
515
|
]
|
|
516
516
|
}, e.id))
|
|
517
517
|
}),
|
|
518
|
-
/* @__PURE__ */
|
|
518
|
+
/* @__PURE__ */ O("p", {
|
|
519
519
|
"aria-atomic": "true",
|
|
520
520
|
"aria-live": "polite",
|
|
521
|
-
className:
|
|
521
|
+
className: P("visuallyHidden"),
|
|
522
522
|
children: e
|
|
523
523
|
}),
|
|
524
|
-
/* @__PURE__ */
|
|
525
|
-
className:
|
|
524
|
+
/* @__PURE__ */ O("div", {
|
|
525
|
+
className: P("composer"),
|
|
526
526
|
"data-rly-agent-thread-composer": "",
|
|
527
527
|
children: n
|
|
528
528
|
})
|
|
529
529
|
]
|
|
530
530
|
});
|
|
531
|
-
},
|
|
531
|
+
}, Ne = {
|
|
532
532
|
root: "rly_Person-module__root",
|
|
533
533
|
compact: "rly_Person-module__compact",
|
|
534
534
|
defaultSize: "rly_Person-module__defaultSize",
|
|
535
535
|
identity: "rly_Person-module__identity",
|
|
536
536
|
name: "rly_Person-module__name",
|
|
537
537
|
role: "rly_Person-module__role"
|
|
538
|
-
},
|
|
538
|
+
}, Pe = (e) => c(Ne, e), Fe = l({ size: {
|
|
539
539
|
compact: {
|
|
540
|
-
className:
|
|
540
|
+
className: Pe("compact"),
|
|
541
541
|
purpose: "Dense identity row with complete attribution",
|
|
542
542
|
tokens: ["space-24", "type-meta"]
|
|
543
543
|
},
|
|
544
544
|
default: {
|
|
545
|
-
className:
|
|
545
|
+
className: Pe("defaultSize"),
|
|
546
546
|
purpose: "Standard identity row with complete attribution",
|
|
547
547
|
tokens: [
|
|
548
548
|
"space-32",
|
|
@@ -550,87 +550,87 @@ var fe = {
|
|
|
550
550
|
"type-meta"
|
|
551
551
|
]
|
|
552
552
|
}
|
|
553
|
-
} }),
|
|
553
|
+
} }), Ie = l({ size: "default" }), Le = (e) => {
|
|
554
554
|
let t = e.trim().split(/\s+/u), n = t[0] ?? "", r = t[t.length - 1] ?? n, i = Array.from(n), a = i[0] ?? "", s = t.length > 1 ? Array.from(r)[0] ?? "" : i[1] ?? "";
|
|
555
555
|
return o(`${a}${s}`, "Person avatar fallback");
|
|
556
|
-
},
|
|
557
|
-
let i =
|
|
558
|
-
return /* @__PURE__ */
|
|
556
|
+
}, Re = (e) => (o(e.id, "Person id"), o(e.name, "Person name"), o(e.role, "Person role"), e.avatarFallback !== void 0 && o(e.avatarFallback, "Person avatarFallback"), e.avatarSrc !== void 0 && o(e.avatarSrc, "Person avatarSrc"), e), F = ({ className: e, person: t, size: n = "default", ...r }) => {
|
|
557
|
+
let i = Re(t), a = i.avatarFallback ?? Le(i.name);
|
|
558
|
+
return /* @__PURE__ */ k("div", {
|
|
559
559
|
...r,
|
|
560
|
-
className: d(
|
|
560
|
+
className: d(Pe("root"), Fe.size[n].className, e),
|
|
561
561
|
"data-rly-person-size": n,
|
|
562
|
-
children: [/* @__PURE__ */
|
|
562
|
+
children: [/* @__PURE__ */ O(re, {
|
|
563
563
|
decorative: !0,
|
|
564
564
|
fallback: a,
|
|
565
565
|
size: n === "compact" ? "small" : "default",
|
|
566
566
|
...i.avatarSrc === void 0 ? {} : { src: i.avatarSrc }
|
|
567
|
-
}), /* @__PURE__ */
|
|
568
|
-
className:
|
|
569
|
-
children: [/* @__PURE__ */
|
|
570
|
-
className:
|
|
567
|
+
}), /* @__PURE__ */ k("span", {
|
|
568
|
+
className: Pe("identity"),
|
|
569
|
+
children: [/* @__PURE__ */ O("span", {
|
|
570
|
+
className: Pe("name"),
|
|
571
571
|
children: i.name
|
|
572
|
-
}), /* @__PURE__ */
|
|
573
|
-
className:
|
|
572
|
+
}), /* @__PURE__ */ O("span", {
|
|
573
|
+
className: Pe("role"),
|
|
574
574
|
children: i.role
|
|
575
575
|
})]
|
|
576
576
|
})]
|
|
577
577
|
});
|
|
578
|
-
},
|
|
578
|
+
}, ze = {
|
|
579
579
|
root: "rly_PeopleStrip-module__root",
|
|
580
580
|
compact: "rly_PeopleStrip-module__compact",
|
|
581
581
|
defaultSize: "rly_PeopleStrip-module__defaultSize",
|
|
582
582
|
personItem: "rly_PeopleStrip-module__personItem",
|
|
583
583
|
controlItem: "rly_PeopleStrip-module__controlItem",
|
|
584
584
|
overflow: "rly_PeopleStrip-module__overflow"
|
|
585
|
-
},
|
|
585
|
+
}, Be = (e) => c(ze, e), Ve = l({ size: {
|
|
586
586
|
compact: {
|
|
587
|
-
className:
|
|
587
|
+
className: Be("compact"),
|
|
588
588
|
purpose: "Dense attributed people list for narrow surfaces",
|
|
589
589
|
tokens: ["space-8", "space-40"]
|
|
590
590
|
},
|
|
591
591
|
default: {
|
|
592
|
-
className:
|
|
592
|
+
className: Be("defaultSize"),
|
|
593
593
|
purpose: "Standard attributed people list",
|
|
594
594
|
tokens: ["space-12", "space-40"]
|
|
595
595
|
}
|
|
596
|
-
} }),
|
|
596
|
+
} }), He = l({ size: "default" }), Ue = (e) => {
|
|
597
597
|
if (!Number.isInteger(e) || e < 1) throw Error("PeopleStrip limit must be a positive integer");
|
|
598
598
|
return e;
|
|
599
|
-
},
|
|
599
|
+
}, We = (e) => {
|
|
600
600
|
let t = /* @__PURE__ */ new Set();
|
|
601
601
|
for (let n of e) {
|
|
602
602
|
let e = o(n.id, "PeopleStrip person id");
|
|
603
603
|
if (o(n.name, `PeopleStrip name for ${e}`), o(n.role, `PeopleStrip role for ${e}`), t.has(e)) throw Error(`PeopleStrip person ids must be unique: ${e}`);
|
|
604
604
|
t.add(e);
|
|
605
605
|
}
|
|
606
|
-
},
|
|
607
|
-
let l = o(e, "PeopleStrip aria-label"), u =
|
|
608
|
-
|
|
606
|
+
}, Ge = ({ "aria-label": e, className: t, expanded: n, limit: r = 3, onExpandedChange: i, people: a, size: s = "default", ...c }) => {
|
|
607
|
+
let l = o(e, "PeopleStrip aria-label"), u = Ue(r);
|
|
608
|
+
We(a);
|
|
609
609
|
let f = Math.max(a.length - u, 0), p = n ? a : a.slice(0, u);
|
|
610
|
-
return /* @__PURE__ */
|
|
610
|
+
return /* @__PURE__ */ k("ul", {
|
|
611
611
|
...c,
|
|
612
612
|
"aria-label": l,
|
|
613
|
-
className: d(
|
|
613
|
+
className: d(Be("root"), Ve.size[s].className, t),
|
|
614
614
|
"data-rly-people-strip-size": s,
|
|
615
|
-
children: [p.map((e) => /* @__PURE__ */
|
|
616
|
-
className:
|
|
617
|
-
children: /* @__PURE__ */
|
|
615
|
+
children: [p.map((e) => /* @__PURE__ */ O("li", {
|
|
616
|
+
className: Be("personItem"),
|
|
617
|
+
children: /* @__PURE__ */ O(F, {
|
|
618
618
|
person: e,
|
|
619
619
|
size: s
|
|
620
620
|
})
|
|
621
|
-
}, e.id)), f === 0 ? null : /* @__PURE__ */
|
|
622
|
-
className:
|
|
623
|
-
children: /* @__PURE__ */
|
|
621
|
+
}, e.id)), f === 0 ? null : /* @__PURE__ */ O("li", {
|
|
622
|
+
className: Be("controlItem"),
|
|
623
|
+
children: /* @__PURE__ */ O("button", {
|
|
624
624
|
"aria-expanded": n,
|
|
625
625
|
"aria-label": n ? "Show fewer people" : `Show ${f} more people`,
|
|
626
|
-
className:
|
|
626
|
+
className: Be("overflow"),
|
|
627
627
|
onClick: () => i(!n),
|
|
628
628
|
type: "button",
|
|
629
629
|
children: n ? "Show fewer" : `+${f} people`
|
|
630
630
|
})
|
|
631
631
|
})]
|
|
632
632
|
});
|
|
633
|
-
},
|
|
633
|
+
}, Ke = {
|
|
634
634
|
root: "rly_CollaboratorGroup-module__root",
|
|
635
635
|
compact: "rly_CollaboratorGroup-module__compact",
|
|
636
636
|
defaultSize: "rly_CollaboratorGroup-module__defaultSize",
|
|
@@ -639,18 +639,18 @@ var fe = {
|
|
|
639
639
|
lane: "rly_CollaboratorGroup-module__lane",
|
|
640
640
|
laneHeading: "rly_CollaboratorGroup-module__laneHeading",
|
|
641
641
|
empty: "rly_CollaboratorGroup-module__empty"
|
|
642
|
-
},
|
|
642
|
+
}, qe = (e) => c(Ke, e), Je = l({ size: {
|
|
643
643
|
compact: {
|
|
644
|
-
className:
|
|
644
|
+
className: qe("compact"),
|
|
645
645
|
purpose: "Narrow entity attribution with explicit role lanes",
|
|
646
646
|
tokens: ["space-12", "type-label"]
|
|
647
647
|
},
|
|
648
648
|
default: {
|
|
649
|
-
className:
|
|
649
|
+
className: qe("defaultSize"),
|
|
650
650
|
purpose: "Standard entity attribution with explicit role lanes",
|
|
651
651
|
tokens: ["space-20", "type-card-title"]
|
|
652
652
|
}
|
|
653
|
-
} }),
|
|
653
|
+
} }), Ye = l({ size: "default" }), Xe = ({ approvers: e = [], authors: t = [], className: n, emptyLabel: r = "No collaborators assigned.", expandedCategories: i, heading: a, limit: s = 3, onCategoryExpandedChange: c, operators: l = [], owners: u = [], reviewers: f = [], size: p = "default", ...m }) => {
|
|
654
654
|
let h = o(a, "CollaboratorGroup heading"), g = o(r, "CollaboratorGroup emptyLabel"), _ = `rly-collaborators-${E()}`, v = new Set(i), y = [
|
|
655
655
|
{
|
|
656
656
|
category: "authors",
|
|
@@ -678,26 +678,26 @@ var fe = {
|
|
|
678
678
|
people: e
|
|
679
679
|
}
|
|
680
680
|
].filter((e) => e.people.length > 0);
|
|
681
|
-
return /* @__PURE__ */
|
|
681
|
+
return /* @__PURE__ */ k("section", {
|
|
682
682
|
...m,
|
|
683
683
|
"aria-labelledby": _,
|
|
684
|
-
className: d(
|
|
684
|
+
className: d(qe("root"), Je.size[p].className, n),
|
|
685
685
|
"data-rly-collaborator-group-size": p,
|
|
686
|
-
children: [/* @__PURE__ */
|
|
687
|
-
className:
|
|
686
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
687
|
+
className: qe("heading"),
|
|
688
688
|
id: _,
|
|
689
689
|
children: h
|
|
690
|
-
}), y.length === 0 ? /* @__PURE__ */
|
|
691
|
-
className:
|
|
690
|
+
}), y.length === 0 ? /* @__PURE__ */ O("p", {
|
|
691
|
+
className: qe("empty"),
|
|
692
692
|
children: g
|
|
693
|
-
}) : /* @__PURE__ */
|
|
694
|
-
className:
|
|
695
|
-
children: y.map((e) => /* @__PURE__ */
|
|
696
|
-
className:
|
|
697
|
-
children: [/* @__PURE__ */
|
|
698
|
-
className:
|
|
693
|
+
}) : /* @__PURE__ */ O("div", {
|
|
694
|
+
className: qe("lanes"),
|
|
695
|
+
children: y.map((e) => /* @__PURE__ */ k("section", {
|
|
696
|
+
className: qe("lane"),
|
|
697
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
698
|
+
className: qe("laneHeading"),
|
|
699
699
|
children: e.label
|
|
700
|
-
}), /* @__PURE__ */
|
|
700
|
+
}), /* @__PURE__ */ O(Ge, {
|
|
701
701
|
"aria-label": `${h}: ${e.label}`,
|
|
702
702
|
expanded: v.has(e.category),
|
|
703
703
|
limit: s,
|
|
@@ -708,7 +708,7 @@ var fe = {
|
|
|
708
708
|
}, e.category))
|
|
709
709
|
})]
|
|
710
710
|
});
|
|
711
|
-
},
|
|
711
|
+
}, Ze = {
|
|
712
712
|
root: "rly_DecisionBar-module__root",
|
|
713
713
|
inline: "rly_DecisionBar-module__inline",
|
|
714
714
|
sticky: "rly_DecisionBar-module__sticky",
|
|
@@ -718,45 +718,45 @@ var fe = {
|
|
|
718
718
|
status: "rly_DecisionBar-module__status",
|
|
719
719
|
reason: "rly_DecisionBar-module__reason",
|
|
720
720
|
note: "rly_DecisionBar-module__note"
|
|
721
|
-
},
|
|
721
|
+
}, I = (e) => c(Ze, e), Qe = l({ placement: {
|
|
722
722
|
inline: {
|
|
723
|
-
className:
|
|
723
|
+
className: I("inline"),
|
|
724
724
|
purpose: "In the flow of the detail it decides",
|
|
725
725
|
tokens: ["color-text-1", "color-text-2"]
|
|
726
726
|
},
|
|
727
727
|
sticky: {
|
|
728
|
-
className:
|
|
728
|
+
className: I("sticky"),
|
|
729
729
|
purpose: "Pinned to the bottom of a phone viewport while its target is open, at thumb reach",
|
|
730
730
|
tokens: ["color-canvas", "color-border-1"]
|
|
731
731
|
}
|
|
732
|
-
} }),
|
|
732
|
+
} }), $e = l({ placement: "inline" }), et = ({ approveLabel: e = "Approve", className: t, clock: n, note: r, onApprove: i, onReject: a, placement: s = $e.placement, rejectLabel: c = "Reject", state: l, status: u, target: f, ...p }) => {
|
|
733
733
|
let m = o(f, "DecisionBar target"), h = E(), g = `rly-decision-bar-reason-${h}`, _ = `rly-decision-bar-status-${h}`, v = l._tag !== "ready", y = l._tag === "off" ? l.reason : void 0, x = l._tag === "sending" ? `${l.action === "approve" ? e : c} sent; waiting for the server's answer.` : u ?? "", S = y === void 0 ? l._tag === "sending" ? _ : void 0 : g, C = (e) => () => {
|
|
734
734
|
v || e();
|
|
735
735
|
};
|
|
736
|
-
return /* @__PURE__ */
|
|
736
|
+
return /* @__PURE__ */ k("div", {
|
|
737
737
|
...p,
|
|
738
738
|
"aria-busy": l._tag === "sending" ? "true" : void 0,
|
|
739
|
-
className: d(
|
|
739
|
+
className: d(I("root"), Qe.placement[s].className, t),
|
|
740
740
|
"data-rly-decision-bar": "",
|
|
741
741
|
"data-state": l._tag,
|
|
742
742
|
children: [
|
|
743
|
-
/* @__PURE__ */
|
|
744
|
-
className:
|
|
745
|
-
children: [m, n === void 0 ? null : /* @__PURE__ */
|
|
746
|
-
className:
|
|
743
|
+
/* @__PURE__ */ k("p", {
|
|
744
|
+
className: I("target"),
|
|
745
|
+
children: [m, n === void 0 ? null : /* @__PURE__ */ k(ue, { children: [", ", /* @__PURE__ */ O("span", {
|
|
746
|
+
className: I("clock"),
|
|
747
747
|
children: n
|
|
748
748
|
})] })]
|
|
749
749
|
}),
|
|
750
|
-
/* @__PURE__ */
|
|
751
|
-
className:
|
|
752
|
-
children: [/* @__PURE__ */
|
|
750
|
+
/* @__PURE__ */ k("div", {
|
|
751
|
+
className: I("actions"),
|
|
752
|
+
children: [/* @__PURE__ */ O(b, {
|
|
753
753
|
"aria-describedby": S,
|
|
754
754
|
"aria-disabled": v ? !0 : void 0,
|
|
755
755
|
"aria-label": `${e}: ${m}`,
|
|
756
756
|
onClick: C(i),
|
|
757
757
|
variant: v ? "secondary" : "primary",
|
|
758
758
|
children: e
|
|
759
|
-
}), /* @__PURE__ */
|
|
759
|
+
}), /* @__PURE__ */ O(b, {
|
|
760
760
|
"aria-describedby": S,
|
|
761
761
|
"aria-disabled": v ? !0 : void 0,
|
|
762
762
|
"aria-label": `${c}: ${m}`,
|
|
@@ -765,24 +765,24 @@ var fe = {
|
|
|
765
765
|
children: c
|
|
766
766
|
})]
|
|
767
767
|
}),
|
|
768
|
-
y === void 0 ? null : /* @__PURE__ */
|
|
769
|
-
className:
|
|
768
|
+
y === void 0 ? null : /* @__PURE__ */ O("p", {
|
|
769
|
+
className: I("reason"),
|
|
770
770
|
id: g,
|
|
771
771
|
children: y
|
|
772
772
|
}),
|
|
773
|
-
/* @__PURE__ */
|
|
774
|
-
className:
|
|
773
|
+
/* @__PURE__ */ O("p", {
|
|
774
|
+
className: I("status"),
|
|
775
775
|
id: _,
|
|
776
776
|
role: "status",
|
|
777
777
|
children: x
|
|
778
778
|
}),
|
|
779
|
-
r === void 0 ? null : /* @__PURE__ */
|
|
780
|
-
className:
|
|
779
|
+
r === void 0 ? null : /* @__PURE__ */ O("p", {
|
|
780
|
+
className: I("note"),
|
|
781
781
|
children: r
|
|
782
782
|
})
|
|
783
783
|
]
|
|
784
784
|
});
|
|
785
|
-
},
|
|
785
|
+
}, tt = {
|
|
786
786
|
root: "rly_FreshnessStamp-module__root",
|
|
787
787
|
stateWord: "rly_FreshnessStamp-module__stateWord",
|
|
788
788
|
time: "rly_FreshnessStamp-module__time",
|
|
@@ -793,73 +793,73 @@ var fe = {
|
|
|
793
793
|
missing: "rly_FreshnessStamp-module__missing",
|
|
794
794
|
stale: "rly_FreshnessStamp-module__stale",
|
|
795
795
|
unavailable: "rly_FreshnessStamp-module__unavailable"
|
|
796
|
-
},
|
|
796
|
+
}, L = (e) => c(tt, e), nt = l({
|
|
797
797
|
state: {
|
|
798
798
|
current: {
|
|
799
|
-
className:
|
|
799
|
+
className: L("current"),
|
|
800
800
|
purpose: "Current source observation",
|
|
801
801
|
tokens: ["color-success-ink", "color-success-tint"]
|
|
802
802
|
},
|
|
803
803
|
cached: {
|
|
804
|
-
className:
|
|
804
|
+
className: L("cached"),
|
|
805
805
|
purpose: "Valid cached source observation",
|
|
806
806
|
tokens: ["color-text-2", "color-surface-2"]
|
|
807
807
|
},
|
|
808
808
|
stale: {
|
|
809
|
-
className:
|
|
809
|
+
className: L("stale"),
|
|
810
810
|
purpose: "Source observation beyond its supplied freshness threshold",
|
|
811
811
|
tokens: ["color-held-ink", "color-held-tint"]
|
|
812
812
|
},
|
|
813
813
|
missing: {
|
|
814
|
-
className:
|
|
814
|
+
className: L("missing"),
|
|
815
815
|
purpose: "Provider authoritatively reported no object",
|
|
816
816
|
tokens: ["color-text-2", "color-surface-2"]
|
|
817
817
|
},
|
|
818
818
|
unavailable: {
|
|
819
|
-
className:
|
|
819
|
+
className: L("unavailable"),
|
|
820
820
|
purpose: "No valid source observation is available",
|
|
821
821
|
tokens: ["color-blocked-ink", "color-blocked-tint"]
|
|
822
822
|
}
|
|
823
823
|
},
|
|
824
824
|
size: {
|
|
825
825
|
compact: {
|
|
826
|
-
className:
|
|
826
|
+
className: L("compact"),
|
|
827
827
|
purpose: "Dense freshness metadata",
|
|
828
828
|
tokens: ["type-meta"]
|
|
829
829
|
},
|
|
830
830
|
default: {
|
|
831
|
-
className:
|
|
831
|
+
className: L("defaultSize"),
|
|
832
832
|
purpose: "Standard freshness metadata",
|
|
833
833
|
tokens: ["type-label", "type-meta"]
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
|
-
}),
|
|
836
|
+
}), rt = l({ size: "default" }), it = {
|
|
837
837
|
current: "Current",
|
|
838
838
|
cached: "Cached",
|
|
839
839
|
stale: "Stale",
|
|
840
840
|
missing: "Missing",
|
|
841
841
|
unavailable: "Unavailable"
|
|
842
|
-
},
|
|
842
|
+
}, at = {
|
|
843
843
|
current: "check",
|
|
844
844
|
cached: "clock",
|
|
845
845
|
stale: "clock",
|
|
846
846
|
missing: "minus",
|
|
847
847
|
unavailable: "alert"
|
|
848
|
-
},
|
|
848
|
+
}, ot = ({ className: t, dateTime: n, size: r = "default", state: i, time: a, ...s }) => {
|
|
849
849
|
let c = a === void 0 ? void 0 : o(a, "FreshnessStamp time"), l = n === void 0 ? void 0 : o(n, "FreshnessStamp dateTime");
|
|
850
|
-
return /* @__PURE__ */
|
|
850
|
+
return /* @__PURE__ */ k("span", {
|
|
851
851
|
...s,
|
|
852
|
-
className: d(
|
|
852
|
+
className: d(L("root"), nt.state[i].className, nt.size[r].className, t),
|
|
853
853
|
"data-rly-freshness-state": i,
|
|
854
|
-
children: [/* @__PURE__ */
|
|
855
|
-
className:
|
|
856
|
-
children: [/* @__PURE__ */
|
|
854
|
+
children: [/* @__PURE__ */ k("span", {
|
|
855
|
+
className: L("stateWord"),
|
|
856
|
+
children: [/* @__PURE__ */ O(e, {
|
|
857
857
|
decorative: !0,
|
|
858
|
-
name:
|
|
858
|
+
name: at[i],
|
|
859
859
|
size: "small"
|
|
860
|
-
}), /* @__PURE__ */
|
|
861
|
-
}), c === void 0 || l === void 0 ? null : /* @__PURE__ */
|
|
862
|
-
className:
|
|
860
|
+
}), /* @__PURE__ */ k("span", { children: [it[i], c === void 0 || l === void 0 ? null : ","] })]
|
|
861
|
+
}), c === void 0 || l === void 0 ? null : /* @__PURE__ */ O("time", {
|
|
862
|
+
className: L("time"),
|
|
863
863
|
dateTime: l,
|
|
864
864
|
children: c
|
|
865
865
|
})]
|
|
@@ -939,32 +939,32 @@ var fe = {
|
|
|
939
939
|
confluence: "Confluence",
|
|
940
940
|
clockify: "Clockify"
|
|
941
941
|
}, dt = {
|
|
942
|
-
codecommit: () => /* @__PURE__ */
|
|
942
|
+
codecommit: () => /* @__PURE__ */ k("svg", {
|
|
943
943
|
"aria-hidden": "true",
|
|
944
944
|
className: R("glyph"),
|
|
945
945
|
focusable: "false",
|
|
946
946
|
viewBox: "0 0 24 24",
|
|
947
947
|
children: [
|
|
948
|
-
/* @__PURE__ */
|
|
948
|
+
/* @__PURE__ */ O("path", {
|
|
949
949
|
d: "M6 5.5h7.5a3 3 0 0 1 3 3v7",
|
|
950
950
|
fill: "none",
|
|
951
951
|
stroke: "currentColor",
|
|
952
952
|
strokeLinecap: "round",
|
|
953
953
|
strokeWidth: "1.8"
|
|
954
954
|
}),
|
|
955
|
-
/* @__PURE__ */
|
|
955
|
+
/* @__PURE__ */ O("circle", {
|
|
956
956
|
cx: "6",
|
|
957
957
|
cy: "5.5",
|
|
958
958
|
fill: "currentColor",
|
|
959
959
|
r: "2"
|
|
960
960
|
}),
|
|
961
|
-
/* @__PURE__ */
|
|
961
|
+
/* @__PURE__ */ O("circle", {
|
|
962
962
|
cx: "16.5",
|
|
963
963
|
cy: "17.5",
|
|
964
964
|
fill: "currentColor",
|
|
965
965
|
r: "2"
|
|
966
966
|
}),
|
|
967
|
-
/* @__PURE__ */
|
|
967
|
+
/* @__PURE__ */ O("path", {
|
|
968
968
|
d: "m10 12 2-2 2 2-2 2Z",
|
|
969
969
|
fill: "none",
|
|
970
970
|
stroke: "currentColor",
|
|
@@ -973,13 +973,13 @@ var fe = {
|
|
|
973
973
|
})
|
|
974
974
|
]
|
|
975
975
|
}),
|
|
976
|
-
codepipeline: () => /* @__PURE__ */
|
|
976
|
+
codepipeline: () => /* @__PURE__ */ k("svg", {
|
|
977
977
|
"aria-hidden": "true",
|
|
978
978
|
className: R("glyph"),
|
|
979
979
|
focusable: "false",
|
|
980
980
|
viewBox: "0 0 24 24",
|
|
981
981
|
children: [
|
|
982
|
-
/* @__PURE__ */
|
|
982
|
+
/* @__PURE__ */ O("rect", {
|
|
983
983
|
fill: "none",
|
|
984
984
|
height: "5",
|
|
985
985
|
rx: "1",
|
|
@@ -989,7 +989,7 @@ var fe = {
|
|
|
989
989
|
x: "2.5",
|
|
990
990
|
y: "9.5"
|
|
991
991
|
}),
|
|
992
|
-
/* @__PURE__ */
|
|
992
|
+
/* @__PURE__ */ O("rect", {
|
|
993
993
|
fill: "none",
|
|
994
994
|
height: "5",
|
|
995
995
|
rx: "1",
|
|
@@ -999,7 +999,7 @@ var fe = {
|
|
|
999
999
|
x: "16.5",
|
|
1000
1000
|
y: "9.5"
|
|
1001
1001
|
}),
|
|
1002
|
-
/* @__PURE__ */
|
|
1002
|
+
/* @__PURE__ */ O("path", {
|
|
1003
1003
|
d: "M8 12h7m-2.5-2.5L15 12l-2.5 2.5",
|
|
1004
1004
|
fill: "none",
|
|
1005
1005
|
stroke: "currentColor",
|
|
@@ -1009,52 +1009,52 @@ var fe = {
|
|
|
1009
1009
|
})
|
|
1010
1010
|
]
|
|
1011
1011
|
}),
|
|
1012
|
-
jira: () => /* @__PURE__ */
|
|
1012
|
+
jira: () => /* @__PURE__ */ k("svg", {
|
|
1013
1013
|
"aria-hidden": "true",
|
|
1014
1014
|
className: R("glyph"),
|
|
1015
1015
|
focusable: "false",
|
|
1016
1016
|
viewBox: "0 0 24 24",
|
|
1017
1017
|
children: [
|
|
1018
|
-
/* @__PURE__ */
|
|
1018
|
+
/* @__PURE__ */ O("path", {
|
|
1019
1019
|
d: "m12 2.8 8.8 8.8a.6.6 0 0 1 0 .8L12 21.2l-8.8-8.8a.6.6 0 0 1 0-.8Z",
|
|
1020
1020
|
fill: "currentColor"
|
|
1021
1021
|
}),
|
|
1022
|
-
/* @__PURE__ */
|
|
1022
|
+
/* @__PURE__ */ O("path", {
|
|
1023
1023
|
d: "m12 7.2 4.8 4.8-4.8 4.8L7.2 12Z",
|
|
1024
1024
|
fill: "var(--rly-color-surface-1)"
|
|
1025
1025
|
}),
|
|
1026
|
-
/* @__PURE__ */
|
|
1026
|
+
/* @__PURE__ */ O("path", {
|
|
1027
1027
|
d: "m12 9.8 2.2 2.2-2.2 2.2L9.8 12Z",
|
|
1028
1028
|
fill: "currentColor"
|
|
1029
1029
|
})
|
|
1030
1030
|
]
|
|
1031
1031
|
}),
|
|
1032
|
-
confluence: () => /* @__PURE__ */
|
|
1032
|
+
confluence: () => /* @__PURE__ */ k("svg", {
|
|
1033
1033
|
"aria-hidden": "true",
|
|
1034
1034
|
className: R("glyph"),
|
|
1035
1035
|
focusable: "false",
|
|
1036
1036
|
viewBox: "0 0 24 24",
|
|
1037
|
-
children: [/* @__PURE__ */
|
|
1037
|
+
children: [/* @__PURE__ */ O("path", {
|
|
1038
1038
|
d: "M4 7.2c3.6 2.1 6.8 2.4 9.6.9L17 6.3l2.7 4.3-3.4 1.8c-4.6 2.4-9.5 1.8-14-1.5Z",
|
|
1039
1039
|
fill: "currentColor"
|
|
1040
|
-
}), /* @__PURE__ */
|
|
1040
|
+
}), /* @__PURE__ */ O("path", {
|
|
1041
1041
|
d: "M20 16.8c-3.6-2.1-6.8-2.4-9.6-.9L7 17.7l-2.7-4.3 3.4-1.8c4.6-2.4 9.5-1.8 14 1.5Z",
|
|
1042
1042
|
fill: "currentColor"
|
|
1043
1043
|
})]
|
|
1044
1044
|
}),
|
|
1045
|
-
clockify: () => /* @__PURE__ */
|
|
1045
|
+
clockify: () => /* @__PURE__ */ k("svg", {
|
|
1046
1046
|
"aria-hidden": "true",
|
|
1047
1047
|
className: R("glyph"),
|
|
1048
1048
|
focusable: "false",
|
|
1049
1049
|
viewBox: "0 0 24 24",
|
|
1050
|
-
children: [/* @__PURE__ */
|
|
1050
|
+
children: [/* @__PURE__ */ O("circle", {
|
|
1051
1051
|
cx: "11",
|
|
1052
1052
|
cy: "13",
|
|
1053
1053
|
fill: "none",
|
|
1054
1054
|
r: "7",
|
|
1055
1055
|
stroke: "currentColor",
|
|
1056
1056
|
strokeWidth: "1.8"
|
|
1057
|
-
}), /* @__PURE__ */
|
|
1057
|
+
}), /* @__PURE__ */ O("path", {
|
|
1058
1058
|
d: "M11 9v4l3 2m1.5-10.7 1.8-1.8M18 7l2-2",
|
|
1059
1059
|
fill: "none",
|
|
1060
1060
|
stroke: "currentColor",
|
|
@@ -1064,13 +1064,13 @@ var fe = {
|
|
|
1064
1064
|
})
|
|
1065
1065
|
}, z = ({ className: e, name: t = "visible", service: n, size: r = "default", ...i }) => {
|
|
1066
1066
|
let a = dt[n], o = ut[n];
|
|
1067
|
-
return /* @__PURE__ */
|
|
1067
|
+
return /* @__PURE__ */ k("span", {
|
|
1068
1068
|
...i,
|
|
1069
1069
|
"aria-label": o,
|
|
1070
1070
|
className: d(R("root"), ct.service[n].className, ct.name[t].className, ct.size[r].className, e),
|
|
1071
1071
|
"data-rly-service": n,
|
|
1072
1072
|
role: "img",
|
|
1073
|
-
children: [/* @__PURE__ */
|
|
1073
|
+
children: [/* @__PURE__ */ O(a, {}), t === "visible" ? /* @__PURE__ */ O("span", {
|
|
1074
1074
|
"aria-hidden": "true",
|
|
1075
1075
|
className: R("name"),
|
|
1076
1076
|
children: o
|
|
@@ -1121,24 +1121,24 @@ var fe = {
|
|
|
1121
1121
|
progress: "loader"
|
|
1122
1122
|
}, ht = ({ className: t, reason: n, tone: r, verdict: i, ...a }) => {
|
|
1123
1123
|
let s = o(n, "Verdict reason"), c = o(i, "Verdict verdict");
|
|
1124
|
-
return /* @__PURE__ */
|
|
1124
|
+
return /* @__PURE__ */ k("section", {
|
|
1125
1125
|
...a,
|
|
1126
1126
|
className: d(B("root"), pt.tone[r].className, t),
|
|
1127
1127
|
"data-rly-verdict-tone": r,
|
|
1128
|
-
children: [/* @__PURE__ */
|
|
1128
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
1129
1129
|
className: B("verdict"),
|
|
1130
1130
|
children: c
|
|
1131
|
-
}), /* @__PURE__ */
|
|
1131
|
+
}), /* @__PURE__ */ k("div", {
|
|
1132
1132
|
className: B("reasonPanel"),
|
|
1133
|
-
children: [/* @__PURE__ */
|
|
1133
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1134
1134
|
"aria-hidden": "true",
|
|
1135
1135
|
className: B("icon"),
|
|
1136
|
-
children: /* @__PURE__ */
|
|
1136
|
+
children: /* @__PURE__ */ O(e, {
|
|
1137
1137
|
decorative: !0,
|
|
1138
1138
|
name: mt[r],
|
|
1139
1139
|
size: "large"
|
|
1140
1140
|
})
|
|
1141
|
-
}), /* @__PURE__ */
|
|
1141
|
+
}), /* @__PURE__ */ O("p", {
|
|
1142
1142
|
className: B("reason"),
|
|
1143
1143
|
children: s
|
|
1144
1144
|
})]
|
|
@@ -1165,54 +1165,54 @@ var fe = {
|
|
|
1165
1165
|
let x = o(_, "EntityShell title");
|
|
1166
1166
|
if (u === void 0 != (f === void 0)) throw Error("EntityShell freshnessDateTime and freshnessTime must be supplied together");
|
|
1167
1167
|
let S = `rly-entity-shell-${E()}`;
|
|
1168
|
-
return /* @__PURE__ */
|
|
1168
|
+
return /* @__PURE__ */ k("article", {
|
|
1169
1169
|
...b,
|
|
1170
1170
|
"aria-labelledby": S,
|
|
1171
1171
|
className: d(V("root"), r),
|
|
1172
1172
|
"data-rly-entity-shell": "",
|
|
1173
1173
|
children: [
|
|
1174
|
-
p === void 0 ? null : /* @__PURE__ */
|
|
1174
|
+
p === void 0 ? null : /* @__PURE__ */ O("nav", {
|
|
1175
1175
|
"aria-label": `${x} navigation`,
|
|
1176
1176
|
className: V("navigation"),
|
|
1177
1177
|
"data-rly-entity-shell-slot": "navigation",
|
|
1178
1178
|
children: p
|
|
1179
1179
|
}),
|
|
1180
|
-
/* @__PURE__ */
|
|
1180
|
+
/* @__PURE__ */ k("header", {
|
|
1181
1181
|
className: V("header"),
|
|
1182
|
-
children: [/* @__PURE__ */
|
|
1182
|
+
children: [/* @__PURE__ */ k("div", {
|
|
1183
1183
|
className: V("identity"),
|
|
1184
|
-
children: [/* @__PURE__ */
|
|
1184
|
+
children: [/* @__PURE__ */ O(z, { service: g }), /* @__PURE__ */ O("h1", {
|
|
1185
1185
|
className: V("title"),
|
|
1186
1186
|
id: S,
|
|
1187
1187
|
children: x
|
|
1188
1188
|
})]
|
|
1189
|
-
}), /* @__PURE__ */
|
|
1189
|
+
}), /* @__PURE__ */ k("div", {
|
|
1190
1190
|
className: V("hero"),
|
|
1191
|
-
children: [/* @__PURE__ */
|
|
1191
|
+
children: [/* @__PURE__ */ O(ht, {
|
|
1192
1192
|
reason: m,
|
|
1193
1193
|
tone: v,
|
|
1194
1194
|
verdict: y
|
|
1195
|
-
}), /* @__PURE__ */
|
|
1195
|
+
}), /* @__PURE__ */ k("div", {
|
|
1196
1196
|
className: V("headerAside"),
|
|
1197
1197
|
children: [
|
|
1198
|
-
/* @__PURE__ */
|
|
1198
|
+
/* @__PURE__ */ k("div", {
|
|
1199
1199
|
className: V("freshness"),
|
|
1200
1200
|
"data-rly-entity-shell-slot": "freshness",
|
|
1201
|
-
children: [/* @__PURE__ */
|
|
1201
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1202
1202
|
className: V("slotLabel"),
|
|
1203
1203
|
children: "Freshness"
|
|
1204
|
-
}), u === void 0 || f === void 0 ? /* @__PURE__ */
|
|
1204
|
+
}), u === void 0 || f === void 0 ? /* @__PURE__ */ O(ot, { state: l }) : /* @__PURE__ */ O(ot, {
|
|
1205
1205
|
dateTime: u,
|
|
1206
1206
|
state: l,
|
|
1207
1207
|
time: f
|
|
1208
1208
|
})]
|
|
1209
1209
|
}),
|
|
1210
|
-
/* @__PURE__ */
|
|
1210
|
+
/* @__PURE__ */ O("div", {
|
|
1211
1211
|
className: V("headerSlot"),
|
|
1212
1212
|
"data-rly-entity-shell-slot": "actions",
|
|
1213
1213
|
children: e
|
|
1214
1214
|
}),
|
|
1215
|
-
/* @__PURE__ */
|
|
1215
|
+
/* @__PURE__ */ O("div", {
|
|
1216
1216
|
className: V("headerSlot"),
|
|
1217
1217
|
"data-rly-entity-shell-slot": "agent-entry",
|
|
1218
1218
|
children: n
|
|
@@ -1221,26 +1221,26 @@ var fe = {
|
|
|
1221
1221
|
})]
|
|
1222
1222
|
})]
|
|
1223
1223
|
}),
|
|
1224
|
-
/* @__PURE__ */
|
|
1224
|
+
/* @__PURE__ */ k("div", {
|
|
1225
1225
|
className: V("body"),
|
|
1226
|
-
children: [/* @__PURE__ */
|
|
1226
|
+
children: [/* @__PURE__ */ O("section", {
|
|
1227
1227
|
className: V("content"),
|
|
1228
1228
|
"data-rly-entity-shell-slot": "content",
|
|
1229
1229
|
children: a
|
|
1230
|
-
}), /* @__PURE__ */
|
|
1230
|
+
}), /* @__PURE__ */ k("aside", {
|
|
1231
1231
|
className: V("aside"),
|
|
1232
1232
|
children: [
|
|
1233
|
-
c === void 0 ? null : /* @__PURE__ */
|
|
1233
|
+
c === void 0 ? null : /* @__PURE__ */ O("section", {
|
|
1234
1234
|
className: V("asideSlot"),
|
|
1235
1235
|
"data-rly-entity-shell-slot": "facts",
|
|
1236
1236
|
children: c
|
|
1237
1237
|
}),
|
|
1238
|
-
s === void 0 ? null : /* @__PURE__ */
|
|
1238
|
+
s === void 0 ? null : /* @__PURE__ */ O("section", {
|
|
1239
1239
|
className: V("asideSlot"),
|
|
1240
1240
|
"data-rly-entity-shell-slot": "evidence",
|
|
1241
1241
|
children: s
|
|
1242
1242
|
}),
|
|
1243
|
-
/* @__PURE__ */
|
|
1243
|
+
/* @__PURE__ */ O("section", {
|
|
1244
1244
|
className: V("asideSlot"),
|
|
1245
1245
|
"data-rly-entity-shell-slot": "collaborators",
|
|
1246
1246
|
children: i
|
|
@@ -1248,12 +1248,12 @@ var fe = {
|
|
|
1248
1248
|
]
|
|
1249
1249
|
})]
|
|
1250
1250
|
}),
|
|
1251
|
-
/* @__PURE__ */
|
|
1251
|
+
/* @__PURE__ */ O("section", {
|
|
1252
1252
|
className: V("relationships"),
|
|
1253
1253
|
"data-rly-entity-shell-slot": "relationships",
|
|
1254
1254
|
children: h
|
|
1255
1255
|
}),
|
|
1256
|
-
t === void 0 ? null : /* @__PURE__ */
|
|
1256
|
+
t === void 0 ? null : /* @__PURE__ */ O("section", {
|
|
1257
1257
|
className: V("activity"),
|
|
1258
1258
|
"data-rly-entity-shell-slot": "activity",
|
|
1259
1259
|
children: t
|
|
@@ -1331,7 +1331,7 @@ var fe = {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
for (let n of t) if (!i.has(n)) throw Error(`EntityTable row ${e} is missing column: ${n}`);
|
|
1333
1333
|
}
|
|
1334
|
-
}, Ct = (e) => e.state === "ready" || e.state === "stale" || e.state === "partial" || e.state === "error" || e.state === "unavailable" ? e.rows : [], wt = ({ direction: t }) => t === "none" ? null : /* @__PURE__ */
|
|
1334
|
+
}, Ct = (e) => e.state === "ready" || e.state === "stale" || e.state === "partial" || e.state === "error" || e.state === "unavailable" ? e.rows : [], wt = ({ direction: t }) => t === "none" ? null : /* @__PURE__ */ O(e, {
|
|
1335
1335
|
decorative: !0,
|
|
1336
1336
|
name: t === "ascending" ? "arrow-up" : "arrow-down",
|
|
1337
1337
|
size: "small"
|
|
@@ -1344,41 +1344,41 @@ var fe = {
|
|
|
1344
1344
|
if (!Number.isInteger(e) || e < 1 || e > 20) throw Error("EntityTable skeletonRows must be an integer from 1 to 20");
|
|
1345
1345
|
}
|
|
1346
1346
|
if ((n.state === "empty" || n.state === "not-found") && (o(n.title, "EntityTable state title"), n.description !== void 0 && o(n.description, "EntityTable state description")), (n.state === "stale" || n.state === "partial" || n.state === "error" || n.state === "unavailable") && (o(n.title, "EntityTable cached state title"), o(n.description, "EntityTable cached state description"), f.length === 0)) throw Error(`EntityTable ${n.state} state must retain at least one cached row`);
|
|
1347
|
-
let p = `rly-entity-table-${E()}`, m = t.filter((e) => e.sortable === !0), h = m.find((e) => e.sortDirection !== "none"), g = new Map(t.map((e) => [e.id, e])), _ = n.state === "stale" || n.state === "partial" || n.state === "error" || n.state === "unavailable" ? /* @__PURE__ */
|
|
1347
|
+
let p = `rly-entity-table-${E()}`, m = t.filter((e) => e.sortable === !0), h = m.find((e) => e.sortDirection !== "none"), g = new Map(t.map((e) => [e.id, e])), _ = n.state === "stale" || n.state === "partial" || n.state === "error" || n.state === "unavailable" ? /* @__PURE__ */ O(ne, {
|
|
1348
1348
|
description: n.description,
|
|
1349
1349
|
title: n.title,
|
|
1350
1350
|
tone: n.tone
|
|
1351
1351
|
}) : null;
|
|
1352
|
-
return /* @__PURE__ */
|
|
1352
|
+
return /* @__PURE__ */ k("section", {
|
|
1353
1353
|
...c,
|
|
1354
1354
|
"aria-busy": n.state === "loading" ? "true" : void 0,
|
|
1355
1355
|
"aria-labelledby": p,
|
|
1356
1356
|
className: d(H("root"), yt.density[r].className, yt.headingSize[a].className, e),
|
|
1357
1357
|
"data-rly-entity-table-density": r,
|
|
1358
1358
|
"data-rly-entity-table-state": n.state,
|
|
1359
|
-
children: [/* @__PURE__ */
|
|
1359
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
1360
1360
|
className: H("heading"),
|
|
1361
1361
|
id: p,
|
|
1362
1362
|
children: l
|
|
1363
|
-
}), n.state === "loading" ? /* @__PURE__ */
|
|
1363
|
+
}), n.state === "loading" ? /* @__PURE__ */ k("div", {
|
|
1364
1364
|
"aria-label": n.label,
|
|
1365
1365
|
className: H("loading"),
|
|
1366
1366
|
role: "status",
|
|
1367
|
-
children: [/* @__PURE__ */
|
|
1367
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1368
1368
|
className: H("stateLabel"),
|
|
1369
1369
|
children: n.label
|
|
1370
|
-
}), Array.from({ length: n.skeletonRows ?? 3 }, (e, t) => /* @__PURE__ */
|
|
1370
|
+
}), Array.from({ length: n.skeletonRows ?? 3 }, (e, t) => /* @__PURE__ */ O(x, {
|
|
1371
1371
|
height: "48px",
|
|
1372
1372
|
variant: "block"
|
|
1373
1373
|
}, t))]
|
|
1374
|
-
}) : n.state === "empty" || n.state === "not-found" ? /* @__PURE__ */
|
|
1374
|
+
}) : n.state === "empty" || n.state === "not-found" ? /* @__PURE__ */ O(ne, {
|
|
1375
1375
|
description: n.description,
|
|
1376
1376
|
title: n.title
|
|
1377
|
-
}) : /* @__PURE__ */
|
|
1377
|
+
}) : /* @__PURE__ */ k(ue, { children: [
|
|
1378
1378
|
_,
|
|
1379
|
-
r === "compact" ? m.length === 0 ? null : /* @__PURE__ */
|
|
1379
|
+
r === "compact" ? m.length === 0 ? null : /* @__PURE__ */ k("div", {
|
|
1380
1380
|
className: H("sortSelect"),
|
|
1381
|
-
children: [/* @__PURE__ */
|
|
1381
|
+
children: [/* @__PURE__ */ O(C, {
|
|
1382
1382
|
"aria-label": "Sort by",
|
|
1383
1383
|
onValueChange: (e) => {
|
|
1384
1384
|
e !== h?.id && s(e);
|
|
@@ -1389,55 +1389,55 @@ var fe = {
|
|
|
1389
1389
|
})),
|
|
1390
1390
|
placeholder: "Sort by",
|
|
1391
1391
|
value: h?.id
|
|
1392
|
-
}), h === void 0 ? null : /* @__PURE__ */
|
|
1392
|
+
}), h === void 0 ? null : /* @__PURE__ */ O(S, {
|
|
1393
1393
|
icon: h.sortDirection === "ascending" ? "arrow-up" : "arrow-down",
|
|
1394
1394
|
label: `Reverse order, currently ${h.sortDirection}`,
|
|
1395
1395
|
onClick: () => s(h.id),
|
|
1396
1396
|
variant: "secondary"
|
|
1397
1397
|
})]
|
|
1398
|
-
}) : /* @__PURE__ */
|
|
1398
|
+
}) : /* @__PURE__ */ k("div", {
|
|
1399
1399
|
"aria-label": `${l} sorting`,
|
|
1400
1400
|
className: H("sortControls"),
|
|
1401
1401
|
role: "group",
|
|
1402
|
-
children: [/* @__PURE__ */
|
|
1402
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1403
1403
|
className: H("sortLabel"),
|
|
1404
1404
|
children: "Sort"
|
|
1405
|
-
}), m.map((e) => /* @__PURE__ */
|
|
1405
|
+
}), m.map((e) => /* @__PURE__ */ k("button", {
|
|
1406
1406
|
"aria-label": `Sort by ${e.label}, currently ${e.sortDirection}`,
|
|
1407
1407
|
className: H("sortButton"),
|
|
1408
1408
|
onClick: () => s(e.id),
|
|
1409
1409
|
type: "button",
|
|
1410
|
-
children: [/* @__PURE__ */
|
|
1410
|
+
children: [/* @__PURE__ */ O("span", { children: e.label }), /* @__PURE__ */ O(wt, { direction: e.sortDirection })]
|
|
1411
1411
|
}, e.id))]
|
|
1412
1412
|
}),
|
|
1413
|
-
/* @__PURE__ */
|
|
1413
|
+
/* @__PURE__ */ k("table", {
|
|
1414
1414
|
"aria-labelledby": p,
|
|
1415
1415
|
className: H("table"),
|
|
1416
|
-
children: [/* @__PURE__ */
|
|
1416
|
+
children: [/* @__PURE__ */ O("thead", {
|
|
1417
1417
|
className: H("head"),
|
|
1418
|
-
children: /* @__PURE__ */
|
|
1418
|
+
children: /* @__PURE__ */ O("tr", { children: t.map((e) => /* @__PURE__ */ O("th", {
|
|
1419
1419
|
"aria-label": e.label,
|
|
1420
1420
|
"aria-sort": e.sortable === !0 ? e.sortDirection : void 0,
|
|
1421
1421
|
scope: "col",
|
|
1422
|
-
children: e.sortable === !0 ? /* @__PURE__ */
|
|
1422
|
+
children: e.sortable === !0 ? /* @__PURE__ */ k(ue, { children: [/* @__PURE__ */ O("span", {
|
|
1423
1423
|
className: H("headerLabel"),
|
|
1424
1424
|
children: e.label
|
|
1425
|
-
}), /* @__PURE__ */
|
|
1425
|
+
}), /* @__PURE__ */ k("button", {
|
|
1426
1426
|
"aria-label": `Sort by ${e.label}, currently ${e.sortDirection}`,
|
|
1427
1427
|
className: H("headerSort"),
|
|
1428
1428
|
onClick: () => s(e.id),
|
|
1429
1429
|
type: "button",
|
|
1430
|
-
children: [/* @__PURE__ */
|
|
1430
|
+
children: [/* @__PURE__ */ O("span", { children: e.label }), /* @__PURE__ */ O(wt, { direction: e.sortDirection })]
|
|
1431
1431
|
})] }) : e.label
|
|
1432
1432
|
}, e.id)) })
|
|
1433
|
-
}), /* @__PURE__ */
|
|
1433
|
+
}), /* @__PURE__ */ O("tbody", {
|
|
1434
1434
|
className: H("body"),
|
|
1435
1435
|
children: f.map((e) => {
|
|
1436
1436
|
let n = new Map(e.cells.map((e) => [e.columnId, e.content]));
|
|
1437
|
-
return /* @__PURE__ */
|
|
1437
|
+
return /* @__PURE__ */ O("tr", {
|
|
1438
1438
|
className: H("row"),
|
|
1439
1439
|
"data-rly-entity-row-id": e.id,
|
|
1440
|
-
children: t.map((e) => /* @__PURE__ */
|
|
1440
|
+
children: t.map((e) => /* @__PURE__ */ O("td", {
|
|
1441
1441
|
className: H("cell"),
|
|
1442
1442
|
"data-label": g.get(e.id)?.label,
|
|
1443
1443
|
children: n.get(e.id)
|
|
@@ -1456,39 +1456,39 @@ var fe = {
|
|
|
1456
1456
|
sourceDetail: "rly_EvidenceStamp-module__sourceDetail",
|
|
1457
1457
|
reference: "rly_EvidenceStamp-module__reference"
|
|
1458
1458
|
}, Dt = (e) => c(Et, e), Ot = ({ className: e, freshness: t, freshnessDateTime: n, freshnessTime: r, reference: i, service: a, ...s }) => {
|
|
1459
|
-
let c = o(i, "EvidenceStamp reference"), l = n === void 0 || r === void 0 ? /* @__PURE__ */
|
|
1459
|
+
let c = o(i, "EvidenceStamp reference"), l = n === void 0 || r === void 0 ? /* @__PURE__ */ O(ot, {
|
|
1460
1460
|
size: "compact",
|
|
1461
1461
|
state: t
|
|
1462
|
-
}) : /* @__PURE__ */
|
|
1462
|
+
}) : /* @__PURE__ */ O(ot, {
|
|
1463
1463
|
dateTime: n,
|
|
1464
1464
|
size: "compact",
|
|
1465
1465
|
state: t,
|
|
1466
1466
|
time: r
|
|
1467
1467
|
});
|
|
1468
|
-
return /* @__PURE__ */
|
|
1468
|
+
return /* @__PURE__ */ k("div", {
|
|
1469
1469
|
...s,
|
|
1470
1470
|
className: d(Dt("root"), e),
|
|
1471
1471
|
"data-rly-evidence-stamp": "",
|
|
1472
|
-
children: [/* @__PURE__ */
|
|
1472
|
+
children: [/* @__PURE__ */ k("div", {
|
|
1473
1473
|
className: Dt("source"),
|
|
1474
1474
|
"data-rly-evidence-source": a,
|
|
1475
|
-
children: [/* @__PURE__ */
|
|
1475
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1476
1476
|
className: Dt("conceptLabel"),
|
|
1477
1477
|
children: "Evidence source"
|
|
1478
|
-
}), /* @__PURE__ */
|
|
1478
|
+
}), /* @__PURE__ */ k("div", {
|
|
1479
1479
|
className: Dt("sourceDetail"),
|
|
1480
|
-
children: [/* @__PURE__ */
|
|
1480
|
+
children: [/* @__PURE__ */ O(z, {
|
|
1481
1481
|
service: a,
|
|
1482
1482
|
size: "compact"
|
|
1483
|
-
}), /* @__PURE__ */
|
|
1483
|
+
}), /* @__PURE__ */ O("code", {
|
|
1484
1484
|
className: Dt("reference"),
|
|
1485
1485
|
children: c
|
|
1486
1486
|
})]
|
|
1487
1487
|
})]
|
|
1488
|
-
}), /* @__PURE__ */
|
|
1488
|
+
}), /* @__PURE__ */ k("div", {
|
|
1489
1489
|
className: Dt("freshness"),
|
|
1490
1490
|
"data-rly-evidence-freshness": t,
|
|
1491
|
-
children: [/* @__PURE__ */
|
|
1491
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1492
1492
|
className: Dt("conceptLabel"),
|
|
1493
1493
|
children: "Freshness"
|
|
1494
1494
|
}), l]
|
|
@@ -1539,86 +1539,86 @@ var fe = {
|
|
|
1539
1539
|
tone: "neutral"
|
|
1540
1540
|
}
|
|
1541
1541
|
}, jt = ({ authorizeLabel: e = "Authorize exact action", className: t, confirmationLabel: n, isConfirmed: r, onAuthorize: i, onConfirmationChange: a, onReject: s, outcome: c, proposal: l, rejectLabel: u = "Reject proposal", reviewer: f, state: p, ...m }) => {
|
|
1542
|
-
let h =
|
|
1542
|
+
let h = Te(l), g = o(e, "GovernedActionReview authorizeLabel"), _ = o(n, "GovernedActionReview confirmationLabel"), v = o(u, "GovernedActionReview rejectLabel");
|
|
1543
1543
|
o(f.id, "GovernedActionReview reviewer id"), o(f.name, "GovernedActionReview reviewer name"), o(f.role, "GovernedActionReview reviewer role");
|
|
1544
1544
|
let y = `rly-governed-action-${E()}`, x = `rly-governed-action-reference-${E()}`, S = `rly-governed-confirmation-${E()}`, C = At[p], ee = () => {
|
|
1545
1545
|
p === "pending" && r && i();
|
|
1546
1546
|
};
|
|
1547
|
-
return /* @__PURE__ */
|
|
1547
|
+
return /* @__PURE__ */ k("section", {
|
|
1548
1548
|
...m,
|
|
1549
1549
|
"aria-labelledby": `${y} ${x}`,
|
|
1550
1550
|
className: d(U("root"), t),
|
|
1551
1551
|
"data-rly-governed-action-state": p,
|
|
1552
1552
|
children: [
|
|
1553
|
-
/* @__PURE__ */
|
|
1553
|
+
/* @__PURE__ */ k("header", {
|
|
1554
1554
|
className: U("header"),
|
|
1555
|
-
children: [/* @__PURE__ */
|
|
1556
|
-
/* @__PURE__ */
|
|
1555
|
+
children: [/* @__PURE__ */ k("div", { children: [
|
|
1556
|
+
/* @__PURE__ */ O("p", {
|
|
1557
1557
|
className: U("eyebrow"),
|
|
1558
1558
|
children: "Human authorization"
|
|
1559
1559
|
}),
|
|
1560
|
-
/* @__PURE__ */
|
|
1560
|
+
/* @__PURE__ */ O("h2", {
|
|
1561
1561
|
className: U("heading"),
|
|
1562
1562
|
id: y,
|
|
1563
1563
|
children: "Review exact proposed action"
|
|
1564
1564
|
}),
|
|
1565
|
-
/* @__PURE__ */
|
|
1565
|
+
/* @__PURE__ */ O("code", {
|
|
1566
1566
|
className: U("proposalReference"),
|
|
1567
1567
|
id: x,
|
|
1568
1568
|
children: h.id
|
|
1569
1569
|
})
|
|
1570
|
-
] }), /* @__PURE__ */
|
|
1570
|
+
] }), /* @__PURE__ */ O(T, {
|
|
1571
1571
|
label: C.label,
|
|
1572
1572
|
tone: C.tone
|
|
1573
1573
|
})]
|
|
1574
1574
|
}),
|
|
1575
|
-
/* @__PURE__ */
|
|
1575
|
+
/* @__PURE__ */ O("p", {
|
|
1576
1576
|
className: U("boundary"),
|
|
1577
1577
|
children: "The agent proposed this action. Only the named human reviewer can authorize it."
|
|
1578
1578
|
}),
|
|
1579
|
-
/* @__PURE__ */
|
|
1579
|
+
/* @__PURE__ */ k("div", {
|
|
1580
1580
|
className: U("reviewer"),
|
|
1581
|
-
children: [/* @__PURE__ */
|
|
1581
|
+
children: [/* @__PURE__ */ O("span", { children: "Human reviewer" }), /* @__PURE__ */ O(F, { person: f })]
|
|
1582
1582
|
}),
|
|
1583
|
-
/* @__PURE__ */
|
|
1583
|
+
/* @__PURE__ */ k("dl", {
|
|
1584
1584
|
className: U("facts"),
|
|
1585
1585
|
children: [
|
|
1586
|
-
/* @__PURE__ */
|
|
1587
|
-
/* @__PURE__ */
|
|
1588
|
-
/* @__PURE__ */
|
|
1589
|
-
/* @__PURE__ */
|
|
1586
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Proposal" }), /* @__PURE__ */ O("dd", { children: h.capability })] }),
|
|
1587
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Target" }), /* @__PURE__ */ O("dd", { children: h.target })] }),
|
|
1588
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Expected revision" }), /* @__PURE__ */ O("dd", { children: h.expectedRevision })] }),
|
|
1589
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("dt", { children: "Impact" }), /* @__PURE__ */ O("dd", { children: h.impact })] })
|
|
1590
1590
|
]
|
|
1591
1591
|
}),
|
|
1592
|
-
/* @__PURE__ */
|
|
1592
|
+
/* @__PURE__ */ k("div", {
|
|
1593
1593
|
className: U("evidence"),
|
|
1594
1594
|
"data-rly-governed-action-evidence": "",
|
|
1595
|
-
children: [/* @__PURE__ */
|
|
1595
|
+
children: [/* @__PURE__ */ O("h3", { children: "Evidence reviewed before decision" }), /* @__PURE__ */ O("ul", { children: h.evidence.map((e) => /* @__PURE__ */ k("li", { children: [/* @__PURE__ */ O("span", { children: e.label }), /* @__PURE__ */ O("code", { children: e.reference })] }, e.id)) })]
|
|
1596
1596
|
}),
|
|
1597
|
-
p === "pending" ? /* @__PURE__ */
|
|
1597
|
+
p === "pending" ? /* @__PURE__ */ k("form", {
|
|
1598
1598
|
className: U("decision"),
|
|
1599
1599
|
onSubmit: (e) => e.preventDefault(),
|
|
1600
1600
|
children: [
|
|
1601
|
-
/* @__PURE__ */
|
|
1601
|
+
/* @__PURE__ */ k("label", {
|
|
1602
1602
|
className: U("confirmation"),
|
|
1603
1603
|
htmlFor: S,
|
|
1604
|
-
children: [/* @__PURE__ */
|
|
1604
|
+
children: [/* @__PURE__ */ O("input", {
|
|
1605
1605
|
checked: r,
|
|
1606
1606
|
id: S,
|
|
1607
1607
|
onChange: (e) => a(e.currentTarget.checked),
|
|
1608
1608
|
type: "checkbox"
|
|
1609
|
-
}), /* @__PURE__ */
|
|
1609
|
+
}), /* @__PURE__ */ O("span", { children: _ })]
|
|
1610
1610
|
}),
|
|
1611
|
-
/* @__PURE__ */
|
|
1611
|
+
/* @__PURE__ */ O("p", {
|
|
1612
1612
|
className: U("confirmationHelp"),
|
|
1613
1613
|
children: "Confirm the exact proposal, target, revision, impact, and evidence above."
|
|
1614
1614
|
}),
|
|
1615
|
-
/* @__PURE__ */
|
|
1615
|
+
/* @__PURE__ */ k("div", {
|
|
1616
1616
|
className: U("actions"),
|
|
1617
|
-
children: [/* @__PURE__ */
|
|
1617
|
+
children: [/* @__PURE__ */ O(b, {
|
|
1618
1618
|
onClick: s,
|
|
1619
1619
|
variant: "secondary",
|
|
1620
1620
|
children: v
|
|
1621
|
-
}), /* @__PURE__ */
|
|
1621
|
+
}), /* @__PURE__ */ O(b, {
|
|
1622
1622
|
disabled: !r,
|
|
1623
1623
|
onClick: ee,
|
|
1624
1624
|
variant: "primary",
|
|
@@ -1627,10 +1627,10 @@ var fe = {
|
|
|
1627
1627
|
})
|
|
1628
1628
|
]
|
|
1629
1629
|
}) : null,
|
|
1630
|
-
/* @__PURE__ */
|
|
1630
|
+
/* @__PURE__ */ k("div", {
|
|
1631
1631
|
className: U("outcome"),
|
|
1632
1632
|
"data-rly-governed-action-outcome": "",
|
|
1633
|
-
children: [/* @__PURE__ */
|
|
1633
|
+
children: [/* @__PURE__ */ O("h3", { children: "Recorded outcome" }), c]
|
|
1634
1634
|
})
|
|
1635
1635
|
]
|
|
1636
1636
|
});
|
|
@@ -1686,35 +1686,35 @@ var fe = {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
} }), It = ({ caption: e, className: t, fact: n, label: r = "Summary", size: i = Pt.size, ...a }) => {
|
|
1688
1688
|
let o = d(W("root"), Nt.size[i].className, t);
|
|
1689
|
-
return i === "line" ? /* @__PURE__ */
|
|
1689
|
+
return i === "line" ? /* @__PURE__ */ O("section", {
|
|
1690
1690
|
...a,
|
|
1691
1691
|
"aria-label": r,
|
|
1692
1692
|
className: o,
|
|
1693
1693
|
"data-rly-hero": "",
|
|
1694
|
-
children: /* @__PURE__ */
|
|
1694
|
+
children: /* @__PURE__ */ k("p", {
|
|
1695
1695
|
className: W("text"),
|
|
1696
|
-
children: [/* @__PURE__ */
|
|
1696
|
+
children: [/* @__PURE__ */ O("strong", {
|
|
1697
1697
|
className: W("fact"),
|
|
1698
1698
|
children: n
|
|
1699
|
-
}), e === void 0 ? null : /* @__PURE__ */
|
|
1699
|
+
}), e === void 0 ? null : /* @__PURE__ */ k(ue, { children: [" ", /* @__PURE__ */ O("span", {
|
|
1700
1700
|
className: W("caption"),
|
|
1701
1701
|
children: e
|
|
1702
1702
|
})] })]
|
|
1703
1703
|
})
|
|
1704
|
-
}) : /* @__PURE__ */
|
|
1704
|
+
}) : /* @__PURE__ */ k("section", {
|
|
1705
1705
|
...a,
|
|
1706
1706
|
"aria-label": r,
|
|
1707
1707
|
className: o,
|
|
1708
1708
|
"data-rly-hero": "",
|
|
1709
|
-
children: [/* @__PURE__ */
|
|
1709
|
+
children: [/* @__PURE__ */ O("p", {
|
|
1710
1710
|
className: W("fact"),
|
|
1711
1711
|
children: n
|
|
1712
|
-
}), e === void 0 ? null : /* @__PURE__ */
|
|
1712
|
+
}), e === void 0 ? null : /* @__PURE__ */ O("p", {
|
|
1713
1713
|
className: W("caption"),
|
|
1714
1714
|
children: e
|
|
1715
1715
|
})]
|
|
1716
1716
|
});
|
|
1717
|
-
}, Lt = ({ children: e, className: t, tone: n, ...r }) => /* @__PURE__ */
|
|
1717
|
+
}, Lt = ({ children: e, className: t, tone: n, ...r }) => /* @__PURE__ */ O("span", {
|
|
1718
1718
|
...r,
|
|
1719
1719
|
className: d(W("word"), Ft.tone[n].className, t),
|
|
1720
1720
|
children: e
|
|
@@ -1722,11 +1722,11 @@ var fe = {
|
|
|
1722
1722
|
root: "rly_Region-module__root",
|
|
1723
1723
|
default: "rly_Region-module__default",
|
|
1724
1724
|
tray: "rly_Region-module__tray",
|
|
1725
|
+
body: "rly_Region-module__body",
|
|
1725
1726
|
header: "rly_Region-module__header",
|
|
1726
1727
|
title: "rly_Region-module__title",
|
|
1727
1728
|
count: "rly_Region-module__count",
|
|
1728
|
-
actions: "rly_Region-module__actions"
|
|
1729
|
-
body: "rly_Region-module__body"
|
|
1729
|
+
actions: "rly_Region-module__actions"
|
|
1730
1730
|
}, zt = (e) => c(Rt, e), Bt = l({ tone: {
|
|
1731
1731
|
default: {
|
|
1732
1732
|
className: zt("default"),
|
|
@@ -1735,31 +1735,35 @@ var fe = {
|
|
|
1735
1735
|
},
|
|
1736
1736
|
tray: {
|
|
1737
1737
|
className: zt("tray"),
|
|
1738
|
-
purpose: "A region holding individually actionable cards
|
|
1739
|
-
tokens: [
|
|
1738
|
+
purpose: "A region holding individually actionable cards; its body sits one surface step down so the cards stand out, under the same header as every region",
|
|
1739
|
+
tokens: [
|
|
1740
|
+
"color-surface-1",
|
|
1741
|
+
"color-surface-2",
|
|
1742
|
+
"color-border-1"
|
|
1743
|
+
]
|
|
1740
1744
|
}
|
|
1741
1745
|
} }), Vt = l({ tone: "default" }), Ht = ({ actions: e, children: t, className: n, count: r, headingId: i, headingLevel: a = 2, title: s, tone: c = Vt.tone, ...l }) => {
|
|
1742
1746
|
let u = o(s, "Region title"), f = `rly-region-${E()}`, p = i ?? f, m = a === 3 ? "h3" : "h2";
|
|
1743
|
-
return /* @__PURE__ */
|
|
1747
|
+
return /* @__PURE__ */ k("section", {
|
|
1744
1748
|
...l,
|
|
1745
1749
|
"aria-labelledby": p,
|
|
1746
1750
|
className: d(zt("root"), Bt.tone[c].className, n),
|
|
1747
1751
|
"data-rly-region": "",
|
|
1748
|
-
children: [/* @__PURE__ */
|
|
1752
|
+
children: [/* @__PURE__ */ k("header", {
|
|
1749
1753
|
className: zt("header"),
|
|
1750
|
-
children: [/* @__PURE__ */
|
|
1754
|
+
children: [/* @__PURE__ */ k(m, {
|
|
1751
1755
|
className: zt("title"),
|
|
1752
1756
|
id: p,
|
|
1753
1757
|
tabIndex: -1,
|
|
1754
|
-
children: [u, r === void 0 ? null : /* @__PURE__ */
|
|
1758
|
+
children: [u, r === void 0 ? null : /* @__PURE__ */ k(ue, { children: [" ", /* @__PURE__ */ O("span", {
|
|
1755
1759
|
className: zt("count"),
|
|
1756
1760
|
children: r
|
|
1757
1761
|
})] })]
|
|
1758
|
-
}), e === void 0 ? null : /* @__PURE__ */
|
|
1762
|
+
}), e === void 0 ? null : /* @__PURE__ */ O("div", {
|
|
1759
1763
|
className: zt("actions"),
|
|
1760
1764
|
children: e
|
|
1761
1765
|
})]
|
|
1762
|
-
}), /* @__PURE__ */
|
|
1766
|
+
}), /* @__PURE__ */ O("div", {
|
|
1763
1767
|
className: zt("body"),
|
|
1764
1768
|
children: t
|
|
1765
1769
|
})]
|
|
@@ -1851,52 +1855,52 @@ var fe = {
|
|
|
1851
1855
|
arrow: "rly_RelationshipChain-module__arrow",
|
|
1852
1856
|
actor: "rly_RelationshipChain-module__actor"
|
|
1853
1857
|
}, G = (e) => c(Yt, e), Xt = ({ endpoint: t }) => {
|
|
1854
|
-
if (t.state === "missing") return /* @__PURE__ */
|
|
1858
|
+
if (t.state === "missing") return /* @__PURE__ */ k("div", {
|
|
1855
1859
|
className: d(G("endpoint"), G("missingEndpoint")),
|
|
1856
1860
|
"data-rly-endpoint-state": "missing",
|
|
1857
|
-
children: [t.service === void 0 ? null : /* @__PURE__ */
|
|
1861
|
+
children: [t.service === void 0 ? null : /* @__PURE__ */ O(z, {
|
|
1858
1862
|
service: t.service,
|
|
1859
1863
|
size: "compact"
|
|
1860
|
-
}), /* @__PURE__ */
|
|
1864
|
+
}), /* @__PURE__ */ k("span", {
|
|
1861
1865
|
className: G("missingIdentity"),
|
|
1862
|
-
children: [/* @__PURE__ */
|
|
1866
|
+
children: [/* @__PURE__ */ k("span", {
|
|
1863
1867
|
className: G("missingLabel"),
|
|
1864
|
-
children: [/* @__PURE__ */
|
|
1868
|
+
children: [/* @__PURE__ */ O(e, {
|
|
1865
1869
|
decorative: !0,
|
|
1866
1870
|
name: "alert",
|
|
1867
1871
|
size: "small"
|
|
1868
1872
|
}), t.label]
|
|
1869
|
-
}), /* @__PURE__ */
|
|
1873
|
+
}), /* @__PURE__ */ O("span", {
|
|
1870
1874
|
className: G("reference"),
|
|
1871
1875
|
children: t.reason
|
|
1872
1876
|
})]
|
|
1873
1877
|
})]
|
|
1874
1878
|
});
|
|
1875
|
-
let n = /* @__PURE__ */
|
|
1879
|
+
let n = /* @__PURE__ */ k("span", {
|
|
1876
1880
|
className: G("identity"),
|
|
1877
|
-
children: [/* @__PURE__ */
|
|
1881
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1878
1882
|
className: G("title"),
|
|
1879
1883
|
children: t.title
|
|
1880
|
-
}), /* @__PURE__ */
|
|
1884
|
+
}), /* @__PURE__ */ O("span", {
|
|
1881
1885
|
className: G("reference"),
|
|
1882
1886
|
children: t.reference
|
|
1883
1887
|
})]
|
|
1884
1888
|
});
|
|
1885
|
-
return /* @__PURE__ */
|
|
1889
|
+
return /* @__PURE__ */ k("div", {
|
|
1886
1890
|
className: G("endpoint"),
|
|
1887
1891
|
"data-rly-endpoint-id": t.id,
|
|
1888
1892
|
"data-rly-endpoint-state": "present",
|
|
1889
1893
|
children: [
|
|
1890
|
-
/* @__PURE__ */
|
|
1894
|
+
/* @__PURE__ */ O(z, {
|
|
1891
1895
|
service: t.service,
|
|
1892
1896
|
size: "compact"
|
|
1893
1897
|
}),
|
|
1894
|
-
t.href === void 0 ? n : /* @__PURE__ */
|
|
1898
|
+
t.href === void 0 ? n : /* @__PURE__ */ O(r, {
|
|
1895
1899
|
className: G("endpointLink"),
|
|
1896
1900
|
href: t.href,
|
|
1897
1901
|
children: n
|
|
1898
1902
|
}),
|
|
1899
|
-
t.person === void 0 ? null : /* @__PURE__ */
|
|
1903
|
+
t.person === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
1900
1904
|
person: t.person,
|
|
1901
1905
|
size: "compact"
|
|
1902
1906
|
})
|
|
@@ -1906,71 +1910,71 @@ var fe = {
|
|
|
1906
1910
|
let a = o(n, "RelationshipChain heading"), s = o(t, "RelationshipChain emptyLabel");
|
|
1907
1911
|
Jt(r);
|
|
1908
1912
|
let c = `${E()}-heading`;
|
|
1909
|
-
return /* @__PURE__ */
|
|
1913
|
+
return /* @__PURE__ */ k("section", {
|
|
1910
1914
|
...i,
|
|
1911
1915
|
"aria-labelledby": c,
|
|
1912
1916
|
className: d(G("root"), e),
|
|
1913
|
-
children: [/* @__PURE__ */
|
|
1917
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
1914
1918
|
className: G("heading"),
|
|
1915
1919
|
id: c,
|
|
1916
1920
|
children: a
|
|
1917
|
-
}), r.length === 0 ? /* @__PURE__ */
|
|
1921
|
+
}), r.length === 0 ? /* @__PURE__ */ O("p", {
|
|
1918
1922
|
className: G("empty"),
|
|
1919
1923
|
children: s
|
|
1920
|
-
}) : /* @__PURE__ */
|
|
1924
|
+
}) : /* @__PURE__ */ O("ol", {
|
|
1921
1925
|
className: G("list"),
|
|
1922
1926
|
children: r.map((e) => {
|
|
1923
1927
|
let t = Wt[e.direction], n = Ut[e.lifecycle];
|
|
1924
|
-
return /* @__PURE__ */
|
|
1928
|
+
return /* @__PURE__ */ k("li", {
|
|
1925
1929
|
className: G("item"),
|
|
1926
1930
|
"data-rly-relationship-id": e.id,
|
|
1927
1931
|
"data-rly-relationship-direction": e.direction,
|
|
1928
1932
|
"data-rly-relationship-kind": e.kind,
|
|
1929
1933
|
"data-rly-relationship-lifecycle": e.lifecycle,
|
|
1930
1934
|
children: [
|
|
1931
|
-
/* @__PURE__ */
|
|
1932
|
-
/* @__PURE__ */
|
|
1935
|
+
/* @__PURE__ */ O(Xt, { endpoint: e.source }),
|
|
1936
|
+
/* @__PURE__ */ k("div", {
|
|
1933
1937
|
className: G("relationship"),
|
|
1934
1938
|
"data-rly-relationship-detail": "",
|
|
1935
1939
|
children: [
|
|
1936
|
-
/* @__PURE__ */
|
|
1940
|
+
/* @__PURE__ */ k("span", {
|
|
1937
1941
|
className: G("direction"),
|
|
1938
|
-
children: [/* @__PURE__ */
|
|
1942
|
+
children: [/* @__PURE__ */ O("span", { children: t.label }), /* @__PURE__ */ O("span", {
|
|
1939
1943
|
"aria-hidden": "true",
|
|
1940
1944
|
className: G("arrow"),
|
|
1941
1945
|
children: t.arrow
|
|
1942
1946
|
})]
|
|
1943
1947
|
}),
|
|
1944
|
-
/* @__PURE__ */
|
|
1948
|
+
/* @__PURE__ */ O("span", {
|
|
1945
1949
|
className: G("kind"),
|
|
1946
1950
|
children: e.kind
|
|
1947
1951
|
}),
|
|
1948
|
-
/* @__PURE__ */
|
|
1952
|
+
/* @__PURE__ */ O(T, {
|
|
1949
1953
|
icon: n.icon,
|
|
1950
1954
|
label: n.label,
|
|
1951
1955
|
size: "compact",
|
|
1952
1956
|
tone: "neutral"
|
|
1953
1957
|
}),
|
|
1954
|
-
e.actor === void 0 ? null : /* @__PURE__ */
|
|
1958
|
+
e.actor === void 0 ? null : /* @__PURE__ */ k("div", {
|
|
1955
1959
|
className: G("actor"),
|
|
1956
1960
|
"data-rly-relationship-actor": e.actor.id,
|
|
1957
|
-
children: [/* @__PURE__ */
|
|
1961
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1958
1962
|
className: G("fieldLabel"),
|
|
1959
1963
|
children: "Actor"
|
|
1960
|
-
}), /* @__PURE__ */
|
|
1964
|
+
}), /* @__PURE__ */ O(F, {
|
|
1961
1965
|
person: e.actor,
|
|
1962
1966
|
size: "compact"
|
|
1963
1967
|
})]
|
|
1964
1968
|
})
|
|
1965
1969
|
]
|
|
1966
1970
|
}),
|
|
1967
|
-
/* @__PURE__ */
|
|
1968
|
-
/* @__PURE__ */
|
|
1971
|
+
/* @__PURE__ */ O(Xt, { endpoint: e.target }),
|
|
1972
|
+
/* @__PURE__ */ k("p", {
|
|
1969
1973
|
className: G("evidence"),
|
|
1970
|
-
children: [/* @__PURE__ */
|
|
1974
|
+
children: [/* @__PURE__ */ O("span", {
|
|
1971
1975
|
className: G("fieldLabel"),
|
|
1972
1976
|
children: "Evidence"
|
|
1973
|
-
}), /* @__PURE__ */
|
|
1977
|
+
}), /* @__PURE__ */ O("span", {
|
|
1974
1978
|
"data-rly-relationship-evidence": "",
|
|
1975
1979
|
children: e.evidence ?? "No evidence recorded."
|
|
1976
1980
|
})]
|
|
@@ -2004,52 +2008,52 @@ var fe = {
|
|
|
2004
2008
|
body: "rly_RelationshipTable-module__body",
|
|
2005
2009
|
row: "rly_RelationshipTable-module__row"
|
|
2006
2010
|
}, K = (e) => c(Qt, e), $t = ({ endpoint: t }) => {
|
|
2007
|
-
if (t.state === "missing") return /* @__PURE__ */
|
|
2011
|
+
if (t.state === "missing") return /* @__PURE__ */ k("div", {
|
|
2008
2012
|
className: d(K("endpoint"), K("missingEndpoint")),
|
|
2009
2013
|
"data-rly-endpoint-state": "missing",
|
|
2010
|
-
children: [t.service === void 0 ? null : /* @__PURE__ */
|
|
2014
|
+
children: [t.service === void 0 ? null : /* @__PURE__ */ O(z, {
|
|
2011
2015
|
service: t.service,
|
|
2012
2016
|
size: "compact"
|
|
2013
|
-
}), /* @__PURE__ */
|
|
2017
|
+
}), /* @__PURE__ */ k("span", {
|
|
2014
2018
|
className: K("identity"),
|
|
2015
|
-
children: [/* @__PURE__ */
|
|
2019
|
+
children: [/* @__PURE__ */ k("span", {
|
|
2016
2020
|
className: K("missingLabel"),
|
|
2017
|
-
children: [/* @__PURE__ */
|
|
2021
|
+
children: [/* @__PURE__ */ O(e, {
|
|
2018
2022
|
decorative: !0,
|
|
2019
2023
|
name: "alert",
|
|
2020
2024
|
size: "small"
|
|
2021
2025
|
}), t.label]
|
|
2022
|
-
}), /* @__PURE__ */
|
|
2026
|
+
}), /* @__PURE__ */ O("span", {
|
|
2023
2027
|
className: K("reference"),
|
|
2024
2028
|
children: t.reason
|
|
2025
2029
|
})]
|
|
2026
2030
|
})]
|
|
2027
2031
|
});
|
|
2028
|
-
let n = /* @__PURE__ */
|
|
2032
|
+
let n = /* @__PURE__ */ k("span", {
|
|
2029
2033
|
className: K("identity"),
|
|
2030
|
-
children: [/* @__PURE__ */
|
|
2034
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2031
2035
|
className: K("title"),
|
|
2032
2036
|
children: t.title
|
|
2033
|
-
}), /* @__PURE__ */
|
|
2037
|
+
}), /* @__PURE__ */ O("span", {
|
|
2034
2038
|
className: K("reference"),
|
|
2035
2039
|
children: t.reference
|
|
2036
2040
|
})]
|
|
2037
2041
|
});
|
|
2038
|
-
return /* @__PURE__ */
|
|
2042
|
+
return /* @__PURE__ */ k("div", {
|
|
2039
2043
|
className: K("endpoint"),
|
|
2040
2044
|
"data-rly-endpoint-id": t.id,
|
|
2041
2045
|
"data-rly-endpoint-state": "present",
|
|
2042
2046
|
children: [
|
|
2043
|
-
/* @__PURE__ */
|
|
2047
|
+
/* @__PURE__ */ O(z, {
|
|
2044
2048
|
service: t.service,
|
|
2045
2049
|
size: "compact"
|
|
2046
2050
|
}),
|
|
2047
|
-
t.href === void 0 ? n : /* @__PURE__ */
|
|
2051
|
+
t.href === void 0 ? n : /* @__PURE__ */ O(r, {
|
|
2048
2052
|
className: K("endpointLink"),
|
|
2049
2053
|
href: t.href,
|
|
2050
2054
|
children: n
|
|
2051
2055
|
}),
|
|
2052
|
-
t.person === void 0 ? null : /* @__PURE__ */
|
|
2056
|
+
t.person === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
2053
2057
|
person: t.person,
|
|
2054
2058
|
size: "compact"
|
|
2055
2059
|
})
|
|
@@ -2059,88 +2063,88 @@ var fe = {
|
|
|
2059
2063
|
let a = o(n, "RelationshipTable heading"), s = o(t, "RelationshipTable emptyLabel");
|
|
2060
2064
|
Jt(r);
|
|
2061
2065
|
let c = `${E()}-heading`;
|
|
2062
|
-
return /* @__PURE__ */
|
|
2066
|
+
return /* @__PURE__ */ k("section", {
|
|
2063
2067
|
...i,
|
|
2064
2068
|
"aria-labelledby": c,
|
|
2065
2069
|
className: d(K("root"), e),
|
|
2066
|
-
children: [/* @__PURE__ */
|
|
2070
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
2067
2071
|
className: K("heading"),
|
|
2068
2072
|
id: c,
|
|
2069
2073
|
children: a
|
|
2070
|
-
}), r.length === 0 ? /* @__PURE__ */
|
|
2074
|
+
}), r.length === 0 ? /* @__PURE__ */ O("p", {
|
|
2071
2075
|
className: K("empty"),
|
|
2072
2076
|
children: s
|
|
2073
|
-
}) : /* @__PURE__ */
|
|
2077
|
+
}) : /* @__PURE__ */ k("table", {
|
|
2074
2078
|
"aria-labelledby": c,
|
|
2075
2079
|
className: K("table"),
|
|
2076
|
-
children: [/* @__PURE__ */
|
|
2080
|
+
children: [/* @__PURE__ */ O("thead", {
|
|
2077
2081
|
className: K("head"),
|
|
2078
|
-
children: /* @__PURE__ */
|
|
2079
|
-
/* @__PURE__ */
|
|
2082
|
+
children: /* @__PURE__ */ k("tr", { children: [
|
|
2083
|
+
/* @__PURE__ */ O("th", {
|
|
2080
2084
|
scope: "col",
|
|
2081
2085
|
children: "Source"
|
|
2082
2086
|
}),
|
|
2083
|
-
/* @__PURE__ */
|
|
2087
|
+
/* @__PURE__ */ O("th", {
|
|
2084
2088
|
scope: "col",
|
|
2085
2089
|
children: "Relationship"
|
|
2086
2090
|
}),
|
|
2087
|
-
/* @__PURE__ */
|
|
2091
|
+
/* @__PURE__ */ O("th", {
|
|
2088
2092
|
scope: "col",
|
|
2089
2093
|
children: "Target"
|
|
2090
2094
|
}),
|
|
2091
|
-
/* @__PURE__ */
|
|
2095
|
+
/* @__PURE__ */ O("th", {
|
|
2092
2096
|
scope: "col",
|
|
2093
2097
|
children: "Evidence"
|
|
2094
2098
|
})
|
|
2095
2099
|
] })
|
|
2096
|
-
}), /* @__PURE__ */
|
|
2100
|
+
}), /* @__PURE__ */ O("tbody", {
|
|
2097
2101
|
className: K("body"),
|
|
2098
2102
|
children: r.map((e) => {
|
|
2099
2103
|
let t = Wt[e.direction], n = Ut[e.lifecycle];
|
|
2100
|
-
return /* @__PURE__ */
|
|
2104
|
+
return /* @__PURE__ */ k("tr", {
|
|
2101
2105
|
className: K("row"),
|
|
2102
2106
|
"data-rly-relationship-id": e.id,
|
|
2103
2107
|
"data-rly-relationship-direction": e.direction,
|
|
2104
2108
|
"data-rly-relationship-kind": e.kind,
|
|
2105
2109
|
"data-rly-relationship-lifecycle": e.lifecycle,
|
|
2106
2110
|
children: [
|
|
2107
|
-
/* @__PURE__ */
|
|
2111
|
+
/* @__PURE__ */ O("td", {
|
|
2108
2112
|
className: K("cell"),
|
|
2109
2113
|
"data-label": "Source",
|
|
2110
|
-
children: /* @__PURE__ */
|
|
2114
|
+
children: /* @__PURE__ */ O($t, { endpoint: e.source })
|
|
2111
2115
|
}),
|
|
2112
|
-
/* @__PURE__ */
|
|
2116
|
+
/* @__PURE__ */ O("td", {
|
|
2113
2117
|
className: K("cell"),
|
|
2114
2118
|
"data-label": "Relationship",
|
|
2115
|
-
children: /* @__PURE__ */
|
|
2119
|
+
children: /* @__PURE__ */ k("div", {
|
|
2116
2120
|
className: K("relationship"),
|
|
2117
2121
|
"data-rly-relationship-detail": "",
|
|
2118
2122
|
children: [
|
|
2119
|
-
/* @__PURE__ */
|
|
2123
|
+
/* @__PURE__ */ k("span", {
|
|
2120
2124
|
className: K("direction"),
|
|
2121
|
-
children: [/* @__PURE__ */
|
|
2125
|
+
children: [/* @__PURE__ */ O("span", { children: t.label }), /* @__PURE__ */ O("span", {
|
|
2122
2126
|
"aria-hidden": "true",
|
|
2123
2127
|
className: K("arrow"),
|
|
2124
2128
|
children: t.arrow
|
|
2125
2129
|
})]
|
|
2126
2130
|
}),
|
|
2127
|
-
/* @__PURE__ */
|
|
2131
|
+
/* @__PURE__ */ O("span", {
|
|
2128
2132
|
className: K("kind"),
|
|
2129
2133
|
children: e.kind
|
|
2130
2134
|
}),
|
|
2131
|
-
/* @__PURE__ */
|
|
2135
|
+
/* @__PURE__ */ O(T, {
|
|
2132
2136
|
icon: n.icon,
|
|
2133
2137
|
label: n.label,
|
|
2134
2138
|
size: "compact",
|
|
2135
2139
|
tone: "neutral"
|
|
2136
2140
|
}),
|
|
2137
|
-
e.actor === void 0 ? null : /* @__PURE__ */
|
|
2141
|
+
e.actor === void 0 ? null : /* @__PURE__ */ k("div", {
|
|
2138
2142
|
className: K("actor"),
|
|
2139
2143
|
"data-rly-relationship-actor": e.actor.id,
|
|
2140
|
-
children: [/* @__PURE__ */
|
|
2144
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2141
2145
|
className: K("fieldLabel"),
|
|
2142
2146
|
children: "Actor"
|
|
2143
|
-
}), /* @__PURE__ */
|
|
2147
|
+
}), /* @__PURE__ */ O(F, {
|
|
2144
2148
|
person: e.actor,
|
|
2145
2149
|
size: "compact"
|
|
2146
2150
|
})]
|
|
@@ -2148,15 +2152,15 @@ var fe = {
|
|
|
2148
2152
|
]
|
|
2149
2153
|
})
|
|
2150
2154
|
}),
|
|
2151
|
-
/* @__PURE__ */
|
|
2155
|
+
/* @__PURE__ */ O("td", {
|
|
2152
2156
|
className: K("cell"),
|
|
2153
2157
|
"data-label": "Target",
|
|
2154
|
-
children: /* @__PURE__ */
|
|
2158
|
+
children: /* @__PURE__ */ O($t, { endpoint: e.target })
|
|
2155
2159
|
}),
|
|
2156
|
-
/* @__PURE__ */
|
|
2160
|
+
/* @__PURE__ */ O("td", {
|
|
2157
2161
|
className: K("cell"),
|
|
2158
2162
|
"data-label": "Evidence",
|
|
2159
|
-
children: /* @__PURE__ */
|
|
2163
|
+
children: /* @__PURE__ */ O("span", {
|
|
2160
2164
|
className: K("evidence"),
|
|
2161
2165
|
"data-rly-relationship-evidence": "",
|
|
2162
2166
|
children: e.evidence ?? "No evidence recorded."
|
|
@@ -2172,9 +2176,6 @@ var fe = {
|
|
|
2172
2176
|
root: "rly_RelayDock-module__root",
|
|
2173
2177
|
trigger: "rly_RelayDock-module__trigger",
|
|
2174
2178
|
close: "rly_RelayDock-module__close",
|
|
2175
|
-
mark: "rly_RelayDock-module__mark",
|
|
2176
|
-
markLine: "rly_RelayDock-module__markLine",
|
|
2177
|
-
markGlyph: "rly_RelayDock-module__markGlyph",
|
|
2178
2179
|
layer: "rly_RelayDock-module__layer",
|
|
2179
2180
|
overlay: "rly_RelayDock-module__overlay",
|
|
2180
2181
|
panel: "rly_RelayDock-module__panel",
|
|
@@ -2198,7 +2199,62 @@ var fe = {
|
|
|
2198
2199
|
ready: "rly_RelayDock-module__ready",
|
|
2199
2200
|
state: "rly_RelayDock-module__state",
|
|
2200
2201
|
footer: "rly_RelayDock-module__footer"
|
|
2201
|
-
},
|
|
2202
|
+
}, nn = {
|
|
2203
|
+
root: "rly_RelayMark-module__root",
|
|
2204
|
+
tile: "rly_RelayMark-module__tile",
|
|
2205
|
+
tileGlyph: "rly_RelayMark-module__tileGlyph"
|
|
2206
|
+
}, rn = (e) => c(nn, e), an = [
|
|
2207
|
+
16,
|
|
2208
|
+
20,
|
|
2209
|
+
24,
|
|
2210
|
+
32
|
|
2211
|
+
], on = [
|
|
2212
|
+
20,
|
|
2213
|
+
24,
|
|
2214
|
+
32
|
|
2215
|
+
], sn = (e, t) => e === void 0 ? void 0 : o(e, t), cn = (e, t, n) => e === void 0 && t["aria-label"] === void 0 && t["aria-labelledby"] === void 0 ? {
|
|
2216
|
+
"aria-hidden": "true",
|
|
2217
|
+
role: t.role
|
|
2218
|
+
} : {
|
|
2219
|
+
"aria-hidden": t["aria-hidden"],
|
|
2220
|
+
"aria-label": sn(e ?? t["aria-label"], n),
|
|
2221
|
+
"aria-labelledby": sn(t["aria-labelledby"], `${n} (aria-labelledby)`),
|
|
2222
|
+
role: t.role ?? "img"
|
|
2223
|
+
}, ln = ({ size: e, ...t }) => /* @__PURE__ */ k("svg", {
|
|
2224
|
+
...t,
|
|
2225
|
+
fill: "none",
|
|
2226
|
+
focusable: "false",
|
|
2227
|
+
height: e,
|
|
2228
|
+
stroke: "currentColor",
|
|
2229
|
+
strokeLinecap: "round",
|
|
2230
|
+
strokeLinejoin: "round",
|
|
2231
|
+
strokeWidth: 2.75,
|
|
2232
|
+
viewBox: "0 0 24 24",
|
|
2233
|
+
width: e,
|
|
2234
|
+
children: [
|
|
2235
|
+
/* @__PURE__ */ O("path", { d: "M4 20V9.5A5.5 5.5 0 0 1 9.5 4H13" }),
|
|
2236
|
+
/* @__PURE__ */ O("path", { d: "M20 4v10.5a5.5 5.5 0 0 1-5.5 5.5H11" }),
|
|
2237
|
+
/* @__PURE__ */ O("path", { d: "M10 14 14 10" })
|
|
2238
|
+
]
|
|
2239
|
+
}), un = Object.assign(({ className: e, label: t, size: n, ...r }) => /* @__PURE__ */ O(ln, {
|
|
2240
|
+
...r,
|
|
2241
|
+
...cn(t, r, "RelayMark label"),
|
|
2242
|
+
className: d(rn("root"), e),
|
|
2243
|
+
size: n ?? 20
|
|
2244
|
+
}), { Tile: ({ className: e, label: t, size: n, ...r }) => {
|
|
2245
|
+
let i = n ?? 24;
|
|
2246
|
+
return /* @__PURE__ */ O("span", {
|
|
2247
|
+
...r,
|
|
2248
|
+
...cn(t, r, "RelayMark.Tile label"),
|
|
2249
|
+
className: d(rn("tile"), e),
|
|
2250
|
+
"data-size": i,
|
|
2251
|
+
children: /* @__PURE__ */ O(ln, {
|
|
2252
|
+
"aria-hidden": "true",
|
|
2253
|
+
className: rn("tileGlyph"),
|
|
2254
|
+
size: i / 2
|
|
2255
|
+
})
|
|
2256
|
+
});
|
|
2257
|
+
} }), q = (e) => c(tn, e), dn = "(max-width: 40rem), (max-height: 40rem) and (pointer: coarse)", fn = [
|
|
2202
2258
|
"a[href]",
|
|
2203
2259
|
"button:not([disabled])",
|
|
2204
2260
|
"iframe:not([tabindex=\"-1\"])",
|
|
@@ -2208,40 +2264,40 @@ var fe = {
|
|
|
2208
2264
|
"textarea:not([disabled])",
|
|
2209
2265
|
"[contenteditable]:not([contenteditable=\"false\"])",
|
|
2210
2266
|
"[tabindex]:not([tabindex=\"-1\"])"
|
|
2211
|
-
].join(","),
|
|
2267
|
+
].join(","), pn = "button, fieldset, input, object, optgroup, option, output, select, textarea", mn = (e) => "activeElement" in e, hn = (e) => "host" in e && a(e.host), gn = (e) => {
|
|
2212
2268
|
let t = e.activeElement;
|
|
2213
|
-
return t === null ? null : t.shadowRoot === null ? t :
|
|
2214
|
-
},
|
|
2269
|
+
return t === null ? null : t.shadowRoot === null ? t : gn(t.shadowRoot) ?? t;
|
|
2270
|
+
}, _n = (e) => {
|
|
2215
2271
|
let t = e.getRootNode();
|
|
2216
|
-
return
|
|
2217
|
-
},
|
|
2272
|
+
return mn(t) ? gn(t) : e.ownerDocument.activeElement;
|
|
2273
|
+
}, vn = (e) => {
|
|
2218
2274
|
let t = e.getRootNode();
|
|
2219
|
-
return
|
|
2220
|
-
},
|
|
2275
|
+
return hn(t) && _(t.host) ? t.host : null;
|
|
2276
|
+
}, yn = (e) => "assignedSlot" in e, bn = (e) => e.nodeType === 1, xn = (e, t) => {
|
|
2221
2277
|
if (t !== void 0 && t.has(e)) {
|
|
2222
2278
|
let n = t.get(e);
|
|
2223
|
-
return n != null &&
|
|
2279
|
+
return n != null && bn(n) ? n : null;
|
|
2224
2280
|
}
|
|
2225
|
-
return (
|
|
2226
|
-
},
|
|
2281
|
+
return (yn(e) ? e.assignedSlot : null) ?? e.parentElement ?? vn(e);
|
|
2282
|
+
}, Sn = (e, t, n) => {
|
|
2227
2283
|
if (t === null) return !1;
|
|
2228
2284
|
if (e.contains(t)) return !0;
|
|
2229
2285
|
let r = /* @__PURE__ */ new Set(), i = t;
|
|
2230
2286
|
for (; !r.has(i);) {
|
|
2231
2287
|
r.add(i);
|
|
2232
|
-
let t =
|
|
2288
|
+
let t = xn(i, n);
|
|
2233
2289
|
if (t === null) return !1;
|
|
2234
2290
|
if (t === e || e.contains(t)) return !0;
|
|
2235
2291
|
i = t;
|
|
2236
2292
|
}
|
|
2237
2293
|
return !1;
|
|
2238
|
-
},
|
|
2294
|
+
}, Cn = (e, t) => Sn(e, t), wn = (e) => {
|
|
2239
2295
|
let t = e.activeElement;
|
|
2240
|
-
return _(t) ? t.shadowRoot === null ? t :
|
|
2241
|
-
},
|
|
2242
|
-
let t =
|
|
2296
|
+
return _(t) ? t.shadowRoot === null ? t : wn(t.shadowRoot) ?? t : null;
|
|
2297
|
+
}, Tn = (e) => {
|
|
2298
|
+
let t = wn(e);
|
|
2243
2299
|
return t === e.body || t === e.documentElement ? null : t;
|
|
2244
|
-
},
|
|
2300
|
+
}, En = (e, t) => {
|
|
2245
2301
|
if (e.matches(":disabled")) return !1;
|
|
2246
2302
|
let n = e.ownerDocument.defaultView;
|
|
2247
2303
|
if (n === null) return !_(e) || e.hidden === !1;
|
|
@@ -2252,44 +2308,44 @@ var fe = {
|
|
|
2252
2308
|
if (_(i) && i.inert) return !1;
|
|
2253
2309
|
if (i.tagName === "DETAILS" && !i.hasAttribute("open")) {
|
|
2254
2310
|
let n = i.querySelector(":scope > summary:first-of-type");
|
|
2255
|
-
if (n === null || !
|
|
2311
|
+
if (n === null || !Sn(n, e, t)) return !1;
|
|
2256
2312
|
}
|
|
2257
|
-
if (i !== e && i.tagName === "FIELDSET" && i.hasAttribute("disabled") && e.matches(
|
|
2313
|
+
if (i !== e && i.tagName === "FIELDSET" && i.hasAttribute("disabled") && e.matches(pn)) {
|
|
2258
2314
|
let n = i.querySelector(":scope > legend:first-of-type");
|
|
2259
|
-
if (n === null || !
|
|
2315
|
+
if (n === null || !Sn(n, e, t)) return !1;
|
|
2260
2316
|
}
|
|
2261
2317
|
let r = n.getComputedStyle(i);
|
|
2262
2318
|
if (_(i) && i.hidden !== !1 || r.display === "none" || i === e && r.display === "contents" || i !== e && r.contentVisibility === "hidden") return !1;
|
|
2263
|
-
i =
|
|
2319
|
+
i = xn(i, t);
|
|
2264
2320
|
}
|
|
2265
2321
|
return !0;
|
|
2266
|
-
},
|
|
2267
|
-
let n = e.getRootNode(), r = /* @__PURE__ */ new Set(), i =
|
|
2322
|
+
}, Dn = (e, t) => {
|
|
2323
|
+
let n = e.getRootNode(), r = /* @__PURE__ */ new Set(), i = xn(e, t);
|
|
2268
2324
|
for (; i !== null && !r.has(i);) {
|
|
2269
2325
|
if (r.add(i), i.getRootNode() !== n) return !1;
|
|
2270
2326
|
if (_(i) && i.isContentEditable) return !0;
|
|
2271
|
-
i =
|
|
2327
|
+
i = xn(i, t);
|
|
2272
2328
|
}
|
|
2273
2329
|
return !1;
|
|
2274
|
-
},
|
|
2275
|
-
if (e.namespaceURI ===
|
|
2330
|
+
}, On = (e) => _(e) && e.tagName === "INPUT" && e.getAttribute("type")?.toLowerCase() === "radio", kn = (e) => "tabIndex" in e && u(e.tabIndex), An = "http://www.w3.org/2000/svg", jn = (e) => {
|
|
2331
|
+
if (e.namespaceURI === An && e.localName === "a" && e.hasAttribute("href")) {
|
|
2276
2332
|
let t = e.getAttribute("tabindex");
|
|
2277
2333
|
if (t === null) return 0;
|
|
2278
2334
|
let n = Number.parseInt(t, 10);
|
|
2279
2335
|
return Number.isNaN(n) ? 0 : n;
|
|
2280
2336
|
}
|
|
2281
|
-
return
|
|
2282
|
-
},
|
|
2283
|
-
let n =
|
|
2337
|
+
return kn(e) ? e.tabIndex : null;
|
|
2338
|
+
}, Mn = (e) => e.tagName === "SLOT" && "assignedElements" in e, Nn = (e) => Mn(e) && hn(e.getRootNode()), Pn = (e, t) => {
|
|
2339
|
+
let n = jn(e) ?? -1, r = jn(t) ?? -1, i = n > 0, a = r > 0;
|
|
2284
2340
|
return i === a ? i && a && n !== r ? n - r : 0 : i ? -1 : 1;
|
|
2285
|
-
},
|
|
2286
|
-
let t =
|
|
2341
|
+
}, Fn = (e) => {
|
|
2342
|
+
let t = jn(e);
|
|
2287
2343
|
return t !== null && e.hasAttribute("tabindex") && t < 0;
|
|
2288
|
-
},
|
|
2344
|
+
}, In = (e) => Fn(e) && (Mn(e) || _(e) && e.shadowRoot?.delegatesFocus === !0), Ln = (e, t, n, r) => {
|
|
2289
2345
|
if (e.name.length === 0) return !0;
|
|
2290
|
-
let i = n.filter(({ element: n, nativeRoot: i }) => i === t &&
|
|
2346
|
+
let i = n.filter(({ element: n, nativeRoot: i }) => i === t && On(n) && n.name === e.name && n.form === e.form && En(n, r)).map(({ element: e }) => e).filter(On).find((e) => e.checked);
|
|
2291
2347
|
return i === void 0 ? e.tabIndex >= 0 : i === e;
|
|
2292
|
-
},
|
|
2348
|
+
}, Rn = (e) => {
|
|
2293
2349
|
let t = (e, r, i) => {
|
|
2294
2350
|
let a = [], o = /* @__PURE__ */ new Map(), s = (e, i) => {
|
|
2295
2351
|
if (a.push({
|
|
@@ -2297,16 +2353,16 @@ var fe = {
|
|
|
2297
2353
|
element: e,
|
|
2298
2354
|
focusScope: r,
|
|
2299
2355
|
nativeRoot: e.getRootNode()
|
|
2300
|
-
}),
|
|
2356
|
+
}), Nn(e)) {
|
|
2301
2357
|
let n = e.assignedNodes({ flatten: !1 }), r = e.assignedElements({ flatten: !1 }), i = [...e.children];
|
|
2302
2358
|
o.set(e, t(n.length > 0 ? r : i, e, e));
|
|
2303
2359
|
return;
|
|
2304
2360
|
}
|
|
2305
|
-
if (
|
|
2361
|
+
if (Mn(e)) {
|
|
2306
2362
|
o.set(e, t([...e.children], e, e));
|
|
2307
2363
|
return;
|
|
2308
2364
|
}
|
|
2309
|
-
if (e.shadowRoot !== null && (!
|
|
2365
|
+
if (e.shadowRoot !== null && (!Fn(e) || e.shadowRoot.delegatesFocus === !0)) o.set(e, n(e.shadowRoot, e.shadowRoot, e));
|
|
2310
2366
|
else if (e.shadowRoot === null) for (let t of e.children) s(t, e);
|
|
2311
2367
|
};
|
|
2312
2368
|
for (let t of e) s(t, i);
|
|
@@ -2315,7 +2371,7 @@ var fe = {
|
|
|
2315
2371
|
nested: o
|
|
2316
2372
|
};
|
|
2317
2373
|
}, n = (e, n, r) => t([...e.children], n, r), r = (e) => {
|
|
2318
|
-
let t = [...e.entries].sort((e, t) =>
|
|
2374
|
+
let t = [...e.entries].sort((e, t) => Pn(e.element, t.element)), n = [];
|
|
2319
2375
|
for (let i of t) {
|
|
2320
2376
|
n.push(i);
|
|
2321
2377
|
let t = e.nested.get(i.element);
|
|
@@ -2324,26 +2380,26 @@ var fe = {
|
|
|
2324
2380
|
return n;
|
|
2325
2381
|
};
|
|
2326
2382
|
return r(n(e, e, e));
|
|
2327
|
-
},
|
|
2383
|
+
}, zn = (e, t, n) => t.filter((r) => {
|
|
2328
2384
|
let { element: i, nativeRoot: a } = r;
|
|
2329
2385
|
if (i.tagName === "SLOT") return !1;
|
|
2330
|
-
let o =
|
|
2386
|
+
let o = jn(i);
|
|
2331
2387
|
if (o === null) return !1;
|
|
2332
2388
|
let s = i, c = /* @__PURE__ */ new Set();
|
|
2333
2389
|
for (; !c.has(s);) {
|
|
2334
2390
|
c.add(s);
|
|
2335
|
-
let t =
|
|
2391
|
+
let t = xn(s, n);
|
|
2336
2392
|
if (t === null || t === e) break;
|
|
2337
|
-
if (
|
|
2393
|
+
if (In(t)) return !1;
|
|
2338
2394
|
s = t;
|
|
2339
2395
|
}
|
|
2340
|
-
return !i.matches(
|
|
2341
|
-
}).map(({ element: e }) => e),
|
|
2342
|
-
let t =
|
|
2343
|
-
return t !== null && t >= 0 || _(e) && e.isContentEditable && !e.hasAttribute("tabindex") && !
|
|
2344
|
-
}),
|
|
2396
|
+
return !i.matches(fn) || i.shadowRoot?.delegatesFocus === !0 || !En(i, n) || On(i) && !Ln(i, a, t, n) ? !1 : o >= 0 || _(i) && i.isContentEditable && !i.hasAttribute("tabindex") && !Dn(i, n) || i.matches("details > summary:first-of-type") && !Fn(i);
|
|
2397
|
+
}).map(({ element: e }) => e), Bn = (e) => a(e) && "tagName" in e && e.tagName === "IFRAME" && "contentDocument" in e, Vn = (e) => a(e) && "nodeType" in e && e.nodeType === 1, Hn = (e) => [...e.querySelectorAll(fn)].filter((e) => {
|
|
2398
|
+
let t = jn(e);
|
|
2399
|
+
return t !== null && t >= 0 || _(e) && e.isContentEditable && !e.hasAttribute("tabindex") && !Dn(e, /* @__PURE__ */ new Map());
|
|
2400
|
+
}), Un = (e) => {
|
|
2345
2401
|
let t = e.ownerDocument, n = /* @__PURE__ */ new Map(), r = (t, n) => {
|
|
2346
|
-
let r =
|
|
2402
|
+
let r = Rn(e), i = zn(e, r, new Map(r.map(({ composedParent: e, element: t }) => [t, e]))), a = i.findIndex((e) => e === t), o = n ? i[i.length - 1] : i[0];
|
|
2347
2403
|
((a < 0 ? void 0 : i[a + (n ? -1 : 1)]) ?? o)?.focus();
|
|
2348
2404
|
}, i = (e) => {
|
|
2349
2405
|
let t = n.get(e), i = e.contentDocument;
|
|
@@ -2357,7 +2413,7 @@ var fe = {
|
|
|
2357
2413
|
}
|
|
2358
2414
|
let a = (t) => {
|
|
2359
2415
|
if (t.defaultPrevented || t.key !== "Tab") return;
|
|
2360
|
-
let n =
|
|
2416
|
+
let n = Hn(i), a = Vn(t.target) ? t.target : i.activeElement, o = n[0], s = n[n.length - 1];
|
|
2361
2417
|
(t.shiftKey ? a === o : a === s) && (t.preventDefault(), r(e, t.shiftKey));
|
|
2362
2418
|
};
|
|
2363
2419
|
i.addEventListener("keydown", a, !0), n.set(e, {
|
|
@@ -2377,9 +2433,9 @@ var fe = {
|
|
|
2377
2433
|
onLoad: t
|
|
2378
2434
|
}), e.addEventListener("load", t), i(e);
|
|
2379
2435
|
}, o = () => {
|
|
2380
|
-
for (let { element: t } of
|
|
2436
|
+
for (let { element: t } of Rn(e)) t.tagName === "IFRAME" && Bn(t) && a(t);
|
|
2381
2437
|
}, s = (e) => {
|
|
2382
|
-
|
|
2438
|
+
Bn(e.target) && a(e.target);
|
|
2383
2439
|
};
|
|
2384
2440
|
t.addEventListener("focusin", s, !0), o();
|
|
2385
2441
|
let c = t.defaultView?.MutationObserver, l = c === void 0 ? null : new c(o);
|
|
@@ -2390,47 +2446,35 @@ var fe = {
|
|
|
2390
2446
|
t.removeEventListener("focusin", s, !0), l?.disconnect();
|
|
2391
2447
|
for (let [e, t] of n) e.removeEventListener("load", t.onLoad), t.frameDocument !== null && t.frameDocument.removeEventListener("keydown", t.onKeyDown, !0);
|
|
2392
2448
|
};
|
|
2393
|
-
},
|
|
2449
|
+
}, Wn = (e, t) => {
|
|
2394
2450
|
if (e === null || !("matchMedia" in e)) return () => void 0;
|
|
2395
|
-
let n = e.matchMedia(
|
|
2451
|
+
let n = e.matchMedia(dn);
|
|
2396
2452
|
return n.addEventListener("change", t), () => n.removeEventListener("change", t);
|
|
2397
|
-
},
|
|
2398
|
-
let t = oe((t) =>
|
|
2399
|
-
return
|
|
2400
|
-
},
|
|
2401
|
-
"aria-hidden": "true",
|
|
2402
|
-
className: q("mark"),
|
|
2403
|
-
children: [/* @__PURE__ */ D("span", { className: q("markLine") }), /* @__PURE__ */ D("svg", {
|
|
2404
|
-
className: q("markGlyph"),
|
|
2405
|
-
focusable: "false",
|
|
2406
|
-
viewBox: "0 0 24 24",
|
|
2407
|
-
children: /* @__PURE__ */ D("path", {
|
|
2408
|
-
d: "M12 3.5 14 10l6.5 2-6.5 2-2 6.5L10 14l-6.5-2 6.5-2Z",
|
|
2409
|
-
fill: "currentColor"
|
|
2410
|
-
})
|
|
2411
|
-
})]
|
|
2412
|
-
}), Vn = ({ context: e, labelId: t }) => {
|
|
2453
|
+
}, Gn = (e) => e !== null && "matchMedia" in e && e.matchMedia(dn).matches, Kn = () => !1, qn = (e) => {
|
|
2454
|
+
let t = oe((t) => Wn(e, t), [e]), n = oe(() => Gn(e), [e]);
|
|
2455
|
+
return le(t, n, Kn);
|
|
2456
|
+
}, Jn = ({ context: e, labelId: t }) => {
|
|
2413
2457
|
if (e.length === 0) throw Error("RelayDock context must contain at least one chip");
|
|
2414
2458
|
let n = /* @__PURE__ */ new Set();
|
|
2415
|
-
return /* @__PURE__ */
|
|
2459
|
+
return /* @__PURE__ */ k("section", {
|
|
2416
2460
|
"aria-labelledby": t,
|
|
2417
2461
|
className: q("context"),
|
|
2418
|
-
children: [/* @__PURE__ */
|
|
2462
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
2419
2463
|
className: q("sectionLabel"),
|
|
2420
2464
|
id: t,
|
|
2421
2465
|
children: "Context"
|
|
2422
|
-
}), /* @__PURE__ */
|
|
2466
|
+
}), /* @__PURE__ */ O("ul", {
|
|
2423
2467
|
className: q("chipList"),
|
|
2424
2468
|
children: e.map((e) => {
|
|
2425
2469
|
let t = o(e.id, "RelayDock context chip id");
|
|
2426
2470
|
if (n.has(t)) throw Error(`Duplicate RelayDock context chip id: ${t}`);
|
|
2427
|
-
return n.add(t), /* @__PURE__ */
|
|
2471
|
+
return n.add(t), /* @__PURE__ */ k("li", {
|
|
2428
2472
|
className: q("chip"),
|
|
2429
2473
|
"data-rly-relay-dock-context": t,
|
|
2430
|
-
children: [/* @__PURE__ */
|
|
2474
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2431
2475
|
className: q("chipLabel"),
|
|
2432
2476
|
children: o(e.label, "RelayDock context chip label")
|
|
2433
|
-
}), /* @__PURE__ */
|
|
2477
|
+
}), /* @__PURE__ */ O("span", {
|
|
2434
2478
|
className: q("chipValue"),
|
|
2435
2479
|
children: o(e.value, "RelayDock context chip value")
|
|
2436
2480
|
})]
|
|
@@ -2438,22 +2482,22 @@ var fe = {
|
|
|
2438
2482
|
})
|
|
2439
2483
|
})]
|
|
2440
2484
|
});
|
|
2441
|
-
},
|
|
2485
|
+
}, Yn = ({ labelId: e, selection: t }) => {
|
|
2442
2486
|
let n = E(), r = E();
|
|
2443
|
-
return /* @__PURE__ */
|
|
2487
|
+
return /* @__PURE__ */ k("section", {
|
|
2444
2488
|
"aria-labelledby": e,
|
|
2445
2489
|
className: q("selection"),
|
|
2446
|
-
children: [/* @__PURE__ */
|
|
2490
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
2447
2491
|
className: q("sectionLabel"),
|
|
2448
2492
|
id: e,
|
|
2449
2493
|
children: "Run with"
|
|
2450
|
-
}), /* @__PURE__ */
|
|
2494
|
+
}), /* @__PURE__ */ k("div", {
|
|
2451
2495
|
className: q("selectionGrid"),
|
|
2452
|
-
children: [/* @__PURE__ */
|
|
2496
|
+
children: [/* @__PURE__ */ O(ee, {
|
|
2453
2497
|
controlId: `rly-relay-dock-profile-${n}`,
|
|
2454
2498
|
label: "Profile",
|
|
2455
2499
|
size: "compact",
|
|
2456
|
-
children: (e) => /* @__PURE__ */
|
|
2500
|
+
children: (e) => /* @__PURE__ */ O(C, {
|
|
2457
2501
|
...e,
|
|
2458
2502
|
...t.profile.disabled === void 0 ? {} : { disabled: t.profile.disabled },
|
|
2459
2503
|
onValueChange: t.profile.onValueChange,
|
|
@@ -2461,11 +2505,11 @@ var fe = {
|
|
|
2461
2505
|
size: "compact",
|
|
2462
2506
|
value: t.profile.value
|
|
2463
2507
|
})
|
|
2464
|
-
}), /* @__PURE__ */
|
|
2508
|
+
}), /* @__PURE__ */ O(ee, {
|
|
2465
2509
|
controlId: `rly-relay-dock-model-${r}`,
|
|
2466
2510
|
label: "Model",
|
|
2467
2511
|
size: "compact",
|
|
2468
|
-
children: (e) => /* @__PURE__ */
|
|
2512
|
+
children: (e) => /* @__PURE__ */ O(C, {
|
|
2469
2513
|
...e,
|
|
2470
2514
|
...t.model.disabled === void 0 ? {} : { disabled: t.model.disabled },
|
|
2471
2515
|
onValueChange: t.model.onValueChange,
|
|
@@ -2476,15 +2520,15 @@ var fe = {
|
|
|
2476
2520
|
})]
|
|
2477
2521
|
})]
|
|
2478
2522
|
});
|
|
2479
|
-
},
|
|
2480
|
-
if (e.status === "ready") return /* @__PURE__ */
|
|
2523
|
+
}, Xn = ({ state: e }) => {
|
|
2524
|
+
if (e.status === "ready") return /* @__PURE__ */ O("section", {
|
|
2481
2525
|
"aria-live": "polite",
|
|
2482
2526
|
className: q("ready"),
|
|
2483
2527
|
"data-rly-relay-dock-state": "ready",
|
|
2484
2528
|
children: e.content
|
|
2485
2529
|
});
|
|
2486
2530
|
let t = e.status === "error" ? "assertive" : "polite", n = e.status === "loading" ? "progress" : e.status === "error" ? "critical" : "neutral";
|
|
2487
|
-
return /* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ O(ne, {
|
|
2488
2532
|
action: "action" in e ? e.action : void 0,
|
|
2489
2533
|
announce: t,
|
|
2490
2534
|
className: q("state"),
|
|
@@ -2493,58 +2537,58 @@ var fe = {
|
|
|
2493
2537
|
title: o(e.title, `RelayDock ${e.status} title`),
|
|
2494
2538
|
tone: n
|
|
2495
2539
|
});
|
|
2496
|
-
},
|
|
2540
|
+
}, Zn = ({ context: e, footer: t, selection: n, state: r }) => {
|
|
2497
2541
|
let i = E(), a = E();
|
|
2498
|
-
return /* @__PURE__ */
|
|
2542
|
+
return /* @__PURE__ */ k("div", {
|
|
2499
2543
|
className: q("contents"),
|
|
2500
2544
|
"data-rly-relay-dock-scroll": "",
|
|
2501
2545
|
children: [
|
|
2502
|
-
/* @__PURE__ */
|
|
2546
|
+
/* @__PURE__ */ k("div", {
|
|
2503
2547
|
className: q("fixedContext"),
|
|
2504
|
-
children: [/* @__PURE__ */
|
|
2548
|
+
children: [/* @__PURE__ */ O(Jn, {
|
|
2505
2549
|
context: e,
|
|
2506
2550
|
labelId: i
|
|
2507
|
-
}), /* @__PURE__ */
|
|
2551
|
+
}), /* @__PURE__ */ O(Yn, {
|
|
2508
2552
|
labelId: a,
|
|
2509
2553
|
selection: n
|
|
2510
2554
|
})]
|
|
2511
2555
|
}),
|
|
2512
|
-
/* @__PURE__ */
|
|
2556
|
+
/* @__PURE__ */ O("section", {
|
|
2513
2557
|
"aria-label": "Relay thread",
|
|
2514
2558
|
className: q("body"),
|
|
2515
2559
|
tabIndex: 0,
|
|
2516
|
-
children: /* @__PURE__ */
|
|
2560
|
+
children: /* @__PURE__ */ O(Xn, { state: r })
|
|
2517
2561
|
}),
|
|
2518
|
-
t == null ? null : /* @__PURE__ */
|
|
2562
|
+
t == null ? null : /* @__PURE__ */ O("footer", {
|
|
2519
2563
|
className: q("footer"),
|
|
2520
2564
|
children: t
|
|
2521
2565
|
})
|
|
2522
2566
|
]
|
|
2523
2567
|
});
|
|
2524
|
-
},
|
|
2525
|
-
let r =
|
|
2568
|
+
}, Qn = ({ restoreDocument: e, restoreTarget: t, target: n }) => {
|
|
2569
|
+
let r = D(!1);
|
|
2526
2570
|
return se(() => {
|
|
2527
2571
|
let i = n.current;
|
|
2528
|
-
i !== null && (r.current ||= (t.current =
|
|
2572
|
+
i !== null && (r.current ||= (t.current = Tn(e ?? i.ownerDocument), !0), i.focus());
|
|
2529
2573
|
}, [
|
|
2530
2574
|
e,
|
|
2531
2575
|
t,
|
|
2532
2576
|
n
|
|
2533
2577
|
]), null;
|
|
2534
|
-
},
|
|
2535
|
-
let r =
|
|
2536
|
-
return p(), m(r, t), h(r, t), /* @__PURE__ */
|
|
2578
|
+
}, $n = ({ children: e, modal: t, modalLayer: n }) => {
|
|
2579
|
+
let r = D(null);
|
|
2580
|
+
return p(), m(r, t), h(r, t), /* @__PURE__ */ O("div", {
|
|
2537
2581
|
className: q("layer"),
|
|
2538
2582
|
"data-rly-modal-layer": n ? "" : void 0,
|
|
2539
2583
|
"data-rly-relay-dock-modal": t ? "true" : "false",
|
|
2540
2584
|
ref: r,
|
|
2541
2585
|
children: e
|
|
2542
2586
|
});
|
|
2543
|
-
},
|
|
2544
|
-
let v = `${s}-description`, y =
|
|
2587
|
+
}, er = ({ closeRef: t, compactViewport: r, context: i, description: a, footer: o, headingId: s, modal: c, onClose: l, parentModalPresent: u, restoreDocument: f, restoreTargetRef: p, selection: m, state: h, title: g }) => {
|
|
2588
|
+
let v = `${s}-description`, y = D(null);
|
|
2545
2589
|
se(() => {
|
|
2546
2590
|
let e = y.current;
|
|
2547
|
-
if (c && e !== null) return
|
|
2591
|
+
if (c && e !== null) return Un(e);
|
|
2548
2592
|
}, [c]);
|
|
2549
2593
|
let b = (e) => {
|
|
2550
2594
|
let t = e.currentTarget;
|
|
@@ -2555,23 +2599,23 @@ var fe = {
|
|
|
2555
2599
|
return;
|
|
2556
2600
|
}
|
|
2557
2601
|
if (!c || e.key !== "Tab") return;
|
|
2558
|
-
let n =
|
|
2602
|
+
let n = Rn(t), r = new Map(n.map(({ composedParent: e, element: t }) => [t, e])), i = (e) => {
|
|
2559
2603
|
let t = /* @__PURE__ */ new Set(), n = e;
|
|
2560
2604
|
for (; !t.has(n);) {
|
|
2561
2605
|
t.add(n);
|
|
2562
|
-
let e =
|
|
2606
|
+
let e = xn(n, r);
|
|
2563
2607
|
if (e === null) return null;
|
|
2564
2608
|
if (_(e) && e.shadowRoot?.delegatesFocus === !0) return e;
|
|
2565
2609
|
n = e;
|
|
2566
2610
|
}
|
|
2567
2611
|
return null;
|
|
2568
|
-
}, a =
|
|
2612
|
+
}, a = zn(t, n, r), o = a[0] ?? t, s = a[a.length - 1] ?? t, u = _n(t), d = new Set(a), f = u !== null && Cn(t, u) && !a.some((e) => e === u), p = (e) => {
|
|
2569
2613
|
let t = /* @__PURE__ */ new Set(), i = e;
|
|
2570
2614
|
for (; !t.has(i);) {
|
|
2571
2615
|
t.add(i);
|
|
2572
2616
|
let e = n.findIndex(({ element: e }) => e === i);
|
|
2573
2617
|
if (e >= 0) return e;
|
|
2574
|
-
let a =
|
|
2618
|
+
let a = xn(i, r);
|
|
2575
2619
|
if (a === null) return -1;
|
|
2576
2620
|
i = a;
|
|
2577
2621
|
}
|
|
@@ -2580,23 +2624,23 @@ var fe = {
|
|
|
2580
2624
|
if (h < 0) return null;
|
|
2581
2625
|
for (let t = h + e; t >= 0 && t < n.length; t += e) {
|
|
2582
2626
|
let e = n[t]?.element;
|
|
2583
|
-
if (e !== void 0 && d.has(e) &&
|
|
2627
|
+
if (e !== void 0 && d.has(e) && kn(e)) return e;
|
|
2584
2628
|
}
|
|
2585
2629
|
return null;
|
|
2586
|
-
})(e.shiftKey ? -1 : 1) : null, v = m !== null && g !== null &&
|
|
2630
|
+
})(e.shiftKey ? -1 : 1) : null, v = m !== null && g !== null && Sn(m, g, r), y = f && !v && (g === null || !Cn(t, g)), b = e.shiftKey && (u === o || !Cn(t, u) || v || y), x = !e.shiftKey && (u === s || !Cn(t, u) || v || y);
|
|
2587
2631
|
(b || x) && (e.preventDefault(), (v && g !== null ? g : e.shiftKey ? s : o).focus());
|
|
2588
2632
|
};
|
|
2589
|
-
return /* @__PURE__ */
|
|
2633
|
+
return /* @__PURE__ */ O(n, { children: (n) => /* @__PURE__ */ O(ae.Root, {
|
|
2590
2634
|
container: n,
|
|
2591
|
-
children: /* @__PURE__ */
|
|
2635
|
+
children: /* @__PURE__ */ k($n, {
|
|
2592
2636
|
modal: c,
|
|
2593
2637
|
modalLayer: c || u,
|
|
2594
|
-
children: [c ? /* @__PURE__ */
|
|
2638
|
+
children: [c ? /* @__PURE__ */ O("div", {
|
|
2595
2639
|
"aria-hidden": "true",
|
|
2596
2640
|
className: q("overlay"),
|
|
2597
2641
|
"data-rly-relay-dock-overlay": "",
|
|
2598
2642
|
onPointerDown: l
|
|
2599
|
-
}) : null, /* @__PURE__ */
|
|
2643
|
+
}) : null, /* @__PURE__ */ k("section", {
|
|
2600
2644
|
"aria-describedby": v,
|
|
2601
2645
|
"aria-labelledby": s,
|
|
2602
2646
|
"aria-modal": c ? !0 : void 0,
|
|
@@ -2607,37 +2651,37 @@ var fe = {
|
|
|
2607
2651
|
role: c ? "dialog" : "complementary",
|
|
2608
2652
|
tabIndex: -1,
|
|
2609
2653
|
children: [
|
|
2610
|
-
/* @__PURE__ */
|
|
2654
|
+
/* @__PURE__ */ k("header", {
|
|
2611
2655
|
className: q("railHeader"),
|
|
2612
|
-
children: [/* @__PURE__ */
|
|
2656
|
+
children: [/* @__PURE__ */ k("div", {
|
|
2613
2657
|
className: q("railHeading"),
|
|
2614
|
-
children: [/* @__PURE__ */
|
|
2658
|
+
children: [/* @__PURE__ */ O("h1", {
|
|
2615
2659
|
className: q("title"),
|
|
2616
2660
|
id: s,
|
|
2617
2661
|
children: g
|
|
2618
|
-
}), /* @__PURE__ */
|
|
2662
|
+
}), /* @__PURE__ */ O("p", {
|
|
2619
2663
|
className: q("description"),
|
|
2620
2664
|
id: v,
|
|
2621
2665
|
children: a
|
|
2622
2666
|
})]
|
|
2623
|
-
}), /* @__PURE__ */
|
|
2667
|
+
}), /* @__PURE__ */ O("button", {
|
|
2624
2668
|
"aria-label": `Close ${g}`,
|
|
2625
2669
|
className: q("close"),
|
|
2626
2670
|
onClick: l,
|
|
2627
2671
|
ref: t,
|
|
2628
2672
|
type: "button",
|
|
2629
|
-
children: /* @__PURE__ */
|
|
2673
|
+
children: /* @__PURE__ */ O(e, {
|
|
2630
2674
|
decorative: !0,
|
|
2631
2675
|
name: "close"
|
|
2632
2676
|
})
|
|
2633
2677
|
})]
|
|
2634
2678
|
}),
|
|
2635
|
-
/* @__PURE__ */
|
|
2679
|
+
/* @__PURE__ */ O(Qn, {
|
|
2636
2680
|
restoreDocument: f,
|
|
2637
2681
|
restoreTarget: p,
|
|
2638
2682
|
target: t
|
|
2639
2683
|
}),
|
|
2640
|
-
/* @__PURE__ */
|
|
2684
|
+
/* @__PURE__ */ O(Zn, {
|
|
2641
2685
|
context: i,
|
|
2642
2686
|
footer: o,
|
|
2643
2687
|
selection: m,
|
|
@@ -2647,55 +2691,88 @@ var fe = {
|
|
|
2647
2691
|
})]
|
|
2648
2692
|
})
|
|
2649
2693
|
}) });
|
|
2650
|
-
},
|
|
2651
|
-
let { className: n, context: r, defaultOpen: i = !1, description: a = "Ask in this context or prepare approval-bound work.", desktopPresentation: s = "overlay", footer: c, onOpenChange: l, open: u, ref: f, selection: p, state: m, title: h = "Relay", triggerLabel: _ = "Open Relay", ...b } = e, [x, S] =
|
|
2694
|
+
}, tr = (e) => {
|
|
2695
|
+
let { className: n, context: r, defaultOpen: i = !1, description: a = "Ask in this context or prepare approval-bound work.", desktopPresentation: s = "overlay", footer: c, onOpenChange: l, open: u, ref: f, selection: p, state: m, title: h = "Relay", triggerLabel: _ = "Open Relay", ...b } = e, [x, S] = ce(i), C = y(), ee = ie(), ne = t(), w = (u ?? x) && ee && ne.available, T = qn(ne.available ? ne.container.ownerDocument.defaultView : null), re = T || s === "overlay", ae = D(null), oe = D(null), le = D(null), ue = D({
|
|
2652
2696
|
modal: re,
|
|
2653
2697
|
open: !1
|
|
2654
|
-
}),
|
|
2698
|
+
}), de = E(), A = o(a, "RelayDock description"), fe = o(h, "RelayDock title"), pe = o(_, "RelayDock triggerLabel"), me = (e) => {
|
|
2655
2699
|
u === void 0 && S(e), l?.(e);
|
|
2656
2700
|
};
|
|
2657
2701
|
return se(() => {
|
|
2658
|
-
let e =
|
|
2659
|
-
|
|
2702
|
+
let e = ue.current;
|
|
2703
|
+
ue.current = {
|
|
2660
2704
|
modal: re,
|
|
2661
2705
|
open: w
|
|
2662
|
-
}, !e.open && w ? (g(), oe.current?.focus()) : e.open && w && e.modal !== re ? oe.current?.focus() : e.open && !w && (v(
|
|
2663
|
-
}, [re, w]), /* @__PURE__ */
|
|
2706
|
+
}, !e.open && w ? (g(), oe.current?.focus()) : e.open && w && e.modal !== re ? oe.current?.focus() : e.open && !w && (v(le.current ?? ae.current), le.current = null);
|
|
2707
|
+
}, [re, w]), /* @__PURE__ */ k("div", {
|
|
2664
2708
|
...b,
|
|
2665
2709
|
className: d(q("root"), n),
|
|
2666
2710
|
"data-rly-relay-dock": "",
|
|
2667
2711
|
"data-rly-relay-dock-open": w ? "true" : "false",
|
|
2668
2712
|
ref: f,
|
|
2669
|
-
children: [/* @__PURE__ */
|
|
2713
|
+
children: [/* @__PURE__ */ k("button", {
|
|
2670
2714
|
"aria-expanded": w,
|
|
2671
2715
|
"aria-haspopup": re ? "dialog" : void 0,
|
|
2672
2716
|
className: q("trigger"),
|
|
2673
2717
|
"data-rly-relay-dock-trigger": "",
|
|
2674
2718
|
inert: w,
|
|
2675
2719
|
onClick: (e) => {
|
|
2676
|
-
e.currentTarget.focus(),
|
|
2720
|
+
e.currentTarget.focus(), me(!0);
|
|
2677
2721
|
},
|
|
2678
2722
|
ref: ae,
|
|
2679
2723
|
type: "button",
|
|
2680
|
-
children: [/* @__PURE__ */
|
|
2681
|
-
}), w ? /* @__PURE__ */
|
|
2724
|
+
children: [/* @__PURE__ */ O(un.Tile, { size: 32 }), /* @__PURE__ */ O("span", { children: pe })]
|
|
2725
|
+
}), w ? /* @__PURE__ */ O(te, { children: /* @__PURE__ */ O(er, {
|
|
2682
2726
|
closeRef: oe,
|
|
2683
2727
|
compactViewport: T,
|
|
2684
2728
|
context: r,
|
|
2685
|
-
description:
|
|
2729
|
+
description: A,
|
|
2686
2730
|
footer: c,
|
|
2687
|
-
headingId:
|
|
2731
|
+
headingId: de,
|
|
2688
2732
|
modal: re,
|
|
2689
|
-
onClose: () =>
|
|
2733
|
+
onClose: () => me(!1),
|
|
2690
2734
|
parentModalPresent: C,
|
|
2691
2735
|
restoreDocument: ae.current?.ownerDocument ?? null,
|
|
2692
|
-
restoreTargetRef:
|
|
2736
|
+
restoreTargetRef: le,
|
|
2693
2737
|
selection: p,
|
|
2694
2738
|
state: m,
|
|
2695
|
-
title:
|
|
2739
|
+
title: fe
|
|
2696
2740
|
}) }) : null]
|
|
2697
2741
|
});
|
|
2698
|
-
},
|
|
2742
|
+
}, nr = {
|
|
2743
|
+
root: "rly_RelayLauncher-module__root",
|
|
2744
|
+
mark: "rly_RelayLauncher-module__mark",
|
|
2745
|
+
label: "rly_RelayLauncher-module__label",
|
|
2746
|
+
hint: "rly_RelayLauncher-module__hint"
|
|
2747
|
+
}, rr = (e) => c(nr, e), ir = (e) => e ? {
|
|
2748
|
+
hint: "⌘J",
|
|
2749
|
+
keys: "Meta+J"
|
|
2750
|
+
} : {
|
|
2751
|
+
hint: "Ctrl J",
|
|
2752
|
+
keys: "Control+J"
|
|
2753
|
+
}, ar = () => /Mac|iPhone|iPad/.test(navigator.platform), or = () => () => void 0, sr = () => ir(le(or, ar, () => !1)), cr = ({ className: e, expanded: t, label: n = "Relay", shortcut: r, ...i }) => /* @__PURE__ */ k("button", {
|
|
2754
|
+
...i,
|
|
2755
|
+
"aria-expanded": t,
|
|
2756
|
+
"aria-keyshortcuts": r === null ? void 0 : o(r.keys, "RelayLauncher shortcut keys"),
|
|
2757
|
+
className: d(rr("root"), e),
|
|
2758
|
+
"data-rly-relay-launcher": "",
|
|
2759
|
+
type: "button",
|
|
2760
|
+
children: [
|
|
2761
|
+
/* @__PURE__ */ O(un, {
|
|
2762
|
+
className: rr("mark"),
|
|
2763
|
+
size: 20
|
|
2764
|
+
}),
|
|
2765
|
+
/* @__PURE__ */ O("span", {
|
|
2766
|
+
className: rr("label"),
|
|
2767
|
+
children: o(n, "RelayLauncher label")
|
|
2768
|
+
}),
|
|
2769
|
+
r === null ? null : /* @__PURE__ */ O("kbd", {
|
|
2770
|
+
"aria-hidden": "true",
|
|
2771
|
+
className: rr("hint"),
|
|
2772
|
+
children: o(r.hint, "RelayLauncher shortcut hint")
|
|
2773
|
+
})
|
|
2774
|
+
]
|
|
2775
|
+
}), lr = /^(?:--[A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*|-?[A-Za-z_\u0080-\uD7FF\uE000-\u{10ffff}][A-Za-z0-9_\-\u0080-\uD7FF\uE000-\u{10ffff}]*)$/u, ur = /* @__PURE__ */ new Set([
|
|
2699
2776
|
"auto",
|
|
2700
2777
|
"default",
|
|
2701
2778
|
"inherit",
|
|
@@ -2705,7 +2782,7 @@ var fe = {
|
|
|
2705
2782
|
"revert",
|
|
2706
2783
|
"revert-layer",
|
|
2707
2784
|
"unset"
|
|
2708
|
-
]),
|
|
2785
|
+
]), dr = (e) => {
|
|
2709
2786
|
if (e === void 0) return;
|
|
2710
2787
|
let t = {
|
|
2711
2788
|
relay: e.relay,
|
|
@@ -2718,13 +2795,13 @@ var fe = {
|
|
|
2718
2795
|
], r = /* @__PURE__ */ new Set();
|
|
2719
2796
|
for (let [e, t] of n) {
|
|
2720
2797
|
let n = o(t, `Release transition ${e} name`);
|
|
2721
|
-
if (n === "root" ||
|
|
2722
|
-
if (!
|
|
2798
|
+
if (n === "root" || ur.has(n.toLowerCase())) throw Error(`Release transition ${e} name must not use a reserved CSS value: ${n}`);
|
|
2799
|
+
if (!lr.test(n)) throw Error(`Release transition ${e} name must be a valid unescaped CSS custom identifier: ${n}`);
|
|
2723
2800
|
if (r.has(n)) throw Error(`Release transition names must be unique: ${n}`);
|
|
2724
2801
|
r.add(n);
|
|
2725
2802
|
}
|
|
2726
2803
|
return Object.freeze(t);
|
|
2727
|
-
},
|
|
2804
|
+
}, fr = {
|
|
2728
2805
|
blocked: !0,
|
|
2729
2806
|
ready: !0,
|
|
2730
2807
|
deploying: !0,
|
|
@@ -2732,8 +2809,8 @@ var fe = {
|
|
|
2732
2809
|
shipped: !0,
|
|
2733
2810
|
held: !0,
|
|
2734
2811
|
unknown: !0
|
|
2735
|
-
},
|
|
2736
|
-
if (o(e.id, "Release presentation id"), o(e.version, "Release presentation version"), o(e.codename, "Release presentation codename"), o(e.algorithm, "Release presentation algorithm"), o(e.verdict, "Release presentation verdict"), o(e.reason, "Release presentation reason"), !Object.hasOwn(
|
|
2812
|
+
}, pr = (e) => {
|
|
2813
|
+
if (o(e.id, "Release presentation id"), o(e.version, "Release presentation version"), o(e.codename, "Release presentation codename"), o(e.algorithm, "Release presentation algorithm"), o(e.verdict, "Release presentation verdict"), o(e.reason, "Release presentation reason"), !Object.hasOwn(fr, e.state)) throw Error("Release presentation state must be supported");
|
|
2737
2814
|
e.freshnessDateTime !== void 0 && (o(e.freshnessDateTime, "Release presentation freshnessDateTime"), o(e.freshnessTime, "Release presentation freshnessTime"));
|
|
2738
2815
|
let t = /* @__PURE__ */ new Set();
|
|
2739
2816
|
for (let n of e.facts) {
|
|
@@ -2742,7 +2819,7 @@ var fe = {
|
|
|
2742
2819
|
t.add(e), o(n.label, `Release presentation fact label for ${e}`), o(n.value, `Release presentation fact value for ${e}`);
|
|
2743
2820
|
}
|
|
2744
2821
|
return e;
|
|
2745
|
-
},
|
|
2822
|
+
}, mr = {
|
|
2746
2823
|
root: "rly_ReleaseRelay-module__root",
|
|
2747
2824
|
tiles: "rly_ReleaseRelay-module__tiles",
|
|
2748
2825
|
handoff: "rly_ReleaseRelay-module__handoff",
|
|
@@ -2754,7 +2831,7 @@ var fe = {
|
|
|
2754
2831
|
algorithmValue: "rly_ReleaseRelay-module__algorithmValue",
|
|
2755
2832
|
compact: "rly_ReleaseRelay-module__compact",
|
|
2756
2833
|
hero: "rly_ReleaseRelay-module__hero"
|
|
2757
|
-
}, J = (e) => c(
|
|
2834
|
+
}, J = (e) => c(mr, e), hr = l({
|
|
2758
2835
|
0: { name: "orbit" },
|
|
2759
2836
|
1: { name: "split" },
|
|
2760
2837
|
2: { name: "brace" },
|
|
@@ -2771,7 +2848,7 @@ var fe = {
|
|
|
2771
2848
|
13: { name: "spark" },
|
|
2772
2849
|
14: { name: "stack" },
|
|
2773
2850
|
15: { name: "compass" }
|
|
2774
|
-
}),
|
|
2851
|
+
}), gr = l({ size: {
|
|
2775
2852
|
compact: {
|
|
2776
2853
|
className: J("compact"),
|
|
2777
2854
|
purpose: "Release rows and compact previews",
|
|
@@ -2791,7 +2868,7 @@ var fe = {
|
|
|
2791
2868
|
"type-card-title"
|
|
2792
2869
|
]
|
|
2793
2870
|
}
|
|
2794
|
-
} }),
|
|
2871
|
+
} }), _r = l({ size: "compact" }), vr = {
|
|
2795
2872
|
0: "M12 4a8 8 0 1 1-6.9 4M5.1 8H9V4.1",
|
|
2796
2873
|
1: "M5 5v4c0 2 1 3 3 3h8c2 0 3 1 3 3v4M12 12V5",
|
|
2797
2874
|
2: "M9 4H7v5l-3 3 3 3v5h2M15 4h2v5l3 3-3 3v5h-2",
|
|
@@ -2808,7 +2885,7 @@ var fe = {
|
|
|
2808
2885
|
13: "M12 3v5M12 16v5M3 12h5M16 12h5M5.6 5.6l3.5 3.5M14.9 14.9l3.5 3.5M18.4 5.6l-3.5 3.5M9.1 14.9l-3.5 3.5",
|
|
2809
2886
|
14: "m4 8 8-4 8 4-8 4Zm0 4 8 4 8-4M4 16l8 4 8-4",
|
|
2810
2887
|
15: "m12 3 3 6 6 3-6 3-3 6-3-6-6-3 6-3Zm0 6v6M9 12h6"
|
|
2811
|
-
},
|
|
2888
|
+
}, yr = (e) => {
|
|
2812
2889
|
if (e.length !== 3) throw Error("ReleaseRelay symbolIndices must contain exactly three indices");
|
|
2813
2890
|
let t = /* @__PURE__ */ new Set();
|
|
2814
2891
|
for (let n of e) {
|
|
@@ -2817,32 +2894,32 @@ var fe = {
|
|
|
2817
2894
|
t.add(n);
|
|
2818
2895
|
}
|
|
2819
2896
|
return e;
|
|
2820
|
-
},
|
|
2821
|
-
let s = o(e, "ReleaseRelay algorithm"), c = o(n, "ReleaseRelay codename"), l =
|
|
2822
|
-
return /* @__PURE__ */
|
|
2897
|
+
}, br = ({ algorithm: e, className: t, codename: n, size: r = "compact", symbolIndices: i, ...a }) => {
|
|
2898
|
+
let s = o(e, "ReleaseRelay algorithm"), c = o(n, "ReleaseRelay codename"), l = yr(i), u = `Release relay, ${c}, symbols ${l.map((e) => hr[e].name).join(", ")}.`;
|
|
2899
|
+
return /* @__PURE__ */ k("figure", {
|
|
2823
2900
|
...a,
|
|
2824
|
-
className: d(J("root"),
|
|
2901
|
+
className: d(J("root"), gr.size[r].className, t),
|
|
2825
2902
|
"data-rly-release-relay-size": r,
|
|
2826
|
-
children: [/* @__PURE__ */
|
|
2903
|
+
children: [/* @__PURE__ */ k("span", {
|
|
2827
2904
|
"aria-label": u,
|
|
2828
2905
|
className: J("tiles"),
|
|
2829
2906
|
role: "img",
|
|
2830
|
-
children: [/* @__PURE__ */
|
|
2907
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2831
2908
|
"aria-hidden": "true",
|
|
2832
2909
|
className: J("handoff"),
|
|
2833
2910
|
"data-rly-release-relay-handoff": ""
|
|
2834
|
-
}), l.map((e, t) => /* @__PURE__ */
|
|
2911
|
+
}), l.map((e, t) => /* @__PURE__ */ O("span", {
|
|
2835
2912
|
"aria-hidden": "true",
|
|
2836
2913
|
className: J("tile"),
|
|
2837
2914
|
"data-rly-release-relay-position": t,
|
|
2838
2915
|
"data-rly-release-symbol-index": e,
|
|
2839
|
-
"data-rly-release-symbol-name":
|
|
2840
|
-
children: /* @__PURE__ */
|
|
2916
|
+
"data-rly-release-symbol-name": hr[e].name,
|
|
2917
|
+
children: /* @__PURE__ */ O("svg", {
|
|
2841
2918
|
className: J("glyph"),
|
|
2842
2919
|
focusable: "false",
|
|
2843
2920
|
viewBox: "0 0 24 24",
|
|
2844
|
-
children: /* @__PURE__ */
|
|
2845
|
-
d:
|
|
2921
|
+
children: /* @__PURE__ */ O("path", {
|
|
2922
|
+
d: vr[e],
|
|
2846
2923
|
fill: "none",
|
|
2847
2924
|
stroke: "currentColor",
|
|
2848
2925
|
strokeLinecap: "round",
|
|
@@ -2852,21 +2929,21 @@ var fe = {
|
|
|
2852
2929
|
})
|
|
2853
2930
|
})
|
|
2854
2931
|
}, e))]
|
|
2855
|
-
}), /* @__PURE__ */
|
|
2932
|
+
}), /* @__PURE__ */ k("figcaption", {
|
|
2856
2933
|
className: J("identity"),
|
|
2857
|
-
children: [/* @__PURE__ */
|
|
2934
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2858
2935
|
className: J("codename"),
|
|
2859
2936
|
children: c
|
|
2860
|
-
}), /* @__PURE__ */
|
|
2937
|
+
}), /* @__PURE__ */ k("span", {
|
|
2861
2938
|
className: J("algorithm"),
|
|
2862
|
-
children: ["Identity algorithm: ", /* @__PURE__ */
|
|
2939
|
+
children: ["Identity algorithm: ", /* @__PURE__ */ O("code", {
|
|
2863
2940
|
className: J("algorithmValue"),
|
|
2864
2941
|
children: s
|
|
2865
2942
|
})]
|
|
2866
2943
|
})]
|
|
2867
2944
|
})]
|
|
2868
2945
|
});
|
|
2869
|
-
},
|
|
2946
|
+
}, xr = {
|
|
2870
2947
|
body: "rly_ReleasePreview-module__body",
|
|
2871
2948
|
summary: "rly_ReleasePreview-module__summary",
|
|
2872
2949
|
releaseMeta: "rly_ReleasePreview-module__releaseMeta",
|
|
@@ -2886,26 +2963,26 @@ var fe = {
|
|
|
2886
2963
|
sheetFooter: "rly_ReleasePreview-module__sheetFooter",
|
|
2887
2964
|
dialogClose: "rly_ReleasePreview-module__dialogClose",
|
|
2888
2965
|
fullViewButton: "rly_ReleasePreview-module__fullViewButton"
|
|
2889
|
-
}, Y = (e) => c(
|
|
2890
|
-
let g =
|
|
2966
|
+
}, Y = (e) => c(xr, e), Sr = ({ agentEntry: e, collaborators: t, entryMotion: n = "intrinsic", evidence: r, onOpenChange: i, onOpenFullView: a, open: s, openFullViewLabel: c = "Open full view", presentation: l = "dialog", primaryAction: u, release: d, stages: p, transitionNames: m, workset: h }) => {
|
|
2967
|
+
let g = pr(d), _ = dr(m), v = o(c, "ReleasePreview openFullViewLabel"), y = D(null), x = g.freshnessDateTime === void 0 ? /* @__PURE__ */ O(ot, { state: g.freshness }) : /* @__PURE__ */ O(ot, {
|
|
2891
2968
|
dateTime: g.freshnessDateTime,
|
|
2892
2969
|
state: g.freshness,
|
|
2893
2970
|
time: g.freshnessTime
|
|
2894
|
-
}), S = `Release preview: ${g.version} ${g.codename}`, C = /* @__PURE__ */
|
|
2971
|
+
}), S = `Release preview: ${g.version} ${g.codename}`, C = /* @__PURE__ */ k("div", {
|
|
2895
2972
|
className: Y("body"),
|
|
2896
2973
|
"data-rly-release-preview-presentation": l,
|
|
2897
2974
|
"data-rly-release-state": g.state,
|
|
2898
2975
|
children: [
|
|
2899
|
-
/* @__PURE__ */
|
|
2976
|
+
/* @__PURE__ */ k("section", {
|
|
2900
2977
|
"aria-label": "Release summary",
|
|
2901
2978
|
className: Y("summary"),
|
|
2902
2979
|
"data-rly-release-preview-summary": "",
|
|
2903
2980
|
ref: y,
|
|
2904
2981
|
tabIndex: -1,
|
|
2905
2982
|
children: [
|
|
2906
|
-
/* @__PURE__ */
|
|
2983
|
+
/* @__PURE__ */ k("div", {
|
|
2907
2984
|
className: Y("identityRow"),
|
|
2908
|
-
children: [/* @__PURE__ */
|
|
2985
|
+
children: [/* @__PURE__ */ O(br, {
|
|
2909
2986
|
algorithm: g.algorithm,
|
|
2910
2987
|
codename: g.codename,
|
|
2911
2988
|
"data-rly-release-transition-name": _?.relay,
|
|
@@ -2913,9 +2990,9 @@ var fe = {
|
|
|
2913
2990
|
size: "hero",
|
|
2914
2991
|
style: _ === void 0 ? void 0 : { viewTransitionName: _.relay },
|
|
2915
2992
|
symbolIndices: g.symbolIndices
|
|
2916
|
-
}), /* @__PURE__ */
|
|
2993
|
+
}), /* @__PURE__ */ k("div", {
|
|
2917
2994
|
className: Y("releaseMeta"),
|
|
2918
|
-
children: [/* @__PURE__ */
|
|
2995
|
+
children: [/* @__PURE__ */ O("p", {
|
|
2919
2996
|
className: Y("version"),
|
|
2920
2997
|
"data-rly-release-transition-name": _?.version,
|
|
2921
2998
|
"data-rly-release-transition-part": "version",
|
|
@@ -2924,31 +3001,31 @@ var fe = {
|
|
|
2924
3001
|
}), x]
|
|
2925
3002
|
})]
|
|
2926
3003
|
}),
|
|
2927
|
-
/* @__PURE__ */
|
|
3004
|
+
/* @__PURE__ */ k("div", {
|
|
2928
3005
|
className: Y("people"),
|
|
2929
|
-
children: [/* @__PURE__ */
|
|
3006
|
+
children: [/* @__PURE__ */ k("div", {
|
|
2930
3007
|
className: Y("personGroup"),
|
|
2931
|
-
children: [/* @__PURE__ */
|
|
3008
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2932
3009
|
className: Y("eyebrow"),
|
|
2933
3010
|
children: "Owner"
|
|
2934
|
-
}), g.owner === void 0 ? /* @__PURE__ */
|
|
3011
|
+
}), g.owner === void 0 ? /* @__PURE__ */ O("span", {
|
|
2935
3012
|
className: Y("unassigned"),
|
|
2936
3013
|
"data-rly-release-owner": "unassigned",
|
|
2937
3014
|
children: "Unassigned"
|
|
2938
|
-
}) : /* @__PURE__ */
|
|
2939
|
-
}), /* @__PURE__ */
|
|
3015
|
+
}) : /* @__PURE__ */ O(F, { person: g.owner })]
|
|
3016
|
+
}), /* @__PURE__ */ k("div", {
|
|
2940
3017
|
className: Y("personGroup"),
|
|
2941
|
-
children: [/* @__PURE__ */
|
|
3018
|
+
children: [/* @__PURE__ */ O("span", {
|
|
2942
3019
|
className: Y("eyebrow"),
|
|
2943
3020
|
children: "Approver"
|
|
2944
|
-
}), g.approver === void 0 ? /* @__PURE__ */
|
|
3021
|
+
}), g.approver === void 0 ? /* @__PURE__ */ O("span", {
|
|
2945
3022
|
className: Y("unassigned"),
|
|
2946
3023
|
"data-rly-release-approver": "unassigned",
|
|
2947
3024
|
children: "Unassigned"
|
|
2948
|
-
}) : /* @__PURE__ */
|
|
3025
|
+
}) : /* @__PURE__ */ O(F, { person: g.approver })]
|
|
2949
3026
|
})]
|
|
2950
3027
|
}),
|
|
2951
|
-
/* @__PURE__ */
|
|
3028
|
+
/* @__PURE__ */ O(ht, {
|
|
2952
3029
|
"data-rly-release-transition-name": _?.verdict,
|
|
2953
3030
|
"data-rly-release-transition-part": "verdict",
|
|
2954
3031
|
reason: g.reason,
|
|
@@ -2956,95 +3033,95 @@ var fe = {
|
|
|
2956
3033
|
tone: g.tone,
|
|
2957
3034
|
verdict: g.verdict
|
|
2958
3035
|
}),
|
|
2959
|
-
/* @__PURE__ */
|
|
3036
|
+
/* @__PURE__ */ O("dl", {
|
|
2960
3037
|
className: Y("facts"),
|
|
2961
|
-
children: g.facts.map((e) => /* @__PURE__ */
|
|
3038
|
+
children: g.facts.map((e) => /* @__PURE__ */ k("div", {
|
|
2962
3039
|
className: Y("fact"),
|
|
2963
|
-
children: [/* @__PURE__ */
|
|
3040
|
+
children: [/* @__PURE__ */ O("dt", { children: e.label }), /* @__PURE__ */ O("dd", { children: e.value })]
|
|
2964
3041
|
}, e.id))
|
|
2965
3042
|
})
|
|
2966
3043
|
]
|
|
2967
3044
|
}),
|
|
2968
|
-
t === void 0 ? null : /* @__PURE__ */
|
|
3045
|
+
t === void 0 ? null : /* @__PURE__ */ O("div", {
|
|
2969
3046
|
className: Y("slot"),
|
|
2970
3047
|
"data-rly-release-preview-slot": "collaborators",
|
|
2971
3048
|
children: t
|
|
2972
3049
|
}),
|
|
2973
|
-
/* @__PURE__ */
|
|
3050
|
+
/* @__PURE__ */ O("div", {
|
|
2974
3051
|
className: Y("slot"),
|
|
2975
3052
|
"data-rly-release-preview-slot": "primary-action",
|
|
2976
3053
|
children: u
|
|
2977
3054
|
}),
|
|
2978
|
-
/* @__PURE__ */
|
|
3055
|
+
/* @__PURE__ */ O("div", {
|
|
2979
3056
|
className: Y("slot"),
|
|
2980
3057
|
"data-rly-release-preview-slot": "stages",
|
|
2981
3058
|
children: p
|
|
2982
3059
|
}),
|
|
2983
|
-
/* @__PURE__ */
|
|
3060
|
+
/* @__PURE__ */ O("div", {
|
|
2984
3061
|
className: Y("slot"),
|
|
2985
3062
|
"data-rly-release-preview-slot": "workset",
|
|
2986
3063
|
children: h
|
|
2987
3064
|
}),
|
|
2988
|
-
/* @__PURE__ */
|
|
3065
|
+
/* @__PURE__ */ O("div", {
|
|
2989
3066
|
className: Y("slot"),
|
|
2990
3067
|
"data-rly-release-preview-slot": "evidence",
|
|
2991
3068
|
children: r
|
|
2992
3069
|
}),
|
|
2993
|
-
/* @__PURE__ */
|
|
3070
|
+
/* @__PURE__ */ O("div", {
|
|
2994
3071
|
className: Y("slot"),
|
|
2995
3072
|
"data-rly-release-preview-slot": "agent-entry",
|
|
2996
3073
|
children: e
|
|
2997
3074
|
})
|
|
2998
3075
|
]
|
|
2999
|
-
}), ee = /* @__PURE__ */
|
|
3076
|
+
}), ee = /* @__PURE__ */ O(b, {
|
|
3000
3077
|
className: Y("fullViewButton"),
|
|
3001
3078
|
onClick: a,
|
|
3002
3079
|
size: "default",
|
|
3003
3080
|
variant: "secondary",
|
|
3004
3081
|
children: v
|
|
3005
3082
|
});
|
|
3006
|
-
return l === "sheet" ? /* @__PURE__ */
|
|
3083
|
+
return l === "sheet" ? /* @__PURE__ */ O(f.Root, {
|
|
3007
3084
|
onOpenChange: i,
|
|
3008
3085
|
open: s,
|
|
3009
|
-
children: /* @__PURE__ */
|
|
3086
|
+
children: /* @__PURE__ */ k(f.Content, {
|
|
3010
3087
|
entryMotion: n,
|
|
3011
3088
|
initialFocusRef: y,
|
|
3012
3089
|
title: S,
|
|
3013
|
-
children: [/* @__PURE__ */
|
|
3090
|
+
children: [/* @__PURE__ */ O(f.Body, {
|
|
3014
3091
|
"data-rly-release-preview-scroll": "sheet",
|
|
3015
3092
|
children: C
|
|
3016
|
-
}), /* @__PURE__ */
|
|
3093
|
+
}), /* @__PURE__ */ O(f.Footer, {
|
|
3017
3094
|
className: Y("sheetFooter"),
|
|
3018
3095
|
"data-rly-release-preview-footer": "sheet",
|
|
3019
3096
|
children: ee
|
|
3020
3097
|
})]
|
|
3021
3098
|
})
|
|
3022
|
-
}) : /* @__PURE__ */
|
|
3099
|
+
}) : /* @__PURE__ */ O(w.Root, {
|
|
3023
3100
|
onOpenChange: i,
|
|
3024
3101
|
open: s,
|
|
3025
|
-
children: /* @__PURE__ */
|
|
3102
|
+
children: /* @__PURE__ */ O(w.Content, {
|
|
3026
3103
|
className: Y("dialogSurface"),
|
|
3027
3104
|
entryMotion: n,
|
|
3028
3105
|
initialFocusRef: y,
|
|
3029
3106
|
size: "wide",
|
|
3030
3107
|
title: S,
|
|
3031
|
-
children: /* @__PURE__ */
|
|
3108
|
+
children: /* @__PURE__ */ k("div", {
|
|
3032
3109
|
className: Y("dialogFrame"),
|
|
3033
3110
|
children: [
|
|
3034
|
-
/* @__PURE__ */
|
|
3111
|
+
/* @__PURE__ */ O("div", {
|
|
3035
3112
|
className: Y("dialogClose"),
|
|
3036
|
-
children: /* @__PURE__ */
|
|
3113
|
+
children: /* @__PURE__ */ O(w.Close, {
|
|
3037
3114
|
size: "compact",
|
|
3038
3115
|
variant: "quiet",
|
|
3039
3116
|
children: "Close preview"
|
|
3040
3117
|
})
|
|
3041
3118
|
}),
|
|
3042
|
-
/* @__PURE__ */
|
|
3119
|
+
/* @__PURE__ */ O("div", {
|
|
3043
3120
|
className: Y("dialogScroll"),
|
|
3044
3121
|
"data-rly-release-preview-scroll": "dialog",
|
|
3045
3122
|
children: C
|
|
3046
3123
|
}),
|
|
3047
|
-
/* @__PURE__ */
|
|
3124
|
+
/* @__PURE__ */ O("footer", {
|
|
3048
3125
|
className: Y("dialogFooter"),
|
|
3049
3126
|
"data-rly-release-preview-footer": "dialog",
|
|
3050
3127
|
children: ee
|
|
@@ -3053,7 +3130,7 @@ var fe = {
|
|
|
3053
3130
|
})
|
|
3054
3131
|
})
|
|
3055
3132
|
});
|
|
3056
|
-
},
|
|
3133
|
+
}, Cr = {
|
|
3057
3134
|
root: "rly_ReleaseRow-module__root",
|
|
3058
3135
|
identity: "rly_ReleaseRow-module__identity",
|
|
3059
3136
|
verdictBlock: "rly_ReleaseRow-module__verdictBlock",
|
|
@@ -3069,26 +3146,26 @@ var fe = {
|
|
|
3069
3146
|
facts: "rly_ReleaseRow-module__facts",
|
|
3070
3147
|
agentEntry: "rly_ReleaseRow-module__agentEntry",
|
|
3071
3148
|
previewButton: "rly_ReleaseRow-module__previewButton"
|
|
3072
|
-
}, X = (e) => c(
|
|
3073
|
-
let c =
|
|
3149
|
+
}, X = (e) => c(Cr, e), wr = ({ agentEntry: e, className: t, onPreview: n, previewLabel: r = "Preview release", release: i, transitionNames: a, ...s }) => {
|
|
3150
|
+
let c = pr(i), l = dr(a), u = o(r, "ReleaseRow previewLabel"), f = `rly-release-row-verdict-${E()}`, p = c.freshnessDateTime === void 0 ? /* @__PURE__ */ O(ot, {
|
|
3074
3151
|
size: "compact",
|
|
3075
3152
|
state: c.freshness
|
|
3076
|
-
}) : /* @__PURE__ */
|
|
3153
|
+
}) : /* @__PURE__ */ O(ot, {
|
|
3077
3154
|
dateTime: c.freshnessDateTime,
|
|
3078
3155
|
size: "compact",
|
|
3079
3156
|
state: c.freshness,
|
|
3080
3157
|
time: c.freshnessTime
|
|
3081
3158
|
});
|
|
3082
|
-
return /* @__PURE__ */
|
|
3159
|
+
return /* @__PURE__ */ k("article", {
|
|
3083
3160
|
...s,
|
|
3084
3161
|
className: d(X("root"), t),
|
|
3085
3162
|
"data-rly-release-id": c.id,
|
|
3086
3163
|
"data-rly-release-state": c.state,
|
|
3087
3164
|
children: [
|
|
3088
|
-
/* @__PURE__ */
|
|
3165
|
+
/* @__PURE__ */ k("div", {
|
|
3089
3166
|
className: X("identity"),
|
|
3090
3167
|
children: [
|
|
3091
|
-
/* @__PURE__ */
|
|
3168
|
+
/* @__PURE__ */ O(br, {
|
|
3092
3169
|
algorithm: c.algorithm,
|
|
3093
3170
|
codename: c.codename,
|
|
3094
3171
|
"data-rly-release-transition-name": l?.relay,
|
|
@@ -3097,7 +3174,7 @@ var fe = {
|
|
|
3097
3174
|
style: l === void 0 ? void 0 : { viewTransitionName: l.relay },
|
|
3098
3175
|
symbolIndices: c.symbolIndices
|
|
3099
3176
|
}),
|
|
3100
|
-
/* @__PURE__ */
|
|
3177
|
+
/* @__PURE__ */ O("p", {
|
|
3101
3178
|
className: X("version"),
|
|
3102
3179
|
"data-rly-release-transition-name": l?.version,
|
|
3103
3180
|
"data-rly-release-transition-part": "version",
|
|
@@ -3107,70 +3184,70 @@ var fe = {
|
|
|
3107
3184
|
p
|
|
3108
3185
|
]
|
|
3109
3186
|
}),
|
|
3110
|
-
/* @__PURE__ */
|
|
3187
|
+
/* @__PURE__ */ k("section", {
|
|
3111
3188
|
"aria-labelledby": f,
|
|
3112
3189
|
className: X("verdictBlock"),
|
|
3113
3190
|
"data-rly-release-transition-name": l?.verdict,
|
|
3114
3191
|
"data-rly-release-transition-part": "verdict",
|
|
3115
3192
|
style: l === void 0 ? void 0 : { viewTransitionName: l.verdict },
|
|
3116
|
-
children: [/* @__PURE__ */
|
|
3193
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
3117
3194
|
className: X("verdict"),
|
|
3118
3195
|
id: f,
|
|
3119
3196
|
children: c.verdict
|
|
3120
|
-
}), /* @__PURE__ */
|
|
3197
|
+
}), /* @__PURE__ */ O("p", {
|
|
3121
3198
|
className: X("reason"),
|
|
3122
3199
|
children: c.reason
|
|
3123
3200
|
})]
|
|
3124
3201
|
}),
|
|
3125
|
-
/* @__PURE__ */
|
|
3202
|
+
/* @__PURE__ */ k("div", {
|
|
3126
3203
|
className: X("people"),
|
|
3127
|
-
children: [/* @__PURE__ */
|
|
3204
|
+
children: [/* @__PURE__ */ k("div", {
|
|
3128
3205
|
className: X("personGroup"),
|
|
3129
|
-
children: [/* @__PURE__ */
|
|
3206
|
+
children: [/* @__PURE__ */ O("span", {
|
|
3130
3207
|
className: X("eyebrow"),
|
|
3131
3208
|
children: "Owner"
|
|
3132
|
-
}), c.owner === void 0 ? /* @__PURE__ */
|
|
3209
|
+
}), c.owner === void 0 ? /* @__PURE__ */ O("span", {
|
|
3133
3210
|
className: X("unassigned"),
|
|
3134
3211
|
"data-rly-release-owner": "unassigned",
|
|
3135
3212
|
children: "Unassigned"
|
|
3136
|
-
}) : /* @__PURE__ */
|
|
3213
|
+
}) : /* @__PURE__ */ O(F, {
|
|
3137
3214
|
person: c.owner,
|
|
3138
3215
|
size: "compact"
|
|
3139
3216
|
})]
|
|
3140
|
-
}), c.approver === void 0 ? null : /* @__PURE__ */
|
|
3217
|
+
}), c.approver === void 0 ? null : /* @__PURE__ */ k("div", {
|
|
3141
3218
|
className: X("personGroup"),
|
|
3142
|
-
children: [/* @__PURE__ */
|
|
3219
|
+
children: [/* @__PURE__ */ O("span", {
|
|
3143
3220
|
className: X("eyebrow"),
|
|
3144
3221
|
children: "Approver"
|
|
3145
|
-
}), /* @__PURE__ */
|
|
3222
|
+
}), /* @__PURE__ */ O(F, {
|
|
3146
3223
|
person: c.approver,
|
|
3147
3224
|
size: "compact"
|
|
3148
3225
|
})]
|
|
3149
3226
|
})]
|
|
3150
3227
|
}),
|
|
3151
|
-
/* @__PURE__ */
|
|
3228
|
+
/* @__PURE__ */ O("dl", {
|
|
3152
3229
|
className: X("facts"),
|
|
3153
|
-
children: c.facts.map((e) => /* @__PURE__ */
|
|
3230
|
+
children: c.facts.map((e) => /* @__PURE__ */ k("div", {
|
|
3154
3231
|
className: X("fact"),
|
|
3155
3232
|
"data-rly-release-fact": e.id,
|
|
3156
|
-
children: [/* @__PURE__ */
|
|
3233
|
+
children: [/* @__PURE__ */ O("dt", { children: e.label }), /* @__PURE__ */ O("dd", { children: e.value })]
|
|
3157
3234
|
}, e.id))
|
|
3158
3235
|
}),
|
|
3159
|
-
/* @__PURE__ */
|
|
3236
|
+
/* @__PURE__ */ k("div", {
|
|
3160
3237
|
className: X("actions"),
|
|
3161
|
-
children: [/* @__PURE__ */
|
|
3238
|
+
children: [/* @__PURE__ */ O(b, {
|
|
3162
3239
|
className: X("previewButton"),
|
|
3163
3240
|
onClick: n,
|
|
3164
3241
|
size: "default",
|
|
3165
3242
|
children: u
|
|
3166
|
-
}), e === void 0 ? null : /* @__PURE__ */
|
|
3243
|
+
}), e === void 0 ? null : /* @__PURE__ */ O("div", {
|
|
3167
3244
|
className: X("agentEntry"),
|
|
3168
3245
|
children: e
|
|
3169
3246
|
})]
|
|
3170
3247
|
})
|
|
3171
3248
|
]
|
|
3172
3249
|
});
|
|
3173
|
-
},
|
|
3250
|
+
}, Tr = {
|
|
3174
3251
|
root: "rly_StageRail-module__root",
|
|
3175
3252
|
heading: "rly_StageRail-module__heading",
|
|
3176
3253
|
list: "rly_StageRail-module__list",
|
|
@@ -3189,7 +3266,7 @@ var fe = {
|
|
|
3189
3266
|
word: "rly_StageRail-module__word",
|
|
3190
3267
|
wordState: "rly_StageRail-module__wordState",
|
|
3191
3268
|
wordReason: "rly_StageRail-module__wordReason"
|
|
3192
|
-
}, Z = (e) => c(
|
|
3269
|
+
}, Z = (e) => c(Tr, e), Er = l({ size: {
|
|
3193
3270
|
compact: {
|
|
3194
3271
|
className: Z("compact"),
|
|
3195
3272
|
purpose: "Dense release and entity stage summaries",
|
|
@@ -3221,7 +3298,7 @@ var fe = {
|
|
|
3221
3298
|
"color-held-ink"
|
|
3222
3299
|
]
|
|
3223
3300
|
}
|
|
3224
|
-
} }),
|
|
3301
|
+
} }), Dr = l({ size: "default" }), Or = (e) => {
|
|
3225
3302
|
let t = /* @__PURE__ */ new Set();
|
|
3226
3303
|
for (let n of e) {
|
|
3227
3304
|
let e = o(n.id, "StageRail stage id");
|
|
@@ -3229,75 +3306,75 @@ var fe = {
|
|
|
3229
3306
|
t.add(e);
|
|
3230
3307
|
}
|
|
3231
3308
|
return e;
|
|
3232
|
-
},
|
|
3233
|
-
let s = o(n, "StageRail heading"), c = o(t, "StageRail emptyLabel"), l =
|
|
3234
|
-
return /* @__PURE__ */
|
|
3309
|
+
}, kr = (e) => e === "critical" ? "blocked" : e === "caution" ? "held" : "quiet", Ar = ({ className: e, emptyLabel: t = "No stages recorded.", heading: n, size: r = "default", stages: i, ...a }) => {
|
|
3310
|
+
let s = o(n, "StageRail heading"), c = o(t, "StageRail emptyLabel"), l = Or(i), u = `rly-stage-rail-${E()}`;
|
|
3311
|
+
return /* @__PURE__ */ k("section", {
|
|
3235
3312
|
...a,
|
|
3236
3313
|
"aria-labelledby": r === "words" ? void 0 : u,
|
|
3237
|
-
className: d(Z("root"),
|
|
3314
|
+
className: d(Z("root"), Er.size[r].className, l.length > 6 && Z("long"), e),
|
|
3238
3315
|
"data-rly-stage-rail-size": r,
|
|
3239
|
-
children: [r === "words" ? null : /* @__PURE__ */
|
|
3316
|
+
children: [r === "words" ? null : /* @__PURE__ */ O("h2", {
|
|
3240
3317
|
className: Z("heading"),
|
|
3241
3318
|
id: u,
|
|
3242
3319
|
children: s
|
|
3243
|
-
}), l.length === 0 ? /* @__PURE__ */
|
|
3320
|
+
}), l.length === 0 ? /* @__PURE__ */ O("p", {
|
|
3244
3321
|
className: Z("empty"),
|
|
3245
3322
|
children: c
|
|
3246
|
-
}) : r === "words" ? /* @__PURE__ */
|
|
3323
|
+
}) : r === "words" ? /* @__PURE__ */ O("ol", {
|
|
3247
3324
|
"aria-label": s,
|
|
3248
3325
|
className: Z("wordList"),
|
|
3249
|
-
children: l.map((e, t) => /* @__PURE__ */
|
|
3326
|
+
children: l.map((e, t) => /* @__PURE__ */ k("li", {
|
|
3250
3327
|
className: Z("word"),
|
|
3251
3328
|
"data-rly-stage-id": e.id,
|
|
3252
3329
|
children: [
|
|
3253
3330
|
e.name,
|
|
3254
3331
|
" ",
|
|
3255
|
-
/* @__PURE__ */
|
|
3332
|
+
/* @__PURE__ */ O("span", {
|
|
3256
3333
|
className: Z("wordState"),
|
|
3257
|
-
"data-rly-stage-word":
|
|
3334
|
+
"data-rly-stage-word": kr(e.tone),
|
|
3258
3335
|
children: e.state
|
|
3259
3336
|
}),
|
|
3260
|
-
e.reason === void 0 ? null : /* @__PURE__ */
|
|
3337
|
+
e.reason === void 0 ? null : /* @__PURE__ */ k("span", {
|
|
3261
3338
|
className: Z("wordReason"),
|
|
3262
3339
|
children: [": ", e.reason]
|
|
3263
3340
|
}),
|
|
3264
3341
|
t === l.length - 1 ? null : ","
|
|
3265
3342
|
]
|
|
3266
3343
|
}, e.id))
|
|
3267
|
-
}) : /* @__PURE__ */
|
|
3344
|
+
}) : /* @__PURE__ */ O("ol", {
|
|
3268
3345
|
className: Z("list"),
|
|
3269
|
-
children: l.map((e, t) => /* @__PURE__ */
|
|
3346
|
+
children: l.map((e, t) => /* @__PURE__ */ k("li", {
|
|
3270
3347
|
className: Z("item"),
|
|
3271
3348
|
"data-rly-stage-id": e.id,
|
|
3272
3349
|
children: [
|
|
3273
|
-
/* @__PURE__ */
|
|
3350
|
+
/* @__PURE__ */ O("span", {
|
|
3274
3351
|
"aria-hidden": "true",
|
|
3275
3352
|
className: Z("marker"),
|
|
3276
3353
|
"data-rly-stage-marker": "",
|
|
3277
3354
|
children: t + 1
|
|
3278
3355
|
}),
|
|
3279
|
-
t === l.length - 1 ? null : /* @__PURE__ */
|
|
3356
|
+
t === l.length - 1 ? null : /* @__PURE__ */ O("span", {
|
|
3280
3357
|
"aria-hidden": "true",
|
|
3281
3358
|
className: Z("connector"),
|
|
3282
3359
|
"data-rly-stage-connector": ""
|
|
3283
3360
|
}),
|
|
3284
|
-
/* @__PURE__ */
|
|
3361
|
+
/* @__PURE__ */ k("div", {
|
|
3285
3362
|
className: Z("content"),
|
|
3286
3363
|
children: [
|
|
3287
|
-
/* @__PURE__ */
|
|
3364
|
+
/* @__PURE__ */ O("h3", {
|
|
3288
3365
|
className: Z("name"),
|
|
3289
3366
|
children: e.name
|
|
3290
3367
|
}),
|
|
3291
|
-
/* @__PURE__ */
|
|
3368
|
+
/* @__PURE__ */ O(T, {
|
|
3292
3369
|
label: e.state,
|
|
3293
3370
|
size: r === "default" ? "default" : "compact",
|
|
3294
3371
|
tone: e.tone
|
|
3295
3372
|
}),
|
|
3296
|
-
e.reason === void 0 ? null : /* @__PURE__ */
|
|
3373
|
+
e.reason === void 0 ? null : /* @__PURE__ */ O("p", {
|
|
3297
3374
|
className: Z("reason"),
|
|
3298
3375
|
children: e.reason
|
|
3299
3376
|
}),
|
|
3300
|
-
e.owner === void 0 ? null : /* @__PURE__ */
|
|
3377
|
+
e.owner === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
3301
3378
|
person: e.owner,
|
|
3302
3379
|
size: r
|
|
3303
3380
|
})
|
|
@@ -3307,7 +3384,7 @@ var fe = {
|
|
|
3307
3384
|
}, e.id))
|
|
3308
3385
|
})]
|
|
3309
3386
|
});
|
|
3310
|
-
},
|
|
3387
|
+
}, jr = {
|
|
3311
3388
|
root: "rly_TimelineRow-module__root",
|
|
3312
3389
|
time: "rly_TimelineRow-module__time",
|
|
3313
3390
|
marker: "rly_TimelineRow-module__marker",
|
|
@@ -3328,84 +3405,84 @@ var fe = {
|
|
|
3328
3405
|
provenance: "rly_TimelineRow-module__provenance",
|
|
3329
3406
|
key: "rly_TimelineRow-module__key",
|
|
3330
3407
|
keyItem: "rly_TimelineRow-module__keyItem"
|
|
3331
|
-
}, Q = (e) => c(
|
|
3408
|
+
}, Q = (e) => c(jr, e), Mr = {
|
|
3332
3409
|
human: "Human",
|
|
3333
3410
|
agent: "Agent",
|
|
3334
3411
|
plugin: "Plugin",
|
|
3335
3412
|
system: "System"
|
|
3336
|
-
},
|
|
3413
|
+
}, Nr = {
|
|
3337
3414
|
auto: "markAuto",
|
|
3338
3415
|
approved: "markApproved",
|
|
3339
3416
|
pending: "markPending",
|
|
3340
3417
|
unknown: "markUnknown",
|
|
3341
3418
|
flag: "markFlag"
|
|
3342
|
-
},
|
|
3419
|
+
}, Pr = (e) => {
|
|
3343
3420
|
if (o(e.id, "TimelineRow event id"), o(e.title, "TimelineRow event title"), o(e.detail, "TimelineRow event detail"), o(e.dateTime, "TimelineRow event dateTime"), o(e.time, "TimelineRow event time"), e.href !== void 0 && o(e.href, "TimelineRow event href"), e.provenance !== void 0) {
|
|
3344
|
-
if (!Object.hasOwn(
|
|
3421
|
+
if (!Object.hasOwn(Nr, e.provenance.kind)) throw Error("TimelineRow provenance kind must be auto, approved, pending, unknown, or flag");
|
|
3345
3422
|
o(e.provenance.label, "TimelineRow provenance label");
|
|
3346
3423
|
}
|
|
3347
|
-
if (!Object.hasOwn(
|
|
3424
|
+
if (!Object.hasOwn(Mr, e.actorKind)) throw Error("TimelineRow event actorKind must be human, agent, plugin, or system");
|
|
3348
3425
|
return e;
|
|
3349
|
-
},
|
|
3350
|
-
let a =
|
|
3426
|
+
}, Fr = ({ className: e, continued: t, event: n, ...i }) => {
|
|
3427
|
+
let a = Pr(n), o = `rly-timeline-row-${E()}`, s = /* @__PURE__ */ O("h2", {
|
|
3351
3428
|
className: Q("title"),
|
|
3352
3429
|
id: o,
|
|
3353
3430
|
children: a.title
|
|
3354
3431
|
});
|
|
3355
|
-
return /* @__PURE__ */
|
|
3432
|
+
return /* @__PURE__ */ k("li", {
|
|
3356
3433
|
...i,
|
|
3357
3434
|
className: d(Q("root"), e),
|
|
3358
3435
|
"data-rly-timeline-actor": a.actorKind,
|
|
3359
3436
|
"data-rly-timeline-event-id": a.id,
|
|
3360
3437
|
children: [
|
|
3361
|
-
/* @__PURE__ */
|
|
3438
|
+
/* @__PURE__ */ O("time", {
|
|
3362
3439
|
className: Q("time"),
|
|
3363
3440
|
dateTime: a.dateTime,
|
|
3364
3441
|
children: a.time
|
|
3365
3442
|
}),
|
|
3366
|
-
/* @__PURE__ */
|
|
3443
|
+
/* @__PURE__ */ k("span", {
|
|
3367
3444
|
"aria-hidden": "true",
|
|
3368
3445
|
className: Q("marker"),
|
|
3369
|
-
children: [/* @__PURE__ */
|
|
3370
|
-
className: a.provenance === void 0 ? Q("dot") : Q(
|
|
3446
|
+
children: [/* @__PURE__ */ O("span", {
|
|
3447
|
+
className: a.provenance === void 0 ? Q("dot") : Q(Nr[a.provenance.kind]),
|
|
3371
3448
|
"data-rly-timeline-provenance": a.provenance?.kind
|
|
3372
|
-
}), t ? /* @__PURE__ */
|
|
3449
|
+
}), t ? /* @__PURE__ */ O("span", {
|
|
3373
3450
|
className: Q("connector"),
|
|
3374
3451
|
"data-rly-timeline-connector": ""
|
|
3375
3452
|
}) : null]
|
|
3376
3453
|
}),
|
|
3377
|
-
/* @__PURE__ */
|
|
3454
|
+
/* @__PURE__ */ k("article", {
|
|
3378
3455
|
"aria-labelledby": o,
|
|
3379
3456
|
className: Q("content"),
|
|
3380
3457
|
children: [
|
|
3381
|
-
a.href === void 0 ? s : /* @__PURE__ */
|
|
3458
|
+
a.href === void 0 ? s : /* @__PURE__ */ O(r, {
|
|
3382
3459
|
className: Q("link"),
|
|
3383
3460
|
href: a.href,
|
|
3384
3461
|
children: s
|
|
3385
3462
|
}),
|
|
3386
|
-
/* @__PURE__ */
|
|
3463
|
+
/* @__PURE__ */ O("p", {
|
|
3387
3464
|
className: Q("detail"),
|
|
3388
3465
|
children: a.detail
|
|
3389
3466
|
}),
|
|
3390
|
-
a.provenance === void 0 ? null : /* @__PURE__ */
|
|
3467
|
+
a.provenance === void 0 ? null : /* @__PURE__ */ O("p", {
|
|
3391
3468
|
className: Q("provenance"),
|
|
3392
3469
|
"data-rly-timeline-provenance-label": a.provenance.kind,
|
|
3393
3470
|
children: a.provenance.label
|
|
3394
3471
|
})
|
|
3395
3472
|
]
|
|
3396
3473
|
}),
|
|
3397
|
-
/* @__PURE__ */
|
|
3474
|
+
/* @__PURE__ */ k("div", {
|
|
3398
3475
|
className: Q("meta"),
|
|
3399
3476
|
children: [
|
|
3400
|
-
/* @__PURE__ */
|
|
3477
|
+
/* @__PURE__ */ O("span", {
|
|
3401
3478
|
className: Q("actorKind"),
|
|
3402
|
-
children:
|
|
3479
|
+
children: Mr[a.actorKind]
|
|
3403
3480
|
}),
|
|
3404
|
-
a.service === void 0 ? null : /* @__PURE__ */
|
|
3481
|
+
a.service === void 0 ? null : /* @__PURE__ */ O(z, {
|
|
3405
3482
|
service: a.service,
|
|
3406
3483
|
size: "compact"
|
|
3407
3484
|
}),
|
|
3408
|
-
a.actor === void 0 ? null : /* @__PURE__ */
|
|
3485
|
+
a.actor === void 0 ? null : /* @__PURE__ */ O("div", {
|
|
3409
3486
|
className: Q("actor"),
|
|
3410
3487
|
children: a.actor
|
|
3411
3488
|
})
|
|
@@ -3413,36 +3490,36 @@ var fe = {
|
|
|
3413
3490
|
})
|
|
3414
3491
|
]
|
|
3415
3492
|
});
|
|
3416
|
-
},
|
|
3493
|
+
}, Ir = {
|
|
3417
3494
|
auto: "applied automatically",
|
|
3418
3495
|
approved: "approved",
|
|
3419
3496
|
pending: "waiting for approval",
|
|
3420
3497
|
unknown: "couldn't read",
|
|
3421
3498
|
flag: "flag only"
|
|
3422
|
-
},
|
|
3499
|
+
}, Lr = ({ className: e, kinds: t = [
|
|
3423
3500
|
"auto",
|
|
3424
3501
|
"approved",
|
|
3425
3502
|
"pending",
|
|
3426
3503
|
"unknown",
|
|
3427
3504
|
"flag"
|
|
3428
|
-
], label: n, labels: r = {}, ...i }) => /* @__PURE__ */
|
|
3505
|
+
], label: n, labels: r = {}, ...i }) => /* @__PURE__ */ O("ul", {
|
|
3429
3506
|
...i,
|
|
3430
3507
|
"aria-label": o(n, "TimelineProvenanceKey label"),
|
|
3431
3508
|
className: d(Q("key"), e),
|
|
3432
3509
|
role: "list",
|
|
3433
|
-
children: t.map((e) => /* @__PURE__ */
|
|
3510
|
+
children: t.map((e) => /* @__PURE__ */ k("li", {
|
|
3434
3511
|
className: Q("keyItem"),
|
|
3435
3512
|
children: [
|
|
3436
|
-
/* @__PURE__ */
|
|
3513
|
+
/* @__PURE__ */ O("span", {
|
|
3437
3514
|
"aria-hidden": "true",
|
|
3438
|
-
className: Q(
|
|
3515
|
+
className: Q(Nr[e]),
|
|
3439
3516
|
"data-rly-timeline-provenance": e
|
|
3440
3517
|
}),
|
|
3441
3518
|
" ",
|
|
3442
|
-
r[e] ??
|
|
3519
|
+
r[e] ?? Ir[e]
|
|
3443
3520
|
]
|
|
3444
3521
|
}, e))
|
|
3445
|
-
}),
|
|
3522
|
+
}), Rr = {
|
|
3446
3523
|
root: "rly_WorksetCard-module__root",
|
|
3447
3524
|
heading: "rly_WorksetCard-module__heading",
|
|
3448
3525
|
dimensions: "rly_WorksetCard-module__dimensions",
|
|
@@ -3462,97 +3539,97 @@ var fe = {
|
|
|
3462
3539
|
conceptLabel: "rly_WorksetCard-module__conceptLabel",
|
|
3463
3540
|
emptyLink: "rly_WorksetCard-module__emptyLink",
|
|
3464
3541
|
linkedWork: "rly_WorksetCard-module__linkedWork"
|
|
3465
|
-
}, $ = (e) => c(
|
|
3542
|
+
}, $ = (e) => c(Rr, e), zr = (e, t) => {
|
|
3466
3543
|
e !== void 0 && o(e, `${t} href`);
|
|
3467
|
-
},
|
|
3544
|
+
}, Br = (e, t, n) => {
|
|
3468
3545
|
let r = o(e, `${n} id`);
|
|
3469
3546
|
if (t.has(r)) throw Error(`${n} ids must be unique: ${r}`);
|
|
3470
3547
|
return t.add(r), r;
|
|
3471
|
-
},
|
|
3548
|
+
}, Vr = (e) => {
|
|
3472
3549
|
let t = /* @__PURE__ */ new Set();
|
|
3473
3550
|
for (let n of e) {
|
|
3474
|
-
let e =
|
|
3475
|
-
o(n.key, `WorksetCard Jira key for ${e}`), o(n.title, `WorksetCard Jira title for ${e}`), o(n.state, `WorksetCard Jira state for ${e}`),
|
|
3551
|
+
let e = Br(n.id, t, "WorksetCard Jira item");
|
|
3552
|
+
o(n.key, `WorksetCard Jira key for ${e}`), o(n.title, `WorksetCard Jira title for ${e}`), o(n.state, `WorksetCard Jira state for ${e}`), zr(n.href, `WorksetCard Jira item ${e}`);
|
|
3476
3553
|
}
|
|
3477
|
-
},
|
|
3554
|
+
}, Hr = (e) => {
|
|
3478
3555
|
let t = /* @__PURE__ */ new Set();
|
|
3479
3556
|
for (let n of e) {
|
|
3480
|
-
let e =
|
|
3481
|
-
o(n.title, `WorksetCard pull request title for ${e}`), o(n.reference, `WorksetCard pull request reference for ${e}`), o(n.state, `WorksetCard pull request state for ${e}`),
|
|
3557
|
+
let e = Br(n.id, t, "WorksetCard pull request group");
|
|
3558
|
+
o(n.title, `WorksetCard pull request title for ${e}`), o(n.reference, `WorksetCard pull request reference for ${e}`), o(n.state, `WorksetCard pull request state for ${e}`), zr(n.href, `WorksetCard pull request group ${e}`);
|
|
3482
3559
|
for (let t of n.linkedJiraKeys) o(t, `WorksetCard linked Jira key for ${e}`);
|
|
3483
3560
|
}
|
|
3484
|
-
},
|
|
3561
|
+
}, Ur = (e) => {
|
|
3485
3562
|
let t = /* @__PURE__ */ new Set();
|
|
3486
3563
|
for (let n of e) {
|
|
3487
|
-
let e =
|
|
3564
|
+
let e = Br(n.id, t, "WorksetCard gap");
|
|
3488
3565
|
if (o(n.label, `WorksetCard gap label for ${e}`), o(n.reason, `WorksetCard gap reason for ${e}`), !Object.hasOwn(ct.service, n.service)) throw Error(`WorksetCard gap service for ${e} must be supported`);
|
|
3489
3566
|
}
|
|
3490
|
-
},
|
|
3567
|
+
}, Wr = (e) => {
|
|
3491
3568
|
let t = /* @__PURE__ */ new Set();
|
|
3492
3569
|
for (let n of e) {
|
|
3493
|
-
let e =
|
|
3494
|
-
o(n.title, `WorksetCard pipeline title for ${e}`), o(n.reference, `WorksetCard pipeline reference for ${e}`), o(n.state, `WorksetCard pipeline state for ${e}`),
|
|
3570
|
+
let e = Br(n.id, t, "WorksetCard pipeline");
|
|
3571
|
+
o(n.title, `WorksetCard pipeline title for ${e}`), o(n.reference, `WorksetCard pipeline reference for ${e}`), o(n.state, `WorksetCard pipeline state for ${e}`), zr(n.href, `WorksetCard pipeline ${e}`);
|
|
3495
3572
|
}
|
|
3496
|
-
},
|
|
3497
|
-
let i = /* @__PURE__ */
|
|
3573
|
+
}, Gr = ({ href: e, reference: t, title: n }) => {
|
|
3574
|
+
let i = /* @__PURE__ */ k("span", {
|
|
3498
3575
|
className: $("identity"),
|
|
3499
|
-
children: [/* @__PURE__ */
|
|
3576
|
+
children: [/* @__PURE__ */ O("span", {
|
|
3500
3577
|
className: $("itemTitle"),
|
|
3501
3578
|
children: n
|
|
3502
|
-
}), /* @__PURE__ */
|
|
3579
|
+
}), /* @__PURE__ */ O("span", {
|
|
3503
3580
|
className: $("reference"),
|
|
3504
3581
|
children: t
|
|
3505
3582
|
})]
|
|
3506
3583
|
});
|
|
3507
|
-
return e === void 0 ? i : /* @__PURE__ */
|
|
3584
|
+
return e === void 0 ? i : /* @__PURE__ */ O(r, {
|
|
3508
3585
|
className: $("link"),
|
|
3509
3586
|
href: e,
|
|
3510
3587
|
children: i
|
|
3511
3588
|
});
|
|
3512
|
-
},
|
|
3589
|
+
}, Kr = ({ className: e, gapEmptyLabel: t = "No relationship gaps recorded.", gaps: n, heading: r, jiraEmptyLabel: i = "No Jira work recorded.", jiraItems: a, pipelineEmptyLabel: s = "No pipeline delivery recorded.", pipelines: c, pullRequestEmptyLabel: l = "No pull request groups recorded.", pullRequestGroups: u, ...f }) => {
|
|
3513
3590
|
let p = o(r, "WorksetCard heading"), m = o(i, "WorksetCard jiraEmptyLabel"), h = o(l, "WorksetCard pullRequestEmptyLabel"), g = o(t, "WorksetCard gapEmptyLabel"), _ = o(s, "WorksetCard pipelineEmptyLabel");
|
|
3514
|
-
|
|
3591
|
+
Vr(a), Hr(u), Ur(n), Wr(c);
|
|
3515
3592
|
let v = `rly-workset-${E()}`;
|
|
3516
|
-
return /* @__PURE__ */
|
|
3593
|
+
return /* @__PURE__ */ k("section", {
|
|
3517
3594
|
...f,
|
|
3518
3595
|
"aria-labelledby": v,
|
|
3519
3596
|
className: d($("root"), e),
|
|
3520
|
-
children: [/* @__PURE__ */
|
|
3597
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
3521
3598
|
className: $("heading"),
|
|
3522
3599
|
id: v,
|
|
3523
3600
|
children: p
|
|
3524
|
-
}), /* @__PURE__ */
|
|
3601
|
+
}), /* @__PURE__ */ k("div", {
|
|
3525
3602
|
className: $("dimensions"),
|
|
3526
3603
|
children: [
|
|
3527
|
-
/* @__PURE__ */
|
|
3604
|
+
/* @__PURE__ */ k("section", {
|
|
3528
3605
|
className: $("dimension"),
|
|
3529
3606
|
"data-rly-workset-dimension": "jira",
|
|
3530
|
-
children: [/* @__PURE__ */
|
|
3607
|
+
children: [/* @__PURE__ */ k("div", {
|
|
3531
3608
|
className: $("dimensionHeading"),
|
|
3532
|
-
children: [/* @__PURE__ */
|
|
3609
|
+
children: [/* @__PURE__ */ O(z, {
|
|
3533
3610
|
service: "jira",
|
|
3534
3611
|
size: "compact"
|
|
3535
|
-
}), /* @__PURE__ */
|
|
3536
|
-
}), a.length === 0 ? /* @__PURE__ */
|
|
3612
|
+
}), /* @__PURE__ */ O("h3", { children: "Jira work" })]
|
|
3613
|
+
}), a.length === 0 ? /* @__PURE__ */ O("p", {
|
|
3537
3614
|
className: $("empty"),
|
|
3538
3615
|
children: m
|
|
3539
|
-
}) : /* @__PURE__ */
|
|
3616
|
+
}) : /* @__PURE__ */ O("ul", {
|
|
3540
3617
|
className: $("list"),
|
|
3541
|
-
children: a.map((e) => /* @__PURE__ */
|
|
3618
|
+
children: a.map((e) => /* @__PURE__ */ k("li", {
|
|
3542
3619
|
className: $("item"),
|
|
3543
3620
|
"data-rly-workset-jira-id": e.id,
|
|
3544
3621
|
children: [
|
|
3545
|
-
/* @__PURE__ */
|
|
3622
|
+
/* @__PURE__ */ O(Gr, {
|
|
3546
3623
|
...e.href === void 0 ? {} : { href: e.href },
|
|
3547
3624
|
reference: e.key,
|
|
3548
3625
|
title: e.title
|
|
3549
3626
|
}),
|
|
3550
|
-
/* @__PURE__ */
|
|
3627
|
+
/* @__PURE__ */ O(T, {
|
|
3551
3628
|
label: e.state,
|
|
3552
3629
|
size: "compact",
|
|
3553
3630
|
tone: e.tone
|
|
3554
3631
|
}),
|
|
3555
|
-
e.owner === void 0 ? null : /* @__PURE__ */
|
|
3632
|
+
e.owner === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
3556
3633
|
person: e.owner,
|
|
3557
3634
|
size: "compact"
|
|
3558
3635
|
})
|
|
@@ -3560,119 +3637,119 @@ var fe = {
|
|
|
3560
3637
|
}, e.id))
|
|
3561
3638
|
})]
|
|
3562
3639
|
}),
|
|
3563
|
-
/* @__PURE__ */
|
|
3640
|
+
/* @__PURE__ */ k("section", {
|
|
3564
3641
|
className: $("dimension"),
|
|
3565
3642
|
"data-rly-workset-dimension": "pull-requests",
|
|
3566
3643
|
children: [
|
|
3567
|
-
/* @__PURE__ */
|
|
3644
|
+
/* @__PURE__ */ k("div", {
|
|
3568
3645
|
className: $("dimensionHeading"),
|
|
3569
|
-
children: [/* @__PURE__ */
|
|
3646
|
+
children: [/* @__PURE__ */ O(z, {
|
|
3570
3647
|
service: "codecommit",
|
|
3571
3648
|
size: "compact"
|
|
3572
|
-
}), /* @__PURE__ */
|
|
3649
|
+
}), /* @__PURE__ */ O("h3", { children: "Pull request groups" })]
|
|
3573
3650
|
}),
|
|
3574
|
-
u.length === 0 ? /* @__PURE__ */
|
|
3651
|
+
u.length === 0 ? /* @__PURE__ */ O("p", {
|
|
3575
3652
|
className: $("empty"),
|
|
3576
3653
|
children: h
|
|
3577
|
-
}) : /* @__PURE__ */
|
|
3654
|
+
}) : /* @__PURE__ */ O("ul", {
|
|
3578
3655
|
className: $("list"),
|
|
3579
|
-
children: u.map((e) => /* @__PURE__ */
|
|
3656
|
+
children: u.map((e) => /* @__PURE__ */ k("li", {
|
|
3580
3657
|
className: $("item"),
|
|
3581
3658
|
"data-rly-workset-pr-id": e.id,
|
|
3582
3659
|
children: [
|
|
3583
|
-
/* @__PURE__ */
|
|
3660
|
+
/* @__PURE__ */ O(Gr, {
|
|
3584
3661
|
...e.href === void 0 ? {} : { href: e.href },
|
|
3585
3662
|
reference: e.reference,
|
|
3586
3663
|
title: e.title
|
|
3587
3664
|
}),
|
|
3588
|
-
/* @__PURE__ */
|
|
3665
|
+
/* @__PURE__ */ O(T, {
|
|
3589
3666
|
label: e.state,
|
|
3590
3667
|
size: "compact",
|
|
3591
3668
|
tone: e.tone
|
|
3592
3669
|
}),
|
|
3593
|
-
/* @__PURE__ */
|
|
3670
|
+
/* @__PURE__ */ k("div", {
|
|
3594
3671
|
className: $("linkedWork"),
|
|
3595
|
-
children: [/* @__PURE__ */
|
|
3672
|
+
children: [/* @__PURE__ */ O("span", {
|
|
3596
3673
|
className: $("conceptLabel"),
|
|
3597
3674
|
children: "Linked Jira work"
|
|
3598
|
-
}), e.linkedJiraKeys.length === 0 ? /* @__PURE__ */
|
|
3675
|
+
}), e.linkedJiraKeys.length === 0 ? /* @__PURE__ */ O("span", {
|
|
3599
3676
|
className: $("emptyLink"),
|
|
3600
3677
|
children: "No Jira links recorded."
|
|
3601
|
-
}) : /* @__PURE__ */
|
|
3678
|
+
}) : /* @__PURE__ */ O("ul", {
|
|
3602
3679
|
className: $("keyList"),
|
|
3603
|
-
children: e.linkedJiraKeys.map((e, t) => /* @__PURE__ */
|
|
3680
|
+
children: e.linkedJiraKeys.map((e, t) => /* @__PURE__ */ O("li", {
|
|
3604
3681
|
"data-rly-linked-jira-key": e,
|
|
3605
3682
|
children: e
|
|
3606
3683
|
}, `${e}-${t}`))
|
|
3607
3684
|
})]
|
|
3608
3685
|
}),
|
|
3609
|
-
e.author === void 0 ? null : /* @__PURE__ */
|
|
3686
|
+
e.author === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
3610
3687
|
person: e.author,
|
|
3611
3688
|
size: "compact"
|
|
3612
3689
|
})
|
|
3613
3690
|
]
|
|
3614
3691
|
}, e.id))
|
|
3615
3692
|
}),
|
|
3616
|
-
/* @__PURE__ */
|
|
3693
|
+
/* @__PURE__ */ k("div", {
|
|
3617
3694
|
className: $("gaps"),
|
|
3618
|
-
children: [/* @__PURE__ */
|
|
3695
|
+
children: [/* @__PURE__ */ O("h4", { children: "Relationship gaps" }), n.length === 0 ? /* @__PURE__ */ O("p", {
|
|
3619
3696
|
className: $("empty"),
|
|
3620
3697
|
children: g
|
|
3621
|
-
}) : /* @__PURE__ */
|
|
3698
|
+
}) : /* @__PURE__ */ O("ul", {
|
|
3622
3699
|
className: $("gapList"),
|
|
3623
|
-
children: n.map((e) => /* @__PURE__ */
|
|
3700
|
+
children: n.map((e) => /* @__PURE__ */ k("li", {
|
|
3624
3701
|
className: $("gap"),
|
|
3625
3702
|
"data-rly-workset-gap-id": e.id,
|
|
3626
3703
|
children: [
|
|
3627
|
-
/* @__PURE__ */
|
|
3704
|
+
/* @__PURE__ */ O(z, {
|
|
3628
3705
|
service: e.service,
|
|
3629
3706
|
size: "compact"
|
|
3630
3707
|
}),
|
|
3631
|
-
/* @__PURE__ */
|
|
3632
|
-
/* @__PURE__ */
|
|
3708
|
+
/* @__PURE__ */ O("strong", { children: e.label }),
|
|
3709
|
+
/* @__PURE__ */ O("span", { children: e.reason })
|
|
3633
3710
|
]
|
|
3634
3711
|
}, e.id))
|
|
3635
3712
|
})]
|
|
3636
3713
|
})
|
|
3637
3714
|
]
|
|
3638
3715
|
}),
|
|
3639
|
-
/* @__PURE__ */
|
|
3716
|
+
/* @__PURE__ */ k("section", {
|
|
3640
3717
|
className: $("dimension"),
|
|
3641
3718
|
"data-rly-workset-dimension": "pipelines",
|
|
3642
|
-
children: [/* @__PURE__ */
|
|
3719
|
+
children: [/* @__PURE__ */ k("div", {
|
|
3643
3720
|
className: $("dimensionHeading"),
|
|
3644
|
-
children: [/* @__PURE__ */
|
|
3721
|
+
children: [/* @__PURE__ */ O(z, {
|
|
3645
3722
|
service: "codepipeline",
|
|
3646
3723
|
size: "compact"
|
|
3647
|
-
}), /* @__PURE__ */
|
|
3648
|
-
}), c.length === 0 ? /* @__PURE__ */
|
|
3724
|
+
}), /* @__PURE__ */ O("h3", { children: "Pipeline delivery" })]
|
|
3725
|
+
}), c.length === 0 ? /* @__PURE__ */ O("p", {
|
|
3649
3726
|
className: $("empty"),
|
|
3650
3727
|
children: _
|
|
3651
|
-
}) : /* @__PURE__ */
|
|
3728
|
+
}) : /* @__PURE__ */ O("ul", {
|
|
3652
3729
|
className: $("list"),
|
|
3653
|
-
children: c.map((e) => /* @__PURE__ */
|
|
3730
|
+
children: c.map((e) => /* @__PURE__ */ k("li", {
|
|
3654
3731
|
className: $("item"),
|
|
3655
3732
|
"data-rly-workset-pipeline-id": e.id,
|
|
3656
3733
|
children: [
|
|
3657
|
-
/* @__PURE__ */
|
|
3734
|
+
/* @__PURE__ */ O(Gr, {
|
|
3658
3735
|
...e.href === void 0 ? {} : { href: e.href },
|
|
3659
3736
|
reference: e.reference,
|
|
3660
3737
|
title: e.title
|
|
3661
3738
|
}),
|
|
3662
|
-
/* @__PURE__ */
|
|
3739
|
+
/* @__PURE__ */ O(T, {
|
|
3663
3740
|
label: e.state,
|
|
3664
3741
|
size: "compact",
|
|
3665
3742
|
tone: e.tone
|
|
3666
3743
|
}),
|
|
3667
|
-
e.operator === void 0 ? null : /* @__PURE__ */
|
|
3744
|
+
e.operator === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
3668
3745
|
person: e.operator,
|
|
3669
3746
|
size: "compact"
|
|
3670
3747
|
}),
|
|
3671
|
-
e.approver === void 0 ? null : /* @__PURE__ */
|
|
3748
|
+
e.approver === void 0 ? null : /* @__PURE__ */ O(F, {
|
|
3672
3749
|
person: e.approver,
|
|
3673
3750
|
size: "compact"
|
|
3674
3751
|
}),
|
|
3675
|
-
/* @__PURE__ */
|
|
3752
|
+
/* @__PURE__ */ O(Ar, {
|
|
3676
3753
|
heading: `${e.reference} stages`,
|
|
3677
3754
|
size: "compact",
|
|
3678
3755
|
stages: e.stages
|
|
@@ -3686,6 +3763,6 @@ var fe = {
|
|
|
3686
3763
|
});
|
|
3687
3764
|
};
|
|
3688
3765
|
//#endregion
|
|
3689
|
-
export {
|
|
3766
|
+
export { He as $, Nt as A, lt as B, Ut as C, It as D, Ht as E, bt as F, nt as G, z as H, yt as I, Qe as J, et as K, _t as L, jt as M, Ot as N, Lt as O, Tt as P, Ge as Q, pt as R, Wt as S, Bt as T, ot as U, ct as V, rt as W, Ye as X, Xe as Y, Je as Z, an as _, Er as a, Ee as at, en as b, Sr as c, pe as ct, gr as d, Ve as et, br as f, tr as g, sr as h, Dr as i, Me as it, Ft as j, Pt as k, _r as l, ir as m, Lr as n, Ie as nt, Ar as o, Se as ot, cr as p, $e as q, Fr as r, Fe as rt, wr as s, _e as st, Kr as t, F as tt, hr as u, on as v, Vt as w, Zt as x, un as y, ht as z };
|
|
3690
3767
|
|
|
3691
|
-
//# sourceMappingURL=patterns-
|
|
3768
|
+
//# sourceMappingURL=patterns-ChmGSFqO.js.map
|