@solidpepper/solidpepper-soliddesigner 0.2.7 → 0.2.9
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/fesm2022/{solidpepper-solidpepper-soliddesigner-image-utils-DAo1JwxK.mjs → solidpepper-solidpepper-soliddesigner-image-utils-aRwbUdM9.mjs} +2 -2
- package/fesm2022/{solidpepper-solidpepper-soliddesigner-image-utils-DAo1JwxK.mjs.map → solidpepper-solidpepper-soliddesigner-image-utils-aRwbUdM9.mjs.map} +1 -1
- package/fesm2022/{solidpepper-solidpepper-soliddesigner-page-grid-modal.component-CqplRebZ.mjs → solidpepper-solidpepper-soliddesigner-page-grid-modal.component-DYbzfSUn.mjs} +4 -4
- package/fesm2022/{solidpepper-solidpepper-soliddesigner-page-grid-modal.component-CqplRebZ.mjs.map → solidpepper-solidpepper-soliddesigner-page-grid-modal.component-DYbzfSUn.mjs.map} +1 -1
- package/fesm2022/{solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-DwIOhL_1.mjs → solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-BUgU8Zwi.mjs} +5453 -2046
- package/fesm2022/solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-BUgU8Zwi.mjs.map +1 -0
- package/fesm2022/solidpepper-solidpepper-soliddesigner.mjs +1 -1
- package/index.d.ts +19 -6
- package/package.json +1 -1
- package/fesm2022/solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-DwIOhL_1.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AppParamsService, c as SolidDesignerComponent } from './solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-
|
|
1
|
+
export { A as AppParamsService, c as SolidDesignerComponent } from './solidpepper-solidpepper-soliddesigner-solidpepper-solidpepper-soliddesigner-BUgU8Zwi.mjs';
|
|
2
2
|
//# sourceMappingURL=solidpepper-solidpepper-soliddesigner.mjs.map
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ 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, DocumentComment, PublicationsTemplatesService, SettingsService } from '@solidpepper/solidpepper-service';
|
|
7
|
+
import { PublicationTemplate, DocumentComment, PublicationsTemplatesService, SettingsService, PublicationsService } from '@solidpepper/solidpepper-service';
|
|
8
8
|
import * as signalR from '@microsoft/signalr';
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
|
|
@@ -29,7 +29,8 @@ declare enum DocumentType {
|
|
|
29
29
|
MARKETING = "marketing",
|
|
30
30
|
PRODUCTBLOCK = "productblock",
|
|
31
31
|
DOCUMENT = "document",
|
|
32
|
-
TEMPLATE = "template"
|
|
32
|
+
TEMPLATE = "template",
|
|
33
|
+
CALLOUT = "callout"
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
interface AppParams {
|
|
@@ -43,6 +44,7 @@ interface AppParams {
|
|
|
43
44
|
documentData?: any[];
|
|
44
45
|
documentName?: string;
|
|
45
46
|
productSheetAssetGuid?: string | null;
|
|
47
|
+
productSheetGuid?: string | null;
|
|
46
48
|
documentPublicationGuid?: string | null;
|
|
47
49
|
}
|
|
48
50
|
declare class AppParamsService {
|
|
@@ -79,6 +81,7 @@ declare class AppParamsService {
|
|
|
79
81
|
get templateData(): PublicationTemplate | undefined;
|
|
80
82
|
get documentData(): any[] | undefined;
|
|
81
83
|
get productSheetAssetGuid(): string | null | undefined;
|
|
84
|
+
get productSheetGuid(): string | null | undefined;
|
|
82
85
|
get documentPublicationGuid(): string | null | undefined;
|
|
83
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppParamsService, never>;
|
|
84
87
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AppParamsService>;
|
|
@@ -195,6 +198,7 @@ declare class AssetsService {
|
|
|
195
198
|
getSVGTemplate(guid: string): Observable<PublicationTemplate>;
|
|
196
199
|
getTemplateBackgroundsList(templateGuid: string): Observable<any>;
|
|
197
200
|
getTemplateProductBlocks(templateGuid: string): Observable<PublicationTemplate[]>;
|
|
201
|
+
getTemplateCallouts(templateGuid: string): Observable<PublicationTemplate[]>;
|
|
198
202
|
getSVGDocumentPages(guid: string): Observable<any>;
|
|
199
203
|
getTemplateDimensions(): Observable<any>;
|
|
200
204
|
saveDocument(type: string, formData: FormData): Observable<any>;
|
|
@@ -208,7 +212,9 @@ declare class AssetsService {
|
|
|
208
212
|
publishYoubooky(): Observable<any>;
|
|
209
213
|
checkPdfExistence(): Observable<any>;
|
|
210
214
|
generatePdf(highDefinition?: boolean, imageColorProfile?: string, bleedMargin?: boolean, cuttingLines?: boolean, bleedMarginCustom?: boolean, bleedMarginValue?: number, compressPdf?: boolean): Observable<any>;
|
|
211
|
-
|
|
215
|
+
getFoldersWithParent(parentGuid?: string, folderType?: string): Observable<any[]>;
|
|
216
|
+
getAssetsTemplates(folderGuid?: string): Observable<any[]>;
|
|
217
|
+
getAssetsCallouts(folderGuid?: string): Observable<any[]>;
|
|
212
218
|
getTemplateGuidFromAssetGuid(assetGuid: string): Observable<string | null>;
|
|
213
219
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AssetsService, never>;
|
|
214
220
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AssetsService>;
|
|
@@ -324,6 +330,10 @@ declare class CanvasService {
|
|
|
324
330
|
* Moving current content into a left dataside group and cloning it into a right dataside group.
|
|
325
331
|
*/
|
|
326
332
|
migrateLegacyToDoublePage(): void;
|
|
333
|
+
/**
|
|
334
|
+
* Updates visibility and pointer-events for double-page side groups
|
|
335
|
+
*/
|
|
336
|
+
updateSideVisibility(): void;
|
|
327
337
|
/**
|
|
328
338
|
* Delete the currently selected elements
|
|
329
339
|
*/
|
|
@@ -815,23 +825,26 @@ declare class AppComponent implements OnInit, OnChanges {
|
|
|
815
825
|
loadingService: LoadingService;
|
|
816
826
|
private websocketService;
|
|
817
827
|
private libSettingsService;
|
|
828
|
+
private publicationsService;
|
|
818
829
|
token?: string;
|
|
819
|
-
type: DocumentType.BACKGROUND | DocumentType.COVERPAGE | DocumentType.MARKETING | DocumentType.PRODUCTBLOCK | DocumentType.DOCUMENT | DocumentType.TEMPLATE;
|
|
830
|
+
type: DocumentType.BACKGROUND | DocumentType.COVERPAGE | DocumentType.MARKETING | DocumentType.PRODUCTBLOCK | DocumentType.DOCUMENT | DocumentType.TEMPLATE | DocumentType.CALLOUT | string;
|
|
820
831
|
guid?: string;
|
|
821
832
|
apiUrl: string;
|
|
822
833
|
language: string;
|
|
823
834
|
unit?: string;
|
|
835
|
+
pageNumber?: number;
|
|
836
|
+
pageGuid?: string;
|
|
824
837
|
exitEditor: EventEmitter<void>;
|
|
825
838
|
isSafari: _angular_core.WritableSignal<boolean>;
|
|
826
839
|
isInitialized: boolean;
|
|
827
|
-
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);
|
|
840
|
+
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, publicationsService: PublicationsService);
|
|
828
841
|
ngOnInit(): void;
|
|
829
842
|
ngOnChanges(changes: SimpleChanges): void;
|
|
830
843
|
private tryInitialize;
|
|
831
844
|
private initShortcutListeners;
|
|
832
845
|
private checkBrowser;
|
|
833
846
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppComponent, never>;
|
|
834
|
-
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>;
|
|
847
|
+
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; }; "pageNumber": { "alias": "pageNumber"; "required": false; }; "pageGuid": { "alias": "pageGuid"; "required": false; }; }, { "exitEditor": "exitEditor"; }, never, never, true, never>;
|
|
835
848
|
}
|
|
836
849
|
|
|
837
850
|
export { AppParamsService, AppComponent as SolidDesignerComponent };
|