@solidpepper/solidpepper-solidgeneration 0.2.0 → 0.2.2

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
@@ -123,6 +123,7 @@ declare class DataSheet {
123
123
  declare class DataSheetSVG {
124
124
  DataSheet: DataSheet;
125
125
  previewId: number;
126
+ debugTable: boolean;
126
127
  constructor(dataSheet: DataSheet);
127
128
  setParams(apiUrl: string, token: string): void;
128
129
  GenerateSvgFiles(lstSkus: any, backgroundTplLeft: any, backgroundTplRight: any, sectionId?: string, fast?: boolean): Promise<{
@@ -214,6 +215,7 @@ declare class DataSheetSVG {
214
215
  removeDuplicateAttributes(element: Element): void;
215
216
  GenerateBarcode(tag: any, newVal: string, defaultFormat?: string): Promise<string>;
216
217
  GenerateQRCode(tag: any, newVal: string): Promise<string>;
218
+ private getActualBlockHeight;
217
219
  ChangeBlockHeight(svgContents: string, newHeight: number, oldHeight: number, allTags: any[], currentTag: any): string | null;
218
220
  GetRectPositions(tag: any, listTags: any[]): void;
219
221
  GetLinkedRect(tag: any, listTags: any[]): any;
@@ -225,6 +227,9 @@ declare class DataSheetSVG {
225
227
  keepOnlySideRegex(svg: string | null, sideToKeep: string): string | null;
226
228
  applyTextTransform(val: any, transform: string | null): any;
227
229
  resolveAnchors(domSVG: Document, originalTpl: string): void;
230
+ getUrlBase(sku: any): string;
231
+ getCleanFilename(str: string): string;
232
+ getFileNameWithoutExt(str: string): string;
228
233
  }
229
234
 
230
235
  declare class DataSheetSingleton {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-solidgeneration",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Solidpepper - generation service",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.6",