@adzen/doohbot 1.0.0 → 1.0.1
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adzen/doohbot",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"start": "ng serve",
|
|
@@ -21,26 +21,27 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"private": false,
|
|
24
|
-
"
|
|
25
|
-
"@angular/
|
|
26
|
-
"@angular/
|
|
27
|
-
"@angular/
|
|
28
|
-
"@angular/
|
|
29
|
-
"@angular/
|
|
30
|
-
"@angular/
|
|
31
|
-
"@angular/material": "
|
|
32
|
-
"@angular/
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"zone.js": "~0.15.0"
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@angular/common": ">=15.0.0",
|
|
26
|
+
"@angular/core": ">=15.0.0",
|
|
27
|
+
"@angular/forms": ">=15.0.0",
|
|
28
|
+
"@angular/platform-browser": ">=15.0.0",
|
|
29
|
+
"@angular/router": ">=15.0.0",
|
|
30
|
+
"@angular/cdk": ">=15.0.0",
|
|
31
|
+
"@angular/material": ">=15.0.0",
|
|
32
|
+
"@angular/elements": ">=15.0.0",
|
|
33
|
+
"rxjs": ">=7.5.0",
|
|
34
|
+
"zone.js": ">=0.11.4",
|
|
35
|
+
"tslib": ">=2.3.0",
|
|
36
|
+
"@webcomponents/custom-elements": ">=1.6.0",
|
|
37
|
+
"@ctrl/ngx-emoji-mart": ">=9.3.0"
|
|
39
38
|
},
|
|
40
39
|
"devDependencies": {
|
|
41
40
|
"@angular/build": "^20.3.8",
|
|
42
41
|
"@angular/cli": "^20.3.7",
|
|
42
|
+
"@angular/compiler": "^20.3.0",
|
|
43
43
|
"@angular/compiler-cli": "^20.3.0",
|
|
44
|
+
"ng-packagr": "^20.3.0",
|
|
44
45
|
"@types/jasmine": "~5.1.0",
|
|
45
46
|
"@types/node": "^24.10.0",
|
|
46
47
|
"jasmine-core": "~5.9.0",
|
|
@@ -49,7 +50,6 @@
|
|
|
49
50
|
"karma-coverage": "~2.2.0",
|
|
50
51
|
"karma-jasmine": "~5.1.0",
|
|
51
52
|
"karma-jasmine-html-reporter": "~2.1.0",
|
|
52
|
-
"ng-packagr": "^20.3.0",
|
|
53
53
|
"prettier": "^3.6.2",
|
|
54
54
|
"ts-node": "^10.9.2",
|
|
55
55
|
"typescript": "~5.9.2"
|
|
@@ -16,7 +16,7 @@ export class DoohbotInput {
|
|
|
16
16
|
readonly fullscreenIcon = 'fullscreen';
|
|
17
17
|
readonly fullscreenExitIcon = 'fullscreen_exit';
|
|
18
18
|
readonly hintText = 'Please Enter Here';
|
|
19
|
-
errorMessage = 'The message you submitted was too long.';
|
|
19
|
+
readonly errorMessage = 'The message you submitted was too long.';
|
|
20
20
|
|
|
21
21
|
// Application Constants Images
|
|
22
22
|
readonly appLogoUrl = 'https://iili.io/KmDhToN.md.png';
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injectable, signal } from '@angular/core';
|
|
2
2
|
import { Message } from '../model/message';
|
|
3
3
|
import { CHAT_INTENTS } from '../model/doohbot.intents';
|
|
4
|
-
import { DOOHBOT_API_URL } from '../model/token';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { firstValueFrom } from 'rxjs';
|
|
7
4
|
|
|
8
5
|
@Injectable({
|
|
9
6
|
providedIn: 'root',
|