@parallelworks/tandem-web 0.154.0 → 0.155.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_virtual/_virtual_i18n/en/common.js +12 -1
- package/_virtual/_virtual_i18n/es/common.js +12 -1
- package/_virtual/_virtual_i18n/ja/common.js +12 -1
- package/_virtual/_virtual_i18n/ko/common.js +12 -1
- package/_virtual/_virtual_i18n/zh/common.js +12 -1
- package/api/queries.js +90 -80
- package/components/AgentWork.js +142 -137
- package/components/CodeHostSettings.js +4 -1
- package/components/GitHub.js +24 -12
- package/components/IssueCode.js +82 -75
- package/components/SettingsNav.js +74 -65
- package/components/TeamRepositories.js +58 -55
- package/components/icons.js +33 -29
- package/package.json +1 -1
- package/routeTree.gen.js +197 -191
- package/routes/_workspace/issues/_identifier2.js +37 -37
- package/routes/_workspace/settings/gitlab.js +6 -0
- package/routes/_workspace/settings/gitlab2.js +54 -0
- package/routes/_workspace/settings/gitlab3.js +4 -0
- package/routes/login2.js +5 -5
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { api as e, unwrap as t } from "../api/client.js";
|
|
2
2
|
import { Link as n } from "../lib/router.js";
|
|
3
|
-
import { availableRepositoriesQuery as r, codeHostQuery as
|
|
4
|
-
import { copyItem as
|
|
5
|
-
import { externalUrl as
|
|
6
|
-
import { AddIcon as l,
|
|
7
|
-
import { useConfirm as
|
|
8
|
-
import { useFormError as
|
|
9
|
-
import { RepositoryIssueSync as
|
|
10
|
-
import { Button as
|
|
11
|
-
import { useState as
|
|
12
|
-
import { useTranslations as
|
|
13
|
-
import { jsx as
|
|
14
|
-
import { useMutation as
|
|
3
|
+
import { availableRepositoriesQuery as r, codeHostQuery as i, githubSettingsQuery as a, repositoriesQuery as o, teamsQuery as s } from "../api/queries.js";
|
|
4
|
+
import { copyItem as c } from "../lib/menus.js";
|
|
5
|
+
import { externalUrl as ee } from "../lib/externalUrl.js";
|
|
6
|
+
import { AddIcon as l, CodeHostIcon as u, RepositoryIcon as d } from "./icons.js";
|
|
7
|
+
import { useConfirm as f } from "../lib/confirm.js";
|
|
8
|
+
import { useFormError as p } from "./settings.js";
|
|
9
|
+
import { RepositoryIssueSync as m } from "./GitHub.js";
|
|
10
|
+
import { Button as h, Card as g, Checkbox as te, Combobox as _, ErrorText as v, InfoTip as y, Section as b, Tooltip as ne, menuDivider as x, useOpenMenu as S } from "@parallelworks/ui";
|
|
11
|
+
import { useState as C } from "react";
|
|
12
|
+
import { useTranslations as w } from "use-intl";
|
|
13
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
14
|
+
import { useMutation as D, useQuery as O, useQueryClient as re, useSuspenseQuery as k } from "@tanstack/react-query";
|
|
15
15
|
// src/components/TeamRepositories.tsx
|
|
16
16
|
var A = "cursor-help underline decoration-dotted underline-offset-2";
|
|
17
17
|
function j({ workspace: j, team: M, isAdmin: N }) {
|
|
18
|
-
let P =
|
|
19
|
-
...
|
|
18
|
+
let P = w("code"), F = w("common"), { data: I } = k(i(j)), { data: L } = k(o(j, M.key)), { data: R } = O({
|
|
19
|
+
...a(j),
|
|
20
20
|
enabled: N
|
|
21
|
-
}), z =
|
|
21
|
+
}), z = w("github"), [B, V] = C(!1), H = I.connections.some((e) => !e.removed), U = O({
|
|
22
22
|
...r(j, M.key),
|
|
23
23
|
enabled: B && N && H
|
|
24
|
-
}), W =
|
|
24
|
+
}), W = re(), G = S(), K = p(), { confirm: q, dialog: J } = f(), Y = () => W.invalidateQueries({ queryKey: o(j, M.key).queryKey }), X = (e) => {
|
|
25
25
|
let [t = "", n = ""] = e.split("/");
|
|
26
26
|
return { path: {
|
|
27
27
|
workspace: j,
|
|
@@ -29,7 +29,7 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
29
29
|
owner: t,
|
|
30
30
|
name: n
|
|
31
31
|
} };
|
|
32
|
-
}, Z =
|
|
32
|
+
}, Z = D({
|
|
33
33
|
mutationFn: async (n) => t(await e.PUT("/api/v1/workspaces/{workspace}/teams/{key}/repositories/{owner}/{name}", {
|
|
34
34
|
params: X(n.repository),
|
|
35
35
|
body: { default: n.makeDefault }
|
|
@@ -37,11 +37,11 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
37
37
|
onMutate: K.clear,
|
|
38
38
|
onError: K.set,
|
|
39
39
|
onSettled: Y
|
|
40
|
-
}),
|
|
40
|
+
}), ie = D({
|
|
41
41
|
mutationFn: async (n) => t(await e.DELETE("/api/v1/workspaces/{workspace}/teams/{key}/repositories/{owner}/{name}", { params: X(n) })),
|
|
42
42
|
onMutate: K.clear,
|
|
43
43
|
onSettled: Y
|
|
44
|
-
}), Q =
|
|
44
|
+
}), Q = D({
|
|
45
45
|
mutationFn: async (n) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
|
|
46
46
|
params: { path: {
|
|
47
47
|
workspace: j,
|
|
@@ -51,40 +51,40 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
51
51
|
})),
|
|
52
52
|
onMutate: K.clear,
|
|
53
53
|
onError: K.set,
|
|
54
|
-
onSettled: () => W.invalidateQueries({ queryKey:
|
|
54
|
+
onSettled: () => W.invalidateQueries({ queryKey: s(j).queryKey })
|
|
55
55
|
}), $ = (e) => q({
|
|
56
56
|
title: P("unlinkConfirm", { repository: e }),
|
|
57
57
|
description: P("unlinkDetail"),
|
|
58
58
|
confirmLabel: P("unlink"),
|
|
59
|
-
onConfirm: () =>
|
|
59
|
+
onConfirm: () => ie.mutateAsync(e)
|
|
60
60
|
});
|
|
61
|
-
if (I.provider === "") return /* @__PURE__ */
|
|
61
|
+
if (I.provider === "") return /* @__PURE__ */ T(b, {
|
|
62
62
|
variant: "bare",
|
|
63
63
|
headingLevel: 2,
|
|
64
64
|
collapsible: !1,
|
|
65
65
|
title: P("repositories"),
|
|
66
|
-
children: /* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ T("p", {
|
|
67
67
|
className: "text-sm text-muted-foreground",
|
|
68
68
|
children: P("notConfigured")
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
|
-
let
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
let ae = new Set(L.map((e) => `${e.owner}/${e.name}`.toLowerCase()));
|
|
72
|
+
return /* @__PURE__ */ E(b, {
|
|
73
73
|
variant: "bare",
|
|
74
74
|
headingLevel: 2,
|
|
75
75
|
collapsible: !1,
|
|
76
76
|
title: P("repositories"),
|
|
77
77
|
description: P("repositoriesDescription"),
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ E(g, {
|
|
80
80
|
size: "fill",
|
|
81
81
|
padding: "none",
|
|
82
82
|
divided: !0,
|
|
83
83
|
interactive: !1,
|
|
84
|
-
render: /* @__PURE__ */
|
|
84
|
+
render: /* @__PURE__ */ T("ul", {}),
|
|
85
85
|
children: [L.map((e) => {
|
|
86
|
-
let t = `${e.owner}/${e.name}`, n =
|
|
87
|
-
return /* @__PURE__ */
|
|
86
|
+
let t = `${e.owner}/${e.name}`, n = ee(e.url), r = R?.enabled && R.repositories.find((e) => e.team === M.key && e.fullName.toLowerCase() === t.toLowerCase());
|
|
87
|
+
return /* @__PURE__ */ E("li", {
|
|
88
88
|
onContextMenu: (r) => G(r, [
|
|
89
89
|
n ? {
|
|
90
90
|
label: P("openOnHost"),
|
|
@@ -95,9 +95,9 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
95
95
|
disabled: !0,
|
|
96
96
|
onClick: () => {}
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
c(F("copyName"), t),
|
|
99
99
|
...N ? [
|
|
100
|
-
|
|
100
|
+
x,
|
|
101
101
|
{
|
|
102
102
|
label: P("makeDefault"),
|
|
103
103
|
disabled: e.default,
|
|
@@ -114,29 +114,32 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
114
114
|
] : []
|
|
115
115
|
]),
|
|
116
116
|
className: "px-3 py-2 text-sm",
|
|
117
|
-
children: [/* @__PURE__ */
|
|
117
|
+
children: [/* @__PURE__ */ E("div", {
|
|
118
118
|
className: "flex items-center gap-3",
|
|
119
119
|
children: [
|
|
120
|
-
/* @__PURE__ */
|
|
121
|
-
|
|
120
|
+
/* @__PURE__ */ T(u, {
|
|
121
|
+
provider: e.provider,
|
|
122
|
+
className: "size-4 text-muted-foreground"
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ T("a", {
|
|
122
125
|
href: n,
|
|
123
126
|
target: "_blank",
|
|
124
127
|
rel: "noopener noreferrer",
|
|
125
128
|
className: "min-w-0 truncate hover:underline",
|
|
126
129
|
children: t
|
|
127
130
|
}),
|
|
128
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ T("span", {
|
|
129
132
|
className: "flex-1 text-xs text-muted-foreground",
|
|
130
|
-
children: e.default ? /* @__PURE__ */
|
|
133
|
+
children: e.default ? /* @__PURE__ */ T(y, {
|
|
131
134
|
text: P("defaultHint"),
|
|
132
135
|
className: A,
|
|
133
136
|
children: P("defaultRepository")
|
|
134
137
|
}) : e.private && P("private")
|
|
135
138
|
}),
|
|
136
|
-
N && !e.default && /* @__PURE__ */
|
|
139
|
+
N && !e.default && /* @__PURE__ */ T(ne, {
|
|
137
140
|
content: P("makeDefaultHint"),
|
|
138
141
|
describesAnchor: !0,
|
|
139
|
-
children: /* @__PURE__ */
|
|
142
|
+
children: /* @__PURE__ */ T("button", {
|
|
140
143
|
type: "button",
|
|
141
144
|
onClick: () => Z.mutate({
|
|
142
145
|
repository: t,
|
|
@@ -146,22 +149,22 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
146
149
|
children: P("makeDefault")
|
|
147
150
|
})
|
|
148
151
|
}),
|
|
149
|
-
N && /* @__PURE__ */
|
|
152
|
+
N && /* @__PURE__ */ T("button", {
|
|
150
153
|
type: "button",
|
|
151
154
|
onClick: () => $(t),
|
|
152
155
|
className: "text-xs text-muted-foreground hover:text-danger",
|
|
153
156
|
children: P("unlink")
|
|
154
157
|
})
|
|
155
158
|
]
|
|
156
|
-
}), r && /* @__PURE__ */
|
|
159
|
+
}), r && /* @__PURE__ */ T("div", {
|
|
157
160
|
className: "mt-2 pl-7",
|
|
158
|
-
children: /* @__PURE__ */
|
|
161
|
+
children: /* @__PURE__ */ T(m, {
|
|
159
162
|
workspace: j,
|
|
160
163
|
repository: r,
|
|
161
164
|
teamName: M.name,
|
|
162
|
-
children: /* @__PURE__ */
|
|
165
|
+
children: /* @__PURE__ */ T("span", {
|
|
163
166
|
className: "flex-1 text-xs text-muted-foreground",
|
|
164
|
-
children: /* @__PURE__ */
|
|
167
|
+
children: /* @__PURE__ */ T(y, {
|
|
165
168
|
text: z("issueSyncHint"),
|
|
166
169
|
className: A,
|
|
167
170
|
children: z("issueSync")
|
|
@@ -170,30 +173,30 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
170
173
|
})
|
|
171
174
|
})]
|
|
172
175
|
}, t);
|
|
173
|
-
}), L.length === 0 && /* @__PURE__ */
|
|
176
|
+
}), L.length === 0 && /* @__PURE__ */ T("li", {
|
|
174
177
|
className: "px-3 py-2 text-sm text-muted-foreground",
|
|
175
178
|
children: P("noRepositories")
|
|
176
179
|
})]
|
|
177
180
|
}),
|
|
178
|
-
N && !H && /* @__PURE__ */
|
|
181
|
+
N && !H && /* @__PURE__ */ T("p", {
|
|
179
182
|
className: "mt-3 text-sm text-muted-foreground",
|
|
180
|
-
children: P.rich("connectFirst", { settings: (e) => /* @__PURE__ */
|
|
183
|
+
children: P.rich("connectFirst", { settings: (e) => /* @__PURE__ */ T(n, {
|
|
181
184
|
to: "/$workspace/settings/github",
|
|
182
185
|
params: { workspace: j },
|
|
183
186
|
className: "underline",
|
|
184
187
|
children: e
|
|
185
188
|
}) })
|
|
186
189
|
}),
|
|
187
|
-
N && H && /* @__PURE__ */
|
|
190
|
+
N && H && /* @__PURE__ */ T("div", {
|
|
188
191
|
className: "mt-3",
|
|
189
|
-
children: /* @__PURE__ */
|
|
192
|
+
children: /* @__PURE__ */ T(_, {
|
|
190
193
|
open: B,
|
|
191
194
|
onOpenChange: V,
|
|
192
|
-
items: (U.data ?? []).filter((e) => !
|
|
195
|
+
items: (U.data ?? []).filter((e) => !ae.has(`${e.owner}/${e.name}`.toLowerCase())).map((e) => ({
|
|
193
196
|
value: `${e.owner}/${e.name}`,
|
|
194
197
|
label: `${e.owner}/${e.name}`,
|
|
195
198
|
...e.private && { hint: P("private") },
|
|
196
|
-
icon: /* @__PURE__ */
|
|
199
|
+
icon: /* @__PURE__ */ T(d, { className: "size-3.5 text-muted-foreground" })
|
|
197
200
|
})),
|
|
198
201
|
value: null,
|
|
199
202
|
onValueChange: (e) => e !== null && Z.mutate({
|
|
@@ -203,25 +206,25 @@ function j({ workspace: j, team: M, isAdmin: N }) {
|
|
|
203
206
|
placeholder: P("linkPlaceholder"),
|
|
204
207
|
"aria-label": P("linkRepository"),
|
|
205
208
|
loading: U.isPending,
|
|
206
|
-
trigger: /* @__PURE__ */
|
|
209
|
+
trigger: /* @__PURE__ */ E(h, {
|
|
207
210
|
type: "button",
|
|
208
211
|
children: [
|
|
209
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ T(l, { className: "size-3.5" }),
|
|
210
213
|
" ",
|
|
211
214
|
P("linkRepository")
|
|
212
215
|
]
|
|
213
216
|
})
|
|
214
217
|
})
|
|
215
218
|
}),
|
|
216
|
-
/* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ E("label", {
|
|
217
220
|
className: "mt-4 flex w-fit items-center gap-2 text-sm",
|
|
218
|
-
children: [/* @__PURE__ */
|
|
221
|
+
children: [/* @__PURE__ */ T(te, {
|
|
219
222
|
checked: M.closeIssuesOnMerge,
|
|
220
223
|
disabled: !N || Q.isPending,
|
|
221
224
|
onCheckedChange: (e) => Q.mutate(e)
|
|
222
225
|
}), P("closeOnMerge")]
|
|
223
226
|
}),
|
|
224
|
-
(K.error || U.isError) && /* @__PURE__ */
|
|
227
|
+
(K.error || U.isError) && /* @__PURE__ */ T(v, {
|
|
225
228
|
size: "md",
|
|
226
229
|
className: "mt-2",
|
|
227
230
|
children: K.error ?? P("unavailable")
|
package/components/icons.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { useTranslations as e } from "use-intl";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import { GitLabIcon as r } from "@parallelworks/ui/brand-icons";
|
|
4
|
+
import * as i from "@parallelworks/ui/icons";
|
|
4
5
|
// src/components/icons.tsx
|
|
5
|
-
var
|
|
6
|
+
var a = {
|
|
6
7
|
triage: "text-status-triage",
|
|
7
8
|
backlog: "text-status-backlog",
|
|
8
9
|
unstarted: "text-status-unstarted",
|
|
@@ -10,12 +11,12 @@ var i = {
|
|
|
10
11
|
completed: "text-status-completed",
|
|
11
12
|
canceled: "text-status-canceled"
|
|
12
13
|
};
|
|
13
|
-
function
|
|
14
|
-
let
|
|
14
|
+
function o({ category: e, className: r = "" }) {
|
|
15
|
+
let i = `${a[e]} ${r}`;
|
|
15
16
|
switch (e) {
|
|
16
17
|
case "triage": return /* @__PURE__ */ n("svg", {
|
|
17
18
|
viewBox: "0 0 14 14",
|
|
18
|
-
className: `size-3.5 shrink-0 ${
|
|
19
|
+
className: `size-3.5 shrink-0 ${i}`,
|
|
19
20
|
"aria-hidden": "true",
|
|
20
21
|
children: [/* @__PURE__ */ t("circle", {
|
|
21
22
|
cx: "7",
|
|
@@ -33,7 +34,7 @@ function a({ category: e, className: r = "" }) {
|
|
|
33
34
|
});
|
|
34
35
|
case "backlog": return /* @__PURE__ */ t("svg", {
|
|
35
36
|
viewBox: "0 0 14 14",
|
|
36
|
-
className: `size-3.5 shrink-0 ${
|
|
37
|
+
className: `size-3.5 shrink-0 ${i}`,
|
|
37
38
|
"aria-hidden": "true",
|
|
38
39
|
children: /* @__PURE__ */ t("circle", {
|
|
39
40
|
cx: "7",
|
|
@@ -47,7 +48,7 @@ function a({ category: e, className: r = "" }) {
|
|
|
47
48
|
});
|
|
48
49
|
case "unstarted": return /* @__PURE__ */ t("svg", {
|
|
49
50
|
viewBox: "0 0 14 14",
|
|
50
|
-
className: `size-3.5 shrink-0 ${
|
|
51
|
+
className: `size-3.5 shrink-0 ${i}`,
|
|
51
52
|
"aria-hidden": "true",
|
|
52
53
|
children: /* @__PURE__ */ t("circle", {
|
|
53
54
|
cx: "7",
|
|
@@ -60,7 +61,7 @@ function a({ category: e, className: r = "" }) {
|
|
|
60
61
|
});
|
|
61
62
|
case "started": return /* @__PURE__ */ n("svg", {
|
|
62
63
|
viewBox: "0 0 14 14",
|
|
63
|
-
className: `size-3.5 shrink-0 ${
|
|
64
|
+
className: `size-3.5 shrink-0 ${i}`,
|
|
64
65
|
"aria-hidden": "true",
|
|
65
66
|
children: [/* @__PURE__ */ t("circle", {
|
|
66
67
|
cx: "7",
|
|
@@ -76,7 +77,7 @@ function a({ category: e, className: r = "" }) {
|
|
|
76
77
|
});
|
|
77
78
|
case "completed": return /* @__PURE__ */ n("svg", {
|
|
78
79
|
viewBox: "0 0 14 14",
|
|
79
|
-
className: `size-3.5 shrink-0 ${
|
|
80
|
+
className: `size-3.5 shrink-0 ${i}`,
|
|
80
81
|
"aria-hidden": "true",
|
|
81
82
|
children: [/* @__PURE__ */ t("circle", {
|
|
82
83
|
cx: "7",
|
|
@@ -94,7 +95,7 @@ function a({ category: e, className: r = "" }) {
|
|
|
94
95
|
});
|
|
95
96
|
case "canceled": return /* @__PURE__ */ n("svg", {
|
|
96
97
|
viewBox: "0 0 14 14",
|
|
97
|
-
className: `size-3.5 shrink-0 ${
|
|
98
|
+
className: `size-3.5 shrink-0 ${i}`,
|
|
98
99
|
"aria-hidden": "true",
|
|
99
100
|
children: [/* @__PURE__ */ t("circle", {
|
|
100
101
|
cx: "7",
|
|
@@ -110,7 +111,7 @@ function a({ category: e, className: r = "" }) {
|
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
|
-
var
|
|
114
|
+
var ee = [
|
|
114
115
|
"none",
|
|
115
116
|
"urgent",
|
|
116
117
|
"high",
|
|
@@ -119,9 +120,9 @@ var o = [
|
|
|
119
120
|
];
|
|
120
121
|
function s() {
|
|
121
122
|
let t = e("priority");
|
|
122
|
-
return
|
|
123
|
+
return ee.map((e) => t(e));
|
|
123
124
|
}
|
|
124
|
-
function
|
|
125
|
+
function c({ priority: e, className: r = "" }) {
|
|
125
126
|
if (e === 1) return /* @__PURE__ */ n("svg", {
|
|
126
127
|
viewBox: "0 0 14 14",
|
|
127
128
|
className: `size-3.5 shrink-0 text-danger ${r}`,
|
|
@@ -177,7 +178,7 @@ function ee({ priority: e, className: r = "" }) {
|
|
|
177
178
|
}, n))
|
|
178
179
|
});
|
|
179
180
|
}
|
|
180
|
-
function
|
|
181
|
+
function l(e) {
|
|
181
182
|
return function({ className: n = "size-4" }) {
|
|
182
183
|
return /* @__PURE__ */ t("svg", {
|
|
183
184
|
viewBox: "0 0 16 16",
|
|
@@ -192,7 +193,7 @@ function c(e) {
|
|
|
192
193
|
});
|
|
193
194
|
};
|
|
194
195
|
}
|
|
195
|
-
function
|
|
196
|
+
function u(e) {
|
|
196
197
|
return function({ className: n = "size-4", ...r }) {
|
|
197
198
|
return /* @__PURE__ */ t(e, {
|
|
198
199
|
className: `shrink-0 ${n}`,
|
|
@@ -200,13 +201,16 @@ function l(e) {
|
|
|
200
201
|
});
|
|
201
202
|
};
|
|
202
203
|
}
|
|
203
|
-
var
|
|
204
|
-
|
|
205
|
-
var
|
|
206
|
-
|
|
207
|
-
var
|
|
208
|
-
function
|
|
209
|
-
return /* @__PURE__ */ t(
|
|
204
|
+
var d = u(i.AddIcon), f = u(i.ColumnsIcon), p = u(i.AttachmentIcon), m = u(i.BranchIcon), h = u(i.CalendarIcon), g = u(i.ClockIcon), _ = u(i.CheckIcon), v = u(i.ChevronDownIcon), y = u(i.ChevronRightIcon), b = u(i.CloseIcon), x = u(i.CommentIcon), S = u(i.DownloadIcon), C = u(i.UploadIcon), w = u(i.ExpandIcon), T = u(i.FileTextIcon), E = u(i.FolderIcon), D = u(i.ChartIcon), O = u(i.BucketIcon), k = u(i.CloudIcon), A = u(i.GridIcon), j = u(i.HistoryIcon), M = u(i.InboxIcon), N = u(i.KeyIcon), P = u(i.MinimizeIcon), F = u(i.LibraryIcon), I = u(i.ListViewIcon), L = u(i.MailIcon), R = u(i.MigrationIcon);
|
|
205
|
+
i.NavigationIcon;
|
|
206
|
+
var z = u(i.NotificationIcon), B = u(i.QueueIcon), V = u(i.ProjectIcon), H = u(i.PullRequestIcon), te = u(i.RepositoryIcon), U = u(i.SearchIcon), W = u(i.SettingsIcon), G = u(i.ShieldIcon), K = u(i.ShrinkIcon);
|
|
207
|
+
i.SignOutIcon;
|
|
208
|
+
var q = u(i.TagIcon), J = u(i.UserIcon), Y = u(i.UsersIcon), X = u(i.WebhookIcon), Z = u(i.WorkerIcon), Q = l("M1.75 9a6.25 4.25 0 1 0 12.5 0 6.25 4.25 0 1 0-12.5 0ZM6.75 3 9 4.75 6.75 6.5"), ne = l("M2.5 3.5h11v9h-11ZM10 3.5v9"), re = l("M2.5 2.5v11M4.5 4.5h5M6.5 8h7M5.5 11.5h4.5"), ie = l("M3 13 13 3M3 9.5 9.5 3M6.5 13 13 6.5"), ae = l("M3.5 2.5h9a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1ZM5.5 5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5Z");
|
|
209
|
+
function oe({ className: e = "size-4", provider: n = "github" }) {
|
|
210
|
+
return n === "gitlab" ? /* @__PURE__ */ t(r, {
|
|
211
|
+
className: `shrink-0 ${e}`,
|
|
212
|
+
"aria-hidden": "true"
|
|
213
|
+
}) : /* @__PURE__ */ t("svg", {
|
|
210
214
|
viewBox: "0 0 16 16",
|
|
211
215
|
className: `shrink-0 ${e}`,
|
|
212
216
|
fill: "currentColor",
|
|
@@ -214,10 +218,10 @@ function ae({ className: e = "size-4" }) {
|
|
|
214
218
|
children: /* @__PURE__ */ t("path", { d: "M8 0a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.33c-2.23.48-2.7-1.07-2.7-1.07-.36-.92-.89-1.17-.89-1.17-.73-.5.06-.49.06-.49.8.06 1.23.83 1.23.83.72 1.22 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.65-.89-3.65-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.66 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 0Z" })
|
|
215
219
|
});
|
|
216
220
|
}
|
|
217
|
-
var
|
|
218
|
-
|
|
219
|
-
var
|
|
220
|
-
|
|
221
|
-
var
|
|
222
|
-
|
|
223
|
-
export {
|
|
221
|
+
var se = u(i.AddUserIcon), ce = u(i.RemoveUserIcon), le = u(i.ArchiveIcon), ue = u(i.RestoreIcon), de = u(i.EditIcon), fe = u(i.RenameIcon), pe = u(i.LinkIcon), $ = u(i.UnlinkIcon);
|
|
222
|
+
i.CommitIcon;
|
|
223
|
+
var me = u(i.ReleaseIcon), he = u(i.MegaphoneIcon), ge = u(i.SwapIcon), _e = u(i.TrashIcon);
|
|
224
|
+
i.EyeIcon;
|
|
225
|
+
var ve = u(i.SuccessIcon), ye = u(i.CancelIcon), be = u(i.AgentIcon);
|
|
226
|
+
i.ArrowRightIcon;
|
|
227
|
+
export { d as AddIcon, se as AddUserIcon, be as AgentIcon, le as ArchiveIcon, ae as AreaIcon, p as AttachmentIcon, f as BoardIcon, m as BranchIcon, O as BucketIcon, h as CalendarIcon, ye as CancelIcon, D as ChartIcon, _ as CheckIcon, v as ChevronDownIcon, y as ChevronRightIcon, g as ClockIcon, b as CloseIcon, k as CloudIcon, oe as CodeHostIcon, x as CommentIcon, Q as CycleIcon, S as DownloadIcon, de as EditIcon, ie as EstimateIcon, w as ExpandIcon, T as FileTextIcon, E as FolderIcon, A as GridIcon, j as HistoryIcon, M as InboxIcon, N as KeyIcon, F as LibraryIcon, pe as LinkIcon, I as ListViewIcon, L as MailIcon, he as MegaphoneIcon, R as MigrationIcon, P as MinimizeIcon, z as NotificationIcon, c as PriorityIcon, V as ProjectIcon, H as PullRequestIcon, me as ReleaseIcon, ce as RemoveUserIcon, fe as RenameIcon, te as RepositoryIcon, ue as RestoreIcon, U as SearchIcon, W as SettingsIcon, G as ShieldIcon, K as ShrinkIcon, ne as SidePanelIcon, o as StatusIcon, ve as SuccessIcon, ge as SwapIcon, q as TagIcon, re as TimelineIcon, _e as TrashIcon, B as TriageIcon, $ as UnlinkIcon, C as UploadIcon, J as UserIcon, Y as UsersIcon, X as WebhookIcon, Z as WorkerIcon, s as usePriorityNames };
|