pan-files
File system manager for browser's Origin Private File System (OPFS).
Provides a file browser UI and manages file operations.
Features:
- List files in current directory
- Create/rename/delete files and folders
- Read/write file contents
- Navigate directory tree
- File search and filtering
- Drag and drop support
- Context menu actions
Attributes:
- path: Current directory path (default: '/')
- filter: File extension filter (e.g., '.md,.txt')
- show-hidden: Show hidden files (default: false)
PAN Events (published):
- file.selected: { path, name, isDirectory }
- file.created: { path, name }
- file.deleted: { path }
- file.renamed: { oldPath, newPath }
- file.content-loaded: { path, content }
PAN Events (subscribed):
- file.save: { path, content }
- file.load: { path }
- file.delete: { path }
- file.create: { path, content }
Usage:

Class: PanFiles

pan-files
File system manager for browser's Origin Private File System (OPFS).
Provides a file browser UI and manages file operations.
Features:
- List files in current directory
- Create/rename/delete files and folders
- Read/write file contents
- Navigate directory tree
- File search and filtering
- Drag and drop support
- Context menu actions
Attributes:
- path: Current directory path (default: '/')
- filter: File extension filter (e.g., '.md,.txt')
- show-hidden: Show hidden files (default: false)
PAN Events (published):
- file.selected: { path, name, isDirectory }
- file.created: { path, name }
- file.deleted: { path }
- file.renamed: { oldPath, newPath }
- file.content-loaded: { path, content }
PAN Events (subscribed):
- file.save: { path, content }
- file.load: { path }
- file.delete: { path }
- file.create: { path, content }
Usage: