> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mastermindcms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# msm-user-delivery

> Web-компонент msm-user-delivery.

`msm-user-delivery` — web-компонент на Lit.

## Назначение

UI-блоки для пользователя/аккаунта.

## Пример

```html theme={null}
<msm-user-delivery order-id="ORDER_ID"></msm-user-delivery>
```

## Атрибуты / свойства

| Имя            | Тип     | По умолчанию        | Примечания    |
| -------------- | ------- | ------------------- | ------------- |
| `isShowError`  | boolean | `false`             | property only |
| `isLogged`     | boolean | -                   | property only |
| `isEditMode`   | boolean | `false`             | property only |
| `isSaveMode`   | boolean | `false`             | property only |
| `seller`       | promise | `getLoggedSeller()` |               |
| `theme`        | string  | -                   |               |
| `order-id`     | string  | -                   |               |
| `color-scheme` | string  | -                   |               |
| `show-radio`   | boolean | `false`             |               |
| `required`     | boolean | -                   |               |

## События

| Событие  | detail    | Когда |
| -------- | --------- | ----- |
| `select` | `address` |       |

### Пример

```html theme={null}
<msm-user-delivery order-id="ORDER_ID">
</msm-user-delivery>

<script>
  const el = document.querySelector("msm-user-delivery");
  el.addEventListener("select", (e) => {
    console.log(e.detail);
  });

</script>
```

## CSS parts

* `base`
* `label`

## Слоты

Документированных слотов нет.

## Методы

* `validate()`

## Примечания

* Custom events bubble.
