@mbubela/oaa-assistant 0.0.7 → 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/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
|
package/package.json
CHANGED
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mbubela/oaa-assistant",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
"version": "0.0.8",
|
|
4
|
+
"description": "OpenAsApp AI Assistant - Web Components (Angular Elements)",
|
|
5
|
+
"main": "bundles/web-components.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"bundles/**/*"
|
|
8
|
+
],
|
|
9
|
+
"keywords": [
|
|
10
|
+
"angular",
|
|
11
|
+
"web-components",
|
|
12
|
+
"angular-elements",
|
|
13
|
+
"ai-assistant"
|
|
14
|
+
],
|
|
15
|
+
"author": "mbubela",
|
|
16
|
+
"license": "MIT",
|
|
8
17
|
"dependencies": {
|
|
9
18
|
"tslib": "^2.3.0"
|
|
10
|
-
},
|
|
11
|
-
"sideEffects": false,
|
|
12
|
-
"module": "fesm2022/web-components.mjs",
|
|
13
|
-
"typings": "index.d.ts",
|
|
14
|
-
"exports": {
|
|
15
|
-
"./package.json": {
|
|
16
|
-
"default": "./package.json"
|
|
17
|
-
},
|
|
18
|
-
".": {
|
|
19
|
-
"types": "./index.d.ts",
|
|
20
|
-
"default": "./fesm2022/web-components.mjs"
|
|
21
|
-
}
|
|
22
19
|
}
|
|
23
|
-
}
|
|
20
|
+
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class WebComponents {
|
|
5
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WebComponents, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WebComponents, isStandalone: true, selector: "lib-web-components", ngImport: i0, template: `
|
|
7
|
-
<p>
|
|
8
|
-
web-components works!
|
|
9
|
-
</p>
|
|
10
|
-
`, isInline: true, styles: [""] });
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WebComponents, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'lib-web-components', imports: [], template: `
|
|
15
|
-
<p>
|
|
16
|
-
web-components works!
|
|
17
|
-
</p>
|
|
18
|
-
` }]
|
|
19
|
-
}] });
|
|
20
|
-
|
|
21
|
-
/*
|
|
22
|
-
* Public API Surface of web-components
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Generated bundle index. Do not edit.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
export { WebComponents };
|
|
30
|
-
//# sourceMappingURL=web-components.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"web-components.mjs","sources":["../../../projects/web-components/src/lib/web-components.ts","../../../projects/web-components/src/public-api.ts","../../../projects/web-components/src/web-components.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-web-components',\r\n imports: [],\r\n template: `\r\n <p>\r\n web-components works!\r\n </p>\r\n `,\r\n styles: ``,\r\n})\r\nexport class WebComponents {\r\n\r\n}\r\n","/*\r\n * Public API Surface of web-components\r\n */\r\n\r\nexport * from './lib/web-components';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAYa,aAAa,CAAA;wGAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAPd,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAGU,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,SAAS;+BACE,oBAAoB,EAAA,OAAA,EACrB,EAAE,EAAA,QAAA,EACD,CAAA;;;;AAIT,EAAA,CAAA,EAAA;;;ACTH;;AAEG;;ACFH;;AAEG;;;;"}
|
package/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class WebComponents {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WebComponents, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WebComponents, "lib-web-components", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export { WebComponents };
|