@ynput/ayon-frontend-shared 0.4.7 → 0.6.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 (77) hide show
  1. package/dist/DetailsPanel.es.js +684 -649
  2. package/dist/Feed.es.js +22 -22
  3. package/dist/ListTable.es.js +78 -67
  4. package/dist/ProjectTreeTable.es.js +2185 -2132
  5. package/dist/Slicer.es.js +152 -120
  6. package/dist/Views.es.js +1 -1
  7. package/dist/api.es.js +332 -329
  8. package/dist/chunks/Actions.es.js +7 -7
  9. package/dist/chunks/ColumnDropIndicator.es.js +127 -241
  10. package/dist/chunks/DeleteEntitiesContext.es.js +109 -109
  11. package/dist/chunks/DetailsDialog.es.js +3 -3
  12. package/dist/chunks/DetailsPanelContext.es.js +155 -0
  13. package/dist/chunks/EntityPath.es.js +40 -40
  14. package/dist/chunks/EntityPickerDialog.es.js +1 -1
  15. package/dist/chunks/EntityTooltip.es.js +3 -3
  16. package/dist/chunks/EntityUpdatesContext.es.js +1 -1
  17. package/dist/chunks/Feed.es.js +2208 -2611
  18. package/dist/chunks/FilterErrorActions.es.js +5 -5
  19. package/dist/chunks/GlobalContext.es.js +21 -21
  20. package/dist/chunks/InfoMessage.es.js +146 -0
  21. package/dist/chunks/Menu.es.js +6 -6
  22. package/dist/chunks/MenuContext.es.js +51 -240
  23. package/dist/chunks/MenuItem.es.js +1 -1
  24. package/dist/chunks/MetaWidget.es.js +3211 -3761
  25. package/dist/chunks/NewEntityContext.es.js +539 -544
  26. package/dist/chunks/PlayableIcon.es.js +4261 -1163
  27. package/dist/chunks/ProjectContext.es.js +2 -2
  28. package/dist/chunks/ProjectFoldersContext.es.js +84 -76
  29. package/dist/chunks/RepresentationsList.es.js +3 -3
  30. package/dist/chunks/ReviewablesSelector.es.js +396 -384
  31. package/dist/chunks/SimpleForm.es.js +9 -9
  32. package/dist/chunks/SimpleTable.es.js +286 -283
  33. package/dist/chunks/Slicer.es.js +1129 -689
  34. package/dist/chunks/TableSettingsFallback.es.js +6 -6
  35. package/dist/chunks/ThumbnailSimple.es.js +410 -61
  36. package/dist/chunks/VersionUploadContext.es.js +30 -30
  37. package/dist/chunks/ViewsContext.es.js +97 -97
  38. package/dist/chunks/Watchers.es.js +628 -598
  39. package/dist/chunks/entityDefinitions.es.js +276 -134
  40. package/dist/chunks/expandRelativeDates.es.js +27 -0
  41. package/dist/chunks/getBundleMode.es.js +16 -61
  42. package/dist/chunks/getUris.es.js +329 -322
  43. package/dist/chunks/queryFilterToClientFilter.es.js +11 -10
  44. package/dist/chunks/searchTerms.es.js +186 -173
  45. package/dist/chunks/uriUtils.es.js +48 -0
  46. package/dist/chunks/useAttributeEnums.es.js +69 -61
  47. package/dist/chunks/useColumnDragRestriction.es.js +37 -27
  48. package/dist/chunks/useDateRangeFilter.es.js +3 -3
  49. package/dist/chunks/useLocalStorage.es.js +8 -8
  50. package/dist/chunks/useSessionStorage.es.js +61 -0
  51. package/dist/chunks/viewUpdateHelper.es.js +8 -8
  52. package/dist/components.es.js +199 -194
  53. package/dist/context.es.js +60 -58
  54. package/dist/hooks.es.js +108 -101
  55. package/dist/index.es.js +20 -14
  56. package/dist/types/Actions.d.ts +16 -16
  57. package/dist/types/ContextMenu.d.ts +16 -16
  58. package/dist/types/DetailsPanel.d.ts +22 -16
  59. package/dist/types/EntityPickerDialog.d.ts +16 -16
  60. package/dist/types/Feed.d.ts +16 -16
  61. package/dist/types/ListTable.d.ts +16 -16
  62. package/dist/types/NewEntity.d.ts +16 -16
  63. package/dist/types/ProjectTreeTable.d.ts +48 -22
  64. package/dist/types/RepresentationsList.d.ts +19 -16
  65. package/dist/types/SimpleTable.d.ts +17 -16
  66. package/dist/types/Slicer.d.ts +119 -34
  67. package/dist/types/Views.d.ts +17 -17
  68. package/dist/types/api.d.ts +404 -95
  69. package/dist/types/components.d.ts +86 -25
  70. package/dist/types/context.d.ts +60 -17
  71. package/dist/types/hooks.d.ts +16 -16
  72. package/dist/types/index.d.ts +16 -16
  73. package/dist/types/util.d.ts +16 -16
  74. package/dist/util.es.js +108 -97
  75. package/package.json +26 -13
  76. package/dist/chunks/mentionTypeOptions.es.js +0 -15
  77. package/dist/chunks/useSlicerSplitter.es.js +0 -18
