@ynput/ayon-frontend-shared 0.4.5 → 0.4.6

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.
@@ -77,17 +77,15 @@ export { }
77
77
 
78
78
 
79
79
  declare module '@tanstack/react-table' {
80
- interface FilterFns {
81
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
82
- }
83
- interface FilterMeta {
84
- itemRank: RankingInfo;
85
- }
86
80
  interface TableMeta<TData extends RowData> {
87
- isExpandable?: boolean;
88
- isLoading?: boolean;
89
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
90
- [key: string]: any;
81
+ options?: BuiltInFieldOptions;
82
+ readOnly?: ProjectTreeTableProps['readOnly'];
83
+ projectName?: string;
84
+ updateEntities?: CellUpdate;
85
+ toggleExpandAll?: ToggleExpandAll;
86
+ selection?: string[];
87
+ columnsConfig?: ColumnsConfig;
88
+ loadingLinksEntityIds?: Set<string>;
91
89
  }
92
90
  }
93
91
 
@@ -100,15 +98,17 @@ declare global {
100
98
 
101
99
 
102
100
  declare module '@tanstack/react-table' {
101
+ interface FilterFns {
102
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
103
+ }
104
+ interface FilterMeta {
105
+ itemRank: RankingInfo;
106
+ }
103
107
  interface TableMeta<TData extends RowData> {
104
- options?: BuiltInFieldOptions;
105
- readOnly?: ProjectTreeTableProps['readOnly'];
106
- projectName?: string;
107
- updateEntities?: CellUpdate;
108
- toggleExpandAll?: ToggleExpandAll;
109
- selection?: string[];
110
- columnsConfig?: ColumnsConfig;
111
- loadingLinksEntityIds?: Set<string>;
108
+ isExpandable?: boolean;
109
+ isLoading?: boolean;
110
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
111
+ [key: string]: any;
112
112
  }
113
113
  }
114
114
 
@@ -126,17 +126,15 @@ export { }
126
126
 
127
127
 
128
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
129
  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;
130
+ options?: BuiltInFieldOptions;
131
+ readOnly?: ProjectTreeTableProps['readOnly'];
132
+ projectName?: string;
133
+ updateEntities?: CellUpdate;
134
+ toggleExpandAll?: ToggleExpandAll;
135
+ selection?: string[];
136
+ columnsConfig?: ColumnsConfig;
137
+ loadingLinksEntityIds?: Set<string>;
140
138
  }
141
139
  }
142
140
 
@@ -149,15 +147,17 @@ declare global {
149
147
 
150
148
 
151
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
+ }
152
156
  interface TableMeta<TData extends RowData> {
153
- options?: BuiltInFieldOptions;
154
- readOnly?: ProjectTreeTableProps['readOnly'];
155
- projectName?: string;
156
- updateEntities?: CellUpdate;
157
- toggleExpandAll?: ToggleExpandAll;
158
- selection?: string[];
159
- columnsConfig?: ColumnsConfig;
160
- loadingLinksEntityIds?: Set<string>;
157
+ isExpandable?: boolean;
158
+ isLoading?: boolean;
159
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
160
+ [key: string]: any;
161
161
  }
162
162
  }
163
163
 
@@ -413,17 +413,15 @@ export { }
413
413
 
414
414
 
415
415
  declare module '@tanstack/react-table' {
416
- interface FilterFns {
417
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
418
- }
419
- interface FilterMeta {
420
- itemRank: RankingInfo;
421
- }
422
416
  interface TableMeta<TData extends RowData> {
423
- isExpandable?: boolean;
424
- isLoading?: boolean;
425
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
426
- [key: string]: any;
417
+ options?: BuiltInFieldOptions;
418
+ readOnly?: ProjectTreeTableProps['readOnly'];
419
+ projectName?: string;
420
+ updateEntities?: CellUpdate;
421
+ toggleExpandAll?: ToggleExpandAll;
422
+ selection?: string[];
423
+ columnsConfig?: ColumnsConfig;
424
+ loadingLinksEntityIds?: Set<string>;
427
425
  }
428
426
  }
