@ynput/ayon-frontend-shared 0.4.5 → 0.4.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.
Files changed (39) hide show
  1. package/dist/DetailsPanel.es.js +2 -2
  2. package/dist/ListTable.es.js +3 -3
  3. package/dist/ProjectTreeTable.es.js +2 -2
  4. package/dist/chunks/ColumnDropIndicator.es.js +1 -1
  5. package/dist/chunks/DeleteEntitiesContext.es.js +1 -1
  6. package/dist/chunks/EntityPath.es.js +1 -1
  7. package/dist/chunks/EntityPickerDialog.es.js +1 -1
  8. package/dist/chunks/Feed.es.js +14 -14
  9. package/dist/chunks/JsonViewer.es.js +1 -1
  10. package/dist/chunks/MetaWidget.es.js +2 -2
  11. package/dist/chunks/ReviewablesSelector.es.js +3 -3
  12. package/dist/chunks/Slicer.es.js +1 -1
  13. package/dist/chunks/VideoPlayer.es.js +1 -1
  14. package/dist/chunks/Watchers.es.js +1 -1
  15. package/dist/chunks/searchTerms.es.js +1 -1
  16. package/dist/chunks/useColumnDragRestriction.es.js +1 -1
  17. package/dist/chunks/useLocalStorage.es.js +1 -1
  18. package/dist/components.es.js +2 -2
  19. package/dist/hooks.es.js +3 -3
  20. package/dist/index.es.js +3 -3
  21. package/dist/types/Actions.d.ts +16 -16
  22. package/dist/types/ContextMenu.d.ts +16 -16
  23. package/dist/types/DetailsPanel.d.ts +16 -16
  24. package/dist/types/EntityPickerDialog.d.ts +16 -16
  25. package/dist/types/Feed.d.ts +16 -16
  26. package/dist/types/ListTable.d.ts +16 -16
  27. package/dist/types/NewEntity.d.ts +16 -16
  28. package/dist/types/ProjectTreeTable.d.ts +16 -16
  29. package/dist/types/RepresentationsList.d.ts +16 -16
  30. package/dist/types/SimpleTable.d.ts +16 -16
  31. package/dist/types/Slicer.d.ts +16 -16
  32. package/dist/types/Views.d.ts +16 -16
  33. package/dist/types/api.d.ts +16 -16
  34. package/dist/types/components.d.ts +16 -16
  35. package/dist/types/context.d.ts +16 -16
  36. package/dist/types/hooks.d.ts +16 -16
  37. package/dist/types/index.d.ts +16 -16
  38. package/dist/types/util.d.ts +16 -16
  39. package/package.json +29 -20
@@ -33,7 +33,7 @@ import { u as vn } from "./chunks/useDateRangeFilter.es.js";
33
33
  import { C as yn } from "./chunks/ThumbnailSimple.es.js";
34
34
  import "./chunks/useLocalStorage.es.js";
35
35
  import "@module-federation/enhanced/runtime";
36
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
36
+ import "semver";
37
37
  import "react-dom";
38
38
  import "./chunks/GlobalContext.es.js";
39
39
  import "./chunks/ProjectFoldersContextInstance.es.js";
@@ -42,7 +42,7 @@ import "./chunks/ViewsContext.es.js";
42
42
  import "axios";
43
43
  import "@dnd-kit/core";
44
44
  import "@dnd-kit/sortable";
45
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
45
+ import "@dnd-kit/utilities";
46
46
  import "./chunks/useCreateContextMenu.es.js";
47
47
  import "custom-protocol-check";
48
48
  import "./chunks/SimpleForm.es.js";
@@ -19,13 +19,13 @@ import "./chunks/DeleteEntitiesContext.es.js";
19
19
  import "./chunks/GlobalContext.es.js";
20
20
  import "./chunks/useLocalStorage.es.js";
21
21
  import "@module-federation/enhanced/runtime";
22
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
22
+ import "semver";
23
23
  import "./chunks/ProjectFoldersContextInstance.es.js";
24
24
  import { useVirtualizer as Ae } from "@tanstack/react-virtual";
25
25
  import { useSensors as He, useSensor as Ct, PointerSensor as Oe, KeyboardSensor as $e, DndContext as xt, closestCenter as Dt, DragOverlay as Et, defaultDropAnimationSideEffects as Rt } from "@dnd-kit/core";
