@apia/util 4.0.46 → 4.0.47
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 +18 -17
- package/package.json +2 -2
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
|
|
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
|
-
"__#
|
|
1070
|
-
"__#
|
|
1069
|
+
"__#private@#root": HTMLElement;
|
|
1070
|
+
"__#private@#props": IFocusProps | undefined;
|
|
1071
1071
|
afterNotificationFocus: IFocusQueryElement | undefined;
|
|
1072
|
-
"__#
|
|
1073
|
-
"__#
|
|
1074
|
-
"__#
|
|
1075
|
-
"__#
|
|
1076
|
-
"__#
|
|
1077
|
-
"__#
|
|
1078
|
-
"__#
|
|
1079
|
-
"__#
|
|
1080
|
-
"__#
|
|
1081
|
-
"__#
|
|
1082
|
-
"__#
|
|
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
|
-
"__#
|
|
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
|
-
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apia/util",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.47",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"author": "Alexis Leite <alexisleite@live.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "5.3.2",
|
|
43
43
|
"xml2js": "^0.5.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "88b1e430483e2a5f0859c7f4fd87811cafa02453",
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
48
48
|
"url": "http://corp-gitlab-01.domst.st.net/products/apia/ApiaNPMPackages.git",
|