@hivegpt/hiveai-angular 0.0.373 → 0.0.375

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.
Files changed (41) hide show
  1. package/README.md +9 -13
  2. package/package.json +8 -45
  3. package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/translations/translation.service.ts +1 -15
  4. package/tslint.json +10 -133
  5. package/.editorconfig +0 -16
  6. package/angular.json +0 -51
  7. package/projects/hivegpt/eventsgpt-angular/README.md +0 -23
  8. package/projects/hivegpt/eventsgpt-angular/package.json +0 -20
  9. package/projects/hivegpt/eventsgpt-angular/tslint.json +0 -17
  10. package/tsconfig.json +0 -28
  11. package/wew +0 -0
  12. /package/{projects/hivegpt/eventsgpt-angular/karma.conf.js → karma.conf.js} +0 -0
  13. /package/{projects/hivegpt/eventsgpt-angular/ng-package.json → ng-package.json} +0 -0
  14. /package/{projects/hivegpt/eventsgpt-angular/src → src}/environments/environment.ts +0 -0
  15. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/NotificationSocket.ts +0 -0
  16. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/bot-html-editor/bot-html-editor.component.css +0 -0
  17. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/bot-html-editor/bot-html-editor.component.html +0 -0
  18. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/bot-html-editor/bot-html-editor.component.spec.ts +0 -0
  19. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/bot-html-editor/bot-html-editor.component.ts +0 -0
  20. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/bot.service.ts +0 -0
  21. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/chat-drawer/chat-drawer.component.html +0 -0
  22. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/chat-drawer/chat-drawer.component.scss +0 -0
  23. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/chat-drawer/chat-drawer.component.ts +0 -0
  24. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/chatbot/chatbot.component.html +0 -0
  25. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/chatbot/chatbot.component.scss +0 -0
  26. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/chatbot/chatbot.component.ts +0 -0
  27. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/conversation.service.spec.ts +0 -0
  28. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/conversation.service.ts +0 -0
  29. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/socket-service.service.spec.ts +0 -0
  30. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/socket-service.service.ts +0 -0
  31. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/video-player/video-player.component.html +0 -0
  32. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/video-player/video-player.component.scss +0 -0
  33. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/components/video-player/video-player.component.ts +0 -0
  34. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/hivegpt.module.ts +0 -0
  35. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/models/video.ts +0 -0
  36. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/pipes/safe-html.pipe.ts +0 -0
  37. /package/{projects/hivegpt/eventsgpt-angular/src → src}/lib/utils/utils.ts +0 -0
  38. /package/{projects/hivegpt/eventsgpt-angular/src → src}/public-api.ts +0 -0
  39. /package/{projects/hivegpt/eventsgpt-angular/tsconfig.lib.json → tsconfig.lib.json} +0 -0
  40. /package/{projects/hivegpt/eventsgpt-angular/tsconfig.lib.prod.json → tsconfig.lib.prod.json} +0 -0
  41. /package/{projects/hivegpt/eventsgpt-angular/tsconfig.spec.json → tsconfig.spec.json} +0 -0
package/README.md CHANGED
@@ -1,26 +1,22 @@
1
- # HivegptEventsgptAngular
1
+ # EventsgptAngular
2
2
 
3
- This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.4.
4
-
5
- ## Development server
6
-
7
- Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.
8
4
 
9
5
  ## Code scaffolding
10
6
 
