@k37z3r/jbase 2.0.0
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/LICENSE +621 -0
- package/README.md +124 -0
- package/dist/browser.d.ts +30 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +29 -0
- package/dist/browser.js.map +1 -0
- package/dist/core.d.ts +42 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +78 -0
- package/dist/core.js.map +1 -0
- package/dist/index.cjs +2150 -0
- package/dist/index.d.ts +1158 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +100 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2118 -0
- package/dist/jbase.browser.js +1906 -0
- package/dist/jbase.js +1898 -0
- package/dist/jbase.min.js +9 -0
- package/dist/modules/css/classes.d.ts +61 -0
- package/dist/modules/css/classes.d.ts.map +1 -0
- package/dist/modules/css/classes.js +88 -0
- package/dist/modules/css/classes.js.map +1 -0
- package/dist/modules/css/index.d.ts +30 -0
- package/dist/modules/css/index.d.ts.map +1 -0
- package/dist/modules/css/index.js +33 -0
- package/dist/modules/css/index.js.map +1 -0
- package/dist/modules/css/styles.d.ts +31 -0
- package/dist/modules/css/styles.d.ts.map +1 -0
- package/dist/modules/css/styles.js +49 -0
- package/dist/modules/css/styles.js.map +1 -0
- package/dist/modules/data/arrays.d.ts +131 -0
- package/dist/modules/data/arrays.d.ts.map +1 -0
- package/dist/modules/data/arrays.js +177 -0
- package/dist/modules/data/arrays.js.map +1 -0
- package/dist/modules/data/index.d.ts +29 -0
- package/dist/modules/data/index.d.ts.map +1 -0
- package/dist/modules/data/index.js +33 -0
- package/dist/modules/data/index.js.map +1 -0
- package/dist/modules/data/objects.d.ts +108 -0
- package/dist/modules/data/objects.d.ts.map +1 -0
- package/dist/modules/data/objects.js +168 -0
- package/dist/modules/data/objects.js.map +1 -0
- package/dist/modules/data/types.d.ts +35 -0
- package/dist/modules/data/types.d.ts.map +1 -0
- package/dist/modules/data/types.js +43 -0
- package/dist/modules/data/types.js.map +1 -0
- package/dist/modules/dom/attributes.d.ts +42 -0
- package/dist/modules/dom/attributes.d.ts.map +1 -0
- package/dist/modules/dom/attributes.js +69 -0
- package/dist/modules/dom/attributes.js.map +1 -0
- package/dist/modules/dom/content.d.ts +39 -0
- package/dist/modules/dom/content.d.ts.map +1 -0
- package/dist/modules/dom/content.js +63 -0
- package/dist/modules/dom/content.js.map +1 -0
- package/dist/modules/dom/index.d.ts +78 -0
- package/dist/modules/dom/index.d.ts.map +1 -0
- package/dist/modules/dom/index.js +48 -0
- package/dist/modules/dom/index.js.map +1 -0
- package/dist/modules/dom/manipulation.d.ts +159 -0
- package/dist/modules/dom/manipulation.d.ts.map +1 -0
- package/dist/modules/dom/manipulation.js +343 -0
- package/dist/modules/dom/manipulation.js.map +1 -0
- package/dist/modules/dom/states.d.ts +50 -0
- package/dist/modules/dom/states.d.ts.map +1 -0
- package/dist/modules/dom/states.js +89 -0
- package/dist/modules/dom/states.js.map +1 -0
- package/dist/modules/dom/traversal.d.ts +246 -0
- package/dist/modules/dom/traversal.d.ts.map +1 -0
- package/dist/modules/dom/traversal.js +527 -0
- package/dist/modules/dom/traversal.js.map +1 -0
- package/dist/modules/effects/fade.d.ts +58 -0
- package/dist/modules/effects/fade.d.ts.map +1 -0
- package/dist/modules/effects/fade.js +104 -0
- package/dist/modules/effects/fade.js.map +1 -0
- package/dist/modules/effects/index.d.ts +40 -0
- package/dist/modules/effects/index.d.ts.map +1 -0
- package/dist/modules/effects/index.js +38 -0
- package/dist/modules/effects/index.js.map +1 -0
- package/dist/modules/effects/slide.d.ts +58 -0
- package/dist/modules/effects/slide.d.ts.map +1 -0
- package/dist/modules/effects/slide.js +103 -0
- package/dist/modules/effects/slide.js.map +1 -0
- package/dist/modules/effects/vertical.d.ts +58 -0
- package/dist/modules/effects/vertical.d.ts.map +1 -0
- package/dist/modules/effects/vertical.js +118 -0
- package/dist/modules/effects/vertical.js.map +1 -0
- package/dist/modules/events/binding.d.ts +47 -0
- package/dist/modules/events/binding.d.ts.map +1 -0
- package/dist/modules/events/binding.js +60 -0
- package/dist/modules/events/binding.js.map +1 -0
- package/dist/modules/events/form.d.ts +72 -0
- package/dist/modules/events/form.d.ts.map +1 -0
- package/dist/modules/events/form.js +106 -0
- package/dist/modules/events/form.js.map +1 -0
- package/dist/modules/events/index.d.ts +62 -0
- package/dist/modules/events/index.d.ts.map +1 -0
- package/dist/modules/events/index.js +53 -0
- package/dist/modules/events/index.js.map +1 -0
- package/dist/modules/events/keyboard.d.ts +65 -0
- package/dist/modules/events/keyboard.d.ts.map +1 -0
- package/dist/modules/events/keyboard.js +83 -0
- package/dist/modules/events/keyboard.js.map +1 -0
- package/dist/modules/events/lifecycle.d.ts +28 -0
- package/dist/modules/events/lifecycle.d.ts.map +1 -0
- package/dist/modules/events/lifecycle.js +40 -0
- package/dist/modules/events/lifecycle.js.map +1 -0
- package/dist/modules/events/mouse.d.ts +120 -0
- package/dist/modules/events/mouse.d.ts.map +1 -0
- package/dist/modules/events/mouse.js +172 -0
- package/dist/modules/events/mouse.js.map +1 -0
- package/dist/modules/events/touch.d.ts +61 -0
- package/dist/modules/events/touch.d.ts.map +1 -0
- package/dist/modules/events/touch.js +74 -0
- package/dist/modules/events/touch.js.map +1 -0
- package/dist/modules/http/get.d.ts +47 -0
- package/dist/modules/http/get.d.ts.map +1 -0
- package/dist/modules/http/get.js +65 -0
- package/dist/modules/http/get.js.map +1 -0
- package/dist/modules/http/index.d.ts +37 -0
- package/dist/modules/http/index.d.ts.map +1 -0
- package/dist/modules/http/index.js +42 -0
- package/dist/modules/http/index.js.map +1 -0
- package/dist/modules/http/post.d.ts +36 -0
- package/dist/modules/http/post.d.ts.map +1 -0
- package/dist/modules/http/post.js +54 -0
- package/dist/modules/http/post.js.map +1 -0
- package/dist/types.d.ts +61 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +15 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +51 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +71 -0
- package/dist/utils.js.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../../../src/modules/dom/attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,CAUrF;AAED;;;;;;;;;GASG;AACH,wBAAgB,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAe/D"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file src/modules/dom/attributes.ts
|
|
4
|
+
* @version 2.0.0
|
|
5
|
+
* @since 2.0.0
|
|
6
|
+
* @license GPL-3.0-or-later
|
|
7
|
+
* @copyright Sven Minio 2026
|
|
8
|
+
* @author Sven Minio <https://sven-minio.de>
|
|
9
|
+
* @category DOM
|
|
10
|
+
* @description
|
|
11
|
+
* * π¬π§: Methods for getting and setting HTML attributes and properties (attr, data, val).
|
|
12
|
+
* * π©πͺ: Methoden zum Lesen und Setzen von HTML-Attributen und Eigenschaften (attr, data, val).
|
|
13
|
+
* @requires ../../core
|
|
14
|
+
* * π¬π§: Depends on the core jBase class for type definitions.
|
|
15
|
+
* * π©πͺ: HΓ€ngt von der Core-jBase-Klasse fΓΌr Typ-Definitionen ab.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.attr = attr;
|
|
19
|
+
exports.val = val;
|
|
20
|
+
/**
|
|
21
|
+
* * π¬π§: Gets an attribute from the first element or sets it for all elements in the selection.
|
|
22
|
+
* * π©πͺ: Liest ein Attribut vom ersten Element oder setzt es fΓΌr alle Elemente in der Auswahl.
|
|
23
|
+
* @param name
|
|
24
|
+
* * π¬π§: The name of the attribute (e.g., 'href', 'data-id').
|
|
25
|
+
* * π©πͺ: Der Name des Attributs (z.B. 'href', 'data-id').
|
|
26
|
+
* @param value
|
|
27
|
+
* * π¬π§: (Optional) The value to set. If undefined, acts as a getter.
|
|
28
|
+
* * π©πͺ: (Optional) Der zu setzende Wert. Wenn nicht angegeben, wird gelesen.
|
|
29
|
+
* @returns
|
|
30
|
+
* * π¬π§: The attribute value (string/null) when reading, or the jBase instance when writing.
|
|
31
|
+
* * π©πͺ: Beim Lesen: Der Wert des Attributs (string/null). Beim Schreiben: Die jBase-Instanz.
|
|
32
|
+
*/
|
|
33
|
+
function attr(name, value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
const el = this[0];
|
|
36
|
+
return (el instanceof Element) ? el.getAttribute(name) : null;
|
|
37
|
+
}
|
|
38
|
+
this.forEach(el => {
|
|
39
|
+
if (el instanceof Element)
|
|
40
|
+
el.setAttribute(name, value);
|
|
41
|
+
});
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* * π¬π§: Gets the 'value' from the first form element or sets it for all elements. Supports Input, Textarea, and Select elements.
|
|
46
|
+
* * π©πͺ: Liest den 'value' vom ersten Formularelement oder setzt ihn fΓΌr alle Elemente. UnterstΓΌtzt Input-, Textarea- und Select-Elemente.
|
|
47
|
+
* @param value
|
|
48
|
+
* * π¬π§: (Optional) The value to set. If undefined, acts as a getter.
|
|
49
|
+
* * π©πͺ: (Optional) Der zu setzende Wert. Wenn nicht angegeben, wird gelesen.
|
|
50
|
+
* @returns
|
|
51
|
+
* * π¬π§: The current value as a string when reading, or the jBase instance when writing.
|
|
52
|
+
* * π©πͺ: Beim Lesen: Der aktuelle Wert als String. Beim Schreiben: Die jBase-Instanz.
|
|
53
|
+
*/
|
|
54
|
+
function val(value) {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
const el = this[0];
|
|
57
|
+
if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement || el instanceof HTMLSelectElement) {
|
|
58
|
+
return el.value;
|
|
59
|
+
}
|
|
60
|
+
return '';
|
|
61
|
+
}
|
|
62
|
+
this.forEach(el => {
|
|
63
|
+
if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement || el instanceof HTMLSelectElement) {
|
|
64
|
+
el.value = value;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=attributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attributes.js","sourceRoot":"","sources":["../../../src/modules/dom/attributes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAiBH,oBAUC;AAYD,kBAeC;AAlDD;;;;;;;;;;;;GAYG;AACH,SAAgB,IAAI,CAAc,IAAY,EAAE,KAAc;IAC1D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,OAAO,CAAC,EAAE,YAAY,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAClE,CAAC;IAED,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;QACd,IAAI,EAAE,YAAY,OAAO;YAAE,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AAChB,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,GAAG,CAAc,KAAc;IAC3C,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,IAAI,EAAE,YAAY,gBAAgB,IAAI,EAAE,YAAY,mBAAmB,IAAI,EAAE,YAAY,iBAAiB,EAAE,CAAC;YACzG,OAAO,EAAE,CAAC,KAAK,CAAC;QACpB,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;QACd,IAAI,EAAE,YAAY,gBAAgB,IAAI,EAAE,YAAY,mBAAmB,IAAI,EAAE,YAAY,iBAAiB,EAAE,CAAC;YACzG,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;QACrB,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file src/modules/dom/content.ts
|
|
3
|
+
* @version 2.0.0
|
|
4
|
+
* @since 2.0.0
|
|
5
|
+
* @license GPL-3.0-or-later
|
|
6
|
+
* @copyright Sven Minio 2026
|
|
7
|
+
* @author Sven Minio <https://sven-minio.de>
|
|
8
|
+
* @category DOM
|
|
9
|
+
* @description
|
|
10
|
+
* * π¬π§: Methods for getting and setting element content (html, text, empty, replaceWith).
|
|
11
|
+
* * π©πͺ: Methoden zum Lesen und Setzen von Elementinhalten (html, text, empty, replaceWith).
|
|
12
|
+
* @requires ../../core
|
|
13
|
+
* * π¬π§: Depends on the core jBase class for type definitions.
|
|
14
|
+
* * π©πͺ: HΓ€ngt von der Core-jBase-Klasse fΓΌr Typ-Definitionen ab.
|
|
15
|
+
*/
|
|
16
|
+
import { jBase } from '../../core';
|
|
17
|
+
/**
|
|
18
|
+
* * π¬π§: Gets the HTML content of the first element or sets the HTML content for all elements in the selection.
|
|
19
|
+
* * π©πͺ: Ruft den HTML-Inhalt des ersten Elements ab oder setzt den HTML-Inhalt fΓΌr alle Elemente in der Auswahl.
|
|
20
|
+
* @param content
|
|
21
|
+
* * π¬π§: (Optional) The HTML string to set.
|
|
22
|
+
* * π©πͺ: (Optional) Der HTML-String, der gesetzt werden soll.
|
|
23
|
+
* @returns
|
|
24
|
+
* * π¬π§: The HTML string (getter) or the current jBase instance (setter).
|
|
25
|
+
* * π©πͺ: Der HTML-String (Getter) oder die aktuelle jBase-Instanz (Setter).
|
|
26
|
+
*/
|
|
27
|
+
export declare function html(this: jBase, content?: string): string | jBase;
|
|
28
|
+
/**
|
|
29
|
+
* * π¬π§: Gets the text content of the first element or sets it for all elements. Safe against XSS attacks.
|
|
30
|
+
* * π©πͺ: Ruft den reinen Text-Inhalt des ersten Elements ab oder setzt ihn fΓΌr alle Elemente. Sicher gegen XSS-Angriffe.
|
|
31
|
+
* @param content
|
|
32
|
+
* * π¬π§: (Optional) The text content to set.
|
|
33
|
+
* * π©πͺ: (Optional) Der Text, der gesetzt werden soll.
|
|
34
|
+
* @returns
|
|
35
|
+
* * π¬π§: The text content (getter) or the current jBase instance (setter).
|
|
36
|
+
* * π©πͺ: Der Text-Inhalt (Getter) oder die aktuelle jBase-Instanz (Setter).
|
|
37
|
+
*/
|
|
38
|
+
export declare function text(this: jBase, content?: string): string | jBase;
|
|
39
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/modules/dom/content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CASlE;AAED;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAYlE"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file src/modules/dom/content.ts
|
|
4
|
+
* @version 2.0.0
|
|
5
|
+
* @since 2.0.0
|
|
6
|
+
* @license GPL-3.0-or-later
|
|
7
|
+
* @copyright Sven Minio 2026
|
|
8
|
+
* @author Sven Minio <https://sven-minio.de>
|
|
9
|
+
* @category DOM
|
|
10
|
+
* @description
|
|
11
|
+
* * π¬π§: Methods for getting and setting element content (html, text, empty, replaceWith).
|
|
12
|
+
* * π©πͺ: Methoden zum Lesen und Setzen von Elementinhalten (html, text, empty, replaceWith).
|
|
13
|
+
* @requires ../../core
|
|
14
|
+
* * π¬π§: Depends on the core jBase class for type definitions.
|
|
15
|
+
* * π©πͺ: HΓ€ngt von der Core-jBase-Klasse fΓΌr Typ-Definitionen ab.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.html = html;
|
|
19
|
+
exports.text = text;
|
|
20
|
+
/**
|
|
21
|
+
* * π¬π§: Gets the HTML content of the first element or sets the HTML content for all elements in the selection.
|
|
22
|
+
* * π©πͺ: Ruft den HTML-Inhalt des ersten Elements ab oder setzt den HTML-Inhalt fΓΌr alle Elemente in der Auswahl.
|
|
23
|
+
* @param content
|
|
24
|
+
* * π¬π§: (Optional) The HTML string to set.
|
|
25
|
+
* * π©πͺ: (Optional) Der HTML-String, der gesetzt werden soll.
|
|
26
|
+
* @returns
|
|
27
|
+
* * π¬π§: The HTML string (getter) or the current jBase instance (setter).
|
|
28
|
+
* * π©πͺ: Der HTML-String (Getter) oder die aktuelle jBase-Instanz (Setter).
|
|
29
|
+
*/
|
|
30
|
+
function html(content) {
|
|
31
|
+
if (content === undefined) {
|
|
32
|
+
const el = this[0];
|
|
33
|
+
return (el instanceof Element) ? el.innerHTML : '';
|
|
34
|
+
}
|
|
35
|
+
this.forEach(el => {
|
|
36
|
+
if (el instanceof Element)
|
|
37
|
+
el.innerHTML = content;
|
|
38
|
+
});
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* * π¬π§: Gets the text content of the first element or sets it for all elements. Safe against XSS attacks.
|
|
43
|
+
* * π©πͺ: Ruft den reinen Text-Inhalt des ersten Elements ab oder setzt ihn fΓΌr alle Elemente. Sicher gegen XSS-Angriffe.
|
|
44
|
+
* @param content
|
|
45
|
+
* * π¬π§: (Optional) The text content to set.
|
|
46
|
+
* * π©πͺ: (Optional) Der Text, der gesetzt werden soll.
|
|
47
|
+
* @returns
|
|
48
|
+
* * π¬π§: The text content (getter) or the current jBase instance (setter).
|
|
49
|
+
* * π©πͺ: Der Text-Inhalt (Getter) oder die aktuelle jBase-Instanz (Setter).
|
|
50
|
+
*/
|
|
51
|
+
function text(content) {
|
|
52
|
+
if (content === undefined) {
|
|
53
|
+
const el = this[0];
|
|
54
|
+
return (el instanceof Node) ? (el.textContent || '') : '';
|
|
55
|
+
}
|
|
56
|
+
this.forEach(el => {
|
|
57
|
+
if (el instanceof HTMLElement) {
|
|
58
|
+
el.textContent = content;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../src/modules/dom/content.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAcH,oBASC;AAYD,oBAYC;AA3CD;;;;;;;;;GASG;AACH,SAAgB,IAAI,CAAc,OAAgB;IAC9C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,OAAO,CAAC,EAAE,YAAY,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACvD,CAAC;IACD,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;QACd,IAAI,EAAE,YAAY,OAAO;YAAE,EAAE,CAAC,SAAS,GAAG,OAAO,CAAC;IACtD,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AAChB,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,IAAI,CAAc,OAAgB;IAC9C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,OAAO,CAAC,EAAE,YAAY,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9D,CAAC;IAED,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;QACd,IAAI,EAAE,YAAY,WAAW,EAAE,CAAC;YAC5B,EAAE,CAAC,WAAW,GAAG,OAAO,CAAC;QAC7B,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file src/modules/dom/index.ts
|
|
3
|
+
* @version 2.0.0
|
|
4
|
+
* @since 2.0.0
|
|
5
|
+
* @license GPL-3.0-or-later
|
|
6
|
+
* @copyright Sven Minio 2026
|
|
7
|
+
* @author Sven Minio <https://sven-minio.de>
|
|
8
|
+
* @category DOM
|
|
9
|
+
* @description
|
|
10
|
+
* * π¬π§: Central entry point for DOM operations. Aggregates methods for attributes, content, manipulation, traversal, and states.
|
|
11
|
+
* * π©πͺ: Zentraler Einstiegspunkt fΓΌr DOM-Operationen. Aggregiert Methoden fΓΌr Attribute, Inhalt, Manipulation, Traversierung und Status.
|
|
12
|
+
* @requires ./attributes
|
|
13
|
+
* * π¬π§: Attribute and value manipulation.
|
|
14
|
+
* * π©πͺ: Attribut- und Wert-Manipulation.
|
|
15
|
+
* @requires ./content
|
|
16
|
+
* * π¬π§: Content handling (html, text).
|
|
17
|
+
* * π©πͺ: Inhalts-Steuerung (html, text).
|
|
18
|
+
* @requires ./manipulation
|
|
19
|
+
* * π¬π§: DOM manipulation (append, remove, etc.).
|
|
20
|
+
* * π©πͺ: DOM-Manipulation (append, remove, etc.).
|
|
21
|
+
* @requires ./traversal
|
|
22
|
+
* * π¬π§: Tree traversal (find, parent, children).
|
|
23
|
+
* * π©πͺ: Baum-Durchquerung (find, parent, children).
|
|
24
|
+
* @requires ./states
|
|
25
|
+
* * π¬π§: State checks (checked, disabled).
|
|
26
|
+
* * π©πͺ: Status-PrΓΌfungen (checked, disabled).
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* * π¬π§: Aggregation of all DOM methods. Bundles specialized sub-modules into a single interface. Used to extend the jBase prototype centrally via Object.assign.
|
|
30
|
+
* * π©πͺ: Aggregation aller DOM-Methoden. BΓΌndelt spezialisierte Untermodule in einer einzigen Schnittstelle. Dient als Quelle fΓΌr das Object.assign zur zentralen Erweiterung des jBase-Prototyps.
|
|
31
|
+
*/
|
|
32
|
+
export declare const domMethods: {
|
|
33
|
+
checked(this: import("../..").JBaseClass, state?: boolean): boolean | import("../..").JBaseClass;
|
|
34
|
+
selected(this: import("../..").JBaseClass, state?: boolean): boolean | import("../..").JBaseClass;
|
|
35
|
+
disabled(this: import("../..").JBaseClass, state?: boolean): boolean | import("../..").JBaseClass;
|
|
36
|
+
closest(this: import("../..").JBaseClass, selector: string): import("../..").JBaseClass;
|
|
37
|
+
parent(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
38
|
+
children(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
39
|
+
findAll(this: import("../..").JBaseClass, selector: string): import("../..").JBaseClass;
|
|
40
|
+
descendants(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
41
|
+
parents(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
42
|
+
parentsUntil(this: import("../..").JBaseClass, selector: string, filter?: string): import("../..").JBaseClass;
|
|
43
|
+
descendantsUntil(this: import("../..").JBaseClass, untilSelector: string, filter?: string): import("../..").JBaseClass;
|
|
44
|
+
next(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
45
|
+
prev(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
46
|
+
nextSibling(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
47
|
+
prevSibling(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
48
|
+
sibling(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
49
|
+
nextAll(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
50
|
+
prevAll(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
51
|
+
siblings(this: import("../..").JBaseClass, selector?: string): import("../..").JBaseClass;
|
|
52
|
+
nextUntil(this: import("../..").JBaseClass, untilSelector: string, filter?: string): import("../..").JBaseClass;
|
|
53
|
+
prevUntil(this: import("../..").JBaseClass, untilSelector: string, filter?: string): import("../..").JBaseClass;
|
|
54
|
+
eq(this: import("../..").JBaseClass, index: number): import("../..").JBaseClass;
|
|
55
|
+
first(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
56
|
+
last(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
57
|
+
filterBy(this: import("../..").JBaseClass, selectorOrFn: string | ((index: number, element: Element) => boolean)): import("../..").JBaseClass;
|
|
58
|
+
not(this: import("../..").JBaseClass, selectorOrFn: string | ((index: number, element: Element) => boolean)): import("../..").JBaseClass;
|
|
59
|
+
remove(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
60
|
+
empty(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
61
|
+
replaceWithClone(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
62
|
+
append(this: import("../..").JBaseClass, content: string | Node | import("../..").JBaseClass): import("../..").JBaseClass;
|
|
63
|
+
prepend(this: import("../..").JBaseClass, content: string | Node | import("../..").JBaseClass): import("../..").JBaseClass;
|
|
64
|
+
before(this: import("../..").JBaseClass, content: string | Node | import("../..").JBaseClass): import("../..").JBaseClass;
|
|
65
|
+
after(this: import("../..").JBaseClass, content: string | Node | import("../..").JBaseClass): import("../..").JBaseClass;
|
|
66
|
+
replaceWith(this: import("../..").JBaseClass, content: string | Node | import("../..").JBaseClass): import("../..").JBaseClass;
|
|
67
|
+
appendTo(this: import("../..").JBaseClass, target: string | Element): import("../..").JBaseClass;
|
|
68
|
+
prependTo(this: import("../..").JBaseClass, target: string | Element): import("../..").JBaseClass;
|
|
69
|
+
insertBefore(this: import("../..").JBaseClass, target: string | Element): import("../..").JBaseClass;
|
|
70
|
+
insertAfter(this: import("../..").JBaseClass, target: string | Element): import("../..").JBaseClass;
|
|
71
|
+
wrap(this: import("../..").JBaseClass, wrapperHtml: string): import("../..").JBaseClass;
|
|
72
|
+
unwrap(this: import("../..").JBaseClass): import("../..").JBaseClass;
|
|
73
|
+
html(this: import("../..").JBaseClass, content?: string): string | import("../..").JBaseClass;
|
|
74
|
+
text(this: import("../..").JBaseClass, content?: string): string | import("../..").JBaseClass;
|
|
75
|
+
attr(this: import("../..").JBaseClass, name: string, value?: string): string | null | import("../..").JBaseClass;
|
|
76
|
+
val(this: import("../..").JBaseClass, value?: string): string | import("../..").JBaseClass;
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/dom/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAQH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file src/modules/dom/index.ts
|
|
4
|
+
* @version 2.0.0
|
|
5
|
+
* @since 2.0.0
|
|
6
|
+
* @license GPL-3.0-or-later
|
|
7
|
+
* @copyright Sven Minio 2026
|
|
8
|
+
* @author Sven Minio <https://sven-minio.de>
|
|
9
|
+
* @category DOM
|
|
10
|
+
* @description
|
|
11
|
+
* * π¬π§: Central entry point for DOM operations. Aggregates methods for attributes, content, manipulation, traversal, and states.
|
|
12
|
+
* * π©πͺ: Zentraler Einstiegspunkt fΓΌr DOM-Operationen. Aggregiert Methoden fΓΌr Attribute, Inhalt, Manipulation, Traversierung und Status.
|
|
13
|
+
* @requires ./attributes
|
|
14
|
+
* * π¬π§: Attribute and value manipulation.
|
|
15
|
+
* * π©πͺ: Attribut- und Wert-Manipulation.
|
|
16
|
+
* @requires ./content
|
|
17
|
+
* * π¬π§: Content handling (html, text).
|
|
18
|
+
* * π©πͺ: Inhalts-Steuerung (html, text).
|
|
19
|
+
* @requires ./manipulation
|
|
20
|
+
* * π¬π§: DOM manipulation (append, remove, etc.).
|
|
21
|
+
* * π©πͺ: DOM-Manipulation (append, remove, etc.).
|
|
22
|
+
* @requires ./traversal
|
|
23
|
+
* * π¬π§: Tree traversal (find, parent, children).
|
|
24
|
+
* * π©πͺ: Baum-Durchquerung (find, parent, children).
|
|
25
|
+
* @requires ./states
|
|
26
|
+
* * π¬π§: State checks (checked, disabled).
|
|
27
|
+
* * π©πͺ: Status-PrΓΌfungen (checked, disabled).
|
|
28
|
+
*/
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.domMethods = void 0;
|
|
31
|
+
const tslib_1 = require("tslib");
|
|
32
|
+
const attributeMethods = tslib_1.__importStar(require("./attributes"));
|
|
33
|
+
const contentMethods = tslib_1.__importStar(require("./content"));
|
|
34
|
+
const manipulationMethods = tslib_1.__importStar(require("./manipulation"));
|
|
35
|
+
const traversalMethods = tslib_1.__importStar(require("./traversal"));
|
|
36
|
+
const stateMethods = tslib_1.__importStar(require("./states"));
|
|
37
|
+
/**
|
|
38
|
+
* * π¬π§: Aggregation of all DOM methods. Bundles specialized sub-modules into a single interface. Used to extend the jBase prototype centrally via Object.assign.
|
|
39
|
+
* * π©πͺ: Aggregation aller DOM-Methoden. BΓΌndelt spezialisierte Untermodule in einer einzigen Schnittstelle. Dient als Quelle fΓΌr das Object.assign zur zentralen Erweiterung des jBase-Prototyps.
|
|
40
|
+
*/
|
|
41
|
+
exports.domMethods = {
|
|
42
|
+
...attributeMethods,
|
|
43
|
+
...contentMethods,
|
|
44
|
+
...manipulationMethods,
|
|
45
|
+
...traversalMethods,
|
|
46
|
+
...stateMethods
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/dom/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;;;;AAEH,uEAAiD;AACjD,kEAA4C;AAC5C,4EAAsD;AACtD,sEAAgD;AAChD,+DAAyC;AAEzC;;;GAGG;AACU,QAAA,UAAU,GAAG;IACtB,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,mBAAmB;IACtB,GAAG,gBAAgB;IACnB,GAAG,YAAY;CAClB,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file src/modules/dom/manipulation.ts
|
|
3
|
+
* @version 2.0.0
|
|
4
|
+
* @since 2.0.0
|
|
5
|
+
* @license GPL-3.0-or-later
|
|
6
|
+
* @copyright Sven Minio 2026
|
|
7
|
+
* @author Sven Minio <https://sven-minio.de>
|
|
8
|
+
* @category DOM
|
|
9
|
+
* @description
|
|
10
|
+
* * π¬π§: Methods for inserting, moving, and removing elements (append, prepend, remove).
|
|
11
|
+
* * π©πͺ: Methoden zum EinfΓΌgen, Verschieben und Entfernen von Elementen (append, prepend, remove).
|
|
12
|
+
* @requires ../../core
|
|
13
|
+
* * π¬π§: Depends on the core jBase class for type definitions.
|
|
14
|
+
* * π©πͺ: HΓ€ngt von der Core-jBase-Klasse fΓΌr Typ-Definitionen ab.
|
|
15
|
+
*/
|
|
16
|
+
import { jBase } from '../../core';
|
|
17
|
+
/**
|
|
18
|
+
* * π¬π§: Removes the selected elements from the DOM.
|
|
19
|
+
* * π©πͺ: Entfernt die ausgewΓ€hlten Elemente vollstΓ€ndig aus dem DOM.
|
|
20
|
+
* @returns
|
|
21
|
+
* * π¬π§: The current jBase instance.
|
|
22
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
23
|
+
*/
|
|
24
|
+
export declare function remove(this: jBase): jBase;
|
|
25
|
+
/**
|
|
26
|
+
* * π¬π§: Removes all child nodes and text content from the selected elements.
|
|
27
|
+
* * π©πͺ: Entfernt alle Kind-Elemente und Textknoten aus den ausgewΓ€hlten Elementen.
|
|
28
|
+
* @returns
|
|
29
|
+
* * π¬π§: The current jBase instance.
|
|
30
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
31
|
+
*/
|
|
32
|
+
export declare function empty(this: jBase): jBase;
|
|
33
|
+
/**
|
|
34
|
+
* * π¬π§: Replaces each element with a deep clone of itself. Useful for removing all event listeners ("Nuke" strategy).
|
|
35
|
+
* * π©πͺ: Ersetzt jedes Element durch eine tiefe Kopie seiner selbst. NΓΌtzlich, um alle Event-Listener hart zu entfernen.
|
|
36
|
+
* @returns
|
|
37
|
+
* * π¬π§: A new jBase instance containing the cloned elements.
|
|
38
|
+
* * π©πͺ: Eine neue jBase-Instanz, die die geklonten Elemente enthΓ€lt.
|
|
39
|
+
*/
|
|
40
|
+
export declare function replaceWithClone(this: jBase): jBase;
|
|
41
|
+
/**
|
|
42
|
+
* * π¬π§: Inserts content at the end of each selected element (inside).
|
|
43
|
+
* * π©πͺ: FΓΌgt Inhalt am Ende jedes Elements in der Sammlung ein (innerhalb).
|
|
44
|
+
* @param content
|
|
45
|
+
* * π¬π§: HTML string, DOM Node, or jBase collection.
|
|
46
|
+
* * π©πͺ: HTML-String, DOM-Node oder jBase-Sammlung.
|
|
47
|
+
* @returns
|
|
48
|
+
* * π¬π§: The current jBase instance.
|
|
49
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
50
|
+
*/
|
|
51
|
+
export declare function append(this: jBase, content: string | Node | jBase): jBase;
|
|
52
|
+
/**
|
|
53
|
+
* * π¬π§: Inserts content at the beginning of each selected element (inside).
|
|
54
|
+
* * π©πͺ: FΓΌgt Inhalt am Anfang jedes Elements in der Sammlung ein (innerhalb).
|
|
55
|
+
* @param content
|
|
56
|
+
* * π¬π§: HTML string, DOM Node, or jBase collection.
|
|
57
|
+
* * π©πͺ: HTML-String, DOM-Node oder jBase-Sammlung.
|
|
58
|
+
* @returns
|
|
59
|
+
* * π¬π§: The current jBase instance.
|
|
60
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
61
|
+
*/
|
|
62
|
+
export declare function prepend(this: jBase, content: string | Node | jBase): jBase;
|
|
63
|
+
/**
|
|
64
|
+
* * π¬π§: Inserts content before the element (outside).
|
|
65
|
+
* * π©πͺ: FΓΌgt Inhalt VOR dem Element ein (auΓerhalb).
|
|
66
|
+
* @param content
|
|
67
|
+
* * π¬π§: HTML string, DOM Node, or jBase collection.
|
|
68
|
+
* * π©πͺ: HTML-String, DOM-Node oder jBase-Sammlung.
|
|
69
|
+
* @returns
|
|
70
|
+
* * π¬π§: The current jBase instance.
|
|
71
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
72
|
+
*/
|
|
73
|
+
export declare function before(this: jBase, content: string | Node | jBase): jBase;
|
|
74
|
+
/**
|
|
75
|
+
* * π¬π§: Inserts content after the element (outside).
|
|
76
|
+
* * π©πͺ: FΓΌgt Inhalt NACH dem Element ein (auΓerhalb).
|
|
77
|
+
* @param content
|
|
78
|
+
* * π¬π§: HTML string, DOM Node, or jBase collection.
|
|
79
|
+
* * π©πͺ: HTML-String, DOM-Node oder jBase-Sammlung.
|
|
80
|
+
* @returns
|
|
81
|
+
* * π¬π§: The current jBase instance.
|
|
82
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
83
|
+
*/
|
|
84
|
+
export declare function after(this: jBase, content: string | Node | jBase): jBase;
|
|
85
|
+
/**
|
|
86
|
+
* * π¬π§: Replaces the element with new content.
|
|
87
|
+
* * π©πͺ: Ersetzt das Element durch neuen Inhalt.
|
|
88
|
+
* @param content
|
|
89
|
+
* * π¬π§: The new content.
|
|
90
|
+
* * π©πͺ: Der neue Inhalt.
|
|
91
|
+
* @returns
|
|
92
|
+
* * π¬π§: The current jBase instance.
|
|
93
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
94
|
+
*/
|
|
95
|
+
export declare function replaceWith(this: jBase, content: string | Node | jBase): jBase;
|
|
96
|
+
/**
|
|
97
|
+
* * π¬π§: Appends the selected elements to the end of a target element.
|
|
98
|
+
* * π©πͺ: HΓ€ngt die aktuellen Elemente an das Ende des Ziel-Elements an.
|
|
99
|
+
* @param target
|
|
100
|
+
* * π¬π§: CSS selector or DOM element.
|
|
101
|
+
* * π©πͺ: Der CSS-Selektor oder das DOM-Element.
|
|
102
|
+
* @returns
|
|
103
|
+
* * π¬π§: The current jBase instance.
|
|
104
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
105
|
+
*/
|
|
106
|
+
export declare function appendTo(this: jBase, target: string | Element): jBase;
|
|
107
|
+
/**
|
|
108
|
+
* * π¬π§: Prepends the selected elements to the beginning of a target element.
|
|
109
|
+
* * π©πͺ: FΓΌgt die aktuellen Elemente am Anfang des Ziel-Elements ein.
|
|
110
|
+
* @param target
|
|
111
|
+
* * π¬π§: CSS selector or DOM element.
|
|
112
|
+
* * π©πͺ: Der CSS-Selektor oder das DOM-Element.
|
|
113
|
+
* @returns
|
|
114
|
+
* * π¬π§: The current jBase instance.
|
|
115
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
116
|
+
*/
|
|
117
|
+
export declare function prependTo(this: jBase, target: string | Element): jBase;
|
|
118
|
+
/**
|
|
119
|
+
* * π¬π§: Inserts the selected elements immediately before the target element.
|
|
120
|
+
* * π©πͺ: FΓΌgt die aktuellen Elemente unmittelbar VOR dem Ziel-Element ein.
|
|
121
|
+
* @param target
|
|
122
|
+
* * π¬π§: CSS selector or DOM element.
|
|
123
|
+
* * π©πͺ: Der CSS-Selektor oder das DOM-Element.
|
|
124
|
+
* @returns
|
|
125
|
+
* * π¬π§: The current jBase instance.
|
|
126
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
127
|
+
*/
|
|
128
|
+
export declare function insertBefore(this: jBase, target: string | Element): jBase;
|
|
129
|
+
/**
|
|
130
|
+
* * π¬π§: Inserts the selected elements immediately after the target element.
|
|
131
|
+
* * π©πͺ: FΓΌgt die aktuellen Elemente unmittelbar NACH dem Ziel-Element ein.
|
|
132
|
+
* @param target
|
|
133
|
+
* * π¬π§: CSS selector or DOM element.
|
|
134
|
+
* * π©πͺ: Der CSS-Selektor oder das DOM-Element.
|
|
135
|
+
* @returns
|
|
136
|
+
* * π¬π§: The current jBase instance.
|
|
137
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
138
|
+
*/
|
|
139
|
+
export declare function insertAfter(this: jBase, target: string | Element): jBase;
|
|
140
|
+
/**
|
|
141
|
+
* * π¬π§: Wraps each selected element with the specified HTML structure.
|
|
142
|
+
* * π©πͺ: UmschlieΓt jedes Element in der Auswahl mit der angegebenen HTML-Struktur.
|
|
143
|
+
* @param wrapperHtml
|
|
144
|
+
* * π¬π§: HTML string defining the wrapper (e.g., `<div class="box"></div>`).
|
|
145
|
+
* * π©πͺ: Ein HTML-String, der die Wrapper-Struktur definiert (z.B. `<div class="box"></div>`).
|
|
146
|
+
* @returns
|
|
147
|
+
* * π¬π§: The current jBase instance.
|
|
148
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
149
|
+
*/
|
|
150
|
+
export declare function wrap(this: jBase, wrapperHtml: string): jBase;
|
|
151
|
+
/**
|
|
152
|
+
* * π¬π§: Removes the direct parent of the selected elements from the DOM.
|
|
153
|
+
* * π©πͺ: Entfernt das direkte Elternelement der ausgewΓ€hlten Elemente aus dem DOM.
|
|
154
|
+
* @returns
|
|
155
|
+
* * π¬π§: The current jBase instance.
|
|
156
|
+
* * π©πͺ: Die aktuelle jBase-Instanz.
|
|
157
|
+
*/
|
|
158
|
+
export declare function unwrap(this: jBase): jBase;
|
|
159
|
+
//# sourceMappingURL=manipulation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manipulation.d.ts","sourceRoot":"","sources":["../../../src/modules/dom/manipulation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAqCnC;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,CAKzC;AAED;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,CAKxC;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,CAWnD;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAWzE;AAED;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAU1E;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAUzE;AAED;;;;;;;;;GASG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAUxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAU9E;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAUrE;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAUtE;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAUzE;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAUxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,KAAK,CAW5D;AAED;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,CAYzC"}
|