@aurigma/design-atoms-model 7.0.34 → 7.0.37

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.
Files changed (330) hide show
  1. package/Collection.js +271 -514
  2. package/Collection.js.map +1 -1
  3. package/Colors/CmykColor.js +35 -69
  4. package/Colors/CmykColor.js.map +1 -1
  5. package/Colors/Color.js +11 -19
  6. package/Colors/Color.js.map +1 -1
  7. package/Colors/GrayscaleColor.js +23 -45
  8. package/Colors/GrayscaleColor.js.map +1 -1
  9. package/Colors/HsbColor.js +67 -85
  10. package/Colors/HsbColor.js.map +1 -1
  11. package/Colors/Ink.js +20 -35
  12. package/Colors/Ink.js.map +1 -1
  13. package/Colors/LabColor.js +29 -59
  14. package/Colors/LabColor.js.map +1 -1
  15. package/Colors/Palette.js +2 -21
  16. package/Colors/Palette.js.map +1 -1
  17. package/Colors/ProcessColor.js +24 -54
  18. package/Colors/ProcessColor.js.map +1 -1
  19. package/Colors/RgbColor.js +31 -61
  20. package/Colors/RgbColor.js.map +1 -1
  21. package/Colors/RgbColors.js +22 -54
  22. package/Colors/RgbColors.js.map +1 -1
  23. package/Colors/SpotColor.js +34 -68
  24. package/Colors/SpotColor.js.map +1 -1
  25. package/Colors/Swatch.js +16 -40
  26. package/Colors/Swatch.js.map +1 -1
  27. package/Colors/ValidationUtils.js +3 -5
  28. package/Colors/ValidationUtils.js.map +1 -1
  29. package/ColorsOld/CmykColor.js +54 -80
  30. package/ColorsOld/CmykColor.js.map +1 -1
  31. package/ColorsOld/Color.d.ts +1 -1
  32. package/ColorsOld/Color.js +25 -34
  33. package/ColorsOld/Color.js.map +1 -1
  34. package/ColorsOld/ColorFactory.js +30 -40
  35. package/ColorsOld/ColorFactory.js.map +1 -1
  36. package/ColorsOld/GrayscaleColor.js +29 -54
  37. package/ColorsOld/GrayscaleColor.js.map +1 -1
  38. package/ColorsOld/HsbColor.js +29 -35
  39. package/ColorsOld/HsbColor.js.map +1 -1
  40. package/ColorsOld/LabColor.js +35 -56
  41. package/ColorsOld/LabColor.js.map +1 -1
  42. package/ColorsOld/RgbColor.js +73 -114
  43. package/ColorsOld/RgbColor.js.map +1 -1
  44. package/ColorsOld/SpotColor.js +32 -53
  45. package/ColorsOld/SpotColor.js.map +1 -1
  46. package/ColorsOld/Utils.js +9 -13
  47. package/ColorsOld/Utils.js.map +1 -1
  48. package/Configuration/IRenderingConfig.js +1 -0
  49. package/Configuration/WatermarkConfig.js +17 -33
  50. package/Configuration/WatermarkConfig.js.map +1 -1
  51. package/Configuration/index.js +1 -0
  52. package/Configuration/index.js.map +1 -1
  53. package/Configuration.js +7 -11
  54. package/Configuration.js.map +1 -1
  55. package/EquatableKeyDictionary.js +43 -127
  56. package/EquatableKeyDictionary.js.map +1 -1
  57. package/EventObject.js +59 -136
  58. package/EventObject.js.map +1 -1
  59. package/Exception.d.ts +1 -1
  60. package/Exception.js +47 -88
  61. package/Exception.js.map +1 -1
  62. package/INotifyPropertyChanged.d.ts +1 -1
  63. package/INotifyPropertyChanged.js +1 -0
  64. package/Math/Array.js +3 -3
  65. package/Math/Array.js.map +1 -1
  66. package/Math/Common.js +13 -15
  67. package/Math/Common.js.map +1 -1
  68. package/Math/ILtrb.js +1 -0
  69. package/Math/IPoint.js +1 -0
  70. package/Math/ISize.js +1 -0
  71. package/Math/Margin.js +62 -99
  72. package/Math/Margin.js.map +1 -1
  73. package/Math/Matrix.js +63 -94
  74. package/Math/Matrix.js.map +1 -1
  75. package/Math/Path.d.ts +1 -1
  76. package/Math/Path.js +149 -234
  77. package/Math/Path.js.map +1 -1
  78. package/Math/PointF.js +31 -34
  79. package/Math/PointF.js.map +1 -1
  80. package/Math/RectangleF.js +119 -159
  81. package/Math/RectangleF.js.map +1 -1
  82. package/Math/RotatedRectangleF.js +132 -147
  83. package/Math/RotatedRectangleF.js.map +1 -1
  84. package/Math/SizeF.js +10 -12
  85. package/Math/SizeF.js.map +1 -1
  86. package/Math/Transform.js +50 -80
  87. package/Math/Transform.js.map +1 -1
  88. package/Math/index.js +3 -0
  89. package/Math/index.js.map +1 -1
  90. package/Product/Constraints/ContainerConstraints.js +11 -13
  91. package/Product/Constraints/ContainerConstraints.js.map +1 -1
  92. package/Product/Constraints/MaxArtworkSizeConstraints.d.ts +1 -1
  93. package/Product/Constraints/MaxArtworkSizeConstraints.js +10 -12
  94. package/Product/Constraints/MaxArtworkSizeConstraints.js.map +1 -1
  95. package/Product/Constraints/PrintingTechniqueConstraints.js +10 -13
  96. package/Product/Constraints/PrintingTechniqueConstraints.js.map +1 -1
  97. package/Product/Container.d.ts +10 -10
  98. package/Product/Container.js +253 -375
  99. package/Product/Container.js.map +1 -1
  100. package/Product/ContainerVisualization.d.ts +1 -0
  101. package/Product/ContainerVisualization.js +31 -56
  102. package/Product/ContainerVisualization.js.map +1 -1
  103. package/Product/Convert/CornerRadiusConverter.js +32 -34
  104. package/Product/Convert/CornerRadiusConverter.js.map +1 -1
  105. package/Product/CropMark.js +28 -40
  106. package/Product/CropMark.js.map +1 -1
  107. package/Product/Decorators/Factory/AbstractFactory.js +13 -23
  108. package/Product/Decorators/Factory/AbstractFactory.js.map +1 -1
  109. package/Product/Decorators/Factory/CollectionFactory.js +10 -45
  110. package/Product/Decorators/Factory/CollectionFactory.js.map +1 -1
  111. package/Product/Decorators/Factory/ColorFactory.js +13 -35
  112. package/Product/Decorators/Factory/ColorFactory.js.map +1 -1
  113. package/Product/Decorators/Factory/ObjectFactory.js +10 -45
  114. package/Product/Decorators/Factory/ObjectFactory.js.map +1 -1
  115. package/Product/Decorators/Factory/SimpleFactory.js +11 -21
  116. package/Product/Decorators/Factory/SimpleFactory.js.map +1 -1
  117. package/Product/Decorators/Interfaces/IInputPropertyMetadata.d.ts +1 -1
  118. package/Product/Decorators/Interfaces/IInputPropertyMetadata.js +1 -0
  119. package/Product/Decorators/Interfaces/IObjectMetadata.js +1 -0
  120. package/Product/Decorators/Interfaces/IPropertyMetadata.js +1 -0
  121. package/Product/Decorators/ItemsMetadata.js +11 -13
  122. package/Product/Decorators/ItemsMetadata.js.map +1 -1
  123. package/Product/Decorators/Property.js +4 -4
  124. package/Product/Decorators/Property.js.map +1 -1
  125. package/Product/Decorators/PropertyChanged.js +1 -1
  126. package/Product/Decorators/PropertyChanged.js.map +1 -1
  127. package/Product/Decorators/index.js +1 -0
  128. package/Product/Decorators/index.js.map +1 -1
  129. package/Product/Effects/ColorDictionaryEntry.js +3 -5
  130. package/Product/Effects/ColorDictionaryEntry.js.map +1 -1
  131. package/Product/Effects/NDEffectParameters.js +2 -6
  132. package/Product/Effects/NDEffectParameters.js.map +1 -1
  133. package/Product/Effects/NDEffects.d.ts +1 -0
  134. package/Product/Effects/NDEffects.js +20 -27
  135. package/Product/Effects/NDEffects.js.map +1 -1
  136. package/Product/Effects/RecolorEffectParameters.d.ts +1 -0
  137. package/Product/Effects/RecolorEffectParameters.js +44 -89
  138. package/Product/Effects/RecolorEffectParameters.js.map +1 -1
  139. package/Product/IGetAllItemsOptions.js +1 -0
  140. package/Product/InteractiveZone.js +34 -66
  141. package/Product/InteractiveZone.js.map +1 -1
  142. package/Product/Interfaces/IColorWithTitle.js +1 -0
  143. package/Product/Interfaces/IDataSet.js +1 -0
  144. package/Product/Interfaces/IFontSettings.js +1 -0
  145. package/Product/Interfaces/IItemData.js +1 -0
  146. package/Product/Interfaces/IPdfMetadata.js +1 -0
  147. package/Product/Interfaces/IProductThemeConfig.js +1 -0
  148. package/Product/Interfaces/IShadowSettings.js +1 -0
  149. package/Product/Interfaces/IStrokeSettings.js +1 -0
  150. package/Product/Interfaces/index.js +3 -0
  151. package/Product/Interfaces/index.js.map +1 -1
  152. package/Product/ItemMask.js +20 -26
  153. package/Product/ItemMask.js.map +1 -1
  154. package/Product/Items/ArchedTextItem.js +65 -100
  155. package/Product/Items/ArchedTextItem.js.map +1 -1
  156. package/Product/Items/AutoScaledTextItem.js +35 -62
  157. package/Product/Items/AutoScaledTextItem.js.map +1 -1
  158. package/Product/Items/BarcodeData.d.ts +1 -1
  159. package/Product/Items/BarcodeData.js +62 -91
  160. package/Product/Items/BarcodeData.js.map +1 -1
  161. package/Product/Items/BarcodeItem.js +249 -298
  162. package/Product/Items/BarcodeItem.js.map +1 -1
  163. package/Product/Items/BarcodePermissions.js +38 -52
  164. package/Product/Items/BarcodePermissions.js.map +1 -1
  165. package/Product/Items/BaseItem.js +30 -53
  166. package/Product/Items/BaseItem.js.map +1 -1
  167. package/Product/Items/BaseTextItem.d.ts +2 -2
  168. package/Product/Items/BaseTextItem.js +451 -625
  169. package/Product/Items/BaseTextItem.js.map +1 -1
  170. package/Product/Items/BoundedTextItem.js +184 -255
  171. package/Product/Items/BoundedTextItem.js.map +1 -1
  172. package/Product/Items/ClipartItem.js +82 -175
  173. package/Product/Items/ClipartItem.js.map +1 -1
  174. package/Product/Items/ContentItem.js +52 -80
  175. package/Product/Items/ContentItem.js.map +1 -1
  176. package/Product/Items/ContentPermissions.js +36 -47
  177. package/Product/Items/ContentPermissions.js.map +1 -1
  178. package/Product/Items/CurvedTextItem.js +106 -158
  179. package/Product/Items/CurvedTextItem.js.map +1 -1
  180. package/Product/Items/DashedLineItem.js +45 -76
  181. package/Product/Items/DashedLineItem.js.map +1 -1
  182. package/Product/Items/EllipseItem.js +11 -31
  183. package/Product/Items/EllipseItem.js.map +1 -1
  184. package/Product/Items/FrontEndPermissions.js +20 -26
  185. package/Product/Items/FrontEndPermissions.js.map +1 -1
  186. package/Product/Items/GridItem.js +107 -162
  187. package/Product/Items/GridItem.js.map +1 -1
  188. package/Product/Items/GroupItem.js +95 -172
  189. package/Product/Items/GroupItem.js.map +1 -1
  190. package/Product/Items/GroupItemPermissions.js +42 -56
  191. package/Product/Items/GroupItemPermissions.js.map +1 -1
  192. package/Product/Items/ImageItem.d.ts +9 -4
  193. package/Product/Items/ImageItem.js +319 -430
  194. package/Product/Items/ImageItem.js.map +1 -1
  195. package/Product/Items/ImageMetaData.js +14 -15
  196. package/Product/Items/ImageMetaData.js.map +1 -1
  197. package/Product/Items/ImagePermissions.js +42 -56
  198. package/Product/Items/ImagePermissions.js.map +1 -1
  199. package/Product/Items/ImageViolationSettings.js +18 -35
  200. package/Product/Items/ImageViolationSettings.js.map +1 -1
  201. package/Product/Items/InStringPlaceholder.d.ts +2 -1
  202. package/Product/Items/InStringPlaceholder.js +52 -101
  203. package/Product/Items/InStringPlaceholder.js.map +1 -1
  204. package/Product/Items/Item.d.ts +1 -1
  205. package/Product/Items/Item.js +278 -370
  206. package/Product/Items/Item.js.map +1 -1
  207. package/Product/Items/ItemPermissions.js +54 -73
  208. package/Product/Items/ItemPermissions.js.map +1 -1
  209. package/Product/Items/ItemToolbarPermissions.js +61 -80
  210. package/Product/Items/ItemToolbarPermissions.js.map +1 -1
  211. package/Product/Items/LayoutItem.js +241 -326
  212. package/Product/Items/LayoutItem.js.map +1 -1
  213. package/Product/Items/LineItem.js +109 -156
  214. package/Product/Items/LineItem.js.map +1 -1
  215. package/Product/Items/LinePermissions.js +29 -39
  216. package/Product/Items/LinePermissions.js.map +1 -1
  217. package/Product/Items/ManipulationPermissions.d.ts +1 -1
  218. package/Product/Items/ManipulationPermissions.js +94 -135
  219. package/Product/Items/ManipulationPermissions.js.map +1 -1
  220. package/Product/Items/OpenTypeFeature.d.ts +1 -1
  221. package/Product/Items/OpenTypeFeature.js +3 -5
  222. package/Product/Items/OpenTypeFeature.js.map +1 -1
  223. package/Product/Items/OverlayEffect.js +56 -70
  224. package/Product/Items/OverlayEffect.js.map +1 -1
  225. package/Product/Items/ParagraphSettings.js +9 -11
  226. package/Product/Items/ParagraphSettings.js.map +1 -1
  227. package/Product/Items/PathBoundedTextItem.js +116 -166
  228. package/Product/Items/PathBoundedTextItem.js.map +1 -1
  229. package/Product/Items/PathBoundedTextPermissions.js +20 -26
  230. package/Product/Items/PathBoundedTextPermissions.js.map +1 -1
  231. package/Product/Items/PlaceholderItem.d.ts +1 -1
  232. package/Product/Items/PlaceholderItem.js +310 -419
  233. package/Product/Items/PlaceholderItem.js.map +1 -1
  234. package/Product/Items/PlaceholderPermissions.js +38 -47
  235. package/Product/Items/PlaceholderPermissions.js.map +1 -1
  236. package/Product/Items/PlainTextItem.js +45 -74
  237. package/Product/Items/PlainTextItem.js.map +1 -1
  238. package/Product/Items/PolylineItem.js +51 -81
  239. package/Product/Items/PolylineItem.js.map +1 -1
  240. package/Product/Items/RectangleItem.js +10 -30
  241. package/Product/Items/RectangleItem.js.map +1 -1
  242. package/Product/Items/ResizeGripsPermissions.d.ts +5 -4
  243. package/Product/Items/ResizeGripsPermissions.js +75 -94
  244. package/Product/Items/ResizeGripsPermissions.js.map +1 -1
  245. package/Product/Items/ShadowSettings.js +51 -69
  246. package/Product/Items/ShadowSettings.js.map +1 -1
  247. package/Product/Items/ShapeItem.js +182 -250
  248. package/Product/Items/ShapeItem.js.map +1 -1
  249. package/Product/Items/ShapePermissions.js +38 -52
  250. package/Product/Items/ShapePermissions.js.map +1 -1
  251. package/Product/Items/ShapeViolationSettings.js +18 -36
  252. package/Product/Items/ShapeViolationSettings.js.map +1 -1
  253. package/Product/Items/Size.js +7 -11
  254. package/Product/Items/Size.js.map +1 -1
  255. package/Product/Items/SmartItem.js +21 -41
  256. package/Product/Items/SmartItem.js.map +1 -1
  257. package/Product/Items/StrokeSettings.js +48 -62
  258. package/Product/Items/StrokeSettings.js.map +1 -1
  259. package/Product/Items/TextEnums.d.ts +2 -1
  260. package/Product/Items/TextEnums.js +1 -0
  261. package/Product/Items/TextEnums.js.map +1 -1
  262. package/Product/Items/TextPermissions.js +56 -58
  263. package/Product/Items/TextPermissions.js.map +1 -1
  264. package/Product/Items/TextViolationSettings.js +23 -40
  265. package/Product/Items/TextViolationSettings.js.map +1 -1
  266. package/Product/Items/ThemeBinding.d.ts +2 -1
  267. package/Product/Items/ThemeBinding.js +13 -15
  268. package/Product/Items/ThemeBinding.js.map +1 -1
  269. package/Product/Items/ViolationSettings.js +26 -44
  270. package/Product/Items/ViolationSettings.js.map +1 -1
  271. package/Product/Items/VisualizationPermissions.js +29 -39
  272. package/Product/Items/VisualizationPermissions.js.map +1 -1
  273. package/Product/ItemsData/ItemData.js +8 -24
  274. package/Product/ItemsData/ItemData.js.map +1 -1
  275. package/Product/ModelComponent.js +41 -63
  276. package/Product/ModelComponent.js.map +1 -1
  277. package/Product/PrintArea.d.ts +1 -0
  278. package/Product/PrintArea.js +132 -178
  279. package/Product/PrintArea.js.map +1 -1
  280. package/Product/Product.js +67 -105
  281. package/Product/Product.js.map +1 -1
  282. package/Product/SafetyLine.d.ts +1 -1
  283. package/Product/SafetyLine.js +90 -124
  284. package/Product/SafetyLine.js.map +1 -1
  285. package/Product/Surface.d.ts +2 -1
  286. package/Product/Surface.js +193 -287
  287. package/Product/Surface.js.map +1 -1
  288. package/Product/SurfaceMockup.js +40 -73
  289. package/Product/SurfaceMockup.js.map +1 -1
  290. package/Product/Uuid.js +19 -25
  291. package/Product/Uuid.js.map +1 -1
  292. package/Product/Watermark.js +5 -9
  293. package/Product/Watermark.js.map +1 -1
  294. package/Product/index.js +1 -0
  295. package/Product/index.js.map +1 -1
  296. package/Serialization/IProductSerializer.js +1 -0
  297. package/Utils/Environment.d.ts +1 -1
  298. package/Utils/Environment.js +24 -44
  299. package/Utils/Environment.js.map +1 -1
  300. package/Utils/Exceptions.js +5 -5
  301. package/Utils/Exceptions.js.map +1 -1
  302. package/Utils/Items.js +19 -19
  303. package/Utils/Items.js.map +1 -1
  304. package/Utils/Types/Action.d.ts +5 -1
  305. package/Utils/Types/Action.js +1 -0
  306. package/Utils/Types/AnyFunction.d.ts +1 -1
  307. package/Utils/Types/AnyFunction.js +1 -0
  308. package/Utils/Types/Func.d.ts +1 -1
  309. package/Utils/Types/Func.js +1 -0
  310. package/Utils/Types/index.js +3 -0
  311. package/Utils/Types/index.js.map +1 -1
  312. package/Utils/Utils.d.ts +14 -5
  313. package/Utils/Utils.js +185 -298
  314. package/Utils/Utils.js.map +1 -1
  315. package/Utils/debounce.d.ts +29 -0
  316. package/Utils/debounce.js +106 -0
  317. package/Utils/debounce.js.map +1 -0
  318. package/Utils/index.d.ts +2 -0
  319. package/Utils/index.js +3 -0
  320. package/Utils/index.js.map +1 -1
  321. package/Utils/throttle.d.ts +16 -0
  322. package/Utils/throttle.js +25 -0
  323. package/Utils/throttle.js.map +1 -0
  324. package/Validators/CmykComponentValidator.js +13 -15
  325. package/Validators/CmykComponentValidator.js.map +1 -1
  326. package/Version.d.ts +1 -1
  327. package/Version.js +1 -1
  328. package/Version.js.map +1 -1
  329. package/package.json +3 -8
  330. package/typings/structured-clone.d.ts +5 -0
