@solidpepper/solidpepper-solidgeneration 0.2.8 → 0.3.0

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
@@ -171,6 +171,7 @@ declare class DataSheetSVG {
171
171
  safeParseFloat(val: string | null | undefined): number;
172
172
  GetFieldsToReplace(element: any): any[];
173
173
  getPropertyOfField(fieldToSearch: string): string | null;
174
+ getAttributeLabel(idVal: string, field?: string, rowToUse?: any): string;
174
175
  getNewValTable(jRowSku: any, tag: any, svgContent: any, allBlocksHeight: any, blockWidth: any, nbBlockInRow: any, keepAttributes?: boolean): Promise<any[] | null>;
175
176
  generateRowHTML(jSku: any, arrayField: any[], SkuRows: string[], iSku: number, keepAttributes?: boolean): Promise<{
176
177
  currentRow: string;
@@ -267,6 +268,7 @@ declare class DataSheetSingleton {
267
268
  getCallouts(templateGuid: string): PublicationTemplate[] | null;
268
269
  setCallouts(templateGuid: string, list: PublicationTemplate[]): void;
269
270
  clearTemplatesCache(templateGuid?: string): void;
271
+ private getAttributesSimplified;
270
272
  private getAttributesByType;
271
273
  private getFields;
272
274
  loadAttributes(): Promise<any[]>;
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-solidgeneration",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "Solidpepper - generation service",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.6",
7
- "@angular/core": "^20.1.6"
7
+ "@angular/core": "^20.1.6",
8
+ "@solidpepper/solidpepper-service": ">=0.1.0"
8
9
  },
9
10
  "dependencies": {
10
11
  "jsbarcode": "^3.12.3",