@burdenoff/microfe-files 2026.1110.1 → 2026.1111.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 (46) hide show
  1. package/dist/files/components/ActionMenu.d.ts +6 -0
  2. package/dist/files/components/ActionMenu.js +2 -1
  3. package/dist/files/components/ActionMenu.js.map +1 -1
  4. package/dist/files/components/ContextMenu.d.ts +6 -0
  5. package/dist/files/components/ContextMenu.js +2 -0
  6. package/dist/files/components/ContextMenu.js.map +1 -1
  7. package/dist/files/components/FileBrowser.d.ts +8 -2
  8. package/dist/files/components/FileBrowser.js +214 -180
  9. package/dist/files/components/FileBrowser.js.map +1 -1
  10. package/dist/files/components/FileCard.d.ts +5 -0
  11. package/dist/files/components/FileCard.js +98 -94
  12. package/dist/files/components/FileCard.js.map +1 -1
  13. package/dist/files/components/FileListItem.d.ts +5 -0
  14. package/dist/files/components/FileListItem.js +88 -87
  15. package/dist/files/components/FileListItem.js.map +1 -1
  16. package/dist/files/components/FilePreviewModal.d.ts +6 -1
  17. package/dist/files/components/FilePreviewModal.js +30 -29
  18. package/dist/files/components/FilePreviewModal.js.map +1 -1
  19. package/dist/files/components/FolderCard.d.ts +5 -0
  20. package/dist/files/components/FolderCard.js +108 -104
  21. package/dist/files/components/FolderCard.js.map +1 -1
  22. package/dist/files/components/ShareDialog.d.ts +12 -5
  23. package/dist/files/components/ShareDialog.js +348 -188
  24. package/dist/files/components/ShareDialog.js.map +1 -1
  25. package/dist/files/components/UploadQueue.js +1 -1
  26. package/dist/files/components/contextMenuItems.d.ts +32 -0
  27. package/dist/files/components/contextMenuItems.js +6 -2
  28. package/dist/files/components/contextMenuItems.js.map +1 -1
  29. package/dist/files/hooks/useShareDialogPermission.d.ts +45 -0
  30. package/dist/files/hooks/useShareDialogPermission.js +31 -0
  31. package/dist/files/hooks/useShareDialogPermission.js.map +1 -0
  32. package/dist/files/hooks/useSharePermissions.d.ts +26 -0
  33. package/dist/files/hooks/useSharePermissions.js +81 -0
  34. package/dist/files/hooks/useSharePermissions.js.map +1 -0
  35. package/dist/files/pages/BrowserPage.js +340 -336
  36. package/dist/files/pages/BrowserPage.js.map +1 -1
  37. package/dist/files/utils/sharePermission.d.ts +140 -0
  38. package/dist/files/utils/sharePermission.js +77 -0
  39. package/dist/files/utils/sharePermission.js.map +1 -0
  40. package/dist/generated/wspace-operations.d.ts +20 -0
  41. package/dist/generated/wspace-operations.js +141 -1
  42. package/dist/generated/wspace-operations.js.map +1 -1
  43. package/dist/translations/en.d.ts +16 -0
  44. package/dist/translations/en.js +16 -0
  45. package/dist/translations/en.js.map +1 -1
  46. package/package.json +1 -1
@@ -353,9 +353,25 @@ export declare const enTranslations: {
353
353
  password: {
354
354
  label: string;
355
355
  };
356
+ permission: {
357
+ checking: string;
358
+ denied: string;
359
+ };
356
360
  title: string;
357
361
  unlock: string;
358
362
  };
