@ynput/ayon-frontend-shared 0.5.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 (92) hide show
  1. package/dist/ContextMenu.es.js +34 -16
  2. package/dist/DetailsPanel.es.js +307 -311
  3. package/dist/Feed.es.js +179 -50
  4. package/dist/ListTable.es.js +99 -92
  5. package/dist/NewEntity.es.js +1256 -11
  6. package/dist/ProjectTreeTable.es.js +4459 -2959
  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/api.es.js +331 -329
  11. package/dist/chunks/Actions.es.js +32 -27
  12. package/dist/chunks/ColumnDropIndicator.es.js +174 -328
  13. package/dist/chunks/ColumnDropIndicator.styled.es.js +281 -0
  14. package/dist/chunks/ColumnHeaderMenuUI.es.js +52 -0
  15. package/dist/chunks/ContextMenuContextInstance.es.js +12 -0
  16. package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +229 -0
  17. package/dist/chunks/DeleteEntitiesContextInstance.es.js +827 -0
  18. package/dist/chunks/DetailsDialog.es.js +3 -3
  19. package/dist/chunks/EmptyPlaceholder.es.js +4 -4
  20. package/dist/chunks/EntityPath.es.js +74 -69
  21. package/dist/chunks/EntityPickerDialog.es.js +25 -21
  22. package/dist/chunks/EntityTooltip.es.js +29 -22
  23. package/dist/chunks/EntityUpdatesContext.es.js +38 -96
  24. package/dist/chunks/Feed.es.js +2321 -2668
  25. package/dist/chunks/FilterErrorActions.es.js +25 -229
  26. package/dist/chunks/Menu.es.js +21 -17
  27. package/dist/chunks/MenuContext.es.js +14 -256
  28. package/dist/chunks/MenuItem.es.js +34 -24
  29. package/dist/chunks/MetaWidget.es.js +2895 -4919
  30. package/dist/chunks/NewEntityContextInstance.es.js +11 -0
  31. package/dist/chunks/PlayableIcon.es.js +4215 -1179
  32. package/dist/chunks/ProjectContext.es.js +102 -66
  33. package/dist/chunks/RepresentationsList.es.js +4 -4
  34. package/dist/chunks/ReviewablesSelector.es.js +468 -460
  35. package/dist/chunks/SimpleForm.es.js +18 -18
  36. package/dist/chunks/SimpleTable.es.js +15 -13
  37. package/dist/chunks/Slicer.es.js +109 -98
  38. package/dist/chunks/TableSettingsFallback.es.js +22 -10
  39. package/dist/chunks/ThumbnailSimple.es.js +290 -52
  40. package/dist/chunks/VersionUploadContextInstance.es.js +12 -0
  41. package/dist/chunks/VideoPlayer.es.js +24 -28
  42. package/dist/chunks/Watchers.es.js +669 -644
  43. package/dist/chunks/entityDefinitions.es.js +2 -350
  44. package/dist/chunks/expandRelativeDates.es.js +27 -0
  45. package/dist/chunks/extractVersionFromFilename.es.js +28 -0
  46. package/dist/chunks/getBundleMode.es.js +1 -1
  47. package/dist/chunks/getUris.es.js +737 -710
  48. package/dist/chunks/queryFilterToClientFilter.es.js +11 -10
  49. package/dist/chunks/searchTerms.es.js +179 -174
  50. package/dist/chunks/useAttributeEnums.es.js +9 -9
  51. package/dist/chunks/useCreateContextMenu.es.js +66 -90
  52. package/dist/chunks/useDateRangeFilter.es.js +3 -3
  53. package/dist/chunks/useHierarchySelection.es.js +24 -0
  54. package/dist/chunks/useLoadModule.es.js +74 -0
  55. package/dist/chunks/useQueryArgumentChangeLoading.es.js +11 -0
  56. package/dist/chunks/versionUploadHelpers.es.js +16 -42
  57. package/dist/chunks/viewUpdateHelper.es.js +74 -57
  58. package/dist/components.es.js +1432 -1001
  59. package/dist/context.es.js +791 -78
  60. package/dist/hooks.es.js +95 -94
  61. package/dist/index.es.js +27 -26
  62. package/dist/types/Actions.d.ts +15 -15
  63. package/dist/types/ContextMenu.d.ts +19 -16
  64. package/dist/types/DetailsPanel.d.ts +110 -17
  65. package/dist/types/EntityPickerDialog.d.ts +15 -15
  66. package/dist/types/Feed.d.ts +19 -16
  67. package/dist/types/ListTable.d.ts +15 -15
  68. package/dist/types/NewEntity.d.ts +24 -18
  69. package/dist/types/ProjectTreeTable.d.ts +34 -123
  70. package/dist/types/RepresentationsList.d.ts +15 -15
  71. package/dist/types/SimpleTable.d.ts +19 -16
  72. package/dist/types/Slicer.d.ts +18 -15
  73. package/dist/types/Views.d.ts +19 -16
  74. package/dist/types/api.d.ts +515 -207
  75. package/dist/types/components.d.ts +84 -20
  76. package/dist/types/context.d.ts +108 -25
  77. package/dist/types/hooks.d.ts +15 -15
  78. package/dist/types/index.d.ts +15 -15
  79. package/dist/types/util.d.ts +20 -15
  80. package/dist/util.es.js +117 -105
  81. package/package.json +16 -4
  82. package/dist/chunks/DeleteEntitiesContext.es.js +0 -748
  83. package/dist/chunks/GlobalContext.es.js +0 -52
  84. package/dist/chunks/NewEntityContext.es.js +0 -1242
  85. package/dist/chunks/ProjectFoldersContext.es.js +0 -134
  86. package/dist/chunks/ProjectFoldersContextInstance.es.js +0 -7
  87. package/dist/chunks/VersionUploadContext.es.js +0 -232
  88. package/dist/chunks/ViewsContext.es.js +0 -878
  89. package/dist/chunks/mentionTypeOptions.es.js +0 -15
  90. package/dist/chunks/useColumnDragRestriction.es.js +0 -148
  91. package/dist/chunks/useLocalStorage.es.js +0 -355
  92. /package/dist/{useCreateContextMenu.css → ContextMenuContextInstance.css} +0 -0
