@base-framework/base 3.7.26 → 3.7.29

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.
@@ -33,15 +33,6 @@ export class Tracker {
33
33
  * @returns {boolean}
34
34
  */
35
35
  has(type: any): boolean;
36
- /**
37
- * This will call the callBack with the data.
38
- *
39
- * @private
40
- * @param {function} callBack
41
- * @param {*} data
42
- * @returns {void}
43
- */
44
- private removeByCallBack;
45
36
  /**
46
37
  * This will remove the data by type.
47
38
  *
@@ -92,7 +92,7 @@ export namespace Events {
92
92
  * @returns {object} a reference to the events object.
93
93
  */
94
94
  function removeEvents(obj: object): object;
95
- let swap: Array<any>;
95
+ let swap: Set<string>;
96
96
  /**
97
97
  * This will a event type to the swappable array.
98
98
  *
@@ -24,11 +24,11 @@ export class Unit {
24
24
  * This will create a unit.
25
25
  *
26
26
  * @constructor
27
- * @param {object} [first]
27
+ * @param {any} [first]
28
28
  * @param {*} [second]
29
29
  * @param {*} [third]
30
30
  */
31
- constructor(first?: object, second?: any, third?: any);
31
+ constructor(first?: any, second?: any, third?: any);
32
32
  /**
33
33
  * @type {boolean} isUnit
34
34
  */
@@ -9,33 +9,17 @@ export class HtmlToString {
9
9
  /**
10
10
  * This will create a node string.
11
11
  *
12
+ * Single-pass over attrs array replaces the previous
13
+ * three-pass approach (getInnerContent + getInnerHtml +
14
+ * createAttributes), eliminating intermediate allocations
15
+ * and the unsafe splice-during-forEach pattern.
16
+ *
12
17
  * @param {string} tag
13
18
  * @param {Array<any>} attrs
14
19
  * @param {string} children
15
20
  * @returns {string}
16
21
  */
17
22
  static create(tag: string, attrs?: Array<any>, children?: string): string;
18
- /**
19
- * This will get the inner content.
20
- *
21
- * @param {object} attrs
22
- * @returns {string}
23
- */
24
- static getInnerContent(attrs: object): string;
25
- /**
26
- * This will get the inner html.
27
- *
28
- * @param {object} attrs
29
- * @returns {string}
30
- */
31
- static getInnerHtml(attrs: object): string;
32
- /**
33
- * This will create a text node.
34
- *
35
- * @param {Array<any>} attrs
36
- * @returns {string}
37
- */
38
- static createAttributes(attrs?: Array<any>): string;
39
23
  /**
40
24
  * This will create a text node.
41
25
  *
@@ -109,7 +109,7 @@ export class Route extends BasicData {
109
109
  *
110
110
  * @param {object} values
111
111
  */
112
- setParams(values: object): void;
112
+ setParams(values: object, offset?: number): void;
113
113
  /**
114
114
  * This will get the params.
115
115
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.7.26",
3
+ "version": "3.7.29",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",