cloud-ide-shared 1.0.74 → 1.0.78
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/fesm2022/cloud-ide-shared.mjs +79 -5
- package/fesm2022/cloud-ide-shared.mjs.map +1 -1
- package/index.d.ts +9 -0
- package/package.json +1 -1
- package/README.md +0 -63
package/index.d.ts
CHANGED
|
@@ -1095,7 +1095,16 @@ declare class CideSharedOrgStructureComponent implements OnInit {
|
|
|
1095
1095
|
loading: _angular_core.WritableSignal<boolean>;
|
|
1096
1096
|
error: _angular_core.WritableSignal<string | null>;
|
|
1097
1097
|
orgStructure: _angular_core.WritableSignal<CoreSystemEntityListResponse[]>;
|
|
1098
|
+
/** Set of node IDs that are expanded (children visible). Default: all expanded. */
|
|
1099
|
+
expandedIds: _angular_core.WritableSignal<Set<string>>;
|
|
1098
1100
|
ngOnInit(): void;
|
|
1101
|
+
/** Collect all node IDs from tree (for expand all / collapse all). */
|
|
1102
|
+
getAllNodeIds(nodes: CoreSystemEntityListResponse[]): Set<string>;
|
|
1103
|
+
isExpanded(nodeId: string | undefined): boolean;
|
|
1104
|
+
toggleExpand(nodeId: string | undefined): void;
|
|
1105
|
+
expandAll(): void;
|
|
1106
|
+
collapseAll(): void;
|
|
1107
|
+
hasChildren(node: CoreSystemEntityListResponse): boolean;
|
|
1099
1108
|
/**
|
|
1100
1109
|
* Load organization structure
|
|
1101
1110
|
*/
|
package/package.json
CHANGED
package/README.md
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# CloudIdeShared
|
|
2
|
-
|
|
3
|
-
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.1.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
ng generate component component-name
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
ng generate --help
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Building
|
|
20
|
-
|
|
21
|
-
To build the library, run:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
ng build cloud-ide-shared
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
30
|
-
|
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
|
32
|
-
|
|
33
|
-
1. Navigate to the `dist` directory:
|
|
34
|
-
```bash
|
|
35
|
-
cd dist/cloud-ide-shared
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
-
```bash
|
|
40
|
-
npm publish
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Running unit tests
|
|
44
|
-
|
|
45
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
ng test
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Running end-to-end tests
|
|
52
|
-
|
|
53
|
-
For end-to-end (e2e) testing, run:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
ng e2e
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
-
|
|
61
|
-
## Additional Resources
|
|
62
|
-
|
|
63
|
-
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|