@rtsee/ngx 0.0.59 → 0.0.60
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.
- package/dist/ngx/fesm2022/rtsee-ngx.mjs +1689 -0
- package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -0
- package/dist/ngx/index.d.ts +538 -0
- package/package.json +10 -7
- package/.editorconfig +0 -16
- package/CHANGELOG.md +0 -120
- package/angular.json +0 -67
- package/jest.config.ts +0 -9
- package/projects/ngx/ng-package.json +0 -8
- package/projects/ngx/package.json +0 -20
- package/projects/ngx/src/lib/common/components/preloader/preloader.component.html +0 -5
- package/projects/ngx/src/lib/common/components/preloader/preloader.component.ts +0 -30
- package/projects/ngx/src/lib/common/interfaces/index.ts +0 -1
- package/projects/ngx/src/lib/common/interfaces/server-errors.ts +0 -5
- package/projects/ngx/src/lib/components/constans/common.const.ts +0 -8
- package/projects/ngx/src/lib/components/enums/form.enum.ts +0 -8
- package/projects/ngx/src/lib/components/rtsee/rtsee-conference.component.html +0 -70
- package/projects/ngx/src/lib/components/rtsee/rtsee-conference.component.ts +0 -35
- package/projects/ngx/src/lib/components/rtsee/rtsee-controls/rtsee-controls.component.html +0 -54
- package/projects/ngx/src/lib/components/rtsee/rtsee-controls/rtsee-controls.component.scss +0 -70
- package/projects/ngx/src/lib/components/rtsee/rtsee-controls/rtsee-controls.component.ts +0 -24
- package/projects/ngx/src/lib/components/rtsee-auth/auth/auth.component.html +0 -16
- package/projects/ngx/src/lib/components/rtsee-auth/auth/auth.component.ts +0 -48
- package/projects/ngx/src/lib/components/rtsee-auth/forgot-password/forgot-password.component.html +0 -35
- package/projects/ngx/src/lib/components/rtsee-auth/forgot-password/forgot-password.component.ts +0 -42
- package/projects/ngx/src/lib/components/rtsee-auth/reset-password/reset-password.component.html +0 -43
- package/projects/ngx/src/lib/components/rtsee-auth/reset-password/reset-password.component.ts +0 -83
- package/projects/ngx/src/lib/components/rtsee-auth/services/auth.service.ts +0 -40
- package/projects/ngx/src/lib/components/rtsee-auth/services/utils.service.ts +0 -20
- package/projects/ngx/src/lib/components/rtsee-auth/sign-in/sign-in.component.html +0 -84
- package/projects/ngx/src/lib/components/rtsee-auth/sign-in/sign-in.component.ts +0 -120
- package/projects/ngx/src/lib/components/rtsee-auth/sign-up/sign-up.component.html +0 -51
- package/projects/ngx/src/lib/components/rtsee-auth/sign-up/sign-up.component.ts +0 -67
- package/projects/ngx/src/lib/components/rtsee-auth/types/auth-form.type.ts +0 -36
- package/projects/ngx/src/lib/components/rtsee-auth/validators/form-fields-validators.ts +0 -27
- package/projects/ngx/src/lib/components/rtsee-auth/vendors/vendors.component.html +0 -1
- package/projects/ngx/src/lib/components/rtsee-auth/vendors/vendors.component.ts +0 -10
- package/projects/ngx/src/lib/components/rtsee-container/rtsee-container.component.html +0 -46
- package/projects/ngx/src/lib/components/rtsee-container/rtsee-container.component.ts +0 -34
- package/projects/ngx/src/lib/components/rtsee-container/rtsee-nav/rtsee-nav.component.html +0 -25
- package/projects/ngx/src/lib/components/rtsee-container/rtsee-nav/rtsee-nav.component.ts +0 -26
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/event-thumbnail/event-thumbnail.component.html +0 -20
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/event-thumbnail/event-thumbnail.component.ts +0 -89
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-client/rtsee-events-dashboard-client.component.html +0 -1
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-client/rtsee-events-dashboard-client.component.ts +0 -8
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-client-thumbnail/rtsee-events-dashboard-client-thumbnail.component.html +0 -25
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-client-thumbnail/rtsee-events-dashboard-client-thumbnail.component.ts +0 -40
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-session/rtsee-events-dashboard-session.component.html +0 -32
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-session/rtsee-events-dashboard-session.component.ts +0 -21
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/rtsee-events-dashboard.component.html +0 -12
- package/projects/ngx/src/lib/components/rtsee-events-dashboard/rtsee-events-dashboard.component.ts +0 -19
- package/projects/ngx/src/lib/components/rtsee-messenger/chat/chat.component.html +0 -10
- package/projects/ngx/src/lib/components/rtsee-messenger/chat/chat.component.ts +0 -18
- package/projects/ngx/src/lib/components/rtsee-messenger/chat-input/chat-input.component.html +0 -20
- package/projects/ngx/src/lib/components/rtsee-messenger/chat-input/chat-input.component.ts +0 -31
- package/projects/ngx/src/lib/components/rtsee-messenger/chat-thumbnail/chat-thumbnail.component.html +0 -28
- package/projects/ngx/src/lib/components/rtsee-messenger/chat-thumbnail/chat-thumbnail.component.ts +0 -27
- package/projects/ngx/src/lib/components/rtsee-messenger/chats-list/chats-list.component.html +0 -6
- package/projects/ngx/src/lib/components/rtsee-messenger/chats-list/chats-list.component.ts +0 -22
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/contacts-multiselect/contacts-multiselect.component.html +0 -3
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/contacts-multiselect/contacts-multiselect.component.scss +0 -0
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/contacts-multiselect/contacts-multiselect.component.ts +0 -18
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/manage-chat/manage-chat.component.html +0 -4
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/manage-chat/manage-chat.component.scss +0 -0
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/manage-chat/manage-chat.component.ts +0 -18
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/models/MainMenuState.ts +0 -11
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/search/search.component.html +0 -25
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/components/search/search.component.ts +0 -36
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/main-menu.component.html +0 -32
- package/projects/ngx/src/lib/components/rtsee-messenger/main-menu/main-menu.component.ts +0 -41
- package/projects/ngx/src/lib/components/rtsee-messenger/message/components/message-time-and-status/message-time-and-status.component.html +0 -9
- package/projects/ngx/src/lib/components/rtsee-messenger/message/components/message-time-and-status/message-time-and-status.component.ts +0 -23
- package/projects/ngx/src/lib/components/rtsee-messenger/message/message.component.html +0 -17
- package/projects/ngx/src/lib/components/rtsee-messenger/message/message.component.ts +0 -64
- package/projects/ngx/src/lib/components/rtsee-messenger/message-widgets/call-widget/call-widget.component.html +0 -10
- package/projects/ngx/src/lib/components/rtsee-messenger/message-widgets/call-widget/call-widget.component.scss +0 -1
- package/projects/ngx/src/lib/components/rtsee-messenger/message-widgets/call-widget/call-widget.component.ts +0 -36
- package/projects/ngx/src/lib/components/rtsee-messenger/messages-list/messages-list.component.html +0 -18
- package/projects/ngx/src/lib/components/rtsee-messenger/messages-list/messages-list.component.ts +0 -91
- package/projects/ngx/src/lib/components/rtsee-messenger/messenger/messenger.component.html +0 -31
- package/projects/ngx/src/lib/components/rtsee-messenger/messenger/messenger.component.ts +0 -45
- package/projects/ngx/src/lib/components/rtsee-messenger/messenger-header/messenger-header.component.html +0 -57
- package/projects/ngx/src/lib/components/rtsee-messenger/messenger-header/messenger-header.component.ts +0 -30
- package/projects/ngx/src/lib/components/rtsee-messenger/profile/profile.component.html +0 -20
- package/projects/ngx/src/lib/components/rtsee-messenger/profile/profile.component.ts +0 -25
- package/projects/ngx/src/lib/components/rtsee-peer/rtsee-peer.component.html +0 -28
- package/projects/ngx/src/lib/components/rtsee-peer/rtsee-peer.component.ts +0 -43
- package/projects/ngx/src/lib/components/rtsee-peers-list/rtsee-peers-list.component.html +0 -1
- package/projects/ngx/src/lib/components/rtsee-peers-list/rtsee-peers-list.component.scss +0 -0
- package/projects/ngx/src/lib/components/rtsee-peers-list/rtsee-peers-list.component.ts +0 -9
- package/projects/ngx/src/lib/components/rtsee-presentation/presentation/presentation.component.html +0 -25
- package/projects/ngx/src/lib/components/rtsee-presentation/presentation/presentation.component.ts +0 -24
- package/projects/ngx/src/lib/components/rtsee-presentation/presentation-header/presentation-header.component.html +0 -14
- package/projects/ngx/src/lib/components/rtsee-presentation/presentation-header/presentation-header.component.ts +0 -15
- package/projects/ngx/src/lib/components/rtsee-presentation/slide/slide.component.html +0 -33
- package/projects/ngx/src/lib/components/rtsee-presentation/slide/slide.component.ts +0 -26
- package/projects/ngx/src/lib/components/rtsee-presentation/story-player/story-player.component.html +0 -10
- package/projects/ngx/src/lib/components/rtsee-presentation/story-player/story-player.component.ts +0 -22
- package/projects/ngx/src/lib/components/rtsee-presentation/story-thumbnail/story-thumbnail.component.html +0 -15
- package/projects/ngx/src/lib/components/rtsee-presentation/story-thumbnail/story-thumbnail.component.scss +0 -0
- package/projects/ngx/src/lib/components/rtsee-presentation/story-thumbnail/story-thumbnail.component.ts +0 -19
- package/projects/ngx/src/lib/components/rtsee-settings/rtsee-settings.component.html +0 -44
- package/projects/ngx/src/lib/components/rtsee-settings/rtsee-settings.component.scss +0 -30
- package/projects/ngx/src/lib/components/rtsee-settings/rtsee-settings.component.ts +0 -57
- package/projects/ngx/src/lib/components/rtsee-soundbar/rtsee-soundbar.component.html +0 -19
- package/projects/ngx/src/lib/components/rtsee-soundbar/rtsee-soundbar.component.scss +0 -56
- package/projects/ngx/src/lib/components/rtsee-soundbar/rtsee-soundbar.component.ts +0 -66
- package/projects/ngx/src/lib/directives/shave.directive.ts +0 -15
- package/projects/ngx/src/lib/directives/widget.directive.ts +0 -9
- package/projects/ngx/src/lib/ngx.module.ts +0 -127
- package/projects/ngx/src/lib/ngx.service.spec.ts +0 -16
- package/projects/ngx/src/lib/ngx.service.ts +0 -11
- package/projects/ngx/src/lib/services/default-images.service.ts +0 -8
- package/projects/ngx/src/lib/services/events-widgets.service.ts +0 -19
- package/projects/ngx/src/lib/services/message-widgets.service.ts +0 -26
- package/projects/ngx/src/lib/services/time-format-helper.service.ts +0 -111
- package/projects/ngx/src/public-api.ts +0 -16
- package/projects/ngx/tsconfig.lib.json +0 -14
- package/projects/ngx/tsconfig.lib.prod.json +0 -10
- package/projects/ngx/tsconfig.spec.json +0 -10
- package/projects/ngx/yarn.lock +0 -8
- package/scss-bundle.config.json +0 -6
- package/setup-jest.ts +0 -1
- package/tsconfig.eslint.json +0 -4
- package/tsconfig.json +0 -35
- package/tsconfig.spec.json +0 -8
- /package/{projects → dist}/ngx/README.md +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/auth/auth-container.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/auth/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/auth/variables.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/common-components/preloader.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/common-variables.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/common.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/containers/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/containers/nav-item.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/containers/nav.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/containers/shell.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/containers/variables.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager/client-thumbnail.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager/event-thumbnail.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager/events-dashboard-session.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager/events-dashboard.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager/events-manager.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/events-manager.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/forms/common.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/forms/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/forms/variables.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/general.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/call-widget.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/chat-input.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/chat-thumbnail.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/chat.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/chats-list.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/message-time-and-status.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/message.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/messages-list.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/messenger-header.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/messenger-search.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/messenger.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/messenger/variables.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/presentation/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/presentation/slide.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/presentation/story-player.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/presentation/story-thumbnail.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/presentation/variables.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/styles.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/video-chat/index.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/video-chat/video-chat.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/video-chat/video-peer.scss +0 -0
- /package/{projects → dist}/ngx/src/lib/theme/video-chat.scss +0 -0
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
-
import { RTSeeControlsComponent } from './components/rtsee/rtsee-controls/rtsee-controls.component';
|
|
3
|
-
import { CommonModule, NgOptimizedImage } from '@angular/common';
|
|
4
|
-
import { RtseePeerComponent } from './components/rtsee-peer/rtsee-peer.component';
|
|
5
|
-
import { RtseeSoundbarComponent } from './components/rtsee-soundbar/rtsee-soundbar.component';
|
|
6
|
-
import { RtseePeersListComponent } from './components/rtsee-peers-list/rtsee-peers-list.component';
|
|
7
|
-
import { RtseeSettingsComponent } from './components/rtsee-settings/rtsee-settings.component';
|
|
8
|
-
import { MessengerComponent } from './components/rtsee-messenger/messenger/messenger.component';
|
|
9
|
-
import { ChatComponent } from './components/rtsee-messenger/chat/chat.component';
|
|
10
|
-
import { MessageComponent } from './components/rtsee-messenger/message/message.component';
|
|
11
|
-
import { ChatsListComponent } from './components/rtsee-messenger/chats-list/chats-list.component';
|
|
12
|
-
import { MessagesListComponent } from './components/rtsee-messenger/messages-list/messages-list.component';
|
|
13
|
-
import { ChatThumbnailComponent } from './components/rtsee-messenger/chat-thumbnail/chat-thumbnail.component';
|
|
14
|
-
import { ChatInputComponent } from './components/rtsee-messenger/chat-input/chat-input.component';
|
|
15
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
16
|
-
import { MessengerHeaderComponent } from './components/rtsee-messenger/messenger-header/messenger-header.component';
|
|
17
|
-
import { RtseeEventsDashboardComponent } from './components/rtsee-events-dashboard/rtsee-events-dashboard.component';
|
|
18
|
-
import { RtseeEventsDashboardClientComponent } from './components/rtsee-events-dashboard/components/rtsee-events-dashboard-client/rtsee-events-dashboard-client.component';
|
|
19
|
-
import { RtseeEventsDashboardClientThumbnailComponent } from './components/rtsee-events-dashboard/components/rtsee-events-dashboard-client-thumbnail/rtsee-events-dashboard-client-thumbnail.component';
|
|
20
|
-
import { WidgetDirective } from './directives/widget.directive';
|
|
21
|
-
import { CallWidgetComponent } from './components/rtsee-messenger/message-widgets/call-widget/call-widget.component';
|
|
22
|
-
import { AutosizeModule } from 'ngx-autosize';
|
|
23
|
-
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
24
|
-
import { MainMenuComponent } from './components/rtsee-messenger/main-menu/main-menu.component';
|
|
25
|
-
import { MessageTimeAndStatusComponent } from './components/rtsee-messenger/message/components/message-time-and-status/message-time-and-status.component';
|
|
26
|
-
import { PreloaderComponent } from './common/components/preloader/preloader.component';
|
|
27
|
-
import { SearchComponent } from './components/rtsee-messenger/main-menu/components/search/search.component';
|
|
28
|
-
import { ManageChatComponent } from './components/rtsee-messenger/main-menu/components/manage-chat/manage-chat.component';
|
|
29
|
-
import { ContactsMultiselectComponent } from './components/rtsee-messenger/main-menu/components/contacts-multiselect/contacts-multiselect.component';
|
|
30
|
-
import { ShaveDirective } from './directives/shave.directive';
|
|
31
|
-
import { ProfileComponent } from './components/rtsee-messenger/profile/profile.component';
|
|
32
|
-
import { EventThumbnailComponent } from './components/rtsee-events-dashboard/components/event-thumbnail/event-thumbnail.component';
|
|
33
|
-
import { RtseeEventsDashboardSessionComponent } from './components/rtsee-events-dashboard/components/rtsee-events-dashboard-session/rtsee-events-dashboard-session.component';
|
|
34
|
-
import { RTSeeContainerComponent } from './components/rtsee-container/rtsee-container.component';
|
|
35
|
-
import { RTSeeConferenceComponent } from './components/rtsee/rtsee-conference.component';
|
|
36
|
-
import { PresentationComponent } from './components/rtsee-presentation/presentation/presentation.component';
|
|
37
|
-
import { StoryPlayerComponent } from './components/rtsee-presentation/story-player/story-player.component';
|
|
38
|
-
import { SlideComponent } from './components/rtsee-presentation/slide/slide.component';
|
|
39
|
-
import { StoryThumbnailComponent } from './components/rtsee-presentation/story-thumbnail/story-thumbnail.component';
|
|
40
|
-
import { SignUpComponent } from "./components/rtsee-auth/sign-up/sign-up.component";
|
|
41
|
-
import { SignInComponent } from "./components/rtsee-auth/sign-in/sign-in.component";
|
|
42
|
-
import { ForgotPasswordComponent } from "./components/rtsee-auth/forgot-password/forgot-password.component";
|
|
43
|
-
import { VendorsComponent } from "./components/rtsee-auth/vendors/vendors.component";
|
|
44
|
-
import { RTSeeAuthComponent } from './components/rtsee-auth/auth/auth.component';
|
|
45
|
-
import { RouterLink, RouterLinkActive } from "@angular/router";
|
|
46
|
-
import { ResetPasswordComponent } from './components/rtsee-auth/reset-password/reset-password.component';
|
|
47
|
-
import { PresentationHeaderComponent } from './components/rtsee-presentation/presentation-header/presentation-header.component';
|
|
48
|
-
import { NgxCaptchaModule } from "ngx-captcha";
|
|
49
|
-
import { provideAnimationsAsync } from "@angular/platform-browser/animations/async";
|
|
50
|
-
import { providePrimeNG } from "primeng/config";
|
|
51
|
-
import Aura from '@primeuix/themes/aura';
|
|
52
|
-
|
|
53
|
-
@NgModule({
|
|
54
|
-
providers: [
|
|
55
|
-
provideAnimationsAsync(),
|
|
56
|
-
providePrimeNG({
|
|
57
|
-
theme: {
|
|
58
|
-
preset: Aura
|
|
59
|
-
}
|
|
60
|
-
})
|
|
61
|
-
],
|
|
62
|
-
declarations: [],
|
|
63
|
-
imports: [
|
|
64
|
-
RTSeeAuthComponent,
|
|
65
|
-
VendorsComponent,
|
|
66
|
-
ForgotPasswordComponent,
|
|
67
|
-
SignInComponent,
|
|
68
|
-
SignUpComponent,
|
|
69
|
-
RtseeEventsDashboardSessionComponent,
|
|
70
|
-
EventThumbnailComponent,
|
|
71
|
-
ShaveDirective,
|
|
72
|
-
ContactsMultiselectComponent,
|
|
73
|
-
ManageChatComponent,
|
|
74
|
-
CallWidgetComponent,
|
|
75
|
-
WidgetDirective,
|
|
76
|
-
RtseeEventsDashboardClientComponent,
|
|
77
|
-
ResetPasswordComponent,
|
|
78
|
-
RtseeEventsDashboardClientThumbnailComponent,
|
|
79
|
-
RtseePeersListComponent,
|
|
80
|
-
ChatComponent,
|
|
81
|
-
MessageComponent,
|
|
82
|
-
MessagesListComponent,
|
|
83
|
-
ChatThumbnailComponent,
|
|
84
|
-
ChatInputComponent,
|
|
85
|
-
RtseeEventsDashboardComponent,
|
|
86
|
-
MessengerComponent,
|
|
87
|
-
RTSeeControlsComponent,
|
|
88
|
-
RTSeeContainerComponent,
|
|
89
|
-
RTSeeConferenceComponent,
|
|
90
|
-
RtseePeerComponent,
|
|
91
|
-
RtseeSoundbarComponent,
|
|
92
|
-
RtseeSettingsComponent,
|
|
93
|
-
MessengerHeaderComponent,
|
|
94
|
-
ChatsListComponent,
|
|
95
|
-
ProfileComponent,
|
|
96
|
-
MainMenuComponent,
|
|
97
|
-
MessageTimeAndStatusComponent,
|
|
98
|
-
PreloaderComponent,
|
|
99
|
-
SearchComponent,
|
|
100
|
-
PresentationComponent,
|
|
101
|
-
StoryPlayerComponent,
|
|
102
|
-
SlideComponent,
|
|
103
|
-
StoryThumbnailComponent,
|
|
104
|
-
PresentationHeaderComponent,
|
|
105
|
-
CommonModule,
|
|
106
|
-
ReactiveFormsModule,
|
|
107
|
-
AutosizeModule,
|
|
108
|
-
InfiniteScrollModule,
|
|
109
|
-
FormsModule,
|
|
110
|
-
NgOptimizedImage,
|
|
111
|
-
RouterLink,
|
|
112
|
-
RouterLinkActive,
|
|
113
|
-
NgxCaptchaModule
|
|
114
|
-
],
|
|
115
|
-
exports: [
|
|
116
|
-
RTSeeConferenceComponent,
|
|
117
|
-
MessengerComponent,
|
|
118
|
-
RtseeEventsDashboardComponent,
|
|
119
|
-
RTSeeContainerComponent,
|
|
120
|
-
PresentationComponent,
|
|
121
|
-
RTSeeAuthComponent
|
|
122
|
-
],
|
|
123
|
-
schemas: [
|
|
124
|
-
CUSTOM_ELEMENTS_SCHEMA,
|
|
125
|
-
]
|
|
126
|
-
})
|
|
127
|
-
export class RTSeeModule {}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { NgxService } from './ngx.service';
|
|
4
|
-
|
|
5
|
-
describe('NgxService', () => {
|
|
6
|
-
let service: NgxService;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
TestBed.configureTestingModule({});
|
|
10
|
-
service = TestBed.inject(NgxService);
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it('should be created', () => {
|
|
14
|
-
expect(service).toBeTruthy();
|
|
15
|
-
});
|
|
16
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { IMessageWidget } from './message-widgets.service';
|
|
3
|
-
|
|
4
|
-
@Injectable({
|
|
5
|
-
providedIn: 'root',
|
|
6
|
-
})
|
|
7
|
-
export class EventsWidgetsService {
|
|
8
|
-
widgetsMap: IMessageWidget[] = [];
|
|
9
|
-
|
|
10
|
-
getWidgetComponentByName(name: string) {
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
const mapping = this.widgetsMap.find((e) => e.name === name);
|
|
13
|
-
if (!mapping) {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
return mapping.component;
|
|
17
|
-
/* eslint-enable */
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { CallWidgetComponent } from '../components/rtsee-messenger/message-widgets/call-widget/call-widget.component';
|
|
3
|
-
|
|
4
|
-
export interface IMessageWidget {
|
|
5
|
-
name: string;
|
|
6
|
-
component: any;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@Injectable({
|
|
10
|
-
providedIn: 'root',
|
|
11
|
-
})
|
|
12
|
-
export class MessageWidgetsService {
|
|
13
|
-
widgetsMap: IMessageWidget[] = [
|
|
14
|
-
{ name: 'rtsee-call', component: CallWidgetComponent },
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
getWidgetComponentByName(name: string) {
|
|
18
|
-
/* eslint-disable */
|
|
19
|
-
const mapping = this.widgetsMap.find((e) => e.name === name);
|
|
20
|
-
if (!mapping) {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
return mapping.component;
|
|
24
|
-
/* eslint-enable */
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import dayjs from 'dayjs';
|
|
4
|
-
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
5
|
-
dayjs.extend(relativeTime);
|
|
6
|
-
|
|
7
|
-
@Injectable({
|
|
8
|
-
providedIn: 'root',
|
|
9
|
-
})
|
|
10
|
-
export class TimeFormatHelperService {
|
|
11
|
-
toAgo(time: Date): string {
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
return dayjs(time).fromNow() as string;
|
|
14
|
-
/* eslint-enable */
|
|
15
|
-
}
|
|
16
|
-
toDayOfWeek(time: Date): string {
|
|
17
|
-
/* eslint-disable */
|
|
18
|
-
return dayjs(time).format('ddd');
|
|
19
|
-
/* eslint-enable */
|
|
20
|
-
}
|
|
21
|
-
toTime(time: Date): string {
|
|
22
|
-
/* eslint-disable */
|
|
23
|
-
return dayjs(time).format('HH:mm') as string;
|
|
24
|
-
/* eslint-enable */
|
|
25
|
-
}
|
|
26
|
-
toDate(time: Date): string {
|
|
27
|
-
/* eslint-disable */
|
|
28
|
-
return dayjs(time).format('D MMMM') as string;
|
|
29
|
-
/* eslint-enable */
|
|
30
|
-
}
|
|
31
|
-
toDateNumeral(time: Date): string {
|
|
32
|
-
/* eslint-disable */
|
|
33
|
-
return dayjs(time).format('DD.MM');
|
|
34
|
-
/* eslint-enable */
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
toDateNumeralWithYear(time: Date): string {
|
|
38
|
-
/* eslint-disable */
|
|
39
|
-
return dayjs(time).format('DD.MM.YY');
|
|
40
|
-
/* eslint-enable */
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
toDateWithYear(time: Date): string {
|
|
44
|
-
/* eslint-disable */
|
|
45
|
-
return dayjs(time).format('MMMM D, YYYY ') as string;
|
|
46
|
-
/* eslint-enable */
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
formatDate(time: Date) {
|
|
50
|
-
const today = new Date();
|
|
51
|
-
const dayMs = 1000 * 60 * 60 * 24;
|
|
52
|
-
const twoDays = dayMs * 2;
|
|
53
|
-
|
|
54
|
-
if (!time) {
|
|
55
|
-
return '';
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
if (
|
|
59
|
-
today.getTime() - time.getTime() < dayMs &&
|
|
60
|
-
today.getDay() === time.getDay()
|
|
61
|
-
) {
|
|
62
|
-
return 'Today';
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
if (
|
|
66
|
-
today.getTime() - time.getTime() < twoDays &&
|
|
67
|
-
today.getTime() - time.getTime() > dayMs &&
|
|
68
|
-
today.getDay() !== time.getDay()
|
|
69
|
-
) {
|
|
70
|
-
return 'Yesterday';
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
if (today.getFullYear() === time.getFullYear()) {
|
|
74
|
-
return this.toDate(time);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return this.toDateWithYear(time);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
formatTimeOrDate(time: Date) {
|
|
81
|
-
if (!time) {
|
|
82
|
-
return '';
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
const today = new Date();
|
|
86
|
-
const dayMs = 1000 * 60 * 60 * 24;
|
|
87
|
-
|
|
88
|
-
if (
|
|
89
|
-
today.getTime() - time.getTime() < dayMs &&
|
|
90
|
-
today.getDay() === time.getDay()
|
|
91
|
-
) {
|
|
92
|
-
return this.toTime(time);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
if (
|
|
96
|
-
today.getTime() - time.getTime() > dayMs &&
|
|
97
|
-
today.getTime() - time.getTime() < dayMs * 7
|
|
98
|
-
) {
|
|
99
|
-
return this.toDayOfWeek(time);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
if (
|
|
103
|
-
today.getTime() - time.getTime() > dayMs * 7 &&
|
|
104
|
-
today.getFullYear() === time.getFullYear()
|
|
105
|
-
) {
|
|
106
|
-
return this.toDateNumeral(time);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return this.toDateNumeralWithYear(time);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of ngx
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export * from './lib/ngx.service';
|
|
6
|
-
export * from './lib/components/rtsee/rtsee-controls/rtsee-controls.component';
|
|
7
|
-
export * from './lib/components/rtsee-settings/rtsee-settings.component';
|
|
8
|
-
export * from './lib/components/rtsee/rtsee-conference.component';
|
|
9
|
-
export * from './lib/components/rtsee-peer/rtsee-peer.component';
|
|
10
|
-
export * from './lib/components/rtsee-messenger/profile/profile.component';
|
|
11
|
-
export * from './lib/components/rtsee-messenger/messenger/messenger.component';
|
|
12
|
-
export * from './lib/components/rtsee-events-dashboard/rtsee-events-dashboard.component';
|
|
13
|
-
export * from './lib/components/rtsee-container/rtsee-container.component';
|
|
14
|
-
export * from './lib/components/rtsee-presentation/presentation/presentation.component';
|
|
15
|
-
export * from './lib/components/rtsee-auth/auth/auth.component';
|
|
16
|
-
export * from './lib/ngx.module';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/lib",
|
|
6
|
-
"target": "es2015",
|
|
7
|
-
"declaration": true,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"types": [],
|
|
11
|
-
"lib": ["dom", "es2018"]
|
|
12
|
-
},
|
|
13
|
-
"exclude": ["src/test.ts", "**/*.spec.ts"]
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/spec",
|
|
6
|
-
"types": ["jest"]
|
|
7
|
-
},
|
|
8
|
-
"files": ["src/test.ts"],
|
|
9
|
-
"include": ["**/*.spec.ts", "**/*.d.ts"]
|
|
10
|
-
}
|
package/projects/ngx/yarn.lock
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
2
|
-
# yarn lockfile v1
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
tslib@^2.2.0:
|
|
6
|
-
version "2.3.0"
|
|
7
|
-
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
|
|
8
|
-
integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==
|
package/scss-bundle.config.json
DELETED
package/setup-jest.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import 'jest-preset-angular/setup-jest';
|
package/tsconfig.eslint.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compileOnSave": false,
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"strict": true,
|
|
5
|
-
"esModuleInterop": true,
|
|
6
|
-
"noImplicitOverride": true,
|
|
7
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
8
|
-
"noImplicitReturns": true,
|
|
9
|
-
"paths": {
|
|
10
|
-
"ngx": [
|
|
11
|
-
"./dist/ngx"
|
|
12
|
-
]
|
|
13
|
-
},
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"isolatedModules": true,
|
|
17
|
-
"experimentalDecorators": true,
|
|
18
|
-
"importHelpers": true,
|
|
19
|
-
"target": "ES2022",
|
|
20
|
-
"module": "preserve",
|
|
21
|
-
"useDefineForClassFields": false
|
|
22
|
-
},
|
|
23
|
-
"angularCompilerOptions": {
|
|
24
|
-
"enableI18nLegacyMessageIdFormat": false,
|
|
25
|
-
"strictInjectionParameters": true,
|
|
26
|
-
"strictInputAccessModifiers": true,
|
|
27
|
-
"typeCheckHostBindings": true,
|
|
28
|
-
"strictTemplates": true
|
|
29
|
-
},
|
|
30
|
-
"references": [
|
|
31
|
-
{
|
|
32
|
-
"path": "./projects/ngx/tsconfig.spec.json"
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
package/tsconfig.spec.json
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|