@litigiovirtual/ius-design-components 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/litigiovirtual-ius-design-components-tiptap-engine-BA-1k1e0.mjs +247 -0
- package/fesm2022/litigiovirtual-ius-design-components-tiptap-engine-BA-1k1e0.mjs.map +1 -0
- package/fesm2022/litigiovirtual-ius-design-components-utils.mjs +6 -6
- package/fesm2022/litigiovirtual-ius-design-components.mjs +3847 -571
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/package.json +28 -1
- package/types/litigiovirtual-ius-design-components.d.ts +1313 -14
|
@@ -5,6 +5,7 @@ import { SafeHtml, SafeResourceUrl } from '@angular/platform-browser';
|
|
|
5
5
|
import * as _litigiovirtual_ius_design_components from '@litigiovirtual/ius-design-components';
|
|
6
6
|
import * as i1 from '@angular/cdk/drag-drop';
|
|
7
7
|
import { CdkDragMove, CdkDrag, CdkDragStart, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
8
9
|
|
|
9
10
|
/** Jerarquía visual. `danger` = destructivo (color semántico, no accent). */
|
|
10
11
|
type IusButtonVariant = 'primary' | 'outline' | 'secondary' | 'tertiary' | 'danger';
|
|
@@ -928,7 +929,7 @@ declare class AlertComponent {
|
|
|
928
929
|
/** Tamaño. */
|
|
929
930
|
readonly size: _angular_core.InputSignal<AlertSize>;
|
|
930
931
|
/** Estilo del borde. */
|
|
931
|
-
readonly border: _angular_core.InputSignal<"
|
|
932
|
+
readonly border: _angular_core.InputSignal<"none" | "solid" | "dashed">;
|
|
932
933
|
/** Título tonal en negrita. */
|
|
933
934
|
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
934
935
|
/** Línea superior breve (uppercase). */
|
|
@@ -946,7 +947,7 @@ declare class AlertComponent {
|
|
|
946
947
|
/** Divisor sobre la fila de acciones. */
|
|
947
948
|
readonly actionsDivider: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
948
949
|
/** Alineación (auto: `center` si hay `trailing` sin `actions`). */
|
|
949
|
-
readonly align: _angular_core.InputSignal<"
|
|
950
|
+
readonly align: _angular_core.InputSignal<"start" | "center" | undefined>;
|
|
950
951
|
/** `status` (default, no interrumpe) o `alert` (asertivo). */
|
|
951
952
|
readonly role: _angular_core.InputSignal<"alert" | "status">;
|
|
952
953
|
/** Al pulsar × (original: `onClose`). */
|
|
@@ -957,7 +958,7 @@ declare class AlertComponent {
|
|
|
957
958
|
protected readonly hasTrailing: _angular_core.Signal<boolean>;
|
|
958
959
|
/** trailing y actions son excluyentes: si hay ambos, gana actions. */
|
|
959
960
|
protected readonly showTrailing: _angular_core.Signal<boolean>;
|
|
960
|
-
protected readonly computedAlign: _angular_core.Signal<"
|
|
961
|
+
protected readonly computedAlign: _angular_core.Signal<"start" | "center">;
|
|
961
962
|
protected readonly iconName: _angular_core.Signal<string | null>;
|
|
962
963
|
protected readonly chip: _angular_core.Signal<boolean>;
|
|
963
964
|
protected readonly showHead: _angular_core.Signal<boolean>;
|
|
@@ -2771,6 +2772,58 @@ declare class TagComponent {
|
|
|
2771
2772
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "ius-tag", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "closed": "closed"; }, ["prefixRef", "suffixRef"], ["[iusTagPrefix]", "*", "[iusTagSuffix]"], true, never>;
|
|
2772
2773
|
}
|
|
2773
2774
|
|
|
2775
|
+
/** Filtro de la barra: un `ius-tag role="filter"` (espejo de `FilterOption` del golden). */
|
|
2776
|
+
interface IusFilterBarOption {
|
|
2777
|
+
key?: string | number;
|
|
2778
|
+
label: string;
|
|
2779
|
+
tone?: IusTagTone;
|
|
2780
|
+
/** Ligadura Material Symbols Rounded. */
|
|
2781
|
+
icon?: string;
|
|
2782
|
+
count?: number | string;
|
|
2783
|
+
selected?: boolean;
|
|
2784
|
+
disabled?: boolean;
|
|
2785
|
+
onClick?: (event: MouseEvent) => void;
|
|
2786
|
+
}
|
|
2787
|
+
/**
|
|
2788
|
+
* FilterBar — Ius Design v2 (familia navigation).
|
|
2789
|
+
*
|
|
2790
|
+
* Fila de chips de filtro (`ius-tag role="filter"`): rótulo opcional, chip «Todas»,
|
|
2791
|
+
* los filtros, el chip «+ Filtro» y un slot al final. «Todas» aparece si hay `showAll`
|
|
2792
|
+
* o, sin él, si alguien escucha `(all)`. «+ Filtro» abre un `ius-dropdown` con
|
|
2793
|
+
* `addOptions`; sin ellas emite `(addFilter)` (y solo se pinta si alguien lo escucha).
|
|
2794
|
+
*
|
|
2795
|
+
* Fuente de verdad: `components/navigation/FilterBar/FilterBar.jsx` + `.d.ts`.
|
|
2796
|
+
*/
|
|
2797
|
+
declare class FilterBarComponent {
|
|
2798
|
+
/** Rótulo que precede a los chips («Fuente»). */
|
|
2799
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
2800
|
+
/** Filtros a pintar, en orden. */
|
|
2801
|
+
readonly filters: _angular_core.InputSignal<readonly IusFilterBarOption[]>;
|
|
2802
|
+
/** Fuerza o niega el chip «Todas»; si se omite depende de que alguien escuche `(all)`. */
|
|
2803
|
+
readonly showAll: _angular_core.InputSignal<boolean | undefined>;
|
|
2804
|
+
/** Texto del chip «Todas». */
|
|
2805
|
+
readonly allLabel: _angular_core.InputSignal<string>;
|
|
2806
|
+
/** Marca «Todas» como seleccionado. */
|
|
2807
|
+
readonly allSelected: _angular_core.InputSignal<boolean>;
|
|
2808
|
+
/** Texto del chip «+ Filtro». */
|
|
2809
|
+
readonly addLabel: _angular_core.InputSignal<string>;
|
|
2810
|
+
/** Opciones del menú de «+ Filtro»; con ellas el chip abre un dropdown en vez de emitir `(addFilter)`. */
|
|
2811
|
+
readonly addOptions: _angular_core.InputSignal<readonly IusMenuOption[] | undefined>;
|
|
2812
|
+
/** Escala de los chips. */
|
|
2813
|
+
readonly size: _angular_core.InputSignal<IusTagSize>;
|
|
2814
|
+
/** Chip «Todas» (original `onAll`). Es un EventEmitter para conocer si alguien escucha (`observed`). */
|
|
2815
|
+
readonly all: EventEmitter<void>;
|
|
2816
|
+
/** Chip «+ Filtro» sin `addOptions` (original `onAddFilter`). */
|
|
2817
|
+
readonly addFilter: EventEmitter<void>;
|
|
2818
|
+
/** Click en un filtro: emite la opción y, además, llama su `onClick`. */
|
|
2819
|
+
readonly filterClick: EventEmitter<IusFilterBarOption>;
|
|
2820
|
+
protected get showAllChip(): boolean;
|
|
2821
|
+
protected get showAddChip(): boolean;
|
|
2822
|
+
protected onFilter(option: IusFilterBarOption, event: MouseEvent): void;
|
|
2823
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterBarComponent, never>;
|
|
2824
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterBarComponent, "ius-filter-bar", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "showAll": { "alias": "showAll"; "required": false; "isSignal": true; }; "allLabel": { "alias": "allLabel"; "required": false; "isSignal": true; }; "allSelected": { "alias": "allSelected"; "required": false; "isSignal": true; }; "addLabel": { "alias": "addLabel"; "required": false; "isSignal": true; }; "addOptions": { "alias": "addOptions"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "all": "all"; "addFilter": "addFilter"; "filterClick": "filterClick"; }, never, ["*"], true, never>;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2774
2827
|
/** Tono semántico de un estado (nunca un hue "fruta"). */
|
|
2775
2828
|
type StatusTone = 'info' | 'neutral' | 'primary' | 'success' | 'warning' | 'danger';
|
|
2776
2829
|
/** Los 6 tonos semánticos, en el orden del contrato. Útil para matrices/demos. */
|
|
@@ -2988,6 +3041,8 @@ interface IusListCardAction {
|
|
|
2988
3041
|
ariaLabel?: string;
|
|
2989
3042
|
/** Tooltip en hover (si no, usa `label`). */
|
|
2990
3043
|
tooltip?: string;
|
|
3044
|
+
/** Acción desactivada: no llama `onClick`. Divergencia del golden, igual que `IusListViewAction`. */
|
|
3045
|
+
disabled?: boolean;
|
|
2991
3046
|
onClick?: (event: MouseEvent) => void;
|
|
2992
3047
|
key?: string | number;
|
|
2993
3048
|
}
|
|
@@ -4788,6 +4843,8 @@ interface SegmentedOption {
|
|
|
4788
4843
|
title?: string;
|
|
4789
4844
|
/** Deshabilita sólo esta opción. */
|
|
4790
4845
|
disabled?: boolean;
|
|
4846
|
+
/** Contador junto al label («Activos 12»). No se pinta en `iconOnly`. */
|
|
4847
|
+
count?: number;
|
|
4791
4848
|
}
|
|
4792
4849
|
/**
|
|
4793
4850
|
* SegmentedControl — Ius Design v2.
|
|
@@ -5417,8 +5474,12 @@ type IusChipState = 'idle' | 'hover' | 'disabled';
|
|
|
5417
5474
|
* display.
|
|
5418
5475
|
*
|
|
5419
5476
|
* Tres estados (Default · Hovered · Disabled) y tres tamaños. Admite un ícono a la
|
|
5420
|
-
* izquierda
|
|
5421
|
-
*
|
|
5477
|
+
* izquierda: ligadura (`icon`) o contenido (`iconTemplate`, p. ej. un
|
|
5478
|
+
* `ius-file-type-icon`, como el `icon` ReactNode del golden). No maneja color de
|
|
5479
|
+
* estado ni toggle → para eso usar **Tag**. Con `(clicked)` enlazado (o
|
|
5480
|
+
* `clickable`) se vuelve `role=button` enfocable y responde a Enter/Espacio
|
|
5481
|
+
* (`onClick` del golden; lo usan los adjuntos en chip de PostComposer). La × no
|
|
5482
|
+
* propaga el clic.
|
|
5422
5483
|
*
|
|
5423
5484
|
* Fuente de verdad: `components/data-display/Chip/Chip.jsx` + `.d.ts` + ng-spec.
|
|
5424
5485
|
* Todo sale de tokens `--ius-*`; los px de la pill (3/4/5 py, 8/10/12 px, 16/18/20
|
|
@@ -5430,6 +5491,10 @@ declare class ChipComponent {
|
|
|
5430
5491
|
label?: string;
|
|
5431
5492
|
/** Ícono Material Symbols a la izquierda (opcional). */
|
|
5432
5493
|
icon?: string;
|
|
5494
|
+
/** Ícono como contenido (p. ej. `ius-file-type-icon size="small"`); manda sobre `icon`. */
|
|
5495
|
+
iconTemplate?: TemplateRef<unknown>;
|
|
5496
|
+
/** Fuerza o niega el modo clicable; si se omite depende de que alguien escuche `(clicked)`. */
|
|
5497
|
+
clickable?: boolean;
|
|
5433
5498
|
/** Muestra el botón × y habilita quitar el chip (relleno azul). */
|
|
5434
5499
|
removable: boolean;
|
|
5435
5500
|
/** Tamaño de la pill. */
|
|
@@ -5442,13 +5507,20 @@ declare class ChipComponent {
|
|
|
5442
5507
|
removeLabel: string;
|
|
5443
5508
|
/** Al pulsar la × (original `onRemove`). */
|
|
5444
5509
|
readonly removed: EventEmitter<void>;
|
|
5510
|
+
/** Clic o Enter/Espacio sobre el chip (original `onClick`); enlazarlo lo vuelve `role=button`. */
|
|
5511
|
+
readonly clicked: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
5445
5512
|
/** Deshabilitado (real o forzado). */
|
|
5446
5513
|
protected get isDisabled(): boolean;
|
|
5514
|
+
/** Clicable: `clickable` explícito o, sin él, si alguien escucha `(clicked)`. */
|
|
5515
|
+
protected get isClickable(): boolean;
|
|
5516
|
+
protected onHostClick(event: MouseEvent): void;
|
|
5517
|
+
/** Solo con el chip enfocado: Enter/Espacio sobre la × son de la ×. */
|
|
5518
|
+
protected onHostKeydown(event: KeyboardEvent): void;
|
|
5447
5519
|
/** `data-state` solo cuando hay un estado forzado (≠ idle). */
|
|
5448
5520
|
protected get forcedState(): IusChipState | null;
|
|
5449
5521
|
protected handleRemove(event: MouseEvent): void;
|
|
5450
5522
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
5451
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChipComponent, "ius-chip", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; }, { "removed": "removed"; }, never, ["*"], true, never>;
|
|
5523
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChipComponent, "ius-chip", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconTemplate": { "alias": "iconTemplate"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; }, { "removed": "removed"; "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
5452
5524
|
static ngAcceptInputType_removable: unknown;
|
|
5453
5525
|
static ngAcceptInputType_disabled: unknown;
|
|
5454
5526
|
}
|
|
@@ -5497,12 +5569,17 @@ declare class FlexComponent {
|
|
|
5497
5569
|
type IusDividerOrientation = 'horizontal' | 'vertical';
|
|
5498
5570
|
type IusDividerVariant = 'solid' | 'dashed';
|
|
5499
5571
|
type IusDividerTextAlign = 'start' | 'center' | 'end';
|
|
5572
|
+
/** `primary` = marca de lo nuevo (separador «Nuevos» de un hilo). */
|
|
5573
|
+
type IusDividerTone = 'default' | 'primary';
|
|
5500
5574
|
/**
|
|
5501
5575
|
* Divider — separador NEUTRO (ng-spec components/data-display/Divider).
|
|
5502
5576
|
* Línea fina 1px --ius-neutral-3, horizontal (con etiqueta opcional proyectada)
|
|
5503
5577
|
* o vertical (rellena el alto del contenedor). Para separadores con tono
|
|
5504
5578
|
* semántico → Alert o borde propio. Sin outputs.
|
|
5505
5579
|
*
|
|
5580
|
+
* Única excepción de tono: `tone="primary"` (trazo --ius-primary-500, etiqueta
|
|
5581
|
+
* --ius-primary-700) marca lo nuevo — el separador «Nuevos» de un hilo.
|
|
5582
|
+
*
|
|
5506
5583
|
* Etiqueta: contenido proyectado (solo horizontal). textAlign mueve el trazo
|
|
5507
5584
|
* corto (stub) al lado del título, como el golden.
|
|
5508
5585
|
*/
|
|
@@ -5513,11 +5590,13 @@ declare class DividerComponent implements AfterViewInit {
|
|
|
5513
5590
|
variant: IusDividerVariant;
|
|
5514
5591
|
/** Alineación de la etiqueta (solo horizontal con etiqueta). */
|
|
5515
5592
|
textAlign: IusDividerTextAlign;
|
|
5593
|
+
/** `primary` marca lo nuevo (separador «Nuevos»): trazo primary-500, etiqueta primary-700. */
|
|
5594
|
+
tone: IusDividerTone;
|
|
5516
5595
|
private labelWrap;
|
|
5517
5596
|
protected readonly hasLabel: _angular_core.WritableSignal<boolean>;
|
|
5518
5597
|
ngAfterViewInit(): void;
|
|
5519
5598
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
5520
|
-
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>;
|
|
5599
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DividerComponent, "ius-divider", never, { "orientation": { "alias": "orientation"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
5521
5600
|
}
|
|
5522
5601
|
|
|
5523
5602
|
/** Contexto de uso: fila de overlay (neutral) · fila del NavRail (verde marca). */
|
|
@@ -8159,7 +8238,7 @@ declare class TableComponent<Row = any> {
|
|
|
8159
8238
|
protected readonly hasExpand: _angular_core.Signal<boolean>;
|
|
8160
8239
|
protected readonly hasGroups: _angular_core.Signal<boolean>;
|
|
8161
8240
|
protected readonly colCount: _angular_core.Signal<number>;
|
|
8162
|
-
protected readonly selWidth: _angular_core.Signal<
|
|
8241
|
+
protected readonly selWidth: _angular_core.Signal<52 | 44 | 40>;
|
|
8163
8242
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
8164
8243
|
protected readonly tableLayout: _angular_core.Signal<"auto" | "fixed">;
|
|
8165
8244
|
protected readonly skeletonIdx: _angular_core.Signal<number[]>;
|
|
@@ -11741,7 +11820,7 @@ interface IusAutocompleteItemContext<T> {
|
|
|
11741
11820
|
index: number;
|
|
11742
11821
|
}
|
|
11743
11822
|
/** Fila lista para pintar: label ya partido por la coincidencia con la query. */
|
|
11744
|
-
interface ItemVM<T> {
|
|
11823
|
+
interface ItemVM$1<T> {
|
|
11745
11824
|
item: T;
|
|
11746
11825
|
key: string | number;
|
|
11747
11826
|
label: string;
|
|
@@ -11901,7 +11980,7 @@ declare class AutocompleteComponent<T = any> implements ControlValueAccessor, On
|
|
|
11901
11980
|
protected readonly listaVisible: _angular_core.Signal<boolean>;
|
|
11902
11981
|
protected readonly cargando: _angular_core.Signal<boolean>;
|
|
11903
11982
|
protected readonly mostrarClear: _angular_core.Signal<boolean>;
|
|
11904
|
-
protected readonly itemsVM: _angular_core.Signal<ItemVM<T>[]>;
|
|
11983
|
+
protected readonly itemsVM: _angular_core.Signal<ItemVM$1<T>[]>;
|
|
11905
11984
|
protected readonly mensajeVacio: _angular_core.Signal<string>;
|
|
11906
11985
|
constructor();
|
|
11907
11986
|
ngOnInit(): void;
|
|
@@ -12305,7 +12384,7 @@ declare class EventPillComponent {
|
|
|
12305
12384
|
hoverable: boolean;
|
|
12306
12385
|
ariaLabel?: string;
|
|
12307
12386
|
/** Click sobre el pill; enlazarlo lo vuelve `role=button` (original `onClick`). */
|
|
12308
|
-
readonly clicked: EventEmitter<
|
|
12387
|
+
readonly clicked: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
12309
12388
|
protected get clickable(): boolean;
|
|
12310
12389
|
/** Tokens del hue resuelto: `hue` (escape) › `customHues[category]` › catálogo › neutral. */
|
|
12311
12390
|
protected get colors(): CategoryColors;
|
|
@@ -13338,7 +13417,7 @@ declare class KanbanCardComponent {
|
|
|
13338
13417
|
*/
|
|
13339
13418
|
readonly clickable: _angular_core.InputSignal<boolean | undefined>;
|
|
13340
13419
|
/** Clic en la card (abrir detalle). No dispara tras arrastrar. */
|
|
13341
|
-
readonly clicked: EventEmitter<
|
|
13420
|
+
readonly clicked: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
13342
13421
|
private readonly leadingRef;
|
|
13343
13422
|
private readonly trailingRef;
|
|
13344
13423
|
private readonly bodyRef;
|
|
@@ -14022,5 +14101,1225 @@ declare class NotificationItemComponent {
|
|
|
14022
14101
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationItemComponent, "ius-notification-item", never, { "kind": { "alias": "kind"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "module": { "alias": "module"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "unread": { "alias": "unread"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "openLabel": { "alias": "openLabel"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "leaving": { "alias": "leaving"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "dismissed": "dismissed"; "actionClick": "actionClick"; "exited": "exited"; }, never, never, true, never>;
|
|
14023
14102
|
}
|
|
14024
14103
|
|
|
14025
|
-
|
|
14026
|
-
|
|
14104
|
+
/** Escala del sistema — small ~34 · medium ~40 · large ~48 px (alto del riel). */
|
|
14105
|
+
type IusIconToggleSize = 'small' | 'medium' | 'large';
|
|
14106
|
+
/** `subtle` = pastilla blanca elevada (default) · `solid` = pastilla navy de marca. */
|
|
14107
|
+
type IusIconToggleVariant = 'subtle' | 'solid';
|
|
14108
|
+
/** Un toggle del grupo (2–6 recomendado). */
|
|
14109
|
+
interface IusIconToggleOption {
|
|
14110
|
+
/** Valor único; entra/sale del array de activos. */
|
|
14111
|
+
value: string;
|
|
14112
|
+
/** Ligadura Material Symbols Rounded. */
|
|
14113
|
+
icon?: string;
|
|
14114
|
+
/** Texto visible junto al ícono (opcional; sin él el botón es cuadrado, icon-only). */
|
|
14115
|
+
label?: string;
|
|
14116
|
+
/** Etiqueta accesible cuando el botón no lleva `label` visible. */
|
|
14117
|
+
ariaLabel?: string;
|
|
14118
|
+
/** Tooltip nativo; por defecto el `ariaLabel` en los icon-only. */
|
|
14119
|
+
title?: string;
|
|
14120
|
+
/** Deshabilita solo este toggle. */
|
|
14121
|
+
disabled?: boolean;
|
|
14122
|
+
}
|
|
14123
|
+
/**
|
|
14124
|
+
* IconToggle — Ius Design v2 (familia inputs).
|
|
14125
|
+
*
|
|
14126
|
+
* Grupo de toggles de ícono **multi-selección**: cada botón es un on/off
|
|
14127
|
+
* independiente y varios pueden quedar activos a la vez (negrita, cursiva,
|
|
14128
|
+
* subrayado…). Misma estética que SegmentedControl (riel `neutral-1` + pastilla,
|
|
14129
|
+
* `subtle`/`solid`, 3 tamaños) pero semántica `role="group"` + `aria-pressed`, no
|
|
14130
|
+
* `radiogroup`. Para selección única de ícono → SegmentedControl `iconOnly`; para
|
|
14131
|
+
* una acción puntual → IconButton; para un solo on/off → Switch.
|
|
14132
|
+
*
|
|
14133
|
+
* - Roving tabindex: flechas / Home / End mueven el **foco** (no conmutan);
|
|
14134
|
+
* Espacio/Enter conmutan el botón enfocado (click nativo del `<button>`).
|
|
14135
|
+
* - `preventBlur`: `preventDefault` en `mousedown` para no robar la selección
|
|
14136
|
+
* de un editor (toolbar del RichTextEditor); el toggle se confirma en `click`.
|
|
14137
|
+
* - `ControlValueAccessor` (`string[]`) y además `[(value)]` directo. El array
|
|
14138
|
+
* que se emite sigue el orden de `options` (espejo del golden).
|
|
14139
|
+
* - `size` opcional: sin él no se emite `data-size` y el tamaño sale de
|
|
14140
|
+
* `--ius-control-size` del ancestro (`@container style()`), o `medium`.
|
|
14141
|
+
*
|
|
14142
|
+
* Fuente de verdad: `components/inputs/IconToggle/IconToggle.jsx` + `.ng-spec.md`.
|
|
14143
|
+
*/
|
|
14144
|
+
declare class IconToggleComponent implements ControlValueAccessor {
|
|
14145
|
+
/** Toggles del grupo (2–6 recomendado). */
|
|
14146
|
+
options: IusIconToggleOption[];
|
|
14147
|
+
/** Escala. Sin valor no se emite `data-size` (manda `--ius-control-size`, o `medium`). */
|
|
14148
|
+
size?: IusIconToggleSize;
|
|
14149
|
+
/** Jerarquía visual de la pastilla activa. */
|
|
14150
|
+
variant: IusIconToggleVariant;
|
|
14151
|
+
/** `preventDefault` en `mousedown`: conserva la selección del editor (toolbars de RTE). */
|
|
14152
|
+
preventBlur: boolean;
|
|
14153
|
+
/** Etiqueta accesible del grupo (`role="group"`). */
|
|
14154
|
+
ariaLabel?: string;
|
|
14155
|
+
/** `name` de los botones. */
|
|
14156
|
+
name?: string;
|
|
14157
|
+
private readonly valueState;
|
|
14158
|
+
/** Valores activos (controlado / CVA). */
|
|
14159
|
+
set value(v: string[] | null | undefined);
|
|
14160
|
+
get value(): string[];
|
|
14161
|
+
private readonly disabledState;
|
|
14162
|
+
/** Deshabilita todo el grupo. */
|
|
14163
|
+
set disabled(v: boolean);
|
|
14164
|
+
get disabled(): boolean;
|
|
14165
|
+
/** Nuevo array de activos (original `onChange` arg 1 = `next`). Habilita `[(value)]`. */
|
|
14166
|
+
readonly valueChange: EventEmitter<string[]>;
|
|
14167
|
+
/** Valor conmutado en la última interacción (original `onChange` arg 2 = `changed`). */
|
|
14168
|
+
readonly toggled: EventEmitter<string>;
|
|
14169
|
+
/** Índice del botón tabbable (roving). `-1` = aún sin foco: el primero no deshabilitado. */
|
|
14170
|
+
protected readonly focusIdx: _angular_core.WritableSignal<number>;
|
|
14171
|
+
private readonly host;
|
|
14172
|
+
private readonly optRefs;
|
|
14173
|
+
private onChange;
|
|
14174
|
+
private onTouched;
|
|
14175
|
+
writeValue(value: string[] | null): void;
|
|
14176
|
+
registerOnChange(fn: (value: string[]) => void): void;
|
|
14177
|
+
registerOnTouched(fn: () => void): void;
|
|
14178
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14179
|
+
protected isPressed(o: IusIconToggleOption): boolean;
|
|
14180
|
+
protected isLabeled(o: IusIconToggleOption): boolean;
|
|
14181
|
+
/** Botón tabbable: el último enfocado o, de entrada, el primero sin `disabled` (golden). */
|
|
14182
|
+
protected tabIndexFor(index: number): number;
|
|
14183
|
+
private isEnabled;
|
|
14184
|
+
protected onMouseDown(event: MouseEvent): void;
|
|
14185
|
+
protected onOptionClick(o: IusIconToggleOption): void;
|
|
14186
|
+
protected onKeyDown(event: KeyboardEvent, index: number): void;
|
|
14187
|
+
/** `touched` al salir el foco del grupo (no al saltar entre sus botones). */
|
|
14188
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
14189
|
+
private moveFocus;
|
|
14190
|
+
private focusAt;
|
|
14191
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconToggleComponent, never>;
|
|
14192
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconToggleComponent, "ius-icon-toggle", never, { "options": { "alias": "options"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "preventBlur": { "alias": "preventBlur"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; "toggled": "toggled"; }, never, never, true, never>;
|
|
14193
|
+
static ngAcceptInputType_preventBlur: unknown;
|
|
14194
|
+
static ngAcceptInputType_disabled: unknown;
|
|
14195
|
+
}
|
|
14196
|
+
|
|
14197
|
+
/** Claves de las 10 reacciones propias, en orden de galería. */
|
|
14198
|
+
type ReactionKey = 'like' | 'thanks' | 'party' | 'love' | 'laugh' | 'important' | 'agree' | 'reviewed' | 'urgent' | 'seen';
|
|
14199
|
+
|
|
14200
|
+
/** Tamaño: `small` 16 · `medium` 20 (default) · `large` 32 · `xlarge` 64 px (`--ius-icon-sm/md/xl/2xl`). */
|
|
14201
|
+
type IusReactionEmojiSize = 'small' | 'medium' | 'large' | 'xlarge';
|
|
14202
|
+
/**
|
|
14203
|
+
* Animación: `none` · `hover` (al pasar el puntero sobre el emoji o sobre un ancestro
|
|
14204
|
+
* `.ius-remoji-trigger`, o al enfocarlo con teclado) · `once` (al montar) · `loop`.
|
|
14205
|
+
*/
|
|
14206
|
+
type IusReactionEmojiAnimate = 'none' | 'hover' | 'once' | 'loop';
|
|
14207
|
+
/** Reacción de la galería: clave + etiqueta accesible en español. */
|
|
14208
|
+
interface IusReactionDef {
|
|
14209
|
+
key: ReactionKey;
|
|
14210
|
+
label: string;
|
|
14211
|
+
}
|
|
14212
|
+
/** Las 10 reacciones propias, en orden de galería. */
|
|
14213
|
+
declare const REACTIONS: readonly IusReactionDef[];
|
|
14214
|
+
/** Las 6 del selector rápido; el resto va en «Más». */
|
|
14215
|
+
declare const REACTION_QUICK: readonly ReactionKey[];
|
|
14216
|
+
/** Clave → etiqueta accesible. */
|
|
14217
|
+
declare const REACTION_LABEL: Readonly<Record<ReactionKey, string>>;
|
|
14218
|
+
/** Normaliza una reacción guardada (clave propia o emoji Unicode del set anterior) a su clave. */
|
|
14219
|
+
declare function resolveReaction(v: string | null | undefined): ReactionKey | null;
|
|
14220
|
+
/**
|
|
14221
|
+
* ReactionEmoji — Ius Design v2 (familia foundations).
|
|
14222
|
+
*
|
|
14223
|
+
* Emoji de reacción **propio** (no Unicode del sistema): SVG inline por clave,
|
|
14224
|
+
* con arte de ilustración (`reaction-art.ts`, colores en la data y no en el
|
|
14225
|
+
* componente — mismo precedente que Illustration). Acepta la clave (`like`…) o el
|
|
14226
|
+
* emoji Unicode del set anterior (`resolveReaction`); una clave desconocida no
|
|
14227
|
+
* pinta nada (el host queda `hidden`).
|
|
14228
|
+
*
|
|
14229
|
+
* - Ids de gradiente únicos por instancia: el prefijo `P-` del arte se sustituye
|
|
14230
|
+
* por un id propio, para que varias reacciones convivan sin chocar `<defs>`.
|
|
14231
|
+
* - El arte es estático y de confianza (constante de la librería, nunca dato de
|
|
14232
|
+
* usuario): por eso, y solo por eso, se marca con `bypassSecurityTrustHtml`.
|
|
14233
|
+
* - Accesible por defecto (`role="img"` + `aria-label` = `label` o la etiqueta de
|
|
14234
|
+
* la clave); `decorative` lo oculta (`aria-hidden`).
|
|
14235
|
+
* - `prefers-reduced-motion: reduce` → sin animación.
|
|
14236
|
+
*
|
|
14237
|
+
* Fuente de verdad: `components/foundations/ReactionEmoji/ReactionEmoji.jsx` +
|
|
14238
|
+
* `reaction-art.js` + `.ng-spec.md`.
|
|
14239
|
+
*/
|
|
14240
|
+
declare class ReactionEmojiComponent {
|
|
14241
|
+
private readonly sanitizer;
|
|
14242
|
+
/** Id por instancia que sustituye el prefijo `P-` de los gradientes. */
|
|
14243
|
+
private readonly instanceId;
|
|
14244
|
+
/** Clave de la reacción o emoji Unicode del set anterior. */
|
|
14245
|
+
readonly name: _angular_core.InputSignal<string | null | undefined>;
|
|
14246
|
+
/** Escala (16/20/32/64 px). */
|
|
14247
|
+
readonly size: _angular_core.InputSignal<IusReactionEmojiSize>;
|
|
14248
|
+
/** Animación por clave (tilt, bob, shake, beat, drop, pop, flash, blink). */
|
|
14249
|
+
readonly animate: _angular_core.InputSignal<IusReactionEmojiAnimate>;
|
|
14250
|
+
/** Etiqueta accesible; por defecto la de la clave («Me gusta»…). */
|
|
14251
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
14252
|
+
/** Decorativo: `aria-hidden`, sin `role="img"`. */
|
|
14253
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14254
|
+
protected readonly key: _angular_core.Signal<ReactionKey | null>;
|
|
14255
|
+
protected readonly art: _angular_core.Signal<string | null>;
|
|
14256
|
+
protected readonly hasPart: _angular_core.Signal<boolean>;
|
|
14257
|
+
protected readonly ariaLabel: _angular_core.Signal<string | null>;
|
|
14258
|
+
protected readonly html: _angular_core.Signal<SafeHtml | null>;
|
|
14259
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ReactionEmojiComponent, never>;
|
|
14260
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ReactionEmojiComponent, "ius-reaction-emoji", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14261
|
+
}
|
|
14262
|
+
|
|
14263
|
+
/** Una mención dentro del texto: rango `[start, end)` sobre `text` (incluye el `@`). */
|
|
14264
|
+
interface MentionTokenData {
|
|
14265
|
+
/** Lo que devolvió `getItemId` al elegir (tras leerlo del DOM llega como string). */
|
|
14266
|
+
id: string | number;
|
|
14267
|
+
/** Nombre visible, sin el trigger. */
|
|
14268
|
+
name: string;
|
|
14269
|
+
start: number;
|
|
14270
|
+
end: number;
|
|
14271
|
+
}
|
|
14272
|
+
/** Valor del campo: texto plano con `@Nombre` inline + las menciones con sus rangos. */
|
|
14273
|
+
interface MentionsValue {
|
|
14274
|
+
text: string;
|
|
14275
|
+
mentions: MentionTokenData[];
|
|
14276
|
+
}
|
|
14277
|
+
/** Fuente de personas: arreglo (filtra por substring) o función sync/async. */
|
|
14278
|
+
type IusMentionsSource<T> = T[] | ((query: string) => T[] | Promise<T[]>);
|
|
14279
|
+
/** Escala del campo: small · medium · large. */
|
|
14280
|
+
type IusMentionsFieldSize = 'small' | 'medium' | 'large';
|
|
14281
|
+
/** Contexto del `TemplateRef` de `renderItem` (equivalente del `ctx` del golden). */
|
|
14282
|
+
interface IusMentionsItemContext<T> {
|
|
14283
|
+
/** El ítem (`let-item`). */
|
|
14284
|
+
$implicit: T;
|
|
14285
|
+
/** `true` si es el ítem resaltado por teclado/hover. */
|
|
14286
|
+
highlighted: boolean;
|
|
14287
|
+
/** Texto tecleado tras el trigger. */
|
|
14288
|
+
query: string;
|
|
14289
|
+
}
|
|
14290
|
+
interface ItemVM<T> {
|
|
14291
|
+
item: T;
|
|
14292
|
+
index: number;
|
|
14293
|
+
key: string | number;
|
|
14294
|
+
label: string;
|
|
14295
|
+
src?: string;
|
|
14296
|
+
role?: string;
|
|
14297
|
+
ctx: IusMentionsItemContext<T>;
|
|
14298
|
+
}
|
|
14299
|
+
/**
|
|
14300
|
+
* MentionsField — Ius Design v2 (familia inputs).
|
|
14301
|
+
*
|
|
14302
|
+
* Campo **multilínea** (superficie tipo TextArea, `contenteditable`) que reconoce
|
|
14303
|
+
* un trigger (`@`) y abre una lista de personas; al elegir, el `@texto` se vuelve
|
|
14304
|
+
* un **chip atómico** (`contenteditable=false` + `user-select: all`: Backspace lo
|
|
14305
|
+
* selecciona y el siguiente lo borra entero). Valor = `MentionsValue`
|
|
14306
|
+
* `{ text, mentions }` con los rangos `start/end` de cada mención en `text`.
|
|
14307
|
+
* Para un valor único de lista → Autocomplete; texto corto sin menciones →
|
|
14308
|
+
* TextField/TextArea; texto rico → RichTextEditor.
|
|
14309
|
+
*
|
|
14310
|
+
* - Lista en `ius-popover` (`trigger="manual"`, `bottom-start`, sin rabito)
|
|
14311
|
+
* anclado al editor, como el golden; con `touch` va en una **franja** bajo el
|
|
14312
|
+
* campo (sobre el teclado) con chips y scroll lateral con desvanecido de bordes.
|
|
14313
|
+
* - Fuente sync (arreglo: filtra al instante) o función sync/async (con
|
|
14314
|
+
* `debounceMs`; las respuestas obsoletas se descartan por sesión).
|
|
14315
|
+
* - `renderItem`: `TemplateRef` con contexto `{ $implicit: item, highlighted, query }`.
|
|
14316
|
+
* Sin él, cada fila es `ius-avatar` xsmall + nombre + `item.role`.
|
|
14317
|
+
* - `ControlValueAccessor` completo + `[(value)]`.
|
|
14318
|
+
*
|
|
14319
|
+
* Limitaciones heredadas del MVP (ng-spec §5): un solo trigger (multi-trigger
|
|
14320
|
+
* `@`/`#` = mejora futura) y lista anclada al editor, no al caret.
|
|
14321
|
+
*
|
|
14322
|
+
* Mejoras del port sobre el MVP (documentadas):
|
|
14323
|
+
* 1. **Write-back reactivo del valor.** El golden sólo sincroniza al montar y
|
|
14324
|
+
* cuando cambia `value.text` (cambios posteriores exigen remontar con `key`).
|
|
14325
|
+
* Aquí cada `value`/`writeValue` nuevo se compara con lo que hay en el editor
|
|
14326
|
+
* (texto + rangos + ids) y, si difiere, se repinta; si es lo mismo que se
|
|
14327
|
+
* acaba de emitir no se toca el DOM (el cursor no salta). `writeValue(null)`
|
|
14328
|
+
* (p. ej. `form.reset()`) vacía el editor.
|
|
14329
|
+
* 2. `box-sizing: border-box` en el editor: el golden le da `width: 100%` + padding
|
|
14330
|
+
* y, sin un reset global, desbordaba el contenedor.
|
|
14331
|
+
* 3. `maxRows` calcula el tope en CSS con las mismas variables de la escala
|
|
14332
|
+
* (`--_mf-fs`, `--_mf-lh`, `--_mf-py`), en vez de los px fijos por tamaño del
|
|
14333
|
+
* golden: así respeta también `--ius-control-size`.
|
|
14334
|
+
*
|
|
14335
|
+
* Fuente de verdad: `components/inputs/MentionsField/MentionsField.jsx` + `.ng-spec.md`.
|
|
14336
|
+
*/
|
|
14337
|
+
declare class MentionsFieldComponent<T = any> implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
14338
|
+
/** Valor externo vigente (`value` o `writeValue`); `undefined` = no controlado. */
|
|
14339
|
+
private externo;
|
|
14340
|
+
/** Valor (controlado). Cada valor nuevo se repinta si difiere del editor. */
|
|
14341
|
+
set value(v: MentionsValue | null | undefined);
|
|
14342
|
+
get value(): MentionsValue | null | undefined;
|
|
14343
|
+
/** Valor inicial (no controlado); sólo se lee al montar. */
|
|
14344
|
+
defaultValue?: MentionsValue;
|
|
14345
|
+
/** Personas: arreglo (filtra por substring del label) o función sync/async. */
|
|
14346
|
+
mentionables?: IusMentionsSource<T>;
|
|
14347
|
+
/** Carácter disparador. */
|
|
14348
|
+
trigger: string;
|
|
14349
|
+
private readonly getItemLabelState;
|
|
14350
|
+
/** Nombre visible. Default: `item.name`, `item.label` o el propio string. */
|
|
14351
|
+
set getItemLabel(fn: ((item: T) => string) | undefined);
|
|
14352
|
+
get getItemLabel(): ((item: T) => string) | undefined;
|
|
14353
|
+
private readonly getItemIdState;
|
|
14354
|
+
/** Id que queda en el chip y en `mentions[].id`. Default: `item.id` o el label. */
|
|
14355
|
+
set getItemId(fn: ((item: T) => string | number) | undefined);
|
|
14356
|
+
get getItemId(): ((item: T) => string | number) | undefined;
|
|
14357
|
+
/** Render a medida de cada fila. Contexto: `{ $implicit, highlighted, query }`. */
|
|
14358
|
+
renderItem?: TemplateRef<IusMentionsItemContext<T>>;
|
|
14359
|
+
/** Espera antes de consultar una fuente función (el arreglo filtra al instante). */
|
|
14360
|
+
debounceMs: number;
|
|
14361
|
+
/** Mensaje sin resultados. */
|
|
14362
|
+
noResultsText: string;
|
|
14363
|
+
/** Mensaje de carga (fuente async). */
|
|
14364
|
+
loadingText: string;
|
|
14365
|
+
/** Etiqueta sobre el editor (también su `aria-label`). */
|
|
14366
|
+
label?: string;
|
|
14367
|
+
/** Texto con el editor vacío. */
|
|
14368
|
+
placeholder?: string;
|
|
14369
|
+
/** Ayuda bajo el campo. */
|
|
14370
|
+
helperText?: string;
|
|
14371
|
+
/** Reemplaza `helperText` cuando `error` es `true`. */
|
|
14372
|
+
errorText?: string;
|
|
14373
|
+
/** Estado de error. */
|
|
14374
|
+
error: boolean;
|
|
14375
|
+
/** Escala. Sin valor no se emite `data-size` (manda `--ius-control-size`, o `medium`). */
|
|
14376
|
+
size?: IusMentionsFieldSize;
|
|
14377
|
+
/** Punto de obligatorio junto a la etiqueta. */
|
|
14378
|
+
required: boolean;
|
|
14379
|
+
/** Altura mínima en filas. */
|
|
14380
|
+
minRows: number;
|
|
14381
|
+
/** Tope en filas; pasado el tope, scroll interno. Sin él el editor crece libre. */
|
|
14382
|
+
maxRows?: number;
|
|
14383
|
+
/** Móvil: sugerencias en una franja bajo el campo (sobre el teclado), no flotando. */
|
|
14384
|
+
touch: boolean;
|
|
14385
|
+
/** `data-name` del editor. */
|
|
14386
|
+
name?: string;
|
|
14387
|
+
/** `id` del campo (va en la raíz; la etiqueta lo referencia). */
|
|
14388
|
+
id?: string;
|
|
14389
|
+
private readonly disabledState;
|
|
14390
|
+
/** Deshabilita el campo (editor no editable). */
|
|
14391
|
+
set disabled(v: boolean);
|
|
14392
|
+
get disabled(): boolean;
|
|
14393
|
+
/** `{ text, mentions }` tras cada cambio (original `onChange`). Habilita `[(value)]`. */
|
|
14394
|
+
readonly valueChange: EventEmitter<MentionsValue>;
|
|
14395
|
+
private readonly editor;
|
|
14396
|
+
private readonly band;
|
|
14397
|
+
protected readonly items: _angular_core.WritableSignal<T[]>;
|
|
14398
|
+
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
14399
|
+
protected readonly query: _angular_core.WritableSignal<string>;
|
|
14400
|
+
protected readonly loading: _angular_core.WritableSignal<boolean>;
|
|
14401
|
+
protected readonly highlightIdx: _angular_core.WritableSignal<number>;
|
|
14402
|
+
private triggerRange;
|
|
14403
|
+
private debounceTimer?;
|
|
14404
|
+
private blurTimer?;
|
|
14405
|
+
private session;
|
|
14406
|
+
private viewReady;
|
|
14407
|
+
private onChangeFn;
|
|
14408
|
+
private onTouchedFn;
|
|
14409
|
+
/** Lista visible (golden: abierta, no deshabilitada y con carga o resultados). */
|
|
14410
|
+
protected readonly listOpen: _angular_core.Signal<boolean>;
|
|
14411
|
+
protected readonly itemsVM: _angular_core.Signal<ItemVM<T>[]>;
|
|
14412
|
+
constructor();
|
|
14413
|
+
ngAfterViewInit(): void;
|
|
14414
|
+
ngOnDestroy(): void;
|
|
14415
|
+
protected get hint(): string | undefined;
|
|
14416
|
+
/** Tope de alto con `maxRows`: misma fórmula que el `min-height` (filas · fs · lh + py · 2). */
|
|
14417
|
+
protected get maxHeight(): string | null;
|
|
14418
|
+
private aplicarExterno;
|
|
14419
|
+
private emit;
|
|
14420
|
+
private labelOf;
|
|
14421
|
+
private idOf;
|
|
14422
|
+
private resolveMentionables;
|
|
14423
|
+
private cerrar;
|
|
14424
|
+
/** ¿El caret está en medio de una mención (`@query` sin espacios)? Actualiza lista y rango. */
|
|
14425
|
+
private detectTrigger;
|
|
14426
|
+
private insertMention;
|
|
14427
|
+
protected onInput(): void;
|
|
14428
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
14429
|
+
protected onBlur(): void;
|
|
14430
|
+
protected onItemMouseDown(event: MouseEvent, item: T): void;
|
|
14431
|
+
writeValue(value: MentionsValue | null): void;
|
|
14432
|
+
registerOnChange(fn: (value: MentionsValue) => void): void;
|
|
14433
|
+
registerOnTouched(fn: () => void): void;
|
|
14434
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14435
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MentionsFieldComponent<any>, never>;
|
|
14436
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MentionsFieldComponent<any>, "ius-mentions-field", never, { "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "mentionables": { "alias": "mentionables"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "getItemLabel": { "alias": "getItemLabel"; "required": false; }; "getItemId": { "alias": "getItemId"; "required": false; }; "renderItem": { "alias": "renderItem"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; "noResultsText": { "alias": "noResultsText"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "size": { "alias": "size"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "touch": { "alias": "touch"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14437
|
+
static ngAcceptInputType_debounceMs: unknown;
|
|
14438
|
+
static ngAcceptInputType_error: unknown;
|
|
14439
|
+
static ngAcceptInputType_required: unknown;
|
|
14440
|
+
static ngAcceptInputType_minRows: unknown;
|
|
14441
|
+
static ngAcceptInputType_touch: unknown;
|
|
14442
|
+
static ngAcceptInputType_disabled: unknown;
|
|
14443
|
+
}
|
|
14444
|
+
|
|
14445
|
+
/**
|
|
14446
|
+
* Catálogo de emojis para el picker del RichTextEditor.
|
|
14447
|
+
* Cada entrada = [carácter, palabras clave en español] para búsqueda.
|
|
14448
|
+
* Curado (no es el set Unicode completo): caras, gestos, afecto, oficina/legal,
|
|
14449
|
+
* símbolos y estados — lo más usado en notas, correos y comentarios del dominio.
|
|
14450
|
+
*
|
|
14451
|
+
* Port verbatim de components/inputs/RichTextEditor/emoji-data.js (solo se añaden tipos).
|
|
14452
|
+
*/
|
|
14453
|
+
/** [carácter, palabras clave en español]. */
|
|
14454
|
+
type EmojiEntry = readonly [char: string, keywords: string];
|
|
14455
|
+
|
|
14456
|
+
/**
|
|
14457
|
+
* RichTextEngine — el «seam» del RichTextEditor (ng-spec §7).
|
|
14458
|
+
*
|
|
14459
|
+
* El componente `ius-rich-text-editor` habla SOLO con esta interfaz; la
|
|
14460
|
+
* implementación vigente es `TiptapEngine` (tiptap 3.27.3 vanilla sobre
|
|
14461
|
+
* `@tiptap/core`). El componente no conoce tiptap ni guarda/restaura rangos:
|
|
14462
|
+
* el motor preserva la selección.
|
|
14463
|
+
*/
|
|
14464
|
+
/** Comandos de edición que el motor sabe ejecutar (`exec`) y consultar (`isActive`). */
|
|
14465
|
+
type RichTextCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'bulletList' | 'numberList' | 'link' | 'unlink' | 'clear';
|
|
14466
|
+
/** Persona sugerida para las menciones `@` (Fase 1). */
|
|
14467
|
+
interface MentionItem {
|
|
14468
|
+
/** Identificador único (se serializa como `data-id`). */
|
|
14469
|
+
id: string;
|
|
14470
|
+
/** Nombre visible (`@label`; se serializa como `data-label`). */
|
|
14471
|
+
label: string;
|
|
14472
|
+
/** URL de foto para el avatar del popup. */
|
|
14473
|
+
avatarUrl?: string;
|
|
14474
|
+
/** Línea secundaria del popup (rol, cargo…). */
|
|
14475
|
+
secondary?: string;
|
|
14476
|
+
}
|
|
14477
|
+
/** Lo que el motor reporta al popup de menciones en cada paso de la sugerencia. */
|
|
14478
|
+
interface MentionPopupContext {
|
|
14479
|
+
/** Rect del `@consulta` en pantalla (ancla virtual del popup); `null` si ya no existe. */
|
|
14480
|
+
clientRect(): DOMRect | null;
|
|
14481
|
+
/** Coincidencias de `mentionItems(query)`. */
|
|
14482
|
+
items: MentionItem[];
|
|
14483
|
+
/** Texto tras el `@`. */
|
|
14484
|
+
query: string;
|
|
14485
|
+
/** Inserta la mención elegida (reemplaza `@consulta` por el nodo + un espacio). */
|
|
14486
|
+
command(item: MentionItem): void;
|
|
14487
|
+
}
|
|
14488
|
+
/** Popup de menciones que pinta el componente (Popover + OptionItem); el motor lo invoca. */
|
|
14489
|
+
interface MentionPopupAdapter {
|
|
14490
|
+
open(ctx: MentionPopupContext): void;
|
|
14491
|
+
update(ctx: MentionPopupContext): void;
|
|
14492
|
+
close(): void;
|
|
14493
|
+
/** `true` = tecla consumida por el popup (↑/↓/Enter/Tab/Esc): no llega al documento. */
|
|
14494
|
+
onKeyDown(event: KeyboardEvent): boolean;
|
|
14495
|
+
}
|
|
14496
|
+
/** Opciones de montaje del motor. */
|
|
14497
|
+
interface RichTextEngineOptions {
|
|
14498
|
+
/** HTML inicial. */
|
|
14499
|
+
initialHTML?: string;
|
|
14500
|
+
/** Editable al montar (default `true`). */
|
|
14501
|
+
editable?: boolean;
|
|
14502
|
+
/** Placeholder del editor vacío; una función se reevalúa en cada repintado. */
|
|
14503
|
+
placeholder?: string | (() => string);
|
|
14504
|
+
/** Cada cambio del documento, con el HTML (`''` si quedó vacío). */
|
|
14505
|
+
onChange: (html: string) => void;
|
|
14506
|
+
/** Cambio de selección (recalcular el estado activo de la toolbar). */
|
|
14507
|
+
onSelectionChange?: () => void;
|
|
14508
|
+
/** Catálogo de personas para `@`; sin él no se instala la extensión de menciones. */
|
|
14509
|
+
mentionItems?: (query: string) => MentionItem[] | Promise<MentionItem[]>;
|
|
14510
|
+
/** Popup de menciones (obligatorio para verlas si hay `mentionItems`). */
|
|
14511
|
+
onMentionRender?: MentionPopupAdapter;
|
|
14512
|
+
}
|
|
14513
|
+
/** Contrato del motor de edición (ng-spec §7). */
|
|
14514
|
+
interface RichTextEngine {
|
|
14515
|
+
/** Monta el editor dentro de `el` (el motor crea el `contenteditable`). */
|
|
14516
|
+
mount(el: HTMLElement, opts: RichTextEngineOptions): void;
|
|
14517
|
+
destroy(): void;
|
|
14518
|
+
/** HTML del documento; `''` cuando está vacío. */
|
|
14519
|
+
getHTML(): string;
|
|
14520
|
+
/** Sync controlado: no re-emite y no toca el documento si ya es ese HTML (guarda de eco). */
|
|
14521
|
+
setHTML(html: string): void;
|
|
14522
|
+
focus(): void;
|
|
14523
|
+
setEditable(editable: boolean): void;
|
|
14524
|
+
exec(cmd: RichTextCommand, value?: string): void;
|
|
14525
|
+
isActive(cmd: RichTextCommand): boolean;
|
|
14526
|
+
getSelectedText(): string;
|
|
14527
|
+
/** Enlaza la selección o, con el caret colapsado, inserta `text` (o la URL) enlazado. */
|
|
14528
|
+
setLink(href: string, text?: string): void;
|
|
14529
|
+
/** Inserta un fragmento (texto/emoji Unicode) en el caret. */
|
|
14530
|
+
insert(fragment: string): void;
|
|
14531
|
+
/** Escribe `@` en el caret (con un espacio previo si hace falta) para abrir la sugerencia. */
|
|
14532
|
+
insertMentionTrigger?(): void;
|
|
14533
|
+
/** Cambia el placeholder sin remontar. */
|
|
14534
|
+
setPlaceholder?(text: string): void;
|
|
14535
|
+
}
|
|
14536
|
+
|
|
14537
|
+
/** Herramientas de la toolbar. `'divider'` inserta un separador vertical. */
|
|
14538
|
+
type RichTextTool = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'bulletList' | 'numberList' | 'link' | 'clear' | 'emoji' | 'mention' | 'divider';
|
|
14539
|
+
/** Escala del campo: small · medium · large. */
|
|
14540
|
+
type IusRichTextEditorSize = 'small' | 'medium' | 'large';
|
|
14541
|
+
/** Tono del marco: `note` = nota interna (banano). */
|
|
14542
|
+
type IusRichTextEditorTone = 'default' | 'note';
|
|
14543
|
+
/** Cromo: `default` = caja propia · `bare` = sin caja, sobre la superficie que lo contiene. */
|
|
14544
|
+
type IusRichTextEditorVariant = 'default' | 'bare';
|
|
14545
|
+
/** Fuente de personas para `@` (sync o async). */
|
|
14546
|
+
type IusRichTextMentionSource = (query: string) => MentionItem[] | Promise<MentionItem[]>;
|
|
14547
|
+
type ToggleTool = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'bulletList' | 'numberList';
|
|
14548
|
+
type ActionTool = 'link' | 'clear' | 'emoji' | 'mention';
|
|
14549
|
+
/** Toolbar por defecto (ng-spec §2 †). */
|
|
14550
|
+
declare const IUS_RTE_DEFAULT_TOOLBAR: readonly RichTextTool[];
|
|
14551
|
+
/** Normaliza la URL del enlace: sin esquema conocido se antepone `https://` (ng-spec §4.1). */
|
|
14552
|
+
declare function normalizeRichTextUrl(url: string): string;
|
|
14553
|
+
/** Pieza de la toolbar ya resuelta (corrida de toggles, separador o acción). */
|
|
14554
|
+
interface ToolbarItemVM {
|
|
14555
|
+
kind: 'toggles' | 'divider' | 'action';
|
|
14556
|
+
key: string;
|
|
14557
|
+
/** Solo `toggles`: herramientas de la corrida, en orden. */
|
|
14558
|
+
ids: ToggleTool[];
|
|
14559
|
+
/** Solo `toggles`: opciones del IconToggle. */
|
|
14560
|
+
options: IusIconToggleOption[];
|
|
14561
|
+
/** Solo `action`. */
|
|
14562
|
+
tool?: ActionTool;
|
|
14563
|
+
icon: string;
|
|
14564
|
+
label: string;
|
|
14565
|
+
}
|
|
14566
|
+
interface MentionState {
|
|
14567
|
+
open: boolean;
|
|
14568
|
+
items: MentionItem[];
|
|
14569
|
+
index: number;
|
|
14570
|
+
/** Ancla virtual (rect vivo del `@consulta`); `null` = sin rect, no se pinta. */
|
|
14571
|
+
anchor: (() => DOMRect | null) | null;
|
|
14572
|
+
}
|
|
14573
|
+
/**
|
|
14574
|
+
* RichTextEditor — Ius Design v2 (familia inputs).
|
|
14575
|
+
*
|
|
14576
|
+
* Campo de **texto enriquecido**: superficie `contenteditable` multilínea con una
|
|
14577
|
+
* **toolbar de formato** (negrita, cursiva, subrayado, tachado, listas, enlace,
|
|
14578
|
+
* quitar formato; emoji y menciones `@` en Fase 1). Valor = **string HTML**
|
|
14579
|
+
* (`''` cuando queda vacío): `ControlValueAccessor` + `valueChange`.
|
|
14580
|
+
*
|
|
14581
|
+
* Motor detrás del seam `RichTextEngine` (§7): `TiptapEngine` (tiptap 3.27.3
|
|
14582
|
+
* vanilla, de npm). El componente no conoce tiptap: lo pide por `import()`
|
|
14583
|
+
* dinámico (`rich-text-engine-loader`), así tiptap/ProseMirror van en un chunk
|
|
14584
|
+
* perezoso de la app y no en su bundle inicial.
|
|
14585
|
+
*
|
|
14586
|
+
* Composición (ng-spec §4.0): corridas de toggles → `ius-icon-toggle`
|
|
14587
|
+
* (`preventBlur`, valor = activos en el caret); acciones → `ius-icon-button`
|
|
14588
|
+
* tertiary con `mousedown` preventDefault; `'divider'` → `ius-divider` vertical;
|
|
14589
|
+
* enlace → `ius-popover` + `ius-text-field` ×2 + `ius-button`; emoji →
|
|
14590
|
+
* `ius-popover` + `ius-search-bar` + grilla; mención → `ius-popover` anclado al
|
|
14591
|
+
* caret (`anchorRect`) + `ius-option-item` (avatar xsmall + nombre).
|
|
14592
|
+
*
|
|
14593
|
+
* Mejoras/decisiones del port (documentadas):
|
|
14594
|
+
* 1. Write-back reactivo: cada `value`/`writeValue` se aplica con `setHTML`
|
|
14595
|
+
* (guarda de eco: si es el HTML vigente no toca el documento ni el caret);
|
|
14596
|
+
* en React hacía falta remontar con `key`.
|
|
14597
|
+
* 2. Sin motor de respaldo `execCommand`: tiptap llega por npm en un chunk
|
|
14598
|
+
* perezoso de la propia app, no por CDN. Mientras carga (solo el primer
|
|
14599
|
+
* editor) la toolbar queda inerte y `writeValue`/`[value]`/`disabled`/
|
|
14600
|
+
* `placeholder`/`label`/`mentionItems` se aplican al montar; si el chunk
|
|
14601
|
+
* falla, el error va al `ErrorHandler` y el editor no monta.
|
|
14602
|
+
* 3. `touch`: el golden abre enlace/emoji en hoja (BottomSheet); la librería no
|
|
14603
|
+
* tiene esa presentación, así que en móvil siguen en popover.
|
|
14604
|
+
* 4. `MentionItem.secondary` se pinta como `description` del OptionItem (el
|
|
14605
|
+
* golden lo declara en el `.d.ts` y no lo pinta).
|
|
14606
|
+
*
|
|
14607
|
+
* Fuente de verdad: `components/inputs/RichTextEditor/RichTextEditor.jsx` +
|
|
14608
|
+
* `.d.ts` + `RichTextEditor.ng-spec.md`.
|
|
14609
|
+
*/
|
|
14610
|
+
declare class RichTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
14611
|
+
/** Valor externo vigente (`value` o `writeValue`); `undefined` = no controlado. */
|
|
14612
|
+
private external;
|
|
14613
|
+
/** Contenido controlado (HTML). Cada valor nuevo se aplica con guarda de eco. */
|
|
14614
|
+
set value(v: string | null | undefined);
|
|
14615
|
+
get value(): string | undefined;
|
|
14616
|
+
/** Contenido inicial (HTML) cuando no es controlado; solo se lee al montar. */
|
|
14617
|
+
defaultValue: string;
|
|
14618
|
+
private readonly toolbarState;
|
|
14619
|
+
/** Herramientas visibles y su orden; `'divider'` = separador vertical. */
|
|
14620
|
+
set toolbar(v: readonly RichTextTool[] | null | undefined);
|
|
14621
|
+
get toolbar(): readonly RichTextTool[];
|
|
14622
|
+
private readonly mentionItemsState;
|
|
14623
|
+
/** Catálogo de personas para `@` (sync/async). Si se provee, activa la tool `mention`. */
|
|
14624
|
+
set mentionItems(fn: IusRichTextMentionSource | null | undefined);
|
|
14625
|
+
get mentionItems(): IusRichTextMentionSource | undefined;
|
|
14626
|
+
/** Etiqueta del campo (también el `aria-label` del editor). */
|
|
14627
|
+
label?: string;
|
|
14628
|
+
/** Texto guía con el editor vacío. */
|
|
14629
|
+
placeholder: string;
|
|
14630
|
+
/** Ayuda bajo el campo. */
|
|
14631
|
+
helperText?: string;
|
|
14632
|
+
/** Estado de error. */
|
|
14633
|
+
error: boolean;
|
|
14634
|
+
/** Reemplaza `helperText` en error. */
|
|
14635
|
+
errorText?: string;
|
|
14636
|
+
/** Escala. Sin valor no se emite `data-size` (manda `--ius-control-size`, o `medium`). */
|
|
14637
|
+
size?: IusRichTextEditorSize;
|
|
14638
|
+
/** `note` = nota interna (banano). Error y disabled mandan. */
|
|
14639
|
+
tone: IusRichTextEditorTone;
|
|
14640
|
+
/** `bare` = sin caja (sin relleno, borde, radio ni halo). */
|
|
14641
|
+
variant: IusRichTextEditorVariant;
|
|
14642
|
+
/** Punto de obligatorio antes de la etiqueta. */
|
|
14643
|
+
required: boolean;
|
|
14644
|
+
/** Altura mínima del editor en líneas aprox. */
|
|
14645
|
+
minRows: number;
|
|
14646
|
+
/** Tope en líneas antes del scroll interno. */
|
|
14647
|
+
maxRows?: number;
|
|
14648
|
+
/** Enfoca el editor al quedar listo el motor (`preventScroll`). */
|
|
14649
|
+
autoFocus: boolean;
|
|
14650
|
+
/** `data-name` del contenedor del editor. */
|
|
14651
|
+
name?: string;
|
|
14652
|
+
/** `id` del campo (en la raíz). */
|
|
14653
|
+
id?: string;
|
|
14654
|
+
protected readonly touchState: _angular_core.WritableSignal<boolean>;
|
|
14655
|
+
/** Móvil: toolbar en una sola fila con scroll horizontal y botones de 44 px. */
|
|
14656
|
+
set touch(v: boolean);
|
|
14657
|
+
get touch(): boolean;
|
|
14658
|
+
private readonly disabledInput;
|
|
14659
|
+
private readonly disabledByForm;
|
|
14660
|
+
/** Editor no editable + toolbar inerte. */
|
|
14661
|
+
set disabled(v: boolean);
|
|
14662
|
+
get disabled(): boolean;
|
|
14663
|
+
/** HTML del editor tras cada cambio (`''` si vacío). Original `onChange`. Habilita `[(value)]`. */
|
|
14664
|
+
readonly valueChange: EventEmitter<string>;
|
|
14665
|
+
private readonly hostRef;
|
|
14666
|
+
private readonly toolbarRef;
|
|
14667
|
+
private readonly isBrowser;
|
|
14668
|
+
private readonly engineLoader;
|
|
14669
|
+
private readonly errorHandler;
|
|
14670
|
+
/** Constructor del motor, ya cargado (`null` mientras llega el chunk de tiptap). */
|
|
14671
|
+
private engineCtor;
|
|
14672
|
+
private engine;
|
|
14673
|
+
private mountedWithMentions;
|
|
14674
|
+
private destroyed;
|
|
14675
|
+
protected readonly disabledState: _angular_core.Signal<boolean>;
|
|
14676
|
+
protected readonly ready: _angular_core.WritableSignal<boolean>;
|
|
14677
|
+
protected readonly focused: _angular_core.WritableSignal<boolean>;
|
|
14678
|
+
/** Toggles activos en el caret. */
|
|
14679
|
+
protected readonly active: _angular_core.WritableSignal<ToggleTool[]>;
|
|
14680
|
+
protected readonly busy: _angular_core.Signal<boolean>;
|
|
14681
|
+
protected readonly linkOpen: _angular_core.WritableSignal<boolean>;
|
|
14682
|
+
protected readonly linkHref: _angular_core.WritableSignal<string>;
|
|
14683
|
+
protected readonly linkText: _angular_core.WritableSignal<string>;
|
|
14684
|
+
protected readonly linkActive: _angular_core.WritableSignal<boolean>;
|
|
14685
|
+
protected readonly emojiOpen: _angular_core.WritableSignal<boolean>;
|
|
14686
|
+
protected readonly emojiQuery: _angular_core.WritableSignal<string>;
|
|
14687
|
+
protected readonly emojiMatches: _angular_core.Signal<readonly EmojiEntry[]>;
|
|
14688
|
+
protected readonly mention: _angular_core.WritableSignal<MentionState>;
|
|
14689
|
+
private mentionCommand;
|
|
14690
|
+
protected readonly ngModelSuelto: {
|
|
14691
|
+
standalone: boolean;
|
|
14692
|
+
};
|
|
14693
|
+
private onChangeFn;
|
|
14694
|
+
private onTouchedFn;
|
|
14695
|
+
/** Toolbar resuelta: corridas de toggles consecutivos → un IconToggle (golden `flushToggles`). */
|
|
14696
|
+
protected readonly layout: _angular_core.Signal<ToolbarItemVM[]>;
|
|
14697
|
+
/** Valor de cada corrida de toggles (los activos de la corrida), por índice de `layout`. */
|
|
14698
|
+
protected readonly runValues: _angular_core.Signal<string[][]>;
|
|
14699
|
+
/** Adaptador del popup de menciones (estable; el motor lo invoca). */
|
|
14700
|
+
private readonly mentionAdapter;
|
|
14701
|
+
constructor();
|
|
14702
|
+
ngAfterViewInit(): void;
|
|
14703
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14704
|
+
ngOnDestroy(): void;
|
|
14705
|
+
/** Primer montaje, con el estado vigente (lo que llegó mientras cargaba el motor). */
|
|
14706
|
+
private start;
|
|
14707
|
+
private mountEngine;
|
|
14708
|
+
private destroyEngine;
|
|
14709
|
+
private editorElement;
|
|
14710
|
+
/** `aria-label` (desde `label`) y `aria-disabled` del editor (ng-spec §8). */
|
|
14711
|
+
private syncEditorAttrs;
|
|
14712
|
+
private syncEditable;
|
|
14713
|
+
private applyExternal;
|
|
14714
|
+
private emit;
|
|
14715
|
+
private refreshActive;
|
|
14716
|
+
protected onToggle(changed: string): void;
|
|
14717
|
+
protected onAction(tool: ActionTool | undefined): void;
|
|
14718
|
+
private openLink;
|
|
14719
|
+
protected applyLink(): void;
|
|
14720
|
+
protected removeLink(): void;
|
|
14721
|
+
protected onLinkKeydown(event: KeyboardEvent): void;
|
|
14722
|
+
protected onLinkOpenChange(open: boolean): void;
|
|
14723
|
+
protected pickEmoji(emoji: string): void;
|
|
14724
|
+
protected onEmojiOpenChange(open: boolean): void;
|
|
14725
|
+
private applyMentionCtx;
|
|
14726
|
+
private onMentionKeyDown;
|
|
14727
|
+
protected selectMention(item: MentionItem): void;
|
|
14728
|
+
protected onMentionOpenChange(open: boolean): void;
|
|
14729
|
+
protected onFocusIn(): void;
|
|
14730
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
14731
|
+
protected get hint(): string | undefined;
|
|
14732
|
+
writeValue(value: string | null): void;
|
|
14733
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
14734
|
+
registerOnTouched(fn: () => void): void;
|
|
14735
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14736
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
14737
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextEditorComponent, "ius-rich-text-editor", never, { "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "mentionItems": { "alias": "mentionItems"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "touch": { "alias": "touch"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14738
|
+
static ngAcceptInputType_error: unknown;
|
|
14739
|
+
static ngAcceptInputType_required: unknown;
|
|
14740
|
+
static ngAcceptInputType_minRows: unknown;
|
|
14741
|
+
static ngAcceptInputType_autoFocus: unknown;
|
|
14742
|
+
static ngAcceptInputType_touch: unknown;
|
|
14743
|
+
static ngAcceptInputType_disabled: unknown;
|
|
14744
|
+
}
|
|
14745
|
+
|
|
14746
|
+
/** `post` publicación nueva · `reply` respuesta · `edit` edición en el sitio. */
|
|
14747
|
+
type IusPostComposerVariant = 'post' | 'reply' | 'edit';
|
|
14748
|
+
/** `small`: editor y botones small y una línea inicial en reply/edit. */
|
|
14749
|
+
type IusPostComposerSize = 'small' | 'medium';
|
|
14750
|
+
/** `rows`: FileItem en fila · `chips`: un Chip por adjunto en una fila que salta de línea. */
|
|
14751
|
+
type IusPostComposerAttachmentsLayout = 'rows' | 'chips';
|
|
14752
|
+
/** Proceso o grupo al que se liga una publicación (mismo contrato que `CommentThread`). */
|
|
14753
|
+
type PostTarget = {
|
|
14754
|
+
type: 'process';
|
|
14755
|
+
radicado: string;
|
|
14756
|
+
label?: string;
|
|
14757
|
+
/** Partes del proceso; se muestran en un Tooltip del chip (el chip sigue en una línea). */
|
|
14758
|
+
description?: string;
|
|
14759
|
+
} | {
|
|
14760
|
+
type: 'group';
|
|
14761
|
+
label?: string;
|
|
14762
|
+
description?: string;
|
|
14763
|
+
};
|
|
14764
|
+
/**
|
|
14765
|
+
* Adjunto de la publicación: `id` + `name` y los campos de `ius-file-item` que la fila
|
|
14766
|
+
* (`attachmentsLayout="rows"`) pasa tal cual. En `chips` solo se usan `kind`/`name`.
|
|
14767
|
+
*/
|
|
14768
|
+
interface PostAttachment {
|
|
14769
|
+
id?: string | number;
|
|
14770
|
+
name: string;
|
|
14771
|
+
kind?: FileKind | string;
|
|
14772
|
+
thumbnail?: string;
|
|
14773
|
+
caption?: string;
|
|
14774
|
+
fields?: readonly IusFileItemField[];
|
|
14775
|
+
tags?: readonly IusFileItemTag[];
|
|
14776
|
+
owner?: IusFileItemOwner;
|
|
14777
|
+
shared?: boolean;
|
|
14778
|
+
unread?: boolean;
|
|
14779
|
+
status?: IusFileItemStatus;
|
|
14780
|
+
progress?: number;
|
|
14781
|
+
statusLabel?: string;
|
|
14782
|
+
/** Acciones de la fila cuando el adjunto NO es removible (con «Quitar» se reemplazan). */
|
|
14783
|
+
actions?: readonly IusFileItemAction[];
|
|
14784
|
+
menu?: readonly IusDropdownItem[];
|
|
14785
|
+
href?: string;
|
|
14786
|
+
activateOn?: IusFileItemActivateOn;
|
|
14787
|
+
disabled?: boolean;
|
|
14788
|
+
ariaLabel?: string;
|
|
14789
|
+
}
|
|
14790
|
+
/** Valor que entrega el editor al enviar. */
|
|
14791
|
+
interface PostValue {
|
|
14792
|
+
/** HTML del RichTextEditor (negrita, cursiva, listas, enlaces, menciones `span.ius-rte__mention[data-id][data-label]`). */
|
|
14793
|
+
html: string;
|
|
14794
|
+
/** Adjuntos actuales (`post` y `edit`; `[]` en `reply`). */
|
|
14795
|
+
attachments: PostAttachment[];
|
|
14796
|
+
/** Proceso ligado (solo `variant="post"`). */
|
|
14797
|
+
target?: PostTarget;
|
|
14798
|
+
}
|
|
14799
|
+
/**
|
|
14800
|
+
* Guarda la publicación. Promesa u Observable: el botón muestra carga; si rechaza / falla,
|
|
14801
|
+
* el texto se conserva y aparece `errorText`; si resuelve / completa (o emite), en `post`
|
|
14802
|
+
* se vacía el editor. `void` = éxito inmediato.
|
|
14803
|
+
*/
|
|
14804
|
+
type PostSubmitFn = (value: PostValue) => Promise<unknown> | Observable<unknown> | void;
|
|
14805
|
+
/** true si el HTML no tiene texto visible ni menciones (semántica exacta del golden). */
|
|
14806
|
+
declare function isEmptyPostHtml(html: string | null | undefined): boolean;
|
|
14807
|
+
/**
|
|
14808
|
+
* PostComposer — Ius Design v2 (familia inputs).
|
|
14809
|
+
*
|
|
14810
|
+
* Caja para escribir en la conversación de un grupo: `ius-rich-text-editor` con formato y
|
|
14811
|
+
* @menciones, adjuntar documentos, ligar a un proceso y «Publicar». Con `variant="reply" |
|
|
14812
|
+
* "edit"` es la caja compacta para responder o editar (sin ligar, con «Cancelar»).
|
|
14813
|
+
* Compone `ius-button` (enviar con carga), `ius-text-button` (Cancelar), `ius-icon-button`
|
|
14814
|
+
* (adjuntar / ligar, con tooltip), `ius-chip` (proceso ligado y adjuntos en `chips`, con
|
|
14815
|
+
* `ius-file-type-icon` como ícono y `ius-tooltip` con el nombre) e `ius-file-item` (filas).
|
|
14816
|
+
*
|
|
14817
|
+
* Contrato Angular (decisiones del port):
|
|
14818
|
+
* 1. Envío: `submitted` se emite en cada envío válido; el host guarda con `submitFn`
|
|
14819
|
+
* (Promise u Observable; equivale al `onSubmit` que devolvía promesa). Rechazo/error →
|
|
14820
|
+
* conserva el texto y muestra `errorText`; éxito → en `post` vacía el editor y emite
|
|
14821
|
+
* `saved` (también sin `submitFn`, en cuanto se emite `submitted`). Sin `submitFn` ni
|
|
14822
|
+
* suscriptor de `submitted` el botón no hace nada (golden sin `onSubmit`).
|
|
14823
|
+
* 2. Botones opcionales (precedente de la librería, Drawer/FilterBar/KanbanColumn): cada uno
|
|
14824
|
+
* aparece si alguien escucha su output (`EventEmitter.observed`) o lo fuerza el input
|
|
14825
|
+
* booleano opcional (`showAttach`, `showPickTarget`, `showCancel`, `removableAttachments`,
|
|
14826
|
+
* `removableTarget`, `openableAttachments`; `undefined` = según el output).
|
|
14827
|
+
* 3. El `onOpen` por adjunto del golden es el output `attachmentOpen` (chip clicable / fila
|
|
14828
|
+
* que abre con doble clic, Enter o `activateOn`).
|
|
14829
|
+
* 4. El reset tras publicar no remonta el editor (`key` de React): el valor se enlaza con
|
|
14830
|
+
* `[value]` y se vuelve `''` (guarda de eco del RichTextEditor).
|
|
14831
|
+
* 5. `sheetContainer` y `Chip.touch` no se portan (la librería no tiene BottomSheet; el alto
|
|
14832
|
+
* táctil del chip lo da el CSS del composer con `--ius-hit-target-min`).
|
|
14833
|
+
*
|
|
14834
|
+
* Fuente de verdad: `components/inputs/PostComposer/PostComposer.jsx` + `.d.ts` + ng-spec.
|
|
14835
|
+
*/
|
|
14836
|
+
declare class PostComposerComponent implements OnInit {
|
|
14837
|
+
/** `post` (default) publicación nueva · `reply` respuesta · `edit` edición en el sitio. */
|
|
14838
|
+
readonly variant: _angular_core.InputSignal<IusPostComposerVariant>;
|
|
14839
|
+
/** HTML inicial (edición); solo se lee al montar. */
|
|
14840
|
+
readonly defaultValue: _angular_core.InputSignal<string>;
|
|
14841
|
+
/** Personas para `@` (ver RichTextEditor). Sin él no hay menciones. */
|
|
14842
|
+
readonly mentionItems: _angular_core.InputSignal<IusRichTextMentionSource | undefined>;
|
|
14843
|
+
/** Default según `variant`: «Escriba una publicación; use @ para mencionar» · «Escriba una respuesta; …» · sin texto. */
|
|
14844
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
14845
|
+
/** Default «Publicar» · «Responder» · «Guardar». */
|
|
14846
|
+
readonly submitLabel: _angular_core.InputSignal<string | undefined>;
|
|
14847
|
+
/** Guarda la publicación (Promise/Observable); ver `PostSubmitFn`. */
|
|
14848
|
+
readonly submitFn: _angular_core.InputSignal<PostSubmitFn | undefined>;
|
|
14849
|
+
/** Adjuntos (controlado). En `post` y en `edit` se muestran; `reply` no lleva adjuntos. */
|
|
14850
|
+
readonly attachments: _angular_core.InputSignalWithTransform<readonly PostAttachment[], readonly PostAttachment[] | null | undefined>;
|
|
14851
|
+
/** Proceso o grupo ligado (controlado, solo `post`). Se muestra como Chip. */
|
|
14852
|
+
readonly target: _angular_core.InputSignal<PostTarget | null | undefined>;
|
|
14853
|
+
/** Mensaje bajo el editor cuando falla el guardado. */
|
|
14854
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
14855
|
+
/** Default 3 (post) · 2 (reply/edit) · 1 (reply/edit en `small`). */
|
|
14856
|
+
readonly minRows: _angular_core.InputSignal<number | undefined>;
|
|
14857
|
+
/** `small`: editor y botones small y una línea inicial. Default `medium`. */
|
|
14858
|
+
readonly size: _angular_core.InputSignal<IusPostComposerSize>;
|
|
14859
|
+
/** Cromo del editor (`RichTextEditor variant`); `bare` cuando el contenedor ya da la caja. */
|
|
14860
|
+
readonly editorVariant: _angular_core.InputSignal<IusRichTextEditorVariant>;
|
|
14861
|
+
/** Cómo se dibujan los adjuntos: `rows` (FileItem) o `chips`. */
|
|
14862
|
+
readonly attachmentsLayout: _angular_core.InputSignal<IusPostComposerAttachmentsLayout>;
|
|
14863
|
+
/** Enfoca el editor al montar, sin desplazar la página. */
|
|
14864
|
+
readonly autoFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14865
|
+
/** Móvil: controles large, barra de formato táctil y acciones a una columna. */
|
|
14866
|
+
readonly touch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14867
|
+
/** Botón «Adjuntar documento» (post/edit); `undefined` = si alguien escucha `(attach)`. */
|
|
14868
|
+
readonly showAttach: _angular_core.InputSignal<boolean | undefined>;
|
|
14869
|
+
/** Botón «Ligar a un proceso» (post); `undefined` = si alguien escucha `(pickTarget)`. */
|
|
14870
|
+
readonly showPickTarget: _angular_core.InputSignal<boolean | undefined>;
|
|
14871
|
+
/** Botón «Cancelar»; `undefined` = si alguien escucha `(cancelled)`. */
|
|
14872
|
+
readonly showCancel: _angular_core.InputSignal<boolean | undefined>;
|
|
14873
|
+
/** «Quitar» en cada adjunto; `undefined` = si alguien escucha `(removeAttachment)`. */
|
|
14874
|
+
readonly removableAttachments: _angular_core.InputSignal<boolean | undefined>;
|
|
14875
|
+
/** × en el chip del proceso; `undefined` = si alguien escucha `(clearTarget)`. */
|
|
14876
|
+
readonly removableTarget: _angular_core.InputSignal<boolean | undefined>;
|
|
14877
|
+
/** Adjuntos que se abren (chip clicable / fila); `undefined` = si alguien escucha `(attachmentOpen)`. */
|
|
14878
|
+
readonly openableAttachments: _angular_core.InputSignal<boolean | undefined>;
|
|
14879
|
+
/** Envío válido (original `onSubmit`); se emite antes de llamar a `submitFn`. */
|
|
14880
|
+
readonly submitted: EventEmitter<PostValue>;
|
|
14881
|
+
/** El guardado terminó bien (resolvió `submitFn`, o no había). Para cerrar la caja de respuesta/edición. */
|
|
14882
|
+
readonly saved: EventEmitter<PostValue>;
|
|
14883
|
+
/** «Cancelar» (original `onCancel`). */
|
|
14884
|
+
readonly cancelled: EventEmitter<void>;
|
|
14885
|
+
/** «Adjuntar documento» (original `onAttach`); el consumidor abre su selector y actualiza `attachments`. */
|
|
14886
|
+
readonly attach: EventEmitter<void>;
|
|
14887
|
+
/** «Quitar adjunto» (original `onRemoveAttachment`). */
|
|
14888
|
+
readonly removeAttachment: EventEmitter<PostAttachment>;
|
|
14889
|
+
/** «Ligar a un proceso» (original `onPickTarget`); el consumidor actualiza `target`. */
|
|
14890
|
+
readonly pickTarget: EventEmitter<void>;
|
|
14891
|
+
/** × del chip del proceso ligado (original `onClearTarget`). */
|
|
14892
|
+
readonly clearTarget: EventEmitter<void>;
|
|
14893
|
+
/** Abrir un adjunto (el `onOpen` de cada adjunto del golden). */
|
|
14894
|
+
readonly attachmentOpen: EventEmitter<PostAttachment>;
|
|
14895
|
+
/** HTML vigente del editor (se enlaza con `[value]`; `''` reinicia). */
|
|
14896
|
+
protected readonly html: _angular_core.WritableSignal<string>;
|
|
14897
|
+
protected readonly saving: _angular_core.WritableSignal<boolean>;
|
|
14898
|
+
protected readonly failed: _angular_core.WritableSignal<boolean>;
|
|
14899
|
+
private pending;
|
|
14900
|
+
private destroyed;
|
|
14901
|
+
protected readonly isPost: _angular_core.Signal<boolean>;
|
|
14902
|
+
protected readonly small: _angular_core.Signal<boolean>;
|
|
14903
|
+
/** Botones y chips: large con touch, si no small. */
|
|
14904
|
+
protected readonly ctl: _angular_core.Signal<"small" | "large">;
|
|
14905
|
+
protected readonly editorSize: _angular_core.Signal<IusRichTextEditorSize | undefined>;
|
|
14906
|
+
protected readonly tools: _angular_core.Signal<readonly RichTextTool[]>;
|
|
14907
|
+
protected readonly effectivePlaceholder: _angular_core.Signal<string>;
|
|
14908
|
+
protected readonly effectiveMinRows: _angular_core.Signal<number>;
|
|
14909
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
14910
|
+
/** Adjuntos que cuentan (post/edit); `reply` no lleva. */
|
|
14911
|
+
protected readonly files: _angular_core.Signal<readonly PostAttachment[]>;
|
|
14912
|
+
/** Proceso ligado visible (solo post). */
|
|
14913
|
+
protected readonly shownTarget: _angular_core.Signal<PostTarget | undefined>;
|
|
14914
|
+
protected readonly targetLabel: _angular_core.Signal<string>;
|
|
14915
|
+
/** Vacío = sin texto visible ni menciones y sin adjuntos → envío deshabilitado. */
|
|
14916
|
+
protected readonly empty: _angular_core.Signal<boolean>;
|
|
14917
|
+
protected readonly removeActions: readonly IusFileItemAction[];
|
|
14918
|
+
constructor();
|
|
14919
|
+
ngOnInit(): void;
|
|
14920
|
+
protected get canAttach(): boolean;
|
|
14921
|
+
protected get canPickTarget(): boolean;
|
|
14922
|
+
protected get canCancel(): boolean;
|
|
14923
|
+
protected get canRemoveFiles(): boolean;
|
|
14924
|
+
protected get canClearTarget(): boolean;
|
|
14925
|
+
protected get canOpenFiles(): boolean;
|
|
14926
|
+
protected trackFile(f: PostAttachment, index: number): string | number;
|
|
14927
|
+
protected onEditorChange(value: string): void;
|
|
14928
|
+
protected submit(): void;
|
|
14929
|
+
private done;
|
|
14930
|
+
private fail;
|
|
14931
|
+
protected onRowAction(event: IusFileItemActionClick, file: PostAttachment): void;
|
|
14932
|
+
protected openAttachment(file: PostAttachment): void;
|
|
14933
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PostComposerComponent, never>;
|
|
14934
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PostComposerComponent, "ius-post-composer", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "mentionItems": { "alias": "mentionItems"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "submitLabel": { "alias": "submitLabel"; "required": false; "isSignal": true; }; "submitFn": { "alias": "submitFn"; "required": false; "isSignal": true; }; "attachments": { "alias": "attachments"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "editorVariant": { "alias": "editorVariant"; "required": false; "isSignal": true; }; "attachmentsLayout": { "alias": "attachmentsLayout"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "touch": { "alias": "touch"; "required": false; "isSignal": true; }; "showAttach": { "alias": "showAttach"; "required": false; "isSignal": true; }; "showPickTarget": { "alias": "showPickTarget"; "required": false; "isSignal": true; }; "showCancel": { "alias": "showCancel"; "required": false; "isSignal": true; }; "removableAttachments": { "alias": "removableAttachments"; "required": false; "isSignal": true; }; "removableTarget": { "alias": "removableTarget"; "required": false; "isSignal": true; }; "openableAttachments": { "alias": "openableAttachments"; "required": false; "isSignal": true; }; }, { "submitted": "submitted"; "saved": "saved"; "cancelled": "cancelled"; "attach": "attach"; "removeAttachment": "removeAttachment"; "pickTarget": "pickTarget"; "clearTarget": "clearTarget"; "attachmentOpen": "attachmentOpen"; }, never, never, true, never>;
|
|
14935
|
+
}
|
|
14936
|
+
|
|
14937
|
+
interface CommentAuthor {
|
|
14938
|
+
id?: string | number;
|
|
14939
|
+
name: string;
|
|
14940
|
+
/** URL de la foto. Sin ella, Avatar pinta las iniciales. */
|
|
14941
|
+
avatar?: string;
|
|
14942
|
+
}
|
|
14943
|
+
/**
|
|
14944
|
+
* Objeto al que se liga la publicación: un proceso (radicado) o el grupo en general.
|
|
14945
|
+
* El `onClick` del golden es el output `targetClick` del componente.
|
|
14946
|
+
*/
|
|
14947
|
+
type CommentTarget = {
|
|
14948
|
+
type: 'process';
|
|
14949
|
+
radicado: string;
|
|
14950
|
+
label?: string;
|
|
14951
|
+
} | {
|
|
14952
|
+
type: 'group';
|
|
14953
|
+
label?: string;
|
|
14954
|
+
};
|
|
14955
|
+
/**
|
|
14956
|
+
* Reacción: clave de `ReactionEmoji` (`like`, `thanks`, `party`, `love`, `laugh`, `important`,
|
|
14957
|
+
* `agree`, `reviewed`, `urgent`, `seen`; acepta el emoji Unicode del set anterior), contador y si
|
|
14958
|
+
* la persona actual reaccionó.
|
|
14959
|
+
*/
|
|
14960
|
+
interface Reaction {
|
|
14961
|
+
emoji: string;
|
|
14962
|
+
count: number;
|
|
14963
|
+
/** La persona actual reaccionó con este emoji (chip resaltado, `aria-pressed`). */
|
|
14964
|
+
mine?: boolean;
|
|
14965
|
+
/** Quiénes reaccionaron («Andrés Gómez, Luisa Ortiz y 3 más»), en Tooltip. */
|
|
14966
|
+
people?: string;
|
|
14967
|
+
}
|
|
14968
|
+
/**
|
|
14969
|
+
* Adjunto: `id` + `name` y los campos de `ius-file-item` (mismo shape que `PostAttachment`,
|
|
14970
|
+
* para que la edición lo pase tal cual al PostComposer). Abrir = output `attachmentOpen`
|
|
14971
|
+
* (o `href` sin suscriptor).
|
|
14972
|
+
*/
|
|
14973
|
+
type CommentAttachment = PostAttachment;
|
|
14974
|
+
/** Mención pulsada (`data-id` / `data-label` del RichTextEditor) o del rango de `text`. */
|
|
14975
|
+
interface MentionRef {
|
|
14976
|
+
id?: string | null;
|
|
14977
|
+
name?: string | null;
|
|
14978
|
+
}
|
|
14979
|
+
interface CommentData {
|
|
14980
|
+
id?: string | number;
|
|
14981
|
+
author: CommentAuthor;
|
|
14982
|
+
/** Hora visible, ya formateada («Hoy, 9:42 a. m.», «22 oct.»). */
|
|
14983
|
+
time: string;
|
|
14984
|
+
/** ISO para el `<time datetime>`. */
|
|
14985
|
+
dateTime?: string;
|
|
14986
|
+
/** Muestra « · Editado» junto a la hora. */
|
|
14987
|
+
edited?: boolean;
|
|
14988
|
+
/**
|
|
14989
|
+
* Texto enriquecido (HTML del RichTextEditor). Se sanea al pintar (`sanitizePostHtml`):
|
|
14990
|
+
* negrita, cursiva, subrayado, tachado, listas, enlaces http/https/mailto/tel y menciones.
|
|
14991
|
+
* Tiene prioridad sobre `text`.
|
|
14992
|
+
*/
|
|
14993
|
+
html?: string;
|
|
14994
|
+
/** Texto plano con `@Nombre` inline (compatibilidad con `MentionsField`). */
|
|
14995
|
+
text?: string;
|
|
14996
|
+
/** Rangos de las menciones en `text`. */
|
|
14997
|
+
mentions?: readonly MentionTokenData[];
|
|
14998
|
+
/** Solo raíz: proceso o grupo al que se liga (franja superior). */
|
|
14999
|
+
target?: CommentTarget;
|
|
15000
|
+
/** Adjuntos con vista previa (`FileItem layout="card"`). */
|
|
15001
|
+
attachments?: readonly CommentAttachment[];
|
|
15002
|
+
/** Un documento en fila compacta (compatibilidad con la versión anterior). */
|
|
15003
|
+
attachment?: CommentAttachment;
|
|
15004
|
+
/** Reacciones (raíz y respuestas). */
|
|
15005
|
+
reactions?: readonly Reaction[];
|
|
15006
|
+
/** Comentario de la persona actual: habilita ⋮ con «Editar» y «Borrar». */
|
|
15007
|
+
own?: boolean;
|
|
15008
|
+
/** Borrado: «Comentario borrado» sin autor, texto, reacciones ni «Responder»; se conservan las respuestas. */
|
|
15009
|
+
deleted?: boolean;
|
|
15010
|
+
/** Respuestas (un solo nivel), de la más antigua a la más reciente. */
|
|
15011
|
+
replies?: readonly CommentData[];
|
|
15012
|
+
}
|
|
15013
|
+
/** Lo que devuelve una función de guardado del host: promesa, Observable o nada (éxito inmediato). */
|
|
15014
|
+
type ConvSaveResult = ReturnType<PostSubmitFn>;
|
|
15015
|
+
/** Densidad de la tarjeta. */
|
|
15016
|
+
type IusConversationSize = 'small' | 'medium';
|
|
15017
|
+
/** Marca de «sin ver»: solo el peso (`none`) o además un punto `primary` (`dot`). */
|
|
15018
|
+
type IusConversationUnreadIndicator = 'none' | 'dot';
|
|
15019
|
+
/** Lo mínimo que la barra social necesita del elemento (publicación o evento). */
|
|
15020
|
+
interface ConvThreadItem {
|
|
15021
|
+
reactions?: readonly Reaction[];
|
|
15022
|
+
replies?: readonly CommentData[];
|
|
15023
|
+
}
|
|
15024
|
+
/**
|
|
15025
|
+
* Contexto que la tarjeta (CommentThread / ConversationEvent) comparte con sus piezas internas
|
|
15026
|
+
* (equivale al `ctx` del golden). Cada capacidad opcional existe solo si el host la ofrece:
|
|
15027
|
+
* función de entrada (`replyFn`, `editFn`, `editAttachFn`) u output escuchado.
|
|
15028
|
+
* @internal
|
|
15029
|
+
*/
|
|
15030
|
+
interface ConvContext {
|
|
15031
|
+
/** Tamaño efectivo: `size` explícito o `--ius-density: small` del ancestro. */
|
|
15032
|
+
size: IusConversationSize;
|
|
15033
|
+
touch: boolean;
|
|
15034
|
+
mentionItems?: IusRichTextMentionSource;
|
|
15035
|
+
errorText: string;
|
|
15036
|
+
deletedLabel: string;
|
|
15037
|
+
replyPlaceholder?: string;
|
|
15038
|
+
visibleReplies: number;
|
|
15039
|
+
defaultExpanded: boolean;
|
|
15040
|
+
/** Solo la publicación raíz de CommentThread lo usa (peso y punto del nombre). */
|
|
15041
|
+
unread: boolean;
|
|
15042
|
+
unreadIndicator: IusConversationUnreadIndicator;
|
|
15043
|
+
composerVariant: IusRichTextEditorVariant;
|
|
15044
|
+
composerAttachmentsLayout: IusPostComposerAttachmentsLayout;
|
|
15045
|
+
reply?: (item: ConvThreadItem, value: PostValue) => ConvSaveResult;
|
|
15046
|
+
edit?: (comment: CommentData, value: PostValue) => ConvSaveResult;
|
|
15047
|
+
editAttach?: (comment: CommentData, current: CommentAttachment[]) => CommentAttachment[] | Promise<CommentAttachment[]>;
|
|
15048
|
+
remove?: (comment: CommentData) => void;
|
|
15049
|
+
react?: (item: ConvThreadItem, emoji: string, next: boolean) => void;
|
|
15050
|
+
mentionClick?: (mention: MentionRef) => void;
|
|
15051
|
+
attachmentOpen?: (attachment: CommentAttachment) => void;
|
|
15052
|
+
}
|
|
15053
|
+
/**
|
|
15054
|
+
* Lo provee cada tarjeta (`useExisting`) para que sus piezas internas lean el contexto.
|
|
15055
|
+
* @internal
|
|
15056
|
+
*/
|
|
15057
|
+
declare abstract class ConvHost {
|
|
15058
|
+
abstract readonly convCtx: Signal<ConvContext>;
|
|
15059
|
+
}
|
|
15060
|
+
|
|
15061
|
+
/**
|
|
15062
|
+
* Sanea el HTML del RichTextEditor para pintarlo en la conversación (CommentThread y
|
|
15063
|
+
* ConversationEvent): formato inline (`b`/`strong`/`i`/`em`/`u`/`s`), párrafos, `br`, listas,
|
|
15064
|
+
* enlaces seguros (`http`/`https`/`mailto`/`tel`, con `target="_blank" rel="noopener noreferrer"`)
|
|
15065
|
+
* y menciones (`span[data-id]` o `.ius-rte__mention` → `span.ius-cmt__mention[data-mention-id]
|
|
15066
|
+
* [data-mention-name]`). `script`/`style`/`iframe`/`object`/`template` se descartan; el resto de
|
|
15067
|
+
* etiquetas se desenvuelve (queda su texto) y ningún atributo original sobrevive (`on*`, `style`,
|
|
15068
|
+
* `class`…). Sin DOM (SSR) devuelve el texto escapado.
|
|
15069
|
+
*
|
|
15070
|
+
* Es una lista blanca propia (no el sanitizer de Angular): el de Angular quitaría los `data-*`
|
|
15071
|
+
* de las menciones. Por eso el resultado, y SOLO el resultado de esta función, se marca después
|
|
15072
|
+
* con `DomSanitizer.bypassSecurityTrustHtml`. Semántica exacta de `sanitizePostHtml` del golden.
|
|
15073
|
+
*/
|
|
15074
|
+
declare function sanitizePostHtml(html: string | null | undefined): string;
|
|
15075
|
+
|
|
15076
|
+
/** Las 10 reacciones propias (`ReactionEmoji`); el selector rápido muestra 6 y el resto en «Más». */
|
|
15077
|
+
declare const CommentReactionSet: readonly _litigiovirtual_ius_design_components.IusReactionDef[];
|
|
15078
|
+
/** Enviar una respuesta al hilo (golden `onReply`). Promesa/Observable = carga; si falla, la caja sigue abierta. */
|
|
15079
|
+
type CommentReplyFn = (thread: CommentData, value: PostValue) => ConvSaveResult;
|
|
15080
|
+
/**
|
|
15081
|
+
* Guardar la edición de la raíz o de una respuesta propia (golden `onEdit`). `value.attachments` =
|
|
15082
|
+
* lista final de adjuntos en la raíz; `[]` en respuestas.
|
|
15083
|
+
*/
|
|
15084
|
+
type CommentEditFn = (comment: CommentData, value: PostValue) => ConvSaveResult;
|
|
15085
|
+
/** «Adjuntar documento» al editar la raíz (golden `onEditAttach`): recibe los actuales y devuelve la lista nueva. */
|
|
15086
|
+
type CommentEditAttachFn = (comment: CommentData, current: CommentAttachment[]) => CommentAttachment[] | Promise<CommentAttachment[]>;
|
|
15087
|
+
/** Payload de `react`: el elemento reaccionado (publicación o respuesta), la clave y si queda marcada. */
|
|
15088
|
+
interface CommentReactEvent {
|
|
15089
|
+
item: CommentData;
|
|
15090
|
+
emoji: string;
|
|
15091
|
+
next: boolean;
|
|
15092
|
+
}
|
|
15093
|
+
/**
|
|
15094
|
+
* CommentThread — Ius Design v2 (familia data-display).
|
|
15095
|
+
*
|
|
15096
|
+
* Publicación de un miembro en la conversación de un grupo: franja del objeto ligado (proceso o
|
|
15097
|
+
* grupo), autor/hora/«Editado», texto enriquecido saneado con @menciones, adjuntos con vista
|
|
15098
|
+
* previa, reacciones con emojis propios y respuestas (un nivel) en la misma tarjeta, con caja de
|
|
15099
|
+
* respuesta y edición en el sitio (`ius-post-composer`).
|
|
15100
|
+
*
|
|
15101
|
+
* Contrato Angular (decisiones del port):
|
|
15102
|
+
* 1. Lo que en el golden devuelve una promesa al host son **funciones de entrada**: `replyFn`,
|
|
15103
|
+
* `editFn` (Promise | Observable | void; si falla, la caja sigue abierta con el texto y
|
|
15104
|
+
* `errorText`) y `editAttachFn`. Sin `replyFn` no hay «Responder»; sin `editFn` no hay
|
|
15105
|
+
* «Editar»; sin `editAttachFn` no se puede sumar adjuntos al editar (sí quitarlos).
|
|
15106
|
+
* 2. Lo opcional que solo notifica son **outputs** que cambian la UI si alguien los escucha
|
|
15107
|
+
* (`EventEmitter.observed`, precedente PostComposer/FileItem): `deleteRequest` («Borrar»),
|
|
15108
|
+
* `react` (sin él, reacciones de solo lectura y sin selector), `mentionClick` (mención
|
|
15109
|
+
* clicable), `targetClick` (el valor de la franja pasa a TextButton) y `attachmentOpen`.
|
|
15110
|
+
* 3. Tamaño efectivo: `size` explícito (se refleja en `data-size`) o, sin él, `--ius-density:
|
|
15111
|
+
* small` leído del estilo computado del host tras cada render (avatares y composer); el CSS
|
|
15112
|
+
* sigue `@container style(--ius-density: small)`.
|
|
15113
|
+
* 4. `sheetContainer` y las hojas (BottomSheet) no se portan: la librería no tiene BottomSheet;
|
|
15114
|
+
* con `touch` los menús siguen en popover y los controles pasan a large.
|
|
15115
|
+
*
|
|
15116
|
+
* Fuente de verdad: `components/data-display/CommentThread/CommentThread.jsx` +
|
|
15117
|
+
* `conversation-parts.jsx` + `.d.ts` + ng-spec (ampliaciones del 26/10/2026).
|
|
15118
|
+
*/
|
|
15119
|
+
declare class CommentThreadComponent implements ConvHost {
|
|
15120
|
+
private readonly host;
|
|
15121
|
+
/** Publicación raíz (con sus `replies`, un nivel). */
|
|
15122
|
+
readonly comment: _angular_core.InputSignal<CommentData>;
|
|
15123
|
+
/** Personas para `@` al editar o responder (ver RichTextEditor). */
|
|
15124
|
+
readonly mentionItems: _angular_core.InputSignal<IusRichTextMentionSource | undefined>;
|
|
15125
|
+
/** Respuestas visibles antes de plegar con ShowMore. */
|
|
15126
|
+
readonly visibleReplies: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
15127
|
+
/** Respuestas desplegadas al montar. */
|
|
15128
|
+
readonly defaultExpanded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15129
|
+
readonly deletedLabel: _angular_core.InputSignal<string>;
|
|
15130
|
+
/** Error al guardar (respuesta o edición). */
|
|
15131
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
15132
|
+
/** Placeholder de la caja de respuesta; default el de PostComposer «Escriba una respuesta; use @ para mencionar». */
|
|
15133
|
+
readonly replyPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
15134
|
+
/** Densidad; sin él sigue `--ius-density: small` del ancestro. Default medium. */
|
|
15135
|
+
readonly size: _angular_core.InputSignal<IusConversationSize | undefined>;
|
|
15136
|
+
/** Sin ver: nombre en semibold y «Sin ver.» en el nombre accesible. Lo decide el consumidor. */
|
|
15137
|
+
readonly unread: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15138
|
+
/** `dot`: punto `primary` antes del nombre cuando `unread`. */
|
|
15139
|
+
readonly unreadIndicator: _angular_core.InputSignal<IusConversationUnreadIndicator>;
|
|
15140
|
+
/** Cromo de las cajas de respuesta y edición (`PostComposer editorVariant`). */
|
|
15141
|
+
readonly composerVariant: _angular_core.InputSignal<IusRichTextEditorVariant>;
|
|
15142
|
+
/** Adjuntos en la caja de edición: filas o chips (`PostComposer attachmentsLayout`). */
|
|
15143
|
+
readonly composerAttachmentsLayout: _angular_core.InputSignal<IusPostComposerAttachmentsLayout>;
|
|
15144
|
+
/** Móvil: controles large y acciones del editor en columna. */
|
|
15145
|
+
readonly touch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15146
|
+
/** Enviar una respuesta. Sin él no aparece «Responder». */
|
|
15147
|
+
readonly replyFn: _angular_core.InputSignal<CommentReplyFn | undefined>;
|
|
15148
|
+
/** Guardar la edición (raíz o respuesta propia). Sin él no aparece «Editar». */
|
|
15149
|
+
readonly editFn: _angular_core.InputSignal<CommentEditFn | undefined>;
|
|
15150
|
+
/** Sumar adjuntos al editar la raíz. Sin él, al editar solo se pueden quitar. */
|
|
15151
|
+
readonly editAttachFn: _angular_core.InputSignal<CommentEditAttachFn | undefined>;
|
|
15152
|
+
/** «Borrar» en ⋮ (solo si se escucha). La confirmación y el paso a `deleted` son del consumidor. */
|
|
15153
|
+
readonly deleteRequest: EventEmitter<CommentData>;
|
|
15154
|
+
/** Alternar una reacción (publicación o respuesta). Sin suscriptor: solo lectura y sin selector. */
|
|
15155
|
+
readonly react: EventEmitter<CommentReactEvent>;
|
|
15156
|
+
/** Clic en una mención (abrir perfil). Sin suscriptor la mención no es clicable. */
|
|
15157
|
+
readonly mentionClick: EventEmitter<MentionRef>;
|
|
15158
|
+
/** Clic en el valor de la franja (proceso o grupo). Sin suscriptor es texto. */
|
|
15159
|
+
readonly targetClick: EventEmitter<CommentData>;
|
|
15160
|
+
/** Abrir un adjunto. Sin suscriptor el adjunto navega por su `href` (si lo tiene). */
|
|
15161
|
+
readonly attachmentOpen: EventEmitter<_litigiovirtual_ius_design_components.PostAttachment>;
|
|
15162
|
+
/** `--ius-density: small` heredado (solo cuenta sin `size`). */
|
|
15163
|
+
private readonly densitySmall;
|
|
15164
|
+
protected readonly effectiveSize: _angular_core.Signal<IusConversationSize>;
|
|
15165
|
+
protected readonly target: _angular_core.Signal<_litigiovirtual_ius_design_components.CommentTarget | undefined>;
|
|
15166
|
+
protected readonly targetValue: _angular_core.Signal<string>;
|
|
15167
|
+
protected get targetClickable(): boolean;
|
|
15168
|
+
/** @internal Contexto de las piezas internas (golden `ctx`). */
|
|
15169
|
+
readonly convCtx: _angular_core.Signal<ConvContext>;
|
|
15170
|
+
constructor();
|
|
15171
|
+
protected onTargetClick(): void;
|
|
15172
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommentThreadComponent, never>;
|
|
15173
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentThreadComponent, "ius-comment-thread", never, { "comment": { "alias": "comment"; "required": true; "isSignal": true; }; "mentionItems": { "alias": "mentionItems"; "required": false; "isSignal": true; }; "visibleReplies": { "alias": "visibleReplies"; "required": false; "isSignal": true; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "deletedLabel": { "alias": "deletedLabel"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "replyPlaceholder": { "alias": "replyPlaceholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "unread": { "alias": "unread"; "required": false; "isSignal": true; }; "unreadIndicator": { "alias": "unreadIndicator"; "required": false; "isSignal": true; }; "composerVariant": { "alias": "composerVariant"; "required": false; "isSignal": true; }; "composerAttachmentsLayout": { "alias": "composerAttachmentsLayout"; "required": false; "isSignal": true; }; "touch": { "alias": "touch"; "required": false; "isSignal": true; }; "replyFn": { "alias": "replyFn"; "required": false; "isSignal": true; }; "editFn": { "alias": "editFn"; "required": false; "isSignal": true; }; "editAttachFn": { "alias": "editAttachFn"; "required": false; "isSignal": true; }; }, { "deleteRequest": "deleteRequest"; "react": "react"; "mentionClick": "mentionClick"; "targetClick": "targetClick"; "attachmentOpen": "attachmentOpen"; }, never, never, true, never>;
|
|
15174
|
+
}
|
|
15175
|
+
|
|
15176
|
+
/** Cambio antes → después (proceso o expediente, F7·HU-26). */
|
|
15177
|
+
interface EventChange {
|
|
15178
|
+
field: string;
|
|
15179
|
+
/** Valor anterior; vacío pinta «Sin dato». */
|
|
15180
|
+
before?: string | null;
|
|
15181
|
+
/** Valor nuevo; vacío pinta «Sin dato». */
|
|
15182
|
+
after?: string | null;
|
|
15183
|
+
}
|
|
15184
|
+
/** Detalle plegable. El `content` libre del golden es el input `detailContent` (TemplateRef). */
|
|
15185
|
+
interface EventDetail {
|
|
15186
|
+
/** Antes → después. */
|
|
15187
|
+
changes?: readonly EventChange[];
|
|
15188
|
+
/** Líneas etiqueta/valor (responsable, plazo, con quién, número de actuaciones…). */
|
|
15189
|
+
lines?: readonly {
|
|
15190
|
+
label?: string;
|
|
15191
|
+
value: string;
|
|
15192
|
+
}[];
|
|
15193
|
+
}
|
|
15194
|
+
/** Acción principal: abrir el proceso, el documento o la actuación (output `actionClick`, o `href`). */
|
|
15195
|
+
interface ConversationEventAction {
|
|
15196
|
+
label: string;
|
|
15197
|
+
/** Ícono al final del TextButton. Default `arrow_forward`. */
|
|
15198
|
+
icon?: string;
|
|
15199
|
+
/** Navega aquí si nadie escucha `actionClick`. */
|
|
15200
|
+
href?: string;
|
|
15201
|
+
}
|
|
15202
|
+
interface ConversationEventData {
|
|
15203
|
+
id?: string | number;
|
|
15204
|
+
/** Kind de `EventCatalog` (resuelve el ícono): `cambio`, `tarea`, `impulso`, `documento`, `notificacion`, `reunion`… */
|
|
15205
|
+
kind?: string;
|
|
15206
|
+
/** Ícono explícito (gana sobre `kind`); para eventos sin kind en el catálogo (compartir, miembros). */
|
|
15207
|
+
icon?: string;
|
|
15208
|
+
/** Título corto en una línea («Natalia compartió el proceso con el grupo»). */
|
|
15209
|
+
title: string;
|
|
15210
|
+
/** Hora visible, ya formateada. */
|
|
15211
|
+
time: string;
|
|
15212
|
+
dateTime?: string;
|
|
15213
|
+
/** Quien hizo el cambio. */
|
|
15214
|
+
actor?: CommentAuthor;
|
|
15215
|
+
/** Fuente, para novedades judiciales («Rama Judicial»). Se usa si no hay `actor`. */
|
|
15216
|
+
source?: string;
|
|
15217
|
+
/** Detalle plegable. */
|
|
15218
|
+
detail?: EventDetail;
|
|
15219
|
+
/** Texto del plegado. Default «Ver detalle». */
|
|
15220
|
+
detailLabel?: string;
|
|
15221
|
+
/** Documento subido: tarjeta con vista previa (`FileItem layout="card"`). */
|
|
15222
|
+
attachment?: CommentAttachment;
|
|
15223
|
+
action?: ConversationEventAction;
|
|
15224
|
+
reactions?: readonly Reaction[];
|
|
15225
|
+
/** Respuestas al evento (mismo formato que en CommentThread). */
|
|
15226
|
+
replies?: readonly CommentData[];
|
|
15227
|
+
}
|
|
15228
|
+
/** Responder al evento (golden `onReply`). Promesa/Observable = carga; si falla, la caja sigue abierta. */
|
|
15229
|
+
type ConversationEventReplyFn = (event: ConversationEventData, value: PostValue) => ConvSaveResult;
|
|
15230
|
+
/** Editar una respuesta propia (golden `onEdit`); `value.attachments` es `[]`. */
|
|
15231
|
+
type ConversationEventEditFn = (reply: CommentData, value: PostValue) => ConvSaveResult;
|
|
15232
|
+
/** Payload de `react`: el evento o la respuesta reaccionada, la clave y si queda marcada. */
|
|
15233
|
+
interface ConversationEventReactEvent {
|
|
15234
|
+
item: ConversationEventData | CommentData;
|
|
15235
|
+
emoji: string;
|
|
15236
|
+
next: boolean;
|
|
15237
|
+
}
|
|
15238
|
+
/** Contexto de `detailContent`. */
|
|
15239
|
+
interface ConversationEventDetailContext {
|
|
15240
|
+
$implicit: ConversationEventData;
|
|
15241
|
+
}
|
|
15242
|
+
/**
|
|
15243
|
+
* ConversationEvent — Ius Design v2 (familia data-display).
|
|
15244
|
+
*
|
|
15245
|
+
* Tarjeta de sistema en la conversación del grupo: un evento de los procesos compartidos
|
|
15246
|
+
* (compartir, miembros, tareas, gestiones, novedades judiciales, documentos, cambios), con ícono de
|
|
15247
|
+
* EventCatalog (`resolveEventIcon`; sin kind conocido, `notifications`), título en una línea,
|
|
15248
|
+
* actor o fuente y hora, documento con vista previa, detalle plegable (cambios antes → después y
|
|
15249
|
+
* líneas), acción principal y la misma barra social que CommentThread (reacciones, «Responder»,
|
|
15250
|
+
* respuestas con edición propia).
|
|
15251
|
+
*
|
|
15252
|
+
* Contrato Angular: mismo criterio que `ius-comment-thread` — `replyFn`/`editFn` como funciones
|
|
15253
|
+
* de entrada (promesa/Observable; si falla, la caja sigue abierta con `errorText`); outputs que
|
|
15254
|
+
* cambian la UI si alguien los escucha (`deleteRequest`, `react`, `mentionClick`,
|
|
15255
|
+
* `attachmentOpen`); `actionClick` (sin suscriptor y con `href`, navega). El `detail.content`
|
|
15256
|
+
* del golden es el input `detailContent` (TemplateRef con el evento como `$implicit`).
|
|
15257
|
+
*
|
|
15258
|
+
* Fuente de verdad: `components/data-display/ConversationEvent/ConversationEvent.jsx` + `.d.ts` +
|
|
15259
|
+
* ng-spec (densidad 26/10/2026) y `CommentThread/conversation-parts.jsx`.
|
|
15260
|
+
*/
|
|
15261
|
+
declare class ConversationEventComponent implements ConvHost, OnInit {
|
|
15262
|
+
private readonly host;
|
|
15263
|
+
readonly event: _angular_core.InputSignal<ConversationEventData>;
|
|
15264
|
+
/** Contenido libre al final del detalle (golden `detail.content`); recibe el evento como `$implicit`. */
|
|
15265
|
+
readonly detailContent: _angular_core.InputSignal<TemplateRef<ConversationEventDetailContext> | null | undefined>;
|
|
15266
|
+
/** Personas para `@` al responder o editar. */
|
|
15267
|
+
readonly mentionItems: _angular_core.InputSignal<IusRichTextMentionSource | undefined>;
|
|
15268
|
+
readonly visibleReplies: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
15269
|
+
readonly defaultExpanded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15270
|
+
/** Detalle abierto al montar. */
|
|
15271
|
+
readonly defaultDetailOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15272
|
+
readonly deletedLabel: _angular_core.InputSignal<string>;
|
|
15273
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
15274
|
+
readonly replyPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
15275
|
+
/** Densidad; sin él sigue `--ius-density: small` del ancestro. `small`: medallón 24 px y una sola línea. */
|
|
15276
|
+
readonly size: _angular_core.InputSignal<IusConversationSize | undefined>;
|
|
15277
|
+
/** Sin ver: título en semibold y «Sin ver.» en el nombre accesible. */
|
|
15278
|
+
readonly unread: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15279
|
+
readonly unreadIndicator: _angular_core.InputSignal<IusConversationUnreadIndicator>;
|
|
15280
|
+
readonly composerVariant: _angular_core.InputSignal<IusRichTextEditorVariant>;
|
|
15281
|
+
readonly composerAttachmentsLayout: _angular_core.InputSignal<IusPostComposerAttachmentsLayout>;
|
|
15282
|
+
readonly touch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15283
|
+
/** Responder al evento. Sin él no aparece «Responder». */
|
|
15284
|
+
readonly replyFn: _angular_core.InputSignal<ConversationEventReplyFn | undefined>;
|
|
15285
|
+
/** Editar una respuesta propia. Sin él no aparece «Editar». */
|
|
15286
|
+
readonly editFn: _angular_core.InputSignal<ConversationEventEditFn | undefined>;
|
|
15287
|
+
/** «Borrar» una respuesta propia (solo si se escucha). */
|
|
15288
|
+
readonly deleteRequest: EventEmitter<CommentData>;
|
|
15289
|
+
/** Alternar una reacción al evento o a una respuesta. Sin suscriptor: solo lectura y sin selector. */
|
|
15290
|
+
readonly react: EventEmitter<ConversationEventReactEvent>;
|
|
15291
|
+
/** Clic en una mención de una respuesta. Sin suscriptor no es clicable. */
|
|
15292
|
+
readonly mentionClick: EventEmitter<MentionRef>;
|
|
15293
|
+
/** Acción principal. Sin suscriptor, navega a `action.href` (si lo hay). */
|
|
15294
|
+
readonly actionClick: EventEmitter<ConversationEventData>;
|
|
15295
|
+
/** Abrir el documento del evento o un adjunto. Sin suscriptor navega por `href`. */
|
|
15296
|
+
readonly attachmentOpen: EventEmitter<_litigiovirtual_ius_design_components.PostAttachment>;
|
|
15297
|
+
protected readonly detailId: string;
|
|
15298
|
+
protected readonly detailOpen: _angular_core.WritableSignal<boolean>;
|
|
15299
|
+
private readonly densitySmall;
|
|
15300
|
+
protected readonly effectiveSize: _angular_core.Signal<IusConversationSize>;
|
|
15301
|
+
protected readonly icon: _angular_core.Signal<string>;
|
|
15302
|
+
protected readonly who: _angular_core.Signal<string>;
|
|
15303
|
+
protected readonly changes: _angular_core.Signal<readonly EventChange[]>;
|
|
15304
|
+
protected readonly lines: _angular_core.Signal<readonly {
|
|
15305
|
+
label?: string;
|
|
15306
|
+
value: string;
|
|
15307
|
+
}[]>;
|
|
15308
|
+
protected readonly hasDetail: _angular_core.Signal<boolean>;
|
|
15309
|
+
protected readonly ctl: _angular_core.Signal<"small" | "large">;
|
|
15310
|
+
protected readonly showDot: _angular_core.Signal<boolean>;
|
|
15311
|
+
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
15312
|
+
/** @internal Contexto de la barra social y las respuestas (golden `ctx`; sin `unread`: solo aplica al título). */
|
|
15313
|
+
readonly convCtx: _angular_core.Signal<ConvContext>;
|
|
15314
|
+
constructor();
|
|
15315
|
+
ngOnInit(): void;
|
|
15316
|
+
/** «Sin dato» cuando el valor viene vacío. */
|
|
15317
|
+
protected orEmpty(v: string | null | undefined): string;
|
|
15318
|
+
protected toggleDetail(): void;
|
|
15319
|
+
protected onAction(): void;
|
|
15320
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConversationEventComponent, never>;
|
|
15321
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConversationEventComponent, "ius-conversation-event", never, { "event": { "alias": "event"; "required": true; "isSignal": true; }; "detailContent": { "alias": "detailContent"; "required": false; "isSignal": true; }; "mentionItems": { "alias": "mentionItems"; "required": false; "isSignal": true; }; "visibleReplies": { "alias": "visibleReplies"; "required": false; "isSignal": true; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "defaultDetailOpen": { "alias": "defaultDetailOpen"; "required": false; "isSignal": true; }; "deletedLabel": { "alias": "deletedLabel"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "replyPlaceholder": { "alias": "replyPlaceholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "unread": { "alias": "unread"; "required": false; "isSignal": true; }; "unreadIndicator": { "alias": "unreadIndicator"; "required": false; "isSignal": true; }; "composerVariant": { "alias": "composerVariant"; "required": false; "isSignal": true; }; "composerAttachmentsLayout": { "alias": "composerAttachmentsLayout"; "required": false; "isSignal": true; }; "touch": { "alias": "touch"; "required": false; "isSignal": true; }; "replyFn": { "alias": "replyFn"; "required": false; "isSignal": true; }; "editFn": { "alias": "editFn"; "required": false; "isSignal": true; }; }, { "deleteRequest": "deleteRequest"; "react": "react"; "mentionClick": "mentionClick"; "actionClick": "actionClick"; "attachmentOpen": "attachmentOpen"; }, never, never, true, never>;
|
|
15322
|
+
}
|
|
15323
|
+
|
|
15324
|
+
export { ACTUACION_CATALOG, ACTUACION_FUENTES, AccordionComponent, AccountItemComponent, AlertComponent, AnswerFeedbackComponent, AppLayoutComponent, AutocompleteComponent, AvatarComponent, AvatarStackComponent, BarChartComponent, BorderBeamComponent, BreadcrumbComponent, ButtonComponent, CATEGORIES, CATEGORY_DEF, CATEGORY_HUE, CHART_CATEGORICAL_TONES, CHART_SEMANTIC_TONES, CHART_TONES, CLASE_DEF, CalendarComponent, CaptchaFieldComponent, CardComponent, CarouselComponent, CheckboxComponent, ChipComponent, CircularProgressComponent, CodeFieldComponent, CommentReactionSet, CommentThreadComponent, ConversationEventComponent, CountdownComponent, CountdownRingComponent, DateFilterComponent, DatePickerComponent, DescriptionListComponent, DetailSidePanelComponent, DividerComponent, DocumentViewerComponent, DonutChartComponent, DrawerComponent, DropdownComponent, EVENT_KINDS, EVENT_KIND_ICON, EXT_KIND, EleniaBubbleComponent, EleniaOrbComponent, EmptyStateComponent, EntityNavigatorComponent, EntityRowComponent, EventPillComponent, FUENTES, FUENTE_DEF, FUENTE_FALLBACK, FileItemComponent, FileTypeIconComponent, FileUploadComponent, FilterBarComponent, FlexComponent, FooterStatusComponent, FormComponent, FormFieldComponent, FormSectionComponent, HeaderBarComponent, ILLUSTRATIONS, ILLUSTRATION_ALIAS, ILLUSTRATION_NAMES, IUS_DOCUMENT_VIEWER_ZOOM_STEPS, IUS_FILTER_OPERATORS, IUS_RTE_DEFAULT_TOOLBAR, IUS_TOAST_DEFAULT_DURATION, IUS_TOAST_DEFAULT_ICON, IconButtonComponent, IconToggleComponent, IllustrationComponent, ImageCropperComponent, InsightComponent, InsigniaComponent, IusAccountItemNameDirective, IusAccountItemSubtitleDirective, IusAccountItemTrailingDirective, IusAlertActionsDirective, IusAlertTrailingDirective, IusCalendarAsideDirective, IusCalendarFooterDirective, IusCardFooterDirective, IusCardHeaderDirective, IusDocViewerActionsDirective, IusDocViewerAsideDirective, IusDocViewerBodyDirective, IusDrawerFooterDirective, IusDrawerHeaderActionsDirective, IusDrawerTitleDirective, IusDropdownTriggerDirective, IusEntityRowLabelDirective, IusEntityRowSublabelDirective, IusFooterStatusActionDirective, IusFormFooterDirective, IusInsightActionsDirective, IusKanbanCardBodyDirective, IusKanbanCardLeadingDirective, IusKanbanCardTrailingDirective, IusListCardLeadingDirective, IusListCardOverlineDirective, IusListCardParagraphDirective, IusListCardSubtitleDirective, IusListCardTitleDirective, IusListViewFiltersDirective, IusListViewFooterEndDirective, IusListViewFooterStartDirective, IusListViewHeaderEndDirective, IusListViewHeaderStartDirective, IusListViewToolbarDirective, IusMenuItemTrailingDirective, IusModalFooterDirective, IusNavRailBrandDirective, IusPageHeaderActionsDirective, IusPageHeaderBreadcrumbDirective, IusPageHeaderOverlineDirective, IusPageHeaderSubtitleDirective, IusPageHeaderTitleDirective, IusPageHeaderToolbarDirective, IusPersonItemNameDirective, IusPersonItemTrailingDirective, IusSectionTitleActionDirective, IusSettingsNavFooterDirective, IusSettingsNavHeaderDirective, IusStageDetailFooterDirective, IusStageDetailHeaderActionsDirective, IusStageDetailMetaDirective, IusStatCaptionDirective, IusStatDeltaDirective, IusStatDeltaLabelDirective, IusStatLabelDirective, IusStatSparklineDirective, IusTagPrefixDirective, IusTagSuffixDirective, IusToastActionDirective, IusUserMenuFooterDirective, KINDS, KIND_DEF, KIND_FALLBACK, KanbanBoardComponent, KanbanCardComponent, KanbanColumnComponent, LineChartComponent, LinearProgressBarComponent, ListCardComponent, ListViewComponent, LoadingComponent, LoadingMarkComponent, MentionsFieldComponent, MenuComponent, MenuItemComponent, ModalComponent, MultiTextFieldComponent, NATURALEZA_DEF, NavRailComponent, NavUserComponent, NotificationItemComponent, NumberFieldComponent, ORB_PERIODS, OauthButtonComponent, OptionItemComponent, PROVIDER_LABELS, PageHeaderComponent, PaginationComponent, PartyListComponent, PersonItemComponent, PersonPickerComponent, PlanUsageItemComponent, PopoverComponent, PostComposerComponent, ProviderLogoComponent, QueryBuilderComponent, REACTIONS, REACTION_LABEL, REACTION_QUICK, RadioComponent, ReactionEmojiComponent, RepeatableFieldComponent, RichTextEditorComponent, SOURCE_FUENTE, SOURCE_LABEL, STATUS_TONES, STATUS_VOCAB, STATUS_VOCABS, STATUS_VOCABS_PENDING, ScheduleListComponent, ScrollAreaComponent, SearchBarComponent, SectionHeaderComponent, SectionTitleComponent, SegmentGroupComponent, SegmentedControlComponent, SelectComponent, SelectNumberComponent, SelectionFieldComponent, SettingsNavComponent, ShowMoreComponent, SkeletonComponent, SparklineComponent, SplitterComponent, StageDetailDrawerComponent, StatComponent, StatGroupComponent, StatusChipComponent, StatusStateComponent, StepperComponent, SwitchComponent, TableComponent, TabsComponent, TagComponent, TextAreaComponent, TextButtonComponent, TextComponent, TextFieldComponent, TimePanelComponent, TimelineComponent, ToastComponent, ToastService, ToastViewportComponent, TooltipComponent, UserMenuComponent, WizardComponent, WizardController, WizardNavComponent, categoryColors, categoryOptions, chartAxisTicks, chartFormatValue, chartLinearPath, chartNiceNum, chartPath, chartPrefersReducedMotion, chartSmoothPath, chartToneAt, chartToneVar, createWizard, eventKindOptions, extOf, formatBytes, formatDate, formatTime, fuenteColors, fuenteOptions, isEmptyPostHtml, iusSegColor, kindHue, kindIcon, kindLabel, kindMeta, kindOptions, naturalezaMeta, naturalezaOptions, normalizeRichTextUrl, normalizeTipo, pose, poseIso, poseSpeaking, poseThinking, renderCubeSvg, resolveActuacion, resolveCategoryHue, resolveEventIcon, resolveFuente, resolveIllustration, resolveKind, resolveReaction, resolveStatus, resolveViewKind, sanitizePostHtml, sourceIcon, sourceMeta, statusOptions, statusOrder, statusToneVars, statusVocab, timeFromDate, voiceEnv };
|
|
15325
|
+
export type { ActuacionEntry, ActuacionMeta, ActuacionStatus, AlertSize, AlertTone, AlertVariant, CategoryColors, CategoryDef, CategoryHueSource, CategoryKey, CategoryOption, ChartCategoricalTone, ChartCurve, ChartPoint, ChartSemanticTone, ChartTone, Clase, ClaseDef, CommentAttachment, CommentAuthor, CommentData, CommentEditAttachFn, CommentEditFn, CommentReactEvent, CommentReplyFn, CommentTarget, ConvSaveResult, ConversationEventAction, ConversationEventData, ConversationEventDetailContext, ConversationEventEditFn, ConversationEventReactEvent, ConversationEventReplyFn, CountdownDirection, CountdownFormat, CountdownRingSize, CountdownRingTone, DescriptionListItem, DescriptionListLayout, DescriptionListSize, DescriptionListValueClick, EventChange, EventDetail, EventIconSource, EventKind, EventKindOption, FileKind, FileKindDef, FileKindDomain, FileKindFs, FileKindMeta, FileKindOption, FileTypeHue, FuenteColors, FuenteDef, FuenteKey, FuenteOption, GestionStatus, Hue, IllustrationEntry, IllustrationName, IllustrationSize, IusAccordionAction, IusAccordionActionEvent, IusAccordionContentPadding, IusAccordionItem, IusAccordionItemContext, IusAccordionItemMoveEvent, IusAccordionSize, IusAccordionVariant, IusAccountItemAction, IusAccountItemState, IusAnswerFeedbackSize, IusAnswerFeedbackValue, IusAppLayoutAccent, IusAutocompleteItemContext, IusAutocompletePlacement, IusAutocompleteSize, IusAutocompleteSource, IusAvatarColor, IusAvatarShape, IusAvatarSize, IusAvatarStackItem, IusAvatarStackItemClick, IusAvatarStackStyle, IusBarChartOrientation, IusBarSeries, IusBreadcrumbItem, IusBreadcrumbNavigate, IusBreadcrumbSeparator, IusBreadcrumbSize, IusButtonActionResult, IusButtonSize, IusButtonStatus, IusButtonType, IusButtonVariant, IusCalendarMode, IusCalendarValue, IusCaptchaAppearance, IusCaptchaFieldHandle, IusCaptchaProvider, IusCaptchaSize, IusCaptchaState, IusCaptchaTheme, IusCardAs, IusCardPadding, IusCardRadius, IusCardVariant, IusCarouselImage, IusCarouselImageInput, IusCarouselObjectFit, IusCarouselOrder, IusCarouselOverlay, IusCarouselTransition, IusCheckboxLabelPosition, IusCheckboxSize, IusChipSize, IusChipState, IusCircularProgressSize, IusCircularProgressTone, IusCodeFieldSize, IusConversationSize, IusConversationUnreadIndicator, IusDateFilterMode, IusDateFilterPlacement, IusDateFilterSize, IusDateFilterValue, IusDatePickerMode, IusDatePickerState, IusDatePickerValue, IusDatePreset, IusDateRange, IusDateTimeValue, IusDayEvent, IusDetailSidePanelSection, IusDetailSidePanelSide, IusDividerOrientation, IusDividerTextAlign, IusDividerTone, IusDividerVariant, IusDocumentViewerCloseReason, IusDocumentViewerKind, IusDocumentViewerVariant, IusDonutLegendPosition, IusDonutSegment, IusDrawerSide, IusDrawerSize, IusDropdownItem, IusDropdownTone, IusDropdownVariant, IusEleniaBubblePosition, IusEleniaBubbleSize, IusEleniaOrbMood, IusEleniaOrbSurface, IusEmptyStateAction, IusEmptyStateSize, IusEmptyStateTone, IusEmptyStateVariant, IusEntityDesc, IusEntityDescKind, IusEntityFacet, IusEntityFilter, IusEntityFilterOption, IusEntityGroup, IusEntityId, IusEntityItemHeights, IusEntityNode, IusEntityRowAccent, IusEntityRowAction, IusEntityRowKind, IusEntityRowNoveltyTone, IusEntityRowState, IusEntityRowTag, IusEntitySection, IusEntityStateSegment, IusEventAssignee, IusEventPillFill, IusEventPillSize, IusEventPillVariant, IusFileItemAction, IusFileItemActionClick, IusFileItemActivateOn, IusFileItemField, IusFileItemLayout, IusFileItemOwner, IusFileItemSize, IusFileItemStatus, IusFileItemTag, IusFileTypeIconSize, IusFileTypeIconVariant, IusFileUploadVariant, IusFilterBarOption, IusFilterField, IusFilterFieldOption, IusFilterFieldType, IusFilterRule, IusFilterValue, IusFlexAlign, IusFlexDirection, IusFlexGap, IusFlexJustify, IusFooterStatusSize, IusFooterStatusTone, IusFormColumns, IusFormError, IusFormFieldSpan, IusFormSectionVariant, IusIconButtonShape, IusIconButtonSize, IusIconButtonVariant, IusIconToggleOption, IusIconToggleSize, IusIconToggleVariant, IusImageCropperApply, IusImageCropperCrop, IusImageCropperOutputType, IusImageCropperShape, IusInsightTone, IusInsightVariant, IusInsigniaSize, IusInsigniaTone, IusInsigniaVariant, IusKanbanBoardColumn, IusKanbanBoardItem, IusKanbanBoardVariant, IusKanbanCardAction, IusKanbanCardAssignee, IusKanbanCardDragProps, IusKanbanCardFlag, IusKanbanCardLayout, IusKanbanCardLine, IusKanbanCardLineObject, IusKanbanCardState, IusKanbanCardTag, IusKanbanCardTagConfig, IusKanbanCardText, IusKanbanId, IusKanbanItemContext, IusKanbanItemMoveEvent, IusKanbanItemMoveInfo, IusKanbanItemsMoveEvent, IusKanbanLineTone, IusKanbanRenderCardContext, IusKanbanTone, IusLineChartPoints, IusLineSeries, IusLinearProgressSegment, IusLinearProgressSize, IusLinearProgressTone, IusListCardAction, IusListCardField, IusListCardMarker, IusListCardMenuItem, IusListCardSize, IusListCardStatus, IusListCardTag, IusListCardTone, IusListViewAction, IusListViewSize, IusListViewSortOption, IusLoadingMarkSurface, IusLoadingVariant, IusMentionsFieldSize, IusMentionsItemContext, IusMentionsSource, IusMenuItemSize, IusMenuItemState, IusMenuItemVariant, IusMenuOption, IusModalCloseReason, IusModalIconTone, IusModalSize, IusMonthEvent, IusMultiTextFieldSize, IusMultiTextFieldSlot, IusMultiTextFieldState, IusNavRailAccent, IusNavRailItem, IusNavRailItemClick, IusNavUserAccount, IusNavUserLayout, IusNavUserUser, IusNotificationItemAction, IusNotificationItemKind, IusOAuthButtonSize, IusOAuthButtonType, IusOAuthProvider, IusOptionItemSize, IusOptionItemState, IusPageHeaderDensity, IusPageHeaderTitleLevel, IusPaginationSize, IusPaginationVariant, IusPartyListConnector, IusPartyListSize, IusPersonId, IusPersonItemAction, IusPersonItemSize, IusPersonItemState, IusPersonItemVariant, IusPersonOption, IusPersonPickerSelectedContext, IusPlanUsageAction, IusPlanUsageLegend, IusPlanUsageStatus, IusPopoverPadding, IusPopoverPlacement, IusPopoverTrigger, IusPostComposerAttachmentsLayout, IusPostComposerSize, IusPostComposerVariant, IusProviderKey, IusProviderLogoSize, IusQueryBuilderSize, IusRadioLabelPosition, IusRadioSize, IusReactionDef, IusReactionEmojiAnimate, IusReactionEmojiSize, IusRepeatableControlContext, IusRepeatableInputMode, IusRepeatableItem, IusRepeatableSize, IusRepeatableTypeOption, IusRichTextEditorSize, IusRichTextEditorTone, IusRichTextEditorVariant, IusRichTextMentionSource, IusScheduleListDayEvent, IusScheduleListEventClick, IusScheduleListPillVariant, IusScheduleListShowMore, IusScheduleListSize, IusScrollAxis, IusScrollSize, IusSearchBarSize, IusSearchBarState, IusSectionHeaderAccent, IusSectionHeaderVariant, IusSectionTitleAs, IusSectionTitleHelpTrigger, IusSectionTitleSize, IusSegmentedSize, IusSegmentedVariant, IusSelectCreateFactory, IusSelectSize, IusSelectState, IusSelectValue, IusSelectionFieldDirection, IusSelectionFieldLabelPosition, IusSelectionFieldSize, IusSelectionFieldType, IusSelectionFieldValue, IusSelectionOption, IusSelectionOptionValue, IusSettingsNavAccent, IusSettingsNavEntry, IusSettingsNavGroup, IusSettingsNavItem, IusSettingsNavSeparator, IusSettingsNavSize, IusShowMoreAlign, IusSkeletonAnimation, IusSkeletonVariant, IusSparklineVariant, IusSplitterAccent, IusSplitterOrientation, IusStageDetailAccent, IusStageDetailAssignee, IusStageDetailState, IusStatAlign, IusStatSize, IusStatTone, IusStatusChipSize, IusStatusChipTone, IusStatusKind, IusStepperAccent, IusStepperAssignee, IusStepperCollapsedControl, IusStepperContextRow, IusStepperDetailDisplay, IusStepperOrientation, IusStepperPopoverAction, IusStepperSize, IusStepperStage, IusStepperStageEvent, IusStepperState, IusStepperSubstage, IusSwitchLabelPosition, IusSwitchSize, IusTabItem, IusTabTag, IusTableAlign, IusTableCellContext, IusTableChildRowKey, IusTableColumn, IusTableExpandedContext, IusTableHeaderContext, IusTableRowClick, IusTableRowKey, IusTableRowLabel, IusTableRowMeta, IusTableRowStyle, IusTableSize, IusTableSortChange, IusTableSortDirection, IusTableSummaryCell, IusTableTone, IusTabsAccent, IusTabsSize, IusTagRole, IusTagShape, IusTagSize, IusTagState, IusTagTone, IusTagVariant, IusTextAlign, IusTextAreaSize, IusTextAreaState, IusTextButtonSize, IusTextButtonType, IusTextColor, IusTextFieldInputMode, IusTextFieldSize, IusTextFieldType, IusTextTag, IusTextVariant, IusTextWeight, IusTimeValue, IusTimelineAccent, IusTimelineAssignee, IusTimelineAttachment, IusTimelineAttachmentClick, IusTimelineItem, IusTimelineItemState, IusTimelineSize, IusTimelineTag, IusTimelineTagTone, IusToastActionContext, IusToastItem, IusToastOptions, IusToastPosition, IusToastTone, IusTooltipTrigger, IusUploadFile, IusUploadStatus, IusUploader, IusUploaderHelpers, IusUserMenuAccount, IusUserMenuAccountOption, IusUserMenuItem, IusUserMenuOrigin, IusUserMenuService, IusUserMenuUser, MentionItem, MentionPopupAdapter, MentionPopupContext, MentionRef, MentionTokenData, MentionsValue, Naturaleza, NaturalezaDef, NaturalezaOption, NaturalezaTone, OrbMood, OrbPose, PostAttachment, PostSubmitFn, PostTarget, PostValue, Reaction, ReactionKey, RichTextCommand, RichTextEngine, RichTextEngineOptions, RichTextTool, SegmentedOption, SelectOption, SelectOptionGroup, SourceKey, SourceMeta, StatusMeta, StatusOption, StatusTone, StatusToneVars, StatusVocabMap, StatusVocabName, UseWizardOptions, WizardApi, WizardStep };
|