@@ -1,16 +1,3 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -32,59 +19,56 @@ import * as Math from "../../Math/index";
32
19
  import { Transform } from "../../Math/Transform";
33
20
  import { WrappingMode } from "./WrappingMode";
34
21
  import { ThemeBinding } from "./ThemeBinding";
35
- import * as _ from "underscore";
36
22
  import { RenderingType } from "../RenderingType";
37
23
  import { BlendMode } from "./BlendMode";
38
24
  import { ItemMask } from "../ItemMask";
39
- import { equals } from "../../Utils/Utils";
25
+ import { equals, isString } from "../../Utils/Utils";
40
26
  import { Property } from "../Decorators/Property";
41
27
  import { ViolationSettings } from "./ViolationSettings";
42
28
  import { ObjectPropertyFactory } from "../Decorators/Factory";
43
- var Item = /** @class */ (function (_super) {
44
- __extends(Item, _super);
45
- function Item() {
46
- var _this = _super.call(this) || this;
47
- _this._visible = true;
48
- _this._locked = false;
49
- _this._opacity = 1.0;
50
- _this._fromLayout = false;
51
- _this._textWrappingMode = WrappingMode.None;
52
- _this._isVariable = false;
53
- _this._blendMode = BlendMode.Normal;
54
- _this._ignorePermissionsChange = false;
55
- _this._mask = null;
56
- _this._class = null;
57
- _this._onPermissionsChanged = function () {
58
- if (_this._ignorePermissionsChange)
29
+ export class Item extends BaseItem {
30
+ constructor() {
31
+ super();
32
+ this._visible = true;
33
+ this._locked = false;
34
+ this._opacity = 1.0;
35
+ this._fromLayout = false;
36
+ this._textWrappingMode = WrappingMode.None;
37
+ this._isVariable = false;
38
+ this._blendMode = BlendMode.Normal;
39
+ this._ignorePermissionsChange = false;
40
+ this._mask = null;
41
+ this._class = null;
42
+ this._onPermissionsChanged = () => {
43
+ if (this._ignorePermissionsChange)
59
44
  return;
60
- _this._ignorePermissionsChange = true;
61
- _this.applyPermissionsConstrain();
62
- _this._ignorePermissionsChange = false;
63
- _this._propertyChanged.notify(_this, "permissions");
45
+ this._ignorePermissionsChange = true;
46
+ this.applyPermissionsConstrain();
47
+ this._ignorePermissionsChange = false;
48
+ this._propertyChanged.notify(this, "permissions");
64
49
  };
65
- _this._parentGroupItem = null;
66
- _this.themeBinding = new ThemeBinding();
67
- _this._onTransformChanged = function (t) {
68
- _this._propertyChanged.notify(_this, "transform");
50
+ this._parentGroupItem = null;
51
+ this.themeBinding = new ThemeBinding();
52
+ this._onTransformChanged = (t) => {
53
+ this._propertyChanged.notify(this, "transform");
69
54
  };
70
- _this._onMaskChanged = function (m) {
71
- _this._propertyChanged.notify(_this, "mask");
55
+ this._onMaskChanged = (m) => {
56
+ this._propertyChanged.notify(this, "mask");
72
57
  };
73
- _this._changedEvent = new EventWithAutoSenderArg(_this);
74
- _this._changingEvent = new EventObject();
75
- _this.type = Item.type;
76
- var itemPermissions = new ItemPermissions();
58
+ this._changedEvent = new EventWithAutoSenderArg(this);
59
+ this._changingEvent = new EventObject();
60
+ this.type = Item.type;
61
+ const itemPermissions = new ItemPermissions();
77
62
  itemPermissions.allowRemoveOnLayoutChange = false;
78
- _this.itemPermissions = itemPermissions;
79
- _this.setManipulationPermissions(new ManipulationPermissions());
80
- _this.visualizationPermissions = new VisualizationPermissions();
81
- _this.frontendPermissions = new FrontendPermissions();
82
- _this._setViolationSettings(new ViolationSettings(), true);
83
- _this.setTransform(new Transform());
84
- return _this;
85
- }
86
- Item.prototype._copy = function (source, destination, generateNewIds, appropriateParentContainer) {
87
- _super.prototype._copy.call(this, source, destination, generateNewIds, appropriateParentContainer);
63
+ this.itemPermissions = itemPermissions;
64
+ this.setManipulationPermissions(new ManipulationPermissions());
65
+ this.visualizationPermissions = new VisualizationPermissions();
66
+ this.frontendPermissions = new FrontendPermissions();
67
+ this._setViolationSettings(new ViolationSettings(), true);
68
+ this.setTransform(new Transform());
69
+ }
70
+ _copy(source, destination, generateNewIds, appropriateParentContainer) {
71
+ super._copy(source, destination, generateNewIds, appropriateParentContainer);
88
72
  destination.itemPermissions = source._itemPermissions.clone();
89
73
  destination.visible = source._visible;
90
74
  destination.locked = source._locked;
@@ -101,50 +85,42 @@ var Item = /** @class */ (function (_super) {
101
85
  destination.mask = source.mask != null ? source.mask.clone() : null;
102
86
  destination.blendMode = source.blendMode;
103
87
  destination.class = source.class;
104
- };
105
- Item.prototype.equals = function (other) {
106
- var superEq = _super.prototype.equals.call(this, other);
107
- var itemPermissionsEq = equals(this._itemPermissions, other._itemPermissions);
108
- var visibleEq = equals(this._visible, other._visible);
109
- var lockedEq = equals(this._locked, other._locked);
110
- var opacityEq = equals(this._opacity, other._opacity);
111
- var isVariableEq = equals(this._isVariable, other._isVariable);
112
- var textWrappingModeEq = equals(this._textWrappingMode, other._textWrappingMode);
113
- var manipulationPermissionsEq = equals(this._manipulationPermissions, other._manipulationPermissions);
114
- var visualizationPermissionsEq = equals(this._visualizationPermissions, other._visualizationPermissions);
115
- var frontendPermissionsEq = equals(this._frontendPermissions, other._frontendPermissions);
116
- var transformEq = equals(this._transform, other._transform);
117
- var violationEq = equals(this._violationSettings, other._violationSettings);
118
- var containerNameEq = equals(this.containerName, other.containerName);
119
- var themeBindingEq = equals(this.themeBinding, other.themeBinding);
120
- var maskEq = equals(this._mask, other._mask);
121
- var blendModeEq = equals(this.blendMode, other.blendMode);
122
- var classEq = equals(this.class, other.class);
88
+ }
89
+ equals(other) {
90
+ const superEq = super.equals(other);
91
+ const itemPermissionsEq = equals(this._itemPermissions, other._itemPermissions);
92
+ const visibleEq = equals(this._visible, other._visible);
93
+ const lockedEq = equals(this._locked, other._locked);
94
+ const opacityEq = equals(this._opacity, other._opacity);
95
+ const isVariableEq = equals(this._isVariable, other._isVariable);
96
+ const textWrappingModeEq = equals(this._textWrappingMode, other._textWrappingMode);
97
+ const manipulationPermissionsEq = equals(this._manipulationPermissions, other._manipulationPermissions);
98
+ const visualizationPermissionsEq = equals(this._visualizationPermissions, other._visualizationPermissions);
99
+ const frontendPermissionsEq = equals(this._frontendPermissions, other._frontendPermissions);
100
+ const transformEq = equals(this._transform, other._transform);
101
+ const violationEq = equals(this._violationSettings, other._violationSettings);
102
+ const containerNameEq = equals(this.containerName, other.containerName);
103
+ const themeBindingEq = equals(this.themeBinding, other.themeBinding);
104
+ const maskEq = equals(this._mask, other._mask);
105
+ const blendModeEq = equals(this.blendMode, other.blendMode);
106
+ const classEq = equals(this.class, other.class);
123
107
  return superEq && itemPermissionsEq && visibleEq && lockedEq && opacityEq && isVariableEq && textWrappingModeEq
124
108
  && manipulationPermissionsEq && visualizationPermissionsEq && frontendPermissionsEq && transformEq
125
109
  && violationEq && containerNameEq && themeBindingEq && maskEq && blendModeEq && classEq;
126
- };
127
- Object.defineProperty(Item.prototype, "class", {
128
- get: function () {
129
- return this._class;
130
- },
131
- set: function (value) {
132
- if (this._class == value)
133
- return;
134
- this._class = value;
135
- this._propertyChanged.notify(this, "class");
136
- },
137
- enumerable: true,
138
- configurable: true
139
- });
140
- Object.defineProperty(Item.prototype, "manipulationPermissions", {
141
- get: function () { return this.getManipulationPermissions(); },
142
- set: function (value) { this.setManipulationPermissions(value); },
143
- enumerable: true,
144
- configurable: true
145
- });
146
- Item.prototype.getManipulationPermissions = function () { return this._manipulationPermissions; };
147
- Item.prototype.setManipulationPermissions = function (value) {
110
+ }
111
+ get class() {
112
+ return this._class;
113
+ }
114
+ set class(value) {
115
+ if (this._class == value)
116
+ return;
117
+ this._class = value;
118
+ this._propertyChanged.notify(this, "class");
119
+ }
120
+ get manipulationPermissions() { return this.getManipulationPermissions(); }
121
+ set manipulationPermissions(value) { this.setManipulationPermissions(value); }
122
+ getManipulationPermissions() { return this._manipulationPermissions; }
123
+ setManipulationPermissions(value) {
148
124
  if (value == null)
149
125
  throw new ArgumentException("manipulationPermissions cannot be null");
150
126
  if (equals(this._manipulationPermissions, value))
@@ -155,76 +131,59 @@ var Item = /** @class */ (function (_super) {
155
131
  this.applyPermissionsConstrain();
156
132
  this._manipulationPermissions.propertyChanged.add(this._onPermissionsChanged);
157
133
  this._propertyChanged.notify(this, "manipulationPermissions");
158
- };
159
- Object.defineProperty(Item.prototype, "visualizationPermissions", {
160
- get: function () {
161
- return this._visualizationPermissions;
162
- },
163
- set: function (value) {
164
- if (value == null)
165
- throw new ArgumentException("visualizationPermissions cannot be null");
166
- if (equals(this._visualizationPermissions, value))
167
- return;
168
- if (this._visualizationPermissions != null)
169
- this._visualizationPermissions.propertyChanged.remove(this._onPermissionsChanged);
170
- this._visualizationPermissions = value;
171
- this.applyPermissionsConstrain();
172
- this._visualizationPermissions.propertyChanged.add(this._onPermissionsChanged);
173
- this._propertyChanged.notify(this, "visualizationPermissions");
174
- },
175
- enumerable: true,
176
- configurable: true
177
- });
178
- Object.defineProperty(Item.prototype, "itemPermissions", {
179
- get: function () {
180
- return this._itemPermissions;
181
- },
182
- set: function (value) {
183
- if (value == null)
184
- throw new ArgumentException("itemPermissions cannot be null");
185
- if (equals(this._itemPermissions, value))
186
- return;
187
- if (this._itemPermissions != null)
188
- this._itemPermissions.propertyChanged.remove(this._onPermissionsChanged);
189
- this._itemPermissions = value;
190
- this.applyPermissionsConstrain();
191
- this._itemPermissions.propertyChanged.add(this._onPermissionsChanged);
192
- this._propertyChanged.notify(this, "itemPermissions");
193
- },
194
- enumerable: true,
195
- configurable: true
196
- });
197
- Object.defineProperty(Item.prototype, "frontendPermissions", {
198
- get: function () {
199
- return this._frontendPermissions;
200
- },
201
- set: function (value) {
202
- if (value == null)
203
- throw new ArgumentException("frontendPermissions cannot be null");
204
- if (equals(this._frontendPermissions, value))
205
- return;
206
- if (this._frontendPermissions != null)
207
- this._frontendPermissions.propertyChanged.remove(this._onPermissionsChanged);
208
- this._frontendPermissions = value;
209
- this.applyPermissionsConstrain();
210
- this._frontendPermissions.propertyChanged.add(this._onPermissionsChanged);
211
- this._propertyChanged.notify(this, "frontendPermissions");
212
- },
213
- enumerable: true,
214
- configurable: true
215
- });
216
- Object.defineProperty(Item.prototype, "violationSettings", {
217
- get: function () {
218
- return this._violationSettings;
219
- },
220
- set: function (value) {
221
- this._setViolationSettings(value);
222
- },
223
- enumerable: true,
224
- configurable: true
225
- });
226
- Item.prototype._setViolationSettings = function (value, skipTypeCheck) {
227
- if (skipTypeCheck === void 0) { skipTypeCheck = false; }
134
+ }
135
+ get visualizationPermissions() {
136
+ return this._visualizationPermissions;
137
+ }
138
+ set visualizationPermissions(value) {
139
+ if (value == null)
140
+ throw new ArgumentException("visualizationPermissions cannot be null");
141
+ if (equals(this._visualizationPermissions, value))
142
+ return;
143
+ if (this._visualizationPermissions != null)
144
+ this._visualizationPermissions.propertyChanged.remove(this._onPermissionsChanged);
145
+ this._visualizationPermissions = value;
146
+ this.applyPermissionsConstrain();
147
+ this._visualizationPermissions.propertyChanged.add(this._onPermissionsChanged);
148
+ this._propertyChanged.notify(this, "visualizationPermissions");
149
+ }
150
+ get itemPermissions() {
151
+ return this._itemPermissions;
152
+ }
153
+ set itemPermissions(value) {
154
+ if (value == null)
155
+ throw new ArgumentException("itemPermissions cannot be null");
156
+ if (equals(this._itemPermissions, value))
157
+ return;
158
+ if (this._itemPermissions != null)
159
+ this._itemPermissions.propertyChanged.remove(this._onPermissionsChanged);
160
+ this._itemPermissions = value;
161
+ this.applyPermissionsConstrain();
162
+ this._itemPermissions.propertyChanged.add(this._onPermissionsChanged);
163
+ this._propertyChanged.notify(this, "itemPermissions");
164
+ }
165
+ get frontendPermissions() {
166
+ return this._frontendPermissions;
167
+ }
168
+ set frontendPermissions(value) {
169
+ if (value == null)
170
+ throw new ArgumentException("frontendPermissions cannot be null");
171
+ if (equals(this._frontendPermissions, value))
172
+ return;
173
+ if (this._frontendPermissions != null)
174
+ this._frontendPermissions.propertyChanged.remove(this._onPermissionsChanged);
175
+ this._frontendPermissions = value;
176
+ this.applyPermissionsConstrain();
177
+ this._frontendPermissions.propertyChanged.add(this._onPermissionsChanged);
178
+ this._propertyChanged.notify(this, "frontendPermissions");
179
+ }
180
+ get violationSettings() {
181
+ return this._violationSettings;
182
+ }
183
+ set violationSettings(value) {
184
+ this._setViolationSettings(value);
185
+ }
186
+ _setViolationSettings(value, skipTypeCheck = false) {
228
187
  if (value == null)
229
188
  throw new ArgumentException("violationSettings cannot be null");
230
189
  if (equals(this._violationSettings, value))
@@ -235,56 +194,43 @@ var Item = /** @class */ (function (_super) {
235
194
  this.applyPermissionsConstrain();
236
195
  this._violationSettings.addPropertyChanged(this._onPermissionsChanged);
237
196
  this._propertyChanged.notify(this, "violationSettings");
238
- };
239
- Item.prototype.applyPermissionsConstrain = function () {
197
+ }
198
+ applyPermissionsConstrain() {
240
199
  if (this.isRenderTypeIsNormal)
241
200
  return;
242
201
  this.itemPermissions.allowOpacityChange = false;
243
- };
244
- Item.prototype._onContainerChanged = function () {
245
- _super.prototype._onContainerChanged.call(this);
202
+ }
203
+ _onContainerChanged() {
204
+ super._onContainerChanged();
246
205
  this.applyPermissionsConstrain();
247
- };
248
- Object.defineProperty(Item.prototype, "parentGroupItem", {
249
- get: function () {
250
- return this._parentGroupItem;
251
- },
252
- set: function (value) {
253
- this._parentGroupItem = value;
254
- if (value != null)
255
- this.parentContainer = this._parentGroupItem.parentContainer;
256
- },
257
- enumerable: true,
258
- configurable: true
259
- });
260
- Object.defineProperty(Item.prototype, "blendMode", {
261
- get: function () {
262
- return this._blendMode;
263
- },
264
- set: function (value) {
265
- if (this._blendMode === value)
266
- return;
267
- this._blendMode = value;
268
- this._propertyChanged.notify(this, "blendMode");
269
- },
270
- enumerable: true,
271
- configurable: true
272
- });
273
- Object.defineProperty(Item.prototype, "transform", {
274
- get: function () {
275
- return this._transform;
276
- },
277
- set: function (value) {
278
- this.setTransform(value);
279
- },
280
- enumerable: true,
281
- configurable: true
282
- });
283
- Item.prototype.setTransform = function (value, suppressOnChanged) {
284
- if (suppressOnChanged === void 0) { suppressOnChanged = false; }
206
+ }
207
+ get parentGroupItem() {
208
+ return this._parentGroupItem;
209
+ }
210
+ set parentGroupItem(value) {
211
+ this._parentGroupItem = value;
212
+ if (value != null)
213
+ this.parentContainer = this._parentGroupItem.parentContainer;
214
+ }
215
+ get blendMode() {
216
+ return this._blendMode;
217
+ }
218
+ set blendMode(value) {
219
+ if (this._blendMode === value)
220
+ return;
221
+ this._blendMode = value;
222
+ this._propertyChanged.notify(this, "blendMode");
223
+ }
224
+ get transform() {
225
+ return this._transform;
226
+ }
227
+ set transform(value) {
228
+ this.setTransform(value);
229
+ }
230
+ setTransform(value, suppressOnChanged = false) {
285
231
  if (this._transform)
286
232
  this._transform.removeTransformChanged(this._onTransformChanged);
287
- var changed = false;
233
+ let changed = false;
288
234
  if (!Transform.isEqual(this._transform, value)) {
289
235
  this._transform = value;
290
236
  changed = true;
@@ -293,118 +239,90 @@ var Item = /** @class */ (function (_super) {
293
239
  this._transform.addTransformChanged(this._onTransformChanged);
294
240
  if (!suppressOnChanged && changed)
295
241
  this._propertyChanged.notify(this, "transform");
296
- };
297
- Object.defineProperty(Item.prototype, "textWrappingMode", {
298
- get: function () {
299
- return this._textWrappingMode;
300
- },
301
- set: function (value) {
302
- if (this._textWrappingMode !== value) {
303
- this._textWrappingMode = value;
304
- this._propertyChanged.notify(this, "textWrappingMode");
305
- }
306
- },
307
- enumerable: true,
308
- configurable: true
309
- });
310
- Object.defineProperty(Item.prototype, "locked", {
311
- get: function () {
312
- return this._locked;
313
- },
314
- set: function (value) {
315
- if (this._locked !== value) {
316
- this._locked = value;
317
- this._propertyChanged.notify(this, "locked");
318
- }
319
- },
320
- enumerable: true,
321
- configurable: true
322
- });
323
- Object.defineProperty(Item.prototype, "mask", {
324
- get: function () {
325
- return this._mask;
326
- },
327
- set: function (value) {
328
- if (equals(this.mask, value))
329
- return;
330
- if (this._mask != null)
331
- this._mask.removeMaskChanged(this._onMaskChanged);
332
- this._mask = value;
333
- if (this._mask != null)
334
- this._mask.addMaskChanged(this._onMaskChanged);
335
- this._propertyChanged.notify(this, "mask");
336
- },
337
- enumerable: true,
338
- configurable: true
339
- });
340
- Object.defineProperty(Item.prototype, "visible", {
341
- get: function () {
342
- return this._visible;
343
- },
344
- set: function (value) {
345
- if (this._visible === value)
346
- return;
347
- this._visible = value;
348
- this._propertyChanged.notify(this, "visible");
349
- },
350
- enumerable: true,
351
- configurable: true
352
- });
353
- Object.defineProperty(Item.prototype, "opacity", {
354
- get: function () {
355
- return this._opacity;
356
- },
357
- set: function (value) {
358
- if (!Math.EqualsOfFloatNumbers(this._opacity, value)) {
359
- this._opacity = value;
360
- this._propertyChanged.notify(this, "opacity");
361
- }
362
- },
363
- enumerable: true,
364
- configurable: true
365
- });
366
- Object.defineProperty(Item.prototype, "isVariable", {
367
- get: function () {
368
- return this._isVariable;
369
- },
370
- set: function (value) {
371
- if (this._isVariable === value)
372
- return;
373
- if (!this._canSetIsVariable()) {
374
- throw new InvalidOperationException("Unable to set isVariable on item of type '" + this.type + "'");
375
- }
376
- this._isVariable = value;
377
- this._propertyChanged.notify(this, "isVariable");
378
- },
379
- enumerable: true,
380
- configurable: true
381
- });
382
- Object.defineProperty(Item.prototype, "fromLayout", {
383
- get: function () {
384
- return this._fromLayout;
385
- },
386
- set: function (value) {
387
- if (this._fromLayout === value)
388
- return;
389
- this._fromLayout = value;
390
- this._propertyChanged.notify(this, "fromLayout");
391
- },
392
- enumerable: true,
393
- configurable: true
394
- });
395
- Item.prototype.canSetIsVariable = function () {
242
+ }
243
+ get textWrappingMode() {
244
+ return this._textWrappingMode;
245
+ }
246
+ set textWrappingMode(value) {
247
+ if (this._textWrappingMode !== value) {
248
+ this._textWrappingMode = value;
249
+ this._propertyChanged.notify(this, "textWrappingMode");
250
+ }
251
+ }
252
+ get locked() {
253
+ return this._locked;
254
+ }
255
+ set locked(value) {
256
+ if (this._locked !== value) {
257
+ this._locked = value;
258
+ this._propertyChanged.notify(this, "locked");
259
+ }
260
+ }
261
+ get mask() {
262
+ return this._mask;
263
+ }
264
+ set mask(value) {
265
+ if (equals(this.mask, value))
266
+ return;
267
+ if (this._mask != null)
268
+ this._mask.removeMaskChanged(this._onMaskChanged);
269
+ this._mask = value;
270
+ if (this._mask != null)
271
+ this._mask.addMaskChanged(this._onMaskChanged);
272
+ this._propertyChanged.notify(this, "mask");
273
+ }
274
+ get visible() {
275
+ return this._visible;
276
+ }
277
+ set visible(value) {
278
+ if (this._visible === value)
279
+ return;
280
+ this._visible = value;
281
+ this._propertyChanged.notify(this, "visible");
282
+ }
283
+ get opacity() {
284
+ return this._opacity;
285
+ }
286
+ set opacity(value) {
287
+ if (!Math.EqualsOfFloatNumbers(this._opacity, value)) {
288
+ this._opacity = value;
289
+ this._propertyChanged.notify(this, "opacity");
290
+ }
291
+ }
292
+ get isVariable() {
293
+ return this._isVariable;
294
+ }
295
+ set isVariable(value) {
296
+ if (this._isVariable === value)
297
+ return;
298
+ if (!this._canSetIsVariable()) {
299
+ throw new InvalidOperationException(`Unable to set isVariable on item of type '${this.type}'`);
300
+ }
301
+ this._isVariable = value;
302
+ this._propertyChanged.notify(this, "isVariable");
303
+ }
304
+ get fromLayout() {
305
+ return this._fromLayout;
306
+ }
307
+ set fromLayout(value) {
308
+ if (this._fromLayout === value)
309
+ return;
310
+ this._fromLayout = value;
311
+ this._propertyChanged.notify(this, "fromLayout");
312
+ }
313
+ canSetIsVariable() {
396
314
  return this._canSetIsVariable();
397
- };
398
- Item.prototype._canSetIsVariable = function () { return false; };
399
- Item.prototype._getParentContainer = function () {
315
+ }
316
+ _canSetIsVariable() { return false; }
317
+ _getParentContainer() {
400
318
  if (this.parentContainer != null)
401
319
  return this.parentContainer;
402
320
  return null;
403
- };
404
- Item.prototype.getSimplifiedObject = function (omitProperties) {
405
- if (!_.isArray(omitProperties) && !_.isString(omitProperties))
321
+ }
322
+ getSimplifiedObject(omitProperties) {
323
+ if (!Array.isArray(omitProperties) && !isString(omitProperties))
406
324
  omitProperties = [];
407
- var simplified = _super.prototype.getSimplifiedObject.call(this, [
325
+ const simplified = super.getSimplifiedObject([
408
326
  "_changedEvent",
409
327
  "_changingEvent",
410
328
  "manipulationPermissions",
@@ -421,61 +339,51 @@ var Item = /** @class */ (function (_super) {
421
339
  simplified["frontendPermissions"] = this.frontendPermissions.getSimplifiedObject();
422
340
  simplified["mask"] = this.mask != null ? this.mask.getSimplifiedObject() : null;
423
341
  return simplified;
424
- };
425
- Item.prototype.getItemChangedEvent = function () {
342
+ }
343
+ getItemChangedEvent() {
426
344
  return this._changedEvent;
427
- };
428
- Item.prototype.getItemChangingEvent = function () {
345
+ }
346
+ getItemChangingEvent() {
429
347
  return this._changingEvent;
430
- };
431
- Item.prototype._getThemeBinding = function (themeBinding) {
348
+ }
349
+ _getThemeBinding(themeBinding) {
432
350
  return themeBinding != null ? themeBinding : this.themeBinding;
433
- };
434
- Item.prototype._applyThemeColor = function (colorName, theme, updateFunc) {
351
+ }
352
+ _applyThemeColor(colorName, theme, updateFunc) {
435
353
  throw new NotImplementedException();
436
- };
437
- Object.defineProperty(Item.prototype, "isRenderTypeIsNormal", {
438
- //#endregion
439
- get: function () {
440
- return this.renderingType === RenderingType.Normal;
441
- },
442
- enumerable: true,
443
- configurable: true
444
- });
445
- Object.defineProperty(Item.prototype, "renderingType", {
446
- get: function () {
447
- return this.parentContainer instanceof SurfaceContainer ? this.parentContainer.renderingType : RenderingType.Normal;
448
- },
449
- enumerable: true,
450
- configurable: true
451
- });
452
- Item.type = "item";
453
- __decorate([
454
- Property({ displayName: "Class" }),
455
- __metadata("design:type", String),
456
- __metadata("design:paramtypes", [String])
457
- ], Item.prototype, "class", null);
458
- __decorate([
459
- Property({ enumObject: BlendMode, displayName: "Blend mode" }),
460
- __metadata("design:type", String),
461
- __metadata("design:paramtypes", [String])
462
- ], Item.prototype, "blendMode", null);
463
- __decorate([
464
- Property({ enumObject: WrappingMode }),
465
- __metadata("design:type", Number),
466
- __metadata("design:paramtypes", [Number])
467
- ], Item.prototype, "textWrappingMode", null);
468
- __decorate([
469
- Property({ displayName: "Locked" }),
470
- __metadata("design:type", Boolean),
471
- __metadata("design:paramtypes", [Boolean])
472
- ], Item.prototype, "locked", null);
473
- __decorate([
474
- Property({ factory: new ObjectPropertyFactory(ItemMask) }),
475
- __metadata("design:type", ItemMask),
476
- __metadata("design:paramtypes", [ItemMask])
477
- ], Item.prototype, "mask", null);
478
- return Item;
479
- }(BaseItem));
480
- export { Item };
354
+ }
355
+ //#endregion
356
+ get isRenderTypeIsNormal() {
357
+ return this.renderingType === RenderingType.Normal;
358
+ }
359
+ get renderingType() {
360
+ return this.parentContainer instanceof SurfaceContainer ? this.parentContainer.renderingType : RenderingType.Normal;
361
+ }
362
+ }
363
+ Item.type = "item";
364
+ __decorate([
365
+ Property({ displayName: "Class" }),
366
+ __metadata("design:type", String),
367
+ __metadata("design:paramtypes", [String])
368
+ ], Item.prototype, "class", null);
369
+ __decorate([
370
+ Property({ enumObject: BlendMode, displayName: "Blend mode" }),
371
+ __metadata("design:type", String),
372
+ __metadata("design:paramtypes", [String])
373
+ ], Item.prototype, "blendMode", null);
374
+ __decorate([
375
+ Property({ enumObject: WrappingMode }),
376
+ __metadata("design:type", Number),
377
+ __metadata("design:paramtypes", [Number])
378
+ ], Item.prototype, "textWrappingMode", null);
379
+ __decorate([
380
+ Property({ displayName: "Locked" }),
381
+ __metadata("design:type", Boolean),
382
+ __metadata("design:paramtypes", [Boolean])
383
+ ], Item.prototype, "locked", null);
384
+ __decorate([
385
+ Property({ factory: new ObjectPropertyFactory(ItemMask) }),
386
+ __metadata("design:type", ItemMask),
387
+ __metadata("design:paramtypes", [ItemMask])
388
+ ], Item.prototype, "mask", null);
481
389
  //# sourceMappingURL=Item.js.map