@ynput/ayon-frontend-shared 0.7.3 → 0.7.5
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/LICENSE +105 -0
- package/dist/DetailsPanel.es.js +1088 -969
- package/dist/ListTable.es.js +70 -67
- package/dist/NewEntity.es.js +8 -5
- package/dist/ProjectTreeTable.es.js +4134 -3825
- package/dist/ProjectsTable.es.js +526 -0
- package/dist/Slicer.es.js +75 -73
- package/dist/Views.es.js +86 -84
- package/dist/chunks/Actions.es.js +4 -2
- package/dist/chunks/ColumnDropIndicator.es.js +21 -18
- package/dist/chunks/ColumnDropIndicator.styled.es.js +14 -13
- package/dist/chunks/ColumnHeaderMenuUI.es.js +9 -7
- package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +12 -11
- package/dist/chunks/EmptyPlaceholder.es.js +9 -8
- package/dist/chunks/EntityPath.es.js +15 -14
- package/dist/chunks/EntityPickerDialog.es.js +5 -3
- package/dist/chunks/EntityTooltip.es.js +10 -8
- package/dist/chunks/EntityUpdatesContext.es.js +13 -12
- package/dist/chunks/Feed.es.js +12 -11
- package/dist/chunks/FilterErrorActions.es.js +6 -4
- package/dist/chunks/GroupSettingsFallback.es.js +75 -0
- package/dist/chunks/JsonViewer.es.js +3 -2
- package/dist/chunks/Menu.es.js +105 -103
- package/dist/chunks/MetaWidget.es.js +278 -275
- package/dist/chunks/PlayableIcon.es.js +868 -862
- package/dist/chunks/ProjectContext.es.js +5 -4
- package/dist/chunks/RepresentationsList.es.js +3 -2
- package/dist/chunks/ReviewablesSelector.es.js +3471 -2067
- package/dist/chunks/SimpleTable.es.js +492 -402
- package/dist/chunks/Slicer.es.js +936 -896
- package/dist/chunks/TableExportContextInstance.es.js +437 -339
- package/dist/chunks/TableSettingsFallback.es.js +5 -3
- package/dist/chunks/ThumbnailSimple.es.js +15 -13
- package/dist/chunks/VideoPlayer.es.js +14 -12
- package/dist/chunks/Watchers.es.js +97 -95
- package/dist/chunks/getProjectDisplayName.es.js +4 -0
- package/dist/chunks/getUris.es.js +375 -374
- package/dist/chunks/useHierarchySelection.es.js +5 -3
- package/dist/chunks/useLoadModule.es.js +10 -8
- package/dist/chunks/viewUpdateHelper.es.js +12 -10
- package/dist/components.es.js +1488 -1186
- package/dist/context.es.js +589 -539
- package/dist/hooks.es.js +169 -212
- package/dist/index.es.js +17 -12
- package/dist/types/Actions.d.ts +3 -0
- package/dist/types/ContextMenu.d.ts +3 -0
- package/dist/types/DetailsPanel.d.ts +3 -0
- package/dist/types/EntityPickerDialog.d.ts +3 -0
- package/dist/types/Feed.d.ts +3 -0
- package/dist/types/ListTable.d.ts +3 -0
- package/dist/types/NewEntity.d.ts +3 -0
- package/dist/types/ProjectTreeTable.d.ts +735 -1
- package/dist/types/ProjectsTable.d.ts +228 -0
- package/dist/types/RepresentationsList.d.ts +3 -0
- package/dist/types/SimpleTable.d.ts +17 -0
- package/dist/types/Slicer.d.ts +4 -0
- package/dist/types/Views.d.ts +3 -0
- package/dist/types/api.d.ts +3 -0
- package/dist/types/components.d.ts +808 -11
- package/dist/types/context.d.ts +39 -1
- package/dist/types/hooks.d.ts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/util.d.ts +7 -0
- package/dist/util.es.js +152 -144
- package/package.json +16 -8
- /package/dist/{ContextMenuContextInstance.css → style.css} +0 -0
|
@@ -3,20 +3,22 @@ import { R as e, P as n } from "./ReviewablesSelector.es.js";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "@ynput/ayon-react-components";
|
|
5
5
|
import "@module-federation/enhanced/runtime";
|
|
6
|
+
import "@ynput/ayon-addon/host";
|
|
6
7
|
import "react-toastify";
|
|
7
8
|
import "./searchTerms.es.js";
|
|
8
9
|
import "./getUris.es.js";
|
|
9
10
|
import "primereact/confirmdialog";
|
|
10
|
-
import {
|
|
11
|
+
import { b as c } from "./TableExportContextInstance.es.js";
|
|
11
12
|
import "lodash";
|
|
12
13
|
import "uuid";
|
|
14
|
+
import "axios";
|
|
13
15
|
import "semver";
|
|
14
16
|
import "./ContextMenuContextInstance.es.js";
|
|
15
17
|
import "clsx";
|
|
16
18
|
import "react-dom";
|
|
17
19
|
import "react-redux";
|
|
18
20
|
import "react-router-dom";
|
|
19
|
-
const
|
|
21
|
+
const D = ({
|
|
20
22
|
requiredVersion: r,
|
|
21
23
|
feature: t,
|
|
22
24
|
button: i,
|
|
@@ -38,5 +40,5 @@ const B = ({
|
|
|
38
40
|
] });
|
|
39
41
|
};
|
|
40
42
|
export {
|
|
41
|
-
|
|
43
|
+
D as T
|
|
42
44
|
};
|
|
@@ -7,10 +7,12 @@ import "primereact/confirmdialog";
|
|
|
7
7
|
import "lodash";
|
|
8
8
|
import { e as N } from "./expandRelativeDates.es.js";
|
|
9
9
|
import "@module-federation/enhanced/runtime";
|
|
10
|
+
import "@ynput/ayon-addon/host";
|
|
10
11
|
import "react-toastify";
|
|
11
12
|
import { Icon as w, Dialog as B, FormRow as v, InputDate as x, SaveButton as U } from "@ynput/ayon-react-components";
|
|
12
13
|
import "./TableExportContextInstance.es.js";
|
|
13
14
|
import "uuid";
|
|
15
|
+
import "axios";
|
|
14
16
|
import "semver";
|
|
15
17
|
import "./ContextMenuContextInstance.es.js";
|
|
16
18
|
import "clsx";
|
|
@@ -18,7 +20,7 @@ import "react-redux";
|
|
|
18
20
|
import "react-router-dom";
|
|
19
21
|
import { U as O } from "./PlayableIcon.es.js";
|
|
20
22
|
import p, { keyframes as K } from "styled-components";
|
|
21
|
-
import {
|
|
23
|
+
import { E as P } from "./EntityTooltip.es.js";
|
|
22
24
|
import { format as b, parse as k } from "date-fns";
|
|
23
25
|
import { g as H } from "./getThumbnailUrl.es.js";
|
|
24
26
|
const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
@@ -61,7 +63,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
61
63
|
if (!e || !e.conditions?.length) return null;
|
|
62
64
|
const o = N(e), t = C(o);
|
|
63
65
|
return t || null;
|
|
64
|
-
},
|
|
66
|
+
}, Ne = (e) => {
|
|
65
67
|
const o = W(e);
|
|
66
68
|
if (o)
|
|
67
69
|
return JSON.stringify(o);
|
|
@@ -100,7 +102,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
100
102
|
color: var(--md-sys-color-outline);
|
|
101
103
|
font-size: 0.85em;
|
|
102
104
|
}
|
|
103
|
-
`,
|
|
105
|
+
`, E = ({ name: e, fullName: o, showSubtitle: t, size: n = 24 }) => /* @__PURE__ */ m(V, { $size: n, children: [
|
|
104
106
|
/* @__PURE__ */ i(O, { name: e, size: n }),
|
|
105
107
|
t ? /* @__PURE__ */ m(X, { children: [
|
|
106
108
|
/* @__PURE__ */ i("span", { children: o || e }),
|
|
@@ -115,7 +117,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
115
117
|
opacity: 1;
|
|
116
118
|
scale: 1;
|
|
117
119
|
}
|
|
118
|
-
`,
|
|
120
|
+
`, T = p.span`
|
|
119
121
|
display: flex;
|
|
120
122
|
padding: 8px;
|
|
121
123
|
gap: var(--base-gap-large);
|
|
@@ -141,7 +143,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
141
143
|
|
|
142
144
|
animation: ${Z} 50ms ease-out;
|
|
143
145
|
transform-origin: left bottom;
|
|
144
|
-
`, ee = ({ name: e, label: o, pos: t }) => /* @__PURE__ */ i(
|
|
146
|
+
`, ee = ({ name: e, label: o, pos: t }) => /* @__PURE__ */ i(T, { style: { ...t }, children: /* @__PURE__ */ i(E, { name: e || "", fullName: o, showSubtitle: !0, size: 32 }) }), te = p(T)`
|
|
145
147
|
flex-direction: column;
|
|
146
148
|
align-items: flex-start;
|
|
147
149
|
gap: 8px;
|
|
@@ -200,7 +202,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
200
202
|
] }),
|
|
201
203
|
r.length > 0 && /* @__PURE__ */ m(ie, { children: [
|
|
202
204
|
r.map((d) => /* @__PURE__ */ i(re, { children: /* @__PURE__ */ i(
|
|
203
|
-
|
|
205
|
+
E,
|
|
204
206
|
{
|
|
205
207
|
name: d.name,
|
|
206
208
|
fullName: f.get(d.name),
|
|
@@ -226,7 +228,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
226
228
|
pos: t
|
|
227
229
|
}
|
|
228
230
|
);
|
|
229
|
-
},
|
|
231
|
+
}, Be = () => {
|
|
230
232
|
const [e, o] = J(), { type: t, label: n, name: s, pos: l, id: c } = e || {}, a = document.querySelector(".feed ul");
|
|
231
233
|
return F(() => {
|
|
232
234
|
if (c) {
|
|
@@ -246,7 +248,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
246
248
|
display: flex;
|
|
247
249
|
flex-direction: column;
|
|
248
250
|
gap: 12px;
|
|
249
|
-
`,
|
|
251
|
+
`, Ue = ({
|
|
250
252
|
isOpen: e,
|
|
251
253
|
header: o,
|
|
252
254
|
startDate: t,
|
|
@@ -322,7 +324,7 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
322
324
|
display: block;
|
|
323
325
|
position: absolute;
|
|
324
326
|
inset: 0;
|
|
325
|
-
`,
|
|
327
|
+
`, Oe = ({
|
|
326
328
|
projectName: e,
|
|
327
329
|
entityType: o,
|
|
328
330
|
entityId: t,
|
|
@@ -357,11 +359,11 @@ const Y = new Set(Object.keys(A).filter((e) => e !== "activity")), D = {
|
|
|
357
359
|
] });
|
|
358
360
|
};
|
|
359
361
|
export {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
+
Be as A,
|
|
363
|
+
Ue as C,
|
|
362
364
|
G as F,
|
|
363
|
-
|
|
365
|
+
Oe as T,
|
|
364
366
|
J as a,
|
|
365
|
-
|
|
367
|
+
Ne as b,
|
|
366
368
|
g as u
|
|
367
369
|
};
|
|
@@ -5,6 +5,7 @@ import { toast as A } from "react-toastify";
|
|
|
5
5
|
import { clearMemoizedPlayables as c, Player as h, compactPlayerControls as E } from "@ynput/ayon-player";
|
|
6
6
|
import { ClipType as F } from "@ynput/ayon-player/model";
|
|
7
7
|
import "@module-federation/enhanced/runtime";
|
|
8
|
+
import "@ynput/ayon-addon/host";
|
|
8
9
|
import "@ynput/ayon-react-components";
|
|
9
10
|
import "./searchTerms.es.js";
|
|
10
11
|
import "./getUris.es.js";
|
|
@@ -12,6 +13,7 @@ import "primereact/confirmdialog";
|
|
|
12
13
|
import { d as D } from "./TableExportContextInstance.es.js";
|
|
13
14
|
import "lodash";
|
|
14
15
|
import "uuid";
|
|
16
|
+
import "axios";
|
|
15
17
|
import "semver";
|
|
16
18
|
import "./ContextMenuContextInstance.es.js";
|
|
17
19
|
import "clsx";
|
|
@@ -34,13 +36,13 @@ const R = { loop: !0, audio: !0 }, S = 24, T = "h264", L = {
|
|
|
34
36
|
productAttributes: {},
|
|
35
37
|
taskAttributes: {},
|
|
36
38
|
path: ""
|
|
37
|
-
},
|
|
39
|
+
}, tt = ({
|
|
38
40
|
id: t,
|
|
39
41
|
name: o,
|
|
40
|
-
url:
|
|
41
|
-
projectName:
|
|
42
|
-
duration:
|
|
43
|
-
width:
|
|
42
|
+
url: r,
|
|
43
|
+
projectName: e,
|
|
44
|
+
duration: i,
|
|
45
|
+
width: s,
|
|
44
46
|
height: a,
|
|
45
47
|
fps: p,
|
|
46
48
|
codec: m
|
|
@@ -54,24 +56,24 @@ const R = { loop: !0, audio: !0 }, S = 24, T = "h264", L = {
|
|
|
54
56
|
fileId: t,
|
|
55
57
|
label: o,
|
|
56
58
|
type: F.VIDEO,
|
|
57
|
-
url:
|
|
59
|
+
url: r,
|
|
58
60
|
position: 0,
|
|
59
61
|
fps: p || S,
|
|
60
62
|
codec: m || T,
|
|
61
|
-
duration:
|
|
62
|
-
width:
|
|
63
|
+
duration: i,
|
|
64
|
+
width: s,
|
|
63
65
|
height: a,
|
|
64
66
|
context: L
|
|
65
67
|
}
|
|
66
68
|
],
|
|
67
|
-
[t, o,
|
|
69
|
+
[t, o, r, i, s, a, p, m]
|
|
68
70
|
), y = u(
|
|
69
71
|
() => ({
|
|
70
72
|
router: { useLocation: x, useNavigate: b, useParams: P, useSearchParams: I },
|
|
71
73
|
toast: A,
|
|
72
|
-
projectName:
|
|
74
|
+
projectName: e
|
|
73
75
|
}),
|
|
74
|
-
[
|
|
76
|
+
[e]
|
|
75
77
|
);
|
|
76
78
|
return /* @__PURE__ */ l(N, { ref: n, children: /* @__PURE__ */ l(
|
|
77
79
|
h,
|
|
@@ -88,5 +90,5 @@ const R = { loop: !0, audio: !0 }, S = 24, T = "h264", L = {
|
|
|
88
90
|
) });
|
|
89
91
|
};
|
|
90
92
|
export {
|
|
91
|
-
|
|
93
|
+
tt as default
|
|
92
94
|
};
|
|
@@ -7,13 +7,15 @@ import { toast as te } from "react-toastify";
|
|
|
7
7
|
import { c as oe } from "./copyToClipboard.es.js";
|
|
8
8
|
import "uuid";
|
|
9
9
|
import { aF as fe, b6 as Le, bs as ve, b9 as Pe, ba as We, bb as Oe, bB as Ie, by as Ve, bJ as Be, br as He, a as K, bz as _e } from "./searchTerms.es.js";
|
|
10
|
-
import
|
|
10
|
+
import ye from "axios";
|
|
11
|
+
import p, { keyframes as be, css as xe } from "styled-components";
|
|
11
12
|
import U from "clsx";
|
|
12
|
-
import {
|
|
13
|
+
import { E as Qe, t as qe, M as Ge, T as Ke, D as Je, B as Ze, l as Xe } from "./MetaWidget.es.js";
|
|
13
14
|
import "./PlayableIcon.es.js";
|
|
14
|
-
import { dq as Ye, c0 as et, ce as
|
|
15
|
+
import { dq as Ye, c0 as et, ce as we, bk as tt, as as ot, bz as rt, dd as at } from "./getUris.es.js";
|
|
15
16
|
import "@module-federation/enhanced/runtime";
|
|
16
|
-
import
|
|
17
|
+
import "@ynput/ayon-addon/host";
|
|
18
|
+
import { v as re, d as nt, x as it, T as st } from "./TableExportContextInstance.es.js";
|
|
17
19
|
import "semver";
|
|
18
20
|
import "./ContextMenuContextInstance.es.js";
|
|
19
21
|
import "react-dom";
|
|
@@ -31,9 +33,9 @@ import "@lexical/utils";
|
|
|
31
33
|
import "@lexical/react/LexicalBlockWithAlignableContents";
|
|
32
34
|
import "@lexical/react/LexicalDecoratorBlockNode";
|
|
33
35
|
import "@tanstack/react-table";
|
|
36
|
+
import "@ynput/ayon-addon";
|
|
34
37
|
import { g as ct, h as ie } from "./humanizeFieldName.es.js";
|
|
35
38
|
import { a as dt, A as pt } from "./ThumbnailSimple.es.js";
|
|
36
|
-
import we from "axios";
|
|
37
39
|
import { p as Q } from "./parseFilename.es.js";
|
|
38
40
|
import { classNames as ut } from "primereact/utils";
|
|
39
41
|
import { u as mt } from "./useCreateContextMenu.es.js";
|
|
@@ -48,7 +50,7 @@ const se = [], ht = (e) => {
|
|
|
48
50
|
}),
|
|
49
51
|
[t, r, e]
|
|
50
52
|
);
|
|
51
|
-
},
|
|
53
|
+
}, Jo = () => {
|
|
52
54
|
const [e] = Pe(), [t] = We();
|
|
53
55
|
return Y(
|
|
54
56
|
async (r, o) => {
|
|
@@ -372,7 +374,7 @@ const se = [], ht = (e) => {
|
|
|
372
374
|
updateEntity: n
|
|
373
375
|
};
|
|
374
376
|
}, St = (e, t) => {
|
|
375
|
-
const r =
|
|
377
|
+
const r = we({ projects: [...new Set(e).values()] });
|
|
376
378
|
if (!r || !r.data)
|
|
377
379
|
return [];
|
|
378
380
|
let o;
|
|
@@ -387,13 +389,13 @@ const se = [], ht = (e) => {
|
|
|
387
389
|
o = he(o, n, "name");
|
|
388
390
|
}
|
|
389
391
|
return o;
|
|
390
|
-
},
|
|
392
|
+
}, Zo = (e, t) => {
|
|
391
393
|
let r = Object.values(e || {});
|
|
392
394
|
return r.length == 0 || r[0].scope === void 0 ? r : r.filter(
|
|
393
395
|
(o) => t.every((c) => o.scope === void 0 || o.scope.includes(c))
|
|
394
396
|
);
|
|
395
397
|
}, Tt = (e, t) => {
|
|
396
|
-
const r =
|
|
398
|
+
const r = we({ projects: [...new Set(e).values()] });
|
|
397
399
|
if (!r || !r.data)
|
|
398
400
|
return [];
|
|
399
401
|
let o;
|
|
@@ -899,7 +901,7 @@ const se = [], ht = (e) => {
|
|
|
899
901
|
padding-right: 8px;
|
|
900
902
|
padding-left: 8px;
|
|
901
903
|
margin-top: 16px;
|
|
902
|
-
`,
|
|
904
|
+
`, Xo = ({ entities: e = [], isLoading: t }) => {
|
|
903
905
|
const { formData: r, mixedFields: o, updateFormData: c, clearMixedField: n } = xt(
|
|
904
906
|
e,
|
|
905
907
|
t
|
|
@@ -996,9 +998,9 @@ const se = [], ht = (e) => {
|
|
|
996
998
|
}
|
|
997
999
|
)
|
|
998
1000
|
] });
|
|
999
|
-
},
|
|
1001
|
+
}, Yo = p.div`
|
|
1000
1002
|
position: relative;
|
|
1001
|
-
`,
|
|
1003
|
+
`, er = p.div`
|
|
1002
1004
|
position: relative;
|
|
1003
1005
|
padding: 8px;
|
|
1004
1006
|
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
@@ -1030,13 +1032,13 @@ const se = [], ht = (e) => {
|
|
|
1030
1032
|
/* align center */
|
|
1031
1033
|
align-items: center;
|
|
1032
1034
|
}
|
|
1033
|
-
`,
|
|
1035
|
+
`, tr = p(_)`
|
|
1034
1036
|
position: absolute;
|
|
1035
1037
|
right: 4px;
|
|
1036
1038
|
top: 4px;
|
|
1037
1039
|
width: fit-content;
|
|
1038
1040
|
z-index: 50;
|
|
1039
|
-
`,
|
|
1041
|
+
`, or = p.header`
|
|
1040
1042
|
display: flex;
|
|
1041
1043
|
align-items: center;
|
|
1042
1044
|
gap: var(--base-gap-large);
|
|
@@ -1051,7 +1053,7 @@ const se = [], ht = (e) => {
|
|
|
1051
1053
|
display: none;
|
|
1052
1054
|
}
|
|
1053
1055
|
}
|
|
1054
|
-
`,
|
|
1056
|
+
`, rr = p.div`
|
|
1055
1057
|
display: flex;
|
|
1056
1058
|
align-items: center;
|
|
1057
1059
|
gap: var(--base-gap-small);
|
|
@@ -1059,7 +1061,7 @@ const se = [], ht = (e) => {
|
|
|
1059
1061
|
h2 {
|
|
1060
1062
|
min-width: fit-content;
|
|
1061
1063
|
}
|
|
1062
|
-
`,
|
|
1064
|
+
`, ar = p.div`
|
|
1063
1065
|
position: relative;
|
|
1064
1066
|
height: 100%;
|
|
1065
1067
|
|
|
@@ -1074,7 +1076,7 @@ const se = [], ht = (e) => {
|
|
|
1074
1076
|
flex-direction: column;
|
|
1075
1077
|
gap: var(--base-gap-small);
|
|
1076
1078
|
}
|
|
1077
|
-
`,
|
|
1079
|
+
`, nr = p.div`
|
|
1078
1080
|
display: flex;
|
|
1079
1081
|
flex-direction: column;
|
|
1080
1082
|
height: 100%;
|
|
@@ -1112,7 +1114,7 @@ const se = [], ht = (e) => {
|
|
|
1112
1114
|
align-items: center;
|
|
1113
1115
|
gap: var(--base-gap-medium);
|
|
1114
1116
|
}
|
|
1115
|
-
`,
|
|
1117
|
+
`, ir = p.div`
|
|
1116
1118
|
display: flex;
|
|
1117
1119
|
justify-content: space-between;
|
|
1118
1120
|
align-items: flex-start;
|
|
@@ -1121,10 +1123,10 @@ const se = [], ht = (e) => {
|
|
|
1121
1123
|
label {
|
|
1122
1124
|
color: var(--md-sys-color-outline);
|
|
1123
1125
|
}
|
|
1124
|
-
`,
|
|
1126
|
+
`, sr = p.div`
|
|
1125
1127
|
display: flex;
|
|
1126
1128
|
flex-direction: column;
|
|
1127
|
-
`,
|
|
1129
|
+
`, lr = p(De)`
|
|
1128
1130
|
width: fit-content;
|
|
1129
1131
|
.status-field.value {
|
|
1130
1132
|
position: relative;
|
|
@@ -1135,11 +1137,11 @@ const se = [], ht = (e) => {
|
|
|
1135
1137
|
margin-bottom: 2px;
|
|
1136
1138
|
color: ${(e) => e.$textColor};
|
|
1137
1139
|
}
|
|
1138
|
-
`,
|
|
1140
|
+
`, cr = p(Fe)`
|
|
1139
1141
|
width: fit-content;
|
|
1140
1142
|
justify-self: end;
|
|
1141
1143
|
max-width: 100%;
|
|
1142
|
-
`,
|
|
1144
|
+
`, dr = p(Ce)`
|
|
1143
1145
|
height: 24px;
|
|
1144
1146
|
.template-value {
|
|
1145
1147
|
padding: 0 2px;
|
|
@@ -1153,7 +1155,7 @@ const se = [], ht = (e) => {
|
|
|
1153
1155
|
display: none;
|
|
1154
1156
|
}
|
|
1155
1157
|
}
|
|
1156
|
-
`,
|
|
1158
|
+
`, pr = p.div`
|
|
1157
1159
|
display: flex;
|
|
1158
1160
|
align-items: center;
|
|
1159
1161
|
gap: 4px;
|
|
@@ -1173,7 +1175,7 @@ const se = [], ht = (e) => {
|
|
|
1173
1175
|
border-radius: 3px;
|
|
1174
1176
|
padding: 0 4px;
|
|
1175
1177
|
}
|
|
1176
|
-
`,
|
|
1178
|
+
`, ur = p(Ae)`
|
|
1177
1179
|
width: max-content;
|
|
1178
1180
|
justify-self: end;
|
|
1179
1181
|
/* remove text and dropdown icon */
|
|
@@ -1197,12 +1199,12 @@ const se = [], ht = (e) => {
|
|
|
1197
1199
|
background-color: var(--md-sys-color-surface-container-low-hover);
|
|
1198
1200
|
}
|
|
1199
1201
|
}
|
|
1200
|
-
`,
|
|
1202
|
+
`, mr = p.footer`
|
|
1201
1203
|
display: flex;
|
|
1202
1204
|
align-items: center;
|
|
1203
1205
|
gap: var(--base-gap-small);
|
|
1204
1206
|
justify-content: space-between;
|
|
1205
|
-
`,
|
|
1207
|
+
`, gr = p.div`
|
|
1206
1208
|
height: 100%;
|
|
1207
1209
|
|
|
1208
1210
|
> input[type='file'] {
|
|
@@ -1213,7 +1215,7 @@ const se = [], ht = (e) => {
|
|
|
1213
1215
|
input[type='file'] {
|
|
1214
1216
|
display: none;
|
|
1215
1217
|
}
|
|
1216
|
-
`,
|
|
1218
|
+
`, hr = p.div`
|
|
1217
1219
|
z-index: 100;
|
|
1218
1220
|
position: absolute;
|
|
1219
1221
|
inset: 0;
|
|
@@ -1225,7 +1227,7 @@ const se = [], ht = (e) => {
|
|
|
1225
1227
|
display: flex;
|
|
1226
1228
|
align-items: center;
|
|
1227
1229
|
justify-content: center;
|
|
1228
|
-
`,
|
|
1230
|
+
`, fr = p.div`
|
|
1229
1231
|
flex: 1;
|
|
1230
1232
|
height: 100%;
|
|
1231
1233
|
border-radius: var(--border-radius-l);
|
|
@@ -1254,11 +1256,11 @@ const se = [], ht = (e) => {
|
|
|
1254
1256
|
/* show children */
|
|
1255
1257
|
opacity: 1;
|
|
1256
1258
|
}
|
|
1257
|
-
`,
|
|
1259
|
+
`, vr = p(_)`
|
|
1258
1260
|
position: absolute;
|
|
1259
1261
|
top: 4px;
|
|
1260
1262
|
right: 4px;
|
|
1261
|
-
`,
|
|
1263
|
+
`, yr = p.div`
|
|
1262
1264
|
display: flex;
|
|
1263
1265
|
flex-direction: column;
|
|
1264
1266
|
align-items: center;
|
|
@@ -1271,7 +1273,7 @@ const se = [], ht = (e) => {
|
|
|
1271
1273
|
top: 12px;
|
|
1272
1274
|
position: relative;
|
|
1273
1275
|
}
|
|
1274
|
-
`,
|
|
1276
|
+
`, br = p.div`
|
|
1275
1277
|
height: 8px;
|
|
1276
1278
|
position: absolute;
|
|
1277
1279
|
border-radius: 4px;
|
|
@@ -1280,7 +1282,7 @@ const se = [], ht = (e) => {
|
|
|
1280
1282
|
background-color: var(--md-sys-color-primary);
|
|
1281
1283
|
|
|
1282
1284
|
transition: right 0.2s;
|
|
1283
|
-
`, Lt =
|
|
1285
|
+
`, Lt = be`
|
|
1284
1286
|
from {
|
|
1285
1287
|
transform: rotate(0deg);
|
|
1286
1288
|
}
|
|
@@ -1486,7 +1488,7 @@ const se = [], ht = (e) => {
|
|
|
1486
1488
|
|
|
1487
1489
|
/* default hidden */
|
|
1488
1490
|
opacity: 0;
|
|
1489
|
-
`,
|
|
1491
|
+
`, xr = ee(
|
|
1490
1492
|
({
|
|
1491
1493
|
availability: e,
|
|
1492
1494
|
projectName: t,
|
|
@@ -1543,7 +1545,7 @@ const se = [], ht = (e) => {
|
|
|
1543
1545
|
}
|
|
1544
1546
|
);
|
|
1545
1547
|
}
|
|
1546
|
-
), Gt =
|
|
1548
|
+
), Gt = be`
|
|
1547
1549
|
from {
|
|
1548
1550
|
transform: rotate(360deg);
|
|
1549
1551
|
}
|
|
@@ -1724,13 +1726,13 @@ p.div`
|
|
|
1724
1726
|
min-height: 100%;
|
|
1725
1727
|
padding-bottom: var(--padding-m);
|
|
1726
1728
|
`;
|
|
1727
|
-
const
|
|
1729
|
+
const wr = p.div`
|
|
1728
1730
|
position: relative;
|
|
1729
1731
|
overflow: hidden;
|
|
1730
1732
|
border-radius: var(--border-radius-m);
|
|
1731
1733
|
width: 100%;
|
|
1732
1734
|
min-height: 50px;
|
|
1733
|
-
`,
|
|
1735
|
+
`, kr = p.div`
|
|
1734
1736
|
word-break: break-all;
|
|
1735
1737
|
`, Xt = p.div`
|
|
1736
1738
|
display: flex;
|
|
@@ -1801,7 +1803,7 @@ const br = p.div`
|
|
|
1801
1803
|
font-size: 32px;
|
|
1802
1804
|
}
|
|
1803
1805
|
`, me = (e) => {
|
|
1804
|
-
if (
|
|
1806
|
+
if (ye.isAxiosError(e)) {
|
|
1805
1807
|
const t = e.response?.data;
|
|
1806
1808
|
if (typeof t == "string" && t)
|
|
1807
1809
|
return t;
|
|
@@ -1885,7 +1887,7 @@ const br = p.div`
|
|
|
1885
1887
|
try {
|
|
1886
1888
|
const E = w.map((D) => {
|
|
1887
1889
|
const l = Q(D.name), N = l.split(".").slice(0, -1).join(".") || "unnamed", $ = `/api/projects/${e}/versions/${m}/reviewables?label=${N}`, z = { "content-type": D.type, "x-file-name": l };
|
|
1888
|
-
return
|
|
1890
|
+
return ye.post($, D, { headers: z, onUploadProgress: C(D) }).then(b(D)).catch((F) => {
|
|
1889
1891
|
throw k(D)(F), F;
|
|
1890
1892
|
});
|
|
1891
1893
|
});
|
|
@@ -1910,7 +1912,7 @@ const br = p.div`
|
|
|
1910
1912
|
handleRemoveUpload: u,
|
|
1911
1913
|
uploading: h
|
|
1912
1914
|
};
|
|
1913
|
-
},
|
|
1915
|
+
}, Er = ({
|
|
1914
1916
|
projectName: e,
|
|
1915
1917
|
taskId: t,
|
|
1916
1918
|
folderId: r,
|
|
@@ -2032,7 +2034,7 @@ const br = p.div`
|
|
|
2032
2034
|
}
|
|
2033
2035
|
)
|
|
2034
2036
|
] });
|
|
2035
|
-
},
|
|
2037
|
+
}, Sr = p.div`
|
|
2036
2038
|
position: relative;
|
|
2037
2039
|
border-radius: var(--border-radius-m);
|
|
2038
2040
|
display: flex;
|
|
@@ -2047,9 +2049,9 @@ const br = p.div`
|
|
|
2047
2049
|
}
|
|
2048
2050
|
|
|
2049
2051
|
flex: 1;
|
|
2050
|
-
`,
|
|
2052
|
+
`, Tr = p.div`
|
|
2051
2053
|
position: relative;
|
|
2052
|
-
`,
|
|
2054
|
+
`, jr = p.span`
|
|
2053
2055
|
position: relative;
|
|
2054
2056
|
padding: 0px 2px;
|
|
2055
2057
|
border-radius: var(--border-radius-m);
|
|
@@ -2071,12 +2073,12 @@ const br = p.div`
|
|
|
2071
2073
|
color: var(--md-sys-color-on-surface);
|
|
2072
2074
|
}
|
|
2073
2075
|
}
|
|
2074
|
-
`,
|
|
2076
|
+
`, Dr = p.span`
|
|
2075
2077
|
text-overflow: ellipsis;
|
|
2076
2078
|
overflow: hidden;
|
|
2077
2079
|
display: inline-block;
|
|
2078
2080
|
white-space: nowrap;
|
|
2079
|
-
`, ge =
|
|
2081
|
+
`, ge = xe`
|
|
2080
2082
|
background-color: var(--md-sys-color-surface-container);
|
|
2081
2083
|
&,
|
|
2082
2084
|
.icon {
|
|
@@ -2105,7 +2107,7 @@ const br = p.div`
|
|
|
2105
2107
|
}
|
|
2106
2108
|
}
|
|
2107
2109
|
}
|
|
2108
|
-
`,
|
|
2110
|
+
`, Fr = p.div`
|
|
2109
2111
|
position: absolute;
|
|
2110
2112
|
top: 100%;
|
|
2111
2113
|
left: 0px;
|
|
@@ -2114,7 +2116,7 @@ const br = p.div`
|
|
|
2114
2116
|
|
|
2115
2117
|
z-index: 200;
|
|
2116
2118
|
padding-top: 4px;
|
|
2117
|
-
`,
|
|
2119
|
+
`, Cr = p.ul`
|
|
2118
2120
|
display: flex;
|
|
2119
2121
|
flex-direction: column;
|
|
2120
2122
|
gap: var(--base-gap-small);
|
|
@@ -2129,13 +2131,13 @@ const br = p.div`
|
|
|
2129
2131
|
|
|
2130
2132
|
max-height: 500px;
|
|
2131
2133
|
overflow: auto;
|
|
2132
|
-
`,
|
|
2134
|
+
`, Ar = p.li`
|
|
2133
2135
|
padding: var(--base-gap-small);
|
|
2134
2136
|
border-radius: var(--border-radius-m);
|
|
2135
2137
|
color: var(--md-sys-color-on-surface);
|
|
2136
2138
|
min-width: max-content;
|
|
2137
2139
|
width: 100%;
|
|
2138
|
-
`,
|
|
2140
|
+
`, Nr = ee(
|
|
2139
2141
|
({ children: e, segment: t, isOpen: r, scope: o, projectName: c, ...n }, a) => {
|
|
2140
2142
|
const { openSlideOut: d } = re(), h = t?.type !== "product" && t?.type !== "project", i = () => {
|
|
2141
2143
|
if (!h) return;
|
|
@@ -2347,7 +2349,7 @@ const br = p.div`
|
|
|
2347
2349
|
font-size: 24px;
|
|
2348
2350
|
}
|
|
2349
2351
|
|
|
2350
|
-
${({ $length: e }) => e > 1 &&
|
|
2352
|
+
${({ $length: e }) => e > 1 && xe`
|
|
2351
2353
|
:not(:last-child) {
|
|
2352
2354
|
box-shadow: 0 0 4px 0px black;
|
|
2353
2355
|
}
|
|
@@ -2363,7 +2365,7 @@ const br = p.div`
|
|
|
2363
2365
|
object-fit: cover;
|
|
2364
2366
|
}
|
|
2365
2367
|
}
|
|
2366
|
-
`,
|
|
2368
|
+
`, $r = ({
|
|
2367
2369
|
thumbnails: e = [],
|
|
2368
2370
|
isLoading: t,
|
|
2369
2371
|
className: r,
|
|
@@ -2399,7 +2401,7 @@ const br = p.div`
|
|
|
2399
2401
|
)
|
|
2400
2402
|
}
|
|
2401
2403
|
) : null;
|
|
2402
|
-
},
|
|
2404
|
+
}, Mr = ee(
|
|
2403
2405
|
({ entities: e, entityType: t, onWatchersUpdate: r, userName: o, ...c }, n) => {
|
|
2404
2406
|
const a = e.map((f) => ({
|
|
2405
2407
|
entityId: f.id,
|
|
@@ -2440,54 +2442,54 @@ const br = p.div`
|
|
|
2440
2442
|
}
|
|
2441
2443
|
);
|
|
2442
2444
|
export {
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2445
|
+
nr as A,
|
|
2446
|
+
rr as B,
|
|
2447
|
+
vr as C,
|
|
2448
|
+
fr as D,
|
|
2449
|
+
dr as E,
|
|
2450
|
+
Dr as F,
|
|
2451
|
+
er as G,
|
|
2452
|
+
Yo as H,
|
|
2453
|
+
pr as I,
|
|
2454
|
+
lr as J,
|
|
2455
|
+
cr as K,
|
|
2456
|
+
wr as L,
|
|
2457
|
+
Fr as M,
|
|
2458
|
+
ur as N,
|
|
2459
|
+
tr as O,
|
|
2460
|
+
br as P,
|
|
2461
|
+
ir as Q,
|
|
2462
|
+
xr as R,
|
|
2463
|
+
jr as S,
|
|
2464
|
+
ar as T,
|
|
2465
|
+
yr as U,
|
|
2466
|
+
mr as V,
|
|
2467
|
+
Mr as W,
|
|
2468
|
+
sr as X,
|
|
2469
|
+
kt as a,
|
|
2470
|
+
Jo as b,
|
|
2471
|
+
St as c,
|
|
2472
|
+
Tt as d,
|
|
2473
|
+
kr as e,
|
|
2474
|
+
Zo as f,
|
|
2475
|
+
Er as g,
|
|
2476
|
+
ue as h,
|
|
2477
|
+
to as i,
|
|
2478
|
+
gr as j,
|
|
2479
|
+
hr as k,
|
|
2480
|
+
Sr as l,
|
|
2481
|
+
Cr as m,
|
|
2482
|
+
Nr as n,
|
|
2483
|
+
Ar as o,
|
|
2484
|
+
Tr as p,
|
|
2483
2485
|
Mt as q,
|
|
2484
2486
|
Rt as r,
|
|
2485
|
-
|
|
2487
|
+
Xo as s,
|
|
2486
2488
|
ke as t,
|
|
2487
|
-
|
|
2489
|
+
vt as u,
|
|
2488
2490
|
It as v,
|
|
2489
|
-
|
|
2491
|
+
$r as w,
|
|
2490
2492
|
no as x,
|
|
2491
2493
|
Et as y,
|
|
2492
|
-
|
|
2494
|
+
or as z
|
|
2493
2495
|
};
|