@parallelworks/tandem-web 0.153.1 → 0.155.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/_virtual/_virtual_i18n/en/common.js +41 -1
- package/_virtual/_virtual_i18n/es/common.js +41 -1
- package/_virtual/_virtual_i18n/ja/common.js +41 -1
- package/_virtual/_virtual_i18n/ko/common.js +41 -1
- package/_virtual/_virtual_i18n/zh/common.js +41 -1
- package/api/queries.js +110 -78
- package/components/AgentWork.js +142 -137
- package/components/CodeHostSettings.js +4 -1
- package/components/ConnectionCard.js +10 -11
- package/components/GitHub.js +24 -12
- package/components/IssueCode.js +82 -75
- package/components/IssueZendesk.js +68 -0
- package/components/SettingsNav.js +77 -63
- package/components/TeamRepositories.js +58 -55
- package/components/icons.js +33 -29
- package/package.json +1 -1
- package/routeTree.gen.js +188 -176
- package/routes/_workspace/issues/_identifier2.js +285 -280
- 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/_workspace/settings/zendesk.js +6 -0
- package/routes/_workspace/settings/zendesk2.js +97 -0
- package/routes/_workspace/settings/zendesk3.js +4 -0
- package/routes/login2.js +5 -5
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 };
|