@burdenoff/microfe-workspaces 2026.510.50 → 2026.511.1

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 (69) hide show
  1. package/dist/generated/wspace-operations.d.ts +91 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +79 -51
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/hooks/useMemberMutations.d.ts.map +1 -1
  6. package/dist/hooks/useMemberMutations.js +141 -60
  7. package/dist/hooks/useMemberMutations.js.map +1 -1
  8. package/dist/hooks/useProjectMutations.d.ts.map +1 -1
  9. package/dist/hooks/useProjectMutations.js +84 -44
  10. package/dist/hooks/useProjectMutations.js.map +1 -1
  11. package/dist/hooks/useWorkspaceMutations.d.ts.map +1 -1
  12. package/dist/hooks/useWorkspaceMutations.js +64 -29
  13. package/dist/hooks/useWorkspaceMutations.js.map +1 -1
  14. package/dist/hooks/useWorkspacesEventEmitter.d.ts +5 -1
  15. package/dist/hooks/useWorkspacesEventEmitter.d.ts.map +1 -1
  16. package/dist/hooks/useWorkspacesEventEmitter.js +8 -7
  17. package/dist/hooks/useWorkspacesEventEmitter.js.map +1 -1
  18. package/dist/hooks/useWorkspacesPageView.d.ts +27 -0
  19. package/dist/hooks/useWorkspacesPageView.d.ts.map +1 -0
  20. package/dist/hooks/useWorkspacesPageView.js +29 -0
  21. package/dist/hooks/useWorkspacesPageView.js.map +1 -0
  22. package/dist/pages/ActivityListPage.d.ts.map +1 -1
  23. package/dist/pages/ActivityListPage.js +59 -56
  24. package/dist/pages/ActivityListPage.js.map +1 -1
  25. package/dist/pages/CreateWorkspacePage.d.ts.map +1 -1
  26. package/dist/pages/CreateWorkspacePage.js +104 -104
  27. package/dist/pages/CreateWorkspacePage.js.map +1 -1
  28. package/dist/pages/InviteAcceptancePage.d.ts.map +1 -1
  29. package/dist/pages/InviteAcceptancePage.js +197 -216
  30. package/dist/pages/InviteAcceptancePage.js.map +1 -1
  31. package/dist/pages/MembersListPage.d.ts.map +1 -1
  32. package/dist/pages/MembersListPage.js +142 -138
  33. package/dist/pages/MembersListPage.js.map +1 -1
  34. package/dist/pages/ProjectDetailPage.d.ts.map +1 -1
  35. package/dist/pages/ProjectDetailPage.js +181 -176
  36. package/dist/pages/ProjectDetailPage.js.map +1 -1
  37. package/dist/pages/ProjectsListPage.d.ts.map +1 -1
  38. package/dist/pages/ProjectsListPage.js +175 -171
  39. package/dist/pages/ProjectsListPage.js.map +1 -1
  40. package/dist/pages/WorkspaceDetailPage.d.ts.map +1 -1
  41. package/dist/pages/WorkspaceDetailPage.js +104 -101
  42. package/dist/pages/WorkspaceDetailPage.js.map +1 -1
  43. package/dist/pages/WorkspaceSettingsPage.d.ts.map +1 -1
  44. package/dist/pages/WorkspaceSettingsPage.js +182 -137
  45. package/dist/pages/WorkspaceSettingsPage.js.map +1 -1
  46. package/dist/pages/WorkspacesListPage.d.ts.map +1 -1
  47. package/dist/pages/WorkspacesListPage.js +77 -77
  48. package/dist/pages/WorkspacesListPage.js.map +1 -1
  49. package/dist/pages/dashboard/DashboardCustomizer.d.ts.map +1 -1
  50. package/dist/pages/dashboard/DashboardCustomizer.js +53 -55
  51. package/dist/pages/dashboard/DashboardCustomizer.js.map +1 -1
  52. package/dist/pages/dashboard/DashboardGrid.d.ts.map +1 -1
  53. package/dist/pages/dashboard/DashboardGrid.js +33 -36
  54. package/dist/pages/dashboard/DashboardGrid.js.map +1 -1
  55. package/dist/pages/dashboard/DashboardPage.d.ts.map +1 -1
  56. package/dist/pages/dashboard/DashboardPage.js +67 -65
  57. package/dist/pages/dashboard/DashboardPage.js.map +1 -1
  58. package/dist/pages/dashboard/WidgetWrapper.d.ts.map +1 -1
  59. package/dist/pages/dashboard/WidgetWrapper.js +3 -6
  60. package/dist/pages/dashboard/WidgetWrapper.js.map +1 -1
  61. package/dist/utils/i18n.d.ts +13 -0
  62. package/dist/utils/i18n.d.ts.map +1 -0
  63. package/dist/utils/i18n.js +12 -0
  64. package/dist/utils/i18n.js.map +1 -0
  65. package/dist/utils/telemetryError.d.ts +2 -0
  66. package/dist/utils/telemetryError.d.ts.map +1 -0
  67. package/dist/utils/telemetryError.js +28 -0
  68. package/dist/utils/telemetryError.js.map +1 -0
  69. package/package.json +9 -4
