@ynput/ayon-frontend-shared 0.6.7 → 0.6.8

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 (35) hide show
  1. package/dist/DetailsPanel.es.js +1 -1
  2. package/dist/ListTable.es.js +2 -2
  3. package/dist/NewEntity.es.js +36 -36
  4. package/dist/ProjectTreeTable.es.js +3 -3
  5. package/dist/Slicer.es.js +21 -21
  6. package/dist/Views.es.js +1 -1
  7. package/dist/api.es.js +362 -360
  8. package/dist/chunks/Actions.es.js +21 -21
  9. package/dist/chunks/ColumnDropIndicator.es.js +5 -5
  10. package/dist/chunks/DeleteEntitiesContextInstance.es.js +22 -22
  11. package/dist/chunks/EmptyPlaceholder.es.js +9 -9
  12. package/dist/chunks/EntityPath.es.js +1 -1
  13. package/dist/chunks/EntityUpdatesContext.es.js +1 -1
  14. package/dist/chunks/Feed.es.js +1750 -1716
  15. package/dist/chunks/MetaWidget.es.js +2 -2
  16. package/dist/chunks/PlayableIcon.es.js +1 -1
  17. package/dist/chunks/ProjectContext.es.js +11 -11
  18. package/dist/chunks/ReviewablesSelector.es.js +570 -482
  19. package/dist/chunks/SimpleForm.es.js +7 -7
  20. package/dist/chunks/SimpleTable.es.js +1 -1
  21. package/dist/chunks/Slicer.es.js +73 -73
  22. package/dist/chunks/ThumbnailSimple.es.js +15 -15
  23. package/dist/chunks/Watchers.es.js +33 -33
  24. package/dist/chunks/getBundleMode.es.js +1 -1
  25. package/dist/chunks/getUris.es.js +236 -229
  26. package/dist/chunks/searchTerms.es.js +352 -333
  27. package/dist/chunks/useAttributeEnums.es.js +16 -16
  28. package/dist/chunks/viewUpdateHelper.es.js +8 -8
  29. package/dist/components.es.js +108 -107
  30. package/dist/context.es.js +62 -62
  31. package/dist/hooks.es.js +13 -13
  32. package/dist/types/api.d.ts +372 -0
  33. package/dist/types/components.d.ts +4 -0
  34. package/dist/util.es.js +2 -2
  35. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- import { jsx as F, jsxs as ge } from "react/jsx-runtime";
2
- import { useState as w, useRef as re, useEffect as _, useCallback as E, useMemo as T } from "react";
1
+ import { jsx as D, jsxs as ge } from "react/jsx-runtime";
2
+ import { useState as w, useRef as re, useEffect as $, useCallback as E, useMemo as T } from "react";
3
3
  import { registerRemotes as me } from "@module-federation/enhanced/runtime";
4
4
  import { toast as M } from "react-toastify";
5
- import { d as ie, z as he, R as ye, a as ae, p as Pe, A as ve, B as be, G as we, H as Ce, I as Se, J as Ie, K as ke, L as Le, N as xe, O as Ee, Q as De, U as Fe, V as je, W as Te } from "./chunks/DeleteEntitiesContextInstance.es.js";
6
- import { E as Rt, M as At, X as Mt, P as Ut, Y as Nt, Z as _t, T as Gt, _ as $t, $ as Bt, g as Wt, a0 as Qt, m as qt, c as Vt, a1 as zt, t as Ht, a2 as Yt, a3 as Kt, a4 as Jt, a5 as Xt, a6 as Zt, o as en, u as tn, n as nn, a7 as on, x as sn, y as rn, b as an, a8 as ln, a9 as cn, aa as dn, ab as un, ac as pn, ad as fn } from "./chunks/DeleteEntitiesContextInstance.es.js";
7
- import { ay as Oe, bi as Re } from "./chunks/searchTerms.es.js";
8
- import { cS as Ae, c4 as Me, ci as Ue, bq as Ne, cU as _e, cD as Ge, bK as $e, c_ as Be, dn as We, cK as Qe } from "./chunks/getUris.es.js";
5
+ import { d as ie, z as he, R as ye, a as ae, p as Pe, A as ve, B as be, G as we, H as Ce, I as Se, J as Ie, K as ke, L as Le, N as xe, O as Ee, Q as Fe, U as De, V as je, W as Te } from "./chunks/DeleteEntitiesContextInstance.es.js";
6
+ import { E as Rt, M as At, X as Mt, P as Ut, Y as Nt, Z as $t, T as Gt, _ as _t, $ as Bt, g as Wt, a0 as Qt, m as Vt, c as qt, a1 as zt, t as Ht, a2 as Yt, a3 as Kt, a4 as Jt, a5 as Xt, a6 as Zt, o as en, u as tn, n as nn, a7 as on, x as sn, y as rn, b as an, a8 as ln, a9 as cn, aa as dn, ab as un, ac as pn, ad as fn } from "./chunks/DeleteEntitiesContextInstance.es.js";
7
+ import { az as Oe, bj as Re } from "./chunks/searchTerms.es.js";
8
+ import { cT as Ae, c4 as Me, ci as Ue, bq as Ne, cV as $e, cE as Ge, bK as _e, c$ as Be, dp as We, cL as Qe } from "./chunks/getUris.es.js";
9
9
  import "primereact/confirmdialog";
