Upload files to "/"

This commit is contained in:
Sven Minio 2026-05-17 12:39:25 +02:00
commit 1fa6d558c7
149 changed files with 27987 additions and 0 deletions

60
dist/modules/effects/fade.d.ts vendored Normal file
View file

@ -0,0 +1,60 @@
/**
* @file src/modules/effects/fade.ts
* @version 2.1.0
* @since 2.0.0
* @license GPL-3.0-or-later
* @copyright Sven Minio 2026
* @author Sven Minio <https://sven-minio.de>
* @category Effects
* @description
* * Methods for fading elements in and out (fadeIn, fadeOut, fadeToggle).
* @requires ../../core
* * Depends on the core jBase class for type definitions.
* @requires ../../utils
* * Uses utility functions for environment checks.
* @requires ./types
* * Type definitions for fade options.
*/
import { jBase } from '../../core';
import { FadeOptions } from './types';
/**
* * Fades an element in (Opacity 0 -> 1).
* @example fadeIn() => Fades in all matched elements over 300ms with display: block.
* @example fadeIn({ duration: 500, displayType: 'inline-block' }) => Fades in all matched elements over 500ms with display: inline-block.
* @example fadeIn(500) => Fades in over 500ms.
* @param options Duration in ms (default: 300) and display type (default: 'block').
* @returns The current jBase instance.
*/
export declare function fadeIn(this: jBase, options?: FadeOptions | number): jBase;
/**
* * Fades an element out (Opacity 1 -> 0) and sets display: none afterwards.
* @example fadeOut() => Fades out all matched elements over 300ms with display: none.
* @example fadeOut({ duration: 500 }) => Fades out all matched elements over 500ms with display: none.
* @example fadeOut(500) => Fades out over 500ms.
* @param options Duration in ms (default: 300).
* @returns The current jBase instance.
*/
export declare function fadeOut(this: jBase, options?: FadeOptions | number): jBase;
/**
* * Toggles between fadeIn and fadeOut based on the current display state.
* @example fadeToggle() => Fades in hidden elements and fades out visible elements over 300ms.
* @example fadeToggle({ duration: 500 }) => Fades in hidden elements and fades out visible elements over 500ms.
* @example fadeToggle({ duration: 500, displayType: 'inline-block' }) => Fades in all matched elements over 500ms with display: inline-block.
* @example fadeToggle(500) => Fades in over 500ms.
* @param options Animation options.
* @returns The current jBase instance.
*/
export declare function fadeToggle(this: jBase, options?: FadeOptions | number): jBase;
/**
* * ALIAS for fadeIn.
*/
export declare const show: typeof fadeIn;
/**
* * ALIAS for fadeOut.
*/
export declare const hide: typeof fadeOut;
/**
* * ALIAS for fadeToggle.
*/
export declare const toggle: typeof fadeToggle;
//# sourceMappingURL=fade.d.ts.map

1
dist/modules/effects/fade.d.ts.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"fade.d.ts","sourceRoot":"","sources":["../../../src/modules/effects/fade.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,WAAW,GAAG,MAAW,GAAG,KAAK,CA2B7E;AAED;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,WAAW,GAAG,MAAW,GAAG,KAAK,CA0B9E;AAED;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,WAAW,GAAG,MAAW,GAAG,KAAK,CAcjF;AAED;;GAEG;AACH,eAAO,MAAM,IAAI,eAAS,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,IAAI,gBAAU,CAAC;AAE5B;;GAEG;AACH,eAAO,MAAM,MAAM,mBAAa,CAAC"}

36
dist/modules/effects/index.d.ts vendored Normal file
View file

