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

43
dist/modules/css/classes.d.ts vendored Normal file
View file

@ -0,0 +1,43 @@
/**
* @file src/modules/css/classes.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 CSS
* @description
* * Methods for manipulating CSS classes (add, remove, toggle, has).
* @requires ../../core
* * Depends on the core jBase class for type definitions.
*/
import { jBase } from '../../core';
/**
* * Adds one or more CSS classes to each element in the collection.
* @example addClass('active', 'highlight') => Adds the 'active' and 'highlight' classes to all matched elements.
* @param classNames One or more class names to be added
* @returns The current jBase instance for method chaining
*/
export declare function addClass(this: jBase, ...classNames: string[]): jBase;
/**
* * Removes one or more CSS classes from each element in the collection.
* @example removeClass('active', 'highlight') => Removes the 'active' and 'highlight' classes from all matched elements.
* @param classNames One or more class names to be removed
* @returns The current jBase instance for method chaining
*/
export declare function removeClass(this: jBase, ...classNames: string[]): jBase;
/**
* * Toggles a CSS class (adds if missing, removes if present) for each element.
* @example toggleClass('active') => Toggles the 'active' class on all matched elements.
* @param className The class name to toggle.
* @returns The current jBase instance for method chaining.
*/
export declare function toggleClass(this: jBase, className: string): jBase;
/**
* * Checks if at least one element in the collection has the specified class.
* @example hasClass('active') => Returns true if at least one matched element has the 'active' class, otherwise false.
* @param className The class name to check for.
* @returns True if the class exists on at least one element, otherwise false.
*/
export declare function hasClass(this: jBase, className: string): boolean;
//# sourceMappingURL=classes.d.ts.map

1
dist/modules/css/classes.d.ts.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"classes.d.ts","sourceRoot":"","sources":["../../../src/modules/css/classes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAKpE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAKvE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,GAAG,KAAK,CAKjE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAIhE"}

26
dist/modules/css/index.d.ts vendored Normal file
View file

@ -0,0 +1,26 @@
/**
* @file src/modules/css/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 CSS
* @description
* * Central entry point for CSS operations. Aggregates class and style manipulation methods.
* @requires ./classes
* * Class manipulation methods (addClass, removeClass, etc.).
* @requires ./styles
* * Style manipulation methods (css).
*/
/**
* * Aggregation of all CSS methods. This object bundles functions for class manipulation and style manipulation. It is exported to extend the jBase prototype centrally via Object.assign.
*/
export declare const cssMethods: {
css(this: import("../..").JBaseClass, property: string | Record<string, string | number>, value?: string | number): string | import("../..").JBaseClass;
addClass(this: import("../..").JBaseClass, ...classNames: string[]): import("../..").JBaseClass;
removeClass(this: import("../..").JBaseClass, ...classNames: string[]): import("../..").JBaseClass;
toggleClass(this: import("../..").JBaseClass, className: string): import("../..").JBaseClass;
hasClass(this: import("../..").JBaseClass, className: string): boolean;
};
//# sourceMappingURL=index.d.ts.map

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

@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/css/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;CAGtB,CAAC"}

25
dist/modules/css/styles.d.ts vendored Normal file
View file

@ -0,0 +1,25 @@
/**
* @file src/modules/css/styles.ts
* @version 2.0.4
* @since 2.0.0
* @license GPL-3.0-or-later
* @copyright Sven Minio 2026
* @author Sven Minio <https://sven-minio.de>
* @category CSS
* @description
* * Methods for getting and setting inline CSS styles.
* @requires ../../core
* * Depends on the core jBase class for type definitions.
*/
import { jBase } from '../../core';
/**
* * Gets a CSS property value from the first element or sets one/multiple CSS properties for all elements.
* @example css('color', 'red') => Sets the 'color' style to 'red' for all matched elements.
* @example css({ color: 'red', backgroundColor: 'blue' }) => Sets multiple styles for all matched elements.
* @example css('color') => Returns the computed 'color' value of the first matched element.
* @param property A CSS property name as a string, or an object of property-value pairs to set multiple styles.
* @param value (Optional) The value to set if `property` is a string. If undefined and `property` is a string, acts as a getter.
* @returns The CSS value as a string when reading, or the jBase instance when writing.
*/
export declare function css(this: jBase, property: string | Record<string, string | number>, value?: string | number): string | jBase;
//# sourceMappingURL=styles.d.ts.map

1
dist/modules/css/styles.d.ts.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/modules/css/styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC;;;;;;;;GAQG;AACH,wBAAgB,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CA2C5H"}