@hivegpt/hiveai-angular 0.0.7

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 (39) hide show
  1. package/README.md +24 -0
  2. package/bundles/hivegpt-hiveai-angular.umd.js +1482 -0
  3. package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -0
  4. package/bundles/hivegpt-hiveai-angular.umd.min.js +2 -0
  5. package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -0
  6. package/environments/environment.d.ts +11 -0
  7. package/environments/environment.d.ts.map +1 -0
  8. package/esm2015/environments/environment.js +11 -0
  9. package/esm2015/hivegpt-hiveai-angular.js +7 -0
  10. package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +731 -0
  11. package/esm2015/lib/components/chatbot/chatbot.component.js +49 -0
  12. package/esm2015/lib/components/video-player/video-player.component.js +123 -0
  13. package/esm2015/lib/hivegpt.module.js +19 -0
  14. package/esm2015/lib/models/video.js +2 -0
  15. package/esm2015/lib/pipes/safe-html.pipe.js +19 -0
  16. package/esm2015/lib/utils/utils.js +36 -0
  17. package/esm2015/public-api.js +7 -0
  18. package/fesm2015/hivegpt-hiveai-angular.js +986 -0
  19. package/fesm2015/hivegpt-hiveai-angular.js.map +1 -0
  20. package/hivegpt-hiveai-angular.d.ts +7 -0
  21. package/hivegpt-hiveai-angular.d.ts.map +1 -0
  22. package/hivegpt-hiveai-angular.metadata.json +1 -0
  23. package/lib/components/chat-drawer/chat-drawer.component.d.ts +126 -0
  24. package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -0
  25. package/lib/components/chatbot/chatbot.component.d.ts +35 -0
  26. package/lib/components/chatbot/chatbot.component.d.ts.map +1 -0
  27. package/lib/components/video-player/video-player.component.d.ts +36 -0
  28. package/lib/components/video-player/video-player.component.d.ts.map +1 -0
  29. package/lib/hivegpt.module.d.ts +3 -0
  30. package/lib/hivegpt.module.d.ts.map +1 -0
  31. package/lib/models/video.d.ts +35 -0
  32. package/lib/models/video.d.ts.map +1 -0
  33. package/lib/pipes/safe-html.pipe.d.ts +8 -0
  34. package/lib/pipes/safe-html.pipe.d.ts.map +1 -0
  35. package/lib/utils/utils.d.ts +3 -0
  36. package/lib/utils/utils.d.ts.map +1 -0
  37. package/package.json +19 -0
  38. package/public-api.d.ts +4 -0
  39. package/public-api.d.ts.map +1 -0
@@ -0,0 +1,36 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { IVideo } from '../../models/video';
3
+ export declare class VideoPlayerComponent implements OnInit, AfterViewInit {
4
+ private doc;
5
+ private el;
6
+ private cdr;
7
+ currentUserId: string;
8
+ user: any;
9
+ eventId: string;
10
+ videoObj: IVideo;
11
+ isDev: boolean;
12
+ myFollowingList: Array<string>;
13
+ myPendingSentRequests: Array<string>;
14
+ type: string;
15
+ isMuted: boolean;
16
+ private observer;
17
+ isFullscreen: boolean;
18
+ video: any;
19
+ fullscreenvideo: any;
20
+ isFullscreenvideoPlaying: boolean;
21
+ connectWithUser: EventEmitter<string>;
22
+ scheduleMeeting: EventEmitter<any>;
23
+ constructor(doc: any, el: ElementRef, cdr: ChangeDetectorRef);
24
+ ngOnInit(): void;
25
+ toggleSound(isMuted?: any): void;
26
+ togglePlay(playState: boolean, videoEl: any): void;
27
+ ngAfterViewInit(): void;
28
+ toggleFullscreen(): void;
29
+ toggleFullscreenPlay(): void;
30
+ followUser(userId: any): void;
31
+ checkPendingSentRequest(userId: any): string;
32
+ canUnfollowUser(): boolean;
33
+ canFollowUser(): boolean;
34
+ getIniNames(firstName: any, lastName: any): any;
35
+ }
36
+ //# sourceMappingURL=video-player.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-player.component.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/components/video-player/video-player.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,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@
1
+ {"version":3,"file":"hivegpt.module.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/hivegpt.module.ts"],"names":[],"mappings":"AAUA,qBAKa,aAAa;CAAG"}
@@ -0,0 +1,35 @@
1
+ export interface IVideo {
2
+ id: string;
3
+ title: string;
4
+ url: string;
5
+ thumbnail: string;
6
+ isPlaying: boolean;
7
+ userId: string;
8
+ eventId: string;
9
+ aoiIds: string[];
10
+ insertTimeStamp: string;
11
+ isDeleted: boolean;
12
+ appropriate: Appropriate[];
13
+ isIntroVideo: boolean;
14
+ videoRating: VideoRating[];
15
+ likes: VideoLike[];
16
+ vttUrl: string;
17
+ processedUrls: string;
18
+ duration: string;
19
+ }
20
+ interface VideoRating {
21
+ userId: string;
22
+ rateValue: string;
23
+ insertTimeStamp: string;
24
+ }
25
+ interface VideoLike {
26
+ userId: string;
27
+ isLiked: boolean;
28
+ insertTimeStamp: string;
29
+ }
30
+ interface Appropriate {
31
+ userId: string;
32
+ insertTimeStamp: string;
33
+ }
34
+ export {};
35
+ //# sourceMappingURL=video.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/models/video.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,WAAW;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,SAAS;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,WAAW;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ export declare class SafeHtmlPipe implements PipeTransform {
4
+ private sanitizer;
5
+ constructor(sanitizer: DomSanitizer);
6
+ transform(html: any): unknown;
7
+ }
8
+ //# sourceMappingURL=safe-html.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"safe-html.pipe.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/pipes/safe-html.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,qBAGa,YAAa,YAAW,aAAa;IAEpC,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,YAAY;IAG3C,SAAS,CAAC,IAAI,KAAA,GAAG,OAAO;CAIzB"}
@@ -0,0 +1,3 @@
1
+ export declare const formatNow: (timezone?: string) => string;
2
+ export declare const formatTimeStamps: (timezone: string, timestamps: any) => string;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/utils/utils.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,SAAS,cAAe,MAAM,WAY1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,aAAc,MAAM,cAAc,GAAG,WAUjE,CAAC"}
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@hivegpt/hiveai-angular",
3
+ "version": "0.0.7",
4
+ "peerDependencies": {
5
+ "@angular/common": "^10.2.5",
6
+ "@angular/core": "^10.2.5"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.0.0"
10
+ },
11
+ "main": "bundles/hivegpt-hiveai-angular.umd.js",
12
+ "module": "fesm2015/hivegpt-hiveai-angular.js",
13
+ "es2015": "fesm2015/hivegpt-hiveai-angular.js",
14
+ "esm2015": "esm2015/hivegpt-hiveai-angular.js",
15
+ "fesm2015": "fesm2015/hivegpt-hiveai-angular.js",
16
+ "typings": "hivegpt-hiveai-angular.d.ts",
17
+ "metadata": "hivegpt-hiveai-angular.metadata.json",
18
+ "sideEffects": false
19
+ }
@@ -0,0 +1,4 @@
1
+ export * from './lib/components/chat-drawer/chat-drawer.component';
2
+ export * from './lib/components/chatbot/chatbot.component';
3
+ export * from './lib/hivegpt.module';
4
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["public-api.ts"],"names":[],"mappings":"AAIA,cAAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sBAAsB,CAAC"}