@ynput/ayon-frontend-shared 0.7.3 → 0.7.4

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 +17 -14
  46. package/dist/types/ContextMenu.d.ts +17 -14
  47. package/dist/types/DetailsPanel.d.ts +17 -14
  48. package/dist/types/EntityPickerDialog.d.ts +17 -14
  49. package/dist/types/Feed.d.ts +17 -14
  50. package/dist/types/ListTable.d.ts +17 -14
  51. package/dist/types/NewEntity.d.ts +17 -14
  52. package/dist/types/ProjectTreeTable.d.ts +749 -15
  53. package/dist/types/ProjectsTable.d.ts +228 -0
  54. package/dist/types/RepresentationsList.d.ts +17 -14
  55. package/dist/types/SimpleTable.d.ts +31 -14
  56. package/dist/types/Slicer.d.ts +18 -14
  57. package/dist/types/Views.d.ts +17 -14
  58. package/dist/types/api.d.ts +17 -14
  59. package/dist/types/components.d.ts +822 -25
  60. package/dist/types/context.d.ts +53 -15
  61. package/dist/types/hooks.d.ts +17 -14
  62. package/dist/types/index.d.ts +17 -14
  63. package/dist/types/util.d.ts +21 -14
  64. package/dist/util.es.js +152 -144
  65. package/package.json +15 -7
  66. /package/dist/{ContextMenuContextInstance.css → style.css} +0 -0