10
10
  import "lodash";
11
11
  import { v4 as J } from "uuid";
12
- import { g as qe, p as Ve, b as ze } from "./chunks/getBundleMode.es.js";
12
+ import { g as Ve, p as qe, b as ze } from "./chunks/getBundleMode.es.js";
13
13
  import { u as le } from "./chunks/useLoadModule.es.js";
14
14
  import { P as mn, T as hn } from "./chunks/ProjectContext.es.js";
15
15
  import "react-dom";
@@ -29,7 +29,7 @@ const vt = ({ children: d, skip: i }) => {
29
29
  siteInfo: c,
30
30
  isLoading: { siteInfo: f }
31
31
  } = ie(), [y, P] = w(!1), C = re({});
32
- return _(() => {
32
+ return $(() => {
33
33
  if (!y || a) return;
34
34
  const l = r.filter(({ addonName: p, addonVersion: b }) => {
35
35
  const h = C.current[p];
@@ -39,9 +39,9 @@ const vt = ({ children: d, skip: i }) => {
39
39
  M.dismiss(e);
40
40
  return;
41
41
  }
42
- const n = l.map((p) => `${p.addonName} ${p.addonVersion}`).join(", "), u = /* @__PURE__ */ F(ye, { message: `Addons updated (${n}). Refresh to load them.` });
42
+ const n = l.map((p) => `${p.addonName} ${p.addonVersion}`).join(", "), u = /* @__PURE__ */ D(ye, { message: `Addons updated (${n}). Refresh to load them.` });
43
43
  M.isActive(e) ? M.update(e, { render: u }) : M.info(u, { toastId: e, autoClose: !1, closeOnClick: !1 });
44
- }, [r, a, y]), _(() => {
44
+ }, [r, a, y]), $(() => {
45
45
  if (t || f || y) return;
46
46
  if (!r.length) {
47
47
  P(!0);
@@ -66,7 +66,7 @@ const vt = ({ children: d, skip: i }) => {
66
66
  type: "module"
67
67
  }))
68
68
  ), P(!0);
69
- }, [r, t, f, y]), /* @__PURE__ */ F(
69
+ }, [r, t, f, y]), /* @__PURE__ */ D(
70
70
  he.Provider,
71
71
  {
72
72
  value: {
@@ -129,10 +129,10 @@ const vt = ({ children: d, skip: i }) => {
129
129
  debug: t = {},
130
130
  ...a
131
131
  }) => {
132
- const c = a.user, f = qe(c), y = "isGuest" in t ? t.isGuest : c?.data?.isGuest, { powerLicense: P, setPowerpackDialog: C } = ae(), l = "hasLicense" in t ? t.hasLicense : !!P || r, [e, n] = w({}), [u, p] = w([]), [b, h] = w([]), x = E(
132
+ const c = a.user, f = Ve(c), y = "isGuest" in t ? t.isGuest : c?.data?.isGuest, { powerLicense: P, setPowerpackDialog: C } = ae(), l = "hasLicense" in t ? t.hasLicense : !!P || r, [e, n] = w({}), [u, p] = w([]), [b, h] = w([]), x = E(
133
133
  (S) => e[S] ? e[S] : !1,
134
134
  [e]
135
- ), D = E(
135
+ ), F = E(
136
136
  (S, G) => {
137
137
  const A = { ...e };
138
138
  A[S] = G, n(A);
@@ -149,16 +149,16 @@ const vt = ({ children: d, skip: i }) => {
149
149
  }, []), j = E(() => {
150
150
  I(null), v && N([]);
151
151
  }, []);
152
- _(() => {
152
+ $(() => {
153
153
  j();
154
154
  }, [a.useLocation().pathname]);
155
155
  const [s, k] = w(null), L = E((S) => {
156
156
  k(S);
157
157
  }, []), R = E(() => {
158
158
  k(null);
159
- }, []), [U, $] = w(null), [H, N] = w([]), { uriType: Y, uri: de, entity: B, getUriEntities: ue } = be(), [W] = a.useSearchParams(), Q = W.get("project"), q = W.get("type"), V = W.get("id"), X = W.get("activity");
160
- _(() => {
161
- if (!(!Q && !q && !V)) {
159
+ }, []), [U, _] = w(null), [H, N] = w([]), { uriType: Y, uri: de, entity: B, getUriEntities: ue } = be(), [W] = a.useSearchParams(), Q = W.get("project"), V = W.get("type"), q = W.get("id"), X = W.get("activity");
160
+ $(() => {
161
+ if (!(!Q && !V && !q)) {
162
162
  if (Y === "entity" && B && B.entityType !== "product") {
163
163
  ue().then((S) => {
164
164
  if (S.length === 0) return;
@@ -176,17 +176,17 @@ const vt = ({ children: d, skip: i }) => {
176
176
  ],
177
177
  source: "uri"
178
178
  };
179
- $(pe);
179
+ _(pe);
180
180
  }).catch((S) => {
181
181
  console.warn("Failed to get URI entities:", S);
182
182
  });
183
183
  return;
184
184
  }
185
- Q && q && V && ($({
186
- entityType: q,
185
+ Q && V && q && (_({
186
+ entityType: V,
187
187
  entities: [
188
188
  {
189
- id: V,
189
+ id: q,
190
190
  projectName: Q
191
191
  }
192
192
  ],
@@ -196,12 +196,12 @@ const vt = ({ children: d, skip: i }) => {
196
196
  overview: "feed"
197
197
  })));
198
198
  }
199
- }, [Q, q, V]);
199
+ }, [Q, V, q]);
200
200
  const z = {
201
201
  // open state for the panel by scope
202
202
  panelOpenByScope: e,
203
203
  getOpenForScope: x,
204
- setPanelOpen: D,
204
+ setPanelOpen: F,
205
205
  setPanelOpenByScope: n,
206
206
  // tab preferences
207
207
  tabsByScope: g,
@@ -219,7 +219,7 @@ const vt = ({ children: d, skip: i }) => {
219
219
  closePip: R,
220
220
  // entities state
221
221
  entities: U,
222
- setEntities: $,
222
+ setEntities: _,
223
223
  feedAnnotations: u,
224
224
  setFeedAnnotations: p,
225
225
  feedFrameLinks: b,
@@ -230,10 +230,10 @@ const vt = ({ children: d, skip: i }) => {
230
230
  onPowerFeature: C,
231
231
  ...a
232
232
  }, K = re(z), Z = K.current, ee = Object.keys(z);
233
- return (ee.length !== Object.keys(Z).length || ee.some((S) => Z[S] !== z[S])) && (K.current = z), /* @__PURE__ */ F(we.Provider, { value: K.current, children: d });
233
+ return (ee.length !== Object.keys(Z).length || ee.some((S) => Z[S] !== z[S])) && (K.current = z), /* @__PURE__ */ D(we.Provider, { value: K.current, children: d });
234
234
  }, et = (d) => {
235
235
  const { setPowerpackDialog: i } = ae();
236
- return _(() => {
236
+ return $(() => {
237
237
  i({ addon: "planner", feature: "subtasks" }), d?.onNotFound?.();
238
238
  }, [i, d.onNotFound]), null;
239
239
  }, wt = ({ children: d }) => {
@@ -243,7 +243,7 @@ const vt = ({ children: d, skip: i }) => {
243
243
  module: "SubtasksManager",
244
244
  fallback: et
245
245
  });
246
- return /* @__PURE__ */ F(
246
+ return /* @__PURE__ */ D(
247
247
  Se.Provider,
248
248
  {
249
249
  value: { SubtasksManager: i, requiredVersion: r?.required, isLoading: t },
@@ -262,7 +262,7 @@ const vt = ({ children: d, skip: i }) => {
262
262
  }, e = () => {
263
263
  a(null), f(null);
264
264
  };
265
- return /* @__PURE__ */ F(
265
+ return /* @__PURE__ */ D(
266
266
  Ie.Provider,
267
267
  {
268
268
  value: {
@@ -303,7 +303,7 @@ function St({ children: d }) {
303
303
  },
304
304
  [t, c]
305
305
  );
306
- _(() => {
306
+ $(() => {
307
307
  [...document.styleSheets].forEach((l) => {
308
308
  try {
309
309
  const e = [...l.cssRules].map((p) => p.cssText).join(""), n = document.createElement("style");
@@ -331,7 +331,7 @@ function St({ children: d }) {
331
331
  requestPipWindow: P,
332
332
  closePipWindow: y
333
333
  }), [y, r, t, P]);
334
- return /* @__PURE__ */ F(ke.Provider, { value: C, children: d });
334
+ return /* @__PURE__ */ D(ke.Provider, { value: C, children: d });
335
335
  }
336
336
  const It = ({
337
337
  children: d,
@@ -344,7 +344,7 @@ const It = ({
344
344
  { projectName: i },
345
345
  { skip: !i }
346
346
  ), { user: c } = ie();
347
- return /* @__PURE__ */ F(
347
+ return /* @__PURE__ */ D(
348
348
  Le.Provider,
349
349
  {
350
350
  value: {
@@ -357,7 +357,7 @@ const It = ({
357
357
  children: d
358
358
  }
359
359
  );
360
- }, kt = ({ children: d, ...i }) => /* @__PURE__ */ F(xe.Provider, { value: { ...i }, children: d }), ce = "powerpack-license", tt = () => {
360
+ }, kt = ({ children: d, ...i }) => /* @__PURE__ */ D(xe.Provider, { value: { ...i }, children: d }), ce = "powerpack-license", tt = () => {
361
361
  try {
362
362
  const d = localStorage.getItem(ce);
363
363
  return d === null ? null : d === "true";
@@ -379,17 +379,17 @@ const It = ({
379
379
  if (!o) return null;
380
380
  const m = Ze[o.addon];
381
381
  return m ? { ...m, selectedFeature: o.feature } : null;
382
- }, [l, e] = w(!1), [n] = w(tt), [u, p] = w(!0), b = async () => !1, [h, { isLoaded: x, isLoading: D }] = le({
382
+ }, [l, e] = w(!1), [n] = w(tt), [u, p] = w(!0), b = async () => !1, [h, { isLoaded: x, isLoading: F }] = le({
383
383
  addon: "powerpack",
384
384
  remote: "license",
385
385
  module: "checkPowerLicense",
386
386
  fallback: b
387
387
  });
388
- _(() => {
388
+ $(() => {
389
389
  (async () => {
390
390
  if (i?.powerLicense !== void 0)
391
391
  console.warn("Using debug power license:", i.powerLicense), e(i.powerLicense), p(!1);
392
- else if (x || !D) {
392
+ else if (x || !F) {
393
393
  try {
394
394
  const m = await h();
395
395
  e(m), nt(m);
@@ -401,7 +401,7 @@ const It = ({
401
401
  p(!1);
402
402
  }
403
403
  })();
404
- }, [i, x, D, h]);
404
+ }, [i, x, F, h]);
405
405
  const g = T(
406
406
  () => ({
407
407
  powerLicense: l,
@@ -415,7 +415,7 @@ const It = ({
415
415
  }),
416
416
  [l, r, a, y, u, n]
417
417
  );
418
- return /* @__PURE__ */ F(Ee.Provider, { value: g, children: d });
418
+ return /* @__PURE__ */ D(Ee.Provider, { value: g, children: d });
419
419
  }, xt = ({ children: d, skip: i = !1 }) => {
420
420
  const {
421
421
  data: r = {},
@@ -425,13 +425,13 @@ const It = ({
425
425
  data: P = [],
426
426
  isLoading: C,
427
427
  error: l
428
- } = _e({}, { skip: i }), e = T(() => P.filter((b) => b.active), [P]), {
428
+ } = $e({}, { skip: i }), e = T(() => P.filter((b) => b.active), [P]), {
429
429
  data: n,
430
430
  isLoading: u,
431
431
  error: p
432
432
  } = Ge(void 0, { skip: !c?.name });
433
- return /* @__PURE__ */ F(
434
- De.Provider,
433
+ return /* @__PURE__ */ D(
434
+ Fe.Provider,
435
435
  {
436
436
  value: {
437
437
  siteInfo: r,
@@ -470,7 +470,7 @@ const It = ({
470
470
  isUninitialized: f,
471
471
  error: y,
472
472
  refetch: P
473
- } = $e({ projectName: d, attrib: !0 }), C = Xe({ projectName: d }, a || t), l = T(() => {
473
+ } = _e({ projectName: d, attrib: !0 }), C = Xe({ projectName: d }, a || t), l = T(() => {
474
474
  const g = /* @__PURE__ */ new Map();
475
475
  for (const o of r)
476
476
  g.set(o.id, o);
@@ -536,7 +536,7 @@ const It = ({
536
536
  return m;
537
537
  },
538
538
  [b]
539
- ), x = () => P().unwrap(), D = T(
539
+ ), x = () => P().unwrap(), F = T(
540
540
  () => ({
541
541
  folders: r,
542
542
  getFolderById: e,
@@ -568,13 +568,13 @@ const It = ({
568
568
  x
569
569
  ]
570
570
  );
571
- return /* @__PURE__ */ F(Fe.Provider, { value: D, children: i });
572
- }, Dt = "uri", Ft = ({ children: d }) => {
571
+ return /* @__PURE__ */ D(De.Provider, { value: F, children: i });
572
+ }, Ft = "uri", Dt = ({ children: d }) => {
573
573
  const i = location.pathname, [r, t] = w(""), a = ["projects", "settings", "dashboard/tasks"];
574
- _(() => {
574
+ $(() => {
575
575
  a.some((u) => i.startsWith(`/${u}`)) || t("");
576
576
  }, [i, t]);
577
- const { type: c, entity: f, settings: y } = Ve(r), P = E(
577
+ const { type: c, entity: f, settings: y } = qe(r), P = E(
578
578
  ({ projectName: n, folderPath: u, taskName: p, productName: b, versionName: h }) => {
579
579
  const x = ze({ projectName: n, folderPath: u, taskName: p, productName: b, versionName: h });
580
580
  t(x);
@@ -597,7 +597,7 @@ const It = ({
597
597
  setEntityUri: P,
598
598
  getUriEntities: l
599
599
  };
600
- return /* @__PURE__ */ F(je.Provider, { value: e, children: d });
600
+ return /* @__PURE__ */ D(je.Provider, { value: e, children: d });
601
601
  }, se = [
602
602
  "representation",
603
603
  "version",
@@ -643,7 +643,7 @@ const It = ({
643
643
  }).unwrap();
644
644
  })
645
645
  );
646
- }, D = async () => {
646
+ }, F = async () => {
647
647
  try {
648
648
  await x(h, !1), n?.onSuccess?.();
649
649
  } catch (s) {
@@ -685,7 +685,7 @@ const It = ({
685
685
  expectedCounts: Je(h, m),
686
686
  expectedName: j && (j.label || j.name || j.id)
687
687
  },
688
- accept: D,
688
+ accept: F,
689
689
  recover: async (s) => Oe(s).includes(ot) ? await y({
690
690
  entityLabel: O,
691
691
  message: `Are you really sure you want to delete ${O} and all of its dependencies? This cannot be undone. (NOT RECOMMENDED)`,
@@ -709,7 +709,7 @@ const It = ({
709
709
  try {
710
710
  await n(), h();
711
711
  } catch (x) {
712
- let D = x;
712
+ let F = x;
713
713
  try {
714
714
  const o = await u(x);
715
715
  if (o === "recovered") return h();
@@ -721,9 +721,9 @@ const It = ({
721
721
  isLoading: !1
722
722
  });
723
723
  } catch (o) {
724
- D = o;
724
+ F = o;
725
725
  }
726
- const g = typeof D == "string" ? D : D?.message || D?.error || `Error deleting ${p}`;
726
+ const g = typeof F == "string" ? F : F?.message || F?.error || `Error deleting ${p}`;
727
727
  M.update(b, {
728
728
  render: g,
729
729
  type: "error",
@@ -734,7 +734,7 @@ const It = ({
734
734
  }, [t]), l = T(() => ({ deleteEntities: P }), [P]);
735
735
  return /* @__PURE__ */ ge(Te.Provider, { value: l, children: [
736
736
  d,
737
- t && /* @__PURE__ */ F(
737
+ t && /* @__PURE__ */ D(
738
738
  oe,
739
739
  {
740
740
  payload: t.payload,
@@ -742,7 +742,7 @@ const It = ({
742
742
  onCancel: () => a(null)
743
743
  }
744
744
  ),
745
- c && /* @__PURE__ */ F(
745
+ c && /* @__PURE__ */ D(
746
746
  oe,
747
747
  {
748
748
  payload: c.payload,
@@ -768,7 +768,7 @@ export {
768
768
  Rt as EntityUpdatesContext,
769
769
  Cn as EntityUpdatesProvider,
770
770
  Sn as FORCE_AUTO_SYNC,
771
- De as GlobalContext,
771
+ Fe as GlobalContext,
772
772
  xt as GlobalProvider,
773
773
  At as MenuContext,
774
774
  bn as MenuProvider,
@@ -779,30 +779,30 @@ export {
779
779
  Lt as PowerpackProvider,
780
780
  Ut as ProjectContext,
781
781
  mn as ProjectContextProvider,
782
- Fe as ProjectFoldersContext,
782
+ De as ProjectFoldersContext,
783
783
  Et as ProjectFoldersContextProvider,
784
784
  he as RemoteModulesContext,
785
785
  vt as RemoteModulesProvider,
786
786
  Ie as SettingsPanelContext,
787
787
  Ct as SettingsPanelProvider,
788
788
  Nt as SocketContext,
789
- _t as SocketProvider,
789
+ $t as SocketProvider,
790
790
  Se as SubtasksModulesContext,
791
791
  wt as SubtasksModulesProvider,
792
792
  Ce as TABS_BY_SCOPE_KEY,
793
793
  Gt as ThumbnailUploadContext,
794
794
  hn as ThumbnailUploadProvider,
795
795
  je as URIContext,
796
- Ft as URIProvider,
797
- Dt as URL_PARAM_ID,
796
+ Dt as URIProvider,
797
+ Ft as URL_PARAM_ID,
798
798
  Ze as addonConfigs,
799
- $t as getActivityFrameLink,
799
+ _t as getActivityFrameLink,
800
800
  Bt as getAutoSyncForTopic,
801
801
  Wt as getUpdateType,
802
802
  Qt as isDeletableEntityType,
803
803
  ve as isDetailsPanelTab,
804
- qt as matchesProject,
805
- Vt as matchesTopic,
804
+ Vt as matchesProject,
805
+ qt as matchesTopic,
806
806
  Pn as powerpackFeatureOrder,
807
807
  He as powerpackFeatures,
808
808
  zt as setDetailsPanelTabForScope,
package/dist/hooks.es.js CHANGED
@@ -1,13 +1,13 @@
1
- import { d as k, a as T } from "./chunks/DeleteEntitiesContextInstance.es.js";
1
+ import { d as k, a as R } from "./chunks/DeleteEntitiesContextInstance.es.js";
2
2
  import { q as ie, r as ae, s as ue, p as de, v as ce, w as le } from "./chunks/DeleteEntitiesContextInstance.es.js";
3
- import { u as R } from "./chunks/useLoadModule.es.js";
3
+ import { u as T } from "./chunks/useLoadModule.es.js";
4
4
  import { loadRemote as V } from "@module-federation/enhanced/runtime";
5
5
  import { useRef as G, useState as S, useEffect as v, useCallback as M } from "react";
6
6
  import A from "semver";
7
7
  import { k as fe, l as pe, m as ge, n as he, o as ye, p as we } from "./chunks/Watchers.es.js";
8
8
  import { u as Le } from "./chunks/useActionTriggers.es.js";
9
- import { b2 as C } from "./chunks/searchTerms.es.js";
10
- import { bw as N, cQ as O } from "./chunks/getUris.es.js";
9
+ import { b3 as C } from "./chunks/searchTerms.es.js";
10
+ import { bw as N, cR as O } from "./chunks/getUris.es.js";
11
11
  import "primereact/confirmdialog";
12
12
  import { jsx as x, jsxs as K } from "react/jsx-runtime";
13
13
  import { toast as U } from "react-toastify";
@@ -222,26 +222,26 @@ const Jt = (t, n, e) => {
222
222
  groups: m,
223
223
  error: r
224
224
  };
225
- }, Q = H.li`
225
+ }, q = H.li`
226
226
  display: flex;
227
227
  align-items: center;
228
228
  padding: 0;
229
229
  margin: 0;
230
- `, q = H(_)`
230
+ `, z = H(_)`
231
231
  width: 100%;
232
232
  justify-content: start;
233
- `, z = ({
233
+ `, B = ({
234
234
  requiredVersion: t,
235
235
  fields: n
236
- }) => /* @__PURE__ */ x(F, { feature: "groupAttributes", requiredVersion: t, children: n.map((e) => /* @__PURE__ */ x(Q, { children: /* @__PURE__ */ K(q, { variant: "text", icon: e.icon, children: [
236
+ }) => /* @__PURE__ */ x(F, { feature: "groupAttributes", requiredVersion: t, children: n.map((e) => /* @__PURE__ */ x(q, { children: /* @__PURE__ */ K(z, { variant: "text", icon: e.icon, children: [
237
237
  e.label,
238
238
  /* @__PURE__ */ x(j, { icon: "bolt", style: { marginLeft: "auto" } })
239
239
  ] }) }, e.value)) }), Zt = () => {
240
- const { powerLicense: t } = T(), [n, { outdated: e, isLoading: o }] = R({
240
+ const { powerLicense: t } = R(), [n, { outdated: e, isLoading: o }] = T({
241
241
  addon: "powerpack",
242
242
  remote: "slicer",
243
243
  module: "GroupSettings",
244
- fallback: z,
244
+ fallback: B,
245
245
  minVersion: "1.1.1-dev",
246
246
  skip: !t
247
247
  // skip loading if powerpack license is not available
@@ -251,7 +251,7 @@ const Jt = (t, n, e) => {
251
251
  requiredVersion: e?.required,
252
252
  isLoading: o
253
253
  };
254
- }, B = ["w", "s"];
254
+ }, Q = ["w", "s"];
255
255
  function te({
256
256
  reviewables: t,
257
257
  selected: n,
@@ -263,7 +263,7 @@ function te({
263
263
  if (!m || t.length <= 1) return;
264
264
  const r = (s) => {
265
265
  const f = s.key.length === 1 ? s.key.toLowerCase() : s.key;
266
- if (!B.includes(f) || s.metaKey || s.ctrlKey || s.altKey || W(s.target) && (s.target.tagName === "INPUT" || s.target.tagName === "TEXTAREA" || s.target.isContentEditable))
266
+ if (!Q.includes(f) || s.metaKey || s.ctrlKey || s.altKey || W(s.target) && (s.target.tagName === "INPUT" || s.target.tagName === "TEXTAREA" || s.target.isContentEditable))
267
267
  return;
268
268
  const E = t.findIndex(({ fileId: u }) => n.includes(u)) + (f === "w" ? -1 : 1), g = t[E < 0 ? t.length - 1 : E % t.length];
269
269
  g && (e?.(g.fileId), o?.(g));
@@ -330,7 +330,7 @@ export {
330
330
  Zt as useGroupByRemoteModules,
331
331
  xe as useGroupedPagination,
332
332
  ve as useHierarchyTable,
333
- R as useLoadModule,
333
+ T as useLoadModule,
334
334
  Jt as useLoadModules,
335
335
  ue as useLocalStorage,
336
336
  Ie as useQueryArgumentChangeLoading,