feat(web): maestros de clientes, proveedores y artículos (lista, formulario con pestañas, extensiones por cliente)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b759c7bce7
commit
9f003ee4bf
30 files changed
+1553
-23
No files matched your search
@@ -124,6 +124,26 @@ export class NumberInput extends ControlBase {
|
||||
}
|
||||
}
|
||||
|
||||
/** Casilla de verificación (en SAP, un campo `tYES`/`tNO`; quien la usa convierte). */
|
||||
@Component({
|
||||
selector: 'sbo-checkbox',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: `
|
||||
<input
|
||||
type="checkbox"
|
||||
[id]="id"
|
||||
[checked]="value()"
|
||||
[disabled]="disabled() || readOnly()"
|
||||
[attr.aria-label]="ariaLabel() ?? null"
|
||||
(change)="value.set($any($event.target).checked)"
|
||||
/>
|
||||
`,
|
||||
styles: ':host { display: block; } input { margin: 4px 0; }',
|
||||
})
|
||||
export class CheckboxInput extends ControlBase {
|
||||
readonly value = model(false);
|
||||
}
|
||||
|
||||
/** Fecha como texto ISO `yyyy-MM-dd` (el formato del Service Layer). Selector nativo: sin librerías. */
|
||||
@Component({
|
||||
selector: 'sbo-date',
|
||||
|
||||
Reference in new issue
Block a user