@burdenoff/microfe-files 2026.626.2 → 2026.715.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.
Files changed (168) hide show
  1. package/dist/config/index.d.ts +33 -0
  2. package/dist/config/index.d.ts.map +1 -0
  3. package/dist/dev/main.d.ts +1 -0
  4. package/dist/dev/main.d.ts.map +1 -0
  5. package/dist/files/FilesRoot.d.ts +31 -0
  6. package/dist/files/FilesRoot.d.ts.map +1 -0
  7. package/dist/files/FilesRoutes.d.ts +12 -0
  8. package/dist/files/FilesRoutes.d.ts.map +1 -0
  9. package/dist/files/components/ActionMenu.d.ts +19 -0
  10. package/dist/files/components/ActionMenu.d.ts.map +1 -0
  11. package/dist/files/components/ConfirmDialog.d.ts +22 -0
  12. package/dist/files/components/ConfirmDialog.d.ts.map +1 -0
  13. package/dist/files/components/ContextMenu.d.ts +15 -0
  14. package/dist/files/components/ContextMenu.d.ts.map +1 -0
  15. package/dist/files/components/CopyDialog.d.ts +12 -0
  16. package/dist/files/components/CopyDialog.d.ts.map +1 -0
  17. package/dist/files/components/EmptyState.d.ts +15 -0
  18. package/dist/files/components/EmptyState.d.ts.map +1 -0
  19. package/dist/files/components/FileBrowser.d.ts +37 -0
  20. package/dist/files/components/FileBrowser.d.ts.map +1 -0
  21. package/dist/files/components/FileCard.d.ts +30 -0
  22. package/dist/files/components/FileCard.d.ts.map +1 -0
  23. package/dist/files/components/FileInfoPanel.d.ts +9 -0
  24. package/dist/files/components/FileInfoPanel.d.ts.map +1 -0
  25. package/dist/files/components/FileListItem.d.ts +29 -0
  26. package/dist/files/components/FileListItem.d.ts.map +1 -0
  27. package/dist/files/components/FilePreviewModal.d.ts +17 -0
  28. package/dist/files/components/FilePreviewModal.d.ts.map +1 -0
  29. package/dist/files/components/FileVersionPanel.d.ts +9 -0
  30. package/dist/files/components/FileVersionPanel.d.ts.map +1 -0
  31. package/dist/files/components/FolderCard.d.ts +34 -0
  32. package/dist/files/components/FolderCard.d.ts.map +1 -0
  33. package/dist/files/components/MoveDialog.d.ts +12 -0
  34. package/dist/files/components/MoveDialog.d.ts.map +1 -0
  35. package/dist/files/components/SearchBar.d.ts +13 -0
  36. package/dist/files/components/SearchBar.d.ts.map +1 -0
  37. package/dist/files/components/ShareDialog.d.ts +24 -0
  38. package/dist/files/components/ShareDialog.d.ts.map +1 -0
  39. package/dist/files/components/StorageBanner.d.ts +12 -0
  40. package/dist/files/components/StorageBanner.d.ts.map +1 -0
  41. package/dist/files/components/StorageBanner.js +43 -24
  42. package/dist/files/components/StorageBanner.js.map +1 -1
  43. package/dist/files/components/TabBar.d.ts +16 -0
  44. package/dist/files/components/TabBar.d.ts.map +1 -0
  45. package/dist/files/components/Toast.d.ts +14 -0
  46. package/dist/files/components/Toast.d.ts.map +1 -0
  47. package/dist/files/components/UploadQueue.d.ts +13 -0
  48. package/dist/files/components/UploadQueue.d.ts.map +1 -0
  49. package/dist/files/components/contextMenuItems.d.ts +45 -0
  50. package/dist/files/components/contextMenuItems.d.ts.map +1 -0
  51. package/dist/files/components/viewers/AudioPlayer.d.ts +8 -0
  52. package/dist/files/components/viewers/AudioPlayer.d.ts.map +1 -0
  53. package/dist/files/components/viewers/CodeViewer.d.ts +16 -0
  54. package/dist/files/components/viewers/CodeViewer.d.ts.map +1 -0
  55. package/dist/files/components/viewers/ImageViewer.d.ts +8 -0
  56. package/dist/files/components/viewers/ImageViewer.d.ts.map +1 -0
  57. package/dist/files/components/viewers/PDFViewer.d.ts +15 -0
  58. package/dist/files/components/viewers/PDFViewer.d.ts.map +1 -0
  59. package/dist/files/components/viewers/TextViewer.d.ts +8 -0
  60. package/dist/files/components/viewers/TextViewer.d.ts.map +1 -0
  61. package/dist/files/components/viewers/VideoPlayer.d.ts +8 -0
  62. package/dist/files/components/viewers/VideoPlayer.d.ts.map +1 -0
  63. package/dist/files/graphql-types.d.ts +277 -0
  64. package/dist/files/graphql-types.d.ts.map +1 -0
  65. package/dist/files/hooks/useBatchOperations.d.ts +6 -0
  66. package/dist/files/hooks/useBatchOperations.d.ts.map +1 -0
  67. package/dist/files/hooks/useBinItems.d.ts +11 -0
  68. package/dist/files/hooks/useBinItems.d.ts.map +1 -0
  69. package/dist/files/hooks/useBrowsePage.d.ts +21 -0
  70. package/dist/files/hooks/useBrowsePage.d.ts.map +1 -0
  71. package/dist/files/hooks/useCopyFile.d.ts +14 -0
  72. package/dist/files/hooks/useCopyFile.d.ts.map +1 -0
  73. package/dist/files/hooks/useCreateFolder.d.ts +17 -0
  74. package/dist/files/hooks/useCreateFolder.d.ts.map +1 -0
  75. package/dist/files/hooks/useCreateFolderShare.d.ts +16 -0
  76. package/dist/files/hooks/useCreateFolderShare.d.ts.map +1 -0
  77. package/dist/files/hooks/useCreateShare.d.ts +16 -0
  78. package/dist/files/hooks/useCreateShare.d.ts.map +1 -0
  79. package/dist/files/hooks/useDeleteFile.d.ts +9 -0
  80. package/dist/files/hooks/useDeleteFile.d.ts.map +1 -0
  81. package/dist/files/hooks/useDeleteFolder.d.ts +10 -0
  82. package/dist/files/hooks/useDeleteFolder.d.ts.map +1 -0
  83. package/dist/files/hooks/useDragDrop.d.ts +31 -0
  84. package/dist/files/hooks/useDragDrop.d.ts.map +1 -0
  85. package/dist/files/hooks/useFileVersions.d.ts +39 -0
  86. package/dist/files/hooks/useFileVersions.d.ts.map +1 -0
  87. package/dist/files/hooks/useFoldersQuery.d.ts +7 -0
  88. package/dist/files/hooks/useFoldersQuery.d.ts.map +1 -0
  89. package/dist/files/hooks/useKeyboardNavigation.d.ts +17 -0
  90. package/dist/files/hooks/useKeyboardNavigation.d.ts.map +1 -0
  91. package/dist/files/hooks/useMoveFile.d.ts +10 -0
  92. package/dist/files/hooks/useMoveFile.d.ts.map +1 -0
  93. package/dist/files/hooks/useMoveFolder.d.ts +10 -0
  94. package/dist/files/hooks/useMoveFolder.d.ts.map +1 -0
  95. package/dist/files/hooks/usePermanentlyDeleteFile.d.ts +9 -0
  96. package/dist/files/hooks/usePermanentlyDeleteFile.d.ts.map +1 -0
  97. package/dist/files/hooks/usePermanentlyDeleteFolder.d.ts +9 -0
  98. package/dist/files/hooks/usePermanentlyDeleteFolder.d.ts.map +1 -0
  99. package/dist/files/hooks/useRecentFiles.d.ts +10 -0
  100. package/dist/files/hooks/useRecentFiles.d.ts.map +1 -0
  101. package/dist/files/hooks/useRenameFile.d.ts +10 -0
  102. package/dist/files/hooks/useRenameFile.d.ts.map +1 -0
  103. package/dist/files/hooks/useRenameFolder.d.ts +10 -0
  104. package/dist/files/hooks/useRenameFolder.d.ts.map +1 -0
  105. package/dist/files/hooks/useRestoreFile.d.ts +9 -0
  106. package/dist/files/hooks/useRestoreFile.d.ts.map +1 -0
  107. package/dist/files/hooks/useRestoreFolder.d.ts +9 -0
  108. package/dist/files/hooks/useRestoreFolder.d.ts.map +1 -0
  109. package/dist/files/hooks/useSearch.d.ts +15 -0
  110. package/dist/files/hooks/useSearch.d.ts.map +1 -0
  111. package/dist/files/hooks/useStarredItems.d.ts +10 -0
  112. package/dist/files/hooks/useStarredItems.d.ts.map +1 -0
  113. package/dist/files/hooks/useStorageQuota.d.ts +11 -0
  114. package/dist/files/hooks/useStorageQuota.d.ts.map +1 -0
  115. package/dist/files/hooks/useStorageQuota.js +1 -1
  116. package/dist/files/hooks/useStorageQuota.js.map +1 -1
  117. package/dist/files/hooks/useToast.d.ts +11 -0
  118. package/dist/files/hooks/useToast.d.ts.map +1 -0
  119. package/dist/files/hooks/useToggleStar.d.ts +10 -0
  120. package/dist/files/hooks/useToggleStar.d.ts.map +1 -0
  121. package/dist/files/hooks/useUploadFile.d.ts +26 -0
  122. package/dist/files/hooks/useUploadFile.d.ts.map +1 -0
  123. package/dist/files/hooks/useUploadFile.js +43 -44
  124. package/dist/files/hooks/useUploadFile.js.map +1 -1
  125. package/dist/files/index.d.ts +29 -0
  126. package/dist/files/index.d.ts.map +1 -0
  127. package/dist/files/pages/BrowserPage.d.ts +5 -0
  128. package/dist/files/pages/BrowserPage.d.ts.map +1 -0
  129. package/dist/files/pages/BrowserPage.js +361 -351
  130. package/dist/files/pages/BrowserPage.js.map +1 -1
  131. package/dist/files/pages/ShareAccessPage.d.ts +2 -0
  132. package/dist/files/pages/ShareAccessPage.d.ts.map +1 -0
  133. package/dist/files/providers/FilesProvider.d.ts +25 -0
  134. package/dist/files/providers/FilesProvider.d.ts.map +1 -0
  135. package/dist/files/store/filesStore.d.ts +99 -0
  136. package/dist/files/store/filesStore.d.ts.map +1 -0
  137. package/dist/files/types.d.ts +266 -0
  138. package/dist/files/types.d.ts.map +1 -0
  139. package/dist/files/utils/events.d.ts +6 -0
  140. package/dist/files/utils/events.d.ts.map +1 -0
  141. package/dist/files/utils/i18n.d.ts +5 -0
  142. package/dist/files/utils/i18n.d.ts.map +1 -0
  143. package/dist/files/utils/index.d.ts +12 -0
  144. package/dist/files/utils/index.d.ts.map +1 -0
  145. package/dist/files/utils/quotaUtils.d.ts +2 -0
  146. package/dist/files/utils/quotaUtils.d.ts.map +1 -0
  147. package/dist/files/utils/quotaUtils.js +2 -14
  148. package/dist/files/utils/thumbnail.d.ts +3 -0
  149. package/dist/files/utils/thumbnail.d.ts.map +1 -0
  150. package/dist/files.d.ts +2 -0
  151. package/dist/generated/global-operations.d.ts +2 -0
  152. package/dist/generated/global-operations.d.ts.map +1 -0
  153. package/dist/generated/global-types.d.ts +22995 -0
  154. package/dist/generated/global-types.d.ts.map +1 -0
  155. package/dist/generated/wspace-operations.d.ts +2789 -0
  156. package/dist/generated/wspace-operations.d.ts.map +1 -0
  157. package/dist/generated/wspace-types.d.ts +50215 -0
  158. package/dist/generated/wspace-types.d.ts.map +1 -0
  159. package/dist/index.d.ts +31 -0
  160. package/dist/index.d.ts.map +1 -0
  161. package/dist/shared/types/index.d.ts +109 -0
  162. package/dist/shared/types/index.d.ts.map +1 -0
  163. package/dist/translations/en.d.ts +315 -0
  164. package/dist/translations/en.d.ts.map +1 -0
  165. package/dist/utils/nativeBridge.d.ts +3 -0
  166. package/dist/utils/nativeBridge.d.ts.map +1 -0
  167. package/package.json +2 -2
  168. package/dist/files/utils/quotaUtils.js.map +0 -1
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @burdenoff/microfe-files
3
+ *
4
+ * Standalone file management microfrontend for the Burdenoff platform.
5
+ * Provides comprehensive file storage, browsing, and management capabilities
6
+ * including file uploads, organization, sharing, versioning, and preview functionality.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { FilesRoot, type FilesRootProps } from '@burdenoff/microfe-files';
11
+ *
12
+ * function App() {
13
+ * return (
14
+ * <FilesRoot
15
+ * basePath="/files"
16
+ * navigate={(path) => router.push(path)}
17
+ * currentUser={{ id: '1', email: 'user@example.com' }}
18
+ * workspaceId="ws-123"
19
+ * apiGatewayUrl="https://gw-global.local.burdenoff.com"
20
+ * authToken="token"
21
+ * onFileSelect={(file) => console.log('Selected:', file)}
22
+ * />
23
+ * );
24
+ * }
25
+ * ```
26
+ */
27
+ export * from './files';
28
+ export * from './config';
29
+ export { enTranslations } from './translations/en';
30
+ export type { MicrofrontendRootProps, NavItem, FooterItem, FooterSection, User, } from './shared/types';
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AAGzB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,YAAY,EACV,sBAAsB,EACtB,OAAO,EACP,UAAU,EACV,aAAa,EACb,IAAI,GACL,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,109 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Base user type
4
+ * Note: firstName and lastName are optional to match auth module's User type
5
+ */
6
+ export interface User {
7
+ id: string;
8
+ email: string;
9
+ firstName?: string;
10
+ lastName?: string;
11
+ avatar?: string;
12
+ /** Optional username for display */
13
+ username?: string;
14
+ /** Optional full name */
15
+ name?: string;
16
+ /** User role */
17
+ role?: string;
18
+ }
19
+ /**
20
+ * Base microfrontend root props
21
+ */
22
+ export interface MicrofrontendRootProps {
23
+ /**
24
+ * Base path for the microfrontend (e.g., '/files')
25
+ */
26
+ basePath: string;
27
+ /**
28
+ * Navigation function injected by the host shell
29
+ */
30
+ navigate: (path: string) => void;
31
+ /**
32
+ * Current authenticated user
33
+ */
34
+ currentUser?: User;
35
+ /**
36
+ * Current tenant ID (for tenant modules)
37
+ */
38
+ tenantId?: string;
39
+ /**
40
+ * Current organization ID (for workspace modules that need org context)
41
+ */
42
+ organizationId?: string;
43
+ /**
44
+ * Current workspace ID (for workspace modules)
45
+ */
46
+ workspaceId?: string;
47
+ /**
48
+ * Current project ID (for project-scoped workspace modules)
49
+ */
50
+ projectId?: string;
51
+ /**
52
+ * API Gateway URL
53
+ */
54
+ apiGatewayUrl?: string;
55
+ /**
56
+ * Authentication token
57
+ */
58
+ authToken?: string;
59
+ /**
60
+ * Optional shell-owned event bus. MFEs only emit; sinks live in the host shell.
61
+ */
62
+ eventBus?: {
63
+ emit: (event: string, payload: unknown) => void;
64
+ };
65
+ /**
66
+ * Optional function to register navigation items with the shell
67
+ * Injected by the shell app
68
+ * @returns Cleanup function to unregister the items
69
+ */
70
+ registerNavItems?: (items: NavItem | NavItem[]) => () => void;
71
+ /**
72
+ * Optional function to register footer items with the shell
73
+ * Injected by the shell app
74
+ * @returns Cleanup function to unregister the items
75
+ */
76
+ registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
77
+ }
78
+ /**
79
+ * Navigation item for shell integration
80
+ */
81
+ export interface NavItem {
82
+ id: string;
83
+ label: string;
84
+ icon?: ReactNode;
85
+ path: string;
86
+ badge?: number;
87
+ order?: number;
88
+ group?: string;
89
+ visible?: boolean;
90
+ }
91
+ /**
92
+ * Footer item for shell integration
93
+ */
94
+ export interface FooterItem {
95
+ id: string;
96
+ label: string;
97
+ icon?: string;
98
+ onClick?: () => void;
99
+ type?: "status" | "action" | "info";
100
+ order?: number;
101
+ badge?: string;
102
+ section?: "left" | "center" | "right";
103
+ visible?: boolean;
104
+ }
105
+ /**
106
+ * Footer section type
107
+ */
108
+ export type FooterSection = "left" | "center" | "right";
109
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEjC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;KACjD,CAAC;IAEF;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC;IAE9D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,EAAE,KAAK,MAAM,IAAI,CAAC;CACxE;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC"}
@@ -0,0 +1,315 @@
1
+ /**
2
+ * English fallback translations for microfe-files.
3
+ *
4
+ * Keys use dot-notation (e.g., 'files.browser.loading') which the
5
+ * I18nProvider resolves against this nested object structure.
6
+ *
7
+ * This file is the source of truth for all translation keys used in this MFE.
8
+ * Register it with the host shell's AppShellProvider.fallbackTranslations
9
+ * to enable offline/fallback support.
10
+ */
11
+ export declare const enTranslations: {
12
+ files: {
13
+ actionMenu: {
14
+ moreActions: string;
15
+ };
16
+ browser: {
17
+ actions: {
18
+ export: string;
19
+ exportTitle: string;
20
+ goToRoot: string;
21
+ newFolder: string;
22
+ selectAll: string;
23
+ uploadFiles: string;
24
+ uploadFolder: string;
25
+ uploadFolderTitle: string;
26
+ };
27
+ delete: string;
28
+ items: string;
29
+ loading: string;
30
+ modified: string;
31
+ name: string;
32
+ openFolder: string;
33
+ owner: string;
34
+ rename: string;
35
+ retry: string;
36
+ rootLabel: string;
37
+ search: {
38
+ clear: string;
39
+ showingResults: string;
40
+ };
41
+ selection: {
42
+ selectedCount: string;
43
+ actions: {
44
+ restore: string;
45
+ };
46
+ };
47
+ size: string;
48
+ tabs: {
49
+ all: string;
50
+ bin: string;
51
+ recent: string;
52
+ starred: string;
53
+ };
54
+ view: {
55
+ grid: string;
56
+ list: string;
57
+ };
58
+ workspace: {
59
+ notSelected: string;
60
+ waiting: string;
61
+ };
62
+ loadError: string;
63
+ unexpectedError: string;
64
+ };
65
+ card: {
66
+ activity: string;
67
+ addToStarred: string;
68
+ delete: string;
69
+ details: string;
70
+ download: string;
71
+ favorite: string;
72
+ makeCopy: string;
73
+ moveTo: string;
74
+ rename: string;
75
+ restore: string;
76
+ share: string;
77
+ shared: string;
78
+ unfavorite: string;
79
+ };
80
+ common: {
81
+ actions: {
82
+ cancel: string;
83
+ clear: string;
84
+ close: string;
85
+ create: string;
86
+ delete: string;
87
+ deletePermanently: string;
88
+ done: string;
89
+ move: string;
90
+ rename: string;
91
+ share: string;
92
+ };
93
+ };
94
+ confirm: {
95
+ bulkPermanentDelete: {
96
+ description: string;
97
+ title: string;
98
+ };
99
+ deleteFile: {
100
+ description: string;
101
+ title: string;
102
+ };
103
+ deleteFolder: {
104
+ description: string;
105
+ title: string;
106
+ };
107
+ permanentDeleteFile: {
108
+ description: string;
109
+ title: string;
110
+ };
111
+ permanentDeleteFolder: {
112
+ description: string;
113
+ title: string;
114
+ };
115
+ };
116
+ contextMenu: {
117
+ activity: string;
118
+ addToStarred: string;
119
+ delete: string;
120
+ download: string;
121
+ fileInfo: string;
122
+ folderInfo: string;
123
+ moveTo: string;
124
+ removeStar: string;
125
+ rename: string;
126
+ restore: string;
127
+ share: string;
128
+ };
129
+ copyDialog: {
130
+ copy: string;
131
+ copyHere: string;
132
+ copyOf: string;
133
+ copying: string;
134
+ makeCopyOf: string;
135
+ myDrive: string;
136
+ name: string;
137
+ title: string;
138
+ };
139
+ empty: {
140
+ all: {
141
+ description: string;
142
+ title: string;
143
+ };
144
+ bin: {
145
+ description: string;
146
+ title: string;
147
+ };
148
+ newFolder: string;
149
+ recent: {
150
+ description: string;
151
+ title: string;
152
+ };
153
+ starred: {
154
+ description: string;
155
+ title: string;
156
+ };
157
+ uploadFiles: string;
158
+ };
159
+ file: {
160
+ copy: {
161
+ success: string;
162
+ };
163
+ delete: {
164
+ success: string;
165
+ };
166
+ download: {
167
+ success: string;
168
+ };
169
+ errors: {
170
+ copyFailed: string;
171
+ deleteFailed: string;
172
+ downloadFailed: string;
173
+ downloadUrlUnavailable: string;
174
+ moveFailed: string;
175
+ permanentDeleteFailed: string;
176
+ renameFailed: string;
177
+ restoreFailed: string;
178
+ starFailed: string;
179
+ };
180
+ move: {
181
+ success: string;
182
+ };
183
+ permanentDelete: {
184
+ success: string;
185
+ };
186
+ rename: {
187
+ success: string;
188
+ };
189
+ restore: {
190
+ success: string;
191
+ };
192
+ };
193
+ folder: {
194
+ errors: {
195
+ copyUnsupported: string;
196
+ createFailed: string;
197
+ deleteFailed: string;
198
+ moveFailed: string;
199
+ permanentDeleteFailed: string;
200
+ renameFailed: string;
201
+ restoreFailed: string;
202
+ starFailed: string;
203
+ };
204
+ item: string;
205
+ move: {
206
+ success: string;
207
+ };
208
+ delete: {
209
+ success: string;
210
+ };
211
+ permanentDelete: {
212
+ success: string;
213
+ };
214
+ restore: {
215
+ success: string;
216
+ };
217
+ rename: {
218
+ success: string;
219
+ };
220
+ };
221
+ info: {
222
+ contents: string;
223
+ created: string;
224
+ fileInfo: string;
225
+ files: string;
226
+ folder: string;
227
+ folderInfo: string;
228
+ folders: string;
229
+ modified: string;
230
+ no: string;
231
+ owner: string;
232
+ path: string;
233
+ properties: string;
234
+ size: string;
235
+ starred: string;
236
+ status: string;
237
+ type: string;
238
+ unknown: string;
239
+ visibility: string;
240
+ yes: string;
241
+ };
242
+ item: {
243
+ errors: {
244
+ moveFailed: string;
245
+ renameFailed: string;
246
+ };
247
+ };
248
+ moveDialog: {
249
+ actions: {
250
+ moving: string;
251
+ };
252
+ title: string;
253
+ };
254
+ preview: {
255
+ addStar: string;
256
+ removeStar: string;
257
+ };
258
+ search: {
259
+ filters: {
260
+ title: string;
261
+ };
262
+ input: {
263
+ placeholder: string;
264
+ };
265
+ };
266
+ share: {
267
+ back: string;
268
+ password: {
269
+ label: string;
270
+ };
271
+ title: string;
272
+ unlock: string;
273
+ };
274
+ upload: {
275
+ active: string;
276
+ cancel: string;
277
+ completed: string;
278
+ errors: {
279
+ failed: string;
280
+ quotaExceeded: string;
281
+ };
282
+ failed: string;
283
+ noUploads: string;
284
+ pause: string;
285
+ paused: string;
286
+ pending: string;
287
+ resume: string;
288
+ retry: string;
289
+ uploads: string;
290
+ };
291
+ version: {
292
+ deleteVersion: string;
293
+ major: string;
294
+ restore: string;
295
+ restoreVersion: string;
296
+ restoredFrom: string;
297
+ total: string;
298
+ version: string;
299
+ versionDeleted: string;
300
+ versionRestored: string;
301
+ versions: string;
302
+ };
303
+ workspace: {
304
+ errors: {
305
+ notSelected: string;
306
+ };
307
+ };
308
+ bulk: {
309
+ permanentDelete: {
310
+ success: string;
311
+ };
312
+ };
313
+ };
314
+ };
315
+ //# sourceMappingURL=en.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/translations/en.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqT1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
2
+ export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
3
+ //# sourceMappingURL=nativeBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-files",
3
- "version": "2026.626.2",
3
+ "version": "2026.715.1",
4
4
  "description": "Burdenoff Files Microfrontend - Standalone file management module",
5
5
  "type": "module",
6
6
  "imports": {
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "dev": "vite --port 5139",
27
- "build": "tsc && vite build",
27
+ "build": "tsc && MFE_DTS=1 vite build",
28
28
  "build:lib": "vite build --mode lib",
29
29
  "preview": "vite preview",
30
30
  "schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
@@ -1 +0,0 @@
1
- {"version":3,"file":"quotaUtils.js","names":[],"sources":["../../../src/files/utils/quotaUtils.ts"],"sourcesContent":["type GraphQLErrorLike = {\n message?: string;\n extensions?: Record<string, unknown>;\n};\n\nfunction hasQuotaCode(errors: GraphQLErrorLike[] | undefined): boolean {\n return (\n errors?.some(\n (e) =>\n e.extensions?.[\"code\"] === \"QUOTA_EXHAUSTED\" ||\n e.extensions?.[\"errorCode\"] === \"QUOTA_EXHAUSTED\" ||\n e.message?.includes(\"QUOTA_EXHAUSTED\"),\n ) ?? false\n );\n}\n\nexport function isQuotaExhaustedError(error: unknown): boolean {\n if (\n error instanceof Error &&\n (error.message.includes(\"QUOTA_EXHAUSTED\") ||\n error.message.toLowerCase().includes(\"quota exhausted\"))\n ) {\n return true;\n }\n\n if (!error || typeof error !== \"object\") {\n return false;\n }\n\n const e = error as Record<string, unknown>;\n\n if (Array.isArray(e[\"graphQLErrors\"])) {\n return hasQuotaCode(e[\"graphQLErrors\"] as GraphQLErrorLike[]);\n }\n\n if (Array.isArray(e[\"errors\"])) {\n return hasQuotaCode(e[\"errors\"] as GraphQLErrorLike[]);\n }\n\n return false;\n}\n"],"mappings":";AAKA,SAAS,EAAa,GAAiD;AACrE,QACE,GAAQ,MACL,MACC,EAAE,YAAa,SAAY,qBAC3B,EAAE,YAAa,cAAiB,qBAChC,EAAE,SAAS,SAAS,kBAAkB,CACzC,IAAI;;AAIT,SAAgB,EAAsB,GAAyB;AAC7D,KACE,aAAiB,UAChB,EAAM,QAAQ,SAAS,kBAAkB,IACxC,EAAM,QAAQ,aAAa,CAAC,SAAS,kBAAkB,EAEzD,QAAO;AAGT,KAAI,CAAC,KAAS,OAAO,KAAU,SAC7B,QAAO;CAGT,IAAM,IAAI;AAUV,QARI,MAAM,QAAQ,EAAE,cAAiB,GAC5B,EAAa,EAAE,cAAuC,GAG3D,MAAM,QAAQ,EAAE,OAAU,GACrB,EAAa,EAAE,OAAgC,GAGjD"}