429
427
 
@@ -436,15 +434,17 @@ declare global {
436
434
 
437
435
 
438
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
+ }
439
443
  interface TableMeta<TData extends RowData> {
440
- options?: BuiltInFieldOptions;
441
- readOnly?: ProjectTreeTableProps['readOnly'];
442
- projectName?: string;
443
- updateEntities?: CellUpdate;
444
- toggleExpandAll?: ToggleExpandAll;
445
- selection?: string[];
446
- columnsConfig?: ColumnsConfig;
447
- loadingLinksEntityIds?: Set<string>;
444
+ isExpandable?: boolean;
445
+ isLoading?: boolean;
446
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
447
+ [key: string]: any;
448
448
  }
449
449
  }
450
450
 
@@ -32,17 +32,15 @@ export { }
32
32
 
33
33
 
34
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
35
  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;
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>;
46
44
  }
47
45
  }
48
46
 
@@ -55,15 +53,17 @@ declare global {
55
53
 
56
54
 
57
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
+ }
58
62
  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>;
63
+ isExpandable?: boolean;
64
+ isLoading?: boolean;
65
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
66
+ [key: string]: any;
67
67
  }
68
68
  }
69
69
 
@@ -317,17 +317,15 @@ export { }
317
317
 
318
318
 
319
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
320
  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;
321
+ options?: BuiltInFieldOptions;
322
+ readOnly?: ProjectTreeTableProps['readOnly'];
323
+ projectName?: string;
324
+ updateEntities?: CellUpdate;
325
+ toggleExpandAll?: ToggleExpandAll;
326
+ selection?: string[];
327
+ columnsConfig?: ColumnsConfig;
328
+ loadingLinksEntityIds?: Set<string>;
331
329
  }
332
330
  }
333
331
 
@@ -340,15 +338,17 @@ declare global {
340
338
 
341
339
 
342
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
+ }
343
347
  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>;
348
+ isExpandable?: boolean;
349
+ isLoading?: boolean;
350
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
351
+ [key: string]: any;
352
352
  }
353
353
  }
354
354
 
@@ -267,17 +267,15 @@ export { }
267
267
 
268
268
 
269
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
270
  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;
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>;
281
279
  }
282
280
  }
283
281
 
@@ -290,15 +288,17 @@ declare global {
290
288
 
291
289
 
292
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
+ }
293
297
  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>;
298
+ isExpandable?: boolean;
299
+ isLoading?: boolean;
300
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
301
+ [key: string]: any;
302
302
  }
303
303
  }
304
304
 
@@ -197,17 +197,15 @@ export { }
197
197
 
198
198
 
199
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
200
  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;
201
+ options?: BuiltInFieldOptions;
202
+ readOnly?: ProjectTreeTableProps['readOnly'];
203
+ projectName?: string;
204
+ updateEntities?: CellUpdate;
205
+ toggleExpandAll?: ToggleExpandAll;
206
+ selection?: string[];
207
+ columnsConfig?: ColumnsConfig;
208
+ loadingLinksEntityIds?: Set<string>;
211
209
  }
212
210
  }
213
211
 
@@ -220,15 +218,17 @@ declare global {
220
218
 
221
219
 
222
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
+ }
223
227
  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>;
228
+ isExpandable?: boolean;
229
+ isLoading?: boolean;
230
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
231
+ [key: string]: any;
232
232
  }
233
233
  }
234
234
 
@@ -4083,17 +4083,15 @@ export { }
4083
4083
 
4084
4084
 
4085
4085
  declare module '@tanstack/react-table' {
4086
- interface FilterFns {
4087
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
4088
- }
4089
- interface FilterMeta {
4090
- itemRank: RankingInfo;
4091
- }
4092
4086
  interface TableMeta<TData extends RowData> {
4093
- isExpandable?: boolean;
4094
- isLoading?: boolean;
4095
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
4096
- [key: string]: any;
4087
+ options?: BuiltInFieldOptions;
4088
+ readOnly?: ProjectTreeTableProps['readOnly'];
4089
+ projectName?: string;
4090
+ updateEntities?: CellUpdate;
4091
+ toggleExpandAll?: ToggleExpandAll;
4092
+ selection?: string[];
4093
+ columnsConfig?: ColumnsConfig;
4094
+ loadingLinksEntityIds?: Set<string>;
4097
4095
  }
4098
4096
  }
