@ynput/ayon-frontend-shared 0.6.9 → 0.7.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.
Files changed (65) hide show
  1. package/dist/ContextMenu.es.js +44 -27
  2. package/dist/DetailsPanel.es.js +225 -224
  3. package/dist/ListTable.es.js +420 -420
  4. package/dist/NewEntity.es.js +42 -41
  5. package/dist/ProjectTreeTable.es.js +3517 -3378
  6. package/dist/Slicer.es.js +301 -276
  7. package/dist/Views.es.js +366 -352
  8. package/dist/api.es.js +428 -413
  9. package/dist/chunks/Actions.es.js +18 -17
  10. package/dist/chunks/ColumnDropIndicator.es.js +19 -18
  11. package/dist/chunks/ColumnHeaderMenuUI.es.js +2 -2
  12. package/dist/chunks/ContextMenuContextInstance.es.js +4 -3
  13. package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +53 -41
  14. package/dist/chunks/DetailsDialog.es.js +26 -24
  15. package/dist/chunks/EmptyPlaceholder.es.js +3 -3
  16. package/dist/chunks/EmptyPlaceholderFlex.styled.es.js +40 -0
  17. package/dist/chunks/EntityPath.es.js +60 -59
  18. package/dist/chunks/EntityPickerDialog.es.js +88 -83
  19. package/dist/chunks/EntityTooltip.es.js +15 -14
  20. package/dist/chunks/EntityUpdatesContext.es.js +11 -11
  21. package/dist/chunks/Feed.es.js +864 -859
  22. package/dist/chunks/FilterErrorActions.es.js +4 -3
  23. package/dist/chunks/Menu.es.js +633 -289
  24. package/dist/chunks/MenuContext.es.js +1 -1
  25. package/dist/chunks/MetaWidget.es.js +2457 -2196
  26. package/dist/chunks/PlayableIcon.es.js +77 -76
  27. package/dist/chunks/ProjectContext.es.js +6 -6
  28. package/dist/chunks/RepresentationsList.es.js +1 -1
  29. package/dist/chunks/ReviewablesSelector.es.js +625 -609
  30. package/dist/chunks/SimpleForm.es.js +1 -1
  31. package/dist/chunks/SimpleTable.es.js +386 -363
  32. package/dist/chunks/Slicer.es.js +954 -821
  33. package/dist/chunks/{DeleteEntitiesContextInstance.es.js → TableExportContextInstance.es.js} +190 -186
  34. package/dist/chunks/TableSettingsFallback.es.js +4 -3
  35. package/dist/chunks/ThumbnailSimple.es.js +100 -99
  36. package/dist/chunks/VideoPlayer.es.js +1 -1
  37. package/dist/chunks/Watchers.es.js +222 -221
  38. package/dist/chunks/getBundleMode.es.js +1 -1
  39. package/dist/chunks/getEntityTypeIcon.es.js +5 -4
  40. package/dist/chunks/getUris.es.js +3873 -3736
  41. package/dist/chunks/realtimeUpdatesUtils.es.js +91 -82
  42. package/dist/chunks/searchTerms.es.js +621 -499
  43. package/dist/chunks/sortLists.es.js +22 -0
  44. package/dist/chunks/useAttributeEnums.es.js +43 -43
  45. package/dist/chunks/useHierarchySelection.es.js +6 -5
  46. package/dist/chunks/useLoadModule.es.js +24 -23
  47. package/dist/chunks/viewUpdateHelper.es.js +16 -15
  48. package/dist/components.es.js +565 -531
  49. package/dist/context.es.js +529 -503
  50. package/dist/hooks.es.js +13 -13
  51. package/dist/index.es.js +4 -4
  52. package/dist/types/ContextMenu.d.ts +4 -1
  53. package/dist/types/Feed.d.ts +1 -1
  54. package/dist/types/ListTable.d.ts +1 -1
  55. package/dist/types/ProjectTreeTable.d.ts +123 -13
  56. package/dist/types/SimpleTable.d.ts +2 -1
  57. package/dist/types/Slicer.d.ts +26 -1
  58. package/dist/types/Views.d.ts +2 -0
  59. package/dist/types/api.d.ts +2359 -590
  60. package/dist/types/components.d.ts +30 -4
  61. package/dist/types/context.d.ts +94 -2
  62. package/dist/types/util.d.ts +54 -0
  63. package/dist/util.es.js +129 -119
  64. package/package.json +2 -2
  65. package/dist/chunks/MenuItem.es.js +0 -420
