@ynput/ayon-frontend-shared 0.5.0 → 0.6.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 +88 -86
- package/dist/Feed.es.js +22 -22
- package/dist/ListTable.es.js +77 -67
- package/dist/ProjectTreeTable.es.js +1164 -1150
- package/dist/Slicer.es.js +2 -2
- package/dist/Views.es.js +1 -1
- package/dist/api.es.js +331 -329
- package/dist/chunks/Actions.es.js +23 -23
- package/dist/chunks/DeleteEntitiesContext.es.js +115 -115
- package/dist/chunks/DetailsDialog.es.js +3 -3
- package/dist/chunks/DetailsPanelContext.es.js +155 -0
- package/dist/chunks/EntityPath.es.js +20 -20
- package/dist/chunks/EntityPickerDialog.es.js +1 -1
- package/dist/chunks/EntityTooltip.es.js +12 -12
- package/dist/chunks/EntityUpdatesContext.es.js +1 -1
- package/dist/chunks/Feed.es.js +2208 -2611
- package/dist/chunks/FilterErrorActions.es.js +1 -1
- package/dist/chunks/GlobalContext.es.js +14 -14
- package/dist/chunks/Menu.es.js +1 -1
- package/dist/chunks/MenuContext.es.js +51 -242
- package/dist/chunks/MenuItem.es.js +1 -1
- package/dist/chunks/MetaWidget.es.js +3341 -3899
- package/dist/chunks/NewEntityContext.es.js +40 -40
- package/dist/chunks/PlayableIcon.es.js +4261 -1163
- package/dist/chunks/ProjectContext.es.js +13 -13
- package/dist/chunks/ProjectFoldersContext.es.js +5 -5
- package/dist/chunks/RepresentationsList.es.js +3 -3
- package/dist/chunks/ReviewablesSelector.es.js +85 -76
- package/dist/chunks/SimpleForm.es.js +9 -9
- package/dist/chunks/SimpleTable.es.js +1 -1
- package/dist/chunks/Slicer.es.js +173 -171
- package/dist/chunks/TableSettingsFallback.es.js +6 -6
- package/dist/chunks/ThumbnailSimple.es.js +410 -61
- package/dist/chunks/VersionUploadContext.es.js +29 -29
- package/dist/chunks/ViewsContext.es.js +90 -90
- package/dist/chunks/Watchers.es.js +628 -598
- package/dist/chunks/entityDefinitions.es.js +31 -31
- package/dist/chunks/expandRelativeDates.es.js +27 -0
- package/dist/chunks/getBundleMode.es.js +16 -61
- package/dist/chunks/getUris.es.js +271 -269
- package/dist/chunks/queryFilterToClientFilter.es.js +11 -10
- package/dist/chunks/searchTerms.es.js +177 -173
- package/dist/chunks/uriUtils.es.js +48 -0
- package/dist/chunks/useAttributeEnums.es.js +11 -11
- package/dist/chunks/useColumnDragRestriction.es.js +37 -27
- package/dist/chunks/useDateRangeFilter.es.js +3 -3
- package/dist/chunks/useLocalStorage.es.js +9 -9
- package/dist/chunks/useSessionStorage.es.js +61 -0
- package/dist/chunks/viewUpdateHelper.es.js +19 -19
- package/dist/components.es.js +165 -160
- package/dist/context.es.js +60 -58
- package/dist/hooks.es.js +104 -98
- package/dist/index.es.js +18 -13
- package/dist/types/Actions.d.ts +16 -16
- package/dist/types/ContextMenu.d.ts +16 -16
- package/dist/types/DetailsPanel.d.ts +16 -16
- package/dist/types/EntityPickerDialog.d.ts +16 -16
- package/dist/types/Feed.d.ts +16 -16
- package/dist/types/ListTable.d.ts +16 -16
- package/dist/types/NewEntity.d.ts +16 -16
- package/dist/types/ProjectTreeTable.d.ts +20 -16
- package/dist/types/RepresentationsList.d.ts +16 -16
- package/dist/types/SimpleTable.d.ts +16 -16
- package/dist/types/Slicer.d.ts +16 -16
- package/dist/types/Views.d.ts +17 -17
- package/dist/types/api.d.ts +391 -95
- package/dist/types/components.d.ts +79 -20
- package/dist/types/context.d.ts +60 -17
- package/dist/types/hooks.d.ts +16 -16
- package/dist/types/index.d.ts +16 -16
- package/dist/types/util.d.ts +16 -16
- package/dist/util.es.js +108 -97
- package/package.json +16 -4
- package/dist/chunks/mentionTypeOptions.es.js +0 -15
|
@@ -266,6 +266,22 @@ export declare const renderListTableFallbackValue: (value: unknown) => string;
|
|
|
266
266
|
export { }
|
|
267
267
|
|
|
268
268
|
|
|
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;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
|
|
269
285
|
declare global {
|
|
270
286
|
interface Window {
|
|
271
287
|
senderId: string;
|
|
@@ -287,22 +303,6 @@ declare module '@tanstack/react-table' {
|
|
|
287
303
|
}
|
|
288
304
|
|
|
289
305
|
|
|
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
|
-
}
|
|
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;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
306
|
declare module '@tanstack/react-table' {
|
|
307
307
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
308
308
|
listTableCustomCell?: boolean;
|
|
@@ -196,6 +196,22 @@ export declare const useNewEntityContext: () => NewEntityContextType;
|
|
|
196
196
|
export { }
|
|
197
197
|
|
|
198
198
|
|
|
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
|
+
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;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
199
215
|
declare global {
|
|
200
216
|
interface Window {
|
|
201
217
|
senderId: string;
|
|
@@ -217,22 +233,6 @@ declare module '@tanstack/react-table' {
|
|
|
217
233
|
}
|
|
218
234
|
|
|
219
235
|
|
|
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
|
-
}
|
|
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;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
236
|
declare module '@tanstack/react-table' {
|
|
237
237
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
238
238
|
listTableCustomCell?: boolean;
|
|
@@ -3585,6 +3585,10 @@ export declare interface TextWidgetProps extends Omit<React.HTMLAttributes<HTMLS
|
|
|
3585
3585
|
onRequestEdit?: (id: CellId | null) => void;
|
|
3586
3586
|
getDraftValue?: () => string | null;
|
|
3587
3587
|
setDraftValue?: (value: string | null) => void;
|
|
3588
|
+
mentionEntity?: {
|
|
3589
|
+
entityId: string;
|
|
3590
|
+
entityType: string;
|
|
3591
|
+
};
|
|
3588
3592
|
}
|
|
3589
3593
|
|
|
3590
3594
|
export declare type TextWidgetType = Extract<AttributeType, 'string' | 'integer' | 'float'>;
|
|
@@ -4104,6 +4108,22 @@ export declare const WRAP_MIN_ROW_HEIGHT: number;
|
|
|
4104
4108
|
export { }
|
|
4105
4109
|
|
|
4106
4110
|
|
|
4111
|
+
declare module '@tanstack/react-table' {
|
|
4112
|
+
interface FilterFns {
|
|
4113
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
4114
|
+
}
|
|
4115
|
+
interface FilterMeta {
|
|
4116
|
+
itemRank: RankingInfo;
|
|
4117
|
+
}
|
|
4118
|
+
interface TableMeta<TData extends RowData> {
|
|
4119
|
+
isExpandable?: boolean;
|
|
4120
|
+
isLoading?: boolean;
|
|
4121
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
4122
|
+
[key: string]: any;
|
|
4123
|
+
}
|
|
4124
|
+
}
|
|
4125
|
+
|
|
4126
|
+
|
|
4107
4127
|
declare global {
|
|
4108
4128
|
interface Window {
|
|
4109
4129
|
senderId: string;
|
|
@@ -4125,22 +4145,6 @@ declare module '@tanstack/react-table' {
|
|
|
4125
4145
|
}
|
|
4126
4146
|
|
|
4127
4147
|
|
|
4128
|
-
declare module '@tanstack/react-table' {
|
|
4129
|
-
interface FilterFns {
|
|
4130
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
4131
|
-
}
|
|
4132
|
-
interface FilterMeta {
|
|
4133
|
-
itemRank: RankingInfo;
|
|
4134
|
-
}
|
|
4135
|
-
interface TableMeta<TData extends RowData> {
|
|
4136
|
-
isExpandable?: boolean;
|
|
4137
|
-
isLoading?: boolean;
|
|
4138
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
4139
|
-
[key: string]: any;
|
|
4140
|
-
}
|
|
4141
|
-
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
4148
|
declare module '@tanstack/react-table' {
|
|
4145
4149
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
4146
4150
|
listTableCustomCell?: boolean;
|
|
@@ -144,6 +144,22 @@ export declare const RepresentationsList: ({ entities }: Props) => JSX_2.Element
|
|
|
144
144
|
export { }
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
declare module '@tanstack/react-table' {
|
|
148
|
+
interface FilterFns {
|
|
149
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
150
|
+
}
|
|
151
|
+
interface FilterMeta {
|
|
152
|
+
itemRank: RankingInfo;
|
|
153
|
+
}
|
|
154
|
+
interface TableMeta<TData extends RowData> {
|
|
155
|
+
isExpandable?: boolean;
|
|
156
|
+
isLoading?: boolean;
|
|
157
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
147
163
|
declare global {
|
|
148
164
|
interface Window {
|
|
149
165
|
senderId: string;
|
|
@@ -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 module '@tanstack/react-table' {
|
|
185
185
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
186
186
|
listTableCustomCell?: boolean;
|
|
@@ -242,6 +242,22 @@ export declare const useSimpleTableContext: () => SimpleTableContextValue;
|
|
|
242
242
|
export { }
|
|
243
243
|
|
|
244
244
|
|
|
245
|
+
declare module '@tanstack/react-table' {
|
|
246
|
+
interface FilterFns {
|
|
247
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
248
|
+
}
|
|
249
|
+
interface FilterMeta {
|
|
250
|
+
itemRank: RankingInfo;
|
|
251
|
+
}
|
|
252
|
+
interface TableMeta<TData extends RowData> {
|
|
253
|
+
isExpandable?: boolean;
|
|
254
|
+
isLoading?: boolean;
|
|
255
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
|
|
245
261
|
declare global {
|
|
246
262
|
interface Window {
|
|
247
263
|
senderId: string;
|
|
@@ -263,22 +279,6 @@ declare module '@tanstack/react-table' {
|
|
|
263
279
|
}
|
|
264
280
|
|
|
265
281
|
|
|
266
|
-
declare module '@tanstack/react-table' {
|
|
267
|
-
interface FilterFns {
|
|
268
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
269
|
-
}
|
|
270
|
-
interface FilterMeta {
|
|
271
|
-
itemRank: RankingInfo;
|
|
272
|
-
}
|
|
273
|
-
interface TableMeta<TData extends RowData> {
|
|
274
|
-
isExpandable?: boolean;
|
|
275
|
-
isLoading?: boolean;
|
|
276
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
277
|
-
[key: string]: any;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
282
282
|
declare module '@tanstack/react-table' {
|
|
283
283
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
284
284
|
listTableCustomCell?: boolean;
|
package/dist/types/Slicer.d.ts
CHANGED
|
@@ -926,6 +926,22 @@ declare type ViewSettings = GetDefaultViewApiResponse['settings'];
|
|
|
926
926
|
export { }
|
|
927
927
|
|
|
928
928
|
|
|
929
|
+
declare module '@tanstack/react-table' {
|
|
930
|
+
interface FilterFns {
|
|
931
|
+
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
932
|
+
}
|
|
933
|
+
interface FilterMeta {
|
|
934
|
+
itemRank: RankingInfo;
|
|
935
|
+
}
|
|
936
|
+
interface TableMeta<TData extends RowData> {
|
|
937
|
+
isExpandable?: boolean;
|
|
938
|
+
isLoading?: boolean;
|
|
939
|
+
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
940
|
+
[key: string]: any;
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
|
|
929
945
|
declare global {
|
|
930
946
|
interface Window {
|
|
931
947
|
senderId: string;
|
|
@@ -947,22 +963,6 @@ declare module '@tanstack/react-table' {
|
|
|
947
963
|
}
|
|
948
964
|
|
|
949
965
|
|
|
950
|
-
declare module '@tanstack/react-table' {
|
|
951
|
-
interface FilterFns {
|
|
952
|
-
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
953
|
-
}
|
|
954
|
-
interface FilterMeta {
|
|
955
|
-
itemRank: RankingInfo;
|
|
956
|
-
}
|
|
957
|
-
interface TableMeta<TData extends RowData> {
|
|
958
|
-
isExpandable?: boolean;
|
|
959
|
-
isLoading?: boolean;
|
|
960
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
961
|
-
[key: string]: any;
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
|
|
966
966
|
declare module '@tanstack/react-table' {
|
|
967
967
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
968
968
|
listTableCustomCell?: boolean;
|
package/dist/types/Views.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { ForwardRefExoticComponent } from 'react';
|
|
|
14
14
|
import { MutationDefinition } from '@reduxjs/toolkit/query';
|
|
15
15
|
import { OverrideResultType } from '@reduxjs/toolkit/query';
|
|
16
16
|
import { QueryDefinition } from '@reduxjs/toolkit/query';
|
|
17
|
-
import { reactHooksModuleName } from '@reduxjs/toolkit/
|
|
17
|
+
import { reactHooksModuleName } from '@reduxjs/toolkit/query/react';
|
|
18
18
|
import { ReactNode } from 'react';
|
|
19
19
|
import { RefAttributes } from 'react';
|
|
20
20
|
import { SetStateAction } from 'react';
|
|
@@ -963,6 +963,22 @@ export declare const WORKING_VIEW_ID: "_working_";
|
|
|
963
963
|
export { }
|
|
964
964
|
|
|
965
965
|
|
|
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
|
+
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;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
|
|
966
982
|
declare global {
|
|
967
983
|
interface Window {
|
|
968
984
|
senderId: string;
|
|
@@ -984,22 +1000,6 @@ declare module '@tanstack/react-table' {
|
|
|
984
1000
|
}
|
|
985
1001
|
|
|
986
1002
|
|
|
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
|
-
}
|
|
994
|
-
interface TableMeta<TData extends RowData> {
|
|
995
|
-
isExpandable?: boolean;
|
|
996
|
-
isLoading?: boolean;
|
|
997
|
-
children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
|
|
998
|
-
[key: string]: any;
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
1003
|
declare module '@tanstack/react-table' {
|
|
1004
1004
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
1005
1005
|
listTableCustomCell?: boolean;
|