@mbubela/oaa-assistant 0.0.6 → 0.0.8
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 +50 -63
- package/bundles/web-components.js +7 -7
- package/package.json +15 -18
- package/fesm2022/web-components.mjs +0 -30
- package/fesm2022/web-components.mjs.map +0 -1
- package/index.d.ts +0 -8
package/README.md
CHANGED
|
@@ -1,63 +1,50 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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.
|
|
1
|
+
# @mbubela/oaa-assistant
|
|
2
|
+
|
|
3
|
+
OpenAsApp AI Assistant Web Components built with Angular Elements.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @mbubela/oaa-assistant
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage in Angular
|
|
12
|
+
|
|
13
|
+
Add to `angular.json`:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"projects": {
|
|
18
|
+
"app": {
|
|
19
|
+
"architect": {
|
|
20
|
+
"build": {
|
|
21
|
+
"options": {
|
|
22
|
+
"scripts": [
|
|
23
|
+
"node_modules/@mbubela/oaa-assistant/bundles/web-components.js"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Then use in templates:
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<app-header></app-header>
|
|
37
|
+
<app-home></app-home>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Components
|
|
41
|
+
|
|
42
|
+
- `<app-header>` - Header component
|
|
43
|
+
- `<app-suggestion-button>` - Suggestion button
|
|
44
|
+
- `<app-input-field>` - Input field
|
|
45
|
+
- `<app-home>` - Main home component
|
|
46
|
+
|
|
47
|
+
## Build Info
|
|
48
|
+
|
|
49
|
+
Built: NPM_Publish_20251216.3
|
|
50
|
+
Commit: 4b5de78ccfc88c03b3db6e05c631d3ade03e45f7
|