@aurigma/design-atoms-model 7.0.13 → 7.0.14

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.
@@ -11,6 +11,7 @@ export interface IItemData {
11
11
  horozontalLineColor?: string;
12
12
  verticalLineColor?: string;
13
13
  font?: IFontSettings;
14
+ visible?: boolean;
14
15
  }
15
16
  export interface IItemsData {
16
17
  surfaces?: {
@@ -37,4 +37,5 @@ export declare class ItemData implements IItemData {
37
37
  stroke?: StrokeSettings;
38
38
  content?: ItemData;
39
39
  clipartColors?: string[];
40
+ visible?: boolean;
40
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ItemData.js","sourceRoot":"","sources":["../../../../src/design-atoms-model/Product/ItemsData/ItemData.ts"],"names":[],"mappings":"AAGA;IAAA;IAMA,CAAC;IAAD,mBAAC;AAAD,CAAC,AAND,IAMC;;AAED;IAAA;IAKA,CAAC;IAAD,qBAAC;AAAD,CAAC,AALD,IAKC;;AAED;IAAA;IAIA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAJD,IAIC;;AAED;IAAA;IAsBA,CAAC;IAAD,eAAC;AAAD,CAAC,AAtBD,IAsBC"}
1
+ {"version":3,"file":"ItemData.js","sourceRoot":"","sources":["../../../../src/design-atoms-model/Product/ItemsData/ItemData.ts"],"names":[],"mappings":"AAGA;IAAA;IAMA,CAAC;IAAD,mBAAC;AAAD,CAAC,AAND,IAMC;;AAED;IAAA;IAKA,CAAC;IAAD,qBAAC;AAAD,CAAC,AALD,IAKC;;AAED;IAAA;IAIA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAJD,IAIC;;AAED;IAAA;IAuBA,CAAC;IAAD,eAAC;AAAD,CAAC,AAvBD,IAuBC"}
@@ -1,6 +1,6 @@
1
1
  import { ModelComponent } from "./ModelComponent";
2
2
  import { Surface } from "./Surface";
3
- import { BaseItem } from "./Items/BaseItem";
3
+ import { Item } from "./Items/Item";
4
4
  import { Collection } from "../Collection";
5
5
  import { WatermarkConfig } from "../Configuration/WatermarkConfig";
6
6
  import { IGetAllItemsOptions } from "./IGetAllItemsOptions";
@@ -30,7 +30,7 @@ export declare class Product extends ModelComponent {
30
30
  set preferredFonts(value: string[]);
31
31
  protected _copy(source: Product, destination: Product, generateNewIds: boolean): void;
32
32
  clone(generateNewIds?: boolean): Product;
33
- getAllItems(options?: IGetAllItemsOptions): BaseItem[];
33
+ getAllItems(options?: IGetAllItemsOptions): Item[];
34
34
  generateNewIds(): void;
35
35
  /**
36
36
  * Get surface by name or index.
@@ -3,7 +3,7 @@ import { Product, IGetAllItemsOptions } from "./";
3
3
  import { Watermark } from "./Watermark";
4
4
  import { PrintArea } from "./PrintArea";
5
5
  import { InteractiveZone } from "./InteractiveZone";
6
- import { BaseItem, Item } from "./Items";
6
+ import { Item } from "./Items";
7
7
  import { SurfaceMockup } from "./SurfaceMockup";
8
8
  import { Collection } from "../Collection";
9
9
  import { SurfaceContainer } from "./Container";
@@ -50,7 +50,7 @@ export declare class Surface extends ModelComponent {
50
50
  private _onPrintAreaRemoved;
51
51
  getSimplifiedObject(): {};
52
52
  getAllItems(options?: IGetAllItemsOptions): Enumerable.IEnumerable<Item>;
53
- static getItems(surfaces: Enumerable.IEnumerable<Surface> | Surface[], options: IGetAllItemsOptions): BaseItem[];
53
+ static getItems(surfaces: Enumerable.IEnumerable<Surface> | Surface[], options: IGetAllItemsOptions): Item[];
54
54
  getBackgroundItem(): Item;
55
55
  protected _copy(source: Surface, destination: Surface, generateNewIds: boolean): void;
56
56
  clone(generateNewIds?: boolean): Surface;
package/Version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** @hidden */
2
2
  /** Don't include in docs */
3
- export declare const MODELVERSION = "7.0.13";
3
+ export declare const MODELVERSION = "7.0.14";
package/Version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /** @hidden */
2
2
  /** Don't include in docs */
3
- export var MODELVERSION = "7.0.13";
3
+ export var MODELVERSION = "7.0.14";
4
4
  //# sourceMappingURL=Version.js.map
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.0.13",
2
+ "version": "7.0.14",
3
3
  "name": "@aurigma/design-atoms-model",
4
4
  "license": "SEE LICENSE IN License.md",
5
5
  "description": "Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.",