@aurigma/design-atoms
Advanced tools
Comparing version 7.0.2 to 7.0.3
{ | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"name": "@aurigma/design-atoms", | ||
@@ -22,4 +22,4 @@ "license": "SEE LICENSE IN License.md", | ||
"dependencies": { | ||
"@aurigma/design-atoms-model": "7.0.2", | ||
"@aurigma/design-atoms-text": "7.0.2", | ||
"@aurigma/design-atoms-model": "7.0.3", | ||
"@aurigma/design-atoms-text": "7.0.3", | ||
"@aurigma/text-whizz": "1.6.31", | ||
@@ -26,0 +26,0 @@ "clone": "2.1.1", |
@@ -19,3 +19,3 @@ import { AdditionalConverter } from "./AdditionalConverter"; | ||
import { WatermarkConfig } from "@aurigma/design-atoms-model/Configuration/WatermarkConfig"; | ||
import { Watermark } from "@aurigma/design-atoms-model/Product"; | ||
import { InteractiveZone, Watermark } from "@aurigma/design-atoms-model/Product"; | ||
import { GroupItemPermissions } from "@aurigma/design-atoms-model/Product/Items/GroupItemPermissions"; | ||
@@ -41,2 +41,3 @@ import { ClipartItem, ColorGroup } from "@aurigma/design-atoms-model/Product/Items/ClipartItem"; | ||
readonly parseMockupContainer: (rawContainer: Object) => MockupContainer; | ||
readonly parseInteractiveZone: (rawActivityZone: Object) => InteractiveZone; | ||
readonly parseSurfaceContainer: (rawContainer: Object) => SurfaceContainer; | ||
@@ -43,0 +44,0 @@ readonly parseContainer: (rawContainer: Object, emptyContainer?: Container, converters?: PropertyConverter[]) => Container; |
@@ -41,3 +41,3 @@ var __read = (this && this.__read) || function (o, n) { | ||
import { WatermarkConfig, WatermarkTextConfig, WatermarkImageConfig, WatermarkVisibilityConfig } from "@aurigma/design-atoms-model/Configuration/WatermarkConfig"; | ||
import { Watermark } from "@aurigma/design-atoms-model/Product"; | ||
import { InteractiveZone, Watermark } from "@aurigma/design-atoms-model/Product"; | ||
import { GroupItemPermissions } from "@aurigma/design-atoms-model/Product/Items/GroupItemPermissions"; | ||
@@ -78,2 +78,3 @@ import { ClipartItem, ColorGroup } from "@aurigma/design-atoms-model/Product/Items/ClipartItem"; | ||
new PropertyConverter("previewMockups", function (rawContainers) { return _this.parseCollection(rawContainers, _this.parseMockup.bind(_this), surface.previewMockups); }, true), | ||
new PropertyConverter("interactiveZones", function (rawContainers) { return _this.parseCollection(rawContainers, _this.parseInteractiveZone.bind(_this), surface.interactiveZones); }, true), | ||
new PropertyConverter("watermark", _this.parseWatermark.bind(_this)) | ||
@@ -94,2 +95,11 @@ ]); | ||
//} | ||
this.parseInteractiveZone = function (rawActivityZone) { | ||
var activityZone = new InteractiveZone(); | ||
var converters = [ | ||
new PropertyConverter("path", _this.parsePath.bind(_this)), | ||
]; | ||
delete rawActivityZone["version"]; | ||
_this._parseObject(rawActivityZone, activityZone, converters); | ||
return activityZone; | ||
}; | ||
this.parseSurfaceContainer = function (rawContainer) { | ||
@@ -96,0 +106,0 @@ var container; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4432258
58511
+ Added@aurigma/design-atoms-model@7.0.3(transitive)
+ Added@aurigma/design-atoms-text@7.0.3(transitive)
- Removed@aurigma/design-atoms-model@7.0.2(transitive)
- Removed@aurigma/design-atoms-text@7.0.2(transitive)