26
- import { restrictToHorizontalAxis as Ne, restrictToVerticalAxis as je } from "/home/jakub/code/ynput/ayon-frontend/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js";
26
+ import { restrictToHorizontalAxis as Ne, restrictToVerticalAxis as je } from "@dnd-kit/modifiers";
27
27
  import { useSortable as Ht, sortableKeyboardCoordinates as Ke, arrayMove as We, SortableContext as St, horizontalListSortingStrategy as Pe, verticalListSortingStrategy as Fe } from "@dnd-kit/sortable";
28
- import { CSS as Ot } from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
28
+ import { CSS as Ot } from "@dnd-kit/utilities";
29
29
  import C from "styled-components";
30
30
  import { C as Be, H as Ye } from "./chunks/ColumnDropIndicator.es.js";
31
31
  import { u as Ue } from "./chunks/MenuContext.es.js";
@@ -25,7 +25,7 @@ import { g as Jo } from "./chunks/DeleteEntitiesContext.es.js";
25
25
  import "./chunks/GlobalContext.es.js";
26
26
  import { u as Zo, a as es } from "./chunks/useLocalStorage.es.js";
27
27
  import "@module-federation/enhanced/runtime";
28
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
28
+ import "semver";
29
29
  import "./chunks/ProjectFoldersContextInstance.es.js";
30
30
  import { i as ts, u as ns } from "./chunks/useColumnDragRestriction.es.js";
31
31
  import { T as nl, a as ol, b as sl } from "./chunks/useColumnDragRestriction.es.js";
@@ -39,7 +39,7 @@ import { a as fs } from "./chunks/FilterErrorActions.es.js";
39
39
  import { a as Ot, K as Lt } from "./chunks/platform.es.js";
40
40
  import { u as ms, n as rt } from "./chunks/entityDefinitions.es.js";
41
41
  import { createPortal as zt } from "react-dom";
42
- import { CSS as zn } from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
42
+ import { CSS as zn } from "@dnd-kit/utilities";
43
43
  import { u as gs } from "./chunks/useAttributeEnums.es.js";
44
44
  import { a as dl } from "./chunks/useAttributeEnums.es.js";
45
45
  import { a as ps } from "./chunks/queryFilterToClientFilter.es.js";
@@ -8,7 +8,7 @@ import { d as z, c as D } from "./Menu.es.js";
8
8
  import "./MenuItem.es.js";
9
9
  import "./useLocalStorage.es.js";
10
10
  import "@module-federation/enhanced/runtime";
11
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
11
+ import "semver";
12
12
  import { R as b, D as k } from "./realtimeUpdatesUtils.es.js";
13
13
  import "lodash";
14
14
  import "primereact/confirmdialog";
@@ -12,7 +12,7 @@ import { toast as O } from "react-toastify";
12
12
  import { debounce as ee, isEqual as be } from "lodash";
13
13
  import "primereact/confirmdialog";
14
14
  import { bd as _, a as Pe, be as Ee } from "./searchTerms.es.js";
15
- import Se, { ReadyState as Te } from "/home/jakub/code/ynput/ayon-frontend/node_modules/react-use-websocket/dist/index.js";
15
+ import Se, { ReadyState as Te } from "react-use-websocket";
16
16
  import { p as j } from "./pluralize.es.js";
