ui-core-abv 0.11.4 → 0.11.6

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.
Files changed (30) hide show
  1. package/fesm2022/ui-core-abv.mjs +1622 -548
  2. package/fesm2022/ui-core-abv.mjs.map +1 -1
  3. package/lib/components/button/button.component.d.ts +14 -4
  4. package/lib/components/dynamic-form/form/dynamic-form.component.d.ts +5 -0
  5. package/lib/components/dynamic-form/form.models.d.ts +14 -2
  6. package/lib/components/inputs/multy-select/multy-select.component.d.ts +12 -1
  7. package/lib/components/inputs/select/select.component.d.ts +3 -1
  8. package/lib/components/inputs/ui-chips-input/ui-chips-input.component.d.ts +55 -0
  9. package/lib/components/inputs/ui-distribution/ui-distribution.component.d.ts +7 -0
  10. package/lib/components/inputs/ui-scale/ui-scale.component.d.ts +12 -2
  11. package/lib/components/pool-options/pool-options.component.d.ts +6 -2
  12. package/lib/components/rule-builder/condition-value.d.ts +40 -0
  13. package/lib/components/rule-builder/rule-builder.component.d.ts +10 -2
  14. package/lib/components/rule-builder/rule-definirion/rule-definirion.component.d.ts +37 -18
  15. package/lib/components/survey/survey.component.d.ts +59 -8
  16. package/lib/components/survey/survey.config.d.ts +52 -0
  17. package/lib/components/survey/survey.models.d.ts +6 -1
  18. package/lib/components/uic-action-button/uic-action-button.component.d.ts +13 -2
  19. package/lib/components/user-formbuilder/block-editor/block-editor.component.d.ts +8 -1
  20. package/lib/components/user-formbuilder/block-editor/field-editor/field-editor.component.d.ts +6 -1
  21. package/lib/components/user-formbuilder/form-preview/form-preview.component.d.ts +3 -0
  22. package/lib/components/user-formbuilder/formbuilder.config.d.ts +20 -1
  23. package/lib/components/user-formbuilder/user-formbuilder.component.d.ts +6 -0
  24. package/lib/components/user-formbuilder/visibility-rule-pruning.d.ts +34 -0
  25. package/lib/translate/dictionary.en.d.ts +42 -0
  26. package/lib/translate/dictionary.es.d.ts +42 -0
  27. package/lib/utils/search-text.d.ts +12 -0
  28. package/package.json +1 -1
  29. package/public-api.d.ts +4 -0
  30. package/src/lib/styles/_variables.scss +3 -2
@@ -1,7 +1,7 @@
1
1
  import { UicColor } from '../../theme/colors';
