@klauswuestefeld/jux-web 2024.2.7 → 2024.3.13
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/api-client.d.ts +11 -10
- package/dist/captcha/google-captcha.d.ts +1 -1
- package/dist/contact-us/contact-field.d.ts +1 -1
- package/dist/contact-us/contact-us-modal.d.ts +1 -1
- package/dist/jux/jux-event.d.ts +11 -10
- package/dist/jux/language.d.ts +4 -4
- package/dist/jux-modal.d.ts +1 -1
- package/dist/jux-web.js +1217 -1185
- package/dist/login/auth.d.ts +2 -2
- package/dist/login/base-page.d.ts +1 -1
- package/dist/login/login-button.d.ts +1 -1
- package/dist/login/login-page.d.ts +1 -1
- package/dist/login/magic-email-field.d.ts +2 -2
- package/dist/login/magic-link-modal.d.ts +1 -1
- package/dist/login/magic-link-requested-page.d.ts +1 -1
- package/dist/login/session.d.ts +6 -7
- package/dist/login/social-login.d.ts +1 -1
- package/dist/login/unauthorized-magic-link-request-page.d.ts +1 -1
- package/dist/login/utils/constants.d.ts +1 -1
- package/dist/login/utils/cookies.d.ts +1 -1
- package/dist/login/utils/layout-changes.d.ts +2 -2
- package/dist/login/utils/string.d.ts +1 -1
- package/dist/login/utils/token.d.ts +1 -1
- package/dist/main.d.ts +12 -12
- package/dist/main.esm.js +1217 -1186
- package/dist/main.js +1217 -1185
- package/dist/style-constants.d.ts +6 -6
- package/package.json +2 -2
package/dist/login/auth.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const initGapi: (callbackFn: any, onUserLogin: any) => void;
|
|
2
|
-
export declare const authSignIn: (onUserLogin: any) => void;
|
|
1
|
+
export declare const initGapi: (callbackFn: any, onUserLogin: any) => void;
|
|
2
|
+
export declare const authSignIn: (onUserLogin: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const basePage: (pageName: string, backgroundImg: string, content: HTMLElement[]) => HTMLElement;
|
|
1
|
+
export declare const basePage: (pageName: string, backgroundImg: string, content: HTMLElement[]) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const loginButton: (type: string, fn: any) => HTMLElement;
|
|
1
|
+
export declare const loginButton: (type: string, fn: any) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const loginPage: (clientApp: HTMLElement, backgroundImg: string, onUserLogin: any, loginTypes: string[]) => HTMLElement;
|
|
1
|
+
export declare const loginPage: (clientApp: HTMLElement, backgroundImg: string, onUserLogin: any, loginTypes: string[]) => HTMLElement;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const onMagicLinkRequest: (token: any, input: HTMLInputElement, onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, closeMagicLinkModal: any, loginTypes: string[]) => Promise<void>;
|
|
2
|
-
export declare const magicEmailField: (onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, closeMagicLinkModal: any, loginTypes: string[]) => HTMLElement;
|
|
1
|
+
export declare const onMagicLinkRequest: (token: any, input: HTMLInputElement, onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, closeMagicLinkModal: any, loginTypes: string[]) => Promise<void>;
|
|
2
|
+
export declare const magicEmailField: (onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, closeMagicLinkModal: any, loginTypes: string[]) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const magicLinkModal: (onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, loginTypes: string[]) => HTMLElement;
|
|
1
|
+
export declare const magicLinkModal: (onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, loginTypes: string[]) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const magicLinkRequestedPage: (backgroundImg: string, onReturn: any) => HTMLElement;
|
|
1
|
+
export declare const magicLinkRequestedPage: (backgroundImg: string, onReturn: any) => HTMLElement;
|
package/dist/login/session.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export declare const setBackendToken: (token: string) => void;
|
|
2
|
-
export declare const onTokenAcquired: (token: string, onUserLogin: any) => void;
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const handleMagicLinkRequest: (token: string | null, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, email?: string) => void;
|
|
1
|
+
export declare const setBackendToken: (token: string) => void;
|
|
2
|
+
export declare const onTokenAcquired: (token: string, onUserLogin: any) => void;
|
|
3
|
+
export declare const initSession: (clientApp: HTMLElement, supportedLoginTypes: string[], onUserLogin: any, backgroundImage: string, fetchUserBackendUrl: any, magicLinkRequestEndpoint: string | null, magicLinkAuthEndpoint: string | null) => void;
|
|
4
|
+
export declare const onMicrosoftSignIn: (onUserLogin: any) => Promise<void>;
|
|
5
|
+
export declare const onGoogleSignIn: (onUserLogin: any) => void;
|
|
6
|
+
export declare const handleMagicLinkRequest: (token: string | null, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, email?: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const socialLoginModal: (userEmail: string, mailExchanger: string, token: any, onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, closeMagicLinkModal: any) => HTMLElement;
|
|
1
|
+
export declare const socialLoginModal: (userEmail: string, mailExchanger: string, token: any, onUserLogin: any, onReturn: any, backgroundImage: string, currentPage: HTMLElement, clientBody: HTMLElement, closeMagicLinkModal: any) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const unauthorizedMagicLinkRequestPage: (backgroundImg: string, onReturn: any) => HTMLElement;
|
|
1
|
+
export declare const unauthorizedMagicLinkRequestPage: (backgroundImg: string, onReturn: any) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const THRESHOLD_WIDTH = 640;
|
|
1
|
+
export declare const THRESHOLD_WIDTH = 640;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const validateThirdPartyCookies: (onEnabled: any, onDisabled?: any) => void;
|
|
1
|
+
export declare const validateThirdPartyCookies: (onEnabled: any, onDisabled?: any) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const enableSignInLayout: () => void;
|
|
2
|
-
export declare const disableSignInLayout: () => void;
|
|
1
|
+
export declare const enableSignInLayout: () => void;
|
|
2
|
+
export declare const disableSignInLayout: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isValidEmail: (email: string) => boolean;
|
|
1
|
+
export declare const isValidEmail: (email: string) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const extractTokenFromWindowLocation: (tokenParam: string, additionalParam?: string) => string | undefined;
|
|
1
|
+
export declare const extractTokenFromWindowLocation: (tokenParam: string, additionalParam?: string) => string | undefined;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { chosenLanguage, reloadWithLanguageOverride, initLanguage, getTranslation } from './jux/language';
|
|
2
|
-
export { loginButton } from './login/login-button';
|
|
3
|
-
export { loginPage } from './login/login-page';
|
|
4
|
-
export { handleMagicLinkRequest, initSession, onMicrosoftSignIn } from './login/session';
|
|
5
|
-
export { requestMagicLink } from './api-client';
|
|
6
|
-
export { magicLinkModal } from './login/magic-link-modal';
|
|
7
|
-
export { command, query } from './jux/jux-event';
|
|
8
|
-
declare global {
|
|
9
|
-
interface Window {
|
|
10
|
-
submitCaptcha: any;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
export { chosenLanguage, reloadWithLanguageOverride, initLanguage, getTranslation } from './jux/language';
|
|
2
|
+
export { loginButton } from './login/login-button';
|
|
3
|
+
export { loginPage } from './login/login-page';
|
|
4
|
+
export { handleMagicLinkRequest, initSession, onMicrosoftSignIn } from './login/session';
|
|
5
|
+
export { handleJuxEvent, requestMagicLink } from './api-client';
|
|
6
|
+
export { magicLinkModal } from './login/magic-link-modal';
|
|
7
|
+
export { command, query } from './jux/jux-event';
|
|
8
|
+
declare global {
|
|
9
|
+
interface Window {
|
|
10
|
+
submitCaptcha: any;
|
|
11
|
+
}
|
|
12
|
+
}
|