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:
28
.claude/skills/nuxt-ui/components/file-upload.md
Normal file
28
.claude/skills/nuxt-ui/components/file-upload.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# FileUpload
|
||||
|
||||
An input element to upload files.
|
||||
|
||||
## Key Props
|
||||
|
||||
- `multiple`: to allow multiple files to be selected.
|
||||
- `dropzone`: to enable/disable the droppable area.
|
||||
- `interactive`: to enable/disable the clickable area.
|
||||
- `accept`: to specify the allowed file types for the input.
|
||||
- `label`: to set the label of the FileUpload.
|
||||
- `description`: to set the description of the FileUpload.
|
||||
- `icon`: to set the icon of the FileUpload.
|
||||
- `color`: to change the color of the FileUpload.
|
||||
- `variant`: to change the variant of the FileUpload.
|
||||
- `size`: to change the size of the FileUpload.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UFileUpload
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
|
||||
## Slots
|
||||
|
||||
- `#actions`
|
||||
Reference in New Issue
Block a user