2
- import { SimpleChanges } from '@angular/core';
2
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class UicButtonComponent {
4
+ export declare class UicButtonComponent implements OnInit, OnChanges {
5
5
  text: string;
6
6
  icon: string;
7
7
  rightIcon: string;
@@ -11,11 +11,21 @@ export declare class UicButtonComponent {
11
11
  size: ButtonSize;
12
12
  type: ButtonType;
13
13
  color: ButtonColor;
14
+ /**
15
+ * Nombre accesible del `<button>` interno. Con `iconOnly` y sin `ariaLabel`, se usa `text`
16
+ * (que no se pinta) para que el botón no quede sin nombre para lectores de pantalla.
17
+ */
18
+ ariaLabel: string;
19
+ /** Tooltip opcional (usa uiTooltip). */
20
+ tooltip: string;
14
21
  buttonTypeClass: string;
22
+ /** aria-label efectivo: explícito, o el texto cuando solo se ve el ícono. */
23
+ get accessibleName(): string | null;
15
24
  ngOnInit(): void;
16
- ngOnChange(sc: SimpleChanges): void;
25
+ ngOnChanges(sc: SimpleChanges): void;
26
+ private updateTypeClass;
17
27
  static ɵfac: i0.ɵɵFactoryDeclaration<UicButtonComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<UicButtonComponent, "ui-button", never, { "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicButtonComponent, "ui-button", never, { "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, ["*"], true, never>;
19
29
  }
20
30
  /** Colores de la librería (ver theme/colors.ts). */
21
31
  export type ButtonColor = UicColor;
@@ -70,6 +70,11 @@ export declare class UicDynamicFormComponent implements OnDestroy {
70
70
  onFieldContainerFocusout(field: FormField, event: FocusEvent): void;
71
71
  private getValueByFieldName;
72
72
  private syncFieldEnabledState;
73
+ /**
74
+ * 'in' / 'notIn': el valor actual (opción única) es alguno de la lista. Comparación flexible como
75
+ * 'equals' (1 y '1' coinciden). Sin respuesta o con la lista vacía no coincide.
76
+ */
77
+ private isOneOfVisibilityValues;
73
78
  private getClearValue;
74
79
  private matchesVisibilityRule;
75
80
  private findFieldByName;
@@ -3,6 +3,10 @@ import { AppSelectOption } from "../inputs/select/select.component";
3
3
  import { ButtonColor } from "../button/button.component";
4
4
  export type FormIconMode = 'checklist';
5
5
  export type PoolDisplayMode = 'flex' | 'grid';
6
+ /** Posición del ícono de cada opción del pool: 'start' (a la izquierda del texto) o 'top' (encima, tipo tarjeta). */
7
+ export type PoolIconPosition = 'start' | 'top';
8
+ /** Tamaño del ícono de cada opción del pool. */
9
+ export type PoolIconSize = 's' | 'm' | 'l' | 'xl';
6
10
  export type ScaleMode = 'number' | 'icon';
7
11
  export interface FormStep {
8
12
  title: string;
@@ -77,6 +81,7 @@ export interface FormField {
77
81
  tip?: string;
78
82
  newLine?: boolean;
79
83
  colSpan?: number;
84
+ samePage?: boolean;
80
85
  iconColor?: ButtonColor;
81
86
  tooltip?: string;
82
87
  disabled?: boolean;
@@ -123,6 +128,8 @@ export interface FormField {
123
128
  poolTitle?: string;
124
129
  poolDisplayMode?: PoolDisplayMode;
125
130
  poolGridColumns?: number;
131
+ poolIconPosition?: PoolIconPosition;
132
+ poolIconSize?: PoolIconSize;
126
133
  options?: AppSelectOption[];
127
134
  optionsSource?: SelectOptionsSource;
128
135
  multyEnabled?: boolean;
@@ -174,7 +181,8 @@ export interface FieldVisibilityRule {
174
181
  operator: VisibilityOperators;
175
182
  value: any;
176
183
  }
177
- export type VisibilityOperators = 'equals' | 'notEquals' | 'greaterThan' | 'lessThan' | 'includes' | 'notIncludes' | 'isEmpty' | 'isNotEmpty';
184
+ export type VisibilityOperators = 'equals' | 'notEquals' | 'greaterThan' | 'lessThan' | 'includes' | 'notIncludes' | 'isEmpty' | 'isNotEmpty' | 'in' | // value: arreglo de ids; el valor actual es alguno de ellos (selects de opción única)
185
+ 'notIn';
178
186
  export interface FieldVisibilityConfig {
179
187
  outputType: string;
180
188
  operators: VisibilityOperators[];
@@ -191,8 +199,10 @@ export declare const VISIBILITY_OPERATOR_OPTIONS: {
191
199
  id: VisibilityOperators;
192
200
  text: string;
193
201
  }[];
202
+ /** Operadores cuyo valor es una lista de valores (FieldVisibilityRule.value es un arreglo). */
203
+ export declare const LIST_VISIBILITY_OPERATORS: VisibilityOperators[];
194
204
  export declare const FIELDS_CONFIG: FieldConfig[];
195
- export type FieldType = 'text' | 'number' | 'phone' | 'date' | 'time' | 'select' | 'radio' | 'checkbox' | 'switch' | 'textarea' | 'pool' | 'file' | 'multyselect' | 'searcher' | 'multisearcher' | 'slider' | 'repeater' | 'computed' | 'scale' | 'distribution';
205
+ export type FieldType = 'text' | 'number' | 'phone' | 'date' | 'time' | 'select' | 'radio' | 'checkbox' | 'switch' | 'textarea' | 'pool' | 'file' | 'multyselect' | 'searcher' | 'multisearcher' | 'slider' | 'repeater' | 'computed' | 'scale' | 'distribution' | 'chips';
196
206
  /**
197
207
  * Valor de una pregunta de distribución porcentual: un ítem por opción, en el orden de las opciones,
198
208
  * con el porcentaje asignado (enteros 0–100 que suman 100). Sin respuesta, el valor es null.
@@ -210,5 +220,7 @@ export declare const EXTERNAL_VALIDATION_FORM_FIELDS: FormField[];
210
220
  export declare const COMPUTED_FORM_FIELDS: FormField[];
211
221
  export declare const BASE_FORM_FIELDS: FormField[];
212
222
  export declare const LAYOUT_FORM_FIELDS: FormField[];
223
+ /** Propiedades que solo aplican cuando el formulario se muestra como encuesta (ui-survey). */
224
+ export declare const SURVEY_FORM_FIELDS: FormField[];
213
225
  export declare const EXTRA_FORM_FIELDS: FormField[];
214
226
  export declare const BRANCH_FORM_FIELDS: FormField[];
@@ -32,6 +32,17 @@ export declare class UicMultySelectComponent extends base {
32
32
  options: AppSelectOption[];
33
33
  /** Máximo de opciones elegibles (sin límite si no se define). Oculta 'Todos' si es menor que el total. */
34
34
  maxSelections: number | null;
35
+ /** Buscador en el desplegable (activo por defecto; se muestra con más de 5 opciones). `false` lo desactiva. */
36
+ searcherEnabled: boolean;
37
+ searchTerm: string;
38
+ private searchInput?;
39
+ get showSearcher(): boolean;
40
+ get isSearching(): boolean;
41
+ /** Opciones visibles según la búsqueda (sin distinguir tildes). */
42
+ get filteredOptions(): AppSelectOption[];
43
+ updateSearchTerm(value: string): void;
44
+ clearSearch(event?: Event): void;
45
+ private focusSearcher;
35
46
  get hasMax(): boolean;
36
47
  get maxReached(): boolean;
37
48
  get canSelectAll(): boolean;
@@ -62,6 +73,6 @@ export declare class UicMultySelectComponent extends base {
62
73
  private emitSelection;
63
74
  private syncSelectionFromValue;
64
75
  static ɵfac: i0.ɵɵFactoryDeclaration<UicMultySelectComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<UicMultySelectComponent, "ui-multy-select", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "showSubtitle": { "alias": "showSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "nonSelectedText": { "alias": "nonSelectedText"; "required": false; }; "allSelectedText": { "alias": "allSelectedText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "maxSelections": { "alias": "maxSelections"; "required": false; }; }, {}, never, never, true, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicMultySelectComponent, "ui-multy-select", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "showSubtitle": { "alias": "showSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "nonSelectedText": { "alias": "nonSelectedText"; "required": false; }; "allSelectedText": { "alias": "allSelectedText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "maxSelections": { "alias": "maxSelections"; "required": false; }; "searcherEnabled": { "alias": "searcherEnabled"; "required": false; }; }, {}, never, never, true, never>;
66
77
  }
67
78
  export {};
@@ -27,6 +27,7 @@ export declare class UicSelectComponent extends base {
27
27
  nonSelectedText: string;
28
28
  noneText: string;
29
29
  emptyText: string;
30
+ /** Buscador en el desplegable (activo por defecto; se muestra con más de 5 opciones). `false` lo desactiva. */
30
31
  searcherEnabled: boolean;
31
32
  loading: boolean;
32
33
  nullable: boolean;
@@ -62,6 +63,7 @@ export declare class UicSelectComponent extends base {
62
63
  isNoneOptionActive(): boolean;
63
64
  isOptionActive(index: number): boolean;
64
65
  getOptionIndex(index: number): number;
66
+ /** Resalta la búsqueda sin distinguir tildes, pintando el texto original. */
65
67
  highlightMatch(value: string | null | undefined): string;
66
68
  private focusSearcher;
67
69
  private handleOverlayKeydown;
@@ -71,8 +73,8 @@ export declare class UicSelectComponent extends base {
71
73
  private findFirstEnabledOptionIndex;
72
74
  private isKeyboardOptionEnabled;
73
75
  private scrollActiveOptionIntoView;
76
+ /** Sin tildes ni mayúsculas: «ge» encuentra «Género». */
74
77
  private normalizeText;
75
- private escapeHtml;
76
78
  static ɵfac: i0.ɵɵFactoryDeclaration<UicSelectComponent, never>;
77
79
  static ɵcmp: i0.ɵɵComponentDeclaration<UicSelectComponent, "ui-select", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "showSubtitle": { "alias": "showSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "nonSelectedText": { "alias": "nonSelectedText"; "required": false; }; "noneText": { "alias": "noneText"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "searcherEnabled": { "alias": "searcherEnabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "nullable": { "alias": "nullable"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
78
80
  }
@@ -0,0 +1,55 @@
1
+ import { ButtonColor } from '../../button/button.component';
2
+ import * as i0 from "@angular/core";
3
+ declare const base: abstract new () => {
4
+ value: string[] | null;
5
+ valueChange: import("@angular/core").EventEmitter<string[] | null>;
6
+ onChange: (value: string[] | null) => void;
7
+ onTouched: () => void;
8
+ writeValue(obj: string[] | null): void;
9
+ registerOnChange(fn: any): void;
10
+ registerOnTouched(fn: any): void;
11
+ setDisabledState?(isDisabled: boolean): void;
12
+ notifyChange(value: string[] | null): void;
13
+ };
14
+ /**
15
+ * Lista de textos libres como chips (hobbies, etiquetas, palabras clave...).
16
+ * Enter o coma agregan el texto escrito; Retroceso con el campo vacío quita el último; al pegar
17
+ * texto con comas, punto y coma o saltos de línea se agrega un chip por parte. Al salir del campo
18
+ * se agrega lo que quedó escrito.
19
+ * Valor: string[] (sin repetidos, sin distinguir mayúsculas), o null si no hay ninguno.
20
+ */
21
+ export declare class UicChipsInputComponent extends base {
22
+ icon: string;
23
+ iconColor: ButtonColor;
24
+ label: string;
25
+ error: string;
26
+ tip: string;
27
+ disabled: boolean;
28
+ placeholder: string;
29
+ /** Máximo de chips (null = sin límite). Al alcanzarlo se oculta el campo de texto. */
30
+ maxItems: number | null;
31
+ /** Largo máximo de cada chip. */
32
+ maxLength: number | null;
33
+ private textInput?;
34
+ /** Texto que se está escribiendo (aún no es chip). */
35
+ draft: string;
36
+ /** Chip ya existente que se intentó repetir (se resalta un momento). */
37
+ duplicated: string | null;
38
+ private duplicatedTimer;
39
+ get items(): string[];
40
+ get isFull(): boolean;
41
+ focusInput(): void;
42
+ onDraftInput(event: Event): void;
43
+ onKeydown(event: KeyboardEvent): void;
44
+ onPaste(event: ClipboardEvent): void;
45
+ onBlur(): void;
46
+ remove(index: number): void;
47
+ private commitDraft;
48
+ /** Agrega los textos válidos (recortados, sin repetidos y hasta el máximo). Devuelve cuántos agregó. */
49
+ private addMany;
50
+ private setDraft;
51
+ private flagDuplicate;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicChipsInputComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicChipsInputComponent, "ui-chips-input", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxItems": { "alias": "maxItems"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, true, never>;
54
+ }
55
+ export {};
@@ -39,6 +39,13 @@ export declare class UicDistributionComponent extends base {
39
39
  get remaining(): number;
40
40
  amountOf(option: AppSelectOption): number;
41
41
  onInput(option: AppSelectOption, event: Event): void;
42
+ /** Máximo al que puede llegar la opción sin pasar de 100 (su valor + lo que falta). */
43
+ capOf(option: AppSelectOption): number;
44
+ /**
45
+ * Slider: el valor se detiene en lo disponible para no pasar de 100. Si ya se pasó (por el
46
+ * input numérico o un valor inicial), solo se puede bajar.
47
+ */
48
+ onSlide(option: AppSelectOption, event: Event): void;
42
49
  /** Asigna a esta opción todo lo que falta para llegar a 100. */
43
50
  fillRemaining(option: AppSelectOption): void;
44
51
  clear(): void;
@@ -1,3 +1,4 @@
1
+ import { OnDestroy } from '@angular/core';
1
2
  import { ButtonColor } from '../../button/button.component';
2
3
  import { AppSelectOption } from '../select/select.component';
3
4
  import { ScaleMode } from '../../dynamic-form/form.models';
@@ -18,7 +19,7 @@ declare const base: abstract new () => {
18
19
  * Valor: el número elegido, o null. Se maneja con teclado como un grupo de radios
19
20
  * (flechas, Inicio, Fin) y anuncia cada punto con su leyenda.
20
21
  */
21
- export declare class UicScaleComponent extends base {
22
+ export declare class UicScaleComponent extends base implements OnDestroy {
22
23
  private readonly host;
23
24
  icon: string;
24
25
  iconColor: ButtonColor;
@@ -39,8 +40,17 @@ export declare class UicScaleComponent extends base {
39
40
  get hasLegends(): boolean;
40
41
  legendFor(value: number): string;
41
42
  isSelected(value: number): boolean;
42
- /** En modo íconos se rellenan todos hasta el valor elegido (o el que está bajo el puntero). */
43
+ /** Modo íconos: relleno pleno hasta el valor ELEGIDO (no cambia al pasar el puntero). */
43
44
  isFilled(value: number): boolean;
45
+ /** Vista previa al pasar el puntero: tono suave en los puntos que se sumarían al elegir. */
46
+ isPreview(value: number): boolean;
47
+ /** Puntos elegidos que se quitarían al elegir el que está bajo el puntero (se atenúan). */
48
+ isDimmed(value: number): boolean;
49
+ /** Punto recién elegido: dispara la animación de confirmación (breve). */
50
+ readonly justSelected: import("@angular/core").WritableSignal<number | null>;
51
+ private justSelectedTimer;
52
+ private markJustSelected;
53
+ ngOnDestroy(): void;
44
54
  /** Un solo punto entra en el orden de tabulación: el elegido, o el primero. */
45
55
  tabIndexFor(value: number): number;
46
56
  select(value: number): void;
@@ -1,7 +1,7 @@
1
1
  import { SimpleChanges } from '@angular/core';
2
2
  import { AppSelectOption } from '../inputs/select/select.component';
3
3
  import { ButtonColor } from '../button/button.component';
4
- import { PoolDisplayMode } from '../dynamic-form/form.models';
4
+ import { PoolDisplayMode, PoolIconPosition, PoolIconSize } from '../dynamic-form/form.models';
5
5
  import * as i0 from "@angular/core";
6
6
  type selectId = number | string;
7
7
  type selectedDetailed = {
@@ -36,6 +36,10 @@ export declare class UicPoolOptionsComponent extends base {
36
36
  displayMode: PoolDisplayMode;
37
37
  /** Columnas en modo grid (1 a 6). */
38
38
  gridColumns: number;
39
+ /** 'start' (por defecto): ícono a la izquierda del texto. 'top': ícono encima, tipo tarjeta. */
40
+ iconPosition: PoolIconPosition;
41
+ /** Tamaño del ícono de cada opción: 's' | 'm' (por defecto) | 'l' | 'xl'. */
42
+ iconSize: PoolIconSize;
39
43
  /** Máximo de opciones elegibles en modo múltiple (sin límite si no se define). */
40
44
  maxSelections: number | null;
41
45
  /** true cuando ya no se pueden elegir más opciones. */
@@ -53,6 +57,6 @@ export declare class UicPoolOptionsComponent extends base {
53
57
  private emitSelectionChange;
54
58
  private normalizeIncomingValue;
55
59
  static ɵfac: i0.ɵɵFactoryDeclaration<UicPoolOptionsComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<UicPoolOptionsComponent, "ui-pool-options", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multy": { "alias": "multy"; "required": false; }; "enabledListView": { "alias": "enabledListView"; "required": false; }; "listViewTitle": { "alias": "listViewTitle"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "gridColumns": { "alias": "gridColumns"; "required": false; }; "maxSelections": { "alias": "maxSelections"; "required": false; }; }, {}, never, never, true, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicPoolOptionsComponent, "ui-pool-options", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multy": { "alias": "multy"; "required": false; }; "enabledListView": { "alias": "enabledListView"; "required": false; }; "listViewTitle": { "alias": "listViewTitle"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "gridColumns": { "alias": "gridColumns"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "maxSelections": { "alias": "maxSelections"; "required": false; }; }, {}, never, never, true, never>;
57
61
  }
58
62
  export {};
@@ -0,0 +1,40 @@
1
+ import { AppSelectOption } from '../inputs/select/select.component';
2
+ /** Tipos de campo de una condición (ver ConditionField.type). */
3
+ export type ConditionFieldType = 'number' | 'text' | 'date' | 'catalog';
4
+ /**
5
+ * Qué valor pide un operador:
6
+ * - 'field' (por defecto): un valor según el tipo del campo (texto, número, fecha o catálogo).
7
+ * - 'none': sin valor (p. ej. «está vacío» / «no está vacío»). Se guarda ''.
8
+ * - 'relative-date': cantidad + unidad (p. ej. «hace menos de 30 años»). Se guarda '30:years'.
9
+ */
10
+ export type ConditionValueType = 'field' | 'none' | 'relative-date';
11
+ export type RelativeDateUnit = 'days' | 'weeks' | 'months' | 'years';
12
+ export declare const RELATIVE_DATE_UNITS: readonly RelativeDateUnit[];
13
+ /**
14
+ * Operador de condición. Es un AppSelectOption ({ id, text }) con dos claves opcionales,
15
+ * así que los operadores existentes siguen funcionando sin cambios.
16
+ */
17
+ export interface UicConditionOperator extends AppSelectOption {
18
+ /** Valor que pide el operador. Por defecto 'field'. */
19
+ valueType?: ConditionValueType;
20
+ /** Tipos de campo en los que se ofrece el operador. Omitido = todos. */
21
+ fieldTypes?: ConditionFieldType[];
22
+ }
23
+ export interface RelativeDateValue {
24
+ amount: number;
25
+ unit: RelativeDateUnit;
26
+ }
27
+ export declare function uicOperatorValueType(operator: AppSelectOption | null | undefined): ConditionValueType;
28
+ /** Operadores disponibles para un tipo de campo (sin campo elegido, todos). */
29
+ export declare function uicOperatorsForField(operators: AppSelectOption[], fieldType: ConditionFieldType | null | undefined): AppSelectOption[];
30
+ /** '30:years' → { amount: 30, unit: 'years' }. Devuelve null si el texto no es una fecha relativa válida. */
31
+ export declare function uicParseRelativeDate(value: string | null | undefined): RelativeDateValue | null;
32
+ /** { amount: 30, unit: 'years' } → '30:years'. */
33
+ export declare function uicSerializeRelativeDate(value: RelativeDateValue): string;
34
+ /**
35
+ * Texto legible del valor de una condición según el tipo de valor del operador.
36
+ * `translate` recibe una clave y parámetros (UicTranslateService.translate).
37
+ */
38
+ export declare function uicFormatConditionValue(value: string | null | undefined, valueType: ConditionValueType, translate: (key: string, params?: Record<string, string | number>) => string): string;
39
+ /** Descripción automática: «Campo operador valor» (sin valor cuando el operador no lo pide). */
40
+ export declare function uicDescribeCondition(fieldName: string, operatorName: string, formattedValue: string): string;
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { AppSelectOption } from '../inputs/select/select.component';
3
+ import { UicConditionOperator } from './condition-value';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class UicRuleBuilderComponent implements OnInit {
5
6
  private conditionsInitialized;
@@ -12,8 +13,15 @@ export declare class UicRuleBuilderComponent implements OnInit {
12
13
  customNamesEnabled: boolean;
13
14
  set conditions(value: UicConditionDefinition[] | null | undefined);
14
15
  get conditions(): UicConditionDefinition[];
15
- conditionOperators: AppSelectOption[];
16
+ /** Operadores ({ id, text }). Con `valueType` / `fieldTypes` (UicConditionOperator) el valor depende del operador. */
17
+ conditionOperators: UicConditionOperator[];
16
18
  conditionFields: ConditionField[];
19
+ /**
20
+ * true (por defecto): al agregar o pulsar una condición se abre la lista de condiciones existentes.
21
+ * false: se abre directo el formulario (relleno con la condición pulsada para editarla) y al aplicar
22
+ * se reemplaza esa condición. Útil cuando las condiciones no se guardan aparte de la regla.
23
+ */
24
+ conditionLibrary: boolean;
17
25
  conditionLabels: Record<string, string>;
18
26
  editing: boolean;
19
27
  private nextTemporalConditionId;
@@ -73,7 +81,7 @@ export declare class UicRuleBuilderComponent implements OnInit {
73
81
  private getNextTemporalConditionId;
74
82
  private syncNextTemporalConditionId;
75
83
  static ɵfac: i0.ɵɵFactoryDeclaration<UicRuleBuilderComponent, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<UicRuleBuilderComponent, "ui-rule-builder", never, { "disabled": { "alias": "disabled"; "required": false; }; "customNamesEnabled": { "alias": "customNamesEnabled"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "conditionOperators": { "alias": "conditionOperators"; "required": false; }; "conditionFields": { "alias": "conditionFields"; "required": false; }; "ruleTitle": { "alias": "ruleTitle"; "required": false; }; "ruleDefinition": { "alias": "ruleDefinition"; "required": false; }; }, { "ruleDefinitionChange": "ruleDefinitionChange"; "conditionsChange": "conditionsChange"; }, never, never, true, never>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicRuleBuilderComponent, "ui-rule-builder", never, { "disabled": { "alias": "disabled"; "required": false; }; "customNamesEnabled": { "alias": "customNamesEnabled"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "conditionOperators": { "alias": "conditionOperators"; "required": false; }; "conditionFields": { "alias": "conditionFields"; "required": false; }; "conditionLibrary": { "alias": "conditionLibrary"; "required": false; }; "ruleTitle": { "alias": "ruleTitle"; "required": false; }; "ruleDefinition": { "alias": "ruleDefinition"; "required": false; }; }, { "ruleDefinitionChange": "ruleDefinitionChange"; "conditionsChange": "conditionsChange"; }, never, never, true, never>;
77
85
  }
78
86
  export interface RuleBuilderValue {
79
87
  definition: string;
@@ -3,14 +3,20 @@ import { AppSelectOption } from '../../inputs/select/select.component';
3
3
  import { FormField, FormResult, uicFormValuesRecord } from '../../dynamic-form/form.models';
4
4
  import { ConditionField, UicConditionDefinition } from '../rule-builder.component';
5
5
  import * as i0 from "@angular/core";
6
+ export interface RuleDefinitionModalData {
7
+ conditions: UicConditionDefinition[];
8
+ customNamesEnabled: boolean;
9
+ conditionOperators: AppSelectOption[];
10
+ conditionFields: ConditionField[];
11
+ selectedConditionReference?: string | number | null;
12
+ /**
13
+ * true (por defecto): primero se busca/elige una condición existente.
14
+ * false: se abre directo el formulario; si hay una condición seleccionada, relleno para editarla.
15
+ */
16
+ conditionLibrary?: boolean;
17
+ }
6
18
  export declare class RuleDefinirionComponent implements OnDestroy {
7
- data: {
8
- conditions: UicConditionDefinition[];
9
- customNamesEnabled: boolean;
10
- conditionOperators: AppSelectOption[];
11
- conditionFields: ConditionField[];
12
- selectedConditionReference?: string | number | null;
13
- };
19
+ data: RuleDefinitionModalData;
14
20
  newRule: boolean;
15
21
  fields: FormField[];
16
22
  conditions: UicConditionDefinition[];
@@ -19,20 +25,25 @@ export declare class RuleDefinirionComponent implements OnDestroy {
19
25
  currentPage: number;
20
26
  readonly pageSize = 5;
21
27
  customNamesEnabled: boolean;
28
+ /** Ver RuleDefinitionModalData.conditionLibrary. */
29
+ readonly conditionLibrary: boolean;
30
+ /** Condición que se edita (solo sin biblioteca y con una condición seleccionada). */
31
+ readonly editingCondition: UicConditionDefinition | null;
22
32
  private readonly translate;
23
33
  private readonly ref;
24
34
  private readonly languageSubscription;
25
35
  mainConditionFieldsData: ConditionField[];
26
- constructor(data: {
27
- conditions: UicConditionDefinition[];
28
- customNamesEnabled: boolean;
29
- conditionOperators: AppSelectOption[];
30
- conditionFields: ConditionField[];
31
- selectedConditionReference?: string | number | null;
32
- });
36
+ /** Campo y operador del formulario: al cambiar se rehace el formulario del valor. */
37
+ private trackedField;
38
+ private trackedOperator;
39
+ initialValues: uicFormValuesRecord;
40
+ constructor(data: RuleDefinitionModalData);
33
41
  ngOnDestroy(): void;
34
- trackingField: string;
35
- initialValues: {};
42
+ /** Texto del botón principal: sin biblioteca se aplica (crea o reemplaza) la condición del lienzo. */
43
+ get submitLabel(): string;
44
+ get cancelLabel(): string;
45
+ /** Sin biblioteca, cancelar cierra el modal (no hay lista a la que volver). */
46
+ cancelForm(): void;
36
47
  updateFormNewRule(fr: uicFormValuesRecord): void;
37
48
  get filteredConditions(): UicConditionDefinition[];
38
49
  get paginatedConditions(): UicConditionDefinition[];
@@ -45,10 +56,18 @@ export declare class RuleDefinirionComponent implements OnDestroy {
45
56
  createAndSelectRule(fr: FormResult): void;
46
57
  select(condition: UicConditionDefinition): void;
47
58
  isSelected(condition: UicConditionDefinition): boolean;
59
+ /** Valor legible de una condición (p. ej. «30 años» para una fecha relativa). */
60
+ conditionValueText(condition: UicConditionDefinition): string;
61
+ /** Resalta la búsqueda sin distinguir tildes. */
48
62
  highlightSearch(value: string | null | undefined): string;
49
63
  private buildFields;
50
- private normalizeText;
51
- private escapeHtml;
64
+ private buildValueFields;
65
+ private valuesFromCondition;
66
+ private valueFromForm;
67
+ private pickValueControls;
68
+ private formatValue;
69
+ private valueTypeOf;
70
+ private findField;
52
71
  private getConditionReference;
53
72
  static ɵfac: i0.ɵɵFactoryDeclaration<RuleDefinirionComponent, never>;
54
73
  static ɵcmp: i0.ɵɵComponentDeclaration<RuleDefinirionComponent, "lib-rule-definirion", never, {}, {}, never, never, true, never>;
@@ -5,6 +5,7 @@ import { UicOptionsSourceError } from '../dynamic-form/form-engine.service';
5
5
  import { ComputedFieldResolver, ExternalValidatorResolver, FormField, FormResult, FormSchema, SelectOptionsResolver, uicFormValuesRecord } from '../dynamic-form/form.models';
6
6
  import { UicSurveyFooterDirective, UicSurveyHeaderDirective } from './survey-templates.directive';
7
7
  import { SurveyAnimation, SurveyStartAt, SurveyFieldSaveEvent, SurveyNavigationDirection, SurveyPage, SurveyPageChangeEvent, SurveyPageMode, SurveySaveFn, SurveySaveState, SurveyTheme } from './survey.models';
8
+ import { ResolvedSurveyConfig, UicSurveyConfig } from './survey.config';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * Encuesta paginada sobre un FormSchema: una pregunta o un bloque por pantalla, con progreso,
@@ -18,6 +19,7 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
18
19
  private readonly engine;
19
20
  private readonly host;
20
21
  private readonly cdr;
22
+ private readonly injector;
21
23
  set schema(value: FormSchema);
22
24
  get schema(): FormSchema;
23
25
  set initialValues(value: uicFormValuesRecord);
@@ -39,8 +41,17 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
39
41
  * hasta revisarlas; 'slide' y 'fade' siguen disponibles de forma experimental (solo entrada).
40
42
  */
41
43
  readonly animation: import("@angular/core").InputSignal<SurveyAnimation>;
42
- readonly showProgress: import("@angular/core").InputSignal<boolean>;
43
- readonly showBack: import("@angular/core").InputSignal<boolean>;
44
+ /**
45
+ * Configuración inicial (textos y opciones de navegación). Se combina con la global
46
+ * (provideUicSurveyConfig); los inputs sueltos de abajo tienen prioridad sobre ambas.
47
+ */
48
+ readonly config: import("@angular/core").InputSignal<UicSurveyConfig | null>;
49
+ /** Sobrescribe config.showProgress. */
50
+ readonly showProgress: import("@angular/core").InputSignal<boolean | undefined>;
51
+ /** Sobrescribe config.showBack. */
52
+ readonly showBack: import("@angular/core").InputSignal<boolean | undefined>;
53
+ /** Sobrescribe config.showBackOnFirstPage (ver UicSurveyConfig). */
54
+ readonly showBackOnFirstPage: import("@angular/core").InputSignal<boolean | undefined>;
44
55
  /**
45
56
  * Página en la que empieza (o se reanuda) la encuesta:
46
57
  * - 'first-unanswered': la primera página visible con alguna pregunta sin responder.
@@ -57,14 +68,24 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
57
68
  readonly autoAdvance: import("@angular/core").InputSignal<boolean>;
58
69
  /** Enfoca el primer campo de cada página al navegar. */
59
70
  readonly autoFocus: import("@angular/core").InputSignal<boolean>;
71
+ /**
72
+ * Sobrescribe config.disableNextWhenInvalid: deshabilita "Siguiente"/"Enviar" mientras la página
73
+ * tenga respuestas inválidas (por ejemplo, obligatorias vacías). Enter sigue intentando avanzar y
74
+ * marca los errores.
75
+ */
76
+ readonly disableNextWhenInvalid: import("@angular/core").InputSignal<boolean | undefined>;
60
77
  readonly loading: import("@angular/core").InputSignal<boolean>;
61
78
  /** Variables CSS aplicadas al host. Solo claves que empiecen con "--". */
62
79
  readonly theme: import("@angular/core").InputSignal<SurveyTheme | null>;
63
80
  readonly iconMode: import("@angular/core").InputSignal<"checklist" | undefined>;
64
81
  readonly fileUidResolverFn: import("@angular/core").InputSignal<((fileUid: string, fileName: string, fieldLabel: string) => void) | undefined>;
65
- readonly nextText: import("@angular/core").InputSignal<string>;
66
- readonly backText: import("@angular/core").InputSignal<string>;
67
- readonly submitText: import("@angular/core").InputSignal<string>;
82
+ /** Sobrescriben config.texts. */
83
+ readonly nextText: import("@angular/core").InputSignal<string | undefined>;
84
+ readonly backText: import("@angular/core").InputSignal<string | undefined>;
85
+ readonly submitText: import("@angular/core").InputSignal<string | undefined>;
86
+ private readonly globalConfig;
87
+ /** Configuración efectiva: inputs sueltos > config > global > valores por defecto. */
88
+ readonly settings: import("@angular/core").Signal<ResolvedSurveyConfig>;
68
89
  /**
69
90
  * Emite fieldSave por cada respuesta que cambia: al salir del campo (texto, número, teléfono,
70
91
  * repeater) o al cambiar el valor (selecciones, fechas, archivos, slider; con debounce).
@@ -76,6 +97,8 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
76
97
  readonly autoSaveDebounceMs: import("@angular/core").InputSignal<number>;
77
98
  surveySubmit: EventEmitter<FormResult>;
78
99
  pageChange: EventEmitter<SurveyPageChangeEvent>;
100
+ /** "Anterior" en la primera página (con showBackOnFirstPage): el consumidor decide a dónde volver. */
101
+ backFromStart: EventEmitter<void>;
79
102
  fieldSave: EventEmitter<SurveyFieldSaveEvent>;
80
103
  formChange: EventEmitter<uicFormValuesRecord>;
81
104
  optionsSourceError: EventEmitter<UicOptionsSourceError>;
@@ -99,6 +122,8 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
99
122
  }>;
100
123
  get form(): FormGroup;
101
124
  private readonly fieldPageFieldsCache;
125
+ /** Páginas con varias preguntas (samePage), por su primera pregunta. */
126
+ private readonly fieldGroupCache;
102
127
  readonly pages: import("@angular/core").Signal<SurveyPage[]>;
103
128
  /** En modo 'field', los campos ocultos (hidden) se montan aparte para conservar su estado. */
104
129
  readonly hiddenFields: import("@angular/core").Signal<FormField[]>;
@@ -109,8 +134,16 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
109
134
  readonly position: import("@angular/core").Signal<number>;
110
135
  readonly total: import("@angular/core").Signal<number>;
111
136
  readonly progress: import("@angular/core").Signal<number>;
137
+ /** true si "Anterior" hace algo: hay una página previa o, en la primera, showBackOnFirstPage. */
112
138
  readonly canGoBack: import("@angular/core").Signal<boolean>;
113
139
  readonly isLast: import("@angular/core").Signal<boolean>;
140
+ /**
141
+ * true si las preguntas visibles de la página actual son válidas. Se recalcula con cada cambio
142
+ * de valor: si una respuesta muestra una pregunta obligatoria en la misma página (samePage +
143
+ * visibilityRules), vuelve a false hasta que se conteste.
144
+ */
145
+ readonly canAdvance: import("@angular/core").Signal<boolean>;
146
+ readonly nextDisabled: import("@angular/core").Signal<boolean>;
114
147
  private readonly lastSavedValue;
115
148
  private readonly saveTimers;
116
149
  private pendingSaves;
@@ -123,6 +156,7 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
123
156
  ngOnDestroy(): void;
124
157
  /** Valida la página actual y avanza a la siguiente visible; en la última, envía. */
125
158
  next(): void;
159
+ /** Vuelve a la página anterior visible; en la primera, con showBackOnFirstPage, emite backFromStart. */
126
160
  back(): void;
127
161
  /** Va a una página por su posición en `pages()` (sin validar la actual). */
128
162
  goToPage(index: number): void;
@@ -142,11 +176,28 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
142
176
  private applyStartAt;
143
177
  private resolveStartPage;
144
178
  private findAdjacentPage;
179
+ /** Primera pregunta visible de la página (en una página samePage la primera puede estar oculta por reglas). */
180
+ private firstVisibleQuestion;
181
+ /**
182
+ * Validez de un control para canAdvance. Una pregunta que se acaba de mostrar puede seguir
183
+ * deshabilitada un instante (ui-dynamic-form la habilita en un effect sin emitir eventos), así
184
+ * que en ese caso se evalúan sus validadores directamente.
185
+ */
186
+ private isPendingInvalid;
187
+ /** Preguntas visibles de la página activa en el último cálculo (para detectar las que aparecen). */
188
+ private revealTracking;
189
+ /** Anima las preguntas que aparecen en la página activa al contestar otra (samePage + visibilityRules). */
190
+ private trackRevealedQuestions;
191
+ private revealQuestions;
145
192
  private validatePage;
146
193
  private findFirstInvalidPage;
147
194
  private focusActivePage;
148
- /** Campos de una página de una sola pregunta: la pregunta y, si tiene "Otros", su texto acompañante. */
149
- private fieldsForSingleFieldPage;
195
+ /**
196
+ * Campos de una página en modo 'field': cada pregunta del grupo y, si tiene "Otros", su texto
197
+ * acompañante. Se cachea por pregunta para que el array no cambie de referencia entre cálculos
198
+ * (si cambiara, ui-dynamic-form recrearía los campos).
199
+ */
200
+ private fieldsForFieldPage;
150
201
  private onFormBuilt;
151
202
  private scheduleImmediateSaves;
152
203
  /** Guarda de inmediato todo lo pendiente (al avanzar y antes de enviar). */
@@ -161,5 +212,5 @@ export declare class UicSurveyComponent implements OnInit, OnChanges, OnDestroy
161
212
  private isEmptyValue;
162
213
  private stringify;
163
214
  static ɵfac: i0.ɵɵFactoryDeclaration<UicSurveyComponent, never>;
164
- static ɵcmp: i0.ɵɵComponentDeclaration<UicSurveyComponent, "ui-survey", never, { "schema": { "alias": "schema"; "required": true; }; "initialValues": { "alias": "initialValues"; "required": false; }; "externalData": { "alias": "externalData"; "required": false; }; "selectOptionsResolver": { "alias": "selectOptionsResolver"; "required": false; }; "computedFieldResolver": { "alias": "computedFieldResolver"; "required": false; }; "externalValidatorResolver": { "alias": "externalValidatorResolver"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "showBack": { "alias": "showBack"; "required": false; "isSignal": true; }; "startAt": { "alias": "startAt"; "required": false; "isSignal": true; }; "autoAdvance": { "alias": "autoAdvance"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "iconMode": { "alias": "iconMode"; "required": false; "isSignal": true; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; "isSignal": true; }; "nextText": { "alias": "nextText"; "required": false; "isSignal": true; }; "backText": { "alias": "backText"; "required": false; "isSignal": true; }; "submitText": { "alias": "submitText"; "required": false; "isSignal": true; }; "autoSave": { "alias": "autoSave"; "required": false; "isSignal": true; }; "saveFn": { "alias": "saveFn"; "required": false; "isSignal": true; }; "autoSaveDebounceMs": { "alias": "autoSaveDebounceMs"; "required": false; "isSignal": true; }; }, { "surveySubmit": "surveySubmit"; "pageChange": "pageChange"; "fieldSave": "fieldSave"; "formChange": "formChange"; "optionsSourceError": "optionsSourceError"; }, ["headerTpl", "footerTpl"], never, true, never>;
215
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicSurveyComponent, "ui-survey", never, { "schema": { "alias": "schema"; "required": true; }; "initialValues": { "alias": "initialValues"; "required": false; }; "externalData": { "alias": "externalData"; "required": false; }; "selectOptionsResolver": { "alias": "selectOptionsResolver"; "required": false; }; "computedFieldResolver": { "alias": "computedFieldResolver"; "required": false; }; "externalValidatorResolver": { "alias": "externalValidatorResolver"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "showBack": { "alias": "showBack"; "required": false; "isSignal": true; }; "showBackOnFirstPage": { "alias": "showBackOnFirstPage"; "required": false; "isSignal": true; }; "startAt": { "alias": "startAt"; "required": false; "isSignal": true; }; "autoAdvance": { "alias": "autoAdvance"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "disableNextWhenInvalid": { "alias": "disableNextWhenInvalid"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "iconMode": { "alias": "iconMode"; "required": false; "isSignal": true; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; "isSignal": true; }; "nextText": { "alias": "nextText"; "required": false; "isSignal": true; }; "backText": { "alias": "backText"; "required": false; "isSignal": true; }; "submitText": { "alias": "submitText"; "required": false; "isSignal": true; }; "autoSave": { "alias": "autoSave"; "required": false; "isSignal": true; }; "saveFn": { "alias": "saveFn"; "required": false; "isSignal": true; }; "autoSaveDebounceMs": { "alias": "autoSaveDebounceMs"; "required": false; "isSignal": true; }; }, { "surveySubmit": "surveySubmit"; "pageChange": "pageChange"; "backFromStart": "backFromStart"; "fieldSave": "fieldSave"; "formChange": "formChange"; "optionsSourceError": "optionsSourceError"; }, ["headerTpl", "footerTpl"], never, true, never>;
165
216
  }