@solidpepper/solidpepper-soliddesigner 0.2.4 → 0.2.6

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.
@@ -1,2 +1,2 @@
1
- export { A as AppParamsService, c as SolidDesignerComponent } from './solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-2y7j_xw3.mjs';
1
+ export { A as AppParamsService, c as SolidDesignerComponent } from './solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-BTHUvx4H.mjs';
2
2
  //# sourceMappingURL=solidpepper-solidpepper-soliddesigner.mjs.map
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { RendererFactory2, Injector, Type, OnInit, OnChanges, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
  import { HttpClient } from '@angular/common/http';
5
5
  import * as rxjs from 'rxjs';
6
6
  import { Observable } from 'rxjs';
7
- import { PublicationTemplate, PublicationsTemplatesService } from '@solidpepper/solidpepper-service';
7
+ import { PublicationTemplate, DocumentComment, PublicationsTemplatesService, SettingsService } from '@solidpepper/solidpepper-service';
8
8
  import * as signalR from '@microsoft/signalr';
9
9
  import { Router } from '@angular/router';
10
10
 
@@ -19,8 +19,8 @@ declare class TranslationService {
19
19
  code: string;
20
20
  text: string;
21
21
  }[];
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>;
22
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TranslationService, never>;
23
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<TranslationService>;
24
24
  }
25
25
 
