@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/api-client.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export declare const setBackendUrl: (backendUrl: string) => void;
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
1
|
+
export declare const setBackendUrl: (backendUrl: string) => void;
|
|
2
|
+
export declare const getBackendUrl: () => string;
|
|
3
|
+
export declare const handleJuxEvent: (ev: Event) => void;
|
|
4
|
+
export declare const backendRequest: (url: string, options: any, onSuccess: any, onError: any, onRedirect?: any, handleUnauthorized?: () => void, retrial?: boolean, retrialNum?: number) => Promise<any>;
|
|
5
|
+
export declare const backendPost: (endpoint: string, postContent: any, onJsonResponse: (response: any) => any, onHelpMessage: (message: string) => any) => void;
|
|
6
|
+
export declare const backendGet: (endpoint: string, params: any, onJsonResponse: (response: any) => any, onHelpMessage: (message: string) => any) => void;
|
|
7
|
+
export declare const requestMagicLink: (data: any, onJsonResponse: (response: any) => any, onUnauthorized: () => void) => void;
|
|
8
|
+
export declare const openMagicLink: (magicToken: string, onJsonResponse: (response: any) => any, onHelpMessage: (message: string) => any) => void;
|
|
9
|
+
export declare const googleLogin: (token: string, onLogin: (response: any) => any, onLoginError: (message: string) => any) => void;
|
|
10
|
+
export declare const microsoftLogin: (token: string, onLogin: (response: any) => any, onLoginError: (message: string) => any) => void;
|
|
11
|
+
export declare const getMXData: (domainName: string) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const googleCaptcha: () => HTMLElement;
|
|
1
|
+
export declare const googleCaptcha: () => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const contactField: (tag: string | undefined, elType: string, elName: string, required?: boolean, value?: string
|
|
1
|
+
export declare const contactField: (tag: string | undefined, elType: string, elName: string, required?: boolean, value?: string) => HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const contactUsModal: (subject: string) => HTMLElement;
|
|
1
|
+
export declare const contactUsModal: (subject: string) => HTMLElement;
|
package/dist/jux/jux-event.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export declare class JuxEvent extends Event {
|
|
2
|
-
method: string;
|
|
3
|
-
endpoint: string;
|
|
4
|
-
onResult?: (result: any) => any;
|
|
5
|
-
params: any;
|
|
6
|
-
onError?: (error: any) => void;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
1
|
+
export declare class JuxEvent extends Event {
|
|
2
|
+
method: string;
|
|
3
|
+
endpoint: string;
|
|
4
|
+
onResult?: (result: any) => any;
|
|
5
|
+
params: any;
|
|
6
|
+
onError?: (error: any) => void;
|
|
7
|
+
onRedirect?: (result: any) => any;
|
|
8
|
+
constructor(method: string, endpoint: string, onResult?: (result: any) => any, params?: any, onError?: (error: any) => void, onRedirect?: (result: any) => any);
|
|
9
|
+
}
|
|
10
|
+
export declare const query: (element: HTMLElement, endpoint: string, onResult: (result: any) => any, params?: any, onError?: ((error: any) => void) | undefined, onRedirect?: ((result: any) => any) | undefined) => void;
|
|
11
|
+
export declare const command: (element: HTMLElement, endpoint: string, onResult?: ((result: any) => any) | undefined, params?: any, onError?: ((error: any) => void) | undefined, onRedirect?: ((result: any) => any) | undefined) => void;
|
package/dist/jux/language.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const chosenLanguage: any;
|
|
2
|
-
export declare const reloadWithLanguageOverride: (lang: string) => void;
|
|
3
|
-
export declare const getTranslation: (k: string) => string;
|
|
4
|
-
export declare const initLanguage: (translations_: any, defaultLanguage?: string) => void;
|
|
1
|
+
export declare const chosenLanguage: any;
|
|
2
|
+
export declare const reloadWithLanguageOverride: (lang: string) => void;
|
|
3
|
+
export declare const getTranslation: (k: string) => string;
|
|
4
|
+
export declare const initLanguage: (translations_: any, defaultLanguage?: string) => void;
|
package/dist/jux-modal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const juxModal: (title: string, btns?: string[], content?: string, persistent?: boolean, _busy?: boolean, body?: HTMLElement | null
|
|
1
|
+
export declare const juxModal: (title: string, btns?: string[], content?: string, persistent?: boolean, _busy?: boolean, body?: HTMLElement | null, okTxt?: string, cancelTxt?: string | null, onClose?: any, titleStyle?: string) => HTMLElement;
|