@parallelworks/tandem-web 0.192.1 → 0.193.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.
@@ -6,29 +6,30 @@ import { BugRotation as l } from "../../../../components/BugRotation.js";
6
6
  import { FieldSettings as u } from "../../../../components/CustomFields.js";
7
7
  import { FavoriteStar as d } from "../../../../components/FavoriteStar.js";
8
8
  import { IconUpload as f } from "../../../../components/IconUpload.js";
9
- import { IssueTemplates as p } from "../../../../components/IssueTemplates.js";
10
- import { AddIcon as m, ShieldIcon as h, UsersIcon as g } from "../../../../components/icons.js";
11
- import { PersonHoverCard as _ } from "../../../../components/PersonHoverCard.js";
12
- import { StatusRules as v } from "../../../../components/StatusRules.js";
13
- import { TeamRepositories as y } from "../../../../components/TeamRepositories.js";
14
- import { TeamWorkflow as b } from "../../../../components/TeamWorkflow.js";
15
- import { useConfirm as x } from "../../../../lib/confirm.js";
16
- import { copyItem as S } from "../../../../lib/menus.js";
17
- import { usePageTitle as C } from "../../../../lib/pageTitle.js";
18
- import { usePeople as ee } from "../../../../lib/people.js";
19
- import { usePermissions as w } from "../../../../lib/roles.js";
20
- import { useNavigate as T } from "../../../../lib/router.js";
21
- import { withSubTeams as E } from "../../../../lib/teamTree.js";
22
- import { Route as D } from "./settings.js";
23
- import { Avatar as O, Button as k, Card as A, Combobox as j, ConfirmModal as M, ErrorText as N, Input as P, PageHeader as F, Section as I, Select as L, SettingRow as R, SettingsCard as z, Switch as B, menuDivider as V, useOpenMenu as te } from "@parallelworks/ui";
24
- import { useState as H } from "react";
25
- import { useErrorMessage as U } from "@parallelworks/problem/react";
26
- import { useTranslations as W } from "use-intl";
27
- import { Fragment as G, jsx as K, jsxs as q } from "react/jsx-runtime";
28
- import { useMutation as J, useQuery as Y, useQueryClient as X, useSuspenseQuery as Z } from "@tanstack/react-query";
9
+ import { TeamImportExport as p } from "../../../../components/IssueImport.js";
10
+ import { IssueTemplates as m } from "../../../../components/IssueTemplates.js";
11
+ import { AddIcon as h, ShieldIcon as g, UsersIcon as _ } from "../../../../components/icons.js";
12
+ import { PersonHoverCard as v } from "../../../../components/PersonHoverCard.js";
13
+ import { StatusRules as y } from "../../../../components/StatusRules.js";
14
+ import { TeamRepositories as b } from "../../../../components/TeamRepositories.js";
15
+ import { TeamWorkflow as x } from "../../../../components/TeamWorkflow.js";
16
+ import { useConfirm as S } from "../../../../lib/confirm.js";
17
+ import { copyItem as C } from "../../../../lib/menus.js";
18
+ import { usePageTitle as w } from "../../../../lib/pageTitle.js";
19
+ import { usePeople as T } from "../../../../lib/people.js";
20
+ import { usePermissions as E } from "../../../../lib/roles.js";
21
+ import { useNavigate as D } from "../../../../lib/router.js";
22
+ import { withSubTeams as O } from "../../../../lib/teamTree.js";
23
+ import { Route as k } from "./settings.js";
24
+ import { Avatar as A, Button as j, Card as M, Combobox as N, ConfirmModal as P, ErrorText as F, Input as I, PageHeader as ee, Section as L, Select as R, SettingRow as z, SettingsCard as B, Switch as V, menuDivider as H, useOpenMenu as U } from "@parallelworks/ui";
25
+ import { useState as W } from "react";
26
+ import { useErrorMessage as G } from "@parallelworks/problem/react";
27
+ import { useTranslations as K } from "use-intl";
28
+ import { Fragment as q, jsx as J, jsxs as Y } from "react/jsx-runtime";
29
+ import { useMutation as X, useQuery as te, useQueryClient as Z, useSuspenseQuery as Q } from "@tanstack/react-query";
29
30
  // src/routes/$workspace/teams/$key/settings.tsx?tsr-split=component
