@tuki-io/tuki-widgets 0.0.219-dev.27 → 0.0.219-dev.29

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 (25) hide show
  1. package/esm2020/meetings/src/components/live-meetings/live-meeting/live-meeting.component.mjs +107 -0
  2. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +11 -5
  3. package/esm2020/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.mjs +96 -0
  4. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +9 -3
  5. package/esm2020/meetings/src/meetings.component.mjs +36 -6
  6. package/esm2020/meetings/src/meetings.module.mjs +8 -2
  7. package/esm2020/meetings/src/services/live-meetings.service.mjs +94 -1
  8. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +171 -2
  9. package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
  10. package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
  11. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +508 -10
  12. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  13. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +505 -10
  14. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  15. package/meetings/src/components/live-meetings/live-meeting/live-meeting.component.d.ts +34 -0
  16. package/meetings/src/components/live-meetings/live-meetings.component.d.ts +4 -2
  17. package/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.d.ts +33 -0
  18. package/meetings/src/components/meeting-spaces/meeting-spaces.component.d.ts +3 -1
  19. package/meetings/src/meetings.component.d.ts +13 -0
  20. package/meetings/src/meetings.module.d.ts +8 -6
  21. package/meetings/src/services/live-meetings.service.d.ts +2 -1
  22. package/meetings/src/services/meeting-spaces.service.d.ts +9 -1
  23. package/meetings/src/types/live-meeting.d.ts +38 -0
  24. package/meetings/src/types/meeting-space.d.ts +40 -0
  25. package/package.json +1 -1
@@ -1,7 +1,10 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { APIService } from './services/api.service';
3
+ import { MeetingSpaceFormMode } from './components/meeting-spaces/meeting-space/meeting-space.component';
4
+ import { MeetingSpaceDetails } from './types/meeting-space';
3
5
  import * as i0 from "@angular/core";
4
6
  export type MeetingEnvironmentStatus = 'healthy' | 'warning' | 'critical';
7
+ export type MeetingsView = 'list' | 'meeting-space' | 'live-meeting';
5
8
  export declare class MeetingsComponent implements OnInit {
6
9
  private apiService;
7
10
  host: string;
@@ -9,8 +12,18 @@ export declare class MeetingsComponent implements OnInit {
9
12
  environmentStatusLabel: string;
10
13
  environmentStatusState: MeetingEnvironmentStatus;
11
14
  liveCount: number;
15
+ view: MeetingsView;
16
+ meetingSpaceMode: MeetingSpaceFormMode;
17
+ selectedMeetingSpaceId: string | null;
18
+ selectedLiveMeetingId: string | null;
12
19
  constructor(apiService: APIService);
13
20
  ngOnInit(): void;
21
+ onCreateMeetingSpace(): void;
22
+ onEditMeetingSpace(meetingSpaceId: string): void;
23
+ onMeetingSpaceBack(): void;
24
+ onMeetingSpaceSaved(_details: MeetingSpaceDetails): void;
25
+ onOpenLiveMeeting(meetingId: string): void;
26
+ onLiveMeetingBack(): void;
14
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingsComponent, never>;
15
28
  static ɵcmp: i0.ɵɵComponentDeclaration<MeetingsComponent, "tk-meetings", never, { "host": "host"; "token": "token"; "environmentStatusLabel": "environmentStatusLabel"; "environmentStatusState": "environmentStatusState"; "liveCount": "liveCount"; }, {}, never, never, false, never>;
16
29
  }
@@ -1,13 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./meetings.component";
3
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";
4
+ import * as i3 from "./components/meeting-spaces/meeting-space/meeting-space.component";
5
+ import * as i4 from "./components/live-meetings/live-meetings.component";
6
+ import * as i5 from "./components/live-meetings/live-meeting/live-meeting.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "@angular/common/http";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "./material.module";
9
11
  export declare class MeetingsModule {
10
12
  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]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MeetingsModule, [typeof i1.MeetingsComponent, typeof i2.MeetingSpacesComponent, typeof i3.MeetingSpaceComponent, typeof i4.LiveMeetingsComponent, typeof i5.LiveMeetingComponent], [typeof i6.CommonModule, typeof i7.HttpClientModule, typeof i8.FormsModule, typeof i9.MaterialModule], [typeof i1.MeetingsComponent]>;
12
14
  static ɵinj: i0.ɵɵInjectorDeclaration<MeetingsModule>;
13
15
  }
@@ -1,8 +1,9 @@
1
1
  import { Observable } from 'rxjs';
2
- import { LiveMeetingsSnapshot } from '../types/live-meeting';
2
+ import { LiveMeetingDetails, LiveMeetingsSnapshot } from '../types/live-meeting';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class LiveMeetingsService {
5
5
  fetchLiveMeetings(): Observable<LiveMeetingsSnapshot>;
6
+ getOne(id: string): Observable<LiveMeetingDetails | undefined>;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<LiveMeetingsService, never>;
7
8
  static ɵprov: i0.ɵɵInjectableDeclaration<LiveMeetingsService>;
8
9
  }
