@enso-ui/addresses

Address cards and address-management widgets for Enso UI detail pages.
10,609
Install
npm install @enso-ui/addresses
Latest Version:3.2.9
Vue:3
Older releases:2
License:MIT
Last Updated:Apr 28, 2026
Links: GitHub  ·  npm
Maintainer: aocneanu

Addresses

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Address cards and address-management widgets for Enso UI detail pages.

Installation

Install the package:

yarn add @enso-ui/addresses

This package is also available through the full enso-ui workspace bundle.

Features

  • exports Addresses and AddressesCard through the public Bulma entrypoint
  • loads address collections over the injected HTTP client and Enso route helper
  • supports filtering, creation, edit, default/shipping/billing toggles, and deletion
  • pairs the address list with the Enso modal and form workflow

Usage

<script setup>
import { AddressesCard } from '@enso-ui/addresses/bulma';
</script>

<AddressesCard
    :id="companyId"
    type="company"
    title="Addresses"
/>

API

Addresses

Inline address manager that fetches and mutates an address collection for one model.

Import: @enso-ui/addresses/bulma

Props:

  • id: string | number target model id.
  • type: string | null = null addressable backend type used by the API.
  • query: string = "" initial filter text mirrored into the local search box.

Events:

  • update after fetch, create, delete, or type-flag changes.

Slots:

  • controls receives { create, internalQuery, fetch } for custom toolbar rendering.

AddressesCard

Card wrapper around Addresses with refresh, collapse, and counter controls.

Import: @enso-ui/addresses/bulma

Props:

  • id: string | number target model id.
  • type: string backend addressable type.
  • icon: string | array | object card icon, defaulting to faSignsPost.
  • collapsed: boolean = false initial collapsed state.
  • title: string | null = null optional card title override.

Events:

  • No direct emits; the wrapped Addresses component raises update.

Companion Backend Package

The frontend widgets expect the backend package to provide the address CRUD endpoints, modal form contracts, and typed address flags used by the card workflow.

Depends On

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

MIT

Related Packages

@enso-ui/comments

Comments cards and inline comment threads for Enso UI.

10,609 0
@enso-ui/documents

Document list widgets and card wrappers for Enso UI.

9,354 0

Version History

Version Released Vue License
3.2.9 ^3.5.0 MIT
3.2.8 ^3.5.0 MIT
3.2.7 ^3.5.0 MIT
3.2.6 ^3.5.0 MIT
3.2.5 ^3.5.0 MIT