@@ -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;
@@ -3585,6 +3491,10 @@ export declare interface TextWidgetProps extends Omit<React.HTMLAttributes<HTMLS
3585
3491
  onRequestEdit?: (id: CellId | null) => void;
3586
3492
  getDraftValue?: () => string | null;
3587
3493
  setDraftValue?: (value: string | null) => void;
3494
+ mentionEntity?: {
3495
+ entityId: string;
3496
+ entityType: string;
3497
+ };
3588
3498
  }
3589
3499
 
3590
3500
  export declare type TextWidgetType = Extract<AttributeType, 'string' | 'integer' | 'float'>;
@@ -3741,7 +3651,7 @@ declare type useFetchOverviewDataData = {
3741
3651
  onSyncData: OnSyncDataCallback;
3742
3652
  };
3743
3653
 
3744
- 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;
3745
3655
 
3746
3656
  export declare const useGetGroupedFields: ({ allowedTypes, enumOnly, scope, }: {
3747
3657
  allowedTypes?: ("string" | "integer" | "float")[];
@@ -3810,6 +3720,7 @@ declare interface UseQueryFiltersProps {
3810
3720
  declare type User = {
3811
3721
  name: string;
3812
3722
  fullName: string;
3723
+ hidden?: boolean;
3813
3724
  };
3814
3725
 
3815
3726
  declare type UserAttribModel = {
@@ -4104,9 +4015,18 @@ export declare const WRAP_MIN_ROW_HEIGHT: number;
4104
4015
  export { }
4105
4016
 
4106
4017
 
4107
- declare global {
4108
- interface Window {
4109
- senderId: string;
4018
+ declare module '@tanstack/react-table' {
4019
+ interface FilterFns {
4020
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
4021
+ }
4022
+ interface FilterMeta {
4023
+ itemRank: RankingInfo;
4024
+ }
4025
+ interface TableMeta<TData extends RowData> {
4026
+ isExpandable?: boolean;
4027
+ isLoading?: boolean;
4028
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
4029
+ [key: string]: any;
4110
4030
  }
4111
4031
  }
4112
4032
 
@@ -4125,18 +4045,9 @@ declare module '@tanstack/react-table' {
4125
4045
  }
4126
4046
 
4127
4047
 
4128
- declare module '@tanstack/react-table' {
4129
- interface FilterFns {
4130
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
4131
- }
4132
- interface FilterMeta {
4133
- itemRank: RankingInfo;
4134
- }
4135
- interface TableMeta<TData extends RowData> {
4136
- isExpandable?: boolean;
4137
- isLoading?: boolean;
4138
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
4139
- [key: string]: any;
4048
+ declare global {
4049
+ interface Window {
4050
+ senderId: string;
4140
4051
  }
4141
4052
  }
4142
4053
 
@@ -144,9 +144,18 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
144
144
  export { }
145
145
 
146
146
 
147
- declare global {
148
- interface Window {
149
- senderId: string;
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;
150
159
  }
151
160
  }
152
161
 
@@ -165,18 +174,9 @@ declare module '@tanstack/react-table' {
165
174
  }
166
175
 
167
176
 
168
- declare module '@tanstack/react-table' {
169
- interface FilterFns {
170
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
171
- }
172
- interface FilterMeta {
173
- itemRank: RankingInfo;
174
- }
175
- interface TableMeta<TData extends RowData> {
176
- isExpandable?: boolean;
177
- isLoading?: boolean;
178
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
179
- [key: string]: any;
177
+ declare global {
178
+ interface Window {
179
+ senderId: string;
180
180
  }
181
181
  }
182
182
 
@@ -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;
@@ -242,9 +245,18 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
242
245
  export { }
243
246
 
244
247
 
245
- declare global {
246
- interface Window {
247
- senderId: string;
248
+ declare module '@tanstack/react-table' {
249
+ interface FilterFns {
250
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
251
+ }
252
+ interface FilterMeta {
253
+ itemRank: RankingInfo;
254
+ }
255
+ interface TableMeta<TData extends RowData> {
256
+ isExpandable?: boolean;
257
+ isLoading?: boolean;
258
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
259
+ [key: string]: any;
248
260
  }
249
261
  }
250
262
 
@@ -263,18 +275,9 @@ declare module '@tanstack/react-table' {
263
275
  }
264
276
 
265
277
 
266
- declare module '@tanstack/react-table' {
267
- interface FilterFns {
268
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
269
- }
270
- interface FilterMeta {
271
- itemRank: RankingInfo;
272
- }
273
- interface TableMeta<TData extends RowData> {
274
- isExpandable?: boolean;
275
- isLoading?: boolean;
276
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
277
- [key: string]: any;
278
+ declare global {
279
+ interface Window {
280
+ senderId: string;
278
281
  }
279
282
  }
280
283
 
@@ -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 { DropdownRef } from '@ynput/ayon-react-components';
@@ -577,6 +578,8 @@ export declare type SlicerConfig = {
577
578
  };
578
579
  };
579
580
 
581
+ export declare const SlicerContext: Context<SlicerContextValue | undefined>;
582
+
580
583
  export declare interface SlicerContextValue {
581
584
  projectName: string;
582
585
  page: string;
@@ -926,9 +929,18 @@ declare type ViewSettings = GetDefaultViewApiResponse['settings'];
926
929
  export { }
927
930
 
928
931
 
929
- declare global {
930
- interface Window {
931
- senderId: string;
932
+ declare module '@tanstack/react-table' {
933
+ interface FilterFns {
934
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
935
+ }
936
+ interface FilterMeta {
937
+ itemRank: RankingInfo;
938
+ }
939
+ interface TableMeta<TData extends RowData> {
940
+ isExpandable?: boolean;
941
+ isLoading?: boolean;
942
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
943
+ [key: string]: any;
932
944
  }
933
945
  }
934
946
 
@@ -947,18 +959,9 @@ declare module '@tanstack/react-table' {
947
959
  }
948
960
 
949
961
 
950
- declare module '@tanstack/react-table' {
951
- interface FilterFns {
952
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
953
- }
954
- interface FilterMeta {
955
- itemRank: RankingInfo;
956
- }
957
- interface TableMeta<TData extends RowData> {
958
- isExpandable?: boolean;
959
- isLoading?: boolean;
960
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
961
- [key: string]: any;
962
+ declare global {
963
+ interface Window {
964
+ senderId: string;
962
965
  }
963
966
  }
964
967
 
@@ -5,6 +5,7 @@ import { ClientError } from 'graphql-request';
5
5
  import { ColumnOrderState } from '@tanstack/react-table';
6
6
  import { ColumnPinningState } from '@tanstack/react-table';
7
7
  import { ColumnSizingState } from '@tanstack/react-table';
8
+ import { Context } from 'react';
8
9
  import { coreModuleName } from '@reduxjs/toolkit/query';
9
10
  import { DocumentNode } from 'graphql';
10
11
  import { FC } from 'react';
@@ -14,7 +15,7 @@ import { ForwardRefExoticComponent } from 'react';
14
15
  import { MutationDefinition } from '@reduxjs/toolkit/query';
15
16
  import { OverrideResultType } from '@reduxjs/toolkit/query';
16
17
  import { QueryDefinition } from '@reduxjs/toolkit/query';
17
- import { reactHooksModuleName } from '@reduxjs/toolkit/dist/query/react';
18
+ import { reactHooksModuleName } from '@reduxjs/toolkit/query/react';
18
19
  import { ReactNode } from 'react';
19
20
  import { RefAttributes } from 'react';
20
21
  import { SetStateAction } from 'react';
@@ -797,6 +798,8 @@ export declare const Views: FC;
797
798
 
798
799
  export declare const ViewsButton: FC<Props>;
799
800
 
801
+ export declare const ViewsContext: Context<ViewsContextValue | null>;
802
+
800
803
  export declare interface ViewsContextValue {
801
804
  viewType?: ViewType;
802
805
  viewAlias: string;
@@ -963,9 +966,18 @@ export declare const WORKING_VIEW_ID: "_working_";
963
966
  export { }
964
967
 
965
968
 
966
- declare global {
967
- interface Window {
968
- senderId: string;
969
+ declare module '@tanstack/react-table' {
970
+ interface FilterFns {
971
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
972
+ }
973
+ interface FilterMeta {
974
+ itemRank: RankingInfo;
975
+ }
976
+ interface TableMeta<TData extends RowData> {
977
+ isExpandable?: boolean;
978
+ isLoading?: boolean;
979
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
980
+ [key: string]: any;
969
981
  }
970
982
  }
971
983
 
@@ -984,18 +996,9 @@ declare module '@tanstack/react-table' {
984
996
  }
985
997
 
986
998
 
987
- declare module '@tanstack/react-table' {
988
- interface FilterFns {
989
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
990
- }
991
- interface FilterMeta {
992
- itemRank: RankingInfo;
993
- }
994
- interface TableMeta<TData extends RowData> {
995
- isExpandable?: boolean;
996
- isLoading?: boolean;
997
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
998
- [key: string]: any;
999
+ declare global {
1000
+ interface Window {
1001
+ senderId: string;
999
1002
  }
1000
1003
  }
1001
1004