@litigiovirtual/ius-design-components 2.1.17 → 2.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -874,7 +874,7 @@ declare class AlertComponent {
|
|
|
874
874
|
/** Alineación (auto: `center` si hay `trailing` sin `actions`). */
|
|
875
875
|
readonly align: _angular_core.InputSignal<"start" | "center" | undefined>;
|
|
876
876
|
/** `status` (default, no interrumpe) o `alert` (asertivo). */
|
|
877
|
-
readonly role: _angular_core.InputSignal<"
|
|
877
|
+
readonly role: _angular_core.InputSignal<"alert" | "status">;
|
|
878
878
|
/** Al pulsar × (original: `onClose`). */
|
|
879
879
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
880
880
|
private readonly actionsRef;
|
|
@@ -6952,9 +6952,9 @@ declare class TableComponent<Row = any> {
|
|
|
6952
6952
|
private readonly measured;
|
|
6953
6953
|
protected readonly cols: _angular_core.Signal<IusTableColumn<Row>[]>;
|
|
6954
6954
|
protected readonly colCount: _angular_core.Signal<number>;
|
|
6955
|
-
protected readonly selWidth: _angular_core.Signal<
|
|
6955
|
+
protected readonly selWidth: _angular_core.Signal<40 | 52 | 44>;
|
|
6956
6956
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
6957
|
-
protected readonly tableLayout: _angular_core.Signal<"
|
|
6957
|
+
protected readonly tableLayout: _angular_core.Signal<"auto" | "fixed">;
|
|
6958
6958
|
protected readonly skeletonIdx: _angular_core.Signal<number[]>;
|
|
6959
6959
|
protected readonly showSummary: _angular_core.Signal<boolean>;
|
|
6960
6960
|
/** Firma de estructura: al cambiar, se descartan los anchos medidos. */
|
|
@@ -7081,7 +7081,7 @@ declare class StatComponent {
|
|
|
7081
7081
|
protected readonly effSize: _angular_core.Signal<IusStatSize>;
|
|
7082
7082
|
protected readonly navigable: _angular_core.Signal<boolean>;
|
|
7083
7083
|
/** Dirección del delta numérico. */
|
|
7084
|
-
protected readonly deltaDir: _angular_core.Signal<"
|
|
7084
|
+
protected readonly deltaDir: _angular_core.Signal<"flat" | "up" | "down" | null>;
|
|
7085
7085
|
protected readonly deltaArrow: _angular_core.Signal<"arrow_upward" | "arrow_downward" | "remove">;
|
|
7086
7086
|
protected readonly deltaText: _angular_core.Signal<string>;
|
|
7087
7087
|
/** Color de la cifra según el tono (mismo mapa que el golden). */
|
|
@@ -7253,5 +7253,387 @@ declare class PageHeaderComponent {
|
|
|
7253
7253
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PageHeaderComponent, "ius-page-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "overline": { "alias": "overline"; "required": false; "isSignal": true; }; "titleLevel": { "alias": "titleLevel"; "required": false; "isSignal": true; }; "showBack": { "alias": "showBack"; "required": false; "isSignal": true; }; "backLabel": { "alias": "backLabel"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; "surface": { "alias": "surface"; "required": false; "isSignal": true; }; }, { "back": "back"; }, ["breadcrumbRef", "actionsRef", "toolbarRef"], ["[iusPageHeaderBreadcrumb]", "[iusPageHeaderActions]", "[iusPageHeaderToolbar]"], true, never>;
|
|
7254
7254
|
}
|
|
7255
7255
|
|
|
7256
|
-
|
|
7257
|
-
|
|
7256
|
+
/**
|
|
7257
|
+
* NumberField — Ius Design v2 (Contador).
|
|
7258
|
+
*
|
|
7259
|
+
* Campo numérico con stepper (±) a la derecha. Variación de **TextField**:
|
|
7260
|
+
* reusa su wrapper `.ius-tf` (label + required + iconHelp + 5 estados +
|
|
7261
|
+
* helpText/errorText + `size`) y añade los botones `expand_less`/`expand_more`
|
|
7262
|
+
* y las flechas ↑/↓ del teclado, acotado por `min`/`max` y en pasos de `step`.
|
|
7263
|
+
* Se ocultan los spinners nativos del navegador. Implementa
|
|
7264
|
+
* `ControlValueAccessor` con `number | null`.
|
|
7265
|
+
*
|
|
7266
|
+
* Decisiones del port (golden `NumberField.jsx` / `.d.ts`):
|
|
7267
|
+
* - El CSS de TextField se incorpora vía `@use` del SCSS hermano (en React el
|
|
7268
|
+
* golden importa TextField para heredar `.ius-tf`; con encapsulación
|
|
7269
|
+
* emulada cada componente lleva sus propias reglas).
|
|
7270
|
+
* - Vaciar el campo confirma `null` (el golden conserva el último número
|
|
7271
|
+
* mientras el input se ve vacío — con CVA eso desincroniza modelo y vista).
|
|
7272
|
+
* - Al perder el foco, además del recorte a `min`/`max`, el valor se
|
|
7273
|
+
* redondea a la precisión de `step` (step entero → sin decimales), que es lo
|
|
7274
|
+
* que un "Contador" espera. Con `step` decimal se conservan sus decimales.
|
|
7275
|
+
* - `ariaLabel` (passthrough al input) para casillas sin `label` visible, p. ej.
|
|
7276
|
+
* dentro de una celda de tabla.
|
|
7277
|
+
* - `state` (hover|focused|error|disabled) del golden es solo para demos → fuera
|
|
7278
|
+
* de la API; el playground lo congela con `data-force` como TextField.
|
|
7279
|
+
*/
|
|
7280
|
+
declare class NumberFieldComponent implements ControlValueAccessor {
|
|
7281
|
+
/** Label sobre el input (con `:` final). Sin label si se omite. */
|
|
7282
|
+
label?: string;
|
|
7283
|
+
/** Placeholder dentro del input. Default `0`. */
|
|
7284
|
+
placeholder: string;
|
|
7285
|
+
/** Punto rojo (•) a la izquierda del label. */
|
|
7286
|
+
required: boolean;
|
|
7287
|
+
private readonly minState;
|
|
7288
|
+
/** Valor mínimo. */
|
|
7289
|
+
set min(v: number | undefined);
|
|
7290
|
+
get min(): number | undefined;
|
|
7291
|
+
private readonly maxState;
|
|
7292
|
+
/** Valor máximo. */
|
|
7293
|
+
set max(v: number | undefined);
|
|
7294
|
+
get max(): number | undefined;
|
|
7295
|
+
private readonly stepState;
|
|
7296
|
+
/** Incremento de los controles y las flechas del teclado. Default `1`. */
|
|
7297
|
+
set step(v: number | undefined);
|
|
7298
|
+
get step(): number;
|
|
7299
|
+
/** Línea de ayuda bajo el campo (estado normal). */
|
|
7300
|
+
helpText?: string;
|
|
7301
|
+
/** Reemplaza `helpText` cuando `error` es `true`. */
|
|
7302
|
+
errorText?: string;
|
|
7303
|
+
/** Mostrar/ocultar la línea de ayuda. */
|
|
7304
|
+
showHelpText: boolean;
|
|
7305
|
+
/** Pastilla "?" junto al label. */
|
|
7306
|
+
showIconHelp: boolean;
|
|
7307
|
+
/** Título del contenido de ayuda (popover). */
|
|
7308
|
+
iconHelpTitle?: string;
|
|
7309
|
+
/** Cuerpo del contenido de ayuda (popover). */
|
|
7310
|
+
iconHelpContent?: string;
|
|
7311
|
+
/** Estado de error (colores + errorText). */
|
|
7312
|
+
error: boolean;
|
|
7313
|
+
/** `name` del input. */
|
|
7314
|
+
name?: string;
|
|
7315
|
+
/** Etiqueta accesible del input cuando no hay `label` visible (celdas de tabla). */
|
|
7316
|
+
ariaLabel?: string;
|
|
7317
|
+
private readonly sizeState;
|
|
7318
|
+
set size(value: IusTextFieldSize);
|
|
7319
|
+
get size(): IusTextFieldSize;
|
|
7320
|
+
private readonly disabledState;
|
|
7321
|
+
set disabled(value: boolean);
|
|
7322
|
+
get disabled(): boolean;
|
|
7323
|
+
/** Además del CVA: cada valor confirmado (`onChange(value)` del golden). `null` = campo vacío. */
|
|
7324
|
+
readonly valueChange: EventEmitter<number | null>;
|
|
7325
|
+
/** Valor numérico confirmado. */
|
|
7326
|
+
protected readonly value: _angular_core.WritableSignal<number | null>;
|
|
7327
|
+
/** Texto crudo que edita el usuario (permite vacío o parcial como "-"). */
|
|
7328
|
+
protected readonly text: _angular_core.WritableSignal<string>;
|
|
7329
|
+
protected readonly focused: _angular_core.WritableSignal<boolean>;
|
|
7330
|
+
protected readonly inputId: string;
|
|
7331
|
+
protected readonly helpId: string;
|
|
7332
|
+
protected readonly atMax: _angular_core.Signal<boolean>;
|
|
7333
|
+
protected readonly atMin: _angular_core.Signal<boolean>;
|
|
7334
|
+
private onChange;
|
|
7335
|
+
private onTouched;
|
|
7336
|
+
protected get hint(): string | undefined;
|
|
7337
|
+
protected get showHint(): boolean;
|
|
7338
|
+
writeValue(value: number | null | undefined): void;
|
|
7339
|
+
registerOnChange(fn: (value: number | null) => void): void;
|
|
7340
|
+
registerOnTouched(fn: () => void): void;
|
|
7341
|
+
setDisabledState(isDisabled: boolean): void;
|
|
7342
|
+
private clamp;
|
|
7343
|
+
/** Redondea a la precisión de `step` (step entero → entero). */
|
|
7344
|
+
private aPrecision;
|
|
7345
|
+
private commit;
|
|
7346
|
+
private bump;
|
|
7347
|
+
protected onInput(event: Event): void;
|
|
7348
|
+
protected onFocus(): void;
|
|
7349
|
+
protected onBlur(): void;
|
|
7350
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
7351
|
+
protected aumentar(): void;
|
|
7352
|
+
protected disminuir(): void;
|
|
7353
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFieldComponent, never>;
|
|
7354
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumberFieldComponent, "ius-number-field", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "showHelpText": { "alias": "showHelpText"; "required": false; }; "showIconHelp": { "alias": "showIconHelp"; "required": false; }; "iconHelpTitle": { "alias": "iconHelpTitle"; "required": false; }; "iconHelpContent": { "alias": "iconHelpContent"; "required": false; }; "error": { "alias": "error"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
7355
|
+
static ngAcceptInputType_required: unknown;
|
|
7356
|
+
static ngAcceptInputType_min: unknown;
|
|
7357
|
+
static ngAcceptInputType_max: unknown;
|
|
7358
|
+
static ngAcceptInputType_step: unknown;
|
|
7359
|
+
static ngAcceptInputType_showHelpText: unknown;
|
|
7360
|
+
static ngAcceptInputType_showIconHelp: unknown;
|
|
7361
|
+
static ngAcceptInputType_error: unknown;
|
|
7362
|
+
static ngAcceptInputType_disabled: unknown;
|
|
7363
|
+
}
|
|
7364
|
+
|
|
7365
|
+
/** Un campo con error para el resumen superior. */
|
|
7366
|
+
interface IusFormError {
|
|
7367
|
+
/** `id` o `name` del input — el resumen lo enlaza (clic enfoca el campo). */
|
|
7368
|
+
field?: string;
|
|
7369
|
+
/** Etiqueta legible del campo (texto del enlace). */
|
|
7370
|
+
label?: string;
|
|
7371
|
+
/** Mensaje breve del error. */
|
|
7372
|
+
message?: string;
|
|
7373
|
+
}
|
|
7374
|
+
/** Columnas de la rejilla: `auto` = 1 en angosto, 2 desde 600px de contenedor. */
|
|
7375
|
+
type IusFormColumns = 1 | 2 | 'auto';
|
|
7376
|
+
/** Tratamiento de las secciones colapsables: card (`contained`) o hairline (`divided`). */
|
|
7377
|
+
type IusFormSectionVariant = 'contained' | 'divided';
|
|
7378
|
+
/** Footer personalizado (reemplaza al footer por defecto Guardar/Cancelar). */
|
|
7379
|
+
declare class IusFormFooterDirective {
|
|
7380
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusFormFooterDirective, never>;
|
|
7381
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusFormFooterDirective, "[iusFormFooter]", never, {}, {}, never, never, true, never>;
|
|
7382
|
+
}
|
|
7383
|
+
/**
|
|
7384
|
+
* Form — Ius Design v2 (familia layout).
|
|
7385
|
+
*
|
|
7386
|
+
* **Cáscara** de formulario: rejilla responsive por container-query (1→2
|
|
7387
|
+
* columnas), secciones (`ius-form-section`, opcionalmente colapsables vía
|
|
7388
|
+
* `ius-accordion`), resumen de validación (`ius-alert` danger con enlaces que
|
|
7389
|
+
* enfocan el campo) y footer de acciones sticky (`ius-button`). **No maneja
|
|
7390
|
+
* estado ni valida**: los inputs controlados del sistema resuelven label /
|
|
7391
|
+
* helpText / errorText / required y el consumidor pasa `errorSummary` ya
|
|
7392
|
+
* calculado. Vive en Drawer (default), Modal (≤ 4 campos) o página completa;
|
|
7393
|
+
* dentro de Drawer/Modal el footer lo pone el contenedor → `[footer]="false"`.
|
|
7394
|
+
*
|
|
7395
|
+
* Composición: `ius-form` › `ius-form-section` › `ius-form-field` › inputs.
|
|
7396
|
+
*
|
|
7397
|
+
* Decisiones del port (golden `Form.jsx` / `Form.d.ts`):
|
|
7398
|
+
* - El golden muestra el footer por defecto solo si recibe `onSubmit`/`onCancel`.
|
|
7399
|
+
* Un output no expone suscriptores: `footer` (default `true`) lo muestra con
|
|
7400
|
+
* el botón de envío; `showCancel` añade el de cancelar; `[iusFormFooter]`
|
|
7401
|
+
* proyecta uno propio.
|
|
7402
|
+
* - `submitted` reenvía el `SubmitEvent` nativo (ya con `preventDefault`).
|
|
7403
|
+
* - El host `ius-form` envuelve un `<form novalidate>` interno, que es el
|
|
7404
|
+
* contenedor de la container-query y quien recibe el submit del botón.
|
|
7405
|
+
*/
|
|
7406
|
+
declare class FormComponent {
|
|
7407
|
+
private readonly document;
|
|
7408
|
+
/** Columnas de la rejilla. Default `auto`. Las secciones lo heredan salvo que pasen el suyo. */
|
|
7409
|
+
readonly columns: _angular_core.InputSignal<IusFormColumns>;
|
|
7410
|
+
/** Campos con error → Alert danger arriba. Vacío/omitido = sin resumen. */
|
|
7411
|
+
readonly errorSummary: _angular_core.InputSignal<readonly IusFormError[] | null | undefined>;
|
|
7412
|
+
/** Título del resumen de errores. */
|
|
7413
|
+
readonly errorTitle: _angular_core.InputSignal<string>;
|
|
7414
|
+
/** Etiqueta del botón de envío. */
|
|
7415
|
+
readonly submitLabel: _angular_core.InputSignal<string>;
|
|
7416
|
+
/** Etiqueta del botón de cancelar. */
|
|
7417
|
+
readonly cancelLabel: _angular_core.InputSignal<string>;
|
|
7418
|
+
/** Variante del botón de envío. */
|
|
7419
|
+
readonly submitVariant: _angular_core.InputSignal<IusButtonVariant>;
|
|
7420
|
+
/** Variante del botón de cancelar. */
|
|
7421
|
+
readonly cancelVariant: _angular_core.InputSignal<IusButtonVariant>;
|
|
7422
|
+
/** Estado loading del botón de envío. */
|
|
7423
|
+
readonly submitting: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7424
|
+
/** Deshabilita el botón de envío. */
|
|
7425
|
+
readonly submitDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7426
|
+
/** `false` = sin footer (dentro de Drawer/Modal, que ya ponen el suyo). */
|
|
7427
|
+
readonly footer: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7428
|
+
/** Añade el botón de cancelar al footer por defecto (equivale a pasar `onCancel`). */
|
|
7429
|
+
readonly showCancel: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7430
|
+
/** Footer fijo al fondo del scroll (solo el footer propio). Default `true`. */
|
|
7431
|
+
readonly stickyFooter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7432
|
+
/** Modo acordeón: solo una sección colapsable abierta a la vez. */
|
|
7433
|
+
readonly accordion: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7434
|
+
/** Tratamiento de las secciones colapsables. Default `contained`. */
|
|
7435
|
+
readonly sectionVariant: _angular_core.InputSignal<IusFormSectionVariant>;
|
|
7436
|
+
/** Envío (`onSubmit`): el `SubmitEvent` nativo, ya prevenido. */
|
|
7437
|
+
readonly submitted: _angular_core.OutputEmitterRef<SubmitEvent>;
|
|
7438
|
+
/** Cancelar (`onCancel`). */
|
|
7439
|
+
readonly cancelled: _angular_core.OutputEmitterRef<void>;
|
|
7440
|
+
private readonly footerSlot;
|
|
7441
|
+
protected readonly hasFooterSlot: _angular_core.Signal<boolean>;
|
|
7442
|
+
protected readonly errores: _angular_core.Signal<readonly IusFormError[]>;
|
|
7443
|
+
protected readonly hasErrors: _angular_core.Signal<boolean>;
|
|
7444
|
+
protected readonly formId: string;
|
|
7445
|
+
/** Sección colapsable abierta en modo `accordion` (`null` = todas cerradas). */
|
|
7446
|
+
readonly openSectionId: _angular_core.WritableSignal<string | null>;
|
|
7447
|
+
private inicializado;
|
|
7448
|
+
/** Una sección colapsable se registra al montarse; la primera con `defaultOpen` queda abierta. */
|
|
7449
|
+
register(sectionId: string, defaultOpen: boolean): void;
|
|
7450
|
+
setOpen(sectionId: string | null): void;
|
|
7451
|
+
protected onSubmit(event: Event): void;
|
|
7452
|
+
protected onCancel(): void;
|
|
7453
|
+
/** Enlace del resumen: enfoca el campo por `id` o `name`. */
|
|
7454
|
+
protected focusField(field: string, event: Event): void;
|
|
7455
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
7456
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormComponent, "ius-form", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "errorSummary": { "alias": "errorSummary"; "required": false; "isSignal": true; }; "errorTitle": { "alias": "errorTitle"; "required": false; "isSignal": true; }; "submitLabel": { "alias": "submitLabel"; "required": false; "isSignal": true; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; "isSignal": true; }; "submitVariant": { "alias": "submitVariant"; "required": false; "isSignal": true; }; "cancelVariant": { "alias": "cancelVariant"; "required": false; "isSignal": true; }; "submitting": { "alias": "submitting"; "required": false; "isSignal": true; }; "submitDisabled": { "alias": "submitDisabled"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "showCancel": { "alias": "showCancel"; "required": false; "isSignal": true; }; "stickyFooter": { "alias": "stickyFooter"; "required": false; "isSignal": true; }; "accordion": { "alias": "accordion"; "required": false; "isSignal": true; }; "sectionVariant": { "alias": "sectionVariant"; "required": false; "isSignal": true; }; }, { "submitted": "submitted"; "cancelled": "cancelled"; }, ["footerSlot"], ["*", "[iusFormFooter]"], true, never>;
|
|
7457
|
+
}
|
|
7458
|
+
|
|
7459
|
+
/**
|
|
7460
|
+
* FormSection — agrupa campos bajo un título (opcionalmente colapsable).
|
|
7461
|
+
*
|
|
7462
|
+
* No colapsable: cabecera (ícono + título + descripción) y divisor superior
|
|
7463
|
+
* respecto a la sección anterior. Colapsable: reusa `ius-accordion` con el
|
|
7464
|
+
* `sectionVariant` del `ius-form` (`contained` card · `divided` hairline) y,
|
|
7465
|
+
* si el form está en modo `accordion`, solo una sección abierta a la vez.
|
|
7466
|
+
* Hereda `columns` del `ius-form` salvo que pase el suyo.
|
|
7467
|
+
*/
|
|
7468
|
+
declare class FormSectionComponent {
|
|
7469
|
+
private readonly form;
|
|
7470
|
+
/** Título de la sección. */
|
|
7471
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
7472
|
+
/** Descripción breve bajo el título. */
|
|
7473
|
+
readonly description: _angular_core.InputSignal<string | undefined>;
|
|
7474
|
+
/** Ícono Material Symbols a la izquierda del título (solo no colapsable). */
|
|
7475
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
7476
|
+
/** Sección plegable (Accordion). Default `false`. */
|
|
7477
|
+
readonly collapsible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7478
|
+
/** Sobreescribe el `sectionVariant` del Form para esta sección colapsable. */
|
|
7479
|
+
readonly variant: _angular_core.InputSignal<IusFormSectionVariant | undefined>;
|
|
7480
|
+
/** Abierta por defecto cuando es colapsable. Default `true`. */
|
|
7481
|
+
readonly defaultOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7482
|
+
/** Columnas de la rejilla interna. Si se omite, hereda el `columns` del Form; si tampoco, `auto`. */
|
|
7483
|
+
readonly columns: _angular_core.InputSignal<IusFormColumns | undefined>;
|
|
7484
|
+
private readonly cuerpo;
|
|
7485
|
+
protected readonly sectionId: string;
|
|
7486
|
+
protected readonly colsEfectivas: _angular_core.Signal<IusFormColumns>;
|
|
7487
|
+
protected readonly variantEfectiva: _angular_core.Signal<IusFormSectionVariant>;
|
|
7488
|
+
/** Modo single-open coordinado por el Form. */
|
|
7489
|
+
protected readonly single: _angular_core.Signal<boolean>;
|
|
7490
|
+
/** Apertura controlada solo en modo `accordion`; `undefined` deja el control al Accordion. */
|
|
7491
|
+
protected readonly accOpen: _angular_core.Signal<string | null | undefined>;
|
|
7492
|
+
protected readonly accDefaultOpen: _angular_core.Signal<string | undefined>;
|
|
7493
|
+
protected readonly items: _angular_core.Signal<IusAccordionItem[]>;
|
|
7494
|
+
constructor();
|
|
7495
|
+
protected onAccOpenChange(openId: string | string[] | null): void;
|
|
7496
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormSectionComponent, never>;
|
|
7497
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormSectionComponent, "ius-form-section", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7498
|
+
}
|
|
7499
|
+
|
|
7500
|
+
/** `1` (default) ocupa una columna; `full` ocupa ambas. */
|
|
7501
|
+
type IusFormFieldSpan = 1 | 'full';
|
|
7502
|
+
/**
|
|
7503
|
+
* FormField — envoltorio de un campo en la rejilla del `ius-form` /
|
|
7504
|
+
* `ius-form-section`; `span="full"` cruza ambas columnas. Port de
|
|
7505
|
+
* `FormField` del golden `Form.jsx` (`.ius-form__field[data-span]`).
|
|
7506
|
+
*/
|
|
7507
|
+
declare class FormFieldComponent {
|
|
7508
|
+
/** `1` (default) una columna · `full` ambas. */
|
|
7509
|
+
readonly span: _angular_core.InputSignal<IusFormFieldSpan>;
|
|
7510
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
7511
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "ius-form-field", never, { "span": { "alias": "span"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7512
|
+
}
|
|
7513
|
+
|
|
7514
|
+
type IusSectionTitleSize = 'small' | 'medium';
|
|
7515
|
+
/** Semántica del raíz: `div` (default) o encabezado h2–h5. */
|
|
7516
|
+
type IusSectionTitleAs = 'div' | 'h2' | 'h3' | 'h4' | 'h5';
|
|
7517
|
+
type IusSectionTitleHelpTrigger = 'click' | 'hover' | 'focus';
|
|
7518
|
+
/** Slot de acción a la derecha del título (TextButton, IconButton, ShowMore…). */
|
|
7519
|
+
declare class IusSectionTitleActionDirective {
|
|
7520
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusSectionTitleActionDirective, never>;
|
|
7521
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusSectionTitleActionDirective, "[iusSectionTitleAction]", never, {}, {}, never, never, true, never>;
|
|
7522
|
+
}
|
|
7523
|
+
/**
|
|
7524
|
+
* SectionTitle — Ius Design v2 (familia layout).
|
|
7525
|
+
*
|
|
7526
|
+
* **Título de una sección de contenido**: encabezado display/bold con hairline
|
|
7527
|
+
* inferior opcional, ícono de ayuda opcional (abre `ius-popover` con título +
|
|
7528
|
+
* contenido) y slot de acción a la derecha (`[iusSectionTitleAction]`). Titula
|
|
7529
|
+
* bloques dentro de un panel, tarjeta o pestaña, en Sentence case.
|
|
7530
|
+
*
|
|
7531
|
+
* No confundir con `ius-section-header` (grupos de lista/árbol) ni con
|
|
7532
|
+
* `ius-page-header` (encabezado de la vista completa).
|
|
7533
|
+
*
|
|
7534
|
+
* Decisión del port (golden `SectionTitle.jsx`): `as` cambia la etiqueta raíz
|
|
7535
|
+
* en React; aquí el host es fijo (`ius-section-title`), así que `h2`–`h5` se
|
|
7536
|
+
* expresan como `role="heading"` + `aria-level` (misma semántica para AT).
|
|
7537
|
+
*/
|
|
7538
|
+
declare class SectionTitleComponent {
|
|
7539
|
+
/** Contenido de ayuda. Si se pasa, aparece el ícono que abre el Popover. */
|
|
7540
|
+
readonly help: _angular_core.InputSignal<string | undefined>;
|
|
7541
|
+
/** Título (en negrita) del Popover de ayuda. */
|
|
7542
|
+
readonly helpTitle: _angular_core.InputSignal<string | undefined>;
|
|
7543
|
+
/** Glifo Material Symbols del ícono de ayuda. Default `help`. */
|
|
7544
|
+
readonly helpIcon: _angular_core.InputSignal<string>;
|
|
7545
|
+
/** Colocación del Popover de ayuda. Default `top`. */
|
|
7546
|
+
readonly helpPlacement: _angular_core.InputSignal<IusPopoverPlacement>;
|
|
7547
|
+
/** Cómo se dispara el Popover de ayuda. Default `click`. */
|
|
7548
|
+
readonly helpTrigger: _angular_core.InputSignal<IusSectionTitleHelpTrigger>;
|
|
7549
|
+
/** Línea inferior (hairline) bajo el título. Default `true`. */
|
|
7550
|
+
readonly divider: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7551
|
+
/** Trunca el título con elipsis en una línea. Default `false`. */
|
|
7552
|
+
readonly truncate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7553
|
+
/** Escala. `small` = fs-sm · `medium` (default) = fs-base. */
|
|
7554
|
+
readonly size: _angular_core.InputSignal<IusSectionTitleSize>;
|
|
7555
|
+
/** Semántica del raíz. `div` (default) · `h2`–`h5`. */
|
|
7556
|
+
readonly as: _angular_core.InputSignal<IusSectionTitleAs>;
|
|
7557
|
+
protected readonly headingRole: _angular_core.Signal<"heading" | null>;
|
|
7558
|
+
protected readonly headingLevel: _angular_core.Signal<number | null>;
|
|
7559
|
+
protected readonly helpAriaLabel: _angular_core.Signal<string>;
|
|
7560
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionTitleComponent, never>;
|
|
7561
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionTitleComponent, "ius-section-title", never, { "help": { "alias": "help"; "required": false; "isSignal": true; }; "helpTitle": { "alias": "helpTitle"; "required": false; "isSignal": true; }; "helpIcon": { "alias": "helpIcon"; "required": false; "isSignal": true; }; "helpPlacement": { "alias": "helpPlacement"; "required": false; "isSignal": true; }; "helpTrigger": { "alias": "helpTrigger"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; "truncate": { "alias": "truncate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "as": { "alias": "as"; "required": false; "isSignal": true; }; }, {}, never, ["*", "[iusSectionTitleAction]"], true, never>;
|
|
7562
|
+
}
|
|
7563
|
+
|
|
7564
|
+
interface IusBreadcrumbItem {
|
|
7565
|
+
/** Texto del crumb. */
|
|
7566
|
+
label: string;
|
|
7567
|
+
/** Enlace; si se omite se renderiza como botón. El último crumb nunca es enlace. */
|
|
7568
|
+
href?: string;
|
|
7569
|
+
/** Ícono Material Symbols a la izquierda del label (p. ej. `person`, `folder_open`, `gavel`). */
|
|
7570
|
+
icon?: string;
|
|
7571
|
+
}
|
|
7572
|
+
type IusBreadcrumbSeparator = 'chevron' | 'slash';
|
|
7573
|
+
type IusBreadcrumbSize = 'small' | 'medium';
|
|
7574
|
+
/** Payload de `navigate` — `onNavigate(item, index, event)` del golden. */
|
|
7575
|
+
interface IusBreadcrumbNavigate {
|
|
7576
|
+
item: IusBreadcrumbItem;
|
|
7577
|
+
index: number;
|
|
7578
|
+
event: Event;
|
|
7579
|
+
}
|
|
7580
|
+
interface CrumbEntry {
|
|
7581
|
+
kind: 'crumb';
|
|
7582
|
+
item: IusBreadcrumbItem;
|
|
7583
|
+
index: number;
|
|
7584
|
+
}
|
|
7585
|
+
interface MoreEntry {
|
|
7586
|
+
kind: 'more';
|
|
7587
|
+
hidden: {
|
|
7588
|
+
item: IusBreadcrumbItem;
|
|
7589
|
+
index: number;
|
|
7590
|
+
}[];
|
|
7591
|
+
}
|
|
7592
|
+
type Entry = CrumbEntry | MoreEntry;
|
|
7593
|
+
/**
|
|
7594
|
+
* Breadcrumb — Ius Design v2 (familia navigation).
|
|
7595
|
+
*
|
|
7596
|
+
* Rastro de **navegación jerárquica** (Cliente › Expediente › Proceso ›
|
|
7597
|
+
* Actuación). Cada nivel es un enlace (o botón) salvo el último, que es la
|
|
7598
|
+
* página actual (`aria-current="page"`, navy `primary-900`, peso medio).
|
|
7599
|
+
* Separador chevron o slash; con `maxItems` los niveles intermedios se pliegan
|
|
7600
|
+
* en un menú "…" (`ius-popover` por clic). Para secciones paralelas → Tabs.
|
|
7601
|
+
*
|
|
7602
|
+
* Decisiones del port (golden `Breadcrumb.jsx` / `.d.ts`):
|
|
7603
|
+
* - `item.onClick` del golden no existe: toda navegación (crumbs y menú "…")
|
|
7604
|
+
* sale por el output `navigate` `{ item, index, event }`; el consumidor hace
|
|
7605
|
+
* `event.preventDefault()` si enruta por SPA.
|
|
7606
|
+
* - El menú "…" compone `ius-popover` (trigger click, controlado con `open`)
|
|
7607
|
+
* y se cierra al elegir un nivel.
|
|
7608
|
+
*/
|
|
7609
|
+
declare class BreadcrumbComponent {
|
|
7610
|
+
/** Niveles, de la raíz (izquierda) a la página actual (derecha). */
|
|
7611
|
+
readonly items: _angular_core.InputSignal<readonly IusBreadcrumbItem[]>;
|
|
7612
|
+
/** Separador entre crumbs. Default `chevron`. */
|
|
7613
|
+
readonly separator: _angular_core.InputSignal<IusBreadcrumbSeparator>;
|
|
7614
|
+
/** Tamaño. `small` · `medium` (default). */
|
|
7615
|
+
readonly size: _angular_core.InputSignal<IusBreadcrumbSize>;
|
|
7616
|
+
/** Si > 0 y hay más de `maxItems` crumbs, colapsa los del medio en un menú "…". */
|
|
7617
|
+
readonly maxItems: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
7618
|
+
/** Crumbs visibles al inicio cuando se colapsa. Default 1. */
|
|
7619
|
+
readonly itemsBeforeCollapse: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
7620
|
+
/** Crumbs visibles al final cuando se colapsa. Default 2. */
|
|
7621
|
+
readonly itemsAfterCollapse: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
7622
|
+
/** Etiqueta accesible del `<nav>`. Default `Ruta de navegación`. */
|
|
7623
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
7624
|
+
/** Navegación de cualquier crumb, también desde el menú "…" (`onNavigate`). */
|
|
7625
|
+
readonly navigate: _angular_core.OutputEmitterRef<IusBreadcrumbNavigate>;
|
|
7626
|
+
/** Apertura del menú "…" (controlada para cerrarlo al elegir un nivel). */
|
|
7627
|
+
protected readonly moreOpen: _angular_core.WritableSignal<boolean>;
|
|
7628
|
+
protected readonly total: _angular_core.Signal<number>;
|
|
7629
|
+
/** Todos los crumbs, o cabeza + "…" + cola cuando se colapsa. */
|
|
7630
|
+
protected readonly rendered: _angular_core.Signal<Entry[]>;
|
|
7631
|
+
protected isCurrent(index: number): boolean;
|
|
7632
|
+
protected onCrumb(item: IusBreadcrumbItem, index: number, event: Event): void;
|
|
7633
|
+
protected onHidden(item: IusBreadcrumbItem, index: number, event: Event): void;
|
|
7634
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
7635
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "ius-breadcrumb", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "maxItems": { "alias": "maxItems"; "required": false; "isSignal": true; }; "itemsBeforeCollapse": { "alias": "itemsBeforeCollapse"; "required": false; "isSignal": true; }; "itemsAfterCollapse": { "alias": "itemsAfterCollapse"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; }, never, never, true, never>;
|
|
7636
|
+
}
|
|
7637
|
+
|
|
7638
|
+
export { AccordionComponent, AccountItemComponent, AlertComponent, AppLayoutComponent, AvatarComponent, BreadcrumbComponent, ButtonComponent, CaptchaFieldComponent, CardComponent, CarouselComponent, CheckboxComponent, ChipComponent, CircularProgressComponent, CodeFieldComponent, CountdownComponent, CountdownRingComponent, DescriptionListComponent, DividerComponent, DrawerComponent, DropdownComponent, EVENT_KINDS, EVENT_KIND_ICON, EleniaBubbleComponent, EleniaOrbComponent, EmptyStateComponent, FlexComponent, FormComponent, FormFieldComponent, FormSectionComponent, HeaderBarComponent, ILLUSTRATIONS, ILLUSTRATION_ALIAS, ILLUSTRATION_NAMES, IUS_FILTER_OPERATORS, IUS_TOAST_DEFAULT_DURATION, IUS_TOAST_DEFAULT_ICON, IconButtonComponent, IllustrationComponent, InsigniaComponent, IusAccountItemNameDirective, IusAccountItemSubtitleDirective, IusAccountItemTrailingDirective, IusAlertActionsDirective, IusAlertTrailingDirective, IusCardFooterDirective, IusCardHeaderDirective, IusDrawerFooterDirective, IusDrawerHeaderActionsDirective, IusDrawerTitleDirective, IusDropdownTriggerDirective, IusFormFooterDirective, IusListCardLeadingDirective, IusListCardOverlineDirective, IusListCardParagraphDirective, IusListCardSubtitleDirective, IusListCardTitleDirective, IusListViewFiltersDirective, IusListViewFooterEndDirective, IusListViewFooterStartDirective, IusListViewHeaderEndDirective, IusListViewHeaderStartDirective, IusListViewToolbarDirective, IusMenuItemTrailingDirective, IusModalFooterDirective, IusPageHeaderActionsDirective, IusPageHeaderBreadcrumbDirective, IusPageHeaderToolbarDirective, IusPersonItemNameDirective, IusPersonItemTrailingDirective, IusSectionTitleActionDirective, IusSettingsNavFooterDirective, IusSettingsNavHeaderDirective, IusStatDeltaDirective, IusStatSparklineDirective, IusTagPrefixDirective, IusTagSuffixDirective, IusToastActionDirective, IusUserMenuFooterDirective, LinearProgressBarComponent, ListCardComponent, ListViewComponent, LoadingComponent, LoadingMarkComponent, MenuComponent, MenuItemComponent, ModalComponent, MultiTextFieldComponent, NavUserComponent, NumberFieldComponent, ORB_PERIODS, OauthButtonComponent, OptionItemComponent, PageHeaderComponent, PersonItemComponent, PersonPickerComponent, PlanUsageItemComponent, PopoverComponent, QueryBuilderComponent, STATUS_TONES, STATUS_VOCAB, STATUS_VOCABS, STATUS_VOCABS_PENDING, ScrollAreaComponent, SearchBarComponent, SectionHeaderComponent, SectionTitleComponent, SegmentGroupComponent, SegmentedControlComponent, SelectComponent, SettingsNavComponent, ShowMoreComponent, SkeletonComponent, SplitterComponent, StatComponent, StatGroupComponent, StatusChipComponent, StatusStateComponent, TableComponent, TabsComponent, TagComponent, TextAreaComponent, TextButtonComponent, TextComponent, TextFieldComponent, TimelineComponent, ToastComponent, ToastService, ToastViewportComponent, TooltipComponent, UserMenuComponent, WizardComponent, WizardController, WizardNavComponent, createWizard, eventKindOptions, iusSegColor, pose, poseIso, poseSpeaking, poseThinking, renderCubeSvg, resolveEventIcon, resolveIllustration, resolveStatus, statusOptions, statusOrder, statusToneVars, statusVocab, voiceEnv };
|
|
7639
|
+
export type { ActuacionStatus, AlertSize, AlertTone, AlertVariant, CountdownDirection, CountdownFormat, CountdownRingSize, CountdownRingTone, DescriptionListItem, DescriptionListLayout, DescriptionListSize, DescriptionListValueClick, EventIconSource, EventKind, EventKindOption, GestionStatus, IllustrationEntry, IllustrationName, IllustrationSize, IusAccordionItem, IusAccordionVariant, IusAccountItemAction, IusAccountItemState, IusAppLayoutAccent, IusAvatarColor, IusAvatarShape, IusAvatarSize, IusBreadcrumbItem, IusBreadcrumbNavigate, IusBreadcrumbSeparator, IusBreadcrumbSize, IusButtonActionResult, IusButtonSize, IusButtonStatus, IusButtonType, IusButtonVariant, IusCaptchaAppearance, IusCaptchaFieldHandle, IusCaptchaProvider, IusCaptchaSize, IusCaptchaState, IusCaptchaTheme, IusCardAs, IusCardPadding, IusCardRadius, IusCardVariant, IusCarouselImage, IusCarouselImageInput, IusCarouselObjectFit, IusCarouselOrder, IusCarouselOverlay, IusCarouselTransition, IusCheckboxLabelPosition, IusCheckboxSize, IusChipSize, IusChipState, IusCircularProgressSize, IusCircularProgressTone, IusCodeFieldSize, IusDividerOrientation, IusDividerTextAlign, IusDividerVariant, IusDrawerSide, IusDrawerSize, IusDropdownItem, IusDropdownTone, IusDropdownVariant, IusEleniaBubblePosition, IusEleniaBubbleSize, IusEleniaOrbMood, IusEleniaOrbSurface, IusEmptyStateAction, IusEmptyStateSize, IusEmptyStateTone, IusEmptyStateVariant, IusFilterField, IusFilterFieldOption, IusFilterFieldType, IusFilterRule, IusFilterValue, IusFlexAlign, IusFlexDirection, IusFlexGap, IusFlexJustify, IusFormColumns, IusFormError, IusFormFieldSpan, IusFormSectionVariant, IusIconButtonShape, IusIconButtonSize, IusIconButtonVariant, IusInsigniaSize, IusInsigniaTone, IusInsigniaVariant, IusLinearProgressSegment, IusLinearProgressSize, IusLinearProgressTone, IusListCardAction, IusListCardField, IusListCardMarker, IusListCardMenuItem, IusListCardSize, IusListCardStatus, IusListCardTag, IusListCardTone, IusListViewAction, IusListViewSize, IusListViewSortOption, IusLoadingMarkSurface, IusLoadingVariant, IusMenuItemSize, IusMenuItemState, IusMenuItemVariant, IusMenuOption, IusModalCloseReason, IusModalIconTone, IusModalSize, IusMultiTextFieldSize, IusMultiTextFieldSlot, IusMultiTextFieldState, IusNavUserAccount, IusNavUserLayout, IusNavUserUser, IusOAuthButtonSize, IusOAuthButtonType, IusOAuthProvider, IusOptionItemSize, IusOptionItemState, IusPageHeaderTitleLevel, IusPersonId, IusPersonItemAction, IusPersonItemSize, IusPersonItemState, IusPersonItemVariant, IusPersonOption, IusPersonPickerSelectedContext, IusPlanUsageAction, IusPlanUsageLegend, IusPlanUsageStatus, IusPopoverPadding, IusPopoverPlacement, IusPopoverTrigger, IusQueryBuilderSize, IusScrollAxis, IusScrollSize, IusSearchBarSize, IusSearchBarState, IusSectionHeaderAccent, IusSectionHeaderVariant, IusSectionTitleAs, IusSectionTitleHelpTrigger, IusSectionTitleSize, IusSegmentedSize, IusSegmentedVariant, IusSelectCreateFactory, IusSelectSize, IusSelectState, IusSelectValue, IusSettingsNavAccent, IusSettingsNavItem, IusSettingsNavSize, IusShowMoreAlign, IusSkeletonAnimation, IusSkeletonVariant, IusSplitterAccent, IusSplitterOrientation, IusStatAlign, IusStatSize, IusStatTone, IusStatusChipSize, IusStatusChipTone, IusStatusKind, IusTabItem, IusTabTag, IusTableAlign, IusTableCellContext, IusTableColumn, IusTableHeaderContext, IusTableRowClick, IusTableRowKey, IusTableRowStyle, IusTableSize, IusTableSortChange, IusTableSortDirection, IusTableSummaryCell, IusTableTone, IusTabsAccent, IusTabsSize, IusTagRole, IusTagShape, IusTagSize, IusTagState, IusTagTone, IusTagVariant, IusTextAlign, IusTextAreaSize, IusTextAreaState, IusTextButtonSize, IusTextButtonType, IusTextColor, IusTextFieldSize, IusTextFieldType, IusTextTag, IusTextVariant, IusTextWeight, IusTimelineAccent, IusTimelineAssignee, IusTimelineAttachment, IusTimelineAttachmentClick, IusTimelineItem, IusTimelineItemState, IusTimelineSize, IusTimelineTag, IusTimelineTagTone, IusToastItem, IusToastOptions, IusToastPosition, IusToastTone, IusTooltipTrigger, IusUserMenuAccount, IusUserMenuAccountOption, IusUserMenuItem, IusUserMenuOrigin, IusUserMenuService, IusUserMenuUser, OrbMood, OrbPose, SegmentedOption, SelectOption, SelectOptionGroup, StatusMeta, StatusOption, StatusTone, StatusToneVars, StatusVocabMap, StatusVocabName, UseWizardOptions, WizardApi, WizardStep };
|