@things-factory/worklist 10.1.243 → 10.1.245

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 (37) hide show
  1. package/dist-client/activity-state-counts.d.ts +6 -0
  2. package/dist-client/activity-state-counts.js +23 -0
  3. package/dist-client/activity-state-counts.js.map +1 -0
  4. package/dist-client/chip-counts.d.ts +7 -0
  5. package/dist-client/chip-counts.js +11 -0
  6. package/dist-client/chip-counts.js.map +1 -0
  7. package/dist-client/chip-filters.d.ts +7 -0
  8. package/dist-client/chip-filters.js +42 -0
  9. package/dist-client/chip-filters.js.map +1 -1
  10. package/dist-client/pages/activity/activity-list-page.d.ts +2 -0
  11. package/dist-client/pages/activity/activity-list-page.js +11 -1
  12. package/dist-client/pages/activity/activity-list-page.js.map +1 -1
  13. package/dist-client/pages/todo/approval-done-list-page.d.ts +4 -0
  14. package/dist-client/pages/todo/approval-done-list-page.js +21 -10
  15. package/dist-client/pages/todo/approval-done-list-page.js.map +1 -1
  16. package/dist-client/pages/todo/approval-pending-list-page.d.ts +4 -0
  17. package/dist-client/pages/todo/approval-pending-list-page.js +21 -13
  18. package/dist-client/pages/todo/approval-pending-list-page.js.map +1 -1
  19. package/dist-client/pages/todo/done-list-calendar-page.d.ts +5 -1
  20. package/dist-client/pages/todo/done-list-calendar-page.js +33 -52
  21. package/dist-client/pages/todo/done-list-calendar-page.js.map +1 -1
  22. package/dist-client/pages/todo/pickable-list-page.d.ts +4 -0
  23. package/dist-client/pages/todo/pickable-list-page.js +21 -10
  24. package/dist-client/pages/todo/pickable-list-page.js.map +1 -1
  25. package/dist-client/pages/todo/todo-list-page.d.ts +4 -0
  26. package/dist-client/pages/todo/todo-list-page.js +20 -21
  27. package/dist-client/pages/todo/todo-list-page.js.map +1 -1
  28. package/dist-client/tsconfig.tsbuildinfo +1 -1
  29. package/dist-client/work-calendar-sources.d.ts +7 -2
  30. package/dist-client/work-calendar-sources.js +15 -6
  31. package/dist-client/work-calendar-sources.js.map +1 -1
  32. package/dist-server/service/activity/activity-query.d.ts +2 -1
  33. package/dist-server/service/activity/activity-query.js +22 -1
  34. package/dist-server/service/activity/activity-query.js.map +1 -1
  35. package/dist-server/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +13 -12
  37. package/tests/open-doors.test.ts +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/worklist",
3
- "version": "10.1.243",
3
+ "version": "10.1.245",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "exports": {
@@ -49,21 +49,22 @@
49
49
  "@operato/event-view": "^10.29.43",
50
50
  "@operato/graphql": "^10.29.43",
51
51
  "@operato/grist-editor": "^10.29.43",
52
+ "@operato/input": "^10.29.43",
52
53
  "@operato/layout": "^10.29.43",
53
54
  "@operato/list-state": "^10.29.43",
54
55
  "@operato/moment-timezone-es": "^10.0.0",
55
56
  "@operato/p13n": "^10.29.43",
56
57
  "@operato/popup": "^10.29.43",
57
- "@things-factory/attachment-base": "^10.1.241",
58
- "@things-factory/auth-base": "^10.1.241",
59
- "@things-factory/board-service": "^10.1.243",
60
- "@things-factory/context-ui": "^10.1.234",
61
- "@things-factory/i18n-base": "^10.1.241",
62
- "@things-factory/notification": "^10.1.243",
63
- "@things-factory/organization": "^10.1.243",
64
- "@things-factory/personalization": "^10.1.241",
65
- "@things-factory/scheduler-client": "^10.1.241",
66
- "@things-factory/shell": "^10.1.234"
58
+ "@things-factory/attachment-base": "^10.1.245",
59
+ "@things-factory/auth-base": "^10.1.245",
60
+ "@things-factory/board-service": "^10.1.245",
61
+ "@things-factory/context-ui": "^10.1.245",
62
+ "@things-factory/i18n-base": "^10.1.245",
63
+ "@things-factory/notification": "^10.1.245",
64
+ "@things-factory/organization": "^10.1.245",
65
+ "@things-factory/personalization": "^10.1.245",
66
+ "@things-factory/scheduler-client": "^10.1.245",
67
+ "@things-factory/shell": "^10.1.245"
67
68
  },
68
- "gitHead": "70a77f8a032f297a9d756ad530d3072e7a6c4bed"
69
+ "gitHead": "f7479631094a1c70b486485b556885b069025f88"
69
70
  }
@@ -68,6 +68,7 @@ const OPEN_BY_DECISION: Record<Root, Record<string, string>> = {
68
68
 
69
69
  /* A catalogue of this domain - what can be started, not anybody's case. */
70
70
  activities: 'activity definitions of this domain',
71
+ activityStateCounts: 'how many of the activity definitions of this domain hold each state',
71
72
  activity: 'one activity definition of this domain',
72
73
  activityByName: 'one activity definition of this domain, by name',
73
74
  startableActivities: 'definitions the caller may start here',
@@ -263,11 +264,11 @@ describe('what the walk itself has to be true for', () => {
263
264
  })
264
265
 
265
266
  it('the census, in plain numbers', () => {
266
- /* 2026-09-24 after the rulings: 34 open by reason, 3 read in the body, 9 closed, 3 removed. 2026-10-16: +submittedList. */
267
+ /* 2026-09-24 after the rulings: 34 open by reason, 3 read in the body, 9 closed, 3 removed. 2026-10-16: +submittedList. 2026-11-02: +activityStateCounts. */
267
268
  const count = (lists: Record<Root, Record<string, string>>) =>
268
269
  Object.keys(lists.Query).length + Object.keys(lists.Mutation).length
269
270
 
270
- expect(count(OPEN_BY_DECISION)).toBe(35)
271
+ expect(count(OPEN_BY_DECISION)).toBe(36)
271
272
  expect(count(READ_IN_THE_BODY)).toBe(3)
272
273
  expect(CLOSED.Query.length + CLOSED.Mutation.length).toBe(9)
273
274
  expect(REMOVED.Query.length + REMOVED.Mutation.length).toBe(3)