@ynput/ayon-frontend-shared 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ContextMenu.es.js +34 -16
- package/dist/DetailsPanel.es.js +461 -467
- package/dist/Feed.es.js +179 -50
- package/dist/ListTable.es.js +32 -35
- package/dist/NewEntity.es.js +1256 -11
- package/dist/ProjectTreeTable.es.js +4451 -2965
- package/dist/SimpleTable.es.js +8 -7
- package/dist/Slicer.es.js +451 -147
- package/dist/Views.es.js +918 -310
- package/dist/chunks/Actions.es.js +9 -4
- 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/EmptyPlaceholder.es.js +4 -4
- package/dist/chunks/EntityPath.es.js +58 -53
- package/dist/chunks/EntityPickerDialog.es.js +24 -20
- package/dist/chunks/EntityTooltip.es.js +20 -13
- package/dist/chunks/EntityUpdatesContext.es.js +38 -96
- package/dist/chunks/Feed.es.js +1495 -1439
- package/dist/chunks/FilterErrorActions.es.js +25 -229
- package/dist/chunks/Menu.es.js +21 -17
- package/dist/chunks/MenuContext.es.js +14 -65
- package/dist/chunks/MenuItem.es.js +34 -24
- package/dist/chunks/MetaWidget.es.js +2835 -4301
- package/dist/chunks/NewEntityContextInstance.es.js +11 -0
- package/dist/chunks/PlayableIcon.es.js +1532 -1594
- package/dist/chunks/ProjectContext.es.js +102 -66
- package/dist/chunks/RepresentationsList.es.js +1 -1
- package/dist/chunks/ReviewablesSelector.es.js +457 -458
- package/dist/chunks/SimpleForm.es.js +9 -9
- package/dist/chunks/SimpleTable.es.js +15 -13
- package/dist/chunks/Slicer.es.js +486 -470
- package/dist/chunks/TableSettingsFallback.es.js +25 -13
- package/dist/chunks/ThumbnailSimple.es.js +150 -261
- package/dist/chunks/VersionUploadContextInstance.es.js +12 -0
- package/dist/chunks/VideoPlayer.es.js +24 -28
- package/dist/chunks/Watchers.es.js +384 -389
- package/dist/chunks/entityDefinitions.es.js +2 -350
- package/dist/chunks/extractVersionFromFilename.es.js +28 -0
- package/dist/chunks/getBundleMode.es.js +61 -16
- package/dist/chunks/getUris.es.js +737 -712
- package/dist/chunks/searchTerms.es.js +59 -57
- package/dist/chunks/useAttributeEnums.es.js +4 -4
- package/dist/chunks/useCreateContextMenu.es.js +66 -90
- 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 +67 -50
- package/dist/components.es.js +1425 -999
- package/dist/context.es.js +791 -80
- package/dist/hooks.es.js +115 -120
- package/dist/index.es.js +19 -23
- package/dist/types/Actions.d.ts +14 -14
- package/dist/types/ContextMenu.d.ts +18 -15
- package/dist/types/DetailsPanel.d.ts +109 -16
- package/dist/types/EntityPickerDialog.d.ts +14 -14
- package/dist/types/Feed.d.ts +18 -15
- package/dist/types/ListTable.d.ts +14 -14
- package/dist/types/NewEntity.d.ts +23 -17
- package/dist/types/ProjectTreeTable.d.ts +29 -122
- package/dist/types/RepresentationsList.d.ts +14 -14
- package/dist/types/SimpleTable.d.ts +18 -15
- package/dist/types/Slicer.d.ts +17 -14
- package/dist/types/Views.d.ts +17 -14
- package/dist/types/api.d.ts +139 -127
- package/dist/types/components.d.ts +20 -15
- package/dist/types/context.d.ts +63 -23
- package/dist/types/hooks.d.ts +14 -14
- package/dist/types/index.d.ts +14 -14
- package/dist/types/util.d.ts +21 -14
- package/dist/util.es.js +77 -75
- package/package.json +1 -1
- package/dist/chunks/DeleteEntitiesContext.es.js +0 -748
- package/dist/chunks/DetailsPanelContext.es.js +0 -155
- 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/uriUtils.es.js +0 -48
- package/dist/chunks/useColumnDragRestriction.es.js +0 -158
- package/dist/chunks/useLocalStorage.es.js +0 -355
- package/dist/chunks/useSessionStorage.es.js +0 -61
- /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?:
|
|
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;
|
|
@@ -3745,7 +3651,7 @@ declare type useFetchOverviewDataData = {
|
|
|
3745
3651
|
onSyncData: OnSyncDataCallback;
|
|
3746
3652
|
};
|
|
3747
3653
|
|
|
3748
|
-
export declare const useGetEntityTypeData: ({ projectInfo }: Props) => (type: "folder" | "task" | "product" | string | undefined, subType?: string) =>
|
|
3654
|
+
export declare const useGetEntityTypeData: ({ projectInfo }: Props) => (type: "folder" | "task" | "product" | string | undefined, subType?: string) => FolderType_3 | ProductType_2 | undefined;
|
|
3749
3655
|
|
|
3750
3656
|
export declare const useGetGroupedFields: ({ allowedTypes, enumOnly, scope, }: {
|
|
3751
3657
|
allowedTypes?: ("string" | "integer" | "float")[];
|
|
@@ -3814,6 +3720,7 @@ declare interface UseQueryFiltersProps {
|
|
|
3814
3720
|
declare type User = {
|
|
3815
3721
|
name: string;
|
|
3816
3722
|
fullName: string;
|
|
3723
|
+
hidden?: boolean;
|
|
3817
3724
|
};
|
|
3818
3725
|
|
|
3819
3726
|
declare type UserAttribModel = {
|
|
@@ -4108,6 +4015,20 @@ export declare const WRAP_MIN_ROW_HEIGHT: number;
|
|
|
4108
4015
|
export { }
|
|
4109
4016
|
|
|
4110
4017
|
|
|
4018
|
+
declare module '@tanstack/react-table' {
|
|
4019
|
+
interface TableMeta<TData extends RowData> {
|
|
4020
|
+
options?: BuiltInFieldOptions;
|
|
4021
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
4022
|
+
projectName?: string;
|
|
4023
|
+
updateEntities?: CellUpdate;
|
|
4024
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
4025
|
+
selection?: string[];
|
|
4026
|
+
columnsConfig?: ColumnsConfig;
|
|
4027
|
+
loadingLinksEntityIds?: Set<string>;
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
|
|
4111
4032
|
declare module '@tanstack/react-table' {
|
|
4112
4033
|
interface FilterFns {
|
|
4113
4034
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -4131,20 +4052,6 @@ declare global {
|
|
|
4131
4052
|
}
|
|
4132
4053
|
|
|
4133
4054
|
|
|
4134
|
-
declare module '@tanstack/react-table' {
|
|
4135
|
-
interface TableMeta<TData extends RowData> {
|
|
4136
|
-
options?: BuiltInFieldOptions;
|
|
4137
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
4138
|
-
projectName?: string;
|
|
4139
|
-
updateEntities?: CellUpdate;
|
|
4140
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
4141
|
-
selection?: string[];
|
|
4142
|
-
columnsConfig?: ColumnsConfig;
|
|
4143
|
-
loadingLinksEntityIds?: Set<string>;
|
|
4144
|
-
}
|
|
4145
|
-
}
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
4055
|
declare module '@tanstack/react-table' {
|
|
4149
4056
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
4150
4057
|
listTableCustomCell?: boolean;
|
|
@@ -144,6 +144,20 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
|
|
|
144
144
|
export { }
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
declare module '@tanstack/react-table' {
|
|
148
|
+
interface TableMeta<TData extends RowData> {
|
|
149
|
+
options?: BuiltInFieldOptions;
|
|
150
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
151
|
+
projectName?: string;
|
|
152
|
+
updateEntities?: CellUpdate;
|
|
153
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
154
|
+
selection?: string[];
|
|
155
|
+
columnsConfig?: ColumnsConfig;
|
|
156
|
+
loadingLinksEntityIds?: Set<string>;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
147
161
|
declare module '@tanstack/react-table' {
|
|
148
162
|
interface FilterFns {
|
|
149
163
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -167,20 +181,6 @@ declare global {
|
|
|
167
181
|
}
|
|
168
182
|
|
|
169
183
|
|
|
170
|
-
declare module '@tanstack/react-table' {
|
|
171
|
-
interface TableMeta<TData extends RowData> {
|
|
172
|
-
options?: BuiltInFieldOptions;
|
|
173
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
174
|
-
projectName?: string;
|
|
175
|
-
updateEntities?: CellUpdate;
|
|
176
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
177
|
-
selection?: string[];
|
|
178
|
-
columnsConfig?: ColumnsConfig;
|
|
179
|
-
loadingLinksEntityIds?: Set<string>;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
184
|
declare module '@tanstack/react-table' {
|
|
185
185
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
186
186
|
listTableCustomCell?: boolean;
|
|
@@ -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
|
|
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,6 +245,20 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
|
|
|
242
245
|
export { }
|
|
243
246
|
|
|
244
247
|
|
|
248
|
+
declare module '@tanstack/react-table' {
|
|
249
|
+
interface TableMeta<TData extends RowData> {
|
|
250
|
+
options?: BuiltInFieldOptions;
|
|
251
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
252
|
+
projectName?: string;
|
|
253
|
+
updateEntities?: CellUpdate;
|
|
254
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
255
|
+
selection?: string[];
|
|
256
|
+
columnsConfig?: ColumnsConfig;
|
|
257
|
+
loadingLinksEntityIds?: Set<string>;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
|
|
245
262
|
declare module '@tanstack/react-table' {
|
|
246
263
|
interface FilterFns {
|
|
247
264
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -265,20 +282,6 @@ declare global {
|
|
|
265
282
|
}
|
|
266
283
|
|
|
267
284
|
|
|
268
|
-
declare module '@tanstack/react-table' {
|
|
269
|
-
interface TableMeta<TData extends RowData> {
|
|
270
|
-
options?: BuiltInFieldOptions;
|
|
271
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
272
|
-
projectName?: string;
|
|
273
|
-
updateEntities?: CellUpdate;
|
|
274
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
275
|
-
selection?: string[];
|
|
276
|
-
columnsConfig?: ColumnsConfig;
|
|
277
|
-
loadingLinksEntityIds?: Set<string>;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
282
285
|
declare module '@tanstack/react-table' {
|
|
283
286
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
284
287
|
listTableCustomCell?: boolean;
|
package/dist/types/Slicer.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 { 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,6 +929,20 @@ declare type ViewSettings = GetDefaultViewApiResponse['settings'];
|
|
|
926
929
|
export { }
|
|
927
930
|
|
|
928
931
|
|
|
932
|
+
declare module '@tanstack/react-table' {
|
|
933
|
+
interface TableMeta<TData extends RowData> {
|
|
934
|
+
options?: BuiltInFieldOptions;
|
|
935
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
936
|
+
projectName?: string;
|
|
937
|
+
updateEntities?: CellUpdate;
|
|
938
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
939
|
+
selection?: string[];
|
|
940
|
+
columnsConfig?: ColumnsConfig;
|
|
941
|
+
loadingLinksEntityIds?: Set<string>;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
|
|
929
946
|
declare module '@tanstack/react-table' {
|
|
930
947
|
interface FilterFns {
|
|
931
948
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -949,20 +966,6 @@ declare global {
|
|
|
949
966
|
}
|
|
950
967
|
|
|
951
968
|
|
|
952
|
-
declare module '@tanstack/react-table' {
|
|
953
|
-
interface TableMeta<TData extends RowData> {
|
|
954
|
-
options?: BuiltInFieldOptions;
|
|
955
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
956
|
-
projectName?: string;
|
|
957
|
-
updateEntities?: CellUpdate;
|
|
958
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
959
|
-
selection?: string[];
|
|
960
|
-
columnsConfig?: ColumnsConfig;
|
|
961
|
-
loadingLinksEntityIds?: Set<string>;
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
|
|
966
969
|
declare module '@tanstack/react-table' {
|
|
967
970
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
968
971
|
listTableCustomCell?: boolean;
|
package/dist/types/Views.d.ts
CHANGED
|
@@ -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';
|
|
@@ -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,6 +966,20 @@ export declare const WORKING_VIEW_ID: "_working_";
|
|
|
963
966
|
export { }
|
|
964
967
|
|
|
965
968
|
|
|
969
|
+
declare module '@tanstack/react-table' {
|
|
970
|
+
interface TableMeta<TData extends RowData> {
|
|
971
|
+
options?: BuiltInFieldOptions;
|
|
972
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
973
|
+
projectName?: string;
|
|
974
|
+
updateEntities?: CellUpdate;
|
|
975
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
976
|
+
selection?: string[];
|
|
977
|
+
columnsConfig?: ColumnsConfig;
|
|
978
|
+
loadingLinksEntityIds?: Set<string>;
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
|
|
966
983
|
declare module '@tanstack/react-table' {
|
|
967
984
|
interface FilterFns {
|
|
968
985
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -986,20 +1003,6 @@ declare global {
|
|
|
986
1003
|
}
|
|
987
1004
|
|
|
988
1005
|
|
|
989
|
-
declare module '@tanstack/react-table' {
|
|
990
|
-
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>;
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
1006
|
declare module '@tanstack/react-table' {
|
|
1004
1007
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
1005
1008
|
listTableCustomCell?: boolean;
|