4099
4097
 
@@ -4106,15 +4104,17 @@ declare global {
4106
4104
 
4107
4105
 
4108
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
+ }
4109
4113
  interface TableMeta<TData extends RowData> {
4110
- options?: BuiltInFieldOptions;
4111
- readOnly?: ProjectTreeTableProps['readOnly'];
4112
- projectName?: string;
4113
- updateEntities?: CellUpdate;
4114
- toggleExpandAll?: ToggleExpandAll;
4115
- selection?: string[];
4116
- columnsConfig?: ColumnsConfig;
4117
- loadingLinksEntityIds?: Set<string>;
4114
+ isExpandable?: boolean;
4115
+ isLoading?: boolean;
4116
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
4117
+ [key: string]: any;
4118
4118
  }
4119
4119
  }
4120
4120
 
@@ -142,17 +142,15 @@ export { }
142
142
 
143
143
 
144
144
  declare module '@tanstack/react-table' {
145
- interface FilterFns {
146
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
147
- }
148
- interface FilterMeta {
149
- itemRank: RankingInfo;
150
- }
151
145
  interface TableMeta<TData extends RowData> {
152
- isExpandable?: boolean;
153
- isLoading?: boolean;
154
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
155
- [key: string]: any;
146
+ options?: BuiltInFieldOptions;
147
+ readOnly?: ProjectTreeTableProps['readOnly'];
148
+ projectName?: string;
149
+ updateEntities?: CellUpdate;
150
+ toggleExpandAll?: ToggleExpandAll;
151
+ selection?: string[];
152
+ columnsConfig?: ColumnsConfig;
153
+ loadingLinksEntityIds?: Set<string>;
156
154
  }
157
155
  }
158
156
 
@@ -165,15 +163,17 @@ declare global {
165
163
 
166
164
 
167
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
+ }
168
172
  interface TableMeta<TData extends RowData> {
169
- options?: BuiltInFieldOptions;
170
- readOnly?: ProjectTreeTableProps['readOnly'];
171
- projectName?: string;
172
- updateEntities?: CellUpdate;
173
- toggleExpandAll?: ToggleExpandAll;
174
- selection?: string[];
175
- columnsConfig?: ColumnsConfig;
176
- loadingLinksEntityIds?: Set<string>;
173
+ isExpandable?: boolean;
174
+ isLoading?: boolean;
175
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
176
+ [key: string]: any;
177
177
  }
178
178
  }
179
179
 
@@ -242,17 +242,15 @@ export { }
242
242
 
243
243
 
244
244
  declare module '@tanstack/react-table' {
245
- interface FilterFns {
246
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
247
- }
248
- interface FilterMeta {
249
- itemRank: RankingInfo;
250
- }
251
245
  interface TableMeta<TData extends RowData> {
252
- isExpandable?: boolean;
253
- isLoading?: boolean;
254
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
255
- [key: string]: any;
246
+ options?: BuiltInFieldOptions;
247
+ readOnly?: ProjectTreeTableProps['readOnly'];
248
+ projectName?: string;
249
+ updateEntities?: CellUpdate;
250
+ toggleExpandAll?: ToggleExpandAll;
251
+ selection?: string[];
252
+ columnsConfig?: ColumnsConfig;
253
+ loadingLinksEntityIds?: Set<string>;
256
254
  }
257
255
  }
258
256
 
