@reekon-tools/boldr-utils 1.4.22 → 1.4.23

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,12 +264,6 @@ 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?: {
274
268
  bold: boolean;
275
269
  italic: boolean;
@@ -278,7 +272,23 @@ export interface LabelCell {
278
272
  horizontalAlign: 'left' | 'center' | 'right';
279
273
  fontSize?: 'small' | 'medium' | 'large';
280
274
  };
281
- contentFit?: 'contain' | 'cover';
275
+ imageOptions?: {
276
+ fileId: string;
277
+ contentFit: 'contain' | 'cover';
278
+ };
279
+ qrOptions?: {
280
+ value: string;
281
+ qrType: 'external' | 'project' | 'job' | 'group' | 'measurement';
282
+ };
283
+ iconOptions?: {
284
+ fileId: string;
285
+ };
286
+ measurementOptions?: {
287
+ groupId: string;
288
+ columnId: string;
289
+ columnType: ColumnType;
290
+ index?: number;
291
+ };
282
292
  }
283
293
  export declare enum Units {
284
294
  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.23",
4
4
  "description": "Shared utilities for formulas and measurement conversion used in Reekon apps",
5
5
  "author": "REEKON Tools",
6
6
  "license": "MIT",