@ynput/ayon-frontend-shared 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index.cjs10.js +1 -1
- package/dist/_virtual/index.cjs11.js +1 -1
- package/dist/_virtual/index.cjs12.js +1 -1
- package/dist/_virtual/index.cjs4.js +1 -1
- package/dist/_virtual/index.cjs5.js +1 -1
- package/dist/_virtual/index.es10.js +3 -3
- package/dist/_virtual/index.es11.js +5 -5
- package/dist/_virtual/index.es12.js +5 -5
- package/dist/_virtual/index.es4.js +2 -5
- package/dist/_virtual/index.es4.js.map +1 -1
- package/dist/_virtual/index.es5.js +5 -2
- package/dist/_virtual/index.es5.js.map +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
- package/dist/node_modules/remove-accents/index.cjs.js +1 -1
- package/dist/node_modules/remove-accents/index.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.es.js +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.cjs.js +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.es.js +95 -95
- package/dist/shared/src/api/queries/overview/getOverview.es.js.map +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.cjs.js.map +1 -1
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js +14 -11
- package/dist/shared/src/components/RemotePage/RemotePageWrapper.es.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +42 -41
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +23 -23
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +65 -64
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +16 -16
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js +3 -3
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js +142 -146
- package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +24 -24
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +141 -132
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +35 -28
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js.map +1 -1
- package/dist/shared/src/context/AddonContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonContext.es.js.map +1 -1
- package/dist/shared/src/context/ProjectFoldersContext.cjs.js +1 -1
- package/dist/shared/src/context/ProjectFoldersContext.cjs.js.map +1 -1
- package/dist/shared/src/context/ProjectFoldersContext.es.js +62 -49
- package/dist/shared/src/context/ProjectFoldersContext.es.js.map +1 -1
- package/dist/types/api/queries/overview/getOverview.d.ts +1 -0
- package/dist/types/components/RemotePage/RemotePageWrapper.d.ts +1 -0
- package/dist/types/components/SearchFilter/useBuildFilterOptions.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/hooks/useFetchOverviewData.d.ts +2 -1
- package/dist/types/containers/ProjectTreeTable/hooks/useQueryFilters.d.ts +4 -1
- package/dist/types/context/AddonContext.d.ts +1 -0
- package/dist/types/context/ProjectFoldersContext.d.ts +1 -0
- package/package.json +1 -1
|
@@ -267,18 +267,18 @@ import "../Views/Views.styled.es.js";
|
|
|
267
267
|
import "../Views/ViewsMenuContainer/ViewsMenuContainer.es.js";
|
|
268
268
|
import "../Views/ViewsMenu/ViewsMenu.es.js";
|
|
269
269
|
const nt = (t) => {
|
|
270
|
-
const
|
|
270
|
+
const m = t.getIsPinned(), i = t.id !== A && t.id !== U ? -30 : 0;
|
|
271
271
|
return {
|
|
272
|
-
left:
|
|
272
|
+
left: m === "left" ? `${t.getStart("left") + i}px` : void 0,
|
|
273
273
|
// Removed offset
|
|
274
|
-
right:
|
|
275
|
-
position:
|
|
274
|
+
right: m === "right" ? `${t.getAfter("right")}px` : void 0,
|
|
275
|
+
position: m ? "sticky" : "relative",
|
|
276
276
|
width: t.getSize(),
|
|
277
|
-
zIndex:
|
|
277
|
+
zIndex: m ? 100 : 0
|
|
278
278
|
};
|
|
279
|
-
}, st = (t,
|
|
279
|
+
}, st = (t, m) => `calc(var(--col-${m}-size) * 1px)`, U = "drag-handle", jl = ({
|
|
280
280
|
scope: t,
|
|
281
|
-
sliceId:
|
|
281
|
+
sliceId: m,
|
|
282
282
|
onScroll: i,
|
|
283
283
|
onScrollBottom: f,
|
|
284
284
|
// when the user scrolls to the bottom of the table, this callback is called
|
|
@@ -310,13 +310,13 @@ const nt = (t) => {
|
|
|
310
310
|
columnSizing: F,
|
|
311
311
|
setAllColumns: K,
|
|
312
312
|
sorting: g,
|
|
313
|
-
sortingOnChange:
|
|
313
|
+
sortingOnChange: z,
|
|
314
314
|
columnPinningOnChange: T,
|
|
315
315
|
columnSizingOnChange: X,
|
|
316
|
-
columnVisibilityOnChange:
|
|
316
|
+
columnVisibilityOnChange: l,
|
|
317
317
|
columnOrderOnChange: V,
|
|
318
318
|
groupBy: E
|
|
319
|
-
} = Ue(),
|
|
319
|
+
} = Ue(), v = !!E, { productTypes: P, projectName: Q, ...Qt } = io(), {
|
|
320
320
|
tableData: W,
|
|
321
321
|
attribFields: B,
|
|
322
322
|
entitiesMap: Zt,
|
|
@@ -345,7 +345,7 @@ const nt = (t) => {
|
|
|
345
345
|
statuses: Tt,
|
|
346
346
|
folderTypes: Mt,
|
|
347
347
|
taskTypes: It,
|
|
348
|
-
productTypes:
|
|
348
|
+
productTypes: P,
|
|
349
349
|
tags: zt,
|
|
350
350
|
scopes: q
|
|
351
351
|
}),
|
|
@@ -454,7 +454,7 @@ const nt = (t) => {
|
|
|
454
454
|
enableSubRowSelection: !1,
|
|
455
455
|
//disable sub row selection
|
|
456
456
|
getSubRows: (o) => o.subRows,
|
|
457
|
-
getRowCanExpand: () => !!j || k ||
|
|
457
|
+
getRowCanExpand: () => !!j || k || v,
|
|
458
458
|
getCoreRowModel: De(),
|
|
459
459
|
getFilteredRowModel: Pe(),
|
|
460
460
|
getExpandedRowModel: ve(),
|
|
@@ -466,11 +466,11 @@ const nt = (t) => {
|
|
|
466
466
|
getSortedRowModel: ze(),
|
|
467
467
|
sortDescFirst: !1,
|
|
468
468
|
manualSorting: !s,
|
|
469
|
-
onSortingChange:
|
|
469
|
+
onSortingChange: z,
|
|
470
470
|
columnResizeMode: "onChange",
|
|
471
471
|
onColumnPinningChange: T,
|
|
472
472
|
onColumnSizingChange: X,
|
|
473
|
-
onColumnVisibilityChange:
|
|
473
|
+
onColumnVisibilityChange: l,
|
|
474
474
|
onColumnOrderChange: V,
|
|
475
475
|
// @ts-ignore
|
|
476
476
|
filterFns: Ie,
|
|
@@ -614,7 +614,7 @@ const nt = (t) => {
|
|
|
614
614
|
sortableRows: u,
|
|
615
615
|
error: ee,
|
|
616
616
|
isLoading: Y,
|
|
617
|
-
isGrouping:
|
|
617
|
+
isGrouping: v,
|
|
618
618
|
getRowHeight: de,
|
|
619
619
|
defaultRowHeight: At,
|
|
620
620
|
onResetView: ne,
|
|
@@ -705,14 +705,14 @@ const nt = (t) => {
|
|
|
705
705
|
] }) : Ft;
|
|
706
706
|
}, bo = ({
|
|
707
707
|
columnVirtualizer: t,
|
|
708
|
-
table:
|
|
708
|
+
table: m,
|
|
709
709
|
virtualPaddingLeft: i,
|
|
710
710
|
virtualPaddingRight: f,
|
|
711
711
|
isLoading: y,
|
|
712
712
|
readOnlyColumns: C,
|
|
713
713
|
sortableRows: x,
|
|
714
714
|
...b
|
|
715
|
-
}) => /* @__PURE__ */ e.jsx(Ne, { ...b, children:
|
|
715
|
+
}) => /* @__PURE__ */ e.jsx(Ne, { ...b, children: m.getHeaderGroups().map((w) => /* @__PURE__ */ e.jsx(
|
|
716
716
|
wo,
|
|
717
717
|
{
|
|
718
718
|
columnVirtualizer: t,
|
|
@@ -726,7 +726,7 @@ const nt = (t) => {
|
|
|
726
726
|
w.id
|
|
727
727
|
)) }), wo = ({
|
|
728
728
|
columnVirtualizer: t,
|
|
729
|
-
headerGroup:
|
|
729
|
+
headerGroup: m,
|
|
730
730
|
virtualPaddingLeft: i,
|
|
731
731
|
virtualPaddingRight: f,
|
|
732
732
|
isLoading: y,
|
|
@@ -740,7 +740,7 @@ const nt = (t) => {
|
|
|
740
740
|
/* @__PURE__ */ e.jsx("th", { style: { display: "flex", width: i } })
|
|
741
741
|
) : null,
|
|
742
742
|
b.map((w) => {
|
|
743
|
-
const r =
|
|
743
|
+
const r = m.headers[w.index];
|
|
744
744
|
return /* @__PURE__ */ e.jsx(
|
|
745
745
|
Ro,
|
|
746
746
|
{
|
|
@@ -761,10 +761,10 @@ const nt = (t) => {
|
|
|
761
761
|
//fake empty column to the right for virtualization scroll padding
|
|
762
762
|
/* @__PURE__ */ e.jsx("th", { style: { display: "flex", width: f } })
|
|
763
763
|
) : null
|
|
764
|
-
] },
|
|
764
|
+
] }, m.id);
|
|
765
765
|
}, Ro = ({
|
|
766
766
|
header: t,
|
|
767
|
-
isLoading:
|
|
767
|
+
isLoading: m,
|
|
768
768
|
canFilter: i,
|
|
769
769
|
canHide: f,
|
|
770
770
|
canSort: y,
|
|
@@ -778,7 +778,7 @@ const nt = (t) => {
|
|
|
778
778
|
Ae,
|
|
779
779
|
{
|
|
780
780
|
className: L(t.id, "shimmer-dark", {
|
|
781
|
-
loading:
|
|
781
|
+
loading: m,
|
|
782
782
|
"last-pinned-left": r.getIsPinned() === "left" && r.getIsLastColumn("left"),
|
|
783
783
|
resizing: r.getIsResizing()
|
|
784
784
|
}),
|
|
@@ -833,7 +833,7 @@ const nt = (t) => {
|
|
|
833
833
|
);
|
|
834
834
|
}, So = ({
|
|
835
835
|
columnVirtualizer: t,
|
|
836
|
-
table:
|
|
836
|
+
table: m,
|
|
837
837
|
tableContainerRef: i,
|
|
838
838
|
showHierarchy: f,
|
|
839
839
|
virtualPaddingLeft: y,
|
|
@@ -850,19 +850,19 @@ const nt = (t) => {
|
|
|
850
850
|
onResetView: p,
|
|
851
851
|
contextMenuItems: H
|
|
852
852
|
}) => {
|
|
853
|
-
const c = O(() =>
|
|
854
|
-
const X = T.id,
|
|
855
|
-
return typeof
|
|
856
|
-
}).filter(Boolean), [
|
|
853
|
+
const c = O(() => m.getAllColumns().map((T) => {
|
|
854
|
+
const X = T.id, l = T.columnDef.header;
|
|
855
|
+
return typeof l == "string" || typeof l == "number" ? { label: l, id: X } : null;
|
|
856
|
+
}).filter(Boolean), [m.getAllColumns()]), h = Je({
|
|
857
857
|
attribs: x,
|
|
858
858
|
onOpenNew: b,
|
|
859
859
|
headerLabels: c,
|
|
860
860
|
contextMenuItems: H
|
|
861
|
-
}).handleTableBodyContextMenu, { handlePreFetchTasks: G } = Ye(), { rows: N } =
|
|
861
|
+
}).handleTableBodyContextMenu, { handlePreFetchTasks: G } = Ye(), { rows: N } = m.getRowModel(), S = Te({
|
|
862
862
|
count: N.length,
|
|
863
863
|
estimateSize: (g) => {
|
|
864
|
-
const
|
|
865
|
-
return
|
|
864
|
+
const z = N[g];
|
|
865
|
+
return z ? u(z.original) : $;
|
|
866
866
|
},
|
|
867
867
|
getScrollElement: () => i.current,
|
|
868
868
|
//measure dynamic row height, except in firefox because it measures table border height incorrectly
|
|
@@ -887,7 +887,7 @@ const nt = (t) => {
|
|
|
887
887
|
onMouseOver: (g) => {
|
|
888
888
|
G(g);
|
|
889
889
|
},
|
|
890
|
-
children: D.map((g,
|
|
890
|
+
children: D.map((g, z) => {
|
|
891
891
|
const T = N[g.index];
|
|
892
892
|
return T ? /* @__PURE__ */ e.jsx(
|
|
893
893
|
jo,
|
|
@@ -905,7 +905,7 @@ const nt = (t) => {
|
|
|
905
905
|
isGrouping: s,
|
|
906
906
|
rowHeight: u(T.original)
|
|
907
907
|
},
|
|
908
|
-
T.id +
|
|
908
|
+
T.id + z.toString()
|
|
909
909
|
) : (console.warn("Virtualized row data not found for index:", g.index), null);
|
|
910
910
|
})
|
|
911
911
|
}
|
|
@@ -935,7 +935,7 @@ const nt = (t) => {
|
|
|
935
935
|
) : r ? /* @__PURE__ */ e.jsx(lo, { items: w, strategy: mo, children: K }) : K;
|
|
936
936
|
}, jo = ({
|
|
937
937
|
row: t,
|
|
938
|
-
showHierarchy:
|
|
938
|
+
showHierarchy: m,
|
|
939
939
|
visibleCells: i,
|
|
940
940
|
virtualColumns: f,
|
|
941
941
|
paddingLeft: y,
|
|
@@ -1026,7 +1026,7 @@ const nt = (t) => {
|
|
|
1026
1026
|
cell: c,
|
|
1027
1027
|
cellId: _,
|
|
1028
1028
|
rowId: t.id,
|
|
1029
|
-
showHierarchy:
|
|
1029
|
+
showHierarchy: m,
|
|
1030
1030
|
sortableRows: r,
|
|
1031
1031
|
rowHeight: j
|
|
1032
1032
|
},
|
|
@@ -1042,7 +1042,7 @@ const nt = (t) => {
|
|
|
1042
1042
|
);
|
|
1043
1043
|
}, Jt = ({
|
|
1044
1044
|
cell: t,
|
|
1045
|
-
rowId:
|
|
1045
|
+
rowId: m,
|
|
1046
1046
|
cellId: i,
|
|
1047
1047
|
className: f,
|
|
1048
1048
|
showHierarchy: y,
|
|
@@ -1061,7 +1061,7 @@ const nt = (t) => {
|
|
|
1061
1061
|
getCellBorderClasses: c,
|
|
1062
1062
|
clearSelection: _,
|
|
1063
1063
|
selectedCells: h
|
|
1064
|
-
} = yt(), { isRowSelected: G } = qe(), { isEditing: N, setEditingCellId: S, editingCellId: D } = Gt(), F = c(i), g = t.column.getIsPinned() === "left" && t.column.getIsLastColumn("left"),
|
|
1064
|
+
} = yt(), { isRowSelected: G } = qe(), { isEditing: N, setEditingCellId: S, editingCellId: D } = Gt(), F = c(i), g = t.column.getIsPinned() === "left" && t.column.getIsLastColumn("left"), z = t.column.id === A, T = t.row.original.entityType === "group", X = h.size > 1;
|
|
1065
1065
|
return /* @__PURE__ */ e.jsx(
|
|
1066
1066
|
xt,
|
|
1067
1067
|
{
|
|
@@ -1075,7 +1075,7 @@ const nt = (t) => {
|
|
|
1075
1075
|
focused: j(i),
|
|
1076
1076
|
editing: N(i),
|
|
1077
1077
|
"last-pinned-left": g,
|
|
1078
|
-
"selected-row": G(
|
|
1078
|
+
"selected-row": G(m),
|
|
1079
1079
|
expandable: !!t.row.originalSubRows && Oe(t.row.original.entityType),
|
|
1080
1080
|
"multiple-selected": X
|
|
1081
1081
|
},
|
|
@@ -1087,9 +1087,9 @@ const nt = (t) => {
|
|
|
1087
1087
|
width: st(t.row.id, t.column.id),
|
|
1088
1088
|
height: x
|
|
1089
1089
|
},
|
|
1090
|
-
onMouseDown: (
|
|
1091
|
-
if (
|
|
1092
|
-
const V =
|
|
1090
|
+
onMouseDown: (l) => {
|
|
1091
|
+
if (l.button !== 0) return;
|
|
1092
|
+
const V = l.target;
|
|
1093
1093
|
if (V.closest(".expander") || V.closest(".options")) return;
|
|
1094
1094
|
if (T && t.column.id !== "name") return _();
|
|
1095
1095
|
const E = Kt(t.row.original.entityType);
|
|
@@ -1097,51 +1097,52 @@ const nt = (t) => {
|
|
|
1097
1097
|
R(i) || (p(i, !1, !1), H(i)), S(i);
|
|
1098
1098
|
return;
|
|
1099
1099
|
}
|
|
1100
|
-
if (R(i))
|
|
1100
|
+
if (R(i) && !(l.metaKey || l.ctrlKey) && !z)
|
|
1101
|
+
return;
|
|
1101
1102
|
if (D && D !== i) {
|
|
1102
|
-
const
|
|
1103
|
+
const P = document.querySelector(
|
|
1103
1104
|
`#${D} input, #${D} [role="textbox"]`
|
|
1104
1105
|
);
|
|
1105
|
-
if (
|
|
1106
|
-
|
|
1107
|
-
|
|
1106
|
+
if (P) {
|
|
1107
|
+
P.blur(), setTimeout(() => {
|
|
1108
|
+
v();
|
|
1108
1109
|
}, 0);
|
|
1109
1110
|
return;
|
|
1110
1111
|
}
|
|
1111
1112
|
}
|
|
1112
|
-
|
|
1113
|
-
function
|
|
1114
|
-
const
|
|
1115
|
-
|
|
1113
|
+
v();
|
|
1114
|
+
function v() {
|
|
1115
|
+
const P = l.metaKey || l.ctrlKey || z;
|
|
1116
|
+
l.shiftKey ? p(i, P, !0) : s(i, P), l.preventDefault();
|
|
1116
1117
|
}
|
|
1117
1118
|
},
|
|
1118
|
-
onMouseOver: (
|
|
1119
|
-
if (
|
|
1120
|
-
if (
|
|
1121
|
-
u(i,
|
|
1119
|
+
onMouseOver: (l) => {
|
|
1120
|
+
if (l.buttons === 1) {
|
|
1121
|
+
if (l.target.closest("." + Wt)) return;
|
|
1122
|
+
u(i, z);
|
|
1122
1123
|
}
|
|
1123
1124
|
},
|
|
1124
1125
|
onMouseUp: () => {
|
|
1125
1126
|
$(i);
|
|
1126
1127
|
},
|
|
1127
|
-
onDoubleClick: (
|
|
1128
|
-
if (!(fo(
|
|
1129
|
-
if (t.column.id === "name" && !
|
|
1130
|
-
const
|
|
1131
|
-
R(
|
|
1128
|
+
onDoubleClick: (l) => {
|
|
1129
|
+
if (!(fo(l) || Kt(t.row.original.entityType)) && !T)
|
|
1130
|
+
if (t.column.id === "name" && !l.target.closest(".expander")) {
|
|
1131
|
+
const v = bt(t.row.id, A), P = l.metaKey || l.ctrlKey;
|
|
1132
|
+
R(v) || p(v, P, !1), p(i, !0, !1);
|
|
1132
1133
|
} else if (t.column.id === "thumbnail") {
|
|
1133
1134
|
if (r) {
|
|
1134
|
-
const
|
|
1135
|
-
if (
|
|
1136
|
-
const
|
|
1137
|
-
r(
|
|
1135
|
+
const v = w(t.row.original.entityId || t.row.id);
|
|
1136
|
+
if (v) {
|
|
1137
|
+
const P = Co(v);
|
|
1138
|
+
r(P, { quickView: !0 });
|
|
1138
1139
|
}
|
|
1139
1140
|
}
|
|
1140
1141
|
} else
|
|
1141
1142
|
S(i);
|
|
1142
1143
|
},
|
|
1143
|
-
onContextMenu: (
|
|
1144
|
-
|
|
1144
|
+
onContextMenu: (l) => {
|
|
1145
|
+
l.preventDefault(), R(i) || p(i, !1, !1);
|
|
1145
1146
|
},
|
|
1146
1147
|
onKeyDown: () => {
|
|
1147
1148
|
},
|