@ynput/ayon-frontend-shared 0.4.6 → 0.5.0

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 (62) hide show
  1. package/dist/DetailsPanel.es.js +686 -653
  2. package/dist/ListTable.es.js +11 -10
  3. package/dist/ProjectTreeTable.es.js +2225 -2186
  4. package/dist/Slicer.es.js +152 -120
  5. package/dist/api.es.js +202 -201
  6. package/dist/chunks/Actions.es.js +20 -20
  7. package/dist/chunks/ColumnDropIndicator.es.js +128 -242
  8. package/dist/chunks/DeleteEntitiesContext.es.js +37 -37
  9. package/dist/chunks/DetailsDialog.es.js +3 -3
  10. package/dist/chunks/EntityPath.es.js +23 -23
  11. package/dist/chunks/EntityPickerDialog.es.js +2 -2
  12. package/dist/chunks/EntityTooltip.es.js +12 -12
  13. package/dist/chunks/Feed.es.js +16 -16
  14. package/dist/chunks/FilterErrorActions.es.js +5 -5
  15. package/dist/chunks/GlobalContext.es.js +14 -14
  16. package/dist/chunks/InfoMessage.es.js +146 -0
  17. package/dist/chunks/JsonViewer.es.js +1 -1
  18. package/dist/chunks/Menu.es.js +5 -5
  19. package/dist/chunks/MenuContext.es.js +75 -73
  20. package/dist/chunks/MetaWidget.es.js +1970 -1962
  21. package/dist/chunks/NewEntityContext.es.js +538 -543
  22. package/dist/chunks/PlayableIcon.es.js +54 -54
  23. package/dist/chunks/ProjectContext.es.js +12 -12
  24. package/dist/chunks/ProjectFoldersContext.es.js +84 -76
  25. package/dist/chunks/RepresentationsList.es.js +1 -1
  26. package/dist/chunks/ReviewablesSelector.es.js +390 -387
  27. package/dist/chunks/SimpleTable.es.js +286 -283
  28. package/dist/chunks/Slicer.es.js +1122 -684
  29. package/dist/chunks/VersionUploadContext.es.js +26 -26
  30. package/dist/chunks/VideoPlayer.es.js +1 -1
  31. package/dist/chunks/ViewsContext.es.js +31 -31
  32. package/dist/chunks/Watchers.es.js +2 -2
  33. package/dist/chunks/entityDefinitions.es.js +275 -133
  34. package/dist/chunks/getUris.es.js +236 -231
  35. package/dist/chunks/searchTerms.es.js +10 -1
  36. package/dist/chunks/useAttributeEnums.es.js +69 -61
  37. package/dist/chunks/useColumnDragRestriction.es.js +1 -1
  38. package/dist/chunks/useLocalStorage.es.js +11 -11
  39. package/dist/chunks/viewUpdateHelper.es.js +23 -23
  40. package/dist/components.es.js +168 -168
  41. package/dist/hooks.es.js +47 -46
  42. package/dist/index.es.js +14 -13
  43. package/dist/types/Actions.d.ts +7 -7
  44. package/dist/types/ContextMenu.d.ts +7 -7
  45. package/dist/types/DetailsPanel.d.ts +13 -7
  46. package/dist/types/EntityPickerDialog.d.ts +7 -7
  47. package/dist/types/Feed.d.ts +7 -7
  48. package/dist/types/ListTable.d.ts +7 -7
  49. package/dist/types/NewEntity.d.ts +7 -7
  50. package/dist/types/ProjectTreeTable.d.ts +35 -13
  51. package/dist/types/RepresentationsList.d.ts +10 -7
  52. package/dist/types/SimpleTable.d.ts +8 -7
  53. package/dist/types/Slicer.d.ts +110 -25
  54. package/dist/types/Views.d.ts +7 -7
  55. package/dist/types/api.d.ts +20 -7
  56. package/dist/types/components.d.ts +14 -12
  57. package/dist/types/context.d.ts +7 -7
  58. package/dist/types/hooks.d.ts +7 -7
  59. package/dist/types/index.d.ts +7 -7
  60. package/dist/types/util.d.ts +7 -7
  61. package/package.json +11 -1
  62. package/dist/chunks/useSlicerSplitter.es.js +0 -18
@@ -13,24 +13,25 @@ import "primereact/confirmdialog";
13
13
  import { bf as Le } from "./chunks/searchTerms.es.js";
14
14
  import "react-router-dom";
15
15
  import "./chunks/ProjectContext.es.js";
16
- import { dx as vt, dy as Ge } from "./chunks/getUris.es.js";
16
+ import { dy as vt, dz as Ge } from "./chunks/getUris.es.js";
17
17
  import { a as Me } from "./chunks/useCreateContextMenu.es.js";
18
18
  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";
32
32
  import "./chunks/EmptyPlaceholder.es.js";
33
33
  import "./chunks/Menu.es.js";
34
+ import "./chunks/InfoMessage.es.js";
34
35
  import "react-dom";
35
36
  import "react-redux";
36
37
  import "./chunks/ViewsContext.es.js";
@@ -516,7 +517,7 @@ const Tt = C.tbody`
516
517
  list_of_any: tt,
517
518
  list_of_submodels: wt,
518
519
  dict: wt
519
- }, Co = () => bn, Kt = (t, e) => `list-table-cell-${t}-${e}`, yn = (t) => F(t), Vt = "editable", vn = (t) => !!t && typeof t == "object" && "__listTablePlaceholder" in t, Cn = ({
520
+ }, xo = () => bn, Kt = (t, e) => `list-table-cell-${t}-${e}`, yn = (t) => F(t), Vt = "editable", vn = (t) => !!t && typeof t == "object" && "__listTablePlaceholder" in t, Cn = ({
520
521
  cell: t,
521
522
  row: e,
522
523
  rowIndex: o,
@@ -993,7 +994,7 @@ function kn(t) {
993
994
  }, [o, e]);
994
995
  }
995
996
  const Ln = (t) => t ? Array.isArray(t) ? t.filter(Boolean) : [t] : [];
996
- function xo({
997
+ function Do({
997
998
  data: t,
998
999
  columns: e,
999
1000
  getRowId: o,
@@ -1310,7 +1311,7 @@ const Pt = (t) => !!t && typeof t == "object" && ("label" in t || "value" in t),
1310
1311
  }), o.forEach((i) => {
1311
1312
  i.subRows = Ft(i.subRows, e);
1312
1313
  }), [...o, ...r];
1313
- }, Do = (t, e, o, r, i, u) => {
1314
+ }, Eo = (t, e, o, r, i, u) => {
1314
1315
  const a = [], f = (d, E, R, c) => {
1315
1316
  if (!R.length) {
1316
1317
  d.push(E);
@@ -1337,11 +1338,11 @@ const Pt = (t) => !!t && typeof t == "object" && ("label" in t || "value" in t),
1337
1338
  return t.forEach((d) => f(a, d, e, "root")), Ft(a, o);
1338
1339
  };
1339
1340
  export {
1340
- xo as ListTable,
1341
- Do as buildGroupedData,
1341
+ Do as ListTable,
1342
+ Eo as buildGroupedData,
1342
1343
  Mn as compareGroupingPathItems,
1343
1344
  bn as defaultListTableDataTypeWidgets,
1344
- Co as getDefaultListTableDataTypeWidgets,
1345
+ xo as getDefaultListTableDataTypeWidgets,
1345
1346
  Gn as getGroupItemValue,
1346
1347
  Kt as getListTableCellId,
1347
1348
  Pt as isListTableGroupDisplayObject,