@rtsee/ngx 0.0.139 → 0.0.141

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.
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnChanges, OnDestroy, ElementRef, Renderer2, NgZone, SimpleChanges, OnInit, AfterViewInit, EventEmitter, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, DoCheck, Type } from '@angular/core';
3
3
  import { RTSeeConference, RTSeePeerConnection } from '@rtsee/conference';
4
4
  import * as _rtsee_common from '@rtsee/common';
5
- import { IRTSeePaymentProduct, IRTSeePaymentPriceItem, IRTSeeEntitiesList, IRTSeeStorySlide, IRTSeeStoryElement, IRTSeeIllustratorContextImage, IRTSeeChat, RTSeeChatTypes, IMessageThumbnail, IOzzyWorkflowDefinition, IOzzyTaskActionPrompt, IOzzyTaskLog, IRTSeeStory, IRefineStoriesListInput, ITranslateStoriesListInput, IStoryTranslatorLanguage } from '@rtsee/common';
5
+ import { IRTSeePaymentProduct, IRTSeePaymentPriceItem, IRTSeeModerationReportItem, RTSeeReportTargetType, IRTSeeEntitiesList, IRTSeeStorySlide, IRTSeeStoryElement, IRTSeeIllustratorContextImage, IRTSeeChat, RTSeeChatTypes, IMessageThumbnail, IOzzyWorkflowDefinition, IOzzyTaskActionPrompt, IOzzyTaskLog, IRTSeeStory, IRefineStoriesListInput, ITranslateStoriesListInput, IStoryTranslatorLanguage } from '@rtsee/common';
6
6
  import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember, RTSeeMentionAutocomplete, RTSeeWorkflowAutocomplete, OzzyClientTask, OzzyClientTaskAction, OzzyWorkflowStep, OzzyWorkflow } from '@rtsee/messenger';
7
7
  import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
8
8
  import { HttpClient } from '@angular/common/http';
