@solidpepper/solidpepper-solidgeneration 0.2.4 → 0.2.5
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/index.d.ts
CHANGED
|
@@ -70,6 +70,9 @@ declare class DataSheet {
|
|
|
70
70
|
backgrounds: PublicationTemplate[];
|
|
71
71
|
defaultBackgroundGuid: string | null;
|
|
72
72
|
marketing: PublicationTemplate[];
|
|
73
|
+
callouts: {
|
|
74
|
+
[templateGuid: string]: PublicationTemplate[];
|
|
75
|
+
};
|
|
73
76
|
preview: boolean;
|
|
74
77
|
imageFastPreview: boolean;
|
|
75
78
|
bleedMargin: boolean;
|
|
@@ -247,6 +250,9 @@ declare class DataSheetSingleton {
|
|
|
247
250
|
marketing: {
|
|
248
251
|
[templateGuid: string]: PublicationTemplate[];
|
|
249
252
|
};
|
|
253
|
+
callouts: {
|
|
254
|
+
[templateGuid: string]: PublicationTemplate[];
|
|
255
|
+
};
|
|
250
256
|
private constructor();
|
|
251
257
|
static getInstance(): DataSheetSingleton;
|
|
252
258
|
getGabarits(templateGuid: string): PublicationTemplate[] | null;
|
|
@@ -255,6 +261,8 @@ declare class DataSheetSingleton {
|
|
|
255
261
|
setBackgrounds(templateGuid: string, list: PublicationTemplate[]): void;
|
|
256
262
|
getMarketing(templateGuid: string): PublicationTemplate[] | null;
|
|
257
263
|
setMarketing(templateGuid: string, list: PublicationTemplate[]): void;
|
|
264
|
+
getCallouts(templateGuid: string): PublicationTemplate[] | null;
|
|
265
|
+
setCallouts(templateGuid: string, list: PublicationTemplate[]): void;
|
|
258
266
|
clearTemplatesCache(templateGuid?: string): void;
|
|
259
267
|
private getAttributesByType;
|
|
260
268
|
private getFields;
|
|
@@ -264,6 +272,7 @@ declare class DataSheetSingleton {
|
|
|
264
272
|
|
|
265
273
|
declare class DataSheetSku {
|
|
266
274
|
publicationsService?: PublicationsService;
|
|
275
|
+
dataSheetsController?: any;
|
|
267
276
|
DataSheetSVG: DataSheetSVG;
|
|
268
277
|
DataSheet: DataSheet;
|
|
269
278
|
languagePreviewSelected: string;
|
|
@@ -272,6 +281,7 @@ declare class DataSheetSku {
|
|
|
272
281
|
skusSection: any[];
|
|
273
282
|
skusSectionPreview: any[];
|
|
274
283
|
constructor(dataSheetSVG: DataSheetSVG, dataSheet: DataSheet);
|
|
284
|
+
setDataSheetsController(dataSheetsController: any): Promise<void>;
|
|
275
285
|
setPublicationsService(publicationsService: PublicationsService): Promise<void>;
|
|
276
286
|
GenerateAllInOneExportFile(sourceId: any, option1PerPage: any, displayModeVariant: any, multiColumns?: boolean): Promise<any>;
|
|
277
287
|
}
|
|
@@ -280,6 +290,7 @@ declare class DataSheetPublication {
|
|
|
280
290
|
publicationsService?: PublicationsService;
|
|
281
291
|
damAssetsService?: DamAssetsService;
|
|
282
292
|
documentsService?: DocumentsService;
|
|
293
|
+
dataSheetsController?: any;
|
|
283
294
|
DataSheetSVG: DataSheetSVG;
|
|
284
295
|
DataSheet: DataSheet;
|
|
285
296
|
languagePreviewSelected: string;
|
|
@@ -288,6 +299,7 @@ declare class DataSheetPublication {
|
|
|
288
299
|
skusSection: PublicationData[];
|
|
289
300
|
skusSectionPreview: PublicationData[];
|
|
290
301
|
constructor(dataSheetSVG: DataSheetSVG, dataSheet: DataSheet, publication?: any, sectionActiveObject?: PublicationPage | null, skusSection?: PublicationData[]);
|
|
302
|
+
setDataSheetsController(dataSheetsController: any): Promise<void>;
|
|
291
303
|
setPublicationsService(publicationsService: PublicationsService): Promise<void>;
|
|
292
304
|
setDamAssetsService(damAssetsService: DamAssetsService): Promise<void>;
|
|
293
305
|
setDocumentsService(documentsService: DocumentsService): Promise<void>;
|
|
@@ -320,8 +332,10 @@ declare class DataSheetController {
|
|
|
320
332
|
getPricesListAvailable(datasheet: DataSheet): Promise<DataSheet>;
|
|
321
333
|
getTemplateInfo(templateGuid: string): Promise<Template | null>;
|
|
322
334
|
updateGabaritsList(templateGuid: string, forceRefresh?: boolean): Promise<PublicationTemplate[]>;
|
|
335
|
+
updateCalloutsList(templateGuid: string, forceRefresh?: boolean): Promise<PublicationTemplate[]>;
|
|
323
336
|
updateBackgroundsList(templateGuid: string, forceRefresh?: boolean): Promise<PublicationTemplate[]>;
|
|
324
337
|
updateMarketingList(templateGuid: string, forceRefresh?: boolean): Promise<PublicationTemplate[]>;
|
|
338
|
+
clearTemplatesCache(templateGuid?: string): void;
|
|
325
339
|
loadGabaritsSvg(gabarits: PublicationTemplate[]): Promise<PublicationTemplate[]>;
|
|
326
340
|
loadBackgroundsSvg(backgrounds: PublicationTemplate[]): Promise<PublicationTemplate[]>;
|
|
327
341
|
loadMarketingSvg(marketing: PublicationTemplate[]): Promise<PublicationTemplate[]>;
|