@memberstack/dom 1.9.40 → 1.9.44
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/lib/auth/index.global.js +244 -0
- package/lib/auth/index.js +8 -0
- package/lib/auth/index.mjs +8 -0
- package/lib/constants/endpoints.global.js +29 -0
- package/lib/constants/endpoints.js +1 -1
- package/lib/constants/endpoints.mjs +1 -1
- package/lib/index.d.mts +21 -5
- package/lib/index.d.ts +21 -5
- package/lib/index.global.js +46364 -0
- package/lib/index.js +5828 -1511
- package/lib/index.mjs +5828 -1511
- package/lib/methods/dom/index.global.js +2 -0
- package/lib/methods/dom/main-dom.global.js +30620 -0
- package/lib/methods/dom/main-dom.js +5435 -1410
- package/lib/methods/dom/main-dom.mjs +5435 -1410
- package/lib/methods/dom/methods.d.mts +7 -1
- package/lib/methods/dom/methods.d.ts +7 -1
- package/lib/methods/dom/methods.global.js +30827 -0
- package/lib/methods/dom/methods.js +5571 -1536
- package/lib/methods/dom/methods.mjs +5571 -1536
- package/lib/methods/index.d.mts +19 -3
- package/lib/methods/index.d.ts +19 -3
- package/lib/methods/index.global.js +46361 -0
- package/lib/methods/index.js +5828 -1511
- package/lib/methods/index.mjs +5828 -1511
- package/lib/methods/requests/index.d.mts +14 -2
- package/lib/methods/requests/index.d.ts +14 -2
- package/lib/methods/requests/index.global.js +15553 -0
- package/lib/methods/requests/index.js +302 -20
- package/lib/methods/requests/index.mjs +302 -20
- package/lib/methods/requests/requests.d.mts +12 -1
- package/lib/methods/requests/requests.d.ts +12 -1
- package/lib/methods/requests/requests.global.js +14528 -0
- package/lib/methods/requests/requests.js +73 -3
- package/lib/methods/requests/requests.mjs +73 -3
- package/lib/types/index.d.mts +3 -2
- package/lib/types/index.d.ts +3 -2
- package/lib/types/index.global.js +19 -0
- package/lib/types/params.d.mts +87 -1
- package/lib/types/params.d.ts +87 -1
- package/lib/types/params.global.js +19 -0
- package/lib/types/payloads.d.mts +72 -1
- package/lib/types/payloads.d.ts +72 -1
- package/lib/types/payloads.global.js +19 -0
- package/lib/types/translations.d.mts +43 -0
- package/lib/types/translations.d.ts +43 -0
- package/lib/types/translations.global.js +19 -0
- package/lib/types/translations.js +17 -0
- package/lib/types/translations.mjs +0 -0
- package/lib/types/utils/payloads.d.mts +3 -0
- package/lib/types/utils/payloads.d.ts +3 -0
- package/lib/types/utils/payloads.global.js +19 -0
- package/lib/utils/cookies.d.mts +4 -1
- package/lib/utils/cookies.d.ts +4 -1
- package/lib/utils/cookies.global.js +261 -0
- package/lib/utils/cookies.js +30 -0
- package/lib/utils/cookies.mjs +27 -0
- package/lib/utils/defaultMessageBox.global.js +125 -0
- package/lib/utils/defaultMessageBox.js +10 -0
- package/lib/utils/defaultMessageBox.mjs +10 -0
- package/package.json +4 -4
|
@@ -1,12 +1,18 @@
|
|
|
1
|
+
import { MemberstackTranslations } from '../../types/translations.mjs';
|
|
2
|
+
|
|
1
3
|
type OpenModalParams = {
|
|
2
4
|
type: "LOGIN" | "SIGNUP" | "FORGOT_PASSWORD" | "RESET_PASSWORD" | "PROFILE";
|
|
5
|
+
translations?: MemberstackTranslations;
|
|
3
6
|
};
|
|
4
7
|
declare const initDefaultMessageBox: () => void;
|
|
5
8
|
declare const showMessage: (msg: any, isError: any) => Promise<void>;
|
|
6
9
|
declare const showLoader: (element?: any) => void;
|
|
7
10
|
declare const hideLoader: (element?: any) => void;
|
|
8
11
|
declare const handleRedirect: (redirect: any, redirectOverride: any) => any;
|
|
9
|
-
declare const openModal: (type: OpenModalParams["type"], params?: {
|
|
12
|
+
declare const openModal: (type: OpenModalParams["type"], params?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
translations?: MemberstackTranslations;
|
|
15
|
+
}) => Promise<unknown>;
|
|
10
16
|
declare const hideModal: () => void;
|
|
11
17
|
|
|
12
18
|
export { type OpenModalParams, handleRedirect, hideLoader, hideModal, initDefaultMessageBox, openModal, showLoader, showMessage };
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
+
import { MemberstackTranslations } from '../../types/translations.js';
|
|
2
|
+
|
|
1
3
|
type OpenModalParams = {
|
|
2
4
|
type: "LOGIN" | "SIGNUP" | "FORGOT_PASSWORD" | "RESET_PASSWORD" | "PROFILE";
|
|
5
|
+
translations?: MemberstackTranslations;
|
|
3
6
|
};
|
|
4
7
|
declare const initDefaultMessageBox: () => void;
|
|
5
8
|
declare const showMessage: (msg: any, isError: any) => Promise<void>;
|
|
6
9
|
declare const showLoader: (element?: any) => void;
|
|
7
10
|
declare const hideLoader: (element?: any) => void;
|
|
8
11
|
declare const handleRedirect: (redirect: any, redirectOverride: any) => any;
|
|
9
|
-
declare const openModal: (type: OpenModalParams["type"], params?: {
|
|
12
|
+
declare const openModal: (type: OpenModalParams["type"], params?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
translations?: MemberstackTranslations;
|
|
15
|
+
}) => Promise<unknown>;
|
|
10
16
|
declare const hideModal: () => void;
|
|
11
17
|
|
|
12
18
|
export { type OpenModalParams, handleRedirect, hideLoader, hideModal, initDefaultMessageBox, openModal, showLoader, showMessage };
|