@ynput/ayon-frontend-shared 0.7.3 → 0.7.5

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 (66) hide show
  1. package/LICENSE +105 -0
  2. package/dist/DetailsPanel.es.js +1088 -969
  3. package/dist/ListTable.es.js +70 -67
  4. package/dist/NewEntity.es.js +8 -5
  5. package/dist/ProjectTreeTable.es.js +4134 -3825
  6. package/dist/ProjectsTable.es.js +526 -0
  7. package/dist/Slicer.es.js +75 -73
  8. package/dist/Views.es.js +86 -84
  9. package/dist/chunks/Actions.es.js +4 -2
  10. package/dist/chunks/ColumnDropIndicator.es.js +21 -18
  11. package/dist/chunks/ColumnDropIndicator.styled.es.js +14 -13
  12. package/dist/chunks/ColumnHeaderMenuUI.es.js +9 -7
  13. package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +12 -11
  14. package/dist/chunks/EmptyPlaceholder.es.js +9 -8
  15. package/dist/chunks/EntityPath.es.js +15 -14
  16. package/dist/chunks/EntityPickerDialog.es.js +5 -3
  17. package/dist/chunks/EntityTooltip.es.js +10 -8
  18. package/dist/chunks/EntityUpdatesContext.es.js +13 -12
  19. package/dist/chunks/Feed.es.js +12 -11
  20. package/dist/chunks/FilterErrorActions.es.js +6 -4
  21. package/dist/chunks/GroupSettingsFallback.es.js +75 -0
  22. package/dist/chunks/JsonViewer.es.js +3 -2
  23. package/dist/chunks/Menu.es.js +105 -103
  24. package/dist/chunks/MetaWidget.es.js +278 -275
  25. package/dist/chunks/PlayableIcon.es.js +868 -862
  26. package/dist/chunks/ProjectContext.es.js +5 -4
  27. package/dist/chunks/RepresentationsList.es.js +3 -2
  28. package/dist/chunks/ReviewablesSelector.es.js +3471 -2067
  29. package/dist/chunks/SimpleTable.es.js +492 -402
  30. package/dist/chunks/Slicer.es.js +936 -896
  31. package/dist/chunks/TableExportContextInstance.es.js +437 -339
  32. package/dist/chunks/TableSettingsFallback.es.js +5 -3
  33. package/dist/chunks/ThumbnailSimple.es.js +15 -13
  34. package/dist/chunks/VideoPlayer.es.js +14 -12
  35. package/dist/chunks/Watchers.es.js +97 -95
  36. package/dist/chunks/getProjectDisplayName.es.js +4 -0
  37. package/dist/chunks/getUris.es.js +375 -374
  38. package/dist/chunks/useHierarchySelection.es.js +5 -3
  39. package/dist/chunks/useLoadModule.es.js +10 -8
  40. package/dist/chunks/viewUpdateHelper.es.js +12 -10
  41. package/dist/components.es.js +1488 -1186
  42. package/dist/context.es.js +589 -539
  43. package/dist/hooks.es.js +169 -212
  44. package/dist/index.es.js +17 -12
  45. package/dist/types/Actions.d.ts +3 -0
  46. package/dist/types/ContextMenu.d.ts +3 -0
  47. package/dist/types/DetailsPanel.d.ts +3 -0
  48. package/dist/types/EntityPickerDialog.d.ts +3 -0
  49. package/dist/types/Feed.d.ts +3 -0
  50. package/dist/types/ListTable.d.ts +3 -0
  51. package/dist/types/NewEntity.d.ts +3 -0
  52. package/dist/types/ProjectTreeTable.d.ts +735 -1
  53. package/dist/types/ProjectsTable.d.ts +228 -0
  54. package/dist/types/RepresentationsList.d.ts +3 -0
  55. package/dist/types/SimpleTable.d.ts +17 -0
  56. package/dist/types/Slicer.d.ts +4 -0
  57. package/dist/types/Views.d.ts +3 -0
  58. package/dist/types/api.d.ts +3 -0
  59. package/dist/types/components.d.ts +808 -11
  60. package/dist/types/context.d.ts +39 -1
  61. package/dist/types/hooks.d.ts +3 -0
  62. package/dist/types/index.d.ts +3 -0
  63. package/dist/types/util.d.ts +7 -0
  64. package/dist/util.es.js +152 -144
  65. package/package.json +16 -8
  66. /package/dist/{ContextMenuContextInstance.css → style.css} +0 -0