@@ -1,7 +1,7 @@
1
1
  import { gql as e } from "@apollo/client";
2
- import "@apollo/client/react";
2
+ import * as t from "@apollo/client/react";
3
3
  //#region src/generated/wspace-operations.ts
4
- var t = e`
4
+ var n = {}, r = e`
5
5
  fragment WorkspaceMemberFields on WorkspaceMember {
6
6
  id
7
7
  workspaceId
@@ -13,7 +13,7 @@ var t = e`
13
13
  metadata
14
14
  }
15
15
  }
16
- `, n = e`
16
+ `, i = e`
17
17
  fragment InvitationCardFields on Invitation {
18
18
  id
19
19
  email
@@ -28,7 +28,7 @@ var t = e`
28
28
  metadata
29
29
  }
30
30
  }
31
- `, r = e`
31
+ `, a = e`
32
32
  fragment InvitationFullFields on Invitation {
33
33
  ...InvitationCardFields
34
34
  projectId
@@ -36,7 +36,7 @@ var t = e`
36
36
  updatedAt
37
37
  deletedAt
38
38
  }
39
- ${n}`, i = e`
39
+ ${i}`, o = e`
40
40
  fragment ProjectCardFields on Project {
41
41
  id
42
42
  name
@@ -48,7 +48,7 @@ var t = e`
48
48
  createdAt
49
49
  updatedAt
50
50
  }
51
- `, a = e`
51
+ `, s = e`
52
52
  fragment ProjectTagAssignmentFields on ProjectTagAssignment {
53
53
  id
54
54
  tagId
@@ -61,7 +61,7 @@ var t = e`
61
61
  validTo
62
62
  metadata
63
63
  }
64
- `, o = e`
64
+ `, c = e`
65
65
  fragment ProjectFullFields on Project {
66
66
  ...ProjectCardFields
67
67
  creatorId
@@ -71,8 +71,8 @@ var t = e`
71
71
  ...ProjectTagAssignmentFields
72
72
  }
73
73
  }
74
- ${i}
75
- ${a}`, s = e`
74
+ ${o}
75
+ ${s}`, l = e`
76
76
  fragment WorkspaceCardFields on Workspace {
77
77
  id
78
78
  name
@@ -87,7 +87,7 @@ ${a}`, s = e`
87
87
  metadata
88
88
  }
89
89
  }
90
- `, c = e`
90
+ `, u = e`
91
91
  fragment WorkspaceTagAssignmentFields on WorkspaceTagAssignment {
92
92
  id
93
93
  tagId
@@ -99,8 +99,20 @@ ${a}`, s = e`
99
99
  validFrom
100
100
  validTo
101
101
  metadata
102
+ tag {
103
+ id
104
+ key
105
+ label
106
+ value
107
+ color
108
+ icon
109
+ description
110
+ vocabularyId
111
+ parentId
112
+ hierarchyPath
113
+ }
102
114
  }
103
- `, l = e`
115
+ `, d = e`
104
116
  fragment WorkspaceFullFields on Workspace {
105
117
  ...WorkspaceCardFields
106
118
  website
@@ -114,8 +126,8 @@ ${a}`, s = e`
114
126
  ...WorkspaceTagAssignmentFields
115
127
  }
116
128
  }
