@ynput/ayon-frontend-shared 0.6.2 → 0.6.4
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 +732 -720
- package/dist/NewEntity.es.js +427 -425
- package/dist/ProjectTreeTable.es.js +1524 -1522
- package/dist/chunks/Feed.es.js +1864 -1797
- package/dist/chunks/MetaWidget.es.js +85 -98
- package/dist/chunks/Watchers.es.js +871 -810
- package/dist/components.es.js +1 -1
- package/dist/types/DetailsPanel.d.ts +2 -0
- package/dist/types/Feed.d.ts +2 -1
- package/dist/types/NewEntity.d.ts +2 -1
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -909,7 +909,7 @@ const Fe = 500, qt = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, js = ({
|
|
|
909
909
|
Id: t?.id,
|
|
910
910
|
"Entity type": t?.entityType,
|
|
911
911
|
"List type": t?.entityListType,
|
|
912
|
-
"Items count": t?.items?.length,
|
|
912
|
+
"Items count": t?.data?.count ?? t?.items?.length,
|
|
913
913
|
Owner: t?.owner,
|
|
914
914
|
"Created at": t?.createdAt && re(new Date(t?.createdAt), "PPpp"),
|
|
915
915
|
"Created by": t?.createdBy,
|
|
@@ -428,6 +428,8 @@ declare type ProjectModelWithProducts = ProjectModel & {
|
|
|
428
428
|
productTypes: ProductTypeListItem[];
|
|
429
429
|
};
|
|
430
430
|
|
|
431
|
+
export declare const ReadOnlyTags: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
432
|
+
|
|
431
433
|
declare type ResolveVersionJump = (versionId: string) => (() => void) | undefined;
|
|
432
434
|
|
|
433
435
|
declare type Status_2 = {
|
package/dist/types/Feed.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export declare const expandableMimeTypes: {
|
|
|
82
82
|
|
|
83
83
|
export declare const extractIdFromClassList: (classList: DOMTokenList) => string | null;
|
|
84
84
|
|
|
85
|
-
export declare const Feed: ({ disabled, readOnly, statuses, entityListId, isSlideOut, versionReview, }: FeedProps) => JSX_2.Element;
|
|
85
|
+
export declare const Feed: ({ disabled, readOnly, statuses, entityListId, isSlideOut, versionReview, saveCommentDrafts, }: FeedProps) => JSX_2.Element;
|
|
86
86
|
|
|
87
87
|
export declare const FEED_NEW_COMMENT: "__new__";
|
|
88
88
|
|
|
@@ -144,6 +144,7 @@ export declare type FeedProps = {
|
|
|
144
144
|
entityListId?: string | undefined;
|
|
145
145
|
isSlideOut?: boolean;
|
|
146
146
|
versionReview?: boolean;
|
|
147
|
+
saveCommentDrafts?: boolean;
|
|
147
148
|
};
|
|
148
149
|
|
|
149
150
|
export declare const FeedProvider: ({ children, ...props }: FeedContextProps) => JSX_2.Element;
|
|
@@ -92,7 +92,8 @@ export declare interface NewEntityOpenConfig {
|
|
|
92
92
|
|
|
93
93
|
export declare interface NewEntityProps {
|
|
94
94
|
disabled?: boolean;
|
|
95
|
-
|
|
95
|
+
/** `parentFolderIds` are the folders the new entities were created in */
|
|
96
|
+
onNewEntities?: (ops: OperationResponseModel[], stayOpen: boolean, parentFolderIds: string[]) => void;
|
|
96
97
|
showButton?: boolean;
|
|
97
98
|
showDialog?: boolean;
|
|
98
99
|
enableShortcuts?: boolean;
|