@@ -58,6 +58,38 @@ export declare interface AddonContextProps extends RemoteAddonProps {
58
58
  export declare interface AddonContextType extends RemoteAddonProps {
59
59
  }
60
60
 
61
+ export declare type AddonDetailsPanelTab = `${string}.${string}`;
62
+
63
+ /** What `ayon-addon dev --ayon` serves as /ayon-addon.json next to the build. */
64
+ declare interface AddonDevInfo {
65
+ name: string;
66
+ version: string;
67
+ remote: string;
68
+ modules: string[];
69
+ /** changes on every rebuild */
70
+ buildId: string;
71
+ }
72
+
73
+ declare interface AddonDevOverride {
74
+ addon: string;
75
+ url: string;
76
+ }
77
+
78
+ export declare type AddonDevState = {
79
+ status: 'off';
80
+ } | {
81
+ status: 'loading';
82
+ override: AddonDevOverride;
83
+ } | {
84
+ status: 'active';
85
+ override: AddonDevOverride;
86
+ info: AddonDevInfo;
87
+ } | {
88
+ status: 'error';
89
+ override: AddonDevOverride;
90
+ error: string;
91
+ };
92
+
61
93
  /** Selection for an addon-specific dialog */
62
94
  export declare type AddonDialogSelection = {
63
95
  addon: string;
@@ -372,7 +404,7 @@ export declare interface DetailsPanelProviderProps extends DetailsPanelContextPr
372
404
  defaultTab?: DetailsPanelTab;
373
405
  }
374
406
 
375
- export declare type DetailsPanelTab = 'feed' | 'subtasks' | 'details' | 'files';
407
+ export declare type DetailsPanelTab = 'feed' | 'subtasks' | 'details' | 'files' | AddonDetailsPanelTab;
376
408
 
377
409
  declare type EditingViewState = string | true | null;
378
410
 
@@ -738,6 +770,8 @@ declare type InfoResponseModel = {
738
770
  offlineMode?: boolean;
739
771
  };
740
772
 
773
+ export declare const isAddonDetailsPanelTab: (tab: unknown) => tab is AddonDetailsPanelTab;
774
+
741
775
  export declare const isDeletableEntityType: (type?: string) => type is DeletableEntityType;
742
776
 
743
777
  export declare const isDetailsPanelTab: (tab: unknown) => tab is DetailsPanelTab;
@@ -1303,6 +1337,7 @@ export declare type RemoteModulesContextType = {
1303
1337
  isLoading: boolean;
1304
1338
  modules: FrontendModuleListItem[];
1305
1339
  remotesInitialized: boolean;
1340
+ addonDev: AddonDevState;
1306
1341
  };
1307
1342
 
1308
1343
  export declare const RemoteModulesProvider: ({ children, skip }: Props) => JSX_2.Element;
@@ -2575,6 +2610,9 @@ export { }
2575
2610
 
2576
2611
 
2577
2612
  declare module '@tanstack/react-table' {
2613
+ interface ColumnMeta<TData extends RowData, TValue> {
2614
+ addonColumn?: AddonColumnMeta;
2615
+ }
2578
2616
  interface TableMeta<TData extends RowData> {
2579
2617
  options?: BuiltInFieldOptions;
2580
2618
  readOnly?: ProjectTreeTableProps['readOnly'];
@@ -670,6 +670,9 @@ export { }
670
670
 
671
671
 
672
672
  declare module '@tanstack/react-table' {
673
+ interface ColumnMeta<TData extends RowData, TValue> {
674
+ addonColumn?: AddonColumnMeta;
675
+ }
673
676
  interface TableMeta<TData extends RowData> {
674
677
  options?: BuiltInFieldOptions;
675
678
  readOnly?: ProjectTreeTableProps['readOnly'];
@@ -63,6 +63,9 @@ export { }
63
63
 
64
64
 
65
65
  declare module '@tanstack/react-table' {
66
+ interface ColumnMeta<TData extends RowData, TValue> {
67
+ addonColumn?: AddonColumnMeta;
68
+ }
66
69
  interface TableMeta<TData extends RowData> {
67
70
  options?: BuiltInFieldOptions;
68
71
  readOnly?: ProjectTreeTableProps['readOnly'];
@@ -258,6 +258,8 @@ export declare interface CheckNameResult {
258
258
  error?: string;
259
259
  }
260
260
 
261
+ export declare const clearAccessToken: () => void;
262
+
261
263
  export declare const clearActiveEntities: (key: string) => void;
262
264
 
263
265
  declare type ColumnItemModel = {
@@ -1110,6 +1112,8 @@ declare type Status = {
1110
1112
  scope?: string[];
1111
1113
  };
1112
1114
 
1115
+ export declare const storeAccessToken: (accessToken: string) => void;
1116
+
1113
1117
  /**
1114
1118
  * Subscribes a callback to listen for thumbnail updates.
1115
1119
  *
@@ -1253,6 +1257,9 @@ export { }
1253
1257
 
1254
1258
 
1255
1259
  declare module '@tanstack/react-table' {
1260
+ interface ColumnMeta<TData extends RowData, TValue> {
1261
+ addonColumn?: AddonColumnMeta;
1262
+ }
1256
1263
  interface TableMeta<TData extends RowData> {
1257
1264
  options?: BuiltInFieldOptions;
1258
1265
  readOnly?: ProjectTreeTableProps['readOnly'];
package/dist/util.es.js CHANGED
@@ -1,30 +1,32 @@
1
- import { K as x, g as I, a as A } from "./chunks/platform.es.js";
2
- import { c as d } from "./chunks/confirmDelete.es.js";
3
- import { a as P } from "./chunks/confirmDelete.es.js";
4
- import { e as L, g as F, a as C } from "./chunks/getEntityTypeIcon.es.js";
5
- import { g as M, r as U } from "./chunks/replaceRoot.es.js";
6
- import { A as w, c as N, e as O, g as H, a as B, s as V, u as k, b as K } from "./chunks/activeEntities.es.js";
7
- import { c as Q } from "./chunks/copyToClipboard.es.js";
8
- import { g as Y, h as q } from "./chunks/humanizeFieldName.es.js";
9
- import { c as W, a as X, g as $, b as j, d as Z, p as ee, e as ae } from "./chunks/iconUtils.es.js";
10
- import { bu as g } from "./chunks/searchTerms.es.js";
11
- import { bv as re, bp as se, bw as oe, bx as ie, br as ne, by as le, bt as ce, bz as me, bA as pe, bB as de, bq as ge, bC as ue, bD as be, bE as Ee, bs as fe, bF as Te, bG as Se, bH as he, bI as ye, bJ as xe } from "./chunks/searchTerms.es.js";
12
- import { M as Ae, a as Re, b as Pe, d as _e, e as Le, f as Fe, c as Ce, g as De, h as Me, i as Ue, j as ve, p as we, s as Ne, k as Oe, v as He, w as Be } from "./chunks/realtimeUpdatesUtils.es.js";
13
- import { e as ke } from "./chunks/extractVersionFromFilename.es.js";
14
- import { c as ze, a as Qe, b as Je, g as Ye, h as qe, s as Ge, v as We, d as Xe, e as $e } from "./chunks/versionUploadHelpers.es.js";
15
- import { c as Ze, a as ea } from "./chunks/columnConfigConverter.es.js";
16
- import { D as ta, L as ra, l as sa, r as oa, s as ia } from "./chunks/sortLists.es.js";
17
- import { p as la } from "./chunks/pluralize.es.js";
18
- import { b as ma, a as pa, h as da, p as ga, r as ua } from "./chunks/colorUtils.es.js";
19
- import { g as Ea } from "./chunks/getGroupByDataType.es.js";
20
- import { U as Ta, b as Sa, c as ha, g as ya, a as xa, d as Ia, p as Aa, u as Ra } from "./chunks/getBundleMode.es.js";
21
- import { b as _a, s as La } from "./chunks/buildHierarchicalTableRows.es.js";
22
- import { g as Ca, a as Da } from "./chunks/getThumbnailUrl.es.js";
23
- import { p as Ua } from "./chunks/parseFilename.es.js";
24
- import { i as wa } from "./chunks/isHTMLElement.es.js";
25
- import { S as Oa, a as Ha } from "./chunks/afterStartup.es.js";
26
- import { ConfirmDialog as Va } from "primereact/confirmdialog";
27
- const E = (e) => {
1
+ import { K as R, g as P, a as _ } from "./chunks/platform.es.js";
2
+ import { c as g } from "./chunks/confirmDelete.es.js";
3
+ import { a as F } from "./chunks/confirmDelete.es.js";
4
+ import { e as D, g as M, a as U } from "./chunks/getEntityTypeIcon.es.js";
5
+ import { g as k, r as w } from "./chunks/replaceRoot.es.js";
6
+ import { A as O, c as B, e as H, g as V, a as z, s as K, u as Q, b as $ } from "./chunks/activeEntities.es.js";
7
+ import { c as J } from "./chunks/copyToClipboard.es.js";
8
+ import { g as q, h as G } from "./chunks/humanizeFieldName.es.js";
9
+ import { c as X, a as Z, g as ee, b as ae, d as te, p as re, e as se } from "./chunks/iconUtils.es.js";
10
+ import { bu as u } from "./chunks/searchTerms.es.js";
11
+ import { bv as ie, bp as ne, bw as le, bx as ce, br as me, by as pe, bt as de, bz as ge, bA as ue, bB as fe, bq as Ee, bC as be, bD as Te, bE as he, bs as Se, bF as xe, bG as ye, bH as Ae, bI as Ie, bJ as Re } from "./chunks/searchTerms.es.js";
12
+ import { M as _e, a as Le, b as Fe, d as Ce, e as De, f as Me, c as Ue, g as ve, h as ke, i as we, j as Ne, p as Oe, s as Be, k as He, v as Ve, w as ze } from "./chunks/realtimeUpdatesUtils.es.js";
13
+ import { e as Qe } from "./chunks/extractVersionFromFilename.es.js";
14
+ import { c as je, a as Je, b as Ye, g as qe, h as Ge, s as We, v as Xe, d as Ze, e as ea } from "./chunks/versionUploadHelpers.es.js";
15
+ import { c as ta, a as ra } from "./chunks/columnConfigConverter.es.js";
16
+ import { D as oa, L as ia, l as na, r as la, s as ca } from "./chunks/sortLists.es.js";
17
+ import { p as pa } from "./chunks/pluralize.es.js";
18
+ import { b as ga, a as ua, h as fa, p as Ea, r as ba } from "./chunks/colorUtils.es.js";
19
+ import { g as ha } from "./chunks/getGroupByDataType.es.js";
20
+ import { U as xa, b as ya, c as Aa, g as Ia, a as Ra, d as Pa, p as _a, u as La } from "./chunks/getBundleMode.es.js";
21
+ import { b as Ca, s as Da } from "./chunks/buildHierarchicalTableRows.es.js";
22
+ import { g as Ua } from "./chunks/getProjectDisplayName.es.js";
23
+ import { g as ka, a as wa } from "./chunks/getThumbnailUrl.es.js";
24
+ import { p as Oa } from "./chunks/parseFilename.es.js";
25
+ import { i as Ha } from "./chunks/isHTMLElement.es.js";
26
+ import { S as za, a as Ka } from "./chunks/afterStartup.es.js";
27
+ import l from "axios";
28
+ import { ConfirmDialog as $a } from "primereact/confirmdialog";
29
+ const T = (e) => {
28
30
  const t = /* @__PURE__ */ new Map(), s = [];
29
31
  for (const a of e)
30
32
  t.set(a.id, { ...a, children: [] });
@@ -33,27 +35,27 @@ const E = (e) => {
33
35
  a.parentId && t.has(a.parentId) ? t.get(a.parentId).children.push(o) : s.push(o);
34
36
  }
35
37
  return { folderMap: t, rootFolders: s };
36
- }, f = async ({
38
+ }, h = async ({
37
39
  folderIds: e,
38
40
  folders: t,
39
41
  deleteMutation: s,
40
42
  onSelect: a,
41
43
  itemTypeName: o,
42
- messageDetail: l
44
+ messageDetail: c
43
45
  }) => {
44
- const n = Array.isArray(e) ? e : [e], i = n.map((r) => t?.find((p) => p.id === r)).filter(Boolean), c = i.length === 1 ? i[0]?.label || "Folder" : i.length > 1 ? `${i.length} folders` : "Folder", m = `Only the folder(s) will be deleted. ${o} inside the folder will remain.`;
45
- d({
46
+ const n = Array.isArray(e) ? e : [e], i = n.map((r) => t?.find((d) => d.id === r)).filter(Boolean), m = i.length === 1 ? i[0]?.label || "Folder" : i.length > 1 ? `${i.length} folders` : "Folder", p = `Only the folder(s) will be deleted. ${o} inside the folder will remain.`;
47
+ g({
46
48
  accept: async () => {
47
49
  try {
48
50
  await Promise.all(n.map((r) => s(r))), a([]);
49
51
  } catch (r) {
50
- throw g(r, "Failed to delete folder(s)");
52
+ throw u(r, "Failed to delete folder(s)");
51
53
  }
52
54
  },
53
- label: c,
54
- message: l || m
55
+ label: m,
56
+ message: c || p
55
57
  });
56
- }, T = (e) => e ? e.label?.trim() || e.name : "", S = {
58
+ }, S = {
57
59
  "@@@": {
58
60
  id: "task"
59
61
  },
@@ -64,116 +66,122 @@ const E = (e) => {
64
66
  id: "user",
65
67
  isCircle: !0
66
68
  }
69
+ }, x = (e) => {
70
+ localStorage.setItem("accessToken", e), l.defaults.headers.common.Authorization = `Bearer ${e}`, document.cookie = `accessToken=${e}; path=/; max-age=86400`;
71
+ }, y = () => {
72
+ localStorage.removeItem("accessToken"), delete l.defaults.headers.common.Authorization, document.cookie = "accessToken=; path=/; max-age=0";
67
73
  };
68
74
  export {
69
- w as ACTIVE_ENTITIES_PRIORITY,
70
- Va as ConfirmDialog,
71
- ta as DEFAULT_LISTS_SORT,
72
- re as ENUM_CONTEXT_PARAMS,
73
- x as KeyMode,
74
- ra as LISTS_SORT_OPTIONS,
75
- Ae as MAX_SORT_KEYS,
76
- se as PubSub,
77
- Re as REALTIME_REST_CALL_LIMIT,
78
- Pe as REALTIME_REST_JITTER,
79
- _e as REALTIME_TASK_SUPPORTED_VALUE_FIELDS,
80
- Le as REALTIME_UPDATE_DEBOUNCE,
81
- Oa as STARTUP_DELAY,
82
- Ta as URL_PARAM_ID,
83
- Ha as afterStartup,
84
- ma as blendCategoryColor,
85
- pa as blendColors,
86
- Sa as buildEntityUri,
87
- E as buildFolderHierarchy,
88
- _a as buildHierarchicalTableRows,
89
- Fe as buildSortArgs,
90
- W as checkLabel,
91
- X as checkName,
92
- N as clearActiveEntities,
93
- d as confirmDelete,
94
- P as confirmDeleteDialog,
95
- ha as consumeUriHandoff,
96
- Ze as convertColumnConfigToTanstackStates,
97
- ea as convertTanstackStatesToColumnConfig,
98
- Q as copyToClipboard,
99
- ze as createProductAndVersion,
100
- Qe as createProductHelper,
101
- Ce as createRealtimeBatcher,
102
- Je as createVersionHelper,
103
- L as entityTypesWithIcons,
104
- O as extractEntityHierarchyFromParents,
105
- ke as extractVersionFromFilename,
106
- oe as filterBySearchQuery,
107
- H as getActiveEntities,
108
- $ as getAttributeIcon,
109
- ya as getBundleModeFromUser,
110
- I as getCurrentPlatform,
111
- j as getEntityColor,
112
- Z as getEntityIcon,
113
- De as getEntityId,
114
- xa as getEntityStateFromUri,
115
- Ca as getEntityThumbnailUrl,
116
- F as getEntityTypeIcon,
117
- ie as getEnumContextParams,
118
- ne as getEnumErrorText,
119
- le as getEnumItemIcon,
120
- g as getErrorMessage,
121
- Me as getForwardSortBy,
122
- Ea as getGroupByDataType,
123
- C as getListIcon,
124
- Y as getMixedState,
125
- Ye as getNextVersionNumber,
126
- A as getPlatformShortcutKey,
127
- Ue as getPrimarySortKey,
128
- B as getPriorityOptions,
129
- T as getProjectDisplayName,
130
- Da as getProjectThumbnailUrl,
131
- ce as getRequestErrorString,
132
- me as getSelectableAssignees,
133
- pe as getSelectableEnumItems,
134
- Ia as getSettingsStateFromUri,
135
- ve as getSupportedEntityPatch,
136
- M as groupResult,
137
- f as handleDeleteFolders,
138
- qe as handleUploadError,
139
- de as hasEnumOptions,
140
- ge as hasEnumResolver,
141
- da as hexToRgb,
142
- q as humanizeField,
143
- ue as isEnumContextParam,
144
- be as isEnumIconImage,
145
- wa as isHTMLElement,
146
- sa as labelCollator,
147
- Ee as matchSearchQuery,
75
+ O as ACTIVE_ENTITIES_PRIORITY,
76
+ $a as ConfirmDialog,
77
+ oa as DEFAULT_LISTS_SORT,
78
+ ie as ENUM_CONTEXT_PARAMS,
79
+ R as KeyMode,
80
+ ia as LISTS_SORT_OPTIONS,
81
+ _e as MAX_SORT_KEYS,
82
+ ne as PubSub,
83
+ Le as REALTIME_REST_CALL_LIMIT,
84
+ Fe as REALTIME_REST_JITTER,
85
+ Ce as REALTIME_TASK_SUPPORTED_VALUE_FIELDS,
86
+ De as REALTIME_UPDATE_DEBOUNCE,
87
+ za as STARTUP_DELAY,
88
+ xa as URL_PARAM_ID,
89
+ Ka as afterStartup,
90
+ ga as blendCategoryColor,
91
+ ua as blendColors,
92
+ ya as buildEntityUri,
93
+ T as buildFolderHierarchy,
94
+ Ca as buildHierarchicalTableRows,
95
+ Me as buildSortArgs,
96
+ X as checkLabel,
97
+ Z as checkName,
98
+ y as clearAccessToken,
99
+ B as clearActiveEntities,
100
+ g as confirmDelete,
101
+ F as confirmDeleteDialog,
102
+ Aa as consumeUriHandoff,
103
+ ta as convertColumnConfigToTanstackStates,
104
+ ra as convertTanstackStatesToColumnConfig,
105
+ J as copyToClipboard,
106
+ je as createProductAndVersion,
107
+ Je as createProductHelper,
108
+ Ue as createRealtimeBatcher,
109
+ Ye as createVersionHelper,
110
+ D as entityTypesWithIcons,
111
+ H as extractEntityHierarchyFromParents,
112
+ Qe as extractVersionFromFilename,
113
+ le as filterBySearchQuery,
114
+ V as getActiveEntities,
115
+ ee as getAttributeIcon,
116
+ Ia as getBundleModeFromUser,
117
+ P as getCurrentPlatform,
118
+ ae as getEntityColor,
119
+ te as getEntityIcon,
120
+ ve as getEntityId,
121
+ Ra as getEntityStateFromUri,
122
+ ka as getEntityThumbnailUrl,
123
+ M as getEntityTypeIcon,
124
+ ce as getEnumContextParams,
125
+ me as getEnumErrorText,
126
+ pe as getEnumItemIcon,
127
+ u as getErrorMessage,
128
+ ke as getForwardSortBy,
129
+ ha as getGroupByDataType,
130
+ U as getListIcon,
131
+ q as getMixedState,
132
+ qe as getNextVersionNumber,
133
+ _ as getPlatformShortcutKey,
134
+ we as getPrimarySortKey,
135
+ z as getPriorityOptions,
136
+ Ua as getProjectDisplayName,
137
+ wa as getProjectThumbnailUrl,
138
+ de as getRequestErrorString,
139
+ ge as getSelectableAssignees,
140
+ ue as getSelectableEnumItems,
141
+ Pa as getSettingsStateFromUri,
142
+ Ne as getSupportedEntityPatch,
143
+ k as groupResult,
144
+ h as handleDeleteFolders,
145
+ Ge as handleUploadError,
146
+ fe as hasEnumOptions,
147
+ Ee as hasEnumResolver,
148
+ fa as hexToRgb,
149
+ G as humanizeField,
150
+ be as isEnumContextParam,
151
+ Te as isEnumIconImage,
152
+ Ha as isHTMLElement,
153
+ na as labelCollator,
154
+ he as matchSearchQuery,
148
155
  S as mentionTypeOptions,
149
- fe as normalizeEnumItems,
150
- ee as parseAndFormatName,
151
- ga as parseColor,
152
- Ua as parseFilename,
153
- ae as parseHtmlToPlainTextWithLinks,
154
- Te as parseSearchQuery,
155
- Aa as parseUri,
156
- we as parseViewSorting,
157
- Se as pastedListToSearch,
158
- la as pluralize,
159
- U as replaceRoot,
160
- oa as resolveListsSort,
161
- ua as rgbToHex,
162
- Ge as sanitizeProductName,
163
- he as searchQueryToFilter,
164
- Ne as serializeViewSorting,
165
- V as setActiveEntities,
166
- La as shouldBlockShortcuts,
167
- ye as sortKeysDeep,
168
- ia as sortLists,
169
- Oe as subscribeToThumbnailUpdates,
170
- xe as toDropdownErrorText,
171
- k as useActiveEntities,
172
- K as useRegisterActiveEntities,
173
- Ra as useStagingModeState,
174
- He as validateEntityId,
175
- We as validateFormData,
176
- Xe as validateProductName,
177
- $e as validateVersion,
178
- Be as waitForRealtimeJitter
156
+ Se as normalizeEnumItems,
157
+ re as parseAndFormatName,
158
+ Ea as parseColor,
159
+ Oa as parseFilename,
160
+ se as parseHtmlToPlainTextWithLinks,
161
+ xe as parseSearchQuery,
162
+ _a as parseUri,
163
+ Oe as parseViewSorting,
164
+ ye as pastedListToSearch,
165
+ pa as pluralize,
166
+ w as replaceRoot,
167
+ la as resolveListsSort,
168
+ ba as rgbToHex,
169
+ We as sanitizeProductName,
170
+ Ae as searchQueryToFilter,
171
+ Be as serializeViewSorting,
172
+ K as setActiveEntities,
173
+ Da as shouldBlockShortcuts,
174
+ Ie as sortKeysDeep,
175
+ ca as sortLists,
176
+ x as storeAccessToken,
177
+ He as subscribeToThumbnailUpdates,
178
+ Re as toDropdownErrorText,
179
+ Q as useActiveEntities,
180
+ $ as useRegisterActiveEntities,
181
+ La as useStagingModeState,
182
+ Ve as validateEntityId,
183
+ Xe as validateFormData,
184
+ Ze as validateProductName,
185
+ ea as validateVersion,
186
+ ze as waitForRealtimeJitter
179
187
  };
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@ynput/ayon-frontend-shared",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "Shared React components for AYON frontend",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/ynput/ayon-frontend.git",
8
+ "directory": "shared"
9
+ },
10
+ "license": "FSL-1.1-ALv2",
5
11
  "module": "dist/index.es.js",
6
12
  "exports": {
7
13
  ".": {
@@ -24,10 +30,6 @@
24
30
  "types": "./dist/types/context.d.ts",
25
31
  "import": "./dist/context.es.js"
26
32
  },
27
- "./shared": {
28
- "types": "./dist/types/shared.d.ts",
29
- "import": "./dist/shared.es.js"
30
- },
31
33
  "./util": {
32
34
  "types": "./dist/types/util.d.ts",
33
35
  "import": "./dist/util.es.js"
@@ -68,6 +70,10 @@
68
70
  "types": "./dist/types/SimpleTable.d.ts",
69
71
  "import": "./dist/SimpleTable.es.js"
70
72
  },
73
+ "./ProjectsTable": {
74
+ "types": "./dist/types/ProjectsTable.d.ts",
75
+ "import": "./dist/ProjectsTable.es.js"
76
+ },
71
77
  "./EntityPickerDialog": {
72
78
  "types": "./dist/types/EntityPickerDialog.d.ts",
73
79
  "import": "./dist/EntityPickerDialog.es.js"
@@ -79,7 +85,8 @@
79
85
  "./NewEntity": {
80
86
  "types": "./dist/types/NewEntity.d.ts",
81
87
  "import": "./dist/NewEntity.es.js"
82
- }
88
+ },
89
+ "./style.css": "./dist/style.css"
83
90
  },
84
91
  "files": [
85
92
  "dist"
@@ -97,7 +104,8 @@
97
104
  "@reduxjs/toolkit": "2.11.2",
98
105
  "@rtk-query/graphql-request-base-query": "2.3.2",
99
106
  "@tanstack/react-table": "8.21.3",
100
- "@ynput/ayon-react-components": "^1.23.0",
107
+ "@ynput/ayon-addon": "^0.1.1",
108
+ "@ynput/ayon-react-components": "^1.24.0",
101
109
  "graphql-request": "7.4.0",
102
110
  "react": "18.3.1",
103
111
  "react-dom": "18.3.1",
@@ -116,7 +124,7 @@
116
124
  "@vitejs/plugin-react": "4.7.0",
117
125
  "typescript": "5.9.3",
118
126
  "unplugin-dts": "^1.1.1",
119
- "vite": "7.3.5",
127
+ "vite": "7.3.7",
120
128
  "vite-plugin-linter": "4.0.0"
121
129
  },
122
130
  "dependencies": {