@litigiovirtual/ius-design-components 2.13.0 → 2.15.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.mjs +3359 -76
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/package.json +28 -1
- package/types/litigiovirtual-ius-design-components.d.ts +1293 -11
|
@@ -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). */
|
|
@@ -5473,8 +5474,12 @@ type IusChipState = 'idle' | 'hover' | 'disabled';
|
|
|
5473
5474
|
* display.
|
|
5474
5475
|
*
|
|
5475
5476
|
* Tres estados (Default · Hovered · Disabled) y tres tamaños. Admite un ícono a la
|
|
5476
|
-
* izquierda
|
|
5477
|
-
*
|
|
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.
|
|
5478
5483
|
*
|
|
5479
5484
|
* Fuente de verdad: `components/data-display/Chip/Chip.jsx` + `.d.ts` + ng-spec.
|
|
5480
5485
|
* Todo sale de tokens `--ius-*`; los px de la pill (3/4/5 py, 8/10/12 px, 16/18/20
|
|
@@ -5486,6 +5491,10 @@ declare class ChipComponent {
|
|
|
5486
5491
|
label?: string;
|
|
5487
5492
|
/** Ícono Material Symbols a la izquierda (opcional). */
|
|
5488
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;
|
|
5489
5498
|
/** Muestra el botón × y habilita quitar el chip (relleno azul). */
|
|
5490
5499
|
removable: boolean;
|
|
5491
5500
|
/** Tamaño de la pill. */
|
|
@@ -5498,13 +5507,20 @@ declare class ChipComponent {
|
|
|
5498
5507
|
removeLabel: string;
|
|
5499
5508
|
/** Al pulsar la × (original `onRemove`). */
|
|
5500
5509
|
readonly removed: EventEmitter<void>;
|
|
5510
|
+
/** Clic o Enter/Espacio sobre el chip (original `onClick`); enlazarlo lo vuelve `role=button`. */
|
|
5511
|
+
readonly clicked: EventEmitter<MouseEvent | KeyboardEvent>;
|
|
5501
5512
|
/** Deshabilitado (real o forzado). */
|
|
5502
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;
|
|
5503
5519
|
/** `data-state` solo cuando hay un estado forzado (≠ idle). */
|
|
5504
5520
|
protected get forcedState(): IusChipState | null;
|
|
5505
5521
|
protected handleRemove(event: MouseEvent): void;
|
|
5506
5522
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
5507
|
-
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>;
|
|
5508
5524
|
static ngAcceptInputType_removable: unknown;
|
|
5509
5525
|
static ngAcceptInputType_disabled: unknown;
|
|
5510
5526
|
}
|
|
@@ -5553,12 +5569,17 @@ declare class FlexComponent {
|
|
|
5553
5569
|
type IusDividerOrientation = 'horizontal' | 'vertical';
|
|
5554
5570
|
type IusDividerVariant = 'solid' | 'dashed';
|
|
5555
5571
|
type IusDividerTextAlign = 'start' | 'center' | 'end';
|
|
5572
|
+
/** `primary` = marca de lo nuevo (separador «Nuevos» de un hilo). */
|
|
5573
|
+
type IusDividerTone = 'default' | 'primary';
|
|
5556
5574
|
/**
|
|
5557
5575
|
* Divider — separador NEUTRO (ng-spec components/data-display/Divider).
|
|
5558
5576
|
* Línea fina 1px --ius-neutral-3, horizontal (con etiqueta opcional proyectada)
|
|
5559
5577
|
* o vertical (rellena el alto del contenedor). Para separadores con tono
|
|
5560
5578
|
* semántico → Alert o borde propio. Sin outputs.
|
|
5561
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
|
+
*
|
|
5562
5583
|
* Etiqueta: contenido proyectado (solo horizontal). textAlign mueve el trazo
|
|
5563
5584
|
* corto (stub) al lado del título, como el golden.
|
|
5564
5585
|
*/
|
|
@@ -5569,11 +5590,13 @@ declare class DividerComponent implements AfterViewInit {
|
|
|
5569
5590
|
variant: IusDividerVariant;
|
|
5570
5591
|
/** Alineación de la etiqueta (solo horizontal con etiqueta). */
|
|
5571
5592
|
textAlign: IusDividerTextAlign;
|
|
5593
|
+
/** `primary` marca lo nuevo (separador «Nuevos»): trazo primary-500, etiqueta primary-700. */
|
|
5594
|
+
tone: IusDividerTone;
|
|
5572
5595
|
private labelWrap;
|
|
5573
5596
|
protected readonly hasLabel: _angular_core.WritableSignal<boolean>;
|
|
5574
5597
|
ngAfterViewInit(): void;
|
|
5575
5598
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
5576
|
-
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>;
|
|
5577
5600
|
}
|
|
5578
5601
|
|
|
5579
5602
|
/** Contexto de uso: fila de overlay (neutral) · fila del NavRail (verde marca). */
|
|
@@ -11797,7 +11820,7 @@ interface IusAutocompleteItemContext<T> {
|
|
|
11797
11820
|
index: number;
|
|
11798
11821
|
}
|
|
11799
11822
|
/** Fila lista para pintar: label ya partido por la coincidencia con la query. */
|
|
11800
|
-
interface ItemVM<T> {
|
|
11823
|
+
interface ItemVM$1<T> {
|
|
11801
11824
|
item: T;
|
|
11802
11825
|
key: string | number;
|
|
11803
11826
|
label: string;
|
|
@@ -11957,7 +11980,7 @@ declare class AutocompleteComponent<T = any> implements ControlValueAccessor, On
|
|
|
11957
11980
|
protected readonly listaVisible: _angular_core.Signal<boolean>;
|
|
11958
11981
|
protected readonly cargando: _angular_core.Signal<boolean>;
|
|
11959
11982
|
protected readonly mostrarClear: _angular_core.Signal<boolean>;
|
|
11960
|
-
protected readonly itemsVM: _angular_core.Signal<ItemVM<T>[]>;
|
|
11983
|
+
protected readonly itemsVM: _angular_core.Signal<ItemVM$1<T>[]>;
|
|
11961
11984
|
protected readonly mensajeVacio: _angular_core.Signal<string>;
|
|
11962
11985
|
constructor();
|
|
11963
11986
|
ngOnInit(): void;
|
|
@@ -14031,6 +14054,12 @@ interface IusNotificationItemAction {
|
|
|
14031
14054
|
* Adaptación Angular: los callbacks pasan a outputs (`opened`, `dismissed`,
|
|
14032
14055
|
* `actionClick`, `exited`) y «se pasó `onDismiss`» pasa a `dismissible`: en
|
|
14033
14056
|
* `info` el descarte siempre está; en `action` solo con `dismissible`.
|
|
14057
|
+
*
|
|
14058
|
+
* «Ver más» / «Ver menos» (`expandable`, encendido por defecto): solo en `info` y solo si
|
|
14059
|
+
* el corte de 3 líneas esconde parte del mensaje; desplegada, se ven completos el mensaje
|
|
14060
|
+
* y el título. Lo definió diseño el 11/11 por la devolución de QA de F6 (PBI 12352/12353):
|
|
14061
|
+
* con el `title` nativo no se podía leer completo sin mouse. Aún no está en el
|
|
14062
|
+
* `NotificationItem.jsx` de Claude Design.
|
|
14034
14063
|
*/
|
|
14035
14064
|
declare class NotificationItemComponent {
|
|
14036
14065
|
readonly kind: _angular_core.InputSignal<IusNotificationItemKind>;
|
|
@@ -14049,6 +14078,17 @@ declare class NotificationItemComponent {
|
|
|
14049
14078
|
readonly dismissible: _angular_core.InputSignal<boolean>;
|
|
14050
14079
|
readonly openLabel: _angular_core.InputSignal<string>;
|
|
14051
14080
|
readonly dismissLabel: _angular_core.InputSignal<string>;
|
|
14081
|
+
/** «Ver más» en `info` cuando el corte esconde texto. En `false` el mensaje queda cortado. */
|
|
14082
|
+
readonly expandable: _angular_core.InputSignal<boolean>;
|
|
14083
|
+
/**
|
|
14084
|
+
* Desplegada, controlado. `undefined` deja el control al componente, que arranca en
|
|
14085
|
+
* `defaultExpanded`. Par two-way con `expandedChange`.
|
|
14086
|
+
*/
|
|
14087
|
+
readonly expanded: _angular_core.InputSignal<boolean | undefined>;
|
|
14088
|
+
/** Estado inicial del modo no controlado. */
|
|
14089
|
+
readonly defaultExpanded: _angular_core.InputSignal<boolean>;
|
|
14090
|
+
readonly moreLabel: _angular_core.InputSignal<string>;
|
|
14091
|
+
readonly lessLabel: _angular_core.InputSignal<string>;
|
|
14052
14092
|
readonly actions: _angular_core.InputSignal<IusNotificationItemAction[]>;
|
|
14053
14093
|
/** Dispara la salida animada (p. ej. la acción se cumplió). */
|
|
14054
14094
|
readonly leaving: _angular_core.InputSignal<boolean>;
|
|
@@ -14060,11 +14100,26 @@ declare class NotificationItemComponent {
|
|
|
14060
14100
|
readonly actionClick: _angular_core.OutputEmitterRef<string>;
|
|
14061
14101
|
/** Fin de la salida (por `leaving` o por descarte): quitar el ítem de la lista. */
|
|
14062
14102
|
readonly exited: _angular_core.OutputEmitterRef<void>;
|
|
14103
|
+
/** «Ver más» / «Ver menos»: el estado pedido (original `onExpandedChange`). No emite `opened`. */
|
|
14104
|
+
readonly expandedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
14063
14105
|
private readonly exiting;
|
|
14064
14106
|
private timer;
|
|
14107
|
+
private readonly hostEl;
|
|
14108
|
+
private readonly msgRef;
|
|
14109
|
+
protected readonly msgId: string;
|
|
14110
|
+
/** `undefined` = aún sin pulsar → manda `defaultExpanded`. */
|
|
14111
|
+
private readonly picked;
|
|
14112
|
+
/** El corte esconde parte del mensaje. Un mensaje nuevo vuelve a medirse desde contraído. */
|
|
14113
|
+
private readonly truncated;
|
|
14065
14114
|
protected readonly isAction: _angular_core.Signal<boolean>;
|
|
14066
14115
|
protected readonly isLeaving: _angular_core.Signal<boolean>;
|
|
14067
14116
|
protected readonly showDismiss: _angular_core.Signal<boolean>;
|
|
14117
|
+
private readonly isExpanded;
|
|
14118
|
+
private readonly measurable;
|
|
14119
|
+
protected readonly canExpand: _angular_core.Signal<boolean>;
|
|
14120
|
+
protected readonly showFull: _angular_core.Signal<boolean>;
|
|
14121
|
+
/** Sin «Ver más», el `title` nativo es la única forma de leer el mensaje entero. */
|
|
14122
|
+
protected readonly msgTitle: _angular_core.Signal<string | null | undefined>;
|
|
14068
14123
|
protected readonly label: _angular_core.Signal<string>;
|
|
14069
14124
|
/** La acción principal va primero. */
|
|
14070
14125
|
protected readonly ordered: _angular_core.Signal<IusNotificationItemAction[]>;
|
|
@@ -14072,11 +14127,1238 @@ declare class NotificationItemComponent {
|
|
|
14072
14127
|
constructor();
|
|
14073
14128
|
protected open(): void;
|
|
14074
14129
|
protected dismiss(): void;
|
|
14075
|
-
|
|
14130
|
+
protected toggleExpanded(): void;
|
|
14131
|
+
/** Los clics de las zonas de acción, descarte y «Ver más» no llegan a la card. */
|
|
14076
14132
|
protected stop(event: Event): void;
|
|
14133
|
+
/**
|
|
14134
|
+
* Solo el párrafo con el corte puesto dice si el texto cabe. Se mira el DOM y no la señal
|
|
14135
|
+
* porque la medición puede correr antes de que la vista aplique el cambio; desplegada se
|
|
14136
|
+
* conserva lo medido para seguir ofreciendo «Ver menos».
|
|
14137
|
+
*/
|
|
14138
|
+
private measure;
|
|
14077
14139
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationItemComponent, never>;
|
|
14078
|
-
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>;
|
|
14140
|
+
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; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "moreLabel": { "alias": "moreLabel"; "required": false; "isSignal": true; }; "lessLabel": { "alias": "lessLabel"; "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"; "expandedChange": "expandedChange"; }, never, never, true, never>;
|
|
14141
|
+
}
|
|
14142
|
+
|
|
14143
|
+
/** Escala del sistema — small ~34 · medium ~40 · large ~48 px (alto del riel). */
|
|
14144
|
+
type IusIconToggleSize = 'small' | 'medium' | 'large';
|
|
14145
|
+
/** `subtle` = pastilla blanca elevada (default) · `solid` = pastilla navy de marca. */
|
|
14146
|
+
type IusIconToggleVariant = 'subtle' | 'solid';
|
|
14147
|
+
/** Un toggle del grupo (2–6 recomendado). */
|
|
14148
|
+
interface IusIconToggleOption {
|
|
14149
|
+
/** Valor único; entra/sale del array de activos. */
|
|
14150
|
+
value: string;
|
|
14151
|
+
/** Ligadura Material Symbols Rounded. */
|
|
14152
|
+
icon?: string;
|
|
14153
|
+
/** Texto visible junto al ícono (opcional; sin él el botón es cuadrado, icon-only). */
|
|
14154
|
+
label?: string;
|
|
14155
|
+
/** Etiqueta accesible cuando el botón no lleva `label` visible. */
|
|
14156
|
+
ariaLabel?: string;
|
|
14157
|
+
/** Tooltip nativo; por defecto el `ariaLabel` en los icon-only. */
|
|
14158
|
+
title?: string;
|
|
14159
|
+
/** Deshabilita solo este toggle. */
|
|
14160
|
+
disabled?: boolean;
|
|
14161
|
+
}
|
|
14162
|
+
/**
|
|
14163
|
+
* IconToggle — Ius Design v2 (familia inputs).
|
|
14164
|
+
*
|
|
14165
|
+
* Grupo de toggles de ícono **multi-selección**: cada botón es un on/off
|
|
14166
|
+
* independiente y varios pueden quedar activos a la vez (negrita, cursiva,
|
|
14167
|
+
* subrayado…). Misma estética que SegmentedControl (riel `neutral-1` + pastilla,
|
|
14168
|
+
* `subtle`/`solid`, 3 tamaños) pero semántica `role="group"` + `aria-pressed`, no
|
|
14169
|
+
* `radiogroup`. Para selección única de ícono → SegmentedControl `iconOnly`; para
|
|
14170
|
+
* una acción puntual → IconButton; para un solo on/off → Switch.
|
|
14171
|
+
*
|
|
14172
|
+
* - Roving tabindex: flechas / Home / End mueven el **foco** (no conmutan);
|
|
14173
|
+
* Espacio/Enter conmutan el botón enfocado (click nativo del `<button>`).
|
|
14174
|
+
* - `preventBlur`: `preventDefault` en `mousedown` para no robar la selección
|
|
14175
|
+
* de un editor (toolbar del RichTextEditor); el toggle se confirma en `click`.
|
|
14176
|
+
* - `ControlValueAccessor` (`string[]`) y además `[(value)]` directo. El array
|
|
14177
|
+
* que se emite sigue el orden de `options` (espejo del golden).
|
|
14178
|
+
* - `size` opcional: sin él no se emite `data-size` y el tamaño sale de
|
|
14179
|
+
* `--ius-control-size` del ancestro (`@container style()`), o `medium`.
|
|
14180
|
+
*
|
|
14181
|
+
* Fuente de verdad: `components/inputs/IconToggle/IconToggle.jsx` + `.ng-spec.md`.
|
|
14182
|
+
*/
|
|
14183
|
+
declare class IconToggleComponent implements ControlValueAccessor {
|
|
14184
|
+
/** Toggles del grupo (2–6 recomendado). */
|
|
14185
|
+
options: IusIconToggleOption[];
|
|
14186
|
+
/** Escala. Sin valor no se emite `data-size` (manda `--ius-control-size`, o `medium`). */
|
|
14187
|
+
size?: IusIconToggleSize;
|
|
14188
|
+
/** Jerarquía visual de la pastilla activa. */
|
|
14189
|
+
variant: IusIconToggleVariant;
|
|
14190
|
+
/** `preventDefault` en `mousedown`: conserva la selección del editor (toolbars de RTE). */
|
|
14191
|
+
preventBlur: boolean;
|
|
14192
|
+
/** Etiqueta accesible del grupo (`role="group"`). */
|
|
14193
|
+
ariaLabel?: string;
|
|
14194
|
+
/** `name` de los botones. */
|
|
14195
|
+
name?: string;
|
|
14196
|
+
private readonly valueState;
|
|
14197
|
+
/** Valores activos (controlado / CVA). */
|
|
14198
|
+
set value(v: string[] | null | undefined);
|
|
14199
|
+
get value(): string[];
|
|
14200
|
+
private readonly disabledState;
|
|
14201
|
+
/** Deshabilita todo el grupo. */
|
|
14202
|
+
set disabled(v: boolean);
|
|
14203
|
+
get disabled(): boolean;
|
|
14204
|
+
/** Nuevo array de activos (original `onChange` arg 1 = `next`). Habilita `[(value)]`. */
|
|
14205
|
+
readonly valueChange: EventEmitter<string[]>;
|
|
14206
|
+
/** Valor conmutado en la última interacción (original `onChange` arg 2 = `changed`). */
|
|
14207
|
+
readonly toggled: EventEmitter<string>;
|
|
14208
|
+
/** Índice del botón tabbable (roving). `-1` = aún sin foco: el primero no deshabilitado. */
|
|
14209
|
+
protected readonly focusIdx: _angular_core.WritableSignal<number>;
|
|
14210
|
+
private readonly host;
|
|
14211
|
+
private readonly optRefs;
|
|
14212
|
+
private onChange;
|
|
14213
|
+
private onTouched;
|
|
14214
|
+
writeValue(value: string[] | null): void;
|
|
14215
|
+
registerOnChange(fn: (value: string[]) => void): void;
|
|
14216
|
+
registerOnTouched(fn: () => void): void;
|
|
14217
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14218
|
+
protected isPressed(o: IusIconToggleOption): boolean;
|
|
14219
|
+
protected isLabeled(o: IusIconToggleOption): boolean;
|
|
14220
|
+
/** Botón tabbable: el último enfocado o, de entrada, el primero sin `disabled` (golden). */
|
|
14221
|
+
protected tabIndexFor(index: number): number;
|
|
14222
|
+
private isEnabled;
|
|
14223
|
+
protected onMouseDown(event: MouseEvent): void;
|
|
14224
|
+
protected onOptionClick(o: IusIconToggleOption): void;
|
|
14225
|
+
protected onKeyDown(event: KeyboardEvent, index: number): void;
|
|
14226
|
+
/** `touched` al salir el foco del grupo (no al saltar entre sus botones). */
|
|
14227
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
14228
|
+
private moveFocus;
|
|
14229
|
+
private focusAt;
|
|
14230
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconToggleComponent, never>;
|
|
14231
|
+
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>;
|
|
14232
|
+
static ngAcceptInputType_preventBlur: unknown;
|
|
14233
|
+
static ngAcceptInputType_disabled: unknown;
|
|
14234
|
+
}
|
|
14235
|
+
|
|
14236
|
+
/** Claves de las 10 reacciones propias, en orden de galería. */
|
|
14237
|
+
type ReactionKey = 'like' | 'thanks' | 'party' | 'love' | 'laugh' | 'important' | 'agree' | 'reviewed' | 'urgent' | 'seen';
|
|
14238
|
+
|
|
14239
|
+
/** Tamaño: `small` 16 · `medium` 20 (default) · `large` 32 · `xlarge` 64 px (`--ius-icon-sm/md/xl/2xl`). */
|
|
14240
|
+
type IusReactionEmojiSize = 'small' | 'medium' | 'large' | 'xlarge';
|
|
14241
|
+
/**
|
|
14242
|
+
* Animación: `none` · `hover` (al pasar el puntero sobre el emoji o sobre un ancestro
|
|
14243
|
+
* `.ius-remoji-trigger`, o al enfocarlo con teclado) · `once` (al montar) · `loop`.
|
|
14244
|
+
*/
|
|
14245
|
+
type IusReactionEmojiAnimate = 'none' | 'hover' | 'once' | 'loop';
|
|
14246
|
+
/** Reacción de la galería: clave + etiqueta accesible en español. */
|
|
14247
|
+
interface IusReactionDef {
|
|
14248
|
+
key: ReactionKey;
|
|
14249
|
+
label: string;
|
|
14250
|
+
}
|
|
14251
|
+
/** Las 10 reacciones propias, en orden de galería. */
|
|
14252
|
+
declare const REACTIONS: readonly IusReactionDef[];
|
|
14253
|
+
/** Las 6 del selector rápido; el resto va en «Más». */
|
|
14254
|
+
declare const REACTION_QUICK: readonly ReactionKey[];
|
|
14255
|
+
/** Clave → etiqueta accesible. */
|
|
14256
|
+
declare const REACTION_LABEL: Readonly<Record<ReactionKey, string>>;
|
|
14257
|
+
/** Normaliza una reacción guardada (clave propia o emoji Unicode del set anterior) a su clave. */
|
|
14258
|
+
declare function resolveReaction(v: string | null | undefined): ReactionKey | null;
|
|
14259
|
+
/**
|
|
14260
|
+
* ReactionEmoji — Ius Design v2 (familia foundations).
|
|
14261
|
+
*
|
|
14262
|
+
* Emoji de reacción **propio** (no Unicode del sistema): SVG inline por clave,
|
|
14263
|
+
* con arte de ilustración (`reaction-art.ts`, colores en la data y no en el
|
|
14264
|
+
* componente — mismo precedente que Illustration). Acepta la clave (`like`…) o el
|
|
14265
|
+
* emoji Unicode del set anterior (`resolveReaction`); una clave desconocida no
|
|
14266
|
+
* pinta nada (el host queda `hidden`).
|
|
14267
|
+
*
|
|
14268
|
+
* - Ids de gradiente únicos por instancia: el prefijo `P-` del arte se sustituye
|
|
14269
|
+
* por un id propio, para que varias reacciones convivan sin chocar `<defs>`.
|
|
14270
|
+
* - El arte es estático y de confianza (constante de la librería, nunca dato de
|
|
14271
|
+
* usuario): por eso, y solo por eso, se marca con `bypassSecurityTrustHtml`.
|
|
14272
|
+
* - Accesible por defecto (`role="img"` + `aria-label` = `label` o la etiqueta de
|
|
14273
|
+
* la clave); `decorative` lo oculta (`aria-hidden`).
|
|
14274
|
+
* - `prefers-reduced-motion: reduce` → sin animación.
|
|
14275
|
+
*
|
|
14276
|
+
* Fuente de verdad: `components/foundations/ReactionEmoji/ReactionEmoji.jsx` +
|
|
14277
|
+
* `reaction-art.js` + `.ng-spec.md`.
|
|
14278
|
+
*/
|
|
14279
|
+
declare class ReactionEmojiComponent {
|
|
14280
|
+
private readonly sanitizer;
|
|
14281
|
+
/** Id por instancia que sustituye el prefijo `P-` de los gradientes. */
|
|
14282
|
+
private readonly instanceId;
|
|
14283
|
+
/** Clave de la reacción o emoji Unicode del set anterior. */
|
|
14284
|
+
readonly name: _angular_core.InputSignal<string | null | undefined>;
|
|
14285
|
+
/** Escala (16/20/32/64 px). */
|
|
14286
|
+
readonly size: _angular_core.InputSignal<IusReactionEmojiSize>;
|
|
14287
|
+
/** Animación por clave (tilt, bob, shake, beat, drop, pop, flash, blink). */
|
|
14288
|
+
readonly animate: _angular_core.InputSignal<IusReactionEmojiAnimate>;
|
|
14289
|
+
/** Etiqueta accesible; por defecto la de la clave («Me gusta»…). */
|
|
14290
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
14291
|
+
/** Decorativo: `aria-hidden`, sin `role="img"`. */
|
|
14292
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14293
|
+
protected readonly key: _angular_core.Signal<ReactionKey | null>;
|
|
14294
|
+
protected readonly art: _angular_core.Signal<string | null>;
|
|
14295
|
+
protected readonly hasPart: _angular_core.Signal<boolean>;
|
|
14296
|
+
protected readonly ariaLabel: _angular_core.Signal<string | null>;
|
|
14297
|
+
protected readonly html: _angular_core.Signal<SafeHtml | null>;
|
|
14298
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ReactionEmojiComponent, never>;
|
|
14299
|
+
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>;
|
|
14300
|
+
}
|
|
14301
|
+
|
|
14302
|
+
/** Una mención dentro del texto: rango `[start, end)` sobre `text` (incluye el `@`). */
|
|
14303
|
+
interface MentionTokenData {
|
|
14304
|
+
/** Lo que devolvió `getItemId` al elegir (tras leerlo del DOM llega como string). */
|
|
14305
|
+
id: string | number;
|
|
14306
|
+
/** Nombre visible, sin el trigger. */
|
|
14307
|
+
name: string;
|
|
14308
|
+
start: number;
|
|
14309
|
+
end: number;
|
|
14310
|
+
}
|
|
14311
|
+
/** Valor del campo: texto plano con `@Nombre` inline + las menciones con sus rangos. */
|
|
14312
|
+
interface MentionsValue {
|
|
14313
|
+
text: string;
|
|
14314
|
+
mentions: MentionTokenData[];
|
|
14315
|
+
}
|
|
14316
|
+
/** Fuente de personas: arreglo (filtra por substring) o función sync/async. */
|
|
14317
|
+
type IusMentionsSource<T> = T[] | ((query: string) => T[] | Promise<T[]>);
|
|
14318
|
+
/** Escala del campo: small · medium · large. */
|
|
14319
|
+
type IusMentionsFieldSize = 'small' | 'medium' | 'large';
|
|
14320
|
+
/** Contexto del `TemplateRef` de `renderItem` (equivalente del `ctx` del golden). */
|
|
14321
|
+
interface IusMentionsItemContext<T> {
|
|
14322
|
+
/** El ítem (`let-item`). */
|
|
14323
|
+
$implicit: T;
|
|
14324
|
+
/** `true` si es el ítem resaltado por teclado/hover. */
|
|
14325
|
+
highlighted: boolean;
|
|
14326
|
+
/** Texto tecleado tras el trigger. */
|
|
14327
|
+
query: string;
|
|
14328
|
+
}
|
|
14329
|
+
interface ItemVM<T> {
|
|
14330
|
+
item: T;
|
|
14331
|
+
index: number;
|
|
14332
|
+
key: string | number;
|
|
14333
|
+
label: string;
|
|
14334
|
+
src?: string;
|
|
14335
|
+
role?: string;
|
|
14336
|
+
ctx: IusMentionsItemContext<T>;
|
|
14337
|
+
}
|
|
14338
|
+
/**
|
|
14339
|
+
* MentionsField — Ius Design v2 (familia inputs).
|
|
14340
|
+
*
|
|
14341
|
+
* Campo **multilínea** (superficie tipo TextArea, `contenteditable`) que reconoce
|
|
14342
|
+
* un trigger (`@`) y abre una lista de personas; al elegir, el `@texto` se vuelve
|
|
14343
|
+
* un **chip atómico** (`contenteditable=false` + `user-select: all`: Backspace lo
|
|
14344
|
+
* selecciona y el siguiente lo borra entero). Valor = `MentionsValue`
|
|
14345
|
+
* `{ text, mentions }` con los rangos `start/end` de cada mención en `text`.
|
|
14346
|
+
* Para un valor único de lista → Autocomplete; texto corto sin menciones →
|
|
14347
|
+
* TextField/TextArea; texto rico → RichTextEditor.
|
|
14348
|
+
*
|
|
14349
|
+
* - Lista en `ius-popover` (`trigger="manual"`, `bottom-start`, sin rabito)
|
|
14350
|
+
* anclado al editor, como el golden; con `touch` va en una **franja** bajo el
|
|
14351
|
+
* campo (sobre el teclado) con chips y scroll lateral con desvanecido de bordes.
|
|
14352
|
+
* - Fuente sync (arreglo: filtra al instante) o función sync/async (con
|
|
14353
|
+
* `debounceMs`; las respuestas obsoletas se descartan por sesión).
|
|
14354
|
+
* - `renderItem`: `TemplateRef` con contexto `{ $implicit: item, highlighted, query }`.
|
|
14355
|
+
* Sin él, cada fila es `ius-avatar` xsmall + nombre + `item.role`.
|
|
14356
|
+
* - `ControlValueAccessor` completo + `[(value)]`.
|
|
14357
|
+
*
|
|
14358
|
+
* Limitaciones heredadas del MVP (ng-spec §5): un solo trigger (multi-trigger
|
|
14359
|
+
* `@`/`#` = mejora futura) y lista anclada al editor, no al caret.
|
|
14360
|
+
*
|
|
14361
|
+
* Mejoras del port sobre el MVP (documentadas):
|
|
14362
|
+
* 1. **Write-back reactivo del valor.** El golden sólo sincroniza al montar y
|
|
14363
|
+
* cuando cambia `value.text` (cambios posteriores exigen remontar con `key`).
|
|
14364
|
+
* Aquí cada `value`/`writeValue` nuevo se compara con lo que hay en el editor
|
|
14365
|
+
* (texto + rangos + ids) y, si difiere, se repinta; si es lo mismo que se
|
|
14366
|
+
* acaba de emitir no se toca el DOM (el cursor no salta). `writeValue(null)`
|
|
14367
|
+
* (p. ej. `form.reset()`) vacía el editor.
|
|
14368
|
+
* 2. `box-sizing: border-box` en el editor: el golden le da `width: 100%` + padding
|
|
14369
|
+
* y, sin un reset global, desbordaba el contenedor.
|
|
14370
|
+
* 3. `maxRows` calcula el tope en CSS con las mismas variables de la escala
|
|
14371
|
+
* (`--_mf-fs`, `--_mf-lh`, `--_mf-py`), en vez de los px fijos por tamaño del
|
|
14372
|
+
* golden: así respeta también `--ius-control-size`.
|
|
14373
|
+
*
|
|
14374
|
+
* Fuente de verdad: `components/inputs/MentionsField/MentionsField.jsx` + `.ng-spec.md`.
|
|
14375
|
+
*/
|
|
14376
|
+
declare class MentionsFieldComponent<T = any> implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
14377
|
+
/** Valor externo vigente (`value` o `writeValue`); `undefined` = no controlado. */
|
|
14378
|
+
private externo;
|
|
14379
|
+
/** Valor (controlado). Cada valor nuevo se repinta si difiere del editor. */
|
|
14380
|
+
set value(v: MentionsValue | null | undefined);
|
|
14381
|
+
get value(): MentionsValue | null | undefined;
|
|
14382
|
+
/** Valor inicial (no controlado); sólo se lee al montar. */
|
|
14383
|
+
defaultValue?: MentionsValue;
|
|
14384
|
+
/** Personas: arreglo (filtra por substring del label) o función sync/async. */
|
|
14385
|
+
mentionables?: IusMentionsSource<T>;
|
|
14386
|
+
/** Carácter disparador. */
|
|
14387
|
+
trigger: string;
|
|
14388
|
+
private readonly getItemLabelState;
|
|
14389
|
+
/** Nombre visible. Default: `item.name`, `item.label` o el propio string. */
|
|
14390
|
+
set getItemLabel(fn: ((item: T) => string) | undefined);
|
|
14391
|
+
get getItemLabel(): ((item: T) => string) | undefined;
|
|
14392
|
+
private readonly getItemIdState;
|
|
14393
|
+
/** Id que queda en el chip y en `mentions[].id`. Default: `item.id` o el label. */
|
|
14394
|
+
set getItemId(fn: ((item: T) => string | number) | undefined);
|
|
14395
|
+
get getItemId(): ((item: T) => string | number) | undefined;
|
|
14396
|
+
/** Render a medida de cada fila. Contexto: `{ $implicit, highlighted, query }`. */
|
|
14397
|
+
renderItem?: TemplateRef<IusMentionsItemContext<T>>;
|
|
14398
|
+
/** Espera antes de consultar una fuente función (el arreglo filtra al instante). */
|
|
14399
|
+
debounceMs: number;
|
|
14400
|
+
/** Mensaje sin resultados. */
|
|
14401
|
+
noResultsText: string;
|
|
14402
|
+
/** Mensaje de carga (fuente async). */
|
|
14403
|
+
loadingText: string;
|
|
14404
|
+
/** Etiqueta sobre el editor (también su `aria-label`). */
|
|
14405
|
+
label?: string;
|
|
14406
|
+
/** Texto con el editor vacío. */
|
|
14407
|
+
placeholder?: string;
|
|
14408
|
+
/** Ayuda bajo el campo. */
|
|
14409
|
+
helperText?: string;
|
|
14410
|
+
/** Reemplaza `helperText` cuando `error` es `true`. */
|
|
14411
|
+
errorText?: string;
|
|
14412
|
+
/** Estado de error. */
|
|
14413
|
+
error: boolean;
|
|
14414
|
+
/** Escala. Sin valor no se emite `data-size` (manda `--ius-control-size`, o `medium`). */
|
|
14415
|
+
size?: IusMentionsFieldSize;
|
|
14416
|
+
/** Punto de obligatorio junto a la etiqueta. */
|
|
14417
|
+
required: boolean;
|
|
14418
|
+
/** Altura mínima en filas. */
|
|
14419
|
+
minRows: number;
|
|
14420
|
+
/** Tope en filas; pasado el tope, scroll interno. Sin él el editor crece libre. */
|
|
14421
|
+
maxRows?: number;
|
|
14422
|
+
/** Móvil: sugerencias en una franja bajo el campo (sobre el teclado), no flotando. */
|
|
14423
|
+
touch: boolean;
|
|
14424
|
+
/** `data-name` del editor. */
|
|
14425
|
+
name?: string;
|
|
14426
|
+
/** `id` del campo (va en la raíz; la etiqueta lo referencia). */
|
|
14427
|
+
id?: string;
|
|
14428
|
+
private readonly disabledState;
|
|
14429
|
+
/** Deshabilita el campo (editor no editable). */
|
|
14430
|
+
set disabled(v: boolean);
|
|
14431
|
+
get disabled(): boolean;
|
|
14432
|
+
/** `{ text, mentions }` tras cada cambio (original `onChange`). Habilita `[(value)]`. */
|
|
14433
|
+
readonly valueChange: EventEmitter<MentionsValue>;
|
|
14434
|
+
private readonly editor;
|
|
14435
|
+
private readonly band;
|
|
14436
|
+
protected readonly items: _angular_core.WritableSignal<T[]>;
|
|
14437
|
+
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
14438
|
+
protected readonly query: _angular_core.WritableSignal<string>;
|
|
14439
|
+
protected readonly loading: _angular_core.WritableSignal<boolean>;
|
|
14440
|
+
protected readonly highlightIdx: _angular_core.WritableSignal<number>;
|
|
14441
|
+
private triggerRange;
|
|
14442
|
+
private debounceTimer?;
|
|
14443
|
+
private blurTimer?;
|
|
14444
|
+
private session;
|
|
14445
|
+
private viewReady;
|
|
14446
|
+
private onChangeFn;
|
|
14447
|
+
private onTouchedFn;
|
|
14448
|
+
/** Lista visible (golden: abierta, no deshabilitada y con carga o resultados). */
|
|
14449
|
+
protected readonly listOpen: _angular_core.Signal<boolean>;
|
|
14450
|
+
protected readonly itemsVM: _angular_core.Signal<ItemVM<T>[]>;
|
|
14451
|
+
constructor();
|
|
14452
|
+
ngAfterViewInit(): void;
|
|
14453
|
+
ngOnDestroy(): void;
|
|
14454
|
+
protected get hint(): string | undefined;
|
|
14455
|
+
/** Tope de alto con `maxRows`: misma fórmula que el `min-height` (filas · fs · lh + py · 2). */
|
|
14456
|
+
protected get maxHeight(): string | null;
|
|
14457
|
+
private aplicarExterno;
|
|
14458
|
+
private emit;
|
|
14459
|
+
private labelOf;
|
|
14460
|
+
private idOf;
|
|
14461
|
+
private resolveMentionables;
|
|
14462
|
+
private cerrar;
|
|
14463
|
+
/** ¿El caret está en medio de una mención (`@query` sin espacios)? Actualiza lista y rango. */
|
|
14464
|
+
private detectTrigger;
|
|
14465
|
+
private insertMention;
|
|
14466
|
+
protected onInput(): void;
|
|
14467
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
14468
|
+
protected onBlur(): void;
|
|
14469
|
+
protected onItemMouseDown(event: MouseEvent, item: T): void;
|
|
14470
|
+
writeValue(value: MentionsValue | null): void;
|
|
14471
|
+
registerOnChange(fn: (value: MentionsValue) => void): void;
|
|
14472
|
+
registerOnTouched(fn: () => void): void;
|
|
14473
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14474
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MentionsFieldComponent<any>, never>;
|
|
14475
|
+
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>;
|
|
14476
|
+
static ngAcceptInputType_debounceMs: unknown;
|
|
14477
|
+
static ngAcceptInputType_error: unknown;
|
|
14478
|
+
static ngAcceptInputType_required: unknown;
|
|
14479
|
+
static ngAcceptInputType_minRows: unknown;
|
|
14480
|
+
static ngAcceptInputType_touch: unknown;
|
|
14481
|
+
static ngAcceptInputType_disabled: unknown;
|
|
14482
|
+
}
|
|
14483
|
+
|
|
14484
|
+
/**
|
|
14485
|
+
* Catálogo de emojis para el picker del RichTextEditor.
|
|
14486
|
+
* Cada entrada = [carácter, palabras clave en español] para búsqueda.
|
|
14487
|
+
* Curado (no es el set Unicode completo): caras, gestos, afecto, oficina/legal,
|
|
14488
|
+
* símbolos y estados — lo más usado en notas, correos y comentarios del dominio.
|
|
14489
|
+
*
|
|
14490
|
+
* Port verbatim de components/inputs/RichTextEditor/emoji-data.js (solo se añaden tipos).
|
|
14491
|
+
*/
|
|
14492
|
+
/** [carácter, palabras clave en español]. */
|
|
14493
|
+
type EmojiEntry = readonly [char: string, keywords: string];
|
|
14494
|
+
|
|
14495
|
+
/**
|
|
14496
|
+
* RichTextEngine — el «seam» del RichTextEditor (ng-spec §7).
|
|
14497
|
+
*
|
|
14498
|
+
* El componente `ius-rich-text-editor` habla SOLO con esta interfaz; la
|
|
14499
|
+
* implementación vigente es `TiptapEngine` (tiptap 3.27.3 vanilla sobre
|
|
14500
|
+
* `@tiptap/core`). El componente no conoce tiptap ni guarda/restaura rangos:
|
|
14501
|
+
* el motor preserva la selección.
|
|
14502
|
+
*/
|
|
14503
|
+
/** Comandos de edición que el motor sabe ejecutar (`exec`) y consultar (`isActive`). */
|
|
14504
|
+
type RichTextCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'bulletList' | 'numberList' | 'link' | 'unlink' | 'clear';
|
|
14505
|
+
/** Persona sugerida para las menciones `@` (Fase 1). */
|
|
14506
|
+
interface MentionItem {
|
|
14507
|
+
/** Identificador único (se serializa como `data-id`). */
|
|
14508
|
+
id: string;
|
|
14509
|
+
/** Nombre visible (`@label`; se serializa como `data-label`). */
|
|
14510
|
+
label: string;
|
|
14511
|
+
/** URL de foto para el avatar del popup. */
|
|
14512
|
+
avatarUrl?: string;
|
|
14513
|
+
/** Línea secundaria del popup (rol, cargo…). */
|
|
14514
|
+
secondary?: string;
|
|
14515
|
+
}
|
|
14516
|
+
/** Lo que el motor reporta al popup de menciones en cada paso de la sugerencia. */
|
|
14517
|
+
interface MentionPopupContext {
|
|
14518
|
+
/** Rect del `@consulta` en pantalla (ancla virtual del popup); `null` si ya no existe. */
|
|
14519
|
+
clientRect(): DOMRect | null;
|
|
14520
|
+
/** Coincidencias de `mentionItems(query)`. */
|
|
14521
|
+
items: MentionItem[];
|
|
14522
|
+
/** Texto tras el `@`. */
|
|
14523
|
+
query: string;
|
|
14524
|
+
/** Inserta la mención elegida (reemplaza `@consulta` por el nodo + un espacio). */
|
|
14525
|
+
command(item: MentionItem): void;
|
|
14526
|
+
}
|
|
14527
|
+
/** Popup de menciones que pinta el componente (Popover + OptionItem); el motor lo invoca. */
|
|
14528
|
+
interface MentionPopupAdapter {
|
|
14529
|
+
open(ctx: MentionPopupContext): void;
|
|
14530
|
+
update(ctx: MentionPopupContext): void;
|
|
14531
|
+
close(): void;
|
|
14532
|
+
/** `true` = tecla consumida por el popup (↑/↓/Enter/Tab/Esc): no llega al documento. */
|
|
14533
|
+
onKeyDown(event: KeyboardEvent): boolean;
|
|
14534
|
+
}
|
|
14535
|
+
/** Opciones de montaje del motor. */
|
|
14536
|
+
interface RichTextEngineOptions {
|
|
14537
|
+
/** HTML inicial. */
|
|
14538
|
+
initialHTML?: string;
|
|
14539
|
+
/** Editable al montar (default `true`). */
|
|
14540
|
+
editable?: boolean;
|
|
14541
|
+
/** Placeholder del editor vacío; una función se reevalúa en cada repintado. */
|
|
14542
|
+
placeholder?: string | (() => string);
|
|
14543
|
+
/** Cada cambio del documento, con el HTML (`''` si quedó vacío). */
|
|
14544
|
+
onChange: (html: string) => void;
|
|
14545
|
+
/** Cambio de selección (recalcular el estado activo de la toolbar). */
|
|
14546
|
+
onSelectionChange?: () => void;
|
|
14547
|
+
/** Catálogo de personas para `@`; sin él no se instala la extensión de menciones. */
|
|
14548
|
+
mentionItems?: (query: string) => MentionItem[] | Promise<MentionItem[]>;
|
|
14549
|
+
/** Popup de menciones (obligatorio para verlas si hay `mentionItems`). */
|
|
14550
|
+
onMentionRender?: MentionPopupAdapter;
|
|
14551
|
+
}
|
|
14552
|
+
/** Contrato del motor de edición (ng-spec §7). */
|
|
14553
|
+
interface RichTextEngine {
|
|
14554
|
+
/** Monta el editor dentro de `el` (el motor crea el `contenteditable`). */
|
|
14555
|
+
mount(el: HTMLElement, opts: RichTextEngineOptions): void;
|
|
14556
|
+
destroy(): void;
|
|
14557
|
+
/** HTML del documento; `''` cuando está vacío. */
|
|
14558
|
+
getHTML(): string;
|
|
14559
|
+
/** Sync controlado: no re-emite y no toca el documento si ya es ese HTML (guarda de eco). */
|
|
14560
|
+
setHTML(html: string): void;
|
|
14561
|
+
focus(): void;
|
|
14562
|
+
setEditable(editable: boolean): void;
|
|
14563
|
+
exec(cmd: RichTextCommand, value?: string): void;
|
|
14564
|
+
isActive(cmd: RichTextCommand): boolean;
|
|
14565
|
+
getSelectedText(): string;
|
|
14566
|
+
/** Enlaza la selección o, con el caret colapsado, inserta `text` (o la URL) enlazado. */
|
|
14567
|
+
setLink(href: string, text?: string): void;
|
|
14568
|
+
/** Inserta un fragmento (texto/emoji Unicode) en el caret. */
|
|
14569
|
+
insert(fragment: string): void;
|
|
14570
|
+
/** Escribe `@` en el caret (con un espacio previo si hace falta) para abrir la sugerencia. */
|
|
14571
|
+
insertMentionTrigger?(): void;
|
|
14572
|
+
/** Cambia el placeholder sin remontar. */
|
|
14573
|
+
setPlaceholder?(text: string): void;
|
|
14574
|
+
}
|
|
14575
|
+
|
|
14576
|
+
/** Herramientas de la toolbar. `'divider'` inserta un separador vertical. */
|
|
14577
|
+
type RichTextTool = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'bulletList' | 'numberList' | 'link' | 'clear' | 'emoji' | 'mention' | 'divider';
|
|
14578
|
+
/** Escala del campo: small · medium · large. */
|
|
14579
|
+
type IusRichTextEditorSize = 'small' | 'medium' | 'large';
|
|
14580
|
+
/** Tono del marco: `note` = nota interna (banano). */
|
|
14581
|
+
type IusRichTextEditorTone = 'default' | 'note';
|
|
14582
|
+
/** Cromo: `default` = caja propia · `bare` = sin caja, sobre la superficie que lo contiene. */
|
|
14583
|
+
type IusRichTextEditorVariant = 'default' | 'bare';
|
|
14584
|
+
/** Fuente de personas para `@` (sync o async). */
|
|
14585
|
+
type IusRichTextMentionSource = (query: string) => MentionItem[] | Promise<MentionItem[]>;
|
|
14586
|
+
type ToggleTool = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'bulletList' | 'numberList';
|
|
14587
|
+
type ActionTool = 'link' | 'clear' | 'emoji' | 'mention';
|
|
14588
|
+
/** Toolbar por defecto (ng-spec §2 †). */
|
|
14589
|
+
declare const IUS_RTE_DEFAULT_TOOLBAR: readonly RichTextTool[];
|
|
14590
|
+
/** Normaliza la URL del enlace: sin esquema conocido se antepone `https://` (ng-spec §4.1). */
|
|
14591
|
+
declare function normalizeRichTextUrl(url: string): string;
|
|
14592
|
+
/** Pieza de la toolbar ya resuelta (corrida de toggles, separador o acción). */
|
|
14593
|
+
interface ToolbarItemVM {
|
|
14594
|
+
kind: 'toggles' | 'divider' | 'action';
|
|
14595
|
+
key: string;
|
|
14596
|
+
/** Solo `toggles`: herramientas de la corrida, en orden. */
|
|
14597
|
+
ids: ToggleTool[];
|
|
14598
|
+
/** Solo `toggles`: opciones del IconToggle. */
|
|
14599
|
+
options: IusIconToggleOption[];
|
|
14600
|
+
/** Solo `action`. */
|
|
14601
|
+
tool?: ActionTool;
|
|
14602
|
+
icon: string;
|
|
14603
|
+
label: string;
|
|
14604
|
+
}
|
|
14605
|
+
interface MentionState {
|
|
14606
|
+
open: boolean;
|
|
14607
|
+
items: MentionItem[];
|
|
14608
|
+
index: number;
|
|
14609
|
+
/** Ancla virtual (rect vivo del `@consulta`); `null` = sin rect, no se pinta. */
|
|
14610
|
+
anchor: (() => DOMRect | null) | null;
|
|
14611
|
+
}
|
|
14612
|
+
/**
|
|
14613
|
+
* RichTextEditor — Ius Design v2 (familia inputs).
|
|
14614
|
+
*
|
|
14615
|
+
* Campo de **texto enriquecido**: superficie `contenteditable` multilínea con una
|
|
14616
|
+
* **toolbar de formato** (negrita, cursiva, subrayado, tachado, listas, enlace,
|
|
14617
|
+
* quitar formato; emoji y menciones `@` en Fase 1). Valor = **string HTML**
|
|
14618
|
+
* (`''` cuando queda vacío): `ControlValueAccessor` + `valueChange`.
|
|
14619
|
+
*
|
|
14620
|
+
* Motor detrás del seam `RichTextEngine` (§7): `TiptapEngine` (tiptap 3.27.3
|
|
14621
|
+
* vanilla, de npm). El componente no conoce tiptap: lo pide por `import()`
|
|
14622
|
+
* dinámico (`rich-text-engine-loader`), así tiptap/ProseMirror van en un chunk
|
|
14623
|
+
* perezoso de la app y no en su bundle inicial.
|
|
14624
|
+
*
|
|
14625
|
+
* Composición (ng-spec §4.0): corridas de toggles → `ius-icon-toggle`
|
|
14626
|
+
* (`preventBlur`, valor = activos en el caret); acciones → `ius-icon-button`
|
|
14627
|
+
* tertiary con `mousedown` preventDefault; `'divider'` → `ius-divider` vertical;
|
|
14628
|
+
* enlace → `ius-popover` + `ius-text-field` ×2 + `ius-button`; emoji →
|
|
14629
|
+
* `ius-popover` + `ius-search-bar` + grilla; mención → `ius-popover` anclado al
|
|
14630
|
+
* caret (`anchorRect`) + `ius-option-item` (avatar xsmall + nombre).
|
|
14631
|
+
*
|
|
14632
|
+
* Mejoras/decisiones del port (documentadas):
|
|
14633
|
+
* 1. Write-back reactivo: cada `value`/`writeValue` se aplica con `setHTML`
|
|
14634
|
+
* (guarda de eco: si es el HTML vigente no toca el documento ni el caret);
|
|
14635
|
+
* en React hacía falta remontar con `key`.
|
|
14636
|
+
* 2. Sin motor de respaldo `execCommand`: tiptap llega por npm en un chunk
|
|
14637
|
+
* perezoso de la propia app, no por CDN. Mientras carga (solo el primer
|
|
14638
|
+
* editor) la toolbar queda inerte y `writeValue`/`[value]`/`disabled`/
|
|
14639
|
+
* `placeholder`/`label`/`mentionItems` se aplican al montar; si el chunk
|
|
14640
|
+
* falla, el error va al `ErrorHandler` y el editor no monta.
|
|
14641
|
+
* 3. `touch`: el golden abre enlace/emoji en hoja (BottomSheet); la librería no
|
|
14642
|
+
* tiene esa presentación, así que en móvil siguen en popover.
|
|
14643
|
+
* 4. `MentionItem.secondary` se pinta como `description` del OptionItem (el
|
|
14644
|
+
* golden lo declara en el `.d.ts` y no lo pinta).
|
|
14645
|
+
*
|
|
14646
|
+
* Fuente de verdad: `components/inputs/RichTextEditor/RichTextEditor.jsx` +
|
|
14647
|
+
* `.d.ts` + `RichTextEditor.ng-spec.md`.
|
|
14648
|
+
*/
|
|
14649
|
+
declare class RichTextEditorComponent implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
14650
|
+
/** Valor externo vigente (`value` o `writeValue`); `undefined` = no controlado. */
|
|
14651
|
+
private external;
|
|
14652
|
+
/** Contenido controlado (HTML). Cada valor nuevo se aplica con guarda de eco. */
|
|
14653
|
+
set value(v: string | null | undefined);
|
|
14654
|
+
get value(): string | undefined;
|
|
14655
|
+
/** Contenido inicial (HTML) cuando no es controlado; solo se lee al montar. */
|
|
14656
|
+
defaultValue: string;
|
|
14657
|
+
private readonly toolbarState;
|
|
14658
|
+
/** Herramientas visibles y su orden; `'divider'` = separador vertical. */
|
|
14659
|
+
set toolbar(v: readonly RichTextTool[] | null | undefined);
|
|
14660
|
+
get toolbar(): readonly RichTextTool[];
|
|
14661
|
+
private readonly mentionItemsState;
|
|
14662
|
+
/** Catálogo de personas para `@` (sync/async). Si se provee, activa la tool `mention`. */
|
|
14663
|
+
set mentionItems(fn: IusRichTextMentionSource | null | undefined);
|
|
14664
|
+
get mentionItems(): IusRichTextMentionSource | undefined;
|
|
14665
|
+
/** Etiqueta del campo (también el `aria-label` del editor). */
|
|
14666
|
+
label?: string;
|
|
14667
|
+
/** Texto guía con el editor vacío. */
|
|
14668
|
+
placeholder: string;
|
|
14669
|
+
/** Ayuda bajo el campo. */
|
|
14670
|
+
helperText?: string;
|
|
14671
|
+
/** Estado de error. */
|
|
14672
|
+
error: boolean;
|
|
14673
|
+
/** Reemplaza `helperText` en error. */
|
|
14674
|
+
errorText?: string;
|
|
14675
|
+
/** Escala. Sin valor no se emite `data-size` (manda `--ius-control-size`, o `medium`). */
|
|
14676
|
+
size?: IusRichTextEditorSize;
|
|
14677
|
+
/** `note` = nota interna (banano). Error y disabled mandan. */
|
|
14678
|
+
tone: IusRichTextEditorTone;
|
|
14679
|
+
/** `bare` = sin caja (sin relleno, borde, radio ni halo). */
|
|
14680
|
+
variant: IusRichTextEditorVariant;
|
|
14681
|
+
/** Punto de obligatorio antes de la etiqueta. */
|
|
14682
|
+
required: boolean;
|
|
14683
|
+
/** Altura mínima del editor en líneas aprox. */
|
|
14684
|
+
minRows: number;
|
|
14685
|
+
/** Tope en líneas antes del scroll interno. */
|
|
14686
|
+
maxRows?: number;
|
|
14687
|
+
/** Enfoca el editor al quedar listo el motor (`preventScroll`). */
|
|
14688
|
+
autoFocus: boolean;
|
|
14689
|
+
/** `data-name` del contenedor del editor. */
|
|
14690
|
+
name?: string;
|
|
14691
|
+
/** `id` del campo (en la raíz). */
|
|
14692
|
+
id?: string;
|
|
14693
|
+
protected readonly touchState: _angular_core.WritableSignal<boolean>;
|
|
14694
|
+
/** Móvil: toolbar en una sola fila con scroll horizontal y botones de 44 px. */
|
|
14695
|
+
set touch(v: boolean);
|
|
14696
|
+
get touch(): boolean;
|
|
14697
|
+
private readonly disabledInput;
|
|
14698
|
+
private readonly disabledByForm;
|
|
14699
|
+
/** Editor no editable + toolbar inerte. */
|
|
14700
|
+
set disabled(v: boolean);
|
|
14701
|
+
get disabled(): boolean;
|
|
14702
|
+
/** HTML del editor tras cada cambio (`''` si vacío). Original `onChange`. Habilita `[(value)]`. */
|
|
14703
|
+
readonly valueChange: EventEmitter<string>;
|
|
14704
|
+
private readonly hostRef;
|
|
14705
|
+
private readonly toolbarRef;
|
|
14706
|
+
private readonly isBrowser;
|
|
14707
|
+
private readonly engineLoader;
|
|
14708
|
+
private readonly errorHandler;
|
|
14709
|
+
/** Constructor del motor, ya cargado (`null` mientras llega el chunk de tiptap). */
|
|
14710
|
+
private engineCtor;
|
|
14711
|
+
private engine;
|
|
14712
|
+
private mountedWithMentions;
|
|
14713
|
+
private destroyed;
|
|
14714
|
+
protected readonly disabledState: _angular_core.Signal<boolean>;
|
|
14715
|
+
protected readonly ready: _angular_core.WritableSignal<boolean>;
|
|
14716
|
+
protected readonly focused: _angular_core.WritableSignal<boolean>;
|
|
14717
|
+
/** Toggles activos en el caret. */
|
|
14718
|
+
protected readonly active: _angular_core.WritableSignal<ToggleTool[]>;
|
|
14719
|
+
protected readonly busy: _angular_core.Signal<boolean>;
|
|
14720
|
+
protected readonly linkOpen: _angular_core.WritableSignal<boolean>;
|
|
14721
|
+
protected readonly linkHref: _angular_core.WritableSignal<string>;
|
|
14722
|
+
protected readonly linkText: _angular_core.WritableSignal<string>;
|
|
14723
|
+
protected readonly linkActive: _angular_core.WritableSignal<boolean>;
|
|
14724
|
+
protected readonly emojiOpen: _angular_core.WritableSignal<boolean>;
|
|
14725
|
+
protected readonly emojiQuery: _angular_core.WritableSignal<string>;
|
|
14726
|
+
protected readonly emojiMatches: _angular_core.Signal<readonly EmojiEntry[]>;
|
|
14727
|
+
protected readonly mention: _angular_core.WritableSignal<MentionState>;
|
|
14728
|
+
private mentionCommand;
|
|
14729
|
+
protected readonly ngModelSuelto: {
|
|
14730
|
+
standalone: boolean;
|
|
14731
|
+
};
|
|
14732
|
+
private onChangeFn;
|
|
14733
|
+
private onTouchedFn;
|
|
14734
|
+
/** Toolbar resuelta: corridas de toggles consecutivos → un IconToggle (golden `flushToggles`). */
|
|
14735
|
+
protected readonly layout: _angular_core.Signal<ToolbarItemVM[]>;
|
|
14736
|
+
/** Valor de cada corrida de toggles (los activos de la corrida), por índice de `layout`. */
|
|
14737
|
+
protected readonly runValues: _angular_core.Signal<string[][]>;
|
|
14738
|
+
/** Adaptador del popup de menciones (estable; el motor lo invoca). */
|
|
14739
|
+
private readonly mentionAdapter;
|
|
14740
|
+
constructor();
|
|
14741
|
+
ngAfterViewInit(): void;
|
|
14742
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14743
|
+
ngOnDestroy(): void;
|
|
14744
|
+
/** Primer montaje, con el estado vigente (lo que llegó mientras cargaba el motor). */
|
|
14745
|
+
private start;
|
|
14746
|
+
private mountEngine;
|
|
14747
|
+
private destroyEngine;
|
|
14748
|
+
private editorElement;
|
|
14749
|
+
/** `aria-label` (desde `label`) y `aria-disabled` del editor (ng-spec §8). */
|
|
14750
|
+
private syncEditorAttrs;
|
|
14751
|
+
private syncEditable;
|
|
14752
|
+
private applyExternal;
|
|
14753
|
+
private emit;
|
|
14754
|
+
private refreshActive;
|
|
14755
|
+
protected onToggle(changed: string): void;
|
|
14756
|
+
protected onAction(tool: ActionTool | undefined): void;
|
|
14757
|
+
private openLink;
|
|
14758
|
+
protected applyLink(): void;
|
|
14759
|
+
protected removeLink(): void;
|
|
14760
|
+
protected onLinkKeydown(event: KeyboardEvent): void;
|
|
14761
|
+
protected onLinkOpenChange(open: boolean): void;
|
|
14762
|
+
protected pickEmoji(emoji: string): void;
|
|
14763
|
+
protected onEmojiOpenChange(open: boolean): void;
|
|
14764
|
+
private applyMentionCtx;
|
|
14765
|
+
private onMentionKeyDown;
|
|
14766
|
+
protected selectMention(item: MentionItem): void;
|
|
14767
|
+
protected onMentionOpenChange(open: boolean): void;
|
|
14768
|
+
protected onFocusIn(): void;
|
|
14769
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
14770
|
+
protected get hint(): string | undefined;
|
|
14771
|
+
writeValue(value: string | null): void;
|
|
14772
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
14773
|
+
registerOnTouched(fn: () => void): void;
|
|
14774
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14775
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
14776
|
+
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>;
|
|
14777
|
+
static ngAcceptInputType_error: unknown;
|
|
14778
|
+
static ngAcceptInputType_required: unknown;
|
|
14779
|
+
static ngAcceptInputType_minRows: unknown;
|
|
14780
|
+
static ngAcceptInputType_autoFocus: unknown;
|
|
14781
|
+
static ngAcceptInputType_touch: unknown;
|
|
14782
|
+
static ngAcceptInputType_disabled: unknown;
|
|
14783
|
+
}
|
|
14784
|
+
|
|
14785
|
+
/** `post` publicación nueva · `reply` respuesta · `edit` edición en el sitio. */
|
|
14786
|
+
type IusPostComposerVariant = 'post' | 'reply' | 'edit';
|
|
14787
|
+
/** `small`: editor y botones small y una línea inicial en reply/edit. */
|
|
14788
|
+
type IusPostComposerSize = 'small' | 'medium';
|
|
14789
|
+
/** `rows`: FileItem en fila · `chips`: un Chip por adjunto en una fila que salta de línea. */
|
|
14790
|
+
type IusPostComposerAttachmentsLayout = 'rows' | 'chips';
|
|
14791
|
+
/** Proceso o grupo al que se liga una publicación (mismo contrato que `CommentThread`). */
|
|
14792
|
+
type PostTarget = {
|
|
14793
|
+
type: 'process';
|
|
14794
|
+
radicado: string;
|
|
14795
|
+
label?: string;
|
|
14796
|
+
/** Partes del proceso; se muestran en un Tooltip del chip (el chip sigue en una línea). */
|
|
14797
|
+
description?: string;
|
|
14798
|
+
} | {
|
|
14799
|
+
type: 'group';
|
|
14800
|
+
label?: string;
|
|
14801
|
+
description?: string;
|
|
14802
|
+
};
|
|
14803
|
+
/**
|
|
14804
|
+
* Adjunto de la publicación: `id` + `name` y los campos de `ius-file-item` que la fila
|
|
14805
|
+
* (`attachmentsLayout="rows"`) pasa tal cual. En `chips` solo se usan `kind`/`name`.
|
|
14806
|
+
*/
|
|
14807
|
+
interface PostAttachment {
|
|
14808
|
+
id?: string | number;
|
|
14809
|
+
name: string;
|
|
14810
|
+
kind?: FileKind | string;
|
|
14811
|
+
thumbnail?: string;
|
|
14812
|
+
caption?: string;
|
|
14813
|
+
fields?: readonly IusFileItemField[];
|
|
14814
|
+
tags?: readonly IusFileItemTag[];
|
|
14815
|
+
owner?: IusFileItemOwner;
|
|
14816
|
+
shared?: boolean;
|
|
14817
|
+
unread?: boolean;
|
|
14818
|
+
status?: IusFileItemStatus;
|
|
14819
|
+
progress?: number;
|
|
14820
|
+
statusLabel?: string;
|
|
14821
|
+
/** Acciones de la fila cuando el adjunto NO es removible (con «Quitar» se reemplazan). */
|
|
14822
|
+
actions?: readonly IusFileItemAction[];
|
|
14823
|
+
menu?: readonly IusDropdownItem[];
|
|
14824
|
+
href?: string;
|
|
14825
|
+
activateOn?: IusFileItemActivateOn;
|
|
14826
|
+
disabled?: boolean;
|
|
14827
|
+
ariaLabel?: string;
|
|
14828
|
+
}
|
|
14829
|
+
/** Valor que entrega el editor al enviar. */
|
|
14830
|
+
interface PostValue {
|
|
14831
|
+
/** HTML del RichTextEditor (negrita, cursiva, listas, enlaces, menciones `span.ius-rte__mention[data-id][data-label]`). */
|
|
14832
|
+
html: string;
|
|
14833
|
+
/** Adjuntos actuales (`post` y `edit`; `[]` en `reply`). */
|
|
14834
|
+
attachments: PostAttachment[];
|
|
14835
|
+
/** Proceso ligado (solo `variant="post"`). */
|
|
14836
|
+
target?: PostTarget;
|
|
14837
|
+
}
|
|
14838
|
+
/**
|
|
14839
|
+
* Guarda la publicación. Promesa u Observable: el botón muestra carga; si rechaza / falla,
|
|
14840
|
+
* el texto se conserva y aparece `errorText`; si resuelve / completa (o emite), en `post`
|
|
14841
|
+
* se vacía el editor. `void` = éxito inmediato.
|
|
14842
|
+
*/
|
|
14843
|
+
type PostSubmitFn = (value: PostValue) => Promise<unknown> | Observable<unknown> | void;
|
|
14844
|
+
/** true si el HTML no tiene texto visible ni menciones (semántica exacta del golden). */
|
|
14845
|
+
declare function isEmptyPostHtml(html: string | null | undefined): boolean;
|
|
14846
|
+
/**
|
|
14847
|
+
* PostComposer — Ius Design v2 (familia inputs).
|
|
14848
|
+
*
|
|
14849
|
+
* Caja para escribir en la conversación de un grupo: `ius-rich-text-editor` con formato y
|
|
14850
|
+
* @menciones, adjuntar documentos, ligar a un proceso y «Publicar». Con `variant="reply" |
|
|
14851
|
+
* "edit"` es la caja compacta para responder o editar (sin ligar, con «Cancelar»).
|
|
14852
|
+
* Compone `ius-button` (enviar con carga), `ius-text-button` (Cancelar), `ius-icon-button`
|
|
14853
|
+
* (adjuntar / ligar, con tooltip), `ius-chip` (proceso ligado y adjuntos en `chips`, con
|
|
14854
|
+
* `ius-file-type-icon` como ícono y `ius-tooltip` con el nombre) e `ius-file-item` (filas).
|
|
14855
|
+
*
|
|
14856
|
+
* Contrato Angular (decisiones del port):
|
|
14857
|
+
* 1. Envío: `submitted` se emite en cada envío válido; el host guarda con `submitFn`
|
|
14858
|
+
* (Promise u Observable; equivale al `onSubmit` que devolvía promesa). Rechazo/error →
|
|
14859
|
+
* conserva el texto y muestra `errorText`; éxito → en `post` vacía el editor y emite
|
|
14860
|
+
* `saved` (también sin `submitFn`, en cuanto se emite `submitted`). Sin `submitFn` ni
|
|
14861
|
+
* suscriptor de `submitted` el botón no hace nada (golden sin `onSubmit`).
|
|
14862
|
+
* 2. Botones opcionales (precedente de la librería, Drawer/FilterBar/KanbanColumn): cada uno
|
|
14863
|
+
* aparece si alguien escucha su output (`EventEmitter.observed`) o lo fuerza el input
|
|
14864
|
+
* booleano opcional (`showAttach`, `showPickTarget`, `showCancel`, `removableAttachments`,
|
|
14865
|
+
* `removableTarget`, `openableAttachments`; `undefined` = según el output).
|
|
14866
|
+
* 3. El `onOpen` por adjunto del golden es el output `attachmentOpen` (chip clicable / fila
|
|
14867
|
+
* que abre con doble clic, Enter o `activateOn`).
|
|
14868
|
+
* 4. El reset tras publicar no remonta el editor (`key` de React): el valor se enlaza con
|
|
14869
|
+
* `[value]` y se vuelve `''` (guarda de eco del RichTextEditor).
|
|
14870
|
+
* 5. `sheetContainer` y `Chip.touch` no se portan (la librería no tiene BottomSheet; el alto
|
|
14871
|
+
* táctil del chip lo da el CSS del composer con `--ius-hit-target-min`).
|
|
14872
|
+
*
|
|
14873
|
+
* Fuente de verdad: `components/inputs/PostComposer/PostComposer.jsx` + `.d.ts` + ng-spec.
|
|
14874
|
+
*/
|
|
14875
|
+
declare class PostComposerComponent implements OnInit {
|
|
14876
|
+
/** `post` (default) publicación nueva · `reply` respuesta · `edit` edición en el sitio. */
|
|
14877
|
+
readonly variant: _angular_core.InputSignal<IusPostComposerVariant>;
|
|
14878
|
+
/** HTML inicial (edición); solo se lee al montar. */
|
|
14879
|
+
readonly defaultValue: _angular_core.InputSignal<string>;
|
|
14880
|
+
/** Personas para `@` (ver RichTextEditor). Sin él no hay menciones. */
|
|
14881
|
+
readonly mentionItems: _angular_core.InputSignal<IusRichTextMentionSource | undefined>;
|
|
14882
|
+
/** Default según `variant`: «Escriba una publicación; use @ para mencionar» · «Escriba una respuesta; …» · sin texto. */
|
|
14883
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
14884
|
+
/** Default «Publicar» · «Responder» · «Guardar». */
|
|
14885
|
+
readonly submitLabel: _angular_core.InputSignal<string | undefined>;
|
|
14886
|
+
/** Guarda la publicación (Promise/Observable); ver `PostSubmitFn`. */
|
|
14887
|
+
readonly submitFn: _angular_core.InputSignal<PostSubmitFn | undefined>;
|
|
14888
|
+
/** Adjuntos (controlado). En `post` y en `edit` se muestran; `reply` no lleva adjuntos. */
|
|
14889
|
+
readonly attachments: _angular_core.InputSignalWithTransform<readonly PostAttachment[], readonly PostAttachment[] | null | undefined>;
|
|
14890
|
+
/** Proceso o grupo ligado (controlado, solo `post`). Se muestra como Chip. */
|
|
14891
|
+
readonly target: _angular_core.InputSignal<PostTarget | null | undefined>;
|
|
14892
|
+
/** Mensaje bajo el editor cuando falla el guardado. */
|
|
14893
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
14894
|
+
/** Default 3 (post) · 2 (reply/edit) · 1 (reply/edit en `small`). */
|
|
14895
|
+
readonly minRows: _angular_core.InputSignal<number | undefined>;
|
|
14896
|
+
/** `small`: editor y botones small y una línea inicial. Default `medium`. */
|
|
14897
|
+
readonly size: _angular_core.InputSignal<IusPostComposerSize>;
|
|
14898
|
+
/** Cromo del editor (`RichTextEditor variant`); `bare` cuando el contenedor ya da la caja. */
|
|
14899
|
+
readonly editorVariant: _angular_core.InputSignal<IusRichTextEditorVariant>;
|
|
14900
|
+
/** Cómo se dibujan los adjuntos: `rows` (FileItem) o `chips`. */
|
|
14901
|
+
readonly attachmentsLayout: _angular_core.InputSignal<IusPostComposerAttachmentsLayout>;
|
|
14902
|
+
/** Enfoca el editor al montar, sin desplazar la página. */
|
|
14903
|
+
readonly autoFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14904
|
+
/** Móvil: controles large, barra de formato táctil y acciones a una columna. */
|
|
14905
|
+
readonly touch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14906
|
+
/** Botón «Adjuntar documento» (post/edit); `undefined` = si alguien escucha `(attach)`. */
|
|
14907
|
+
readonly showAttach: _angular_core.InputSignal<boolean | undefined>;
|
|
14908
|
+
/** Botón «Ligar a un proceso» (post); `undefined` = si alguien escucha `(pickTarget)`. */
|
|
14909
|
+
readonly showPickTarget: _angular_core.InputSignal<boolean | undefined>;
|
|
14910
|
+
/** Botón «Cancelar»; `undefined` = si alguien escucha `(cancelled)`. */
|
|
14911
|
+
readonly showCancel: _angular_core.InputSignal<boolean | undefined>;
|
|
14912
|
+
/** «Quitar» en cada adjunto; `undefined` = si alguien escucha `(removeAttachment)`. */
|
|
14913
|
+
readonly removableAttachments: _angular_core.InputSignal<boolean | undefined>;
|
|
14914
|
+
/** × en el chip del proceso; `undefined` = si alguien escucha `(clearTarget)`. */
|
|
14915
|
+
readonly removableTarget: _angular_core.InputSignal<boolean | undefined>;
|
|
14916
|
+
/** Adjuntos que se abren (chip clicable / fila); `undefined` = si alguien escucha `(attachmentOpen)`. */
|
|
14917
|
+
readonly openableAttachments: _angular_core.InputSignal<boolean | undefined>;
|
|
14918
|
+
/** Envío válido (original `onSubmit`); se emite antes de llamar a `submitFn`. */
|
|
14919
|
+
readonly submitted: EventEmitter<PostValue>;
|
|
14920
|
+
/** El guardado terminó bien (resolvió `submitFn`, o no había). Para cerrar la caja de respuesta/edición. */
|
|
14921
|
+
readonly saved: EventEmitter<PostValue>;
|
|
14922
|
+
/** «Cancelar» (original `onCancel`). */
|
|
14923
|
+
readonly cancelled: EventEmitter<void>;
|
|
14924
|
+
/** «Adjuntar documento» (original `onAttach`); el consumidor abre su selector y actualiza `attachments`. */
|
|
14925
|
+
readonly attach: EventEmitter<void>;
|
|
14926
|
+
/** «Quitar adjunto» (original `onRemoveAttachment`). */
|
|
14927
|
+
readonly removeAttachment: EventEmitter<PostAttachment>;
|
|
14928
|
+
/** «Ligar a un proceso» (original `onPickTarget`); el consumidor actualiza `target`. */
|
|
14929
|
+
readonly pickTarget: EventEmitter<void>;
|
|
14930
|
+
/** × del chip del proceso ligado (original `onClearTarget`). */
|
|
14931
|
+
readonly clearTarget: EventEmitter<void>;
|
|
14932
|
+
/** Abrir un adjunto (el `onOpen` de cada adjunto del golden). */
|
|
14933
|
+
readonly attachmentOpen: EventEmitter<PostAttachment>;
|
|
14934
|
+
/** HTML vigente del editor (se enlaza con `[value]`; `''` reinicia). */
|
|
14935
|
+
protected readonly html: _angular_core.WritableSignal<string>;
|
|
14936
|
+
protected readonly saving: _angular_core.WritableSignal<boolean>;
|
|
14937
|
+
protected readonly failed: _angular_core.WritableSignal<boolean>;
|
|
14938
|
+
private pending;
|
|
14939
|
+
private destroyed;
|
|
14940
|
+
protected readonly isPost: _angular_core.Signal<boolean>;
|
|
14941
|
+
protected readonly small: _angular_core.Signal<boolean>;
|
|
14942
|
+
/** Botones y chips: large con touch, si no small. */
|
|
14943
|
+
protected readonly ctl: _angular_core.Signal<"small" | "large">;
|
|
14944
|
+
protected readonly editorSize: _angular_core.Signal<IusRichTextEditorSize | undefined>;
|
|
14945
|
+
protected readonly tools: _angular_core.Signal<readonly RichTextTool[]>;
|
|
14946
|
+
protected readonly effectivePlaceholder: _angular_core.Signal<string>;
|
|
14947
|
+
protected readonly effectiveMinRows: _angular_core.Signal<number>;
|
|
14948
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
14949
|
+
/** Adjuntos que cuentan (post/edit); `reply` no lleva. */
|
|
14950
|
+
protected readonly files: _angular_core.Signal<readonly PostAttachment[]>;
|
|
14951
|
+
/** Proceso ligado visible (solo post). */
|
|
14952
|
+
protected readonly shownTarget: _angular_core.Signal<PostTarget | undefined>;
|
|
14953
|
+
protected readonly targetLabel: _angular_core.Signal<string>;
|
|
14954
|
+
/** Vacío = sin texto visible ni menciones y sin adjuntos → envío deshabilitado. */
|
|
14955
|
+
protected readonly empty: _angular_core.Signal<boolean>;
|
|
14956
|
+
protected readonly removeActions: readonly IusFileItemAction[];
|
|
14957
|
+
constructor();
|
|
14958
|
+
ngOnInit(): void;
|
|
14959
|
+
protected get canAttach(): boolean;
|
|
14960
|
+
protected get canPickTarget(): boolean;
|
|
14961
|
+
protected get canCancel(): boolean;
|
|
14962
|
+
protected get canRemoveFiles(): boolean;
|
|
14963
|
+
protected get canClearTarget(): boolean;
|
|
14964
|
+
protected get canOpenFiles(): boolean;
|
|
14965
|
+
protected trackFile(f: PostAttachment, index: number): string | number;
|
|
14966
|
+
protected onEditorChange(value: string): void;
|
|
14967
|
+
protected submit(): void;
|
|
14968
|
+
private done;
|
|
14969
|
+
private fail;
|
|
14970
|
+
protected onRowAction(event: IusFileItemActionClick, file: PostAttachment): void;
|
|
14971
|
+
protected openAttachment(file: PostAttachment): void;
|
|
14972
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PostComposerComponent, never>;
|
|
14973
|
+
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>;
|
|
14974
|
+
}
|
|
14975
|
+
|
|
14976
|
+
interface CommentAuthor {
|
|
14977
|
+
id?: string | number;
|
|
14978
|
+
name: string;
|
|
14979
|
+
/** URL de la foto. Sin ella, Avatar pinta las iniciales. */
|
|
14980
|
+
avatar?: string;
|
|
14981
|
+
}
|
|
14982
|
+
/**
|
|
14983
|
+
* Objeto al que se liga la publicación: un proceso (radicado) o el grupo en general.
|
|
14984
|
+
* El `onClick` del golden es el output `targetClick` del componente.
|
|
14985
|
+
*/
|
|
14986
|
+
type CommentTarget = {
|
|
14987
|
+
type: 'process';
|
|
14988
|
+
radicado: string;
|
|
14989
|
+
label?: string;
|
|
14990
|
+
} | {
|
|
14991
|
+
type: 'group';
|
|
14992
|
+
label?: string;
|
|
14993
|
+
};
|
|
14994
|
+
/**
|
|
14995
|
+
* Reacción: clave de `ReactionEmoji` (`like`, `thanks`, `party`, `love`, `laugh`, `important`,
|
|
14996
|
+
* `agree`, `reviewed`, `urgent`, `seen`; acepta el emoji Unicode del set anterior), contador y si
|
|
14997
|
+
* la persona actual reaccionó.
|
|
14998
|
+
*/
|
|
14999
|
+
interface Reaction {
|
|
15000
|
+
emoji: string;
|
|
15001
|
+
count: number;
|
|
15002
|
+
/** La persona actual reaccionó con este emoji (chip resaltado, `aria-pressed`). */
|
|
15003
|
+
mine?: boolean;
|
|
15004
|
+
/** Quiénes reaccionaron («Andrés Gómez, Luisa Ortiz y 3 más»), en Tooltip. */
|
|
15005
|
+
people?: string;
|
|
15006
|
+
}
|
|
15007
|
+
/**
|
|
15008
|
+
* Adjunto: `id` + `name` y los campos de `ius-file-item` (mismo shape que `PostAttachment`,
|
|
15009
|
+
* para que la edición lo pase tal cual al PostComposer). Abrir = output `attachmentOpen`
|
|
15010
|
+
* (o `href` sin suscriptor).
|
|
15011
|
+
*/
|
|
15012
|
+
type CommentAttachment = PostAttachment;
|
|
15013
|
+
/** Mención pulsada (`data-id` / `data-label` del RichTextEditor) o del rango de `text`. */
|
|
15014
|
+
interface MentionRef {
|
|
15015
|
+
id?: string | null;
|
|
15016
|
+
name?: string | null;
|
|
15017
|
+
}
|
|
15018
|
+
interface CommentData {
|
|
15019
|
+
id?: string | number;
|
|
15020
|
+
author: CommentAuthor;
|
|
15021
|
+
/** Hora visible, ya formateada («Hoy, 9:42 a. m.», «22 oct.»). */
|
|
15022
|
+
time: string;
|
|
15023
|
+
/** ISO para el `<time datetime>`. */
|
|
15024
|
+
dateTime?: string;
|
|
15025
|
+
/** Muestra « · Editado» junto a la hora. */
|
|
15026
|
+
edited?: boolean;
|
|
15027
|
+
/**
|
|
15028
|
+
* Texto enriquecido (HTML del RichTextEditor). Se sanea al pintar (`sanitizePostHtml`):
|
|
15029
|
+
* negrita, cursiva, subrayado, tachado, listas, enlaces http/https/mailto/tel y menciones.
|
|
15030
|
+
* Tiene prioridad sobre `text`.
|
|
15031
|
+
*/
|
|
15032
|
+
html?: string;
|
|
15033
|
+
/** Texto plano con `@Nombre` inline (compatibilidad con `MentionsField`). */
|
|
15034
|
+
text?: string;
|
|
15035
|
+
/** Rangos de las menciones en `text`. */
|
|
15036
|
+
mentions?: readonly MentionTokenData[];
|
|
15037
|
+
/** Solo raíz: proceso o grupo al que se liga (franja superior). */
|
|
15038
|
+
target?: CommentTarget;
|
|
15039
|
+
/** Adjuntos con vista previa (`FileItem layout="card"`). */
|
|
15040
|
+
attachments?: readonly CommentAttachment[];
|
|
15041
|
+
/** Un documento en fila compacta (compatibilidad con la versión anterior). */
|
|
15042
|
+
attachment?: CommentAttachment;
|
|
15043
|
+
/** Reacciones (raíz y respuestas). */
|
|
15044
|
+
reactions?: readonly Reaction[];
|
|
15045
|
+
/** Comentario de la persona actual: habilita ⋮ con «Editar» y «Borrar». */
|
|
15046
|
+
own?: boolean;
|
|
15047
|
+
/** Borrado: «Comentario borrado» sin autor, texto, reacciones ni «Responder»; se conservan las respuestas. */
|
|
15048
|
+
deleted?: boolean;
|
|
15049
|
+
/** Respuestas (un solo nivel), de la más antigua a la más reciente. */
|
|
15050
|
+
replies?: readonly CommentData[];
|
|
15051
|
+
}
|
|
15052
|
+
/** Lo que devuelve una función de guardado del host: promesa, Observable o nada (éxito inmediato). */
|
|
15053
|
+
type ConvSaveResult = ReturnType<PostSubmitFn>;
|
|
15054
|
+
/** Densidad de la tarjeta. */
|
|
15055
|
+
type IusConversationSize = 'small' | 'medium';
|
|
15056
|
+
/** Marca de «sin ver»: solo el peso (`none`) o además un punto `primary` (`dot`). */
|
|
15057
|
+
type IusConversationUnreadIndicator = 'none' | 'dot';
|
|
15058
|
+
/** Lo mínimo que la barra social necesita del elemento (publicación o evento). */
|
|
15059
|
+
interface ConvThreadItem {
|
|
15060
|
+
reactions?: readonly Reaction[];
|
|
15061
|
+
replies?: readonly CommentData[];
|
|
15062
|
+
}
|
|
15063
|
+
/**
|
|
15064
|
+
* Contexto que la tarjeta (CommentThread / ConversationEvent) comparte con sus piezas internas
|
|
15065
|
+
* (equivale al `ctx` del golden). Cada capacidad opcional existe solo si el host la ofrece:
|
|
15066
|
+
* función de entrada (`replyFn`, `editFn`, `editAttachFn`) u output escuchado.
|
|
15067
|
+
* @internal
|
|
15068
|
+
*/
|
|
15069
|
+
interface ConvContext {
|
|
15070
|
+
/** Tamaño efectivo: `size` explícito o `--ius-density: small` del ancestro. */
|
|
15071
|
+
size: IusConversationSize;
|
|
15072
|
+
touch: boolean;
|
|
15073
|
+
mentionItems?: IusRichTextMentionSource;
|
|
15074
|
+
errorText: string;
|
|
15075
|
+
deletedLabel: string;
|
|
15076
|
+
replyPlaceholder?: string;
|
|
15077
|
+
visibleReplies: number;
|
|
15078
|
+
defaultExpanded: boolean;
|
|
15079
|
+
/** Solo la publicación raíz de CommentThread lo usa (peso y punto del nombre). */
|
|
15080
|
+
unread: boolean;
|
|
15081
|
+
unreadIndicator: IusConversationUnreadIndicator;
|
|
15082
|
+
composerVariant: IusRichTextEditorVariant;
|
|
15083
|
+
composerAttachmentsLayout: IusPostComposerAttachmentsLayout;
|
|
15084
|
+
reply?: (item: ConvThreadItem, value: PostValue) => ConvSaveResult;
|
|
15085
|
+
edit?: (comment: CommentData, value: PostValue) => ConvSaveResult;
|
|
15086
|
+
editAttach?: (comment: CommentData, current: CommentAttachment[]) => CommentAttachment[] | Promise<CommentAttachment[]>;
|
|
15087
|
+
remove?: (comment: CommentData) => void;
|
|
15088
|
+
react?: (item: ConvThreadItem, emoji: string, next: boolean) => void;
|
|
15089
|
+
mentionClick?: (mention: MentionRef) => void;
|
|
15090
|
+
attachmentOpen?: (attachment: CommentAttachment) => void;
|
|
15091
|
+
}
|
|
15092
|
+
/**
|
|
15093
|
+
* Lo provee cada tarjeta (`useExisting`) para que sus piezas internas lean el contexto.
|
|
15094
|
+
* @internal
|
|
15095
|
+
*/
|
|
15096
|
+
declare abstract class ConvHost {
|
|
15097
|
+
abstract readonly convCtx: Signal<ConvContext>;
|
|
15098
|
+
}
|
|
15099
|
+
|
|
15100
|
+
/**
|
|
15101
|
+
* Sanea el HTML del RichTextEditor para pintarlo en la conversación (CommentThread y
|
|
15102
|
+
* ConversationEvent): formato inline (`b`/`strong`/`i`/`em`/`u`/`s`), párrafos, `br`, listas,
|
|
15103
|
+
* enlaces seguros (`http`/`https`/`mailto`/`tel`, con `target="_blank" rel="noopener noreferrer"`)
|
|
15104
|
+
* y menciones (`span[data-id]` o `.ius-rte__mention` → `span.ius-cmt__mention[data-mention-id]
|
|
15105
|
+
* [data-mention-name]`). `script`/`style`/`iframe`/`object`/`template` se descartan; el resto de
|
|
15106
|
+
* etiquetas se desenvuelve (queda su texto) y ningún atributo original sobrevive (`on*`, `style`,
|
|
15107
|
+
* `class`…). Sin DOM (SSR) devuelve el texto escapado.
|
|
15108
|
+
*
|
|
15109
|
+
* Es una lista blanca propia (no el sanitizer de Angular): el de Angular quitaría los `data-*`
|
|
15110
|
+
* de las menciones. Por eso el resultado, y SOLO el resultado de esta función, se marca después
|
|
15111
|
+
* con `DomSanitizer.bypassSecurityTrustHtml`. Semántica exacta de `sanitizePostHtml` del golden.
|
|
15112
|
+
*/
|
|
15113
|
+
declare function sanitizePostHtml(html: string | null | undefined): string;
|
|
15114
|
+
|
|
15115
|
+
/** Las 10 reacciones propias (`ReactionEmoji`); el selector rápido muestra 6 y el resto en «Más». */
|
|
15116
|
+
declare const CommentReactionSet: readonly _litigiovirtual_ius_design_components.IusReactionDef[];
|
|
15117
|
+
/** Enviar una respuesta al hilo (golden `onReply`). Promesa/Observable = carga; si falla, la caja sigue abierta. */
|
|
15118
|
+
type CommentReplyFn = (thread: CommentData, value: PostValue) => ConvSaveResult;
|
|
15119
|
+
/**
|
|
15120
|
+
* Guardar la edición de la raíz o de una respuesta propia (golden `onEdit`). `value.attachments` =
|
|
15121
|
+
* lista final de adjuntos en la raíz; `[]` en respuestas.
|
|
15122
|
+
*/
|
|
15123
|
+
type CommentEditFn = (comment: CommentData, value: PostValue) => ConvSaveResult;
|
|
15124
|
+
/** «Adjuntar documento» al editar la raíz (golden `onEditAttach`): recibe los actuales y devuelve la lista nueva. */
|
|
15125
|
+
type CommentEditAttachFn = (comment: CommentData, current: CommentAttachment[]) => CommentAttachment[] | Promise<CommentAttachment[]>;
|
|
15126
|
+
/** Payload de `react`: el elemento reaccionado (publicación o respuesta), la clave y si queda marcada. */
|
|
15127
|
+
interface CommentReactEvent {
|
|
15128
|
+
item: CommentData;
|
|
15129
|
+
emoji: string;
|
|
15130
|
+
next: boolean;
|
|
15131
|
+
}
|
|
15132
|
+
/**
|
|
15133
|
+
* CommentThread — Ius Design v2 (familia data-display).
|
|
15134
|
+
*
|
|
15135
|
+
* Publicación de un miembro en la conversación de un grupo: franja del objeto ligado (proceso o
|
|
15136
|
+
* grupo), autor/hora/«Editado», texto enriquecido saneado con @menciones, adjuntos con vista
|
|
15137
|
+
* previa, reacciones con emojis propios y respuestas (un nivel) en la misma tarjeta, con caja de
|
|
15138
|
+
* respuesta y edición en el sitio (`ius-post-composer`).
|
|
15139
|
+
*
|
|
15140
|
+
* Contrato Angular (decisiones del port):
|
|
15141
|
+
* 1. Lo que en el golden devuelve una promesa al host son **funciones de entrada**: `replyFn`,
|
|
15142
|
+
* `editFn` (Promise | Observable | void; si falla, la caja sigue abierta con el texto y
|
|
15143
|
+
* `errorText`) y `editAttachFn`. Sin `replyFn` no hay «Responder»; sin `editFn` no hay
|
|
15144
|
+
* «Editar»; sin `editAttachFn` no se puede sumar adjuntos al editar (sí quitarlos).
|
|
15145
|
+
* 2. Lo opcional que solo notifica son **outputs** que cambian la UI si alguien los escucha
|
|
15146
|
+
* (`EventEmitter.observed`, precedente PostComposer/FileItem): `deleteRequest` («Borrar»),
|
|
15147
|
+
* `react` (sin él, reacciones de solo lectura y sin selector), `mentionClick` (mención
|
|
15148
|
+
* clicable), `targetClick` (el valor de la franja pasa a TextButton) y `attachmentOpen`.
|
|
15149
|
+
* 3. Tamaño efectivo: `size` explícito (se refleja en `data-size`) o, sin él, `--ius-density:
|
|
15150
|
+
* small` leído del estilo computado del host tras cada render (avatares y composer); el CSS
|
|
15151
|
+
* sigue `@container style(--ius-density: small)`.
|
|
15152
|
+
* 4. `sheetContainer` y las hojas (BottomSheet) no se portan: la librería no tiene BottomSheet;
|
|
15153
|
+
* con `touch` los menús siguen en popover y los controles pasan a large.
|
|
15154
|
+
*
|
|
15155
|
+
* Fuente de verdad: `components/data-display/CommentThread/CommentThread.jsx` +
|
|
15156
|
+
* `conversation-parts.jsx` + `.d.ts` + ng-spec (ampliaciones del 26/10/2026).
|
|
15157
|
+
*/
|
|
15158
|
+
declare class CommentThreadComponent implements ConvHost {
|
|
15159
|
+
private readonly host;
|
|
15160
|
+
/** Publicación raíz (con sus `replies`, un nivel). */
|
|
15161
|
+
readonly comment: _angular_core.InputSignal<CommentData>;
|
|
15162
|
+
/** Personas para `@` al editar o responder (ver RichTextEditor). */
|
|
15163
|
+
readonly mentionItems: _angular_core.InputSignal<IusRichTextMentionSource | undefined>;
|
|
15164
|
+
/** Respuestas visibles antes de plegar con ShowMore. */
|
|
15165
|
+
readonly visibleReplies: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
15166
|
+
/** Respuestas desplegadas al montar. */
|
|
15167
|
+
readonly defaultExpanded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15168
|
+
readonly deletedLabel: _angular_core.InputSignal<string>;
|
|
15169
|
+
/** Error al guardar (respuesta o edición). */
|
|
15170
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
15171
|
+
/** Placeholder de la caja de respuesta; default el de PostComposer «Escriba una respuesta; use @ para mencionar». */
|
|
15172
|
+
readonly replyPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
15173
|
+
/** Densidad; sin él sigue `--ius-density: small` del ancestro. Default medium. */
|
|
15174
|
+
readonly size: _angular_core.InputSignal<IusConversationSize | undefined>;
|
|
15175
|
+
/** Sin ver: nombre en semibold y «Sin ver.» en el nombre accesible. Lo decide el consumidor. */
|
|
15176
|
+
readonly unread: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15177
|
+
/** `dot`: punto `primary` antes del nombre cuando `unread`. */
|
|
15178
|
+
readonly unreadIndicator: _angular_core.InputSignal<IusConversationUnreadIndicator>;
|
|
15179
|
+
/** Cromo de las cajas de respuesta y edición (`PostComposer editorVariant`). */
|
|
15180
|
+
readonly composerVariant: _angular_core.InputSignal<IusRichTextEditorVariant>;
|
|
15181
|
+
/** Adjuntos en la caja de edición: filas o chips (`PostComposer attachmentsLayout`). */
|
|
15182
|
+
readonly composerAttachmentsLayout: _angular_core.InputSignal<IusPostComposerAttachmentsLayout>;
|
|
15183
|
+
/** Móvil: controles large y acciones del editor en columna. */
|
|
15184
|
+
readonly touch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15185
|
+
/** Enviar una respuesta. Sin él no aparece «Responder». */
|
|
15186
|
+
readonly replyFn: _angular_core.InputSignal<CommentReplyFn | undefined>;
|
|
15187
|
+
/** Guardar la edición (raíz o respuesta propia). Sin él no aparece «Editar». */
|
|
15188
|
+
readonly editFn: _angular_core.InputSignal<CommentEditFn | undefined>;
|
|
15189
|
+
/** Sumar adjuntos al editar la raíz. Sin él, al editar solo se pueden quitar. */
|
|
15190
|
+
readonly editAttachFn: _angular_core.InputSignal<CommentEditAttachFn | undefined>;
|
|
15191
|
+
/** «Borrar» en ⋮ (solo si se escucha). La confirmación y el paso a `deleted` son del consumidor. */
|
|
15192
|
+
readonly deleteRequest: EventEmitter<CommentData>;
|
|
15193
|
+
/** Alternar una reacción (publicación o respuesta). Sin suscriptor: solo lectura y sin selector. */
|
|
15194
|
+
readonly react: EventEmitter<CommentReactEvent>;
|
|
15195
|
+
/** Clic en una mención (abrir perfil). Sin suscriptor la mención no es clicable. */
|
|
15196
|
+
readonly mentionClick: EventEmitter<MentionRef>;
|
|
15197
|
+
/** Clic en el valor de la franja (proceso o grupo). Sin suscriptor es texto. */
|
|
15198
|
+
readonly targetClick: EventEmitter<CommentData>;
|
|
15199
|
+
/** Abrir un adjunto. Sin suscriptor el adjunto navega por su `href` (si lo tiene). */
|
|
15200
|
+
readonly attachmentOpen: EventEmitter<_litigiovirtual_ius_design_components.PostAttachment>;
|
|
15201
|
+
/** `--ius-density: small` heredado (solo cuenta sin `size`). */
|
|
15202
|
+
private readonly densitySmall;
|
|
15203
|
+
protected readonly effectiveSize: _angular_core.Signal<IusConversationSize>;
|
|
15204
|
+
protected readonly target: _angular_core.Signal<_litigiovirtual_ius_design_components.CommentTarget | undefined>;
|
|
15205
|
+
protected readonly targetValue: _angular_core.Signal<string>;
|
|
15206
|
+
protected get targetClickable(): boolean;
|
|
15207
|
+
/** @internal Contexto de las piezas internas (golden `ctx`). */
|
|
15208
|
+
readonly convCtx: _angular_core.Signal<ConvContext>;
|
|
15209
|
+
constructor();
|
|
15210
|
+
protected onTargetClick(): void;
|
|
15211
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommentThreadComponent, never>;
|
|
15212
|
+
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>;
|
|
15213
|
+
}
|
|
15214
|
+
|
|
15215
|
+
/** Cambio antes → después (proceso o expediente, F7·HU-26). */
|
|
15216
|
+
interface EventChange {
|
|
15217
|
+
field: string;
|
|
15218
|
+
/** Valor anterior; vacío pinta «Sin dato». */
|
|
15219
|
+
before?: string | null;
|
|
15220
|
+
/** Valor nuevo; vacío pinta «Sin dato». */
|
|
15221
|
+
after?: string | null;
|
|
15222
|
+
}
|
|
15223
|
+
/** Detalle plegable. El `content` libre del golden es el input `detailContent` (TemplateRef). */
|
|
15224
|
+
interface EventDetail {
|
|
15225
|
+
/** Antes → después. */
|
|
15226
|
+
changes?: readonly EventChange[];
|
|
15227
|
+
/** Líneas etiqueta/valor (responsable, plazo, con quién, número de actuaciones…). */
|
|
15228
|
+
lines?: readonly {
|
|
15229
|
+
label?: string;
|
|
15230
|
+
value: string;
|
|
15231
|
+
}[];
|
|
15232
|
+
}
|
|
15233
|
+
/** Acción principal: abrir el proceso, el documento o la actuación (output `actionClick`, o `href`). */
|
|
15234
|
+
interface ConversationEventAction {
|
|
15235
|
+
label: string;
|
|
15236
|
+
/** Ícono al final del TextButton. Default `arrow_forward`. */
|
|
15237
|
+
icon?: string;
|
|
15238
|
+
/** Navega aquí si nadie escucha `actionClick`. */
|
|
15239
|
+
href?: string;
|
|
15240
|
+
}
|
|
15241
|
+
interface ConversationEventData {
|
|
15242
|
+
id?: string | number;
|
|
15243
|
+
/** Kind de `EventCatalog` (resuelve el ícono): `cambio`, `tarea`, `impulso`, `documento`, `notificacion`, `reunion`… */
|
|
15244
|
+
kind?: string;
|
|
15245
|
+
/** Ícono explícito (gana sobre `kind`); para eventos sin kind en el catálogo (compartir, miembros). */
|
|
15246
|
+
icon?: string;
|
|
15247
|
+
/** Título corto en una línea («Natalia compartió el proceso con el grupo»). */
|
|
15248
|
+
title: string;
|
|
15249
|
+
/** Hora visible, ya formateada. */
|
|
15250
|
+
time: string;
|
|
15251
|
+
dateTime?: string;
|
|
15252
|
+
/** Quien hizo el cambio. */
|
|
15253
|
+
actor?: CommentAuthor;
|
|
15254
|
+
/** Fuente, para novedades judiciales («Rama Judicial»). Se usa si no hay `actor`. */
|
|
15255
|
+
source?: string;
|
|
15256
|
+
/** Detalle plegable. */
|
|
15257
|
+
detail?: EventDetail;
|
|
15258
|
+
/** Texto del plegado. Default «Ver detalle». */
|
|
15259
|
+
detailLabel?: string;
|
|
15260
|
+
/** Documento subido: tarjeta con vista previa (`FileItem layout="card"`). */
|
|
15261
|
+
attachment?: CommentAttachment;
|
|
15262
|
+
action?: ConversationEventAction;
|
|
15263
|
+
reactions?: readonly Reaction[];
|
|
15264
|
+
/** Respuestas al evento (mismo formato que en CommentThread). */
|
|
15265
|
+
replies?: readonly CommentData[];
|
|
15266
|
+
}
|
|
15267
|
+
/** Responder al evento (golden `onReply`). Promesa/Observable = carga; si falla, la caja sigue abierta. */
|
|
15268
|
+
type ConversationEventReplyFn = (event: ConversationEventData, value: PostValue) => ConvSaveResult;
|
|
15269
|
+
/** Editar una respuesta propia (golden `onEdit`); `value.attachments` es `[]`. */
|
|
15270
|
+
type ConversationEventEditFn = (reply: CommentData, value: PostValue) => ConvSaveResult;
|
|
15271
|
+
/** Payload de `react`: el evento o la respuesta reaccionada, la clave y si queda marcada. */
|
|
15272
|
+
interface ConversationEventReactEvent {
|
|
15273
|
+
item: ConversationEventData | CommentData;
|
|
15274
|
+
emoji: string;
|
|
15275
|
+
next: boolean;
|
|
15276
|
+
}
|
|
15277
|
+
/** Contexto de `detailContent`. */
|
|
15278
|
+
interface ConversationEventDetailContext {
|
|
15279
|
+
$implicit: ConversationEventData;
|
|
15280
|
+
}
|
|
15281
|
+
/**
|
|
15282
|
+
* ConversationEvent — Ius Design v2 (familia data-display).
|
|
15283
|
+
*
|
|
15284
|
+
* Tarjeta de sistema en la conversación del grupo: un evento de los procesos compartidos
|
|
15285
|
+
* (compartir, miembros, tareas, gestiones, novedades judiciales, documentos, cambios), con ícono de
|
|
15286
|
+
* EventCatalog (`resolveEventIcon`; sin kind conocido, `notifications`), título en una línea,
|
|
15287
|
+
* actor o fuente y hora, documento con vista previa, detalle plegable (cambios antes → después y
|
|
15288
|
+
* líneas), acción principal y la misma barra social que CommentThread (reacciones, «Responder»,
|
|
15289
|
+
* respuestas con edición propia).
|
|
15290
|
+
*
|
|
15291
|
+
* Contrato Angular: mismo criterio que `ius-comment-thread` — `replyFn`/`editFn` como funciones
|
|
15292
|
+
* de entrada (promesa/Observable; si falla, la caja sigue abierta con `errorText`); outputs que
|
|
15293
|
+
* cambian la UI si alguien los escucha (`deleteRequest`, `react`, `mentionClick`,
|
|
15294
|
+
* `attachmentOpen`); `actionClick` (sin suscriptor y con `href`, navega). El `detail.content`
|
|
15295
|
+
* del golden es el input `detailContent` (TemplateRef con el evento como `$implicit`).
|
|
15296
|
+
*
|
|
15297
|
+
* Fuente de verdad: `components/data-display/ConversationEvent/ConversationEvent.jsx` + `.d.ts` +
|
|
15298
|
+
* ng-spec (densidad 26/10/2026) y `CommentThread/conversation-parts.jsx`.
|
|
15299
|
+
*/
|
|
15300
|
+
declare class ConversationEventComponent implements ConvHost, OnInit {
|
|
15301
|
+
private readonly host;
|
|
15302
|
+
readonly event: _angular_core.InputSignal<ConversationEventData>;
|
|
15303
|
+
/** Contenido libre al final del detalle (golden `detail.content`); recibe el evento como `$implicit`. */
|
|
15304
|
+
readonly detailContent: _angular_core.InputSignal<TemplateRef<ConversationEventDetailContext> | null | undefined>;
|
|
15305
|
+
/** Personas para `@` al responder o editar. */
|
|
15306
|
+
readonly mentionItems: _angular_core.InputSignal<IusRichTextMentionSource | undefined>;
|
|
15307
|
+
readonly visibleReplies: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
15308
|
+
readonly defaultExpanded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15309
|
+
/** Detalle abierto al montar. */
|
|
15310
|
+
readonly defaultDetailOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15311
|
+
readonly deletedLabel: _angular_core.InputSignal<string>;
|
|
15312
|
+
readonly errorText: _angular_core.InputSignal<string>;
|
|
15313
|
+
readonly replyPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
15314
|
+
/** Densidad; sin él sigue `--ius-density: small` del ancestro. `small`: medallón 24 px y una sola línea. */
|
|
15315
|
+
readonly size: _angular_core.InputSignal<IusConversationSize | undefined>;
|
|
15316
|
+
/** Sin ver: título en semibold y «Sin ver.» en el nombre accesible. */
|
|
15317
|
+
readonly unread: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15318
|
+
readonly unreadIndicator: _angular_core.InputSignal<IusConversationUnreadIndicator>;
|
|
15319
|
+
readonly composerVariant: _angular_core.InputSignal<IusRichTextEditorVariant>;
|
|
15320
|
+
readonly composerAttachmentsLayout: _angular_core.InputSignal<IusPostComposerAttachmentsLayout>;
|
|
15321
|
+
readonly touch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15322
|
+
/** Responder al evento. Sin él no aparece «Responder». */
|
|
15323
|
+
readonly replyFn: _angular_core.InputSignal<ConversationEventReplyFn | undefined>;
|
|
15324
|
+
/** Editar una respuesta propia. Sin él no aparece «Editar». */
|
|
15325
|
+
readonly editFn: _angular_core.InputSignal<ConversationEventEditFn | undefined>;
|
|
15326
|
+
/** «Borrar» una respuesta propia (solo si se escucha). */
|
|
15327
|
+
readonly deleteRequest: EventEmitter<CommentData>;
|
|
15328
|
+
/** Alternar una reacción al evento o a una respuesta. Sin suscriptor: solo lectura y sin selector. */
|
|
15329
|
+
readonly react: EventEmitter<ConversationEventReactEvent>;
|
|
15330
|
+
/** Clic en una mención de una respuesta. Sin suscriptor no es clicable. */
|
|
15331
|
+
readonly mentionClick: EventEmitter<MentionRef>;
|
|
15332
|
+
/** Acción principal. Sin suscriptor, navega a `action.href` (si lo hay). */
|
|
15333
|
+
readonly actionClick: EventEmitter<ConversationEventData>;
|
|
15334
|
+
/** Abrir el documento del evento o un adjunto. Sin suscriptor navega por `href`. */
|
|
15335
|
+
readonly attachmentOpen: EventEmitter<_litigiovirtual_ius_design_components.PostAttachment>;
|
|
15336
|
+
protected readonly detailId: string;
|
|
15337
|
+
protected readonly detailOpen: _angular_core.WritableSignal<boolean>;
|
|
15338
|
+
private readonly densitySmall;
|
|
15339
|
+
protected readonly effectiveSize: _angular_core.Signal<IusConversationSize>;
|
|
15340
|
+
protected readonly icon: _angular_core.Signal<string>;
|
|
15341
|
+
protected readonly who: _angular_core.Signal<string>;
|
|
15342
|
+
protected readonly changes: _angular_core.Signal<readonly EventChange[]>;
|
|
15343
|
+
protected readonly lines: _angular_core.Signal<readonly {
|
|
15344
|
+
label?: string;
|
|
15345
|
+
value: string;
|
|
15346
|
+
}[]>;
|
|
15347
|
+
protected readonly hasDetail: _angular_core.Signal<boolean>;
|
|
15348
|
+
protected readonly ctl: _angular_core.Signal<"small" | "large">;
|
|
15349
|
+
protected readonly showDot: _angular_core.Signal<boolean>;
|
|
15350
|
+
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
15351
|
+
/** @internal Contexto de la barra social y las respuestas (golden `ctx`; sin `unread`: solo aplica al título). */
|
|
15352
|
+
readonly convCtx: _angular_core.Signal<ConvContext>;
|
|
15353
|
+
constructor();
|
|
15354
|
+
ngOnInit(): void;
|
|
15355
|
+
/** «Sin dato» cuando el valor viene vacío. */
|
|
15356
|
+
protected orEmpty(v: string | null | undefined): string;
|
|
15357
|
+
protected toggleDetail(): void;
|
|
15358
|
+
protected onAction(): void;
|
|
15359
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConversationEventComponent, never>;
|
|
15360
|
+
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>;
|
|
14079
15361
|
}
|
|
14080
15362
|
|
|
14081
|
-
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, 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_TOAST_DEFAULT_DURATION, IUS_TOAST_DEFAULT_ICON, IconButtonComponent, 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, MenuComponent, MenuItemComponent, ModalComponent, MultiTextFieldComponent, NATURALEZA_DEF, NavRailComponent, NavUserComponent, NotificationItemComponent, NumberFieldComponent, ORB_PERIODS, OauthButtonComponent, OptionItemComponent, PROVIDER_LABELS, PageHeaderComponent, PaginationComponent, PartyListComponent, PersonItemComponent, PersonPickerComponent, PlanUsageItemComponent, PopoverComponent, ProviderLogoComponent, QueryBuilderComponent, RadioComponent, RepeatableFieldComponent, 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, iusSegColor, kindHue, kindIcon, kindLabel, kindMeta, kindOptions, naturalezaMeta, naturalezaOptions, normalizeTipo, pose, poseIso, poseSpeaking, poseThinking, renderCubeSvg, resolveActuacion, resolveCategoryHue, resolveEventIcon, resolveFuente, resolveIllustration, resolveKind, resolveStatus, resolveViewKind, sourceIcon, sourceMeta, statusOptions, statusOrder, statusToneVars, statusVocab, timeFromDate, voiceEnv };
|
|
14082
|
-
export type { ActuacionEntry, ActuacionMeta, ActuacionStatus, AlertSize, AlertTone, AlertVariant, CategoryColors, CategoryDef, CategoryHueSource, CategoryKey, CategoryOption, ChartCategoricalTone, ChartCurve, ChartPoint, ChartSemanticTone, ChartTone, Clase, ClaseDef, CountdownDirection, CountdownFormat, CountdownRingSize, CountdownRingTone, DescriptionListItem, DescriptionListLayout, DescriptionListSize, DescriptionListValueClick, 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, IusDateFilterMode, IusDateFilterPlacement, IusDateFilterSize, IusDateFilterValue, IusDatePickerMode, IusDatePickerState, IusDatePickerValue, IusDatePreset, IusDateRange, IusDateTimeValue, IusDayEvent, IusDetailSidePanelSection, IusDetailSidePanelSide, IusDividerOrientation, IusDividerTextAlign, 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, 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, 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, IusProviderKey, IusProviderLogoSize, IusQueryBuilderSize, IusRadioLabelPosition, IusRadioSize, IusRepeatableControlContext, IusRepeatableInputMode, IusRepeatableItem, IusRepeatableSize, IusRepeatableTypeOption, 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, Naturaleza, NaturalezaDef, NaturalezaOption, NaturalezaTone, OrbMood, OrbPose, SegmentedOption, SelectOption, SelectOptionGroup, SourceKey, SourceMeta, StatusMeta, StatusOption, StatusTone, StatusToneVars, StatusVocabMap, StatusVocabName, UseWizardOptions, WizardApi, WizardStep };
|
|
15363
|
+
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 };
|
|
15364
|
+
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 };
|