Companies
Description
Companies administration pages and tabbed company detail widgets for Enso UI.
Installation
Install the package:
yarn add @enso-ui/companies
This package is also available through the full enso-ui workspace bundle.
Features
- ships company list, create, and edit pages for the administration module
- combines forms, accessories, tabs, addresses, comments, documents, and people widgets in the edit page
- provides reusable company detail helpers such as
PeopleCardinside the page modules
Usage
import CompaniesIndex from '@enso-ui/companies';
import CompanyCreate from '@enso-ui/companies/src/bulma/pages/companies/Create.vue';
import CompanyEdit from '@enso-ui/companies/src/bulma/pages/companies/Edit.vue';
import PeopleCard from '@enso-ui/companies/src/bulma/pages/companies/components/PeopleCard.vue';
API
Index
Table page for the companies list.
Import: @enso-ui/companies
Create
Create page for a company record.
Import: @enso-ui/companies/src/bulma/pages/companies/Create.vue
Edit
Detail page that composes company form tabs with people, addresses, comments, and documents widgets.
Import: @enso-ui/companies/src/bulma/pages/companies/Edit.vue
PeopleCard
Reusable card wrapper around the company people list.
Import: @enso-ui/companies/src/bulma/pages/companies/components/PeopleCard.vue
Routes
administration/companies
Route group:
administration.companies.indexadministration.companies.createadministration.companies.edit
Pages:
src/bulma/pages/companies/Index.vuesrc/bulma/pages/companies/Create.vuesrc/bulma/pages/companies/Edit.vue
The package ships the full companies administration flow: listing, creation, and a tabbed edit screen that embeds detail widgets such as people, addresses, comments, and documents.
Companion Backend Package
The backend companion provides the routes, forms, tables, and tab payloads consumed by the companies frontend pages.
Depends On
@enso-ui/accessories↗@enso-ui/addresses↗@enso-ui/comments↗@enso-ui/documents↗@enso-ui/forms↗@enso-ui/tables↗@enso-ui/tabs↗
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!