@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.
- package/dist/ContextMenu.es.js +34 -16
- package/dist/DetailsPanel.es.js +307 -311
- package/dist/Feed.es.js +179 -50
- package/dist/ListTable.es.js +99 -92
- package/dist/NewEntity.es.js +1256 -11
- package/dist/ProjectTreeTable.es.js +4459 -2959
- package/dist/SimpleTable.es.js +8 -7
- package/dist/Slicer.es.js +451 -147
- package/dist/Views.es.js +918 -310
- package/dist/api.es.js +331 -329
- package/dist/chunks/Actions.es.js +32 -27
- package/dist/chunks/ColumnDropIndicator.es.js +174 -328
- package/dist/chunks/ColumnDropIndicator.styled.es.js +281 -0
- package/dist/chunks/ColumnHeaderMenuUI.es.js +52 -0
- package/dist/chunks/ContextMenuContextInstance.es.js +12 -0
- package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +229 -0
- package/dist/chunks/DeleteEntitiesContextInstance.es.js +827 -0
- package/dist/chunks/DetailsDialog.es.js +3 -3
- package/dist/chunks/EmptyPlaceholder.es.js +4 -4
- package/dist/chunks/EntityPath.es.js +74 -69
- package/dist/chunks/EntityPickerDialog.es.js +25 -21
- package/dist/chunks/EntityTooltip.es.js +29 -22
- package/dist/chunks/EntityUpdatesContext.es.js +38 -96
- package/dist/chunks/Feed.es.js +2321 -2668
- package/dist/chunks/FilterErrorActions.es.js +25 -229
- package/dist/chunks/Menu.es.js +21 -17
- package/dist/chunks/MenuContext.es.js +14 -256
- package/dist/chunks/MenuItem.es.js +34 -24
- package/dist/chunks/MetaWidget.es.js +2895 -4919
- package/dist/chunks/NewEntityContextInstance.es.js +11 -0
- package/dist/chunks/PlayableIcon.es.js +4215 -1179
- package/dist/chunks/ProjectContext.es.js +102 -66
- package/dist/chunks/RepresentationsList.es.js +4 -4
- package/dist/chunks/ReviewablesSelector.es.js +468 -460
- package/dist/chunks/SimpleForm.es.js +18 -18
- package/dist/chunks/SimpleTable.es.js +15 -13
- package/dist/chunks/Slicer.es.js +109 -98
- package/dist/chunks/TableSettingsFallback.es.js +22 -10
- package/dist/chunks/ThumbnailSimple.es.js +290 -52
- package/dist/chunks/VersionUploadContextInstance.es.js +12 -0
- package/dist/chunks/VideoPlayer.es.js +24 -28
- package/dist/chunks/Watchers.es.js +669 -644
- package/dist/chunks/entityDefinitions.es.js +2 -350
- package/dist/chunks/expandRelativeDates.es.js +27 -0
- package/dist/chunks/extractVersionFromFilename.es.js +28 -0
- package/dist/chunks/getBundleMode.es.js +1 -1
- package/dist/chunks/getUris.es.js +737 -710
- package/dist/chunks/queryFilterToClientFilter.es.js +11 -10
- package/dist/chunks/searchTerms.es.js +179 -174
- package/dist/chunks/useAttributeEnums.es.js +9 -9
- package/dist/chunks/useCreateContextMenu.es.js +66 -90
- package/dist/chunks/useDateRangeFilter.es.js +3 -3
- package/dist/chunks/useHierarchySelection.es.js +24 -0
- package/dist/chunks/useLoadModule.es.js +74 -0
- package/dist/chunks/useQueryArgumentChangeLoading.es.js +11 -0
- package/dist/chunks/versionUploadHelpers.es.js +16 -42
- package/dist/chunks/viewUpdateHelper.es.js +74 -57
- package/dist/components.es.js +1432 -1001
- package/dist/context.es.js +791 -78
- package/dist/hooks.es.js +95 -94
- package/dist/index.es.js +27 -26
- package/dist/types/Actions.d.ts +15 -15
- package/dist/types/ContextMenu.d.ts +19 -16
- package/dist/types/DetailsPanel.d.ts +110 -17
- package/dist/types/EntityPickerDialog.d.ts +15 -15
- package/dist/types/Feed.d.ts +19 -16
- package/dist/types/ListTable.d.ts +15 -15
- package/dist/types/NewEntity.d.ts +24 -18
- package/dist/types/ProjectTreeTable.d.ts +34 -123
- package/dist/types/RepresentationsList.d.ts +15 -15
- package/dist/types/SimpleTable.d.ts +19 -16
- package/dist/types/Slicer.d.ts +18 -15
- package/dist/types/Views.d.ts +19 -16
- package/dist/types/api.d.ts +515 -207
- package/dist/types/components.d.ts +84 -20
- package/dist/types/context.d.ts +108 -25
- package/dist/types/hooks.d.ts +15 -15
- package/dist/types/index.d.ts +15 -15
- package/dist/types/util.d.ts +20 -15
- package/dist/util.es.js +117 -105
- package/package.json +16 -4
- package/dist/chunks/DeleteEntitiesContext.es.js +0 -748
- package/dist/chunks/GlobalContext.es.js +0 -52
- package/dist/chunks/NewEntityContext.es.js +0 -1242
- package/dist/chunks/ProjectFoldersContext.es.js +0 -134
- package/dist/chunks/ProjectFoldersContextInstance.es.js +0 -7
- package/dist/chunks/VersionUploadContext.es.js +0 -232
- package/dist/chunks/ViewsContext.es.js +0 -878
- package/dist/chunks/mentionTypeOptions.es.js +0 -15
- package/dist/chunks/useColumnDragRestriction.es.js +0 -148
- package/dist/chunks/useLocalStorage.es.js +0 -355
- /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?:
|
|
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,
|
|
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,9 +511,18 @@ declare type User = {
|
|
|
418
511
|
export { }
|
|
419
512
|
|
|
420
513
|
|
|
421
|
-
declare
|
|
422
|
-
interface
|
|
423
|
-
|
|
514
|
+
declare module '@tanstack/react-table' {
|
|
515
|
+
interface FilterFns {
|
|
516
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
517
|
+
}
|
|
518
|
+
interface FilterMeta {
|
|
519
|
+
itemRank: RankingInfo;
|
|
520
|
+
}
|
|
521
|
+
interface TableMeta<TData extends RowData> {
|
|
522
|
+
isExpandable?: boolean;
|
|
523
|
+
isLoading?: boolean;
|
|
524
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
525
|
+
[key: string]: any;
|
|
424
526
|
}
|
|
425
527
|
}
|
|
426
528
|
|
|
@@ -439,18 +541,9 @@ declare module '@tanstack/react-table' {
|
|
|
439
541
|
}
|
|
440
542
|
|
|
441
543
|
|
|
442
|
-
declare
|
|
443
|
-
interface
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
interface FilterMeta {
|
|
447
|
-
itemRank: RankingInfo;
|
|
448
|
-
}
|
|
449
|
-
interface TableMeta<TData extends RowData> {
|
|
450
|
-
isExpandable?: boolean;
|
|
451
|
-
isLoading?: boolean;
|
|
452
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
453
|
-
[key: string]: any;
|
|
544
|
+
declare global {
|
|
545
|
+
interface Window {
|
|
546
|
+
senderId: string;
|
|
454
547
|
}
|
|
455
548
|
}
|
|
456
549
|
|
|
@@ -31,9 +31,18 @@ export declare type PickerSelection = Record<PickerEntityType, RowSelectionState
|
|
|
31
31
|
export { }
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
declare
|
|
35
|
-
interface
|
|
36
|
-
|
|
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;
|
|
37
46
|
}
|
|
38
47
|
}
|
|
39
48
|
|
|
@@ -52,18 +61,9 @@ declare module '@tanstack/react-table' {
|
|
|
52
61
|
}
|
|
53
62
|
|
|
54
63
|
|
|
55
|
-
declare
|
|
56
|
-
interface
|
|
57
|
-
|
|
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;
|
|
64
|
+
declare global {
|
|
65
|
+
interface Window {
|
|
66
|
+
senderId: string;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
package/dist/types/Feed.d.ts
CHANGED
|
@@ -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,9 +319,18 @@ declare type VersionSuggestionItem = {
|
|
|
316
319
|
export { }
|
|
317
320
|
|
|
318
321
|
|
|
319
|
-
declare
|
|
320
|
-
interface
|
|
321
|
-
|
|
322
|
+
declare module '@tanstack/react-table' {
|
|
323
|
+
interface FilterFns {
|
|
324
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
325
|
+
}
|
|
326
|
+
interface FilterMeta {
|
|
327
|
+
itemRank: RankingInfo;
|
|
328
|
+
}
|
|
329
|
+
interface TableMeta<TData extends RowData> {
|
|
330
|
+
isExpandable?: boolean;
|
|
331
|
+
isLoading?: boolean;
|
|
332
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
333
|
+
[key: string]: any;
|
|
322
334
|
}
|
|
323
335
|
}
|
|
324
336
|
|
|
@@ -337,18 +349,9 @@ declare module '@tanstack/react-table' {
|
|
|
337
349
|
}
|
|
338
350
|
|
|
339
351
|
|
|
340
|
-
declare
|
|
341
|
-
interface
|
|
342
|
-
|
|
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
|
+
declare global {
|
|
353
|
+
interface Window {
|
|
354
|
+
senderId: string;
|
|
352
355
|
}
|
|
353
356
|
}
|
|
354
357
|
|
|
@@ -266,9 +266,18 @@ export declare const renderListTableFallbackValue: (value: unknown) => string;
|
|
|
266
266
|
export { }
|
|
267
267
|
|
|
268
268
|
|
|
269
|
-
declare
|
|
270
|
-
interface
|
|
271
|
-
|
|
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;
|
|
272
281
|
}
|
|
273
282
|
}
|
|
274
283
|
|
|
@@ -287,18 +296,9 @@ declare module '@tanstack/react-table' {
|
|
|
287
296
|
}
|
|
288
297
|
|
|
289
298
|
|
|
290
|
-
declare
|
|
291
|
-
interface
|
|
292
|
-
|
|
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;
|
|
299
|
+
declare global {
|
|
300
|
+
interface Window {
|
|
301
|
+
senderId: string;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -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<
|
|
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<
|
|
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<
|
|
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,9 +202,18 @@ export declare const useNewEntityContext: () => NewEntityContextType;
|
|
|
196
202
|
export { }
|
|
197
203
|
|
|
198
204
|
|
|
199
|
-
declare
|
|
200
|
-
interface
|
|
201
|
-
|
|
205
|
+
declare module '@tanstack/react-table' {
|
|
206
|
+
interface FilterFns {
|
|
207
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
208
|
+
}
|
|
209
|
+
interface FilterMeta {
|
|
210
|
+
itemRank: RankingInfo;
|
|
211
|
+
}
|
|
212
|
+
interface TableMeta<TData extends RowData> {
|
|
213
|
+
isExpandable?: boolean;
|
|
214
|
+
isLoading?: boolean;
|
|
215
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
216
|
+
[key: string]: any;
|
|
202
217
|
}
|
|
203
218
|
}
|
|
204
219
|
|
|
@@ -217,18 +232,9 @@ declare module '@tanstack/react-table' {
|
|
|
217
232
|
}
|
|
218
233
|
|
|
219
234
|
|
|
220
|
-
declare
|
|
221
|
-
interface
|
|
222
|
-
|
|
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;
|
|
235
|
+
declare global {
|
|
236
|
+
interface Window {
|
|
237
|
+
senderId: string;
|
|
232
238
|
}
|
|
233
239
|
}
|
|
234
240
|
|