@apia/util 4.0.46 → 4.0.50

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/dist/index.d.ts CHANGED
@@ -375,7 +375,7 @@ declare function enableChildrenFocus(parent: HTMLElement): void;
375
375
  * Toma una cadena de texto que puede tener caracteres de escape de HTML (por
376
376
  * ejemplo á) y devuelve su correspondiente en texto plano.
377
377
  */
378
- declare const decodeHTMLEntities: (str: string) => string | null;
378
+ declare const decodeHTMLEntities: (str: string) => string;
379
379
 
380
380
  /**
381
381
  * @public
@@ -1066,20 +1066,21 @@ interface IFocusCheck {
1066
1066
  currentInstruction: number;
1067
1067
  }
1068
1068
  declare const focus: {
1069
- "__#4@#root": HTMLElement;
1070
- "__#4@#props": IFocusProps | undefined;
1069
+ "__#private@#root": HTMLElement;
1070
+ "__#private@#props": IFocusProps | undefined;
1071
1071
  afterNotificationFocus: IFocusQueryElement | undefined;
1072
- "__#4@#actualFocusQuery": IFocusQueryElement[];
1073
- "__#4@#currentInstruction": number;
1074
- "__#4@#focusDelay": number;
1075
- "__#4@#focusRetries": number;
1076
- "__#4@#focusTimeout": number;
1077
- "__#4@#isIntervalRunning": boolean;
1078
- "__#4@#focusQuery": IFocusQueryElement[];
1079
- "__#4@#checkInstruction"(focusCheck: IFocusCheck): boolean;
1080
- "__#4@#doFocus"(HTMLElement: HTMLElement | TFocusRetriever, focusCheck: IFocusCheck, isLastTry: boolean, configuration?: IOnFocusConfiguration): Promise<false | HTMLElement | null>;
1081
- "__#4@#resetInterval"(): void;
1082
- "__#4@#runFocusInterval"(focusElement?: IFocusQueryElement, internalCall?: boolean): Promise<false | HTMLElement>;
1072
+ "__#private@#actualFocusQuery": IFocusQueryElement[];
1073
+ "__#private@#currentInstruction": number;
1074
+ "__#private@#focusDelay": number;
1075
+ "__#private@#focusRetries": number;
1076
+ "__#private@#focusTimeout": number;
1077
+ "__#private@#isIntervalRunning": boolean;
1078
+ get "__#private@#focusQuery"(): IFocusQueryElement[];
1079
+ set "__#private@#focusQuery"(value: IFocusQueryElement[]);
1080
+ "__#private@#checkInstruction"(focusCheck: IFocusCheck): boolean;
1081
+ "__#private@#doFocus"(HTMLElement: HTMLElement | TFocusRetriever, focusCheck: IFocusCheck, isLastTry: boolean, configuration?: IOnFocusConfiguration): Promise<false | HTMLElement | null>;
1082
+ "__#private@#resetInterval"(): void;
1083
+ "__#private@#runFocusInterval"(focusElement?: IFocusQueryElement, internalCall?: boolean): Promise<false | HTMLElement>;
1083
1084
  /**
1084
1085
  * Da la instrucción de colocar el foco en el elemento provisto como
1085
1086
  * parámetro una vez que todas las notificaciones se hayan cerrado. En caso
@@ -1127,12 +1128,12 @@ declare const focus: {
1127
1128
  */
1128
1129
  declare const globalFocus: {
1129
1130
  focused: (HTMLElement | TFocusRetriever)[];
1130
- "__#2@#onFocusCallbacks": (() => unknown)[];
1131
+ "__#private@#onFocusCallbacks": (() => unknown)[];
1131
1132
  offFocus(cb: () => unknown): void;
1132
1133
  onFocus(cb: () => unknown): () => void;
1133
1134
  inDocument(el: HTMLElement | TFocusRetriever): boolean;
1134
- focus: HTMLElement | TFocusRetriever;
1135
- readonly list: (HTMLElement | TFocusRetriever)[];
1135
+ set focus(element: HTMLElement | TFocusRetriever);
1136
+ get list(): (HTMLElement | TFocusRetriever)[];
1136
1137
  /**
1137
1138
  * @param querySelector A query selector against which the element should match
1138
1139
  * @returns The last HTMLElement if no querySelector argument provided or else, the last which matches