@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.
Files changed (53) hide show
  1. package/dist/DetailsPanel.es.js +4 -4
  2. package/dist/ListTable.es.js +2 -2
  3. package/dist/NewEntity.es.js +49 -49
  4. package/dist/ProjectTreeTable.es.js +501 -496
  5. package/dist/Slicer.es.js +27 -27
  6. package/dist/Views.es.js +213 -206
  7. package/dist/api.es.js +362 -360
  8. package/dist/chunks/Actions.es.js +21 -21
  9. package/dist/chunks/CodeEditor.es.js +30 -0
  10. package/dist/chunks/ColumnDropIndicator.es.js +5 -5
  11. package/dist/chunks/ColumnDropIndicator.styled.es.js +24 -24
  12. package/dist/chunks/ColumnHeaderMenuUI.es.js +2 -2
  13. package/dist/chunks/DeleteEntitiesContextInstance.es.js +96 -96
  14. package/dist/chunks/EmptyPlaceholder.es.js +9 -9
  15. package/dist/chunks/EntityPath.es.js +3 -3
  16. package/dist/chunks/EntityTooltip.es.js +1 -1
  17. package/dist/chunks/EntityUpdatesContext.es.js +1 -1
  18. package/dist/chunks/Feed.es.js +1625 -1573
  19. package/dist/chunks/JsonViewer.es.js +1 -1
  20. package/dist/chunks/Menu.es.js +1 -1
  21. package/dist/chunks/MenuItem.es.js +25 -25
  22. package/dist/chunks/MetaWidget.es.js +1537 -1516
  23. package/dist/chunks/PlayableIcon.es.js +128 -128
  24. package/dist/chunks/ProjectContext.es.js +11 -11
  25. package/dist/chunks/ReviewablesSelector.es.js +553 -462
  26. package/dist/chunks/SimpleForm.es.js +7 -7
  27. package/dist/chunks/SimpleTable.es.js +110 -110
  28. package/dist/chunks/Slicer.es.js +80 -80
  29. package/dist/chunks/TableSettingsFallback.es.js +1 -1
  30. package/dist/chunks/ThumbnailSimple.es.js +17 -17
  31. package/dist/chunks/VideoPlayer.es.js +1 -1
  32. package/dist/chunks/Watchers.es.js +50 -50
  33. package/dist/chunks/afterStartup.es.js +13 -0
  34. package/dist/chunks/getBundleMode.es.js +1 -1
  35. package/dist/chunks/getUris.es.js +797 -827
  36. package/dist/chunks/searchTerms.es.js +353 -336
  37. package/dist/chunks/useAttributeEnums.es.js +16 -16
  38. package/dist/chunks/useHierarchySelection.es.js +2 -2
  39. package/dist/chunks/useLoadModule.es.js +24 -23
  40. package/dist/chunks/viewUpdateHelper.es.js +8 -8
  41. package/dist/components.es.js +205 -202
  42. package/dist/context.es.js +525 -496
  43. package/dist/hooks.es.js +190 -166
  44. package/dist/types/ContextMenu.d.ts +1 -0
  45. package/dist/types/ProjectTreeTable.d.ts +1 -0
  46. package/dist/types/Views.d.ts +11 -0
  47. package/dist/types/api.d.ts +823 -1427
  48. package/dist/types/components.d.ts +9 -1
  49. package/dist/types/context.d.ts +1 -0
  50. package/dist/types/hooks.d.ts +25 -1
  51. package/dist/types/util.d.ts +10 -0
  52. package/dist/util.es.js +45 -42
  53. 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 "@uiw/react-textarea-code-editor";
5
+ import { C as s } from "./CodeEditor.es.js";
6
6
  import "lodash";
7
7
  import "primereact/confirmdialog";
8
8
  import "react-toastify";
@@ -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 z } from "@ynput/ayon-react-components";
3
- import { forwardRef as F } from "react";
4
- import r, { keyframes as O } from "styled-components";
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 G } from "react-router-dom";
7
- import S from "clsx";
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 T } from "./DeleteEntitiesContextInstance.es.js";
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, $ = 8, po = v + $, mo = r.dialog`
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
- `, C = O`
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: ${C} 0.03s ease-in forwards;
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, 'wght' 200, 'GRAD' 200, 'opsz' 20;
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
- `, R = r(j)`
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
- `, W = r.img`
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
- `, K = F(
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: A,
343
- powerFeature: I,
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 } = T(), n = !P && I, f = /* @__PURE__ */ _(
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: S(
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: A,
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(W, { src: c, alt: `${i} icon` }),
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(z, { style: { minWidth: 22, textAlign: "center" }, align: "right", children: p }),
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
- R,
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(G, { to: d, target: u.target, children: f }) : f;
406
+ return d ? /* @__PURE__ */ o(S, { to: d, target: u.target, children: f }) : f;
407
407
  }
408
408
  );
409
- K.displayName = "MenuItem";
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
- K as b,
416
+ R as b,
417
417
  po as c,
418
418
  mo as d,
419
419
  go as e