@@ -1,13 +1,15 @@
1
- import { toast as K } from "react-toastify";
2
- import { fetchBaseQuery as Q, createApi as W } from "@reduxjs/toolkit/query/react";
3
- import { graphqlRequestBaseQuery as z } from "@rtk-query/graphql-request-base-query";
4
- import { GraphQLClient as Y } from "graphql-request";
5
- import { rankings as k, rankItem as J } from "@tanstack/match-sorter-utils";
1
+ import { toast as W } from "react-toastify";
2
+ import { fetchBaseQuery as z, createApi as Y } from "@reduxjs/toolkit/query/react";
3
+ import { graphqlRequestBaseQuery as J } from "@rtk-query/graphql-request-base-query";
4
+ import { GraphQLClient as X } from "graphql-request";
5
+ import { combineSlices as Z, createDynamicMiddleware as A, configureStore as ee } from "@reduxjs/toolkit";
6
+ import { setupListeners as te } from "@reduxjs/toolkit/query";
7
+ import { rankings as k, rankItem as ae } from "@tanstack/match-sorter-utils";
6
8
  const j = (t) => typeof t == "object" && t !== null, x = (t) => {
7
9
  if (typeof t.status == "number") return t.status;
8
10
  if (typeof t.originalStatus == "number") return t.originalStatus;
9
11
  if (typeof t.response?.status == "number") return t.response.status;
10
- }, b = (t) => {
12
+ }, I = (t) => {
11
13
  if (typeof t == "string") return t;
12
14
  if (t instanceof Error) return t.message;
13
15
  if (!j(t)) return String(t);
@@ -27,15 +29,15 @@ const j = (t) => typeof t == "object" && t !== null, x = (t) => {
27
29
  }, F = (t, e = 500) => {
28
30
  const a = j(t) && j(t.error) && x(t) === void 0 ? t.error : t;
29
31
  if (j(a)) {
30
- const n = x(a) ?? e, p = a.data ?? a.response?.data;
31
- if (j(p)) {
32
- const c = b(a);
32
+ const n = x(a) ?? e, o = a.data ?? a.response?.data;
33
+ if (j(o)) {
34
+ const c = I(a);
33
35
  return {
34
36
  status: n,
35
37
  data: {
36
- ...p,
37
- code: typeof p.code == "number" ? p.code : n,
38
- detail: typeof p.detail == "string" ? p.detail : c
38
+ ...o,
39
+ code: typeof o.code == "number" ? o.code : n,
40
+ detail: typeof o.detail == "string" ? o.detail : c
39
41
  }
40
42
  };
41
43
  }
@@ -43,7 +45,7 @@ const j = (t) => typeof t == "object" && t !== null, x = (t) => {
43
45
  status: n,
44
46
  data: {
45
47
  code: n,
46
- detail: b(a)
48
+ detail: I(a)
47
49
  }
48
50
  };
49
51
  }
@@ -51,23 +53,23 @@ const j = (t) => typeof t == "object" && t !== null, x = (t) => {
51
53
  status: e,
52
54
  data: {
53
55
  code: e,
54
- detail: b(t)
56
+ detail: I(t)
55
57
  }
56
58
  };
57
- }, qt = (t) => {
59
+ }, Qt = (t) => {
58
60
  const e = t?.data?.errorCodes ?? t?.errorCodes;
59
61
  return Array.isArray(e) ? e : [];
60
- }, X = (t, ...e) => (a, n, p) => {
62
+ }, se = (t, ...e) => (a, n, o) => {
61
63
  for (const { predicate: c, baseQuery: l } of e)
62
- if (c(a, n, p))
63
- return l(a, n, p);
64
- return t(a, n, p);
65
- }, Ct = (t, e, a) => t.map((n) => ({
64
+ if (c(a, n, o))
65
+ return l(a, n, o);
66
+ return t(a, n, o);
67
+ }, Wt = (t, e, a) => t.map((n) => ({
66
68
  type: "update",
67
69
  entityType: e,
68
70
  entityId: n,
69
71
  data: a
70
- })), Z = [
72
+ })), re = [
71
73
  "accessGroup",
72
74
  "actionConfig",
73
75
  "actions",
@@ -141,10 +143,10 @@ const j = (t) => typeof t == "object" && t !== null, x = (t) => {
141
143
  "linkSearchItem",
142
144
  "guest",
143
145
  "category"
144
- ], L = (t) => {
146
+ ], O = (t) => {
145
147
  const e = localStorage.getItem("accessToken");
146
148
  return e && t.set("Authorization", `Bearer ${e}`), t.set("X-Sender", window.senderId), t;
147
- }, A = new Y(`${window.location.origin}/graphql`), ee = (t) => {
149
+ }, ne = new X(`${window.location.origin}/graphql`), oe = (t) => {
148
150
  if (t.response.errors?.length)
149
151
  return {
150
152
  status: t.response.status,
@@ -165,22 +167,22 @@ const j = (t) => typeof t == "object" && t !== null, x = (t) => {
165
167
  status: t.response.status,
166
168
  data: e
167
169
  };
168
- }, te = z({
169
- prepareHeaders: L,
170
+ }, ie = J({
171
+ prepareHeaders: O,
170
172
  url: "/graphql",
171
173
  // @ts-ignore
172
- client: A,
173
- customErrors: ee
174
- }), ae = Q({ baseUrl: "/", prepareHeaders: L }), se = X(ae, {
175
- baseQuery: te,
174
+ client: ne,
175
+ customErrors: oe
176
+ }), de = z({ baseUrl: "/", prepareHeaders: O }), pe = se(de, {
177
+ baseQuery: ie,
176
178
  // variables are optional for graphql queries, the document alone identifies a graphql request
177
179
  predicate: (t) => !!t?.document
178
- }), re = async (t, e, a) => {
179
- const n = window.location.pathname, p = (typeof t == "string" ? t : t?.url) || "", c = () => {
180
- p.startsWith("/api/connect") || n.startsWith("/login") || (console.error("Unauthorized: 401 error"), window.location.href = "/login");
180
+ }), ce = async (t, e, a) => {
181
+ const n = window.location.pathname, o = (typeof t == "string" ? t : t?.url) || "", c = () => {
182
+ o.startsWith("/api/connect") || n.startsWith("/login") || (console.error("Unauthorized: 401 error"), window.location.href = "/login");
181
183
  };
182
184
  try {
183
- const l = await se(t, e, a);
185
+ const l = await pe(t, e, a);
184
186
  if (l?.error && console.error(`ERROR [${e.endpoint}]`, l.error), l?.error) {
185
187
  const $ = F(l.error);
186
188
  return $.status === 401 && c(), { ...l, error: $ };
@@ -190,13 +192,19 @@ const j = (t) => typeof t == "object" && t !== null, x = (t) => {
190
192
  const $ = F(l);
191
193
  return $.status === 401 ? c() : console.error(l), { error: $ };
192
194
  }
193
- }, d = W({
195
+ }, d = Y({
194
196
  reducerPath: "restApi",
195
- baseQuery: re,
197
+ baseQuery: ce,
196
198
  endpoints: () => ({}),
197
- tagTypes: Z
198
- });
199
- var ne = /* @__PURE__ */ ((t) => (t.Any = "ANY", t.Both = "BOTH", t.In = "IN", t.None = "NONE", t.Out = "OUT", t))(ne || {}), oe = /* @__PURE__ */ ((t) => (t.Avg = "AVG", t.Checked = "CHECKED", t.Count = "COUNT", t.Distribution = "DISTRIBUTION", t.Filled = "FILLED", t.Max = "MAX", t.Min = "MIN", t.NotChecked = "NOT_CHECKED", t.NotFilled = "NOT_FILLED", t.PercentageChecked = "PERCENTAGE_CHECKED", t.PercentageFilled = "PERCENTAGE_FILLED", t.PercentageNotChecked = "PERCENTAGE_NOT_CHECKED", t.PercentageNotFilled = "PERCENTAGE_NOT_FILLED", t.Sum = "SUM", t))(oe || {});
199
+ tagTypes: re
200
+ }), le = Z(d), G = A(), { addMiddleware: zt, withMiddleware: Yt } = G, Jt = () => {
201
+ const t = ee({
202
+ reducer: le,
203
+ middleware: (e) => e().concat(d.middleware, G.middleware)
204
+ });
205
+ return te(t.dispatch), t;
206
+ };
207
+ var me = /* @__PURE__ */ ((t) => (t.All = "ALL", t.Hidden = "HIDDEN", t.Visible = "VISIBLE", t))(me || {}), ue = /* @__PURE__ */ ((t) => (t.Any = "ANY", t.Both = "BOTH", t.In = "IN", t.None = "NONE", t.Out = "OUT", t))(ue || {}), ye = /* @__PURE__ */ ((t) => (t.Avg = "AVG", t.Checked = "CHECKED", t.Count = "COUNT", t.Distribution = "DISTRIBUTION", t.Filled = "FILLED", t.Max = "MAX", t.Min = "MIN", t.NotChecked = "NOT_CHECKED", t.NotFilled = "NOT_FILLED", t.PercentageChecked = "PERCENTAGE_CHECKED", t.PercentageFilled = "PERCENTAGE_FILLED", t.PercentageNotChecked = "PERCENTAGE_NOT_CHECKED", t.PercentageNotFilled = "PERCENTAGE_NOT_FILLED", t.Sum = "SUM", t))(ye || {});
200
208
  let s = class extends String {
201
209
  __apiType;
202
210
  value;
@@ -208,7 +216,7 @@ let s = class extends String {
208
216
  return this.value;
209
217
  }
210
218
  };
211
- const Dt = new s(`
219
+ const Zt = new s(`
212
220
  fragment ActivityFragment on ActivityNode {
213
221
  activityId
214
222
  activityType
@@ -254,7 +262,7 @@ const Dt = new s(`
254
262
  }
255
263
  }
256
264
  }
257
- `, { fragmentName: "ActivityFragment" }), Lt = new s(`
265
+ `, { fragmentName: "ActivityFragment" }), At = new s(`
258
266
  fragment DetailsPanelFolderFragment on FolderNode {
259
267
  id
260
268
  name
@@ -262,7 +270,7 @@ const Dt = new s(`
262
270
  path
263
271
  folderType
264
272
  }
265
- `, { fragmentName: "DetailsPanelFolderFragment" }), Rt = new s(`
273
+ `, { fragmentName: "DetailsPanelFolderFragment" }), ea = new s(`
266
274
  fragment DetailsPanelProductFragment on ProductNode {
267
275
  id
268
276
  name
@@ -274,7 +282,7 @@ const Dt = new s(`
274
282
  active
275
283
  }
276
284
  }
277
- `, { fragmentName: "DetailsPanelProductFragment" }), Gt = new s(`
285
+ `, { fragmentName: "DetailsPanelProductFragment" }), ta = new s(`
278
286
  fragment DetailsPanelRepresentationFragment on RepresentationNode {
279
287
  id
280
288
  name
@@ -283,7 +291,7 @@ const Dt = new s(`
283
291
  path
284
292
  }
285
293
  }
286
- `, { fragmentName: "DetailsPanelRepresentationFragment" }), Vt = new s(`
294
+ `, { fragmentName: "DetailsPanelRepresentationFragment" }), aa = new s(`
287
295
  fragment DetailsPanelTaskFragment on TaskNode {
288
296
  id
289
297
  name
@@ -291,7 +299,7 @@ const Dt = new s(`
291
299
  assignees
292
300
  taskType
293
301
  }
294
- `, { fragmentName: "DetailsPanelTaskFragment" }), Mt = new s(`
302
+ `, { fragmentName: "DetailsPanelTaskFragment" }), sa = new s(`
295
303
  fragment DetailsPanelVersionFragment on VersionNode {
296
304
  id
297
305
  thumbnailId
@@ -302,7 +310,14 @@ const Dt = new s(`
302
310
  version
303
311
  author
304
312
  }
305
- `, { fragmentName: "DetailsPanelVersionFragment" }), _t = new s(`
313
+ `, { fragmentName: "DetailsPanelVersionFragment" }), ra = new s(`
314
+ fragment ListMembershipFragment on EntityListInfo {
315
+ id
316
+ label
317
+ entityListType
318
+ itemIds
319
+ }
320
+ `, { fragmentName: "ListMembershipFragment" }), na = new s(`
306
321
  fragment SubTaskFragment on SubTaskNode {
307
322
  id
308
323
  name
@@ -313,7 +328,7 @@ const Dt = new s(`
313
328
  endDate
314
329
  isDone
315
330
  }
316
- `, { fragmentName: "SubTaskFragment" }), Bt = new s(`
331
+ `, { fragmentName: "SubTaskFragment" }), oa = new s(`
317
332
  fragment ListItemFragment on BaseNode {
318
333
  active
319
334
  name
@@ -419,7 +434,7 @@ const Dt = new s(`
419
434
  startDate
420
435
  endDate
421
436
  isDone
422
- }`, { fragmentName: "ListItemFragment" }), Ut = new s(`
437
+ }`, { fragmentName: "ListItemFragment" }), ia = new s(`
423
438
  fragment ColumnStatsFragment on ColumnStats {
424
439
  columnName
425
440
  min
@@ -437,7 +452,7 @@ const Dt = new s(`
437
452
  notCheckedPercentage
438
453
  distribution
439
454
  }
440
- `, { fragmentName: "ColumnStatsFragment" }), Ht = new s(`
455
+ `, { fragmentName: "ColumnStatsFragment" }), da = new s(`
441
456
  fragment TaskPropsFragment on TaskNode {
442
457
  id
443
458
  folderId
@@ -478,7 +493,7 @@ const Dt = new s(`
478
493
  startDate
479
494
  endDate
480
495
  isDone
481
- }`, { fragmentName: "TaskPropsFragment" }), Kt = new s(`
496
+ }`, { fragmentName: "TaskPropsFragment" }), pa = new s(`
482
497
  fragment ProjectFragment on ProjectNode {
483
498
  allAttrib
484
499
  active
@@ -493,7 +508,7 @@ const Dt = new s(`
493
508
  projectName
494
509
  skeleton
495
510
  }
496
- `, { fragmentName: "ProjectFragment" }), Qt = new s(`
511
+ `, { fragmentName: "ProjectFragment" }), ca = new s(`
497
512
  fragment KanbanFragment on KanbanNode {
498
513
  id
499
514
  projectName
@@ -516,14 +531,14 @@ const Dt = new s(`
516
531
  hasReviewables
517
532
  priority
518
533
  }
519
- `, { fragmentName: "KanbanFragment" }), Wt = new s(`
534
+ `, { fragmentName: "KanbanFragment" }), la = new s(`
520
535
  fragment PageInfo on PageInfo {
521
536
  startCursor
522
537
  endCursor
523
538
  hasNextPage
524
539
  hasPreviousPage
525
540
  }
526
- `, { fragmentName: "PageInfo" }), zt = new s(`
541
+ `, { fragmentName: "PageInfo" }), ma = new s(`
527
542
  fragment VersionBase on VersionNode {
528
543
  name
529
544
  id
@@ -548,7 +563,7 @@ const Dt = new s(`
548
563
  createdAt
549
564
  }
550
565
  }
551
- `, { fragmentName: "VersionBase" }), Yt = new s(`
566
+ `, { fragmentName: "VersionBase" }), ua = new s(`
552
567
  fragment VPFolder on FolderNode {
553
568
  id
554
569
  name
@@ -563,7 +578,7 @@ const Dt = new s(`
563
578
  hasReviewables
564
579
  allAttrib
565
580
  }
566
- `, { fragmentName: "VPFolder" }), Jt = new s(`
581
+ `, { fragmentName: "VPFolder" }), ya = new s(`
567
582
  fragment VersionExtended on VersionNode {
568
583
  ...VersionBase
569
584
  task {
@@ -623,7 +638,7 @@ fragment VersionBase on VersionNode {
623
638
  author
624
639
  createdAt
625
640
  }
626
- }`, { fragmentName: "VersionExtended" }), Xt = new s(`
641
+ }`, { fragmentName: "VersionExtended" }), fa = new s(`
627
642
  fragment MessageFragment on ActivityNode {
628
643
  projectName
629
644
  activityId
@@ -655,7 +670,7 @@ fragment VersionBase on VersionNode {
655
670
  label
656
671
  }
657
672
  }
658
- `, { fragmentName: "MessageFragment" }), Zt = new s(`
673
+ `, { fragmentName: "MessageFragment" }), $a = new s(`
659
674
  fragment ProgressTaskFragment on TaskNode {
660
675
  projectName
661
676
  id
@@ -693,7 +708,7 @@ fragment VersionBase on VersionNode {
693
708
  }
694
709
  }
695
710
  }
696
- `, { fragmentName: "ProgressTaskFragment" }), ie = new s(`
711
+ `, { fragmentName: "ProgressTaskFragment" }), fe = new s(`
697
712
  query GetActivitiesById($projectName: String!, $entityIds: [String!]!, $activityIds: [String!]) {
698
713
  project(name: $projectName) {
699
714
  name
@@ -761,7 +776,7 @@ fragment VersionBase on VersionNode {
761
776
  comment
762
777
  }
763
778
  }
764
- }`), de = new s(`
779
+ }`), $e = new s(`
765
780
  query GetActivityUsers($projects: [String!]) {
766
781
  users(last: 5000, projects: $projects, isSupport: false) {
767
782
  edges {
@@ -774,7 +789,7 @@ fragment VersionBase on VersionNode {
774
789
  }
775
790
  }
776
791
  }
777
- `), pe = new s(`
792
+ `), he = new s(`
778
793
  query GetActivities($projectName: String!, $entityIds: [String!]!, $after: String, $first: Int, $before: String, $last: Int, $referenceTypes: [String!], $activityTypes: [String!], $authors: [String!], $activityFilter: String) {
779
794
  project(name: $projectName) {
780
795
  name
@@ -848,7 +863,7 @@ fragment VersionBase on VersionNode {
848
863
  comment
849
864
  }
850
865
  }
851
- }`), ce = new s(`
866
+ }`), ge = new s(`
852
867
  query GetEntitiesChecklists($projectName: String!, $entityIds: [String!]!) {
853
868
  project(name: $projectName) {
854
869
  name
@@ -868,7 +883,7 @@ fragment VersionBase on VersionNode {
868
883
  }
869
884
  }
870
885
  }
871
- `), le = new s(`
886
+ `), ve = new s(`
872
887
  query GetVersionsFrameStart($projectName: String!, $versionIds: [String!]!) {
873
888
  project(name: $projectName) {
874
889
  versions(ids: $versionIds) {
@@ -883,7 +898,7 @@ fragment VersionBase on VersionNode {
883
898
  }
884
899
  }
885
900
  }
886
- `), me = new s(`
901
+ `), je = new s(`
887
902
  query GetDetailsPanelFolder($projectName: String!, $entityId: String!) {
888
903
  project(name: $projectName) {
889
904
  projectName
@@ -906,7 +921,7 @@ fragment VersionBase on VersionNode {
906
921
  }
907
922
  }
908
923
  }
909
- `), ue = new s(`
924
+ `), Ne = new s(`
910
925
  query GetDetailsPanelRepresentation($projectName: String!, $entityId: String!) {
911
926
  project(name: $projectName) {
912
927
  representation(id: $entityId) {
@@ -969,7 +984,7 @@ fragment DetailsPanelVersionFragment on VersionNode {
969
984
  productId
970
985
  version
971
986
  author
972
- }`), ye = new s(`
987
+ }`), Te = new s(`
973
988
  query GetDetailsPanelTask($projectName: String!, $entityId: String!) {
974
989
  project(name: $projectName) {
975
990
  projectName
@@ -1033,7 +1048,7 @@ fragment SubTaskFragment on SubTaskNode {
1033
1048
  startDate
1034
1049
  endDate
1035
1050
  isDone
1036
- }`), fe = new s(`
1051
+ }`), ke = new s(`
1037
1052
  query GetDetailsPanelVersion($projectName: String!, $entityId: String!) {
1038
1053
  project(name: $projectName) {
1039
1054
  projectName
@@ -1103,7 +1118,7 @@ fragment DetailsPanelTaskFragment on TaskNode {
1103
1118
  label
1104
1119
  assignees
1105
1120
  taskType
1106
- }`), $e = new s(`
1121
+ }`), Se = new s(`
1107
1122
  query GetProductVersions($projectName: String!, $productId: String!) {
1108
1123
  project(name: $projectName) {
1109
1124
  product(id: $productId) {
@@ -1115,7 +1130,7 @@ fragment DetailsPanelTaskFragment on TaskNode {
1115
1130
  }
1116
1131
  }
1117
1132
  }
1118
- `), he = new s(`
1133
+ `), Pe = new s(`
1119
1134
  query GetListItems($projectName: String!, $listId: String!, $first: Int, $after: String, $before: String, $last: Int, $sortBy: [String!], $filter: String, $search: String, $showComments: Boolean! = false) {
1120
1135
  project(name: $projectName) {
1121
1136
  entityLists(ids: [$listId]) {
@@ -1145,8 +1160,9 @@ fragment DetailsPanelTaskFragment on TaskNode {
1145
1160
  id
1146
1161
  entityId
1147
1162
  entityType
1148
- allAttrib
1163
+ itemAttrib: attrib
1149
1164
  ownItemAttrib: ownAttrib
1165
+ entityAttrib
1150
1166
  position
1151
1167
  node {
1152
1168
  ...ListItemFragment
@@ -1263,7 +1279,7 @@ fragment SubTaskFragment on SubTaskNode {
1263
1279
  startDate
1264
1280
  endDate
1265
1281
  isDone
1266
- }`), ge = new s(`
1282
+ }`), be = new s(`
1267
1283
  query GetListItemsColumnStats($projectName: String!, $listId: String!, $filter: String, $search: String, $targets: [MetricTargetInput!]) {
1268
1284
  project(name: $projectName) {
1269
1285
  name
@@ -1297,7 +1313,7 @@ fragment SubTaskFragment on SubTaskNode {
1297
1313
  notCheckedCount
1298
1314
  notCheckedPercentage
1299
1315
  distribution
1300
- }`), ve = new s(`
1316
+ }`), Ie = new s(`
1301
1317
  query GetLists($projectName: String!, $first: Int!, $after: String, $filter: String) {
1302
1318
  project(name: $projectName) {
1303
1319
  entityLists(first: $first, after: $after, filter: $filter) {
@@ -1330,7 +1346,7 @@ fragment SubTaskFragment on SubTaskNode {
1330
1346
  }
1331
1347
  }
1332
1348
  }
1333
- `), je = new s(`
1349
+ `), Fe = new s(`
1334
1350
  query GetListsItemsForReviewSession($projectName: String!, $first: Int, $after: String, $ids: [String!]) {
1335
1351
  project(name: $projectName) {
1336
1352
  entityLists(
@@ -1358,7 +1374,67 @@ fragment SubTaskFragment on SubTaskNode {
1358
1374
  }
1359
1375
  }
1360
1376
  }
1361
- `), Ne = new s(`
1377
+ `), Ee = new s(`
1378
+ query GetFoldersListsMembership($projectName: String!, $entityIds: [String!]) {
1379
+ project(name: $projectName) {
1380
+ folders(ids: $entityIds, last: 5000) {
1381
+ edges {
1382
+ node {
1383
+ id
1384
+ entityLists(visibility: VISIBLE, entityListTypes: ["generic", "review-session"]) {
1385
+ ...ListMembershipFragment
1386
+ }
1387
+ }
1388
+ }
1389
+ }
1390
+ }
1391
+ }
1392
+ fragment ListMembershipFragment on EntityListInfo {
1393
+ id
1394
+ label
1395
+ entityListType
1396
+ itemIds
1397
+ }`), we = new s(`
1398
+ query GetTasksListsMembership($projectName: String!, $entityIds: [String!]) {
1399
+ project(name: $projectName) {
1400
+ tasks(ids: $entityIds, last: 5000) {
1401
+ edges {
1402
+ node {
1403
+ id
1404
+ entityLists(visibility: VISIBLE, entityListTypes: ["generic", "review-session"]) {
1405
+ ...ListMembershipFragment
1406
+ }
1407
+ }
1408
+ }
1409
+ }
1410
+ }
1411
+ }
1412
+ fragment ListMembershipFragment on EntityListInfo {
1413
+ id
1414
+ label
1415
+ entityListType
1416
+ itemIds
1417
+ }`), xe = new s(`
1418
+ query GetVersionsListsMembership($projectName: String!, $entityIds: [String!]) {
1419
+ project(name: $projectName) {
1420
+ versions(ids: $entityIds, last: 5000) {
1421
+ edges {
1422
+ node {
1423
+ id
1424
+ entityLists(visibility: VISIBLE, entityListTypes: ["generic", "review-session"]) {
1425
+ ...ListMembershipFragment
1426
+ }
1427
+ }
1428
+ }
1429
+ }
1430
+ }
1431
+ }
1432
+ fragment ListMembershipFragment on EntityListInfo {
1433
+ id
1434
+ label
1435
+ entityListType
1436
+ itemIds
1437
+ }`), Le = new s(`
1362
1438
  query GetUpdatedAndNewFolders($projectName: String!, $folderIds: [String!]!, $first: Int) {
1363
1439
  project(name: $projectName) {
1364
1440
  folders(ids: $folderIds, first: $first) {
@@ -1386,7 +1462,7 @@ fragment SubTaskFragment on SubTaskNode {
1386
1462
  }
1387
1463
  }
1388
1464
  }
1389
- `), Te = new s(`
1465
+ `), qe = new s(`
1390
1466
  query GetFolderColumnStats($projectName: String!, $filter: String, $search: String, $taskFilter: String, $taskSearch: String, $parentIds: [String!], $ids: [String!], $targets: [MetricTargetInput!], $includeFolderChildren: Boolean! = true, $hideEmptyFolders: Boolean) {
1391
1467
  project(name: $projectName) {
1392
1468
  name
@@ -1423,7 +1499,7 @@ fragment SubTaskFragment on SubTaskNode {
1423
1499
  notCheckedCount
1424
1500
  notCheckedPercentage
1425
1501
  distribution
1426
- }`), ke = new s(`
1502
+ }`), Ce = new s(`
1427
1503
  query GetFolderDeleteInfo($projectName: String!, $folderIds: [String!]!) {
1428
1504
  project(name: $projectName) {
1429
1505
  folders(ids: $folderIds) {
@@ -1441,7 +1517,7 @@ fragment SubTaskFragment on SubTaskNode {
1441
1517
  }
1442
1518
  }
1443
1519
  }
1444
- `), Pe = new s(`
1520
+ `), De = new s(`
1445
1521
  query GetTaskColumnStats($projectName: String!, $filter: String, $folderFilter: String, $search: String, $folderIds: [String!], $taskIds: [String!], $targets: [MetricTargetInput!], $includeFolderChildren: Boolean! = true) {
1446
1522
  project(name: $projectName) {
1447
1523
  name
@@ -1476,7 +1552,7 @@ fragment SubTaskFragment on SubTaskNode {
1476
1552
  notCheckedCount
1477
1553
  notCheckedPercentage
1478
1554
  distribution
1479
- }`), Se = new s(`
1555
+ }`), Oe = new s(`
1480
1556
  query GetTasksByParent($projectName: String!, $parentIds: [String!]!, $filter: String, $folderFilter: String, $search: String, $showComments: Boolean! = false, $first: Int = 1000, $after: String) {
1481
1557
  project(name: $projectName) {
1482
1558
  name
@@ -1540,7 +1616,7 @@ fragment TaskPropsFragment on TaskNode {
1540
1616
  folder {
1541
1617
  folderType
1542
1618
  }
1543
- }`), Ie = new s(`
1619
+ }`), Ge = new s(`
1544
1620
  query GetTasksList($projectName: String!, $folderIds: [String!], $taskIds: [String!], $filter: String, $folderFilter: String, $search: String, $after: String, $first: Int, $before: String, $last: Int, $sortBy: [String!], $showComments: Boolean! = false, $includeFolderChildren: Boolean! = true) {
1545
1621
  project(name: $projectName) {
1546
1622
  name
@@ -1612,7 +1688,7 @@ fragment TaskPropsFragment on TaskNode {
1612
1688
  folder {
1613
1689
  folderType
1614
1690
  }
1615
- }`), be = new s(`
1691
+ }`), Re = new s(`
1616
1692
  query GetFolderProducts($projectName: String!, $folderId: String!) {
1617
1693
  project(name: $projectName) {
1618
1694
  products(folderIds: [$folderId], first: 1000) {
@@ -1636,13 +1712,13 @@ fragment TaskPropsFragment on TaskNode {
1636
1712
  }
1637
1713
  }
1638
1714
  }
1639
- `), Fe = new s(`
1715
+ `), Ve = new s(`
1640
1716
  query GetProjectLatest($projectName: String!) {
1641
1717
  project(name: $projectName) {
1642
1718
  name
1643
1719
  }
1644
1720
  }
1645
- `), Ee = new s(`
1721
+ `), Me = new s(`
1646
1722
  query GetProjects($first: Int, $after: String) {
1647
1723
  projects(first: $first, after: $after, includeSkeleton: true) {
1648
1724
  edges {
@@ -1672,7 +1748,7 @@ fragment TaskPropsFragment on TaskNode {
1672
1748
  projectFolder
1673
1749
  projectName
1674
1750
  skeleton
1675
- }`), we = new s(`
1751
+ }`), _e = new s(`
1676
1752
  query GetKanban($projects: [String!], $assignees: [String!]) {
1677
1753
  kanban(projects: $projects, assigneesAny: $assignees, last: 5000) {
1678
1754
  edges {
@@ -1703,7 +1779,7 @@ fragment TaskPropsFragment on TaskNode {
1703
1779
  folderPath
1704
1780
  hasReviewables
1705
1781
  priority
1706
- }`), xe = new s(`
1782
+ }`), Be = new s(`
1707
1783
  query GetKanbanProjectUsers($projects: [String!]) {
1708
1784
  users(last: 5000, projects: $projects, isSupport: false) {
1709
1785
  edges {
@@ -1719,7 +1795,7 @@ fragment TaskPropsFragment on TaskNode {
1719
1795
  }
1720
1796
  }
1721
1797
  }
1722
- `), qe = new s(`
1798
+ `), Ue = new s(`
1723
1799
  query GetKanbanTasks($projects: [String!], $taskIds: [String!], $last: Int) {
1724
1800
  kanban(projects: $projects, taskIds: $taskIds, last: $last) {
1725
1801
  edges {
@@ -1750,7 +1826,7 @@ fragment TaskPropsFragment on TaskNode {
1750
1826
  folderPath
1751
1827
  hasReviewables
1752
1828
  priority
1753
- }`), Ce = new s(`
1829
+ }`), He = new s(`
1754
1830
  query GetActiveUsersCount {
1755
1831
  users(last: 5000, isSupport: false) {
1756
1832
  edges {
@@ -1761,7 +1837,7 @@ fragment TaskPropsFragment on TaskNode {
1761
1837
  }
1762
1838
  }
1763
1839
  }
1764
- `), Oe = new s(`
1840
+ `), Ke = new s(`
1765
1841
  query GetAllAssignees {
1766
1842
  users(last: 5000, isSupport: false) {
1767
1843
  edges {
@@ -1775,7 +1851,7 @@ fragment TaskPropsFragment on TaskNode {
1775
1851
  }
1776
1852
  }
1777
1853
  }
1778
- `), De = new s(`
1854
+ `), Qe = new s(`
1779
1855
  query GetAllProjectUsersAsAssignee($projectName: String) {
1780
1856
  users(last: 5000, projectName: $projectName, isSupport: false) {
1781
1857
  edges {
@@ -1789,7 +1865,7 @@ fragment TaskPropsFragment on TaskNode {
1789
1865
  }
1790
1866
  }
1791
1867
  }
1792
- `), Le = new s(`
1868
+ `), We = new s(`
1793
1869
  query GetLatestProductVersion($projectName: String!, $productId: String!) {
1794
1870
  project(name: $projectName) {
1795
1871
  versions(latestOnly: true, productIds: [$productId]) {
@@ -1808,8 +1884,8 @@ fragment TaskPropsFragment on TaskNode {
1808
1884
  }
1809
1885
  }
1810
1886
  }
1811
- `), Re = new s(`
1812
- query GetProducts($projectName: String!, $productIds: [String!], $productFilter: String, $versionFilter: String, $taskFilter: String, $folderFilter: String, $featuredVersionOrder: [String!], $search: String, $folderIds: [String!], $after: String, $first: Int, $before: String, $last: Int, $sortBy: [String!], $showComments: Boolean! = false) {
1887
+ `), ze = new s(`
1888
+ query GetProducts($projectName: String!, $productIds: [String!], $productFilter: String, $versionFilter: String, $taskFilter: String, $folderFilter: String, $representationFilter: String, $featuredVersionOrder: [String!], $search: String, $folderIds: [String!], $after: String, $first: Int, $before: String, $last: Int, $sortBy: [String!], $showComments: Boolean! = false) {
1813
1889
  project(name: $projectName) {
1814
1890
  products(
1815
1891
  ids: $productIds
@@ -1817,6 +1893,7 @@ fragment TaskPropsFragment on TaskNode {
1817
1893
  versionFilter: $versionFilter
1818
1894
  taskFilter: $taskFilter
1819
1895
  folderFilter: $folderFilter
1896
+ representationFilter: $representationFilter
1820
1897
  search: $search
1821
1898
  folderIds: $folderIds
1822
1899
  includeFolderChildren: true
@@ -1904,8 +1981,8 @@ fragment VersionBase on VersionNode {
1904
1981
  author
1905
1982
  createdAt
1906
1983
  }
1907
- }`), Ge = new s(`
1908
- query GetProductsColumnStats($projectName: String!, $productFilter: String, $versionFilter: String, $taskFilter: String, $folderFilter: String, $folderIds: [String!], $productIds: [String!], $targets: [MetricTargetInput!]) {
1984
+ }`), Ye = new s(`
1985
+ query GetProductsColumnStats($projectName: String!, $productFilter: String, $versionFilter: String, $taskFilter: String, $folderFilter: String, $representationFilter: String, $folderIds: [String!], $productIds: [String!], $targets: [MetricTargetInput!]) {
1909
1986
  project(name: $projectName) {
1910
1987
  products(
1911
1988
  calculateSpecificStatistics: $targets
@@ -1914,6 +1991,7 @@ fragment VersionBase on VersionNode {
1914
1991
  versionFilter: $versionFilter
1915
1992
  taskFilter: $taskFilter
1916
1993
  folderFilter: $folderFilter
1994
+ representationFilter: $representationFilter
1917
1995
  folderIds: $folderIds
1918
1996
  includeFolderChildren: true
1919
1997
  ) {
@@ -1939,8 +2017,8 @@ fragment VersionBase on VersionNode {
1939
2017
  notCheckedCount
1940
2018
  notCheckedPercentage
1941
2019
  distribution
1942
- }`), Ve = new s(`
1943
- query GetVersions($projectName: String!, $productIds: [String!], $versionIds: [String!], $versionFilter: String, $productFilter: String, $taskFilter: String, $folderFilter: String, $featuredOnly: [String!], $featuredOnlyEntityType: String, $latestPerFolder: Boolean, $hasReviewables: Boolean, $folderIds: [String!], $search: String, $after: String, $first: Int, $before: String, $last: Int, $sortBy: [String!], $showComments: Boolean! = false) {
2020
+ }`), Je = new s(`
2021
+ query GetVersions($projectName: String!, $productIds: [String!], $versionIds: [String!], $versionFilter: String, $productFilter: String, $taskFilter: String, $folderFilter: String, $representationFilter: String, $featuredOnly: [String!], $featuredOnlyEntityType: String, $latestPerFolder: Boolean, $hasReviewables: Boolean, $folderIds: [String!], $search: String, $after: String, $first: Int, $before: String, $last: Int, $sortBy: [String!], $showComments: Boolean! = false) {
1944
2022
  project(name: $projectName) {
1945
2023
  versions(
1946
2024
  ids: $versionIds
@@ -1949,6 +2027,7 @@ fragment VersionBase on VersionNode {
1949
2027
  productFilter: $productFilter
1950
2028
  taskFilter: $taskFilter
1951
2029
  folderFilter: $folderFilter
2030
+ representationFilter: $representationFilter
1952
2031
  featuredOnly: $featuredOnly
1953
2032
  featuredOnlyEntityType: $featuredOnlyEntityType
1954
2033
  latestPerFolder: $latestPerFolder
@@ -2039,7 +2118,7 @@ fragment VersionExtended on VersionNode {
2039
2118
  ...VPFolder
2040
2119
  }
2041
2120
  }
2042
- }`), Me = new s(`
2121
+ }`), Xe = new s(`
2043
2122
  query GetVersionsAttribs($projectName: String!, $versionIds: [String!]!) {
2044
2123
  project(name: $projectName) {
2045
2124
  versions(ids: $versionIds) {
@@ -2052,14 +2131,15 @@ fragment VersionExtended on VersionNode {
2052
2131
  }
2053
2132
  }
2054
2133
  }
2055
- `), _e = new s(`
2056
- query GetVersionsByProductId($projectName: String!, $productIds: [String!]!, $versionFilter: String, $taskFilter: String, $folderFilter: String, $featuredOnly: [String!], $featuredOnlyEntityType: String, $latestPerFolder: Boolean, $hasReviewables: Boolean, $sortBy: [String!], $first: Int, $last: Int, $after: String, $before: String, $showComments: Boolean! = false) {
2134
+ `), Ze = new s(`
2135
+ query GetVersionsByProductId($projectName: String!, $productIds: [String!]!, $versionFilter: String, $taskFilter: String, $folderFilter: String, $representationFilter: String, $featuredOnly: [String!], $featuredOnlyEntityType: String, $latestPerFolder: Boolean, $hasReviewables: Boolean, $sortBy: [String!], $first: Int, $last: Int, $after: String, $before: String, $showComments: Boolean! = false) {
2057
2136
  project(name: $projectName) {
2058
2137
  versions(
2059
2138
  productIds: $productIds
2060
2139
  filter: $versionFilter
2061
2140
  taskFilter: $taskFilter
2062
2141
  folderFilter: $folderFilter
2142
+ representationFilter: $representationFilter
2063
2143
  featuredOnly: $featuredOnly
2064
2144
  featuredOnlyEntityType: $featuredOnlyEntityType
2065
2145
  latestPerFolder: $latestPerFolder
@@ -2147,8 +2227,8 @@ fragment VersionExtended on VersionNode {
2147
2227
  ...VPFolder
2148
2228
  }
2149
2229
  }
2150
- }`), Be = new s(`
2151
- query GetVersionsColumnStats($projectName: String!, $versionFilter: String, $productFilter: String, $taskFilter: String, $folderFilter: String, $folderIds: [String!], $versionIds: [String!], $productIds: [String!], $targets: [MetricTargetInput!], $featuredOnly: [String!], $featuredOnlyEntityType: String, $latestPerFolder: Boolean) {
2230
+ }`), Ae = new s(`
2231
+ query GetVersionsColumnStats($projectName: String!, $versionFilter: String, $productFilter: String, $taskFilter: String, $folderFilter: String, $representationFilter: String, $folderIds: [String!], $versionIds: [String!], $productIds: [String!], $targets: [MetricTargetInput!], $featuredOnly: [String!], $featuredOnlyEntityType: String, $latestPerFolder: Boolean) {
2152
2232
  project(name: $projectName) {
2153
2233
  versions(
2154
2234
  calculateSpecificStatistics: $targets
@@ -2158,6 +2238,7 @@ fragment VersionExtended on VersionNode {
2158
2238
  productFilter: $productFilter
2159
2239
  taskFilter: $taskFilter
2160
2240
  folderFilter: $folderFilter
2241
+ representationFilter: $representationFilter
2161
2242
  folderIds: $folderIds
2162
2243
  includeFolderChildren: true
2163
2244
  featuredOnly: $featuredOnly
@@ -2186,7 +2267,7 @@ fragment VersionExtended on VersionNode {
2186
2267
  notCheckedCount
2187
2268
  notCheckedPercentage
2188
2269
  distribution
2189
- }`), Ue = new s(`
2270
+ }`), et = new s(`
2190
2271
  query GetInboxHasUnread {
2191
2272
  inbox(
2192
2273
  last: 1
@@ -2202,7 +2283,7 @@ fragment VersionExtended on VersionNode {
2202
2283
  }
2203
2284
  }
2204
2285
  }
2205
- `), He = new s(`
2286
+ `), tt = new s(`
2206
2287
  query GetInboxMessages($last: Int, $active: Boolean, $important: Boolean, $unread: Boolean, $cursor: String) {
2207
2288
  inbox(
2208
2289
  last: $last
@@ -2254,7 +2335,7 @@ fragment VersionExtended on VersionNode {
2254
2335
  name
2255
2336
  label
2256
2337
  }
2257
- }`), Ke = new s(`
2338
+ }`), at = new s(`
2258
2339
  query GetInboxUnreadCount($important: Boolean) {
2259
2340
  inbox(
2260
2341
  last: 500
@@ -2270,7 +2351,7 @@ fragment VersionExtended on VersionNode {
2270
2351
  }
2271
2352
  }
2272
2353
  }
2273
- `), Qe = new s(`
2354
+ `), st = new s(`
2274
2355
  query GetProjectInbox($projectName: String!, $userName: String!, $referenceTypes: [String!], $activityTypes: [String!], $activityIds: [String!], $filter: String, $last: Int, $cursor: String) {
2275
2356
  project(name: $projectName) {
2276
2357
  activities(
@@ -2326,7 +2407,7 @@ fragment VersionExtended on VersionNode {
2326
2407
  name
2327
2408
  label
2328
2409
  }
2329
- }`), We = new s(`
2410
+ }`), rt = new s(`
2330
2411
  query GetMarketInstallEvents {
2331
2412
  events(last: 100, topics: ["addon.install_from_url"]) {
2332
2413
  edges {
@@ -2339,7 +2420,7 @@ fragment VersionExtended on VersionNode {
2339
2420
  }
2340
2421
  }
2341
2422
  }
2342
- `), ze = new s(`
2423
+ `), nt = new s(`
2343
2424
  query GetInstallEvents($ids: [String!]!) {
2344
2425
  events(last: 100, ids: $ids) {
2345
2426
  edges {
@@ -2351,7 +2432,7 @@ fragment VersionExtended on VersionNode {
2351
2432
  }
2352
2433
  }
2353
2434
  }
2354
- `), Ye = new s(`
2435
+ `), ot = new s(`
2355
2436
  query GetProgressTask($projectName: String!, $taskId: String!) {
2356
2437
  project(name: $projectName) {
2357
2438
  name
@@ -2396,7 +2477,7 @@ fragment VersionExtended on VersionNode {
2396
2477
  parents
2397
2478
  }
2398
2479
  }
2399
- }`), Je = new s(`
2480
+ }`), it = new s(`
2400
2481
  query GetTasksProgress($projectName: String!, $folderIds: [String!], $assignees: [String!], $assigneesAny: [String!], $tags: [String!], $tagsAny: [String!], $statuses: [String!], $taskTypes: [String!], $attributes: [AttributeFilterInput!]) {
2401
2482
  project(name: $projectName) {
2402
2483
  name
@@ -2456,139 +2537,148 @@ fragment VersionExtended on VersionNode {
2456
2537
  parents
2457
2538
  }
2458
2539
  }
2459
- }`), At = d.injectEndpoints({
2540
+ }`), ha = d.injectEndpoints({
2460
2541
  endpoints: (t) => ({
2461
2542
  GetActivitiesById: t.query({
2462
- query: (e) => ({ document: ie, variables: e })
2543
+ query: (e) => ({ document: fe, variables: e })
2463
2544
  }),
2464
2545
  GetActivityUsers: t.query({
2465
- query: (e) => ({ document: de, variables: e })
2546
+ query: (e) => ({ document: $e, variables: e })
2466
2547
  }),
2467
2548
  GetActivities: t.query({
2468
- query: (e) => ({ document: pe, variables: e })
2549
+ query: (e) => ({ document: he, variables: e })
2469
2550
  }),
2470
2551
  GetEntitiesChecklists: t.query({
2471
- query: (e) => ({ document: ce, variables: e })
2552
+ query: (e) => ({ document: ge, variables: e })
2472
2553
  }),
2473
2554
  GetVersionsFrameStart: t.query({
2474
- query: (e) => ({ document: le, variables: e })
2555
+ query: (e) => ({ document: ve, variables: e })
2475
2556
  }),
2476
2557
  GetDetailsPanelFolder: t.query({
2477
- query: (e) => ({ document: me, variables: e })
2558
+ query: (e) => ({ document: je, variables: e })
2478
2559
  }),
2479
2560
  GetDetailsPanelRepresentation: t.query({
2480
- query: (e) => ({ document: ue, variables: e })
2561
+ query: (e) => ({ document: Ne, variables: e })
2481
2562
  }),
2482
2563
  GetDetailsPanelTask: t.query({
2483
- query: (e) => ({ document: ye, variables: e })
2564
+ query: (e) => ({ document: Te, variables: e })
2484
2565
  }),
2485
2566
  GetDetailsPanelVersion: t.query({
2486
- query: (e) => ({ document: fe, variables: e })
2567
+ query: (e) => ({ document: ke, variables: e })
2487
2568
  }),
2488
2569
  GetProductVersions: t.query({
2489
- query: (e) => ({ document: $e, variables: e })
2570
+ query: (e) => ({ document: Se, variables: e })
2490
2571
  }),
2491
2572
  GetListItems: t.query({
2492
- query: (e) => ({ document: he, variables: e })
2573
+ query: (e) => ({ document: Pe, variables: e })
2493
2574
  }),
2494
2575
  GetListItemsColumnStats: t.query({
2495
- query: (e) => ({ document: ge, variables: e })
2576
+ query: (e) => ({ document: be, variables: e })
2496
2577
  }),
2497
2578
  GetLists: t.query({
2498
- query: (e) => ({ document: ve, variables: e })
2579
+ query: (e) => ({ document: Ie, variables: e })
2499
2580
  }),
2500
2581
  GetListsItemsForReviewSession: t.query({
2501
- query: (e) => ({ document: je, variables: e })
2582
+ query: (e) => ({ document: Fe, variables: e })
2583
+ }),
2584
+ GetFoldersListsMembership: t.query({
2585
+ query: (e) => ({ document: Ee, variables: e })
2586
+ }),
2587
+ GetTasksListsMembership: t.query({
2588
+ query: (e) => ({ document: we, variables: e })
2589
+ }),
2590
+ GetVersionsListsMembership: t.query({
2591
+ query: (e) => ({ document: xe, variables: e })
2502
2592
  }),
2503
2593
  GetUpdatedAndNewFolders: t.query({
2504
- query: (e) => ({ document: Ne, variables: e })
2594
+ query: (e) => ({ document: Le, variables: e })
2505
2595
  }),
2506
2596
  GetFolderColumnStats: t.query({
2507
- query: (e) => ({ document: Te, variables: e })
2597
+ query: (e) => ({ document: qe, variables: e })
2508
2598
  }),
2509
2599
  GetFolderDeleteInfo: t.query({
2510
- query: (e) => ({ document: ke, variables: e })
2600
+ query: (e) => ({ document: Ce, variables: e })
2511
2601
  }),
2512
2602
  GetTaskColumnStats: t.query({
2513
- query: (e) => ({ document: Pe, variables: e })
2603
+ query: (e) => ({ document: De, variables: e })
2514
2604
  }),
2515
2605
  GetTasksByParent: t.query({
2516
- query: (e) => ({ document: Se, variables: e })
2606
+ query: (e) => ({ document: Oe, variables: e })
2517
2607
  }),
2518
2608
  GetTasksList: t.query({
2519
- query: (e) => ({ document: Ie, variables: e })
2609
+ query: (e) => ({ document: Ge, variables: e })
2520
2610
  }),
2521
2611
  GetFolderProducts: t.query({
2522
- query: (e) => ({ document: be, variables: e })
2612
+ query: (e) => ({ document: Re, variables: e })
2523
2613
  }),
2524
2614
  GetProjectLatest: t.query({
2525
- query: (e) => ({ document: Fe, variables: e })
2615
+ query: (e) => ({ document: Ve, variables: e })
2526
2616
  }),
2527
2617
  GetProjects: t.query({
2528
- query: (e) => ({ document: Ee, variables: e })
2618
+ query: (e) => ({ document: Me, variables: e })
2529
2619
  }),
2530
2620
  GetKanban: t.query({
2531
- query: (e) => ({ document: we, variables: e })
2621
+ query: (e) => ({ document: _e, variables: e })
2532
2622
  }),
2533
2623
  GetKanbanProjectUsers: t.query({
2534
- query: (e) => ({ document: xe, variables: e })
2624
+ query: (e) => ({ document: Be, variables: e })
2535
2625
  }),
2536
2626
  GetKanbanTasks: t.query({
2537
- query: (e) => ({ document: qe, variables: e })
2627
+ query: (e) => ({ document: Ue, variables: e })
2538
2628
  }),
2539
2629
  GetActiveUsersCount: t.query({
2540
- query: (e) => ({ document: Ce, variables: e })
2630
+ query: (e) => ({ document: He, variables: e })
2541
2631
  }),
2542
2632
  GetAllAssignees: t.query({
2543
- query: (e) => ({ document: Oe, variables: e })
2633
+ query: (e) => ({ document: Ke, variables: e })
2544
2634
  }),
2545
2635
  GetAllProjectUsersAsAssignee: t.query({
2546
- query: (e) => ({ document: De, variables: e })
2636
+ query: (e) => ({ document: Qe, variables: e })
2547
2637
  }),
2548
2638
  GetLatestProductVersion: t.query({
2549
- query: (e) => ({ document: Le, variables: e })
2639
+ query: (e) => ({ document: We, variables: e })
2550
2640
  }),
2551
2641
  GetProducts: t.query({
2552
- query: (e) => ({ document: Re, variables: e })
2642
+ query: (e) => ({ document: ze, variables: e })
2553
2643
  }),
2554
2644
  GetProductsColumnStats: t.query({
2555
- query: (e) => ({ document: Ge, variables: e })
2645
+ query: (e) => ({ document: Ye, variables: e })
2556
2646
  }),
2557
2647
  GetVersions: t.query({
2558
- query: (e) => ({ document: Ve, variables: e })
2648
+ query: (e) => ({ document: Je, variables: e })
2559
2649
  }),
2560
2650
  GetVersionsAttribs: t.query({
2561
- query: (e) => ({ document: Me, variables: e })
2651
+ query: (e) => ({ document: Xe, variables: e })
2562
2652
  }),
2563
2653
  GetVersionsByProductId: t.query({
2564
- query: (e) => ({ document: _e, variables: e })
2654
+ query: (e) => ({ document: Ze, variables: e })
2565
2655
  }),
2566
2656
  GetVersionsColumnStats: t.query({
2567
- query: (e) => ({ document: Be, variables: e })
2657
+ query: (e) => ({ document: Ae, variables: e })
2568
2658
  }),
2569
2659
  GetInboxHasUnread: t.query({
2570
- query: (e) => ({ document: Ue, variables: e })
2660
+ query: (e) => ({ document: et, variables: e })
2571
2661
  }),
2572
2662
  GetInboxMessages: t.query({
2573
- query: (e) => ({ document: He, variables: e })
2663
+ query: (e) => ({ document: tt, variables: e })
2574
2664
  }),
2575
2665
  GetInboxUnreadCount: t.query({
2576
- query: (e) => ({ document: Ke, variables: e })
2666
+ query: (e) => ({ document: at, variables: e })
2577
2667
  }),
2578
2668
  GetProjectInbox: t.query({
2579
- query: (e) => ({ document: Qe, variables: e })
2669
+ query: (e) => ({ document: st, variables: e })
2580
2670
  }),
2581
2671
  GetMarketInstallEvents: t.query({
2582
- query: (e) => ({ document: We, variables: e })
2672
+ query: (e) => ({ document: rt, variables: e })
2583
2673
  }),
2584
2674
  GetInstallEvents: t.query({
2585
- query: (e) => ({ document: ze, variables: e })
2675
+ query: (e) => ({ document: nt, variables: e })
2586
2676
  }),
2587
2677
  GetProgressTask: t.query({
2588
- query: (e) => ({ document: Ye, variables: e })
2678
+ query: (e) => ({ document: ot, variables: e })
2589
2679
  }),
2590
2680
  GetTasksProgress: t.query({
2591
- query: (e) => ({ document: Je, variables: e })
2681
+ query: (e) => ({ document: it, variables: e })
2592
2682
  })
2593
2683
  })
2594
2684
  });
@@ -2649,7 +2739,7 @@ new m(`
2649
2739
  hasReviewables
2650
2740
  }
2651
2741
  }`, { fragmentName: "OverviewEntityLinkFragment" });
2652
- const Xe = new m(`
2742
+ const dt = new m(`
2653
2743
  query GetFolderLinkData($projectName: String!, $folderId: String!) {
2654
2744
  project(name: $projectName) {
2655
2745
  folder(id: $folderId) {
@@ -2673,7 +2763,7 @@ const Xe = new m(`
2673
2763
  ... on VersionNode {
2674
2764
  hasReviewables
2675
2765
  }
2676
- }`), Ze = new m(`
2766
+ }`), pt = new m(`
2677
2767
  query GetProductLinkData($projectName: String!, $productId: String!) {
2678
2768
  project(name: $projectName) {
2679
2769
  product(id: $productId) {
@@ -2697,7 +2787,7 @@ const Xe = new m(`
2697
2787
  ... on VersionNode {
2698
2788
  hasReviewables
2699
2789
  }
2700
- }`), Ae = new m(`
2790
+ }`), ct = new m(`
2701
2791
  query GetRepresentationLinkData($projectName: String!, $representationId: String!) {
2702
2792
  project(name: $projectName) {
2703
2793
  representation(id: $representationId) {
@@ -2721,7 +2811,7 @@ const Xe = new m(`
2721
2811
  ... on VersionNode {
2722
2812
  hasReviewables
2723
2813
  }
2724
- }`), et = new m(`
2814
+ }`), lt = new m(`
2725
2815
  query GetTaskLinkData($projectName: String!, $taskId: String!) {
2726
2816
  project(name: $projectName) {
2727
2817
  task(id: $taskId) {
@@ -2745,7 +2835,7 @@ const Xe = new m(`
2745
2835
  ... on VersionNode {
2746
2836
  hasReviewables
2747
2837
  }
2748
- }`), tt = new m(`
2838
+ }`), mt = new m(`
2749
2839
  query GetVersionLinkData($projectName: String!, $versionId: String!) {
2750
2840
  project(name: $projectName) {
2751
2841
  version(id: $versionId) {
@@ -2769,7 +2859,7 @@ const Xe = new m(`
2769
2859
  ... on VersionNode {
2770
2860
  hasReviewables
2771
2861
  }
2772
- }`), at = new m(`
2862
+ }`), ut = new m(`
2773
2863
  query GetWorkfileLinkData($projectName: String!, $workfileId: String!) {
2774
2864
  project(name: $projectName) {
2775
2865
  workfile(id: $workfileId) {
@@ -2793,7 +2883,7 @@ const Xe = new m(`
2793
2883
  ... on VersionNode {
2794
2884
  hasReviewables
2795
2885
  }
2796
- }`), st = new m(`
2886
+ }`), yt = new m(`
2797
2887
  query GetFoldersLinks($projectName: String!, $entityIds: [String!]) {
2798
2888
  project(name: $projectName) {
2799
2889
  folders(ids: $entityIds, last: 5000) {
@@ -2835,7 +2925,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
2835
2925
  ... on VersionNode {
2836
2926
  hasReviewables
2837
2927
  }
2838
- }`), rt = new m(`
2928
+ }`), ft = new m(`
2839
2929
  query GetProductsLinks($projectName: String!, $entityIds: [String!]) {
2840
2930
  project(name: $projectName) {
2841
2931
  products(ids: $entityIds, last: 5000) {
@@ -2877,7 +2967,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
2877
2967
  ... on VersionNode {
2878
2968
  hasReviewables
2879
2969
  }
2880
- }`), nt = new m(`
2970
+ }`), $t = new m(`
2881
2971
  query GetTasksLinks($projectName: String!, $entityIds: [String!]) {
2882
2972
  project(name: $projectName) {
2883
2973
  tasks(ids: $entityIds, last: 5000) {
@@ -2919,7 +3009,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
2919
3009
  ... on VersionNode {
2920
3010
  hasReviewables
2921
3011
  }
2922
- }`), ot = new m(`
3012
+ }`), ht = new m(`
2923
3013
  query GetVersionsLinks($projectName: String!, $entityIds: [String!]) {
2924
3014
  project(name: $projectName) {
2925
3015
  versions(ids: $entityIds, last: 5000) {
@@ -2961,7 +3051,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
2961
3051
  ... on VersionNode {
2962
3052
  hasReviewables
2963
3053
  }
2964
- }`), it = new m(`
3054
+ }`), gt = new m(`
2965
3055
  query GetWorkfilesLinks($projectName: String!, $entityIds: [String!]) {
2966
3056
  project(name: $projectName) {
2967
3057
  workfiles(ids: $entityIds, last: 5000) {
@@ -3003,7 +3093,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3003
3093
  ... on VersionNode {
3004
3094
  hasReviewables
3005
3095
  }
3006
- }`), dt = new m(`
3096
+ }`), vt = new m(`
3007
3097
  query GetRepresentationsLinks($projectName: String!, $entityIds: [String!]) {
3008
3098
  project(name: $projectName) {
3009
3099
  representations(ids: $entityIds, last: 5000) {
@@ -3045,7 +3135,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3045
3135
  ... on VersionNode {
3046
3136
  hasReviewables
3047
3137
  }
3048
- }`), pt = new m(`
3138
+ }`), jt = new m(`
3049
3139
  query GetLinksIntoEntities($projectName: String!, $entityIds: [String!]!, $first: Int!, $after: String) {
3050
3140
  project(name: $projectName) {
3051
3141
  links(outputIds: $entityIds, first: $first, after: $after) {
@@ -3083,7 +3173,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3083
3173
  ... on VersionNode {
3084
3174
  hasReviewables
3085
3175
  }
3086
- }`), ct = new m(`
3176
+ }`), Nt = new m(`
3087
3177
  query GetLinksFromEntities($projectName: String!, $entityIds: [String!]!, $first: Int!, $after: String) {
3088
3178
  project(name: $projectName) {
3089
3179
  links(inputIds: $entityIds, first: $first, after: $after) {
@@ -3121,7 +3211,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3121
3211
  ... on VersionNode {
3122
3212
  hasReviewables
3123
3213
  }
3124
- }`), lt = new m(`
3214
+ }`), Tt = new m(`
3125
3215
  query GetSearchedFolders($projectName: String!, $search: String, $after: String, $first: Int, $before: String, $last: Int) {
3126
3216
  project(name: $projectName) {
3127
3217
  name
@@ -3167,7 +3257,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3167
3257
  ... on VersionNode {
3168
3258
  hasReviewables
3169
3259
  }
3170
- }`), mt = new m(`
3260
+ }`), kt = new m(`
3171
3261
  query GetSearchedProducts($projectName: String!, $search: String, $parentIds: [String!], $after: String, $first: Int, $before: String, $last: Int, $hasReviewables: Boolean, $includeTask: Boolean = false) {
3172
3262
  project(name: $projectName) {
3173
3263
  name
@@ -3220,7 +3310,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3220
3310
  ... on VersionNode {
3221
3311
  hasReviewables
3222
3312
  }
3223
- }`), ut = new m(`
3313
+ }`), St = new m(`
3224
3314
  query GetSearchedRepresentations($projectName: String!, $search: String, $parentIds: [String!], $after: String, $first: Int, $before: String, $last: Int) {
3225
3315
  project(name: $projectName) {
3226
3316
  name
@@ -3263,7 +3353,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3263
3353
  ... on VersionNode {
3264
3354
  hasReviewables
3265
3355
  }
3266
- }`), yt = new m(`
3356
+ }`), Pt = new m(`
3267
3357
  query GetSearchedTasks($projectName: String!, $search: String, $parentIds: [String!], $after: String, $first: Int, $before: String, $last: Int) {
3268
3358
  project(name: $projectName) {
3269
3359
  name
@@ -3310,7 +3400,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3310
3400
  ... on VersionNode {
3311
3401
  hasReviewables
3312
3402
  }
3313
- }`), ft = new m(`
3403
+ }`), bt = new m(`
3314
3404
  query GetSearchedVersions($projectName: String!, $search: String, $parentIds: [String!], $after: String, $first: Int, $before: String, $last: Int, $hasReviewables: Boolean, $includeTask: Boolean = false) {
3315
3405
  project(name: $projectName) {
3316
3406
  name
@@ -3358,7 +3448,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3358
3448
  ... on VersionNode {
3359
3449
  hasReviewables
3360
3450
  }
3361
- }`), $t = new m(`
3451
+ }`), It = new m(`
3362
3452
  query GetSearchedWorkfiles($projectName: String!, $search: String, $parentIds: [String!], $after: String, $first: Int, $before: String, $last: Int) {
3363
3453
  project(name: $projectName) {
3364
3454
  name
@@ -3402,70 +3492,70 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3402
3492
  ... on VersionNode {
3403
3493
  hasReviewables
3404
3494
  }
3405
- }`), ea = d.injectEndpoints({
3495
+ }`), ga = d.injectEndpoints({
3406
3496
  endpoints: (t) => ({
3407
3497
  GetFolderLinkData: t.query({
3408
- query: (e) => ({ document: Xe, variables: e })
3498
+ query: (e) => ({ document: dt, variables: e })
3409
3499
  }),
3410
3500
  GetProductLinkData: t.query({
3411
- query: (e) => ({ document: Ze, variables: e })
3501
+ query: (e) => ({ document: pt, variables: e })
3412
3502
  }),
3413
3503
  GetRepresentationLinkData: t.query({
3414
- query: (e) => ({ document: Ae, variables: e })
3504
+ query: (e) => ({ document: ct, variables: e })
3415
3505
  }),
3416
3506
  GetTaskLinkData: t.query({
3417
- query: (e) => ({ document: et, variables: e })
3507
+ query: (e) => ({ document: lt, variables: e })
3418
3508
  }),
3419
3509
  GetVersionLinkData: t.query({
3420
- query: (e) => ({ document: tt, variables: e })
3510
+ query: (e) => ({ document: mt, variables: e })
3421
3511
  }),
3422
3512
  GetWorkfileLinkData: t.query({
3423
- query: (e) => ({ document: at, variables: e })
3513
+ query: (e) => ({ document: ut, variables: e })
3424
3514
  }),
3425
3515
  GetFoldersLinks: t.query({
3426
- query: (e) => ({ document: st, variables: e })
3516
+ query: (e) => ({ document: yt, variables: e })
3427
3517
  }),
3428
3518
  GetProductsLinks: t.query({
3429
- query: (e) => ({ document: rt, variables: e })
3519
+ query: (e) => ({ document: ft, variables: e })
3430
3520
  }),
3431
3521
  GetTasksLinks: t.query({
3432
- query: (e) => ({ document: nt, variables: e })
3522
+ query: (e) => ({ document: $t, variables: e })
3433
3523
  }),
3434
3524
  GetVersionsLinks: t.query({
3435
- query: (e) => ({ document: ot, variables: e })
3525
+ query: (e) => ({ document: ht, variables: e })
3436
3526
  }),
3437
3527
  GetWorkfilesLinks: t.query({
3438
- query: (e) => ({ document: it, variables: e })
3528
+ query: (e) => ({ document: gt, variables: e })
3439
3529
  }),
3440
3530
  GetRepresentationsLinks: t.query({
3441
- query: (e) => ({ document: dt, variables: e })
3531
+ query: (e) => ({ document: vt, variables: e })
3442
3532
  }),
3443
3533
  GetLinksIntoEntities: t.query({
3444
- query: (e) => ({ document: pt, variables: e })
3534
+ query: (e) => ({ document: jt, variables: e })
3445
3535
  }),
3446
3536
  GetLinksFromEntities: t.query({
3447
- query: (e) => ({ document: ct, variables: e })
3537
+ query: (e) => ({ document: Nt, variables: e })
3448
3538
  }),
3449
3539
  GetSearchedFolders: t.query({
3450
- query: (e) => ({ document: lt, variables: e })
3540
+ query: (e) => ({ document: Tt, variables: e })
3451
3541
  }),
3452
3542
  GetSearchedProducts: t.query({
3453
- query: (e) => ({ document: mt, variables: e })
3543
+ query: (e) => ({ document: kt, variables: e })
3454
3544
  }),
3455
3545
  GetSearchedRepresentations: t.query({
3456
- query: (e) => ({ document: ut, variables: e })
3546
+ query: (e) => ({ document: St, variables: e })
3457
3547
  }),
3458
3548
  GetSearchedTasks: t.query({
3459
- query: (e) => ({ document: yt, variables: e })
3549
+ query: (e) => ({ document: Pt, variables: e })
3460
3550
  }),
3461
3551
  GetSearchedVersions: t.query({
3462
- query: (e) => ({ document: ft, variables: e })
3552
+ query: (e) => ({ document: bt, variables: e })
3463
3553
  }),
3464
3554
  GetSearchedWorkfiles: t.query({
3465
- query: (e) => ({ document: $t, variables: e })
3555
+ query: (e) => ({ document: It, variables: e })
3466
3556
  })
3467
3557
  })
3468
- }), ta = d.injectEndpoints({
3558
+ }), va = d.injectEndpoints({
3469
3559
  endpoints: (t) => ({
3470
3560
  getAccessGroupSchema: t.query({
3471
3561
  query: (e) => ({
@@ -3512,7 +3602,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3512
3602
  })
3513
3603
  }),
3514
3604
  overrideExisting: !1
3515
- }), aa = d.injectEndpoints({
3605
+ }), ja = d.injectEndpoints({
3516
3606
  endpoints: (t) => ({
3517
3607
  listAvailableActionsForContext: t.mutation({
3518
3608
  query: (e) => ({
@@ -3570,7 +3660,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3570
3660
  })
3571
3661
  }),
3572
3662
  overrideExisting: !1
3573
- }), sa = d.injectEndpoints({
3663
+ }), Na = d.injectEndpoints({
3574
3664
  endpoints: (t) => ({
3575
3665
  postProjectActivity: t.mutation({
3576
3666
  query: (e) => ({
@@ -3653,7 +3743,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3653
3743
  })
3654
3744
  }),
3655
3745
  overrideExisting: !1
3656
- }), ra = d.injectEndpoints({
3746
+ }), Ta = d.injectEndpoints({
3657
3747
  endpoints: (t) => ({
3658
3748
  listAddons: t.query({
3659
3749
  query: (e) => ({
@@ -3914,7 +4004,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3914
4004
  })
3915
4005
  }),
3916
4006
  overrideExisting: !1
3917
- }), na = d.injectEndpoints({
4007
+ }), ka = d.injectEndpoints({
3918
4008
  endpoints: (t) => ({
3919
4009
  getAnatomySchema: t.query({
3920
4010
  query: () => ({ url: "/api/anatomy/schema" })
@@ -3959,7 +4049,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3959
4049
  })
3960
4050
  }),
3961
4051
  overrideExisting: !1
3962
- }), oa = d.injectEndpoints({
4052
+ }), Sa = d.injectEndpoints({
3963
4053
  endpoints: (t) => ({
3964
4054
  getAttributeList: t.query({
3965
4055
  query: () => ({ url: "/api/attributes" })
@@ -3993,7 +4083,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
3993
4083
  })
3994
4084
  }),
3995
4085
  overrideExisting: !1
3996
- }), ia = d.injectEndpoints({
4086
+ }), Pa = d.injectEndpoints({
3997
4087
  endpoints: (t) => ({
3998
4088
  login: t.mutation({
3999
4089
  query: (e) => ({
@@ -4023,7 +4113,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4023
4113
  })
4024
4114
  }),
4025
4115
  overrideExisting: !1
4026
- }), da = d.injectEndpoints({
4116
+ }), ba = d.injectEndpoints({
4027
4117
  endpoints: (t) => ({
4028
4118
  listBundles: t.query({
4029
4119
  query: (e) => ({
@@ -4088,7 +4178,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4088
4178
  })
4089
4179
  }),
4090
4180
  overrideExisting: !1
4091
- }), pa = d.injectEndpoints({
4181
+ }), Ia = d.injectEndpoints({
4092
4182
  endpoints: (t) => ({
4093
4183
  getServerConfigSchema: t.query({
4094
4184
  query: () => ({ url: "/api/config/schema" })
@@ -4124,13 +4214,15 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4124
4214
  })
4125
4215
  }),
4126
4216
  overrideExisting: !1
4127
- }), ca = d.injectEndpoints({
4217
+ }), Fa = d.injectEndpoints({
4128
4218
  endpoints: (t) => ({
4129
4219
  exportFields: t.query({
4130
4220
  query: (e) => ({
4131
4221
  url: `/api/csv/export/${e.entityType}/fields`,
4132
4222
  params: {
4133
- project_name: e.projectName
4223
+ project_name: e.projectName,
4224
+ folder_id: e.folderId,
4225
+ list_entity_type: e.listEntityType
4134
4226
  }
4135
4227
  })
4136
4228
  }),
@@ -4162,6 +4254,12 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4162
4254
  params: {
4163
4255
  file_id: e.fileId,
4164
4256
  existing_strategy: e.existingStrategy,
4257
+ missing_strategy: e.missingStrategy,
4258
+ duplicate_strategy: e.duplicateStrategy,
4259
+ entity_type: e.entityType,
4260
+ new_list_label: e.newListLabel,
4261
+ new_list_entity_type: e.newListEntityType,
4262
+ update_listed_entities: e.updateListedEntities,
4165
4263
  project_name: e.projectName,
4166
4264
  folder_id: e.folderId,
4167
4265
  preview: e.preview
@@ -4170,7 +4268,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4170
4268
  })
4171
4269
  }),
4172
4270
  overrideExisting: !1
4173
- }), la = d.injectEndpoints({
4271
+ }), Ea = d.injectEndpoints({
4174
4272
  endpoints: (t) => ({
4175
4273
  listDependencyPackages: t.query({
4176
4274
  query: () => ({ url: "/api/desktop/dependencyPackages" })
@@ -4252,7 +4350,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4252
4350
  })
4253
4351
  }),
4254
4352
  overrideExisting: !1
4255
- }), ma = d.injectEndpoints({
4353
+ }), wa = d.injectEndpoints({
4256
4354
  endpoints: (t) => ({
4257
4355
  getEntityListAttributesDefinition: t.query({
4258
4356
  query: (e) => ({
@@ -4412,7 +4510,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4412
4510
  })
4413
4511
  }),
4414
4512
  overrideExisting: !1
4415
- }), ht = d.injectEndpoints({
4513
+ }), Ft = d.injectEndpoints({
4416
4514
  endpoints: (t) => ({
4417
4515
  getEnum: t.query({
4418
4516
  query: (e) => ({ url: `/api/enum/${e.enumName}` })
@@ -4422,7 +4520,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4422
4520
  })
4423
4521
  }),
4424
4522
  overrideExisting: !1
4425
- }), ua = d.injectEndpoints({
4523
+ }), xa = d.injectEndpoints({
4426
4524
  endpoints: (t) => ({
4427
4525
  enroll: t.mutation({
4428
4526
  query: (e) => ({
@@ -4478,7 +4576,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4478
4576
  })
4479
4577
  }),
4480
4578
  overrideExisting: !1
4481
- }), ya = d.injectEndpoints({
4579
+ }), La = d.injectEndpoints({
4482
4580
  endpoints: (t) => ({
4483
4581
  uploadProjectFile: t.mutation({
4484
4582
  query: (e) => ({
@@ -4534,7 +4632,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4534
4632
  })
4535
4633
  }),
4536
4634
  overrideExisting: !1
4537
- }), fa = d.injectEndpoints({
4635
+ }), qa = d.injectEndpoints({
4538
4636
  endpoints: (t) => ({
4539
4637
  getFolder: t.query({
4540
4638
  query: (e) => ({
@@ -4608,7 +4706,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4608
4706
  })
4609
4707
  }),
4610
4708
  overrideExisting: !1
4611
- }), $a = d.injectEndpoints({
4709
+ }), Ca = d.injectEndpoints({
4612
4710
  endpoints: (t) => ({
4613
4711
  manageInboxItem: t.mutation({
4614
4712
  query: (e) => ({
@@ -4619,7 +4717,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4619
4717
  })
4620
4718
  }),
4621
4719
  overrideExisting: !1
4622
- }), ha = d.injectEndpoints({
4720
+ }), Da = d.injectEndpoints({
4623
4721
  endpoints: (t) => ({
4624
4722
  listLinkTypes: t.query({
4625
4723
  query: (e) => ({ url: `/api/projects/${e.projectName}/links/types` })
@@ -4660,7 +4758,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4660
4758
  })
4661
4759
  }),
4662
4760
  overrideExisting: !1
4663
- }), ga = d.injectEndpoints({
4761
+ }), Oa = d.injectEndpoints({
4664
4762
  endpoints: (t) => ({
4665
4763
  marketAddonList: t.query({
4666
4764
  query: () => ({ url: "/api/market/addons" })
@@ -4694,7 +4792,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4694
4792
  })
4695
4793
  }),
4696
4794
  overrideExisting: !1
4697
- }), va = d.injectEndpoints({
4795
+ }), Ga = d.injectEndpoints({
4698
4796
  endpoints: (t) => ({
4699
4797
  createFirstAdmin: t.mutation({
4700
4798
  query: (e) => ({
@@ -4711,7 +4809,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4711
4809
  })
4712
4810
  }),
4713
4811
  overrideExisting: !1
4714
- }), ja = d.injectEndpoints({
4812
+ }), Ra = d.injectEndpoints({
4715
4813
  endpoints: (t) => ({
4716
4814
  eventOperations: t.mutation({
4717
4815
  query: (e) => ({
@@ -4760,7 +4858,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4760
4858
  })
4761
4859
  }),
4762
4860
  overrideExisting: !1
4763
- }), Na = d.injectEndpoints({
4861
+ }), Va = d.injectEndpoints({
4764
4862
  endpoints: (t) => ({
4765
4863
  getProduct: t.query({
4766
4864
  query: (e) => ({
@@ -4813,7 +4911,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4813
4911
  })
4814
4912
  }),
4815
4913
  overrideExisting: !1
4816
- }), Ta = d.injectEndpoints({
4914
+ }), Ma = d.injectEndpoints({
4817
4915
  endpoints: (t) => ({
4818
4916
  getProjectEntityCounts: t.query({
4819
4917
  query: (e) => ({ url: `/api/projects/${e.projectName}/dashboard/entities` })
@@ -4834,7 +4932,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
4834
4932
  })
4835
4933
  }),
4836
4934
  overrideExisting: !1
4837
- }), ka = d.injectEndpoints({
4935
+ }), _a = d.injectEndpoints({
4838
4936
  endpoints: (t) => ({
4839
4937
  deleteProjectActivity: t.mutation({
4840
4938
  query: (e) => ({
@@ -5095,7 +5193,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5095
5193
  })
5096
5194
  }),
5097
5195
  overrideExisting: !1
5098
- }), Pa = d.injectEndpoints({
5196
+ }), Ba = d.injectEndpoints({
5099
5197
  endpoints: (t) => ({
5100
5198
  getProjectFolders: t.query({
5101
5199
  query: () => ({ url: "/api/projectFolders" })
@@ -5133,7 +5231,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5133
5231
  })
5134
5232
  }),
5135
5233
  overrideExisting: !1
5136
- }), Sa = d.injectEndpoints({
5234
+ }), Ua = d.injectEndpoints({
5137
5235
  endpoints: (t) => ({
5138
5236
  getReviewablesForProduct: t.query({
5139
5237
  query: (e) => ({
@@ -5186,7 +5284,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5186
5284
  })
5187
5285
  }),
5188
5286
  overrideExisting: !1
5189
- }), Ia = d.injectEndpoints({
5287
+ }), Ha = d.injectEndpoints({
5190
5288
  endpoints: (t) => ({
5191
5289
  listServices: t.query({
5192
5290
  query: () => ({ url: "/api/services" })
@@ -5220,7 +5318,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5220
5318
  })
5221
5319
  }),
5222
5320
  overrideExisting: !1
5223
- }), ba = d.injectEndpoints({
5321
+ }), Ka = d.injectEndpoints({
5224
5322
  endpoints: (t) => ({
5225
5323
  listFrontendModules: t.query({
5226
5324
  query: () => ({ url: "/api/frontendModules" })
@@ -5288,7 +5386,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5288
5386
  })
5289
5387
  }),
5290
5388
  overrideExisting: !1
5291
- }), Fa = d.injectEndpoints({
5389
+ }), Qa = d.injectEndpoints({
5292
5390
  endpoints: (t) => ({
5293
5391
  getTask: t.query({
5294
5392
  query: (e) => ({
@@ -5361,7 +5459,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5361
5459
  })
5362
5460
  }),
5363
5461
  overrideExisting: !1
5364
- }), Ea = d.injectEndpoints({
5462
+ }), Wa = d.injectEndpoints({
5365
5463
  endpoints: (t) => ({
5366
5464
  getTeams: t.query({
5367
5465
  query: (e) => ({
@@ -5406,7 +5504,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5406
5504
  })
5407
5505
  }),
5408
5506
  overrideExisting: !1
5409
- }), wa = d.injectEndpoints({
5507
+ }), za = d.injectEndpoints({
5410
5508
  endpoints: (t) => ({
5411
5509
  createThumbnail: t.mutation({
5412
5510
  query: (e) => ({
@@ -5509,7 +5607,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5509
5607
  })
5510
5608
  }),
5511
5609
  overrideExisting: !1
5512
- }), xa = d.injectEndpoints({
5610
+ }), Ya = d.injectEndpoints({
5513
5611
  endpoints: (t) => ({
5514
5612
  resolveUris: t.mutation({
5515
5613
  query: (e) => ({
@@ -5533,7 +5631,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5533
5631
  })
5534
5632
  }),
5535
5633
  overrideExisting: !1
5536
- }), q = d.injectEndpoints({
5634
+ }), L = d.injectEndpoints({
5537
5635
  endpoints: (t) => ({
5538
5636
  getUserPools: t.query({
5539
5637
  query: () => ({ url: "/api/auth/pools" })
@@ -5696,7 +5794,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5696
5794
  })
5697
5795
  }),
5698
5796
  overrideExisting: !1
5699
- }), qa = d.injectEndpoints({
5797
+ }), Ja = d.injectEndpoints({
5700
5798
  endpoints: (t) => ({
5701
5799
  getVersionThumbnail: t.query({
5702
5800
  query: (e) => ({
@@ -5755,7 +5853,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5755
5853
  })
5756
5854
  }),
5757
5855
  overrideExisting: !1
5758
- }), Ca = d.injectEndpoints({
5856
+ }), Xa = d.injectEndpoints({
5759
5857
  endpoints: (t) => ({
5760
5858
  getWorkfileThumbnail: t.query({
5761
5859
  query: (e) => ({
@@ -5814,7 +5912,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5814
5912
  })
5815
5913
  }),
5816
5914
  overrideExisting: !1
5817
- }), Oa = d.injectEndpoints({
5915
+ }), Za = d.injectEndpoints({
5818
5916
  endpoints: (t) => ({
5819
5917
  getYnputCloudInfo: t.query({
5820
5918
  query: () => ({ url: "/api/connect" })
@@ -5847,7 +5945,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5847
5945
  })
5848
5946
  }),
5849
5947
  overrideExisting: !1
5850
- }), Da = d.injectEndpoints({
5948
+ }), Aa = d.injectEndpoints({
5851
5949
  endpoints: (t) => ({
5852
5950
  getEntityGroups: t.query({
5853
5951
  query: (e) => ({
@@ -5859,7 +5957,7 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5859
5957
  })
5860
5958
  }),
5861
5959
  overrideExisting: !1
5862
- }), La = d.injectEndpoints({
5960
+ }), es = d.injectEndpoints({
5863
5961
  endpoints: (t) => ({
5864
5962
  listViews: t.query({
5865
5963
  query: (e) => ({
@@ -5949,11 +6047,11 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5949
6047
  return a;
5950
6048
  });
5951
6049
  })(typeof window == "object" && window || void 0, function(t) {
5952
- var e = {}, a = -1, n = null, p = "*";
6050
+ var e = {}, a = -1, n = null, o = "*";
5953
6051
  function c(r) {
5954
- var o;
5955
- for (o in r)
5956
- if (Object.prototype.hasOwnProperty.call(r, o))
6052
+ var i;
6053
+ for (i in r)
6054
+ if (Object.prototype.hasOwnProperty.call(r, i))
5957
6055
  return !0;
5958
6056
  return !1;
5959
6057
  }
@@ -5962,91 +6060,91 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
5962
6060
  throw r;
5963
6061
  };
5964
6062
  }
5965
- function $(r, o, i) {
6063
+ function $(r, i, p) {
5966
6064
  try {
5967
- r(o, i);
6065
+ r(i, p);
5968
6066
  } catch (u) {
5969
6067
  setTimeout(l(u), 0);
5970
6068
  }
5971
6069
  }
5972
- function B(r, o, i) {
5973
- r(o, i);
6070
+ function H(r, i, p) {
6071
+ r(i, p);
5974
6072
  }
5975
- function P(r, o, i, u) {
5976
- var y = e[o], f = u ? B : $, h;
5977
- if (Object.prototype.hasOwnProperty.call(e, o))
6073
+ function S(r, i, p, u) {
6074
+ var y = e[i], f = u ? H : $, h;
6075
+ if (Object.prototype.hasOwnProperty.call(e, i))
5978
6076
  for (h in y)
5979
- Object.prototype.hasOwnProperty.call(y, h) && f(y[h], r, i);
6077
+ Object.prototype.hasOwnProperty.call(y, h) && f(y[h], r, p);
5980
6078
  }
5981
- function U(r, o, i) {
6079
+ function K(r, i, p) {
5982
6080
  return function() {
5983
6081
  var y = String(r), f = y.lastIndexOf(".");
5984
- for (P(r, r, o, i); f !== -1; )
5985
- y = y.substr(0, f), f = y.lastIndexOf("."), P(r, y, o, i);
5986
- P(r, p, o, i);
6082
+ for (S(r, r, i, p); f !== -1; )
6083
+ y = y.substr(0, f), f = y.lastIndexOf("."), S(r, y, i, p);
6084
+ S(r, o, i, p);
5987
6085
  };
5988
6086
  }
5989
- function S(r) {
5990
- var o = String(r), i = !!(Object.prototype.hasOwnProperty.call(e, o) && c(e[o]));
5991
- return i;
6087
+ function P(r) {
6088
+ var i = String(r), p = !!(Object.prototype.hasOwnProperty.call(e, i) && c(e[i]));
6089
+ return p;
5992
6090
  }
5993
- function H(r) {
5994
- for (var o = String(r), i = S(o) || S(p), u = o.lastIndexOf("."); !i && u !== -1; )
5995
- o = o.substr(0, u), u = o.lastIndexOf("."), i = S(o);
5996
- return i;
6091
+ function Q(r) {
6092
+ for (var i = String(r), p = P(i) || P(o), u = i.lastIndexOf("."); !p && u !== -1; )
6093
+ i = i.substr(0, u), u = i.lastIndexOf("."), p = P(i);
6094
+ return p;
5997
6095
  }
5998
- function w(r, o, i, u) {
6096
+ function w(r, i, p, u) {
5999
6097
  r = typeof r == "symbol" ? r.toString() : r;
6000
- var y = U(r, o, u), f = H(r);
6001
- return f ? (i === !0 ? y() : setTimeout(y, 0), !0) : !1;
6002
- }
6003
- t.publish = function(r, o) {
6004
- return w(r, o, !1, t.immediateExceptions);
6005
- }, t.publishSync = function(r, o) {
6006
- return w(r, o, !0, t.immediateExceptions);
6007
- }, t.subscribe = function(r, o) {
6008
- if (typeof o != "function")
6098
+ var y = K(r, i, u), f = Q(r);
6099
+ return f ? (p === !0 ? y() : setTimeout(y, 0), !0) : !1;
6100
+ }
6101
+ t.publish = function(r, i) {
6102
+ return w(r, i, !1, t.immediateExceptions);
6103
+ }, t.publishSync = function(r, i) {
6104
+ return w(r, i, !0, t.immediateExceptions);
6105
+ }, t.subscribe = function(r, i) {
6106
+ if (typeof i != "function")
6009
6107
  return !1;
6010
6108
  r = typeof r == "symbol" ? r.toString() : r, Object.prototype.hasOwnProperty.call(e, r) || (e[r] = {}, n && n(Object.keys(e)));
6011
- var i = "uid_" + String(++a);
6012
- return e[r][i] = o, i;
6109
+ var p = "uid_" + String(++a);
6110
+ return e[r][p] = i, p;
6013
6111
  }, t.subscribeAll = function(r) {
6014
- return t.subscribe(p, r);
6015
- }, t.subscribeOnce = function(r, o) {
6016
- var i = t.subscribe(r, function() {
6017
- t.unsubscribe(i), o.apply(this, arguments);
6112
+ return t.subscribe(o, r);
6113
+ }, t.subscribeOnce = function(r, i) {
6114
+ var p = t.subscribe(r, function() {
6115
+ t.unsubscribe(p), i.apply(this, arguments);
6018
6116
  });
6019
6117
  return t;
6020
6118
  }, t.clearAllSubscriptions = function() {
6021
6119
  e = {}, n && n(Object.keys(e));
6022
- }, t.clearSubscriptions = function(o) {
6023
- var i;
6024
- for (i in e)
6025
- Object.prototype.hasOwnProperty.call(e, i) && i.indexOf(o) === 0 && delete e[i];
6120
+ }, t.clearSubscriptions = function(i) {
6121
+ var p;
6122
+ for (p in e)
6123
+ Object.prototype.hasOwnProperty.call(e, p) && p.indexOf(i) === 0 && delete e[p];
6026
6124
  n && n(Object.keys(e));
6027
- }, t.countSubscriptions = function(o) {
6028
- var i, u, y = 0;
6029
- for (i in e)
6030
- if (Object.prototype.hasOwnProperty.call(e, i) && i.indexOf(o) === 0) {
6031
- for (u in e[i])
6125
+ }, t.countSubscriptions = function(i) {
6126
+ var p, u, y = 0;
6127
+ for (p in e)
6128
+ if (Object.prototype.hasOwnProperty.call(e, p) && p.indexOf(i) === 0) {
6129
+ for (u in e[p])
6032
6130
  y++;
6033
6131
  break;
6034
6132
  }
6035
6133
  return y;
6036
- }, t.getSubscriptions = function(o) {
6037
- var i, u = [];
6038
- for (i in e)
6039
- Object.prototype.hasOwnProperty.call(e, i) && i.indexOf(o) === 0 && u.push(i);
6134
+ }, t.getSubscriptions = function(i) {
6135
+ var p, u = [];
6136
+ for (p in e)
6137
+ Object.prototype.hasOwnProperty.call(e, p) && p.indexOf(i) === 0 && u.push(p);
6040
6138
  return u;
6041
6139
  }, t.unsubscribe = function(r) {
6042
- var o = function(v) {
6043
- var I;
6044
- for (I in e)
6045
- if (Object.prototype.hasOwnProperty.call(e, I) && I.indexOf(v) === 0)
6140
+ var i = function(v) {
6141
+ var b;
6142
+ for (b in e)
6143
+ if (Object.prototype.hasOwnProperty.call(e, b) && b.indexOf(v) === 0)
6046
6144
  return !0;
6047
6145
  return !1;
6048
- }, i = typeof r == "string" && (Object.prototype.hasOwnProperty.call(e, r) || o(r)), u = !i && typeof r == "string", y = typeof r == "function", f = !1, h, g, N;
6049
- if (i) {
6146
+ }, p = typeof r == "string" && (Object.prototype.hasOwnProperty.call(e, r) || i(r)), u = !p && typeof r == "string", y = typeof r == "function", f = !1, h, g, N;
6147
+ if (p) {
6050
6148
  t.clearSubscriptions(r);
6051
6149
  return;
6052
6150
  }
@@ -6067,21 +6165,21 @@ fragment OverviewEntityLinkNodeFragment on BaseNode {
6067
6165
  n = r;
6068
6166
  };
6069
6167
  });
6070
- const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t) => !!t?.enumResolver, E = (t) => Array.isArray(t) ? t.map(E) : t && typeof t == "object" ? Object.fromEntries(
6168
+ const ts = PubSub, as = (t) => !!t?.enum?.length || !!t?.enumResolver, ss = (t) => !!t?.enumResolver, E = (t) => Array.isArray(t) ? t.map(E) : t && typeof t == "object" ? Object.fromEntries(
6071
6169
  Object.entries(t).sort(([e], [a]) => e.localeCompare(a)).map(([e, a]) => [e, E(a)])
6072
- ) : t, C = (t) => !!t && t.includes("{"), gt = (t) => {
6170
+ ) : t, q = (t) => !!t && t.includes("{"), Et = (t) => {
6073
6171
  if (!t) return;
6074
- if (typeof t == "string") return C(t) ? void 0 : t;
6172
+ if (typeof t == "string") return q(t) ? void 0 : t;
6075
6173
  const e = t;
6076
- return e.type !== "url" ? e.name : C(e.url) ? void 0 : e.url;
6077
- }, Ma = (t) => t.map((e) => ({ ...e, icon: gt(e.icon) })), _a = (t) => t ? `Could not load options: ${t}` : "Could not load options", Ba = (t) => t?.replace(/'/g, "’").replace(/[\\\n]/g, " "), Ua = (t) => !!t && /^(\/|\.\/|\.\.\/|https?:\/\/)/.test(t), Ha = (t, e = []) => {
6174
+ return e.type !== "url" ? e.name : q(e.url) ? void 0 : e.url;
6175
+ }, rs = (t) => t.map((e) => ({ ...e, icon: Et(e.icon) })), ns = (t) => t ? `Could not load options: ${t}` : "Could not load options", os = (t) => t?.replace(/'/g, "’").replace(/[\\\n]/g, " "), is = (t) => !!t && /^(\/|\.\/|\.\.\/|https?:\/\/)/.test(t), ds = (t, e = []) => {
6078
6176
  if (!t.some((n) => n.hidden)) return t;
6079
6177
  const a = new Set(e.map(String));
6080
6178
  return t.filter((n) => !n.hidden || a.has(String(n.value)));
6081
- }, Ka = (t, e = []) => t.some((a) => a.hidden) ? t.filter((a) => !a.hidden || e.includes(a.name)) : t, R = ["project_name", "user"], Qa = (t) => R.includes(t), Wa = (t) => R.filter((e) => e in (t || {})), za = (t, e) => {
6082
- const a = G(t), n = `${e}: ${a}`;
6083
- return K.error(n), n;
6084
- }, G = (t) => {
6179
+ }, ps = (t, e = []) => t.some((a) => a.hidden) ? t.filter((a) => !a.hidden || e.includes(a.name)) : t, R = ["project_name", "user"], cs = (t) => R.includes(t), ls = (t) => R.filter((e) => e in (t || {})), ms = (t, e) => {
6180
+ const a = V(t), n = `${e}: ${a}`;
6181
+ return W.error(n), n;
6182
+ }, V = (t) => {
6085
6183
  if (!t) return "";
6086
6184
  if (typeof t == "string") return t;
6087
6185
  if (t instanceof Error) return t.message;
@@ -6090,43 +6188,43 @@ const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t)
6090
6188
  if (typeof e.data?.detail == "string") return e.data.detail;
6091
6189
  if (typeof e.error == "string") return e.error;
6092
6190
  if (e.error && typeof e.error == "object")
6093
- return G(e.error);
6191
+ return V(e.error);
6094
6192
  if (typeof e.message == "string") return e.message;
6095
6193
  try {
6096
6194
  return JSON.stringify(t) || "";
6097
6195
  } catch {
6098
6196
  return "";
6099
6197
  }
6100
- }, vt = { type: "enum", id: "RESOLVERS" }, T = [{ type: "enum", id: "users" }], V = (t) => {
6198
+ }, wt = { type: "enum", id: "RESOLVERS" }, T = [{ type: "enum", id: "users" }], M = (t) => {
6101
6199
  const e = Object.entries(t || {}).filter(
6102
6200
  ([, a]) => a != null && a !== ""
6103
6201
  );
6104
6202
  return e.length ? Object.fromEntries(e) : void 0;
6105
- }, jt = ({ enumName: t, params: e }) => JSON.stringify({ enumName: t, params: E(V(e) ?? {}) }), Ya = (t, { projectName: e } = {}, a) => {
6203
+ }, xt = ({ enumName: t, params: e }) => JSON.stringify({ enumName: t, params: E(M(e) ?? {}) }), us = (t, { projectName: e } = {}, a) => {
6106
6204
  const n = {
6107
6205
  ...t?.enumResolverSettings || {}
6108
6206
  };
6109
6207
  return e && ((c) => !a || c in a)("project_name") && (n.project_name = e), { enumName: t?.enumResolver, params: n };
6110
- }, Nt = (t) => {
6208
+ }, Lt = (t) => {
6111
6209
  const e = t.data?.detail;
6112
6210
  return typeof e == "string" ? e : `Request failed (${t.status})`;
6113
- }, Tt = ht.enhanceEndpoints({
6211
+ }, qt = Ft.enhanceEndpoints({
6114
6212
  endpoints: {
6115
6213
  listEnums: {
6116
- providesTags: [vt]
6214
+ providesTags: [wt]
6117
6215
  }
6118
6216
  }
6119
- }), O = Tt.injectEndpoints({
6217
+ }), C = qt.injectEndpoints({
6120
6218
  endpoints: (t) => ({
6121
6219
  getEnumOptions: t.query({
6122
6220
  // Failures are cached as data: RTK refetches a rejected query for every new subscriber
6123
- async queryFn({ enumName: e, params: a }, n, p, c) {
6221
+ async queryFn({ enumName: e, params: a }, n, o, c) {
6124
6222
  const l = await c({
6125
6223
  url: `/api/enum/${e}`,
6126
- params: V(a)
6224
+ params: M(a)
6127
6225
  });
6128
6226
  return l.error ? {
6129
- data: { items: [], error: Nt(l.error) }
6227
+ data: { items: [], error: Lt(l.error) }
6130
6228
  } : { data: { items: l.data } };
6131
6229
  },
6132
6230
  providesTags: (e, a, { enumName: n }) => [{ type: "enum", id: n }],
@@ -6134,14 +6232,14 @@ const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t)
6134
6232
  })
6135
6233
  }),
6136
6234
  overrideExisting: !1
6137
- }), M = O.injectEndpoints({
6235
+ }), _ = C.injectEndpoints({
6138
6236
  endpoints: (t) => ({
6139
6237
  getEnumOptionsBatch: t.query({
6140
6238
  async queryFn({ requests: e }, a) {
6141
- const n = new Map(e.map((c) => [jt(c), c])), p = await Promise.all(
6239
+ const n = new Map(e.map((c) => [xt(c), c])), o = await Promise.all(
6142
6240
  [...n].map(async ([c, l]) => {
6143
6241
  const $ = await a.dispatch(
6144
- O.endpoints.getEnumOptions.initiate(l, {
6242
+ C.endpoints.getEnumOptions.initiate(l, {
6145
6243
  subscribe: !1,
6146
6244
  // a forced batch refetch must reach the single-resolver entries too
6147
6245
  forceRefetch: a.forced
@@ -6150,19 +6248,19 @@ const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t)
6150
6248
  return [c, $];
6151
6249
  })
6152
6250
  );
6153
- return { data: Object.fromEntries(p) };
6251
+ return { data: Object.fromEntries(o) };
6154
6252
  },
6155
- providesTags: (e, a, { requests: n }) => n.map(({ enumName: p }) => ({ type: "enum", id: p }))
6253
+ providesTags: (e, a, { requests: n }) => n.map(({ enumName: o }) => ({ type: "enum", id: o }))
6156
6254
  })
6157
6255
  }),
6158
6256
  overrideExisting: !1
6159
- }), Ja = M, {
6160
- useListEnumsQuery: Xa,
6161
- useLazyListEnumsQuery: Za,
6162
- useGetEnumOptionsQuery: Aa,
6163
- useLazyGetEnumOptionsQuery: es,
6164
- useGetEnumOptionsBatchQuery: ts
6165
- } = M, kt = q.enhanceEndpoints({
6257
+ }), ys = _, {
6258
+ useListEnumsQuery: fs,
6259
+ useLazyListEnumsQuery: $s,
6260
+ useGetEnumOptionsQuery: hs,
6261
+ useLazyGetEnumOptionsQuery: gs,
6262
+ useGetEnumOptionsBatchQuery: vs
6263
+ } = _, Ct = L.enhanceEndpoints({
6166
6264
  endpoints: {
6167
6265
  deleteUser: {
6168
6266
  invalidatesTags: () => [{ type: "user", id: "LIST" }, ...T]
@@ -6184,21 +6282,21 @@ const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t)
6184
6282
  // @ts-expect-error - disableInvalidations is not in the api
6185
6283
  invalidatesTags: (t, e, { userName: a, disableInvalidations: n }) => n ? [] : [{ type: "user", id: a }, "info"],
6186
6284
  async onQueryStarted({ patchData: t }, { dispatch: e, queryFulfilled: a, getState: n }) {
6187
- const p = e(
6188
- q.util.updateQueryData("getCurrentUser", void 0, (c) => {
6285
+ const o = e(
6286
+ L.util.updateQueryData("getCurrentUser", void 0, (c) => {
6189
6287
  c?.data && (c.data.frontendPreferences = { ...c.data.frontendPreferences, ...t });
6190
6288
  })
6191
6289
  );
6192
6290
  try {
6193
6291
  await a;
6194
6292
  } catch {
6195
- p.undo();
6293
+ o.undo();
6196
6294
  }
6197
6295
  }
6198
6296
  // onQueryStarted
6199
6297
  }
6200
6298
  }
6201
- }), D = kt.injectEndpoints({
6299
+ }), D = Ct.injectEndpoints({
6202
6300
  endpoints: (t) => ({
6203
6301
  updateUser: t.mutation({
6204
6302
  query: ({ name: e, patch: a }) => ({
@@ -6260,7 +6358,7 @@ const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t)
6260
6358
  })
6261
6359
  }),
6262
6360
  overrideExisting: !0
6263
- }), Pt = D.injectEndpoints({
6361
+ }), Dt = D.injectEndpoints({
6264
6362
  endpoints: (t) => ({
6265
6363
  // update multiple users at once
6266
6364
  updateUsers: t.mutation({
@@ -6268,198 +6366,222 @@ const Ra = PubSub, Ga = (t) => !!t?.enum?.length || !!t?.enumResolver, Va = (t)
6268
6366
  queryFn: async (e, { dispatch: a }) => {
6269
6367
  const n = await Promise.all(
6270
6368
  e.map(({ name: c, patch: l }) => a(D.endpoints.updateUser.initiate({ name: c, patch: l })))
6271
- ), p = n.find((c) => c.error);
6272
- return p ? { error: F(p.error) } : { data: n.map((c) => c.data) };
6369
+ ), o = n.find((c) => c.error);
6370
+ return o ? { error: F(o.error) } : { data: n.map((c) => c.data) };
6273
6371
  }
6274
6372
  })
6275
6373
  })
6276
6374
  }), {
6277
- useUpdateUserMutation: as,
6278
- useUpdateUsersMutation: ss,
6279
- useUpdateUserNameMutation: rs,
6280
- useUpdateUserPasswordMutation: ns,
6281
- useAddUserMutation: os,
6282
- useDeleteUserMutation: is,
6283
- useDeleteAvatarMutation: ds,
6284
- useUpdateUserAPIKeyMutation: ps,
6285
- useInvalidateUserSessionMutation: cs,
6286
- useSetFrontendPreferencesMutation: ls,
6287
- useInviteUserMutation: ms,
6288
- useAcceptInviteMutation: us
6289
- } = Pt, ys = (t) => t.split(/[,\r\n\t]/).map((e) => e.trim().split(/\s+/).filter(Boolean)).filter((e) => e.length > 0), _ = (t, e) => Object.freeze({
6375
+ useUpdateUserMutation: js,
6376
+ useUpdateUsersMutation: Ns,
6377
+ useUpdateUserNameMutation: Ts,
6378
+ useUpdateUserPasswordMutation: ks,
6379
+ useAddUserMutation: Ss,
6380
+ useDeleteUserMutation: Ps,
6381
+ useDeleteAvatarMutation: bs,
6382
+ useUpdateUserAPIKeyMutation: Is,
6383
+ useInvalidateUserSessionMutation: Fs,
6384
+ useSetFrontendPreferencesMutation: Es,
6385
+ useInviteUserMutation: ws,
6386
+ useAcceptInviteMutation: xs
6387
+ } = Dt, B = (t) => t.split(/[,\r\n\t]/).map((e) => e.trim().split(/\s+/).filter(Boolean)).filter((e) => e.length > 0), Ls = (t, e) => {
6388
+ const a = B(t);
6389
+ return a.length ? {
6390
+ operator: "or",
6391
+ conditions: a.map((n) => ({
6392
+ operator: "and",
6393
+ conditions: n.map(e)
6394
+ }))
6395
+ } : null;
6396
+ }, U = (t, e) => Object.freeze({
6290
6397
  rankedValue: "",
6291
6398
  rank: t,
6292
6399
  accessorIndex: -1,
6293
6400
  accessorThreshold: k.CONTAINS,
6294
6401
  passed: e
6295
- }), St = _(k.NO_MATCH, !1), It = _(k.CONTAINS, !0), fs = (t, e) => {
6296
- if (!e.length) return It;
6402
+ }), Ot = U(k.NO_MATCH, !1), Gt = U(k.CONTAINS, !0), Rt = (t, e) => {
6403
+ if (!e.length) return Gt;
6297
6404
  let a = null;
6298
6405
  for (const n of e) {
6299
- let p = null;
6406
+ let o = null;
6300
6407
  for (const c of n) {
6301
- const l = J(t, c, { threshold: k.CONTAINS });
6408
+ const l = ae(t, c, { threshold: k.CONTAINS });
6302
6409
  if (!l.passed) {
6303
- p = null;
6410
+ o = null;
6304
6411
  break;
6305
6412
  }
6306
- (!p || l.rank > p.rank) && (p = l);
6413
+ (!o || l.rank > o.rank) && (o = l);
6307
6414
  }
6308
- p && (!a || p.rank > a.rank) && (a = p);
6415
+ o && (!a || o.rank > a.rank) && (a = o);
6309
6416
  }
6310
- return a ?? St;
6311
- }, $s = (t) => /[\r\n\t]/.test(t) ? t.replace(/[\r\n\t]+/g, ",").replace(/,+/g, ",").replace(/^,|,$/g, "") : null;
6417
+ return a ?? Ot;
6418
+ }, qs = (t, e, a) => {
6419
+ const n = B(e);
6420
+ return n.length ? t.map((o) => ({ item: o, rank: Rt(a(o), n) })).filter(({ rank: o }) => o.passed).sort((o, c) => c.rank.rank - o.rank.rank).map(({ item: o }) => o) : t;
6421
+ }, Cs = (t) => /[\r\n\t]/.test(t) ? t.replace(/[\r\n\t]+/g, ",").replace(/,+/g, ",").replace(/^,|,$/g, "") : null;
6312
6422
  export {
6313
- ne as $,
6314
- Dt as A,
6315
- ge as B,
6316
- Ut as C,
6317
- Lt as D,
6318
- vt as E,
6319
- he as F,
6320
- Ce as G,
6321
- ve as H,
6322
- je as I,
6323
- We as J,
6324
- $e as K,
6325
- Ge as L,
6326
- Re as M,
6423
+ Ae as $,
6424
+ Zt as A,
6425
+ Ue as B,
6426
+ ia as C,
6427
+ At as D,
6428
+ wt as E,
6429
+ We as F,
6430
+ He as G,
6431
+ be as H,
6432
+ Pe as I,
6433
+ Ie as J,
6434
+ Fe as K,
6435
+ rt as L,
6436
+ Se as M,
6327
6437
  Ye as N,
6328
- Qe as O,
6329
- Fe as P,
6330
- Ee as Q,
6331
- Pe as R,
6332
- Se as S,
6333
- Ie as T,
6334
- Je as U,
6335
- Ne as V,
6336
- Me as W,
6337
- _e as X,
6338
- Be as Y,
6339
- Ve as Z,
6340
- le as _,
6438
+ ze as O,
6439
+ ot as P,
6440
+ st as Q,
6441
+ Ve as R,
6442
+ Me as S,
6443
+ De as T,
6444
+ Oe as U,
6445
+ Ge as V,
6446
+ we as W,
6447
+ it as X,
6448
+ Le as Y,
6449
+ Xe as Z,
6450
+ Ze as _,
6341
6451
  d as a,
6342
- ms as a$,
6343
- Qt as a0,
6344
- Bt as a1,
6345
- Xt as a2,
6346
- Wt as a3,
6347
- Zt as a4,
6348
- Kt as a5,
6349
- oe as a6,
6350
- _t as a7,
6351
- Ht as a8,
6352
- s as a9,
6353
- At as aA,
6354
- ea as aB,
6355
- Da as aC,
6356
- $a as aD,
6357
- ha as aE,
6358
- ga as aF,
6359
- F as aG,
6360
- va as aH,
6361
- ja as aI,
6362
- Na as aJ,
6363
- Ta as aK,
6364
- Pa as aL,
6365
- ka as aM,
6366
- Sa as aN,
6367
- Ia as aO,
6368
- ba as aP,
6369
- Fa as aQ,
6370
- Ea as aR,
6371
- wa as aS,
6372
- xa as aT,
6373
- us as aU,
6374
- os as aV,
6375
- ds as aW,
6376
- is as aX,
6377
- ts as aY,
6378
- Aa as aZ,
6379
- cs as a_,
6380
- T as aa,
6381
- zt as ab,
6382
- Jt as ac,
6383
- Yt as ad,
6384
- ta as ae,
6385
- aa as af,
6386
- sa as ag,
6387
- ra as ah,
6388
- na as ai,
6389
- oa as aj,
6390
- ia as ak,
6391
- Ct as al,
6392
- da as am,
6393
- A as an,
6394
- pa as ao,
6395
- ca as ap,
6396
- la as aq,
6397
- ma as ar,
6398
- Ja as as,
6399
- ht as at,
6400
- ua as au,
6401
- ya as av,
6402
- fa as aw,
6403
- Ya as ax,
6404
- jt as ay,
6405
- qt as az,
6406
- Rt as b,
6407
- es as b0,
6408
- Za as b1,
6409
- Xa as b2,
6410
- ls as b3,
6411
- ps as b4,
6412
- as as b5,
6413
- rs as b6,
6414
- ns as b7,
6415
- ss as b8,
6416
- Pt as b9,
6417
- q as ba,
6418
- qa as bb,
6419
- La as bc,
6420
- Ca as bd,
6421
- Oa as be,
6422
- Ra as bf,
6423
- Va as bg,
6424
- _a as bh,
6425
- Ma as bi,
6426
- G as bj,
6427
- Ga as bk,
6428
- za as bl,
6429
- R as bm,
6430
- Wa as bn,
6431
- gt as bo,
6432
- Ka as bp,
6433
- Ha as bq,
6434
- Qa as br,
6435
- Ua as bs,
6436
- fs as bt,
6437
- ys as bu,
6438
- $s as bv,
6439
- E as bw,
6440
- Ba as bx,
6441
- Gt as c,
6442
- Vt as d,
6443
- Mt as e,
6444
- ie as f,
6445
- pe as g,
6446
- de as h,
6447
- Oe as i,
6448
- De as j,
6449
- me as k,
6450
- ue as l,
6451
- ye as m,
6452
- fe as n,
6453
- ce as o,
6454
- Te as p,
6455
- ke as q,
6456
- be as r,
6457
- Ue as s,
6458
- He as t,
6459
- Ke as u,
6460
- ze as v,
6461
- we as w,
6462
- xe as x,
6463
- qe as y,
6464
- Le as z
6452
+ za as a$,
6453
+ Je as a0,
6454
+ ve as a1,
6455
+ xe as a2,
6456
+ ue as a3,
6457
+ ca as a4,
6458
+ oa as a5,
6459
+ ra as a6,
6460
+ fa as a7,
6461
+ la as a8,
6462
+ $a as a9,
6463
+ ys as aA,
6464
+ Ft as aB,
6465
+ xa as aC,
6466
+ La as aD,
6467
+ qa as aE,
6468
+ us as aF,
6469
+ xt as aG,
6470
+ Qt as aH,
6471
+ ha as aI,
6472
+ ga as aJ,
6473
+ Aa as aK,
6474
+ Ca as aL,
6475
+ Da as aM,
6476
+ Oa as aN,
6477
+ F as aO,
6478
+ Ga as aP,
6479
+ Ra as aQ,
6480
+ Va as aR,
6481
+ Ma as aS,
6482
+ Ba as aT,
6483
+ _a as aU,
6484
+ Ua as aV,
6485
+ le as aW,
6486
+ Ha as aX,
6487
+ Ka as aY,
6488
+ Qa as aZ,
6489
+ Wa as a_,
6490
+ pa as aa,
6491
+ ye as ab,
6492
+ na as ac,
6493
+ da as ad,
6494
+ s as ae,
6495
+ T as af,
6496
+ ma as ag,
6497
+ ya as ah,
6498
+ ua as ai,
6499
+ va as aj,
6500
+ ja as ak,
6501
+ Na as al,
6502
+ zt as am,
6503
+ Ta as an,
6504
+ ka as ao,
6505
+ Sa as ap,
6506
+ Pa as aq,
6507
+ Wt as ar,
6508
+ ba as as,
6509
+ ne as at,
6510
+ Ia as au,
6511
+ Jt as av,
6512
+ Fa as aw,
6513
+ Ea as ax,
6514
+ G as ay,
6515
+ wa as az,
6516
+ ea as b,
6517
+ Ya as b0,
6518
+ xs as b1,
6519
+ Ss as b2,
6520
+ bs as b3,
6521
+ Ps as b4,
6522
+ vs as b5,
6523
+ hs as b6,
6524
+ Fs as b7,
6525
+ ws as b8,
6526
+ gs as b9,
6527
+ ds as bA,
6528
+ as as bB,
6529
+ cs as bC,
6530
+ is as bD,
6531
+ Rt as bE,
6532
+ B as bF,
6533
+ Cs as bG,
6534
+ Ls as bH,
6535
+ E as bI,
6536
+ os as bJ,
6537
+ $s as ba,
6538
+ fs as bb,
6539
+ Es as bc,
6540
+ Is as bd,
6541
+ js as be,
6542
+ Ts as bf,
6543
+ ks as bg,
6544
+ Ns as bh,
6545
+ Dt as bi,
6546
+ L as bj,
6547
+ Ja as bk,
6548
+ es as bl,
6549
+ Yt as bm,
6550
+ Xa as bn,
6551
+ Za as bo,
6552
+ ts as bp,
6553
+ ss as bq,
6554
+ ns as br,
6555
+ rs as bs,
6556
+ V as bt,
6557
+ ms as bu,
6558
+ R as bv,
6559
+ qs as bw,
6560
+ ls as bx,
6561
+ Et as by,
6562
+ ps as bz,
6563
+ ta as c,
6564
+ aa as d,
6565
+ sa as e,
6566
+ me as f,
6567
+ fe as g,
6568
+ he as h,
6569
+ $e as i,
6570
+ Ke as j,
6571
+ Qe as k,
6572
+ je as l,
6573
+ Ne as m,
6574
+ Te as n,
6575
+ ke as o,
6576
+ ge as p,
6577
+ qe as q,
6578
+ Ce as r,
6579
+ Re as s,
6580
+ Ee as t,
6581
+ et as u,
6582
+ tt as v,
6583
+ at as w,
6584
+ nt as x,
6585
+ _e as y,
6586
+ Be as z
6465
6587
  };