You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte-kit-vice/docs/audit/components/alert-dialog.md

27 lines
3.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# alert-dialog — ficha de auditoría (RE-AUDITADA 2026-07-07, profundidad piloto)
- **Familia**: overlays (confirmación destructiva) · **Método**: solo análisis · demos fuera
- **Capas leídas**: [morfo](../../../src/uix/morfo/components/alert-dialog.ts) (73 líneas; header :7-10, scope :11, focus :19+)
- **Máquina**: PASS limpio · tests ✓ · README ×2 ✓
## Dimensiones (evidencia leída)
| # | Dimensión | Estado | Evidencia |
| ----- | -------------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 3 | Coherencia semántica | ✓ delegación documentada | 0 eventos CON razón in-place (:7-10): "Sema picks up Action/Cancel button events via the Dialog morfo's shared `commit-*`/`close-*` events — alert-dialog's morfo only declares the Action + Cancel button parts (Provider is virtual)"; `scope: ['soma','eidos']` sin sema — coherente (como ntp). Cuarto ejemplo del patrón delegación bien escrito |
| 4 | API | ✓ | Cancel = `Extract<ButtonVariant, ControlVariant>` (narrowing §19 ✓); el sitio canónico del `signal.warn + threat` PRE-acción (doctrina button cap. 22) |
| 8 | Contrato morfo | ✓ | APG alertdialog (:12); bloque focus propio (:19+) |
| resto | | ✓ | tests ✓; README ×2 ✓ |
## Hallazgos y propuestas
Limpio. (Su delegación es candidata a `expression: 'delegated'` cuando SYS-11 (d) normalice la declaración — hoy scope-sin-sema la hace innecesaria por tipo, pero uniformar ayuda a la máquina.)
## Escalan al sistema
SYS-11 (cuarta cita del patrón).
## Veredictos
_(pendiente — checkpoint post-barrido)_

Powered by TurnKey Linux.