@ynput/ayon-frontend-shared 0.7.0 → 0.7.2

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 (36) hide show
  1. package/dist/DetailsPanel.es.js +765 -739
  2. package/dist/ListTable.es.js +80 -80
  3. package/dist/NewEntity.es.js +2 -2
  4. package/dist/ProjectTreeTable.es.js +1424 -1409
  5. package/dist/Views.es.js +572 -570
  6. package/dist/api.es.js +300 -298
  7. package/dist/chunks/Actions.es.js +5 -5
  8. package/dist/chunks/DetailsDialog.es.js +3 -3
  9. package/dist/chunks/EntityPath.es.js +14 -14
  10. package/dist/chunks/EntityPickerDialog.es.js +1 -1
  11. package/dist/chunks/EntityTooltip.es.js +18 -18
  12. package/dist/chunks/Feed.es.js +2 -2
  13. package/dist/chunks/MetaWidget.es.js +2422 -2149
  14. package/dist/chunks/PlayableIcon.es.js +20 -20
  15. package/dist/chunks/ProjectContext.es.js +6 -6
  16. package/dist/chunks/RepresentationsList.es.js +1 -1
  17. package/dist/chunks/ReviewablesSelector.es.js +2 -2
  18. package/dist/chunks/Slicer.es.js +2 -2
  19. package/dist/chunks/TableExportContextInstance.es.js +1 -1
  20. package/dist/chunks/ThumbnailSimple.es.js +12 -12
  21. package/dist/chunks/Watchers.es.js +907 -855
  22. package/dist/chunks/getUris.es.js +1272 -1209
  23. package/dist/chunks/searchTerms.es.js +30 -66
  24. package/dist/chunks/useAttributeEnums.es.js +37 -37
  25. package/dist/chunks/viewUpdateHelper.es.js +10 -10
  26. package/dist/components.es.js +132 -131
  27. package/dist/context.es.js +76 -76
  28. package/dist/hooks.es.js +51 -50
  29. package/dist/types/ProjectTreeTable.d.ts +21 -1
  30. package/dist/types/Slicer.d.ts +6 -4
  31. package/dist/types/Views.d.ts +4 -0
  32. package/dist/types/api.d.ts +411 -438
  33. package/dist/types/components.d.ts +22 -0
  34. package/dist/types/context.d.ts +2 -0
  35. package/dist/types/hooks.d.ts +36 -1
  36. package/package.json +4 -4
@@ -2,10 +2,10 @@ import { jsx as a, Fragment as De, jsxs as M } from "react/jsx-runtime";
2
2
  import Gt, { useState as L, useEffect as Mt, useRef as At, useCallback as O, useMemo as tt } from "react";
3
3
  import A from "clsx";
4
4
  import { flexRender as nt, useReactTable as Re, getSortedRowModel as Ee, getExpandedRowModel as Se, getCoreRowModel as we } from "@tanstack/react-table";
5
- import { Button as Ie, Icon as ze } from "@ynput/ayon-react-components";
5
+ import { Button as ze, Icon as Ie } from "@ynput/ayon-react-components";
6
6
  import "./chunks/PlayableIcon.es.js";
7
7
  import "date-fns";
8
- import { n as Te, B as Ve, T as _e, o as ke, q as Le } from "./chunks/MetaWidget.es.js";
8
+ import { q as Te, B as Ve, T as _e, r as ke, s as Le } from "./chunks/MetaWidget.es.js";
9
9
  import "react-toastify";
10
10
  import "lodash";
11
11
  import "primereact/confirmdialog";
@@ -21,7 +21,7 @@ import "@lexical/selection";
21
21
  import "@lexical/utils";
22
22
  import "@lexical/react/LexicalBlockWithAlignableContents";
23
23
  import "@lexical/react/LexicalDecoratorBlockNode";
24
- import { dH as vt, dI as Me } from "./chunks/getUris.es.js";
24
+ import { dJ as vt, dK as Me } from "./chunks/getUris.es.js";
25
25
  import { u as Ae } from "./chunks/TableExportContextInstance.es.js";
