@things-factory/worklist 10.1.167 → 10.1.169

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.
Files changed (84) hide show
  1. package/dist-client/components/activity-starter-form.js +2 -0
  2. package/dist-client/components/activity-starter-form.js.map +1 -1
  3. package/dist-client/components/decision-content.d.ts +35 -0
  4. package/dist-client/components/decision-content.js +310 -0
  5. package/dist-client/components/decision-content.js.map +1 -0
  6. package/dist-client/components/decision-slots.d.ts +8 -0
  7. package/dist-client/components/decision-slots.js +17 -0
  8. package/dist-client/components/decision-slots.js.map +1 -1
  9. package/dist-client/components/work-box-groups.d.ts +25 -0
  10. package/dist-client/components/work-box-groups.js +98 -0
  11. package/dist-client/components/work-box-groups.js.map +1 -0
  12. package/dist-client/my-work-menus.d.ts +1 -6
  13. package/dist-client/my-work-menus.js +0 -1
  14. package/dist-client/my-work-menus.js.map +1 -1
  15. package/dist-client/pages/activity/activity-list-page.js +1 -0
  16. package/dist-client/pages/activity/activity-list-page.js.map +1 -1
  17. package/dist-client/pages/activity-approval/activity-approval-page.d.ts +2 -52
  18. package/dist-client/pages/activity-approval/activity-approval-page.js +9 -298
  19. package/dist-client/pages/activity-approval/activity-approval-page.js.map +1 -1
  20. package/dist-client/pages/activity-catalog/activity-detail-page.js +9 -2
  21. package/dist-client/pages/activity-catalog/activity-detail-page.js.map +1 -1
  22. package/dist-client/pages/activity-instance/activity-instance-start-page.js +3 -0
  23. package/dist-client/pages/activity-instance/activity-instance-start-page.js.map +1 -1
  24. package/dist-client/pages/activity-instance/activity-instance-view.d.ts +10 -1
  25. package/dist-client/pages/activity-instance/activity-instance-view.js +31 -2
  26. package/dist-client/pages/activity-instance/activity-instance-view.js.map +1 -1
  27. package/dist-client/pages/activity-thread/activity-thread-page.d.ts +6 -2
  28. package/dist-client/pages/activity-thread/activity-thread-page.js +32 -16
  29. package/dist-client/pages/activity-thread/activity-thread-page.js.map +1 -1
  30. package/dist-client/pages/activity-thread/activity-thread-view-page.js +3 -2
  31. package/dist-client/pages/activity-thread/activity-thread-view-page.js.map +1 -1
  32. package/dist-client/pages/activity-thread/thread-sections.d.ts +34 -0
  33. package/dist-client/pages/activity-thread/thread-sections.js +36 -0
  34. package/dist-client/pages/activity-thread/thread-sections.js.map +1 -0
  35. package/dist-client/pages/todo/approval-pending-list-page.d.ts +1 -0
  36. package/dist-client/pages/todo/approval-pending-list-page.js +10 -77
  37. package/dist-client/pages/todo/approval-pending-list-page.js.map +1 -1
  38. package/dist-client/pages/todo/draft-list-page.d.ts +20 -0
  39. package/dist-client/pages/todo/draft-list-page.js +103 -5
  40. package/dist-client/pages/todo/draft-list-page.js.map +1 -1
  41. package/dist-client/pages/todo/todo-list-page.d.ts +19 -0
  42. package/dist-client/pages/todo/todo-list-page.js +147 -23
  43. package/dist-client/pages/todo/todo-list-page.js.map +1 -1
  44. package/dist-client/pages/todo/work-box.d.ts +36 -0
  45. package/dist-client/pages/todo/work-box.js +44 -0
  46. package/dist-client/pages/todo/work-box.js.map +1 -0
  47. package/dist-client/pages/work-door/work-doors-page.d.ts +1 -15
  48. package/dist-client/pages/work-door/work-doors-page.js +18 -43
  49. package/dist-client/pages/work-door/work-doors-page.js.map +1 -1
  50. package/dist-client/route.d.ts +1 -1
  51. package/dist-client/route.js +0 -3
  52. package/dist-client/route.js.map +1 -1
  53. package/dist-client/tsconfig.tsbuildinfo +1 -1
  54. package/dist-client/types/activity.d.ts +2 -0
  55. package/dist-client/types/activity.js.map +1 -1
  56. package/dist-server/controllers/activity-approval/create-approval.js +2 -1
  57. package/dist-server/controllers/activity-approval/create-approval.js.map +1 -1
  58. package/dist-server/controllers/activity-approval/resolve-judgeable-seats.js +2 -1
  59. package/dist-server/controllers/activity-approval/resolve-judgeable-seats.js.map +1 -1
  60. package/dist-server/service/activity-summary/index.d.ts +1 -1
  61. package/dist-server/service/activity-summary/open-work.d.ts +0 -1
  62. package/dist-server/service/activity-summary/open-work.js +3 -15
  63. package/dist-server/service/activity-summary/open-work.js.map +1 -1
  64. package/dist-server/service/activity-thread/activity-thread-query.d.ts +3 -0
  65. package/dist-server/service/activity-thread/activity-thread-query.js +24 -5
  66. package/dist-server/service/activity-thread/activity-thread-query.js.map +1 -1
  67. package/dist-server/service/activity-thread/index.d.ts +1 -1
  68. package/dist-server/service/activity-thread/my-open-threads.d.ts +23 -4
  69. package/dist-server/service/activity-thread/my-open-threads.js +38 -7
  70. package/dist-server/service/activity-thread/my-open-threads.js.map +1 -1
  71. package/dist-server/service/index.d.ts +3 -3
  72. package/dist-server/service/work-door/approval-line-standing.d.ts +14 -0
  73. package/dist-server/service/work-door/approval-line-standing.js +23 -5
  74. package/dist-server/service/work-door/approval-line-standing.js.map +1 -1
  75. package/dist-server/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +3 -3
  77. package/tests/open-doors.test.ts +3 -2
  78. package/things-factory.config.js +0 -1
  79. package/translations/en.json +10 -2
  80. package/translations/es.json +10 -2
  81. package/translations/ja.json +10 -2
  82. package/translations/ko.json +10 -2
  83. package/translations/ms.json +10 -2
  84. package/translations/zh.json +10 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/worklist",
