Files
Description
Files bundles the Enso file browser, file-type administration pages, and the reusable visual pieces used by file-centric workflows.
Installation
Install the package:
yarn add @enso-ui/files
The package is also available through the full enso-ui workspace bundle.
Features
- ships the
/filesbrowser page and the/administration/fileTypesCRUD pages - includes reusable file-browser components such as
Top,Actions,Item,File,Folder, andThumbnail - integrates uploads, tabbed previews, confirmation flows, and table-driven file-type management
- keeps the page layer aligned with backend file permissions, tabs, and upload contracts
Usage
import filesIndex from '@enso-ui/files/src/bulma/routes/files.js';
import fileTypes from '@enso-ui/files/src/bulma/routes/administration/fileTypes.js';
import FilesPage from '@enso-ui/files/src/bulma/pages/files/Index.vue';
API
Page modules
Common imports:
@enso-ui/files/src/bulma/pages/files/Index.vue@enso-ui/files/src/bulma/pages/fileTypes/Index.vue@enso-ui/files/src/bulma/pages/fileTypes/Create.vue@enso-ui/files/src/bulma/pages/fileTypes/Edit.vue
File-browser building blocks
Stable deep imports used by other Enso packages:
Top.vueActions.vueItem.vueFile.vueFolder.vueThumbnail.vue
The root entrypoint also re-exports a Url helper intended for file-link rendering in higher-level integrations.
Routes
/files
Route name:
core.files.index
Page:
src/bulma/pages/files/Index.vue
/administration/fileTypes
Route names:
administration.fileTypes.indexadministration.fileTypes.createadministration.fileTypes.edit
Pages:
src/bulma/pages/fileTypes/Index.vuesrc/bulma/pages/fileTypes/Create.vuesrc/bulma/pages/fileTypes/Edit.vue
Companion Backend Package
Depends On
@enso-ui/clipboard↗@enso-ui/confirmation↗@enso-ui/filters↗@enso-ui/modal↗@enso-ui/tabs↗@enso-ui/transitions↗@enso-ui/ui↗@enso-ui/uploader↗
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!