117
- ${s}
118
- ${c}`, u = e`
129
+ ${l}
130
+ ${u}`, f = e`
119
131
  query DashboardProjects($filter: ProjectFilterInput) {
120
132
  projects(filter: $filter, pagination: {limit: 10}) {
121
133
  items {
@@ -129,7 +141,7 @@ ${c}`, u = e`
129
141
  total
130
142
  }
131
143
  }
132
- `, d = e`
144
+ `, p = e`
133
145
  query DashboardWorkspaceData {
134
146
  getRecentActivities(limit: 8) {
135
147
  id
@@ -184,7 +196,7 @@ ${c}`, u = e`
184
196
  maxStorageGb
185
197
  }
186
198
  }
187
- `, f = e`
199
+ `, m = e`
188
200
  mutation AddWorkspaceMember($input: AddWorkspaceMemberInput!) {
189
201
  addWorkspaceMember(input: $input) {
190
202
  id
@@ -198,15 +210,15 @@ ${c}`, u = e`
198
210
  }
199
211
  }
200
212
  }
201
- `, p = e`
213
+ `, h = e`
202
214
  mutation RemoveWorkspaceMember($id: ID!) {
203
215
  removeWorkspaceMember(id: $id)
204
216
  }
205
- `, m = e`
217
+ `, g = e`
206
218
  mutation RemoveUserFromWorkspace($userId: ID!) {
207
219
  removeUserFromWorkspace(userId: $userId)
208
220
  }
209
- `, h = e`
221
+ `, _ = e`
210
222
  mutation CreateInvitation($input: CreateInvitationInput!) {
211
223
  createInvitation(input: $input) {
212
224
  id
@@ -225,7 +237,7 @@ ${c}`, u = e`
225
237
  }
226
238
  }
227
239
  }
228
- `, g = e`
240
+ `, v = e`
229
241
  mutation UpdateInvitation($id: ID!, $input: UpdateInvitationInput!) {
230
242
  updateInvitation(id: $id, input: $input) {
231
243
  id
@@ -240,7 +252,7 @@ ${c}`, u = e`
240
252
  }
241
253
  }
242
254
  }
243
- `, _ = e`
255
+ `, y = e`
244
256
  mutation AcceptInvitation($id: ID!) {
245
257
  acceptInvitation(id: $id) {
246
258
  id
@@ -248,7 +260,7 @@ ${c}`, u = e`
248
260
  updatedAt
249
261
  }
250
262
  }
251
- `, v = e`
263
+ `, b = e`
252
264
  mutation RejectInvitation($id: ID!) {
253
265
  rejectInvitation(id: $id) {
254
266
  id
@@ -256,7 +268,7 @@ ${c}`, u = e`
256
268
  updatedAt
257
269
  }
258
270
  }
259
- `, y = e`
271
+ `, x = e`
260
272
  mutation CancelInvitation($id: ID!) {
261
273
  cancelInvitation(id: $id) {
262
274
  id
@@ -264,18 +276,18 @@ ${c}`, u = e`
264
276
  updatedAt
265
277
  }
266
278
  }
267
- `, b = e`
279
+ `, S = e`
268
280
  mutation ResendInvitation($id: ID!) {
269
281
  resendInvitation(id: $id) {
270
282
  id
271
283
  updatedAt
272
284
  }
273
285
  }
274
- `, x = e`
286
+ `, C = e`
275
287
  mutation DeleteInvitation($id: ID!) {
276
288
  deleteInvitation(id: $id)
277
289
  }
278
- `, S = e`
290
+ `, w = e`
279
291
  mutation BulkCreateInvitations($inputs: [CreateInvitationInput!]!) {
280
292
  bulkCreateInvitations(inputs: $inputs) {
281
293
  id
@@ -359,7 +371,7 @@ e`
359
371
  ...ProjectTagAssignmentFields
360
372
  }
361
373
  }
362
- ${a}`, e`
374
+ ${s}`, e`
363
375
  mutation UntagProject($input: UntagProjectInput!) {
364
376
  untagProject(input: $input)
365
377
  }
@@ -369,7 +381,7 @@ e`
369
381
  ...ProjectTagAssignmentFields
370
382
  }
371
383
  }
