@rtsee/ngx 0.0.137 → 0.0.138
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/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
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
|
+
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';
|
|
4
6
|
import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember, RTSeeMentionAutocomplete, RTSeeWorkflowAutocomplete, OzzyClientTask, OzzyClientTaskAction, OzzyWorkflowStep, OzzyWorkflow } from '@rtsee/messenger';
|
|
5
7
|
import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
|
|
6
8
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -8,8 +10,7 @@ import { RTSeeAuth, RTSeeAuthConfiguration, IRtseeSignInRequestOptions, IRTSeeSi
|
|
|
8
10
|
import { Observable, Subscription } from 'rxjs';
|
|
9
11
|
import * as i48 from '@angular/router';
|
|
10
12
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
11
|
-
import {
|
|
12
|
-
import { RTSeeEventsDashboard, RTSeeDashboardClientSession, RTSeeDashboardEvent, RTSeeDashboardClient } from '@rtsee/events-dashboard';
|
|
13
|
+
import { RTSeeEventsDashboard, Reports, RTSeeDashboardClientSession, RTSeeDashboardEvent, RTSeeDashboardClient } from '@rtsee/events-dashboard';
|
|
13
14
|
import { RTSee, INavigationConfig, IRouteConfig } from '@rtsee/factory';
|
|
14
15
|
import { RTSeePresentation, RTSeeStory, RTSeeStoriesList, StoriesListSortMode, RTSeeManageEntitiesList, RTSeeManageEntitiesLists, RTSeeManageEntitiesListGroup, RTSeeManageEntitiesListGroups, RTSeeInteractiveStoryEditorVm, RTSeeStoryEditorSection, RTSeeIllustrator, RTSeeStoryElementsEditor, RTSeeStoryElementEntity, IRTSeeIllustratorAgentOption, RTSeePresentationSettings, RTSeeStorySlide } from '@rtsee/presentation';
|
|
15
16
|
import * as i44 from '@angular/common';
|
|
@@ -147,6 +148,11 @@ declare class ProfileComponent {
|
|
|
147
148
|
authConfiguration: RTSeeAuthConfiguration;
|
|
148
149
|
messenger: RTSeeMessenger;
|
|
149
150
|
peer?: IPeer;
|
|
151
|
+
readonly blockReasons: readonly _rtsee_common.IRTSeeModerationReasonOption[];
|
|
152
|
+
showBlockForm: boolean;
|
|
153
|
+
selectedBlockReason: string;
|
|
154
|
+
blockExplanation: string;
|
|
155
|
+
blockSubmitting: boolean;
|
|
150
156
|
constructor(authService: RTSeeAuthService, router: Router);
|
|
151
157
|
get targetPeer(): {
|
|
152
158
|
id: string;
|
|
@@ -154,10 +160,15 @@ declare class ProfileComponent {
|
|
|
154
160
|
imageUrl?: string;
|
|
155
161
|
} | undefined;
|
|
156
162
|
get isOtherUser(): boolean;
|
|
163
|
+
get isTargetBlocked(): boolean;
|
|
157
164
|
get displayName(): string;
|
|
158
165
|
get displayInitials(): string;
|
|
159
166
|
get displayImageUrl(): string | undefined;
|
|
160
167
|
get displaySubtitle(): string;
|
|
168
|
+
openBlockUserPrompt(): void;
|
|
169
|
+
cancelBlockUserPrompt(): void;
|
|
170
|
+
confirmBlockUser(): Promise<void>;
|
|
171
|
+
unblockTargetUser(): Promise<void>;
|
|
161
172
|
setLanguage(): void;
|
|
162
173
|
call(): void;
|
|
163
174
|
videoCall(): void;
|
|
@@ -193,10 +204,15 @@ declare class PaymentProductSnippetComponent {
|
|
|
193
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>;
|
|
194
205
|
}
|
|
195
206
|
|
|
207
|
+
type DashboardTab = 'sessions' | 'reports' | 'blocks';
|
|
196
208
|
declare class RtseeEventsDashboardComponent {
|
|
197
209
|
eventsDashboard: RTSeeEventsDashboard;
|
|
198
210
|
framed: boolean;
|
|
199
211
|
isFramed: boolean;
|
|
212
|
+
activeTab: DashboardTab;
|
|
213
|
+
get reportsManager(): Reports | undefined;
|
|
214
|
+
selectTab(tab: DashboardTab): void;
|
|
215
|
+
refreshModerationTab(): void;
|
|
200
216
|
loadMore(): void;
|
|
201
217
|
static ɵfac: i0.ɵɵFactoryDeclaration<RtseeEventsDashboardComponent, never>;
|
|
202
218
|
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>;
|
|
@@ -957,7 +973,7 @@ declare class ChatComponent implements OnInit, OnDestroy {
|
|
|
957
973
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "rtsee-chat", never, { "chat": { "alias": "chat"; "required": false; }; "chatData": { "alias": "chatData"; "required": false; }; "entity": { "alias": "entity"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; "isFramed": { "alias": "isFramed"; "required": false; }; }, {}, never, never, true, never>;
|
|
958
974
|
}
|
|
959
975
|
|
|
960
|
-
declare class MessageComponent implements OnInit, AfterViewInit, OnChanges {
|
|
976
|
+
declare class MessageComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
961
977
|
private widgetsService;
|
|
962
978
|
private componentFactoryResolver;
|
|
963
979
|
timeFormatService: TimeFormatHelperService;
|
|
@@ -966,11 +982,30 @@ declare class MessageComponent implements OnInit, AfterViewInit, OnChanges {
|
|
|
966
982
|
member: RTSeeChatMember<any>;
|
|
967
983
|
messenger: RTSeeMessenger;
|
|
968
984
|
widgetHost: WidgetDirective;
|
|
985
|
+
readonly reportReasons: readonly _rtsee_common.IRTSeeModerationReasonOption[];
|
|
986
|
+
showActionMenu: boolean;
|
|
987
|
+
showReportModal: boolean;
|
|
988
|
+
selectedReportReason: string;
|
|
989
|
+
reportExplanation: string;
|
|
990
|
+
reportSubmitting: boolean;
|
|
991
|
+
reportSubmitted: boolean;
|
|
992
|
+
private longPressTimer;
|
|
969
993
|
private widgetRef;
|
|
970
994
|
private widgetHasMessageInput;
|
|
971
995
|
private currentWidgetName;
|
|
972
996
|
constructor(widgetsService: MessageWidgetsService, componentFactoryResolver: ComponentFactoryResolver, timeFormatService: TimeFormatHelperService);
|
|
997
|
+
get isModerationNotice(): boolean;
|
|
998
|
+
get canReportMessage(): boolean;
|
|
999
|
+
closeActionMenu(): void;
|
|
1000
|
+
onTouchStart(): void;
|
|
1001
|
+
onTouchEndOrMove(): void;
|
|
1002
|
+
onContextMenu(event: MouseEvent): void;
|
|
1003
|
+
openReportModal(event?: Event): void;
|
|
1004
|
+
closeReportModal(event?: Event): void;
|
|
1005
|
+
submitReport(): Promise<void>;
|
|
973
1006
|
ngOnInit(): void;
|
|
1007
|
+
ngOnDestroy(): void;
|
|
1008
|
+
private clearLongPressTimer;
|
|
974
1009
|
ngOnChanges(changes: SimpleChanges): void;
|
|
975
1010
|
ngAfterViewInit(): void;
|
|
976
1011
|
private renderWidget;
|
|
@@ -1844,4 +1879,4 @@ declare class TestChatNowClickedWidgetComponent extends BaseEventWidgetComponent
|
|
|
1844
1879
|
}
|
|
1845
1880
|
|
|
1846
1881
|
export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, InviteModalComponent, ManageEntitiesListComponent, ManageEntitiesListGroupComponent, ManageEntitiesListGroupsComponent, ManageEntitiesListsComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, ProgressiveImageDirective, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RefineStoriesListFormStepComponent, RefineStoriesListWorkflowForm, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoriesListComponent, StoriesListLinkStepComponent, StoriesListThumbnailComponent, StoryDetailsComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, StoryThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslateStoriesListFormStepComponent, TranslateStoriesListWorkflowForm, TranslationsPanelComponent, WorkflowStepsService };
|
|
1847
|
-
export type { IAccordionItem, IRefineStoriesListWorkflowFormOptions, ITaskActionPromptWidget, ITaskActionThumbnailWidget, ITranslateStoriesListWorkflowFormOptions, IWorkflowStepWidget, RTSeeTagForm, RTSeeTagGroupForm };
|
|
1882
|
+
export type { DashboardTab, IAccordionItem, IRefineStoriesListWorkflowFormOptions, ITaskActionPromptWidget, ITaskActionThumbnailWidget, ITranslateStoriesListWorkflowFormOptions, IWorkflowStepWidget, RTSeeTagForm, RTSeeTagGroupForm };
|
|
@@ -6,6 +6,187 @@
|
|
|
6
6
|
color: $rts-rates-text-primary;
|
|
7
7
|
background-color: #000;
|
|
8
8
|
|
|
9
|
+
.rtsee-events-dashboard-tabs {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 8px;
|
|
13
|
+
padding: 12px 12px 16px;
|
|
14
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
15
|
+
margin-bottom: 16px;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
|
|
18
|
+
.rtsee-events-dashboard-tab {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 6px;
|
|
22
|
+
padding: 8px 16px;
|
|
23
|
+
border-radius: 20px;
|
|
24
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
25
|
+
background: rgba(255, 255, 255, 0.04);
|
|
26
|
+
color: rgba(255, 255, 255, 0.78);
|
|
27
|
+
font-size: 13px;
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
transition: all 0.2s ease;
|
|
31
|
+
|
|
32
|
+
.material-icons-outlined {
|
|
33
|
+
font-size: 17px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.active {
|
|
37
|
+
background: rgba(108, 92, 231, 0.28);
|
|
38
|
+
border-color: rgba(162, 155, 254, 0.65);
|
|
39
|
+
color: #fff;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.rtsee-events-dashboard-badge {
|
|
44
|
+
padding: 1px 7px;
|
|
45
|
+
border-radius: 10px;
|
|
46
|
+
background: rgba(255, 107, 107, 0.25);
|
|
47
|
+
color: #ff8787;
|
|
48
|
+
font-size: 11px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.rtsee-events-dashboard-refresh-btn {
|
|
52
|
+
margin-left: auto;
|
|
53
|
+
background: rgba(255, 255, 255, 0.06);
|
|
54
|
+
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
55
|
+
color: #fff;
|
|
56
|
+
border-radius: 10px;
|
|
57
|
+
padding: 6px 10px;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
display: inline-flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.rtsee-moderation-panel {
|
|
65
|
+
padding: 0 12px 24px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.rtsee-moderation-empty {
|
|
69
|
+
padding: 40px 16px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
color: rgba(255, 255, 255, 0.55);
|
|
72
|
+
font-size: 14px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.rtsee-moderation-list {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
gap: 12px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.rtsee-moderation-card {
|
|
82
|
+
background: rgba(255, 255, 255, 0.04);
|
|
83
|
+
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
84
|
+
border-radius: 14px;
|
|
85
|
+
padding: 14px 16px;
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
gap: 8px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.rtsee-moderation-card-top {
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
align-items: center;
|
|
95
|
+
gap: 12px;
|
|
96
|
+
flex-wrap: wrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.rtsee-moderation-actors {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
gap: 6px;
|
|
103
|
+
flex-wrap: wrap;
|
|
104
|
+
font-size: 14px;
|
|
105
|
+
|
|
106
|
+
.actor-label {
|
|
107
|
+
color: rgba(255, 255, 255, 0.58);
|
|
108
|
+
font-size: 12px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.actor-arrow {
|
|
112
|
+
color: rgba(255, 255, 255, 0.45);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.rtsee-moderation-time {
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
color: rgba(255, 255, 255, 0.5);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.rtsee-moderation-reason-chip {
|
|
122
|
+
display: inline-flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
align-self: flex-start;
|
|
125
|
+
gap: 6px;
|
|
126
|
+
padding: 4px 10px;
|
|
127
|
+
border-radius: 8px;
|
|
128
|
+
background: rgba(255, 118, 117, 0.15);
|
|
129
|
+
color: #ff8787;
|
|
130
|
+
font-size: 12px;
|
|
131
|
+
font-weight: 600;
|
|
132
|
+
|
|
133
|
+
.material-icons-outlined {
|
|
134
|
+
font-size: 15px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.rtsee-block-chip {
|
|
138
|
+
background: rgba(253, 203, 110, 0.15);
|
|
139
|
+
color: #ffeaa7;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.rtsee-moderation-explanation {
|
|
144
|
+
margin: 0;
|
|
145
|
+
font-size: 13px;
|
|
146
|
+
color: rgba(255, 255, 255, 0.85);
|
|
147
|
+
line-height: 1.45;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.rtsee-moderation-message-quote {
|
|
151
|
+
padding: 8px 12px;
|
|
152
|
+
border-left: 3px solid rgba(255, 118, 117, 0.6);
|
|
153
|
+
background: rgba(0, 0, 0, 0.3);
|
|
154
|
+
border-radius: 6px;
|
|
155
|
+
font-size: 13px;
|
|
156
|
+
color: rgba(255, 255, 255, 0.78);
|
|
157
|
+
|
|
158
|
+
span {
|
|
159
|
+
color: rgba(255, 255, 255, 0.5);
|
|
160
|
+
margin-right: 4px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.rtsee-moderation-pagination {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
gap: 14px;
|
|
169
|
+
margin-top: 18px;
|
|
170
|
+
font-size: 13px;
|
|
171
|
+
color: rgba(255, 255, 255, 0.75);
|
|
172
|
+
|
|
173
|
+
button {
|
|
174
|
+
padding: 7px 16px;
|
|
175
|
+
border-radius: 10px;
|
|
176
|
+
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
177
|
+
background: rgba(255, 255, 255, 0.06);
|
|
178
|
+
color: #fff;
|
|
179
|
+
font-size: 13px;
|
|
180
|
+
font-weight: 600;
|
|
181
|
+
cursor: pointer;
|
|
182
|
+
|
|
183
|
+
&:disabled {
|
|
184
|
+
opacity: 0.45;
|
|
185
|
+
cursor: not-allowed;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
9
190
|
.rtsee-events-dashboard-client-thumbnails {
|
|
10
191
|
display: flex;
|
|
11
192
|
flex-direction: column;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.138",
|
|
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.
|
|
44
|
-
"@rtsee/conference": "^0.0.
|
|
45
|
-
"@rtsee/core": "^0.0.
|
|
46
|
-
"@rtsee/events-dashboard": "^0.0.
|
|
47
|
-
"@rtsee/factory": "^0.0.
|
|
48
|
-
"@rtsee/messenger": "^0.0.
|
|
49
|
-
"@rtsee/presentation": "^0.0.
|
|
50
|
-
"@rtsee/signaling-client": "^0.0.
|
|
51
|
-
"@rtsee/utilities-ui": "^0.0.
|
|
43
|
+
"@rtsee/common": "^0.0.109",
|
|
44
|
+
"@rtsee/conference": "^0.0.110",
|
|
45
|
+
"@rtsee/core": "^0.0.153",
|
|
46
|
+
"@rtsee/events-dashboard": "^0.0.143",
|
|
47
|
+
"@rtsee/factory": "^0.0.152",
|
|
48
|
+
"@rtsee/messenger": "^0.0.143",
|
|
49
|
+
"@rtsee/presentation": "^0.0.142",
|
|
50
|
+
"@rtsee/signaling-client": "^0.0.156",
|
|
51
|
+
"@rtsee/utilities-ui": "^0.0.74",
|
|
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": "
|
|
74
|
+
"gitHead": "8792642a270df12ac5360decea014b7aedffbb34"
|
|
75
75
|
}
|