26
26
  import "@module-federation/enhanced/runtime";
27
27
  import "semver";
@@ -30,8 +30,8 @@ import "react-dom";
30
30
  import "react-redux";
31
31
  import "react-router-dom";
32
32
  import { useVirtualizer as Oe } from "@tanstack/react-virtual";
33
- import { useSensors as $e, useSensor as Ct, PointerSensor as Ne, KeyboardSensor as je, DndContext as xt, closestCenter as Dt, DragOverlay as Rt, defaultDropAnimationSideEffects as Et } from "@dnd-kit/core";
34
- import { restrictToHorizontalAxis as Ke, restrictToVerticalAxis as We } from "@dnd-kit/modifiers";
33
+ import { useSensors as $e, useSensor as Ct, PointerSensor as Ne, KeyboardSensor as Ke, DndContext as xt, closestCenter as Dt, DragOverlay as Rt, defaultDropAnimationSideEffects as Et } from "@dnd-kit/core";
34
+ import { restrictToHorizontalAxis as je, restrictToVerticalAxis as We } from "@dnd-kit/modifiers";
35
35
  import { useSortable as Ht, sortableKeyboardCoordinates as Pe, arrayMove as Fe, SortableContext as St, horizontalListSortingStrategy as Be, verticalListSortingStrategy as Ye } from "@dnd-kit/sortable";
36
36
  import { CSS as Ot } from "@dnd-kit/utilities";
37
37
  import v from "styled-components";
@@ -41,7 +41,7 @@ import "./chunks/Menu.es.js";
41
41
  import "./chunks/EmptyPlaceholder.es.js";
42
42
  import "./chunks/EmptyPlaceholderFlex.styled.es.js";
43
43
  import "./chunks/InfoMessage.es.js";
44
- import { C as Xe } from "./chunks/ColumnHeaderMenuUI.es.js";
44
+ import { C as Je } from "./chunks/ColumnHeaderMenuUI.es.js";
45
45
  import "primereact-context/contextmenu";
46
46
  const $t = v.tr`
47
47
  display: flex;
@@ -154,7 +154,7 @@ const $t = v.tr`
154
154
  &:focus-visible {
155
155
  outline: none;
156
156
  }
157
- `, It = v.div`
157
+ `, zt = v.div`
158
158
  position: absolute;
159
159
  inset: 0;
160
160
 
@@ -165,7 +165,7 @@ const $t = v.tr`
165
165
  cursor: pointer;
166
166
  box-sizing: border-box;
167
167
  min-width: 0;
168
- `, qe = v.div`
168
+ `, Xe = v.div`
169
169
  display: flex;
170
170
  align-items: center;
171
171
  width: 100%;
@@ -173,7 +173,7 @@ const $t = v.tr`
173
173
  color: var(--md-sys-color-on-surface-variant);
174
174
  font-style: italic;
175
175
  pointer-events: none;
176
- `, Je = v.div`
176
+ `, qe = v.div`
177
177
  position: relative;
178
178
  display: flex;
179
179
  align-items: center;
@@ -280,7 +280,7 @@ v.th`
280
280
  white-space: nowrap;
281
281
  min-height: fit-content;
282
282
  `;
283
- const zt = v.tbody`
283
+ const It = v.tbody`
284
284
  display: grid;
285
285
  width: 100%;
286
286
  position: relative;
@@ -371,7 +371,7 @@ const zt = v.tbody`
371
371
  color: var(--md-sys-color-on-surface-variant);
372
372
  cursor: pointer;
373
373
  user-select: none;
374
- `, ln = v(Ie)`
374
+ `, ln = v(ze)`
375
375
  &.expander {
376
376
  background-color: unset;
377
377
  padding: 2px;
@@ -454,7 +454,7 @@ const zt = v.tbody`
454
454
  } catch {
455
455
  return String(t);
456
456
  }
