@litigiovirtual/ius-design-components 2.1.10 → 2.1.12
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.
|
@@ -1181,6 +1181,712 @@ declare class NavUserComponent {
|
|
|
1181
1181
|
static ngAcceptInputType_open: unknown;
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
|
+
/** Estado forzado — solo demos. */
|
|
1185
|
+
type IusAccountItemState = 'hover' | 'pressed';
|
|
1186
|
+
/** Acción del menú ⋮ de la fila (espejo de `IusDropdownItem`/`IusMenuOption`). */
|
|
1187
|
+
interface IusAccountItemAction {
|
|
1188
|
+
key?: string | number;
|
|
1189
|
+
icon?: string;
|
|
1190
|
+
label?: string;
|
|
1191
|
+
/** Agrupa: al cambiar de `group` inserta un divisor. */
|
|
1192
|
+
group?: string | number;
|
|
1193
|
+
/** Inserta un divisor en su lugar. */
|
|
1194
|
+
separator?: boolean;
|
|
1195
|
+
danger?: boolean;
|
|
1196
|
+
disabled?: boolean;
|
|
1197
|
+
onClick?: (event: MouseEvent) => void;
|
|
1198
|
+
}
|
|
1199
|
+
/** Nombre rico proyectado (alternativa al input `name`). */
|
|
1200
|
+
declare class IusAccountItemNameDirective {
|
|
1201
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusAccountItemNameDirective, never>;
|
|
1202
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusAccountItemNameDirective, "[iusAccountItemName]", never, {}, {}, never, never, true, never>;
|
|
1203
|
+
}
|
|
1204
|
+
/** Subtítulo rico proyectado (alternativa al input `subtitle`). */
|
|
1205
|
+
declare class IusAccountItemSubtitleDirective {
|
|
1206
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusAccountItemSubtitleDirective, never>;
|
|
1207
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusAccountItemSubtitleDirective, "[iusAccountItemSubtitle]", never, {}, {}, never, never, true, never>;
|
|
1208
|
+
}
|
|
1209
|
+
/** Nodo libre al borde derecho (Tag, contador, chip de estado). */
|
|
1210
|
+
declare class IusAccountItemTrailingDirective {
|
|
1211
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusAccountItemTrailingDirective, never>;
|
|
1212
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusAccountItemTrailingDirective, "[iusAccountItemTrailing]", never, {}, {}, never, never, true, never>;
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* AccountItem — Ius Design v2 (familia data-display).
|
|
1216
|
+
*
|
|
1217
|
+
* Fila-tarjeta de una **cuenta a la que el usuario puede cambiar**: la unidad de
|
|
1218
|
+
* la vista «Cambiar de cuenta» del UserMenu. Avatar de la cuenta + nombre (+
|
|
1219
|
+
* subtítulo opcional: tipo, rol o dominio), seleccionable, con la cuenta activa
|
|
1220
|
+
* marcada con un check. Fuente de verdad: `AccountItem.jsx` +
|
|
1221
|
+
* `AccountItem.d.ts` + `AccountItem.ng-spec.md`.
|
|
1222
|
+
*
|
|
1223
|
+
* La superficie la pone **`ius-card`** (`outlined · radius lg · padding none`),
|
|
1224
|
+
* como manda la ng-spec: no se reescribe a mano. AccountItem solo aporta el
|
|
1225
|
+
* layout de la fila y sus **estados tintados info** (hover / pressed /
|
|
1226
|
+
* selected), que pisan la elevación por defecto de Card.
|
|
1227
|
+
*
|
|
1228
|
+
* `actions` compone `ius-dropdown` (trigger IconButton `more_vert` proyectado)
|
|
1229
|
+
* en un slot de **ancho fijo** (`--_ai-actions-w`), para que todas las listas de
|
|
1230
|
+
* cuentas del ecosistema queden alineadas. `[iusAccountItemTrailing]` acepta un
|
|
1231
|
+
* nodo libre en el mismo borde y convive con `actions`. Con `disabled` las
|
|
1232
|
+
* acciones quedan **visibles pero inertes** (la fila pierde `pointer-events`),
|
|
1233
|
+
* regla única del sistema.
|
|
1234
|
+
*
|
|
1235
|
+
* **Nota de port — el `split` del golden.** El golden alterna su DOM según el
|
|
1236
|
+
* contenido: sin `actions`/`trailing` la raíz **es** el `<button>` de `onClick`;
|
|
1237
|
+
* con ellos la raíz pasa a `div` y el área primaria se vuelve un botón interno
|
|
1238
|
+
* (anidar un IconButton dentro de un `<button>` es HTML inválido y rompe el
|
|
1239
|
+
* teclado). Aquí se adopta **siempre** la segunda forma — la raíz es
|
|
1240
|
+
* `<ius-card>` (div) y el área primaria es un `<button>` interno:
|
|
1241
|
+
*
|
|
1242
|
+
* - En Angular alternar la etiqueta raíz exige un `@if`/`@else`, y el contenido
|
|
1243
|
+
* proyectado (`[iusAccountItemName]`, `[iusAccountItemSubtitle]`) solo se
|
|
1244
|
+
* instancia en UNA rama: al cambiar `actions`/`trailing` en caliente —lo que
|
|
1245
|
+
* hace el playground— la proyección se perdería.
|
|
1246
|
+
* - El resultado accesible es el mismo que el del golden: un único botón real
|
|
1247
|
+
* que cubre la fila, con su `aria-label` y su `aria-pressed`, y el ⋮ como
|
|
1248
|
+
* control hermano alcanzable por teclado aparte. Nunca hay control anidado
|
|
1249
|
+
* en control, ni en el caso simple.
|
|
1250
|
+
* - Visualmente es idéntico: los estados se pintan sobre TODA la fila desde la
|
|
1251
|
+
* raíz (`data-actionable` + `:has(.ius-acctitem__main:active/:focus-visible)`),
|
|
1252
|
+
* que es exactamente lo que hace la rama `split` del golden.
|
|
1253
|
+
*
|
|
1254
|
+
* Para fila de acción/navegación → MenuItem; control de cuenta del HeaderBar →
|
|
1255
|
+
* NavUser. Primera carga → envolver en Skeleton (AccountItem no lleva
|
|
1256
|
+
* `loading` propio).
|
|
1257
|
+
*/
|
|
1258
|
+
declare class AccountItemComponent {
|
|
1259
|
+
/** Nombre de la cuenta. Para markup rico proyectar `[iusAccountItemName]`. */
|
|
1260
|
+
name?: string;
|
|
1261
|
+
/**
|
|
1262
|
+
* Subtítulo opcional (tipo, rol, dominio…). Ej. `Personal`. Para markup rico
|
|
1263
|
+
* proyectar `[iusAccountItemSubtitle]`.
|
|
1264
|
+
*/
|
|
1265
|
+
subtitle?: string;
|
|
1266
|
+
/** URL de la fotografía de la cuenta (pasa a `ius-avatar` como `src`). */
|
|
1267
|
+
avatar?: string;
|
|
1268
|
+
/** Ícono Material Symbols del medallón (sin foto/monograma/nombre cae a `account_circle`). */
|
|
1269
|
+
icon?: string;
|
|
1270
|
+
/** Monograma explícito. */
|
|
1271
|
+
monogram?: string;
|
|
1272
|
+
/** Familia de color del medallón; `auto` es estable por nombre. */
|
|
1273
|
+
color: IusAvatarColor;
|
|
1274
|
+
/** Forma del medallón. */
|
|
1275
|
+
shape: IusAvatarShape;
|
|
1276
|
+
/** Cuenta activa: fondo resaltado + check. */
|
|
1277
|
+
selected: boolean;
|
|
1278
|
+
/** Deshabilitada: la fila entera queda inerte (las acciones, visibles). */
|
|
1279
|
+
disabled: boolean;
|
|
1280
|
+
/** Acciones secundarias en el menú ⋮ del borde derecho. */
|
|
1281
|
+
actions: IusAccountItemAction[];
|
|
1282
|
+
/** aria del menú de acciones. */
|
|
1283
|
+
actionsLabel: string;
|
|
1284
|
+
/** Estado forzado — solo demos. */
|
|
1285
|
+
state?: IusAccountItemState;
|
|
1286
|
+
/** Nombre accesible del área primaria (anula el derivado del nombre). */
|
|
1287
|
+
ariaLabel?: string;
|
|
1288
|
+
/** Fila pulsada (original `onClick`). */
|
|
1289
|
+
readonly clicked: EventEmitter<MouseEvent>;
|
|
1290
|
+
private readonly nameRef;
|
|
1291
|
+
private readonly subtitleRef;
|
|
1292
|
+
private readonly trailingRef;
|
|
1293
|
+
/** Fila viva: hay quien escuche el clic y no está deshabilitada. */
|
|
1294
|
+
protected get actionable(): boolean;
|
|
1295
|
+
protected get hasSubtitle(): boolean;
|
|
1296
|
+
protected get hasTrailing(): boolean;
|
|
1297
|
+
protected get showMenu(): boolean;
|
|
1298
|
+
/** El monograma explícito gana: entonces el nombre no alimenta las iniciales. */
|
|
1299
|
+
protected get avatarName(): string | undefined;
|
|
1300
|
+
/** Sin foto/monograma/nombre, el medallón cae al ícono genérico de cuenta. */
|
|
1301
|
+
protected get effIcon(): string | undefined;
|
|
1302
|
+
/** `Cuenta <nombre>` como nombre accesible por defecto (verbatim del golden). */
|
|
1303
|
+
protected get label(): string;
|
|
1304
|
+
/** El golden solo declara `aria-pressed` cuando la cuenta está activa. */
|
|
1305
|
+
protected get ariaPressed(): string | null;
|
|
1306
|
+
/** aria del IconButton ⋮ — nombra la cuenta cuando la hay. */
|
|
1307
|
+
protected get menuLabel(): string;
|
|
1308
|
+
protected onMainClick(event: MouseEvent): void;
|
|
1309
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccountItemComponent, never>;
|
|
1310
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccountItemComponent, "ius-account-item", never, { "name": { "alias": "name"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "monogram": { "alias": "monogram"; "required": false; }; "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "actionsLabel": { "alias": "actionsLabel"; "required": false; }; "state": { "alias": "state"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "clicked": "clicked"; }, ["nameRef", "subtitleRef", "trailingRef"], ["[iusAccountItemName]", "[iusAccountItemSubtitle]", "[iusAccountItemTrailing]"], true, never>;
|
|
1311
|
+
static ngAcceptInputType_selected: unknown;
|
|
1312
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/** Tono del relleno. */
|
|
1316
|
+
type IusLinearProgressTone = 'info' | 'primary' | 'success' | 'warning' | 'danger';
|
|
1317
|
+
/** Grosor de la barra — 4 · 6 · 8 · 12 px. */
|
|
1318
|
+
type IusLinearProgressSize = 'small' | 'medium' | 'large' | 'xl';
|
|
1319
|
+
/** Porción de una barra segmentada (bolsas de un plan). */
|
|
1320
|
+
interface IusLinearProgressSegment {
|
|
1321
|
+
value: number;
|
|
1322
|
+
label?: string;
|
|
1323
|
+
/** Texto del valor en la leyenda; anula el formateo `es-CO` (GB, horas…). */
|
|
1324
|
+
valueLabel?: string;
|
|
1325
|
+
tone?: string;
|
|
1326
|
+
/** Color a medida; gana sobre `tone`. */
|
|
1327
|
+
color?: string;
|
|
1328
|
+
}
|
|
1329
|
+
/** Color de un segmento: `color` a medida > `tone` del catálogo > ciclo por posición. */
|
|
1330
|
+
declare function iusSegColor(seg: IusLinearProgressSegment, index: number): string;
|
|
1331
|
+
/**
|
|
1332
|
+
* LinearProgressBar — Ius Design v2 (familia feedback).
|
|
1333
|
+
*
|
|
1334
|
+
* Barra lineal con cuatro modos, en este orden de precedencia:
|
|
1335
|
+
* `indeterminate` > `segments` > `step/steps` > `value/max`. El modo segmentado
|
|
1336
|
+
* apila bolsas de un plan (con leyenda opcional) y lo no asignado queda como
|
|
1337
|
+
* pista gris. Fuente de verdad: `LinearProgressBar.jsx` + `.d.ts` + ng-spec.
|
|
1338
|
+
*
|
|
1339
|
+
* Para calificación discreta → Rate; estado transitorio de un botón → `dynamic`
|
|
1340
|
+
* del Button.
|
|
1341
|
+
*/
|
|
1342
|
+
declare class LinearProgressBarComponent implements OnChanges, OnDestroy {
|
|
1343
|
+
/** Progreso sobre `max`. */
|
|
1344
|
+
value: number;
|
|
1345
|
+
max: number;
|
|
1346
|
+
/** Modo pasos: el porcentaje sale de `step/steps`. */
|
|
1347
|
+
step?: number;
|
|
1348
|
+
steps?: number;
|
|
1349
|
+
/** Modo segmentado (stacked). */
|
|
1350
|
+
segments?: IusLinearProgressSegment[];
|
|
1351
|
+
/** Leyenda (punto + etiqueta + valor) bajo la barra segmentada. */
|
|
1352
|
+
showLegend: boolean;
|
|
1353
|
+
/** Los segmentos crecen desde 0 al montar (respeta reduced-motion). */
|
|
1354
|
+
animate: boolean;
|
|
1355
|
+
/** Retraso en ms antes de animar — para esperar a que abra un sheet. */
|
|
1356
|
+
animateDelay: number;
|
|
1357
|
+
tone: IusLinearProgressTone;
|
|
1358
|
+
size: IusLinearProgressSize;
|
|
1359
|
+
/** Relleno deslizante; ignora `value`. */
|
|
1360
|
+
indeterminate: boolean;
|
|
1361
|
+
/** Etiqueta sobre la barra, a la izquierda. */
|
|
1362
|
+
label?: string;
|
|
1363
|
+
/** Valor a la derecha (`N%` o `step/steps`). */
|
|
1364
|
+
showValue: boolean;
|
|
1365
|
+
ariaLabel?: string;
|
|
1366
|
+
private readonly zone;
|
|
1367
|
+
private readonly formato;
|
|
1368
|
+
/** Los segmentos parten en 0 y crecen; sin animación nacen ya medidos. */
|
|
1369
|
+
protected readonly montado: _angular_core.WritableSignal<boolean>;
|
|
1370
|
+
private raf?;
|
|
1371
|
+
private timer?;
|
|
1372
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1373
|
+
ngOnDestroy(): void;
|
|
1374
|
+
protected get esSegmentado(): boolean;
|
|
1375
|
+
/** Suma de las porciones; la barra nunca se pasa de aquí. */
|
|
1376
|
+
protected get sumaSegmentos(): number;
|
|
1377
|
+
/** El `max` manda solo si deja hueco libre; si no, el total es la suma. */
|
|
1378
|
+
protected get totalSegmentos(): number;
|
|
1379
|
+
/** Hueco sin asignar: se pinta como pista gris. */
|
|
1380
|
+
protected get restante(): number;
|
|
1381
|
+
protected get porcentaje(): number;
|
|
1382
|
+
protected get porcentajeRedondeado(): number;
|
|
1383
|
+
protected get hayMeta(): boolean;
|
|
1384
|
+
/** El valor de la derecha: `paso/pasos` en modo pasos, `N%` en el resto. */
|
|
1385
|
+
protected get textoValor(): string;
|
|
1386
|
+
protected get ariaLabelEfectivo(): string;
|
|
1387
|
+
protected get valorMaximoAria(): number;
|
|
1388
|
+
protected get valorActualAria(): number;
|
|
1389
|
+
/** Ancho de una porción; en 0 mientras no haya montado, para que crezca. */
|
|
1390
|
+
protected anchoSegmento(seg: IusLinearProgressSegment): string;
|
|
1391
|
+
protected colorSegmento(seg: IusLinearProgressSegment, index: number): string;
|
|
1392
|
+
/** El `valueLabel` del segmento se imprime tal cual; el número se localiza. */
|
|
1393
|
+
protected valorLeyenda(seg: IusLinearProgressSegment): string;
|
|
1394
|
+
private fmt;
|
|
1395
|
+
private programarCrecimiento;
|
|
1396
|
+
private cancelarCrecimiento;
|
|
1397
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LinearProgressBarComponent, never>;
|
|
1398
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LinearProgressBarComponent, "ius-linear-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "showLegend": { "alias": "showLegend"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "animateDelay": { "alias": "animateDelay"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "size": { "alias": "size"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
1399
|
+
static ngAcceptInputType_value: unknown;
|
|
1400
|
+
static ngAcceptInputType_max: unknown;
|
|
1401
|
+
static ngAcceptInputType_step: unknown;
|
|
1402
|
+
static ngAcceptInputType_steps: unknown;
|
|
1403
|
+
static ngAcceptInputType_showLegend: unknown;
|
|
1404
|
+
static ngAcceptInputType_animate: unknown;
|
|
1405
|
+
static ngAcceptInputType_animateDelay: unknown;
|
|
1406
|
+
static ngAcceptInputType_indeterminate: unknown;
|
|
1407
|
+
static ngAcceptInputType_showValue: unknown;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* Opción de menú — tipo **compartido** por Menu, Dropdown y ContextMenu.
|
|
1412
|
+
*
|
|
1413
|
+
* `trailing` acepta texto plano o un `TemplateRef` (equivalente Angular del
|
|
1414
|
+
* slot/ReactNode del golden, según la regla de port `render` → `TemplateRef`).
|
|
1415
|
+
*/
|
|
1416
|
+
interface IusMenuOption {
|
|
1417
|
+
/** Valor lógico — el que viaja en `valueChange` y marca el check. */
|
|
1418
|
+
value?: string | number;
|
|
1419
|
+
/** Clave de `@for`; si falta se usa `value` y, en último caso, el índice. */
|
|
1420
|
+
key?: string | number;
|
|
1421
|
+
/** Ícono Material Symbols a la izquierda. */
|
|
1422
|
+
icon?: string;
|
|
1423
|
+
/** Texto de la fila. */
|
|
1424
|
+
label?: string;
|
|
1425
|
+
/** Contenido al final de la fila (atajo, valor, chevron). */
|
|
1426
|
+
trailing?: string | TemplateRef<unknown>;
|
|
1427
|
+
/** Al cambiar de grupo se inserta un divisor. */
|
|
1428
|
+
group?: string | number;
|
|
1429
|
+
/** Divisor explícito (la fila no se renderiza). */
|
|
1430
|
+
separator?: boolean;
|
|
1431
|
+
/** Acción destructiva (rojo). */
|
|
1432
|
+
danger?: boolean;
|
|
1433
|
+
/** Fila inerte. */
|
|
1434
|
+
disabled?: boolean;
|
|
1435
|
+
/** Acción propia de la opción. */
|
|
1436
|
+
onClick?: (event: MouseEvent) => void;
|
|
1437
|
+
}
|
|
1438
|
+
/** Fila resuelta o divisor — lo que realmente pinta la plantilla. */
|
|
1439
|
+
interface IusMenuRow {
|
|
1440
|
+
kind: 'separator' | 'item';
|
|
1441
|
+
key: string;
|
|
1442
|
+
item?: IusMenuOption;
|
|
1443
|
+
selected?: boolean;
|
|
1444
|
+
}
|
|
1445
|
+
/**
|
|
1446
|
+
* Menu — Ius Design v2 (familia overlays). **SUPERFICIE compartida de menú.**
|
|
1447
|
+
*
|
|
1448
|
+
* Lista de **MenuItem** con encabezado opcional, divisores, grupos, ítems
|
|
1449
|
+
* peligrosos/deshabilitados y modo selección única (check a la derecha). Es el
|
|
1450
|
+
* cuerpo que **Dropdown** ancla a un disparador y **ContextMenu** ancla al
|
|
1451
|
+
* cursor: por sí sola **no se posiciona ni gestiona apertura**.
|
|
1452
|
+
*
|
|
1453
|
+
* Fuente de verdad: `Menu.jsx` + `Menu.d.ts` + `Menu.ng-spec.md`. Las filas se
|
|
1454
|
+
* renderizan con `size="small"` y `variant="menu"`, como el golden.
|
|
1455
|
+
*/
|
|
1456
|
+
declare class MenuComponent {
|
|
1457
|
+
/** Opciones del menú (tipo compartido con Dropdown/ContextMenu). */
|
|
1458
|
+
readonly items: _angular_core.InputSignal<readonly IusMenuOption[]>;
|
|
1459
|
+
/** Selección única: marca `value` con un check. */
|
|
1460
|
+
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1461
|
+
/** Valor elegido en modo `selectable`. */
|
|
1462
|
+
readonly value: _angular_core.InputSignal<string | number | undefined>;
|
|
1463
|
+
/** Encabezado visual del menú. */
|
|
1464
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
1465
|
+
/** Etiqueta accesible de la superficie. */
|
|
1466
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1467
|
+
/** Modo `selectable` — espejo de `onChange`. */
|
|
1468
|
+
readonly valueChange: _angular_core.OutputEmitterRef<{
|
|
1469
|
+
value: string | number | undefined;
|
|
1470
|
+
item: IusMenuOption;
|
|
1471
|
+
}>;
|
|
1472
|
+
/** Tras activar un ítem — Dropdown/ContextMenu lo usan para cerrar. */
|
|
1473
|
+
readonly itemClick: _angular_core.OutputEmitterRef<{
|
|
1474
|
+
item: IusMenuOption;
|
|
1475
|
+
event: MouseEvent;
|
|
1476
|
+
}>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Aplana `items` a filas pintables insertando los divisores de grupo: al
|
|
1479
|
+
* cambiar `group` respecto de la fila anterior se mete un separador (el
|
|
1480
|
+
* primer ítem nunca lo lleva), y `separator: true` es un divisor explícito.
|
|
1481
|
+
*/
|
|
1482
|
+
protected readonly rows: _angular_core.Signal<IusMenuRow[]>;
|
|
1483
|
+
/** `trailing` como TemplateRef (slot rico) — si no, se pinta como texto. */
|
|
1484
|
+
protected trailingTpl(item: IusMenuOption): TemplateRef<unknown> | null;
|
|
1485
|
+
/** `trailing` como texto plano (atajo, valor corto). */
|
|
1486
|
+
protected trailingText(item: IusMenuOption): string | null;
|
|
1487
|
+
protected onItemClick(row: IusMenuRow, event: MouseEvent): void;
|
|
1488
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
1489
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuComponent, "ius-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "itemClick": "itemClick"; }, never, never, true, never>;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
/** Familia de color del disparador por defecto. */
|
|
1493
|
+
type IusDropdownTone = 'primary' | 'neutral';
|
|
1494
|
+
/** Tratamiento del disparador por defecto. */
|
|
1495
|
+
type IusDropdownVariant = 'ghost' | 'outline';
|
|
1496
|
+
/** Opción del Dropdown — el tipo compartido de Menu/ContextMenu. */
|
|
1497
|
+
type IusDropdownItem = IusMenuOption;
|
|
1498
|
+
/**
|
|
1499
|
+
* Marca un disparador propio, en lugar del ghost texto+chevron por defecto:
|
|
1500
|
+
* `<ius-dropdown><ius-icon-button iusDropdownTrigger …/></ius-dropdown>`.
|
|
1501
|
+
*/
|
|
1502
|
+
declare class IusDropdownTriggerDirective {
|
|
1503
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusDropdownTriggerDirective, never>;
|
|
1504
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusDropdownTriggerDirective, "[iusDropdownTrigger]", never, {}, {}, never, never, true, never>;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Dropdown — Ius Design v2 (familia overlays).
|
|
1508
|
+
*
|
|
1509
|
+
* Menú desplegable accionable: un disparador abre un **Popover** (sin rabito,
|
|
1510
|
+
* `bottom-start` por defecto) con una superficie **Menu**. Dos modos: **acciones**
|
|
1511
|
+
* (cada ítem ejecuta y cierra) y **selección única** (`selectable`, check en la
|
|
1512
|
+
* activa y la etiqueta elegida en el disparador).
|
|
1513
|
+
*
|
|
1514
|
+
* El disparador por defecto es un botón ghost texto+chevron (el chevron gira al
|
|
1515
|
+
* abrir); `variant="outline"` replica el contenedor del botón de QueryBuilder
|
|
1516
|
+
* (mismo borde/radio/padding/altura) para encajar en barras y SegmentGroup. Con
|
|
1517
|
+
* `[iusDropdownTrigger]` se proyecta un disparador propio.
|
|
1518
|
+
*
|
|
1519
|
+
* No es campo de formulario — eso es **Select**; para una sola acción →
|
|
1520
|
+
* Button/IconButton. Fuente de verdad: `Dropdown.jsx` + `Dropdown.d.ts` +
|
|
1521
|
+
* `Dropdown.ng-spec.md`.
|
|
1522
|
+
*/
|
|
1523
|
+
declare class DropdownComponent {
|
|
1524
|
+
/** Opciones del menú (mismo shape que `MenuOption`). */
|
|
1525
|
+
readonly items: _angular_core.InputSignal<readonly IusMenuOption[]>;
|
|
1526
|
+
/** Selección única: marca la opción activa con un check. */
|
|
1527
|
+
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1528
|
+
/** Valor elegido en modo `selectable`. */
|
|
1529
|
+
readonly value: _angular_core.InputSignal<string | number | undefined>;
|
|
1530
|
+
/** Encabezado del menú (y texto del disparador por defecto si no hay elegida). */
|
|
1531
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
1532
|
+
/** Texto del disparador por defecto (gana sobre la opción elegida y `label`). */
|
|
1533
|
+
readonly triggerLabel: _angular_core.InputSignal<string | undefined>;
|
|
1534
|
+
/** Ícono Material Symbols del disparador por defecto. */
|
|
1535
|
+
readonly triggerIcon: _angular_core.InputSignal<string | undefined>;
|
|
1536
|
+
/** Familia de color del disparador por defecto. */
|
|
1537
|
+
readonly tone: _angular_core.InputSignal<IusDropdownTone>;
|
|
1538
|
+
/** Tratamiento del disparador por defecto. */
|
|
1539
|
+
readonly variant: _angular_core.InputSignal<IusDropdownVariant>;
|
|
1540
|
+
/** Colocación del panel respecto del disparador. */
|
|
1541
|
+
readonly placement: _angular_core.InputSignal<IusPopoverPlacement>;
|
|
1542
|
+
/** Modo controlado (`undefined` = no controlado con `defaultOpen`). */
|
|
1543
|
+
readonly open: _angular_core.InputSignal<boolean | undefined>;
|
|
1544
|
+
/** Estado inicial del modo no controlado. */
|
|
1545
|
+
readonly defaultOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1546
|
+
/** Etiqueta accesible del disparador por defecto. */
|
|
1547
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1548
|
+
/** Modo `selectable` — espejo de `onChange`. */
|
|
1549
|
+
readonly valueChange: _angular_core.OutputEmitterRef<{
|
|
1550
|
+
value: string | number | undefined;
|
|
1551
|
+
item: IusDropdownItem;
|
|
1552
|
+
}>;
|
|
1553
|
+
/** Apertura/cierre del panel. */
|
|
1554
|
+
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1555
|
+
protected readonly customTrigger: _angular_core.Signal<IusDropdownTriggerDirective | undefined>;
|
|
1556
|
+
/** `null` = el usuario todavía no ha abierto/cerrado → manda `defaultOpen`. */
|
|
1557
|
+
private readonly internalOpen;
|
|
1558
|
+
/** Controlado por `open` si viene definido; si no, estado interno. */
|
|
1559
|
+
protected readonly isOpen: _angular_core.Signal<boolean>;
|
|
1560
|
+
/** Opción activa en modo `selectable` — alimenta el texto del disparador. */
|
|
1561
|
+
private readonly current;
|
|
1562
|
+
/** `triggerLabel` › etiqueta de la opción elegida › `label`. */
|
|
1563
|
+
protected readonly triggerText: _angular_core.Signal<string | undefined>;
|
|
1564
|
+
/** El encabezado del menú solo aplica en modo selección (como el golden). */
|
|
1565
|
+
protected readonly menuLabel: _angular_core.Signal<string | undefined>;
|
|
1566
|
+
protected onOpenChange(open: boolean): void;
|
|
1567
|
+
protected onValueChange(payload: {
|
|
1568
|
+
value: string | number | undefined;
|
|
1569
|
+
item: IusMenuOption;
|
|
1570
|
+
}): void;
|
|
1571
|
+
/** Activar un ítem cierra el panel (acciones y selección). */
|
|
1572
|
+
protected onItemClick(): void;
|
|
1573
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
1574
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownComponent, "ius-dropdown", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "triggerLabel": { "alias": "triggerLabel"; "required": false; "isSignal": true; }; "triggerIcon": { "alias": "triggerIcon"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "openChange": "openChange"; }, ["customTrigger"], ["[iusDropdownTrigger]"], true, never>;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
/** Tratamiento del indicador: punto de color · píldora tonal · píldora neutra. */
|
|
1578
|
+
type IusInsigniaVariant = 'dot' | 'count' | 'count-soft';
|
|
1579
|
+
/** Familia de color: 6 semánticas + 6 frutas categóricas. */
|
|
1580
|
+
type IusInsigniaTone = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'neutral' | 'durazno' | 'banano' | 'sandia' | 'arandano' | 'uva' | 'aguacate';
|
|
1581
|
+
/** Tamaño. */
|
|
1582
|
+
type IusInsigniaSize = 'small' | 'medium' | 'large';
|
|
1583
|
+
/**
|
|
1584
|
+
* Insignia — Ius Design v2 (familia feedback).
|
|
1585
|
+
*
|
|
1586
|
+
* Indicador atómico de estado o actividad: punto de color (`dot`) o píldora de
|
|
1587
|
+
* contador (`count` tonal · `count-soft` suave), con `label` opcional al lado.
|
|
1588
|
+
* Display puro — sin outputs. Fuente de verdad: `Insignia.jsx` + `Insignia.d.ts`
|
|
1589
|
+
* + `Insignia.ng-spec.md`.
|
|
1590
|
+
*
|
|
1591
|
+
* Para etiqueta con texto contenedor → Tag; para token removible en un campo →
|
|
1592
|
+
* Chip. La consume MenuItem (badge) y la barra de navegación.
|
|
1593
|
+
*/
|
|
1594
|
+
declare class InsigniaComponent {
|
|
1595
|
+
/** Punto de color · píldora tonal · píldora neutra. */
|
|
1596
|
+
readonly variant: _angular_core.InputSignal<IusInsigniaVariant>;
|
|
1597
|
+
/** Familia de color. */
|
|
1598
|
+
readonly tone: _angular_core.InputSignal<IusInsigniaTone>;
|
|
1599
|
+
/** Tamaño. */
|
|
1600
|
+
readonly size: _angular_core.InputSignal<IusInsigniaSize>;
|
|
1601
|
+
/** Texto junto al indicador (alternativa a proyectar contenido). */
|
|
1602
|
+
readonly label: _angular_core.InputSignal<string | number | undefined>;
|
|
1603
|
+
/** Valor del contador (variantes `count` / `count-soft`). */
|
|
1604
|
+
readonly count: _angular_core.InputSignal<string | number | undefined>;
|
|
1605
|
+
/** Tope antes de mostrar `N+`. */
|
|
1606
|
+
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
1607
|
+
/** Halo suave alrededor del punto (solo `dot`). */
|
|
1608
|
+
readonly ring: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1609
|
+
/** Recomendada cuando no hay `label`. */
|
|
1610
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
1611
|
+
/** `count`/`count-soft` renderizan píldora; `dot` renderiza punto. */
|
|
1612
|
+
protected readonly isCount: _angular_core.Signal<boolean>;
|
|
1613
|
+
/** El halo es exclusivo del punto (el golden lo ignora en las píldoras). */
|
|
1614
|
+
protected readonly showRing: _angular_core.Signal<boolean>;
|
|
1615
|
+
/** `count > max` → `${max}+`; los valores string pasan tal cual. */
|
|
1616
|
+
protected readonly displayCount: _angular_core.Signal<string | number | undefined>;
|
|
1617
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InsigniaComponent, never>;
|
|
1618
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InsigniaComponent, "ius-insignia", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "ring": { "alias": "ring"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
/** Estado del servicio contratado. */
|
|
1622
|
+
type IusPlanUsageStatus = 'active' | 'inactive' | 'suspended' | 'overdue';
|
|
1623
|
+
/** Dónde se muestra la distribución de segmentos. */
|
|
1624
|
+
type IusPlanUsageLegend = 'popover' | 'inline';
|
|
1625
|
+
/** Acción del encabezado (a la derecha del estado). */
|
|
1626
|
+
interface IusPlanUsageAction {
|
|
1627
|
+
key: string;
|
|
1628
|
+
icon: string;
|
|
1629
|
+
ariaLabel: string;
|
|
1630
|
+
tooltip?: string;
|
|
1631
|
+
variant?: IusIconButtonVariant;
|
|
1632
|
+
disabled?: boolean;
|
|
1633
|
+
onClick?: (event: MouseEvent) => void;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* PlanUsageItem — Ius Design v2 (familia data-display).
|
|
1637
|
+
*
|
|
1638
|
+
* Consumo de un servicio/plan: servicio (overline) · plan + estado · barra de
|
|
1639
|
+
* uso con su distribución · totales. Tiene dos modos excluyentes: **plan**
|
|
1640
|
+
* (`segments`, con barra y caption de disponibles) y **medido** (`note`, sin
|
|
1641
|
+
* barra). Fuente de verdad: `PlanUsageItem.jsx` + `.d.ts` + ng-spec.
|
|
1642
|
+
*
|
|
1643
|
+
* Card rica: NO se monta sobre `ius-card`. Barra suelta → LinearProgressBar;
|
|
1644
|
+
* estado suelto → Insignia.
|
|
1645
|
+
*/
|
|
1646
|
+
declare class PlanUsageItemComponent {
|
|
1647
|
+
/** Overline: el servicio (p. ej. «Vigilancia judicial»). */
|
|
1648
|
+
service?: string;
|
|
1649
|
+
/** Nombre del plan o modo de consumo. */
|
|
1650
|
+
plan?: string;
|
|
1651
|
+
/** Ayuda del plan, en un popover sobre el «?». */
|
|
1652
|
+
planHelp?: string;
|
|
1653
|
+
status: IusPlanUsageStatus;
|
|
1654
|
+
/** Modo plan: máximo de la barra. */
|
|
1655
|
+
total?: number;
|
|
1656
|
+
/** Modo plan: alimenta el caption «Disponible X de Y». */
|
|
1657
|
+
available?: number;
|
|
1658
|
+
/** Modo plan: porciones de la barra. Su presencia es lo que enciende la barra. */
|
|
1659
|
+
segments?: IusLinearProgressSegment[];
|
|
1660
|
+
/** Grosor SOLO de la barra; no cambia la densidad del ítem. */
|
|
1661
|
+
barSize: IusLinearProgressSize;
|
|
1662
|
+
legend: IusPlanUsageLegend;
|
|
1663
|
+
/** Modo medido (sin barra): «Consumo este mes 300». */
|
|
1664
|
+
note?: string;
|
|
1665
|
+
/** Acciones del encabezado, en orden, tras el estado. */
|
|
1666
|
+
actions?: IusPlanUsageAction[];
|
|
1667
|
+
/** Acciones inline antes de colapsar en ⋮ (deja `max-1` inline + menú). */
|
|
1668
|
+
maxInlineActions: number;
|
|
1669
|
+
/** Retraso de la animación de la barra — para esperar a que abra el sheet. */
|
|
1670
|
+
animateDelay: number;
|
|
1671
|
+
/** Separador superior. */
|
|
1672
|
+
divided: boolean;
|
|
1673
|
+
/**
|
|
1674
|
+
* Atajo DEPRECADO de una sola acción (original `onOptions`). Se normaliza a
|
|
1675
|
+
* una entrada de `actions`; si vienen ambos, `actions` gana. Preferir `actions`.
|
|
1676
|
+
*/
|
|
1677
|
+
readonly options: EventEmitter<MouseEvent>;
|
|
1678
|
+
/** Solo acompaña a `options` (deprecado). */
|
|
1679
|
+
optionsAriaLabel: string;
|
|
1680
|
+
/** Solo acompaña a `options` (deprecado). */
|
|
1681
|
+
optionsTooltip?: string;
|
|
1682
|
+
private readonly formato;
|
|
1683
|
+
protected get estado(): {
|
|
1684
|
+
tone: IusInsigniaTone;
|
|
1685
|
+
label: string;
|
|
1686
|
+
};
|
|
1687
|
+
/** La barra existe solo si hay porciones que pintar. */
|
|
1688
|
+
protected get hayBarra(): boolean;
|
|
1689
|
+
protected get leyendaInline(): boolean;
|
|
1690
|
+
protected get leyendaEnPopover(): boolean;
|
|
1691
|
+
/** `actions` manda; sin ellas, el `options` deprecado se vuelve una acción única. */
|
|
1692
|
+
private get acciones();
|
|
1693
|
+
/** Por encima del máximo, deja `max-1` visibles y el resto va al menú ⋮. */
|
|
1694
|
+
protected get accionesInline(): IusPlanUsageAction[];
|
|
1695
|
+
protected get accionesOverflow(): IusPlanUsageAction[];
|
|
1696
|
+
protected get itemsOverflow(): IusDropdownItem[];
|
|
1697
|
+
/**
|
|
1698
|
+
* El caption de totales y la nota son excluyentes: con barra y totales, el
|
|
1699
|
+
* caption gana y la nota no se pinta.
|
|
1700
|
+
*/
|
|
1701
|
+
protected get hayCaption(): boolean;
|
|
1702
|
+
protected get hayNota(): boolean;
|
|
1703
|
+
protected colorSegmento(seg: IusLinearProgressSegment, index: number): string;
|
|
1704
|
+
/** `valueLabel` se imprime tal cual (GB, horas…); el número se localiza. */
|
|
1705
|
+
protected valorLeyenda(seg: IusLinearProgressSegment): string;
|
|
1706
|
+
protected fmt(v?: number): string;
|
|
1707
|
+
protected onAccion(accion: IusPlanUsageAction, event: MouseEvent): void;
|
|
1708
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PlanUsageItemComponent, never>;
|
|
1709
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PlanUsageItemComponent, "ius-plan-usage-item", never, { "service": { "alias": "service"; "required": false; }; "plan": { "alias": "plan"; "required": false; }; "planHelp": { "alias": "planHelp"; "required": false; }; "status": { "alias": "status"; "required": false; }; "total": { "alias": "total"; "required": false; }; "available": { "alias": "available"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "barSize": { "alias": "barSize"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "note": { "alias": "note"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "maxInlineActions": { "alias": "maxInlineActions"; "required": false; }; "animateDelay": { "alias": "animateDelay"; "required": false; }; "divided": { "alias": "divided"; "required": false; }; "optionsAriaLabel": { "alias": "optionsAriaLabel"; "required": false; }; "optionsTooltip": { "alias": "optionsTooltip"; "required": false; }; }, { "options": "options"; }, never, never, true, never>;
|
|
1710
|
+
static ngAcceptInputType_total: unknown;
|
|
1711
|
+
static ngAcceptInputType_available: unknown;
|
|
1712
|
+
static ngAcceptInputType_maxInlineActions: unknown;
|
|
1713
|
+
static ngAcceptInputType_animateDelay: unknown;
|
|
1714
|
+
static ngAcceptInputType_divided: unknown;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
/** Cuenta activa del encabezado. */
|
|
1718
|
+
interface IusUserMenuAccount {
|
|
1719
|
+
name?: string;
|
|
1720
|
+
/** Identificador visible; su presencia habilita el chip que copia al portapapeles. */
|
|
1721
|
+
id?: string | number;
|
|
1722
|
+
role?: string;
|
|
1723
|
+
icon?: string;
|
|
1724
|
+
monogram?: string;
|
|
1725
|
+
color?: IusAvatarColor;
|
|
1726
|
+
avatar?: string;
|
|
1727
|
+
}
|
|
1728
|
+
/** Identidad de la persona. */
|
|
1729
|
+
interface IusUserMenuUser {
|
|
1730
|
+
name?: string;
|
|
1731
|
+
email?: string;
|
|
1732
|
+
avatar?: string;
|
|
1733
|
+
}
|
|
1734
|
+
/** Consumo de un servicio — se pinta con `ius-plan-usage-item`. */
|
|
1735
|
+
interface IusUserMenuService {
|
|
1736
|
+
service?: string;
|
|
1737
|
+
plan?: string;
|
|
1738
|
+
planHelp?: string;
|
|
1739
|
+
status?: IusPlanUsageStatus;
|
|
1740
|
+
total?: number;
|
|
1741
|
+
available?: number;
|
|
1742
|
+
segments?: IusLinearProgressSegment[];
|
|
1743
|
+
barSize?: IusLinearProgressSize;
|
|
1744
|
+
legend?: IusPlanUsageLegend;
|
|
1745
|
+
note?: string;
|
|
1746
|
+
}
|
|
1747
|
+
/** Acción de cuenta del cuerpo — se pinta con `ius-menu-item`. */
|
|
1748
|
+
interface IusUserMenuItem {
|
|
1749
|
+
key?: string | number;
|
|
1750
|
+
icon?: string;
|
|
1751
|
+
label?: string;
|
|
1752
|
+
danger?: boolean;
|
|
1753
|
+
disabled?: boolean;
|
|
1754
|
+
onClick?: (event: MouseEvent) => void;
|
|
1755
|
+
}
|
|
1756
|
+
/** Cuenta de la vista «Cambiar de cuenta» — se pinta con `ius-account-item`. */
|
|
1757
|
+
interface IusUserMenuAccountOption {
|
|
1758
|
+
id?: string | number;
|
|
1759
|
+
name?: string;
|
|
1760
|
+
subtitle?: string;
|
|
1761
|
+
avatar?: string;
|
|
1762
|
+
icon?: string;
|
|
1763
|
+
monogram?: string;
|
|
1764
|
+
color?: IusAvatarColor;
|
|
1765
|
+
/** Forma del medallón; el golden la propaga a AccountItem como cualquier otra prop. */
|
|
1766
|
+
shape?: IusAvatarShape;
|
|
1767
|
+
selected?: boolean;
|
|
1768
|
+
disabled?: boolean;
|
|
1769
|
+
actions?: IusAccountItemAction[];
|
|
1770
|
+
}
|
|
1771
|
+
/** Origen de la entrada del panel. */
|
|
1772
|
+
type IusUserMenuOrigin = 'right' | 'top-right';
|
|
1773
|
+
/** Reemplaza el pie por defecto (perfil · cambiar de cuenta · cerrar sesión). */
|
|
1774
|
+
declare class IusUserMenuFooterDirective {
|
|
1775
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusUserMenuFooterDirective, never>;
|
|
1776
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusUserMenuFooterDirective, "[iusUserMenuFooter]", never, {}, {}, never, never, true, never>;
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* UserMenu — Ius Design v2 (familia navigation).
|
|
1780
|
+
*
|
|
1781
|
+
* Panel global de **cuenta y sesión** que abre el `NavUser` del HeaderBar. De
|
|
1782
|
+
* arriba abajo: encabezado de cuenta (nombre, ID copiable, rol y correo),
|
|
1783
|
+
* consumos del plan (`ius-plan-usage-item` + «Mostrar más»), acciones de cuenta
|
|
1784
|
+
* (`ius-menu-item`) y un pie fijo para cambiar de cuenta / cerrar sesión. Con
|
|
1785
|
+
* `accounts` el propio panel conmuta a su **vista de cambio** en vez de emitir
|
|
1786
|
+
* `switchAccount`. Fuente de verdad: `UserMenu.jsx` + `.d.ts` + ng-spec.
|
|
1787
|
+
*
|
|
1788
|
+
* Es presentacional: **no filtra por rol** — quien lo usa pasa en `menu` solo
|
|
1789
|
+
* las entradas permitidas. Se monta vía CDK Overlay salvo en modo `inline`.
|
|
1790
|
+
*/
|
|
1791
|
+
declare class UserMenuComponent implements AfterViewInit, OnDestroy {
|
|
1792
|
+
/**
|
|
1793
|
+
* Panel con scrim; se portalea al overlay al abrir. La consulta NO es estática:
|
|
1794
|
+
* solo hace falta desde `ngAfterViewInit`, que es donde ocurre la primera
|
|
1795
|
+
* sincronización.
|
|
1796
|
+
*/
|
|
1797
|
+
private tpl;
|
|
1798
|
+
protected footerSlot?: IusUserMenuFooterDirective;
|
|
1799
|
+
account?: IusUserMenuAccount;
|
|
1800
|
+
user?: IusUserMenuUser;
|
|
1801
|
+
/** Consumos del plan. Sin ellos, la sección no existe. */
|
|
1802
|
+
services: IusUserMenuService[];
|
|
1803
|
+
/** Cuántos consumos se ven colapsado; el resto queda tras «Mostrar más». */
|
|
1804
|
+
collapsedCount: number;
|
|
1805
|
+
defaultExpanded: boolean;
|
|
1806
|
+
/** Acciones de cuenta. Solo las permitidas: el componente no filtra por rol. */
|
|
1807
|
+
menu: IusUserMenuItem[];
|
|
1808
|
+
/** Cuentas de la vista de cambio; su presencia la habilita. */
|
|
1809
|
+
accounts: IusUserMenuAccountOption[];
|
|
1810
|
+
private _open;
|
|
1811
|
+
/** Apertura controlada por quien lo usa. */
|
|
1812
|
+
set open(value: boolean);
|
|
1813
|
+
get open(): boolean;
|
|
1814
|
+
/** Sin portal ni scrim, embebido en el flujo (cards del DS, composición). */
|
|
1815
|
+
inline: boolean;
|
|
1816
|
+
scrim: boolean;
|
|
1817
|
+
closeOnScrim: boolean;
|
|
1818
|
+
closeOnEsc: boolean;
|
|
1819
|
+
/** Desplaza el panel y el scrim para no tapar el HeaderBar (p. ej. 52). */
|
|
1820
|
+
offsetTop: number;
|
|
1821
|
+
/** `top-right` ancla el panel a su lanzador del HeaderBar; `right` es sheet. */
|
|
1822
|
+
origin: IusUserMenuOrigin;
|
|
1823
|
+
/** «Perfil, preferencias y seguridad». */
|
|
1824
|
+
readonly profile: EventEmitter<MouseEvent>;
|
|
1825
|
+
/** Cuenta elegida en la vista de cambio. */
|
|
1826
|
+
readonly selectAccount: EventEmitter<{
|
|
1827
|
+
account: IusUserMenuAccountOption;
|
|
1828
|
+
index: number;
|
|
1829
|
+
event: MouseEvent;
|
|
1830
|
+
}>;
|
|
1831
|
+
readonly createAccount: EventEmitter<MouseEvent>;
|
|
1832
|
+
/** Solo se emite SIN `accounts`: con ellas el panel conmuta a su vista. */
|
|
1833
|
+
readonly switchAccount: EventEmitter<MouseEvent>;
|
|
1834
|
+
readonly logout: EventEmitter<MouseEvent>;
|
|
1835
|
+
/** Cierre solicitado: scrim o Esc. */
|
|
1836
|
+
readonly closed: EventEmitter<void>;
|
|
1837
|
+
private readonly overlay;
|
|
1838
|
+
private readonly viewContainerRef;
|
|
1839
|
+
/** Estado de animación: visible entra; asentado suelta el transform. */
|
|
1840
|
+
protected readonly visible: _angular_core.WritableSignal<boolean>;
|
|
1841
|
+
protected readonly asentado: _angular_core.WritableSignal<boolean>;
|
|
1842
|
+
protected readonly expandido: _angular_core.WritableSignal<boolean>;
|
|
1843
|
+
protected readonly vista: _angular_core.WritableSignal<"main" | "switch">;
|
|
1844
|
+
protected readonly copiado: _angular_core.WritableSignal<boolean>;
|
|
1845
|
+
private overlayRef;
|
|
1846
|
+
private keydownSub;
|
|
1847
|
+
private viewReady;
|
|
1848
|
+
private abierto;
|
|
1849
|
+
private timers;
|
|
1850
|
+
ngAfterViewInit(): void;
|
|
1851
|
+
ngOnDestroy(): void;
|
|
1852
|
+
protected get cuenta(): IusUserMenuAccount;
|
|
1853
|
+
protected get usuario(): IusUserMenuUser;
|
|
1854
|
+
/** Sin foto, monograma ni nombre, el medallón cae al ícono genérico. */
|
|
1855
|
+
protected get iconoCuenta(): string | undefined;
|
|
1856
|
+
/** Con monograma explícito no se deriva de `name`: no conviven dos convenciones. */
|
|
1857
|
+
protected get nombreMedallon(): string | undefined;
|
|
1858
|
+
protected get puedeExpandir(): boolean;
|
|
1859
|
+
protected get consumosVisibles(): IusUserMenuService[];
|
|
1860
|
+
protected get restantes(): number;
|
|
1861
|
+
/** Con cuentas conmuta la vista; sin ellas delega en quien lo usa. */
|
|
1862
|
+
protected get puedeCambiar(): boolean;
|
|
1863
|
+
protected get hayPie(): boolean;
|
|
1864
|
+
protected get estilosPanel(): Record<string, string> | null;
|
|
1865
|
+
protected get estilosScrim(): Record<string, string> | null;
|
|
1866
|
+
protected get origenEfectivo(): string | null;
|
|
1867
|
+
protected onCopiarId(): void;
|
|
1868
|
+
protected onToggleConsumos(): void;
|
|
1869
|
+
protected onItemMenu(item: IusUserMenuItem, event: MouseEvent): void;
|
|
1870
|
+
protected onCambiarCuenta(event: MouseEvent): void;
|
|
1871
|
+
protected onVolver(): void;
|
|
1872
|
+
protected onElegirCuenta(cuenta: IusUserMenuAccountOption, index: number, event: MouseEvent): void;
|
|
1873
|
+
protected onScrimClick(): void;
|
|
1874
|
+
private sync;
|
|
1875
|
+
private attach;
|
|
1876
|
+
private detach;
|
|
1877
|
+
private clearTimers;
|
|
1878
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserMenuComponent, never>;
|
|
1879
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserMenuComponent, "ius-user-menu", never, { "account": { "alias": "account"; "required": false; }; "user": { "alias": "user"; "required": false; }; "services": { "alias": "services"; "required": false; }; "collapsedCount": { "alias": "collapsedCount"; "required": false; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "accounts": { "alias": "accounts"; "required": false; }; "open": { "alias": "open"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "scrim": { "alias": "scrim"; "required": false; }; "closeOnScrim": { "alias": "closeOnScrim"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "offsetTop": { "alias": "offsetTop"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; }, { "profile": "profile"; "selectAccount": "selectAccount"; "createAccount": "createAccount"; "switchAccount": "switchAccount"; "logout": "logout"; "closed": "closed"; }, ["footerSlot"], ["[iusUserMenuFooter]"], true, never>;
|
|
1880
|
+
static ngAcceptInputType_collapsedCount: unknown;
|
|
1881
|
+
static ngAcceptInputType_defaultExpanded: unknown;
|
|
1882
|
+
static ngAcceptInputType_open: unknown;
|
|
1883
|
+
static ngAcceptInputType_inline: unknown;
|
|
1884
|
+
static ngAcceptInputType_scrim: unknown;
|
|
1885
|
+
static ngAcceptInputType_closeOnScrim: unknown;
|
|
1886
|
+
static ngAcceptInputType_closeOnEsc: unknown;
|
|
1887
|
+
static ngAcceptInputType_offsetTop: unknown;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1184
1890
|
/**
|
|
1185
1891
|
* HeaderBar — Ius Design v2.
|
|
1186
1892
|
*
|
|
@@ -2259,233 +2965,66 @@ declare class ListCardComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
|
2259
2965
|
* Opciones de uso frecuente en un menú de overflow (⋮, `more_vert`).
|
|
2260
2966
|
* Hover-only; se mantiene visible mientras su menú está abierto.
|
|
2261
2967
|
*/
|
|
2262
|
-
menu: IusListCardMenuItem[];
|
|
2263
|
-
/** Accesos PERSISTENTES (no hover): escudo/documento, etc. (IconButton). */
|
|
2264
|
-
markers: IusListCardMarker[];
|
|
2265
|
-
/** Muestra el chevron de navegación. Default: `true` si hay `(clicked)`. */
|
|
2266
|
-
chevron?: boolean;
|
|
2267
|
-
/** No leído: punto navy al inicio + título en negrita. */
|
|
2268
|
-
unread: boolean;
|
|
2269
|
-
/** Densidad. `medium` (default) hereda `--ius-density` del contexto. */
|
|
2270
|
-
size: IusListCardSize;
|
|
2271
|
-
/** Render personalizado de cada acción (original `renderAction`). */
|
|
2272
|
-
renderAction?: TemplateRef<{
|
|
2273
|
-
$implicit: IusListCardAction;
|
|
2274
|
-
index: number;
|
|
2275
|
-
}>;
|
|
2276
|
-
ariaLabel?: string;
|
|
2277
|
-
/** Click de la fila — navega a detalle (original `onClick`). */
|
|
2278
|
-
readonly clicked: EventEmitter<MouseEvent>;
|
|
2279
|
-
private readonly leadingRef;
|
|
2280
|
-
private readonly overlineRef;
|
|
2281
|
-
private readonly titleRef;
|
|
2282
|
-
private readonly subtitleRef;
|
|
2283
|
-
private readonly paragraphRef;
|
|
2284
|
-
protected get hasLeading(): boolean;
|
|
2285
|
-
protected get hasOverline(): boolean;
|
|
2286
|
-
protected get hasTitleRow(): boolean;
|
|
2287
|
-
protected get titleRefPresent(): boolean;
|
|
2288
|
-
protected get hasSubtitle(): boolean;
|
|
2289
|
-
protected get hasParagraph(): boolean;
|
|
2290
|
-
/** Navegable cuando el consumidor enlazó `(clicked)` (espejo de `onClick`). */
|
|
2291
|
-
protected get clickable(): boolean;
|
|
2292
|
-
/** Chevron: valor explícito o sigue a `clickable`. */
|
|
2293
|
-
protected get showChevron(): boolean;
|
|
2294
|
-
protected get hasTrail(): boolean;
|
|
2295
|
-
protected get statusChipSize(): 'small' | 'medium';
|
|
2296
|
-
/** Refleja la apertura del Dropdown en `data-menu-open` (hover-reveal persistente). */
|
|
2297
|
-
protected readonly menuOpen: _angular_core.WritableSignal<boolean>;
|
|
2298
|
-
protected onMenuOpenChange(open: boolean): void;
|
|
2299
|
-
protected onAction(action: IusListCardAction, event: MouseEvent): void;
|
|
2300
|
-
protected onMarker(marker: IusListCardMarker, event: MouseEvent): void;
|
|
2301
|
-
/** Discrimina el valor rico del field (el template no puede usar instanceof). */
|
|
2302
|
-
protected fieldTpl(field: IusListCardField): TemplateRef<unknown> | null;
|
|
2303
|
-
protected fieldWidth(field: IusListCardField): string | null;
|
|
2304
|
-
protected onHostClick(event: MouseEvent): void;
|
|
2305
|
-
/** Enter en keydown y Espacio en keyup activan SOLO con el foco en la fila. */
|
|
2306
|
-
protected onKeyActivate(event: Event): void;
|
|
2307
|
-
/** Espacio en keydown: solo evita el scroll; la activación ocurre en keyup. */
|
|
2308
|
-
protected onSpaceDown(event: Event): void;
|
|
2309
|
-
/** `true` cuando el bloque de `fields` cayó a la 2ª línea → divisor a lo ancho. */
|
|
2310
|
-
protected readonly wrapped: _angular_core.WritableSignal<boolean>;
|
|
2311
|
-
private resizeObserver?;
|
|
2312
|
-
private rafId;
|
|
2313
|
-
private viewReady;
|
|
2314
|
-
ngAfterViewInit(): void;
|
|
2315
|
-
ngOnChanges(): void;
|
|
2316
|
-
ngOnDestroy(): void;
|
|
2317
|
-
private scheduleMeasure;
|
|
2318
|
-
private measureWrap;
|
|
2319
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListCardComponent, never>;
|
|
2320
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListCardComponent, "ius-list-card", never, { "overline": { "alias": "overline"; "required": false; }; "overlineIcon": { "alias": "overlineIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleIcon": { "alias": "titleIcon"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "subtitleIcon": { "alias": "subtitleIcon"; "required": false; }; "paragraph": { "alias": "paragraph"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "status": { "alias": "status"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "markers": { "alias": "markers"; "required": false; }; "chevron": { "alias": "chevron"; "required": false; }; "unread": { "alias": "unread"; "required": false; }; "size": { "alias": "size"; "required": false; }; "renderAction": { "alias": "renderAction"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "clicked": "clicked"; }, ["leadingRef", "overlineRef", "titleRef", "subtitleRef", "paragraphRef"], ["[iusListCardLeading]", "[iusListCardOverline]", "[iusListCardTitle]", "[iusListCardSubtitle]", "[iusListCardParagraph]"], true, never>;
|
|
2321
|
-
static ngAcceptInputType_unread: unknown;
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
|
-
/**
|
|
2325
|
-
* Opción de menú — tipo **compartido** por Menu, Dropdown y ContextMenu.
|
|
2326
|
-
*
|
|
2327
|
-
* `trailing` acepta texto plano o un `TemplateRef` (equivalente Angular del
|
|
2328
|
-
* slot/ReactNode del golden, según la regla de port `render` → `TemplateRef`).
|
|
2329
|
-
*/
|
|
2330
|
-
interface IusMenuOption {
|
|
2331
|
-
/** Valor lógico — el que viaja en `valueChange` y marca el check. */
|
|
2332
|
-
value?: string | number;
|
|
2333
|
-
/** Clave de `@for`; si falta se usa `value` y, en último caso, el índice. */
|
|
2334
|
-
key?: string | number;
|
|
2335
|
-
/** Ícono Material Symbols a la izquierda. */
|
|
2336
|
-
icon?: string;
|
|
2337
|
-
/** Texto de la fila. */
|
|
2338
|
-
label?: string;
|
|
2339
|
-
/** Contenido al final de la fila (atajo, valor, chevron). */
|
|
2340
|
-
trailing?: string | TemplateRef<unknown>;
|
|
2341
|
-
/** Al cambiar de grupo se inserta un divisor. */
|
|
2342
|
-
group?: string | number;
|
|
2343
|
-
/** Divisor explícito (la fila no se renderiza). */
|
|
2344
|
-
separator?: boolean;
|
|
2345
|
-
/** Acción destructiva (rojo). */
|
|
2346
|
-
danger?: boolean;
|
|
2347
|
-
/** Fila inerte. */
|
|
2348
|
-
disabled?: boolean;
|
|
2349
|
-
/** Acción propia de la opción. */
|
|
2350
|
-
onClick?: (event: MouseEvent) => void;
|
|
2351
|
-
}
|
|
2352
|
-
/** Fila resuelta o divisor — lo que realmente pinta la plantilla. */
|
|
2353
|
-
interface IusMenuRow {
|
|
2354
|
-
kind: 'separator' | 'item';
|
|
2355
|
-
key: string;
|
|
2356
|
-
item?: IusMenuOption;
|
|
2357
|
-
selected?: boolean;
|
|
2358
|
-
}
|
|
2359
|
-
/**
|
|
2360
|
-
* Menu — Ius Design v2 (familia overlays). **SUPERFICIE compartida de menú.**
|
|
2361
|
-
*
|
|
2362
|
-
* Lista de **MenuItem** con encabezado opcional, divisores, grupos, ítems
|
|
2363
|
-
* peligrosos/deshabilitados y modo selección única (check a la derecha). Es el
|
|
2364
|
-
* cuerpo que **Dropdown** ancla a un disparador y **ContextMenu** ancla al
|
|
2365
|
-
* cursor: por sí sola **no se posiciona ni gestiona apertura**.
|
|
2366
|
-
*
|
|
2367
|
-
* Fuente de verdad: `Menu.jsx` + `Menu.d.ts` + `Menu.ng-spec.md`. Las filas se
|
|
2368
|
-
* renderizan con `size="small"` y `variant="menu"`, como el golden.
|
|
2369
|
-
*/
|
|
2370
|
-
declare class MenuComponent {
|
|
2371
|
-
/** Opciones del menú (tipo compartido con Dropdown/ContextMenu). */
|
|
2372
|
-
readonly items: _angular_core.InputSignal<readonly IusMenuOption[]>;
|
|
2373
|
-
/** Selección única: marca `value` con un check. */
|
|
2374
|
-
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2375
|
-
/** Valor elegido en modo `selectable`. */
|
|
2376
|
-
readonly value: _angular_core.InputSignal<string | number | undefined>;
|
|
2377
|
-
/** Encabezado visual del menú. */
|
|
2378
|
-
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
2379
|
-
/** Etiqueta accesible de la superficie. */
|
|
2380
|
-
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
2381
|
-
/** Modo `selectable` — espejo de `onChange`. */
|
|
2382
|
-
readonly valueChange: _angular_core.OutputEmitterRef<{
|
|
2383
|
-
value: string | number | undefined;
|
|
2384
|
-
item: IusMenuOption;
|
|
2385
|
-
}>;
|
|
2386
|
-
/** Tras activar un ítem — Dropdown/ContextMenu lo usan para cerrar. */
|
|
2387
|
-
readonly itemClick: _angular_core.OutputEmitterRef<{
|
|
2388
|
-
item: IusMenuOption;
|
|
2389
|
-
event: MouseEvent;
|
|
2390
|
-
}>;
|
|
2391
|
-
/**
|
|
2392
|
-
* Aplana `items` a filas pintables insertando los divisores de grupo: al
|
|
2393
|
-
* cambiar `group` respecto de la fila anterior se mete un separador (el
|
|
2394
|
-
* primer ítem nunca lo lleva), y `separator: true` es un divisor explícito.
|
|
2395
|
-
*/
|
|
2396
|
-
protected readonly rows: _angular_core.Signal<IusMenuRow[]>;
|
|
2397
|
-
/** `trailing` como TemplateRef (slot rico) — si no, se pinta como texto. */
|
|
2398
|
-
protected trailingTpl(item: IusMenuOption): TemplateRef<unknown> | null;
|
|
2399
|
-
/** `trailing` como texto plano (atajo, valor corto). */
|
|
2400
|
-
protected trailingText(item: IusMenuOption): string | null;
|
|
2401
|
-
protected onItemClick(row: IusMenuRow, event: MouseEvent): void;
|
|
2402
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
2403
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuComponent, "ius-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "itemClick": "itemClick"; }, never, never, true, never>;
|
|
2404
|
-
}
|
|
2405
|
-
|
|
2406
|
-
/** Familia de color del disparador por defecto. */
|
|
2407
|
-
type IusDropdownTone = 'primary' | 'neutral';
|
|
2408
|
-
/** Tratamiento del disparador por defecto. */
|
|
2409
|
-
type IusDropdownVariant = 'ghost' | 'outline';
|
|
2410
|
-
/** Opción del Dropdown — el tipo compartido de Menu/ContextMenu. */
|
|
2411
|
-
type IusDropdownItem = IusMenuOption;
|
|
2412
|
-
/**
|
|
2413
|
-
* Marca un disparador propio, en lugar del ghost texto+chevron por defecto:
|
|
2414
|
-
* `<ius-dropdown><ius-icon-button iusDropdownTrigger …/></ius-dropdown>`.
|
|
2415
|
-
*/
|
|
2416
|
-
declare class IusDropdownTriggerDirective {
|
|
2417
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusDropdownTriggerDirective, never>;
|
|
2418
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusDropdownTriggerDirective, "[iusDropdownTrigger]", never, {}, {}, never, never, true, never>;
|
|
2419
|
-
}
|
|
2420
|
-
/**
|
|
2421
|
-
* Dropdown — Ius Design v2 (familia overlays).
|
|
2422
|
-
*
|
|
2423
|
-
* Menú desplegable accionable: un disparador abre un **Popover** (sin rabito,
|
|
2424
|
-
* `bottom-start` por defecto) con una superficie **Menu**. Dos modos: **acciones**
|
|
2425
|
-
* (cada ítem ejecuta y cierra) y **selección única** (`selectable`, check en la
|
|
2426
|
-
* activa y la etiqueta elegida en el disparador).
|
|
2427
|
-
*
|
|
2428
|
-
* El disparador por defecto es un botón ghost texto+chevron (el chevron gira al
|
|
2429
|
-
* abrir); `variant="outline"` replica el contenedor del botón de QueryBuilder
|
|
2430
|
-
* (mismo borde/radio/padding/altura) para encajar en barras y SegmentGroup. Con
|
|
2431
|
-
* `[iusDropdownTrigger]` se proyecta un disparador propio.
|
|
2432
|
-
*
|
|
2433
|
-
* No es campo de formulario — eso es **Select**; para una sola acción →
|
|
2434
|
-
* Button/IconButton. Fuente de verdad: `Dropdown.jsx` + `Dropdown.d.ts` +
|
|
2435
|
-
* `Dropdown.ng-spec.md`.
|
|
2436
|
-
*/
|
|
2437
|
-
declare class DropdownComponent {
|
|
2438
|
-
/** Opciones del menú (mismo shape que `MenuOption`). */
|
|
2439
|
-
readonly items: _angular_core.InputSignal<readonly IusMenuOption[]>;
|
|
2440
|
-
/** Selección única: marca la opción activa con un check. */
|
|
2441
|
-
readonly selectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2442
|
-
/** Valor elegido en modo `selectable`. */
|
|
2443
|
-
readonly value: _angular_core.InputSignal<string | number | undefined>;
|
|
2444
|
-
/** Encabezado del menú (y texto del disparador por defecto si no hay elegida). */
|
|
2445
|
-
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
2446
|
-
/** Texto del disparador por defecto (gana sobre la opción elegida y `label`). */
|
|
2447
|
-
readonly triggerLabel: _angular_core.InputSignal<string | undefined>;
|
|
2448
|
-
/** Ícono Material Symbols del disparador por defecto. */
|
|
2449
|
-
readonly triggerIcon: _angular_core.InputSignal<string | undefined>;
|
|
2450
|
-
/** Familia de color del disparador por defecto. */
|
|
2451
|
-
readonly tone: _angular_core.InputSignal<IusDropdownTone>;
|
|
2452
|
-
/** Tratamiento del disparador por defecto. */
|
|
2453
|
-
readonly variant: _angular_core.InputSignal<IusDropdownVariant>;
|
|
2454
|
-
/** Colocación del panel respecto del disparador. */
|
|
2455
|
-
readonly placement: _angular_core.InputSignal<IusPopoverPlacement>;
|
|
2456
|
-
/** Modo controlado (`undefined` = no controlado con `defaultOpen`). */
|
|
2457
|
-
readonly open: _angular_core.InputSignal<boolean | undefined>;
|
|
2458
|
-
/** Estado inicial del modo no controlado. */
|
|
2459
|
-
readonly defaultOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2460
|
-
/** Etiqueta accesible del disparador por defecto. */
|
|
2461
|
-
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
2462
|
-
/** Modo `selectable` — espejo de `onChange`. */
|
|
2463
|
-
readonly valueChange: _angular_core.OutputEmitterRef<{
|
|
2464
|
-
value: string | number | undefined;
|
|
2465
|
-
item: IusDropdownItem;
|
|
2968
|
+
menu: IusListCardMenuItem[];
|
|
2969
|
+
/** Accesos PERSISTENTES (no hover): escudo/documento, etc. (IconButton). */
|
|
2970
|
+
markers: IusListCardMarker[];
|
|
2971
|
+
/** Muestra el chevron de navegación. Default: `true` si hay `(clicked)`. */
|
|
2972
|
+
chevron?: boolean;
|
|
2973
|
+
/** No leído: punto navy al inicio + título en negrita. */
|
|
2974
|
+
unread: boolean;
|
|
2975
|
+
/** Densidad. `medium` (default) hereda `--ius-density` del contexto. */
|
|
2976
|
+
size: IusListCardSize;
|
|
2977
|
+
/** Render personalizado de cada acción (original `renderAction`). */
|
|
2978
|
+
renderAction?: TemplateRef<{
|
|
2979
|
+
$implicit: IusListCardAction;
|
|
2980
|
+
index: number;
|
|
2466
2981
|
}>;
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
private readonly
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
protected
|
|
2478
|
-
|
|
2479
|
-
protected
|
|
2480
|
-
protected
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
protected
|
|
2487
|
-
|
|
2488
|
-
|
|
2982
|
+
ariaLabel?: string;
|
|
2983
|
+
/** Click de la fila — navega a detalle (original `onClick`). */
|
|
2984
|
+
readonly clicked: EventEmitter<MouseEvent>;
|
|
2985
|
+
private readonly leadingRef;
|
|
2986
|
+
private readonly overlineRef;
|
|
2987
|
+
private readonly titleRef;
|
|
2988
|
+
private readonly subtitleRef;
|
|
2989
|
+
private readonly paragraphRef;
|
|
2990
|
+
protected get hasLeading(): boolean;
|
|
2991
|
+
protected get hasOverline(): boolean;
|
|
2992
|
+
protected get hasTitleRow(): boolean;
|
|
2993
|
+
protected get titleRefPresent(): boolean;
|
|
2994
|
+
protected get hasSubtitle(): boolean;
|
|
2995
|
+
protected get hasParagraph(): boolean;
|
|
2996
|
+
/** Navegable cuando el consumidor enlazó `(clicked)` (espejo de `onClick`). */
|
|
2997
|
+
protected get clickable(): boolean;
|
|
2998
|
+
/** Chevron: valor explícito o sigue a `clickable`. */
|
|
2999
|
+
protected get showChevron(): boolean;
|
|
3000
|
+
protected get hasTrail(): boolean;
|
|
3001
|
+
protected get statusChipSize(): 'small' | 'medium';
|
|
3002
|
+
/** Refleja la apertura del Dropdown en `data-menu-open` (hover-reveal persistente). */
|
|
3003
|
+
protected readonly menuOpen: _angular_core.WritableSignal<boolean>;
|
|
3004
|
+
protected onMenuOpenChange(open: boolean): void;
|
|
3005
|
+
protected onAction(action: IusListCardAction, event: MouseEvent): void;
|
|
3006
|
+
protected onMarker(marker: IusListCardMarker, event: MouseEvent): void;
|
|
3007
|
+
/** Discrimina el valor rico del field (el template no puede usar instanceof). */
|
|
3008
|
+
protected fieldTpl(field: IusListCardField): TemplateRef<unknown> | null;
|
|
3009
|
+
protected fieldWidth(field: IusListCardField): string | null;
|
|
3010
|
+
protected onHostClick(event: MouseEvent): void;
|
|
3011
|
+
/** Enter en keydown y Espacio en keyup activan SOLO con el foco en la fila. */
|
|
3012
|
+
protected onKeyActivate(event: Event): void;
|
|
3013
|
+
/** Espacio en keydown: solo evita el scroll; la activación ocurre en keyup. */
|
|
3014
|
+
protected onSpaceDown(event: Event): void;
|
|
3015
|
+
/** `true` cuando el bloque de `fields` cayó a la 2ª línea → divisor a lo ancho. */
|
|
3016
|
+
protected readonly wrapped: _angular_core.WritableSignal<boolean>;
|
|
3017
|
+
private resizeObserver?;
|
|
3018
|
+
private rafId;
|
|
3019
|
+
private viewReady;
|
|
3020
|
+
ngAfterViewInit(): void;
|
|
3021
|
+
ngOnChanges(): void;
|
|
3022
|
+
ngOnDestroy(): void;
|
|
3023
|
+
private scheduleMeasure;
|
|
3024
|
+
private measureWrap;
|
|
3025
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListCardComponent, never>;
|
|
3026
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListCardComponent, "ius-list-card", never, { "overline": { "alias": "overline"; "required": false; }; "overlineIcon": { "alias": "overlineIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleIcon": { "alias": "titleIcon"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "subtitleIcon": { "alias": "subtitleIcon"; "required": false; }; "paragraph": { "alias": "paragraph"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "status": { "alias": "status"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "markers": { "alias": "markers"; "required": false; }; "chevron": { "alias": "chevron"; "required": false; }; "unread": { "alias": "unread"; "required": false; }; "size": { "alias": "size"; "required": false; }; "renderAction": { "alias": "renderAction"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "clicked": "clicked"; }, ["leadingRef", "overlineRef", "titleRef", "subtitleRef", "paragraphRef"], ["[iusListCardLeading]", "[iusListCardOverline]", "[iusListCardTitle]", "[iusListCardSubtitle]", "[iusListCardParagraph]"], true, never>;
|
|
3027
|
+
static ngAcceptInputType_unread: unknown;
|
|
2489
3028
|
}
|
|
2490
3029
|
|
|
2491
3030
|
/** Escala del campo — small ~34 · medium ~40 (default) · large ~48px. */
|
|
@@ -4389,50 +4928,6 @@ declare class DividerComponent implements AfterViewInit {
|
|
|
4389
4928
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DividerComponent, "ius-divider", never, { "orientation": { "alias": "orientation"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
4390
4929
|
}
|
|
4391
4930
|
|
|
4392
|
-
/** Tratamiento del indicador: punto de color · píldora tonal · píldora neutra. */
|
|
4393
|
-
type IusInsigniaVariant = 'dot' | 'count' | 'count-soft';
|
|
4394
|
-
/** Familia de color: 6 semánticas + 6 frutas categóricas. */
|
|
4395
|
-
type IusInsigniaTone = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'neutral' | 'durazno' | 'banano' | 'sandia' | 'arandano' | 'uva' | 'aguacate';
|
|
4396
|
-
/** Tamaño. */
|
|
4397
|
-
type IusInsigniaSize = 'small' | 'medium' | 'large';
|
|
4398
|
-
/**
|
|
4399
|
-
* Insignia — Ius Design v2 (familia feedback).
|
|
4400
|
-
*
|
|
4401
|
-
* Indicador atómico de estado o actividad: punto de color (`dot`) o píldora de
|
|
4402
|
-
* contador (`count` tonal · `count-soft` suave), con `label` opcional al lado.
|
|
4403
|
-
* Display puro — sin outputs. Fuente de verdad: `Insignia.jsx` + `Insignia.d.ts`
|
|
4404
|
-
* + `Insignia.ng-spec.md`.
|
|
4405
|
-
*
|
|
4406
|
-
* Para etiqueta con texto contenedor → Tag; para token removible en un campo →
|
|
4407
|
-
* Chip. La consume MenuItem (badge) y la barra de navegación.
|
|
4408
|
-
*/
|
|
4409
|
-
declare class InsigniaComponent {
|
|
4410
|
-
/** Punto de color · píldora tonal · píldora neutra. */
|
|
4411
|
-
readonly variant: _angular_core.InputSignal<IusInsigniaVariant>;
|
|
4412
|
-
/** Familia de color. */
|
|
4413
|
-
readonly tone: _angular_core.InputSignal<IusInsigniaTone>;
|
|
4414
|
-
/** Tamaño. */
|
|
4415
|
-
readonly size: _angular_core.InputSignal<IusInsigniaSize>;
|
|
4416
|
-
/** Texto junto al indicador (alternativa a proyectar contenido). */
|
|
4417
|
-
readonly label: _angular_core.InputSignal<string | number | undefined>;
|
|
4418
|
-
/** Valor del contador (variantes `count` / `count-soft`). */
|
|
4419
|
-
readonly count: _angular_core.InputSignal<string | number | undefined>;
|
|
4420
|
-
/** Tope antes de mostrar `N+`. */
|
|
4421
|
-
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
4422
|
-
/** Halo suave alrededor del punto (solo `dot`). */
|
|
4423
|
-
readonly ring: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4424
|
-
/** Recomendada cuando no hay `label`. */
|
|
4425
|
-
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
4426
|
-
/** `count`/`count-soft` renderizan píldora; `dot` renderiza punto. */
|
|
4427
|
-
protected readonly isCount: _angular_core.Signal<boolean>;
|
|
4428
|
-
/** El halo es exclusivo del punto (el golden lo ignora en las píldoras). */
|
|
4429
|
-
protected readonly showRing: _angular_core.Signal<boolean>;
|
|
4430
|
-
/** `count > max` → `${max}+`; los valores string pasan tal cual. */
|
|
4431
|
-
protected readonly displayCount: _angular_core.Signal<string | number | undefined>;
|
|
4432
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InsigniaComponent, never>;
|
|
4433
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InsigniaComponent, "ius-insignia", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "ring": { "alias": "ring"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4434
|
-
}
|
|
4435
|
-
|
|
4436
4931
|
/** Contexto de uso: fila de overlay (neutral) · fila del NavRail (verde marca). */
|
|
4437
4932
|
type IusMenuItemVariant = 'menu' | 'rail';
|
|
4438
4933
|
/** Tamaño de la fila. */
|
|
@@ -6044,136 +6539,5 @@ declare class AccordionComponent {
|
|
|
6044
6539
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ius-accordion", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "chevronIcon": { "alias": "chevronIcon"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, never, true, never>;
|
|
6045
6540
|
}
|
|
6046
6541
|
|
|
6047
|
-
|
|
6048
|
-
type IusAccountItemState
|
|
6049
|
-
/** Acción del menú ⋮ de la fila (espejo de `IusDropdownItem`/`IusMenuOption`). */
|
|
6050
|
-
interface IusAccountItemAction {
|
|
6051
|
-
key?: string | number;
|
|
6052
|
-
icon?: string;
|
|
6053
|
-
label?: string;
|
|
6054
|
-
/** Agrupa: al cambiar de `group` inserta un divisor. */
|
|
6055
|
-
group?: string | number;
|
|
6056
|
-
/** Inserta un divisor en su lugar. */
|
|
6057
|
-
separator?: boolean;
|
|
6058
|
-
danger?: boolean;
|
|
6059
|
-
disabled?: boolean;
|
|
6060
|
-
onClick?: (event: MouseEvent) => void;
|
|
6061
|
-
}
|
|
6062
|
-
/** Nombre rico proyectado (alternativa al input `name`). */
|
|
6063
|
-
declare class IusAccountItemNameDirective {
|
|
6064
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusAccountItemNameDirective, never>;
|
|
6065
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusAccountItemNameDirective, "[iusAccountItemName]", never, {}, {}, never, never, true, never>;
|
|
6066
|
-
}
|
|
6067
|
-
/** Subtítulo rico proyectado (alternativa al input `subtitle`). */
|
|
6068
|
-
declare class IusAccountItemSubtitleDirective {
|
|
6069
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusAccountItemSubtitleDirective, never>;
|
|
6070
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusAccountItemSubtitleDirective, "[iusAccountItemSubtitle]", never, {}, {}, never, never, true, never>;
|
|
6071
|
-
}
|
|
6072
|
-
/** Nodo libre al borde derecho (Tag, contador, chip de estado). */
|
|
6073
|
-
declare class IusAccountItemTrailingDirective {
|
|
6074
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IusAccountItemTrailingDirective, never>;
|
|
6075
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IusAccountItemTrailingDirective, "[iusAccountItemTrailing]", never, {}, {}, never, never, true, never>;
|
|
6076
|
-
}
|
|
6077
|
-
/**
|
|
6078
|
-
* AccountItem — Ius Design v2 (familia data-display).
|
|
6079
|
-
*
|
|
6080
|
-
* Fila-tarjeta de una **cuenta a la que el usuario puede cambiar**: la unidad de
|
|
6081
|
-
* la vista «Cambiar de cuenta» del UserMenu. Avatar de la cuenta + nombre (+
|
|
6082
|
-
* subtítulo opcional: tipo, rol o dominio), seleccionable, con la cuenta activa
|
|
6083
|
-
* marcada con un check. Fuente de verdad: `AccountItem.jsx` +
|
|
6084
|
-
* `AccountItem.d.ts` + `AccountItem.ng-spec.md`.
|
|
6085
|
-
*
|
|
6086
|
-
* La superficie la pone **`ius-card`** (`outlined · radius lg · padding none`),
|
|
6087
|
-
* como manda la ng-spec: no se reescribe a mano. AccountItem solo aporta el
|
|
6088
|
-
* layout de la fila y sus **estados tintados info** (hover / pressed /
|
|
6089
|
-
* selected), que pisan la elevación por defecto de Card.
|
|
6090
|
-
*
|
|
6091
|
-
* `actions` compone `ius-dropdown` (trigger IconButton `more_vert` proyectado)
|
|
6092
|
-
* en un slot de **ancho fijo** (`--_ai-actions-w`), para que todas las listas de
|
|
6093
|
-
* cuentas del ecosistema queden alineadas. `[iusAccountItemTrailing]` acepta un
|
|
6094
|
-
* nodo libre en el mismo borde y convive con `actions`. Con `disabled` las
|
|
6095
|
-
* acciones quedan **visibles pero inertes** (la fila pierde `pointer-events`),
|
|
6096
|
-
* regla única del sistema.
|
|
6097
|
-
*
|
|
6098
|
-
* **Nota de port — el `split` del golden.** El golden alterna su DOM según el
|
|
6099
|
-
* contenido: sin `actions`/`trailing` la raíz **es** el `<button>` de `onClick`;
|
|
6100
|
-
* con ellos la raíz pasa a `div` y el área primaria se vuelve un botón interno
|
|
6101
|
-
* (anidar un IconButton dentro de un `<button>` es HTML inválido y rompe el
|
|
6102
|
-
* teclado). Aquí se adopta **siempre** la segunda forma — la raíz es
|
|
6103
|
-
* `<ius-card>` (div) y el área primaria es un `<button>` interno:
|
|
6104
|
-
*
|
|
6105
|
-
* - En Angular alternar la etiqueta raíz exige un `@if`/`@else`, y el contenido
|
|
6106
|
-
* proyectado (`[iusAccountItemName]`, `[iusAccountItemSubtitle]`) solo se
|
|
6107
|
-
* instancia en UNA rama: al cambiar `actions`/`trailing` en caliente —lo que
|
|
6108
|
-
* hace el playground— la proyección se perdería.
|
|
6109
|
-
* - El resultado accesible es el mismo que el del golden: un único botón real
|
|
6110
|
-
* que cubre la fila, con su `aria-label` y su `aria-pressed`, y el ⋮ como
|
|
6111
|
-
* control hermano alcanzable por teclado aparte. Nunca hay control anidado
|
|
6112
|
-
* en control, ni en el caso simple.
|
|
6113
|
-
* - Visualmente es idéntico: los estados se pintan sobre TODA la fila desde la
|
|
6114
|
-
* raíz (`data-actionable` + `:has(.ius-acctitem__main:active/:focus-visible)`),
|
|
6115
|
-
* que es exactamente lo que hace la rama `split` del golden.
|
|
6116
|
-
*
|
|
6117
|
-
* Para fila de acción/navegación → MenuItem; control de cuenta del HeaderBar →
|
|
6118
|
-
* NavUser. Primera carga → envolver en Skeleton (AccountItem no lleva
|
|
6119
|
-
* `loading` propio).
|
|
6120
|
-
*/
|
|
6121
|
-
declare class AccountItemComponent {
|
|
6122
|
-
/** Nombre de la cuenta. Para markup rico proyectar `[iusAccountItemName]`. */
|
|
6123
|
-
name?: string;
|
|
6124
|
-
/**
|
|
6125
|
-
* Subtítulo opcional (tipo, rol, dominio…). Ej. `Personal`. Para markup rico
|
|
6126
|
-
* proyectar `[iusAccountItemSubtitle]`.
|
|
6127
|
-
*/
|
|
6128
|
-
subtitle?: string;
|
|
6129
|
-
/** URL de la fotografía de la cuenta (pasa a `ius-avatar` como `src`). */
|
|
6130
|
-
avatar?: string;
|
|
6131
|
-
/** Ícono Material Symbols del medallón (sin foto/monograma/nombre cae a `account_circle`). */
|
|
6132
|
-
icon?: string;
|
|
6133
|
-
/** Monograma explícito. */
|
|
6134
|
-
monogram?: string;
|
|
6135
|
-
/** Familia de color del medallón; `auto` es estable por nombre. */
|
|
6136
|
-
color: IusAvatarColor;
|
|
6137
|
-
/** Forma del medallón. */
|
|
6138
|
-
shape: IusAvatarShape;
|
|
6139
|
-
/** Cuenta activa: fondo resaltado + check. */
|
|
6140
|
-
selected: boolean;
|
|
6141
|
-
/** Deshabilitada: la fila entera queda inerte (las acciones, visibles). */
|
|
6142
|
-
disabled: boolean;
|
|
6143
|
-
/** Acciones secundarias en el menú ⋮ del borde derecho. */
|
|
6144
|
-
actions: IusAccountItemAction[];
|
|
6145
|
-
/** aria del menú de acciones. */
|
|
6146
|
-
actionsLabel: string;
|
|
6147
|
-
/** Estado forzado — solo demos. */
|
|
6148
|
-
state?: IusAccountItemState;
|
|
6149
|
-
/** Nombre accesible del área primaria (anula el derivado del nombre). */
|
|
6150
|
-
ariaLabel?: string;
|
|
6151
|
-
/** Fila pulsada (original `onClick`). */
|
|
6152
|
-
readonly clicked: EventEmitter<MouseEvent>;
|
|
6153
|
-
private readonly nameRef;
|
|
6154
|
-
private readonly subtitleRef;
|
|
6155
|
-
private readonly trailingRef;
|
|
6156
|
-
/** Fila viva: hay quien escuche el clic y no está deshabilitada. */
|
|
6157
|
-
protected get actionable(): boolean;
|
|
6158
|
-
protected get hasSubtitle(): boolean;
|
|
6159
|
-
protected get hasTrailing(): boolean;
|
|
6160
|
-
protected get showMenu(): boolean;
|
|
6161
|
-
/** El monograma explícito gana: entonces el nombre no alimenta las iniciales. */
|
|
6162
|
-
protected get avatarName(): string | undefined;
|
|
6163
|
-
/** Sin foto/monograma/nombre, el medallón cae al ícono genérico de cuenta. */
|
|
6164
|
-
protected get effIcon(): string | undefined;
|
|
6165
|
-
/** `Cuenta <nombre>` como nombre accesible por defecto (verbatim del golden). */
|
|
6166
|
-
protected get label(): string;
|
|
6167
|
-
/** El golden solo declara `aria-pressed` cuando la cuenta está activa. */
|
|
6168
|
-
protected get ariaPressed(): string | null;
|
|
6169
|
-
/** aria del IconButton ⋮ — nombra la cuenta cuando la hay. */
|
|
6170
|
-
protected get menuLabel(): string;
|
|
6171
|
-
protected onMainClick(event: MouseEvent): void;
|
|
6172
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccountItemComponent, never>;
|
|
6173
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccountItemComponent, "ius-account-item", never, { "name": { "alias": "name"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "monogram": { "alias": "monogram"; "required": false; }; "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "actionsLabel": { "alias": "actionsLabel"; "required": false; }; "state": { "alias": "state"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "clicked": "clicked"; }, ["nameRef", "subtitleRef", "trailingRef"], ["[iusAccountItemName]", "[iusAccountItemSubtitle]", "[iusAccountItemTrailing]"], true, never>;
|
|
6174
|
-
static ngAcceptInputType_selected: unknown;
|
|
6175
|
-
static ngAcceptInputType_disabled: unknown;
|
|
6176
|
-
}
|
|
6177
|
-
|
|
6178
|
-
export { AccordionComponent, AccountItemComponent, AlertComponent, AppLayoutComponent, AvatarComponent, ButtonComponent, CaptchaFieldComponent, CardComponent, CarouselComponent, CheckboxComponent, ChipComponent, CircularProgressComponent, CodeFieldComponent, CountdownComponent, CountdownRingComponent, DescriptionListComponent, DividerComponent, DrawerComponent, DropdownComponent, EleniaBubbleComponent, EleniaOrbComponent, EmptyStateComponent, FlexComponent, 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, IusListCardLeadingDirective, IusListCardOverlineDirective, IusListCardParagraphDirective, IusListCardSubtitleDirective, IusListCardTitleDirective, IusListViewFiltersDirective, IusListViewFooterEndDirective, IusListViewFooterStartDirective, IusListViewHeaderEndDirective, IusListViewHeaderStartDirective, IusListViewToolbarDirective, IusMenuItemTrailingDirective, IusModalFooterDirective, IusPersonItemNameDirective, IusPersonItemTrailingDirective, IusSettingsNavFooterDirective, IusSettingsNavHeaderDirective, IusTagPrefixDirective, IusTagSuffixDirective, IusToastActionDirective, ListCardComponent, ListViewComponent, LoadingComponent, LoadingMarkComponent, MenuComponent, MenuItemComponent, ModalComponent, MultiTextFieldComponent, NavUserComponent, ORB_PERIODS, OauthButtonComponent, OptionItemComponent, PersonItemComponent, PersonPickerComponent, PopoverComponent, QueryBuilderComponent, STATUS_TONES, STATUS_VOCAB, STATUS_VOCABS, STATUS_VOCABS_PENDING, ScrollAreaComponent, SearchBarComponent, SegmentGroupComponent, SegmentedControlComponent, SelectComponent, SettingsNavComponent, ShowMoreComponent, SplitterComponent, StatusChipComponent, StatusStateComponent, TabsComponent, TagComponent, TextAreaComponent, TextButtonComponent, TextComponent, TextFieldComponent, ToastComponent, ToastService, ToastViewportComponent, TooltipComponent, WizardComponent, WizardController, WizardNavComponent, createWizard, pose, poseIso, poseSpeaking, poseThinking, renderCubeSvg, resolveIllustration, resolveStatus, statusOptions, statusOrder, statusToneVars, statusVocab, voiceEnv };
|
|
6179
|
-
export type { ActuacionStatus, AlertSize, AlertTone, AlertVariant, CountdownDirection, CountdownFormat, CountdownRingSize, CountdownRingTone, DescriptionListItem, DescriptionListLayout, DescriptionListSize, DescriptionListValueClick, GestionStatus, IllustrationEntry, IllustrationName, IllustrationSize, IusAccordionItem, IusAccordionVariant, IusAccountItemAction, IusAccountItemState, IusAppLayoutAccent, IusAvatarColor, IusAvatarShape, IusAvatarSize, 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, IusIconButtonShape, IusIconButtonSize, IusIconButtonVariant, IusInsigniaSize, IusInsigniaTone, IusInsigniaVariant, 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, IusPersonId, IusPersonItemAction, IusPersonItemSize, IusPersonItemState, IusPersonItemVariant, IusPersonOption, IusPersonPickerSelectedContext, IusPopoverPadding, IusPopoverPlacement, IusPopoverTrigger, IusQueryBuilderSize, IusScrollAxis, IusScrollSize, IusSearchBarSize, IusSearchBarState, IusSegmentedSize, IusSegmentedVariant, IusSelectCreateFactory, IusSelectSize, IusSelectState, IusSelectValue, IusSettingsNavAccent, IusSettingsNavItem, IusSettingsNavSize, IusShowMoreAlign, IusSplitterAccent, IusSplitterOrientation, IusStatusChipSize, IusStatusChipTone, IusStatusKind, IusTabItem, IusTabTag, IusTabsAccent, IusTabsSize, IusTagRole, IusTagShape, IusTagSize, IusTagState, IusTagTone, IusTagVariant, IusTextAlign, IusTextAreaSize, IusTextAreaState, IusTextButtonSize, IusTextButtonType, IusTextColor, IusTextFieldSize, IusTextFieldType, IusTextTag, IusTextVariant, IusTextWeight, IusToastItem, IusToastOptions, IusToastPosition, IusToastTone, IusTooltipTrigger, OrbMood, OrbPose, SegmentedOption, SelectOption, SelectOptionGroup, StatusMeta, StatusOption, StatusTone, StatusToneVars, StatusVocabMap, StatusVocabName, UseWizardOptions, WizardApi, WizardStep };
|
|
6542
|
+
export { AccordionComponent, AccountItemComponent, AlertComponent, AppLayoutComponent, AvatarComponent, ButtonComponent, CaptchaFieldComponent, CardComponent, CarouselComponent, CheckboxComponent, ChipComponent, CircularProgressComponent, CodeFieldComponent, CountdownComponent, CountdownRingComponent, DescriptionListComponent, DividerComponent, DrawerComponent, DropdownComponent, EleniaBubbleComponent, EleniaOrbComponent, EmptyStateComponent, FlexComponent, 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, IusListCardLeadingDirective, IusListCardOverlineDirective, IusListCardParagraphDirective, IusListCardSubtitleDirective, IusListCardTitleDirective, IusListViewFiltersDirective, IusListViewFooterEndDirective, IusListViewFooterStartDirective, IusListViewHeaderEndDirective, IusListViewHeaderStartDirective, IusListViewToolbarDirective, IusMenuItemTrailingDirective, IusModalFooterDirective, IusPersonItemNameDirective, IusPersonItemTrailingDirective, IusSettingsNavFooterDirective, IusSettingsNavHeaderDirective, IusTagPrefixDirective, IusTagSuffixDirective, IusToastActionDirective, IusUserMenuFooterDirective, LinearProgressBarComponent, ListCardComponent, ListViewComponent, LoadingComponent, LoadingMarkComponent, MenuComponent, MenuItemComponent, ModalComponent, MultiTextFieldComponent, NavUserComponent, ORB_PERIODS, OauthButtonComponent, OptionItemComponent, PersonItemComponent, PersonPickerComponent, PlanUsageItemComponent, PopoverComponent, QueryBuilderComponent, STATUS_TONES, STATUS_VOCAB, STATUS_VOCABS, STATUS_VOCABS_PENDING, ScrollAreaComponent, SearchBarComponent, SegmentGroupComponent, SegmentedControlComponent, SelectComponent, SettingsNavComponent, ShowMoreComponent, SplitterComponent, StatusChipComponent, StatusStateComponent, TabsComponent, TagComponent, TextAreaComponent, TextButtonComponent, TextComponent, TextFieldComponent, ToastComponent, ToastService, ToastViewportComponent, TooltipComponent, UserMenuComponent, WizardComponent, WizardController, WizardNavComponent, createWizard, iusSegColor, pose, poseIso, poseSpeaking, poseThinking, renderCubeSvg, resolveIllustration, resolveStatus, statusOptions, statusOrder, statusToneVars, statusVocab, voiceEnv };
|
|
6543
|
+
export type { ActuacionStatus, AlertSize, AlertTone, AlertVariant, CountdownDirection, CountdownFormat, CountdownRingSize, CountdownRingTone, DescriptionListItem, DescriptionListLayout, DescriptionListSize, DescriptionListValueClick, GestionStatus, IllustrationEntry, IllustrationName, IllustrationSize, IusAccordionItem, IusAccordionVariant, IusAccountItemAction, IusAccountItemState, IusAppLayoutAccent, IusAvatarColor, IusAvatarShape, IusAvatarSize, 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, 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, IusPersonId, IusPersonItemAction, IusPersonItemSize, IusPersonItemState, IusPersonItemVariant, IusPersonOption, IusPersonPickerSelectedContext, IusPlanUsageAction, IusPlanUsageLegend, IusPlanUsageStatus, IusPopoverPadding, IusPopoverPlacement, IusPopoverTrigger, IusQueryBuilderSize, IusScrollAxis, IusScrollSize, IusSearchBarSize, IusSearchBarState, IusSegmentedSize, IusSegmentedVariant, IusSelectCreateFactory, IusSelectSize, IusSelectState, IusSelectValue, IusSettingsNavAccent, IusSettingsNavItem, IusSettingsNavSize, IusShowMoreAlign, IusSplitterAccent, IusSplitterOrientation, IusStatusChipSize, IusStatusChipTone, IusStatusKind, IusTabItem, IusTabTag, IusTabsAccent, IusTabsSize, IusTagRole, IusTagShape, IusTagSize, IusTagState, IusTagTone, IusTagVariant, IusTextAlign, IusTextAreaSize, IusTextAreaState, IusTextButtonSize, IusTextButtonType, IusTextColor, IusTextFieldSize, IusTextFieldType, IusTextTag, IusTextVariant, IusTextWeight, 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 };
|