@tuki-io/tuki-widgets 0.0.219-dev.24 → 0.0.219-dev.25

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 (29) hide show
  1. package/esm2020/meetings/public-api.mjs +8 -0
  2. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +61 -0
  3. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +40 -0
  4. package/esm2020/meetings/src/material.module.mjs +62 -0
  5. package/esm2020/meetings/src/meetings.component.mjs +35 -0
  6. package/esm2020/meetings/src/meetings.module.mjs +42 -0
  7. package/esm2020/meetings/src/services/api.service.mjs +67 -0
  8. package/esm2020/meetings/src/services/live-meetings.service.mjs +85 -0
  9. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +29 -0
  10. package/esm2020/meetings/src/types/live-meeting.mjs +2 -0
  11. package/esm2020/meetings/src/types/meeting-space.mjs +2 -0
  12. package/esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs +5 -0
  13. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +405 -0
  14. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  15. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +405 -0
  16. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  17. package/meetings/index.d.ts +5 -0
  18. package/meetings/public-api.d.ts +2 -0
  19. package/meetings/src/components/live-meetings/live-meetings.component.d.ts +27 -0
  20. package/meetings/src/components/meeting-spaces/meeting-spaces.component.d.ts +16 -0
  21. package/meetings/src/material.module.d.ts +13 -0
  22. package/meetings/src/meetings.component.d.ts +16 -0
  23. package/meetings/src/meetings.module.d.ts +13 -0
  24. package/meetings/src/services/api.service.d.ts +18 -0
  25. package/meetings/src/services/live-meetings.service.d.ts +8 -0
  26. package/meetings/src/services/meeting-spaces.service.d.ts +8 -0
  27. package/meetings/src/types/live-meeting.d.ts +33 -0
  28. package/meetings/src/types/meeting-space.d.ts +8 -0
  29. package/package.json +9 -1
