@burdenoff/microfe-files 2026.1110.2 → 2026.1111.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/files/components/ActionMenu.d.ts +6 -0
- package/dist/files/components/ActionMenu.js +2 -1
- package/dist/files/components/ActionMenu.js.map +1 -1
- package/dist/files/components/ContextMenu.d.ts +6 -0
- package/dist/files/components/ContextMenu.js +2 -0
- package/dist/files/components/ContextMenu.js.map +1 -1
- package/dist/files/components/FileBrowser.d.ts +8 -2
- package/dist/files/components/FileBrowser.js +275 -238
- package/dist/files/components/FileBrowser.js.map +1 -1
- package/dist/files/components/FileCard.d.ts +5 -0
- package/dist/files/components/FileCard.js +98 -94
- package/dist/files/components/FileCard.js.map +1 -1
- package/dist/files/components/FileListItem.d.ts +5 -0
- package/dist/files/components/FileListItem.js +88 -87
- package/dist/files/components/FileListItem.js.map +1 -1
- package/dist/files/components/FilePreviewModal.d.ts +6 -1
- package/dist/files/components/FilePreviewModal.js +30 -29
- package/dist/files/components/FilePreviewModal.js.map +1 -1
- package/dist/files/components/FolderCard.d.ts +5 -0
- package/dist/files/components/FolderCard.js +108 -104
- package/dist/files/components/FolderCard.js.map +1 -1
- package/dist/files/components/ShareDialog.d.ts +12 -5
- package/dist/files/components/ShareDialog.js +348 -188
- package/dist/files/components/ShareDialog.js.map +1 -1
- package/dist/files/components/UploadQueue.js +1 -1
- package/dist/files/components/contextMenuItems.d.ts +32 -0
- package/dist/files/components/contextMenuItems.js +6 -2
- package/dist/files/components/contextMenuItems.js.map +1 -1
- package/dist/files/hooks/useBrowsePage.d.ts +10 -0
- package/dist/files/hooks/useCopyFile.d.ts +3 -0
- package/dist/files/hooks/useCreateFolder.d.ts +2 -0
- package/dist/files/hooks/useFoldersQuery.d.ts +1 -1
- package/dist/files/hooks/useKeyboardNavigation.js +57 -56
- package/dist/files/hooks/useKeyboardNavigation.js.map +1 -1
- package/dist/files/hooks/useMoveFile.d.ts +3 -0
- package/dist/files/hooks/useMoveFolder.d.ts +2 -0
- package/dist/files/hooks/useRenameFile.d.ts +3 -0
- package/dist/files/hooks/useRenameFolder.d.ts +2 -0
- package/dist/files/hooks/useRestoreFile.d.ts +3 -0
- package/dist/files/hooks/useRestoreFolder.d.ts +2 -0
- package/dist/files/hooks/useShareDialogPermission.d.ts +45 -0
- package/dist/files/hooks/useShareDialogPermission.js +31 -0
- package/dist/files/hooks/useShareDialogPermission.js.map +1 -0
- package/dist/files/hooks/useSharePermissions.d.ts +30 -0
- package/dist/files/hooks/useSharePermissions.js +81 -0
- package/dist/files/hooks/useSharePermissions.js.map +1 -0
- package/dist/files/hooks/useToggleStar.d.ts +5 -0
- package/dist/files/hooks/useUploadFile.d.ts +3 -0
- package/dist/files/pages/BrowserPage.js +353 -348
- package/dist/files/pages/BrowserPage.js.map +1 -1
- package/dist/files/types.d.ts +10 -2
- package/dist/files/utils/fileViewModel.js +7 -2
- package/dist/files/utils/fileViewModel.js.map +1 -1
- package/dist/files/utils/itemCapabilities.d.ts +84 -0
- package/dist/files/utils/itemCapabilities.js +54 -0
- package/dist/files/utils/itemCapabilities.js.map +1 -0
- package/dist/files/utils/sharePermission.d.ts +144 -0
- package/dist/files/utils/sharePermission.js +77 -0
- package/dist/files/utils/sharePermission.js.map +1 -0
- package/dist/generated/global-types.d.ts +6615 -870
- package/dist/generated/wspace-operations.d.ts +104 -0
- package/dist/generated/wspace-operations.js +1418 -39
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +94395 -11225
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/translations/en.d.ts +16 -0
- package/dist/translations/en.js +16 -0
- package/dist/translations/en.js.map +1 -1
- package/package.json +2 -1
|
@@ -18,6 +18,9 @@ export type FileBrowser_FileFragment = {
|
|
|
18
18
|
canRead: boolean | null;
|
|
19
19
|
canUpdate: boolean | null;
|
|
20
20
|
canDelete: boolean | null;
|
|
21
|
+
canShare: boolean | null;
|
|
22
|
+
canMove: boolean | null;
|
|
23
|
+
canCopy: boolean | null;
|
|
21
24
|
};
|
|
22
25
|
export type FileBrowser_FolderFragment = {
|
|
23
26
|
id: string;
|
|
@@ -27,6 +30,8 @@ export type FileBrowser_FolderFragment = {
|
|
|
27
30
|
canRead: boolean | null;
|
|
28
31
|
canUpdate: boolean | null;
|
|
29
32
|
canDelete: boolean | null;
|
|
33
|
+
canShare: boolean | null;
|
|
34
|
+
canMove: boolean | null;
|
|
30
35
|
};
|
|
31
36
|
export type FileCard_FileFragment = {
|
|
32
37
|
id: string;
|
|
@@ -49,6 +54,9 @@ export type FileCard_FileFragment = {
|
|
|
49
54
|
canRead: boolean | null;
|
|
50
55
|
canUpdate: boolean | null;
|
|
51
56
|
canDelete: boolean | null;
|
|
57
|
+
canShare: boolean | null;
|
|
58
|
+
canMove: boolean | null;
|
|
59
|
+
canCopy: boolean | null;
|
|
52
60
|
};
|
|
53
61
|
export type FileInfoPanel_FileFragment = {
|
|
54
62
|
id: string;
|
|
@@ -103,6 +111,9 @@ export type FileListItem_FileFragment = {
|
|
|
103
111
|
canRead: boolean | null;
|
|
104
112
|
canUpdate: boolean | null;
|
|
105
113
|
canDelete: boolean | null;
|
|
114
|
+
canShare: boolean | null;
|
|
115
|
+
canMove: boolean | null;
|
|
116
|
+
canCopy: boolean | null;
|
|
106
117
|
};
|
|
107
118
|
export type FilePreviewModal_FileFragment = {
|
|
108
119
|
id: string;
|
|
@@ -117,6 +128,9 @@ export type FilePreviewModal_FileFragment = {
|
|
|
117
128
|
canRead: boolean | null;
|
|
118
129
|
canUpdate: boolean | null;
|
|
119
130
|
canDelete: boolean | null;
|
|
131
|
+
canShare: boolean | null;
|
|
132
|
+
canMove: boolean | null;
|
|
133
|
+
canCopy: boolean | null;
|
|
120
134
|
};
|
|
121
135
|
export type FileVersionPanel_FileVersionFragment = {
|
|
122
136
|
id: string;
|
|
@@ -159,6 +173,8 @@ export type FolderCard_FolderFragment = {
|
|
|
159
173
|
canRead: boolean | null;
|
|
160
174
|
canUpdate: boolean | null;
|
|
161
175
|
canDelete: boolean | null;
|
|
176
|
+
canShare: boolean | null;
|
|
177
|
+
canMove: boolean | null;
|
|
162
178
|
};
|
|
163
179
|
export type ShareAccessPage_FileFragment = {
|
|
164
180
|
id: string;
|
|
@@ -280,6 +296,9 @@ export type CompleteUploadMutation = {
|
|
|
280
296
|
canRead: boolean | null;
|
|
281
297
|
canUpdate: boolean | null;
|
|
282
298
|
canDelete: boolean | null;
|
|
299
|
+
canShare: boolean | null;
|
|
300
|
+
canMove: boolean | null;
|
|
301
|
+
canCopy: boolean | null;
|
|
283
302
|
name: string;
|
|
284
303
|
description: string | null;
|
|
285
304
|
mimeType: string;
|
|
@@ -311,6 +330,9 @@ export type CopyFileMutation = {
|
|
|
311
330
|
canRead: boolean | null;
|
|
312
331
|
canUpdate: boolean | null;
|
|
313
332
|
canDelete: boolean | null;
|
|
333
|
+
canShare: boolean | null;
|
|
334
|
+
canMove: boolean | null;
|
|
335
|
+
canCopy: boolean | null;
|
|
314
336
|
name: string;
|
|
315
337
|
description: string | null;
|
|
316
338
|
mimeType: string;
|
|
@@ -369,6 +391,8 @@ export type CreateFolderMutation = {
|
|
|
369
391
|
canRead: boolean | null;
|
|
370
392
|
canUpdate: boolean | null;
|
|
371
393
|
canDelete: boolean | null;
|
|
394
|
+
canShare: boolean | null;
|
|
395
|
+
canMove: boolean | null;
|
|
372
396
|
name: string;
|
|
373
397
|
description: string | null;
|
|
374
398
|
path: string;
|
|
@@ -447,6 +471,9 @@ export type MoveFileMutation = {
|
|
|
447
471
|
canRead: boolean | null;
|
|
448
472
|
canUpdate: boolean | null;
|
|
449
473
|
canDelete: boolean | null;
|
|
474
|
+
canShare: boolean | null;
|
|
475
|
+
canMove: boolean | null;
|
|
476
|
+
canCopy: boolean | null;
|
|
450
477
|
name: string;
|
|
451
478
|
description: string | null;
|
|
452
479
|
mimeType: string;
|
|
@@ -474,6 +501,8 @@ export type MoveFolderMutation = {
|
|
|
474
501
|
canRead: boolean | null;
|
|
475
502
|
canUpdate: boolean | null;
|
|
476
503
|
canDelete: boolean | null;
|
|
504
|
+
canShare: boolean | null;
|
|
505
|
+
canMove: boolean | null;
|
|
477
506
|
name: string;
|
|
478
507
|
description: string | null;
|
|
479
508
|
path: string;
|
|
@@ -513,6 +542,9 @@ export type RestoreFileMutation = {
|
|
|
513
542
|
canRead: boolean | null;
|
|
514
543
|
canUpdate: boolean | null;
|
|
515
544
|
canDelete: boolean | null;
|
|
545
|
+
canShare: boolean | null;
|
|
546
|
+
canMove: boolean | null;
|
|
547
|
+
canCopy: boolean | null;
|
|
516
548
|
name: string;
|
|
517
549
|
description: string | null;
|
|
518
550
|
mimeType: string;
|
|
@@ -552,6 +584,8 @@ export type RestoreFolderMutation = {
|
|
|
552
584
|
canRead: boolean | null;
|
|
553
585
|
canUpdate: boolean | null;
|
|
554
586
|
canDelete: boolean | null;
|
|
587
|
+
canShare: boolean | null;
|
|
588
|
+
canMove: boolean | null;
|
|
555
589
|
name: string;
|
|
556
590
|
description: string | null;
|
|
557
591
|
path: string;
|
|
@@ -611,6 +645,9 @@ export type ToggleFileStarredMutation = {
|
|
|
611
645
|
canRead: boolean | null;
|
|
612
646
|
canUpdate: boolean | null;
|
|
613
647
|
canDelete: boolean | null;
|
|
648
|
+
canShare: boolean | null;
|
|
649
|
+
canMove: boolean | null;
|
|
650
|
+
canCopy: boolean | null;
|
|
614
651
|
name: string;
|
|
615
652
|
description: string | null;
|
|
616
653
|
mimeType: string;
|
|
@@ -638,6 +675,8 @@ export type ToggleFolderStarredMutation = {
|
|
|
638
675
|
canRead: boolean | null;
|
|
639
676
|
canUpdate: boolean | null;
|
|
640
677
|
canDelete: boolean | null;
|
|
678
|
+
canShare: boolean | null;
|
|
679
|
+
canMove: boolean | null;
|
|
641
680
|
name: string;
|
|
642
681
|
description: string | null;
|
|
643
682
|
path: string;
|
|
@@ -666,6 +705,9 @@ export type UpdateFileMutation = {
|
|
|
666
705
|
canRead: boolean | null;
|
|
667
706
|
canUpdate: boolean | null;
|
|
668
707
|
canDelete: boolean | null;
|
|
708
|
+
canShare: boolean | null;
|
|
709
|
+
canMove: boolean | null;
|
|
710
|
+
canCopy: boolean | null;
|
|
669
711
|
name: string;
|
|
670
712
|
description: string | null;
|
|
671
713
|
mimeType: string;
|
|
@@ -694,6 +736,8 @@ export type UpdateFolderMutation = {
|
|
|
694
736
|
canRead: boolean | null;
|
|
695
737
|
canUpdate: boolean | null;
|
|
696
738
|
canDelete: boolean | null;
|
|
739
|
+
canShare: boolean | null;
|
|
740
|
+
canMove: boolean | null;
|
|
697
741
|
name: string;
|
|
698
742
|
description: string | null;
|
|
699
743
|
path: string;
|
|
@@ -727,6 +771,9 @@ export type GetFilesBinPageQuery = {
|
|
|
727
771
|
canRead: boolean | null;
|
|
728
772
|
canUpdate: boolean | null;
|
|
729
773
|
canDelete: boolean | null;
|
|
774
|
+
canShare: boolean | null;
|
|
775
|
+
canMove: boolean | null;
|
|
776
|
+
canCopy: boolean | null;
|
|
730
777
|
name: string;
|
|
731
778
|
description: string | null;
|
|
732
779
|
mimeType: string;
|
|
@@ -756,6 +803,8 @@ export type GetFilesBinPageQuery = {
|
|
|
756
803
|
canRead: boolean | null;
|
|
757
804
|
canUpdate: boolean | null;
|
|
758
805
|
canDelete: boolean | null;
|
|
806
|
+
canShare: boolean | null;
|
|
807
|
+
canMove: boolean | null;
|
|
759
808
|
name: string;
|
|
760
809
|
description: string | null;
|
|
761
810
|
path: string;
|
|
@@ -791,6 +840,9 @@ export type GetFilesFolderBrowsePageQuery = {
|
|
|
791
840
|
canRead: boolean | null;
|
|
792
841
|
canUpdate: boolean | null;
|
|
793
842
|
canDelete: boolean | null;
|
|
843
|
+
canShare: boolean | null;
|
|
844
|
+
canMove: boolean | null;
|
|
845
|
+
canCopy: boolean | null;
|
|
794
846
|
name: string;
|
|
795
847
|
description: string | null;
|
|
796
848
|
mimeType: string;
|
|
@@ -820,6 +872,8 @@ export type GetFilesFolderBrowsePageQuery = {
|
|
|
820
872
|
canRead: boolean | null;
|
|
821
873
|
canUpdate: boolean | null;
|
|
822
874
|
canDelete: boolean | null;
|
|
875
|
+
canShare: boolean | null;
|
|
876
|
+
canMove: boolean | null;
|
|
823
877
|
name: string;
|
|
824
878
|
description: string | null;
|
|
825
879
|
path: string;
|
|
@@ -865,6 +919,9 @@ export type GetFilesRecentPageQuery = {
|
|
|
865
919
|
canRead: boolean | null;
|
|
866
920
|
canUpdate: boolean | null;
|
|
867
921
|
canDelete: boolean | null;
|
|
922
|
+
canShare: boolean | null;
|
|
923
|
+
canMove: boolean | null;
|
|
924
|
+
canCopy: boolean | null;
|
|
868
925
|
name: string;
|
|
869
926
|
description: string | null;
|
|
870
927
|
mimeType: string;
|
|
@@ -894,6 +951,8 @@ export type GetFilesRecentPageQuery = {
|
|
|
894
951
|
canRead: boolean | null;
|
|
895
952
|
canUpdate: boolean | null;
|
|
896
953
|
canDelete: boolean | null;
|
|
954
|
+
canShare: boolean | null;
|
|
955
|
+
canMove: boolean | null;
|
|
897
956
|
name: string;
|
|
898
957
|
description: string | null;
|
|
899
958
|
path: string;
|
|
@@ -928,6 +987,9 @@ export type GetFilesRootBrowsePageQuery = {
|
|
|
928
987
|
canRead: boolean | null;
|
|
929
988
|
canUpdate: boolean | null;
|
|
930
989
|
canDelete: boolean | null;
|
|
990
|
+
canShare: boolean | null;
|
|
991
|
+
canMove: boolean | null;
|
|
992
|
+
canCopy: boolean | null;
|
|
931
993
|
name: string;
|
|
932
994
|
description: string | null;
|
|
933
995
|
mimeType: string;
|
|
@@ -957,6 +1019,8 @@ export type GetFilesRootBrowsePageQuery = {
|
|
|
957
1019
|
canRead: boolean | null;
|
|
958
1020
|
canUpdate: boolean | null;
|
|
959
1021
|
canDelete: boolean | null;
|
|
1022
|
+
canShare: boolean | null;
|
|
1023
|
+
canMove: boolean | null;
|
|
960
1024
|
name: string;
|
|
961
1025
|
description: string | null;
|
|
962
1026
|
path: string;
|
|
@@ -990,6 +1054,9 @@ export type GetFilesStarredPageQuery = {
|
|
|
990
1054
|
canRead: boolean | null;
|
|
991
1055
|
canUpdate: boolean | null;
|
|
992
1056
|
canDelete: boolean | null;
|
|
1057
|
+
canShare: boolean | null;
|
|
1058
|
+
canMove: boolean | null;
|
|
1059
|
+
canCopy: boolean | null;
|
|
993
1060
|
name: string;
|
|
994
1061
|
description: string | null;
|
|
995
1062
|
mimeType: string;
|
|
@@ -1019,6 +1086,8 @@ export type GetFilesStarredPageQuery = {
|
|
|
1019
1086
|
canRead: boolean | null;
|
|
1020
1087
|
canUpdate: boolean | null;
|
|
1021
1088
|
canDelete: boolean | null;
|
|
1089
|
+
canShare: boolean | null;
|
|
1090
|
+
canMove: boolean | null;
|
|
1022
1091
|
name: string;
|
|
1023
1092
|
description: string | null;
|
|
1024
1093
|
path: string;
|
|
@@ -1056,6 +1125,9 @@ export type SearchFilesPageQuery = {
|
|
|
1056
1125
|
canRead: boolean | null;
|
|
1057
1126
|
canUpdate: boolean | null;
|
|
1058
1127
|
canDelete: boolean | null;
|
|
1128
|
+
canShare: boolean | null;
|
|
1129
|
+
canMove: boolean | null;
|
|
1130
|
+
canCopy: boolean | null;
|
|
1059
1131
|
name: string;
|
|
1060
1132
|
description: string | null;
|
|
1061
1133
|
mimeType: string;
|
|
@@ -1085,6 +1157,8 @@ export type SearchFilesPageQuery = {
|
|
|
1085
1157
|
canRead: boolean | null;
|
|
1086
1158
|
canUpdate: boolean | null;
|
|
1087
1159
|
canDelete: boolean | null;
|
|
1160
|
+
canShare: boolean | null;
|
|
1161
|
+
canMove: boolean | null;
|
|
1088
1162
|
name: string;
|
|
1089
1163
|
description: string | null;
|
|
1090
1164
|
path: string;
|
|
@@ -1113,6 +1187,9 @@ export type GetFileQuery = {
|
|
|
1113
1187
|
canRead: boolean | null;
|
|
1114
1188
|
canUpdate: boolean | null;
|
|
1115
1189
|
canDelete: boolean | null;
|
|
1190
|
+
canShare: boolean | null;
|
|
1191
|
+
canMove: boolean | null;
|
|
1192
|
+
canCopy: boolean | null;
|
|
1116
1193
|
name: string;
|
|
1117
1194
|
description: string | null;
|
|
1118
1195
|
mimeType: string;
|
|
@@ -1184,6 +1261,9 @@ export type GetFilesQuery = {
|
|
|
1184
1261
|
canRead: boolean | null;
|
|
1185
1262
|
canUpdate: boolean | null;
|
|
1186
1263
|
canDelete: boolean | null;
|
|
1264
|
+
canShare: boolean | null;
|
|
1265
|
+
canMove: boolean | null;
|
|
1266
|
+
canCopy: boolean | null;
|
|
1187
1267
|
name: string;
|
|
1188
1268
|
description: string | null;
|
|
1189
1269
|
mimeType: string;
|
|
@@ -1214,6 +1294,8 @@ export type GetFolderQuery = {
|
|
|
1214
1294
|
canRead: boolean | null;
|
|
1215
1295
|
canUpdate: boolean | null;
|
|
1216
1296
|
canDelete: boolean | null;
|
|
1297
|
+
canShare: boolean | null;
|
|
1298
|
+
canMove: boolean | null;
|
|
1217
1299
|
description: string | null;
|
|
1218
1300
|
path: string;
|
|
1219
1301
|
level: number;
|
|
@@ -1258,6 +1340,8 @@ export type GetFoldersQuery = {
|
|
|
1258
1340
|
canRead: boolean | null;
|
|
1259
1341
|
canUpdate: boolean | null;
|
|
1260
1342
|
canDelete: boolean | null;
|
|
1343
|
+
canShare: boolean | null;
|
|
1344
|
+
canMove: boolean | null;
|
|
1261
1345
|
name: string;
|
|
1262
1346
|
description: string | null;
|
|
1263
1347
|
path: string;
|
|
@@ -1274,6 +1358,24 @@ export type GetFoldersQuery = {
|
|
|
1274
1358
|
}>;
|
|
1275
1359
|
};
|
|
1276
1360
|
};
|
|
1361
|
+
export type GetUserFileSharePermissionQueryVariables = Exact<{
|
|
1362
|
+
fileId: string;
|
|
1363
|
+
}>;
|
|
1364
|
+
export type GetUserFileSharePermissionQuery = {
|
|
1365
|
+
getUserFilePermissions: {
|
|
1366
|
+
fileId: string;
|
|
1367
|
+
canShare: boolean;
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
export type GetUserFolderSharePermissionQueryVariables = Exact<{
|
|
1371
|
+
folderId: string;
|
|
1372
|
+
}>;
|
|
1373
|
+
export type GetUserFolderSharePermissionQuery = {
|
|
1374
|
+
getUserFolderPermissions: {
|
|
1375
|
+
folderId: string;
|
|
1376
|
+
canShare: boolean;
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1277
1379
|
export type GetUserStorageUsageQueryVariables = Exact<{
|
|
1278
1380
|
[key: string]: never;
|
|
1279
1381
|
}>;
|
|
@@ -1353,6 +1455,8 @@ export declare const GetFilesDocument: DocumentNode<GetFilesQuery, GetFilesQuery
|
|
|
1353
1455
|
export declare const GetFolderDocument: DocumentNode<GetFolderQuery, GetFolderQueryVariables>;
|
|
1354
1456
|
export declare const GetFolderPathDocument: DocumentNode<GetFolderPathQuery, GetFolderPathQueryVariables>;
|
|
1355
1457
|
export declare const GetFoldersDocument: DocumentNode<GetFoldersQuery, GetFoldersQueryVariables>;
|
|
1458
|
+
export declare const GetUserFileSharePermissionDocument: DocumentNode<GetUserFileSharePermissionQuery, GetUserFileSharePermissionQueryVariables>;
|
|
1459
|
+
export declare const GetUserFolderSharePermissionDocument: DocumentNode<GetUserFolderSharePermissionQuery, GetUserFolderSharePermissionQueryVariables>;
|
|
1356
1460
|
export declare const GetUserStorageUsageDocument: DocumentNode<GetUserStorageUsageQuery, GetUserStorageUsageQueryVariables>;
|
|
1357
1461
|
export declare const GetWorkspaceStorageStatusDocument: DocumentNode<GetWorkspaceStorageStatusQuery, GetWorkspaceStorageStatusQueryVariables>;
|
|
1358
1462
|
export {};
|