11
- Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
7
+ Run `ng generate component component-name --project eventsgpt-angular` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project eventsgpt-angular`.
8
+ > Note: Don't forget to add `--project eventsgpt-angular` or else it will be added to the default project in your `angular.json` file.
12
9
 
13
10
  ## Build
14
- ## Run `npx ng build` to build
15
- Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
11
+ Run `npx ng build @hivegpt/hiveai-angular` to build the project. The build artifacts will be stored in the `dist/` directory.
16
12
 
17
- ## Running unit tests
13
+ ## Publishing
18
14
 
19
- Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
15
+ After building your library with `ng build eventsgpt-angular`, go to the dist folder `cd dist/eventsgpt-angular` and run `npm publish`.
20
16
 
21
- ## Running end-to-end tests
17
+ ## Running unit tests
22
18
 
23
- Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
19
+ Run `ng test eventsgpt-angular` to execute the unit tests via [Karma](https://karma-runner.github.io).
24
20
 
25
21
  ## Further help
26
22
 
package/package.json CHANGED
@@ -1,57 +1,20 @@
1
1
  {
2
2
  "name": "@hivegpt/hiveai-angular",
3
- "version": "0.0.373",
3
+ "version": "0.0.375",
4
+ "peerDependencies": {
5
+ "@angular/common": "^10.2.5",
6
+ "@angular/core": "^10.2.5",
7
+ "microsoft-cognitiveservices-speech-sdk": "^1.17.0"
8
+ },
4
9
  "scripts": {
5
10
  "ng": "ng",
6
11
  "start": "ng serve",
7
12
  "build": "ng build",
8
13
  "test": "ng test",
9
14
  "lint": "ng lint",
10
- "publish:npm": "cd projects/hivegpt/eventsgpt-angular && npm version patch && cd ../../../ && npm run build @hivegpt/hiveai-angular && cd dist/hivegpt/eventsgpt-angular && npm publish --access=public && cd ../../../",
11
- "publish:complete": "git fetch && git pull && npm run publish:npm && git add . && git commit -m \"publish updated angular package\" && git push"
15
+ "e2e": "ng e2e"
12
16
  },
13
- "private": false,
14
17
  "dependencies": {
15
- "@angular/animations": "~12.2.13",
16
- "@angular/cdk": "^12.2.13",
17
- "@angular/common": "~12.2.13",
18
- "@angular/compiler": "~12.2.13",
19
- "@angular/core": "~12.2.13",
20
- "@angular/forms": "~12.2.13",
21
- "@angular/material": "^12.2.13",
22
- "@angular/platform-browser": "~12.2.13",
23
- "@angular/platform-browser-dynamic": "~12.2.13",
24
- "@angular/router": "~12.2.13",
25
- "@azure/core-auth": "^1.3.0",
26
- "marked": "^3.0.8",
27
- "microsoft-cognitiveservices-speech-sdk": "^1.17.0",
28
- "ngx-quill": "^13.2.0",
29
- "ngx-socket-io": "^3.2.0",
30
- "ngx-toastr": "^14.2.1",
31
- "quill": "^1.3.7",
32
- "rxjs": "~6.6.0",
33
- "tslib": "^2.0.0",
34
- "zone.js": "~0.10.2"
35
- },
36
- "devDependencies": {
37
- "@angular-devkit/build-angular": "~12.2.13",
38
- "@angular/cli": "~12.2.13",
39
- "@angular/compiler-cli": "~12.2.13",
40
- "@types/jasmine": "~3.5.0",
41
- "@types/jasminewd2": "~2.0.3",
42
- "@types/node": "^12.20.55",
43
- "codelyzer": "^6.0.0",
44
- "jasmine-core": "~3.6.0",
45
- "jasmine-spec-reporter": "~5.0.0",
46
- "karma": "^6.4.4",
47
- "karma-chrome-launcher": "~3.1.0",
48
- "karma-coverage-istanbul-reporter": "~3.0.2",
49
- "karma-jasmine": "~4.0.0",
50
- "karma-jasmine-html-reporter": "~1.5.0",
51
- "ng-packagr": "^10.1.0",
52
- "protractor": "~7.0.0",
53
- "ts-node": "~8.3.0",
54
- "tslint": "~6.1.0",
55
- "typescript": "~4.3.5"
18
+ "tslib": "^2.0.0"
56
19
  }
57
20
  }
@@ -219,21 +219,7 @@ export class TranslationService {
219
219
  ru: 'Отправить',
220
220
  },
221
221
  },
222
- {
223
- Key: 'Call Interface',
224
- DefaultValue: 'Call Interface',
225
- Translations: {
226
- en: 'Call Interface',
227
- fr: "Interface d'appel",
228
- it: 'Interfaccia chiamata',
229
- es: 'Interfaz de llamada',
230
- de: 'Anrufoberfläche',
231
- 'pt-br': 'Interface de chamada',
232
- ar: 'واجهة الاتصال',
233
- zh: '呼叫界面',
234
- ru: 'Интерфейс звонка',
235
- },
236
- },
222
+
237
223
  {
238
224
  Key: 'Call Interface',
239
225
  DefaultValue: 'Call Interface',
package/tslint.json CHANGED
@@ -1,140 +1,17 @@
1
1
  {
2
- "extends": "tslint:recommended",
3
- "rulesDirectory": [
4
- "codelyzer"
5
- ],
2
+ "extends": "../../../tslint.json",
6
3
  "rules": {
7
- "align": {
8
- "options": [
9
- "parameters",
10
- "statements"
11
- ]
12
- },
13
- "array-type": false,
14
- "arrow-return-shorthand": true,
15
- "curly": true,
16
- "deprecation": {
17
- "severity": "warning"
18
- },
19
- "eofline": true,
20
- "import-blacklist": [
4
+ "directive-selector": [
21
5
  true,
22
- "rxjs/Rx"
6
+ "attribute",
7
+ "lib",
8
+ "camelCase"
23
9
  ],
24
- "import-spacing": true,
25
- "indent": {
26
- "options": [
27
- "spaces"
28
- ]
29
- },
30
- "max-classes-per-file": false,
31
- "max-line-length": [
10
+ "component-selector": [
32
11
  true,
33
- 140
34
- ],
35
- "member-ordering": [
36
- true,
37
- {
38
- "order": [
39
- "static-field",
40
- "instance-field",
41
- "static-method",
42
- "instance-method"
43
- ]
44
- }
45
- ],
46
- "no-console": [
47
- true,
48
- "debug",
49
- "info",
50
- "time",
51
- "timeEnd",
52
- "trace"
53
- ],
54
- "no-empty": false,
55
- "no-inferrable-types": [
56
- true,
57
- "ignore-params"
58
- ],
59
- "no-non-null-assertion": true,
60
- "no-redundant-jsdoc": true,
61
- "no-switch-case-fall-through": true,
62
- "no-var-requires": false,
63
- "object-literal-key-quotes": [
64
- true,
65
- "as-needed"
66
- ],
67
- "quotemark": [
68
- true,
69
- "single"
70
- ],
71
- "semicolon": {
72
- "options": [
73
- "always"
74
- ]
75
- },
76
- "space-before-function-paren": {
77
- "options": {
78
- "anonymous": "never",
79
- "asyncArrow": "always",
80
- "constructor": "never",
81
- "method": "never",
82
- "named": "never"
83
- }
84
- },
85
- "typedef": [
86
- true,
87
- "call-signature"
88
- ],
89
- "typedef-whitespace": {
90
- "options": [
91
- {
92
- "call-signature": "nospace",
93
- "index-signature": "nospace",
94
- "parameter": "nospace",
95
- "property-declaration": "nospace",
96
- "variable-declaration": "nospace"
97
- },
98
- {
99
- "call-signature": "onespace",
100
- "index-signature": "onespace",
101
- "parameter": "onespace",
102
- "property-declaration": "onespace",
103
- "variable-declaration": "onespace"
104
- }
105
- ]
106
- },
107
- "variable-name": {
108
- "options": [
109
- "ban-keywords",
110
- "check-format",
111
- "allow-pascal-case"
112
- ]
113
- },
114
- "whitespace": {
115
- "options": [
116
- "check-branch",
117
- "check-decl",
118
- "check-operator",
119
- "check-separator",
120
- "check-type",
121
- "check-typecast"
122
- ]
123
- },
124
- "component-class-suffix": true,
125
- "contextual-lifecycle": true,
126
- "directive-class-suffix": true,
127
- "no-conflicting-lifecycle": true,
128
- "no-host-metadata-property": true,
129
- "no-input-rename": true,
130
- "no-inputs-metadata-property": true,
131
- "no-output-native": true,
132
- "no-output-on-prefix": true,
133
- "no-output-rename": true,
134
- "no-outputs-metadata-property": true,
135
- "template-banana-in-box": true,
136
- "template-no-negated-async": true,
137
- "use-lifecycle-interface": true,
138
- "use-pipe-transform-interface": true
12
+ "element",
13
+ "lib",
14
+ "kebab-case"
15
+ ]
139
16
  }
140
17
  }
package/.editorconfig DELETED
@@ -1,16 +0,0 @@
1
- # Editor configuration, see https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 2
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
-
11
- [*.ts]
12
- quote_type = single
13
-
14
- [*.md]
15
- max_line_length = off
16
- trim_trailing_whitespace = false
package/angular.json DELETED
@@ -1,51 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "@hivegpt/hiveai-angular": {
7
- "projectType": "library",
8
- "root": "projects/hivegpt/eventsgpt-angular",
9
- "sourceRoot": "projects/hivegpt/eventsgpt-angular/src",
10
- "prefix": "lib",
11
- "architect": {
12
- "build": {
13
- "builder": "@angular-devkit/build-angular:ng-packagr",
14
- "options": {
15
- "tsConfig": "projects/hivegpt/eventsgpt-angular/tsconfig.lib.json",
16
- "project": "projects/hivegpt/eventsgpt-angular/ng-package.json"
17
- },
18
- "configurations": {
19
- "production": {
20
- "tsConfig": "projects/hivegpt/eventsgpt-angular/tsconfig.lib.prod.json"
21
- }
22
- }
23
- },
24
- "test": {
25
- "builder": "@angular-devkit/build-angular:karma",
26
- "options": {
27
- "main": "projects/hivegpt/eventsgpt-angular/src/test.ts",
28
- "tsConfig": "projects/hivegpt/eventsgpt-angular/tsconfig.spec.json",
29
- "karmaConfig": "projects/hivegpt/eventsgpt-angular/karma.conf.js"
30
- }
31
- },
32
- "lint": {
33
- "builder": "@angular-devkit/build-angular:tslint",
34
- "options": {
35
- "tsConfig": [
36
- "projects/hivegpt/eventsgpt-angular/tsconfig.lib.json",
37
- "projects/hivegpt/eventsgpt-angular/tsconfig.spec.json"
38
- ],
39
- "exclude": [
40
- "**/node_modules/**"
41
- ]
42
- }
43
- }
44
- }
45
- }
46
- },
47
- "defaultProject": "@hivegpt/hiveai-angular",
48
- "cli": {
49
- "analytics": false
50
- }
51
- }
@@ -1,23 +0,0 @@
1
- # EventsgptAngular
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project eventsgpt-angular` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project eventsgpt-angular`.
8
- > Note: Don't forget to add `--project eventsgpt-angular` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
- Run `npx ng build @hivegpt/hiveai-angular` to build the project. The build artifacts will be stored in the `dist/` directory.
12
-
13
- ## Publishing
14
-
15
- After building your library with `ng build eventsgpt-angular`, go to the dist folder `cd dist/eventsgpt-angular` and run `npm publish`.
16
-
17
- ## Running unit tests
18
-
19
- Run `ng test eventsgpt-angular` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
-
21
- ## Further help
22
-
23
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -1,20 +0,0 @@
1
- {
2
- "name": "@hivegpt/hiveai-angular",
3
- "version": "0.0.372",
4
- "peerDependencies": {
5
- "@angular/common": "^10.2.5",
6
- "@angular/core": "^10.2.5",
7
- "microsoft-cognitiveservices-speech-sdk": "^1.17.0"
8
- },
9
- "scripts": {
10
- "ng": "ng",
11
- "start": "ng serve",
12
- "build": "ng build",
13
- "test": "ng test",
14
- "lint": "ng lint",
15
- "e2e": "ng e2e"
16
- },
17
- "dependencies": {
18
- "tslib": "^2.0.0"
19
- }
20
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "lib",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "lib",
14
- "kebab-case"
15
- ]
16
- }
17
- }
package/tsconfig.json DELETED
@@ -1,28 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "outDir": "./dist/out-tsc",
6
- "sourceMap": true,
7
- "declaration": false,
8
- "downlevelIteration": true,
9
- "experimentalDecorators": true,
10
- "moduleResolution": "node",
11
- "importHelpers": true,
12
- "target": "es2015",
13
- "module": "es2020",
14
- "lib": [
15
- "es2018",
16
- "dom"
17
- ],
18
- "paths": {
19
- "@hivegpt/eventsgpt-angular": [
20
- "dist/hivegpt/eventsgpt-angular/hivegpt-eventsgpt-angular",
21
- "dist/hivegpt/eventsgpt-angular"
22
- ]
23
- }
24
- },
25
- "angularCompilerOptions": {
26
- "enableIvy": false
27
- }
28
- }
package/wew DELETED
File without changes