@ynput/ayon-frontend-shared 0.6.6 → 0.6.7
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 +3 -3
- package/dist/NewEntity.es.js +15 -15
- package/dist/ProjectTreeTable.es.js +500 -495
- package/dist/Slicer.es.js +11 -11
- package/dist/Views.es.js +213 -206
- package/dist/chunks/CodeEditor.es.js +30 -0
- package/dist/chunks/ColumnDropIndicator.styled.es.js +24 -24
- package/dist/chunks/ColumnHeaderMenuUI.es.js +2 -2
- package/dist/chunks/DeleteEntitiesContextInstance.es.js +103 -103
- package/dist/chunks/EntityPath.es.js +2 -2
- package/dist/chunks/EntityTooltip.es.js +1 -1
- package/dist/chunks/Feed.es.js +1875 -1857
- package/dist/chunks/JsonViewer.es.js +1 -1
- package/dist/chunks/Menu.es.js +1 -1
- package/dist/chunks/MenuItem.es.js +25 -25
- package/dist/chunks/MetaWidget.es.js +1537 -1516
- package/dist/chunks/PlayableIcon.es.js +127 -127
- package/dist/chunks/ReviewablesSelector.es.js +199 -196
- package/dist/chunks/SimpleTable.es.js +110 -110
- package/dist/chunks/Slicer.es.js +22 -22
- package/dist/chunks/TableSettingsFallback.es.js +1 -1
- package/dist/chunks/ThumbnailSimple.es.js +2 -2
- package/dist/chunks/VideoPlayer.es.js +1 -1
- package/dist/chunks/Watchers.es.js +19 -19
- package/dist/chunks/afterStartup.es.js +13 -0
- package/dist/chunks/getUris.es.js +790 -827
- package/dist/chunks/searchTerms.es.js +1 -3
- package/dist/chunks/useHierarchySelection.es.js +2 -2
- package/dist/chunks/useLoadModule.es.js +24 -23
- package/dist/components.es.js +202 -200
- package/dist/context.es.js +521 -492
- package/dist/hooks.es.js +190 -166
- package/dist/types/ContextMenu.d.ts +1 -0
- package/dist/types/ProjectTreeTable.d.ts +1 -0
- package/dist/types/Views.d.ts +11 -0
- package/dist/types/api.d.ts +198 -1174
- package/dist/types/components.d.ts +5 -1
- package/dist/types/context.d.ts +1 -0
- package/dist/types/hooks.d.ts +25 -1
- package/dist/types/util.d.ts +10 -0
- package/dist/util.es.js +44 -41
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as k, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import W, { createContext as g, useContext as d, useRef as S, useState as b, useEffect as v, useCallback as O, useMemo as re, forwardRef as M } from "react";
|
|
3
|
-
import { Button as $, theme as
|
|
3
|
+
import { Button as $, theme as z, Icon as ae, Dialog as ie, InputText as K } from "@ynput/ayon-react-components";
|
|
4
4
|
import u from "styled-components";
|
|
5
|
-
import
|
|
5
|
+
import N from "clsx";
|
|
6
6
|
import { a as ce, K as J } from "./platform.es.js";
|
|
7
7
|
import { debounce as B, isEqual as le } from "lodash";
|
|
8
8
|
import { confirmDialog as de } from "primereact/confirmdialog";
|
|
9
|
-
import { toast as
|
|
9
|
+
import { toast as H } from "react-toastify";
|
|
10
10
|
import "uuid";
|
|
11
11
|
import { be as T, a as ue } from "./searchTerms.es.js";
|
|
12
12
|
import { cN as pe } from "./getUris.es.js";
|
|
@@ -17,36 +17,39 @@ import { Dialog as fe } from "primereact/dialog";
|
|
|
17
17
|
import he, { ReadyState as me } from "react-use-websocket";
|
|
18
18
|
import "react-redux";
|
|
19
19
|
import "semver";
|
|
20
|
-
const we =
|
|
20
|
+
const we = ({ message: e = "Refresh to see latest changes." }) => /* @__PURE__ */ k("div", { style: { display: "flex", gap: 8, alignItems: "center" }, children: [
|
|
21
|
+
e,
|
|
22
|
+
/* @__PURE__ */ l($, { onClick: () => window.location.reload(), variant: "filled", children: "Refresh" })
|
|
23
|
+
] }), ve = g(void 0), kt = () => d(ve) || {}, xe = g({
|
|
21
24
|
isLoading: !0,
|
|
22
25
|
modules: [],
|
|
23
26
|
remotesInitialized: !1
|
|
24
27
|
}), Dt = () => {
|
|
25
|
-
const e = d(
|
|
28
|
+
const e = d(xe);
|
|
26
29
|
if (e === void 0)
|
|
27
30
|
throw new Error("useRemoteModules must be used within a RemoteModulesProvider");
|
|
28
31
|
return e;
|
|
29
|
-
},
|
|
30
|
-
const e = d(
|
|
32
|
+
}, Se = g(void 0), Rt = () => {
|
|
33
|
+
const e = d(Se);
|
|
31
34
|
if (e === void 0)
|
|
32
35
|
throw new Error("usePowerpack must be used within a PowerpackProvider");
|
|
33
36
|
return e;
|
|
34
|
-
},
|
|
35
|
-
const e = d(
|
|
37
|
+
}, be = g(void 0), Nt = () => {
|
|
38
|
+
const e = d(be);
|
|
36
39
|
if (e === void 0)
|
|
37
40
|
throw new Error("useURIContext must be used within a URIProvider");
|
|
38
41
|
return e;
|
|
39
|
-
},
|
|
42
|
+
}, A = (e, t = null) => {
|
|
40
43
|
if (!e) return t;
|
|
41
44
|
try {
|
|
42
45
|
return JSON.parse(e);
|
|
43
46
|
} catch {
|
|
44
47
|
return t;
|
|
45
48
|
}
|
|
46
|
-
},
|
|
49
|
+
}, At = (e, t) => {
|
|
47
50
|
if (typeof window > "u") return t;
|
|
48
51
|
try {
|
|
49
|
-
return
|
|
52
|
+
return A(sessionStorage.getItem(e), t);
|
|
50
53
|
} catch {
|
|
51
54
|
return t;
|
|
52
55
|
}
|
|
@@ -58,19 +61,19 @@ const we = g(void 0), kt = () => d(we) || {}, ve = g({
|
|
|
58
61
|
console.error(o);
|
|
59
62
|
}
|
|
60
63
|
};
|
|
61
|
-
function
|
|
64
|
+
function ye(e, t) {
|
|
62
65
|
const o = S(t);
|
|
63
66
|
o.current = t;
|
|
64
|
-
const [i, n] = b(() => typeof window > "u" ? t :
|
|
67
|
+
const [i, n] = b(() => typeof window > "u" ? t : A(sessionStorage.getItem(e), t));
|
|
65
68
|
v(() => {
|
|
66
69
|
const s = sessionStorage.getItem(e);
|
|
67
|
-
n(
|
|
70
|
+
n(A(s, o.current)), s || sessionStorage.setItem(e, JSON.stringify(o.current));
|
|
68
71
|
function a(c) {
|
|
69
72
|
if ("key" in c && c.key && c.key !== e) return;
|
|
70
73
|
const p = c.detail?.key;
|
|
71
74
|
if (p && p !== e) return;
|
|
72
75
|
const f = sessionStorage.getItem(e);
|
|
73
|
-
n(
|
|
76
|
+
n(A(f, o.current));
|
|
74
77
|
}
|
|
75
78
|
return window.addEventListener("session-storage", a), window.addEventListener("storage", a), () => {
|
|
76
79
|
window.removeEventListener("session-storage", a), window.removeEventListener("storage", a);
|
|
@@ -98,14 +101,14 @@ const _ = (e, t = null) => {
|
|
|
98
101
|
} catch {
|
|
99
102
|
return t;
|
|
100
103
|
}
|
|
101
|
-
},
|
|
104
|
+
}, Ce = (e, t) => {
|
|
102
105
|
if (typeof window > "u") return t;
|
|
103
106
|
try {
|
|
104
107
|
return _(localStorage.getItem(e), t);
|
|
105
108
|
} catch {
|
|
106
109
|
return t;
|
|
107
110
|
}
|
|
108
|
-
},
|
|
111
|
+
}, Pe = (e, t) => {
|
|
109
112
|
if (!(typeof window > "u"))
|
|
110
113
|
try {
|
|
111
114
|
localStorage.setItem(e, JSON.stringify(t)), window.dispatchEvent(new Event("storage"));
|
|
@@ -149,21 +152,21 @@ function Ot(e, t) {
|
|
|
149
152
|
);
|
|
150
153
|
return [i, r];
|
|
151
154
|
}
|
|
152
|
-
const
|
|
155
|
+
const Ee = g(void 0), Ie = ["feed", "subtasks", "details", "files"], Te = (e) => typeof e == "string" && Ie.includes(e), Lt = (e) => {
|
|
153
156
|
const { startFrame: t, endFrame: o } = e.activityData || {}, i = e.origin?.id ?? e.entityId;
|
|
154
157
|
if (!Number.isSafeInteger(t) || !i) return null;
|
|
155
158
|
const n = t, r = Number.isSafeInteger(o) ? Math.max(n, o) : n;
|
|
156
159
|
return { entityId: i, startFrame: n, endFrame: r };
|
|
157
|
-
},
|
|
158
|
-
const e = d(
|
|
160
|
+
}, ke = () => {
|
|
161
|
+
const e = d(Ee);
|
|
159
162
|
if (e === void 0)
|
|
160
163
|
throw new Error("useDetailsPanel must be used within a DetailsPanelProvider");
|
|
161
164
|
return e;
|
|
162
165
|
}, j = "details/tabs-by-scope", jt = (e, t) => {
|
|
163
|
-
const o =
|
|
164
|
-
|
|
166
|
+
const o = Ce(j, {});
|
|
167
|
+
Pe(j, { ...o, [e]: t });
|
|
165
168
|
}, Mt = (e) => {
|
|
166
|
-
const { getOpenForScope: t, setPanelOpen: o, getTabForScope: i } =
|
|
169
|
+
const { getOpenForScope: t, setPanelOpen: o, getTabForScope: i } = ke(), [n, r] = ye(j, {}), s = n[e], a = Te(s) ? s : i(e), c = O(
|
|
167
170
|
(f) => {
|
|
168
171
|
r((y) => ({ ...y, [e]: f }));
|
|
169
172
|
},
|
|
@@ -176,34 +179,34 @@ const Pe = g(void 0), Ee = ["feed", "subtasks", "details", "files"], Ie = (e) =>
|
|
|
176
179
|
setTab: c,
|
|
177
180
|
isFeed: p
|
|
178
181
|
};
|
|
179
|
-
},
|
|
182
|
+
}, De = g(
|
|
180
183
|
void 0
|
|
181
184
|
), $t = () => {
|
|
182
|
-
const e = d(
|
|
185
|
+
const e = d(De);
|
|
183
186
|
if (!e)
|
|
184
187
|
throw new Error("useSubtasksModulesContext must be used within a SubtasksModulesProvider");
|
|
185
188
|
return e;
|
|
186
|
-
},
|
|
187
|
-
const e = d(
|
|
189
|
+
}, Re = g({}), Ft = () => {
|
|
190
|
+
const e = d(Re);
|
|
188
191
|
if (!e)
|
|
189
192
|
throw new Error("useThumbnailUploadContext must be used within a ThumbnailUploadProvider");
|
|
190
193
|
return e;
|
|
191
|
-
},
|
|
192
|
-
const e = d(
|
|
194
|
+
}, Ne = g(void 0), Ut = () => {
|
|
195
|
+
const e = d(Ne);
|
|
193
196
|
if (e === void 0)
|
|
194
197
|
throw new Error("useSettingsPanel must be used within a SettingsPanelProvider");
|
|
195
198
|
return e;
|
|
196
199
|
}, Ae = g(void 0);
|
|
197
|
-
function
|
|
200
|
+
function _e() {
|
|
198
201
|
const e = d(Ae);
|
|
199
202
|
if (e === void 0)
|
|
200
203
|
throw new Error("usePiPWindow must be used within a PiPContext");
|
|
201
204
|
return e;
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function Oe({ pipWindow: e, children: t }) {
|
|
204
207
|
return ge(t, e.document.body);
|
|
205
208
|
}
|
|
206
|
-
const
|
|
209
|
+
const Le = u(fe)`
|
|
207
210
|
width: 25vw;
|
|
208
211
|
height: 70vh;
|
|
209
212
|
border: solid 1px var(--md-sys-color-outline-variant);
|
|
@@ -216,14 +219,14 @@ const Oe = u(fe)`
|
|
|
216
219
|
opacity: 1;
|
|
217
220
|
}
|
|
218
221
|
}
|
|
219
|
-
`,
|
|
222
|
+
`, je = u($)`
|
|
220
223
|
width: 26px;
|
|
221
224
|
height: 26px;
|
|
222
225
|
margin-left: auto;
|
|
223
226
|
|
|
224
227
|
.icon {
|
|
225
228
|
font-size: 15px;
|
|
226
|
-
font-variation-settings: 'FILL' 0
|
|
229
|
+
font-variation-settings: 'FILL' 0;
|
|
227
230
|
}
|
|
228
231
|
background-color: unset !important;
|
|
229
232
|
opacity: 0;
|
|
@@ -233,11 +236,11 @@ const Oe = u(fe)`
|
|
|
233
236
|
background-color: #3d3e40;
|
|
234
237
|
}
|
|
235
238
|
`, Vt = ({ children: e }) => {
|
|
236
|
-
const { pipWindow: t, pipId: o, isSupported: i, closePipWindow: n } =
|
|
239
|
+
const { pipWindow: t, pipId: o, isSupported: i, closePipWindow: n } = _e(), r = o && W.isValidElement(e) ? W.cloneElement(e, { id: o }) : e;
|
|
237
240
|
return !i && o ? /* @__PURE__ */ l(
|
|
238
|
-
|
|
241
|
+
Le,
|
|
239
242
|
{
|
|
240
|
-
header: /* @__PURE__ */ l(
|
|
243
|
+
header: /* @__PURE__ */ l(je, { icon: "close", className: "close", onClick: n }),
|
|
241
244
|
headerStyle: {
|
|
242
245
|
padding: 4,
|
|
243
246
|
backgroundColor: "#202124",
|
|
@@ -260,31 +263,28 @@ const Oe = u(fe)`
|
|
|
260
263
|
position: "right",
|
|
261
264
|
children: r
|
|
262
265
|
}
|
|
263
|
-
) : t && /* @__PURE__ */ l(
|
|
264
|
-
},
|
|
265
|
-
const e = d(
|
|
266
|
+
) : t && /* @__PURE__ */ l(Oe, { pipWindow: t, children: /* @__PURE__ */ l("div", { className: "pipRoot", children: r }) });
|
|
267
|
+
}, Me = g(void 0), Wt = () => {
|
|
268
|
+
const e = d(Me);
|
|
266
269
|
if (!e)
|
|
267
270
|
throw new Error("useAddonProjectContext must be used within a AddonProjectContext");
|
|
268
271
|
return e;
|
|
269
|
-
},
|
|
270
|
-
const e = d(
|
|
272
|
+
}, $e = g(void 0), Jt = () => {
|
|
273
|
+
const e = d($e);
|
|
271
274
|
if (!e)
|
|
272
275
|
throw new Error("useAddonContext must be used within a AddonContext");
|
|
273
276
|
return e;
|
|
274
|
-
},
|
|
275
|
-
const e = d(
|
|
277
|
+
}, Fe = g(void 0), Bt = () => {
|
|
278
|
+
const e = d(Fe);
|
|
276
279
|
if (e === void 0)
|
|
277
280
|
throw new Error("useMenuContext must be used within a MenuProvider");
|
|
278
281
|
return e;
|
|
279
|
-
},
|
|
280
|
-
"Refresh to see latest changes.",
|
|
281
|
-
/* @__PURE__ */ l($, { onClick: () => window.location.reload(), variant: "filled", children: "Refresh" })
|
|
282
|
-
] }), q = g(void 0), zt = () => {
|
|
282
|
+
}, q = g(void 0), Ht = () => {
|
|
283
283
|
const e = d(q);
|
|
284
284
|
if (e === void 0)
|
|
285
285
|
throw new Error("useSocketContext must be used within a SocketProvider");
|
|
286
286
|
return e;
|
|
287
|
-
}, Ue = window.location.protocol.replace("http", "ws"), Ve = `${Ue}//${window.location.host}/ws`,
|
|
287
|
+
}, Ue = window.location.protocol.replace("http", "ws"), Ve = `${Ue}//${window.location.host}/ws`, zt = ({
|
|
288
288
|
children: e,
|
|
289
289
|
userName: t,
|
|
290
290
|
projectName: o,
|
|
@@ -326,7 +326,7 @@ const Oe = u(fe)`
|
|
|
326
326
|
}), [h]);
|
|
327
327
|
const [R, X] = b(!1), [F, Z] = b(!1);
|
|
328
328
|
v(() => {
|
|
329
|
-
R && !F && (
|
|
329
|
+
R && !F && (H.warning(/* @__PURE__ */ l(we, {}), {
|
|
330
330
|
autoClose: !1,
|
|
331
331
|
closeButton: !1
|
|
332
332
|
}), Z(!0));
|
|
@@ -357,7 +357,7 @@ const Oe = u(fe)`
|
|
|
357
357
|
} else if (U === window.senderId)
|
|
358
358
|
return;
|
|
359
359
|
const V = Date.now();
|
|
360
|
-
V - E.current.lastCall < 1e3 ? E.current.callCount += 1 : E.current.callCount = 0, console.log("Event RX", I), E.current.lastCall = V, x === "shout" && I?.summary?.text &&
|
|
360
|
+
V - E.current.lastCall < 1e3 ? E.current.callCount += 1 : E.current.callCount = 0, console.log("Event RX", I), E.current.lastCall = V, x === "shout" && I?.summary?.text && H.info(oe.text), T.publish(x, I);
|
|
361
361
|
},
|
|
362
362
|
[r]
|
|
363
363
|
);
|
|
@@ -376,19 +376,19 @@ const Oe = u(fe)`
|
|
|
376
376
|
children: e
|
|
377
377
|
}
|
|
378
378
|
);
|
|
379
|
-
},
|
|
380
|
-
const e = d(
|
|
379
|
+
}, Y = g(void 0), Kt = () => {
|
|
380
|
+
const e = d(Y);
|
|
381
381
|
if (e === void 0)
|
|
382
382
|
throw new Error("useProjectContext must be used within a ProjectContextProvider");
|
|
383
383
|
return e;
|
|
384
|
-
}, qt = () => d(
|
|
384
|
+
}, qt = () => d(Y), We = g(
|
|
385
385
|
void 0
|
|
386
|
-
),
|
|
386
|
+
), Yt = () => {
|
|
387
387
|
const e = d(We);
|
|
388
388
|
if (e === void 0)
|
|
389
389
|
throw new Error("useProjectFoldersContext must be used within a ProjectFoldersContextProvider");
|
|
390
390
|
return e;
|
|
391
|
-
},
|
|
391
|
+
}, G = g(void 0), Je = (e) => ({
|
|
392
392
|
created: e,
|
|
393
393
|
label_changed: e,
|
|
394
394
|
renamed: e,
|
|
@@ -397,7 +397,7 @@ const Oe = u(fe)`
|
|
|
397
397
|
tags_changed: e,
|
|
398
398
|
attrib_changed: e,
|
|
399
399
|
deleted: e
|
|
400
|
-
}), Be = (e, t) => e === t || e.startsWith(`${t}.`),
|
|
400
|
+
}), Be = (e, t) => e === t || e.startsWith(`${t}.`), He = (e, t) => t.length === 0 ? !0 : t.includes(e || ""), ze = (e) => {
|
|
401
401
|
const t = e.split(".").pop();
|
|
402
402
|
if (t && [
|
|
403
403
|
"created",
|
|
@@ -410,17 +410,17 @@ const Oe = u(fe)`
|
|
|
410
410
|
"deleted"
|
|
411
411
|
].includes(t))
|
|
412
412
|
return t;
|
|
413
|
-
},
|
|
413
|
+
}, Gt = ({
|
|
414
414
|
projectNames: e,
|
|
415
415
|
topics: t,
|
|
416
416
|
isSyncing: o = !1,
|
|
417
417
|
shouldSyncOnUpdate: i
|
|
418
418
|
}) => {
|
|
419
|
-
const n = d(
|
|
419
|
+
const n = d(G);
|
|
420
420
|
if (!n)
|
|
421
421
|
throw new Error("useSyncUpdates must be used within an EntityUpdatesProvider");
|
|
422
422
|
const r = e || n.projectNames, s = S(0), a = S(!1), c = n.updates.filter(
|
|
423
|
-
(p) =>
|
|
423
|
+
(p) => He(p.project, r) && t.some((f) => Be(p.topic, f)) && (i?.(p) ?? !0)
|
|
424
424
|
);
|
|
425
425
|
return v(() => {
|
|
426
426
|
o && !a.current ? s.current = n.getLatestId() : !o && a.current && n.acknowledge(t, r, s.current), a.current = o;
|
|
@@ -430,7 +430,7 @@ const Oe = u(fe)`
|
|
|
430
430
|
updateCount: c.length
|
|
431
431
|
};
|
|
432
432
|
}, Qt = () => {
|
|
433
|
-
const e = d(
|
|
433
|
+
const e = d(G);
|
|
434
434
|
if (!e)
|
|
435
435
|
throw new Error("useAutoSyncSettings must be used within an EntityUpdatesProvider");
|
|
436
436
|
const { autoSyncSettings: t, setAutoSyncSettings: o } = e;
|
|
@@ -440,7 +440,7 @@ const Oe = u(fe)`
|
|
|
440
440
|
}];
|
|
441
441
|
}, Xt = (e, t) => {
|
|
442
442
|
if (!t) return !1;
|
|
443
|
-
const o =
|
|
443
|
+
const o = ze(e);
|
|
444
444
|
return o ? t[o] : !1;
|
|
445
445
|
}, Ke = u.li`
|
|
446
446
|
position: relative;
|
|
@@ -541,7 +541,7 @@ const Oe = u(fe)`
|
|
|
541
541
|
{
|
|
542
542
|
...C,
|
|
543
543
|
id: e,
|
|
544
|
-
className:
|
|
544
|
+
className: N(y, { selected: n }),
|
|
545
545
|
ref: P,
|
|
546
546
|
children: [
|
|
547
547
|
o && o,
|
|
@@ -562,7 +562,7 @@ const Oe = u(fe)`
|
|
|
562
562
|
{
|
|
563
563
|
icon: "save",
|
|
564
564
|
variant: "text",
|
|
565
|
-
className:
|
|
565
|
+
className: N("save", { active: a === "save" }),
|
|
566
566
|
onClick: (h) => D(h, a !== "save"),
|
|
567
567
|
"data-tooltip": `Save ${m} settings from current ${m}`
|
|
568
568
|
}
|
|
@@ -572,7 +572,7 @@ const Oe = u(fe)`
|
|
|
572
572
|
{
|
|
573
573
|
variant: "text",
|
|
574
574
|
icon: "more_horiz",
|
|
575
|
-
className:
|
|
575
|
+
className: N("more", { active: a === "edit" }),
|
|
576
576
|
onClick: (h) => c(h, e),
|
|
577
577
|
"data-tooltip": `Edit ${m}`
|
|
578
578
|
}
|
|
@@ -582,10 +582,10 @@ const Oe = u(fe)`
|
|
|
582
582
|
}
|
|
583
583
|
);
|
|
584
584
|
}
|
|
585
|
-
),
|
|
585
|
+
), Ye = u.div`
|
|
586
586
|
overflow: auto;
|
|
587
587
|
max-height: 40vh;
|
|
588
|
-
`,
|
|
588
|
+
`, Ge = u.ul`
|
|
589
589
|
/* reset defaults */
|
|
590
590
|
margin: 0;
|
|
591
591
|
padding: 0;
|
|
@@ -601,11 +601,11 @@ const Oe = u(fe)`
|
|
|
601
601
|
margin: 4px 0;
|
|
602
602
|
`;
|
|
603
603
|
u.li`
|
|
604
|
-
${
|
|
604
|
+
${z.labelSmall}
|
|
605
605
|
color: var(--md-sys-color-outline);
|
|
606
606
|
`;
|
|
607
607
|
const Xe = u.li`
|
|
608
|
-
${
|
|
608
|
+
${z.labelSmall}
|
|
609
609
|
color: var(--md-sys-color-outline);
|
|
610
610
|
user-select: none;
|
|
611
611
|
border-radius: var(--border-radius-m);
|
|
@@ -645,7 +645,7 @@ const Xe = u.li`
|
|
|
645
645
|
Xe,
|
|
646
646
|
{
|
|
647
647
|
...i,
|
|
648
|
-
className:
|
|
648
|
+
className: N("views-section-header", { collapsed: t }, o),
|
|
649
649
|
ref: n,
|
|
650
650
|
children: [
|
|
651
651
|
/* @__PURE__ */ l("span", { children: e }),
|
|
@@ -655,7 +655,7 @@ const Xe = u.li`
|
|
|
655
655
|
}
|
|
656
656
|
)
|
|
657
657
|
), Zt = "_divider_", et = (e) => typeof e == "object" && e !== null && "type" in e && e.type === "section", eo = M(
|
|
658
|
-
({ items: e, selected: t, ...o }, i) => /* @__PURE__ */ l(
|
|
658
|
+
({ items: e, selected: t, ...o }, i) => /* @__PURE__ */ l(Ye, { children: /* @__PURE__ */ l(Ge, { ...o, ref: i, children: e.map((n, r) => n === "_divider_" ? /* @__PURE__ */ l(Qe, {}, r) : et(n) ? /* @__PURE__ */ l(
|
|
659
659
|
Ze,
|
|
660
660
|
{
|
|
661
661
|
id: n.id,
|
|
@@ -752,32 +752,32 @@ const Xe = u.li`
|
|
|
752
752
|
}, fo = () => d(Q);
|
|
753
753
|
export {
|
|
754
754
|
Xt as $,
|
|
755
|
-
|
|
756
|
-
|
|
755
|
+
Te as A,
|
|
756
|
+
Nt as B,
|
|
757
757
|
uo as C,
|
|
758
758
|
oo as D,
|
|
759
|
-
|
|
759
|
+
G as E,
|
|
760
760
|
so as F,
|
|
761
|
-
|
|
761
|
+
Ee as G,
|
|
762
762
|
j as H,
|
|
763
|
-
|
|
764
|
-
|
|
763
|
+
De as I,
|
|
764
|
+
Ne as J,
|
|
765
765
|
Ae as K,
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
766
|
+
Me as L,
|
|
767
|
+
Fe as M,
|
|
768
|
+
$e as N,
|
|
769
|
+
Se as O,
|
|
770
|
+
Y as P,
|
|
771
|
+
ve as Q,
|
|
772
|
+
we as R,
|
|
773
773
|
no as S,
|
|
774
|
-
|
|
774
|
+
Re as T,
|
|
775
775
|
We as U,
|
|
776
|
-
|
|
776
|
+
be as V,
|
|
777
777
|
Q as W,
|
|
778
778
|
Vt as X,
|
|
779
779
|
q as Y,
|
|
780
|
-
|
|
780
|
+
zt as Z,
|
|
781
781
|
Lt as _,
|
|
782
782
|
Rt as a,
|
|
783
783
|
po as a0,
|
|
@@ -787,12 +787,12 @@ export {
|
|
|
787
787
|
Qt as a4,
|
|
788
788
|
go as a5,
|
|
789
789
|
fo as a6,
|
|
790
|
-
|
|
790
|
+
_e as a7,
|
|
791
791
|
Mt as a8,
|
|
792
792
|
Ut as a9,
|
|
793
|
-
|
|
793
|
+
Ht as aa,
|
|
794
794
|
$t as ab,
|
|
795
|
-
|
|
795
|
+
Gt as ac,
|
|
796
796
|
Ft as ad,
|
|
797
797
|
Zt as ae,
|
|
798
798
|
tt as af,
|
|
@@ -804,24 +804,24 @@ export {
|
|
|
804
804
|
kt as d,
|
|
805
805
|
ot as e,
|
|
806
806
|
to as f,
|
|
807
|
-
|
|
807
|
+
ze as g,
|
|
808
808
|
ro as h,
|
|
809
809
|
io as i,
|
|
810
810
|
co as j,
|
|
811
811
|
lo as k,
|
|
812
812
|
ao as l,
|
|
813
|
-
|
|
813
|
+
He as m,
|
|
814
814
|
qt as n,
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
815
|
+
ke as o,
|
|
816
|
+
ye as p,
|
|
817
|
+
Ce as q,
|
|
818
|
+
At as r,
|
|
819
|
+
Ot as s,
|
|
820
820
|
Je as t,
|
|
821
821
|
Bt as u,
|
|
822
|
-
|
|
823
|
-
|
|
822
|
+
Pe as v,
|
|
823
|
+
_t as w,
|
|
824
824
|
Kt as x,
|
|
825
|
-
|
|
826
|
-
|
|
825
|
+
Yt as y,
|
|
826
|
+
xe as z
|
|
827
827
|
};
|
|
@@ -5,7 +5,7 @@ import { dr as Me, bX as Ue, c9 as Fe, dd as Te, b0 as Le, aP as We, aK as Ve, d
|
|
|
5
5
|
import "primereact/confirmdialog";
|
|
6
6
|
import { useSensors as $e, useSensor as me, PointerSensor as Ae, KeyboardSensor as Oe, DndContext as qe, closestCenter as Ke, DragOverlay as Ze } from "@dnd-kit/core";
|
|
7
7
|
import { useSortable as _e, sortableKeyboardCoordinates as Be, SortableContext as Ge, verticalListSortingStrategy as Qe, arrayMove as He } from "@dnd-kit/sortable";
|
|
8
|
-
import { D as ze, R as Re,
|
|
8
|
+
import { D as ze, R as Re, a as Xe, b as Je, L as Ye, c as oe, u as je, d as et, T as tt, e as ge, U as nt, P as rt, C as it, f as at, S as X, M as ve, g as be, h as J, i as ye, j as ot, F as st } from "./Watchers.es.js";
|
|
9
9
|
import { CSS as lt } from "@dnd-kit/utilities";
|
|
10
10
|
import { toast as A } from "react-toastify";
|
|
11
11
|
import { u as ct } from "./useCreateContextMenu.es.js";
|
|
@@ -14,7 +14,7 @@ import "uuid";
|
|
|
14
14
|
import { camelCase as ut, upperFirst as pt } from "lodash";
|
|
15
15
|
import { Icon as Ce, Dialog as Se, InputText as xe, Toolbar as ft, Button as ce, SaveButton as ht, FormRow as mt } from "@ynput/ayon-react-components";
|
|
16
16
|
import "@module-federation/enhanced/runtime";
|
|
17
|
-
import {
|
|
17
|
+
import { o as Ee } from "./DeleteEntitiesContextInstance.es.js";
|
|
18
18
|
import "semver";
|
|
19
19
|
import "react-dom";
|
|
20
20
|
import "react-redux";
|
|
@@ -6,9 +6,9 @@ import { bE as L } from "./getUris.es.js";
|
|
|
6
6
|
import "primereact/confirmdialog";
|
|
7
7
|
import "react";
|
|
8
8
|
import "@module-federation/enhanced/runtime";
|
|
9
|
+
import "react-toastify";
|
|
9
10
|
import { n as Y } from "./DeleteEntitiesContextInstance.es.js";
|
|
10
11
|
import "lodash";
|
|
11
|
-
import "react-toastify";
|
|
12
12
|
import { g as _ } from "./getEntityTypeIcon.es.js";
|
|
13
13
|
import "uuid";
|
|
14
14
|
import { g as z } from "./getThumbnailUrl.es.js";
|