17
17
  const Y = [
18
18
  "folder",
@@ -6,7 +6,7 @@ import "primereact/confirmdialog";
6
6
  import { useSensors as $e, useSensor as me, PointerSensor as Ae, KeyboardSensor as Oe, DndContext as qe, closestCenter as _e, DragOverlay as Ke } from "@dnd-kit/core";
7
7
  import { useSortable as Ze, sortableKeyboardCoordinates as Be, SortableContext as Ge, verticalListSortingStrategy as Qe, arrayMove as He } from "@dnd-kit/sortable";
8
8
  import { D as ze, R as Re, e as Je, g as Xe, L as Ye, h as oe, i as je, j as et, T as tt, k as ge, U as nt, P as rt, C as it, l as at, S as J, M as ve, m as be, n as X, o as ye, p as ot, F as st } from "./Watchers.es.js";
9
- import { CSS as lt } from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
9
+ import { CSS as lt } from "@dnd-kit/utilities";
10
10
  import { toast as A } from "react-toastify";
11
11
  import { a as ct } from "./useCreateContextMenu.es.js";
12
12
  import { c as dt } from "./confirmDelete.es.js";
@@ -16,7 +16,7 @@ import { a as ke } from "./ProjectContext.es.js";
16
16
  import { u as xe } from "./ProjectFoldersContext.es.js";
17
17
  import { g as W } from "./getThumbnailUrl.es.js";
18
18
  import { g as J } from "./getEntityTypeIcon.es.js";
19
- import { matchSorter as Te } from "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
19
+ import { matchSorter as Te } from "match-sorter";
20
20
  const I = {
21
21
  folder: ["folder"],
22
22
  product: ["folder", "product"],
@@ -16,11 +16,11 @@ import Ro from "remark-directive-rehype";
16
16
  import { toast as Me } from "react-toastify";
17
17
  import $o, { Quill as Ge } from "react-quill-ayon";
18
18
  import y, { keyframes as Lo, css as Dt } from "styled-components";
19
- import Oo from "/home/jakub/code/ynput/ayon-frontend/node_modules/@uiw/react-textarea-code-editor/esm/index.js";
19
+ import Oo from "@uiw/react-textarea-code-editor";
20
20
  import { E as Ct } from "./EmptyPlaceholder.es.js";
21
21
  import { c as Uo, d as zo } from "./Menu.es.js";
22
22
  import { c as We, u as Vo } from "./MenuContext.es.js";
23
- import { matchSorter as jo } from "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
23
+ import { matchSorter as jo } from "match-sorter";
24
24
  import { isValid as He, isSameMinute as Bo, isBefore as qo, formatISO as Ho, differenceInMinutes as Go, differenceInSeconds as Wo, compareAsc as Qo } from "date-fns";
25
25
  import "lodash";
26
26
  import { g as dn } from "./getEntityTypeIcon.es.js";
@@ -35,14 +35,14 @@ import "react-router-dom";
35
35
  import "./MenuItem.es.js";
36
36
  import "./useLocalStorage.es.js";
37
37
  import "@module-federation/enhanced/runtime";
38
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
38
+ import "semver";
39
39
  import { T as Xo, C as Jo } from "./ThumbnailSimple.es.js";
40
- import { t as Zo, c as er } from "./queryFilterToClientFilter.es.js";
41
- import { u as tr } from "./useDateRangeFilter.es.js";
42
- import { c as nr } from "./confirmDelete.es.js";
43
- import { c as or } from "./copyToClipboard.es.js";
40
+ import { InView as Zo } from "react-intersection-observer";
41
+ import { t as er, c as tr } from "./queryFilterToClientFilter.es.js";
42
+ import { u as nr } from "./useDateRangeFilter.es.js";
43
+ import { c as or } from "./confirmDelete.es.js";
44
+ import { c as rr } from "./copyToClipboard.es.js";
44
45
  import { g as jt } from "./realtimeUpdatesUtils.es.js";
45
- import { InView as rr } from "/home/jakub/code/ynput/ayon-frontend/node_modules/react-intersection-observer/dist/index.mjs";
46
46
  const ir = (e, o) => {
47
47
  const t = e.item || e, n = o.item || o, r = new Date(t.createdAt), i = new Date(n.createdAt), a = He(r) && He(i), s = a && Bo(r, i);
48
48
  return !a || s ? t.relevance > n.relevance ? -1 : t.relevance < n.relevance ? 1 : String(n.label).localeCompare(String(t.label)) : qo(i, r) ? -1 : 1;
@@ -2926,7 +2926,7 @@ const wt = y.span`
2926
2926
  const s = new URLSearchParams(window.location.search), d = s.get("type") === "version" ? "products" : "overview", p = `/projects/${r}/${d}`, u = new URLSearchParams(s.toString());
2927
2927
  u.set("activity", n);
2928
2928
  const m = new URL(window.location.origin + p);
2929
- m.search = u.toString(), or(m.toString());
2929
+ m.search = u.toString(), rr(m.toString());
2930
2930
  };
2931
2931
  return i.push({
2932
2932
  id: "copy-link",
@@ -3001,7 +3001,7 @@ const wt = y.span`
3001
3001
  const N = bo(X);
3002
3002
  Ne && re && N.push({ id: re.id, type: re.type }), t && await t(F, B, N);
3003
3003
  }, Re = () => {
3004
- nr({
3004
+ or({
3005
3005
  title: "Delete comment",
3006
3006
  message: "Are you sure you want to delete this comment?",
3007
3007
  accept: async () => {
@@ -4128,7 +4128,7 @@ const Ia = y.ul`
4128
4128
  });
4129
4129
  return;
4130
4130
  }
4131
- const a = Zo(i, o);
4131
+ const a = er(i, o);
4132
4132
  if (a) {
4133
4133
  t.push(a);
4134
4134
  return;
@@ -4148,7 +4148,7 @@ const Ia = y.ul`
4148
4148
  else if (En.includes(r))
4149
4149
  i.includes("true") && o.push({ key: r, operator: "eq", value: !0 });
4150
4150
  else if (n.type === "datetime") {
4151
- const a = er(r, n);
4151
+ const a = tr(r, n);
4152
4152
  a && o.push(a);
4153
4153
  } else
4154
4154
  o.push({ key: r, operator: "in", value: i.map(String) });
@@ -4242,7 +4242,7 @@ const Ia = y.ul`
4242
4242
  ), u = M(
4243
4243
  () => Qa(e, l),
4244
4244
  [e, l]
4245
- ), [m, g] = H(u), h = tr(), x = Se(null);
4245
+ ), [m, g] = H(u), h = nr(), x = Se(null);
4246
4246
  K(() => {
4247
4247
  g(u);
4248
4248
  }, [JSON.stringify(u)]), K(() => {
@@ -4522,7 +4522,7 @@ const Gs = 30, Ws = ({
4522
4522
  )),
4523
4523
  De.length === 0 && Z && !F && !h && /* @__PURE__ */ c(Ct, { message: "No versions published yet", icon: "layers" }),
4524
4524
  L && v && /* @__PURE__ */ c(
4525
- rr,
4525
+ Zo,
4526
4526
  {
4527
4527
  root: ce.current,
4528
4528
  onChange: (S) => S && v(),
@@ -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 "/home/jakub/code/ynput/ayon-frontend/node_modules/@uiw/react-textarea-code-editor/esm/index.js";
5
+ import s from "@uiw/react-textarea-code-editor";
6
6
  import "lodash";
7
7
  import "primereact/confirmdialog";
8
8
  import "react-toastify";
@@ -17,7 +17,7 @@ import { bn as Er, be as Rr, a as Lr, bf as Ar, bt as Nr } from "./searchTerms.e
17
17
  import { createPortal as Dr } from "react-dom";
18
18
  import en, { Quill as Pr } from "react-quill-ayon";
19
19
  import { f as Ut, n as Lt, I as tn, Q as nn, q as $r, D as rn, o as Mn, U as _r, p as Or, P as zr } from "./PlayableIcon.es.js";
20
- import "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
20
+ import "match-sorter";
21
21
  import { parseISO as Ot, isValid as bn, subMilliseconds as Kt, format as Mr } from "date-fns";
22
22
  import { m as on } from "./mentionTypeOptions.es.js";
23
23
  import { W as Fr, g as it, v as Fn, R as qe, C as Hr, h as Vr } from "./realtimeUpdatesUtils.es.js";
@@ -26,7 +26,7 @@ import { aT as Hn, aE as Vn, c8 as Wr, s as jr, dn as Wn, dd as Ur, cp as jn, af
26
26
  import { sortingFns as tt } from "@tanstack/react-table";
27
27
  import { u as Br } from "./useLocalStorage.es.js";
28
28
  import "@module-federation/enhanced/runtime";
29
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
29
+ import "semver";
30
30
  import "./MenuContext.es.js";
31
31
  import Gr from "remark-emoji";
32
32
  import Yr from "remark-directive";
@@ -8,14 +8,14 @@ import { kebabCase as $e, isEqual as Rt, uniqueId as je, startCase as St, camelC
8
8
  import { createPortal as sn } from "react-dom";
9
9
  import { DndContext as kt, closestCenter as Ct, DragOverlay as Et, useSensors as ln, useSensor as cn, PointerSensor as dn } from "@dnd-kit/core";
10
10
  import { useSortable as It, SortableContext as Ke, verticalListSortingStrategy as Ge, arrayMove as un } from "@dnd-kit/sortable";
11
- import { CSS as Tt } from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
11
+ import { CSS as Tt } from "@dnd-kit/utilities";
12
12
  import { I as eo, d as to, e as pn, f as no } from "./ColumnDropIndicator.es.js";
13
13
  import { S as mn } from "./SimpleForm.es.js";
14
14
  import { bp as oo, aX as ro, bn as gn, bm as hn, bo as $t, bh as io, b0 as ao, bl as vn, bf as fn, be as so } from "./searchTerms.es.js";
15
15
  import { bh as lo, bn as co, cz as uo, bc as po, dx as ae, ch as mo } from "./getUris.es.js";
16
16
  import "primereact/confirmdialog";
17
17
  import { u as go, g as ho, v as vo } from "./Watchers.es.js";
18
- import { matchSorter as Ft } from "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
18
+ import { matchSorter as Ft } from "match-sorter";
19
19
  import { J as fo } from "./JsonViewer.es.js";
20
20
  import { u as bn } from "./GlobalContext.es.js";
21
21
  import { toast as bo } from "react-toastify";
@@ -30,7 +30,7 @@ import { a as yn } from "./ProjectContext.es.js";
30
30
  import "@tanstack/react-table";
31
31
  import { a as Co } from "./useCreateContextMenu.es.js";
32
32
  import "@module-federation/enhanced/runtime";
33
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
33
+ import "semver";
34
34
  import "./ProjectFoldersContextInstance.es.js";
35
35
  import { u as Qe } from "./MenuContext.es.js";
36
36
  import "react-redux";
@@ -28,7 +28,7 @@ import { u as nt } from "./VersionUploadContext.es.js";
28
28
  import { u as at, b as ot, F as ue } from "./EntityUpdatesContext.es.js";
29
29
  import "./MenuItem.es.js";
30
30
  import "@module-federation/enhanced/runtime";
31
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
31
+ import "semver";
32
32
  import "react-dom";
33
33
  import { u as be } from "./ProjectFoldersContext.es.js";
34
34
  const st = ({ projectName: a, useExtraSlices: n }) => {
@@ -6,7 +6,7 @@ import { clearMemoizedPlayables as c, Player as h, compactPlayerControls as E }
6
6
  import { ClipType as F } from "@ynput/ayon-player/model";
7
7
  import "./useLocalStorage.es.js";
8
8
  import "@module-federation/enhanced/runtime";
9
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
9
+ import "semver";
10
10
  import "./MenuContext.es.js";
11
11
  import "lodash";
12
12
  import "primereact/confirmdialog";
@@ -14,7 +14,7 @@ import "./PlayableIcon.es.js";
14
14
  import { dd as Me, c4 as le, bd as Pe, an as We, bs as Oe, d1 as Ie } from "./getUris.es.js";
15
15
  import "./useLocalStorage.es.js";
16
16
  import "@module-federation/enhanced/runtime";
17
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
17
+ import "semver";
18
18
  import { c as ce } from "./MenuContext.es.js";
19
19
  import { T as Ve } from "./DeleteEntitiesContext.es.js";
20
20
  import "react-dom";
@@ -1,7 +1,7 @@
1
1
  import { toast as K } from "react-toastify";
2
2
  import { fetchBaseQuery as Q, createApi as W } from "@reduxjs/toolkit/query/react";
3
3
  import { graphqlRequestBaseQuery as z } from "@rtk-query/graphql-request-base-query";
4
- import { GraphQLClient as Y } from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/graphql-request/build/entrypoints/main.js";
4
+ import { GraphQLClient as Y } from "graphql-request";
5
5
  import { rankings as k, rankItem as J } from "@tanstack/match-sorter-utils";
6
6
  const v = (t) => typeof t == "object" && t !== null, x = (t) => {
7
7
  if (typeof t.status == "number") return t.status;
@@ -20,7 +20,7 @@ import "./DeleteEntitiesContext.es.js";
20
20
  import "./GlobalContext.es.js";
21
21
  import "./useLocalStorage.es.js";
22
22
  import "@module-federation/enhanced/runtime";
23
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
23
+ import "semver";
24
24
  import "./ProjectFoldersContextInstance.es.js";
25
25
  const E = ["string", "integer", "float"], L = (n, s, r, o) => (r || E).includes(n.data.type || "") && (!s || n.scope?.includes(s)) ? o ? C(n.data) : !0 : !1, Z = ({
26
26
  allowedTypes: n,
@@ -5,7 +5,7 @@ import "./searchTerms.es.js";
5
5
  import { cO as M } from "./getUris.es.js";
6
6
  import "primereact/confirmdialog";
7
7
  import { u as F } from "./GlobalContext.es.js";
8
- import D from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
8
+ import D from "semver";
9
9
  const x = P({
10
10
  isLoading: !0,
11
11
  modules: [],
@@ -2,7 +2,7 @@ import { C as Pe, S as Ne, A as ue, a as Ie, T as Le, D as Me, b as Fe, c as Be,
2
2
  import { m as Va, n as Aa, o as _a, p as ka, q as xa, r as Pa, s as Na, t as Ia, E as La, u as Ma, v as Fa, w as Ba, x as Ua, y as Wa, G as Ga, z as Ha, L as Ya, P as $a, B as ja, R as Ka, H as Xa, I as za, J as Ja, K as qa, N as Qa, O as Za, Q as es, U as ts, V as as, W as ss, X as os, Y as rs, Z as ns } from "./chunks/ReviewablesSelector.es.js";
3
3
  import { jsxs as M, jsx as g } from "react/jsx-runtime";
4
4
  import { useState as H, useRef as ee, useCallback as Oe, useEffect as se, useMemo as pe, useContext as ze } from "react";
5
- import { matchSorter as fe } from "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
5
+ import { matchSorter as fe } from "match-sorter";
6
6
  import { InputText as Je, Icon as z, Section as qe, SEARCH_FILTER_ID as Qe } from "@ynput/ayon-react-components";
7
7
  import te from "clsx";
8
8
  import { B as is, a as us, S as cs } from "./chunks/SimpleForm.es.js";
@@ -36,7 +36,7 @@ import { isEmpty as dt, upperFirst as ae } from "lodash";
36
36
  import "uuid";
37
37
  import { u as pt, c as ft, p as ge } from "./chunks/useLocalStorage.es.js";
38
38
  import "@module-federation/enhanced/runtime";
39
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
39
+ import "semver";
40
40
  import "./chunks/MenuContext.es.js";
41
41
  import { T as Po } from "./chunks/TableSettingsFallback.es.js";
42
42
  import { u as ht } from "./chunks/ViewsContext.es.js";
package/dist/hooks.es.js CHANGED
@@ -3,7 +3,7 @@ import { r as Yt, e as _t, w as Zt } from "./chunks/useLocalStorage.es.js";
3
3
  import { r as ee, f as re, w as oe } from "./chunks/MenuContext.es.js";
4
4
  import { loadRemote as M } from "@module-federation/enhanced/runtime";
5
5
  import { useRef as C, useState as k, useEffect as v, useCallback as N } from "react";
6
- import b from "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
6
+ import b from "semver";
7
7
  import { f as se, u as ie, a as ae, b as de, c as ue, d as ce } from "./chunks/Watchers.es.js";
8
8
  import { u as me } from "./chunks/useActionTriggers.es.js";
9
9
  import { b1 as R } from "./chunks/searchTerms.es.js";
@@ -16,7 +16,7 @@ import { a as ye } from "./chunks/ProjectFoldersContext.es.js";
16
16
  import { u as we } from "./chunks/useGroupedPagination.es.js";
17
17
  import { jsx as P, jsxs as F } from "react/jsx-runtime";
18
18
  import "./chunks/ReviewablesSelector.es.js";
19
- import "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
19
+ import "match-sorter";
20
20
  import { Button as O, Icon as $ } from "@ynput/ayon-react-components";
21
21
  import "clsx";
22
22
  import "./chunks/SimpleForm.es.js";
@@ -37,7 +37,7 @@ import "./chunks/Menu.es.js";
37
37
  import "./chunks/ColumnDropIndicator.es.js";
38
38
  import "@dnd-kit/core";
39
39
  import "@dnd-kit/sortable";
40
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
40
+ import "@dnd-kit/utilities";
41
41
  import "axios";
42
42
  import "./chunks/useCreateContextMenu.es.js";
43
43
  import "./chunks/VersionUploadContext.es.js";
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunks/ReviewablesSelector.es.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import "/home/jakub/code/ynput/ayon-frontend/node_modules/match-sorter/dist/match-sorter.esm.js";
4
+ import "match-sorter";
5
5
  import "@ynput/ayon-react-components";
6
6
  import "clsx";
7
7
  import "./chunks/SimpleForm.es.js";
@@ -24,14 +24,14 @@ import "lodash";
24
24
  import "uuid";
25
25
  import "./chunks/useLocalStorage.es.js";
26
26
  import "@module-federation/enhanced/runtime";
27
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/semver/semver.js";
27
+ import "semver";
28
28
  import { M as X, u as Y } from "./chunks/MenuContext.es.js";
29
29
  import { E as _ } from "./chunks/EmptyPlaceholder.es.js";
30
30
  import "./chunks/Menu.es.js";
31
31
  import "./chunks/ColumnDropIndicator.es.js";
32
32
  import "@dnd-kit/core";
33
33
  import "@dnd-kit/sortable";
34
- import "/home/jakub/code/ynput/ayon-frontend/shared/node_modules/@dnd-kit/utilities/dist/utilities.esm.js";
34
+ import "@dnd-kit/utilities";
35
35
  import "axios";
36
36
  import "./chunks/useCreateContextMenu.es.js";
37
37
  import "./chunks/VersionUploadContext.es.js";
@@ -76,22 +76,6 @@ declare type IconModel = {
76
76
  export { }
77
77
 
78
78
 
79
- declare module '@tanstack/react-table' {
80
- interface FilterFns {
81
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
82
- }
83
- interface FilterMeta {
84
- itemRank: RankingInfo;
85
- }
86
- interface TableMeta<TData extends RowData> {
87
- isExpandable?: boolean;
88
- isLoading?: boolean;
89
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
90
- [key: string]: any;
91
- }
92
- }
93
-
94
-
95
79
  declare global {
96
80
  interface Window {
97
81
  senderId: string;
@@ -113,6 +97,22 @@ declare module '@tanstack/react-table' {
113
97
  }
114
98
 
115
99
 
100
+ declare module '@tanstack/react-table' {
101
+ interface FilterFns {
102
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
103
+ }
104
+ interface FilterMeta {
105
+ itemRank: RankingInfo;
106
+ }
107
+ interface TableMeta<TData extends RowData> {
108
+ isExpandable?: boolean;
109
+ isLoading?: boolean;
110
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
111
+ [key: string]: any;
112
+ }
113
+ }
114
+
115
+
116
116
  declare module '@tanstack/react-table' {
117
117
  interface ColumnMeta<TData extends RowData, TValue> {
118
118
  listTableCustomCell?: boolean;
@@ -125,22 +125,6 @@ RefObject<{
125
125
  export { }
126
126
 
127
127
 
128
- declare module '@tanstack/react-table' {
129
- interface FilterFns {
130
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
131
- }
132
- interface FilterMeta {
133
- itemRank: RankingInfo;
134
- }
135
- interface TableMeta<TData extends RowData> {
136
- isExpandable?: boolean;
137
- isLoading?: boolean;
138
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
139
- [key: string]: any;
140
- }
141
- }
142
-
143
-
144
128
  declare global {
145
129
  interface Window {
146
130
  senderId: string;
@@ -162,6 +146,22 @@ declare module '@tanstack/react-table' {
162
146
  }
163
147
 
164
148
 
149
+ declare module '@tanstack/react-table' {
150
+ interface FilterFns {
151
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
152
+ }
153
+ interface FilterMeta {
154
+ itemRank: RankingInfo;
155
+ }
156
+ interface TableMeta<TData extends RowData> {
157
+ isExpandable?: boolean;
158
+ isLoading?: boolean;
159
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
160
+ [key: string]: any;
161
+ }
162
+ }
163
+
164
+
165
165
  declare module '@tanstack/react-table' {
166
166
  interface ColumnMeta<TData extends RowData, TValue> {
167
167
  listTableCustomCell?: boolean;
@@ -412,22 +412,6 @@ declare type User = {
412
412
  export { }
413
413
 
414
414
 
415
- declare module '@tanstack/react-table' {
416
- interface FilterFns {
417
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
418
- }
419
- interface FilterMeta {
420
- itemRank: RankingInfo;
421
- }
422
- interface TableMeta<TData extends RowData> {
423
- isExpandable?: boolean;
424
- isLoading?: boolean;
425
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
426
- [key: string]: any;
427
- }
428
- }
429
-
430
-
431
415
  declare global {
432
416
  interface Window {
433
417
  senderId: string;
@@ -449,6 +433,22 @@ declare module '@tanstack/react-table' {
449
433
  }
450
434
 
451
435
 
436
+ declare module '@tanstack/react-table' {
437
+ interface FilterFns {
438
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
439
+ }
440
+ interface FilterMeta {
441
+ itemRank: RankingInfo;
442
+ }
443
+ interface TableMeta<TData extends RowData> {
444
+ isExpandable?: boolean;
445
+ isLoading?: boolean;
446
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
447
+ [key: string]: any;
448
+ }
449
+ }
450
+
451
+
452
452
  declare module '@tanstack/react-table' {
453
453
  interface ColumnMeta<TData extends RowData, TValue> {
454
454
  listTableCustomCell?: boolean;
@@ -31,22 +31,6 @@ export declare type PickerSelection = Record<PickerEntityType, RowSelectionState
31
31
  export { }
32
32
 
33
33
 
34
- declare module '@tanstack/react-table' {
35
- interface FilterFns {
36
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
37
- }
38
- interface FilterMeta {
39
- itemRank: RankingInfo;
40
- }
41
- interface TableMeta<TData extends RowData> {
42
- isExpandable?: boolean;
43
- isLoading?: boolean;
44
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
45
- [key: string]: any;
46
- }
47
- }
48
-
49
-
50
34
  declare global {
51
35
  interface Window {
52
36
  senderId: string;
@@ -68,6 +52,22 @@ declare module '@tanstack/react-table' {
68
52
  }
69
53
 
70
54
 
55
+ declare module '@tanstack/react-table' {
56
+ interface FilterFns {
57
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
58
+ }
59
+ interface FilterMeta {
60
+ itemRank: RankingInfo;
61
+ }
62
+ interface TableMeta<TData extends RowData> {
63
+ isExpandable?: boolean;
64
+ isLoading?: boolean;
65
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
66
+ [key: string]: any;
67
+ }
68
+ }
69
+
70
+
71
71
  declare module '@tanstack/react-table' {
72
72
  interface ColumnMeta<TData extends RowData, TValue> {
73
73
  listTableCustomCell?: boolean;
@@ -316,22 +316,6 @@ declare type VersionSuggestionItem = {
316
316
  export { }
317
317
 
318
318
 
319
- declare module '@tanstack/react-table' {
320
- interface FilterFns {
321
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
322
- }
323
- interface FilterMeta {
324
- itemRank: RankingInfo;
325
- }
326
- interface TableMeta<TData extends RowData> {
327
- isExpandable?: boolean;
328
- isLoading?: boolean;
329
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
330
- [key: string]: any;
331
- }
332
- }
333
-
334
-
335
319
  declare global {
336
320
  interface Window {
337
321
  senderId: string;
@@ -353,6 +337,22 @@ declare module '@tanstack/react-table' {
353
337
  }
354
338
 
355
339
 
340
+ declare module '@tanstack/react-table' {
341
+ interface FilterFns {
342
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
343
+ }
344
+ interface FilterMeta {
345
+ itemRank: RankingInfo;
346
+ }
347
+ interface TableMeta<TData extends RowData> {
348
+ isExpandable?: boolean;
349
+ isLoading?: boolean;
350
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
351
+ [key: string]: any;
352
+ }
353
+ }
354
+
355
+
356
356
  declare module '@tanstack/react-table' {
357
357
  interface ColumnMeta<TData extends RowData, TValue> {
358
358
  listTableCustomCell?: boolean;