angular-toolbox 0.9.1 → 0.9.2
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/README.md +1 -1
- package/esm2022/lib/core/impl/lang/identifiable-component.mjs +18 -2
- package/esm2022/lib/model/business/lang/identifiable.mjs +1 -1
- package/fesm2022/angular-toolbox.mjs +17 -1
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/lib/core/impl/lang/identifiable-component.d.ts +18 -0
- package/lib/model/business/lang/identifiable.d.ts +7 -0
- package/package.json +1 -1
|
@@ -13,14 +13,32 @@ import { Uuid } from "../../../util";
|
|
|
13
13
|
* Angular Toolbox Subscription Service.
|
|
14
14
|
*/
|
|
15
15
|
export declare class IdentifiableComponent implements Identifiable {
|
|
16
|
+
/**
|
|
17
|
+
* @private
|
|
18
|
+
*/
|
|
19
|
+
private readonly _classRef;
|
|
16
20
|
/**
|
|
17
21
|
* @private
|
|
18
22
|
*/
|
|
19
23
|
private readonly _uuid;
|
|
24
|
+
/**
|
|
25
|
+
* A string that represent the class reference for this object.
|
|
26
|
+
* This can be useful to workaround TypeScript compilation obfuscation.
|
|
27
|
+
*
|
|
28
|
+
* @param classRef The class reference for this object.
|
|
29
|
+
*/
|
|
30
|
+
constructor(classRef?: string | undefined);
|
|
20
31
|
/**
|
|
21
32
|
* Returns the unique identifier for this object.
|
|
22
33
|
*
|
|
23
34
|
* @returns An instance of the `Uuid` class.
|
|
24
35
|
*/
|
|
25
36
|
getID(): Uuid;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the class name reference of this object. Can be either the `classRef`
|
|
39
|
+
* paramter of the contructor method, or the constructor `name` property value.
|
|
40
|
+
*
|
|
41
|
+
* @returns the class name reference of this object.
|
|
42
|
+
*/
|
|
43
|
+
getClassRef(): string;
|
|
26
44
|
}
|
|
@@ -16,4 +16,11 @@ export interface Identifiable {
|
|
|
16
16
|
* @returns An instance of the `Uuid` class.
|
|
17
17
|
*/
|
|
18
18
|
getID(): Uuid;
|
|
19
|
+
/**
|
|
20
|
+
* Returns the class name reference of this object.
|
|
21
|
+
* This can be useful to workaround TypeScript compilation obfuscation.
|
|
22
|
+
*
|
|
23
|
+
* @returns the class name reference of this object.
|
|
24
|
+
*/
|
|
25
|
+
getClassRef(): string;
|
|
19
26
|
}
|