@rtsee/ngx 0.0.139 → 0.0.140

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.
@@ -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, 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';
@@ -204,15 +204,18 @@ declare class PaymentProductSnippetComponent {
204
204
  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
205
  }
206
206
 
207
- type DashboardTab = 'sessions' | 'reports' | 'blocks';
207
+ type DashboardTab = 'sessions' | 'reports' | 'blocks' | 'tips';
208
208
  declare class RtseeEventsDashboardComponent {
209
209
  eventsDashboard: RTSeeEventsDashboard;
210
210
  framed: boolean;
211
211
  isFramed: boolean;
212
212
  activeTab: DashboardTab;
213
213
  get reportsManager(): Reports | undefined;
214
+ get tipsManager(): Tips | undefined;
215
+ get canViewTips(): boolean;
214
216
  selectTab(tab: DashboardTab): void;
215
217
  refreshModerationTab(): void;
218
+ formatTipAmount(amount: number, currency?: string): string;
216
219
  loadMore(): void;
217
220
  static ɵfac: i0.ɵɵFactoryDeclaration<RtseeEventsDashboardComponent, never>;
218
221
  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 +230,7 @@ declare class RTSeeContainerComponent implements OnInit, OnDestroy {
227
230
  isWideScreen: boolean;
228
231
  private routeSubscription?;
229
232
  private lastNonMessengerUrl;
233
+ private readonly onRemotePresentationNavigation;
230
234
  private readonly onWindowResize;
231
235
  rtsee: RTSee;
232
236
  navigationConfig: INavigationConfig<IRouteConfig>;
@@ -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.140",
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.111",
44
+ "@rtsee/conference": "^0.0.112",
45
+ "@rtsee/core": "^0.0.155",
46
+ "@rtsee/events-dashboard": "^0.0.145",
47
+ "@rtsee/factory": "^0.0.154",
48
+ "@rtsee/messenger": "^0.0.145",
49
+ "@rtsee/presentation": "^0.0.144",
50
+ "@rtsee/signaling-client": "^0.0.158",
51
+ "@rtsee/utilities-ui": "^0.0.76",
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": "ba96e3a245a9d9bf1bda3a4e311fb57000490356"
75
75
  }