@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
|
@@ -9,6 +9,7 @@ import { ColumnOrderState } from '@tanstack/react-table';
|
|
|
9
9
|
import { ColumnPinningState } from '@tanstack/react-table';
|
|
10
10
|
import { ColumnSizingState } from '@tanstack/react-table';
|
|
11
11
|
import { Component } from 'react';
|
|
12
|
+
import { Context } from 'react';
|
|
12
13
|
import { coreModuleName } from '@reduxjs/toolkit/query';
|
|
13
14
|
import { CSSProperties } from 'react';
|
|
14
15
|
import { default as default_2 } from 'react';
|
|
@@ -1199,6 +1200,8 @@ declare interface FeaturedVersionOrderProps {
|
|
|
1199
1200
|
onChange: (value: string[]) => void;
|
|
1200
1201
|
}
|
|
1201
1202
|
|
|
1203
|
+
export declare const FeedbackContext: Context<FeedbackContextType | undefined>;
|
|
1204
|
+
|
|
1202
1205
|
export declare type FeedbackContextType = {
|
|
1203
1206
|
loaded: boolean;
|
|
1204
1207
|
openSupport: (page?: 'Home' | 'Messages' | 'Changelog' | 'Help' | 'NewMessage' | 'ShowArticle', id?: string) => void;
|
|
@@ -1990,7 +1993,7 @@ export declare type PathSegment = {
|
|
|
1990
1993
|
id: string;
|
|
1991
1994
|
};
|
|
1992
1995
|
|
|
1993
|
-
export declare const Placeholder: IStyledComponentBase<"web", FastOmit<
|
|
1996
|
+
export declare const Placeholder: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
1994
1997
|
|
|
1995
1998
|
declare const Placeholder_2: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
1996
1999
|
|
|
@@ -3455,6 +3458,8 @@ declare type VersionsViewPostModel = {
|
|
|
3455
3458
|
viewType?: 'versions';
|
|
3456
3459
|
};
|
|
3457
3460
|
|
|
3461
|
+
export declare const VersionUploadContext: Context<VersionUploadContextType | undefined>;
|
|
3462
|
+
|
|
3458
3463
|
export declare interface VersionUploadContextType {
|
|
3459
3464
|
productId: string;
|
|
3460
3465
|
folderId: string;
|
|
@@ -3729,6 +3734,20 @@ export * from "primereact/confirmdialog";
|
|
|
3729
3734
|
export { }
|
|
3730
3735
|
|
|
3731
3736
|
|
|
3737
|
+
declare module '@tanstack/react-table' {
|
|
3738
|
+
interface TableMeta<TData extends RowData> {
|
|
3739
|
+
options?: BuiltInFieldOptions;
|
|
3740
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
3741
|
+
projectName?: string;
|
|
3742
|
+
updateEntities?: CellUpdate;
|
|
3743
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
3744
|
+
selection?: string[];
|
|
3745
|
+
columnsConfig?: ColumnsConfig;
|
|
3746
|
+
loadingLinksEntityIds?: Set<string>;
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3750
|
+
|
|
3732
3751
|
declare module '@tanstack/react-table' {
|
|
3733
3752
|
interface FilterFns {
|
|
3734
3753
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -3752,20 +3771,6 @@ declare global {
|
|
|
3752
3771
|
}
|
|
3753
3772
|
|
|
3754
3773
|
|
|
3755
|
-
declare module '@tanstack/react-table' {
|
|
3756
|
-
interface TableMeta<TData extends RowData> {
|
|
3757
|
-
options?: BuiltInFieldOptions;
|
|
3758
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
3759
|
-
projectName?: string;
|
|
3760
|
-
updateEntities?: CellUpdate;
|
|
3761
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
3762
|
-
selection?: string[];
|
|
3763
|
-
columnsConfig?: ColumnsConfig;
|
|
3764
|
-
loadingLinksEntityIds?: Set<string>;
|
|
3765
|
-
}
|
|
3766
|
-
}
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
3774
|
declare module '@tanstack/react-table' {
|
|
3770
3775
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
3771
3776
|
listTableCustomCell?: boolean;
|
package/dist/types/context.d.ts
CHANGED
|
@@ -49,6 +49,8 @@ export declare interface AddonConfig {
|
|
|
49
49
|
|
|
50
50
|
export declare const addonConfigs: Record<string, AddonConfig>;
|
|
51
51
|
|
|
52
|
+
export declare const AddonContext: Context<AddonContextType | undefined>;
|
|
53
|
+
|
|
52
54
|
export declare interface AddonContextProps extends RemoteAddonProps {
|
|
53
55
|
children: React.ReactNode;
|
|
54
56
|
}
|
|
@@ -64,6 +66,8 @@ export declare type AddonDialogSelection = {
|
|
|
64
66
|
|
|
65
67
|
export declare type AddonFeatureKey = string;
|
|
66
68
|
|
|
69
|
+
export declare const AddonProjectContext: Context<AddonProjectContextType | undefined>;
|
|
70
|
+
|
|
67
71
|
export declare interface AddonProjectContextType extends RemoteAddonProjectProps {
|
|
68
72
|
project: ProjectModel_2 | undefined;
|
|
69
73
|
user: UserModel_2 | undefined;
|
|
@@ -253,7 +257,9 @@ export declare interface DeletableEntity {
|
|
|
253
257
|
|
|
254
258
|
export declare type DeletableEntityType = 'folder' | 'task' | 'product' | 'version' | 'representation' | 'workfile';
|
|
255
259
|
|
|
256
|
-
declare
|
|
260
|
+
export declare const DeleteEntitiesContext: Context<DeleteEntitiesContextValue | null>;
|
|
261
|
+
|
|
262
|
+
export declare interface DeleteEntitiesContextValue {
|
|
257
263
|
deleteEntities: (entities: DeletableEntity[], options?: DeleteEntitiesOptions) => Promise<void>;
|
|
258
264
|
}
|
|
259
265
|
|
|
@@ -277,6 +283,8 @@ declare type DeliveryTemplate = {
|
|
|
277
283
|
file: string;
|
|
278
284
|
};
|
|
279
285
|
|
|
286
|
+
export declare const DetailsPanelContext: Context<DetailsPanelContextType | undefined>;
|
|
287
|
+
|
|
280
288
|
export declare interface DetailsPanelContextProps {
|
|
281
289
|
dispatch?: any;
|
|
282
290
|
user: UserModel;
|
|
@@ -412,6 +420,8 @@ declare type EntityNaming_2 = {
|
|
|
412
420
|
|
|
413
421
|
declare type EntityType = OperationModel['entityType'];
|
|
414
422
|
|
|
423
|
+
export declare const EntityUpdatesContext: Context<EntityUpdatesContextValue | undefined>;
|
|
424
|
+
|
|
415
425
|
export declare type EntityUpdatesContextValue = {
|
|
416
426
|
updates: RTEntityUpdate[];
|
|
417
427
|
projectNames: string[];
|
|
@@ -642,7 +652,9 @@ OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel |
|
|
|
642
652
|
|
|
643
653
|
declare type GetYnputCloudInfoApiResponse = YnputCloudInfoModel;
|
|
644
654
|
|
|
645
|
-
declare
|
|
655
|
+
export declare const GlobalContext: Context<GlobalContextType | undefined>;
|
|
656
|
+
|
|
657
|
+
export declare type GlobalContextType = {
|
|
646
658
|
siteInfo: GetSiteInfoResult | undefined;
|
|
647
659
|
attributes: AttributeModel[];
|
|
648
660
|
user: GetCurrentUserApiResponse | undefined;
|
|
@@ -728,6 +740,8 @@ declare type InfoResponseModel = {
|
|
|
728
740
|
|
|
729
741
|
export declare const isDeletableEntityType: (type?: string) => type is DeletableEntityType;
|
|
730
742
|
|
|
743
|
+
export declare const isDetailsPanelTab: (tab: unknown) => tab is DetailsPanelTab;
|
|
744
|
+
|
|
731
745
|
declare type LinkType = {
|
|
732
746
|
link_type: string;
|
|
733
747
|
input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
|
|
@@ -827,11 +841,15 @@ declare type ListViewsApiArg = {
|
|
|
827
841
|
projectName?: string;
|
|
828
842
|
};
|
|
829
843
|
|
|
844
|
+
export declare const matchesProject: (project: string | undefined, projectNames: string[]) => boolean;
|
|
845
|
+
|
|
846
|
+
export declare const matchesTopic: (topic: string, subscribedTopic: string) => boolean;
|
|
847
|
+
|
|
830
848
|
declare type Maybe<T> = T | null;
|
|
831
849
|
|
|
832
|
-
export declare const MenuContext:
|
|
850
|
+
export declare const MenuContext: Context<MenuContextType | undefined>;
|
|
833
851
|
|
|
834
|
-
declare interface MenuContextType {
|
|
852
|
+
export declare interface MenuContextType {
|
|
835
853
|
menuOpen: string | false;
|
|
836
854
|
setMenuOpen: (menuId: string | false) => void;
|
|
837
855
|
toggleMenuOpen: (menuId: string | false) => void;
|
|
@@ -913,6 +931,8 @@ declare type OverviewViewPostModel = {
|
|
|
913
931
|
viewType?: 'overview';
|
|
914
932
|
};
|
|
915
933
|
|
|
934
|
+
export declare const PiPContext: Context<PiPContextType | undefined>;
|
|
935
|
+
|
|
916
936
|
export declare type PiPContextType = {
|
|
917
937
|
isSupported: boolean;
|
|
918
938
|
pipWindow: Window | null;
|
|
@@ -938,6 +958,8 @@ export declare interface PiPWrapperProps {
|
|
|
938
958
|
children: default_2.ReactNode;
|
|
939
959
|
}
|
|
940
960
|
|
|
961
|
+
export declare const PowerpackContext: Context<PowerpackContextType | undefined>;
|
|
962
|
+
|
|
941
963
|
export declare type PowerpackContextType = {
|
|
942
964
|
selectedPowerPack: PowerpackFeature | null;
|
|
943
965
|
selectedAddon: AddonDialogSelection | null;
|
|
@@ -1070,6 +1092,8 @@ declare type ProjectAttribModel2_2 = {
|
|
|
1070
1092
|
description?: string;
|
|
1071
1093
|
};
|
|
1072
1094
|
|
|
1095
|
+
export declare const ProjectContext: Context<ProjectContextValue | undefined>;
|
|
1096
|
+
|
|
1073
1097
|
export declare const ProjectContextProvider: React.FC<ProjectProviderProps>;
|
|
1074
1098
|
|
|
1075
1099
|
export declare interface ProjectContextValue extends ProjectModelWithProducts {
|
|
@@ -1095,6 +1119,8 @@ export declare interface ProjectContextValue extends ProjectModelWithProducts {
|
|
|
1095
1119
|
}[];
|
|
1096
1120
|
}
|
|
1097
1121
|
|
|
1122
|
+
export declare const ProjectFoldersContext: Context<ProjectFoldersContextValue | undefined>;
|
|
1123
|
+
|
|
1098
1124
|
export declare const ProjectFoldersContextProvider: React.FC<ProjectFoldersProviderProps>;
|
|
1099
1125
|
|
|
1100
1126
|
export declare interface ProjectFoldersContextValue {
|
|
@@ -1270,7 +1296,9 @@ export declare interface RemoteAddonProps {
|
|
|
1270
1296
|
toast: any;
|
|
1271
1297
|
}
|
|
1272
1298
|
|
|
1273
|
-
declare
|
|
1299
|
+
export declare const RemoteModulesContext: Context<RemoteModulesContextType>;
|
|
1300
|
+
|
|
1301
|
+
export declare type RemoteModulesContextType = {
|
|
1274
1302
|
isLoading: boolean;
|
|
1275
1303
|
modules: FrontendModuleListItem[];
|
|
1276
1304
|
remotesInitialized: boolean;
|
|
@@ -1461,7 +1489,9 @@ export declare type SettingField = 'columns' | string;
|
|
|
1461
1489
|
|
|
1462
1490
|
export declare type SettingHighlightedId = string | null;
|
|
1463
1491
|
|
|
1464
|
-
declare
|
|
1492
|
+
export declare const SettingsPanelContext: Context<SettingsPanelContextType | undefined>;
|
|
1493
|
+
|
|
1494
|
+
export declare interface SettingsPanelContextType {
|
|
1465
1495
|
isPanelOpen: boolean;
|
|
1466
1496
|
selectedSetting: SettingField | null;
|
|
1467
1497
|
highlightedSetting: SettingHighlightedId;
|
|
@@ -1509,6 +1539,8 @@ export declare type SlideOut = {
|
|
|
1509
1539
|
projectName: string;
|
|
1510
1540
|
};
|
|
1511
1541
|
|
|
1542
|
+
export declare const SocketContext: Context<WebsocketContextType | undefined>;
|
|
1543
|
+
|
|
1512
1544
|
export declare const SocketProvider: ({ children, userName, projectName, dispatch, }: SocketProviderProps) => JSX_2.Element;
|
|
1513
1545
|
|
|
1514
1546
|
export declare type SocketProviderProps = {
|
|
@@ -1610,6 +1642,8 @@ declare interface SubtasksManagerProps extends Omit<React.HTMLAttributes<HTMLDiv
|
|
|
1610
1642
|
dispatch?: ThunkDispatch<any, any, UnknownAction>;
|
|
1611
1643
|
}
|
|
1612
1644
|
|
|
1645
|
+
export declare const SubtasksModulesContext: Context<SubtasksModulesContextType | undefined>;
|
|
1646
|
+
|
|
1613
1647
|
export declare interface SubtasksModulesContextType {
|
|
1614
1648
|
SubtasksManager: typeof SubtasksManagerFallback;
|
|
1615
1649
|
requiredVersion: string | undefined;
|
|
@@ -1620,6 +1654,8 @@ export declare const SubtasksModulesProvider: FC<{
|
|
|
1620
1654
|
children: ReactNode;
|
|
1621
1655
|
}>;
|
|
1622
1656
|
|
|
1657
|
+
export declare const TABS_BY_SCOPE_KEY = "details/tabs-by-scope";
|
|
1658
|
+
|
|
1623
1659
|
export declare interface TabStateByScope {
|
|
1624
1660
|
[scope: string]: DetailsPanelTab;
|
|
1625
1661
|
}
|
|
@@ -1745,6 +1781,8 @@ export declare type ThumbnailUploadProviderProps = {
|
|
|
1745
1781
|
|
|
1746
1782
|
declare type ToastFunc = typeof toast;
|
|
1747
1783
|
|
|
1784
|
+
export declare const toggleSyncAll: (on: boolean) => RTUpdateConfig;
|
|
1785
|
+
|
|
1748
1786
|
export declare type TopicUpdateType = 'created' | 'label_changed' | 'renamed' | 'type_changed' | 'status_changed' | 'tags_changed' | 'attrib_changed' | 'deleted';
|
|
1749
1787
|
|
|
1750
1788
|
declare type UpdateEntitiesArgs = {
|
|
@@ -1783,7 +1821,9 @@ declare type UpdateViewApiArg = {
|
|
|
1783
1821
|
|
|
1784
1822
|
declare type UpdateViewSettingsFn = (updatedSettings: any, localStateSetter: (value: any) => void, newLocalValue: any, options: UpdateOptions) => Promise<void>;
|
|
1785
1823
|
|
|
1786
|
-
declare
|
|
1824
|
+
export declare const URIContext: Context<URIContextValue | undefined>;
|
|
1825
|
+
|
|
1826
|
+
export declare interface URIContextValue {
|
|
1787
1827
|
uri: string;
|
|
1788
1828
|
uriType: 'settings' | 'entity' | undefined;
|
|
1789
1829
|
entity?: EntityUri;
|
|
@@ -1947,13 +1987,13 @@ declare type UseSyncUpdatesParams = {
|
|
|
1947
1987
|
shouldSyncOnUpdate?: (update: RTEntityUpdate) => boolean;
|
|
1948
1988
|
};
|
|
1949
1989
|
|
|
1950
|
-
export declare const useThumbnailUploadContext: () =>
|
|
1990
|
+
export declare const useThumbnailUploadContext: () => {
|
|
1951
1991
|
resetFileUploadState?: Function;
|
|
1952
1992
|
triggerThumbnailUpload?: () => void;
|
|
1953
1993
|
triggerVersionUpload?: () => void;
|
|
1954
1994
|
canUploadVersion?: boolean;
|
|
1955
1995
|
onContextMenu?: (event: MouseEvent) => void;
|
|
1956
|
-
}
|
|
1996
|
+
};
|
|
1957
1997
|
|
|
1958
1998
|
declare const useUpdateSubtasksMutation: <R extends Record<string, any> = ({
|
|
1959
1999
|
requestId?: undefined;
|
|
@@ -2439,6 +2479,20 @@ declare type YnputCloudSubscriptionModel = {
|
|
|
2439
2479
|
export { }
|
|
2440
2480
|
|
|
2441
2481
|
|
|
2482
|
+
declare module '@tanstack/react-table' {
|
|
2483
|
+
interface TableMeta<TData extends RowData> {
|
|
2484
|
+
options?: BuiltInFieldOptions;
|
|
2485
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
2486
|
+
projectName?: string;
|
|
2487
|
+
updateEntities?: CellUpdate;
|
|
2488
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
2489
|
+
selection?: string[];
|
|
2490
|
+
columnsConfig?: ColumnsConfig;
|
|
2491
|
+
loadingLinksEntityIds?: Set<string>;
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
|
|
2442
2496
|
declare module '@tanstack/react-table' {
|
|
2443
2497
|
interface FilterFns {
|
|
2444
2498
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -2462,20 +2516,6 @@ declare global {
|
|
|
2462
2516
|
}
|
|
2463
2517
|
|
|
2464
2518
|
|
|
2465
|
-
declare module '@tanstack/react-table' {
|
|
2466
|
-
interface TableMeta<TData extends RowData> {
|
|
2467
|
-
options?: BuiltInFieldOptions;
|
|
2468
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
2469
|
-
projectName?: string;
|
|
2470
|
-
updateEntities?: CellUpdate;
|
|
2471
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
2472
|
-
selection?: string[];
|
|
2473
|
-
columnsConfig?: ColumnsConfig;
|
|
2474
|
-
loadingLinksEntityIds?: Set<string>;
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
2519
|
declare module '@tanstack/react-table' {
|
|
2480
2520
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
2481
2521
|
listTableCustomCell?: boolean;
|
package/dist/types/hooks.d.ts
CHANGED
|
@@ -610,6 +610,20 @@ export declare const writeSessionStorage: <T>(key: string, value: T) => void;
|
|
|
610
610
|
export { }
|
|
611
611
|
|
|
612
612
|
|
|
613
|
+
declare module '@tanstack/react-table' {
|
|
614
|
+
interface TableMeta<TData extends RowData> {
|
|
615
|
+
options?: BuiltInFieldOptions;
|
|
616
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
617
|
+
projectName?: string;
|
|
618
|
+
updateEntities?: CellUpdate;
|
|
619
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
620
|
+
selection?: string[];
|
|
621
|
+
columnsConfig?: ColumnsConfig;
|
|
622
|
+
loadingLinksEntityIds?: Set<string>;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
|
|
613
627
|
declare module '@tanstack/react-table' {
|
|
614
628
|
interface FilterFns {
|
|
615
629
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -633,20 +647,6 @@ declare global {
|
|
|
633
647
|
}
|
|
634
648
|
|
|
635
649
|
|
|
636
|
-
declare module '@tanstack/react-table' {
|
|
637
|
-
interface TableMeta<TData extends RowData> {
|
|
638
|
-
options?: BuiltInFieldOptions;
|
|
639
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
640
|
-
projectName?: string;
|
|
641
|
-
updateEntities?: CellUpdate;
|
|
642
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
643
|
-
selection?: string[];
|
|
644
|
-
columnsConfig?: ColumnsConfig;
|
|
645
|
-
loadingLinksEntityIds?: Set<string>;
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
|
|
650
650
|
declare module '@tanstack/react-table' {
|
|
651
651
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
652
652
|
listTableCustomCell?: boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -62,6 +62,20 @@ declare interface UserImageProps {
|
|
|
62
62
|
export { }
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
declare module '@tanstack/react-table' {
|
|
66
|
+
interface TableMeta<TData extends RowData> {
|
|
67
|
+
options?: BuiltInFieldOptions;
|
|
68
|
+
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
69
|
+
projectName?: string;
|
|
70
|
+
updateEntities?: CellUpdate;
|
|
71
|
+
toggleExpandAll?: ToggleExpandAll;
|
|
72
|
+
selection?: string[];
|
|
73
|
+
columnsConfig?: ColumnsConfig;
|
|
74
|
+
loadingLinksEntityIds?: Set<string>;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
65
79
|
declare module '@tanstack/react-table' {
|
|
66
80
|
interface FilterFns {
|
|
67
81
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -85,20 +99,6 @@ declare global {
|
|
|
85
99
|
}
|
|
86
100
|
|
|
87
101
|
|
|
88
|
-
declare module '@tanstack/react-table' {
|
|
89
|
-
interface TableMeta<TData extends RowData> {
|
|
90
|
-
options?: BuiltInFieldOptions;
|
|
91
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
92
|
-
projectName?: string;
|
|
93
|
-
updateEntities?: CellUpdate;
|
|
94
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
95
|
-
selection?: string[];
|
|
96
|
-
columnsConfig?: ColumnsConfig;
|
|
97
|
-
loadingLinksEntityIds?: Set<string>;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
102
|
declare module '@tanstack/react-table' {
|
|
103
103
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
104
104
|
listTableCustomCell?: boolean;
|
package/dist/types/util.d.ts
CHANGED
|
@@ -521,6 +521,11 @@ export declare const getProjectThumbnailUrl: (projectName: string, thumbnailHash
|
|
|
521
521
|
|
|
522
522
|
export declare const getRequestErrorString: (error: unknown) => string;
|
|
523
523
|
|
|
524
|
+
export declare const getSelectableAssignees: <T extends {
|
|
525
|
+
name: string;
|
|
526
|
+
hidden?: boolean;
|
|
527
|
+
}>(users: T[], assigned?: string[]) => T[];
|
|
528
|
+
|
|
524
529
|
export declare const getSelectableEnumItems: <T extends HideableEnumItem>(items: T[], selectedValues?: (string | number | boolean)[]) => T[];
|
|
525
530
|
|
|
526
531
|
export declare const getSettingsStateFromUri: (uri: string) => SettingsUri;
|
|
@@ -724,6 +729,8 @@ export declare const parseUri: (uri: string) => {
|
|
|
724
729
|
entity?: EntityUri;
|
|
725
730
|
};
|
|
726
731
|
|
|
732
|
+
export declare const pastedListToSearch: (text: string) => string | null;
|
|
733
|
+
|
|
727
734
|
export declare const pluralize: (count: number, singular: string) => string;
|
|
728
735
|
|
|
729
736
|
export declare interface ProductCreationData {
|
|
@@ -942,6 +949,20 @@ export declare const waitForRealtimeJitter: () => Promise<void>;
|
|
|
942
949
|
export { }
|
|
943
950
|
|
|
944
951
|
|
|
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
|
+
|
|
945
966
|
declare module '@tanstack/react-table' {
|
|
946
967
|
interface FilterFns {
|
|
947
968
|
fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
|
|
@@ -965,20 +986,6 @@ declare global {
|
|
|
965
986
|
}
|
|
966
987
|
|
|
967
988
|
|
|
968
|
-
declare module '@tanstack/react-table' {
|
|
969
|
-
interface TableMeta<TData extends RowData> {
|
|
970
|
-
options?: BuiltInFieldOptions;
|
|
971
|
-
readOnly?: ProjectTreeTableProps['readOnly'];
|
|
972
|
-
projectName?: string;
|
|
973
|
-
updateEntities?: CellUpdate;
|
|
974
|
-
toggleExpandAll?: ToggleExpandAll;
|
|
975
|
-
selection?: string[];
|
|
976
|
-
columnsConfig?: ColumnsConfig;
|
|
977
|
-
loadingLinksEntityIds?: Set<string>;
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
|
|
982
989
|
declare module '@tanstack/react-table' {
|
|
983
990
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
984
991
|
listTableCustomCell?: boolean;
|
package/dist/util.es.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { K as S, g as I, a as P } from "./chunks/platform.es.js";
|
|
2
2
|
import { c as d } from "./chunks/confirmDelete.es.js";
|
|
3
3
|
import { a as C } from "./chunks/confirmDelete.es.js";
|
|
4
|
-
import { e as
|
|
5
|
-
import { g as
|
|
6
|
-
import { e as
|
|
4
|
+
import { e as A, g as M } from "./chunks/getEntityTypeIcon.es.js";
|
|
5
|
+
import { g as L, r as U } from "./chunks/replaceRoot.es.js";
|
|
6
|
+
import { e as v, g as N } from "./chunks/extractEntityHierarchyFromParents.es.js";
|
|
7
7
|
import { c as k } from "./chunks/copyToClipboard.es.js";
|
|
8
8
|
import { g as O, h as B } from "./chunks/humanizeFieldName.es.js";
|
|
9
9
|
import { c as K, a as z, g as q, p as J, b as Q } from "./chunks/parseHtmlToPlainTextWithLinks.es.js";
|
|
10
10
|
import { bk as g } from "./chunks/searchTerms.es.js";
|
|
11
|
-
import { bl as $,
|
|
12
|
-
import { a as
|
|
13
|
-
import {
|
|
14
|
-
import { c as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { b as Xe,
|
|
20
|
-
import {
|
|
21
|
-
import { g as
|
|
22
|
-
import { p as
|
|
23
|
-
import { i as
|
|
24
|
-
import { ConfirmDialog as
|
|
11
|
+
import { bl as $, be as j, bm as G, bg as X, bn as Y, bi as Z, bo as ee, bp as ae, bj as te, bf as re, bq as oe, br as se, bs as ne, bh as ie, bt as le, bu as me, bv as ce, bw as pe } from "./chunks/searchTerms.es.js";
|
|
12
|
+
import { a as ge, b as be, d as ue, e as fe, c as Ee, g as he, f as Te, s as xe, v as ye, w as Se } from "./chunks/realtimeUpdatesUtils.es.js";
|
|
13
|
+
import { e as Pe } from "./chunks/extractVersionFromFilename.es.js";
|
|
14
|
+
import { c as Ce, a as Re, b as Ae, g as Me, h as De, s as Le, v as Ue, d as _e, e as ve } from "./chunks/versionUploadHelpers.es.js";
|
|
15
|
+
import { c as we, a as ke } from "./chunks/columnConfigConverter.es.js";
|
|
16
|
+
import { p as Oe } from "./chunks/pluralize.es.js";
|
|
17
|
+
import { b as Ve, a as Ke, h as ze, p as qe, r as Je } from "./chunks/colorUtils.es.js";
|
|
18
|
+
import { g as We } from "./chunks/getGroupByDataType.es.js";
|
|
19
|
+
import { b as je, g as Ge, a as Xe, c as Ye, p as Ze, u as ea } from "./chunks/getBundleMode.es.js";
|
|
20
|
+
import { b as ta, s as ra } from "./chunks/buildHierarchicalTableRows.es.js";
|
|
21
|
+
import { g as sa, a as na } from "./chunks/getThumbnailUrl.es.js";
|
|
22
|
+
import { p as la } from "./chunks/parseFilename.es.js";
|
|
23
|
+
import { i as ca } from "./chunks/isHTMLElement.es.js";
|
|
24
|
+
import { ConfirmDialog as da } from "primereact/confirmdialog";
|
|
25
25
|
const f = (e) => {
|
|
26
26
|
const t = /* @__PURE__ */ new Map(), o = [];
|
|
27
27
|
for (const a of e)
|
|
@@ -64,86 +64,88 @@ const f = (e) => {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
da as ConfirmDialog,
|
|
68
68
|
$ as ENUM_CONTEXT_PARAMS,
|
|
69
69
|
S as KeyMode,
|
|
70
70
|
j as PubSub,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
ge as REALTIME_REST_CALL_LIMIT,
|
|
72
|
+
be as REALTIME_REST_JITTER,
|
|
73
|
+
ue as REALTIME_TASK_SUPPORTED_VALUE_FIELDS,
|
|
74
|
+
fe as REALTIME_UPDATE_DEBOUNCE,
|
|
75
|
+
Ve as blendCategoryColor,
|
|
76
|
+
Ke as blendColors,
|
|
77
|
+
je as buildEntityUri,
|
|
78
78
|
f as buildFolderHierarchy,
|
|
79
|
-
|
|
79
|
+
ta as buildHierarchicalTableRows,
|
|
80
80
|
K as checkLabel,
|
|
81
81
|
z as checkName,
|
|
82
82
|
d as confirmDelete,
|
|
83
83
|
C as confirmDeleteDialog,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
we as convertColumnConfigToTanstackStates,
|
|
85
|
+
ke as convertTanstackStatesToColumnConfig,
|
|
86
86
|
k as copyToClipboard,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
87
|
+
Ce as createProductAndVersion,
|
|
88
|
+
Re as createProductHelper,
|
|
89
|
+
Ee as createRealtimeBatcher,
|
|
90
|
+
Ae as createVersionHelper,
|
|
91
|
+
A as entityTypesWithIcons,
|
|
92
|
+
v as extractEntityHierarchyFromParents,
|
|
93
|
+
Pe as extractVersionFromFilename,
|
|
94
94
|
q as getAttributeIcon,
|
|
95
|
-
|
|
95
|
+
Ge as getBundleModeFromUser,
|
|
96
96
|
I as getCurrentPlatform,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
he as getEntityId,
|
|
98
|
+
Xe as getEntityStateFromUri,
|
|
99
|
+
sa as getEntityThumbnailUrl,
|
|
100
|
+
M as getEntityTypeIcon,
|
|
101
101
|
G as getEnumContextParams,
|
|
102
102
|
X as getEnumErrorText,
|
|
103
103
|
Y as getEnumItemIcon,
|
|
104
104
|
g as getErrorMessage,
|
|
105
|
-
|
|
105
|
+
We as getGroupByDataType,
|
|
106
106
|
O as getMixedState,
|
|
107
|
-
|
|
107
|
+
Me as getNextVersionNumber,
|
|
108
108
|
P as getPlatformShortcutKey,
|
|
109
|
-
|
|
109
|
+
N as getPriorityOptions,
|
|
110
110
|
h as getProjectDisplayName,
|
|
111
|
-
|
|
111
|
+
na as getProjectThumbnailUrl,
|
|
112
112
|
Z as getRequestErrorString,
|
|
113
|
-
ee as
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
ee as getSelectableAssignees,
|
|
114
|
+
ae as getSelectableEnumItems,
|
|
115
|
+
Ye as getSettingsStateFromUri,
|
|
116
|
+
Te as getSupportedEntityPatch,
|
|
117
|
+
L as groupResult,
|
|
117
118
|
E as handleDeleteFolders,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
De as handleUploadError,
|
|
120
|
+
te as hasEnumOptions,
|
|
121
|
+
re as hasEnumResolver,
|
|
122
|
+
ze as hexToRgb,
|
|
122
123
|
B as humanizeField,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
oe as isEnumContextParam,
|
|
125
|
+
se as isEnumIconImage,
|
|
126
|
+
ca as isHTMLElement,
|
|
127
|
+
ne as matchSearchQuery,
|
|
127
128
|
T as mentionTypeOptions,
|
|
128
|
-
|
|
129
|
+
ie as normalizeEnumItems,
|
|
129
130
|
J as parseAndFormatName,
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
qe as parseColor,
|
|
132
|
+
la as parseFilename,
|
|
132
133
|
Q as parseHtmlToPlainTextWithLinks,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
134
|
+
le as parseSearchQuery,
|
|
135
|
+
Ze as parseUri,
|
|
136
|
+
me as pastedListToSearch,
|
|
137
|
+
Oe as pluralize,
|
|
138
|
+
U as replaceRoot,
|
|
139
|
+
Je as rgbToHex,
|
|
140
|
+
Le as sanitizeProductName,
|
|
141
|
+
ra as shouldBlockShortcuts,
|
|
142
|
+
ce as sortKeysDeep,
|
|
143
|
+
xe as subscribeToThumbnailUpdates,
|
|
144
|
+
pe as toDropdownErrorText,
|
|
145
|
+
ea as useStagingModeState,
|
|
146
|
+
ye as validateEntityId,
|
|
147
|
+
Ue as validateFormData,
|
|
148
|
+
_e as validateProductName,
|
|
149
|
+
ve as validateVersion,
|
|
150
|
+
Se as waitForRealtimeJitter
|
|
149
151
|
};
|