@klauswuestefeld/jux-web 2025.9.26 → 2026.1.15
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 +4 -4
- package/dist/jux/jux-event.d.ts +2 -2
- package/dist/jux-modal.d.ts +1 -1
- package/dist/jux-web.js +1073 -1122
- package/dist/login/auth.d.ts +1 -1
- package/dist/login/back-button.d.ts +1 -0
- package/dist/login/login-button.d.ts +1 -1
- package/dist/login/login-page.d.ts +6 -1
- package/dist/login/magic-email-field.d.ts +6 -2
- package/dist/login/magic-link-modal.d.ts +3 -1
- package/dist/login/session-actions.d.ts +3 -0
- package/dist/login/session.d.ts +0 -3
- package/dist/login/social-login.d.ts +5 -1
- package/dist/main.d.ts +2 -1
- package/dist/main.esm.js +805 -659
- package/dist/main.js +805 -659
- package/package.json +2 -2
package/dist/api-client.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export interface BackendRequestOptions extends RequestInit {
|
|
|
6
6
|
onProgress?: (percent: number) => void;
|
|
7
7
|
}
|
|
8
8
|
export type RequestType = 'query' | 'command' | 'upload';
|
|
9
|
-
export declare const upload: (endpoint: string, file: File, onResult?: (result: any) => any, onError?: (error: any) => void, extras?: {
|
|
10
|
-
onProgress?: (percent: number) => void;
|
|
11
|
-
onStart?: () => void;
|
|
12
|
-
}) => void;
|
|
9
|
+
export declare const upload: (endpoint: string, file: File, onResult?: ((result: any) => any) | undefined, onError?: ((error: any) => void) | undefined, extras?: {
|
|
10
|
+
onProgress?: ((percent: number) => void) | undefined;
|
|
11
|
+
onStart?: (() => void) | undefined;
|
|
12
|
+
} | undefined) => void;
|
|
13
13
|
export declare const backendPost: (endpoint: string, postContent: any, onJsonResponse: (response: any) => any, onHelpMessage: (message: string) => any, handleUnauthorized?: any) => void;
|
|
14
14
|
export declare const backendGet: (endpoint: string, params: any, onJsonResponse: (response: any) => any, onHelpMessage: (message: string) => any, handleUnauthorized?: any) => void;
|
|
15
15
|
export declare const requestMagicLink: (data: any, onJsonResponse: (response: any) => any, onUnauthorized: () => void) => void;
|
package/dist/jux/jux-event.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ export declare class JuxEvent extends Event {
|
|
|
9
9
|
extras?: any;
|
|
10
10
|
constructor(type: string, method: string, endpoint: string, onResult?: (result: any) => any, params?: any, onError?: (error: any) => void, onRedirect?: (result: any) => any, extras?: {});
|
|
11
11
|
}
|
|
12
|
-
export declare const query: (element: HTMLElement, endpoint: string, onResult: (result: any) => any, params?: any, onError?: (error: any) => void, onRedirect?: (result: any) => any) => void;
|
|
13
|
-
export declare const command: (element: HTMLElement, endpoint: string, onResult?: (result: any) => any, params?: any, onError?: (error: any) => void, onRedirect?: (result: any) => any) => void;
|
|
12
|
+
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;
|
|
13
|
+
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-modal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const juxModal: (title: string, btns?: string[], content?: string, persistent?: boolean,
|
|
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;
|