372
- ${a}`, e`
384
+ ${s}`, e`
373
385
  mutation CreateWorkspace($input: CreateWorkspaceInput!) {
374
386
  createWorkspace(input: $input) {
375
387
  id
@@ -386,7 +398,7 @@ e`
386
398
  }
387
399
  }
388
400
  `;
389
- var C = e`
401
+ var T = e`
390
402
  mutation UpdateWorkspace($id: ID!, $input: UpdateWorkspaceInput!) {
391
403
  updateWorkspace(id: $id, input: $input) {
392
404
  id
@@ -405,11 +417,11 @@ var C = e`
405
417
  }
406
418
  }
407
419
  }
408
- `, w = e`
420
+ `, E = e`
409
421
  mutation DeleteWorkspace($id: ID!) {
410
422
  deleteWorkspace(id: $id)
411
423
  }
412
- `, T = e`
424
+ `, D = e`
413
425
  mutation ArchiveWorkspace($id: ID!) {
414
426
  updateWorkspace(id: $id, input: {status: ARCHIVED}) {
415
427
  id
@@ -418,7 +430,7 @@ var C = e`
418
430
  updatedAt
419
431
  }
420
432
  }
421
- `, E = e`
433
+ `, O = e`
422
434
  mutation ReactivateWorkspace($id: ID!) {
423
435
  updateWorkspace(id: $id, input: {status: ACTIVE}) {
424
436
  id
@@ -442,18 +454,26 @@ e`
442
454
  ...WorkspaceTagAssignmentFields
443
455
  }
444
456
  }
445
- ${c}`, e`
457
+ ${u}`, e`
446
458
  mutation UntagWorkspace($input: UntagWorkspaceInput!) {
447
459
  untagWorkspace(input: $input)
448
460
  }
449
- `, e`
461
+ `;
462
+ var k = e`
450
463
  mutation ReplaceWorkspaceTags($input: ReplaceWorkspaceTagsInput!) {
451
464
  replaceWorkspaceTags(input: $input) {
452
465
  ...WorkspaceTagAssignmentFields
453
466
  }
454
467
  }
455
- ${c}`;
456
- var D = e`
468
+ ${u}`;
469
+ function A(e) {
470
+ let r = {
471
+ ...n,
472
+ ...e
473
+ };
474
+ return t.useMutation(k, r);
475
+ }
476
+ var j = e`
457
477
  query GetWorkspaceMembers($workspaceId: ID!, $pagination: PaginationInput) {
458
478
  workspaceMembers(workspaceId: $workspaceId, pagination: $pagination) {
459
479
  items {
@@ -463,13 +483,13 @@ var D = e`
463
483
  hasMore
464
484
  }
465
485
  }
466
- ${t}`, O = e`
486
+ ${r}`, M = e`
467
487
  query GetWorkspaceMember($id: ID!) {
468
488
  workspaceMember(id: $id) {
469
489
  ...WorkspaceMemberFields
470
490
  }
471
491
  }
472
- ${t}`, k = e`
492
+ ${r}`, N = e`
473
493
  query GetUserWorkspaces($userId: ID!, $pagination: PaginationInput) {
474
494
  userWorkspaces(userId: $userId, pagination: $pagination) {
475
495
  items {
@@ -479,7 +499,7 @@ var D = e`
479
499
  hasMore
480
500
  }
481
501
  }
482
- ${t}`, A = e`
502
+ ${r}`, P = e`
483
503
  query GetWorkspaceInvitations($status: InviteStatus, $pagination: PaginationInput) {
484
504
  workspaceInvitations(status: $status, pagination: $pagination) {
485
505
  items {
@@ -489,13 +509,13 @@ var D = e`
489
509
  hasMore
490
510
  }
491
511
  }
492
- ${r}`, j = e`
512
+ ${a}`, F = e`
493
513
  query GetInvitation($id: ID!) {
494
514
  invitation(id: $id) {
495
515
  ...InvitationFullFields
496
516
  }
497
517
  }
498
- ${r}`;
518
+ ${a}`;
499
519
  e`
500
520
  query GetMyPendingInvitations($email: String!) {
501
521
  myPendingInvitations(email: $email) {
@@ -503,7 +523,7 @@ e`
503
523
  deletedAt
504
524
  }
505
525
  }
506
- ${n}`, e`
526
+ ${i}`, e`
507
527
  query GetProjects($filter: ProjectFilterInput, $pagination: PaginationInput) {
508
528
  projects(filter: $filter, pagination: $pagination) {
509
529
  items {
@@ -513,13 +533,13 @@ e`
513
533
  hasMore
514
534
  }
515
535
  }
516
- ${o}`, e`
536
+ ${c}`, e`
517
537
  query GetProject($id: ID!) {
518
538
  project(id: $id) {
519
539
  ...ProjectFullFields
520
540
  }
521
541
  }
522
- ${o}`, e`
542
+ ${c}`, e`
523
543
  query GetMyProjects($pagination: PaginationInput) {
524
544
  myProjects(pagination: $pagination) {
525
545
  items {
@@ -529,14 +549,14 @@ e`
529
549
  hasMore
530
550
  }
531
551
  }
532
- ${i}`, e`
552
+ ${o}`, e`
533
553
  query GetProjectTags($input: GetProjectTagsInput!) {
534
554
  getProjectTags(input: $input) {
535
555
  ...ProjectTagAssignmentFields
536
556
  }
537
557
  }
538
- ${a}`;
539
- var M = e`
558
+ ${s}`;
559
+ var I = e`
540
560
  query GetWorkspaces($filter: WorkspaceFilterInput, $pagination: PaginationInput) {
541
561
  workspaces(filter: $filter, pagination: $pagination) {
542
562
  items {
@@ -546,13 +566,13 @@ var M = e`
546
566
  hasMore
547
567
  }
548
568
  }
549
- ${l}`, N = e`
569
+ ${d}`, L = e`
550
570
  query GetWorkspace($id: ID!) {
551
571
  workspace(id: $id) {
552
572
  ...WorkspaceFullFields
553
573
  }
554
574
  }
555
- ${l}`;
575
+ ${d}`;
556
576
  e`
557
577
  query GetMyWorkspaces($pagination: PaginationInput) {
558
578
  myWorkspaces(pagination: $pagination) {
@@ -563,14 +583,22 @@ e`
563
583
  hasMore
564
584
  }
565
585
  }
566
- ${s}`, e`
586
+ ${l}`;
587
+ var R = e`
567
588
  query GetWorkspaceTags($input: GetWorkspaceTagsInput!) {
568
589
  getWorkspaceTags(input: $input) {
569
590
  ...WorkspaceTagAssignmentFields
570
591
  }
571
592
  }
572
- ${c}`;
593
+ ${u}`;
594
+ function z(e) {
595
+ let r = {
596
+ ...n,
597
+ ...e
598
+ };
599
+ return t.useQuery(R, r);
600
+ }
573
601
  //#endregion
574
- export { _ as AcceptInvitationDocument, f as AddWorkspaceMemberDocument, T as ArchiveWorkspaceDocument, S as BulkCreateInvitationsDocument, y as CancelInvitationDocument, h as CreateInvitationDocument, u as DashboardProjectsDocument, d as DashboardWorkspaceDataDocument, x as DeleteInvitationDocument, w as DeleteWorkspaceDocument, j as GetInvitationDocument, k as GetUserWorkspacesDocument, N as GetWorkspaceDocument, A as GetWorkspaceInvitationsDocument, O as GetWorkspaceMemberDocument, D as GetWorkspaceMembersDocument, M as GetWorkspacesDocument, E as ReactivateWorkspaceDocument, v as RejectInvitationDocument, m as RemoveUserFromWorkspaceDocument, p as RemoveWorkspaceMemberDocument, b as ResendInvitationDocument, g as UpdateInvitationDocument, C as UpdateWorkspaceDocument };
602
+ export { y as AcceptInvitationDocument, m as AddWorkspaceMemberDocument, D as ArchiveWorkspaceDocument, w as BulkCreateInvitationsDocument, x as CancelInvitationDocument, _ as CreateInvitationDocument, f as DashboardProjectsDocument, p as DashboardWorkspaceDataDocument, C as DeleteInvitationDocument, E as DeleteWorkspaceDocument, F as GetInvitationDocument, N as GetUserWorkspacesDocument, L as GetWorkspaceDocument, P as GetWorkspaceInvitationsDocument, M as GetWorkspaceMemberDocument, j as GetWorkspaceMembersDocument, I as GetWorkspacesDocument, O as ReactivateWorkspaceDocument, b as RejectInvitationDocument, g as RemoveUserFromWorkspaceDocument, h as RemoveWorkspaceMemberDocument, S as ResendInvitationDocument, v as UpdateInvitationDocument, T as UpdateWorkspaceDocument, z as useGetWorkspaceTagsQuery, A as useReplaceWorkspaceTagsMutation };
575
603
 
576
604
  //# sourceMappingURL=wspace-operations.js.map