Add nuxt-skills and update auto quotes to use new policy API structure
- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/ - Create useCustomerSelection() composable for managing insured/buyer selection - Create usePolicyApi() composable for policy API operations - Update auto quote components to use insured/buyer instead of client - Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits - Make chassis_number and engine_number optional - Update auto quote types and composables to match new API structure - Update auto quote page to submit to policy API with new structure
This commit is contained in:
25
.claude/skills/nuxt-ui/components/popover.md
Normal file
25
.claude/skills/nuxt-ui/components/popover.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Popover
|
||||
|
||||
A non-modal dialog that floats around a trigger element.
|
||||
|
||||
> Based on [Reka UI Popover](https://reka-ui.com/docs/components/hover-card)
|
||||
|
||||
## Key Props
|
||||
|
||||
- `mode`: to change the mode of the Popover.
|
||||
- `content`: to control how the Popover content is rendered, like its `align` or `side` for example.
|
||||
- `arrow`: to display an arrow on the Popover.
|
||||
- `modal`: to control whether the Popover blocks interaction with outside content.
|
||||
- `dismissible`: to control whether the Popover is dismissible when clicking outside of it or pressing escape.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UPopover
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
|
||||
## Slots
|
||||
|
||||
- `#content`
|
||||
Reference in New Issue
Block a user