@creative-web-solution/front-library 7.1.2 → 7.1.3
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/CHANGELOG.md +4 -0
- package/Events/HistoryController.ts +2 -2
- package/Modules/Validator/Internal/Input.ts +1 -1
- package/README.md +1 -1
- package/Types/Validator.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -33,7 +33,7 @@ export default class HistoryController {
|
|
|
33
33
|
#hasPushstate: boolean;
|
|
34
34
|
#hasPopStateEvent: boolean;
|
|
35
35
|
#currentState: FLib.Events.History.StateObject;
|
|
36
|
-
#registeredFunctionList: (( url: UrlParser, state: any ) => void)[];
|
|
36
|
+
#registeredFunctionList: (( url: FLib.Helpers.UrlParser, state: any ) => void)[];
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
get state(): FLib.Events.History.StateObject {
|
|
@@ -69,7 +69,7 @@ export default class HistoryController {
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
// Call each registered function for popstate event
|
|
72
|
-
#callRegisteredFunction = ( url: UrlParser, state: any ): void => {
|
|
72
|
+
#callRegisteredFunction = ( url: FLib.Helpers.UrlParser, state: any ): void => {
|
|
73
73
|
if ( !this.#registeredFunctionList.length ) {
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
@@ -123,7 +123,7 @@ export default class Input implements FLib.Validator.Input {
|
|
|
123
123
|
|
|
124
124
|
if ( this.#hasValidator && options.hasLiveValidation && this.#inputType !== 'hidden' ) {
|
|
125
125
|
on( this.#isRadio ? this.#$group : $input, {
|
|
126
|
-
"eventsName": options.liveValidation?.eventsName[ this.#inputType ],
|
|
126
|
+
"eventsName": options.liveValidation?.eventsName?.[ this.#inputType ] as string,
|
|
127
127
|
"callback": this.#onLiveValidation
|
|
128
128
|
} );
|
|
129
129
|
}
|
package/README.md
CHANGED
package/Types/Validator.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@creative-web-solution/front-library",
|
|
3
3
|
"title": "Frontend library",
|
|
4
4
|
"description": "Frontend functions and modules",
|
|
5
|
-
"version": "7.1.
|
|
5
|
+
"version": "7.1.3",
|
|
6
6
|
"homepage": "https://github.com/creative-web-solution/front-library",
|
|
7
7
|
"author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
|
|
8
8
|
"keywords": [],
|