@parallelworks/tandem-web 0.175.1 → 0.175.3

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.
@@ -132,6 +132,7 @@ var e = {
132
132
  usernameDescription: "Used in links and the API. Old links stop working when you change it.",
133
133
  tokens: "CLI and API tokens",
134
134
  tokensDescription: "Tokens act as you, within the access you give them. Create one here for a script or integration, or sign in with <code>tandem login</code>. Unused tokens expire after 90 days.",
135
+ command: "command",
135
136
  revoke: "Revoke",
136
137
  revokeTokenTitle: "Revoke token?",
137
138
  revokeTokenDescription: "Anything using {name} will be signed out.",
@@ -597,6 +598,7 @@ var e = {
597
598
  newIssue: "New issue",
598
599
  myIssues: "My issues",
599
600
  decisions: "Decisions",
601
+ docs: "Docs",
600
602
  triage: "Triage",
601
603
  teams: "Teams",
602
604
  newIssueInTeam: "New issue in team",
@@ -1360,6 +1362,8 @@ var e = {
1360
1362
  none: "No docs match.",
1361
1363
  docTitle: "Title",
1362
1364
  updated: "Updated",
1365
+ author: "Author",
1366
+ inParent: "in {parent}",
1363
1367
  board: "Board",
1364
1368
  table: "Table",
1365
1369
  layout: "Layout",
@@ -1387,7 +1391,6 @@ var e = {
1387
1391
  copyOf: "Copy of {title}",
1388
1392
  subPages: "Sub-pages",
1389
1393
  noSubPages: "No sub-pages yet. Type /page to add one.",
1390
- teamDocs: "{team} docs",
1391
1394
  title: "Docs",
1392
1395
  new: "New doc",
1393
1396
  newInTeamNamed: "New doc in {team}",
@@ -132,6 +132,7 @@ var e = {
132
132
  usernameDescription: "Se usa en los enlaces y en la API. Los enlaces antiguos dejan de funcionar cuando lo cambias.",
133
133
  tokens: "Tokens de CLI y API",
134
134
  tokensDescription: "Los tokens actúan como tú, dentro del acceso que les des. Crea uno aquí para un script o una integración, o inicia sesión con <code>tandem login</code>. Los tokens sin usar caducan a los 90 días.",
135
+ command: "comando",
135
136
  revoke: "Revocar",
136
137
  revokeTokenTitle: "¿Revocar el token?",
137
138
  revokeTokenDescription: "Se cerrará la sesión de todo lo que use {name}.",
@@ -597,6 +598,7 @@ var e = {
597
598
  newIssue: "Nueva incidencia",
598
599
  myIssues: "Mis incidencias",
599
600
  decisions: "Decisiones",
601
+ docs: "Documentos",
600
602
  triage: "Clasificación",
601
603
  teams: "Equipos",
602
604
  newIssueInTeam: "Nueva incidencia en el equipo",
@@ -1360,6 +1362,8 @@ var e = {
1360
1362
  none: "Ningún documento coincide.",
1361
1363
  docTitle: "Título",
1362
1364
  updated: "Actualizado",
1365
+ author: "Autor",
1366
+ inParent: "en {parent}",
1363
1367
  board: "Tablero",
1364
1368
  table: "Tabla",
1365
1369
  layout: "Diseño",
@@ -1387,7 +1391,6 @@ var e = {
1387
1391
  copyOf: "Copia de {title}",
1388
1392
  subPages: "Subpáginas",
1389
1393
  noSubPages: "Aún no hay subpáginas. Escribe /page para añadir una.",
1390
- teamDocs: "Documentos de {team}",
1391
1394
  title: "Documentos",
1392
1395
  new: "Nuevo documento",
1393
1396
  newInTeamNamed: "Nuevo documento en {team}",
@@ -132,6 +132,7 @@ var e = {
132
132
  usernameDescription: "リンクや API で使われます。変更すると、古いリンクは使えなくなります。",
133
133
  tokens: "CLI・API トークン",
134
134
  tokensDescription: "トークンは、付与したアクセス権の範囲内であなたとして動作します。スクリプトや連携用にここで作成するか、<code>tandem login</code> でサインインしてください。使われていないトークンは 90 日後に失効します。",
135
+ command: "コマンド",
135
136
  revoke: "取り消す",
136
137
  revokeTokenTitle: "トークンを取り消しますか?",
137
138
  revokeTokenDescription: "{name} を使っているものはすべてサインアウトされます。",
@@ -597,6 +598,7 @@ var e = {
597
598
  newIssue: "新しい課題",
598
599
  myIssues: "自分の課題",
599
600
  decisions: "判断",
601
+ docs: "ドキュメント",
600
602
  triage: "トリアージ",
601
603
  teams: "チーム",
602
604
  newIssueInTeam: "チームに新しい課題",
@@ -1360,6 +1362,8 @@ var e = {
1360
1362
  none: "一致するドキュメントはありません。",
1361
1363
  docTitle: "タイトル",
1362
1364
  updated: "更新",
1365
+ author: "作成者",
1366
+ inParent: "{parent} 内",
1363
1367
  board: "ボード",
1364
1368
  table: "表",
1365
1369
  layout: "レイアウト",
@@ -1387,7 +1391,6 @@ var e = {
1387
1391
  copyOf: "{title} のコピー",
1388
1392
  subPages: "サブページ",
1389
1393
  noSubPages: "サブページはまだありません。/page で追加できます。",
1390
- teamDocs: "{team} のドキュメント",
1391
1394
  title: "ドキュメント",
1392
1395
  new: "新規ドキュメント",
1393
1396
  newInTeamNamed: "{team} に新規ドキュメント",
@@ -132,6 +132,7 @@ var e = {
132
132
  usernameDescription: "링크와 API에 사용됩니다. 변경하면 이전 링크는 더 이상 작동하지 않습니다.",
133
133
  tokens: "CLI 및 API 토큰",
134
134
  tokensDescription: "토큰은 부여한 액세스 범위 안에서 회원님으로 동작합니다. 스크립트나 통합에 사용할 토큰을 여기에서 만들거나 <code>tandem login</code>으로 로그인하세요. 사용하지 않는 토큰은 90일 후 만료됩니다.",
135
+ command: "명령어",
135
136
  revoke: "해지",
136
137
  revokeTokenTitle: "토큰을 해지하시겠습니까?",
137
138
  revokeTokenDescription: "{name}을(를) 사용하는 모든 항목이 로그아웃됩니다.",
@@ -597,6 +598,7 @@ var e = {
597
598
  newIssue: "새 이슈",
598
599
  myIssues: "내 이슈",
599
600
  decisions: "결정",
601
+ docs: "문서",
600
602
  triage: "분류",
601
603
  teams: "팀",
602
604
  newIssueInTeam: "팀에 새 이슈",
@@ -1360,6 +1362,8 @@ var e = {
1360
1362
  none: "일치하는 문서가 없습니다.",
1361
1363
  docTitle: "제목",
1362
1364
  updated: "수정됨",
1365
+ author: "작성자",
1366
+ inParent: "{parent} 안",
1363
1367
  board: "보드",
1364
1368
  table: "표",
1365
1369
  layout: "레이아웃",
@@ -1387,7 +1391,6 @@ var e = {
1387
1391
  copyOf: "{title} 사본",
1388
1392
  subPages: "하위 페이지",
1389
1393
  noSubPages: "아직 하위 페이지가 없습니다. /page로 추가하세요.",
1390
- teamDocs: "{team} 문서",
1391
1394
  title: "문서",
1392
1395
  new: "새 문서",
1393
1396
  newInTeamNamed: "{team}에 새 문서",
@@ -132,6 +132,7 @@ var e = {
132
132
  usernameDescription: "用于链接和 API。更改后,旧链接将失效。",
133
133
  tokens: "CLI 和 API 令牌",
134
134
  tokensDescription: "令牌以您的身份操作,权限不超出您授予的范围。可在此为脚本或集成创建令牌,也可以使用 <code>tandem login</code> 登录。未使用的令牌将在 90 天后过期。",
135
+ command: "命令",
135
136
  revoke: "撤销",
136
137
  revokeTokenTitle: "撤销令牌?",
137
138
  revokeTokenDescription: "所有使用 {name} 的程序都将退出登录。",
@@ -597,6 +598,7 @@ var e = {
597
598
  newIssue: "新建议题",
598
599
  myIssues: "我的议题",
599
600
  decisions: "决策",
601
+ docs: "文档",
600
602
  triage: "分拣",
601
603
  teams: "团队",
602
604
  newIssueInTeam: "在团队中新建议题",
@@ -1360,6 +1362,8 @@ var e = {
1360
1362
  none: "没有匹配的文档。",
1361
1363
  docTitle: "标题",
1362
1364
  updated: "更新于",
1365
+ author: "作者",
1366
+ inParent: "位于 {parent}",
1363
1367
  board: "看板",
1364
1368
  table: "表格",
1365
1369
  layout: "布局",
@@ -1387,7 +1391,6 @@ var e = {
1387
1391
  copyOf: "{title} 的副本",
1388
1392
  subPages: "子页面",
1389
1393
  noSubPages: "还没有子页面。输入 /page 添加。",
1390
- teamDocs: "{team} 的文档",
1391
1394
  title: "文档",
1392
1395
  new: "新建文档",
1393
1396
  newInTeamNamed: "在 {team} 中新建文档",
@@ -35,29 +35,29 @@ function y(n, r, i) {
35
35
  isPending: s
36
36
  };
37
37
  }
38
- function b({ workspace: e, space: t, layout: n, config: r }) {
39
- let a = p("docViews"), o = f(), { docs: l, props: d, isPending: g } = y(e, t, r), _ = c(e), b = (e, t) => e.properties?.[t.id];
40
- if (g) return /* @__PURE__ */ m("p", {
38
+ function b({ workspace: e, space: t, layout: n, config: r, query: o = "" }) {
39
+ let l = p("docViews"), d = f(), { actorName: g } = a(e), { docs: _, props: b, isPending: S } = y(e, t, r), C = o.trim().toLowerCase(), w = C ? _.filter((e) => e.title.toLowerCase().includes(C)) : _, T = new Map(_.map((e) => [e.id, e.title])), E = c(e), D = (e, t) => e.properties?.[t.id];
40
+ if (S) return /* @__PURE__ */ m("p", {
41
41
  className: "p-4 text-sm text-muted-foreground",
42
- children: a("loading")
42
+ children: l("loading")
43
43
  });
44
44
  if (n === "board") {
45
- let n = d.find((e) => e.id === r.groupBy && v(e));
45
+ let n = b.find((e) => e.id === r.groupBy && v(e));
46
46
  return n ? /* @__PURE__ */ m(x, {
47
47
  workspace: e,
48
48
  space: t,
49
- docs: l,
50
- props: d,
49
+ docs: w,
50
+ props: b,
51
51
  by: n
52
52
  }) : /* @__PURE__ */ m("p", {
53
53
  className: "p-4 text-sm text-muted-foreground",
54
- children: a("pickGroup")
54
+ children: l("pickGroup")
55
55
  });
56
56
  }
57
- let S = r.columns ? r.columns.flatMap((e) => d.filter((t) => t.id === e)) : d;
58
- return l.length === 0 ? /* @__PURE__ */ m("p", {
57
+ let O = r.columns ? r.columns.flatMap((e) => b.filter((t) => t.id === e)) : b;
58
+ return w.length === 0 ? /* @__PURE__ */ m("p", {
59
59
  className: "p-4 text-sm text-muted-foreground",
60
- children: a("none")
60
+ children: l("none")
61
61
  }) : /* @__PURE__ */ m("div", {
62
62
  className: "overflow-x-auto",
63
63
  children: /* @__PURE__ */ h("table", {
@@ -65,18 +65,22 @@ function b({ workspace: e, space: t, layout: n, config: r }) {
65
65
  children: [/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ h("tr", { children: [
66
66
  /* @__PURE__ */ m("th", {
67
67
  scope: "col",
68
- children: a("docTitle")
68
+ children: l("docTitle")
69
69
  }),
70
- S.map((e) => /* @__PURE__ */ m("th", {
70
+ O.map((e) => /* @__PURE__ */ m("th", {
71
71
  scope: "col",
72
72
  children: e.name
73
73
  }, e.id)),
74
74
  /* @__PURE__ */ m("th", {
75
75
  scope: "col",
76
- children: a("updated")
76
+ children: l("author")
77
+ }),
78
+ /* @__PURE__ */ m("th", {
79
+ scope: "col",
80
+ children: l("updated")
77
81
  })
78
- ] }) }), /* @__PURE__ */ m("tbody", { children: l.map((t) => /* @__PURE__ */ h("tr", { children: [
79
- /* @__PURE__ */ m("td", { children: /* @__PURE__ */ h(u, {
82
+ ] }) }), /* @__PURE__ */ m("tbody", { children: w.map((t) => /* @__PURE__ */ h("tr", { children: [
83
+ /* @__PURE__ */ h("td", { children: [/* @__PURE__ */ h(u, {
80
84
  to: "/$workspace/docs/$doc",
81
85
  params: {
82
86
  workspace: e,
@@ -87,11 +91,18 @@ function b({ workspace: e, space: t, layout: n, config: r }) {
87
91
  className: "truncate",
88
92
  children: t.title
89
93
  })]
90
- }) }),
91
- S.map((e) => /* @__PURE__ */ m("td", { children: _(e, b(t, e)) }, e.id)),
94
+ }), t.parentId && T.has(t.parentId) && /* @__PURE__ */ m("span", {
95
+ className: "ml-6 block truncate text-xs text-muted-foreground",
96
+ children: l("inParent", { parent: T.get(t.parentId) ?? "" })
97
+ })] }),
98
+ O.map((e) => /* @__PURE__ */ m("td", { children: E(e, D(t, e)) }, e.id)),
99
+ /* @__PURE__ */ m("td", {
100
+ className: "text-muted-foreground",
101
+ children: g(t.creator)
102
+ }),
92
103
  /* @__PURE__ */ m("td", {
93
104
  className: "text-muted-foreground",
94
- children: o.dateTime(new Date(t.updatedAt), { dateStyle: "medium" })
105
+ children: d.dateTime(new Date(t.updatedAt), { dateStyle: "medium" })
95
106
  })
96
107
  ] }, t.id)) })]
97
108
  })