@ynput/ayon-frontend-shared 0.6.0 → 0.6.2

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 +461 -467
  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 +486 -470
  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 +59 -57
  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 +14 -14
  58. package/dist/types/ContextMenu.d.ts +18 -15
  59. package/dist/types/DetailsPanel.d.ts +109 -16
  60. package/dist/types/EntityPickerDialog.d.ts +14 -14
  61. package/dist/types/Feed.d.ts +18 -15
  62. package/dist/types/ListTable.d.ts +14 -14
  63. package/dist/types/NewEntity.d.ts +23 -17
  64. package/dist/types/ProjectTreeTable.d.ts +29 -122
  65. package/dist/types/RepresentationsList.d.ts +14 -14
  66. package/dist/types/SimpleTable.d.ts +18 -15
  67. package/dist/types/Slicer.d.ts +17 -14
  68. package/dist/types/Views.d.ts +17 -14
  69. package/dist/types/api.d.ts +139 -127
  70. package/dist/types/components.d.ts +20 -15
  71. package/dist/types/context.d.ts +63 -23
  72. package/dist/types/hooks.d.ts +14 -14
  73. package/dist/types/index.d.ts +14 -14
  74. package/dist/types/util.d.ts +21 -14
  75. package/dist/util.es.js +77 -75
  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;
@@ -418,6 +511,20 @@ declare type User = {
418
511
  export { }
419
512
 
420
513
 
514
+ declare module '@tanstack/react-table' {
515
+ interface TableMeta<TData extends RowData> {
516
+ options?: BuiltInFieldOptions;
517
+ readOnly?: ProjectTreeTableProps['readOnly'];
518
+ projectName?: string;
519
+ updateEntities?: CellUpdate;
520
+ toggleExpandAll?: ToggleExpandAll;
521
+ selection?: string[];
522
+ columnsConfig?: ColumnsConfig;
523
+ loadingLinksEntityIds?: Set<string>;
524
+ }
525
+ }
526
+
527
+
421
528
  declare module '@tanstack/react-table' {
422
529
  interface FilterFns {
423
530
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -441,20 +548,6 @@ declare global {
441
548
  }
442
549
 
443
550
 
444
- declare module '@tanstack/react-table' {
445
- interface TableMeta<TData extends RowData> {
446
- options?: BuiltInFieldOptions;
447
- readOnly?: ProjectTreeTableProps['readOnly'];
448
- projectName?: string;
449
- updateEntities?: CellUpdate;
450
- toggleExpandAll?: ToggleExpandAll;
451
- selection?: string[];
452
- columnsConfig?: ColumnsConfig;
453
- loadingLinksEntityIds?: Set<string>;
454
- }
455
- }
456
-
457
-
458
551
  declare module '@tanstack/react-table' {
459
552
  interface ColumnMeta<TData extends RowData, TValue> {
460
553
  listTableCustomCell?: boolean;
@@ -31,6 +31,20 @@ 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
+
34
48
  declare module '@tanstack/react-table' {
35
49
  interface FilterFns {
36
50
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -54,20 +68,6 @@ declare global {
54
68
  }
55
69
 
56
70
 
57
- declare module '@tanstack/react-table' {
58
- interface TableMeta<TData extends RowData> {
59
- options?: BuiltInFieldOptions;
60
- readOnly?: ProjectTreeTableProps['readOnly'];
61
- projectName?: string;
62
- updateEntities?: CellUpdate;
63
- toggleExpandAll?: ToggleExpandAll;
64
- selection?: string[];
65
- columnsConfig?: ColumnsConfig;
66
- loadingLinksEntityIds?: Set<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[];
@@ -316,6 +319,20 @@ declare type VersionSuggestionItem = {
316
319
  export { }
317
320
 
318
321
 
322
+ declare module '@tanstack/react-table' {
323
+ interface TableMeta<TData extends RowData> {
324
+ options?: BuiltInFieldOptions;
325
+ readOnly?: ProjectTreeTableProps['readOnly'];
326
+ projectName?: string;
327
+ updateEntities?: CellUpdate;
328
+ toggleExpandAll?: ToggleExpandAll;
329
+ selection?: string[];
330
+ columnsConfig?: ColumnsConfig;
331
+ loadingLinksEntityIds?: Set<string>;
332
+ }
333
+ }
334
+
335
+
319
336
  declare module '@tanstack/react-table' {
320
337
  interface FilterFns {
321
338
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -339,20 +356,6 @@ declare global {
339
356
  }
340
357
 
341
358
 
342
- declare module '@tanstack/react-table' {
343
- interface TableMeta<TData extends RowData> {
344
- options?: BuiltInFieldOptions;
345
- readOnly?: ProjectTreeTableProps['readOnly'];
346
- projectName?: string;
347
- updateEntities?: CellUpdate;
348
- toggleExpandAll?: ToggleExpandAll;
349
- selection?: string[];
350
- columnsConfig?: ColumnsConfig;
351
- loadingLinksEntityIds?: Set<string>;
352
- }
353
- }
354
-
355
-
356
359
  declare module '@tanstack/react-table' {
357
360
  interface ColumnMeta<TData extends RowData, TValue> {
358
361
  listTableCustomCell?: boolean;
@@ -266,6 +266,20 @@ 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
+
269
283
  declare module '@tanstack/react-table' {
270
284
  interface FilterFns {
271
285
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -289,20 +303,6 @@ declare global {
289
303
  }
290
304
 
291
305
 
292
- declare module '@tanstack/react-table' {
293
- interface TableMeta<TData extends RowData> {
294
- options?: BuiltInFieldOptions;
295
- readOnly?: ProjectTreeTableProps['readOnly'];
296
- projectName?: string;
297
- updateEntities?: CellUpdate;
298
- toggleExpandAll?: ToggleExpandAll;
299
- selection?: string[];
300
- columnsConfig?: ColumnsConfig;
301
- loadingLinksEntityIds?: Set<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;
@@ -196,6 +202,20 @@ export declare const useNewEntityContext: () => NewEntityContextType;
196
202
  export { }
197
203
 
198
204
 
205
+ declare module '@tanstack/react-table' {
206
+ interface TableMeta<TData extends RowData> {
207
+ options?: BuiltInFieldOptions;
208
+ readOnly?: ProjectTreeTableProps['readOnly'];
209
+ projectName?: string;
210
+ updateEntities?: CellUpdate;
211
+ toggleExpandAll?: ToggleExpandAll;
212
+ selection?: string[];
213
+ columnsConfig?: ColumnsConfig;
214
+ loadingLinksEntityIds?: Set<string>;
215
+ }
216
+ }
217
+
218
+
199
219
  declare module '@tanstack/react-table' {
200
220
  interface FilterFns {
201
221
  fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
@@ -219,20 +239,6 @@ declare global {
219
239
  }
220
240
 
221
241
 
222
- declare module '@tanstack/react-table' {
223
- interface TableMeta<TData extends RowData> {
224
- options?: BuiltInFieldOptions;
225
- readOnly?: ProjectTreeTableProps['readOnly'];
226
- projectName?: string;
227
- updateEntities?: CellUpdate;
228
- toggleExpandAll?: ToggleExpandAll;
229
- selection?: string[];
230
- columnsConfig?: ColumnsConfig;
231
- loadingLinksEntityIds?: Set<string>;
232
- }
233
- }
234
-
235
-
236
242
  declare module '@tanstack/react-table' {
237
243
  interface ColumnMeta<TData extends RowData, TValue> {
238
244
  listTableCustomCell?: boolean;