457
- }, jt = ({
457
+ }, Kt = ({
458
458
  value: t,
459
459
  attributeData: e,
460
460
  isEditing: n,
@@ -477,7 +477,7 @@ const zt = v.tbody`
477
477
  onChange: (l) => s(l)
478
478
  }
479
479
  );
480
- }, Q = (t) => Nt(t.attributeData) ? jt(t) : /* @__PURE__ */ a(
480
+ }, Q = (t) => Nt(t.attributeData) ? Kt(t) : /* @__PURE__ */ a(
481
481
  _e,
482
482
  {
483
483
  value: F(t.value),
@@ -514,7 +514,7 @@ const zt = v.tbody`
514
514
  isMidnightExclusive: e?.includes(t.columnId) ?? !1
515
515
  }
516
516
  );
517
- }, Z = (t) => Nt(t.attributeData) ? jt(t) : F(t.value), Tt = (t) => F(t.value), yn = {
517
+ }, Z = (t) => Nt(t.attributeData) ? Kt(t) : F(t.value), Tt = (t) => F(t.value), yn = {
518
518
  string: Q,
519
519
  integer: Q,
520
520
  float: Q,
@@ -525,7 +525,7 @@ const zt = v.tbody`
525
525
  list_of_any: Z,
526
526
  list_of_submodels: Tt,
527
527
  dict: Tt
528
- }, To = () => yn, Kt = (t, e) => `list-table-cell-${t}-${e}`, vn = (t) => F(t), Vt = "editable", Cn = (t) => !!t && typeof t == "object" && "__listTablePlaceholder" in t, xn = ({
528
+ }, To = () => yn, jt = (t, e) => `list-table-cell-${t}-${e}`, vn = (t) => F(t), Vt = "editable", Cn = (t) => !!t && typeof t == "object" && "__listTablePlaceholder" in t, xn = ({
529
529
  cell: t,
530
530
  row: e,
531
531
  rowIndex: n,
@@ -541,7 +541,7 @@ const zt = v.tbody`
541
541
  const R = i[l];
542
542
  if (!R)
543
543
  return null;
544
- const E = t.column.id, c = Kt(e.id, E), d = {
544
+ const E = t.column.id, c = jt(e.id, E), d = {
545
545
  row: e,
546
546
  cell: t,
547
547
  value: t.getValue(),
@@ -574,15 +574,15 @@ const zt = v.tbody`
574
574
  if (m) {
575
575
  const l = t.original && typeof t.original == "object" && "label" in t.original ? String(t.original.label ?? "") : "";
576
576
  return /* @__PURE__ */ a(wt, { style: { width: "100%" }, children: /* @__PURE__ */ a(
577
- It,
577
+ zt,
578
578
  {
579
579
  style: { left: 0, paddingLeft: `calc(var(--padding-m) + ${t.depth * 16}px)` },
580
- children: /* @__PURE__ */ a(qe, { children: l })
580
+ children: /* @__PURE__ */ a(Xe, { children: l })
581
581
  }
582
582
  ) }, `${t.id}-placeholder`);
583
583
  }
584
584
  return /* @__PURE__ */ a(De, { children: t.getVisibleCells().map((l, R, E) => {
585
- const c = Kt(t.id, l.column.id), d = n?.[l.column.id], C = !!l.column.columnDef.meta?.listTableCustomCell, g = d?.type, f = !!g && !C, h = !!(g && r?.[g]), b = i.editingCellId === c, x = s && l.column.columnDef.meta?.editable !== !1, T = !f || m ? null : xn({
585
+ const c = jt(t.id, l.column.id), d = n?.[l.column.id], C = !!l.column.columnDef.meta?.listTableCustomCell, g = d?.type, f = !!g && !C, h = !!(g && r?.[g]), b = i.editingCellId === c, x = s && l.column.columnDef.meta?.editable !== !1, T = !f || m ? null : xn({
586
586
  cell: l,
587
587
  row: t,
588
588
  rowIndex: t.index,
@@ -591,9 +591,9 @@ const zt = v.tbody`
591
591
  editingState: i,
592
592
  callbacks: u,
593
593
  isReadOnly: !x
594
- }), I = !f || m ? nt(l.column.columnDef.cell, l.getContext()) : T ?? vn(l.getValue());
595
- let y = I;
596
- e !== null && (e ? y = e(t, I) || I : y = /* @__PURE__ */ a(Je, { children: I }));
594
+ }), z = !f || m ? nt(l.column.columnDef.cell, l.getContext()) : T ?? vn(l.getValue());
595
+ let y = z;
596
+ e !== null && (e ? y = e(t, z) || z : y = /* @__PURE__ */ a(qe, { children: z }));
597
597
  const S = x && f && h && !m;