@@ -265,15 +263,17 @@ declare global {
265
263
 
266
264
 
267
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
+ }
268
272
  interface TableMeta<TData extends RowData> {
269
- options?: BuiltInFieldOptions;
270
- readOnly?: ProjectTreeTableProps['readOnly'];
271
- projectName?: string;
272
- updateEntities?: CellUpdate;
273
- toggleExpandAll?: ToggleExpandAll;
274
- selection?: string[];
275
- columnsConfig?: ColumnsConfig;
276
- loadingLinksEntityIds?: Set<string>;
273
+ isExpandable?: boolean;
274
+ isLoading?: boolean;
275
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
276
+ [key: string]: any;
277
277
  }
278
278
  }
279
279
 
@@ -842,17 +842,15 @@ export { }
842
842
 
843
843
 
844
844
  declare module '@tanstack/react-table' {
845
- interface FilterFns {
846
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
847
- }
848
- interface FilterMeta {
849
- itemRank: RankingInfo;
850
- }
851
845
  interface TableMeta<TData extends RowData> {
852
- isExpandable?: boolean;
853
- isLoading?: boolean;
854
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
855
- [key: string]: any;
846
+ options?: BuiltInFieldOptions;
847
+ readOnly?: ProjectTreeTableProps['readOnly'];
848
+ projectName?: string;
849
+ updateEntities?: CellUpdate;
850
+ toggleExpandAll?: ToggleExpandAll;
851
+ selection?: string[];
852
+ columnsConfig?: ColumnsConfig;
853
+ loadingLinksEntityIds?: Set<string>;
856
854
  }
857
855
  }
858
856
 
@@ -865,15 +863,17 @@ declare global {
865
863
 
866
864
 
867
865
  declare module '@tanstack/react-table' {
866
+ interface FilterFns {
867
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
868
+ }
869
+ interface FilterMeta {
870
+ itemRank: RankingInfo;
871
+ }
868
872
  interface TableMeta<TData extends RowData> {
869
- options?: BuiltInFieldOptions;
870
- readOnly?: ProjectTreeTableProps['readOnly'];
871
- projectName?: string;
872
- updateEntities?: CellUpdate;
873
- toggleExpandAll?: ToggleExpandAll;
874
- selection?: string[];
875
- columnsConfig?: ColumnsConfig;
876
- loadingLinksEntityIds?: Set<string>;
873
+ isExpandable?: boolean;
874
+ isLoading?: boolean;
875
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
876
+ [key: string]: any;
877
877
  }
878
878
  }
879
879
 
@@ -964,17 +964,15 @@ export { }
964
964
 
965
965
 
966
966
  declare module '@tanstack/react-table' {
967
- interface FilterFns {
968
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
969
- }
970
- interface FilterMeta {
971
- itemRank: RankingInfo;
972
- }
973
967
  interface TableMeta<TData extends RowData> {
974
- isExpandable?: boolean;
975
- isLoading?: boolean;
976
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
977
- [key: string]: any;
968
+ options?: BuiltInFieldOptions;
969
+ readOnly?: ProjectTreeTableProps['readOnly'];
970
+ projectName?: string;
971
+ updateEntities?: CellUpdate;
972
+ toggleExpandAll?: ToggleExpandAll;
973
+ selection?: string[];
974
+ columnsConfig?: ColumnsConfig;
975
+ loadingLinksEntityIds?: Set<string>;
978
976
  }
979
977
  }
980
978
 
@@ -987,15 +985,17 @@ declare global {
987
985
 
988
986
 
989
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
+ }
990
994
  interface TableMeta<TData extends RowData> {
991
- options?: BuiltInFieldOptions;
992
- readOnly?: ProjectTreeTableProps['readOnly'];
993
- projectName?: string;
994
- updateEntities?: CellUpdate;
995
- toggleExpandAll?: ToggleExpandAll;
996
- selection?: string[];
997
- columnsConfig?: ColumnsConfig;
998
- loadingLinksEntityIds?: Set<string>;
995
+ isExpandable?: boolean;
996
+ isLoading?: boolean;
997
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
998
+ [key: string]: any;
999
999
  }
1000
1000
  }
1001
1001
 
@@ -73293,17 +73293,15 @@ export { }
73293
73293
 
73294
73294
 
