@rtsee/ngx 0.0.106 → 0.0.108

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.
@@ -178,13 +178,19 @@ declare class PresentationComponent {
178
178
  * Rendering only, the orchestration lives in RTSeeInteractiveStoryEditorVm.
179
179
  */
180
180
  declare class InteractiveStoryEditorComponent implements OnInit, OnDestroy {
181
+ private readonly cdr;
181
182
  vm: RTSeeInteractiveStoryEditorVm;
182
183
  /** set to false when the vm is initialized by the host */
183
184
  autoInit: boolean;
184
185
  readonly sections: typeof RTSeeStoryEditorSection;
185
186
  readonly illustrator: RTSeeIllustrator;
187
+ readonly slideUpdatingIds: Set<string>;
188
+ private onIllustratorChanged;
189
+ constructor(cdr: ChangeDetectorRef);
186
190
  ngOnInit(): void;
187
191
  ngOnDestroy(): void;
192
+ isSlideUpdating(id: string): boolean;
193
+ applyReviewedImageToSlide(event: Event, slide: IRTSeeStorySlide): Promise<void>;
188
194
  submitDetails(): void;
189
195
  submitAuthor(): void;
190
196
  submitNewAuthor(): void;
@@ -202,18 +208,26 @@ type AnyElementsEditor = RTSeeStoryElementsEditor<any, any>;
202
208
  * (characters / artifacts / locations) and the expanded edit form.
203
209
  * All the logic lives in RTSeeStoryElementsEditor.
204
210
  */
205
- declare class StoryElementsSectionComponent {
211
+ declare class StoryElementsSectionComponent implements OnDestroy {
212
+ private readonly cdr;
206
213
  editor: AnyElementsEditor;
207
214
  title: string;
208
215
  icon: string;
209
216
  collapsed: boolean;
210
217
  canDetach: boolean;
211
218
  toggled: EventEmitter<void>;
219
+ private _illustrator?;
220
+ private onIllustratorChanged;
221
+ set illustrator(val: RTSeeIllustrator | undefined);
222
+ get illustrator(): RTSeeIllustrator | undefined;
223
+ constructor(cdr: ChangeDetectorRef);
224
+ ngOnDestroy(): void;
225
+ applyReviewedImageToItem(event: Event, item: RTSeeStoryElementEntity<IRTSeeStoryElement>): Promise<void>;
212
226
  submit(): void;
213
227
  addToIllustrator(event: Event, item: RTSeeStoryElementEntity<IRTSeeStoryElement>): void;
214
228
  trackById(index: number, item: RTSeeStoryElementEntity<IRTSeeStoryElement>): string;
215
229
  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>;
230
+ 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; }; "illustrator": { "alias": "illustrator"; "required": false; }; }, { "toggled": "toggled"; }, never, never, true, never>;
217
231
  }
218
232
 
219
233
  declare class IllustratorComponent implements OnInit, OnDestroy {
@@ -835,3 +835,57 @@ $illustrator-accent-glow: rgba(168, 85, 247, 0.35);
835
835
  font-size: 0.78rem;
836
836
  }
837
837
  }
838
+
839
+ // Button to quickly apply reviewed image from Illustrator directly to thumbnails
840
+ .rtsee-ise-btn-quick-apply {
841
+ display: inline-flex;
842
+ align-items: center;
843
+ justify-content: center;
844
+ background: #10b981;
845
+ border: 1px solid rgba(255, 255, 255, 0.45);
846
+ color: #ffffff;
847
+ border-radius: 50%;
848
+ width: 26px;
849
+ height: 26px;
850
+ min-width: 26px;
851
+ min-height: 26px;
852
+ padding: 0;
853
+ cursor: pointer;
854
+ transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
855
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(16, 185, 129, 0.5);
856
+ z-index: 3;
857
+ animation: rtsee-pop-in 0.25s ease-out;
858
+
859
+ &:hover:not(:disabled) {
860
+ background: #059669;
861
+ border-color: #ffffff;
862
+ transform: scale(1.15);
863
+ box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 0 14px rgba(16, 185, 129, 0.7);
864
+ }
865
+
866
+ &:active:not(:disabled) {
867
+ transform: scale(0.95);
868
+ }
869
+
870
+ &:disabled {
871
+ opacity: 0.65;
872
+ cursor: wait;
873
+ }
874
+
875
+ i {
876
+ font-size: 0.75rem;
877
+ font-weight: 800;
878
+ }
879
+ }
880
+
881
+ @keyframes rtsee-pop-in {
882
+ 0% {
883
+ opacity: 0;
884
+ transform: scale(0.5);
885
+ }
886
+ 100% {
887
+ opacity: 1;
888
+ transform: scale(1);
889
+ }
890
+ }
891
+
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.106",
2
+ "version": "0.0.108",
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.77",
44
- "@rtsee/conference": "^0.0.78",
45
- "@rtsee/core": "^0.0.121",
46
- "@rtsee/events-dashboard": "^0.0.111",
47
- "@rtsee/factory": "^0.0.120",
48
- "@rtsee/messenger": "^0.0.111",
49
- "@rtsee/presentation": "^0.0.110",
50
- "@rtsee/signaling-client": "^0.0.124",
51
- "@rtsee/utilities-ui": "^0.0.42",
43
+ "@rtsee/common": "^0.0.79",
44
+ "@rtsee/conference": "^0.0.80",
45
+ "@rtsee/core": "^0.0.123",
46
+ "@rtsee/events-dashboard": "^0.0.113",
47
+ "@rtsee/factory": "^0.0.122",
48
+ "@rtsee/messenger": "^0.0.113",
49
+ "@rtsee/presentation": "^0.0.112",
50
+ "@rtsee/signaling-client": "^0.0.126",
51
+ "@rtsee/utilities-ui": "^0.0.44",
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": "9356d4ce9d6ed8749f09d7e70e60ea9c8593d36f"
74
+ "gitHead": "dc10dc47553027689d194c40c00bef8b3c5d45f4"
75
75
  }