@ynput/ayon-frontend-shared 0.6.0 → 0.6.1

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 (89) hide show
  1. package/dist/ContextMenu.es.js +34 -16
  2. package/dist/DetailsPanel.es.js +292 -298
  3. package/dist/Feed.es.js +179 -50
  4. package/dist/ListTable.es.js +32 -35
  5. package/dist/NewEntity.es.js +1256 -11
  6. package/dist/ProjectTreeTable.es.js +4451 -2965
  7. package/dist/SimpleTable.es.js +8 -7
  8. package/dist/Slicer.es.js +451 -147
  9. package/dist/Views.es.js +918 -310
  10. package/dist/chunks/Actions.es.js +9 -4
  11. package/dist/chunks/ColumnDropIndicator.es.js +174 -328
  12. package/dist/chunks/ColumnDropIndicator.styled.es.js +281 -0
  13. package/dist/chunks/ColumnHeaderMenuUI.es.js +52 -0
  14. package/dist/chunks/ContextMenuContextInstance.es.js +12 -0
  15. package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +229 -0
  16. package/dist/chunks/DeleteEntitiesContextInstance.es.js +827 -0
  17. package/dist/chunks/EmptyPlaceholder.es.js +4 -4
  18. package/dist/chunks/EntityPath.es.js +58 -53
  19. package/dist/chunks/EntityPickerDialog.es.js +24 -20
  20. package/dist/chunks/EntityTooltip.es.js +20 -13
  21. package/dist/chunks/EntityUpdatesContext.es.js +38 -96
  22. package/dist/chunks/Feed.es.js +1495 -1439
  23. package/dist/chunks/FilterErrorActions.es.js +25 -229
  24. package/dist/chunks/Menu.es.js +21 -17
  25. package/dist/chunks/MenuContext.es.js +14 -65
  26. package/dist/chunks/MenuItem.es.js +34 -24
  27. package/dist/chunks/MetaWidget.es.js +2835 -4301
  28. package/dist/chunks/NewEntityContextInstance.es.js +11 -0
  29. package/dist/chunks/PlayableIcon.es.js +1532 -1594
  30. package/dist/chunks/ProjectContext.es.js +102 -66
  31. package/dist/chunks/RepresentationsList.es.js +1 -1
  32. package/dist/chunks/ReviewablesSelector.es.js +457 -458
  33. package/dist/chunks/SimpleForm.es.js +9 -9
  34. package/dist/chunks/SimpleTable.es.js +15 -13
  35. package/dist/chunks/Slicer.es.js +163 -154
  36. package/dist/chunks/TableSettingsFallback.es.js +25 -13
  37. package/dist/chunks/ThumbnailSimple.es.js +150 -261
  38. package/dist/chunks/VersionUploadContextInstance.es.js +12 -0
  39. package/dist/chunks/VideoPlayer.es.js +24 -28
  40. package/dist/chunks/Watchers.es.js +384 -389
  41. package/dist/chunks/entityDefinitions.es.js +2 -350
  42. package/dist/chunks/extractVersionFromFilename.es.js +28 -0
  43. package/dist/chunks/getBundleMode.es.js +61 -16
  44. package/dist/chunks/getUris.es.js +737 -712
  45. package/dist/chunks/searchTerms.es.js +57 -56
  46. package/dist/chunks/useAttributeEnums.es.js +4 -4
  47. package/dist/chunks/useCreateContextMenu.es.js +66 -90
  48. package/dist/chunks/useHierarchySelection.es.js +24 -0
  49. package/dist/chunks/useLoadModule.es.js +74 -0
  50. package/dist/chunks/useQueryArgumentChangeLoading.es.js +11 -0
  51. package/dist/chunks/versionUploadHelpers.es.js +16 -42
  52. package/dist/chunks/viewUpdateHelper.es.js +67 -50
  53. package/dist/components.es.js +1425 -999
  54. package/dist/context.es.js +791 -80
  55. package/dist/hooks.es.js +115 -120
  56. package/dist/index.es.js +19 -23
  57. package/dist/types/Actions.d.ts +7 -7
  58. package/dist/types/ContextMenu.d.ts +11 -8
  59. package/dist/types/DetailsPanel.d.ts +102 -9
  60. package/dist/types/EntityPickerDialog.d.ts +7 -7
  61. package/dist/types/Feed.d.ts +11 -8
  62. package/dist/types/ListTable.d.ts +7 -7
  63. package/dist/types/NewEntity.d.ts +16 -10
  64. package/dist/types/ProjectTreeTable.d.ts +22 -115
  65. package/dist/types/RepresentationsList.d.ts +7 -7
  66. package/dist/types/SimpleTable.d.ts +11 -8
  67. package/dist/types/Slicer.d.ts +10 -7
  68. package/dist/types/Views.d.ts +10 -7
  69. package/dist/types/api.d.ts +132 -120
  70. package/dist/types/components.d.ts +13 -8
  71. package/dist/types/context.d.ts +56 -16
  72. package/dist/types/hooks.d.ts +7 -7
  73. package/dist/types/index.d.ts +7 -7
  74. package/dist/types/util.d.ts +12 -7
  75. package/dist/util.es.js +72 -71
  76. package/package.json +1 -1
  77. package/dist/chunks/DeleteEntitiesContext.es.js +0 -748
  78. package/dist/chunks/DetailsPanelContext.es.js +0 -155
  79. package/dist/chunks/GlobalContext.es.js +0 -52
  80. package/dist/chunks/NewEntityContext.es.js +0 -1242
  81. package/dist/chunks/ProjectFoldersContext.es.js +0 -134
  82. package/dist/chunks/ProjectFoldersContextInstance.es.js +0 -7
  83. package/dist/chunks/VersionUploadContext.es.js +0 -232
  84. package/dist/chunks/ViewsContext.es.js +0 -878
  85. package/dist/chunks/uriUtils.es.js +0 -48
  86. package/dist/chunks/useColumnDragRestriction.es.js +0 -158
  87. package/dist/chunks/useLocalStorage.es.js +0 -355
  88. package/dist/chunks/useSessionStorage.es.js +0 -61
  89. /package/dist/{useCreateContextMenu.css → ContextMenuContextInstance.css} +0 -0