363
+ shareDialog: {
364
+ forbidden: {
365
+ folder: string;
366
+ restricted: string;
367
+ role: string;
368
+ title: string;
369
+ };
370
+ itemType: {
371
+ file: string;
372
+ folder: string;
373
+ };
374
+ };
359
375
  upload: {
360
376
  active: string;
361
377
  cancel: string;
@@ -301,9 +301,25 @@ var e = { files: {
301
301
  share: {
302
302
  back: "Back to files",
303
303
  password: { label: "Password" },
304
+ permission: {
305
+ checking: "Checking whether you can share this…",
306
+ denied: "You don't have permission to share this. Ask its owner or a manager for Share access."
307
+ },
304
308
  title: "Share",
305
309
  unlock: "Enter password to access"
306
310
  },
311
+ shareDialog: {
312
+ forbidden: {
313
+ folder: "Only the folder's creator, people with Share or Manage access to it, or a folder manager can share a folder. Ask one of them to share it or to give you Share access.",
314
+ restricted: "Only its owner, people with Share or Manage access, or a manager can share a private or team file. Ask one of them to share it or to give you Share access.",
315
+ role: "Your workspace role doesn't allow sharing. Ask a workspace admin.",
316
+ title: "You can't share this {{itemType}}"
317
+ },
318
+ itemType: {
319
+ file: "file",
320
+ folder: "folder"
321
+ }
322
+ },
307
323
  upload: {
308
324
  active: "{{count}} uploading",
309
325
  cancel: "Cancel",
@@ -1 +1 @@
1
- {"version":3,"file":"en.js","names":["enTranslations"],"sources":["../../src/translations/en.ts"],"sourcesContent":["/**\n * English fallback translations for microfe-files.\n *\n * Keys use dot-notation (e.g., 'files.browser.loading') which the\n * I18nProvider resolves against this nested object structure.\n *\n * This file is the source of truth for all translation keys used in this MFE.\n * Register it with the host shell's AppShellProvider.fallbackTranslations\n * to enable offline/fallback support.\n */\nexport const enTranslations = {\n files: {\n actionMenu: {\n moreActions: \"More actions\",\n },\n nav: {\n allFiles: \"All Files\",\n statusReady: \"Files Ready\",\n },\n root: {\n errorFallback:\n \"Something went wrong loading this module. Please refresh the page.\",\n },\n storage: {\n almostFull: \"Storage almost full.\",\n almostFullNoLimit: \"{{used}} used.\",\n almostFullWithLimit: \"{{used}} of {{limit}} used ({{percent}}%).\",\n deleteOrUpgrade: \"Consider deleting files or upgrading your plan.\",\n freeUpOrUpgrade: \"Delete files to free up space or upgrade your plan.\",\n full: \"Storage full.\",\n fullNoLimit: \"{{used}} used — no space left.\",\n fullWithLimit: \"{{used}} of {{limit}} used — no space left.\",\n label: \"Storage\",\n unit: \"MB\",\n },\n browser: {\n actions: {\n export: \"Export\",\n exportTitle: \"Export selected items\",\n goToRoot: \"Go to root folder\",\n newFolder: \"New Folder\",\n selectAll: \"Select all\",\n uploadFiles: \"Upload files\",\n uploadFolder: \"Upload folder\",\n uploadFolderTitle: \"Upload folder\",\n },\n delete: \"Delete\",\n items: \"items\",\n loading: \"Loading files…\",\n modified: \"Modified\",\n name: \"Name\",\n openFolder: \"Open folder\",\n owner: \"Owner\",\n rename: \"Rename\",\n retry: \"Retry\",\n rootLabel: \"My Drive\",\n search: {\n clear: \"Clear search\",\n showingResults: 'Showing {{count}} results for \"{{query}}\"',\n },\n selection: {\n selectedCount: \"{{count}} selected\",\n actions: {\n restore: \"Restore\",\n },\n },\n size: \"Size\",\n tabs: {\n all: \"All Files\",\n bin: \"Bin\",\n recent: \"Recent\",\n starred: \"Starred\",\n },\n view: {\n grid: \"Grid view\",\n list: \"List view\",\n },\n workspace: {\n notSelected: \"No workspace selected\",\n waiting: \"Waiting for workspace...\",\n },\n loadError: \"Failed to load files\",\n unexpectedError: \"An unexpected error occurred\",\n },\n card: {\n activity: \"Activity\",\n addToStarred: \"Add to starred\",\n delete: \"Delete\",\n details: \"Details\",\n download: \"Download\",\n favorite: \"Favorite\",\n makeCopy: \"Make a copy\",\n moveTo: \"Move to\",\n rename: \"Rename\",\n restore: \"Restore\",\n share: \"Share\",\n shared: \"Shared\",\n unfavorite: \"Remove from starred\",\n },\n common: {\n actions: {\n cancel: \"Cancel\",\n clear: \"Clear\",\n close: \"Close\",\n create: \"Create\",\n delete: \"Delete\",\n deletePermanently: \"Delete permanently\",\n done: \"Done\",\n move: \"Move\",\n rename: \"Rename\",\n share: \"Share\",\n },\n },\n confirm: {\n bulkPermanentDelete: {\n description:\n \"This action cannot be undone. All selected items will be permanently deleted.\",\n title: \"Permanently delete {{count}} items\",\n },\n deleteFile: {\n description:\n \"Are you sure you want to delete this file? It will be moved to the bin.\",\n title: \"Delete file\",\n },\n deleteFolder: {\n description:\n \"Are you sure you want to delete this folder? It will be moved to the bin.\",\n title: \"Delete folder\",\n },\n permanentDeleteFile: {\n description:\n \"This file will be permanently deleted. This action cannot be undone.\",\n title: \"Permanently delete file\",\n },\n permanentDeleteFolder: {\n description:\n \"This folder and all its contents will be permanently deleted. This action cannot be undone.\",\n title: \"Permanently delete folder\",\n },\n },\n contextMenu: {\n activity: \"Activity\",\n addToStarred: \"Add to starred\",\n delete: \"Delete\",\n download: \"Download\",\n fileInfo: \"File information\",\n folderInfo: \"Folder information\",\n moveTo: \"Move to\",\n removeStar: \"Remove star\",\n rename: \"Rename\",\n restore: \"Restore\",\n share: \"Share\",\n },\n copyDialog: {\n copy: \"Copy\",\n copyHere: \"Copy here\",\n copyOf: \"Copy of\",\n copying: \"Copying...\",\n makeCopyOf: 'Make a copy of \"{{name}}\"',\n myDrive: \"My Drive\",\n name: \"Name\",\n title: \"Copy item\",\n },\n empty: {\n all: {\n description: \"Upload files or create folders to get started\",\n title: \"No files or folders yet\",\n },\n bin: {\n description: \"Deleted files and folders will appear here\",\n title: \"Bin is empty\",\n },\n newFolder: \"New Folder\",\n recent: {\n description: \"Files you recently opened will appear here\",\n title: \"No recent files\",\n },\n starred: {\n description: \"Star files and folders to find them easily\",\n title: \"No starred items\",\n },\n uploadFiles: \"Upload Files\",\n },\n file: {\n copy: {\n success: '\"{{name}}\" copied',\n },\n delete: {\n success: '\"{{name}}\" deleted',\n },\n download: {\n success: \"Downloaded {{name}}\",\n },\n errors: {\n copyFailed: \"Failed to copy file\",\n deleteFailed: \"Failed to delete file\",\n downloadFailed: \"Failed to download file\",\n downloadUrlUnavailable: \"Download URL is not available\",\n moveFailed: \"Failed to move file\",\n permanentDeleteFailed: \"Failed to permanently delete file\",\n renameFailed: \"Failed to rename file\",\n restoreFailed: \"Failed to restore file\",\n starFailed: \"Failed to update star status\",\n },\n move: {\n success: '\"{{name}}\" moved',\n },\n permanentDelete: {\n success: '\"{{name}}\" permanently deleted',\n },\n rename: {\n success: 'Renamed \"{{name}}\"',\n },\n restore: {\n success: '\"{{name}}\" restored',\n },\n },\n folder: {\n errors: {\n copyUnsupported: \"Copying folders is not supported\",\n createFailed: \"Failed to create folder\",\n deleteFailed: \"Failed to delete folder\",\n moveFailed: \"Failed to move folder\",\n permanentDeleteFailed: \"Failed to permanently delete folder\",\n renameFailed: \"Failed to rename folder\",\n restoreFailed: \"Failed to restore folder\",\n starFailed: \"Failed to update star status\",\n },\n item: \"item\",\n move: {\n success: '\"{{name}}\" moved',\n },\n delete: {\n success: '\"{{name}}\" deleted',\n },\n permanentDelete: {\n success: '\"{{name}}\" permanently deleted',\n },\n restore: {\n success: '\"{{name}}\" restored',\n },\n rename: {\n success: 'Renamed \"{{name}}\"',\n },\n },\n info: {\n contents: \"Contents\",\n created: \"Created\",\n fileInfo: \"File information\",\n files: \"Files\",\n folder: \"Folder\",\n folderInfo: \"Folder information\",\n folders: \"Folders\",\n modified: \"Modified\",\n no: \"No\",\n owner: \"Owner\",\n path: \"Path\",\n properties: \"Properties\",\n size: \"Size\",\n starred: \"Starred\",\n status: \"Status\",\n type: \"Type\",\n unknown: \"Unknown\",\n visibility: \"Visibility\",\n yes: \"Yes\",\n },\n item: {\n errors: {\n moveFailed: \"Failed to move item\",\n renameFailed: \"Failed to rename item\",\n },\n },\n moveDialog: {\n actions: {\n moving: \"Moving...\",\n },\n title: \"Move item\",\n },\n preview: {\n addStar: \"Add to starred\",\n removeStar: \"Remove from starred\",\n image: {\n failedToLoad: \"Failed to load image\",\n fitToScreen: \"Fit to screen\",\n loadError: \"Failed to load image from URL\",\n openInNewTab: \"Open in new tab\",\n rotate: \"Rotate 90°\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n },\n pdf: {\n browserUnsupported:\n \"Your browser may not support embedded PDF viewing.\",\n documentLabel: \"PDF Document\",\n download: \"Download PDF\",\n unableToDisplay: \"Unable to display PDF\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n },\n video: {\n fullscreen: \"Fullscreen\",\n mute: \"Mute\",\n muteVideo: \"Mute video\",\n openFullscreen: \"Open fullscreen\",\n pause: \"Pause\",\n pauseVideo: \"Pause video\",\n play: \"Play\",\n playVideo: \"Play video\",\n seek: \"Seek\",\n unmute: \"Unmute\",\n unmuteVideo: \"Unmute video\",\n volume: \"Volume\",\n },\n audio: {\n mute: \"Mute\",\n pause: \"Pause\",\n play: \"Play\",\n seek: \"Seek\",\n unmute: \"Unmute\",\n volume: \"Volume\",\n },\n code: {\n copied: \"Copied!\",\n copy: \"Copy\",\n copyCode: \"Copy code\",\n copyCodeContent: \"Copy code content\",\n disableWordWrap: \"Disable word wrap\",\n enableWordWrap: \"Enable word wrap\",\n lines: \"lines\",\n loading: \"Loading code...\",\n text: \"Text\",\n },\n text: {\n copied: \"Copied!\",\n copy: \"Copy\",\n copyText: \"Copy text\",\n copyTextContent: \"Copy text content\",\n disableWordWrap: \"Disable word wrap\",\n enableWordWrap: \"Enable word wrap\",\n lines: \"lines\",\n loading: \"Loading text...\",\n match: \"match\",\n matches: \"matches\",\n search: \"Search\",\n searchAria: \"Search text\",\n searchPlaceholder: \"Search...\",\n searchWithinFile: \"Search within text file\",\n },\n },\n search: {\n filters: {\n title: \"Search filters\",\n },\n input: {\n placeholder: \"Search files...\",\n },\n },\n share: {\n back: \"Back to files\",\n password: {\n label: \"Password\",\n },\n title: \"Share\",\n unlock: \"Enter password to access\",\n },\n upload: {\n active: \"{{count}} uploading\",\n cancel: \"Cancel\",\n close: \"Close uploads\",\n completed: \"{{count}} completed\",\n completedStatus: \"Completed\",\n errors: {\n failed: \"Upload failed\",\n quotaExceeded:\n \"Storage quota exceeded. Please upgrade your plan or delete files.\",\n },\n failed: \"Upload failed\",\n failedCount: \"{{count}} failed\",\n noUploads: \"No uploads in progress\",\n pause: \"Pause\",\n paused: \"Paused\",\n pending: \"{{count}} pending\",\n pendingStatus: \"Pending...\",\n resume: \"Resume\",\n retry: \"Retry\",\n uploads: \"Uploads\",\n },\n version: {\n deleteVersion: \"Delete version\",\n major: \"Major version\",\n restore: \"Restore\",\n restoreVersion: \"Restore this version\",\n restoredFrom: \"Restored from version {{version}}\",\n total: \"{{count}} versions\",\n version: \"Version\",\n versionDeleted: \"Version deleted\",\n versionRestored: \"Version restored\",\n versions: \"Versions\",\n },\n workspace: {\n errors: {\n notSelected: \"No workspace selected\",\n },\n },\n bulk: {\n permanentDelete: {\n success: \"Permanently deleted {{count}} items\",\n },\n },\n },\n};\n"],"mappings":";AAUA,IAAaA,IAAiB,EAC5B,OAAO;CACL,YAAY,EACV,aAAa,eACf;CACA,KAAK;EACH,UAAU;EACV,aAAa;CACf;CACA,MAAM,EACJ,eACE,qEACJ;CACA,SAAS;EACP,YAAY;EACZ,mBAAmB;EACnB,qBAAqB;EACrB,iBAAiB;EACjB,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gB;EAChB,cAAc;EACd,OAAO;EACP,SAAS;EACT,gBAAgB;EAChB,iBAAiB;EACjB,UAAU;CACZ;CACA,WAAW,EACT,QAAQ,EACN,aAAa,wBACf,EACF;CACA,MAAM,EACJ,iBAAiB,EACf,SAAS,sCACX,EACF;AACF,EACF"}
1
+ {"version":3,"file":"en.js","names":["enTranslations"],"sources":["../../src/translations/en.ts"],"sourcesContent":["/**\n * English fallback translations for microfe-files.\n *\n * Keys use dot-notation (e.g., 'files.browser.loading') which the\n * I18nProvider resolves against this nested object structure.\n *\n * This file is the source of truth for all translation keys used in this MFE.\n * Register it with the host shell's AppShellProvider.fallbackTranslations\n * to enable offline/fallback support.\n */\nexport const enTranslations = {\n files: {\n actionMenu: {\n moreActions: \"More actions\",\n },\n nav: {\n allFiles: \"All Files\",\n statusReady: \"Files Ready\",\n },\n root: {\n errorFallback:\n \"Something went wrong loading this module. Please refresh the page.\",\n },\n storage: {\n almostFull: \"Storage almost full.\",\n almostFullNoLimit: \"{{used}} used.\",\n almostFullWithLimit: \"{{used}} of {{limit}} used ({{percent}}%).\",\n deleteOrUpgrade: \"Consider deleting files or upgrading your plan.\",\n freeUpOrUpgrade: \"Delete files to free up space or upgrade your plan.\",\n full: \"Storage full.\",\n fullNoLimit: \"{{used}} used — no space left.\",\n fullWithLimit: \"{{used}} of {{limit}} used — no space left.\",\n label: \"Storage\",\n unit: \"MB\",\n },\n browser: {\n actions: {\n export: \"Export\",\n exportTitle: \"Export selected items\",\n goToRoot: \"Go to root folder\",\n newFolder: \"New Folder\",\n selectAll: \"Select all\",\n uploadFiles: \"Upload files\",\n uploadFolder: \"Upload folder\",\n uploadFolderTitle: \"Upload folder\",\n },\n delete: \"Delete\",\n items: \"items\",\n loading: \"Loading files…\",\n modified: \"Modified\",\n name: \"Name\",\n openFolder: \"Open folder\",\n owner: \"Owner\",\n rename: \"Rename\",\n retry: \"Retry\",\n rootLabel: \"My Drive\",\n search: {\n clear: \"Clear search\",\n showingResults: 'Showing {{count}} results for \"{{query}}\"',\n },\n selection: {\n selectedCount: \"{{count}} selected\",\n actions: {\n restore: \"Restore\",\n },\n },\n size: \"Size\",\n tabs: {\n all: \"All Files\",\n bin: \"Bin\",\n recent: \"Recent\",\n starred: \"Starred\",\n },\n view: {\n grid: \"Grid view\",\n list: \"List view\",\n },\n workspace: {\n notSelected: \"No workspace selected\",\n waiting: \"Waiting for workspace...\",\n },\n loadError: \"Failed to load files\",\n unexpectedError: \"An unexpected error occurred\",\n },\n card: {\n activity: \"Activity\",\n addToStarred: \"Add to starred\",\n delete: \"Delete\",\n details: \"Details\",\n download: \"Download\",\n favorite: \"Favorite\",\n makeCopy: \"Make a copy\",\n moveTo: \"Move to\",\n rename: \"Rename\",\n restore: \"Restore\",\n share: \"Share\",\n shared: \"Shared\",\n unfavorite: \"Remove from starred\",\n },\n common: {\n actions: {\n cancel: \"Cancel\",\n clear: \"Clear\",\n close: \"Close\",\n create: \"Create\",\n delete: \"Delete\",\n deletePermanently: \"Delete permanently\",\n done: \"Done\",\n move: \"Move\",\n rename: \"Rename\",\n share: \"Share\",\n },\n },\n confirm: {\n bulkPermanentDelete: {\n description:\n \"This action cannot be undone. All selected items will be permanently deleted.\",\n title: \"Permanently delete {{count}} items\",\n },\n deleteFile: {\n description:\n \"Are you sure you want to delete this file? It will be moved to the bin.\",\n title: \"Delete file\",\n },\n deleteFolder: {\n description:\n \"Are you sure you want to delete this folder? It will be moved to the bin.\",\n title: \"Delete folder\",\n },\n permanentDeleteFile: {\n description:\n \"This file will be permanently deleted. This action cannot be undone.\",\n title: \"Permanently delete file\",\n },\n permanentDeleteFolder: {\n description:\n \"This folder and all its contents will be permanently deleted. This action cannot be undone.\",\n title: \"Permanently delete folder\",\n },\n },\n contextMenu: {\n activity: \"Activity\",\n addToStarred: \"Add to starred\",\n delete: \"Delete\",\n download: \"Download\",\n fileInfo: \"File information\",\n folderInfo: \"Folder information\",\n moveTo: \"Move to\",\n removeStar: \"Remove star\",\n rename: \"Rename\",\n restore: \"Restore\",\n share: \"Share\",\n },\n copyDialog: {\n copy: \"Copy\",\n copyHere: \"Copy here\",\n copyOf: \"Copy of\",\n copying: \"Copying...\",\n makeCopyOf: 'Make a copy of \"{{name}}\"',\n myDrive: \"My Drive\",\n name: \"Name\",\n title: \"Copy item\",\n },\n empty: {\n all: {\n description: \"Upload files or create folders to get started\",\n title: \"No files or folders yet\",\n },\n bin: {\n description: \"Deleted files and folders will appear here\",\n title: \"Bin is empty\",\n },\n newFolder: \"New Folder\",\n recent: {\n description: \"Files you recently opened will appear here\",\n title: \"No recent files\",\n },\n starred: {\n description: \"Star files and folders to find them easily\",\n title: \"No starred items\",\n },\n uploadFiles: \"Upload Files\",\n },\n file: {\n copy: {\n success: '\"{{name}}\" copied',\n },\n delete: {\n success: '\"{{name}}\" deleted',\n },\n download: {\n success: \"Downloaded {{name}}\",\n },\n errors: {\n copyFailed: \"Failed to copy file\",\n deleteFailed: \"Failed to delete file\",\n downloadFailed: \"Failed to download file\",\n downloadUrlUnavailable: \"Download URL is not available\",\n moveFailed: \"Failed to move file\",\n permanentDeleteFailed: \"Failed to permanently delete file\",\n renameFailed: \"Failed to rename file\",\n restoreFailed: \"Failed to restore file\",\n starFailed: \"Failed to update star status\",\n },\n move: {\n success: '\"{{name}}\" moved',\n },\n permanentDelete: {\n success: '\"{{name}}\" permanently deleted',\n },\n rename: {\n success: 'Renamed \"{{name}}\"',\n },\n restore: {\n success: '\"{{name}}\" restored',\n },\n },\n folder: {\n errors: {\n copyUnsupported: \"Copying folders is not supported\",\n createFailed: \"Failed to create folder\",\n deleteFailed: \"Failed to delete folder\",\n moveFailed: \"Failed to move folder\",\n permanentDeleteFailed: \"Failed to permanently delete folder\",\n renameFailed: \"Failed to rename folder\",\n restoreFailed: \"Failed to restore folder\",\n starFailed: \"Failed to update star status\",\n },\n item: \"item\",\n move: {\n success: '\"{{name}}\" moved',\n },\n delete: {\n success: '\"{{name}}\" deleted',\n },\n permanentDelete: {\n success: '\"{{name}}\" permanently deleted',\n },\n restore: {\n success: '\"{{name}}\" restored',\n },\n rename: {\n success: 'Renamed \"{{name}}\"',\n },\n },\n info: {\n contents: \"Contents\",\n created: \"Created\",\n fileInfo: \"File information\",\n files: \"Files\",\n folder: \"Folder\",\n folderInfo: \"Folder information\",\n folders: \"Folders\",\n modified: \"Modified\",\n no: \"No\",\n owner: \"Owner\",\n path: \"Path\",\n properties: \"Properties\",\n size: \"Size\",\n starred: \"Starred\",\n status: \"Status\",\n type: \"Type\",\n unknown: \"Unknown\",\n visibility: \"Visibility\",\n yes: \"Yes\",\n },\n item: {\n errors: {\n moveFailed: \"Failed to move item\",\n renameFailed: \"Failed to rename item\",\n },\n },\n moveDialog: {\n actions: {\n moving: \"Moving...\",\n },\n title: \"Move item\",\n },\n preview: {\n addStar: \"Add to starred\",\n removeStar: \"Remove from starred\",\n image: {\n failedToLoad: \"Failed to load image\",\n fitToScreen: \"Fit to screen\",\n loadError: \"Failed to load image from URL\",\n openInNewTab: \"Open in new tab\",\n rotate: \"Rotate 90°\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n },\n pdf: {\n browserUnsupported:\n \"Your browser may not support embedded PDF viewing.\",\n documentLabel: \"PDF Document\",\n download: \"Download PDF\",\n unableToDisplay: \"Unable to display PDF\",\n zoomIn: \"Zoom in\",\n zoomOut: \"Zoom out\",\n },\n video: {\n fullscreen: \"Fullscreen\",\n mute: \"Mute\",\n muteVideo: \"Mute video\",\n openFullscreen: \"Open fullscreen\",\n pause: \"Pause\",\n pauseVideo: \"Pause video\",\n play: \"Play\",\n playVideo: \"Play video\",\n seek: \"Seek\",\n unmute: \"Unmute\",\n unmuteVideo: \"Unmute video\",\n volume: \"Volume\",\n },\n audio: {\n mute: \"Mute\",\n pause: \"Pause\",\n play: \"Play\",\n seek: \"Seek\",\n unmute: \"Unmute\",\n volume: \"Volume\",\n },\n code: {\n copied: \"Copied!\",\n copy: \"Copy\",\n copyCode: \"Copy code\",\n copyCodeContent: \"Copy code content\",\n disableWordWrap: \"Disable word wrap\",\n enableWordWrap: \"Enable word wrap\",\n lines: \"lines\",\n loading: \"Loading code...\",\n text: \"Text\",\n },\n text: {\n copied: \"Copied!\",\n copy: \"Copy\",\n copyText: \"Copy text\",\n copyTextContent: \"Copy text content\",\n disableWordWrap: \"Disable word wrap\",\n enableWordWrap: \"Enable word wrap\",\n lines: \"lines\",\n loading: \"Loading text...\",\n match: \"match\",\n matches: \"matches\",\n search: \"Search\",\n searchAria: \"Search text\",\n searchPlaceholder: \"Search...\",\n searchWithinFile: \"Search within text file\",\n },\n },\n search: {\n filters: {\n title: \"Search filters\",\n },\n input: {\n placeholder: \"Search files...\",\n },\n },\n share: {\n back: \"Back to files\",\n password: {\n label: \"Password\",\n },\n permission: {\n checking: \"Checking whether you can share this…\",\n denied:\n \"You don't have permission to share this. Ask its owner or a manager for Share access.\",\n },\n title: \"Share\",\n unlock: \"Enter password to access\",\n },\n shareDialog: {\n forbidden: {\n folder:\n \"Only the folder's creator, people with Share or Manage access to it, or a folder manager can share a folder. Ask one of them to share it or to give you Share access.\",\n restricted:\n \"Only its owner, people with Share or Manage access, or a manager can share a private or team file. Ask one of them to share it or to give you Share access.\",\n role: \"Your workspace role doesn't allow sharing. Ask a workspace admin.\",\n title: \"You can't share this {{itemType}}\",\n },\n itemType: {\n file: \"file\",\n folder: \"folder\",\n },\n },\n upload: {\n active: \"{{count}} uploading\",\n cancel: \"Cancel\",\n close: \"Close uploads\",\n completed: \"{{count}} completed\",\n completedStatus: \"Completed\",\n errors: {\n failed: \"Upload failed\",\n quotaExceeded:\n \"Storage quota exceeded. Please upgrade your plan or delete files.\",\n },\n failed: \"Upload failed\",\n failedCount: \"{{count}} failed\",\n noUploads: \"No uploads in progress\",\n pause: \"Pause\",\n paused: \"Paused\",\n pending: \"{{count}} pending\",\n pendingStatus: \"Pending...\",\n resume: \"Resume\",\n retry: \"Retry\",\n uploads: \"Uploads\",\n },\n version: {\n deleteVersion: \"Delete version\",\n major: \"Major version\",\n restore: \"Restore\",\n restoreVersion: \"Restore this version\",\n restoredFrom: \"Restored from version {{version}}\",\n total: \"{{count}} versions\",\n version: \"Version\",\n versionDeleted: \"Version deleted\",\n versionRestored: \"Version restored\",\n versions: \"Versions\",\n },\n workspace: {\n errors: {\n notSelected: \"No workspace selected\",\n },\n },\n bulk: {\n permanentDelete: {\n success: \"Permanently deleted {{count}} items\",\n },\n },\n },\n};\n"],"mappings":";AAUA,IAAaA,IAAiB,EAC5B,OAAO;CACL,YAAY,EACV,aAAa,eACf;CACA,KAAK;EACH,UAAU;EACV,aAAa;CACf;CACA,MAAM,EACJ,eACE,qEACJ;CACA,SAAS;EACP,YAAY;EACZ,mBAAmB;EACnB,qBAAqB;EACrB,iBAAiB;EACjB,iBAAiB;EACjB,MAAM;EACN,aAAa;EACb,eAAe;EACf,OAAO;EACP,MAAM;CACR;CACA,SAAS;EACP,SAAS;GACP,QAAQ;GACR,aAAa;GACb,UAAU;GACV,WAAW;GACX,WAAW;GACX,aAAa;GACb,cAAc;GACd,mBAAmB;EACrB;EACA,QAAQ;EACR,OAAO;EACP,SAAS;EACT,UAAU;EACV,MAAM;EACN,YAAY;EACZ,OAAO;EACP,QAAQ;EACR,OAAO;EACP,WAAW;EACX,QAAQ;GACN,OAAO;GACP,gBAAgB;EAClB;EACA,WAAW;GACT,eAAe;GACf,SAAS,EACP,SAAS,UACX;EACF;EACA,MAAM;EACN,MAAM;GACJ,KAAK;GACL,KAAK;GACL,QAAQ;GACR,SAAS;EACX;EACA,MAAM;GACJ,MAAM;GACN,MAAM;EACR;EACA,WAAW;GACT,aAAa;GACb,SAAS;EACX;EACA,WAAW;EACX,iBAAiB;CACnB;CACA,MAAM;EACJ,UAAU;EACV,cAAc;EACd,QAAQ;EACR,SAAS;EACT,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;EACR,QAAQ;EACR,SAAS;EACT,OAAO;EACP,QAAQ;EACR,YAAY;CACd;CACA,QAAQ,EACN,SAAS;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YAAY;GACZ,mBAAmB;GACnB,kBAAkB;EACpB;CACF;CACA,QAAQ;EACN,SAAS,EACP,OAAO,iBACT;EACA,OAAO,EACL,aAAa,kBACf;CACF;CACA,OAAO;EACL,MAAM;EACN,UAAU,EACR,OAAO,WACT;EACA,YAAY;GACV,UAAU;GACV,QACE;EACJ;EACA,OAAO;EACP,QAAQ;CACV;CACA,aAAa;EACX,WAAW;GACT,QACE;GACF,YACE;GACF,MAAM;GACN,OAAO;EACT;EACA,UAAU;GACR,MAAM;GACN,QAAQ;EACV;CACF;CACA,QAAQ;EACN,QAAQ;EACR,QAAQ;EACR,OAAO;EACP,WAAW;EACX,iBAAiB;EACjB,QAAQ;GACN,QAAQ;GACR,eACE;EACJ;EACA,QAAQ;EACR,aAAa;EACb,WAAW;EACX,OAAO;EACP,QAAQ;EACR,SAAS;EACT,eAAe;EACf,QAAQ;EACR,OAAO;EACP,SAAS;CACX;CACA,SAAS;EACP,eAAe;EACf,OAAO;EACP,SAAS;EACT,gBAAgB;EAChB,cAAc;EACd,OAAO;EACP,SAAS;EACT,gBAAgB;EAChB,iBAAiB;EACjB,UAAU;CACZ;CACA,WAAW,EACT,QAAQ,EACN,aAAa,wBACf,EACF;CACA,MAAM,EACJ,iBAAiB,EACf,SAAS,sCACX,EACF;AACF,EACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-files",
3
- "version": "2026.1110.1",
3
+ "version": "2026.1111.1",
4
4
  "description": "Burdenoff Files Microfrontend - Standalone file management module",
5
5
  "type": "module",
6
6
  "imports": {