@@ -0,0 +1,16 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MeetingSpacesService } from '../../services/meeting-spaces.service';
3
+ import { MeetingSpace } from '../../types/meeting-space';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MeetingSpacesComponent implements OnInit {
6
+ private meetingSpacesService;
7
+ createMeetingSpace: EventEmitter<void>;
8
+ meetingSpaces: MeetingSpace[];
9
+ searchTerm: string;
10
+ constructor(meetingSpacesService: MeetingSpacesService);
11
+ ngOnInit(): void;
12
+ get filteredMeetingSpaces(): MeetingSpace[];
13
+ onCreateMeetingSpace(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSpacesComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<MeetingSpacesComponent, "tk-meeting-spaces", never, {}, { "createMeetingSpace": "createMeetingSpace"; }, never, never, false, never>;
16
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/button";
3
+ import * as i2 from "@angular/material/icon";
4
+ import * as i3 from "@angular/material/table";
5
+ import * as i4 from "@angular/material/progress-spinner";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/material/tabs";
9
+ export declare class MaterialModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatTabsModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatTabsModule]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { APIService } from './services/api.service';
3
+ import * as i0 from "@angular/core";
4
+ export type MeetingEnvironmentStatus = 'healthy' | 'warning' | 'critical';
5
+ export declare class MeetingsComponent implements OnInit {
6
+ private apiService;
7
+ host: string;
8
+ token: string;
9
+ environmentStatusLabel: string;
10
+ environmentStatusState: MeetingEnvironmentStatus;
11
+ liveCount: number;
12
+ constructor(apiService: APIService);
13
+ ngOnInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeetingsComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<MeetingsComponent, "tk-meetings", never, { "host": "host"; "token": "token"; "environmentStatusLabel": "environmentStatusLabel"; "environmentStatusState": "environmentStatusState"; "liveCount": "liveCount"; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./meetings.component";
3
+ import * as i2 from "./components/meeting-spaces/meeting-spaces.component";
4
+ import * as i3 from "./components/live-meetings/live-meetings.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/common/http";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "./material.module";
9
+ export declare class MeetingsModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeetingsModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MeetingsModule, [typeof i1.MeetingsComponent, typeof i2.MeetingSpacesComponent, typeof i3.LiveMeetingsComponent], [typeof i4.CommonModule, typeof i5.HttpClientModule, typeof i6.FormsModule, typeof i7.MaterialModule], [typeof i1.MeetingsComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<MeetingsModule>;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIService {
5
+ private httpClient;
6
+ token: string;
7
+ apiUrl: string;
8
+ constructor(httpClient: HttpClient);
9
+ fetch(url: string, params?: any, cache?: boolean): Observable<any>;
10
+ post(url: string, body: any, params?: {}): Observable<any>;
11
+ put(url: string, body?: null, params?: {}): Observable<Object>;
12
+ delete(url: string, params?: {}): Observable<Object>;
13
+ private prepareEncodedParams;
14
+ private getHeaders;
15
+ private getParameterByName;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<APIService>;
18
+ }
@@ -0,0 +1,8 @@
1
+ import { Observable } from 'rxjs';
2
+ import { LiveMeetingsSnapshot } from '../types/live-meeting';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LiveMeetingsService {
5
+ fetchLiveMeetings(): Observable<LiveMeetingsSnapshot>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<LiveMeetingsService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<LiveMeetingsService>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { Observable } from 'rxjs';
2
+ import { MeetingSpace } from '../types/meeting-space';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MeetingSpacesService {
5
+ fetchMeetingSpaces(): Observable<MeetingSpace[]>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSpacesService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<MeetingSpacesService>;
8
+ }
@@ -0,0 +1,33 @@
1
+ export type LiveMeetingLockState = 'locked' | 'unlocked';
2
+ export type LiveMeetingQuality = 'good' | 'fair' | 'poor';
3
+ export interface LiveMeetingActivity {
4
+ recording: boolean;
5
+ streaming: boolean;
6
+ presenting: boolean;
7
+ }
8
+ export interface LiveMeeting {
9
+ id: string;
10
+ title: string;
11
+ ownerName: string;
12
+ ownerEmail: string;
13
+ participants: number;
14
+ lobbyCount: number;
15
+ lockState: LiveMeetingLockState;
16
+ activity: LiveMeetingActivity;
17
+ startTime: string;
18
+ duration: string;
19
+ quality: LiveMeetingQuality;
20
+ cluster: string;
21
+ }
22
+ export interface LiveMeetingsSummary {
23
+ activeMeetings: number;
24
+ connectedParticipants: number;
25
+ waitingInLobby: number;
26
+ recording: number;
27
+ streaming: number;
28
+ qualityWarnings: number;
29
+ }
30
+ export interface LiveMeetingsSnapshot {
31
+ summary: LiveMeetingsSummary;
32
+ meetings: LiveMeeting[];
33
+ }
@@ -0,0 +1,8 @@
1
+ export interface MeetingSpace {
2
+ id: string;
3
+ name: string;
4
+ uri: string;
5
+ meetingId: string;
6
+ participants: number;
7
+ managed?: boolean;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.24",
3
+ "version": "0.0.219-dev.25",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -44,6 +44,14 @@
44
44
  "node": "./fesm2015/tuki-io-tuki-widgets-di2mt.mjs",
45
45
  "default": "./fesm2020/tuki-io-tuki-widgets-di2mt.mjs"
46
46
  },
47
+ "./meetings": {
48
+ "types": "./meetings/index.d.ts",
49
+ "esm2020": "./esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs",
50
+ "es2020": "./fesm2020/tuki-io-tuki-widgets-meetings.mjs",
51
+ "es2015": "./fesm2015/tuki-io-tuki-widgets-meetings.mjs",
52
+ "node": "./fesm2015/tuki-io-tuki-widgets-meetings.mjs",
53
+ "default": "./fesm2020/tuki-io-tuki-widgets-meetings.mjs"
54
+ },
47
55
  "./shared": {
48
56
  "types": "./shared/index.d.ts",
49
57
  "esm2020": "./esm2020/shared/tuki-io-tuki-widgets-shared.mjs",