@@ -123,7 +123,7 @@ export declare type DetailsPanelProps = {
123
123
  disabledStatuses?: string[];
124
124
  projectUsers?: User[];
125
125
  disabledProjectUsers?: string[];
126
- activeProjectUsers?: string[];
126
+ activeProjectUsers?: User[];
127
127
  projectsInfo?: Record<string, ProjectModelWithProducts>;
128
128
  projectNames?: string[];
129
129
  isSlideOut?: boolean;
@@ -163,7 +163,7 @@ declare type DetailsPanelRepresentationFragmentFragment = {
163
163
  export declare const DetailsPanelSlideOut: ({ projectsInfo, scope }: DetailsPanelSlideOutProps) => JSX_2.Element | null;
164
164
 
165
165
  export declare type DetailsPanelSlideOutProps = {
166
- projectsInfo: Record<string, ProjectModel>;
166
+ projectsInfo: Record<string, ProjectModel_2>;
167
167
  scope: string;
168
168
  };
169
169
 
@@ -204,6 +204,14 @@ declare type FolderType_2 = {
204
204
  icon?: string;
205
205
  };
206
206
 
207
+ declare type FolderType_2_2 = {
208
+ name: string;
209
+ original_name?: string;
210
+ shortName?: string;
211
+ color?: string;
212
+ icon?: string;
213
+ };
214
+
207
215
  export declare const Footer: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
208
216
 
209
217
  declare type GetDetailsPanelTaskQuery = {
@@ -283,6 +291,19 @@ declare type LinkTypeModel_2 = {
283
291
  data?: object;
284
292
  };
285
293
 
294
+ declare type LinkTypeModel_2_2 = {
295
+ /** Name of the link type */
296
+ name: string;
297
+ /** Type of the link */
298
+ linkType: string;
299
+ /** Input entity type */
300
+ inputType: string;
301
+ /** Output entity type */
302
+ outputType: string;
303
+ /** Additional link type data */
304
+ data?: object;
305
+ };
306
+
286
307
  /**
287
308
  * Normalized entity ref handed to `openAddToListDialog`. Mirrors the source
288
309
  * `ListEntityInput` (entityType present, may be undefined) so the app's context is
@@ -332,6 +353,29 @@ declare type ProjectAttribModel2 = {
332
353
  description?: string;
333
354
  };
334
355
 
356
+ declare type ProjectAttribModel2_2 = {
357
+ priority?: 'urgent' | 'high' | 'normal' | 'low';
358
+ /** Frame rate */
359
+ fps?: number;
360
+ /** Horizontal resolution */
361
+ resolutionWidth?: number;
362
+ /** Vertical resolution */
363
+ resolutionHeight?: number;
364
+ pixelAspect?: number;
365
+ clipIn?: number;
366
+ clipOut?: number;
367
+ frameStart?: number;
368
+ frameEnd?: number;
369
+ handleStart?: number;
370
+ handleEnd?: number;
371
+ /** Date and time when the project or task or asset was started */
372
+ startDate?: string;
373
+ /** Deadline date and time */
374
+ endDate?: string;
375
+ /** Textual description of the entity */
376
+ description?: string;
377
+ };
378
+
335
379
  declare type ProjectModel = {
336
380
  /** Name is an unique id of the {entity_name} */
337
381
  name: string;
@@ -356,6 +400,30 @@ declare type ProjectModel = {
356
400
  updatedAt?: string;
357
401
  };
358
402
 
403
+ declare type ProjectModel_2 = {
404
+ /** Name is an unique id of the {entity_name} */
405
+ name: string;
406
+ code: string;
407
+ label?: string;
408
+ library?: boolean;
409
+ folderTypes?: FolderType_2_2[];
410
+ taskTypes?: TaskType_2_2[];
411
+ linkTypes?: LinkTypeModel_2_2[];
412
+ statuses?: Status_2_2[];
413
+ tags?: Tag_2_2[];
414
+ config?: object;
415
+ skeleton?: boolean;
416
+ attrib?: ProjectAttribModel2_2;
417
+ data?: object;
418
+ /** Whether the project is active */
419
+ active?: boolean;
420
+ ownAttrib?: string[];
421
+ /** Time of creation */
422
+ createdAt?: string;
423
+ /** Time of last update */
424
+ updatedAt?: string;
425
+ };
426
+
359
427
  declare type ProjectModelWithProducts = ProjectModel & {
360
428
  productTypes: ProductTypeListItem[];
361
429
  };
@@ -373,6 +441,17 @@ declare type Status_2 = {
373
441
  scope?: string[];
374
442
  };
375
443
 
444
+ declare type Status_2_2 = {
445
+ name: string;
446
+ original_name?: string;
447
+ shortName?: string;
448
+ state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
449
+ icon?: string;
450
+ color?: string;
451
+ /** Limit the status to specific entity types. */
452
+ scope?: string[];
453
+ };
454
+
376
455
  export declare const StatusSelect: IStyledComponentBase<"web", FastOmit< FastOmit<Omit< StatusSelectProps & RefAttributes<DropdownRef>, "ref"> & {
377
456
  ref?: ((instance: DropdownRef | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<DropdownRef> | null | undefined;
378
457
  }, "$textColor"> & StatusSelectProps, never> & Partial<Pick< FastOmit<Omit< StatusSelectProps & RefAttributes<DropdownRef>, "ref"> & {
@@ -391,6 +470,12 @@ declare type Tag_2 = {
391
470
  color?: string;
392
471
  };
393
472
 
473
+ declare type Tag_2_2 = {
474
+ name: string;
475
+ original_name?: string;
476
+ color?: string;
477
+ };
478
+
394
479
  export declare const TagsSelect: IStyledComponentBase<"web", FastOmit<Omit< TagsSelectProps & RefAttributes<DropdownRef>, "ref"> & {
395
480
  ref?: ((instance: DropdownRef | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<DropdownRef> | null | undefined;
396
481
  }, never> & Partial<Pick<Omit< TagsSelectProps & RefAttributes<DropdownRef>, "ref"> & {
@@ -405,6 +490,14 @@ declare type TaskType_2 = {
405
490
  icon?: string;
406
491
  };
407
492
 
493
+ declare type TaskType_2_2 = {
494
+ name: string;
495
+ original_name?: string;
496
+ shortName?: string;
497
+ color?: string;
498
+ icon?: string;
499
+ };
500
+
408
501
  export declare const ThumbnailWrapper: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
409
502
 
410
503
  export declare const Title: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -434,13 +527,6 @@ declare module '@tanstack/react-table' {
434
527
  }
435
528
 
436
529
 
437
- declare global {
438
- interface Window {
439
- senderId: string;
440
- }
441
- }
442
-
443
-
444
530
  declare module '@tanstack/react-table' {
445
531
  interface TableMeta<TData extends RowData> {
446
532
  options?: BuiltInFieldOptions;
@@ -455,6 +541,13 @@ declare module '@tanstack/react-table' {
455
541
  }
456
542
 
457
543
 
544
+ declare global {
545
+ interface Window {
546
+ senderId: string;
547
+ }
548
+ }
549
+
550
+
458
551
  declare module '@tanstack/react-table' {
459
552
  interface ColumnMeta<TData extends RowData, TValue> {
460
553
  listTableCustomCell?: boolean;
@@ -47,13 +47,6 @@ declare module '@tanstack/react-table' {
47
47
  }
48
48
 
49
49
 
50
- declare global {
51
- interface Window {
52
- senderId: string;
53
- }
54
- }
55
-
56
-
57
50
  declare module '@tanstack/react-table' {
58
51
  interface TableMeta<TData extends RowData> {
59
52
  options?: BuiltInFieldOptions;
@@ -68,6 +61,13 @@ declare module '@tanstack/react-table' {
68
61
  }
69
62
 
70
63
 
64
+ declare global {
65
+ interface Window {
66
+ senderId: string;
67
+ }
68
+ }
69
+
70
+
71
71
  declare module '@tanstack/react-table' {
72
72
  interface ColumnMeta<TData extends RowData, TValue> {
73
73
  listTableCustomCell?: boolean;
@@ -1,3 +1,4 @@
1
+ import { Context } from 'react';
1
2
  import { default as default_2 } from 'react';
2
3
  import { DropdownProps } from '@ynput/ayon-react-components';
3
4
  import { FC } from 'react';
@@ -85,6 +86,8 @@ export declare const Feed: ({ disabled, readOnly, statuses, entityListId, isSlid
85
86
 
86
87
  export declare const FEED_NEW_COMMENT: "__new__";
87
88
 
89
+ export declare const FeedContext: Context<FeedContextType | undefined>;
90
+
88
91
  export declare type FeedContextProps = {
89
92
  children: default_2.ReactNode;
90
93
  projectName: string;
@@ -102,7 +105,7 @@ export declare type FeedContextProps = {
102
105
  setFeedFilter?: (filter: FeedFilter) => void;
103
106
  };
104
107
 
105
- declare interface FeedContextType extends Omit<FeedContextProps, 'children'> {
108
+ export declare interface FeedContextType extends Omit<FeedContextProps, 'children'> {
106
109
  editingId: EditingState;
107
110
  setEditingId: (id: EditingState) => void;
108
111
  activitiesData: any[];
@@ -332,13 +335,6 @@ declare module '@tanstack/react-table' {
332
335
  }
333
336
 
334
337
 
335
- declare global {
336
- interface Window {
337
- senderId: string;
338
- }
339
- }
340
-
341
-
342
338
  declare module '@tanstack/react-table' {
343
339
  interface TableMeta<TData extends RowData> {
344
340
  options?: BuiltInFieldOptions;
@@ -353,6 +349,13 @@ declare module '@tanstack/react-table' {
353
349
  }
354
350
 
355
351
 
352
+ declare global {
353
+ interface Window {
354
+ senderId: string;
355
+ }
356
+ }
357
+
358
+
356
359
  declare module '@tanstack/react-table' {
357
360
  interface ColumnMeta<TData extends RowData, TValue> {
358
361
  listTableCustomCell?: boolean;
@@ -282,13 +282,6 @@ declare module '@tanstack/react-table' {
282
282
  }
283
283
 
284
284
 
285
- declare global {
286
- interface Window {
287
- senderId: string;
288
- }
289
- }
290
-
291
-
292
285
  declare module '@tanstack/react-table' {
293
286
  interface TableMeta<TData extends RowData> {
294
287
  options?: BuiltInFieldOptions;
@@ -303,6 +296,13 @@ declare module '@tanstack/react-table' {
303
296
  }
304
297
 
305
298
 
299
+ declare global {
300
+ interface Window {
301
+ senderId: string;
302
+ }
303
+ }
304
+
305
+
306
306
  declare module '@tanstack/react-table' {
307
307
  interface ColumnMeta<TData extends RowData, TValue> {
308
308
  listTableCustomCell?: boolean;
@@ -1,8 +1,12 @@
1
+ import { Context } from 'react';
1
2
  import { default as default_2 } from 'react';
3
+ import { DetailedHTMLProps } from 'react';
2
4
  import { FastOmit } from 'styled-components';
5
+ import { HTMLAttributes } from 'react';
3
6
  import { IconProps } from '@ynput/ayon-react-components';
4
7
  import { IStyledComponentBase } from 'styled-components/dist/types';
5
8
  import { KeyboardEvent as KeyboardEvent_2 } from 'react';
9
+ import { LabelHTMLAttributes } from 'react';
6
10
  import { ReactNode } from 'react';
7
11
 
8
12
  export declare interface EntityForm {
@@ -28,9 +32,9 @@ declare type FolderType_2 = {
28
32
 
29
33
  export declare const generateLabel: (type: NewEntityType | null, subType: string, projectInfo: ProjectModel | undefined) => string;
30
34
 
31
- export declare const InputLabel: IStyledComponentBase<"web", FastOmit<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never> & Partial<Pick<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>>> & string;
35
+ export declare const InputLabel: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never> & Partial<Pick< DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>>> & string;
32
36
 
33
- export declare const InputsContainer: IStyledComponentBase<"web", FastOmit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
37
+ export declare const InputsContainer: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
34
38
 
35
39
  declare type LinkTypeModel_2 = {
36
40
  /** Name of the link type */
@@ -45,10 +49,12 @@ declare type LinkTypeModel_2 = {
45
49
  data?: object;
46
50
  };
47
51
 
48
- export declare const NameRow: IStyledComponentBase<"web", FastOmit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
52
+ export declare const NameRow: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
49
53
 
50
54
  export declare const NewEntity: default_2.FC<NewEntityProps>;
51
55
 
56
+ export declare const NewEntityContext: Context<NewEntityContextType | undefined>;
57
+
52
58
  export declare interface NewEntityContextType {
53
59
  config: EntityNaming;
54
60
  entityType: NewEntityType | null;
@@ -212,13 +218,6 @@ declare module '@tanstack/react-table' {
212
218
  }
213
219
 
214
220
 
215
- declare global {
216
- interface Window {
217
- senderId: string;
218
- }
219
- }
220
-
221
-
222
221
  declare module '@tanstack/react-table' {
223
222
  interface TableMeta<TData extends RowData> {
224
223
  options?: BuiltInFieldOptions;
@@ -233,6 +232,13 @@ declare module '@tanstack/react-table' {
233
232
  }
234
233
 
235
234
 
235
+ declare global {
236
+ interface Window {
237
+ senderId: string;
238
+ }
239
+ }
240
+
241
+
236
242
  declare module '@tanstack/react-table' {
237
243
  interface ColumnMeta<TData extends RowData, TValue> {
238
244
  listTableCustomCell?: boolean;
@@ -390,6 +390,8 @@ declare type CheckSelectedCellsVisibleProps = {
390
390
 
391
391
  export declare const clientFilterToQueryFilter: (filters: FilterForQuery[]) => QueryFilter;
392
392
 
393
+ export declare const ClipboardContext: Context<ClipboardContextType | undefined>;
394
+
393
395
  export declare interface ClipboardContextType {
394
396
  copyToClipboard: (selected?: string[], fullRow?: boolean) => Promise<void>;
395
397
  pasteFromClipboard: (selected: string[], config?: {
@@ -1252,14 +1254,6 @@ declare type FolderType_2 = {
1252
1254
  icon?: string;
1253
1255
  };
1254
1256
 
1255
- declare type FolderType_2_2 = {
1256
- name: string;
1257
- original_name?: string;
1258
- shortName?: string;
1259
- color?: string;
1260
- icon?: string;
1261
- };
1262
-
1263
1257
  declare type FolderType_3 = {
1264
1258
  name: string;
1265
1259
  original_name?: string;
@@ -2065,19 +2059,6 @@ declare type LinkTypeModel_2 = {
2065
2059
  data?: object;
2066
2060
  };
2067
2061
 
2068
- declare type LinkTypeModel_2_2 = {
2069
- /** Name of the link type */
2070
- name: string;
2071
- /** Type of the link */
2072
- linkType: string;
2073
- /** Input entity type */
2074
- inputType: string;
2075
- /** Output entity type */
2076
- outputType: string;
2077
- /** Additional link type data */
2078
- data?: object;
2079
- };
2080
-
2081
2062
  export declare type LinkValue = LinkEntity[];
2082
2063
 
2083
2064
  export declare type LinkWidgetData = {
@@ -2239,7 +2220,8 @@ declare interface Option_2 {
2239
2220
  declare type Params = {
2240
2221
  users: {
2241
2222
  name: string;
2242
- fullName?: string;
2223
+ fullName?: string | null;
2224
+ hidden?: boolean;
2243
2225
  }[];
2244
2226
  statuses: Status_3[];
2245
2227
  folderTypes: FolderType_3[];
@@ -2412,13 +2394,6 @@ declare type ProductTypeListItem = {
2412
2394
  icon?: string;
2413
2395
  };
2414
2396
 
2415
- declare type ProductTypeListItem_2 = {
2416
- name: string;
2417
- baseType?: string;
2418
- color?: string;
2419
- icon?: string;
2420
- };
2421
-
2422
2397
  declare type ProjectAttribModel = {
2423
2398
  priority?: 'urgent' | 'high' | 'normal' | 'low';
2424
2399
  /** Frame rate */
@@ -2465,29 +2440,6 @@ declare type ProjectAttribModel2 = {
2465
2440
  description?: string;
2466
2441
  };
2467
2442
 
2468
- declare type ProjectAttribModel2_2 = {
2469
- priority?: 'urgent' | 'high' | 'normal' | 'low';
2470
- /** Frame rate */
2471
- fps?: number;
2472
- /** Horizontal resolution */
2473
- resolutionWidth?: number;
2474
- /** Vertical resolution */
2475
- resolutionHeight?: number;
2476
- pixelAspect?: number;
2477
- clipIn?: number;
2478
- clipOut?: number;
2479
- frameStart?: number;
2480
- frameEnd?: number;
2481
- handleStart?: number;
2482
- handleEnd?: number;
2483
- /** Date and time when the project or task or asset was started */
2484
- startDate?: string;
2485
- /** Deadline date and time */
2486
- endDate?: string;
2487
- /** Textual description of the entity */
2488
- description?: string;
2489
- };
2490
-
2491
2443
  declare type ProjectAttribModel_2 = {
2492
2444
  priority?: 'urgent' | 'high' | 'normal' | 'low';
2493
2445
  /** Frame rate */
@@ -2534,6 +2486,8 @@ declare interface ProjectContextValue extends ProjectModelWithProducts {
2534
2486
  }[];
2535
2487
  }
2536
2488
 
2489
+ export declare const ProjectDataContext: Context<ProjectDataContextProps | undefined>;
2490
+
2537
2491
  export declare interface ProjectDataContextProps {
2538
2492
  isInitialized: boolean;
2539
2493
  isLoading: boolean;
@@ -2599,38 +2553,10 @@ declare type ProjectModel = {
2599
2553
  updatedAt?: string;
2600
2554
  };
2601
2555
 
2602
- declare type ProjectModel_2 = {
2603
- /** Name is an unique id of the {entity_name} */
2604
- name: string;
2605
- code: string;
2606
- label?: string;
2607
- library?: boolean;
2608
- folderTypes?: FolderType_2_2[];
2609
- taskTypes?: TaskType_2_2[];
2610
- linkTypes?: LinkTypeModel_2_2[];
2611
- statuses?: Status_2_2[];
2612
- tags?: Tag_2_2[];
2613
- config?: object;
2614
- skeleton?: boolean;
2615
- attrib?: ProjectAttribModel2_2;
2616
- data?: object;
2617
- /** Whether the project is active */
2618
- active?: boolean;
2619
- ownAttrib?: string[];
2620
- /** Time of creation */
2621
- createdAt?: string;
2622
- /** Time of last update */
2623
- updatedAt?: string;
2624
- };
2625
-
2626
2556
  declare type ProjectModelWithProducts = ProjectModel & {
2627
2557
  productTypes: ProductTypeListItem[];
2628
2558
  };
2629
2559
 
2630
- declare type ProjectModelWithProducts_2 = ProjectModel_2 & {
2631
- productTypes: ProductTypeListItem_2[];
2632
- };
2633
-
2634
2560
  export declare interface ProjectOverviewContextType {
2635
2561
  isInitialized: boolean;
2636
2562
  projectInfo?: ProjectInfo;
@@ -2709,6 +2635,8 @@ declare interface ProjectTableAttribute_2 extends AttributeModel {
2709
2635
  enumError?: string;
2710
2636
  }
2711
2637
 
2638
+ export declare const ProjectTableContext: Context<ProjectTableContextType | undefined>;
2639
+
2712
2640
  export declare interface ProjectTableContextType {
2713
2641
  isInitialized: ProjectTableProviderProps['isInitialized'];
2714
2642
  isLoading: ProjectTableProviderProps['isLoading'];
@@ -2835,6 +2763,8 @@ export declare interface ProjectTableProviderProps {
2835
2763
  dispatch?: ThunkDispatch<any, any, UnknownAction>;
2836
2764
  }
2837
2765
 
2766
+ export declare const ProjectTableQueriesContext: Context<ProjectTableQueriesContextProps | undefined>;
2767
+
2838
2768
  export declare interface ProjectTableQueriesContextProps {
2839
2769
  updateEntities: ProjectTableQueriesProviderProps['updateEntities'];
2840
2770
  getFoldersTasks: ProjectTableQueriesProviderProps['getFoldersTasks'];
@@ -2896,7 +2826,7 @@ export declare interface ProjectTreeTableProps extends React.HTMLAttributes<HTML
2896
2826
  }
2897
2827
 
2898
2828
  declare type Props = {
2899
- projectInfo?: ProjectModelWithProducts_2;
2829
+ projectInfo?: ProjectModelWithProducts;
2900
2830
  };
2901
2831
 
2902
2832
  declare type PublishTemplate = {
@@ -3247,17 +3177,6 @@ declare type Status_2 = {
3247
3177
  scope?: string[];
3248
3178
  };
3249
3179
 
3250
- declare type Status_2_2 = {
3251
- name: string;
3252
- original_name?: string;
3253
- shortName?: string;
3254
- state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
3255
- icon?: string;
3256
- color?: string;
3257
- /** Limit the status to specific entity types. */
3258
- scope?: string[];
3259
- };
3260
-
3261
3180
  declare type Status_3 = {
3262
3181
  name: string;
3263
3182
  original_name?: string;
@@ -3426,7 +3345,8 @@ export declare interface TableRow {
3426
3345
 
3427
3346
  export declare type TableUser = {
3428
3347
  name: string;
3429
- fullName?: string;
3348
+ fullName?: string | null;
3349
+ hidden?: boolean;
3430
3350
  };
3431
3351
 
3432
3352
  declare type Tag = {
@@ -3441,12 +3361,6 @@ declare type Tag_2 = {
3441
3361
  color?: string;
3442
3362
  };
3443
3363
 
3444
- declare type Tag_2_2 = {
3445
- name: string;
3446
- original_name?: string;
3447
- color?: string;
3448
- };
3449
-
3450
3364
  declare type Tag_3 = {
3451
3365
  name: string;
3452
3366
  original_name?: string;
@@ -3512,14 +3426,6 @@ declare type TaskType_2 = {
3512
3426
  icon?: string;
3513
3427
  };
3514
3428
 
3515
- declare type TaskType_2_2 = {
3516
- name: string;
3517
- original_name?: string;
3518
- shortName?: string;
3519
- color?: string;
3520
- icon?: string;
3521
- };
3522
-
3523
3429
  declare type TaskType_3 = {
3524
3430
  name: string;
3525
3431
  original_name?: string;
@@ -3745,7 +3651,7 @@ declare type useFetchOverviewDataData = {
3745
3651
  onSyncData: OnSyncDataCallback;
3746
3652
  };
3747
3653
 
3748
- export declare const useGetEntityTypeData: ({ projectInfo }: Props) => (type: "folder" | "task" | "product" | string | undefined, subType?: string) => ProductType_2 | FolderType_3 | undefined;
3654
+ export declare const useGetEntityTypeData: ({ projectInfo }: Props) => (type: "folder" | "task" | "product" | string | undefined, subType?: string) => FolderType_3 | ProductType_2 | undefined;
3749
3655
 
3750
3656
  export declare const useGetGroupedFields: ({ allowedTypes, enumOnly, scope, }: {
3751
3657
  allowedTypes?: ("string" | "integer" | "float")[];
@@ -3814,6 +3720,7 @@ declare interface UseQueryFiltersProps {
3814
3720
  declare type User = {
3815
3721
  name: string;
3816
3722
  fullName: string;
3723
+ hidden?: boolean;
3817
3724
  };
3818
3725
 
3819
3726
  declare type UserAttribModel = {
@@ -4124,13 +4031,6 @@ declare module '@tanstack/react-table' {
4124
4031
  }
4125
4032
 
4126
4033
 
4127
- declare global {
4128
- interface Window {
4129
- senderId: string;
4130
- }
4131
- }
4132
-
4133
-
4134
4034
  declare module '@tanstack/react-table' {
4135
4035
  interface TableMeta<TData extends RowData> {
4136
4036
  options?: BuiltInFieldOptions;
@@ -4145,6 +4045,13 @@ declare module '@tanstack/react-table' {
4145
4045
  }
4146
4046
 
4147
4047
 
4048
+ declare global {
4049
+ interface Window {
4050
+ senderId: string;
4051
+ }
4052
+ }
4053
+
4054
+
4148
4055
  declare module '@tanstack/react-table' {
4149
4056
  interface ColumnMeta<TData extends RowData, TValue> {
4150
4057
  listTableCustomCell?: boolean;
@@ -160,13 +160,6 @@ declare module '@tanstack/react-table' {
160
160
  }
161
161
 
162
162
 
163
- declare global {
164
- interface Window {
165
- senderId: string;
166
- }
167
- }
168
-
169
-
170
163
  declare module '@tanstack/react-table' {
171
164
  interface TableMeta<TData extends RowData> {
172
165
  options?: BuiltInFieldOptions;
@@ -181,6 +174,13 @@ declare module '@tanstack/react-table' {
181
174
  }
182
175
 
183
176
 
177
+ declare global {
178
+ interface Window {
179
+ senderId: string;
180
+ }
181
+ }
182
+
183
+
184
184
  declare module '@tanstack/react-table' {
185
185
  interface ColumnMeta<TData extends RowData, TValue> {
186
186
  listTableCustomCell?: boolean;
@@ -1,5 +1,6 @@
1
1
  import { ButtonProps } from '@ynput/ayon-react-components';
2
2
  import { Component } from 'react';
3
+ import { Context } from 'react';
3
4
  import { default as default_2 } from 'react';
4
5
  import { DetailedHTMLProps } from 'react';
5
6
  import { DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES } from 'react';
@@ -140,7 +141,9 @@ export declare interface SimpleTableCellTemplateProps extends React.HTMLAttribut
140
141
  };
141
142
  }
142
143
 
143
- declare interface SimpleTableContextValue {
144
+ export declare const SimpleTableContext: Context<SimpleTableContextValue | undefined>;
145
+
146
+ export declare interface SimpleTableContextValue {
144
147
  expanded?: ExpandedState;
145
148
  setExpanded?: React.Dispatch<React.SetStateAction<ExpandedState>>;
146
149
  onExpandedChange?: (expanded: ExpandedState) => void;
@@ -258,13 +261,6 @@ declare module '@tanstack/react-table' {
258
261
  }
259
262
 
260
263
 
261
- declare global {
262
- interface Window {
263
- senderId: string;
264
- }
265
- }
266
-
267
-
268
264
  declare module '@tanstack/react-table' {
269
265
  interface TableMeta<TData extends RowData> {
270
266
  options?: BuiltInFieldOptions;
@@ -279,6 +275,13 @@ declare module '@tanstack/react-table' {
279
275
  }
280
276
 
281
277
 
278
+ declare global {
279
+ interface Window {
280
+ senderId: string;
281
+ }
282
+ }
283
+
284
+
282
285
  declare module '@tanstack/react-table' {
283
286
  interface ColumnMeta<TData extends RowData, TValue> {
284
287
  listTableCustomCell?: boolean;