26
26
  declare enum DocumentType {
@@ -45,8 +45,28 @@ interface AppParams {
45
45
  productSheetAssetGuid?: string | null;
46
46
  }
47
47
  declare class AppParamsService {
48
- readonly params: i0.WritableSignal<AppParams>;
49
- readonly pageGuid: i0.WritableSignal<string>;
48
+ readonly params: _angular_core.WritableSignal<AppParams>;
49
+ readonly pageGuid: _angular_core.WritableSignal<string>;
50
+ readonly commentsModeActive: _angular_core.WritableSignal<boolean>;
51
+ readonly isWaitingForCanvasClick: _angular_core.WritableSignal<boolean>;
52
+ readonly activeCommentGuid: _angular_core.WritableSignal<string | null>;
53
+ readonly commentsPanelCollapsed: _angular_core.WritableSignal<boolean>;
54
+ readonly propertiesPanelCollapsed: _angular_core.WritableSignal<boolean>;
55
+ readonly globalPanelCollapsed: _angular_core.WritableSignal<boolean>;
56
+ readonly draftComment: _angular_core.WritableSignal<{
57
+ pageGuid: string;
58
+ x: number;
59
+ y: number;
60
+ } | null>;
61
+ readonly commentsList: _angular_core.WritableSignal<DocumentComment[]>;
62
+ readonly activeCommentTool: _angular_core.WritableSignal<"point" | "text" | "drawing" | "shape-rect" | "shape-line" | "highlight">;
63
+ readonly commentColor: _angular_core.WritableSignal<string>;
64
+ readonly draftDrawing: _angular_core.WritableSignal<{
65
+ pageGuid: string;
66
+ type: string;
67
+ pathData: string;
68
+ color: string;
69
+ } | null>;
50
70
  setParams(params: Partial<AppParams>): void;
51
71
  updateTemplateName(newName: string): void;
52
72
  updateDocumentName(newName: string): void;
@@ -58,8 +78,8 @@ declare class AppParamsService {
58
78
  get templateData(): PublicationTemplate | undefined;
59
79
  get documentData(): any[] | undefined;
60
80
  get productSheetAssetGuid(): string | null | undefined;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<AppParamsService, never>;
62
- static ɵprov: i0.ɵɵInjectableDeclaration<AppParamsService>;
81
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppParamsService, never>;
82
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AppParamsService>;
63
83
  }
64
84
 
65
85
  declare class FontApiService {
@@ -72,8 +92,8 @@ declare class FontApiService {
72
92
  updateFont(font: any): Observable<any>;
73
93
  deleteFont(fontId: number | string): Observable<any>;
74
94
  getFontAsBase64(fontName: string, fontUrl: string, fontFilename: string): Observable<any>;
75
- static ɵfac: i0.ɵɵFactoryDeclaration<FontApiService, never>;
76
- static ɵprov: i0.ɵɵInjectableDeclaration<FontApiService>;
95
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FontApiService, never>;
96
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FontApiService>;
77
97
  }
78
98
 
79
99
  interface FontDefinition {
@@ -88,8 +108,8 @@ interface FontDefinition {
88
108
  }
89
109
  declare class FontService {
90
110
  private fontApiService;
91
- fontsNames: i0.WritableSignal<string[]>;
92
- availableFonts: i0.WritableSignal<{
111
+ fontsNames: _angular_core.WritableSignal<string[]>;
112
+ availableFonts: _angular_core.WritableSignal<{
93
113
  [key: string]: FontDefinition;
94
114
  }>;
95
115
  private fontsImported;
@@ -109,8 +129,8 @@ declare class FontService {
109
129
  private injectDocumentFonts;
110
130
  isGoogleFont(fontName: string): boolean;
111
131
  getCustomFontUrlFace(fontName: string): string | null;
112
- static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
113
- static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
132
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FontService, never>;
133
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FontService>;
114
134
  }
115
135
 
116
136
  type NotificationType = 'info' | 'success' | 'warning' | 'error';
@@ -123,7 +143,7 @@ interface Notification {
123
143
  declare class NotificationService {
124
144
  private http;
125
145
  private _settingsService;
126
- notifications: i0.WritableSignal<Notification[]>;
146
+ notifications: _angular_core.WritableSignal<Notification[]>;
127
147
  private quantity;
128
148
  show(message: string, type?: NotificationType, duration?: number): void;
129
149
  success(message: string, duration?: number): void;
@@ -134,8 +154,8 @@ declare class NotificationService {
134
154
  sendUpdate(message: number): void;
135
155
  getUpdate(): Observable<any>;
136
156
  getNotifications(start?: any, limit?: any): Observable<Object>;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
138
- static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
157
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationService, never>;
158
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NotificationService>;
139
159
  }
140
160
 
141
161
  declare class WebsocketService {
@@ -160,8 +180,8 @@ declare class WebsocketService {
160
180
  listeners(): void;
161
181
  listenersOnClose(): void;
162
182
  disconnect(): void;
163
- static ɵfac: i0.ɵɵFactoryDeclaration<WebsocketService, never>;
164
- static ɵprov: i0.ɵɵInjectableDeclaration<WebsocketService>;
183
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<WebsocketService, never>;
184
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<WebsocketService>;
165
185
  }
166
186
 
167
187
  declare class AssetsService {
@@ -188,30 +208,31 @@ declare class AssetsService {
188
208
  generatePdf(highDefinition?: boolean, imageColorProfile?: string, bleedMargin?: boolean, cuttingLines?: boolean, bleedMarginCustom?: boolean, bleedMarginValue?: number): Observable<any>;
189
209
  getAssetsTemplates(): Observable<any[]>;
190
210
  getTemplateGuidFromAssetGuid(assetGuid: string): Observable<string | null>;
191
- static ɵfac: i0.ɵɵFactoryDeclaration<AssetsService, never>;
192
- static ɵprov: i0.ɵɵInjectableDeclaration<AssetsService>;
211
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AssetsService, never>;
212
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AssetsService>;
193
213
  }
194
214
 
195
215
  declare class CanvasService {
196
216
  private _svgElement;
197
217
  private _wrapperElement;
198
218
  private readonly _transform;
199
- readonly zoomLevel: i0.WritableSignal<number>;
200
- readonly panOffset: i0.WritableSignal<{
219
+ readonly zoomLevel: _angular_core.WritableSignal<number>;
220
+ readonly panOffset: _angular_core.WritableSignal<{
201
221
  x: number;
202
222
  y: number;
203
223
  }>;
204
- readonly baseScale: i0.WritableSignal<number>;
205
- readonly isReady: i0.WritableSignal<boolean>;
206
- readonly currentContext: i0.WritableSignal<SVGSVGElement | SVGGElement | null>;
207
- readonly modifiedPulse: i0.WritableSignal<number>;
208
- readonly isSilent: i0.WritableSignal<boolean>;
209
- readonly versionUpgraded: i0.WritableSignal<boolean>;
224
+ readonly baseScale: _angular_core.WritableSignal<number>;
225
+ readonly isReady: _angular_core.WritableSignal<boolean>;
226
+ readonly currentContext: _angular_core.WritableSignal<SVGSVGElement | SVGGElement | null>;
227
+ readonly modifiedPulse: _angular_core.WritableSignal<number>;
228
+ readonly isSilent: _angular_core.WritableSignal<boolean>;
229
+ readonly versionUpgraded: _angular_core.WritableSignal<boolean>;
210
230
  private disabledElems;
211
231
  private readonly docService;
212
232
  private readonly eventsService;
213
233
  private readonly selectionStore;
214
234
  private readonly colorService;
235
+ private readonly appParams;
215
236
  private injector;
216
237
  constructor();
217
238
  get svgElement(): SVGSVGElement;
@@ -356,8 +377,8 @@ declare class CanvasService {
356
377
  * Cached based on modifiedPulse for performance.
357
378
  */
358
379
  getMostUsedColors(limit?: number): string[];
359
- static ɵfac: i0.ɵɵFactoryDeclaration<CanvasService, never>;
360
- static ɵprov: i0.ɵɵInjectableDeclaration<CanvasService>;
380
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CanvasService, never>;
381
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<CanvasService>;
361
382
  }
362
383
 
363
384
  interface EditorEvent {
@@ -385,8 +406,8 @@ declare class EventsService {
385
406
  private handlePaste;
386
407
  private handleKeyDown;
387
408
  private handleKeyUp;
388
- static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
389
- static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
409
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<EventsService, never>;
410
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<EventsService>;
390
411
  }
391
412
 
392
413
  interface DocumentProperties {
@@ -408,23 +429,23 @@ interface DocumentProperties {
408
429
  }
409
430
  declare class DocumentService {
410
431
  private appParams;
411
- readonly properties: i0.WritableSignal<DocumentProperties>;
432
+ readonly properties: _angular_core.WritableSignal<DocumentProperties>;
412
433
  private getInitialUnit;
413
434
  constructor();
414
- get dimensions(): i0.WritableSignal<DocumentProperties>;
435
+ get dimensions(): _angular_core.WritableSignal<DocumentProperties>;
415
436
  updateDimensions(width: number, height: number): void;
416
437
  updateUnit(unit: DocumentProperties['unit']): void;
417
438
  updateProperty<K extends keyof DocumentProperties>(key: K, value: DocumentProperties[K]): void;
418
- static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, never>;
419
- static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
439
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DocumentService, never>;
440
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DocumentService>;
420
441
  }
421
442
 
422
443
  declare class SelectionStore {
423
- readonly selectedElements: i0.WritableSignal<SVGElement[]>;
424
- readonly updated: i0.WritableSignal<number>;
425
- readonly count: i0.Signal<number>;
426
- readonly isEmpty: i0.Signal<boolean>;
427
- readonly first: i0.Signal<SVGElement>;
444
+ readonly selectedElements: _angular_core.WritableSignal<SVGElement[]>;
445
+ readonly updated: _angular_core.WritableSignal<number>;
446
+ readonly count: _angular_core.Signal<number>;
447
+ readonly isEmpty: _angular_core.Signal<boolean>;
448
+ readonly first: _angular_core.Signal<SVGElement>;
428
449
  select(elements: SVGElement[]): void;
429
450
  add(element: SVGElement): void;
430
451
  toggle(element: SVGElement): void;
@@ -435,8 +456,8 @@ declare class SelectionStore {
435
456
  * but the selection reference itself remains the same.
436
457
  */
437
458
  triggerUpdate(): void;
438
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionStore, never>;
439
- static ɵprov: i0.ɵɵInjectableDeclaration<SelectionStore>;
459
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectionStore, never>;
460
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<SelectionStore>;
440
461
  }
441
462
 
442
463
  interface HSLA {
@@ -508,8 +529,8 @@ declare class ColorService {
508
529
  parseHslString(str: string): RGBA;
509
530
  parseHsvString(str: string): RGBA;
510
531
  parseCmykString(str: string): RGBA;
511
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorService, never>;
512
- static ɵprov: i0.ɵɵInjectableDeclaration<ColorService>;
532
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorService, never>;
533
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ColorService>;
513
534
  }
514
535
 
515
536
  interface TableSize {
@@ -576,8 +597,8 @@ declare class TableElementService {
576
597
  /** Get all elements in a given column (across all rows). */
577
598
  _getColumnByIndex(table: Element, colIndex: number): Element[];
578
599
  exportVariantsTableSettings(tableElement: HTMLElement): any;
579
- static ɵfac: i0.ɵɵFactoryDeclaration<TableElementService, never>;
580
- static ɵprov: i0.ɵɵInjectableDeclaration<TableElementService>;
600
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableElementService, never>;
601
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableElementService>;
581
602
  }
582
603
 
583
604
  declare enum LoadingError {
@@ -587,12 +608,12 @@ declare enum LoadingError {
587
608
  TOKEN = "LOADER.ERRORS.TOKEN"
588
609
  }
589
610
  declare class LoadingService {
590
- readonly isLoading: i0.WritableSignal<boolean>;
591
- readonly hasError: i0.WritableSignal<boolean>;
592
- readonly errorKey: i0.WritableSignal<LoadingError>;
593
- readonly isCanvasLoading: i0.WritableSignal<boolean>;
594
- readonly canvasHasError: i0.WritableSignal<boolean>;
595
- readonly canvasErrorKey: i0.WritableSignal<LoadingError>;
611
+ readonly isLoading: _angular_core.WritableSignal<boolean>;
612
+ readonly hasError: _angular_core.WritableSignal<boolean>;
613
+ readonly errorKey: _angular_core.WritableSignal<LoadingError>;
614
+ readonly isCanvasLoading: _angular_core.WritableSignal<boolean>;
615
+ readonly canvasHasError: _angular_core.WritableSignal<boolean>;
616
+ readonly canvasErrorKey: _angular_core.WritableSignal<LoadingError>;
596
617
  showLoader(): void;
597
618
  hideLoader(): void;
598
619
  showError(error: LoadingError): void;
@@ -600,8 +621,8 @@ declare class LoadingService {
600
621
  hideCanvasLoader(): void;
601
622
  showCanvasError(error: LoadingError): void;
602
623
  reset(): void;
603
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
604
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
624
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoadingService, never>;
625
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<LoadingService>;
605
626
  }
606
627
 
607
628
  declare class SaveService {
@@ -614,8 +635,8 @@ declare class SaveService {
614
635
  private fontService;
615
636
  private tableService;
616
637
  private loadingService;
617
- isDirty: i0.WritableSignal<boolean>;
618
- saveSuccessPulse: i0.WritableSignal<{
638
+ isDirty: _angular_core.WritableSignal<boolean>;
639
+ saveSuccessPulse: _angular_core.WritableSignal<{
619
640
  guid: string;
620
641
  count: number;
621
642
  }>;
@@ -631,8 +652,8 @@ declare class SaveService {
631
652
  * Trigger a download/upload of the current SVG
632
653
  */
633
654
  save(): Promise<void>;
634
- static ɵfac: i0.ɵɵFactoryDeclaration<SaveService, never>;
635
- static ɵprov: i0.ɵɵInjectableDeclaration<SaveService>;
655
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SaveService, never>;
656
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<SaveService>;
636
657
  }
637
658
 
638
659
  declare class OpenService {
@@ -661,8 +682,8 @@ declare class OpenService {
661
682
  * Import an SVG element (Delegate to processImportedSvg if root)
662
683
  */
663
684
  importSvgElement(svgEl: SVGElement): void;
664
- static ɵfac: i0.ɵɵFactoryDeclaration<OpenService, never>;
665
- static ɵprov: i0.ɵɵInjectableDeclaration<OpenService>;
685
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OpenService, never>;
686
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<OpenService>;
666
687
  }
667
688
 
668
689
  declare abstract class Command {
@@ -692,7 +713,7 @@ declare class HistoryService {
692
713
  private debounceTimer;
693
714
  private complexStateCache;
694
715
  private accumulatedChanges;
695
- readonly historyChanged: i0.WritableSignal<number>;
716
+ readonly historyChanged: _angular_core.WritableSignal<number>;
696
717
  constructor();
697
718
  private initKeyboardShortcuts;
698
719
  canUndo(): boolean;
@@ -717,8 +738,8 @@ declare class HistoryService {
717
738
  private recordChanges;
718
739
  private scheduleFlush;
719
740
  private flushChanges;
720
- static ɵfac: i0.ɵɵFactoryDeclaration<HistoryService, never>;
721
- static ɵprov: i0.ɵɵInjectableDeclaration<HistoryService>;
741
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<HistoryService, never>;
742
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<HistoryService>;
722
743
  }
723
744
 
724
745
  declare class BackgroundPreviewService {
@@ -727,10 +748,10 @@ declare class BackgroundPreviewService {
727
748
  private backgroundsSignal;
728
749
  private activeBackgroundIndexSignal;
729
750
  private isPreviewHiddenSignal;
730
- backgrounds: i0.Signal<PublicationTemplate[]>;
731
- activeBackgroundIndex: i0.Signal<number>;
732
- isPreviewHidden: i0.Signal<boolean>;
733
- activeBackground: i0.Signal<PublicationTemplate | null>;
751
+ backgrounds: _angular_core.Signal<PublicationTemplate[]>;
752
+ activeBackgroundIndex: _angular_core.Signal<number>;
753
+ isPreviewHidden: _angular_core.Signal<boolean>;
754
+ activeBackground: _angular_core.Signal<PublicationTemplate | null>;
734
755
  constructor(assetsService: AssetsService, appParams: AppParamsService);
735
756
  /**
736
757
  * Loads the background templates and fetches their SVG contents
@@ -738,8 +759,8 @@ declare class BackgroundPreviewService {
738
759
  loadBackgrounds(): Promise<void>;
739
760
  setActiveBackground(index: number): void;
740
761
  setPreviewHidden(hidden: boolean): void;
741
- static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundPreviewService, never>;
742
- static ɵprov: i0.ɵɵInjectableDeclaration<BackgroundPreviewService>;
762
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BackgroundPreviewService, never>;
763
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<BackgroundPreviewService>;
743
764
  }
744
765
 
745
766
  interface ModalOptions {
@@ -751,8 +772,8 @@ declare class ModalService {
751
772
  modalState$: rxjs.Observable<ModalOptions | null>;
752
773
  open(component: Type<any>, data?: any): void;
753
774
  close(): void;
754
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
755
- static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
775
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalService, never>;
776
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalService>;
756
777
  }
757
778
 
758
779
  interface EditorConfig {
@@ -764,19 +785,19 @@ interface EditorConfig {
764
785
  theme: 'light' | 'dark';
765
786
  }
766
787
  declare class ConfigService {
767
- readonly config: i0.WritableSignal<EditorConfig>;
788
+ readonly config: _angular_core.WritableSignal<EditorConfig>;
768
789
  updateConfig(partialConfig: Partial<EditorConfig>): void;
769
790
  toggleGrid(): void;
770
791
  toggleRulers(): void;
771
792
  toggleWireframe(): void;
772
793
  toggleMargins(): void;
773
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
774
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
794
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfigService, never>;
795
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ConfigService>;
775
796
  }
776
797
 
777
798
  declare class AppComponent implements OnInit, OnChanges {
778
799
  private translationService;
779
- private appParamsService;
800
+ appParamsService: AppParamsService;
780
801
  private assetsService;
781
802
  private openService;
782
803
  private canvasService;
@@ -790,6 +811,7 @@ declare class AppComponent implements OnInit, OnChanges {
790
811
  private saveService;
791
812
  loadingService: LoadingService;
792
813
  private websocketService;
814
+ private libSettingsService;
793
815
  token?: string;
794
816
  type: DocumentType.BACKGROUND | DocumentType.COVERPAGE | DocumentType.MARKETING | DocumentType.PRODUCTBLOCK | DocumentType.DOCUMENT | DocumentType.TEMPLATE;
795
817
  guid?: string;
@@ -797,16 +819,16 @@ declare class AppComponent implements OnInit, OnChanges {
797
819
  language: string;
798
820
  unit?: string;
799
821
  exitEditor: EventEmitter<void>;
800
- isSafari: i0.WritableSignal<boolean>;
822
+ isSafari: _angular_core.WritableSignal<boolean>;
801
823
  isInitialized: boolean;
802
- constructor(translationService: TranslationService, appParamsService: AppParamsService, assetsService: AssetsService, openService: OpenService, canvasService: CanvasService, historyService: HistoryService, backgroundService: BackgroundPreviewService, fontService: FontService, eventsService: EventsService, modalService: ModalService, hostElement: ElementRef, config: ConfigService, saveService: SaveService, loadingService: LoadingService, websocketService: WebsocketService);
824
+ constructor(translationService: TranslationService, appParamsService: AppParamsService, assetsService: AssetsService, openService: OpenService, canvasService: CanvasService, historyService: HistoryService, backgroundService: BackgroundPreviewService, fontService: FontService, eventsService: EventsService, modalService: ModalService, hostElement: ElementRef, config: ConfigService, saveService: SaveService, loadingService: LoadingService, websocketService: WebsocketService, libSettingsService: SettingsService);
803
825
  ngOnInit(): void;
804
826
  ngOnChanges(changes: SimpleChanges): void;
805
827
  private tryInitialize;
806
828
  private initShortcutListeners;
807
829
  private checkBrowser;
808
- static ɵfac: i0.ɵɵFactoryDeclaration<AppComponent, never>;
809
- static ɵcmp: i0.ɵɵComponentDeclaration<AppComponent, "solid-designer", never, { "token": { "alias": "token"; "required": false; }; "type": { "alias": "type"; "required": false; }; "guid": { "alias": "guid"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "language": { "alias": "language"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; }, { "exitEditor": "exitEditor"; }, never, never, true, never>;
830
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppComponent, never>;
831
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppComponent, "solid-designer", never, { "token": { "alias": "token"; "required": false; }; "type": { "alias": "type"; "required": false; }; "guid": { "alias": "guid"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "language": { "alias": "language"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; }, { "exitEditor": "exitEditor"; }, never, never, true, never>;
810
832
  }
811
833
 
812
834
  export { AppParamsService, AppComponent as SolidDesignerComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-soliddesigner",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.6",
6
6
  "@angular/core": "^20.1.6",