@ynput/ayon-frontend-shared 0.4.6 → 0.5.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.
- package/dist/DetailsPanel.es.js +686 -653
- package/dist/ListTable.es.js +11 -10
- package/dist/ProjectTreeTable.es.js +2225 -2186
- package/dist/Slicer.es.js +152 -120
- package/dist/api.es.js +202 -201
- package/dist/chunks/Actions.es.js +20 -20
- package/dist/chunks/ColumnDropIndicator.es.js +128 -242
- package/dist/chunks/DeleteEntitiesContext.es.js +37 -37
- package/dist/chunks/DetailsDialog.es.js +3 -3
- package/dist/chunks/EntityPath.es.js +23 -23
- package/dist/chunks/EntityPickerDialog.es.js +2 -2
- package/dist/chunks/EntityTooltip.es.js +12 -12
- package/dist/chunks/Feed.es.js +16 -16
- package/dist/chunks/FilterErrorActions.es.js +5 -5
- package/dist/chunks/GlobalContext.es.js +14 -14
- package/dist/chunks/InfoMessage.es.js +146 -0
- package/dist/chunks/JsonViewer.es.js +1 -1
- package/dist/chunks/Menu.es.js +5 -5
- package/dist/chunks/MenuContext.es.js +75 -73
- package/dist/chunks/MetaWidget.es.js +1970 -1962
- package/dist/chunks/NewEntityContext.es.js +538 -543
- package/dist/chunks/PlayableIcon.es.js +54 -54
- package/dist/chunks/ProjectContext.es.js +12 -12
- package/dist/chunks/ProjectFoldersContext.es.js +84 -76
- package/dist/chunks/RepresentationsList.es.js +1 -1
- package/dist/chunks/ReviewablesSelector.es.js +390 -387
- package/dist/chunks/SimpleTable.es.js +286 -283
- package/dist/chunks/Slicer.es.js +1122 -684
- package/dist/chunks/VersionUploadContext.es.js +26 -26
- package/dist/chunks/VideoPlayer.es.js +1 -1
- package/dist/chunks/ViewsContext.es.js +31 -31
- package/dist/chunks/Watchers.es.js +2 -2
- package/dist/chunks/entityDefinitions.es.js +275 -133
- package/dist/chunks/getUris.es.js +236 -231
- package/dist/chunks/searchTerms.es.js +10 -1
- package/dist/chunks/useAttributeEnums.es.js +69 -61
- package/dist/chunks/useColumnDragRestriction.es.js +1 -1
- package/dist/chunks/useLocalStorage.es.js +11 -11
- package/dist/chunks/viewUpdateHelper.es.js +23 -23
- package/dist/components.es.js +168 -168
- package/dist/hooks.es.js +47 -46
- package/dist/index.es.js +14 -13
- package/dist/types/Actions.d.ts +7 -7
- package/dist/types/ContextMenu.d.ts +7 -7
- package/dist/types/DetailsPanel.d.ts +13 -7
- package/dist/types/EntityPickerDialog.d.ts +7 -7
- package/dist/types/Feed.d.ts +7 -7
- package/dist/types/ListTable.d.ts +7 -7
- package/dist/types/NewEntity.d.ts +7 -7
- package/dist/types/ProjectTreeTable.d.ts +35 -13
- package/dist/types/RepresentationsList.d.ts +10 -7
- package/dist/types/SimpleTable.d.ts +8 -7
- package/dist/types/Slicer.d.ts +110 -25
- package/dist/types/Views.d.ts +7 -7
- package/dist/types/api.d.ts +20 -7
- package/dist/types/components.d.ts +14 -12
- package/dist/types/context.d.ts +7 -7
- package/dist/types/hooks.d.ts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/util.d.ts +7 -7
- package/package.json +11 -1
- package/dist/chunks/useSlicerSplitter.es.js +0 -18
package/dist/hooks.es.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { u as V, a as G } from "./chunks/useLocalStorage.es.js";
|
|
2
|
-
import { r as
|
|
3
|
-
import { r as
|
|
4
|
-
import { loadRemote as
|
|
5
|
-
import { useRef as
|
|
6
|
-
import b from "
|
|
7
|
-
import { f as
|
|
8
|
-
import { u as
|
|
2
|
+
import { r as _t, e as Zt, w as te } from "./chunks/useLocalStorage.es.js";
|
|
3
|
+
import { r as re, f as oe, w as ne } from "./chunks/MenuContext.es.js";
|
|
4
|
+
import { loadRemote as C } from "@module-federation/enhanced/runtime";
|
|
5
|
+
import { useRef as M, useState as k, useEffect as v, useCallback as N } from "react";
|
|
6
|
+
import b from "semver";
|
|
7
|
+
import { f as ie, u as ae, a as de, b as ue, c as ce, d as le } from "./chunks/Watchers.es.js";
|
|
8
|
+
import { u as fe } from "./chunks/useActionTriggers.es.js";
|
|
9
9
|
import { b1 as R } from "./chunks/searchTerms.es.js";
|
|
10
|
-
import {
|
|
10
|
+
import { bu as T, cN as K } from "./chunks/getUris.es.js";
|
|
11
11
|
import "primereact/confirmdialog";
|
|
12
12
|
import { u as U } from "./chunks/GlobalContext.es.js";
|
|
13
13
|
import { toast as j } from "react-toastify";
|
|
14
|
-
import { u as
|
|
15
|
-
import { a as
|
|
16
|
-
import { u as
|
|
14
|
+
import { u as ge } from "./chunks/EntityPickerDialog.es.js";
|
|
15
|
+
import { a as he } from "./chunks/ProjectFoldersContext.es.js";
|
|
16
|
+
import { u as Le } from "./chunks/useGroupedPagination.es.js";
|
|
17
17
|
import { jsx as P, jsxs as F } from "react/jsx-runtime";
|
|
18
18
|
import "./chunks/ReviewablesSelector.es.js";
|
|
19
|
-
import "
|
|
19
|
+
import "match-sorter";
|
|
20
20
|
import { Button as O, Icon as $ } from "@ynput/ayon-react-components";
|
|
21
21
|
import "clsx";
|
|
22
22
|
import "./chunks/SimpleForm.es.js";
|
|
@@ -34,15 +34,16 @@ import "lodash";
|
|
|
34
34
|
import "uuid";
|
|
35
35
|
import "./chunks/EmptyPlaceholder.es.js";
|
|
36
36
|
import "./chunks/Menu.es.js";
|
|
37
|
-
import "./chunks/
|
|
37
|
+
import "./chunks/InfoMessage.es.js";
|
|
38
38
|
import "@dnd-kit/core";
|
|
39
39
|
import "@dnd-kit/sortable";
|
|
40
|
-
import "
|
|
40
|
+
import "@dnd-kit/utilities";
|
|
41
41
|
import "axios";
|
|
42
42
|
import "./chunks/useCreateContextMenu.es.js";
|
|
43
43
|
import "./chunks/VersionUploadContext.es.js";
|
|
44
44
|
import "./chunks/EntityTooltip.es.js";
|
|
45
45
|
import "./chunks/ProjectContext.es.js";
|
|
46
|
+
import "./chunks/ColumnDropIndicator.es.js";
|
|
46
47
|
import { T as Q } from "./chunks/TableSettingsFallback.es.js";
|
|
47
48
|
import "./chunks/ViewsContext.es.js";
|
|
48
49
|
import "react-redux";
|
|
@@ -54,9 +55,9 @@ import "./chunks/ProjectFoldersContextInstance.es.js";
|
|
|
54
55
|
import "./chunks/MenuItem.es.js";
|
|
55
56
|
import A from "styled-components";
|
|
56
57
|
import { i as q } from "./chunks/isHTMLElement.es.js";
|
|
57
|
-
import { u as
|
|
58
|
-
const
|
|
59
|
-
const a =
|
|
58
|
+
import { u as xe } from "./chunks/useAttributeEnums.es.js";
|
|
59
|
+
const zt = (t, c, e) => {
|
|
60
|
+
const a = M(/* @__PURE__ */ new Set()), [m, r] = k(
|
|
60
61
|
() => h(t)
|
|
61
62
|
), [n, f] = k(c.length > 0 && !e);
|
|
62
63
|
v(() => {
|
|
@@ -64,7 +65,7 @@ const qt = (t, c, e) => {
|
|
|
64
65
|
}, [JSON.stringify(t), e]);
|
|
65
66
|
const l = async (s, d, i, p, u) => {
|
|
66
67
|
try {
|
|
67
|
-
const o = await
|
|
68
|
+
const o = await C(`${s}/${d}`, {
|
|
68
69
|
from: "runtime"
|
|
69
70
|
});
|
|
70
71
|
w(i, s, d, o?.default || p, u);
|
|
@@ -180,7 +181,7 @@ const qt = (t, c, e) => {
|
|
|
180
181
|
});
|
|
181
182
|
}
|
|
182
183
|
return { modules: m, isLoading: n };
|
|
183
|
-
},
|
|
184
|
+
}, Dt = ({ selectors: t = [], init: c }) => {
|
|
184
185
|
const { user: e } = U(), { data: { frontendPreferences: a = {} } = {} } = e || {}, m = t.filter((l) => l != null).map((l) => l.replace(/\s/g, ""));
|
|
185
186
|
let r = a;
|
|
186
187
|
for (const l of m)
|
|
@@ -209,7 +210,7 @@ const qt = (t, c, e) => {
|
|
|
209
210
|
console.error(h), j.error(h.data?.detail);
|
|
210
211
|
}
|
|
211
212
|
}, { isSuccess: !0 }];
|
|
212
|
-
},
|
|
213
|
+
}, Ht = ({ groupBy: t, projectName: c, entityType: e }) => {
|
|
213
214
|
t?.id === "taskType" && (e = "task");
|
|
214
215
|
const a = t?.id || "", { data: { groups: m = [] } = {}, error: r } = T(
|
|
215
216
|
{ projectName: c, entityType: e, groupingKey: a, empty: !0 },
|
|
@@ -233,7 +234,7 @@ const qt = (t, c, e) => {
|
|
|
233
234
|
}) => /* @__PURE__ */ P(Q, { feature: "groupAttributes", requiredVersion: t, children: c.map((e) => /* @__PURE__ */ P(z, { children: /* @__PURE__ */ F(D, { variant: "text", icon: e.icon, children: [
|
|
234
235
|
e.label,
|
|
235
236
|
/* @__PURE__ */ P($, { icon: "bolt", style: { marginLeft: "auto" } })
|
|
236
|
-
] }) }, e.value)) }),
|
|
237
|
+
] }) }, e.value)) }), Jt = () => {
|
|
237
238
|
const { powerLicense: t } = V(), [c, { outdated: e, isLoading: a }] = G({
|
|
238
239
|
addon: "powerpack",
|
|
239
240
|
remote: "slicer",
|
|
@@ -249,7 +250,7 @@ const qt = (t, c, e) => {
|
|
|
249
250
|
isLoading: a
|
|
250
251
|
};
|
|
251
252
|
}, J = ["w", "s"];
|
|
252
|
-
function
|
|
253
|
+
function Wt({
|
|
253
254
|
reviewables: t,
|
|
254
255
|
selected: c,
|
|
255
256
|
onChange: e,
|
|
@@ -268,7 +269,7 @@ function Jt({
|
|
|
268
269
|
return window.addEventListener("keydown", r), () => window.removeEventListener("keydown", r);
|
|
269
270
|
}, [m, t, c, e, a]);
|
|
270
271
|
}
|
|
271
|
-
const
|
|
272
|
+
const Bt = () => {
|
|
272
273
|
const { data: t, isLoading: c, isError: e } = K({});
|
|
273
274
|
return {
|
|
274
275
|
getProductionAddon: N(
|
|
@@ -292,28 +293,28 @@ const Wt = () => {
|
|
|
292
293
|
};
|
|
293
294
|
};
|
|
294
295
|
export {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
296
|
+
ie as filterProjectStatuses,
|
|
297
|
+
_t as readLocalStorage,
|
|
298
|
+
re as readSessionStorage,
|
|
299
|
+
fe as useActionTriggers,
|
|
300
|
+
ae as useAttributeEnumOptions,
|
|
301
|
+
xe as useAttributeEnums,
|
|
302
|
+
de as useEntityUpdate,
|
|
303
|
+
ue as useFetchAttributeEnumOptions,
|
|
304
|
+
Ht as useGetEntityGroups,
|
|
305
|
+
Bt as useGetProductionAddon,
|
|
306
|
+
Jt as useGroupByRemoteModules,
|
|
307
|
+
Le as useGroupedPagination,
|
|
308
|
+
ge as useHierarchyTable,
|
|
308
309
|
G as useLoadModule,
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
310
|
+
zt as useLoadModules,
|
|
311
|
+
Zt as useLocalStorage,
|
|
312
|
+
he as useQueryArgumentChangeLoading,
|
|
313
|
+
Wt as useReviewablesKeyboardNavigation,
|
|
314
|
+
ce as useScopedStatuses,
|
|
315
|
+
le as useScopedTypes,
|
|
316
|
+
oe as useSessionStorage,
|
|
317
|
+
Dt as useUserProjectConfig,
|
|
318
|
+
te as writeLocalStorage,
|
|
319
|
+
ne as writeSessionStorage
|
|
319
320
|
};
|
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunks/ReviewablesSelector.es.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
|
-
import "
|
|
4
|
+
import "match-sorter";
|
|
5
5
|
import "@ynput/ayon-react-components";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "./chunks/SimpleForm.es.js";
|
|
@@ -16,7 +16,7 @@ import "primereact/confirmdialog";
|
|
|
16
16
|
import "./chunks/JsonViewer.es.js";
|
|
17
17
|
import "./chunks/Watchers.es.js";
|
|
18
18
|
import "react-quill-ayon";
|
|
19
|
-
import { U as
|
|
19
|
+
import { U as W } from "./chunks/PlayableIcon.es.js";
|
|
20
20
|
import "react-markdown";
|
|
21
21
|
import "remark-gfm";
|
|
22
22
|
import "rehype-raw";
|
|
@@ -24,33 +24,34 @@ import "lodash";
|
|
|
24
24
|
import "uuid";
|
|
25
25
|
import "./chunks/useLocalStorage.es.js";
|
|
26
26
|
import "@module-federation/enhanced/runtime";
|
|
27
|
-
import "
|
|
28
|
-
import { M as
|
|
29
|
-
import { E as
|
|
27
|
+
import "semver";
|
|
28
|
+
import { M as Y, u as Z } from "./chunks/MenuContext.es.js";
|
|
29
|
+
import { E as $ } from "./chunks/EmptyPlaceholder.es.js";
|
|
30
30
|
import "./chunks/Menu.es.js";
|
|
31
|
-
import "./chunks/
|
|
31
|
+
import "./chunks/InfoMessage.es.js";
|
|
32
32
|
import "@dnd-kit/core";
|
|
33
33
|
import "@dnd-kit/sortable";
|
|
34
|
-
import "
|
|
34
|
+
import "@dnd-kit/utilities";
|
|
35
35
|
import "axios";
|
|
36
36
|
import "./chunks/useCreateContextMenu.es.js";
|
|
37
37
|
import "./chunks/VersionUploadContext.es.js";
|
|
38
38
|
import "./chunks/EntityTooltip.es.js";
|
|
39
39
|
import "./chunks/ProjectContext.es.js";
|
|
40
40
|
import "./chunks/GlobalContext.es.js";
|
|
41
|
+
import "./chunks/ColumnDropIndicator.es.js";
|
|
41
42
|
import "./chunks/EntityPickerDialog.es.js";
|
|
42
43
|
import "./chunks/ViewsContext.es.js";
|
|
43
44
|
import "react-redux";
|
|
44
45
|
import "react-router-dom";
|
|
45
46
|
import "./chunks/Slicer.es.js";
|
|
46
47
|
import "primereact/splitter";
|
|
47
|
-
import { T as
|
|
48
|
+
import { T as or } from "./chunks/ThumbnailSimple.es.js";
|
|
48
49
|
import "./chunks/ProjectFoldersContextInstance.es.js";
|
|
49
50
|
import "./chunks/MenuItem.es.js";
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
$ as EmptyPlaceholder,
|
|
53
|
+
Y as MenuProvider,
|
|
54
|
+
or as ThumbnailSimple,
|
|
55
|
+
W as UserImage,
|
|
56
|
+
Z as useMenuContext
|
|
56
57
|
};
|
package/dist/types/Actions.d.ts
CHANGED
|
@@ -76,6 +76,13 @@ declare type IconModel = {
|
|
|
76
76
|
export { }
|
|
77
77
|
|
|
78
78
|
|
|
79
|
+
declare global {
|
|
80
|
+
interface Window {
|
|
81
|
+
senderId: string;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
79
86
|
declare module '@tanstack/react-table' {
|
|
80
87
|
interface TableMeta<TData extends RowData> {
|
|
81
88
|
options?: BuiltInFieldOptions;
|
|
@@ -90,13 +97,6 @@ declare module '@tanstack/react-table' {
|
|
|
90
97
|
}
|
|
91
98
|
|
|
92
99
|
|
|
93
|
-
declare global {
|
|
94
|
-
interface Window {
|
|
95
|
-
senderId: string;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
100
|
declare module '@tanstack/react-table' {
|
|
101
101
|
interface FilterFns {
|
|
102
102
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -125,6 +125,13 @@ RefObject<{
|
|
|
125
125
|
export { }
|
|
126
126
|
|
|
127
127
|
|
|
128
|
+
declare global {
|
|
129
|
+
interface Window {
|
|
130
|
+
senderId: string;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
128
135
|
declare module '@tanstack/react-table' {
|
|
129
136
|
interface TableMeta<TData extends RowData> {
|
|
130
137
|
options?: BuiltInFieldOptions;
|
|
@@ -139,13 +146,6 @@ declare module '@tanstack/react-table' {
|
|
|
139
146
|
}
|
|
140
147
|
|
|
141
148
|
|
|
142
|
-
declare global {
|
|
143
|
-
interface Window {
|
|
144
|
-
senderId: string;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
149
149
|
declare module '@tanstack/react-table' {
|
|
150
150
|
interface FilterFns {
|
|
151
151
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -100,7 +100,10 @@ declare type DetailsPanelProductFragmentFragment = {
|
|
|
100
100
|
name: string;
|
|
101
101
|
productType: string;
|
|
102
102
|
latestVersion: {
|
|
103
|
+
id: string;
|
|
103
104
|
version: number;
|
|
105
|
+
name: string;
|
|
106
|
+
active: boolean;
|
|
104
107
|
} | null;
|
|
105
108
|
};
|
|
106
109
|
|
|
@@ -145,6 +148,7 @@ export declare type DetailsPanelProps = {
|
|
|
145
148
|
* structural type in shared/ so the layering rule (shared cannot import src/pages)
|
|
146
149
|
* is preserved. */
|
|
147
150
|
entityListsContext?: DetailsPanelEntityListsContext;
|
|
151
|
+
resolveVersionJump?: ResolveVersionJump;
|
|
148
152
|
};
|
|
149
153
|
|
|
150
154
|
declare type DetailsPanelRepresentationFragmentFragment = {
|
|
@@ -356,6 +360,8 @@ declare type ProjectModelWithProducts = ProjectModel & {
|
|
|
356
360
|
productTypes: ProductTypeListItem[];
|
|
357
361
|
};
|
|
358
362
|
|
|
363
|
+
declare type ResolveVersionJump = (versionId: string) => (() => void) | undefined;
|
|
364
|
+
|
|
359
365
|
declare type Status_2 = {
|
|
360
366
|
name: string;
|
|
361
367
|
original_name?: string;
|
|
@@ -412,6 +418,13 @@ declare type User = {
|
|
|
412
418
|
export { }
|
|
413
419
|
|
|
414
420
|
|
|
421
|
+
declare global {
|
|
422
|
+
interface Window {
|
|
423
|
+
senderId: string;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
|
|
415
428
|
declare module '@tanstack/react-table' {
|
|
416
429
|
interface TableMeta<TData extends RowData> {
|
|
417
430
|
options?: BuiltInFieldOptions;
|
|
@@ -426,13 +439,6 @@ declare module '@tanstack/react-table' {
|
|
|
426
439
|
}
|
|
427
440
|
|
|
428
441
|
|
|
429
|
-
declare global {
|
|
430
|
-
interface Window {
|
|
431
|
-
senderId: string;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
436
442
|
declare module '@tanstack/react-table' {
|
|
437
443
|
interface FilterFns {
|
|
438
444
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -31,6 +31,13 @@ export declare type PickerSelection = Record<PickerEntityType, RowSelectionState
|
|
|
31
31
|
export { }
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
declare global {
|
|
35
|
+
interface Window {
|
|
36
|
+
senderId: string;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
34
41
|
declare module '@tanstack/react-table' {
|
|
35
42
|
interface TableMeta<TData extends RowData> {
|
|
36
43
|
options?: BuiltInFieldOptions;
|
|
@@ -45,13 +52,6 @@ declare module '@tanstack/react-table' {
|
|
|
45
52
|
}
|
|
46
53
|
|
|
47
54
|
|
|
48
|
-
declare global {
|
|
49
|
-
interface Window {
|
|
50
|
-
senderId: string;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
55
|
declare module '@tanstack/react-table' {
|
|
56
56
|
interface FilterFns {
|
|
57
57
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
package/dist/types/Feed.d.ts
CHANGED
|
@@ -316,6 +316,13 @@ declare type VersionSuggestionItem = {
|
|
|
316
316
|
export { }
|
|
317
317
|
|
|
318
318
|
|
|
319
|
+
declare global {
|
|
320
|
+
interface Window {
|
|
321
|
+
senderId: string;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
319
326
|
declare module '@tanstack/react-table' {
|
|
320
327
|
interface TableMeta<TData extends RowData> {
|
|
321
328
|
options?: BuiltInFieldOptions;
|
|
@@ -330,13 +337,6 @@ declare module '@tanstack/react-table' {
|
|
|
330
337
|
}
|
|
331
338
|
|
|
332
339
|
|
|
333
|
-
declare global {
|
|
334
|
-
interface Window {
|
|
335
|
-
senderId: string;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
|
|
340
340
|
declare module '@tanstack/react-table' {
|
|
341
341
|
interface FilterFns {
|
|
342
342
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -266,6 +266,13 @@ export declare const renderListTableFallbackValue: (value: unknown) => string;
|
|
|
266
266
|
export { }
|
|
267
267
|
|
|
268
268
|
|
|
269
|
+
declare global {
|
|
270
|
+
interface Window {
|
|
271
|
+
senderId: string;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
|
|
269
276
|
declare module '@tanstack/react-table' {
|
|
270
277
|
interface TableMeta<TData extends RowData> {
|
|
271
278
|
options?: BuiltInFieldOptions;
|
|
@@ -280,13 +287,6 @@ declare module '@tanstack/react-table' {
|
|
|
280
287
|
}
|
|
281
288
|
|
|
282
289
|
|
|
283
|
-
declare global {
|
|
284
|
-
interface Window {
|
|
285
|
-
senderId: string;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
290
|
declare module '@tanstack/react-table' {
|
|
291
291
|
interface FilterFns {
|
|
292
292
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -196,6 +196,13 @@ export declare const useNewEntityContext: () => NewEntityContextType;
|
|
|
196
196
|
export { }
|
|
197
197
|
|
|
198
198
|
|
|
199
|
+
declare global {
|
|
200
|
+
interface Window {
|
|
201
|
+
senderId: string;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
|
|
199
206
|
declare module '@tanstack/react-table' {
|
|
200
207
|
interface TableMeta<TData extends RowData> {
|
|
201
208
|
options?: BuiltInFieldOptions;
|
|
@@ -210,13 +217,6 @@ declare module '@tanstack/react-table' {
|
|
|
210
217
|
}
|
|
211
218
|
|
|
212
219
|
|
|
213
|
-
declare global {
|
|
214
|
-
interface Window {
|
|
215
|
-
senderId: string;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
220
|
declare module '@tanstack/react-table' {
|
|
221
221
|
interface FilterFns {
|
|
222
222
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -302,6 +302,8 @@ export declare const buildGroupId: (value: string) => string;
|
|
|
302
302
|
|
|
303
303
|
export declare const buildProductTableRow: (node: EditorProductNode, parentFolder?: MatchingFolder) => TableRow;
|
|
304
304
|
|
|
305
|
+
export declare const buildQueryFilters: ({ queryFilters, sliceFilter, sliceFilters, config: { searchKey }, }: UseQueryFiltersProps) => QueryFiltersResult;
|
|
306
|
+
|
|
305
307
|
export declare const buildRowScope: (groups: boolean, rows: boolean) => RowScope;
|
|
306
308
|
|
|
307
309
|
export declare const buildSummaryFormat: (count: boolean, percent: boolean) => SummaryFormat;
|
|
@@ -1977,6 +1979,8 @@ export declare const isMetaRowId: (rowId: string) => boolean;
|
|
|
1977
1979
|
*/
|
|
1978
1980
|
export declare const isMetaRowType: (rowId: string, type: MetaRowType) => boolean;
|
|
1979
1981
|
|
|
1982
|
+
export declare const isMultiSelectAttribute: (attribute: ProjectTableAttribute) => boolean;
|
|
1983
|
+
|
|
1980
1984
|
/**
|
|
1981
1985
|
* Checks if a value is a relative date marker (e.g., "relative:today:0")
|
|
1982
1986
|
*/
|
|
@@ -2148,6 +2152,8 @@ declare interface NewEntityOpenConfig {
|
|
|
2148
2152
|
|
|
2149
2153
|
export declare const NEXT_PAGE_ID = "next-page";
|
|
2150
2154
|
|
|
2155
|
+
export declare const NO_MATCH_FOLDER_ID: string;
|
|
2156
|
+
|
|
2151
2157
|
export declare const normalizeColumnId: (columnId: string, aliases?: ColumnIdAliases) => string;
|
|
2152
2158
|
|
|
2153
2159
|
export declare const normalizeColumnIdList: (columnIds?: string[], aliases?: ColumnIdAliases) => string[];
|
|
@@ -2652,7 +2658,7 @@ export declare interface ProjectOverviewContextType {
|
|
|
2652
2658
|
taskGroups: EntityGroup[];
|
|
2653
2659
|
taskFilters: QueryFilterParams;
|
|
2654
2660
|
folderFilters: QueryFilterParams;
|
|
2655
|
-
|
|
2661
|
+
getSlicerCountsArgs: (sliceType: string) => {
|
|
2656
2662
|
projectName: string;
|
|
2657
2663
|
filter?: string;
|
|
2658
2664
|
folderFilter?: string;
|
|
@@ -3122,6 +3128,14 @@ export declare const scopeHasGroups: (s: RowScope) => boolean;
|
|
|
3122
3128
|
|
|
3123
3129
|
export declare const scopeHasRows: (s: RowScope) => boolean;
|
|
3124
3130
|
|
|
3131
|
+
export declare const scopeIdsToFolders: (ids: string[], folderIdMap: Record<string, string>, folderScope: Set<string> | null) => string[];
|
|
3132
|
+
|
|
3133
|
+
export declare interface SelectedFoldersResult {
|
|
3134
|
+
selectedFolders: string[];
|
|
3135
|
+
folderScope: Set<string> | null;
|
|
3136
|
+
listPanelSelected: boolean;
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3125
3139
|
export declare const SelectedRowsContext: Context<SelectedRowsContextType | undefined>;
|
|
3126
3140
|
|
|
3127
3141
|
export declare interface SelectedRowsContextType {
|
|
@@ -3181,6 +3195,11 @@ declare type SettingsPanelItem = {
|
|
|
3181
3195
|
path?: string;
|
|
3182
3196
|
};
|
|
3183
3197
|
|
|
3198
|
+
export declare interface SliceRowSelection {
|
|
3199
|
+
sliceType: string;
|
|
3200
|
+
rowSelection: RowSelectionState;
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3184
3203
|
export declare type SoftErrorAction = {
|
|
3185
3204
|
label: string;
|
|
3186
3205
|
icon: string;
|
|
@@ -3744,11 +3763,13 @@ export declare const useGroupCounts: (params: UseGroupCountsParams) => GroupCoun
|
|
|
3744
3763
|
export declare type UseGroupCountsParams = {
|
|
3745
3764
|
entity: 'task';
|
|
3746
3765
|
groupBy?: TableGroupBy;
|
|
3766
|
+
extraGroupBys?: TableGroupBy[];
|
|
3747
3767
|
args: TaskStatsArgs;
|
|
3748
3768
|
skip?: boolean;
|
|
3749
3769
|
} | {
|
|
3750
3770
|
entity: 'version';
|
|
3751
3771
|
groupBy?: TableGroupBy;
|
|
3772
|
+
extraGroupBys?: TableGroupBy[];
|
|
3752
3773
|
args: VersionStatsArgs;
|
|
3753
3774
|
skip?: boolean;
|
|
3754
3775
|
};
|
|
@@ -3775,11 +3796,12 @@ export declare const useProjectTableContext: () => ProjectTableContextType;
|
|
|
3775
3796
|
|
|
3776
3797
|
export declare const useProjectTableQueriesContext: () => ProjectTableQueriesContextProps;
|
|
3777
3798
|
|
|
3778
|
-
export declare const useQueryFilters: (
|
|
3799
|
+
export declare const useQueryFilters: (props: UseQueryFiltersProps) => QueryFiltersResult;
|
|
3779
3800
|
|
|
3780
3801
|
declare interface UseQueryFiltersProps {
|
|
3781
3802
|
queryFilters: QueryFilter;
|
|
3782
3803
|
sliceFilter?: Filter | null;
|
|
3804
|
+
sliceFilters?: (Filter | null)[] | null;
|
|
3783
3805
|
config?: {
|
|
3784
3806
|
searchKey?: string;
|
|
3785
3807
|
};
|
|
@@ -3819,13 +3841,12 @@ declare interface UseScopedAttributeFieldsProps<T extends AttributeField> {
|
|
|
3819
3841
|
allowedScopes?: string[];
|
|
3820
3842
|
}
|
|
3821
3843
|
|
|
3822
|
-
export declare const useSelectedFolders: ({
|
|
3844
|
+
export declare const useSelectedFolders: ({ slices, entityListFolderIds, getChildFolderIds, }: UseSelectedFoldersProps) => SelectedFoldersResult;
|
|
3823
3845
|
|
|
3824
3846
|
declare interface UseSelectedFoldersProps {
|
|
3825
|
-
|
|
3826
|
-
sliceType: string;
|
|
3827
|
-
pinnedRowSelection?: RowSelectionState | null;
|
|
3847
|
+
slices: SliceRowSelection[];
|
|
3828
3848
|
entityListFolderIds?: string[];
|
|
3849
|
+
getChildFolderIds?: (folderIds: string[], includeSelf?: boolean) => string[];
|
|
3829
3850
|
}
|
|
3830
3851
|
|
|
3831
3852
|
export declare const useSelectedRowsContext: () => SelectedRowsContextType;
|
|
@@ -4042,6 +4063,7 @@ export declare type VersionStatsArgs = {
|
|
|
4042
4063
|
versionFilter?: string;
|
|
4043
4064
|
productFilter?: string;
|
|
4044
4065
|
taskFilter?: string;
|
|
4066
|
+
folderFilter?: string;
|
|
4045
4067
|
folderIds?: string[];
|
|
4046
4068
|
versionIds?: string[];
|
|
4047
4069
|
productIds?: string[];
|
|
@@ -4082,6 +4104,13 @@ export declare const WRAP_MIN_ROW_HEIGHT: number;
|
|
|
4082
4104
|
export { }
|
|
4083
4105
|
|
|
4084
4106
|
|
|
4107
|
+
declare global {
|
|
4108
|
+
interface Window {
|
|
4109
|
+
senderId: string;
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4113
|
+
|
|
4085
4114
|
declare module '@tanstack/react-table' {
|
|
4086
4115
|
interface TableMeta<TData extends RowData> {
|
|
4087
4116
|
options?: BuiltInFieldOptions;
|
|
@@ -4096,13 +4125,6 @@ declare module '@tanstack/react-table' {
|
|
|
4096
4125
|
}
|
|
4097
4126
|
|
|
4098
4127
|
|
|
4099
|
-
declare global {
|
|
4100
|
-
interface Window {
|
|
4101
|
-
senderId: string;
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
4128
|
declare module '@tanstack/react-table' {
|
|
4107
4129
|
interface FilterFns {
|
|
4108
4130
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -40,7 +40,10 @@ declare type DetailsPanelProductFragmentFragment = {
|
|
|
40
40
|
name: string;
|
|
41
41
|
productType: string;
|
|
42
42
|
latestVersion: {
|
|
43
|
+
id: string;
|
|
43
44
|
version: number;
|
|
45
|
+
name: string;
|
|
46
|
+
active: boolean;
|
|
44
47
|
} | null;
|
|
45
48
|
};
|
|
46
49
|
|
|
@@ -141,6 +144,13 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
|
|
|
141
144
|
export { }
|
|
142
145
|
|
|
143
146
|
|
|
147
|
+
declare global {
|
|
148
|
+
interface Window {
|
|
149
|
+
senderId: string;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
144
154
|
declare module '@tanstack/react-table' {
|
|
145
155
|
interface TableMeta<TData extends RowData> {
|
|
146
156
|
options?: BuiltInFieldOptions;
|
|
@@ -155,13 +165,6 @@ declare module '@tanstack/react-table' {
|
|
|
155
165
|
}
|
|
156
166
|
|
|
157
167
|
|
|
158
|
-
declare global {
|
|
159
|
-
interface Window {
|
|
160
|
-
senderId: string;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
165
168
|
declare module '@tanstack/react-table' {
|
|
166
169
|
interface FilterFns {
|
|
167
170
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -175,6 +175,7 @@ export declare interface SimpleTableProps extends Omit<React.HTMLAttributes<HTML
|
|
|
175
175
|
onRowDoubleClick?: (id: string, row: Row<SimpleTableRow>) => void;
|
|
176
176
|
onRowOptionClick?: (row: SimpleTableRow, selectedRows: string[]) => void;
|
|
177
177
|
fitContent?: boolean;
|
|
178
|
+
rowIdPrefix?: string;
|
|
178
179
|
rowContextMenuBuilders?: SimpleTableRowContextMenuBuilder[];
|
|
179
180
|
children?: (props: SimpleTableCellTemplateProps, row: Row<SimpleTableRow>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
180
181
|
pt?: {
|
|
@@ -241,6 +242,13 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
|
|
|
241
242
|
export { }
|
|
242
243
|
|
|
243
244
|
|
|
245
|
+
declare global {
|
|
246
|
+
interface Window {
|
|
247
|
+
senderId: string;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
244
252
|
declare module '@tanstack/react-table' {
|
|
245
253
|
interface TableMeta<TData extends RowData> {
|
|
246
254
|
options?: BuiltInFieldOptions;
|
|
@@ -255,13 +263,6 @@ declare module '@tanstack/react-table' {
|
|
|
255
263
|
}
|
|
256
264
|
|
|
257
265
|
|
|
258
|
-
declare global {
|
|
259
|
-
interface Window {
|
|
260
|
-
senderId: string;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
266
|
declare module '@tanstack/react-table' {
|
|
266
267
|
interface FilterFns {
|
|
267
268
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|