frontend: remove unsued MeetingShareLinkOverlay component and its associated files
This commit is contained in:
parent
04563a009f
commit
beb5571983
@ -1,4 +1,3 @@
|
||||
export * from './hidden-participants-indicator/hidden-participants-indicator.component';
|
||||
export * from './meeting-lobby/meeting-lobby.component';
|
||||
export * from './meeting-share-link-overlay/meeting-share-link-overlay.component';
|
||||
export * from './share-meeting-link/share-meeting-link.component';
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
@if (showOverlay) {
|
||||
<div id="share-link-overlay" class="main-share-meeting-link-container fade-in-delayed-more OV_big">
|
||||
<ov-share-meeting-link
|
||||
class="main-share-meeting-link"
|
||||
[title]="title"
|
||||
[subtitle]="subtitle"
|
||||
[titleSize]="titleSize"
|
||||
[titleWeight]="titleWeight"
|
||||
[meetingUrl]="meetingUrl"
|
||||
(copyClicked)="onCopyClicked()"
|
||||
></ov-share-meeting-link>
|
||||
</div>
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
@use '../../../../../../../../src/assets/styles/design-tokens';
|
||||
|
||||
.main-share-meeting-link-container {
|
||||
background-color: var(--ov-surface-color); // Use ov-components variable
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--ov-meet-radius-md);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
|
||||
.main-share-meeting-link {
|
||||
pointer-events: all;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.fade-in-delayed-more {
|
||||
animation: fadeIn 0.5s ease-in 0.9s both;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@ -1,64 +0,0 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { ShareMeetingLinkComponent } from '../share-meeting-link/share-meeting-link.component';
|
||||
|
||||
/**
|
||||
* Reusable component for displaying the share meeting link overlay
|
||||
* when there are no remote participants in the meeting.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ov-meeting-share-link-overlay',
|
||||
templateUrl: './meeting-share-link-overlay.component.html',
|
||||
styleUrls: ['./meeting-share-link-overlay.component.scss'],
|
||||
imports: [CommonModule, ShareMeetingLinkComponent]
|
||||
})
|
||||
export class MeetingShareLinkOverlayComponent {
|
||||
/**
|
||||
* Controls whether the overlay should be shown
|
||||
*/
|
||||
@Input() showOverlay = true;
|
||||
|
||||
/**
|
||||
* The meeting URL to share
|
||||
*/
|
||||
@Input({ required: true }) meetingUrl = '';
|
||||
|
||||
/**
|
||||
* Title text for the overlay
|
||||
*/
|
||||
@Input() title = 'Start collaborating';
|
||||
|
||||
/**
|
||||
* Subtitle text for the overlay
|
||||
*/
|
||||
@Input() subtitle = 'Share this link to bring others into the meeting';
|
||||
|
||||
/**
|
||||
* Title size (sm, md, lg, xl)
|
||||
*/
|
||||
@Input() titleSize: 'sm' | 'md' | 'lg' | 'xl' = 'xl';
|
||||
|
||||
/**
|
||||
* Title weight (normal, bold)
|
||||
*/
|
||||
@Input() titleWeight: 'normal' | 'bold' = 'bold';
|
||||
|
||||
/**
|
||||
* Emitted when the copy button is clicked
|
||||
*/
|
||||
@Output() copyClicked = new EventEmitter<void>();
|
||||
|
||||
/**
|
||||
* Alternative to @Output: Function to call when copy button is clicked
|
||||
* When using NgComponentOutlet, use this instead of the @Output above
|
||||
*/
|
||||
@Input() copyClickedFn?: () => void;
|
||||
|
||||
onCopyClicked(): void {
|
||||
if (this.copyClickedFn) {
|
||||
this.copyClickedFn();
|
||||
} else {
|
||||
this.copyClicked.emit();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user