@ynput/ayon-frontend-shared 0.8.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DetailsPanel.es.js +39 -39
- package/dist/ListTable.es.js +738 -651
- package/dist/NewEntity.es.js +4 -2
- package/dist/ProjectTreeTable.es.js +4208 -4185
- package/dist/ProjectsTable.es.js +5 -4
- package/dist/Slicer.es.js +327 -294
- package/dist/Views.es.js +725 -713
- package/dist/chunks/ColumnDropIndicator.es.js +33 -27
- package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +44 -38
- package/dist/chunks/EntityPickerDialog.es.js +19 -19
- package/dist/chunks/Feed.es.js +112 -110
- package/dist/chunks/FilmstripEntityCard.es.js +2 -2
- package/dist/chunks/GroupSettingsFallback.es.js +3 -2
- package/dist/chunks/MetaWidget.es.js +828 -809
- package/dist/chunks/NewEntityContextInstance.es.js +6 -5
- package/dist/chunks/ReviewablesSelector.es.js +76 -76
- package/dist/chunks/SimpleTable.es.js +151 -149
- package/dist/chunks/Slicer.es.js +637 -617
- package/dist/chunks/TableExportContextInstance.es.js +415 -471
- package/dist/chunks/ThumbnailSimple.es.js +11 -11
- package/dist/chunks/Watchers.es.js +46 -46
- package/dist/chunks/getUris.es.js +1069 -1057
- package/dist/chunks/searchTerms.es.js +617 -581
- package/dist/chunks/useCreateContextMenu.es.js +15 -13
- package/dist/chunks/useLocalStorage.es.js +78 -0
- package/dist/components.es.js +916 -884
- package/dist/context.es.js +348 -337
- package/dist/hooks.es.js +218 -187
- package/dist/index.es.js +11 -10
- package/dist/types/Actions.d.ts +17 -16
- package/dist/types/ContextMenu.d.ts +18 -17
- package/dist/types/DetailsPanel.d.ts +17 -16
- package/dist/types/EntityPickerDialog.d.ts +17 -16
- package/dist/types/Feed.d.ts +18 -17
- package/dist/types/ListTable.d.ts +28 -18
- package/dist/types/NewEntity.d.ts +19 -16
- package/dist/types/ProjectTreeTable.d.ts +62 -19
- package/dist/types/ProjectsTable.d.ts +18 -17
- package/dist/types/RepresentationsList.d.ts +17 -16
- package/dist/types/SimpleTable.d.ts +18 -17
- package/dist/types/Slicer.d.ts +24 -17
- package/dist/types/Views.d.ts +23 -17
- package/dist/types/api.d.ts +18 -17
- package/dist/types/components.d.ts +64 -18
- package/dist/types/context.d.ts +28 -18
- package/dist/types/hooks.d.ts +20 -17
- package/dist/types/index.d.ts +17 -16
- package/dist/types/util.d.ts +38 -16
- package/dist/util.es.js +116 -113
- package/package.json +2 -2
|
@@ -148,6 +148,22 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
|
|
|
148
148
|
export { }
|
|
149
149
|
|
|
150
150
|
|
|
151
|
+
declare module '@tanstack/react-table' {
|
|
152
|
+
interface FilterFns {
|
|
153
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
154
|
+
}
|
|
155
|
+
interface FilterMeta {
|
|
156
|
+
itemRank: RankingInfo;
|
|
157
|
+
}
|
|
158
|
+
interface TableMeta<TData extends RowData> {
|
|
159
|
+
isExpandable?: boolean;
|
|
160
|
+
isLoading?: boolean;
|
|
161
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
162
|
+
[key: string]: any;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
|
|
151
167
|
declare module '@tanstack/react-table' {
|
|
152
168
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
153
169
|
addonColumn?: AddonColumnMeta;
|
|
@@ -165,22 +181,6 @@ declare module '@tanstack/react-table' {
|
|
|
165
181
|
}
|
|
166
182
|
|
|
167
183
|
|
|
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;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
184
|
declare global {
|
|
185
185
|
interface Window {
|
|
186
186
|
senderId: string;
|
|
@@ -191,6 +191,7 @@ declare global {
|
|
|
191
191
|
declare module '@tanstack/react-table' {
|
|
192
192
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
193
193
|
listTableCustomCell?: boolean;
|
|
194
|
+
listTableGrow?: boolean;
|
|
194
195
|
editable?: boolean;
|
|
195
196
|
}
|
|
196
197
|
interface TableMeta<TData extends RowData> {
|
|
@@ -78,7 +78,7 @@ export declare const HeaderButton: IStyledComponentBase<"web", FastOmit<Omit< Bu
|
|
|
78
78
|
ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
|
|
79
79
|
}, never>>> & string & Omit< ForwardRefExoticComponent< ButtonProps & RefAttributes<HTMLButtonElement>>, keyof Component<any, {}, any>>;
|
|
80
80
|
|
|
81
|
-
declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport';
|
|
81
|
+
declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport' | 'personalApiKeys';
|
|
82
82
|
|
|
83
83
|
/** The project pages with a project table (ProjectTreeTable). */
|
|
84
84
|
declare type ProjectTablePage = 'overview' | 'products' | 'lists'
|
|
@@ -260,6 +260,22 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
|
|
|
260
260
|
export { }
|
|
261
261
|
|
|
262
262
|
|
|
263
|
+
declare module '@tanstack/react-table' {
|
|
264
|
+
interface FilterFns {
|
|
265
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
266
|
+
}
|
|
267
|
+
interface FilterMeta {
|
|
268
|
+
itemRank: RankingInfo;
|
|
269
|
+
}
|
|
270
|
+
interface TableMeta<TData extends RowData> {
|
|
271
|
+
isExpandable?: boolean;
|
|
272
|
+
isLoading?: boolean;
|
|
273
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
274
|
+
[key: string]: any;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
|
|
263
279
|
declare module '@tanstack/react-table' {
|
|
264
280
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
265
281
|
addonColumn?: AddonColumnMeta;
|
|
@@ -277,22 +293,6 @@ declare module '@tanstack/react-table' {
|
|
|
277
293
|
}
|
|
278
294
|
|
|
279
295
|
|
|
280
|
-
declare module '@tanstack/react-table' {
|
|
281
|
-
interface FilterFns {
|
|
282
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
283
|
-
}
|
|
284
|
-
interface FilterMeta {
|
|
285
|
-
itemRank: RankingInfo;
|
|
286
|
-
}
|
|
287
|
-
interface TableMeta<TData extends RowData> {
|
|
288
|
-
isExpandable?: boolean;
|
|
289
|
-
isLoading?: boolean;
|
|
290
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
291
|
-
[key: string]: any;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
296
|
declare global {
|
|
297
297
|
interface Window {
|
|
298
298
|
senderId: string;
|
|
@@ -303,6 +303,7 @@ declare global {
|
|
|
303
303
|
declare module '@tanstack/react-table' {
|
|
304
304
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
305
305
|
listTableCustomCell?: boolean;
|
|
306
|
+
listTableGrow?: boolean;
|
|
306
307
|
editable?: boolean;
|
|
307
308
|
}
|
|
308
309
|
interface TableMeta<TData extends RowData> {
|
package/dist/types/Slicer.d.ts
CHANGED
|
@@ -286,7 +286,7 @@ export declare interface PinnedSlice {
|
|
|
286
286
|
expanded: ExpandedState;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport';
|
|
289
|
+
declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport' | 'personalApiKeys';
|
|
290
290
|
|
|
291
291
|
declare type ProductType = {
|
|
292
292
|
__typename?: 'ProductType';
|
|
@@ -485,6 +485,10 @@ export declare interface SlicerContextValue {
|
|
|
485
485
|
setPanelExpanded: (panelId: string, expanded: React.SetStateAction<ExpandedState>) => void;
|
|
486
486
|
collapsedPanels: string[];
|
|
487
487
|
togglePanelCollapsed: (panelId: string) => void;
|
|
488
|
+
searchByPanel: Record<string, string | undefined>;
|
|
489
|
+
setSearchByPanel: React.Dispatch<React.SetStateAction<Record<string, string | undefined>>>;
|
|
490
|
+
searchMatchesByPanel: Record<string, string[]>;
|
|
491
|
+
setSearchMatchesByPanel: React.Dispatch<React.SetStateAction<Record<string, string[]>>>;
|
|
488
492
|
getSliceSort: (sliceType: SliceType) => SliceSort;
|
|
489
493
|
setSliceSort: (sliceType: SliceType, sort: SliceSort) => void;
|
|
490
494
|
isViewSyncPending: boolean;
|
|
@@ -534,6 +538,8 @@ declare type SlicerPanelLayout = {
|
|
|
534
538
|
export declare interface SlicerPanelSelections {
|
|
535
539
|
sliceSelections: SliceRowSelection[];
|
|
536
540
|
sliceFilters: SliceFilter[];
|
|
541
|
+
searchFolderIds: string[] | null;
|
|
542
|
+
getCountsSearchFolderIds: (sliceType: string) => string[] | null;
|
|
537
543
|
isLicensePending: boolean;
|
|
538
544
|
}
|
|
539
545
|
|
|
@@ -774,6 +780,22 @@ declare type ViewSettings = GetDefaultViewApiResponse['settings'];
|
|
|
774
780
|
export { }
|
|
775
781
|
|
|
776
782
|
|
|
783
|
+
declare module '@tanstack/react-table' {
|
|
784
|
+
interface FilterFns {
|
|
785
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
786
|
+
}
|
|
787
|
+
interface FilterMeta {
|
|
788
|
+
itemRank: RankingInfo;
|
|
789
|
+
}
|
|
790
|
+
interface TableMeta<TData extends RowData> {
|
|
791
|
+
isExpandable?: boolean;
|
|
792
|
+
isLoading?: boolean;
|
|
793
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
794
|
+
[key: string]: any;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
|
|
777
799
|
declare module '@tanstack/react-table' {
|
|
778
800
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
779
801
|
addonColumn?: AddonColumnMeta;
|
|
@@ -791,22 +813,6 @@ declare module '@tanstack/react-table' {
|
|
|
791
813
|
}
|
|
792
814
|
|
|
793
815
|
|
|
794
|
-
declare module '@tanstack/react-table' {
|
|
795
|
-
interface FilterFns {
|
|
796
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
797
|
-
}
|
|
798
|
-
interface FilterMeta {
|
|
799
|
-
itemRank: RankingInfo;
|
|
800
|
-
}
|
|
801
|
-
interface TableMeta<TData extends RowData> {
|
|
802
|
-
isExpandable?: boolean;
|
|
803
|
-
isLoading?: boolean;
|
|
804
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
805
|
-
[key: string]: any;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
|
|
810
816
|
declare global {
|
|
811
817
|
interface Window {
|
|
812
818
|
senderId: string;
|
|
@@ -817,6 +823,7 @@ declare global {
|
|
|
817
823
|
declare module '@tanstack/react-table' {
|
|
818
824
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
819
825
|
listTableCustomCell?: boolean;
|
|
826
|
+
listTableGrow?: boolean;
|
|
820
827
|
editable?: boolean;
|
|
821
828
|
}
|
|
822
829
|
interface TableMeta<TData extends RowData> {
|
package/dist/types/Views.d.ts
CHANGED
|
@@ -623,6 +623,7 @@ export declare interface ViewsContextValue {
|
|
|
623
623
|
onDeleteBaseView: (baseViewId: string, isStudioScope: boolean) => Promise<void>;
|
|
624
624
|
onLoadBaseView: (isStudioScope: boolean) => Promise<void>;
|
|
625
625
|
resetWorkingView: () => Promise<void>;
|
|
626
|
+
updateControlledSettings?: (updated: ViewSettings) => void;
|
|
626
627
|
api: typeof viewsQueries;
|
|
627
628
|
dispatch: any;
|
|
628
629
|
}
|
|
@@ -661,6 +662,10 @@ export declare interface ViewsProviderProps {
|
|
|
661
662
|
debug?: {
|
|
662
663
|
powerLicense?: boolean;
|
|
663
664
|
};
|
|
665
|
+
controlled?: {
|
|
666
|
+
settings: ViewSettings | undefined;
|
|
667
|
+
onChange: (changed: ViewSettings) => void;
|
|
668
|
+
};
|
|
664
669
|
}
|
|
665
670
|
|
|
666
671
|
declare const viewsQueries: Api<BaseQueryFn<string | {
|
|
@@ -749,13 +754,29 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
|
|
|
749
754
|
|
|
750
755
|
export declare type ViewType = (typeof viewTypes)[number] | string;
|
|
751
756
|
|
|
752
|
-
export declare const viewTypes: readonly ["overview", "taskProgress", "versions", "lists", "reviews", "reports"];
|
|
757
|
+
export declare const viewTypes: readonly ["overview", "taskProgress", "versions", "lists", "reviews", "reports", "events"];
|
|
753
758
|
|
|
754
759
|
export declare const WORKING_VIEW_ID: "_working_";
|
|
755
760
|
|
|
756
761
|
export { }
|
|
757
762
|
|
|
758
763
|
|
|
764
|
+
declare module '@tanstack/react-table' {
|
|
765
|
+
interface FilterFns {
|
|
766
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
767
|
+
}
|
|
768
|
+
interface FilterMeta {
|
|
769
|
+
itemRank: RankingInfo;
|
|
770
|
+
}
|
|
771
|
+
interface TableMeta<TData extends RowData> {
|
|
772
|
+
isExpandable?: boolean;
|
|
773
|
+
isLoading?: boolean;
|
|
774
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
775
|
+
[key: string]: any;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
|
|
759
780
|
declare module '@tanstack/react-table' {
|
|
760
781
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
761
782
|
addonColumn?: AddonColumnMeta;
|
|
@@ -773,22 +794,6 @@ declare module '@tanstack/react-table' {
|
|
|
773
794
|
}
|
|
774
795
|
|
|
775
796
|
|
|
776
|
-
declare module '@tanstack/react-table' {
|
|
777
|
-
interface FilterFns {
|
|
778
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
779
|
-
}
|
|
780
|
-
interface FilterMeta {
|
|
781
|
-
itemRank: RankingInfo;
|
|
782
|
-
}
|
|
783
|
-
interface TableMeta<TData extends RowData> {
|
|
784
|
-
isExpandable?: boolean;
|
|
785
|
-
isLoading?: boolean;
|
|
786
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
787
|
-
[key: string]: any;
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
|
|
792
797
|
declare global {
|
|
793
798
|
interface Window {
|
|
794
799
|
senderId: string;
|
|
@@ -799,6 +804,7 @@ declare global {
|
|
|
799
804
|
declare module '@tanstack/react-table' {
|
|
800
805
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
801
806
|
listTableCustomCell?: boolean;
|
|
807
|
+
listTableGrow?: boolean;
|
|
802
808
|
editable?: boolean;
|
|
803
809
|
}
|
|
804
810
|
interface TableMeta<TData extends RowData> {
|
package/dist/types/api.d.ts
CHANGED
|
@@ -21289,7 +21289,7 @@ export declare type TokenAuthCallbackApiArg = void;
|
|
|
21289
21289
|
|
|
21290
21290
|
export declare type TokenAuthCallbackApiResponse = LoginResponseModel;
|
|
21291
21291
|
|
|
21292
|
-
export declare const toListItemsStatsTargets: (targets: MetricTarget[]) => MetricTarget[];
|
|
21292
|
+
export declare const toListItemsStatsTargets: (targets: MetricTarget[], entity: StatsEntity) => MetricTarget[];
|
|
21293
21293
|
|
|
21294
21294
|
export declare const totalRowsFromStats: (stats: FieldStats[]) => number;
|
|
21295
21295
|
|
|
@@ -75931,6 +75931,22 @@ export declare type YnputConnectRequestModel = {
|
|
|
75931
75931
|
export { }
|
|
75932
75932
|
|
|
75933
75933
|
|
|
75934
|
+
declare module '@tanstack/react-table' {
|
|
75935
|
+
interface FilterFns {
|
|
75936
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
75937
|
+
}
|
|
75938
|
+
interface FilterMeta {
|
|
75939
|
+
itemRank: RankingInfo;
|
|
75940
|
+
}
|
|
75941
|
+
interface TableMeta<TData extends RowData> {
|
|
75942
|
+
isExpandable?: boolean;
|
|
75943
|
+
isLoading?: boolean;
|
|
75944
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
75945
|
+
[key: string]: any;
|
|
75946
|
+
}
|
|
75947
|
+
}
|
|
75948
|
+
|
|
75949
|
+
|
|
75934
75950
|
declare module '@tanstack/react-table' {
|
|
75935
75951
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
75936
75952
|
addonColumn?: AddonColumnMeta;
|
|
@@ -75948,22 +75964,6 @@ declare module '@tanstack/react-table' {
|
|
|
75948
75964
|
}
|
|
75949
75965
|
|
|
75950
75966
|
|
|
75951
|
-
declare module '@tanstack/react-table' {
|
|
75952
|
-
interface FilterFns {
|
|
75953
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
75954
|
-
}
|
|
75955
|
-
interface FilterMeta {
|
|
75956
|
-
itemRank: RankingInfo;
|
|
75957
|
-
}
|
|
75958
|
-
interface TableMeta<TData extends RowData> {
|
|
75959
|
-
isExpandable?: boolean;
|
|
75960
|
-
isLoading?: boolean;
|
|
75961
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
75962
|
-
[key: string]: any;
|
|
75963
|
-
}
|
|
75964
|
-
}
|
|
75965
|
-
|
|
75966
|
-
|
|
75967
75967
|
declare global {
|
|
75968
75968
|
interface Window {
|
|
75969
75969
|
senderId: string;
|
|
@@ -75974,6 +75974,7 @@ declare global {
|
|
|
75974
75974
|
declare module '@tanstack/react-table' {
|
|
75975
75975
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
75976
75976
|
listTableCustomCell?: boolean;
|
|
75977
|
+
listTableGrow?: boolean;
|
|
75977
75978
|
editable?: boolean;
|
|
75978
75979
|
}
|
|
75979
75980
|
interface TableMeta<TData extends RowData> {
|
|
@@ -260,6 +260,12 @@ declare type AddonMenuItem =
|
|
|
260
260
|
|
|
261
261
|
export declare const AddonMoreMenu: ({ items, icon, label, tooltip, variant, align, disabled, className, onError, "data-testid": testId, }: HostMoreMenuProps) => JSX_2.Element;
|
|
262
262
|
|
|
263
|
+
/**
|
|
264
|
+
* The addons' sections, each in a panel titled like AYON's own. A power feature's section shows
|
|
265
|
+
* only with a Power Pack licence; without one the page shows AYON's preview of it instead.
|
|
266
|
+
*/
|
|
267
|
+
export declare const AddonProfileSections: () => JSX_2.Element;
|
|
268
|
+
|
|
263
269
|
export declare const AddonServices: ({ projectName }: {
|
|
264
270
|
projectName: string | null;
|
|
265
271
|
}) => JSX_2.Element;
|
|
@@ -2196,6 +2202,13 @@ declare interface HostMoreMenuProps extends MoreMenuProps {
|
|
|
2196
2202
|
onError: (error: unknown) => void
|
|
2197
2203
|
}
|
|
2198
2204
|
|
|
2205
|
+
/** What the host's `useContextMenu` returns: the opener, with where to report a failing item. */
|
|
2206
|
+
declare type HostOpenContextMenu = (
|
|
2207
|
+
event: MouseEvent_2,
|
|
2208
|
+
items: AddonMenuItem[],
|
|
2209
|
+
onError: (error: unknown) => void,
|
|
2210
|
+
) => void
|
|
2211
|
+
|
|
2199
2212
|
declare type IconInputPt = Partial<React.ComponentProps<typeof Styled.IconSelect>>;
|
|
2200
2213
|
|
|
2201
2214
|
declare type IconModel = {
|
|
@@ -2946,7 +2959,7 @@ declare type PowerpackDialogType = {
|
|
|
2946
2959
|
icon?: string;
|
|
2947
2960
|
};
|
|
2948
2961
|
|
|
2949
|
-
declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport';
|
|
2962
|
+
declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport' | 'personalApiKeys';
|
|
2950
2963
|
|
|
2951
2964
|
declare interface Processing extends ReviewableProcessingStatus {
|
|
2952
2965
|
progress?: number;
|
|
@@ -2989,6 +3002,24 @@ declare type ProductTypeListItem = {
|
|
|
2989
3002
|
icon?: string | null;
|
|
2990
3003
|
};
|
|
2991
3004
|
|
|
3005
|
+
/** Context of a profile section: nothing besides `user`, the signed-in user it is about. */
|
|
3006
|
+
declare type ProfileSectionContext = Record<never, never>
|
|
3007
|
+
|
|
3008
|
+
/** Description of a `profile.section` contribution. */
|
|
3009
|
+
declare interface ProfileSectionMeta {
|
|
3010
|
+
/** unique among the addon's sections */
|
|
3011
|
+
id: string
|
|
3012
|
+
/** the section's title, above its content */
|
|
3013
|
+
title: string
|
|
3014
|
+
/** order among addon sections, lowest first */
|
|
3015
|
+
order?: number
|
|
3016
|
+
/**
|
|
3017
|
+
* a Power Pack feature: shown only with a Power Pack licence. Without one, AYON shows its own
|
|
3018
|
+
* preview of the feature where it has one. `false` by default
|
|
3019
|
+
*/
|
|
3020
|
+
powerFeature?: boolean
|
|
3021
|
+
}
|
|
3022
|
+
|
|
2992
3023
|
declare interface ProjectContextValue extends ProjectModelWithProducts {
|
|
2993
3024
|
projectName: string;
|
|
2994
3025
|
isLoading: boolean;
|
|
@@ -3988,6 +4019,17 @@ declare interface SlotMap {
|
|
|
3988
4019
|
context: UserDetailsContext
|
|
3989
4020
|
pieces: { run: Loader<RunPiece<'userDetails.menuItem'>> }
|
|
3990
4021
|
}
|
|
4022
|
+
/**
|
|
4023
|
+
* A section on the signed-in user's profile page (Account → Profile), below AYON's own forms.
|
|
4024
|
+
* The section shows from the description, titled like AYON's; `component` loads when it is first
|
|
4025
|
+
* shown. Saving is the section's own: AYON's "Save profile" button doesn't see it.
|
|
4026
|
+
*/
|
|
4027
|
+
'profile.section': {
|
|
4028
|
+
version: 1
|
|
4029
|
+
meta: ProfileSectionMeta
|
|
4030
|
+
context: ProfileSectionContext
|
|
4031
|
+
pieces: { component: Loader<ComponentType<SlotProps<'profile.section'>>> }
|
|
4032
|
+
}
|
|
3991
4033
|
/**
|
|
3992
4034
|
* Code with no UI that runs while AYON is open, whatever the page: keeping a state, listening to
|
|
3993
4035
|
* websocket events, registering a store listener. `component` loads at startup and is mounted
|
|
@@ -4573,6 +4615,8 @@ export declare const UploadVersionDialog: FC<UploadVersionDialogProps>;
|
|
|
4573
4615
|
declare interface UploadVersionDialogProps {
|
|
4574
4616
|
}
|
|
4575
4617
|
|
|
4618
|
+
export declare const useAddonContextMenu: () => HostOpenContextMenu;
|
|
4619
|
+
|
|
4576
4620
|
/**
|
|
4577
4621
|
* The sections addons contribute to this page's Customize panel (projectTable.customizeSection
|
|
4578
4622
|
* slot, @ynput/ayon-addon), for ProjectTableSettings' `settings`. The entries show from the
|
|
@@ -5147,6 +5191,7 @@ declare interface ViewsContextValue {
|
|
|
5147
5191
|
onDeleteBaseView: (baseViewId: string, isStudioScope: boolean) => Promise<void>;
|
|
5148
5192
|
onLoadBaseView: (isStudioScope: boolean) => Promise<void>;
|
|
5149
5193
|
resetWorkingView: () => Promise<void>;
|
|
5194
|
+
updateControlledSettings?: (updated: ViewSettings) => void;
|
|
5150
5195
|
api: typeof viewsQueries;
|
|
5151
5196
|
dispatch: any;
|
|
5152
5197
|
}
|
|
@@ -5259,7 +5304,7 @@ declare interface ViewsWithReportsSettings extends ViewsContextValue {
|
|
|
5259
5304
|
|
|
5260
5305
|
declare type ViewType = (typeof viewTypes)[number] | string;
|
|
5261
5306
|
|
|
5262
|
-
declare const viewTypes: readonly ["overview", "taskProgress", "versions", "lists", "reviews", "reports"];
|
|
5307
|
+
declare const viewTypes: readonly ["overview", "taskProgress", "versions", "lists", "reviews", "reports", "events"];
|
|
5263
5308
|
|
|
5264
5309
|
export declare const Watchers: ForwardRefExoticComponent<WatchersProps & RefAttributes<DropdownRef>>;
|
|
5265
5310
|
|
|
@@ -5316,6 +5361,22 @@ export * from "primereact/confirmdialog";
|
|
|
5316
5361
|
export { }
|
|
5317
5362
|
|
|
5318
5363
|
|
|
5364
|
+
declare module '@tanstack/react-table' {
|
|
5365
|
+
interface FilterFns {
|
|
5366
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
5367
|
+
}
|
|
5368
|
+
interface FilterMeta {
|
|
5369
|
+
itemRank: RankingInfo;
|
|
5370
|
+
}
|
|
5371
|
+
interface TableMeta<TData extends RowData> {
|
|
5372
|
+
isExpandable?: boolean;
|
|
5373
|
+
isLoading?: boolean;
|
|
5374
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
5375
|
+
[key: string]: any;
|
|
5376
|
+
}
|
|
5377
|
+
}
|
|
5378
|
+
|
|
5379
|
+
|
|
5319
5380
|
declare module '@tanstack/react-table' {
|
|
5320
5381
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
5321
5382
|
addonColumn?: AddonColumnMeta;
|
|
@@ -5333,22 +5394,6 @@ declare module '@tanstack/react-table' {
|
|
|
5333
5394
|
}
|
|
5334
5395
|
|
|
5335
5396
|
|
|
5336
|
-
declare module '@tanstack/react-table' {
|
|
5337
|
-
interface FilterFns {
|
|
5338
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
5339
|
-
}
|
|
5340
|
-
interface FilterMeta {
|
|
5341
|
-
itemRank: RankingInfo;
|
|
5342
|
-
}
|
|
5343
|
-
interface TableMeta<TData extends RowData> {
|
|
5344
|
-
isExpandable?: boolean;
|
|
5345
|
-
isLoading?: boolean;
|
|
5346
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
5347
|
-
[key: string]: any;
|
|
5348
|
-
}
|
|
5349
|
-
}
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
5397
|
declare global {
|
|
5353
5398
|
interface Window {
|
|
5354
5399
|
senderId: string;
|
|
@@ -5359,6 +5404,7 @@ declare global {
|
|
|
5359
5404
|
declare module '@tanstack/react-table' {
|
|
5360
5405
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
5361
5406
|
listTableCustomCell?: boolean;
|
|
5407
|
+
listTableGrow?: boolean;
|
|
5362
5408
|
editable?: boolean;
|
|
5363
5409
|
}
|
|
5364
5410
|
interface TableMeta<TData extends RowData> {
|
package/dist/types/context.d.ts
CHANGED
|
@@ -949,7 +949,7 @@ export declare type PowerpackDialogType = {
|
|
|
949
949
|
icon?: string;
|
|
950
950
|
};
|
|
951
951
|
|
|
952
|
-
export declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport';
|
|
952
|
+
export declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advancedFilters' | 'listAttributes' | 'listFolders' | 'listAccess' | 'groupAttributes' | 'sharedViews' | 'commentCategories' | 'projectFolders' | 'columnSummaries' | 'listValues' | 'entityLinks' | 'tableExport' | 'personalApiKeys';
|
|
953
953
|
|
|
954
954
|
export declare const powerpackFeatureOrder: PowerpackFeature[];
|
|
955
955
|
|
|
@@ -1562,6 +1562,7 @@ export declare type TableExportRows = {
|
|
|
1562
1562
|
products?: TableExportProductsQuery;
|
|
1563
1563
|
versions?: TableExportVersionsQuery;
|
|
1564
1564
|
entityList?: TableExportListQuery;
|
|
1565
|
+
users?: TableExportUsersQuery;
|
|
1565
1566
|
};
|
|
1566
1567
|
|
|
1567
1568
|
export declare type TableExportScope = 'table' | 'selection';
|
|
@@ -1569,6 +1570,9 @@ export declare type TableExportScope = 'table' | 'selection';
|
|
|
1569
1570
|
export declare type TableExportSource = {
|
|
1570
1571
|
projectName: string;
|
|
1571
1572
|
canImport: boolean;
|
|
1573
|
+
importColumnsLabel?: string;
|
|
1574
|
+
rowSelection?: boolean;
|
|
1575
|
+
minPowerpackVersion?: string;
|
|
1572
1576
|
selectedRowsCount: number;
|
|
1573
1577
|
getContent: (scope: TableExportScope, options: TableExportOptions) => TableExportContent;
|
|
1574
1578
|
getSkippedColumns: (scope: TableExportScope, options: TableExportOptions) => string[];
|
|
@@ -1584,6 +1588,10 @@ export declare type TableExportTasksQuery = {
|
|
|
1584
1588
|
sortBy?: string[];
|
|
1585
1589
|
};
|
|
1586
1590
|
|
|
1591
|
+
export declare type TableExportUsersQuery = {
|
|
1592
|
+
names: string[];
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1587
1595
|
export declare type TableExportVersionsQuery = {
|
|
1588
1596
|
ids?: string[];
|
|
1589
1597
|
productIds?: string[];
|
|
@@ -2173,6 +2181,7 @@ declare interface ViewsContextValue {
|
|
|
2173
2181
|
onDeleteBaseView: (baseViewId: string, isStudioScope: boolean) => Promise<void>;
|
|
2174
2182
|
onLoadBaseView: (isStudioScope: boolean) => Promise<void>;
|
|
2175
2183
|
resetWorkingView: () => Promise<void>;
|
|
2184
|
+
updateControlledSettings?: (updated: ViewSettings) => void;
|
|
2176
2185
|
api: typeof viewsQueries;
|
|
2177
2186
|
dispatch: any;
|
|
2178
2187
|
}
|
|
@@ -2279,7 +2288,7 @@ declare interface ViewsWithReportsSettings extends ViewsContextValue {
|
|
|
2279
2288
|
|
|
2280
2289
|
declare type ViewType = (typeof viewTypes)[number] | string;
|
|
2281
2290
|
|
|
2282
|
-
declare const viewTypes: readonly ["overview", "taskProgress", "versions", "lists", "reviews", "reports"];
|
|
2291
|
+
declare const viewTypes: readonly ["overview", "taskProgress", "versions", "lists", "reviews", "reports", "events"];
|
|
2283
2292
|
|
|
2284
2293
|
export declare type WebsocketContextType = {
|
|
2285
2294
|
getWebSocket: () => WebSocketLike | null;
|
|
@@ -2330,6 +2339,22 @@ declare type YnputCloudSubscriptionModel = {
|
|
|
2330
2339
|
export { }
|
|
2331
2340
|
|
|
2332
2341
|
|
|
2342
|
+
declare module '@tanstack/react-table' {
|
|
2343
|
+
interface FilterFns {
|
|
2344
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
2345
|
+
}
|
|
2346
|
+
interface FilterMeta {
|
|
2347
|
+
itemRank: RankingInfo;
|
|
2348
|
+
}
|
|
2349
|
+
interface TableMeta<TData extends RowData> {
|
|
2350
|
+
isExpandable?: boolean;
|
|
2351
|
+
isLoading?: boolean;
|
|
2352
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
2353
|
+
[key: string]: any;
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
|
|
2333
2358
|
declare module '@tanstack/react-table' {
|
|
2334
2359
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
2335
2360
|
addonColumn?: AddonColumnMeta;
|
|
@@ -2347,22 +2372,6 @@ declare module '@tanstack/react-table' {
|
|
|
2347
2372
|
}
|
|
2348
2373
|
|
|
2349
2374
|
|
|
2350
|
-
declare module '@tanstack/react-table' {
|
|
2351
|
-
interface FilterFns {
|
|
2352
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
2353
|
-
}
|
|
2354
|
-
interface FilterMeta {
|
|
2355
|
-
itemRank: RankingInfo;
|
|
2356
|
-
}
|
|
2357
|
-
interface TableMeta<TData extends RowData> {
|
|
2358
|
-
isExpandable?: boolean;
|
|
2359
|
-
isLoading?: boolean;
|
|
2360
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
2361
|
-
[key: string]: any;
|
|
2362
|
-
}
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
2375
|
declare global {
|
|
2367
2376
|
interface Window {
|
|
2368
2377
|
senderId: string;
|
|
@@ -2373,6 +2382,7 @@ declare global {
|
|
|
2373
2382
|
declare module '@tanstack/react-table' {
|
|
2374
2383
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
2375
2384
|
listTableCustomCell?: boolean;
|
|
2385
|
+
listTableGrow?: boolean;
|
|
2376
2386
|
editable?: boolean;
|
|
2377
2387
|
}
|
|
2378
2388
|
interface TableMeta<TData extends RowData> {
|
package/dist/types/hooks.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ declare type GetEntityGroupsProps = {
|
|
|
292
292
|
groupBy?: TableGroupBy;
|
|
293
293
|
projectName: string;
|
|
294
294
|
entityType: string;
|
|
295
|
+
folderIds?: string[];
|
|
295
296
|
};
|
|
296
297
|
|
|
297
298
|
declare type GroupByConfig = {
|
|
@@ -574,9 +575,10 @@ export declare const useGetBundleAddon: () => {
|
|
|
574
575
|
isLoading: boolean;
|
|
575
576
|
};
|
|
576
577
|
|
|
577
|
-
export declare const useGetEntityGroups: ({ groupBy, projectName, entityType }: GetEntityGroupsProps) => {
|
|
578
|
+
export declare const useGetEntityGroups: ({ groupBy, projectName, entityType, folderIds, }: GetEntityGroupsProps) => {
|
|
578
579
|
groups: EntityGroup[];
|
|
579
580
|
error: FetchBaseQueryError | SerializedError | undefined;
|
|
581
|
+
isLoading: boolean;
|
|
580
582
|
};
|
|
581
583
|
|
|
582
584
|
export declare const useGetProductionAddon: () => {
|
|
@@ -698,6 +700,22 @@ export declare const writeSessionStorage: <T>(key: string, value: T) => void;
|
|
|
698
700
|
export { }
|
|
699
701
|
|
|
700
702
|
|
|
703
|
+
declare module '@tanstack/react-table' {
|
|
704
|
+
interface FilterFns {
|
|
705
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
706
|
+
}
|
|
707
|
+
interface FilterMeta {
|
|
708
|
+
itemRank: RankingInfo;
|
|
709
|
+
}
|
|
710
|
+
interface TableMeta<TData extends RowData> {
|
|
711
|
+
isExpandable?: boolean;
|
|
712
|
+
isLoading?: boolean;
|
|
713
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
714
|
+
[key: string]: any;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
|
|
701
719
|
declare module '@tanstack/react-table' {
|
|
702
720
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
703
721
|
addonColumn?: AddonColumnMeta;
|
|
@@ -715,22 +733,6 @@ declare module '@tanstack/react-table' {
|
|
|
715
733
|
}
|
|
716
734
|
|
|
717
735
|
|
|
718
|
-
declare module '@tanstack/react-table' {
|
|
719
|
-
interface FilterFns {
|
|
720
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
721
|
-
}
|
|
722
|
-
interface FilterMeta {
|
|
723
|
-
itemRank: RankingInfo;
|
|
724
|
-
}
|
|
725
|
-
interface TableMeta<TData extends RowData> {
|
|
726
|
-
isExpandable?: boolean;
|
|
727
|
-
isLoading?: boolean;
|
|
728
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
729
|
-
[key: string]: any;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
|
|
734
736
|
declare global {
|
|
735
737
|
interface Window {
|
|
736
738
|
senderId: string;
|
|
@@ -741,6 +743,7 @@ declare global {
|
|
|
741
743
|
declare module '@tanstack/react-table' {
|
|
742
744
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
743
745
|
listTableCustomCell?: boolean;
|
|
746
|
+
listTableGrow?: boolean;
|
|
744
747
|
editable?: boolean;
|
|
745
748
|
}
|
|
746
749
|
interface TableMeta<TData extends RowData> {
|