@ynput/ayon-frontend-shared 0.6.7 → 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 (35) hide show
  1. package/dist/DetailsPanel.es.js +1 -1
  2. package/dist/ListTable.es.js +2 -2
  3. package/dist/NewEntity.es.js +36 -36
  4. package/dist/ProjectTreeTable.es.js +3 -3
  5. package/dist/Slicer.es.js +21 -21
  6. package/dist/Views.es.js +1 -1
  7. package/dist/api.es.js +362 -360
  8. package/dist/chunks/Actions.es.js +21 -21
  9. package/dist/chunks/ColumnDropIndicator.es.js +5 -5
  10. package/dist/chunks/DeleteEntitiesContextInstance.es.js +22 -22
  11. package/dist/chunks/EmptyPlaceholder.es.js +9 -9
  12. package/dist/chunks/EntityPath.es.js +1 -1
  13. package/dist/chunks/EntityUpdatesContext.es.js +1 -1
  14. package/dist/chunks/Feed.es.js +1750 -1716
  15. package/dist/chunks/MetaWidget.es.js +2 -2
  16. package/dist/chunks/PlayableIcon.es.js +1 -1
  17. package/dist/chunks/ProjectContext.es.js +11 -11
  18. package/dist/chunks/ReviewablesSelector.es.js +570 -482
  19. package/dist/chunks/SimpleForm.es.js +7 -7
  20. package/dist/chunks/SimpleTable.es.js +1 -1
  21. package/dist/chunks/Slicer.es.js +73 -73
  22. package/dist/chunks/ThumbnailSimple.es.js +15 -15
  23. package/dist/chunks/Watchers.es.js +33 -33
  24. package/dist/chunks/getBundleMode.es.js +1 -1
  25. package/dist/chunks/getUris.es.js +236 -229
  26. package/dist/chunks/searchTerms.es.js +352 -333
  27. package/dist/chunks/useAttributeEnums.es.js +16 -16
  28. package/dist/chunks/viewUpdateHelper.es.js +8 -8
  29. package/dist/components.es.js +108 -107
  30. package/dist/context.es.js +62 -62
  31. package/dist/hooks.es.js +13 -13
  32. package/dist/types/api.d.ts +372 -0
  33. package/dist/types/components.d.ts +4 -0
  34. package/dist/util.es.js +2 -2
  35. package/package.json +1 -1
@@ -5,8 +5,8 @@ import x, { css as kt } from "styled-components";
5
5
  import { Icon as oe, getTextColor as bn, Dropdown as Ut, BorderedSection as Tt, Button as ve, Dialog as vn, InputText as Kt, theme as ze } from "@ynput/ayon-react-components";
6
6
  import "@module-federation/enhanced/runtime";
7
7
  import { toast as xe } from "react-toastify";
8
- import { bp as xn, bi as wn, bw as kn, bj as Tn, a as Cn } from "./searchTerms.es.js";
9
- import { bB as Sn, aV as En, aG as In, cc as Rn, t as Nn, ds as Dn, dh as An, ct as Ln, ag as Pn } from "./getUris.es.js";
8
+ import { bq as xn, bj as wn, bx as kn, bk as Tn, a as Cn } from "./searchTerms.es.js";
9
+ import { bB as Sn, aV as En, aG as In, cc as Rn, t as Nn, dt as Dn, di as An, ct as Ln, ag as Pn } from "./getUris.es.js";
10
10
  import "primereact/confirmdialog";
11
11
  import { x as $e, a as _n, d as Gt } from "./DeleteEntitiesContextInstance.es.js";
12
12
  import { upperFirst as _e } from "lodash";
@@ -5,7 +5,7 @@ import "primereact/confirmdialog";
5
5
  import "react-toastify";
6
6
  import { g as it } from "./getEntityTypeIcon.es.js";
7
7
  import "uuid";
8
- import { b2 as Vn } from "./searchTerms.es.js";
8
+ import { b3 as Vn } from "./searchTerms.es.js";
9
9
  import qt, { useRef as O, useState as U, useLayoutEffect as oe, useCallback as H, useMemo as _e, useEffect as R, Fragment as Qn, useImperativeHandle as Jn, forwardRef as Vt, useContext as Xn } from "react";
10
10
  import { jsx as l, jsxs as S, Fragment as me } from "react/jsx-runtime";
11
11
  import P from "clsx";
@@ -1,9 +1,9 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
2
  import { useState as M, useCallback as u } from "react";
3
- import { u as F } from "./useCreateContextMenu.es.js";
4
- import { T as S, P as _ } from "./DeleteEntitiesContextInstance.es.js";
3
+ import { u as B } from "./useCreateContextMenu.es.js";
4
+ import { T as F, P as S } from "./DeleteEntitiesContextInstance.es.js";
5
5
  import "./searchTerms.es.js";
6
- import { c4 as w, c1 as B, dA as G } from "./getUris.es.js";
6
+ import { c4 as _, c1 as w, dB as G } from "./getUris.es.js";
7
7
  import "primereact/confirmdialog";
8
8
  import "lodash";
9
9
  import "react-toastify";
@@ -15,7 +15,7 @@ const W = ({
15
15
  versionsInputRef: e,
16
16
  canUploadVersion: r = !1
17
17
  }) => {
18
- const [, a] = M(!1), [T] = F(), f = () => a(!1), d = () => {
18
+ const [, a] = M(!1), [T] = B(), f = () => a(!1), d = () => {
19
19
  c?.current && (c.current.click(), a(!0));
20
20
  }, i = () => {
21
21
  e?.current && (e.current.click(), a(!0));
@@ -37,7 +37,7 @@ const W = ({
37
37
  T(y, s);
38
38
  };
39
39
  return /* @__PURE__ */ P(
40
- S.Provider,
40
+ F.Provider,
41
41
  {
42
42
  value: {
43
43
  resetFileUploadState: f,
@@ -94,7 +94,7 @@ const X = ({
94
94
  isUninitialized: f,
95
95
  error: d,
96
96
  refetch: i
97
- } = w({ projectName: t }, { skip: !t }), { data: l = {}, refetch: y } = B(
97
+ } = _({ projectName: t }, { skip: !t }), { data: l = {}, refetch: y } = w(
98
98
  { projectName: t },
99
99
  { skip: !t }
100
100
  ), s = l.product_base_types?.default, { data: g } = G(
@@ -122,17 +122,17 @@ const X = ({
122
122
  label: o.name,
123
123
  icon: o.icon || s?.icon || m("product"),
124
124
  color: o.color || s?.color || ""
125
- })), [p, s]), A = u(() => {
125
+ })), [p, s]), U = u(() => {
126
126
  i(), y();
127
- }, [i, y]), U = {
127
+ }, [i, y]), A = {
128
128
  getFolderType: h,
129
129
  getTaskType: k,
130
130
  getProductType: v,
131
131
  getProductTypeOptions: x,
132
- refetch: A
132
+ refetch: U
133
133
  };
134
134
  return /* @__PURE__ */ P(
135
- _.Provider,
135
+ S.Provider,
136
136
  {
137
137
  value: {
138
138
  ...Q,
@@ -145,7 +145,7 @@ const X = ({
145
145
  isSuccess: T,
146
146
  isUninitialized: f,
147
147
  error: d,
148
- ...U
148
+ ...A
149
149
  },
150
150
  children: c
151
151
  }