3
- "version": "10.1.167",
3
+ "version": "10.1.169",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "exports": {
@@ -59,10 +59,10 @@
59
59
  "@things-factory/board-service": "^10.1.167",
60
60
  "@things-factory/context-ui": "^10.1.165",
61
61
  "@things-factory/i18n-base": "^10.1.167",
62
- "@things-factory/organization": "^10.1.167",
62
+ "@things-factory/organization": "^10.1.168",
63
63
  "@things-factory/personalization": "^10.1.167",
64
64
  "@things-factory/scheduler-client": "^10.1.167",
65
65
  "@things-factory/shell": "^10.1.165"
66
66
  },
67
- "gitHead": "86283c5d35042880be6827f777067fc5e6417eed"
67
+ "gitHead": "9d71d02b443f3e0080b25de1768b982c51a64111"
68
68
  }
@@ -55,6 +55,7 @@ const OPEN_BY_DECISION: Record<Root, Record<string, string>> = {
55
55
  Query: {
56
56
  /* The caller's own. */
57
57
  todoList: "the caller's open threads - myOpenThreadsWhere(user, roles)",
58
+ submittedList: "threads the caller submitted, waiting on an approver - at.assignee = the caller",
58
59
  doneList: "threads the caller ended - at.assignee = the caller",
59
60
  draftList: 'instances the caller made - ai.creator = the caller',
60
61
  pickableActivityList: "instances waiting for a role the caller holds, or for nobody's role",
@@ -262,11 +263,11 @@ describe('what the walk itself has to be true for', () => {
262
263
  })
263
264
 
264
265
  it('the census, in plain numbers', () => {
265
- /* 2026-09-24 after the rulings: 34 open by reason, 3 read in the body, 9 closed, 3 removed. */
266
+ /* 2026-09-24 after the rulings: 34 open by reason, 3 read in the body, 9 closed, 3 removed. 2026-10-16: +submittedList. */
266
267
  const count = (lists: Record<Root, Record<string, string>>) =>
267
268
  Object.keys(lists.Query).length + Object.keys(lists.Mutation).length
268
269
 
269
- expect(count(OPEN_BY_DECISION)).toBe(34)
270
+ expect(count(OPEN_BY_DECISION)).toBe(35)
270
271
  expect(count(READ_IN_THE_BODY)).toBe(3)
271
272
  expect(CLOSED.Query.length + CLOSED.Mutation.length).toBe(9)
272
273
  expect(REMOVED.Query.length + REMOVED.Mutation.length).toBe(3)
@@ -10,7 +10,6 @@ export default {
10
10
  { tagname: 'done-list-calendar-page', page: 'done-list-calendar' },
11
11
  { tagname: 'activity-catalog-page', page: 'activity-catalog' },
12
12
  { tagname: 'activity-detail-page', page: 'activity-detail' },
13
- { tagname: 'done-list-page', page: 'done-list' },
14
13
  { tagname: 'approval-pending-list-page', page: 'approval-pending-list' },
15
14
  { tagname: 'approval-done-list-page', page: 'approval-done-list' },
16
15
  { tagname: 'draft-list-page', page: 'draft-list' },
@@ -189,7 +189,6 @@
189
189
  "label.filter-draft": "draft",
190
190
  "label.filter-due": "due",
191
191
  "label.filter-important": "important",
192
- "label.filter-pending-approval": "pending approval",
193
192
  "label.filter-proceeding": "proceeding",
194
193
  "label.filter-recent": "recent",
195
194
  "label.filter-rejected": "rejected",
@@ -197,6 +196,10 @@
197
196
  "label.filter-resubmitted": "resubmitted",
198
197
  "label.group-approval": "to approve",
199
198
  "label.group-completed": "completed",
199
+ "label.group-todo": "to do",
200
+ "label.group-submitted": "submitted",
201
+ "label.group-draft": "drafts",
202
+ "label.group-progress": "in progress",
200
203
  "label.group-reference": "for information",
201
204
  "label.hours": "hours",
202
205
  "label.information": "information",
@@ -297,6 +300,12 @@
297
300
  "text.generated-approval-view": "the generated one",
298
301
  "text.group-approval-hint": "it moves on only after you approve or reject",
299
302
  "text.group-completed-hint": "review completed approvals and references",
303
+ "text.group-todo-hint": "it moves on only after you act on it",
304
+ "text.group-submitted-hint": "submitted and waiting for approval",
305
+ "text.group-done-hint": "work you finished",
306
+ "text.group-draft-hint": "not put up yet",
307
+ "text.group-progress-hint": "put up and waiting on others",
308
+ "text.group-sent-completed-hint": "what you put up that has ended",
300
309
  "text.group-reference-hint": "comment if you have something to say",
301
310
  "text.handed-over-on-this-day": "no deadline. handed over on this day",
302
311
  "text.installable-activities": "installable activities",
@@ -376,7 +385,6 @@
376
385
  "title.approval done list": "approval done list",
377
386
  "title.approval pending list": "my approval inbox",
378
387
  "title.assigned list": "assigned list",
379
- "title.done list": "done",
380
388
  "title.draft list": "raised by me",
381
389
  "title.edit duration": "edit duration",
382
390
  "title.import activity-approval": "import approvals",
@@ -189,7 +189,6 @@
189
189
  "label.filter-draft": "borrador",
190
190
  "label.filter-due": "por vencer",
191
191
  "label.filter-important": "importante",
192
- "label.filter-pending-approval": "aprobación pendiente",
193
192
  "label.filter-proceeding": "en curso",
194
193
  "label.filter-recent": "reciente",
195
194
  "label.filter-rejected": "rechazado",
@@ -197,6 +196,10 @@
197
196
  "label.filter-resubmitted": "reenviado",
198
197
  "label.group-approval": "por aprobar",
199
198
  "label.group-completed": "completado",
199
+ "label.group-todo": "por hacer",
200
+ "label.group-submitted": "enviado",
201
+ "label.group-draft": "borradores",
202
+ "label.group-progress": "en curso",
200
203
  "label.group-reference": "para información",
201
204
  "label.hours": "horas",
202
205
  "label.information": "información",
@@ -297,6 +300,12 @@
297
300
  "text.generated-approval-view": "la generada",
298
301
  "text.group-approval-hint": "solo avanza después de que usted apruebe o rechace",
299
302
  "text.group-completed-hint": "revise las aprobaciones y referencias completadas",
303
+ "text.group-todo-hint": "solo avanza cuando usted actúa",
304
+ "text.group-submitted-hint": "enviado y en espera de aprobación",
305
+ "text.group-done-hint": "trabajo que usted terminó",
306
+ "text.group-draft-hint": "aún no enviado",
307
+ "text.group-progress-hint": "enviado y a la espera de otros",
308
+ "text.group-sent-completed-hint": "lo que envió y ya terminó",
300
309
  "text.group-reference-hint": "comente si tiene algo que decir",
301
310
  "text.handed-over-on-this-day": "sin plazo. entregado este día",
302
311
  "text.installable-activities": "actividades instalables",
@@ -376,7 +385,6 @@
376
385
  "title.approval done list": "lista de aprobaciones finalizadas",
377
386
  "title.approval pending list": "mis aprobaciones pendientes",
378
387
  "title.assigned list": "lista de asignados",
379
- "title.done list": "finalizado",
380
388
  "title.draft list": "enviadas por mí",
381
389
  "title.edit duration": "editar duración",
382
390
  "title.import activity-approval": "importar aprobaciones",
@@ -189,7 +189,6 @@
189
189
  "label.filter-draft": "ドラフト",
190
190
  "label.filter-due": "満期",
191
191
  "label.filter-important": "重要",
192
- "label.filter-pending-approval": "承認進行中",
193
192
  "label.filter-proceeding": "作業中",
194
193
  "label.filter-recent": "最近",
195
194
  "label.filter-rejected": "突き返す",
@@ -197,6 +196,10 @@
197
196
  "label.filter-resubmitted": "再上申",
198
197
  "label.group-approval": "決裁するもの",
199
198
  "label.group-completed": "完了",
199
+ "label.group-todo": "やること",
200
+ "label.group-submitted": "提出済み",
201
+ "label.group-draft": "作成中",
202
+ "label.group-progress": "進行中",
200
203
  "label.group-reference": "参照で届いたもの",
201
204
  "label.hours": "時間",
202
205
  "label.information": "基本情報",
@@ -297,6 +300,12 @@
297
300
  "text.generated-approval-view": "既定の画面",
298
301
  "text.group-approval-hint": "承認または却下すると次に進みます",
299
302
  "text.group-completed-hint": "完了した決裁と参照の履歴を確認します",
303
+ "text.group-todo-hint": "あなたが処理すると次に進みます",
304
+ "text.group-submitted-hint": "提出して決裁を待っています",
305
+ "text.group-done-hint": "あなたが処理を終えた業務です",
306
+ "text.group-draft-hint": "まだ上申していません",
307
+ "text.group-progress-hint": "上申後、処理や決裁を待っています",
308
+ "text.group-sent-completed-hint": "上申したもののうち終了したものです",
300
309
  "text.group-reference-hint": "意見があれば書き込めます",
301
310
  "text.handed-over-on-this-day": "期限がありません。この日に受け取りました",
302
311
  "text.installable-activities": "設置可能業務",
@@ -376,7 +385,6 @@
376
385
  "title.approval done list": "マイ承認リスト",
377
386
  "title.approval pending list": "私の決裁箱",
378
387
  "title.assigned list": "マイ関連業務現況",
379
- "title.done list": "完了",
380
388
  "title.draft list": "自分の起案",
381
389
  "title.edit duration": "所要時間編集",
382
390
  "title.import activity-approval": "決裁の取り込み",
@@ -189,7 +189,6 @@
189
189
  "label.filter-draft": "초안",
190
190
  "label.filter-due": "만기",
191
191
  "label.filter-important": "중요",
192
- "label.filter-pending-approval": "승인진행중",
193
192
  "label.filter-proceeding": "작업중",
194
193
  "label.filter-recent": "최근",
195
194
  "label.filter-rejected": "반려",
@@ -197,6 +196,10 @@
197
196
  "label.filter-resubmitted": "재상신",
198
197
  "label.group-approval": "결재할 것",
199
198
  "label.group-completed": "완료",
199
+ "label.group-todo": "할 것",
200
+ "label.group-submitted": "제출한 것",
201
+ "label.group-draft": "작성 중",
202
+ "label.group-progress": "진행 중",
200
203
  "label.group-reference": "참조로 받은 것",
201
204
  "label.hours": "시간",
202
205
  "label.information": "기본정보",
@@ -297,6 +300,12 @@
297
300
  "text.generated-approval-view": "기본 화면",
298
301
  "text.group-approval-hint": "승인하거나 반려해야 다음으로 넘어갑니다",
299
302
  "text.group-completed-hint": "완료된 결재와 참조 건의 이력을 봅니다",
303
+ "text.group-todo-hint": "내가 처리해야 다음으로 넘어갑니다",
304
+ "text.group-submitted-hint": "제출하고 결재를 기다리는 일입니다",
305
+ "text.group-done-hint": "내가 처리해 끝난 일입니다",
306
+ "text.group-draft-hint": "아직 올리지 않은 건입니다",
307
+ "text.group-progress-hint": "올린 뒤 처리나 결재를 기다리는 건입니다",
308
+ "text.group-sent-completed-hint": "올린 건 중 끝난 것입니다",
300
309
  "text.group-reference-hint": "의견이 있으면 적을 수 있습니다",
301
310
  "text.handed-over-on-this-day": "기한이 없습니다. 이 날 받았습니다",
302
311
  "text.installable-activities": "설치 가능 업무",
@@ -376,7 +385,6 @@
376
385
  "title.approval done list": "결재 수행 이력",
377
386
  "title.approval pending list": "내 결재함",
378
387
  "title.assigned list": "나의 연관 업무 현황",
379
- "title.done list": "완료",
380
388
  "title.draft list": "내 상신 목록",
381
389
  "title.edit duration": "소요시간 편집",
382
390
  "title.import activity-approval": "결재 가져오기",
@@ -189,7 +189,6 @@
189
189
  "label.filter-draft": "draf",
190
190
  "label.filter-due": "due",
191
191
  "label.filter-important": "penting",
192
- "label.filter-pending-approval": "tungguan kelulusan",
193
192
  "label.filter-proceeding": "proses",
194
193
  "label.filter-recent": "baru-baru ini",
195
194
  "label.filter-rejected": "ditolak",
@@ -197,6 +196,10 @@
197
196
  "label.filter-resubmitted": "hantar semula",
198
197
  "label.group-approval": "untuk diluluskan",
199
198
  "label.group-completed": "selesai",
199
+ "label.group-todo": "perlu dibuat",
200
+ "label.group-submitted": "dihantar",
201
+ "label.group-draft": "draf",
202
+ "label.group-progress": "sedang berjalan",
200
203
  "label.group-reference": "sebagai rujukan",
201
204
  "label.hours": "jam",
202
205
  "label.information": "maklumat",
@@ -297,6 +300,12 @@
297
300
  "text.generated-approval-view": "skrin lalai",
298
301
  "text.group-approval-hint": "ia hanya bergerak selepas anda luluskan atau tolak",
299
302
  "text.group-completed-hint": "semak sejarah kelulusan dan rujukan yang selesai",
303
+ "text.group-todo-hint": "ia hanya bergerak selepas anda bertindak",
304
+ "text.group-submitted-hint": "dihantar dan menunggu kelulusan",
305
+ "text.group-done-hint": "kerja yang anda selesaikan",
306
+ "text.group-draft-hint": "belum dihantar",
307
+ "text.group-progress-hint": "dihantar dan menunggu orang lain",
308
+ "text.group-sent-completed-hint": "yang anda hantar dan telah selesai",
300
309
  "text.group-reference-hint": "tinggalkan komen jika ada",
301
310
  "text.handed-over-on-this-day": "tiada tarikh akhir. diterima pada hari ini",
302
311
  "text.installable-activities": "aktiviti yang boleh dipasang",
@@ -376,7 +385,6 @@
376
385
  "title.approval done list": "senarai kelulusan selesai",
377
386
  "title.approval pending list": "peti kelulusan saya",
378
387
  "title.assigned list": "senarai tugasan",
379
- "title.done list": "selesai",
380
388
  "title.draft list": "dimulakan oleh saya",
381
389
  "title.edit duration": "edit jangka masa",
382
390
  "title.import activity-approval": "import kelulusan",
@@ -189,7 +189,6 @@
189
189
  "label.filter-draft": "已中止",
190
190
  "label.filter-due": "到期",
191
191
  "label.filter-important": "重要",
192
- "label.filter-pending-approval": "等待批准",
193
192
  "label.filter-proceeding": "进行中",
194
193
  "label.filter-recent": "最近",
195
194
  "label.filter-rejected": "已拒绝",
@@ -197,6 +196,10 @@
197
196
  "label.filter-resubmitted": "重新提交",
198
197
  "label.group-approval": "需我审批",
199
198
  "label.group-completed": "完成",
199
+ "label.group-todo": "待办",
200
+ "label.group-submitted": "已提交",
201
+ "label.group-draft": "草稿",
202
+ "label.group-progress": "进行中",
200
203
  "label.group-reference": "知会给我",
201
204
  "label.hours": "小时",
202
205
  "label.information": "信息",
@@ -297,6 +300,12 @@
297
300
  "text.generated-approval-view": "默认界面",
298
301
  "text.group-approval-hint": "您批准或驳回后才会继续",
299
302
  "text.group-completed-hint": "查看已完成的审批和知会记录",
303
+ "text.group-todo-hint": "您处理后才会继续",
304
+ "text.group-submitted-hint": "已提交,等待审批",
305
+ "text.group-done-hint": "您已完成的工作",
306
+ "text.group-draft-hint": "尚未提交",
307
+ "text.group-progress-hint": "已提交,等待他人处理",
308
+ "text.group-sent-completed-hint": "您提交的、已结束的事项",
300
309
  "text.group-reference-hint": "如有意见可以填写",
301
310
  "text.handed-over-on-this-day": "没有期限。这天收到",
302
311
  "text.installable-activities": "可安装的业务",
@@ -376,7 +385,6 @@
376
385
  "title.approval done list": "批准完成列表",
377
386
  "title.approval pending list": "我的审批箱",
378
387
  "title.assigned list": "已分配列表",
379
- "title.done list": "已完成",
380
388
  "title.draft list": "我发起的",
381
389
  "title.edit duration": "编辑时长",
382
390
  "title.import activity-approval": "导入审批",