@@ -10,7 +10,7 @@ import { RTSeeAuth, RTSeeAuthConfiguration, IRtseeSignInRequestOptions, IRTSeeSi
10
10
  import { Observable, Subscription } from 'rxjs';
11
11
  import * as i48 from '@angular/router';
12
12
  import { Router, ActivatedRoute } from '@angular/router';
13
- import { RTSeeEventsDashboard, Reports, RTSeeDashboardClientSession, RTSeeDashboardEvent, RTSeeDashboardClient } from '@rtsee/events-dashboard';
13
+ import { RTSeeEventsDashboard, Reports, Tips, ReportsFilterType, RTSeeDashboardClientSession, RTSeeDashboardEvent, RTSeeDashboardClient } from '@rtsee/events-dashboard';
14
14
  import { RTSee, INavigationConfig, IRouteConfig } from '@rtsee/factory';
15
15
  import { RTSeePresentation, RTSeeStory, RTSeePresentationSettings, RTSeeStoriesList, StoriesListSortMode, RTSeeManageEntitiesList, RTSeeManageEntitiesLists, RTSeeManageEntitiesListGroup, RTSeeManageEntitiesListGroups, RTSeeInteractiveStoryEditorVm, RTSeeStoryEditorSection, RTSeeIllustrator, RTSeeStoryElementsEditor, RTSeeStoryElementEntity, IRTSeeIllustratorAgentOption, RTSeeStorySlide } from '@rtsee/presentation';
16
16
  import { RTSeeRater, RTSeeEntityListItemVm, RTSeeTag, RTSeeManageTags, RTSeeTagGroup, RTSeeManageTagGroups, RTSeeEntityConfiguration, RTSeeManageEntityConfigurations, RTSeeEntity, RTSeeManageEntities, RTSeeForm, RTSeeTranslationsPanel, IRTSeeTranslationLanguageOption, IRTSeeTranslationFieldDefinition, IRTSeeFormEditor, IRTSeeFormFieldChange, IRTSeeFormCollectiveState, RTSeeFormFieldAutocomplete, RTSeeFormField, RTSeeFormFieldSelect } from '@rtsee/utilities-ui';
@@ -149,10 +149,16 @@ declare class ProfileComponent {
149
149
  messenger: RTSeeMessenger;
150
150
  peer?: IPeer;
151
151
  readonly blockReasons: readonly _rtsee_common.IRTSeeModerationReasonOption[];
152
+ readonly reportReasons: readonly _rtsee_common.IRTSeeModerationReasonOption[];
152
153
  showBlockForm: boolean;
153
154
  selectedBlockReason: string;
154
155
  blockExplanation: string;
155
156
  blockSubmitting: boolean;
157
+ showReportForm: boolean;
158
+ selectedReportReason: string;
159
+ reportExplanation: string;
160
+ reportSubmitting: boolean;
161
+ reportSuccess: boolean;
156
162
  constructor(authService: RTSeeAuthService, router: Router);
157
163
  get targetPeer(): {
158
164
  id: string;
@@ -167,6 +173,10 @@ declare class ProfileComponent {
167
173
  get displaySubtitle(): string;
168
174
  openBlockUserPrompt(): void;
169
175
  cancelBlockUserPrompt(): void;
176
+ openReportUserPrompt(): void;
177
+ cancelReportUserPrompt(): void;
178
+ confirmReportUser(): Promise<void>;
179
+ openDirectMessage(): void;
170
180
  confirmBlockUser(): Promise<void>;
171
181
  unblockTargetUser(): Promise<void>;
172
182
  setLanguage(): void;
@@ -204,15 +214,21 @@ declare class PaymentProductSnippetComponent {
204
214
  static ɵcmp: i0.ɵɵComponentDeclaration<PaymentProductSnippetComponent, "rtsee-payment-product-snippet", never, { "product": { "alias": "product"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "priceSelected": "priceSelected"; }, never, never, true, never>;
205
215
  }
206
216
 
207
- type DashboardTab = 'sessions' | 'reports' | 'blocks';
217
+ type DashboardTab = 'sessions' | 'reports' | 'blocks' | 'tips';
208
218
  declare class RtseeEventsDashboardComponent {
209
219
  eventsDashboard: RTSeeEventsDashboard;
210
220
  framed: boolean;
211
221
  isFramed: boolean;
212
222
  activeTab: DashboardTab;
213
223
  get reportsManager(): Reports | undefined;
224
+ get tipsManager(): Tips | undefined;
225
+ get canViewTips(): boolean;
214
226
  selectTab(tab: DashboardTab): void;
215
227
  refreshModerationTab(): void;
228
+ formatTipAmount(amount: number, currency?: string): string;
229
+ selectReportFilter(filter: ReportsFilterType): void;
230
+ getReportTargetType(item: IRTSeeModerationReportItem): RTSeeReportTargetType;
231
+ getEntityKindLabel(item: IRTSeeModerationReportItem): string;
216
232
  loadMore(): void;
217
233
  static ɵfac: i0.ɵɵFactoryDeclaration<RtseeEventsDashboardComponent, never>;
218
234
  static ɵcmp: i0.ɵɵComponentDeclaration<RtseeEventsDashboardComponent, "rtsee-events-dashboard", never, { "eventsDashboard": { "alias": "eventsDashboard"; "required": false; }; "framed": { "alias": "framed"; "required": false; }; "isFramed": { "alias": "isFramed"; "required": false; }; }, {}, never, never, true, never>;
@@ -227,6 +243,8 @@ declare class RTSeeContainerComponent implements OnInit, OnDestroy {
227
243
  isWideScreen: boolean;
228
244
  private routeSubscription?;
229
245
  private lastNonMessengerUrl;
246
+ private readonly onNavigateToMessenger;
247
+ private readonly onRemotePresentationNavigation;
230
248
  private readonly onWindowResize;
231
249
  rtsee: RTSee;
232
250
  navigationConfig: INavigationConfig<IRouteConfig>;
@@ -1023,6 +1041,7 @@ declare class MessageComponent implements OnInit, AfterViewInit, OnChanges, OnDe
1023
1041
  private currentWidgetName;
1024
1042
  constructor(widgetsService: MessageWidgetsService, componentFactoryResolver: ComponentFactoryResolver, timeFormatService: TimeFormatHelperService);
1025
1043
  get isModerationNotice(): boolean;
1044
+ get isOwnMessage(): boolean;
1026
1045
  get canReportMessage(): boolean;
1027
1046
  closeActionMenu(): void;
1028
1047
  onTouchStart(): void;
@@ -46,6 +46,11 @@
46
46
  background: rgba(255, 107, 107, 0.25);
47
47
  color: #ff8787;
48
48
  font-size: 11px;
49
+
50
+ &.rtsee-tips-badge {
51
+ background: rgba(245, 158, 11, 0.24);
52
+ color: #fcd34d;
53
+ }
49
54
  }
50
55
 
51
56
  .rtsee-events-dashboard-refresh-btn {
@@ -187,6 +192,100 @@
187
192
  }
188
193
  }
189
194
 
195
+ .rtsee-tips-table-wrapper {
196
+ width: 100%;
197
+ overflow-x: auto;
198
+ border: 1px solid rgba(255, 255, 255, 0.12);
199
+ border-radius: 14px;
200
+ background: rgba(255, 255, 255, 0.03);
201
+ }
202
+
203
+ .rtsee-tips-table {
204
+ width: 100%;
205
+ border-collapse: collapse;
206
+ font-size: 13px;
207
+ text-align: left;
208
+
209
+ thead th {
210
+ padding: 12px 14px;
211
+ font-size: 11.5px;
212
+ font-weight: 700;
213
+ text-transform: uppercase;
214
+ letter-spacing: 0.04em;
215
+ color: rgba(255, 255, 255, 0.62);
216
+ background: rgba(255, 255, 255, 0.05);
217
+ border-bottom: 1px solid rgba(255, 255, 255, 0.12);
218
+ white-space: nowrap;
219
+ }
220
+
221
+ tbody tr {
222
+ border-bottom: 1px solid rgba(255, 255, 255, 0.07);
223
+ transition: background 0.15s ease;
224
+
225
+ &:last-child {
226
+ border-bottom: none;
227
+ }
228
+
229
+ &:hover {
230
+ background: rgba(255, 255, 255, 0.04);
231
+ }
232
+ }
233
+
234
+ tbody td {
235
+ padding: 12px 14px;
236
+ vertical-align: middle;
237
+ color: rgba(255, 255, 255, 0.88);
238
+ }
239
+ }
240
+
241
+ .rtsee-tip-date {
242
+ white-space: nowrap;
243
+ color: rgba(255, 255, 255, 0.68);
244
+ font-size: 12.5px;
245
+ }
246
+
247
+ .rtsee-tip-amount-badge {
248
+ display: inline-flex;
249
+ align-items: center;
250
+ padding: 4px 10px;
251
+ border-radius: 999px;
252
+ background: rgba(16, 185, 129, 0.18);
253
+ border: 1px solid rgba(52, 211, 153, 0.35);
254
+ color: #6ee7b7;
255
+ font-weight: 700;
256
+ font-size: 13px;
257
+ white-space: nowrap;
258
+ }
259
+
260
+ .rtsee-tip-qty {
261
+ margin-left: 6px;
262
+ font-size: 12px;
263
+ color: rgba(255, 255, 255, 0.58);
264
+ }
265
+
266
+ .rtsee-tip-email {
267
+ font-weight: 500;
268
+ color: #fff;
269
+ }
270
+
271
+ .rtsee-tip-muted {
272
+ color: rgba(255, 255, 255, 0.45);
273
+ font-style: italic;
274
+ }
275
+
276
+ .rtsee-tip-cell-stack {
277
+ display: flex;
278
+ flex-direction: column;
279
+ gap: 2px;
280
+ }
281
+
282
+ .rtsee-tip-mono {
283
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
284
+ font-size: 11px;
285
+ color: rgba(255, 255, 255, 0.55);
286
+ word-break: break-all;
287
+ }
288
+
190
289
  .rtsee-events-dashboard-client-thumbnails {
191
290
  display: flex;
192
291
  flex-direction: column;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.139",
2
+ "version": "0.0.141",
3
3
  "name": "@rtsee/ngx",
4
4
  "module": "./dist/ngx/fesm2022/rtsee-ngx.mjs",
5
5
  "types": "./dist/ngx/index.d.ts",
@@ -40,15 +40,15 @@
40
40
  "@angular/platform-browser-dynamic": "^20.1.2",
41
41
  "@angular/router": "^20.1.2",
42
42
  "@primeuix/themes": "^1.2.3",
43
- "@rtsee/common": "^0.0.110",
44
- "@rtsee/conference": "^0.0.111",
45
- "@rtsee/core": "^0.0.154",
46
- "@rtsee/events-dashboard": "^0.0.144",
47
- "@rtsee/factory": "^0.0.153",
48
- "@rtsee/messenger": "^0.0.144",
49
- "@rtsee/presentation": "^0.0.143",
50
- "@rtsee/signaling-client": "^0.0.157",
51
- "@rtsee/utilities-ui": "^0.0.75",
43
+ "@rtsee/common": "^0.0.112",
44
+ "@rtsee/conference": "^0.0.113",
45
+ "@rtsee/core": "^0.0.156",
46
+ "@rtsee/events-dashboard": "^0.0.146",
47
+ "@rtsee/factory": "^0.0.155",
48
+ "@rtsee/messenger": "^0.0.146",
49
+ "@rtsee/presentation": "^0.0.145",
50
+ "@rtsee/signaling-client": "^0.0.159",
51
+ "@rtsee/utilities-ui": "^0.0.77",
52
52
  "@stripe/stripe-js": "^8.6.1",
53
53
  "@types/gtag.js": "^0.0.20",
54
54
  "@types/node": "~24.0.14",
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "257e3f4c367299bbb4cddfacefd278274a42953f"
74
+ "gitHead": "fec1b54a34b124f03d17cea4d87f2074715e7696"
75
75
  }