@rtsee/ngx 0.0.128 → 0.0.129
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 +191 -14
- package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -1
- package/dist/ngx/index.d.ts +90 -16
- package/dist/ngx/src/lib/theme/common-components/autocomplete.scss +53 -0
- package/dist/ngx/src/lib/theme/common-components/index.scss +1 -0
- package/dist/ngx/src/lib/theme/presentation/index.scss +1 -0
- package/dist/ngx/src/lib/theme/presentation/stories-list.scss +694 -0
- package/dist/ngx/src/lib/theme/presentation/story-details.scss +9 -0
- package/package.json +11 -11
package/dist/ngx/index.d.ts
CHANGED
|
@@ -8,11 +8,12 @@ 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, IRTSeeStorySlide, IRTSeeStoryElement, IRTSeeIllustratorContextImage, IRTSeeChat, RTSeeChatTypes, IMessageThumbnail, IOzzyWorkflowDefinition, IOzzyTaskActionPrompt, IOzzyTaskLog, IRTSeeStory } from '@rtsee/common';
|
|
11
|
+
import { IRTSeePaymentProduct, IRTSeePaymentPriceItem, IRTSeeEntitiesList, IRTSeeStorySlide, IRTSeeStoryElement, IRTSeeIllustratorContextImage, IRTSeeChat, RTSeeChatTypes, IMessageThumbnail, IOzzyWorkflowDefinition, IOzzyTaskActionPrompt, IOzzyTaskLog, IRTSeeStory } 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, RTSeeInteractiveStoryEditorVm, RTSeeStoryEditorSection, RTSeeIllustrator, RTSeeStoryElementsEditor, RTSeeStoryElementEntity, IRTSeeIllustratorAgentOption, RTSeePresentationSettings, RTSeeStorySlide } from '@rtsee/presentation';
|
|
15
|
-
import {
|
|
14
|
+
import { RTSeePresentation, RTSeeStory, RTSeeStoriesList, StoriesListSortMode, RTSeeManageEntitiesList, RTSeeManageEntitiesLists, RTSeeManageEntitiesListGroup, RTSeeManageEntitiesListGroups, RTSeeInteractiveStoryEditorVm, RTSeeStoryEditorSection, RTSeeIllustrator, RTSeeStoryElementsEditor, RTSeeStoryElementEntity, IRTSeeIllustratorAgentOption, RTSeePresentationSettings, RTSeeStorySlide } from '@rtsee/presentation';
|
|
15
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
16
|
+
import { RTSeeEntityListItemVm, RTSeeTag, RTSeeManageTags, RTSeeTagGroup, RTSeeManageTagGroups, RTSeeEntityConfiguration, RTSeeManageEntityConfigurations, RTSeeEntity, RTSeeManageEntities, RTSeeRater, RTSeeForm, RTSeeTranslationsPanel, IRTSeeTranslationLanguageOption, IRTSeeTranslationFieldDefinition } from '@rtsee/utilities-ui';
|
|
16
17
|
import * as i44 from '@angular/forms';
|
|
17
18
|
import { FormGroup, FormBuilder, FormControl, FormArray } from '@angular/forms';
|
|
18
19
|
import * as i43 from '@angular/common';
|
|
@@ -191,6 +192,90 @@ declare class PresentationComponent {
|
|
|
191
192
|
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationComponent, "rtsee-presentation", never, { "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; "framed": { "alias": "framed"; "required": false; }; "isFramed": { "alias": "isFramed"; "required": false; }; }, {}, never, never, true, never>;
|
|
192
193
|
}
|
|
193
194
|
|
|
195
|
+
declare class StoryThumbnailComponent implements OnInit {
|
|
196
|
+
progressPercent: number;
|
|
197
|
+
protected readonly Math: Math;
|
|
198
|
+
story: RTSeeStory;
|
|
199
|
+
presentation: RTSeePresentation;
|
|
200
|
+
ngOnInit(): void;
|
|
201
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
202
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoryThumbnailComponent, never>;
|
|
203
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoryThumbnailComponent, "rtsee-story-thumbnail", never, { "story": { "alias": "story"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; }, {}, never, never, true, never>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
declare class StoryDetailsComponent {
|
|
207
|
+
story: RTSeeStory;
|
|
208
|
+
presentation: RTSeePresentation;
|
|
209
|
+
messenger?: RTSeeMessenger;
|
|
210
|
+
onRelatedStoryClicked(relatedStory: RTSeeStory): void;
|
|
211
|
+
getStarArray(rating: number | null): string[];
|
|
212
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
213
|
+
protected readonly Math: Math;
|
|
214
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoryDetailsComponent, never>;
|
|
215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoryDetailsComponent, "rtsee-story-details", never, { "story": { "alias": "story"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare class StoriesListComponent {
|
|
219
|
+
list: RTSeeStoriesList;
|
|
220
|
+
presentation: RTSeePresentation;
|
|
221
|
+
messenger?: RTSeeMessenger;
|
|
222
|
+
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
223
|
+
protected readonly Math: Math;
|
|
224
|
+
setSortBy(mode: StoriesListSortMode): void;
|
|
225
|
+
onStoryClicked(story?: RTSeeStory): void;
|
|
226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoriesListComponent, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoriesListComponent, "rtsee-stories-list", never, { "list": { "alias": "list"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare class StoriesListThumbnailComponent {
|
|
231
|
+
list: RTSeeStoriesList | IRTSeeEntitiesList;
|
|
232
|
+
presentation?: RTSeePresentation;
|
|
233
|
+
listRoutePrefix: string;
|
|
234
|
+
get routePrefix(): string;
|
|
235
|
+
get listSlugOrId(): string;
|
|
236
|
+
onThumbnailClick(): void;
|
|
237
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoriesListThumbnailComponent, never>;
|
|
238
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoriesListThumbnailComponent, "rtsee-stories-list-thumbnail", never, { "list": { "alias": "list"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "listRoutePrefix": { "alias": "listRoutePrefix"; "required": false; }; }, {}, never, never, true, never>;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare class ManageEntitiesListComponent {
|
|
242
|
+
manageList: RTSeeManageEntitiesList;
|
|
243
|
+
onItemDropped(event: CdkDragDrop<RTSeeEntityListItemVm[]>): void;
|
|
244
|
+
onAddItemClick(): void;
|
|
245
|
+
onRemoveItemClick(itemId: string): void;
|
|
246
|
+
onItemFieldChanged(item: RTSeeEntityListItemVm): void;
|
|
247
|
+
submit(): void;
|
|
248
|
+
cancel(): void;
|
|
249
|
+
deleteList(): void;
|
|
250
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageEntitiesListComponent, never>;
|
|
251
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManageEntitiesListComponent, "rtsee-manage-entities-list", never, { "manageList": { "alias": "manageList"; "required": false; }; }, {}, never, never, true, never>;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare class ManageEntitiesListsComponent implements OnInit {
|
|
255
|
+
manageLists: RTSeeManageEntitiesLists;
|
|
256
|
+
ngOnInit(): void;
|
|
257
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageEntitiesListsComponent, never>;
|
|
258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManageEntitiesListsComponent, "rtsee-manage-entities-lists", never, { "manageLists": { "alias": "manageLists"; "required": false; }; }, {}, never, never, true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class ManageEntitiesListGroupComponent {
|
|
262
|
+
manageGroup: RTSeeManageEntitiesListGroup;
|
|
263
|
+
onListDropped(event: CdkDragDrop<IRTSeeEntitiesList[]>): void;
|
|
264
|
+
onRemoveList(listId: string): void;
|
|
265
|
+
submit(): void;
|
|
266
|
+
cancel(): void;
|
|
267
|
+
deleteGroup(): void;
|
|
268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageEntitiesListGroupComponent, never>;
|
|
269
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManageEntitiesListGroupComponent, "rtsee-manage-entities-list-group", never, { "manageGroup": { "alias": "manageGroup"; "required": false; }; }, {}, never, never, true, never>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
declare class ManageEntitiesListGroupsComponent implements OnInit {
|
|
273
|
+
manageListGroups: RTSeeManageEntitiesListGroups;
|
|
274
|
+
ngOnInit(): void;
|
|
275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageEntitiesListGroupsComponent, never>;
|
|
276
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ManageEntitiesListGroupsComponent, "rtsee-manage-entities-list-groups", never, { "manageListGroups": { "alias": "manageListGroups"; "required": false; }; }, {}, never, never, true, never>;
|
|
277
|
+
}
|
|
278
|
+
|
|
194
279
|
/**
|
|
195
280
|
* Interactive story editor: collapsible sections of thumbnails (details, characters,
|
|
196
281
|
* artifacts, locations, slides, author) that expand into the edit forms.
|
|
@@ -1056,17 +1141,6 @@ declare class SlideComponent implements AfterViewInit {
|
|
|
1056
1141
|
static ɵcmp: i0.ɵɵComponentDeclaration<SlideComponent, "rtsee-slide", never, { "presentation": { "alias": "presentation"; "required": false; }; "story": { "alias": "story"; "required": false; }; "slide": { "alias": "slide"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, true, never>;
|
|
1057
1142
|
}
|
|
1058
1143
|
|
|
1059
|
-
declare class StoryThumbnailComponent implements OnInit {
|
|
1060
|
-
progressPercent: number;
|
|
1061
|
-
protected readonly Math: Math;
|
|
1062
|
-
story: RTSeeStory;
|
|
1063
|
-
presentation: RTSeePresentation;
|
|
1064
|
-
ngOnInit(): void;
|
|
1065
|
-
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
1066
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StoryThumbnailComponent, never>;
|
|
1067
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StoryThumbnailComponent, "rtsee-story-thumbnail", never, { "story": { "alias": "story"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; }, {}, never, never, true, never>;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
1144
|
declare class PresentationHeaderComponent {
|
|
1071
1145
|
presentation: RTSeePresentation;
|
|
1072
1146
|
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
@@ -1084,7 +1158,7 @@ declare class FormComponent {
|
|
|
1084
1158
|
onFieldChanged(): void;
|
|
1085
1159
|
getEditorInitials(name?: string): string;
|
|
1086
1160
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
1087
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "rtsee-form", never, { "form": { "alias": "form"; "required": false; }; }, { "formSubmit": "formSubmit"; }, never, ["*"], true, never>;
|
|
1161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "rtsee-form", never, { "form": { "alias": "form"; "required": false; }; }, { "formSubmit": "formSubmit"; }, never, ["[rtseeFormBody]", "*"], true, never>;
|
|
1088
1162
|
}
|
|
1089
1163
|
|
|
1090
1164
|
declare class RTSeeModule {
|
|
@@ -1465,5 +1539,5 @@ declare class TestChatNowClickedWidgetComponent extends BaseEventWidgetComponent
|
|
|
1465
1539
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestChatNowClickedWidgetComponent, "rtsee-test-chat-now-clicked-widget", never, {}, {}, never, never, true, never>;
|
|
1466
1540
|
}
|
|
1467
1541
|
|
|
1468
|
-
export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslationsPanelComponent };
|
|
1542
|
+
export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntitiesListComponent, ManageEntitiesListGroupComponent, ManageEntitiesListGroupsComponent, ManageEntitiesListsComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoriesListComponent, StoriesListThumbnailComponent, StoryDetailsComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, StoryThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslationsPanelComponent };
|
|
1469
1543
|
export type { IAccordionItem, ITaskActionPromptWidget, ITaskActionThumbnailWidget, RTSeeTagForm, RTSeeTagGroupForm };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.rtsee-autocomplete-option {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 10px;
|
|
5
|
+
min-width: 0;
|
|
6
|
+
padding: 2px 0;
|
|
7
|
+
|
|
8
|
+
.rtsee-autocomplete-option-thumb {
|
|
9
|
+
width: 36px;
|
|
10
|
+
height: 36px;
|
|
11
|
+
border-radius: 6px;
|
|
12
|
+
object-fit: cover;
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
background: rgba(255, 255, 255, 0.08);
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rtsee-autocomplete-option-thumb-placeholder {
|
|
21
|
+
color: rgba(255, 255, 255, 0.45);
|
|
22
|
+
font-size: 0.9rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rtsee-autocomplete-option-label {
|
|
26
|
+
flex: 1;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rtsee-autocomplete-chip-content {
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 6px;
|
|
38
|
+
min-width: 0;
|
|
39
|
+
|
|
40
|
+
.rtsee-autocomplete-chip-thumb {
|
|
41
|
+
width: 20px;
|
|
42
|
+
height: 20px;
|
|
43
|
+
border-radius: 4px;
|
|
44
|
+
object-fit: cover;
|
|
45
|
+
flex-shrink: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.rtsee-autocomplete-chip-label {
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
}
|
|
53
|
+
}
|