@rtsee/ngx 0.0.105 → 0.0.106
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 +477 -13
- package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -1
- package/dist/ngx/index.d.ts +78 -4
- package/dist/ngx/src/lib/theme/common-components/image-uploader.scss +28 -0
- package/dist/ngx/src/lib/theme/presentation/dashboard.scss +6 -0
- package/dist/ngx/src/lib/theme/presentation/illustrator.scss +837 -0
- package/dist/ngx/src/lib/theme/presentation/index.scss +2 -0
- package/dist/ngx/src/lib/theme/presentation/interactive-story-editor.scss +521 -0
- package/package.json +11 -11
package/dist/ngx/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, AfterViewInit, ElementRef, EventEmitter,
|
|
2
|
+
import { OnInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, Type, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { RTSeeConference, RTSeePeerConnection } from '@rtsee/conference';
|
|
4
4
|
import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember, RTSeeMentionAutocomplete, RTSeeWorkflowAutocomplete, OzzyClientTask } from '@rtsee/messenger';
|
|
5
5
|
import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
|
|
@@ -8,10 +8,10 @@ import { RTSeeAuth, RTSeeAuthConfiguration, IRtseeSignInRequestOptions, IRTSeeSi
|
|
|
8
8
|
import { Observable, Subscription } from 'rxjs';
|
|
9
9
|
import * as i47 from '@angular/router';
|
|
10
10
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
11
|
-
import { IRTSeePaymentProduct, IRTSeePaymentPriceItem, IRTSeeChat, RTSeeChatTypes, IMessageThumbnail, IOzzyWorkflowDefinition, IOzzyTaskLog } from '@rtsee/common';
|
|
11
|
+
import { IRTSeePaymentProduct, IRTSeePaymentPriceItem, IRTSeeStorySlide, IRTSeeStoryElement, IRTSeeIllustratorContextImage, IRTSeeChat, RTSeeChatTypes, IMessageThumbnail, IOzzyWorkflowDefinition, IOzzyTaskLog } from '@rtsee/common';
|
|
12
12
|
import { RTSeeEventsDashboard, RTSeeDashboardClientSession, RTSeeDashboardEvent, RTSeeDashboardClient } from '@rtsee/events-dashboard';
|
|
13
13
|
import { RTSee, INavigationConfig, IRouteConfig } from '@rtsee/factory';
|
|
14
|
-
import { RTSeePresentation, RTSeeStory, RTSeePresentationSettings, RTSeeStorySlide } from '@rtsee/presentation';
|
|
14
|
+
import { RTSeePresentation, RTSeeStory, RTSeeInteractiveStoryEditorVm, RTSeeStoryEditorSection, RTSeeIllustrator, RTSeeStoryElementsEditor, RTSeeStoryElementEntity, IRTSeeIllustratorAgentOption, RTSeePresentationSettings, RTSeeStorySlide } from '@rtsee/presentation';
|
|
15
15
|
import { RTSeeTag, RTSeeManageTags, RTSeeTagGroup, RTSeeManageTagGroups, RTSeeEntityConfiguration, RTSeeManageEntityConfigurations, RTSeeEntity, RTSeeManageEntities, RTSeeRater, RTSeeForm } from '@rtsee/utilities-ui';
|
|
16
16
|
import * as i44 from '@angular/forms';
|
|
17
17
|
import { FormGroup, FormBuilder, FormControl, FormArray } from '@angular/forms';
|
|
@@ -172,6 +172,80 @@ declare class PresentationComponent {
|
|
|
172
172
|
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationComponent, "rtsee-presentation", never, { "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
/**
|
|
176
|
+
* Interactive story editor: collapsible sections of thumbnails (details, characters,
|
|
177
|
+
* artifacts, locations, slides, author) that expand into the edit forms.
|
|
178
|
+
* Rendering only, the orchestration lives in RTSeeInteractiveStoryEditorVm.
|
|
179
|
+
*/
|
|
180
|
+
declare class InteractiveStoryEditorComponent implements OnInit, OnDestroy {
|
|
181
|
+
vm: RTSeeInteractiveStoryEditorVm;
|
|
182
|
+
/** set to false when the vm is initialized by the host */
|
|
183
|
+
autoInit: boolean;
|
|
184
|
+
readonly sections: typeof RTSeeStoryEditorSection;
|
|
185
|
+
readonly illustrator: RTSeeIllustrator;
|
|
186
|
+
ngOnInit(): void;
|
|
187
|
+
ngOnDestroy(): void;
|
|
188
|
+
submitDetails(): void;
|
|
189
|
+
submitAuthor(): void;
|
|
190
|
+
submitNewAuthor(): void;
|
|
191
|
+
addSlideToContext(event: Event, slide: IRTSeeStorySlide): void;
|
|
192
|
+
addSlideEntitiesToContext(event: Event, slide: IRTSeeStorySlide): void;
|
|
193
|
+
addAuthorToContext(event: Event): void;
|
|
194
|
+
trackSlide(index: number, slide: IRTSeeStorySlide): string;
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveStoryEditorComponent, never>;
|
|
196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveStoryEditorComponent, "rtsee-interactive-story-editor", never, { "vm": { "alias": "vm"; "required": true; }; "autoInit": { "alias": "autoInit"; "required": false; }; }, {}, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
type AnyElementsEditor = RTSeeStoryElementsEditor<any, any>;
|
|
200
|
+
/**
|
|
201
|
+
* Collapsible section rendering the thumbnails of one kind of story element
|
|
202
|
+
* (characters / artifacts / locations) and the expanded edit form.
|
|
203
|
+
* All the logic lives in RTSeeStoryElementsEditor.
|
|
204
|
+
*/
|
|
205
|
+
declare class StoryElementsSectionComponent {
|
|
206
|
+
editor: AnyElementsEditor;
|
|
207
|
+
title: string;
|
|
208
|
+
icon: string;
|
|
209
|
+
collapsed: boolean;
|
|
210
|
+
canDetach: boolean;
|
|
211
|
+
toggled: EventEmitter<void>;
|
|
212
|
+
submit(): void;
|
|
213
|
+
addToIllustrator(event: Event, item: RTSeeStoryElementEntity<IRTSeeStoryElement>): void;
|
|
214
|
+
trackById(index: number, item: RTSeeStoryElementEntity<IRTSeeStoryElement>): string;
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoryElementsSectionComponent, never>;
|
|
216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoryElementsSectionComponent, "rtsee-story-elements-section", never, { "editor": { "alias": "editor"; "required": true; }; "title": { "alias": "title"; "required": true; }; "icon": { "alias": "icon"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "canDetach": { "alias": "canDetach"; "required": false; }; }, { "toggled": "toggled"; }, never, never, true, never>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare class IllustratorComponent implements OnInit, OnDestroy {
|
|
220
|
+
private readonly cdr;
|
|
221
|
+
private readonly elementRef;
|
|
222
|
+
illustrator: RTSeeIllustrator;
|
|
223
|
+
private ownIllustrator;
|
|
224
|
+
readonly aspectRatios: string[];
|
|
225
|
+
readonly styles: string[];
|
|
226
|
+
readonly moods: string[];
|
|
227
|
+
readonly lightings: string[];
|
|
228
|
+
private readonly onIllustratorChanged;
|
|
229
|
+
private readonly onScrollIntoView;
|
|
230
|
+
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>);
|
|
231
|
+
ngOnInit(): void;
|
|
232
|
+
ngOnDestroy(): void;
|
|
233
|
+
toggleExpand(): void;
|
|
234
|
+
toggleConfig(): void;
|
|
235
|
+
onSelectAgent(event: Event): void;
|
|
236
|
+
refreshAgents(): void;
|
|
237
|
+
removeImage(id: string): void;
|
|
238
|
+
toggleActive(image: IRTSeeIllustratorContextImage): void;
|
|
239
|
+
discardGeneratedImage(): void;
|
|
240
|
+
acceptGeneratedImage(): void;
|
|
241
|
+
submitIteration(): void;
|
|
242
|
+
submitPrompt(): void;
|
|
243
|
+
trackByImageId(index: number, item: IRTSeeIllustratorContextImage): string;
|
|
244
|
+
trackByAgentId(index: number, item: IRTSeeIllustratorAgentOption): string;
|
|
245
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IllustratorComponent, never>;
|
|
246
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IllustratorComponent, "rtsee-illustrator", never, { "illustrator": { "alias": "illustrator"; "required": false; }; }, {}, never, never, true, never>;
|
|
247
|
+
}
|
|
248
|
+
|
|
175
249
|
interface IAccordionItem {
|
|
176
250
|
label: string;
|
|
177
251
|
icon?: string;
|
|
@@ -900,5 +974,5 @@ declare class RTSeeTaskComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
900
974
|
static ɵcmp: i0.ɵɵComponentDeclaration<RTSeeTaskComponent, "rtsee-task", never, { "task": { "alias": "task"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; "chat": { "alias": "chat"; "required": false; }; "allowExecute": { "alias": "allowExecute"; "required": false; }; }, {}, never, never, true, never>;
|
|
901
975
|
}
|
|
902
976
|
|
|
903
|
-
export { EntitiesConfigurationsListComponent, EntitiesListComponent, FormComponent, GtagService, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, WorkflowStepsService };
|
|
977
|
+
export { EntitiesConfigurationsListComponent, EntitiesListComponent, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, StoryElementsSectionComponent, WorkflowStepsService };
|
|
904
978
|
export type { IAccordionItem, IWorkflowStepWidget, RTSeeTagForm, RTSeeTagGroupForm };
|
|
@@ -62,6 +62,34 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
.rtsee-image-uploader-illustrator-btn {
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: $rts-offset-sm;
|
|
68
|
+
right: $rts-offset-sm;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
z-index: 5;
|
|
71
|
+
|
|
72
|
+
.p-button {
|
|
73
|
+
width: 32px;
|
|
74
|
+
height: 32px;
|
|
75
|
+
padding: 0;
|
|
76
|
+
background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
|
|
77
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
78
|
+
box-shadow: 0 4px 12px rgba(108, 92, 231, 0.45);
|
|
79
|
+
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
80
|
+
|
|
81
|
+
.p-button-icon {
|
|
82
|
+
font-size: 14px;
|
|
83
|
+
color: #ffffff;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
transform: scale(1.1);
|
|
88
|
+
box-shadow: 0 6px 16px rgba(108, 92, 231, 0.65);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
65
93
|
.rtsee-image-uploader-image-change-btn {
|
|
66
94
|
position: absolute;
|
|
67
95
|
bottom: $rts-offset-sm;
|