@@ -1,8 +1,16 @@
1
1
  import { Observable } from 'rxjs';
2
- import { MeetingSpace } from '../types/meeting-space';
2
+ import { MeetingSpace, MeetingSpaceDetails } from '../types/meeting-space';
3
3
  import * as i0 from "@angular/core";
4
+ export declare function createDefaultMeetingSpaceDetails(): MeetingSpaceDetails;
4
5
  export declare class MeetingSpacesService {
6
+ private meetingSpaces;
7
+ private meetingSpaceDetailsById;
8
+ private nextId;
5
9
  fetchMeetingSpaces(): Observable<MeetingSpace[]>;
10
+ getOne(id: string): Observable<MeetingSpaceDetails>;
11
+ save(details: MeetingSpaceDetails): Observable<MeetingSpaceDetails>;
12
+ put(id: string, details: MeetingSpaceDetails): Observable<MeetingSpaceDetails>;
13
+ private toMeetingSpace;
6
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MeetingSpacesService, never>;
7
15
  static ɵprov: i0.ɵɵInjectableDeclaration<MeetingSpacesService>;
8
16
  }
@@ -31,3 +31,41 @@ export interface LiveMeetingsSnapshot {
31
31
  summary: LiveMeetingsSummary;
32
32
  meetings: LiveMeeting[];
33
33
  }
34
+ export type LiveMeetingParticipantStatus = 'connected' | 'disconnected';
35
+ export interface LiveMeetingParticipant {
36
+ id: string;
37
+ name: string;
38
+ initials: string;
39
+ subBadge?: string;
40
+ status: LiveMeetingParticipantStatus;
41
+ audioMuted: boolean;
42
+ videoOn: boolean;
43
+ joinTime: string;
44
+ quality: LiveMeetingQuality | null;
45
+ endpoint: string;
46
+ endpointIcon?: 'mail' | 'call';
47
+ }
48
+ export interface LiveMeetingLobbyEntry {
49
+ id: string;
50
+ name: string;
51
+ endpoint: string;
52
+ waitingSince: string;
53
+ }
54
+ export interface LiveMeetingDetails {
55
+ id: string;
56
+ title: string;
57
+ ownerName: string;
58
+ ownerEmail: string;
59
+ meetingId: string;
60
+ startTime: string;
61
+ duration: string;
62
+ lockState: LiveMeetingLockState;
63
+ quality: LiveMeetingQuality;
64
+ cluster: string;
65
+ isRecording: boolean;
66
+ isStreaming: boolean;
67
+ connectedCount: number;
68
+ lobbyCount: number;
69
+ participants: LiveMeetingParticipant[];
70
+ lobby: LiveMeetingLobbyEntry[];
71
+ }
@@ -8,3 +8,43 @@ export interface MeetingSpace {
8
8
  cluster: string;
9
9
  managed?: boolean;
10
10
  }
11
+ export type MeetingSpaceVisibility = 'members-only' | 'public' | 'private';
12
+ export interface MeetingSpaceAccessRole {
13
+ id: string;
14
+ name: string;
15
+ primary?: boolean;
16
+ visibility: MeetingSpaceVisibility;
17
+ passcode: string;
18
+ activatesMeetingOnJoin: boolean;
19
+ allowUnauthenticatedJoin: boolean;
20
+ participantsWaitInLobby: boolean;
21
+ grantMeetingHostControls: boolean;
22
+ }
23
+ export type MeetingSpaceVideoLayout = 'all-equal' | 'speaker-only' | 'telepresence' | 'stacked' | 'one-plus-five' | 'one-plus-seven' | 'one-plus-nine' | 'more';
24
+ export type MeetingSpaceVideoQuality = '480p30' | '720p30' | '1080p30';
25
+ export type MeetingSpacePresentationQuality = '720p5' | '1080p30';
26
+ export interface MeetingSpaceDetails {
27
+ id: string;
28
+ name: string;
29
+ owner: string;
30
+ description: string;
31
+ cluster: string;
32
+ tag: string;
33
+ meetingId: string;
34
+ meetingUri: string;
35
+ secondaryUri: string;
36
+ password: string;
37
+ enabled: boolean;
38
+ accessRolesEnabled: boolean;
39
+ accessRoles: MeetingSpaceAccessRole[];
40
+ defaultVideoLayout: MeetingSpaceVideoLayout;
41
+ participantLabels: boolean;
42
+ allowPresentation: boolean;
43
+ disconnectOthersAllowed: boolean;
44
+ videoQuality: MeetingSpaceVideoQuality;
45
+ presentationQuality: MeetingSpacePresentationQuality;
46
+ allowRecording: boolean;
47
+ allowStreaming: boolean;
48
+ sipRecorderUri: string;
49
+ sipStreamerUri: string;
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.27",
3
+ "version": "0.0.219-dev.29",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",