@ -0,0 +1,36 @@
/**
* @file src/modules/effects/index.ts
* @version 2.0.3
* @since 2.0.0
* @license GPL-3.0-or-later
* @copyright Sven Minio 2026
* @author Sven Minio <https://sven-minio.de>
* @category Effects
* @description
* * Central entry point for visual effects. Aggregates slide, fade, and vertical animation modules.
* @requires ./slide
* * Horizontal slide effects (slideIn, slideOut).
* @requires ./vertical
* * Vertical slide effects / Accordion (slideDown, slideUp).
* @requires ./fade
* * Opacity fade effects (fadeIn, fadeOut).
*/
import * as fadeMethods from './fade';
/**
* * Aggregation of all visual effect methods. Bundles sliding and fading animations to extend the jBase prototype.
*/
export declare const effectMethods: {
fadeIn(this: import("../..").JBaseClass, options?: import("./types").FadeOptions | number): import("../..").JBaseClass;
fadeOut(this: import("../..").JBaseClass, options?: import("./types").FadeOptions | number): import("../..").JBaseClass;
fadeToggle(this: import("../..").JBaseClass, options?: import("./types").FadeOptions | number): import("../..").JBaseClass;
show: typeof fadeMethods.fadeIn;
hide: typeof fadeMethods.fadeOut;
toggle: typeof fadeMethods.fadeToggle;
slideDown(this: import("../..").JBaseClass, options?: import("./types").SlideVerticalOptions): import("../..").JBaseClass;
slideUp(this: import("../..").JBaseClass, options?: import("./types").SlideVerticalOptions): import("../..").JBaseClass;
slideToggleBox(this: import("../..").JBaseClass, options?: import("./types").SlideVerticalOptions): import("../..").JBaseClass;
slideIn(this: import("../..").JBaseClass, options?: import("./types").SlideOptions): import("../..").JBaseClass;
slideOut(this: import("../..").JBaseClass, options?: import("./types").SlideOptions): import("../..").JBaseClass;
slideToggle(this: import("../..").JBaseClass, options?: import("./types").SlideOptions): import("../..").JBaseClass;
};
//# sourceMappingURL=index.d.ts.map

1
dist/modules/effects/index.d.ts.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/effects/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,WAAW,MAAM,QAAQ,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAIzB,CAAC"}

44
dist/modules/effects/slide.d.ts vendored Normal file
View file

@ -0,0 +1,44 @@
/**
* @file src/modules/effects/slide.ts
* @version 2.0.3
* @since 2.0.0
* @license GPL-3.0-or-later
* @copyright Sven Minio 2026
* @author Sven Minio <https://sven-minio.de>
* @category Effects
* @description
* * Methods for horizontal sliding effects (slideIn, slideOut, slideToggle).
* @requires ../../core
* * Depends on the core jBase class for type definitions.
* @requires ../../utils
* * Uses utility functions for environment checks.
* @requires ./types
* * Type definitions for slide options.
*/
import { jBase } from '../../core';
import { SlideOptions } from './types';
/**
* * Slides an element (e.g., a menu) into view. Sets `transform: translateX(0)`.
* @example slideIn() => Slides in all matched elements over 300ms.
* @example slideIn({ duration: 500 }) => Slides in all matched elements over 500ms.
* @param options Direction ('left'|'right') and duration in ms.
* @returns The current jBase instance.
*/
export declare function slideIn(this: jBase, options?: SlideOptions): jBase;
/**
* * Slides an element out of view.
* @example slideOut() => Slides out all matched elements to the left over 300ms.
* @example slideOut({ direction: 'right', duration: 500 }) => Slides out all matched elements to the right over 500ms.
* @param options Direction ('left'|'right') and duration in ms.
* @returns The current jBase instance.
*/
export declare function slideOut(this: jBase, options?: SlideOptions): jBase;
/**
* * Toggles between slideIn and slideOut based on the current state.
* @example slideToggle() => Slides in hidden elements and slides out visible elements to the left over 300ms.
* @example slideToggle({ direction: 'right', duration: 500 }) => Slides in hidden elements and slides out visible elements to the right over 500ms.
* @param options Direction ('left'|'right') and duration in ms.
* @returns The current jBase instance.
*/
export declare function slideToggle(this: jBase, options?: SlideOptions): jBase;
//# sourceMappingURL=slide.d.ts.map