73295
73295
  declare module '@tanstack/react-table' {
73296
- interface FilterFns {
73297
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
73298
- }
73299
- interface FilterMeta {
73300
- itemRank: RankingInfo;
73301
- }
73302
73296
  interface TableMeta<TData extends RowData> {
73303
- isExpandable?: boolean;
73304
- isLoading?: boolean;
73305
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
73306
- [key: string]: any;
73297
+ options?: BuiltInFieldOptions;
73298
+ readOnly?: ProjectTreeTableProps['readOnly'];
73299
+ projectName?: string;
73300
+ updateEntities?: CellUpdate;
73301
+ toggleExpandAll?: ToggleExpandAll;
73302
+ selection?: string[];
73303
+ columnsConfig?: ColumnsConfig;
73304
+ loadingLinksEntityIds?: Set<string>;
73307
73305
  }
73308
73306
  }
73309
73307
 
@@ -73316,15 +73314,17 @@ declare global {
73316
73314
 
73317
73315
 
73318
73316
  declare module '@tanstack/react-table' {
73317
+ interface FilterFns {
73318
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
73319
+ }
73320
+ interface FilterMeta {
73321
+ itemRank: RankingInfo;
73322
+ }
73319
73323
  interface TableMeta<TData extends RowData> {
73320
- options?: BuiltInFieldOptions;
73321
- readOnly?: ProjectTreeTableProps['readOnly'];
73322
- projectName?: string;
73323
- updateEntities?: CellUpdate;
73324
- toggleExpandAll?: ToggleExpandAll;
73325
- selection?: string[];
73326
- columnsConfig?: ColumnsConfig;
73327
- loadingLinksEntityIds?: Set<string>;
73324
+ isExpandable?: boolean;
73325
+ isLoading?: boolean;
73326
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
73327
+ [key: string]: any;
73328
73328
  }
73329
73329
  }
73330
73330
 
@@ -3669,17 +3669,15 @@ export { }
3669
3669
 
3670
3670
 
3671
3671
  declare module '@tanstack/react-table' {
3672
- interface FilterFns {
3673
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
3674
- }
3675
- interface FilterMeta {
3676
- itemRank: RankingInfo;
3677
- }
3678
3672
  interface TableMeta<TData extends RowData> {
3679
- isExpandable?: boolean;
3680
- isLoading?: boolean;
3681
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
3682
- [key: string]: any;
3673
+ options?: BuiltInFieldOptions;
3674
+ readOnly?: ProjectTreeTableProps['readOnly'];
3675
+ projectName?: string;
3676
+ updateEntities?: CellUpdate;
3677
+ toggleExpandAll?: ToggleExpandAll;
3678
+ selection?: string[];
3679
+ columnsConfig?: ColumnsConfig;
3680
+ loadingLinksEntityIds?: Set<string>;
3683
3681
  }
3684
3682
  }
3685
3683
 
@@ -3692,15 +3690,17 @@ declare global {
3692
3690
 
3693
3691
 
3694
3692
  declare module '@tanstack/react-table' {
3693
+ interface FilterFns {
3694
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
3695
+ }
3696
+ interface FilterMeta {
3697
+ itemRank: RankingInfo;
3698
+ }
3695
3699
  interface TableMeta<TData extends RowData> {
3696
- options?: BuiltInFieldOptions;
3697
- readOnly?: ProjectTreeTableProps['readOnly'];
3698
- projectName?: string;
3699
- updateEntities?: CellUpdate;
3700
- toggleExpandAll?: ToggleExpandAll;
3701
- selection?: string[];
3702
- columnsConfig?: ColumnsConfig;
3703
- loadingLinksEntityIds?: Set<string>;
3700
+ isExpandable?: boolean;
3701
+ isLoading?: boolean;
3702
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
3703
+ [key: string]: any;
3704
3704
  }
3705
3705
  }
3706
3706
 
@@ -2397,17 +2397,15 @@ export { }
2397
2397
 
2398
2398
 
2399
2399
  declare module '@tanstack/react-table' {
2400
- interface FilterFns {
2401
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
2402
- }
2403
- interface FilterMeta {
2404
- itemRank: RankingInfo;
2405
- }
2406
2400
  interface TableMeta<TData extends RowData> {
2407
- isExpandable?: boolean;
2408
- isLoading?: boolean;
2409
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
2410
- [key: string]: any;
2401
+ options?: BuiltInFieldOptions;
2402
+ readOnly?: ProjectTreeTableProps['readOnly'];
2403
+ projectName?: string;
2404
+ updateEntities?: CellUpdate;
2405
+ toggleExpandAll?: ToggleExpandAll;
2406
+ selection?: string[];
2407
+ columnsConfig?: ColumnsConfig;
2408
+ loadingLinksEntityIds?: Set<string>;
2411
2409
  }
2412
2410
  }
2413
2411
 
@@ -2420,15 +2418,17 @@ declare global {
2420
2418
 
2421
2419
 
2422
2420
  declare module '@tanstack/react-table' {
2421
+ interface FilterFns {
2422
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
2423
+ }
2424
+ interface FilterMeta {
2425
+ itemRank: RankingInfo;
2426
+ }
2423
2427
  interface TableMeta<TData extends RowData> {
2424
- options?: BuiltInFieldOptions;
2425
- readOnly?: ProjectTreeTableProps['readOnly'];
2426
- projectName?: string;
2427
- updateEntities?: CellUpdate;
2428
- toggleExpandAll?: ToggleExpandAll;
2429
- selection?: string[];
2430
- columnsConfig?: ColumnsConfig;
2431
- loadingLinksEntityIds?: Set<string>;
2428
+ isExpandable?: boolean;
2429
+ isLoading?: boolean;
2430
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
2431
+ [key: string]: any;
2432
2432
  }
2433
2433
  }
2434
2434
 
@@ -611,17 +611,15 @@ export { }
611
611
 
612
612
 
613
613
  declare module '@tanstack/react-table' {
614
- interface FilterFns {
615
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
616
- }
617
- interface FilterMeta {
618
- itemRank: RankingInfo;
619
- }
620
614
  interface TableMeta<TData extends RowData> {
621
- isExpandable?: boolean;
622
- isLoading?: boolean;
623
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
624
- [key: string]: any;
615
+ options?: BuiltInFieldOptions;
616
+ readOnly?: ProjectTreeTableProps['readOnly'];
617
+ projectName?: string;
618
+ updateEntities?: CellUpdate;
619
+ toggleExpandAll?: ToggleExpandAll;
620
+ selection?: string[];
621
+ columnsConfig?: ColumnsConfig;
622
+ loadingLinksEntityIds?: Set<string>;
625
623
  }
626
624
  }
627
625
 
@@ -634,15 +632,17 @@ declare global {
634
632
 
635
633
 
636
634
  declare module '@tanstack/react-table' {
635
+ interface FilterFns {
636
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
637
+ }
638
+ interface FilterMeta {
639
+ itemRank: RankingInfo;
640
+ }
637
641
  interface TableMeta<TData extends RowData> {
638
- options?: BuiltInFieldOptions;
639
- readOnly?: ProjectTreeTableProps['readOnly'];
640
- projectName?: string;
641
- updateEntities?: CellUpdate;
642
- toggleExpandAll?: ToggleExpandAll;
643
- selection?: string[];
644
- columnsConfig?: ColumnsConfig;
645
- loadingLinksEntityIds?: Set<string>;
642
+ isExpandable?: boolean;
643
+ isLoading?: boolean;
644
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
645
+ [key: string]: any;
646
646
  }
647
647
  }
648
648
 
@@ -63,17 +63,15 @@ export { }
63
63
 
64
64
 
65
65
  declare module '@tanstack/react-table' {
66
- interface FilterFns {
67
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
68
- }
69
- interface FilterMeta {
70
- itemRank: RankingInfo;
71
- }
72
66
  interface TableMeta<TData extends RowData> {
73
- isExpandable?: boolean;
74
- isLoading?: boolean;
75
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
76
- [key: string]: any;
67
+ options?: BuiltInFieldOptions;
68
+ readOnly?: ProjectTreeTableProps['readOnly'];
69
+ projectName?: string;
70
+ updateEntities?: CellUpdate;
71
+ toggleExpandAll?: ToggleExpandAll;
72
+ selection?: string[];
73
+ columnsConfig?: ColumnsConfig;
74
+ loadingLinksEntityIds?: Set<string>;
77
75
  }
78
76
  }
79
77
 
@@ -86,15 +84,17 @@ declare global {
86
84
 
87
85
 
88
86
  declare module '@tanstack/react-table' {
87
+ interface FilterFns {
88
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
89
+ }
90
+ interface FilterMeta {
91
+ itemRank: RankingInfo;
92
+ }
89
93
  interface TableMeta<TData extends RowData> {
90
- options?: BuiltInFieldOptions;
91
- readOnly?: ProjectTreeTableProps['readOnly'];
92
- projectName?: string;
93
- updateEntities?: CellUpdate;
94
- toggleExpandAll?: ToggleExpandAll;
95
- selection?: string[];
96
- columnsConfig?: ColumnsConfig;
97
- loadingLinksEntityIds?: Set<string>;
94
+ isExpandable?: boolean;
95
+ isLoading?: boolean;
96
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
97
+ [key: string]: any;
98
98
  }
99
99
  }
100
100
 
@@ -943,17 +943,15 @@ export { }
943
943
 
944
944
 
945
945
  declare module '@tanstack/react-table' {
946
- interface FilterFns {
947
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
948
- }
949
- interface FilterMeta {
950
- itemRank: RankingInfo;
951
- }
952
946
  interface TableMeta<TData extends RowData> {
953
- isExpandable?: boolean;
954
- isLoading?: boolean;
955
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
956
- [key: string]: any;
947
+ options?: BuiltInFieldOptions;
948
+ readOnly?: ProjectTreeTableProps['readOnly'];
949
+ projectName?: string;
950
+ updateEntities?: CellUpdate;
951
+ toggleExpandAll?: ToggleExpandAll;
952
+ selection?: string[];
953
+ columnsConfig?: ColumnsConfig;
954
+ loadingLinksEntityIds?: Set<string>;
957
955
  }
958
956
  }
959
957
 
@@ -966,15 +964,17 @@ declare global {
966
964
 
967
965
 
968
966
  declare module '@tanstack/react-table' {
967
+ interface FilterFns {
968
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
969
+ }
970
+ interface FilterMeta {
971
+ itemRank: RankingInfo;
972
+ }
969
973
  interface TableMeta<TData extends RowData> {
970
- options?: BuiltInFieldOptions;
971
- readOnly?: ProjectTreeTableProps['readOnly'];
972
- projectName?: string;
973
- updateEntities?: CellUpdate;
974
- toggleExpandAll?: ToggleExpandAll;
975
- selection?: string[];
976
- columnsConfig?: ColumnsConfig;
977
- loadingLinksEntityIds?: Set<string>;
974
+ isExpandable?: boolean;
975
+ isLoading?: boolean;
976
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
977
+ [key: string]: any;
978
978
  }
979
979
  }
980
980
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynput/ayon-frontend-shared",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Shared React components for AYON frontend",
5
5
  "module": "dist/index.es.js",
6
6
  "exports": {
@@ -9,75 +9,75 @@
9
9
  "import": "./dist/index.es.js"
10
10
  },
11
11
  "./components": {
12
- "types": "./dist/types/components/index.d.ts",
12
+ "types": "./dist/types/components.d.ts",
13
13
  "import": "./dist/components.es.js"
14
14
  },
15
15
  "./api": {
16
- "types": "./dist/types/api/index.d.ts",
16
+ "types": "./dist/types/api.d.ts",
17
17
  "import": "./dist/api.es.js"
18
18
  },
19
19
  "./hooks": {
20
- "types": "./dist/types/hooks/index.d.ts",
20
+ "types": "./dist/types/hooks.d.ts",
21
21
  "import": "./dist/hooks.es.js"
22
22
  },
23
23
  "./context": {
24
- "types": "./dist/types/context/index.d.ts",
24
+ "types": "./dist/types/context.d.ts",
25
25
  "import": "./dist/context.es.js"
26
26
  },
27
27
  "./shared": {
28
- "types": "./dist/types/shared/index.d.ts",
28
+ "types": "./dist/types/shared.d.ts",
29
29
  "import": "./dist/shared.es.js"
30
30
  },
31
31
  "./util": {
32
- "types": "./dist/types/util/index.d.ts",
32
+ "types": "./dist/types/util.d.ts",
33
33
  "import": "./dist/util.es.js"
34
34
  },
35
35
  "./Actions": {
36
- "types": "./dist/types/containers/Actions/index.d.ts",
36
+ "types": "./dist/types/Actions.d.ts",
37
37
  "import": "./dist/Actions.es.js"
38
38
  },
39
39
  "./ContextMenu": {
40
- "types": "./dist/types/containers/ContextMenu/index.d.ts",
40
+ "types": "./dist/types/ContextMenu.d.ts",
41
41
  "import": "./dist/ContextMenu.es.js"
42
42
  },
43
43
  "./DetailsPanel": {
44
- "types": "./dist/types/containers/DetailsPanel/index.d.ts",
44
+ "types": "./dist/types/DetailsPanel.d.ts",
45
45
  "import": "./dist/DetailsPanel.es.js"
46
46
  },
47
47
  "./Feed": {
48
- "types": "./dist/types/containers/Feed/index.d.ts",
48
+ "types": "./dist/types/Feed.d.ts",
49
49
  "import": "./dist/Feed.es.js"
50
50
  },
51
51
  "./ProjectTreeTable": {
52
- "types": "./dist/types/containers/ProjectTreeTable/index.d.ts",
52
+ "types": "./dist/types/ProjectTreeTable.d.ts",
53
53
  "import": "./dist/ProjectTreeTable.es.js"
54
54
  },
55
55
  "./RepresentationsList": {
56
- "types": "./dist/types/containers/RepresentationsList/index.d.ts",
56
+ "types": "./dist/types/RepresentationsList.d.ts",
57
57
  "import": "./dist/RepresentationsList.es.js"
58
58
  },
59
59
  "./Slicer": {
60
- "types": "./dist/types/containers/Slicer/index.d.ts",
60
+ "types": "./dist/types/Slicer.d.ts",
61
61
  "import": "./dist/Slicer.es.js"
62
62
  },
63
63
  "./Views": {
64
- "types": "./dist/types/containers/Views/index.d.ts",
64
+ "types": "./dist/types/Views.d.ts",
65
65
  "import": "./dist/Views.es.js"
66
66
  },
67
67
  "./SimpleTable": {
68
- "types": "./dist/types/containers/SimpleTable/index.d.ts",
68
+ "types": "./dist/types/SimpleTable.d.ts",
69
69
  "import": "./dist/SimpleTable.es.js"
70
70
  },
71
71
  "./EntityPickerDialog": {
72
- "types": "./dist/types/containers/EntityPickerDialog/index.d.ts",
72
+ "types": "./dist/types/EntityPickerDialog.d.ts",
73
73
  "import": "./dist/EntityPickerDialog.es.js"
74
74
  },
75
75
  "./ListTable": {
76
- "types": "./dist/types/containers/ListTable/index.d.ts",
76
+ "types": "./dist/types/ListTable.d.ts",
77
77
  "import": "./dist/ListTable.es.js"
78
78
  },
79
79
  "./NewEntity": {
80
- "types": "./dist/types/containers/NewEntity/index.d.ts",
80
+ "types": "./dist/types/NewEntity.d.ts",
81
81
  "import": "./dist/NewEntity.es.js"
82
82
  }
83
83
  },
@@ -88,7 +88,7 @@
88
88
  "access": "public"
89
89
  },
90
90
  "scripts": {
91
- "build": "vite build"
91
+ "build": "NODE_OPTIONS='--max_old_space_size=16384' vite build"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "@dnd-kit/core": "6.3.1",