@ynput/ayon-frontend-shared 0.6.0 → 0.6.1
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 +292 -298
- 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 +163 -154
- 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 +57 -56
- 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 +7 -7
- package/dist/types/ContextMenu.d.ts +11 -8
- package/dist/types/DetailsPanel.d.ts +102 -9
- package/dist/types/EntityPickerDialog.d.ts +7 -7
- package/dist/types/Feed.d.ts +11 -8
- package/dist/types/ListTable.d.ts +7 -7
- package/dist/types/NewEntity.d.ts +16 -10
- package/dist/types/ProjectTreeTable.d.ts +22 -115
- package/dist/types/RepresentationsList.d.ts +7 -7
- package/dist/types/SimpleTable.d.ts +11 -8
- package/dist/types/Slicer.d.ts +10 -7
- package/dist/types/Views.d.ts +10 -7
- package/dist/types/api.d.ts +132 -120
- package/dist/types/components.d.ts +13 -8
- package/dist/types/context.d.ts +56 -16
- package/dist/types/hooks.d.ts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/util.d.ts +12 -7
- package/dist/util.es.js +72 -71
- 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;
|
|
@@ -3745,13 +3750,6 @@ declare module '@tanstack/react-table' {
|
|
|
3745
3750
|
}
|
|
3746
3751
|
|
|
3747
3752
|
|
|
3748
|
-
declare global {
|
|
3749
|
-
interface Window {
|
|
3750
|
-
senderId: string;
|
|
3751
|
-
}
|
|
3752
|
-
}
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
3753
|
declare module '@tanstack/react-table' {
|
|
3756
3754
|
interface TableMeta<TData extends RowData> {
|
|
3757
3755
|
options?: BuiltInFieldOptions;
|
|
@@ -3766,6 +3764,13 @@ declare module '@tanstack/react-table' {
|
|
|
3766
3764
|
}
|
|
3767
3765
|
|
|
3768
3766
|
|
|
3767
|
+
declare global {
|
|
3768
|
+
interface Window {
|
|
3769
|
+
senderId: string;
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
|
|
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;
|
|
@@ -2455,13 +2495,6 @@ declare module '@tanstack/react-table' {
|
|
|
2455
2495
|
}
|
|
2456
2496
|
|
|
2457
2497
|
|
|
2458
|
-
declare global {
|
|
2459
|
-
interface Window {
|
|
2460
|
-
senderId: string;
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
2498
|
declare module '@tanstack/react-table' {
|
|
2466
2499
|
interface TableMeta<TData extends RowData> {
|
|
2467
2500
|
options?: BuiltInFieldOptions;
|
|
@@ -2476,6 +2509,13 @@ declare module '@tanstack/react-table' {
|
|
|
2476
2509
|
}
|
|
2477
2510
|
|
|
2478
2511
|
|
|
2512
|
+
declare global {
|
|
2513
|
+
interface Window {
|
|
2514
|
+
senderId: string;
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
|
|
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
|
@@ -626,13 +626,6 @@ declare module '@tanstack/react-table' {
|
|
|
626
626
|
}
|
|
627
627
|
|
|
628
628
|
|
|
629
|
-
declare global {
|
|
630
|
-
interface Window {
|
|
631
|
-
senderId: string;
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
|
|
636
629
|
declare module '@tanstack/react-table' {
|
|
637
630
|
interface TableMeta<TData extends RowData> {
|
|
638
631
|
options?: BuiltInFieldOptions;
|
|
@@ -647,6 +640,13 @@ declare module '@tanstack/react-table' {
|
|
|
647
640
|
}
|
|
648
641
|
|
|
649
642
|
|
|
643
|
+
declare global {
|
|
644
|
+
interface Window {
|
|
645
|
+
senderId: 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
|
@@ -78,13 +78,6 @@ declare module '@tanstack/react-table' {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
declare global {
|
|
82
|
-
interface Window {
|
|
83
|
-
senderId: string;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
81
|
declare module '@tanstack/react-table' {
|
|
89
82
|
interface TableMeta<TData extends RowData> {
|
|
90
83
|
options?: BuiltInFieldOptions;
|
|
@@ -99,6 +92,13 @@ declare module '@tanstack/react-table' {
|
|
|
99
92
|
}
|
|
100
93
|
|
|
101
94
|
|
|
95
|
+
declare global {
|
|
96
|
+
interface Window {
|
|
97
|
+
senderId: 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;
|
|
@@ -958,13 +963,6 @@ declare module '@tanstack/react-table' {
|
|
|
958
963
|
}
|
|
959
964
|
|
|
960
965
|
|
|
961
|
-
declare global {
|
|
962
|
-
interface Window {
|
|
963
|
-
senderId: string;
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
|
|
968
966
|
declare module '@tanstack/react-table' {
|
|
969
967
|
interface TableMeta<TData extends RowData> {
|
|
970
968
|
options?: BuiltInFieldOptions;
|
|
@@ -979,6 +977,13 @@ declare module '@tanstack/react-table' {
|
|
|
979
977
|
}
|
|
980
978
|
|
|
981
979
|
|
|
980
|
+
declare global {
|
|
981
|
+
interface Window {
|
|
982
|
+
senderId: string;
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
|
|
982
987
|
declare module '@tanstack/react-table' {
|
|
983
988
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
984
989
|
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
|
|
4
|
+
import { e as A, g as M } from "./chunks/getEntityTypeIcon.es.js";
|
|
5
5
|
import { g as U, r as L } from "./chunks/replaceRoot.es.js";
|
|
6
|
-
import { e as
|
|
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 } from "./chunks/searchTerms.es.js";
|
|
12
|
+
import { a as de, b as ge, d as be, e as ue, c as fe, g as Ee, f as he, s as Te, v as xe, w as ye } from "./chunks/realtimeUpdatesUtils.es.js";
|
|
13
|
+
import { e as Ie } from "./chunks/extractVersionFromFilename.es.js";
|
|
14
|
+
import { c as Fe, a as Ce, b as Re, g as Ae, h as Me, s as De, v as Ue, d as Le, e as _e } from "./chunks/versionUploadHelpers.es.js";
|
|
15
|
+
import { c as Ne, a as we } from "./chunks/columnConfigConverter.es.js";
|
|
16
|
+
import { p as He } from "./chunks/pluralize.es.js";
|
|
17
|
+
import { b as Be, a as Ve, h as Ke, p as ze, r as qe } from "./chunks/colorUtils.es.js";
|
|
18
|
+
import { g as Qe } from "./chunks/getGroupByDataType.es.js";
|
|
19
|
+
import { b as $e, g as je, a as Ge, c as Xe, p as Ye, u as Ze } from "./chunks/getBundleMode.es.js";
|
|
20
|
+
import { b as aa, s as ta } from "./chunks/buildHierarchicalTableRows.es.js";
|
|
21
|
+
import { g as oa, a as sa } from "./chunks/getThumbnailUrl.es.js";
|
|
22
|
+
import { p as ia } from "./chunks/parseFilename.es.js";
|
|
23
|
+
import { i as ma } from "./chunks/isHTMLElement.es.js";
|
|
24
|
+
import { ConfirmDialog as pa } 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,87 @@ const f = (e) => {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
pa as ConfirmDialog,
|
|
68
68
|
$ as ENUM_CONTEXT_PARAMS,
|
|
69
69
|
S as KeyMode,
|
|
70
70
|
j as PubSub,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
de as REALTIME_REST_CALL_LIMIT,
|
|
72
|
+
ge as REALTIME_REST_JITTER,
|
|
73
|
+
be as REALTIME_TASK_SUPPORTED_VALUE_FIELDS,
|
|
74
74
|
ue as REALTIME_UPDATE_DEBOUNCE,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
Be as blendCategoryColor,
|
|
76
|
+
Ve as blendColors,
|
|
77
|
+
$e as buildEntityUri,
|
|
78
78
|
f as buildFolderHierarchy,
|
|
79
|
-
|
|
79
|
+
aa 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
|
+
Ne as convertColumnConfigToTanstackStates,
|
|
85
|
+
we as convertTanstackStatesToColumnConfig,
|
|
86
86
|
k as copyToClipboard,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
87
|
+
Fe as createProductAndVersion,
|
|
88
|
+
Ce as createProductHelper,
|
|
89
|
+
fe as createRealtimeBatcher,
|
|
90
|
+
Re as createVersionHelper,
|
|
91
|
+
A as entityTypesWithIcons,
|
|
92
|
+
v as extractEntityHierarchyFromParents,
|
|
93
|
+
Ie as extractVersionFromFilename,
|
|
94
94
|
q as getAttributeIcon,
|
|
95
|
-
|
|
95
|
+
je as getBundleModeFromUser,
|
|
96
96
|
I as getCurrentPlatform,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
Ee as getEntityId,
|
|
98
|
+
Ge as getEntityStateFromUri,
|
|
99
|
+
oa 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
|
+
Qe as getGroupByDataType,
|
|
106
106
|
O as getMixedState,
|
|
107
|
-
|
|
107
|
+
Ae as getNextVersionNumber,
|
|
108
108
|
P as getPlatformShortcutKey,
|
|
109
|
-
|
|
109
|
+
N as getPriorityOptions,
|
|
110
110
|
h as getProjectDisplayName,
|
|
111
|
-
|
|
111
|
+
sa as getProjectThumbnailUrl,
|
|
112
112
|
Z as getRequestErrorString,
|
|
113
|
-
ee as
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
ee as getSelectableAssignees,
|
|
114
|
+
ae as getSelectableEnumItems,
|
|
115
|
+
Xe as getSettingsStateFromUri,
|
|
116
|
+
he as getSupportedEntityPatch,
|
|
116
117
|
U as groupResult,
|
|
117
118
|
E as handleDeleteFolders,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
Me as handleUploadError,
|
|
120
|
+
te as hasEnumOptions,
|
|
121
|
+
re as hasEnumResolver,
|
|
122
|
+
Ke as hexToRgb,
|
|
122
123
|
B as humanizeField,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
oe as isEnumContextParam,
|
|
125
|
+
se as isEnumIconImage,
|
|
126
|
+
ma as isHTMLElement,
|
|
127
|
+
ne as matchSearchQuery,
|
|
127
128
|
T as mentionTypeOptions,
|
|
128
|
-
|
|
129
|
+
ie as normalizeEnumItems,
|
|
129
130
|
J as parseAndFormatName,
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
ze as parseColor,
|
|
132
|
+
ia as parseFilename,
|
|
132
133
|
Q as parseHtmlToPlainTextWithLinks,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
le as parseSearchQuery,
|
|
135
|
+
Ye as parseUri,
|
|
136
|
+
He as pluralize,
|
|
136
137
|
L as replaceRoot,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
138
|
+
qe as rgbToHex,
|
|
139
|
+
De as sanitizeProductName,
|
|
140
|
+
ta as shouldBlockShortcuts,
|
|
141
|
+
me as sortKeysDeep,
|
|
142
|
+
Te as subscribeToThumbnailUpdates,
|
|
143
|
+
ce as toDropdownErrorText,
|
|
144
|
+
Ze as useStagingModeState,
|
|
145
|
+
xe as validateEntityId,
|
|
146
|
+
Ue as validateFormData,
|
|
147
|
+
Le as validateProductName,
|
|
148
|
+
_e as validateVersion,
|
|
149
|
+
ye as waitForRealtimeJitter
|
|
149
150
|
};
|