@rtsee/ngx 0.0.77 → 0.0.78
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 +293 -117
- package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -1
- package/dist/ngx/index.d.ts +11 -3
- package/dist/ngx/src/lib/theme/common-components/image-uploader.scss +14 -1
- package/dist/ngx/src/lib/theme/containers/shell.scss +2 -0
- package/dist/ngx/src/lib/theme/messenger/chat.scss +2 -0
- package/dist/ngx/src/lib/theme/messenger/message.scss +1 -1
- package/dist/ngx/src/lib/theme/messenger/messages-list.scss +4 -0
- package/dist/ngx/src/lib/theme/messenger/messenger.scss +22 -0
- package/dist/ngx/src/lib/theme/messenger/profile.scss +34 -1
- package/dist/ngx/src/lib/theme/presentation/story-player.scss +3 -1
- package/dist/ngx/src/lib/theme/presentation/story-thumbnail.scss +26 -0
- package/dist/ngx/src/lib/theme/presentation/variables.scss +2 -3
- package/package.json +8 -8
package/dist/ngx/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnInit, AfterViewInit, ElementRef, ViewContainerRef, ComponentFactoryResolver, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { RTSeeConference, RTSeePeerConnection } from '@rtsee/conference';
|
|
4
4
|
import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember } from '@rtsee/messenger';
|
|
5
|
-
import { IPeer, IRTSeeCall } from '@rtsee/core';
|
|
5
|
+
import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
|
|
6
6
|
import { HttpClient } from '@angular/common/http';
|
|
7
7
|
import { RTSeeAuth, RTSeeAuthConfiguration, IRtseeSignInRequestOptions, IRTSeeSignInResponse, IRtseeSignUpRequestOptions, IRTSeeSignUpResponse, AuthEndpointsKeys } from '@rtsee/auth';
|
|
8
8
|
import { Observable, Subscription } from 'rxjs';
|
|
@@ -107,10 +107,12 @@ declare class ProfileComponent {
|
|
|
107
107
|
messenger: RTSeeMessenger;
|
|
108
108
|
peer?: IPeer;
|
|
109
109
|
constructor(authService: RTSeeAuthService, router: Router);
|
|
110
|
+
setLanguage(): void;
|
|
110
111
|
call(): void;
|
|
111
112
|
videoCall(): void;
|
|
112
113
|
logOut(): void;
|
|
113
114
|
protected readonly AuthEndpointsKeys: typeof AuthEndpointsKeys;
|
|
115
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
114
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileComponent, never>;
|
|
115
117
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileComponent, "rtsee-profile", never, { "messenger": { "alias": "messenger"; "required": false; }; "peer": { "alias": "peer"; "required": false; }; }, {}, never, never, true, never>;
|
|
116
118
|
}
|
|
@@ -151,6 +153,7 @@ declare class PresentationComponent {
|
|
|
151
153
|
presentation: RTSeePresentation;
|
|
152
154
|
messenger?: RTSeeMessenger;
|
|
153
155
|
constructor();
|
|
156
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
154
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationComponent, never>;
|
|
155
158
|
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationComponent, "rtsee-presentation", never, { "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
|
|
156
159
|
}
|
|
@@ -227,6 +230,7 @@ declare class SignInComponent {
|
|
|
227
230
|
private showServerSideErrorForXSeconds;
|
|
228
231
|
private disableFormFields;
|
|
229
232
|
private enableFormFields;
|
|
233
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
230
234
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignInComponent, never>;
|
|
231
235
|
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "rtsee-sign-in", never, {}, {}, never, never, true, never>;
|
|
232
236
|
}
|
|
@@ -538,6 +542,7 @@ declare class MessengerHeaderComponent {
|
|
|
538
542
|
messenger: RTSeeMessenger;
|
|
539
543
|
constructor(defaultImagesService: DefaultImagesService);
|
|
540
544
|
openProfile(id: string): void;
|
|
545
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
541
546
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessengerHeaderComponent, never>;
|
|
542
547
|
static ɵcmp: i0.ɵɵComponentDeclaration<MessengerHeaderComponent, "rtsee-messenger-header", never, { "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
|
|
543
548
|
}
|
|
@@ -621,15 +626,18 @@ declare class SlideComponent implements AfterViewInit {
|
|
|
621
626
|
static ɵcmp: i0.ɵɵComponentDeclaration<SlideComponent, "rtsee-slide", never, { "story": { "alias": "story"; "required": false; }; "slide": { "alias": "slide"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
622
627
|
}
|
|
623
628
|
|
|
624
|
-
declare class StoryThumbnailComponent {
|
|
625
|
-
|
|
629
|
+
declare class StoryThumbnailComponent implements OnInit {
|
|
630
|
+
progressPercent: number;
|
|
626
631
|
protected readonly Math: Math;
|
|
632
|
+
story: RTSeeStory;
|
|
633
|
+
ngOnInit(): void;
|
|
627
634
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoryThumbnailComponent, never>;
|
|
628
635
|
static ɵcmp: i0.ɵɵComponentDeclaration<StoryThumbnailComponent, "rtsee-story-thumbnail", never, { "story": { "alias": "story"; "required": false; }; }, {}, never, never, true, never>;
|
|
629
636
|
}
|
|
630
637
|
|
|
631
638
|
declare class PresentationHeaderComponent {
|
|
632
639
|
presentation: RTSeePresentation;
|
|
640
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
633
641
|
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationHeaderComponent, never>;
|
|
634
642
|
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationHeaderComponent, "rtsee-presentation-header", never, { "presentation": { "alias": "presentation"; "required": false; }; }, {}, never, never, true, never>;
|
|
635
643
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
@import "../common-variables";
|
|
2
2
|
|
|
3
|
+
.rtsee-image-cropper-container {
|
|
4
|
+
.image-cropper-actions {
|
|
5
|
+
padding: $rts-offset-sm;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
3
9
|
.rtsee-image-uploader {
|
|
4
10
|
.rtsee-image-uploader-image {
|
|
5
11
|
cursor: pointer;
|
|
6
12
|
margin-bottom: $rts-offset-sm;
|
|
13
|
+
position: relative;
|
|
7
14
|
|
|
8
15
|
.rtsee-image-uploader-preview-image {
|
|
9
16
|
width: 100%;
|
|
@@ -20,8 +27,14 @@
|
|
|
20
27
|
.rtsee-preloader-image-placeholder-text {
|
|
21
28
|
display: flex;
|
|
22
29
|
}
|
|
30
|
+
}
|
|
23
31
|
|
|
32
|
+
.rtsee-image-uploader-image-change-btn {
|
|
33
|
+
position: absolute;
|
|
34
|
+
bottom: $rts-offset-sm;
|
|
35
|
+
right: $rts-offset-sm;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
font-size: 24px;
|
|
24
38
|
}
|
|
25
39
|
}
|
|
26
|
-
|
|
27
40
|
}
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
.rtsee-chat-footer-container {
|
|
83
83
|
bottom: $rts-bottom-nav-height;
|
|
84
|
+
left: 0;
|
|
84
85
|
position: fixed;
|
|
85
86
|
z-index: 1;
|
|
86
87
|
}
|
|
@@ -227,6 +228,7 @@
|
|
|
227
228
|
|
|
228
229
|
.rtsee-chat-footer-container {
|
|
229
230
|
bottom: 0;
|
|
231
|
+
left: 0;
|
|
230
232
|
position: absolute;
|
|
231
233
|
}
|
|
232
234
|
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
display: block;
|
|
21
21
|
position: fixed;
|
|
22
22
|
bottom: $rts-bottom-nav-height;
|
|
23
|
+
left: 0;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
@media screen and (min-width: $rts-break-md) {
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
position: absolute;
|
|
41
42
|
padding: $rts-new-offset-xsm;
|
|
42
43
|
bottom: 0;
|
|
44
|
+
left: 0;
|
|
43
45
|
background-color: $rts-secondary-bg-color-light;
|
|
44
46
|
width: 100%;
|
|
45
47
|
z-index: 1;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
float: left;
|
|
35
35
|
background-color: $rts-main-bg-color-light;
|
|
36
36
|
border-radius: $rts-new-border-radius-rounded;
|
|
37
|
-
padding: $rts-new-offset-xsm
|
|
37
|
+
padding: $rts-new-offset-xsm;
|
|
38
38
|
font-size: 14px;
|
|
39
39
|
margin-bottom: $rts-offset-sm * 0.5;
|
|
40
40
|
|
|
@@ -27,6 +27,10 @@ $messenger-date-background-color: #FFFFFF7F;
|
|
|
27
27
|
.rtsee-messenger-message-inset {
|
|
28
28
|
.rtsee-messenger-message-sender-image {
|
|
29
29
|
top: $rts-offset-sm + $video-container-height;
|
|
30
|
+
|
|
31
|
+
@media screen and (min-width: $rts-break-md) {
|
|
32
|
+
top: $rts-offset-sm;
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
|
@@ -14,6 +14,20 @@ $control-icon-size: 18px;
|
|
|
14
14
|
position: relative;
|
|
15
15
|
background-color: $rts-main-bg-color-light;
|
|
16
16
|
|
|
17
|
+
.rtsee-manage-profile {
|
|
18
|
+
position: fixed;
|
|
19
|
+
inset: 0;
|
|
20
|
+
overflow: auto;
|
|
21
|
+
z-index: 10;
|
|
22
|
+
background-color: #ffffff;
|
|
23
|
+
|
|
24
|
+
.rtsee-manage-profile-buttons {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
17
31
|
&.rtsee-messenger-header-expanded {
|
|
18
32
|
padding-top: 0;
|
|
19
33
|
|
|
@@ -46,6 +60,14 @@ $control-icon-size: 18px;
|
|
|
46
60
|
@media screen and (min-width: $rts-break-md) {
|
|
47
61
|
overflow: hidden;
|
|
48
62
|
|
|
63
|
+
&.rtsee-messenger-header-expanded {
|
|
64
|
+
overflow: auto;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.rtsee-manage-profile {
|
|
68
|
+
position: absolute;
|
|
69
|
+
}
|
|
70
|
+
|
|
49
71
|
.rtsee-messenger-body-container {
|
|
50
72
|
overflow: auto;
|
|
51
73
|
overscroll-behavior-y: contain;
|
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
.rtsee-messenger-profile {
|
|
5
|
-
padding: $rts-offset-sm;
|
|
5
|
+
padding: $rts-offset-sm $rts-offset-sm ($rts-bottom-nav-height + $rts-offset-sm) $rts-offset-sm;
|
|
6
|
+
|
|
7
|
+
.rtsee-messenger-profile-info {
|
|
8
|
+
.rtsee-messenger-profile-info-name {
|
|
9
|
+
margin: 0;
|
|
10
|
+
font-size: 22px;
|
|
11
|
+
color: $rts-font-color-light;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rtsee-messenger-profile-info-language {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
padding: $rts-offset-sm 0;
|
|
23
|
+
|
|
24
|
+
.rtsee-messenger-profile-info-language-label {
|
|
25
|
+
font-size: 18px;
|
|
26
|
+
color: $rts-font-color-light;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rtsee-messenger-profile-info-language-select {
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
6
35
|
|
|
7
36
|
.rtsee-messenger-profile-actions {
|
|
8
37
|
list-style-type: none;
|
|
@@ -37,4 +66,8 @@
|
|
|
37
66
|
}
|
|
38
67
|
}
|
|
39
68
|
}
|
|
69
|
+
|
|
70
|
+
@media screen and (min-width: $rts-break-md) {
|
|
71
|
+
padding: $rts-offset-sm;
|
|
72
|
+
}
|
|
40
73
|
}
|
|
@@ -59,10 +59,12 @@
|
|
|
59
59
|
height: $stories-player-height-wide-screen;
|
|
60
60
|
height: $stories-player-height-wide-screen-dvh;
|
|
61
61
|
|
|
62
|
+
|
|
62
63
|
.rtsee-story-player-slider {
|
|
63
64
|
.story-player-slide-container {
|
|
64
65
|
height: $stories-player-height-wide-screen;
|
|
65
|
-
height: $stories-player-height-wide-screen-dvh;
|
|
66
|
+
height: $stories-player-height-wide-screen-dvh;
|
|
67
|
+
// we need a macros for this
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
}
|
|
@@ -45,12 +45,38 @@
|
|
|
45
45
|
color: #334155;
|
|
46
46
|
|
|
47
47
|
.rtsee-story-thumbnail-image-container {
|
|
48
|
+
position: relative;
|
|
48
49
|
padding-bottom: $story-thumb-image-padding;
|
|
49
50
|
background-size: cover;
|
|
50
51
|
background-position: center center;
|
|
51
52
|
background-repeat: no-repeat;
|
|
52
53
|
overflow: hidden;
|
|
53
54
|
border-radius: $rts-default-border-radius;
|
|
55
|
+
|
|
56
|
+
.rtsee-story-thumbnail-progress-bar-container {
|
|
57
|
+
$rts-progress-bar-height: 5px;
|
|
58
|
+
|
|
59
|
+
position: absolute;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: $rts-progress-bar-height;
|
|
62
|
+
bottom: $rts-progress-bar-height;
|
|
63
|
+
left: 0;
|
|
64
|
+
padding: 0 $rts-offset-sm;
|
|
65
|
+
|
|
66
|
+
.rtsee-story-thumbnail-progress-bar {
|
|
67
|
+
height: $rts-progress-bar-height;
|
|
68
|
+
width: 100%;
|
|
69
|
+
background-color: #cccccc;
|
|
70
|
+
border-radius: 3px;
|
|
71
|
+
|
|
72
|
+
.rtsee-story-thumbnail-progress-bar-inner {
|
|
73
|
+
height: $rts-progress-bar-height;
|
|
74
|
+
background-color: #cc0000;
|
|
75
|
+
border-radius: 3px;
|
|
76
|
+
float: left;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
54
80
|
}
|
|
55
81
|
|
|
56
82
|
.rtsee-story-thumbnail-body-container {
|
|
@@ -19,6 +19,5 @@ $stories-player-height-wide-screen: calc(100vh - $presentation-dashboard-header-
|
|
|
19
19
|
$presentation-dashboard-ol-height: calc(100vh - $presentation-dashboard-preoccupied-height);
|
|
20
20
|
|
|
21
21
|
$stories-player-height-dvh: calc(100dvh - $rts-bottom-nav-height);
|
|
22
|
-
$stories-player-height-wide-screen-dvh: calc(
|
|
23
|
-
|
|
24
|
-
$presentation-dashboard-ol-height-dvh: calc(100vh - $presentation-dashboard-preoccupied-height)
|
|
22
|
+
$stories-player-height-wide-screen-dvh: calc(100dvh - $presentation-dashboard-header-height);
|
|
23
|
+
$presentation-dashboard-ol-height-dvh: calc(100dvh - $presentation-dashboard-preoccupied-height)
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.78",
|
|
3
3
|
"name": "@rtsee/ngx",
|
|
4
4
|
"module": "./dist/ngx/fesm2022/rtsee-ngx.mjs",
|
|
5
5
|
"types": "./dist/ngx/index.d.ts",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"@angular/platform-browser-dynamic": "^20.1.2",
|
|
35
35
|
"@angular/router": "^20.1.2",
|
|
36
36
|
"@primeuix/themes": "^1.2.3",
|
|
37
|
-
"@rtsee/common": "^0.0.
|
|
38
|
-
"@rtsee/conference": "^0.0.
|
|
39
|
-
"@rtsee/core": "^0.0.
|
|
40
|
-
"@rtsee/events-dashboard": "^0.0.
|
|
41
|
-
"@rtsee/factory": "^0.0.
|
|
42
|
-
"@rtsee/messenger": "^0.0.
|
|
37
|
+
"@rtsee/common": "^0.0.49",
|
|
38
|
+
"@rtsee/conference": "^0.0.50",
|
|
39
|
+
"@rtsee/core": "^0.0.93",
|
|
40
|
+
"@rtsee/events-dashboard": "^0.0.83",
|
|
41
|
+
"@rtsee/factory": "^0.0.92",
|
|
42
|
+
"@rtsee/messenger": "^0.0.83",
|
|
43
43
|
"@rtsee/signaling-client": "^0.0.66",
|
|
44
44
|
"dayjs": "^1.11.9",
|
|
45
45
|
"ngx-autosize": "^2.0.4",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "5421f401d4a962b6f19d37727f3cb834f7cc4166"
|
|
70
70
|
}
|