Laravel EnsoLaravel Enso
Guide
Back End
Front End
GitHub
Guide
Back End
Front End
GitHub
  • Front End

    • Accessories
    • Addresses
    • Algolia
    • Audits
    • Auth
    • Bookmarks
    • Calendar
    • Card
    • Cargo Partner
    • Categories
    • Charts
    • Checkbox
    • Clipboard
    • Comments
    • Commercial
    • Companies
    • Confirmation
    • Currencies
    • Data Import
    • Date
    • Datepicker
    • Directives
    • Discounts
    • Divider
    • Documents
    • Dropdown
    • Dropdown Indicator
    • Eav
    • Emag
    • Emails
    • Enums
    • ERD
    • Facebook
    • Files
    • Filters
    • Financials
    • Forms
    • Frisbo
    • Google
    • Holidays
    • How to
    • Interactions
    • Inventory
    • IO
    • Laravel Validation
    • Loader
    • Localisation
    • Logs
    • Measurement Units
    • Meili Search
    • Menus
    • Mixins
    • Modal
    • Money
    • Monitored Emails
    • Notifications
    • Orderable Trees
    • Packaging Units
    • Pagination
    • People
    • Permissions
    • Product Lots
    • Products
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Questionnaires
    • Quick View
    • Range Slider
    • Rating
    • Roles
    • Route Mapper
    • Sale Channels
    • Scroll to Top
    • Search Mode
    • Select
    • Sentry
    • Services
    • Smart Bill
    • SMS Advert
    • Strings
    • Switch
    • Tables
    • Tabs
    • Tasks
    • Teams
    • Textarea
    • Themes
    • Ticketing
    • Toastr
    • Transitions
    • Tree View
    • Tutorials
    • Typeahead
    • Typesense
    • UI
    • Uploader
    • UPS
    • User Groups
    • Users
    • Virtual Call Center
    • Vouchers
    • Webshop
    • WYSIWYG

Addresses

LicenseStableDownloadsVueJavaScriptSCSSnpmIssuesMerge 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

  • laravel-enso/addresses ↗

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

  • @enso-ui/card ↗
  • @enso-ui/confirmation ↗
  • @enso-ui/forms ↗
  • @enso-ui/google ↗
  • @enso-ui/modal ↗
  • @enso-ui/ui ↗

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

Edit this page on GitHub
Last Updated: 4/21/2026, 9:46:55 AM
Prev
Accessories
Next
Algolia