@reekon-tools/boldr-utils 1.4.21 → 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,18 +264,30 @@ 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;
276
270
  underline: boolean;
277
271
  verticalAlign: 'top' | 'center' | 'bottom';
278
272
  horizontalAlign: 'left' | 'center' | 'right';
273
+ fontSize?: 'small' | 'medium' | 'large';
274
+ };
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;
279
291
  };
280
292
  }
281
293
  export declare enum Units {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reekon-tools/boldr-utils",
3
- "version": "1.4.21",
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",