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
@@ -1,6 +1,6 @@
|
||||
import { ChangeDetectionStrategy, Component, input, model } from '@angular/core';
|
||||
import { FieldBase } from './field-base';
|
||||
import { DateInput, NumberInput, SelectInput, type SelectOption, TextInput, TextareaInput } from './controls';
|
||||
import { CheckboxInput, DateInput, NumberInput, SelectInput, type SelectOption, TextInput, TextareaInput } from './controls';
|
||||
import { SboField } from './sbo-field';
|
||||
|
||||
/*
|
||||
@@ -32,6 +32,21 @@ export class TextField extends FieldBase {
|
||||
readonly placeholder = input('');
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'sbo-checkbox-field',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [SboField, CheckboxInput],
|
||||
template: `
|
||||
<sbo-field [label]="label()" [error]="error()">
|
||||
<sbo-checkbox [(value)]="value" [readonly]="readOnly()" [disabled]="disabled()" />
|
||||
</sbo-field>
|
||||
`,
|
||||
styles: ':host { display: block; }',
|
||||
})
|
||||
export class CheckboxField extends FieldBase {
|
||||
readonly value = model(false);
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'sbo-textarea-field',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
|
||||
Reference in new issue
Block a user