@@ -125,6 +125,22 @@ RefObject<{
125
125
  export { }
126
126
 
127
127
 
128
+ declare module '@tanstack/react-table' {
129
+ interface FilterFns {
130
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
131
+ }
132
+ interface FilterMeta {
133
+ itemRank: RankingInfo;
134
+ }
135
+ interface TableMeta<TData extends RowData> {
136
+ isExpandable?: boolean;
137
+ isLoading?: boolean;
138
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
139
+ [key: string]: any;
140
+ }
141
+ }
142
+
143
+
128
144
  declare global {
129
145
  interface Window {
130
146
  senderId: string;
@@ -146,22 +162,6 @@ declare module '@tanstack/react-table' {
146
162
  }
147
163
 
148
164
 
149
- declare module '@tanstack/react-table' {
150
- interface FilterFns {
151
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
152
- }
153
- interface FilterMeta {
154
- itemRank: RankingInfo;
155
- }
156
- interface TableMeta<TData extends RowData> {
157
- isExpandable?: boolean;
158
- isLoading?: boolean;
159
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
160
- [key: string]: any;
161
- }
162
- }
163
-
164
-
165
165
  declare module '@tanstack/react-table' {
166
166
  interface ColumnMeta<TData extends RowData, TValue> {
167
167
  listTableCustomCell?: boolean;
@@ -100,7 +100,10 @@ declare type DetailsPanelProductFragmentFragment = {
100
100
  name: string;
101
101
  productType: string;
102
102
  latestVersion: {
103
+ id: string;
103
104
  version: number;
105
+ name: string;
106
+ active: boolean;
104
107
  } | null;
105
108
  };
106
109
 
@@ -145,6 +148,7 @@ export declare type DetailsPanelProps = {
145
148
  * structural type in shared/ so the layering rule (shared cannot import src/pages)
146
149
  * is preserved. */
147
150
  entityListsContext?: DetailsPanelEntityListsContext;
151
+ resolveVersionJump?: ResolveVersionJump;
148
152
  };
149
153
 
150
154
  declare type DetailsPanelRepresentationFragmentFragment = {
@@ -356,6 +360,8 @@ declare type ProjectModelWithProducts = ProjectModel & {
356
360
  productTypes: ProductTypeListItem[];
357
361
  };
358
362
 
363
+ declare type ResolveVersionJump = (versionId: string) => (() => void) | undefined;
364
+
359
365
  declare type Status_2 = {
360
366
  name: string;
361
367
  original_name?: string;
@@ -412,6 +418,22 @@ declare type User = {
412
418
  export { }
413
419
 
414
420
 
421
+ declare module '@tanstack/react-table' {
422
+ interface FilterFns {
423
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
424
+ }
425
+ interface FilterMeta {
426
+ itemRank: RankingInfo;
427
+ }
428
+ interface TableMeta<TData extends RowData> {
429
+ isExpandable?: boolean;
430
+ isLoading?: boolean;
431
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
432
+ [key: string]: any;
433
+ }
434
+ }
435
+
436
+
415
437
  declare global {
416
438
  interface Window {
417
439
  senderId: string;
@@ -433,22 +455,6 @@ declare module '@tanstack/react-table' {
433
455
  }
434
456
 
435
457
 
436
- declare module '@tanstack/react-table' {
437
- interface FilterFns {
438
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
439
- }
440
- interface FilterMeta {
441
- itemRank: RankingInfo;
442
- }
443
- interface TableMeta<TData extends RowData> {
444
- isExpandable?: boolean;
445
- isLoading?: boolean;
446
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
447
- [key: string]: any;
448
- }
449
- }
450
-
451
-
452
458
  declare module '@tanstack/react-table' {
453
459
  interface ColumnMeta<TData extends RowData, TValue> {
454
460
  listTableCustomCell?: boolean;
@@ -31,6 +31,22 @@ export declare type PickerSelection = Record<PickerEntityType, RowSelectionState
31
31
  export { }
32
32
 
33
33
 
34
+ declare module '@tanstack/react-table' {
35
+ interface FilterFns {
36
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
37
+ }
38
+ interface FilterMeta {
39
+ itemRank: RankingInfo;
40
+ }
41
+ interface TableMeta<TData extends RowData> {
42
+ isExpandable?: boolean;
43
+ isLoading?: boolean;
44
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
45
+ [key: string]: any;
46
+ }
47
+ }
48
+
49
+
34
50
  declare global {
35
51
  interface Window {
36
52
  senderId: string;
@@ -52,22 +68,6 @@ declare module '@tanstack/react-table' {
52
68
  }
53
69
 
54
70
 
55
- declare module '@tanstack/react-table' {
56
- interface FilterFns {
57
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
58
- }
59
- interface FilterMeta {
60
- itemRank: RankingInfo;
61
- }
62
- interface TableMeta<TData extends RowData> {
63
- isExpandable?: boolean;
64
- isLoading?: boolean;
65
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
66
- [key: string]: any;
67
- }
68
- }
69
-
70
-
71
71
  declare module '@tanstack/react-table' {
72
72
  interface ColumnMeta<TData extends RowData, TValue> {
73
73
  listTableCustomCell?: boolean;
@@ -316,6 +316,22 @@ declare type VersionSuggestionItem = {
316
316
  export { }
317
317
 
318
318
 
319
+ declare module '@tanstack/react-table' {
320
+ interface FilterFns {
321
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
322
+ }
323
+ interface FilterMeta {
324
+ itemRank: RankingInfo;
325
+ }
326
+ interface TableMeta<TData extends RowData> {
327
+ isExpandable?: boolean;
328
+ isLoading?: boolean;
329
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
330
+ [key: string]: any;
331
+ }
332
+ }
333
+
334
+
319
335
  declare global {
320
336
  interface Window {
321
337
  senderId: string;
@@ -337,22 +353,6 @@ declare module '@tanstack/react-table' {
337
353
  }
338
354
 
339
355
 
340
- declare module '@tanstack/react-table' {
341
- interface FilterFns {
342
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
343
- }
344
- interface FilterMeta {
345
- itemRank: RankingInfo;
346
- }
347
- interface TableMeta<TData extends RowData> {
348
- isExpandable?: boolean;
349
- isLoading?: boolean;
350
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
351
- [key: string]: any;
352
- }
353
- }
354
-
355
-
356
356
  declare module '@tanstack/react-table' {
357
357
  interface ColumnMeta<TData extends RowData, TValue> {
358
358
  listTableCustomCell?: boolean;
@@ -266,6 +266,22 @@ export declare const renderListTableFallbackValue: (value: unknown) => string;
266
266
  export { }
267
267
 
268
268
 
269
+ declare module '@tanstack/react-table' {
270
+ interface FilterFns {
271
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
272
+ }
273
+ interface FilterMeta {
274
+ itemRank: RankingInfo;
275
+ }
276
+ interface TableMeta<TData extends RowData> {
277
+ isExpandable?: boolean;
278
+ isLoading?: boolean;
279
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
280
+ [key: string]: any;
281
+ }
282
+ }
283
+
284
+
269
285
  declare global {
270
286
  interface Window {
271
287
  senderId: string;
@@ -287,22 +303,6 @@ declare module '@tanstack/react-table' {
287
303
  }
288
304
 
289
305
 
290
- declare module '@tanstack/react-table' {
291
- interface FilterFns {
292
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
293
- }
294
- interface FilterMeta {
295
- itemRank: RankingInfo;
296
- }
297
- interface TableMeta<TData extends RowData> {
298
- isExpandable?: boolean;
299
- isLoading?: boolean;
300
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
301
- [key: string]: any;
302
- }
303
- }
304
-
305
-
306
306
  declare module '@tanstack/react-table' {
307
307
  interface ColumnMeta<TData extends RowData, TValue> {
308
308
  listTableCustomCell?: boolean;
@@ -196,6 +196,22 @@ export declare const useNewEntityContext: () => NewEntityContextType;
196
196
  export { }
197
197
 
198
198
 
199
+ declare module '@tanstack/react-table' {
200
+ interface FilterFns {
201
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
202
+ }
203
+ interface FilterMeta {
204
+ itemRank: RankingInfo;
205
+ }
206
+ interface TableMeta<TData extends RowData> {
207
+ isExpandable?: boolean;
208
+ isLoading?: boolean;
209
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
210
+ [key: string]: any;
211
+ }
212
+ }
213
+
214
+
199
215
  declare global {
200
216
  interface Window {
201
217
  senderId: string;
@@ -217,22 +233,6 @@ declare module '@tanstack/react-table' {
217
233
  }
218
234
 
219
235
 
220
- declare module '@tanstack/react-table' {
221
- interface FilterFns {
222
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
223
- }
224
- interface FilterMeta {
225
- itemRank: RankingInfo;
226
- }
227
- interface TableMeta<TData extends RowData> {
228
- isExpandable?: boolean;
229
- isLoading?: boolean;
230
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
231
- [key: string]: any;
232
- }
233
- }
234
-
235
-
236
236
  declare module '@tanstack/react-table' {
237
237
  interface ColumnMeta<TData extends RowData, TValue> {
238
238
  listTableCustomCell?: boolean;
@@ -302,6 +302,8 @@ export declare const buildGroupId: (value: string) => string;
302
302
 
303
303
  export declare const buildProductTableRow: (node: EditorProductNode, parentFolder?: MatchingFolder) => TableRow;
304
304
 
305
+ export declare const buildQueryFilters: ({ queryFilters, sliceFilter, sliceFilters, config: { searchKey }, }: UseQueryFiltersProps) => QueryFiltersResult;
306
+
305
307
  export declare const buildRowScope: (groups: boolean, rows: boolean) => RowScope;
306
308
 
307
309
  export declare const buildSummaryFormat: (count: boolean, percent: boolean) => SummaryFormat;
@@ -1977,6 +1979,8 @@ export declare const isMetaRowId: (rowId: string) => boolean;
1977
1979
  */
1978
1980
  export declare const isMetaRowType: (rowId: string, type: MetaRowType) => boolean;
1979
1981
 
1982
+ export declare const isMultiSelectAttribute: (attribute: ProjectTableAttribute) => boolean;
1983
+
1980
1984
  /**
1981
1985
  * Checks if a value is a relative date marker (e.g., "relative:today:0")
1982
1986
  */
@@ -2148,6 +2152,8 @@ declare interface NewEntityOpenConfig {
2148
2152
 
2149
2153
  export declare const NEXT_PAGE_ID = "next-page";
2150
2154
 
2155
+ export declare const NO_MATCH_FOLDER_ID: string;
2156
+
2151
2157
  export declare const normalizeColumnId: (columnId: string, aliases?: ColumnIdAliases) => string;
2152
2158
 
2153
2159
  export declare const normalizeColumnIdList: (columnIds?: string[], aliases?: ColumnIdAliases) => string[];
@@ -2652,7 +2658,7 @@ export declare interface ProjectOverviewContextType {
2652
2658
  taskGroups: EntityGroup[];
2653
2659
  taskFilters: QueryFilterParams;
2654
2660
  folderFilters: QueryFilterParams;
2655
- slicerCountsArgs: {
2661
+ getSlicerCountsArgs: (sliceType: string) => {
2656
2662
  projectName: string;
2657
2663
  filter?: string;
2658
2664
  folderFilter?: string;
@@ -3122,6 +3128,14 @@ export declare const scopeHasGroups: (s: RowScope) => boolean;
3122
3128
 
3123
3129
  export declare const scopeHasRows: (s: RowScope) => boolean;
3124
3130
 
3131
+ export declare const scopeIdsToFolders: (ids: string[], folderIdMap: Record<string, string>, folderScope: Set<string> | null) => string[];
3132
+
3133
+ export declare interface SelectedFoldersResult {
3134
+ selectedFolders: string[];
3135
+ folderScope: Set<string> | null;
3136
+ listPanelSelected: boolean;
3137
+ }
3138
+
3125
3139
  export declare const SelectedRowsContext: Context<SelectedRowsContextType | undefined>;
3126
3140
 
3127
3141
  export declare interface SelectedRowsContextType {
@@ -3181,6 +3195,11 @@ declare type SettingsPanelItem = {
3181
3195
  path?: string;
3182
3196
  };
3183
3197
 
3198
+ export declare interface SliceRowSelection {
3199
+ sliceType: string;
3200
+ rowSelection: RowSelectionState;
3201
+ }
3202
+
3184
3203
  export declare type SoftErrorAction = {
3185
3204
  label: string;
3186
3205
  icon: string;
@@ -3566,6 +3585,10 @@ export declare interface TextWidgetProps extends Omit<React.HTMLAttributes<HTMLS
3566
3585
  onRequestEdit?: (id: CellId | null) => void;
3567
3586
  getDraftValue?: () => string | null;
3568
3587
  setDraftValue?: (value: string | null) => void;
3588
+ mentionEntity?: {
3589
+ entityId: string;
3590
+ entityType: string;
3591
+ };
3569
3592
  }
3570
3593
 
3571
3594
  export declare type TextWidgetType = Extract<AttributeType, 'string' | 'integer' | 'float'>;
@@ -3744,11 +3767,13 @@ export declare const useGroupCounts: (params: UseGroupCountsParams) => GroupCoun
3744
3767
  export declare type UseGroupCountsParams = {
3745
3768
  entity: 'task';
3746
3769
  groupBy?: TableGroupBy;
3770
+ extraGroupBys?: TableGroupBy[];
3747
3771
  args: TaskStatsArgs;
3748
3772
  skip?: boolean;
3749
3773
  } | {
3750
3774
  entity: 'version';
3751
3775
  groupBy?: TableGroupBy;
3776
+ extraGroupBys?: TableGroupBy[];
3752
3777
  args: VersionStatsArgs;
3753
3778
  skip?: boolean;
3754
3779
  };
@@ -3775,11 +3800,12 @@ export declare const useProjectTableContext: () => ProjectTableContextType;
3775
3800
 
3776
3801
  export declare const useProjectTableQueriesContext: () => ProjectTableQueriesContextProps;
3777
3802
 
3778
- export declare const useQueryFilters: ({ queryFilters, sliceFilter, config: { searchKey }, }: UseQueryFiltersProps) => QueryFiltersResult;
3803
+ export declare const useQueryFilters: (props: UseQueryFiltersProps) => QueryFiltersResult;
3779
3804
 
3780
3805
  declare interface UseQueryFiltersProps {
3781
3806
  queryFilters: QueryFilter;
3782
3807
  sliceFilter?: Filter | null;
3808
+ sliceFilters?: (Filter | null)[] | null;
3783
3809
  config?: {
3784
3810
  searchKey?: string;
3785
3811
  };
@@ -3819,13 +3845,12 @@ declare interface UseScopedAttributeFieldsProps<T extends AttributeField> {
3819
3845
  allowedScopes?: string[];
3820
3846
  }
3821
3847
 
3822
- export declare const useSelectedFolders: ({ rowSelection, sliceType, pinnedRowSelection, entityListFolderIds, }: UseSelectedFoldersProps) => string[];
3848
+ export declare const useSelectedFolders: ({ slices, entityListFolderIds, getChildFolderIds, }: UseSelectedFoldersProps) => SelectedFoldersResult;
3823
3849
 
3824
3850
  declare interface UseSelectedFoldersProps {
3825
- rowSelection: RowSelectionState;
3826
- sliceType: string;
3827
- pinnedRowSelection?: RowSelectionState | null;
3851
+ slices: SliceRowSelection[];
3828
3852
  entityListFolderIds?: string[];
3853
+ getChildFolderIds?: (folderIds: string[], includeSelf?: boolean) => string[];
3829
3854
  }
3830
3855
 
3831
3856
  export declare const useSelectedRowsContext: () => SelectedRowsContextType;
@@ -4042,6 +4067,7 @@ export declare type VersionStatsArgs = {
4042
4067
  versionFilter?: string;
4043
4068
  productFilter?: string;
4044
4069
  taskFilter?: string;
4070
+ folderFilter?: string;
4045
4071
  folderIds?: string[];
4046
4072
  versionIds?: string[];
4047
4073
  productIds?: string[];
@@ -4082,6 +4108,22 @@ export declare const WRAP_MIN_ROW_HEIGHT: number;
4082
4108
  export { }
4083
4109
 
4084
4110
 
4111
+ declare module '@tanstack/react-table' {
4112
+ interface FilterFns {
4113
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
4114
+ }
4115
+ interface FilterMeta {
4116
+ itemRank: RankingInfo;
4117
+ }
4118
+ interface TableMeta<TData extends RowData> {
4119
+ isExpandable?: boolean;
4120
+ isLoading?: boolean;
4121
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
4122
+ [key: string]: any;
4123
+ }
4124
+ }
4125
+
4126
+
4085
4127
  declare global {
4086
4128
  interface Window {
4087
4129
  senderId: string;
@@ -4103,22 +4145,6 @@ declare module '@tanstack/react-table' {
4103
4145
  }
4104
4146
 
4105
4147
 
4106
- declare module '@tanstack/react-table' {
4107
- interface FilterFns {
4108
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
4109
- }
4110
- interface FilterMeta {
4111
- itemRank: RankingInfo;
4112
- }
4113
- interface TableMeta<TData extends RowData> {
4114
- isExpandable?: boolean;
4115
- isLoading?: boolean;
4116
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
4117
- [key: string]: any;
4118
- }
4119
- }
4120
-
4121
-
4122
4148
  declare module '@tanstack/react-table' {
4123
4149
  interface ColumnMeta<TData extends RowData, TValue> {
4124
4150
  listTableCustomCell?: boolean;
@@ -40,7 +40,10 @@ declare type DetailsPanelProductFragmentFragment = {
40
40
  name: string;
41
41
  productType: string;
42
42
  latestVersion: {
43
+ id: string;
43
44
  version: number;
45
+ name: string;
46
+ active: boolean;
44
47
  } | null;
45
48
  };
46
49
 
@@ -141,6 +144,22 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
141
144
  export { }
142
145
 
143
146
 
147
+ declare module '@tanstack/react-table' {
148
+ interface FilterFns {
149
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
150
+ }
151
+ interface FilterMeta {
152
+ itemRank: RankingInfo;
153
+ }
154
+ interface TableMeta<TData extends RowData> {
155
+ isExpandable?: boolean;
156
+ isLoading?: boolean;
157
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
158
+ [key: string]: any;
159
+ }
160
+ }
161
+
162
+
144
163
  declare global {
145
164
  interface Window {
146
165
  senderId: string;
@@ -162,22 +181,6 @@ declare module '@tanstack/react-table' {
162
181
  }
163
182
 
164
183
 
165
- declare module '@tanstack/react-table' {
166
- interface FilterFns {
167
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
168
- }
169
- interface FilterMeta {
170
- itemRank: RankingInfo;
171
- }
172
- interface TableMeta<TData extends RowData> {
173
- isExpandable?: boolean;
174
- isLoading?: boolean;
175
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
176
- [key: string]: any;
177
- }
178
- }
179
-
180
-
181
184
  declare module '@tanstack/react-table' {
182
185
  interface ColumnMeta<TData extends RowData, TValue> {
183
186
  listTableCustomCell?: boolean;
@@ -175,6 +175,7 @@ export declare interface SimpleTableProps extends Omit<React.HTMLAttributes<HTML
175
175
  onRowDoubleClick?: (id: string, row: Row<SimpleTableRow>) => void;
176
176
  onRowOptionClick?: (row: SimpleTableRow, selectedRows: string[]) => void;
177
177
  fitContent?: boolean;
178
+ rowIdPrefix?: string;
178
179
  rowContextMenuBuilders?: SimpleTableRowContextMenuBuilder[];
179
180
  children?: (props: SimpleTableCellTemplateProps, row: Row<SimpleTableRow>, table: Table<SimpleTableRow>) => JSX.Element;
180
181
  pt?: {
@@ -241,6 +242,22 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
241
242
  export { }
242
243
 
243
244
 
245
+ declare module '@tanstack/react-table' {
246
+ interface FilterFns {
247
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
248
+ }
249
+ interface FilterMeta {
250
+ itemRank: RankingInfo;
251
+ }
252
+ interface TableMeta<TData extends RowData> {
253
+ isExpandable?: boolean;
254
+ isLoading?: boolean;
255
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
256
+ [key: string]: any;
257
+ }
258
+ }
259
+
260
+
244
261
  declare global {
245
262
  interface Window {
246
263
  senderId: string;
@@ -262,22 +279,6 @@ declare module '@tanstack/react-table' {
262
279
  }
263
280
 
264
281
 
265
- declare module '@tanstack/react-table' {
266
- interface FilterFns {
267
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
268
- }
269
- interface FilterMeta {
270
- itemRank: RankingInfo;
271
- }
272
- interface TableMeta<TData extends RowData> {
273
- isExpandable?: boolean;
274
- isLoading?: boolean;
275
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
276
- [key: string]: any;
277
- }
278
- }
279
-
280
-
281
282
  declare module '@tanstack/react-table' {
282
283
  interface ColumnMeta<TData extends RowData, TValue> {
283
284
  listTableCustomCell?: boolean;