@meshmakers/shared-services 3.3.34 → 3.3.390
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 +40 -13
- package/fesm2022/meshmakers-shared-services.mjs +583 -348
- package/fesm2022/meshmakers-shared-services.mjs.map +1 -1
- package/package.json +5 -5
- package/types/meshmakers-shared-services.d.ts +304 -0
- package/index.d.ts +0 -189
package/README.md
CHANGED
|
@@ -1,24 +1,51 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @meshmakers/shared-services
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Angular library providing shared services for Octo Mesh Platform applications.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Includes message service, navigation, breadcrumbs, command infrastructure, and utility services.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
> Note: Don't forget to add `--project shared-services` or else it will be added to the default project in your `angular.json` file.
|
|
7
|
+
Part of the [@meshmakers](https://www.npmjs.com/org/meshmakers) package ecosystem.
|
|
9
8
|
|
|
10
|
-
##
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @meshmakers/shared-services
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
// app.config.ts
|
|
19
|
+
import { provideMmSharedServices } from '@meshmakers/shared-services';
|
|
11
20
|
|
|
12
|
-
|
|
21
|
+
export const appConfig: ApplicationConfig = {
|
|
22
|
+
providers: [
|
|
23
|
+
provideMmSharedServices(),
|
|
24
|
+
]
|
|
25
|
+
};
|
|
26
|
+
```
|
|
13
27
|
|
|
14
|
-
##
|
|
28
|
+
## Available Services
|
|
29
|
+
|
|
30
|
+
| Service | Description |
|
|
31
|
+
|---------|-------------|
|
|
32
|
+
| `MessageService` | User-facing messages (info, warning, error) |
|
|
33
|
+
| `BreadCrumbService` | Navigation breadcrumb management |
|
|
34
|
+
| `CommandService` | Command execution infrastructure |
|
|
35
|
+
| `ProgressNotifierService` | Progress reporting and cancellation |
|
|
36
|
+
|
|
37
|
+
## Build
|
|
15
38
|
|
|
16
|
-
|
|
39
|
+
```bash
|
|
40
|
+
npm run build:shared-services
|
|
41
|
+
```
|
|
17
42
|
|
|
18
|
-
##
|
|
43
|
+
## Test
|
|
19
44
|
|
|
20
|
-
|
|
45
|
+
```bash
|
|
46
|
+
npm test -- --project=@meshmakers/shared-services --watch=false
|
|
47
|
+
```
|
|
21
48
|
|
|
22
|
-
##
|
|
49
|
+
## Documentation
|
|
23
50
|
|
|
24
|
-
|
|
51
|
+
See [Octo Mesh Platform documentation](https://docs.meshmakers.cloud).
|