1
dist/modules/effects/slide.d.ts.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"slide.d.ts","sourceRoot":"","sources":["../../../src/modules/effects/slide.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAIvC;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,YAAiB,GAAG,KAAK,CAkBtE;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,YAAiB,GAAG,KAAK,CAmBvE;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,YAAiB,GAAG,KAAK,CAkB1E"}

33
dist/modules/effects/types.d.ts vendored Normal file
View file

@ -0,0 +1,33 @@
/**
* @file src/modules/data/types.ts
* @version 2.0.2
* @since 2.0.2
* @license GPL-3.0-or-later
* @copyright Sven Minio 2026
* @author Sven Minio <https://sven-minio.de>
* @category Data
* @description
* * Type definitions and validation helpers for data structures.
*/
/**
* * Configuration options for fade effects.
*/
export interface FadeOptions {
duration?: number;
displayType?: string;
}
/**
* * Configuration interface for slide methods.
*/
export interface SlideOptions {
direction?: 'left' | 'right';
duration?: number;
}
/**
* * Configuration options for vertical slide effects.
*/
export interface SlideVerticalOptions {
duration?: number;
displayType?: string;
}
//# sourceMappingURL=types.d.ts.map

1
dist/modules/effects/types.d.ts.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/modules/effects/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}

44
dist/modules/effects/vertical.d.ts vendored Normal file
View file

@ -0,0 +1,44 @@
/**
* @file src/modules/effects/vertical.ts
* @version 2.0.3
* @since 2.0.0
* @license GPL-3.0-or-later
* @copyright Sven Minio 2026
* @author Sven Minio <https://sven-minio.de>
* @category Effects
* @description
* * Methods for vertical sliding effects (slideDown, slideUp, slideToggle).
* @requires ../../core
* * Depends on the core jBase class for type definitions.
* @requires ../../utils
* * Utility function to check for browser environment.
* @requires ./types
* * Type definitions for effect options.
*/
import { jBase } from '../../core';
import { SlideVerticalOptions } from './types';
/**
* * Slides an element down (animates height from 0 to auto). Sets `display` property and animates height.
* @example slideDown() => Slides down all matched elements over 300ms with display: block.
* @example slideDown({ duration: 500, displayType: 'inline-block' }) => Slides down all matched elements over 500ms with display: inline-block.
* @param options Animation duration and display type.
* @returns The current jBase instance.
*/
export declare function slideDown(this: jBase, options?: SlideVerticalOptions): jBase;
/**
* * Slides an element up (animates height to 0). Sets `display: none` after animation.
* @example slideUp() => Slides up all matched elements over 300ms with display: none.
* @example slideUp({ duration: 500 }) => Slides up all matched elements over 500ms with display: none.
* @param options Animation duration.
* @returns The current jBase instance.
*/
export declare function slideUp(this: jBase, options?: SlideVerticalOptions): jBase;
/**
* * Toggles between slideDown and slideUp based on the display state.
* @example slideToggle() => Slides in hidden elements and slides out visible elements over 300ms.
* @example slideToggle({ duration: 500 }) => Slides in hidden elements and slides out visible elements over 500ms.
* @param options Animation duration.
* @returns The current jBase instance.
*/
export declare function slideToggleBox(this: jBase, options?: SlideVerticalOptions): jBase;
//# sourceMappingURL=vertical.d.ts.map

View file

@ -0,0 +1 @@
{"version":3,"file":"vertical.d.ts","sourceRoot":"","sources":["../../../src/modules/effects/vertical.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,oBAAyB,GAAG,KAAK,CA6BhF;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,oBAAyB,GAAG,KAAK,CAwB9E;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,GAAE,oBAAyB,GAAG,KAAK,CAgBrF"}