@@ -513,20 +513,6 @@ declare type User = {
513
513
  export { }
514
514
 
515
515
 
516
- declare module '@tanstack/react-table' {
517
- interface TableMeta<TData extends RowData> {
518
- options?: BuiltInFieldOptions;
519
- readOnly?: ProjectTreeTableProps['readOnly'];
520
- projectName?: string;
521
- updateEntities?: CellUpdate;
522
- toggleExpandAll?: ToggleExpandAll;
523
- selection?: string[];
524
- columnsConfig?: ColumnsConfig;
525
- loadingLinksEntityIds?: Set<string>;
526
- }
527
- }
528
-
529
-
530
516
  declare module '@tanstack/react-table' {
531
517
  interface FilterFns {
532
518
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -543,6 +529,23 @@ declare module '@tanstack/react-table' {
543
529
  }
544
530
 
545
531
 
532
+ declare module '@tanstack/react-table' {
533
+ interface ColumnMeta<TData extends RowData, TValue> {
534
+ addonColumn?: AddonColumnMeta;
535
+ }
536
+ interface TableMeta<TData extends RowData> {
537
+ options?: BuiltInFieldOptions;
538
+ readOnly?: ProjectTreeTableProps['readOnly'];
539
+ projectName?: string;
540
+ updateEntities?: CellUpdate;
541
+ toggleExpandAll?: ToggleExpandAll;
542
+ selection?: string[];
543
+ columnsConfig?: ColumnsConfig;
544
+ loadingLinksEntityIds?: Set<string>;
545
+ }
546
+ }
547
+
548
+
546
549
  declare global {
547
550
  interface Window {
548
551
  senderId: string;
@@ -31,20 +31,6 @@ export declare type PickerSelection = Record<PickerEntityType, RowSelectionState
31
31
  export { }
32
32
 
33
33
 
34
- declare module '@tanstack/react-table' {
35
- interface TableMeta<TData extends RowData> {
36
- options?: BuiltInFieldOptions;
37
- readOnly?: ProjectTreeTableProps['readOnly'];
38
- projectName?: string;
39
- updateEntities?: CellUpdate;
40
- toggleExpandAll?: ToggleExpandAll;
41
- selection?: string[];
42
- columnsConfig?: ColumnsConfig;
43
- loadingLinksEntityIds?: Set<string>;
44
- }
45
- }
46
-
47
-
48
34
  declare module '@tanstack/react-table' {
49
35
  interface FilterFns {
50
36
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -61,6 +47,23 @@ declare module '@tanstack/react-table' {
61
47
  }
62
48
 
63
49
 
50
+ declare module '@tanstack/react-table' {
51
+ interface ColumnMeta<TData extends RowData, TValue> {
52
+ addonColumn?: AddonColumnMeta;
53
+ }
54
+ interface TableMeta<TData extends RowData> {
55
+ options?: BuiltInFieldOptions;
56
+ readOnly?: ProjectTreeTableProps['readOnly'];
57
+ projectName?: string;
58
+ updateEntities?: CellUpdate;
59
+ toggleExpandAll?: ToggleExpandAll;
60
+ selection?: string[];
61
+ columnsConfig?: ColumnsConfig;
62
+ loadingLinksEntityIds?: Set<string>;
63
+ }
64
+ }
65
+
66
+
64
67
  declare global {
65
68
  interface Window {
66
69
  senderId: string;
@@ -374,20 +374,6 @@ declare type VersionSuggestionItem = {
374
374
  export { }
375
375
 
376
376
 
377
- declare module '@tanstack/react-table' {
378
- interface TableMeta<TData extends RowData> {
379
- options?: BuiltInFieldOptions;
380
- readOnly?: ProjectTreeTableProps['readOnly'];
381
- projectName?: string;
382
- updateEntities?: CellUpdate;
383
- toggleExpandAll?: ToggleExpandAll;
384
- selection?: string[];
385
- columnsConfig?: ColumnsConfig;
386
- loadingLinksEntityIds?: Set<string>;
387
- }
388
- }
389
-
390
-
391
377
  declare module '@tanstack/react-table' {
392
378
  interface FilterFns {
393
379
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -404,6 +390,23 @@ declare module '@tanstack/react-table' {
404
390
  }
405
391
 
406
392
 
393
+ declare module '@tanstack/react-table' {
394
+ interface ColumnMeta<TData extends RowData, TValue> {
395
+ addonColumn?: AddonColumnMeta;
396
+ }
397
+ interface TableMeta<TData extends RowData> {
398
+ options?: BuiltInFieldOptions;
399
+ readOnly?: ProjectTreeTableProps['readOnly'];
400
+ projectName?: string;
401
+ updateEntities?: CellUpdate;
402
+ toggleExpandAll?: ToggleExpandAll;
403
+ selection?: string[];
404
+ columnsConfig?: ColumnsConfig;
405
+ loadingLinksEntityIds?: Set<string>;
406
+ }
407
+ }
408
+
409
+
407
410
  declare global {
408
411
  interface Window {
409
412
  senderId: string;
@@ -266,20 +266,6 @@ export declare const renderListTableFallbackValue: (value: unknown) => string;
266
266
  export { }
267
267
 
268
268
 
269
- declare module '@tanstack/react-table' {
270
- interface TableMeta<TData extends RowData> {
271
- options?: BuiltInFieldOptions;
272
- readOnly?: ProjectTreeTableProps['readOnly'];
273
- projectName?: string;
274
- updateEntities?: CellUpdate;
275
- toggleExpandAll?: ToggleExpandAll;
276
- selection?: string[];
277
- columnsConfig?: ColumnsConfig;
278
- loadingLinksEntityIds?: Set<string>;
279
- }
280
- }
281
-
282
-
283
269
  declare module '@tanstack/react-table' {
284
270
  interface FilterFns {
285
271
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -296,6 +282,23 @@ declare module '@tanstack/react-table' {
296
282
  }
297
283
 
298
284
 
285
+ declare module '@tanstack/react-table' {
286
+ interface ColumnMeta<TData extends RowData, TValue> {
287
+ addonColumn?: AddonColumnMeta;
288
+ }
289
+ interface TableMeta<TData extends RowData> {
290
+ options?: BuiltInFieldOptions;
291
+ readOnly?: ProjectTreeTableProps['readOnly'];
292
+ projectName?: string;
293
+ updateEntities?: CellUpdate;
294
+ toggleExpandAll?: ToggleExpandAll;
295
+ selection?: string[];
296
+ columnsConfig?: ColumnsConfig;
297
+ loadingLinksEntityIds?: Set<string>;
298
+ }
299
+ }
300
+
301
+
299
302
  declare global {
300
303
  interface Window {
301
304
  senderId: string;
@@ -203,20 +203,6 @@ export declare const useNewEntityContext: () => NewEntityContextType;
203
203
  export { }
204
204
 
205
205
 
206
- declare module '@tanstack/react-table' {
207
- interface TableMeta<TData extends RowData> {
208
- options?: BuiltInFieldOptions;
209
- readOnly?: ProjectTreeTableProps['readOnly'];
210
- projectName?: string;
211
- updateEntities?: CellUpdate;
212
- toggleExpandAll?: ToggleExpandAll;
213
- selection?: string[];
214
- columnsConfig?: ColumnsConfig;
215
- loadingLinksEntityIds?: Set<string>;
216
- }
217
- }
218
-
219
-
220
206
  declare module '@tanstack/react-table' {
221
207
  interface FilterFns {
222
208
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -233,6 +219,23 @@ declare module '@tanstack/react-table' {
233
219
  }
234
220
 
235
221
 
222
+ declare module '@tanstack/react-table' {
223
+ interface ColumnMeta<TData extends RowData, TValue> {
224
+ addonColumn?: AddonColumnMeta;
225
+ }
226
+ interface TableMeta<TData extends RowData> {
227
+ options?: BuiltInFieldOptions;
228
+ readOnly?: ProjectTreeTableProps['readOnly'];
229
+ projectName?: string;
230
+ updateEntities?: CellUpdate;
231
+ toggleExpandAll?: ToggleExpandAll;
232
+ selection?: string[];
233
+ columnsConfig?: ColumnsConfig;
234
+ loadingLinksEntityIds?: Set<string>;
235
+ }
236
+ }
237
+
238
+
236
239
  declare global {
237
240
  interface Window {
238
241
  senderId: string;