@reekon-tools/boldr-utils 1.4.22 → 1.4.24

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.
@@ -264,13 +264,8 @@ export interface LabelRow {
264
264
  export interface LabelCell {
265
265
  id: string;
266
266
  type: 'none' | 'image' | 'text' | 'qr' | 'company' | 'icon' | 'measurement';
267
- fileId?: string;
268
- value?: string;
269
- groupId?: string;
270
- columnId?: string;
271
- index?: number;
272
- columnType?: ColumnType;
273
267
  textOptions?: {
268
+ value: string;
274
269
  bold: boolean;
275
270
  italic: boolean;
276
271
  underline: boolean;
@@ -278,7 +273,23 @@ export interface LabelCell {
278
273
  horizontalAlign: 'left' | 'center' | 'right';
279
274
  fontSize?: 'small' | 'medium' | 'large';
280
275
  };
281
- contentFit?: 'contain' | 'cover';
276
+ imageOptions?: {
277
+ fileId: string;
278
+ contentFit: 'contain' | 'cover';
279
+ };
280
+ qrOptions?: {
281
+ value: string;
282
+ qrType: 'external' | 'project' | 'job' | 'group' | 'measurement';
283
+ };
284
+ iconOptions?: {
285
+ fileId: string;
286
+ };
287
+ measurementOptions?: {
288
+ groupId: string;
289
+ columnId: string;
290
+ columnType: ColumnType;
291
+ index?: number;
292
+ };
282
293
  }
283
294
  export declare enum Units {
284
295
  Centimeters = "cm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reekon-tools/boldr-utils",
3
- "version": "1.4.22",
3
+ "version": "1.4.24",
4
4
  "description": "Shared utilities for formulas and measurement conversion used in Reekon apps",
5
5
  "author": "REEKON Tools",
6
6
  "license": "MIT",