598
598
  return S && (y = /* @__PURE__ */ a(
599
599
  Qe,
@@ -625,7 +625,7 @@ const zt = v.tbody`
625
625
  }
626
626
  },
627
627
  children: /* @__PURE__ */ a(
628
- It,
628
+ zt,
629
629
  {
630
630
  className: "inner-td",
631
631
  style: {
@@ -680,7 +680,7 @@ function Sn({
680
680
  }
681
681
  ),
682
682
  c?.icon ? /* @__PURE__ */ a(
683
- ze,
683
+ Ie,
684
684
  {
685
685
  icon: c.icon,
686
686
  style: { color: c.color },
@@ -736,13 +736,13 @@ function wn({
736
736
  }
737
737
  );
738
738
  }
739
- const I = `translateY(${e.start}px)`, y = h ? Ot.Transform.toString(h) : "";
739
+ const z = `translateY(${e.start}px)`, y = h ? Ot.Transform.toString(h) : "";
740
740
  return /* @__PURE__ */ a(
741
741
  $t,
742
742
  {
743
743
  ref: x,
744
744
  style: {
745
- transform: `${I} ${y}`,
745
+ transform: `${z} ${y}`,
746
746
  transition: b
747
747
  },
748
748
  tabIndex: -1,
@@ -770,8 +770,8 @@ function wn({
770
770
  }
771
771
  );
772
772
  }
773
- const In = Gt.memo(wn);
774
- function zn({
773
+ const zn = Gt.memo(wn);
774
+ function In({
775
775
  header: t,
776
776
  enabled: e,
777
777
  enableSorting: n = !1,
@@ -799,7 +799,7 @@ function zn({
799
799
  selected: g === "desc",
800
800
  onClick: () => d.toggleSorting(!0)
801
801
  }
802
- ] : [], I = r && d.getCanHide() ? [
802
+ ] : [], z = r && d.getCanHide() ? [
803
803
  ...x.length > 0 ? [{ id: "divider-visibility", type: "divider" }] : [],
804
804
  {
805
805
  id: "hide",
@@ -807,7 +807,7 @@ function zn({
807
807
  icon: "visibility_off",
808
808
  onClick: () => d.toggleVisibility(!1)
809
809
  }
810
- ] : [], y = [...x, ...I], S = i && d.getCanResize(), w = d.getIsResizing(), { columnSizingInfo: V } = t.getContext().table.getState(), H = V.isResizingColumn === d.id ? V.deltaOffset ?? 0 : 0, $ = !!V.isResizingColumn, B = {
810
+ ] : [], y = [...x, ...z], S = i && d.getCanResize(), w = d.getIsResizing(), { columnSizingInfo: V } = t.getContext().table.getState(), H = V.isResizingColumn === d.id ? V.deltaOffset ?? 0 : 0, $ = !!V.isResizingColumn, B = {
811
811
  onPointerDown: (k) => k.stopPropagation(),
812
812
  onMouseDown: (k) => k.stopPropagation()
813
813
  };
@@ -832,7 +832,7 @@ function zn({
832
832
  children: [
833
833
  /* @__PURE__ */ a(pn, { children: t.isPlaceholder ? null : nt(t.column.columnDef.header, t.getContext()) }),
834
834
  (y.length > 0 || C) && /* @__PURE__ */ M(mn, { ...B, children: [
835
- y.length > 0 && /* @__PURE__ */ a(Xe, { menuItems: y, menuId: f, className: "header-menu" }),
835
+ y.length > 0 && /* @__PURE__ */ a(Je, { menuItems: y, menuId: f, className: "header-menu" }),
836
836
  C && /* @__PURE__ */ a(
837
837
  Ue,
838
838
  {
@@ -959,7 +959,7 @@ function kn({
959
959
  return {
960
960
  sensors: $e(
961
961
  Ct(Ne),
962
- Ct(je, { coordinateGetter: Pe })
962
+ Ct(Ke, { coordinateGetter: Pe })
963
963
  ),
964
964
  activeRowId: u,
965
965
  activeColumnId: m,
@@ -970,9 +970,9 @@ function kn({
970
970
  l(null);
971
971
  const { active: b, over: x } = h;
972
972
  if (x && b.id !== x.id) {
973
- const T = e.indexOf(b.id), I = e.indexOf(x.id);
974
- if (T !== -1 && I !== -1) {
975
- const y = Fe(e, T, I);
973
+ const T = e.indexOf(b.id), z = e.indexOf(x.id);
974
+ if (T !== -1 && z !== -1) {
975
+ const y = Fe(e, T, z);
976
976
  r(() => y), i?.(y);
977
977
  }
978
978
  }
@@ -985,8 +985,8 @@ function kn({
985
985
  s(null);
986
986
  const { active: b, over: x } = h;
987
987
  if (x && b.id !== x.id) {
988
- const T = t.findIndex((y) => y.id === b.id), I = t.findIndex((y) => y.id === x.id);
989
- n?.(T, I);
988
+ const T = t.findIndex((y) => y.id === b.id), z = t.findIndex((y) => y.id === x.id);
989
+ n?.(T, z);
990
990
  }
991
991
  },
992
992
  handleRowDragCancel: () => s(null)
@@ -1023,7 +1023,7 @@ function Vo({
1023
1023
  dataTypeWidgets: b,
1024
1024
  enableColumnReordering: x = !1,
1025
1025
  columnOrder: T,
1026
- onColumnOrderChange: I,
1026
+ onColumnOrderChange: z,
1027
1027
  enableColumnVisibility: y = !1,
1028
1028
  columnVisibility: S,
1029
1029
  defaultColumnVisibility: w,
@@ -1035,29 +1035,29 @@ function Vo({
1035
1035
  sorting: Bt,
1036
1036
  onSortingChange: Yt,
1037
1037
  enableExpanding: Ut = !0,
1038
- expanded: Xt,
1039
- onExpandedChange: qt,
1038
+ expanded: Jt,
1039
+ onExpandedChange: Xt,
1040
1040
  getIsRowInactive: ot
1041
1041
  }) {
1042
- const [Jt, Qt] = L([]), [Zt, te] = L({}), [ee, ne] = L({}), [oe, ie] = L({}), Y = At(null), [it] = He(), rt = Bt ?? Jt, re = (o) => {
1042
+ const [qt, Qt] = L([]), [Zt, te] = L({}), [ee, ne] = L({}), [oe, ie] = L({}), Y = At(null), [it] = He(), rt = Bt ?? qt, re = (o) => {
1043
1043
  const p = typeof o == "function" ? o(rt) : o;
1044
1044
  Qt(p), Yt?.(p);
1045
- }, st = Xt ?? oe, se = (o) => {
1045
+ }, st = Jt ?? oe, se = (o) => {
1046
1046
  const p = typeof o == "function" ? o(st) : o;
1047
- ie(p), qt?.(p);
1047
+ ie(p), Xt?.(p);
1048
1048
  }, U = S ?? Zt, ae = (o) => {
1049
1049
  const p = typeof o == "function" ? o(at) : o, D = {};
1050
- Object.keys(p).forEach((z) => {
1051
- const G = vt({}, z, w);
1052
- p[z] !== G && (D[z] = p[z]);
1050
+ Object.keys(p).forEach((I) => {
1051
+ const G = vt({}, I, w);
1052
+ p[I] !== G && (D[I] = p[I]);
1053
1053
  }), te(D), V?.(D);
1054
1054
  }, at = tt(() => {
1055
1055
  const o = {};
1056
1056
  return e.forEach((p) => {
1057
1057
  const D = p.id || p.accessorKey;
1058
1058
  if (D) {
1059
- const z = vt(U, D, w), G = p.visible;
1060
- G !== void 0 && U[D] === void 0 ? o[D] = G : o[D] = z;
1059
+ const I = vt(U, D, w), G = p.visible;
1060
+ G !== void 0 && U[D] === void 0 ? o[D] = G : o[D] = I;
1061
1061
  }
1062
1062
  }), Me(
1063
1063
  o,
@@ -1096,50 +1096,50 @@ function Vo({
1096
1096
  updateData: s,
1097
1097
  openViewerDialog: m
1098
1098
  }
1099
- }), { rows: _ } = N.getRowModel(), X = Oe({
1099
+ }), { rows: _ } = N.getRowModel(), J = Oe({
1100
1100
  count: i ? _.length + 1 : _.length,
1101
1101
  getScrollElement: () => Y.current,
1102
1102
  estimateSize: () => 44,
1103
1103
  overscan: 10
1104
- }), q = X.getVirtualItems(), { handleRowClick: de, handleKeyDown: ce } = Vn({
1104
+ }), X = J.getVirtualItems(), { handleRowClick: de, handleKeyDown: ce } = Vn({
1105
1105
  rows: _,
1106
1106
  selectedRows: d,
1107
1107
  onSelectedRowsChange: C,
1108
1108
  multiSelection: g,
1109
- rowVirtualizer: X,
1109
+ rowVirtualizer: J,
1110
1110
  tableContainerRef: Y
1111
1111
  }), ue = O(
1112
1112
  (o, p, D) => {
1113
1113
  if (!c) return;
1114
- const z = _[p];
1115
- !z || z.original === void 0 || P(z.original) || c(D, {
1114
+ const I = _[p];
1115
+ !I || I.original === void 0 || P(I.original) || c(D, {
1116
1116
  rowId: o,
1117
1117
  rowIndex: p,
1118
- row: z,
1118
+ row: I,
1119
1119
  isSelected: d.includes(o)
1120
1120
  });
1121
1121
  },
1122
1122
  [c, _, d]
1123
1123
  ), ge = O(
1124
1124
  (o, p, D) => {
1125
- const z = _[p];
1126
- if (!z || z.original === void 0) return;
1127
- const G = P(z.original);
1125
+ const I = _[p];
1126
+ if (!I || I.original === void 0) return;
1127
+ const G = P(I.original);
1128
1128
  let ht = {};
1129
1129
  if (G) {
1130
- const K = z.original;
1130
+ const j = I.original;
1131
1131
  ht = {
1132
- groupColumnId: K.__groupColumnId,
1133
- groupValue: K.__groupValue
1132
+ groupColumnId: j.__groupColumnId,
1133
+ groupValue: j.__groupValue
1134
1134
  };
1135
1135
  }
1136
1136
  D.preventDefault(), D.stopPropagation();
1137
1137
  const bt = d.includes(o), xe = G || bt ? d : [o], yt = E.flatMap(
1138
- (K) => Gn(
1139
- K(D, {
1138
+ (j) => Gn(
1139
+ j(D, {
1140
1140
  rowId: o,
1141
1141
  rowIndex: p,
1142
- row: z,
1142
+ row: I,
1143
1143
  selectedRows: xe,
1144
1144
  isSelected: bt,
1145
1145
  isGroupRow: G,
@@ -1160,12 +1160,12 @@ function Vo({
1160
1160
  handleRowDragStart: he,
1161
1161
  handleRowDragEnd: be,
1162
1162
  handleRowDragCancel: ye
1163
- } = kn({ rows: _, columnOrder: dt, onReorderRows: R, setColumnOrder: ct, onColumnOrderChange: I }), ft = tt(() => ({ onUpdateRow: s, onOpenViewer: m }), [s, m]), ve = Ln(N), Ce = !!N.getState().columnSizingInfo.isResizingColumn;
1163
+ } = kn({ rows: _, columnOrder: dt, onReorderRows: R, setColumnOrder: ct, onColumnOrderChange: z }), ft = tt(() => ({ onUpdateRow: s, onOpenViewer: m }), [s, m]), ve = Ln(N), Ce = !!N.getState().columnSizingInfo.isResizingColumn;
1164
1164
  Mt(() => {
1165
- const [o] = q.slice(-1);
1165
+ const [o] = X.slice(-1);
1166
1166
  o && o.index >= _.length - 1 && i && !u && r?.();
1167
- }, [i, r, _.length, u, q]);
1168
- const J = pt ? _.find((o) => o.id === pt) : null, j = mt ? N.getHeaderGroups()[0]?.headers.find((o) => o.id === mt) : null;
1167
+ }, [i, r, _.length, u, X]);
1168
+ const q = pt ? _.find((o) => o.id === pt) : null, K = mt ? N.getHeaderGroups()[0]?.headers.find((o) => o.id === mt) : null;
1169
1169
  return /* @__PURE__ */ a(
1170
1170
  Ze,
1171
1171
  {
@@ -1182,7 +1182,7 @@ function Vo({
1182
1182
  onDragStart: pe,
1183
1183
  onDragEnd: me,
1184
1184
  onDragCancel: fe,
1185
- modifiers: [Ke],
1185
+ modifiers: [je],
1186
1186
  children: [
1187
1187
  /* @__PURE__ */ a(en, { children: N.getHeaderGroups().map((o) => /* @__PURE__ */ a(nn, { children: /* @__PURE__ */ a(
1188
1188
  St,
@@ -1190,7 +1190,7 @@ function Vo({
1190
1190
  items: o.headers.map((p) => p.id),
1191
1191
  strategy: Be,
1192
1192
  children: o.headers.map((p, D) => /* @__PURE__ */ a(
1193
- zn,
1193
+ In,
1194
1194
  {
1195
1195
  header: p,
1196
1196
  enabled: x,
@@ -1211,9 +1211,9 @@ function Vo({
1211
1211
  styles: { active: { opacity: "0.4" } }
1212
1212
  })
1213
1213
  },
1214
- children: j ? /* @__PURE__ */ a("table", { children: /* @__PURE__ */ a("thead", { children: /* @__PURE__ */ a("tr", { children: /* @__PURE__ */ a(gn, { style: { width: j.getSize() }, children: j.isPlaceholder ? null : nt(
1215
- j.column.columnDef.header,
1216
- j.getContext()
1214
+ children: K ? /* @__PURE__ */ a("table", { children: /* @__PURE__ */ a("thead", { children: /* @__PURE__ */ a("tr", { children: /* @__PURE__ */ a(gn, { style: { width: K.getSize() }, children: K.isPlaceholder ? null : nt(
1215
+ K.column.columnDef.header,
1216
+ K.getContext()
1217
1217
  ) }) }) }) }) : null
1218
1218
  }
1219
1219
  )
@@ -1230,12 +1230,12 @@ function Vo({
1230
1230
  onDragCancel: ye,
1231
1231
  modifiers: [We],
1232
1232
  children: [
1233
- /* @__PURE__ */ a(zt, { style: { height: `${X.getTotalSize()}px` }, children: /* @__PURE__ */ a(
1233
+ /* @__PURE__ */ a(It, { style: { height: `${J.getTotalSize()}px` }, children: /* @__PURE__ */ a(
1234
1234
  St,
1235
1235
  {
1236
1236
  items: _.map((o) => o.id),
1237
1237
  strategy: Ye,
1238
- children: q.map((o) => {
1238
+ children: X.map((o) => {
1239
1239
  if (o.index > _.length - 1)
1240
1240
  return /* @__PURE__ */ a(
1241
1241
  on,
@@ -1247,7 +1247,7 @@ function Vo({
1247
1247
  );
1248
1248
  const D = _[o.index];
1249
1249
  return /* @__PURE__ */ a(
1250
- In,
1250
+ zn,
1251
1251
  {
1252
1252
  row: D,
1253
1253
  virtualRow: o,
@@ -1277,14 +1277,14 @@ function Vo({
1277
1277
  styles: { active: { opacity: "0.4" } }
1278
1278
  })
1279
1279
  },
1280
- children: J ? /* @__PURE__ */ a("table", { style: { width: "100%" }, children: /* @__PURE__ */ a(zt, { children: /* @__PURE__ */ a(
1280
+ children: q ? /* @__PURE__ */ a("table", { style: { width: "100%" }, children: /* @__PURE__ */ a(It, { children: /* @__PURE__ */ a(
1281
1281
  rn,
1282
1282
  {
1283
- className: A({ inactive: ot?.(J.original) }),
1283
+ className: A({ inactive: ot?.(q.original) }),
1284
1284
  children: /* @__PURE__ */ a(
1285
1285
  Wt,
1286
1286
  {
1287
- row: J,
1287
+ row: q,
1288
1288
  cellWrapper: f,
1289
1289
  columnAttributeData: h,
1290
1290
  dataTypeWidgets: b,
@@ -1329,7 +1329,7 @@ const Pt = (t) => !!t && typeof t == "object" && ("label" in t || "value" in t),
1329
1329
  return;
1330
1330
  }
1331
1331
  const f = (h, b, x) => {
1332
- const T = g[b], I = Mn(T), y = `${x}|${d}:${b}:${JSON.stringify(I)}`;
1332
+ const T = g[b], z = Mn(T), y = `${x}|${d}:${b}:${JSON.stringify(z)}`;
1333
1333
  let S = h.find(
1334
1334
  (w) => et(w) && w.__groupKey === y
1335
1335
  );
@@ -1350,7 +1350,7 @@ export {
1350
1350
  yn as defaultListTableDataTypeWidgets,
1351
1351
  To as getDefaultListTableDataTypeWidgets,
1352
1352
  Mn as getGroupItemValue,
1353
- Kt as getListTableCellId,
1353
+ jt as getListTableCellId,
1354
1354
  Pt as isListTableGroupDisplayObject,
1355
1355
  et as isListTableGroupRow,
1356
1356
  vn as renderListTableFallbackValue
@@ -6,7 +6,7 @@ import { toast as me } from "react-toastify";
6
6
  import { g as Xe, R as Me } from "./chunks/realtimeUpdatesUtils.es.js";
7
7
  import { p as be, c as Ze, a as Ge } from "./chunks/iconUtils.es.js";
8
8
  import { bt as Qe } from "./chunks/searchTerms.es.js";
9
- import { du as Ye } from "./chunks/getUris.es.js";
9
+ import { dw as Ye } from "./chunks/getUris.es.js";
10
10
  import "@module-federation/enhanced/runtime";
11
11
  import { Dropdown as De, Icon as Q, InputText as he, Button as fe, InputSwitch as Te, InputNumber as je, Spacer as $e, theme as qe, Dialog as et, ShortcutTag as tt, Toolbar as nt, SaveButton as at } from "@ynput/ayon-react-components";
12
12
  import { x as Ne, y as ze, M as rt } from "./chunks/TableExportContextInstance.es.js";
@@ -17,7 +17,7 @@ import "uuid";
17
17
  import "react-dom";
18
18
  import "react-redux";
19
19
  import "react-router-dom";
20
- import { f as ot, d as st, C as lt, g as it, h as ct, p as dt } from "./chunks/MetaWidget.es.js";
20
+ import { g as ot, d as st, C as lt, h as it, i as ct, p as dt } from "./chunks/MetaWidget.es.js";
21
21
  import { N as pt, u as ft } from "./chunks/NewEntityContextInstance.es.js";
22
22
  import E from "styled-components";
23
23
  import { a as ut, K as mt } from "./chunks/platform.es.js";