@ynput/ayon-frontend-shared 0.6.6 → 0.6.8
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 +4 -4
- package/dist/ListTable.es.js +2 -2
- package/dist/NewEntity.es.js +49 -49
- package/dist/ProjectTreeTable.es.js +501 -496
- package/dist/Slicer.es.js +27 -27
- package/dist/Views.es.js +213 -206
- package/dist/api.es.js +362 -360
- package/dist/chunks/Actions.es.js +21 -21
- package/dist/chunks/CodeEditor.es.js +30 -0
- package/dist/chunks/ColumnDropIndicator.es.js +5 -5
- package/dist/chunks/ColumnDropIndicator.styled.es.js +24 -24
- package/dist/chunks/ColumnHeaderMenuUI.es.js +2 -2
- package/dist/chunks/DeleteEntitiesContextInstance.es.js +96 -96
- package/dist/chunks/EmptyPlaceholder.es.js +9 -9
- package/dist/chunks/EntityPath.es.js +3 -3
- package/dist/chunks/EntityTooltip.es.js +1 -1
- package/dist/chunks/EntityUpdatesContext.es.js +1 -1
- package/dist/chunks/Feed.es.js +1625 -1573
- 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 +128 -128
- package/dist/chunks/ProjectContext.es.js +11 -11
- package/dist/chunks/ReviewablesSelector.es.js +553 -462
- package/dist/chunks/SimpleForm.es.js +7 -7
- package/dist/chunks/SimpleTable.es.js +110 -110
- package/dist/chunks/Slicer.es.js +80 -80
- package/dist/chunks/TableSettingsFallback.es.js +1 -1
- package/dist/chunks/ThumbnailSimple.es.js +17 -17
- package/dist/chunks/VideoPlayer.es.js +1 -1
- package/dist/chunks/Watchers.es.js +50 -50
- package/dist/chunks/afterStartup.es.js +13 -0
- package/dist/chunks/getBundleMode.es.js +1 -1
- package/dist/chunks/getUris.es.js +797 -827
- package/dist/chunks/searchTerms.es.js +353 -336
- package/dist/chunks/useAttributeEnums.es.js +16 -16
- package/dist/chunks/useHierarchySelection.es.js +2 -2
- package/dist/chunks/useLoadModule.es.js +24 -23
- package/dist/chunks/viewUpdateHelper.es.js +8 -8
- package/dist/components.es.js +205 -202
- package/dist/context.es.js +525 -496
- 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 +823 -1427
- package/dist/types/components.d.ts +9 -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 +45 -42
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as a } from "react";
|
|
3
3
|
import c from "styled-components";
|
|
4
4
|
import { Icon as p } from "@ynput/ayon-react-components";
|
|
5
|
-
import s from "
|
|
5
|
+
import { C as s } from "./CodeEditor.es.js";
|
|
6
6
|
import "lodash";
|
|
7
7
|
import "primereact/confirmdialog";
|
|
8
8
|
import "react-toastify";
|
package/dist/chunks/Menu.es.js
CHANGED
|
@@ -5,12 +5,12 @@ import X, { useRef as Z, useEffect as U, useLayoutEffect as st, useState as lt,
|
|
|
5
5
|
import { M as Et, a as bt, b as Pt, c as K, D as $, d as Lt, e as Rt, S as Ct, F as St } from "./MenuItem.es.js";
|
|
6
6
|
import { Icon as Tt, Button as Ot } from "@ynput/ayon-react-components";
|
|
7
7
|
import "@module-federation/enhanced/runtime";
|
|
8
|
+
import "react-toastify";
|
|
8
9
|
import "./searchTerms.es.js";
|
|
9
10
|
import "./getUris.es.js";
|
|
10
11
|
import "primereact/confirmdialog";
|
|
11
12
|
import { a as ct, u as at } from "./DeleteEntitiesContextInstance.es.js";
|
|
12
13
|
import "lodash";
|
|
13
|
-
import "react-toastify";
|
|
14
14
|
import "uuid";
|
|
15
15
|
import "semver";
|
|
16
16
|
import "./ContextMenuContextInstance.es.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as _, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Button as j, Icon as a, ShortcutTag as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import r, { keyframes as
|
|
2
|
+
import { Button as j, Icon as a, ShortcutTag as F } from "@ynput/ayon-react-components";
|
|
3
|
+
import { forwardRef as O } from "react";
|
|
4
|
+
import r, { keyframes as z } from "styled-components";
|
|
5
5
|
import { isArray as L } from "lodash";
|
|
6
|
-
import { Link as
|
|
7
|
-
import
|
|
6
|
+
import { Link as S } from "react-router-dom";
|
|
7
|
+
import T from "clsx";
|
|
8
8
|
import "@module-federation/enhanced/runtime";
|
|
9
|
+
import "react-toastify";
|
|
9
10
|
import "./searchTerms.es.js";
|
|
10
11
|
import "./getUris.es.js";
|
|
11
12
|
import "primereact/confirmdialog";
|
|
12
|
-
import { a as
|
|
13
|
-
import "react-toastify";
|
|
13
|
+
import { a as $ } from "./DeleteEntitiesContextInstance.es.js";
|
|
14
14
|
import "uuid";
|
|
15
15
|
import "semver";
|
|
16
16
|
import "./ContextMenuContextInstance.es.js";
|
|
17
17
|
import "react-dom";
|
|
18
18
|
import "react-redux";
|
|
19
|
-
const v = 42,
|
|
19
|
+
const v = 42, C = 8, po = v + C, mo = r.dialog`
|
|
20
20
|
position: fixed;
|
|
21
21
|
margin: 0;
|
|
22
22
|
inset: 0;
|
|
@@ -38,7 +38,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
38
38
|
display: none;
|
|
39
39
|
}
|
|
40
40
|
padding-bottom: 60px;
|
|
41
|
-
`,
|
|
41
|
+
`, G = z`
|
|
42
42
|
from {
|
|
43
43
|
scale: 0.95;
|
|
44
44
|
opacity: 0.6;
|
|
@@ -61,7 +61,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
61
61
|
z-index: 30;
|
|
62
62
|
|
|
63
63
|
/* animate */
|
|
64
|
-
animation: ${
|
|
64
|
+
animation: ${G} 0.03s ease-in forwards;
|
|
65
65
|
|
|
66
66
|
/* transform origin based on alignment */
|
|
67
67
|
&.right {
|
|
@@ -256,7 +256,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
256
256
|
color: var(--md-sys-color-tertiary);
|
|
257
257
|
}
|
|
258
258
|
[icon='bolt'] {
|
|
259
|
-
font-variation-settings: 'FILL' 1
|
|
259
|
+
font-variation-settings: 'FILL' 1;
|
|
260
260
|
}
|
|
261
261
|
.shortcut {
|
|
262
262
|
color: var(--md-sys-color-on-surface);
|
|
@@ -278,7 +278,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
278
278
|
gap: var(--base-gap-small);
|
|
279
279
|
margin-left: auto;
|
|
280
280
|
padding-left: 24px;
|
|
281
|
-
`,
|
|
281
|
+
`, W = r(j)`
|
|
282
282
|
margin-left: auto;
|
|
283
283
|
&.hasIcon {
|
|
284
284
|
padding: 4px;
|
|
@@ -291,7 +291,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
291
291
|
background-color: var(--md-sys-color-on-primary);
|
|
292
292
|
color: var(--md-sys-color-primary);
|
|
293
293
|
}
|
|
294
|
-
`,
|
|
294
|
+
`, K = r.img`
|
|
295
295
|
width: 18px;
|
|
296
296
|
height: 18px;
|
|
297
297
|
object-fit: contain;
|
|
@@ -324,7 +324,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
324
324
|
display: flex;
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
`,
|
|
327
|
+
`, R = O(
|
|
328
328
|
({
|
|
329
329
|
label: i,
|
|
330
330
|
icon: l,
|
|
@@ -339,18 +339,18 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
339
339
|
isLink: d,
|
|
340
340
|
isDev: N,
|
|
341
341
|
shortcut: p,
|
|
342
|
-
disabled:
|
|
343
|
-
powerFeature:
|
|
342
|
+
disabled: I,
|
|
343
|
+
powerFeature: A,
|
|
344
344
|
active: m,
|
|
345
345
|
reserveActiveSlot: E,
|
|
346
346
|
endActions: g = [],
|
|
347
347
|
...u
|
|
348
348
|
}, M) => {
|
|
349
|
-
const h = L(i) ? i : [i], { powerLicense: P } =
|
|
349
|
+
const h = L(i) ? i : [i], { powerLicense: P } = $(), n = !P && A, f = /* @__PURE__ */ _(
|
|
350
350
|
U,
|
|
351
351
|
{
|
|
352
352
|
ref: M,
|
|
353
|
-
className:
|
|
353
|
+
className: T(
|
|
354
354
|
"menu-item",
|
|
355
355
|
{
|
|
356
356
|
highlighted: y,
|
|
@@ -358,7 +358,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
358
358
|
notification: b,
|
|
359
359
|
danger: w,
|
|
360
360
|
dev: N,
|
|
361
|
-
disabled:
|
|
361
|
+
disabled: I,
|
|
362
362
|
power: n
|
|
363
363
|
},
|
|
364
364
|
D
|
|
@@ -374,9 +374,9 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
374
374
|
}
|
|
375
375
|
),
|
|
376
376
|
s && !n && /* @__PURE__ */ o(a, { icon: s, className: "hover-swap" }),
|
|
377
|
-
c && /* @__PURE__ */ o(
|
|
377
|
+
c && /* @__PURE__ */ o(K, { src: c, alt: `${i} icon` }),
|
|
378
378
|
h.map((e, t) => /* @__PURE__ */ o("span", { children: e }, t)),
|
|
379
|
-
p && /* @__PURE__ */ o(
|
|
379
|
+
p && /* @__PURE__ */ o(F, { style: { minWidth: 22, textAlign: "center" }, align: "right", children: p }),
|
|
380
380
|
(m || E) && /* @__PURE__ */ o(
|
|
381
381
|
a,
|
|
382
382
|
{
|
|
@@ -385,7 +385,7 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
385
385
|
}
|
|
386
386
|
),
|
|
387
387
|
!!g.length && /* @__PURE__ */ o(B, { children: g.map((e) => /* @__PURE__ */ o(
|
|
388
|
-
|
|
388
|
+
W,
|
|
389
389
|
{
|
|
390
390
|
variant: "text",
|
|
391
391
|
icon: e.icon,
|
|
@@ -403,17 +403,17 @@ const v = 42, $ = 8, po = v + $, mo = r.dialog`
|
|
|
403
403
|
]
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
|
-
return d ? /* @__PURE__ */ o(
|
|
406
|
+
return d ? /* @__PURE__ */ o(S, { to: d, target: u.target, children: f }) : f;
|
|
407
407
|
}
|
|
408
408
|
);
|
|
409
|
-
|
|
409
|
+
R.displayName = "MenuItem";
|
|
410
410
|
export {
|
|
411
411
|
v as D,
|
|
412
412
|
vo as F,
|
|
413
413
|
ho as M,
|
|
414
414
|
uo as S,
|
|
415
415
|
fo as a,
|
|
416
|
-
|
|
416
|
+
R as b,
|
|
417
417
|
po as c,
|
|
418
418
|
mo as d,
|
|
419
419
|
go as e
|