30
31
  function ne() {
31
- let { workspace: n, key: r } = D.useParams(), { data: i } = Z(s(n)), a = w(n, { team: r }), o = a.has("manage_teams"), c = W("settingsNav"), m = X(), h = J({
32
+ let { workspace: n, key: r } = k.useParams(), { data: i } = Q(s(n)), a = E(n, { team: r }), o = a.has("manage_teams"), c = K("settingsNav"), h = Z(), g = X({
32
33
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
33
34
  params: { path: {
34
35
  workspace: n,
@@ -36,11 +37,11 @@ function ne() {
36
37
  } },
37
38
  body: i
38
39
  })),
39
- onSettled: () => m.invalidateQueries({ queryKey: s(n).queryKey })
40
- }), g = i.find((e) => e.key === r);
41
- return C(g?.name), g ? /* @__PURE__ */ q("div", {
40
+ onSettled: () => h.invalidateQueries({ queryKey: s(n).queryKey })
41
+ }), _ = i.find((e) => e.key === r);
42
+ return w(_?.name), _ ? /* @__PURE__ */ Y("div", {
42
43
  className: "flex h-full min-h-0 flex-col",
43
- children: [/* @__PURE__ */ K(F, {
44
+ children: [/* @__PURE__ */ J(ee, {
44
45
  heading: !1,
45
46
  breadcrumbs: [
46
47
  {
@@ -51,121 +52,126 @@ function ne() {
51
52
  label: c("teams"),
52
53
  href: `/${n}/settings/teams`
53
54
  },
54
- { label: g.name }
55
+ { label: _.name }
55
56
  ]
56
- }), /* @__PURE__ */ K("div", {
57
+ }), /* @__PURE__ */ J("div", {
57
58
  className: "min-h-0 flex-1 overflow-y-auto",
58
- children: /* @__PURE__ */ q("div", {
59
+ children: /* @__PURE__ */ Y("div", {
59
60
  className: "w-full space-y-12 px-4 py-6 md:px-8 md:py-8",
60
61
  children: [
61
- /* @__PURE__ */ q("div", {
62
+ /* @__PURE__ */ Y("div", {
62
63
  className: "flex items-center gap-3",
63
64
  children: [
64
- /* @__PURE__ */ K(f, {
65
+ /* @__PURE__ */ J(f, {
65
66
  workspace: n,
66
- icon: g.icon,
67
- name: g.name,
68
- onChange: (e) => h.mutateAsync({
67
+ icon: _.icon,
68
+ name: _.name,
69
+ onChange: (e) => g.mutateAsync({
69
70
  icon: e,
70
71
  color: ""
71
72
  }),
72
73
  disabled: !o,
73
74
  size: 40
74
75
  }),
75
- /* @__PURE__ */ q("h1", {
76
+ /* @__PURE__ */ Y("h1", {
76
77
  className: "text-xl font-semibold tracking-tight",
77
78
  children: [
78
- g.name,
79
+ _.name,
79
80
  " ",
80
- /* @__PURE__ */ K("span", {
81
+ /* @__PURE__ */ J("span", {
81
82
  className: "font-normal text-muted-foreground",
82
- children: g.key
83
+ children: _.key
83
84
  })
84
85
  ]
85
86
  }),
86
- /* @__PURE__ */ K(d, {
87
+ /* @__PURE__ */ J(d, {
87
88
  workspace: n,
88
89
  kind: "team",
89
- target: g.id
90
+ target: _.id
90
91
  })
91
92
  ]
92
93
  }),
93
- /* @__PURE__ */ K(ae, {
94
+ /* @__PURE__ */ J(ae, {
94
95
  workspace: n,
95
- team: g,
96
+ team: _,
96
97
  teams: i,
97
98
  isAdmin: o
98
99
  }),
99
- g.sidebarHidden && /* @__PURE__ */ K(ie, {
100
+ _.sidebarHidden && /* @__PURE__ */ J(ie, {
100
101
  workspace: n,
101
- team: g,
102
+ team: _,
102
103
  isAdmin: o
103
104
  }),
104
- /* @__PURE__ */ K(ue, {
105
+ /* @__PURE__ */ J(de, {
105
106
  workspace: n,
106
107
  teamKey: r,
107
108
  isAdmin: a.has("manage_members")
108
109
  }),
109
- /* @__PURE__ */ K(b, {
110
+ /* @__PURE__ */ J(x, {
110
111
  workspace: n,
111
112
  teamKey: r,
112
113
  isAdmin: a.has("manage_labels")
113
114
  }),
114
- a.has("manage_labels") && /* @__PURE__ */ K(u, {
115
+ a.has("manage_labels") && /* @__PURE__ */ J(u, {
115
116
  workspace: n,
116
117
  target: "issue",
117
118
  team: {
118
119
  key: r,
119
- id: g.id
120
+ id: _.id
120
121
  }
121
122
  }),
122
- /* @__PURE__ */ K(v, {
123
+ /* @__PURE__ */ J(y, {
123
124
  workspace: n,
124
- team: g,
125
+ team: _,
125
126
  isAdmin: o
126
127
  }),
127
- /* @__PURE__ */ K(se, {
128
+ /* @__PURE__ */ J(se, {
128
129
  workspace: n,
129
- team: g,
130
+ team: _,
130
131
  isAdmin: o
131
132
  }),
132
- /* @__PURE__ */ K(oe, {
133
+ /* @__PURE__ */ J(oe, {
133
134
  workspace: n,
134
- team: g,
135
+ team: _,
135
136
  isAdmin: o
136
137
  }),
137
- /* @__PURE__ */ K(l, {
138
+ /* @__PURE__ */ J(l, {
138
139
  workspace: n,
139
140
  teamKey: r,
140
141
  isAdmin: o
141
142
  }),
142
- /* @__PURE__ */ K(p, {
143
+ /* @__PURE__ */ J(m, {
143
144
  workspace: n,
144
145
  teamKey: r,
145
146
  isAdmin: a.has("manage_templates")
146
147
  }),
147
- /* @__PURE__ */ K(ce, {
148
+ /* @__PURE__ */ J(ce, {
148
149
  workspace: n,
149
- team: g,
150
+ team: _,
150
151
  isAdmin: o
151
152
  }),
152
- /* @__PURE__ */ K($, {
153
+ /* @__PURE__ */ J(ue, {
153
154
  workspace: n,
154
- team: g,
155
+ team: _,
155
156
  isAdmin: o
156
157
  }),
157
- /* @__PURE__ */ K(y, {
158
+ /* @__PURE__ */ J(b, {
158
159
  workspace: n,
159
- team: g,
160
+ team: _,
160
161
  isAdmin: o
161
162
  }),
162
- /* @__PURE__ */ K(de, {
163
+ /* @__PURE__ */ J(p, {
164
+ workspace: n,
165
+ team: r,
166
+ canImport: a.has("create_issues")
167
+ }),
168
+ /* @__PURE__ */ J(fe, {
163
169
  workspace: n,
164
170
  teamKey: r
165
171
  }),
166
- o && /* @__PURE__ */ K(fe, {
172
+ o && /* @__PURE__ */ J(pe, {
167
173
  workspace: n,
168
- team: g
174
+ team: _
169
175
  })
170
176
  ]
171
177
  })
@@ -180,7 +186,7 @@ var re = [
180
186
  "docs"
181
187
  ];
182
188
  function ie({ workspace: n, team: r, isAdmin: i }) {
183
- let a = W("teamSidebar"), o = W("workspace"), c = U(), l = X(), u = J({
189
+ let a = K("teamSidebar"), o = K("workspace"), c = G(), l = Z(), u = X({
184
190
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
185
191
  params: { path: {
186
192
  workspace: n,
@@ -221,26 +227,26 @@ function ie({ workspace: n, team: r, isAdmin: i }) {
221
227
  available: r.cyclesEnabled
222
228
  }
223
229
  ];
224
- return /* @__PURE__ */ q(z, {
230
+ return /* @__PURE__ */ Y(B, {
225
231
  title: a("title"),
226
232
  description: a("description"),
227
233
  children: [p.filter((e) => e.available).map(({ page: e, help: t }) => {
228
234
  let n = !d.includes(e), r = n && f.length === 1 && f[0] === e;
229
- return /* @__PURE__ */ K(R, {
235
+ return /* @__PURE__ */ J(z, {
230
236
  label: o(e),
231
237
  helpText: r ? a("keepOne") : t,
232
- children: /* @__PURE__ */ K(B, {
238
+ children: /* @__PURE__ */ J(V, {
233
239
  "aria-label": o(e),
234
240
  checked: n,
235
241
  disabled: !i || r || u.isPending,
236
242
  onCheckedChange: (t) => u.mutate(t ? d.filter((t) => t !== e) : [...d, e])
237
243
  })
238
244
  }, e);
239
- }), u.isError && /* @__PURE__ */ K(N, { children: c(u.error) })]
245
+ }), u.isError && /* @__PURE__ */ J(F, { children: c(u.error) })]
240
246
  });
241
247
  }
242
248
  function ae({ workspace: n, team: r, teams: i, isAdmin: a }) {
243
- let o = W("teamParent"), c = U(), l = X(), u = J({
249
+ let o = K("teamParent"), c = G(), l = Z(), u = X({
244
250
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
245
251
  params: { path: {
246
252
  workspace: n,
@@ -249,16 +255,16 @@ function ae({ workspace: n, team: r, teams: i, isAdmin: a }) {
249
255
  body: { parent: i }
250
256
  })),
251
257
  onSettled: () => l.invalidateQueries({ queryKey: s(n).queryKey })
252
- }), d = E(i, r.id), f = i.find((e) => e.id === r.parentId), p = i.filter((e) => e.parentId === r.id && !e.archivedAt);
253
- return /* @__PURE__ */ q(z, {
258
+ }), d = O(i, r.id), f = i.find((e) => e.id === r.parentId), p = i.filter((e) => e.parentId === r.id && !e.archivedAt);
259
+ return /* @__PURE__ */ Y(B, {
254
260
  title: o("title"),
255
261
  description: o("description"),
256
262
  children: [
257
- /* @__PURE__ */ K(R, {
263
+ /* @__PURE__ */ J(z, {
258
264
  label: o("parent"),
259
- children: /* @__PURE__ */ K("div", {
265
+ children: /* @__PURE__ */ J("div", {
260
266
  className: "w-56",
261
- children: /* @__PURE__ */ K(L, {
267
+ children: /* @__PURE__ */ J(R, {
262
268
  width: "fill",
263
269
  "aria-label": o("parent"),
264
270
  value: f?.key ?? "",
@@ -274,19 +280,19 @@ function ae({ workspace: n, team: r, teams: i, isAdmin: a }) {
274
280
  })
275
281
  })
276
282
  }),
277
- p.length > 0 && /* @__PURE__ */ K(R, {
283
+ p.length > 0 && /* @__PURE__ */ J(z, {
278
284
  label: o("subTeams"),
279
- children: /* @__PURE__ */ K("span", {
285
+ children: /* @__PURE__ */ J("span", {
280
286
  className: "text-sm",
281
287
  children: p.map((e) => e.name).join(", ")
282
288
  })
283
289
  }),
284
- u.error && /* @__PURE__ */ K(N, { children: c(u.error) })
290
+ u.error && /* @__PURE__ */ J(F, { children: c(u.error) })
285
291
  ]
286
292
  });
287
293
  }
288
294
  function oe({ workspace: n, team: r, isAdmin: i }) {
289
- let a = W("planning.sla"), o = W("priority"), c = U(), l = X(), u = J({
295
+ let a = K("planning.sla"), o = K("priority"), c = G(), l = Z(), u = X({
290
296
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
291
297
  params: { path: {
292
298
  workspace: n,
@@ -305,7 +311,7 @@ function oe({ workspace: n, team: r, isAdmin: i }) {
305
311
  168,
306
312
  336
307
313
  ], f = (e) => e === 0 ? a("none") : e < 24 ? a("hours", { count: e }) : e % 168 == 0 ? a("weeks", { count: e / 168 }) : a("days", { count: e / 24 });
308
- return /* @__PURE__ */ q(z, {
314
+ return /* @__PURE__ */ Y(B, {
309
315
  title: a("title"),
310
316
  description: a("description"),
311
317
  children: [[
@@ -313,11 +319,11 @@ function oe({ workspace: n, team: r, isAdmin: i }) {
313
319
  "high",
314
320
  "medium",
315
321
  "low"
316
- ].map((e) => /* @__PURE__ */ K(R, {
322
+ ].map((e) => /* @__PURE__ */ J(z, {
317
323
  label: o(e),
318
- children: /* @__PURE__ */ K("div", {
324
+ children: /* @__PURE__ */ J("div", {
319
325
  className: "w-40",
320
- children: /* @__PURE__ */ K(L, {
326
+ children: /* @__PURE__ */ J(R, {
321
327
  width: "fill",
322
328
  "aria-label": a("target", { priority: o(e) }),
323
329
  value: String(r.slaHours[e]),
@@ -332,11 +338,11 @@ function oe({ workspace: n, team: r, isAdmin: i }) {
332
338
  }))
333
339
  })
334
340
  })
335
- }, e)), u.isError && /* @__PURE__ */ K(N, { children: c(u.error) })]
341
+ }, e)), u.isError && /* @__PURE__ */ J(F, { children: c(u.error) })]
336
342
  });
337
343
  }
338
344
  function se({ workspace: n, team: r, isAdmin: i }) {
339
- let a = W("planning.settings"), o = U(), c = X(), l = J({
345
+ let a = K("planning.settings"), o = G(), c = Z(), l = X({
340
346
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
341
347
  params: { path: {
342
348
  workspace: n,
@@ -353,39 +359,39 @@ function se({ workspace: n, team: r, isAdmin: i }) {
353
359
  ] });
354
360
  }
355
361
  }), u = !i || l.isPending, d = (e) => l.isError && l.variables && e in l.variables ? o(l.error) : null;
356
- return /* @__PURE__ */ q(z, {
362
+ return /* @__PURE__ */ Y(B, {
357
363
  title: a("title"),
358
364
  description: a("description"),
359
365
  children: [
360
- /* @__PURE__ */ K(R, {
366
+ /* @__PURE__ */ J(z, {
361
367
  label: a("triage"),
362
368
  helpText: a("triageHelp"),
363
369
  error: d("triageEnabled"),
364
- children: /* @__PURE__ */ K(B, {
370
+ children: /* @__PURE__ */ J(V, {
365
371
  "aria-label": a("triage"),
366
372
  checked: r.triageEnabled,
367
373
  disabled: u,
368
374
  onCheckedChange: (e) => l.mutate({ triageEnabled: e })
369
375
  })
370
376
  }),
371
- /* @__PURE__ */ K(R, {
377
+ /* @__PURE__ */ J(z, {
372
378
  label: a("customerRequests"),
373
379
  helpText: a("customerRequestsHelp"),
374
380
  error: d("customerRequestsEnabled"),
375
- children: /* @__PURE__ */ K(B, {
381
+ children: /* @__PURE__ */ J(V, {
376
382
  "aria-label": a("customerRequests"),
377
383
  checked: r.customerRequestsEnabled,
378
384
  disabled: u,
379
385
  onCheckedChange: (e) => l.mutate({ customerRequestsEnabled: e })
380
386
  })
381
387
  }),
382
- /* @__PURE__ */ K(R, {
388
+ /* @__PURE__ */ J(z, {
383
389
  label: a("autoClose"),
384
390
  helpText: a("autoCloseHelp"),
385
391
  error: d("autoCloseDays"),
386
- children: /* @__PURE__ */ K("div", {
392
+ children: /* @__PURE__ */ J("div", {
387
393
  className: "w-40",
388
- children: /* @__PURE__ */ K(L, {
394
+ children: /* @__PURE__ */ J(R, {
389
395
  width: "fill",
390
396
  "aria-label": a("autoClose"),
391
397
  value: String(r.autoCloseDays),
@@ -405,13 +411,13 @@ function se({ workspace: n, team: r, isAdmin: i }) {
405
411
  })
406
412
  })
407
413
  }),
408
- /* @__PURE__ */ K(R, {
414
+ /* @__PURE__ */ J(z, {
409
415
  label: a("autoArchive"),
410
416
  helpText: a("autoArchiveHelp"),
411
417
  error: d("autoArchiveDays"),
412
- children: /* @__PURE__ */ K("div", {
418
+ children: /* @__PURE__ */ J("div", {
413
419
  className: "w-40",
414
- children: /* @__PURE__ */ K(L, {
420
+ children: /* @__PURE__ */ J(R, {
415
421
  width: "fill",
416
422
  "aria-label": a("autoArchive"),
417
423
  value: String(r.autoArchiveDays),
@@ -431,24 +437,24 @@ function se({ workspace: n, team: r, isAdmin: i }) {
431
437
  })
432
438
  })
433
439
  }),
434
- /* @__PURE__ */ K(R, {
440
+ /* @__PURE__ */ J(z, {
435
441
  label: a("cycles"),
436
442
  helpText: a("cyclesHelp"),
437
443
  error: d("cyclesEnabled"),
438
- children: /* @__PURE__ */ K(B, {
444
+ children: /* @__PURE__ */ J(V, {
439
445
  "aria-label": a("cycles"),
440
446
  checked: r.cyclesEnabled,
441
447
  disabled: u,
442
448
  onCheckedChange: (e) => l.mutate({ cyclesEnabled: e })
443
449
  })
444
450
  }),
445
- /* @__PURE__ */ K(R, {
451
+ /* @__PURE__ */ J(z, {
446
452
  label: a("cycleLength"),
447
453
  helpText: a("cycleLengthHelp"),
448
454
  error: d("cycleWeeks"),
449
- children: /* @__PURE__ */ K("div", {
455
+ children: /* @__PURE__ */ J("div", {
450
456
  className: "w-36",
451
- children: /* @__PURE__ */ K(L, {
457
+ children: /* @__PURE__ */ J(R, {
452
458
  width: "fill",
453
459
  "aria-label": a("cycleLength"),
454
460
  value: r.cycleWeeks,
@@ -465,13 +471,13 @@ function se({ workspace: n, team: r, isAdmin: i }) {
465
471
  })
466
472
  })
467
473
  }),
468
- /* @__PURE__ */ K(R, {
474
+ /* @__PURE__ */ J(z, {
469
475
  label: a("upcomingCycles"),
470
476
  helpText: a("upcomingCyclesHelp"),
471
477
  error: d("cycleUpcoming"),
472
- children: /* @__PURE__ */ K("div", {
478
+ children: /* @__PURE__ */ J("div", {
473
479
  className: "w-36",
474
- children: /* @__PURE__ */ K(L, {
480
+ children: /* @__PURE__ */ J(R, {
475
481
  width: "fill",
476
482
  "aria-label": a("upcomingCycles"),
477
483
  value: r.cycleUpcoming,
@@ -493,24 +499,24 @@ function se({ workspace: n, team: r, isAdmin: i }) {
493
499
  })
494
500
  })
495
501
  }),
496
- /* @__PURE__ */ K(R, {
502
+ /* @__PURE__ */ J(z, {
497
503
  label: a("autoAdd"),
498
504
  helpText: a("autoAddHelp"),
499
505
  error: d("cycleAutoAdd"),
500
- children: /* @__PURE__ */ K(B, {
506
+ children: /* @__PURE__ */ J(V, {
501
507
  "aria-label": a("autoAdd"),
502
508
  checked: r.cycleAutoAdd,
503
509
  disabled: u,
504
510
  onCheckedChange: (e) => l.mutate({ cycleAutoAdd: e })
505
511
  })
506
512
  }),
507
- /* @__PURE__ */ K(R, {
513
+ /* @__PURE__ */ J(z, {
508
514
  label: a("estimates"),
509
515
  helpText: a("estimatesHelp"),
510
516
  error: d("estimateScale"),
511
- children: /* @__PURE__ */ K("div", {
517
+ children: /* @__PURE__ */ J("div", {
512
518
  className: "w-44",
513
- children: /* @__PURE__ */ K(L, {
519
+ children: /* @__PURE__ */ J(R, {
514
520
  width: "fill",
515
521
  "aria-label": a("estimates"),
516
522
  value: r.estimateScale,
@@ -532,7 +538,7 @@ function se({ workspace: n, team: r, isAdmin: i }) {
532
538
  ]
533
539
  });
534
540
  }
535
- var Q = [
541
+ var $ = [
536
542
  "plan",
537
543
  "implement",
538
544
  "review",
@@ -541,7 +547,7 @@ var Q = [
541
547
  "release"
542
548
  ];
543
549
  function ce({ workspace: n, team: i, isAdmin: a }) {
544
- let o = W("flow"), c = U(), l = X(), { data: u = [] } = Y(r(n)), d = J({
550
+ let o = K("flow"), c = G(), l = Z(), { data: u = [] } = te(r(n)), d = X({
545
551
  mutationFn: async (r) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
546
552
  params: { path: {
547
553
  workspace: n,
@@ -550,7 +556,7 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
550
556
  body: { flow: r }
551
557
  })),
552
558
  onSettled: () => l.invalidateQueries({ queryKey: s(n).queryKey })
553
- }), f = J({
559
+ }), f = X({
554
560
  mutationFn: async (r) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
555
561
  params: { path: {
556
562
  workspace: n,
@@ -559,7 +565,7 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
559
565
  body: { autoMerge: r }
560
566
  })),
561
567
  onSettled: () => l.invalidateQueries({ queryKey: s(n).queryKey })
562
- }), p = J({
568
+ }), p = X({
563
569
  mutationFn: async (r) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
564
570
  params: { path: {
565
571
  workspace: n,
@@ -568,7 +574,7 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
568
574
  body: { draftPullRequests: r }
569
575
  })),
570
576
  onSettled: () => l.invalidateQueries({ queryKey: s(n).queryKey })
571
- }), m = J({
577
+ }), m = X({
572
578
  mutationFn: async (r) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
573
579
  params: { path: {
574
580
  workspace: n,
@@ -577,8 +583,8 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
577
583
  body: { pullRequestsAsAssigner: r }
578
584
  })),
579
585
  onSettled: () => l.invalidateQueries({ queryKey: s(n).queryKey })
580
- }), h = (e) => i.flow.find((t) => t.stage === e), [g, _] = H(null), v = (e, t) => {
581
- _(e), d.mutate(Q.flatMap((n) => {
586
+ }), h = (e) => i.flow.find((t) => t.stage === e), [g, _] = W(null), v = (e, t) => {
587
+ _(e), d.mutate($.flatMap((n) => {
582
588
  let r = h(n);
583
589
  return n === e ? t.on ? [{
584
590
  stage: n,
@@ -586,21 +592,21 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
586
592
  }] : [] : r ? [r] : [];
587
593
  }));
588
594
  }, y = !a || d.isPending;
589
- return /* @__PURE__ */ q(z, {
595
+ return /* @__PURE__ */ Y(B, {
590
596
  title: o("title"),
591
597
  description: o("description"),
592
598
  children: [
593
- Q.map((e) => {
599
+ $.map((e) => {
594
600
  let t = h(e), n = u.filter((t) => !t.archivedAt && (e !== "review" || t.maxRole === "viewer"));
595
- return /* @__PURE__ */ K(R, {
601
+ return /* @__PURE__ */ J(z, {
596
602
  label: o(`stages.${e}`),
597
603
  helpText: o(`help.${e}`),
598
604
  error: d.isError && g === e ? c(d.error) : null,
599
- children: /* @__PURE__ */ q("div", {
605
+ children: /* @__PURE__ */ Y("div", {
600
606
  className: "flex items-center gap-3",
601
- children: [t && /* @__PURE__ */ K("div", {
607
+ children: [t && /* @__PURE__ */ J("div", {
602
608
  className: "w-44",
603
- children: /* @__PURE__ */ K(L, {
609
+ children: /* @__PURE__ */ J(R, {
604
610
  width: "fill",
605
611
  "aria-label": o("agentFor", { stage: o(`stages.${e}`) }),
606
612
  value: t.agentId ?? "",
@@ -617,7 +623,7 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
617
623
  label: e.name
618
624
  }))]
619
625
  })
620
- }), /* @__PURE__ */ K(B, {
626
+ }), /* @__PURE__ */ J(V, {
621
627
  "aria-label": o(`stages.${e}`),
622
628
  checked: !!t,
623
629
  disabled: y,
@@ -626,42 +632,42 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
626
632
  })
627
633
  }, e);
628
634
  }),
629
- h("release") && /* @__PURE__ */ K(R, {
635
+ h("release") && /* @__PURE__ */ J(z, {
630
636
  label: o("releaseTargets"),
631
637
  helpText: o("releaseTargetsHelp"),
632
- children: /* @__PURE__ */ K(le, {
638
+ children: /* @__PURE__ */ J(le, {
633
639
  workspace: n,
634
640
  team: i,
635
641
  disabled: !a
636
642
  })
637
643
  }),
638
- /* @__PURE__ */ K(R, {
644
+ /* @__PURE__ */ J(z, {
639
645
  label: o("autoMerge"),
640
646
  helpText: o("autoMergeHelp"),
641
647
  error: f.isError ? c(f.error) : null,
642
- children: /* @__PURE__ */ K(B, {
648
+ children: /* @__PURE__ */ J(V, {
643
649
  "aria-label": o("autoMerge"),
644
650
  checked: i.autoMerge,
645
651
  disabled: !a || f.isPending,
646
652
  onCheckedChange: (e) => f.mutate(e)
647
653
  })
648
654
  }),
649
- /* @__PURE__ */ K(R, {
655
+ /* @__PURE__ */ J(z, {
650
656
  label: o("draftPullRequests"),
651
657
  helpText: o("draftPullRequestsHelp"),
652
658
  error: p.isError ? c(p.error) : null,
653
- children: /* @__PURE__ */ K(B, {
659
+ children: /* @__PURE__ */ J(V, {
654
660
  "aria-label": o("draftPullRequests"),
655
661
  checked: i.draftPullRequests,
656
662
  disabled: !a || p.isPending,
657
663
  onCheckedChange: (e) => p.mutate(e)
658
664
  })
659
665
  }),
660
- /* @__PURE__ */ K(R, {
666
+ /* @__PURE__ */ J(z, {
661
667
  label: o("pullRequestsAsAssigner"),
662
668
  helpText: o("pullRequestsAsAssignerHelp"),
663
669
  error: m.isError ? c(m.error) : null,
664
- children: /* @__PURE__ */ K(B, {
670
+ children: /* @__PURE__ */ J(V, {
665
671
  "aria-label": o("pullRequestsAsAssigner"),
666
672
  checked: i.pullRequestsAsAssigner,
667
673
  disabled: !a || m.isPending,
@@ -672,7 +678,7 @@ function ce({ workspace: n, team: i, isAdmin: a }) {
672
678
  });
673
679
  }
674
680
  function le({ workspace: n, team: r, disabled: i }) {
675
- let a = W("flow"), o = U(), c = X(), [l, u] = H(r.releaseTargets.join(", ")), d = J({
681
+ let a = K("flow"), o = G(), c = Z(), [l, u] = W(r.releaseTargets.join(", ")), d = X({
676
682
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
677
683
  params: { path: {
678
684
  workspace: n,
@@ -685,9 +691,9 @@ function le({ workspace: n, team: r, disabled: i }) {
685
691
  let e = l.split(",").map((e) => e.trim()).filter(Boolean);
686
692
  e.join(",") !== r.releaseTargets.join(",") && d.mutate(e);
687
693
  };
688
- return /* @__PURE__ */ K("div", {
694
+ return /* @__PURE__ */ J("div", {
689
695
  className: "w-64",
690
- children: /* @__PURE__ */ K(P, {
696
+ children: /* @__PURE__ */ J(I, {
691
697
  "aria-label": a("releaseTargets"),
692
698
  value: l,
693
699
  disabled: i,
@@ -699,8 +705,8 @@ function le({ workspace: n, team: r, disabled: i }) {
699
705
  })
700
706
  });
701
707
  }
702
- function $({ workspace: n, team: r, isAdmin: i }) {
703
- let a = W("team"), o = U(), c = X(), l = J({
708
+ function ue({ workspace: n, team: r, isAdmin: i }) {
709
+ let a = K("team"), o = G(), c = Z(), l = X({
704
710
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
705
711
  params: { path: {
706
712
  workspace: n,
@@ -710,14 +716,14 @@ function $({ workspace: n, team: r, isAdmin: i }) {
710
716
  })),
711
717
  onSettled: () => c.invalidateQueries({ queryKey: s(n).queryKey })
712
718
  });
713
- return /* @__PURE__ */ K(z, {
719
+ return /* @__PURE__ */ J(B, {
714
720
  title: a("agentQuestions"),
715
721
  description: a("agentQuestionsDescription"),
716
- children: /* @__PURE__ */ K(R, {
722
+ children: /* @__PURE__ */ J(z, {
717
723
  label: a("requireKnownTerms"),
718
724
  helpText: a("requireKnownTermsHelp"),
719
725
  error: l.isError ? o(l.error) : null,
720
- children: /* @__PURE__ */ K(B, {
726
+ children: /* @__PURE__ */ J(V, {
721
727
  "aria-label": a("requireKnownTerms"),
722
728
  checked: r.requireKnownTerms,
723
729
  disabled: !i || l.isPending,
@@ -726,8 +732,8 @@ function $({ workspace: n, team: r, isAdmin: i }) {
726
732
  })
727
733
  });
728
734
  }
729
- function ue({ workspace: n, teamKey: r, isAdmin: a }) {
730
- let { data: s } = Z(o(n, r)), { data: c } = Z(i), { members: l, person: u } = ee(n), d = X(), f = te(), p = T(), [h, g] = H(null), v = W("team"), y = U(), b = W("common"), x = J({
735
+ function de({ workspace: n, teamKey: r, isAdmin: a }) {
736
+ let { data: s } = Q(o(n, r)), { data: c } = Q(i), { members: l, person: u } = T(n), d = Z(), f = U(), p = D(), [m, g] = W(null), _ = K("team"), y = G(), b = K("common"), x = X({
731
737
  mutationFn: async (i) => {
732
738
  for (let { username: a, add: o } of i) {
733
739
  let i = { params: { path: {
@@ -741,20 +747,20 @@ function ue({ workspace: n, teamKey: r, isAdmin: a }) {
741
747
  onMutate: () => g(null),
742
748
  onError: (e) => g(y(e)),
743
749
  onSettled: () => d.invalidateQueries({ queryKey: o(n, r).queryKey })
744
- }), C = (e) => x.mutate([...e.filter((e) => !s.includes(e)).map((e) => ({
750
+ }), S = (e) => x.mutate([...e.filter((e) => !s.includes(e)).map((e) => ({
745
751
  username: e,
746
752
  add: !0
747
753
  })), ...s.filter((t) => !e.includes(t)).map((e) => ({
748
754
  username: e,
749
755
  add: !1
750
756
  }))]), w = c?.user.username ?? "", E = s.includes(w);
751
- return /* @__PURE__ */ q(I, {
757
+ return /* @__PURE__ */ Y(L, {
752
758
  variant: "bare",
753
759
  headingLevel: 2,
754
760
  collapsible: !1,
755
- title: v("members"),
756
- description: v("membersDescription"),
757
- actions: /* @__PURE__ */ q(G, { children: [!E && /* @__PURE__ */ K(k, {
761
+ title: _("members"),
762
+ description: _("membersDescription"),
763
+ actions: /* @__PURE__ */ Y(q, { children: [!E && /* @__PURE__ */ J(j, {
758
764
  type: "button",
759
765
  size: "sm",
760
766
  variant: "primary",
@@ -762,14 +768,14 @@ function ue({ workspace: n, teamKey: r, isAdmin: a }) {
762
768
  username: w,
763
769
  add: !0
764
770
  }]),
765
- children: v("join")
766
- }), a && /* @__PURE__ */ K(j, {
771
+ children: _("join")
772
+ }), a && /* @__PURE__ */ J(N, {
767
773
  multiple: !0,
768
774
  items: l.map((e) => ({
769
775
  value: e.user.username,
770
776
  label: e.user.name,
771
777
  hint: e.user.email,
772
- icon: /* @__PURE__ */ K(O, {
778
+ icon: /* @__PURE__ */ J(A, {
773
779
  name: e.user.name,
774
780
  src: e.user.avatarUrl,
775
781
  size: "xs",
@@ -777,31 +783,31 @@ function ue({ workspace: n, teamKey: r, isAdmin: a }) {
777
783
  })
778
784
  })),
779
785
  value: s,
780
- onValueChange: C,
786
+ onValueChange: S,
781
787
  align: "end",
782
- placeholder: v("addPlaceholder"),
783
- "aria-label": v("addMember"),
784
- trigger: /* @__PURE__ */ q(k, {
788
+ placeholder: _("addPlaceholder"),
789
+ "aria-label": _("addMember"),
790
+ trigger: /* @__PURE__ */ Y(j, {
785
791
  type: "button",
786
792
  size: "sm",
787
793
  loading: x.isPending,
788
794
  children: [
789
- /* @__PURE__ */ K(m, { className: "size-3.5" }),
795
+ /* @__PURE__ */ J(h, { className: "size-3.5" }),
790
796
  " ",
791
- v("addMember")
797
+ _("addMember")
792
798
  ]
793
799
  })
794
800
  })] }),
795
- children: [/* @__PURE__ */ q(A, {
801
+ children: [/* @__PURE__ */ Y(M, {
796
802
  size: "fill",
797
803
  padding: "none",
798
804
  divided: !0,
799
805
  interactive: !1,
800
- render: /* @__PURE__ */ K("ul", {}),
801
- children: [s.map((e) => /* @__PURE__ */ q("li", {
806
+ render: /* @__PURE__ */ J("ul", {}),
807
+ children: [s.map((e) => /* @__PURE__ */ Y("li", {
802
808
  onContextMenu: (t) => f(t, [
803
809
  {
804
- label: v("viewIssues"),
810
+ label: _("viewIssues"),
805
811
  onClick: () => p({
806
812
  to: "/$workspace/teams/$key/issues",
807
813
  params: {
@@ -811,9 +817,9 @@ function ue({ workspace: n, teamKey: r, isAdmin: a }) {
811
817
  search: { assignee: e }
812
818
  })
813
819
  },
814
- S(b("copyEmail"), u(e).email ?? ""),
815
- ...a || e === w ? [V, {
816
- label: v(e === w ? "leaveTeam" : "removeFromTeam"),
820
+ C(b("copyEmail"), u(e).email ?? ""),
821
+ ...a || e === w ? [H, {
822
+ label: _(e === w ? "leaveTeam" : "removeFromTeam"),
817
823
  destructive: !0,
818
824
  onClick: () => x.mutate([{
819
825
  username: e,
@@ -823,45 +829,45 @@ function ue({ workspace: n, teamKey: r, isAdmin: a }) {
823
829
  ]),
824
830
  className: "flex items-center gap-3 px-3 py-2 text-sm",
825
831
  children: [
826
- /* @__PURE__ */ K(_, {
832
+ /* @__PURE__ */ J(v, {
827
833
  workspace: n,
828
834
  handle: e,
829
- children: /* @__PURE__ */ K(O, {
835
+ children: /* @__PURE__ */ J(A, {
830
836
  name: u(e).name,
831
837
  src: u(e).avatarUrl,
832
838
  size: "md"
833
839
  })
834
840
  }),
835
- /* @__PURE__ */ q("span", {
841
+ /* @__PURE__ */ Y("span", {
836
842
  className: "flex-1",
837
- children: [u(e).name, e === w && /* @__PURE__ */ q("span", {
843
+ children: [u(e).name, e === w && /* @__PURE__ */ Y("span", {
838
844
  className: "text-muted-foreground",
839
- children: [" ", v("you")]
845
+ children: [" ", _("you")]
840
846
  })]
841
847
  }),
842
- (a || e === w) && /* @__PURE__ */ K("button", {
848
+ (a || e === w) && /* @__PURE__ */ J("button", {
843
849
  type: "button",
844
850
  onClick: () => x.mutate([{
845
851
  username: e,
846
852
  add: !1
847
853
  }]),
848
854
  className: "text-xs text-muted-foreground hover:text-danger",
849
- children: e === w ? v("leave") : b("remove")
855
+ children: e === w ? _("leave") : b("remove")
850
856
  })
851
857
  ]
852
- }, e)), s.length === 0 && /* @__PURE__ */ K("li", {
858
+ }, e)), s.length === 0 && /* @__PURE__ */ J("li", {
853
859
  className: "px-3 py-2 text-sm text-muted-foreground",
854
- children: v("noMembers")
860
+ children: _("noMembers")
855
861
  })]
856
- }), /* @__PURE__ */ K(N, {
862
+ }), /* @__PURE__ */ J(F, {
857
863
  size: "md",
858
864
  className: "mt-2",
859
- children: h
865
+ children: m
860
866
  })]
861
867
  });
862
868
  }
863
- function de({ workspace: r, teamKey: i }) {
864
- let { data: o } = Z(a(r, i)), { data: l } = Z(s(r)), u = X(), d = W("team"), f = J({
869
+ function fe({ workspace: r, teamKey: i }) {
870
+ let { data: o } = Q(a(r, i)), { data: l } = Q(s(r)), u = Z(), d = K("team"), f = X({
865
871
  mutationFn: async (n) => t(await e.PUT("/api/v1/workspaces/{workspace}/teams/{key}/access", {
866
872
  params: { path: {
867
873
  workspace: r,
@@ -883,13 +889,13 @@ function de({ workspace: r, teamKey: i }) {
883
889
  u.invalidateQueries({ queryKey: a(r, i).queryKey }), u.invalidateQueries({ queryKey: s(r).queryKey }), n(u, r);
884
890
  }
885
891
  });
886
- return /* @__PURE__ */ K(I, {
892
+ return /* @__PURE__ */ J(L, {
887
893
  variant: "bare",
888
894
  headingLevel: 2,
889
895
  collapsible: !1,
890
896
  title: d("access"),
891
897
  description: d("accessDescription"),
892
- children: /* @__PURE__ */ K(c, {
898
+ children: /* @__PURE__ */ J(c, {
893
899
  workspace: r,
894
900
  resourceName: l.find((e) => e.key === i)?.name ?? i,
895
901
  access: o,
@@ -897,21 +903,21 @@ function de({ workspace: r, teamKey: i }) {
897
903
  openLabel: d("everyone"),
898
904
  rules: [{
899
905
  id: "admins",
900
- icon: /* @__PURE__ */ K(h, { className: "size-4" }),
906
+ icon: /* @__PURE__ */ J(g, { className: "size-4" }),
901
907
  title: d("admins"),
902
908
  detail: d("adminsDetail"),
903
909
  roleId: "admin"
904
910
  }, ...o.restricted ? [] : [{
905
911
  id: "everyone",
906
- icon: /* @__PURE__ */ K(g, { className: "size-4" }),
912
+ icon: /* @__PURE__ */ J(_, { className: "size-4" }),
907
913
  title: d("everyone"),
908
914
  detail: d("everyoneDetail")
909
915
  }]]
910
916
  })
911
917
  });
912
918
  }
913
- function fe({ workspace: n, team: r }) {
914
- let i = W("team"), a = X(), o = U(), { confirm: c, dialog: l } = x(), u = !!r.archivedAt, d = J({
919
+ function pe({ workspace: n, team: r }) {
920
+ let i = K("team"), a = Z(), o = G(), { confirm: c, dialog: l } = S(), u = !!r.archivedAt, d = X({
915
921
  mutationFn: async (i) => t(await e.PATCH("/api/v1/workspaces/{workspace}/teams/{key}", {
916
922
  params: { path: {
917
923
  workspace: n,
@@ -926,7 +932,7 @@ function fe({ workspace: n, team: r }) {
926
932
  confirmLabel: i("archive"),
927
933
  onConfirm: () => d.mutateAsync(!0)
928
934
  });
929
- return /* @__PURE__ */ q(I, {
935
+ return /* @__PURE__ */ Y(L, {
930
936
  variant: "card",
931
937
  ...!u && { tone: "error" },
932
938
  collapsible: !1,
@@ -934,31 +940,31 @@ function fe({ workspace: n, team: r }) {
934
940
  title: i(u ? "archived" : "dangerZone"),
935
941
  description: i(u ? "archivedDetail" : "archiveDetail"),
936
942
  children: [
937
- u ? /* @__PURE__ */ K(k, {
943
+ u ? /* @__PURE__ */ J(j, {
938
944
  onClick: () => d.mutate(!1),
939
945
  loading: d.isPending,
940
946
  children: i("restore")
941
- }) : /* @__PURE__ */ K(k, {
947
+ }) : /* @__PURE__ */ J(j, {
942
948
  variant: "danger",
943
949
  onClick: f,
944
950
  loading: d.isPending,
945
951
  children: i("archive")
946
952
  }),
947
- d.error && !d.variables && /* @__PURE__ */ K(N, {
953
+ d.error && !d.variables && /* @__PURE__ */ J(F, {
948
954
  size: "md",
949
955
  className: "mt-3",
950
956
  children: o(d.error)
951
957
  }),
952
958
  l,
953
- /* @__PURE__ */ K(pe, {
959
+ /* @__PURE__ */ J(me, {
954
960
  workspace: n,
955
961
  team: r
956
962
  })
957
963
  ]
958
964
  });
959
965
  }
960
- function pe({ workspace: n, team: r }) {
961
- let i = W("team"), a = X(), o = T(), c = U(), [l, u] = H(!1), [d, f] = H(""), [p, m] = H(null), h = J({
966
+ function me({ workspace: n, team: r }) {
967
+ let i = K("team"), a = Z(), o = D(), c = G(), [l, u] = W(!1), [d, f] = W(""), [p, m] = W(null), h = X({
962
968
  mutationFn: async () => t(await e.DELETE("/api/v1/workspaces/{workspace}/teams/{key}", { params: { path: {
963
969
  workspace: n,
964
970
  key: r.key
@@ -971,24 +977,24 @@ function pe({ workspace: n, team: r }) {
971
977
  }), await a.invalidateQueries({ queryKey: s(n).queryKey });
972
978
  }
973
979
  });
974
- return /* @__PURE__ */ q("div", {
980
+ return /* @__PURE__ */ Y("div", {
975
981
  className: "mt-6 border-t border-border pt-6",
976
982
  children: [
977
- /* @__PURE__ */ K("h3", {
983
+ /* @__PURE__ */ J("h3", {
978
984
  className: "text-sm font-medium",
979
985
  children: i("delete")
980
986
  }),
981
- /* @__PURE__ */ K("p", {
987
+ /* @__PURE__ */ J("p", {
982
988
  className: "mt-1 text-sm text-muted-foreground",
983
989
  children: i("deleteDetail")
984
990
  }),
985
- /* @__PURE__ */ K(k, {
991
+ /* @__PURE__ */ J(j, {
986
992
  variant: "danger",
987
993
  className: "mt-3",
988
994
  onClick: () => u(!0),
989
995
  children: i("delete")
990
996
  }),
991
- /* @__PURE__ */ K(M, {
997
+ /* @__PURE__ */ J(P, {
992
998
  open: l,
993
999
  onClose: () => {
994
1000
  u(!1), f(""), m(null);
@@ -1004,12 +1010,12 @@ function pe({ workspace: n, team: r }) {
1004
1010
  onConfirm: () => h.mutateAsync().catch((e) => {
1005
1011
  throw m(e), e;
1006
1012
  }),
1007
- children: /* @__PURE__ */ q("label", {
1013
+ children: /* @__PURE__ */ Y("label", {
1008
1014
  className: "mt-3 block text-sm",
1009
- children: [i.rich("deleteTypeKey", { key: () => /* @__PURE__ */ K("code", {
1015
+ children: [i.rich("deleteTypeKey", { key: () => /* @__PURE__ */ J("code", {
1010
1016
  className: "font-mono",
1011
1017
  children: r.key
1012
- }) }), /* @__PURE__ */ K(P, {
1018
+ }) }), /* @__PURE__ */ J(I, {
1013
1019
  value: d,
1014
1020
  onChange: (e) => f(e.target.value),
1015
1021
  autoComplete: "off",