@rtsee/ngx 0.0.65 → 0.0.67

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.
@@ -342,7 +342,6 @@ declare class CallWidgetComponent implements OnInit {
342
342
  message: RTSeeMessage<IRTSeeCall>;
343
343
  messenger: RTSeeMessenger;
344
344
  chat: RTSeeChat;
345
- callerName?: string;
346
345
  ngOnInit(): void;
347
346
  joinCall(): void;
348
347
  static ɵfac: i0.ɵɵFactoryDeclaration<CallWidgetComponent, never>;
@@ -548,17 +547,28 @@ declare class SearchComponent implements OnInit, OnDestroy {
548
547
  static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "rtsee-search", never, { "search": { "alias": "search"; "required": false; }; }, {}, never, never, true, never>;
549
548
  }
550
549
 
551
- declare class StoryPlayerComponent implements OnInit {
550
+ declare class StoryPlayerComponent implements OnInit, AfterViewInit {
552
551
  story: RTSeeStory;
552
+ swiperEl: ElementRef<HTMLElement>;
553
+ constructor();
553
554
  ngOnInit(): void;
555
+ ngAfterViewInit(): void;
554
556
  static ɵfac: i0.ɵɵFactoryDeclaration<StoryPlayerComponent, never>;
555
557
  static ɵcmp: i0.ɵɵComponentDeclaration<StoryPlayerComponent, "rtsee-story-player", never, { "story": { "alias": "story"; "required": false; }; }, {}, never, never, true, never>;
556
558
  }
557
559
 
558
- declare class SlideComponent {
560
+ declare class SlideComponent implements AfterViewInit {
561
+ private elementRef;
562
+ hideRewindControls: boolean;
563
+ lastScrollPosition: number;
564
+ scrollingDown: boolean;
559
565
  story: RTSeeStory;
560
566
  slide: RTSeeStorySlide;
567
+ constructor(elementRef: ElementRef<HTMLElement>);
561
568
  slideRewindClicked(forward: boolean): void;
569
+ ngAfterViewInit(): void;
570
+ onScroll(target: EventTarget | null): void;
571
+ private handleScroll;
562
572
  static ɵfac: i0.ɵɵFactoryDeclaration<SlideComponent, never>;
563
573
  static ɵcmp: i0.ɵɵComponentDeclaration<SlideComponent, "rtsee-slide", never, { "story": { "alias": "story"; "required": false; }; "slide": { "alias": "slide"; "required": false; }; }, {}, never, never, true, never>;
564
574
  }
@@ -0,0 +1,27 @@
1
+ @import "../common-variables";
2
+
3
+ .rtsee-image-uploader {
4
+ .rtsee-image-uploader-image {
5
+ cursor: pointer;
6
+ margin-bottom: $rts-offset-sm;
7
+
8
+ .rtsee-image-uploader-preview-image {
9
+ width: 100%;
10
+ }
11
+
12
+ .rtsee-preloader-image-placeholder {
13
+ padding-bottom: 100%;
14
+ background-color: rgba(0, 0, 0, 0.4);
15
+ display: flex;
16
+ flex-direction: column;
17
+ justify-content: center;
18
+ align-items: center;
19
+
20
+ .rtsee-preloader-image-placeholder-text {
21
+ display: flex;
22
+ }
23
+
24
+ }
25
+ }
26
+
27
+ }
@@ -0,0 +1,3 @@
1
+ @import "./image-uploader";
2
+ @import "./preloader";
3
+ @import "./ordered-list";
@@ -0,0 +1,27 @@
1
+ @import "../common-variables";
2
+
3
+ .rtsee-ordered-list {
4
+ margin-top: $rts-offset-sm;
5
+
6
+ .rtsee-ordered-list-item {
7
+ display: flex;
8
+ flex-direction: row;
9
+ justify-content: left;
10
+ flex-shrink: 0;
11
+
12
+ .rtsee-ordered-list-item-image {
13
+ width: 60px;
14
+ display: flex;
15
+ }
16
+
17
+ .rtsee-ordered-list-item-info {
18
+ padding: ($rts-offset-xsm * 0.5) $rts-offset-sm;
19
+
20
+ .rtsee-ordered-list-item-info-buttons {
21
+ .rtsee-ordered-list-item-info-button {
22
+ margin-right: $rts-offset-sm;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
@@ -1,3 +1,4 @@
1
+ $rts-offset-xsm: 4px;
1
2
  $rts-offset-sm: 8px;
2
3
  $rts-offset-md: 16px;
3
4
  $rts-offset-lg: 24px;
@@ -91,7 +91,7 @@
91
91
 
92
92
  .rtsee-shell-panel {
93
93
  display: none;
94
- background-color: green;
94
+ background-color: #fff;
95
95
  }
96
96
 
97
97
  .rtsee-conference-container {
@@ -8,15 +8,23 @@
8
8
  .rtsee-form {
9
9
  background-color: $rts-form-background-color;
10
10
 
11
+ .rtsee-form-field {
12
+ width: 100%;
13
+ }
14
+
11
15
  .rtsee-form-field-container {
12
16
  margin-bottom: $rts-offset-md;
13
17
 
18
+ &.rtsee-autocomplete {
19
+ margin-bottom: $rts-offset-md;
20
+ }
21
+
14
22
  .rtsee-form-field-error-message {
15
23
  display: block;
16
24
  padding: $rts-offset-sm $rts-offset-sm 0 $rts-offset-sm;
17
25
  }
18
26
 
19
- &:last-child {
27
+ &:last-child:not(.rtsee-autocomplete) {
20
28
  margin-bottom: 0;
21
29
  }
22
30
  }
@@ -7,10 +7,5 @@
7
7
  color: $rts-font-color-dbg-light;
8
8
  border-radius: $rts-new-border-radius-rounded;
9
9
  padding: $rts-new-offset-sm $rts-new-offset-md;
10
-
11
- &.rtsee-join-your-call-btn {
12
- background: $rts-font-color-dbg-light;
13
- color: $rts-new-primary-color;
14
- }
15
10
  }
16
11
  }
@@ -0,0 +1,11 @@
1
+ @import "./variables";
2
+
3
+ .rtsee-presentations-dashboard {
4
+ .rtsee-presentations-dashboard-header {
5
+ padding: $rts-offset-sm;
6
+
7
+ .rtsee-presentations-dashboard-close-btn {
8
+ float: right;
9
+ }
10
+ }
11
+ }
@@ -1,3 +1,8 @@
1
1
  @import "./story-thumbnail";
2
2
  @import "./slide";
3
3
  @import "./story-player";
4
+ @import "./manage-story";
5
+ @import "./manage-slides";
6
+ @import "./manage-stories";
7
+ @import "./dashboard";
8
+ @import "./presentation";
@@ -0,0 +1,25 @@
1
+ @import "./variables";
2
+
3
+ .rtsee-presentation-manage-slides {
4
+ .rtsee-presentation-manage-slides-header {
5
+ margin-bottom: $rts-offset-sm;
6
+ }
7
+
8
+ .rtsee-presentation-manage-slides-list {
9
+ .rtsee-presentation-manage-slides-list-item {
10
+
11
+
12
+ .rtsee-presentation-manage-slides-list-item-image {
13
+
14
+ }
15
+
16
+ .rtsee-ordered-list-inner {
17
+ height: $presentation-dashboard-ol-height;
18
+ }
19
+
20
+ .rtsee-presentation-manage-slides-list-item-info {
21
+ padding: $rts-offset-xsm $rts-offset-sm;
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,9 @@
1
+ @import "./variables";
2
+
3
+ .rtsee-manage-stories {
4
+ .rtsee-manage-stories-list {
5
+ .rtsee-ordered-list-inner {
6
+ //height: $presentation-dashboard-ol-height;
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ @import "./variables";
2
+
3
+ .rtsee-manage-story {
4
+ .rtsee-form-container {
5
+ padding: $rts-offset-sm 0;
6
+ }
7
+ }
8
+
9
+
@@ -0,0 +1,32 @@
1
+ @import "./variables";
2
+
3
+ .rtsee-presentation-header {
4
+ transition: top 0.5s ease-in-out;
5
+
6
+ &.rtsee-presentation-header-convertable {
7
+ height: $presentation-dashboard-header-height;
8
+ position: absolute;
9
+ top: - $presentation-dashboard-header-height;
10
+ z-index: 300;
11
+ }
12
+
13
+ &.rtsee-presentation-header-visible {
14
+ top: 0;
15
+ }
16
+
17
+ .rtsee-presentation-room-block {
18
+
19
+ }
20
+
21
+ .rtsee-story-info {
22
+ p {
23
+ margin: 0;
24
+ }
25
+ }
26
+
27
+ @media screen and (min-width: $rts-break-md) {
28
+ &.rtsee-presentation-header-convertable {
29
+ position: static;
30
+ }
31
+ }
32
+ }
@@ -2,13 +2,30 @@
2
2
 
3
3
  .rtsee-presentation-slide {
4
4
  background-color: $rts-main-bg-color-light;
5
+ height: $stories-player-height;
6
+ overflow-y: auto;
7
+
5
8
  .rtsee-presentation-slide-default {
6
9
  .rtsee-presentation-slide-image-container {
7
10
  padding-bottom: 100%;
8
11
  background-repeat: no-repeat;
9
12
  background-size: contain;
10
13
  }
14
+
15
+ .rtsee-presentation-slide-text {
16
+ font-size: 1.125rem;
17
+ line-height: 1.6;
18
+ color: #333;
19
+ white-space: pre-wrap;
20
+ padding: $rts-offset-md;
21
+
22
+ p {
23
+ margin: 0;
24
+ }
25
+ }
11
26
  }
12
27
 
13
- padding-bottom: $rts-bottom-nav-height;
28
+ @media screen and (min-width: $rts-break-md) {
29
+ height: $stories-player-height-wide-screen;
30
+ }
14
31
  }
@@ -1,10 +1,43 @@
1
+ @import "./variables";
2
+
1
3
  .rtsee-story-player {
4
+ height: $stories-player-height;
5
+ overflow: hidden;
6
+
2
7
  .rtsee-story-player-slider {
3
8
  .story-player-slide-container {
4
- display: none;
9
+ touch-action: pan-y;
10
+ //display: none;
11
+ height: $stories-player-height;
5
12
 
6
13
  &.story-player-slide-active {
7
- display: block;
14
+ //display: block;
15
+ }
16
+
17
+ .rtsee-presentation-slide-controls {
18
+ padding: $rts-offset-sm;
19
+ display: flex;
20
+ flex-direction: row;
21
+ justify-content: center;
22
+ align-items: center;
23
+ gap: $rts-offset-sm;
24
+ opacity: 1;
25
+ transition: opacity 0.5s ease-in-out;
26
+
27
+ &.rtsee-presentation-slide-controls-hidden {
28
+ visibility: hidden;
29
+ opacity: 0;
30
+ }
31
+ }
32
+ }
33
+ }
34
+
35
+ @media screen and (min-width: $rts-break-md) {
36
+ height: $stories-player-height-wide-screen;
37
+
38
+ .rtsee-story-player-slider {
39
+ .story-player-slide-container {
40
+ height: $stories-player-height-wide-screen;
8
41
  }
9
42
  }
10
43
  }
@@ -1,44 +1,69 @@
1
1
  @import "./variables";
2
2
 
3
+ .rtsee-presentation-categories-list {
4
+
5
+ }
6
+
7
+
3
8
  .rtsee-presentation-stories-list {
4
9
  overflow-x: auto;
5
10
  overflow-y: hidden;
6
11
  white-space: nowrap;
7
- padding: $rts-offset-sm;
12
+ padding: $rts-offset-sm $rts-offset-xsm;
8
13
 
9
14
  .rtsee-presentation-story-thumbnail-container {
10
15
  display: inline-block;
11
- width: 128px;
12
- margin-right: $rts-offset-sm;
16
+ width: $story-thumb-width;
13
17
  vertical-align: top;
18
+ padding: $rts-offset-xsm;
19
+ border-radius: $rts-default-border-radius;
20
+ overflow: hidden;
21
+
22
+ &:hover {
23
+ cursor: pointer;
24
+ background-color: rgba(0,0,0,0.1);
25
+ }
26
+
27
+
28
+ // saving this for dnip.io here
29
+ //.rtsee-story-book-thumbnail {
30
+ // background: linear-gradient(to right, rgb(60, 13, 20) 3px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.25) 7px, rgba(255, 255, 255, 0.25) 10px, transparent 12px, transparent 16px, rgba(255, 255, 255, 0.25) 17px, transparent 22px), url(https://images-na.ssl-images-amazon.com/images/I/51pnouuPO5L.jpg);
31
+ // box-shadow: 0 0 5px -1px black, inset -1px 1px 2px rgba(255, 255, 255, 0.5);
32
+ // margin: auto;
33
+ // border-radius: 5px;
34
+ // width: 389px;
35
+ // height: 500px;
36
+ //}
14
37
 
15
38
  .rtsee-story-thumbnail {
16
- border-radius: $rts-default-border-radius;
17
- background-color: #fff;
18
39
  overflow: hidden;
40
+ color: #334155;
19
41
 
20
42
  .rtsee-story-thumbnail-image-container {
21
- padding-bottom: 100%;
43
+ padding-bottom: $story-thumb-image-padding;
22
44
  background-size: cover;
45
+ background-position: center center;
23
46
  background-repeat: no-repeat;
24
47
  overflow: hidden;
48
+ border-radius: $rts-default-border-radius;
25
49
  }
26
50
 
27
51
  .rtsee-story-thumbnail-body-container {
28
- padding: 4px;
29
- height: 111px;
52
+ padding: $rts-offset-sm;
30
53
 
31
54
  .rtsee-story-thumbnail-title-container {
32
55
  .rtsee-story-thumbnail-title {
33
56
  margin: 0 0 $rts-offset-sm 0;
34
57
  white-space: normal;
35
- color: #333;
58
+ color: #334155;
59
+ font-weight: 500;
36
60
  }
37
61
  }
38
62
 
39
63
  .rtsee-story-thumbnail-info-container {
40
64
  .rtsee-story-thumbnail-info-time-icon {
41
- font-size: 12px;
65
+ font-size: 11px;
66
+ color: #334155;
42
67
  }
43
68
  }
44
69
  }
@@ -57,3 +82,5 @@
57
82
 
58
83
 
59
84
 
85
+
86
+
@@ -1 +1,19 @@
1
1
  @import "../common-variables";
2
+
3
+ $story-thumb-width: 220px;
4
+ $story-thumb-image-padding: 68%;
5
+
6
+ $presentation-dashboard-header-height: 50.5px;
7
+ $presentation-dashboard-tabs-height: 51.5px;
8
+ $presentation-header-create-button: 36.5px;
9
+
10
+ $presentation-dashboard-preoccupied-height: $presentation-dashboard-header-height
11
+ + $presentation-dashboard-tabs-height
12
+ + $presentation-dashboard-tabs-height
13
+ + $presentation-header-create-button
14
+ + $rts-offset-sm * 2;
15
+
16
+ $stories-player-height: calc(100vh - $rts-bottom-nav-height);
17
+ $stories-player-height-wide-screen: calc(100vh - $presentation-dashboard-header-height);
18
+
19
+ $presentation-dashboard-ol-height: calc(100vh - $presentation-dashboard-preoccupied-height)
@@ -7,3 +7,4 @@
7
7
  @import "./containers/index";
8
8
  @import "./auth/index";
9
9
  @import "./forms/index";
10
+ @import "./common-components/index";
@@ -1,3 +1,5 @@
1
+ @import "../common-variables";
2
+
1
3
  $own-video-divider: 4;
2
4
  $own-video-expanded-divider: 0.66;
3
5
  $expanded-video-container-width: $video-container-width * $own-video-expanded-divider;
@@ -39,17 +41,17 @@ $expanded-peer-wrapper-offset: 4px;
39
41
  height: $own-video-container-height;
40
42
  z-index: 1;
41
43
  text-align: center;
44
+ overflow: hidden;
42
45
 
43
46
  .rtsee-local-video {
44
47
  position: absolute;
45
48
  top: 50%;
46
49
  left: 50%;
47
- transform: translateX(-50%) translateY(-50%);
50
+ transform: translateX(-50%) translateY(-50%) rotateY(180deg);
48
51
  min-width: 100%;
49
52
  min-height: 100%;
50
- width: auto;
51
- height: auto;
52
- overflow: hidden;
53
+ width: 100%;
54
+ height: 100%;
53
55
  }
54
56
  }
55
57
 
@@ -58,8 +58,7 @@ $peer-background: #404040;
58
58
  position: absolute;
59
59
  top: 50%;
60
60
  left: 50%;
61
- max-width: 100%;
62
- transform: translate(-50%, -50%);
61
+ transform: translateX(-50%) translateY(-50%);
63
62
  }
64
63
 
65
64
  &.rtsee-peer-video-disabled {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.65",
2
+ "version": "0.0.67",
3
3
  "name": "@rtsee/ngx",
4
4
  "module": "./dist/ngx/fesm2022/rtsee-ngx.mjs",
5
5
  "types": "./dist/ngx/index.d.ts",
@@ -34,20 +34,21 @@
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.35",
38
- "@rtsee/conference": "^0.0.36",
39
- "@rtsee/events-dashboard": "^0.0.69",
40
- "@rtsee/factory": "^0.0.78",
41
- "@rtsee/messenger": "^0.0.69",
37
+ "@rtsee/common": "^0.0.37",
38
+ "@rtsee/conference": "^0.0.38",
39
+ "@rtsee/events-dashboard": "^0.0.71",
40
+ "@rtsee/factory": "^0.0.80",
41
+ "@rtsee/messenger": "^0.0.71",
42
42
  "@rtsee/signaling-client": "^0.0.66",
43
43
  "dayjs": "^1.11.9",
44
44
  "ngx-autosize": "^2.0.4",
45
45
  "ngx-captcha": "^14.0.0",
46
+ "ngx-image-cropper": "^9.1.5",
46
47
  "ngx-infinite-scroll": "20.0.0",
47
48
  "primeng": "^20.1.2",
48
49
  "rxjs": "~7.8.0",
49
50
  "shave": "^5.0.0",
50
- "swiper": "^11.1.15",
51
+ "swiper": "^12.0.3",
51
52
  "tslib": "^2.3.0",
52
53
  "zone.js": "^0.15.1"
53
54
  },
@@ -64,5 +65,5 @@
64
65
  "publishConfig": {
65
66
  "access": "public"
66
67
  },
67
- "gitHead": "af2aac90a2382bfc482e449e19f69a3ac81e081a"
68
+ "gitHead": "c0b08f7968545a4aad3fceef3ff1727c4058865d"
68
69
  }