@aurigma/design-atoms-model 7.0.33 → 7.0.36

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 (326) 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 +2 -0
  76. package/Math/Path.js +231 -142
  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.d.ts +13 -0
  91. package/Product/Constraints/ContainerConstraints.js +22 -0
  92. package/Product/Constraints/ContainerConstraints.js.map +1 -0
  93. package/Product/Constraints/MaxArtworkSizeConstraints.d.ts +13 -0
  94. package/Product/Constraints/MaxArtworkSizeConstraints.js +25 -0
  95. package/Product/Constraints/MaxArtworkSizeConstraints.js.map +1 -0
  96. package/Product/Constraints/PrintingTechniqueConstraints.js +10 -13
  97. package/Product/Constraints/PrintingTechniqueConstraints.js.map +1 -1
  98. package/Product/Container.d.ts +48 -10
  99. package/Product/Container.js +257 -373
  100. package/Product/Container.js.map +1 -1
  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.js +20 -27
  134. package/Product/Effects/NDEffects.js.map +1 -1
  135. package/Product/Effects/RecolorEffectParameters.js +44 -89
  136. package/Product/Effects/RecolorEffectParameters.js.map +1 -1
  137. package/Product/IGetAllItemsOptions.js +1 -0
  138. package/Product/InteractiveZone.js +34 -66
  139. package/Product/InteractiveZone.js.map +1 -1
  140. package/Product/Interfaces/IColorWithTitle.js +1 -0
  141. package/Product/Interfaces/IDataSet.js +1 -0
  142. package/Product/Interfaces/IFontSettings.js +1 -0
  143. package/Product/Interfaces/IItemData.js +1 -0
  144. package/Product/Interfaces/IPdfMetadata.js +1 -0
  145. package/Product/Interfaces/IProductThemeConfig.js +1 -0
  146. package/Product/Interfaces/IShadowSettings.js +1 -0
  147. package/Product/Interfaces/IStrokeSettings.js +1 -0
  148. package/Product/Interfaces/index.js +3 -0
  149. package/Product/Interfaces/index.js.map +1 -1
  150. package/Product/ItemMask.js +20 -26
  151. package/Product/ItemMask.js.map +1 -1
  152. package/Product/Items/ArchedTextItem.js +65 -100
  153. package/Product/Items/ArchedTextItem.js.map +1 -1
  154. package/Product/Items/AutoScaledTextItem.js +35 -62
  155. package/Product/Items/AutoScaledTextItem.js.map +1 -1
  156. package/Product/Items/BarcodeData.d.ts +2 -1
  157. package/Product/Items/BarcodeData.js +77 -90
  158. package/Product/Items/BarcodeData.js.map +1 -1
  159. package/Product/Items/BarcodeItem.js +249 -298
  160. package/Product/Items/BarcodeItem.js.map +1 -1
  161. package/Product/Items/BarcodePermissions.js +38 -52
  162. package/Product/Items/BarcodePermissions.js.map +1 -1
  163. package/Product/Items/BaseItem.js +30 -53
  164. package/Product/Items/BaseItem.js.map +1 -1
  165. package/Product/Items/BaseTextItem.d.ts +2 -2
  166. package/Product/Items/BaseTextItem.js +447 -621
  167. package/Product/Items/BaseTextItem.js.map +1 -1
  168. package/Product/Items/BoundedTextItem.js +184 -255
  169. package/Product/Items/BoundedTextItem.js.map +1 -1
  170. package/Product/Items/ClipartItem.js +82 -175
  171. package/Product/Items/ClipartItem.js.map +1 -1
  172. package/Product/Items/ContentItem.js +52 -80
  173. package/Product/Items/ContentItem.js.map +1 -1
  174. package/Product/Items/ContentPermissions.js +36 -47
  175. package/Product/Items/ContentPermissions.js.map +1 -1
  176. package/Product/Items/CurvedTextItem.js +106 -158
  177. package/Product/Items/CurvedTextItem.js.map +1 -1
  178. package/Product/Items/DashedLineItem.js +45 -76
  179. package/Product/Items/DashedLineItem.js.map +1 -1
  180. package/Product/Items/EllipseItem.js +11 -31
  181. package/Product/Items/EllipseItem.js.map +1 -1
  182. package/Product/Items/FrontEndPermissions.js +20 -26
  183. package/Product/Items/FrontEndPermissions.js.map +1 -1
  184. package/Product/Items/GridItem.js +107 -162
  185. package/Product/Items/GridItem.js.map +1 -1
  186. package/Product/Items/GroupItem.js +93 -171
  187. package/Product/Items/GroupItem.js.map +1 -1
  188. package/Product/Items/GroupItemPermissions.js +42 -56
  189. package/Product/Items/GroupItemPermissions.js.map +1 -1
  190. package/Product/Items/ImageItem.js +304 -428
  191. package/Product/Items/ImageItem.js.map +1 -1
  192. package/Product/Items/ImageMetaData.js +14 -15
  193. package/Product/Items/ImageMetaData.js.map +1 -1
  194. package/Product/Items/ImagePermissions.js +42 -56
  195. package/Product/Items/ImagePermissions.js.map +1 -1
  196. package/Product/Items/ImageViolationSettings.js +18 -35
  197. package/Product/Items/ImageViolationSettings.js.map +1 -1
  198. package/Product/Items/InStringPlaceholder.js +50 -100
  199. package/Product/Items/InStringPlaceholder.js.map +1 -1
  200. package/Product/Items/Item.d.ts +1 -1
  201. package/Product/Items/Item.js +278 -370
  202. package/Product/Items/Item.js.map +1 -1
  203. package/Product/Items/ItemPermissions.js +54 -73
  204. package/Product/Items/ItemPermissions.js.map +1 -1
  205. package/Product/Items/ItemToolbarPermissions.js +61 -80
  206. package/Product/Items/ItemToolbarPermissions.js.map +1 -1
  207. package/Product/Items/LayoutItem.js +241 -326
  208. package/Product/Items/LayoutItem.js.map +1 -1
  209. package/Product/Items/LineItem.js +109 -156
  210. package/Product/Items/LineItem.js.map +1 -1
  211. package/Product/Items/LinePermissions.js +29 -39
  212. package/Product/Items/LinePermissions.js.map +1 -1
  213. package/Product/Items/ManipulationPermissions.d.ts +1 -1
  214. package/Product/Items/ManipulationPermissions.js +94 -135
  215. package/Product/Items/ManipulationPermissions.js.map +1 -1
  216. package/Product/Items/OpenTypeFeature.d.ts +1 -1
  217. package/Product/Items/OpenTypeFeature.js +3 -5
  218. package/Product/Items/OpenTypeFeature.js.map +1 -1
  219. package/Product/Items/OverlayEffect.js +56 -70
  220. package/Product/Items/OverlayEffect.js.map +1 -1
  221. package/Product/Items/ParagraphSettings.js +9 -11
  222. package/Product/Items/ParagraphSettings.js.map +1 -1
  223. package/Product/Items/PathBoundedTextItem.js +113 -164
  224. package/Product/Items/PathBoundedTextItem.js.map +1 -1
  225. package/Product/Items/PathBoundedTextPermissions.js +20 -26
  226. package/Product/Items/PathBoundedTextPermissions.js.map +1 -1
  227. package/Product/Items/PlaceholderItem.d.ts +1 -1
  228. package/Product/Items/PlaceholderItem.js +307 -417
  229. package/Product/Items/PlaceholderItem.js.map +1 -1
  230. package/Product/Items/PlaceholderPermissions.js +38 -47
  231. package/Product/Items/PlaceholderPermissions.js.map +1 -1
  232. package/Product/Items/PlainTextItem.js +45 -74
  233. package/Product/Items/PlainTextItem.js.map +1 -1
  234. package/Product/Items/PolylineItem.js +47 -78
  235. package/Product/Items/PolylineItem.js.map +1 -1
  236. package/Product/Items/RectangleItem.js +10 -30
  237. package/Product/Items/RectangleItem.js.map +1 -1
  238. package/Product/Items/ResizeGripsPermissions.d.ts +3 -3
  239. package/Product/Items/ResizeGripsPermissions.js +74 -94
  240. package/Product/Items/ResizeGripsPermissions.js.map +1 -1
  241. package/Product/Items/ShadowSettings.js +51 -69
  242. package/Product/Items/ShadowSettings.js.map +1 -1
  243. package/Product/Items/ShapeItem.js +182 -251
  244. package/Product/Items/ShapeItem.js.map +1 -1
  245. package/Product/Items/ShapePermissions.js +38 -52
  246. package/Product/Items/ShapePermissions.js.map +1 -1
  247. package/Product/Items/ShapeViolationSettings.js +18 -36
  248. package/Product/Items/ShapeViolationSettings.js.map +1 -1
  249. package/Product/Items/Size.js +7 -11
  250. package/Product/Items/Size.js.map +1 -1
  251. package/Product/Items/SmartItem.js +21 -41
  252. package/Product/Items/SmartItem.js.map +1 -1
  253. package/Product/Items/StrokeSettings.js +48 -62
  254. package/Product/Items/StrokeSettings.js.map +1 -1
  255. package/Product/Items/TextEnums.d.ts +2 -1
  256. package/Product/Items/TextEnums.js +1 -0
  257. package/Product/Items/TextEnums.js.map +1 -1
  258. package/Product/Items/TextPermissions.js +56 -58
  259. package/Product/Items/TextPermissions.js.map +1 -1
  260. package/Product/Items/TextViolationSettings.js +23 -40
  261. package/Product/Items/TextViolationSettings.js.map +1 -1
  262. package/Product/Items/ThemeBinding.js +10 -12
  263. package/Product/Items/ThemeBinding.js.map +1 -1
  264. package/Product/Items/ViolationSettings.js +26 -44
  265. package/Product/Items/ViolationSettings.js.map +1 -1
  266. package/Product/Items/VisualizationPermissions.js +29 -39
  267. package/Product/Items/VisualizationPermissions.js.map +1 -1
  268. package/Product/ItemsData/ItemData.js +8 -24
  269. package/Product/ItemsData/ItemData.js.map +1 -1
  270. package/Product/ModelComponent.js +41 -63
  271. package/Product/ModelComponent.js.map +1 -1
  272. package/Product/PrintArea.d.ts +11 -5
  273. package/Product/PrintArea.js +164 -155
  274. package/Product/PrintArea.js.map +1 -1
  275. package/Product/Product.js +67 -105
  276. package/Product/Product.js.map +1 -1
  277. package/Product/SafetyLine.d.ts +1 -1
  278. package/Product/SafetyLine.js +90 -124
  279. package/Product/SafetyLine.js.map +1 -1
  280. package/Product/Surface.d.ts +2 -1
  281. package/Product/Surface.js +193 -287
  282. package/Product/Surface.js.map +1 -1
  283. package/Product/SurfaceMockup.js +40 -73
  284. package/Product/SurfaceMockup.js.map +1 -1
  285. package/Product/Uuid.js +19 -25
  286. package/Product/Uuid.js.map +1 -1
  287. package/Product/Watermark.js +5 -9
  288. package/Product/Watermark.js.map +1 -1
  289. package/Product/index.d.ts +2 -0
  290. package/Product/index.js +3 -0
  291. package/Product/index.js.map +1 -1
  292. package/Serialization/IProductSerializer.js +1 -0
  293. package/Utils/Environment.d.ts +1 -1
  294. package/Utils/Environment.js +2 -2
  295. package/Utils/Environment.js.map +1 -1
  296. package/Utils/Exceptions.js +5 -5
  297. package/Utils/Exceptions.js.map +1 -1
  298. package/Utils/Items.js +19 -19
  299. package/Utils/Items.js.map +1 -1
  300. package/Utils/Types/Action.d.ts +5 -1
  301. package/Utils/Types/Action.js +1 -0
  302. package/Utils/Types/AnyFunction.d.ts +1 -1
  303. package/Utils/Types/AnyFunction.js +1 -0
  304. package/Utils/Types/Func.d.ts +1 -1
  305. package/Utils/Types/Func.js +1 -0
  306. package/Utils/Types/index.js +3 -0
  307. package/Utils/Types/index.js.map +1 -1
  308. package/Utils/Utils.d.ts +9 -4
  309. package/Utils/Utils.js +179 -296
  310. package/Utils/Utils.js.map +1 -1
  311. package/Utils/debounce.d.ts +29 -0
  312. package/Utils/debounce.js +106 -0
  313. package/Utils/debounce.js.map +1 -0
  314. package/Utils/index.d.ts +2 -0
  315. package/Utils/index.js +3 -0
  316. package/Utils/index.js.map +1 -1
  317. package/Utils/throttle.d.ts +16 -0
  318. package/Utils/throttle.js +25 -0
  319. package/Utils/throttle.js.map +1 -0
  320. package/Validators/CmykComponentValidator.js +13 -15
  321. package/Validators/CmykComponentValidator.js.map +1 -1
  322. package/Version.d.ts +1 -1
  323. package/Version.js +1 -1
  324. package/Version.js.map +1 -1
  325. package/package.json +3 -8
  326. 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);
@@ -25,168 +12,129 @@ import { BarcodePermissions } from "./BarcodePermissions";
25
12
  import { ArgumentException } from "../../Exception";
26
13
  import { ResizeGripsPermissions } from "./ResizeGripsPermissions";
27
14
  import { RgbColors } from "../../Colors";
28
- import * as _ from "underscore";
29
15
  import { BarcodeFormat } from "./BarcodeFormat";
30
16
  import { BarcodeData } from "./BarcodeData";
31
17
  import { BarcodeSubType } from "./BarcodeSubType";
32
- import { equals } from "../../Utils/Utils";
18
+ import { equals, isString, isEqual } from "../../Utils/Utils";
33
19
  import { Property } from "../Decorators/Property";
34
20
  import { ModelComponent } from "../ModelComponent";
35
21
  import { PropertyChanged } from "../Decorators/PropertyChanged";
36
22
  import { SimplePropertyFactory } from "../Decorators/Factory";
37
- var BarcodeItem = /** @class */ (function (_super) {
38
- __extends(BarcodeItem, _super);
39
- function BarcodeItem(format, content, options, rectangle) {
40
- var _this = _super.call(this) || this;
41
- _this._barcodeContent = "";
42
- _this._barcodeFormat = BarcodeFormat.QR_CODE;
43
- _this._barcodeOptions = new EncodingOptions();
44
- _this._barcodeSubType = BarcodeSubType.Url;
45
- _this._color = RgbColors.black;
46
- _this.type = BarcodeItem.type;
47
- _this._onOptionsPropertyChanged = function (s, p) {
48
- _this._propertyChanged.notify(_this, "barcodeOptions");
23
+ export class BarcodeItem extends ContentItem {
24
+ constructor(format, content, options, rectangle) {
25
+ super();
26
+ this._barcodeContent = "";
27
+ this._barcodeFormat = BarcodeFormat.QR_CODE;
28
+ this._barcodeOptions = new EncodingOptions();
29
+ this._barcodeSubType = BarcodeSubType.Url;
30
+ this._color = RgbColors.black;
31
+ this.type = BarcodeItem.type;
32
+ this._onOptionsPropertyChanged = (s, p) => {
33
+ this._propertyChanged.notify(this, "barcodeOptions");
49
34
  };
50
- _this._barcodePermissions = new BarcodePermissions();
51
- _this._barcodeOptions.pureBarcode = true;
52
- _this._ignorePermissionsChange = true;
53
- _this.manipulationPermissions.resizeGrips = new ResizeGripsPermissions(true, false);
54
- _this.itemPermissions.itemToolbarPermissions.showEditButton = true;
55
- _this.shapePermissions.allowChangeFillColor = true;
56
- _this.barcodePermissions.allowChangeBarcodeType = false;
57
- _this.barcodePermissions.allowChangeBarcodeColor = true;
58
- _this.barcodePermissions.allowChangeBarcodeContent = true;
59
- _this._ignorePermissionsChange = false;
60
- _this.fillColor = RgbColors.white;
35
+ this._barcodePermissions = new BarcodePermissions();
36
+ this._barcodeOptions.pureBarcode = true;
37
+ this._ignorePermissionsChange = true;
38
+ this.manipulationPermissions.resizeGrips = new ResizeGripsPermissions(true, false);
39
+ this.itemPermissions.itemToolbarPermissions.showEditButton = true;
40
+ this.shapePermissions.allowChangeFillColor = true;
41
+ this.barcodePermissions.allowChangeBarcodeType = false;
42
+ this.barcodePermissions.allowChangeBarcodeColor = true;
43
+ this.barcodePermissions.allowChangeBarcodeContent = true;
44
+ this._ignorePermissionsChange = false;
45
+ this.fillColor = RgbColors.white;
61
46
  if (format != null)
62
- _this._barcodeFormat = format;
47
+ this._barcodeFormat = format;
63
48
  if (content != null)
64
- _this._barcodeContent = content;
49
+ this._barcodeContent = content;
65
50
  if (options != null)
66
- _this._barcodeOptions = options;
67
- _this._subscribeOptionsPropertyChanged();
51
+ this._barcodeOptions = options;
52
+ this._subscribeOptionsPropertyChanged();
68
53
  if (rectangle != null)
69
- _this.sourceRectangle = rectangle;
70
- _this.applyPermissionsConstrain();
71
- return _this;
54
+ this.sourceRectangle = rectangle;
55
+ this.applyPermissionsConstrain();
72
56
  }
73
- Object.defineProperty(BarcodeItem.prototype, "barcodePermissions", {
74
- get: function () {
75
- return this._barcodePermissions;
76
- },
77
- set: function (value) {
78
- if (value == null) {
79
- throw new ArgumentException("barcodePermissions cannot be null");
80
- }
81
- if (equals(this._barcodePermissions, value))
82
- return;
83
- this._barcodePermissions.propertyChanged.remove(this._onPermissionsChanged);
84
- this._barcodePermissions = value;
85
- this._barcodePermissions.propertyChanged.add(this._onPermissionsChanged);
86
- this._onPermissionsChanged();
87
- },
88
- enumerable: true,
89
- configurable: true
90
- });
91
- Object.defineProperty(BarcodeItem.prototype, "barcodeContent", {
92
- get: function () {
93
- return this._barcodeContent;
94
- },
95
- set: function (value) {
96
- if (this._barcodeContent === value)
97
- return;
98
- this._barcodeContent = value;
99
- this._propertyChanged.notify(this, "barcodeContent");
100
- },
101
- enumerable: true,
102
- configurable: true
103
- });
104
- Object.defineProperty(BarcodeItem.prototype, "barcodeFormat", {
105
- get: function () {
106
- return this._barcodeFormat;
107
- },
108
- set: function (value) {
109
- if (this._barcodeFormat === value)
110
- return;
111
- this._barcodeFormat = value;
112
- this._propertyChanged.notify(this, "barcodeFormat");
113
- },
114
- enumerable: true,
115
- configurable: true
116
- });
117
- Object.defineProperty(BarcodeItem.prototype, "barcodeSubType", {
118
- get: function () {
119
- return this._barcodeSubType;
120
- },
121
- set: function (value) {
122
- if (this._barcodeSubType === value)
123
- return;
124
- this._barcodeSubType = value;
125
- this._propertyChanged.notify(this, "barcodeSubType");
126
- },
127
- enumerable: true,
128
- configurable: true
129
- });
130
- Object.defineProperty(BarcodeItem.prototype, "color", {
131
- get: function () {
132
- return this._color;
133
- },
134
- set: function (value) {
135
- if (this._color.equals(value))
136
- return;
137
- this._color = value;
138
- this._propertyChanged.notify(this, "color");
139
- },
140
- enumerable: true,
141
- configurable: true
142
- });
143
- Object.defineProperty(BarcodeItem.prototype, "barcodeOptions", {
144
- get: function () {
145
- return this._barcodeOptions;
146
- },
147
- set: function (value) {
148
- if (JSON.stringify(this._barcodeOptions) === JSON.stringify(value))
149
- return;
150
- this._unsubscribeOptionsPropertyChanged();
151
- this._barcodeOptions = value;
152
- this._subscribeOptionsPropertyChanged();
153
- this._propertyChanged.notify(this, "barcodeOptions");
154
- },
155
- enumerable: true,
156
- configurable: true
157
- });
158
- BarcodeItem.prototype._subscribeOptionsPropertyChanged = function () {
57
+ get barcodePermissions() {
58
+ return this._barcodePermissions;
59
+ }
60
+ set barcodePermissions(value) {
61
+ if (value == null) {
62
+ throw new ArgumentException("barcodePermissions cannot be null");
63
+ }
64
+ if (equals(this._barcodePermissions, value))
65
+ return;
66
+ this._barcodePermissions.propertyChanged.remove(this._onPermissionsChanged);
67
+ this._barcodePermissions = value;
68
+ this._barcodePermissions.propertyChanged.add(this._onPermissionsChanged);
69
+ this._onPermissionsChanged();
70
+ }
71
+ get barcodeContent() {
72
+ return this._barcodeContent;
73
+ }
74
+ set barcodeContent(value) {
75
+ if (this._barcodeContent === value)
76
+ return;
77
+ this._barcodeContent = value;
78
+ this._propertyChanged.notify(this, "barcodeContent");
79
+ }
80
+ get barcodeFormat() {
81
+ return this._barcodeFormat;
82
+ }
83
+ set barcodeFormat(value) {
84
+ if (this._barcodeFormat === value)
85
+ return;
86
+ this._barcodeFormat = value;
87
+ this._propertyChanged.notify(this, "barcodeFormat");
88
+ }
89
+ get barcodeSubType() {
90
+ return this._barcodeSubType;
91
+ }
92
+ set barcodeSubType(value) {
93
+ if (this._barcodeSubType === value)
94
+ return;
95
+ this._barcodeSubType = value;
96
+ this._propertyChanged.notify(this, "barcodeSubType");
97
+ }
98
+ get color() {
99
+ return this._color;
100
+ }
101
+ set color(value) {
102
+ if (this._color.equals(value))
103
+ return;
104
+ this._color = value;
105
+ this._propertyChanged.notify(this, "color");
106
+ }
107
+ get barcodeOptions() {
108
+ return this._barcodeOptions;
109
+ }
110
+ set barcodeOptions(value) {
111
+ if (JSON.stringify(this._barcodeOptions) === JSON.stringify(value))
112
+ return;
113
+ this._unsubscribeOptionsPropertyChanged();
114
+ this._barcodeOptions = value;
115
+ this._subscribeOptionsPropertyChanged();
116
+ this._propertyChanged.notify(this, "barcodeOptions");
117
+ }
118
+ _subscribeOptionsPropertyChanged() {
159
119
  if (this._barcodeOptions != null)
160
120
  this._barcodeOptions.addPropertyChanged(this._onOptionsPropertyChanged);
161
- };
162
- BarcodeItem.prototype._unsubscribeOptionsPropertyChanged = function () {
121
+ }
122
+ _unsubscribeOptionsPropertyChanged() {
163
123
  if (this._barcodeOptions != null)
164
124
  this._barcodeOptions.removePropertyChanged(this._onOptionsPropertyChanged);
165
- };
166
- Object.defineProperty(BarcodeItem.prototype, "isQrCode", {
167
- get: function () {
168
- return this.barcodeFormat === BarcodeFormat.QR_CODE;
169
- },
170
- enumerable: true,
171
- configurable: true
172
- });
173
- Object.defineProperty(BarcodeItem.prototype, "isSquareCode", {
174
- get: function () {
175
- return this.barcodeFormat === BarcodeFormat.QR_CODE || this.barcodeFormat === BarcodeFormat.DATA_MATRIX;
176
- },
177
- enumerable: true,
178
- configurable: true
179
- });
180
- Object.defineProperty(BarcodeItem.prototype, "isLinearBarcode", {
181
- get: function () {
182
- return (this.barcodeFormat === BarcodeFormat.EAN_13 || this.barcodeFormat === BarcodeFormat.EAN_8 || this.barcodeFormat == BarcodeFormat.CODE_128 ||
183
- this.barcodeFormat === BarcodeFormat.UPC_A || this.barcodeFormat === BarcodeFormat.UPC_E);
184
- },
185
- enumerable: true,
186
- configurable: true
187
- });
188
- BarcodeItem.prototype._copy = function (source, destination, generateNewIds, appropriateParentContainer) {
189
- _super.prototype._copy.call(this, source, destination, generateNewIds, appropriateParentContainer);
125
+ }
126
+ get isQrCode() {
127
+ return this.barcodeFormat === BarcodeFormat.QR_CODE;
128
+ }
129
+ get isSquareCode() {
130
+ return this.barcodeFormat === BarcodeFormat.QR_CODE || this.barcodeFormat === BarcodeFormat.DATA_MATRIX;
131
+ }
132
+ get isLinearBarcode() {
133
+ return (this.barcodeFormat === BarcodeFormat.EAN_13 || this.barcodeFormat === BarcodeFormat.EAN_8 || this.barcodeFormat == BarcodeFormat.CODE_128 ||
134
+ this.barcodeFormat === BarcodeFormat.UPC_A || this.barcodeFormat === BarcodeFormat.UPC_E);
135
+ }
136
+ _copy(source, destination, generateNewIds, appropriateParentContainer) {
137
+ super._copy(source, destination, generateNewIds, appropriateParentContainer);
190
138
  destination.barcodePermissions = source.barcodePermissions.clone();
191
139
  destination.barcodeContent = source.barcodeContent;
192
140
  destination.barcodeFormat = source.barcodeFormat;
@@ -208,27 +156,25 @@ var BarcodeItem = /** @class */ (function (_super) {
208
156
  destination.barcodeOptions.qrVersion = source.barcodeOptions.qrVersion;
209
157
  destination.barcodeOptions.xDimension = source.barcodeOptions.xDimension;
210
158
  destination.barcodeOptions.databarExpandedSegments = source.barcodeOptions.databarExpandedSegments;
211
- };
212
- BarcodeItem.prototype.equals = function (other) {
213
- return _super.prototype.equals.call(this, other) &&
159
+ }
160
+ equals(other) {
161
+ return super.equals(other) &&
214
162
  equals(this._barcodePermissions, other._barcodePermissions) &&
215
163
  equals(this._barcodeContent, other._barcodeContent) &&
216
164
  equals(this._barcodeFormat, other._barcodeFormat) &&
217
165
  equals(this._barcodeSubType, other._barcodeSubType) &&
218
166
  equals(this._color, other._color) &&
219
167
  equals(this._barcodeOptions, other._barcodeOptions);
220
- };
221
- BarcodeItem.prototype.clone = function (generateNewIds, appropriateParentContainer) {
222
- if (generateNewIds === void 0) { generateNewIds = false; }
223
- if (appropriateParentContainer === void 0) { appropriateParentContainer = false; }
224
- var item = new BarcodeItem();
168
+ }
169
+ clone(generateNewIds = false, appropriateParentContainer = false) {
170
+ const item = new BarcodeItem();
225
171
  this._copy(this, item, generateNewIds, appropriateParentContainer);
226
172
  return item;
227
- };
228
- BarcodeItem.prototype.getSimplifiedObject = function (omitProperties) {
229
- if (!_.isArray(omitProperties) && !_.isString(omitProperties))
173
+ }
174
+ getSimplifiedObject(omitProperties) {
175
+ if (!Array.isArray(omitProperties) && !isString(omitProperties))
230
176
  omitProperties = [];
231
- var simplified = _super.prototype.getSimplifiedObject.call(this, [
177
+ const simplified = super.getSimplifiedObject([
232
178
  "barcodePermissions",
233
179
  "isQrCode",
234
180
  "isLinearBarcode",
@@ -237,8 +183,8 @@ var BarcodeItem = /** @class */ (function (_super) {
237
183
  ].concat(omitProperties));
238
184
  simplified["barcodePermissions"] = this.barcodePermissions.getSimplifiedObject();
239
185
  return simplified;
240
- };
241
- BarcodeItem.prototype.applyPermissionsConstrain = function () {
186
+ }
187
+ applyPermissionsConstrain() {
242
188
  if (this.itemPermissions != null && this.itemPermissions.itemToolbarPermissions != null) {
243
189
  if (this.barcodePermissions != null && !this.barcodePermissions.allowChangeBarcodeContent)
244
190
  this.itemPermissions.itemToolbarPermissions.showEditButtonConstraint = this.barcodePermissions.allowChangeBarcodeContent;
@@ -246,43 +192,39 @@ var BarcodeItem = /** @class */ (function (_super) {
246
192
  this.itemPermissions.itemToolbarPermissions.showEditButtonConstraint = null;
247
193
  this.itemPermissions.itemToolbarPermissions.showSelectButton = false;
248
194
  }
249
- };
250
- Object.defineProperty(BarcodeItem.prototype, "barcodeData", {
251
- get: function () {
252
- var barcodeMetaData = new BarcodeData();
253
- barcodeMetaData.barcodeSubType = this.barcodeSubType;
254
- barcodeMetaData.barcodeFormat = this.barcodeFormat;
255
- switch (barcodeMetaData.barcodeFormat) {
256
- default:
257
- barcodeMetaData.barcodeValue = this.barcodeContent;
258
- break;
259
- case BarcodeFormat.QR_CODE:
260
- switch (this.barcodeSubType) {
261
- case BarcodeSubType.Phone:
262
- barcodeMetaData.phone = this.barcodeContent;
263
- break;
264
- case BarcodeSubType.Url:
265
- barcodeMetaData.url = this.barcodeContent;
266
- break;
267
- case BarcodeSubType.Data:
268
- barcodeMetaData.data = this.barcodeContent;
269
- break;
270
- case BarcodeSubType.VCard:
271
- return BarcodeData.fromVCardString(this.barcodeContent);
272
- }
273
- break;
274
- }
275
- return barcodeMetaData;
276
- },
277
- enumerable: true,
278
- configurable: true
279
- });
280
- BarcodeItem.prototype.applyBarcodeData = function (barcodeData) {
195
+ }
196
+ get barcodeData() {
197
+ const barcodeMetaData = new BarcodeData();
198
+ barcodeMetaData.barcodeSubType = this.barcodeSubType;
199
+ barcodeMetaData.barcodeFormat = this.barcodeFormat;
200
+ switch (barcodeMetaData.barcodeFormat) {
201
+ default:
202
+ barcodeMetaData.barcodeValue = this.barcodeContent;
203
+ break;
204
+ case BarcodeFormat.QR_CODE:
205
+ switch (this.barcodeSubType) {
206
+ case BarcodeSubType.Phone:
207
+ barcodeMetaData.phone = this.barcodeContent;
208
+ break;
209
+ case BarcodeSubType.Url:
210
+ barcodeMetaData.url = this.barcodeContent;
211
+ break;
212
+ case BarcodeSubType.Data:
213
+ barcodeMetaData.data = this.barcodeContent;
214
+ break;
215
+ case BarcodeSubType.VCard:
216
+ return BarcodeData.fromVCardString(this.barcodeContent);
217
+ }
218
+ break;
219
+ }
220
+ return barcodeMetaData;
221
+ }
222
+ applyBarcodeData(barcodeData) {
281
223
  this.barcodeFormat = barcodeData.barcodeFormat;
282
224
  this.barcodeSubType = barcodeData.barcodeSubType != null ?
283
225
  barcodeData.barcodeSubType :
284
226
  (this.barcodeFormat === BarcodeFormat.QR_CODE ? BarcodeSubType.Phone : BarcodeSubType.None);
285
- var barcodeContent = "";
227
+ let barcodeContent = "";
286
228
  switch (this.barcodeFormat) {
287
229
  case BarcodeFormat.QR_CODE:
288
230
  switch (this.barcodeSubType) {
@@ -306,34 +248,30 @@ var BarcodeItem = /** @class */ (function (_super) {
306
248
  break;
307
249
  }
308
250
  this.barcodeContent = barcodeContent;
309
- };
310
- BarcodeItem.type = "BarcodeItem";
311
- __decorate([
312
- Property({ factory: new SimplePropertyFactory("") }),
313
- __metadata("design:type", String),
314
- __metadata("design:paramtypes", [String])
315
- ], BarcodeItem.prototype, "barcodeContent", null);
316
- __decorate([
317
- Property({ enumObject: BarcodeFormat }),
318
- __metadata("design:type", String),
319
- __metadata("design:paramtypes", [String])
320
- ], BarcodeItem.prototype, "barcodeFormat", null);
321
- __decorate([
322
- Property({ enumObject: BarcodeSubType }),
323
- __metadata("design:type", String),
324
- __metadata("design:paramtypes", [String])
325
- ], BarcodeItem.prototype, "barcodeSubType", null);
326
- return BarcodeItem;
327
- }(ContentItem));
328
- export { BarcodeItem };
329
- var EncodingOptions = /** @class */ (function (_super) {
330
- __extends(EncodingOptions, _super);
331
- function EncodingOptions() {
332
- var _this = _super !== null && _super.apply(this, arguments) || this;
333
- _this.type = EncodingOptions.type;
334
- return _this;
335
251
  }
336
- EncodingOptions.prototype.equals = function (other) {
252
+ }
253
+ BarcodeItem.type = "BarcodeItem";
254
+ __decorate([
255
+ Property({ factory: new SimplePropertyFactory("") }),
256
+ __metadata("design:type", String),
257
+ __metadata("design:paramtypes", [String])
258
+ ], BarcodeItem.prototype, "barcodeContent", null);
259
+ __decorate([
260
+ Property({ enumObject: BarcodeFormat }),
261
+ __metadata("design:type", String),
262
+ __metadata("design:paramtypes", [String])
263
+ ], BarcodeItem.prototype, "barcodeFormat", null);
264
+ __decorate([
265
+ Property({ enumObject: BarcodeSubType }),
266
+ __metadata("design:type", String),
267
+ __metadata("design:paramtypes", [String])
268
+ ], BarcodeItem.prototype, "barcodeSubType", null);
269
+ export class EncodingOptions extends ModelComponent {
270
+ constructor() {
271
+ super(...arguments);
272
+ this.type = EncodingOptions.type;
273
+ }
274
+ equals(other) {
337
275
  return other != null &&
338
276
  equals(this.width, other.width) &&
339
277
  equals(this.height, other.height) &&
@@ -343,76 +281,89 @@ var EncodingOptions = /** @class */ (function (_super) {
343
281
  equals(this.characterSet, other.characterSet) &&
344
282
  equals(this.pdf417Compact, other.pdf417Compact) &&
345
283
  equals(this.pdf417Compaction, other.pdf417Compaction) &&
346
- _.isEqual(this.pdf417Dimensions, other.pdf417Dimensions) &&
284
+ isEqual(this.pdf417Dimensions, other.pdf417Dimensions) &&
347
285
  equals(this.disableEci, other.disableEci) &&
348
286
  equals(this.code128ForceCodesetB, other.code128ForceCodesetB) &&
349
287
  equals(this.aztecLayers, other.aztecLayers) &&
350
288
  equals(this.qrVersion, other.qrVersion) &&
351
289
  equals(this.xDimension, other.xDimension &&
352
290
  equals(this.databarExpandedSegments, other.databarExpandedSegments));
353
- };
354
- EncodingOptions.type = "EncodingOptions";
355
- __decorate([
356
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
357
- __metadata("design:type", Number)
358
- ], EncodingOptions.prototype, "width", void 0);
359
- __decorate([
360
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
361
- __metadata("design:type", Number)
362
- ], EncodingOptions.prototype, "height", void 0);
363
- __decorate([
364
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
365
- __metadata("design:type", Number)
366
- ], EncodingOptions.prototype, "margin", void 0);
367
- __decorate([
368
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(true) }),
369
- __metadata("design:type", Boolean)
370
- ], EncodingOptions.prototype, "pureBarcode", void 0);
371
- __decorate([
372
- PropertyChanged(), Property({ factory: new SimplePropertyFactory("") }),
373
- __metadata("design:type", String)
374
- ], EncodingOptions.prototype, "errorCorrection", void 0);
375
- __decorate([
376
- PropertyChanged(), Property({ factory: new SimplePropertyFactory("") }),
377
- __metadata("design:type", String)
378
- ], EncodingOptions.prototype, "characterSet", void 0);
379
- __decorate([
380
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(false) }),
381
- __metadata("design:type", Boolean)
382
- ], EncodingOptions.prototype, "pdf417Compact", void 0);
383
- __decorate([
384
- PropertyChanged(), Property({ factory: new SimplePropertyFactory("") }),
385
- __metadata("design:type", String)
386
- ], EncodingOptions.prototype, "pdf417Compaction", void 0);
387
- __decorate([
388
- PropertyChanged(), Property({ ignore: true }),
389
- __metadata("design:type", Object)
390
- ], EncodingOptions.prototype, "pdf417Dimensions", void 0);
391
- __decorate([
392
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(false) }),
393
- __metadata("design:type", Boolean)
394
- ], EncodingOptions.prototype, "disableEci", void 0);
395
- __decorate([
396
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(false) }),
397
- __metadata("design:type", Boolean)
398
- ], EncodingOptions.prototype, "code128ForceCodesetB", void 0);
399
- __decorate([
400
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
401
- __metadata("design:type", Number)
402
- ], EncodingOptions.prototype, "aztecLayers", void 0);
403
- __decorate([
404
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
405
- __metadata("design:type", Number)
406
- ], EncodingOptions.prototype, "qrVersion", void 0);
407
- __decorate([
408
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
409
- __metadata("design:type", Number)
410
- ], EncodingOptions.prototype, "xDimension", void 0);
411
- __decorate([
412
- PropertyChanged(), Property({ factory: new SimplePropertyFactory(0) }),
413
- __metadata("design:type", Number)
414
- ], EncodingOptions.prototype, "databarExpandedSegments", void 0);
415
- return EncodingOptions;
416
- }(ModelComponent));
417
- export { EncodingOptions };
291
+ }
292
+ }
293
+ EncodingOptions.type = "EncodingOptions";
294
+ __decorate([
295
+ PropertyChanged(),
296
+ Property({ factory: new SimplePropertyFactory(0) }),
297
+ __metadata("design:type", Number)
298
+ ], EncodingOptions.prototype, "width", void 0);
299
+ __decorate([
300
+ PropertyChanged(),
301
+ Property({ factory: new SimplePropertyFactory(0) }),
302
+ __metadata("design:type", Number)
303
+ ], EncodingOptions.prototype, "height", void 0);
304
+ __decorate([
305
+ PropertyChanged(),
306
+ Property({ factory: new SimplePropertyFactory(0) }),
307
+ __metadata("design:type", Number)
308
+ ], EncodingOptions.prototype, "margin", void 0);
309
+ __decorate([
310
+ PropertyChanged(),
311
+ Property({ factory: new SimplePropertyFactory(true) }),
312
+ __metadata("design:type", Boolean)
313
+ ], EncodingOptions.prototype, "pureBarcode", void 0);
314
+ __decorate([
315
+ PropertyChanged(),
316
+ Property({ factory: new SimplePropertyFactory("") }),
317
+ __metadata("design:type", String)
318
+ ], EncodingOptions.prototype, "errorCorrection", void 0);
319
+ __decorate([
320
+ PropertyChanged(),
321
+ Property({ factory: new SimplePropertyFactory("") }),
322
+ __metadata("design:type", String)
323
+ ], EncodingOptions.prototype, "characterSet", void 0);
324
+ __decorate([
325
+ PropertyChanged(),
326
+ Property({ factory: new SimplePropertyFactory(false) }),
327
+ __metadata("design:type", Boolean)
328
+ ], EncodingOptions.prototype, "pdf417Compact", void 0);
329
+ __decorate([
330
+ PropertyChanged(),
331
+ Property({ factory: new SimplePropertyFactory("") }),
332
+ __metadata("design:type", String)
333
+ ], EncodingOptions.prototype, "pdf417Compaction", void 0);
334
+ __decorate([
335
+ PropertyChanged(),
336
+ Property({ ignore: true }),
337
+ __metadata("design:type", Object)
338
+ ], EncodingOptions.prototype, "pdf417Dimensions", void 0);
339
+ __decorate([
340
+ PropertyChanged(),
341
+ Property({ factory: new SimplePropertyFactory(false) }),
342
+ __metadata("design:type", Boolean)
343
+ ], EncodingOptions.prototype, "disableEci", void 0);
344
+ __decorate([
345
+ PropertyChanged(),
346
+ Property({ factory: new SimplePropertyFactory(false) }),
347
+ __metadata("design:type", Boolean)
348
+ ], EncodingOptions.prototype, "code128ForceCodesetB", void 0);
349
+ __decorate([
350
+ PropertyChanged(),
351
+ Property({ factory: new SimplePropertyFactory(0) }),
352
+ __metadata("design:type", Number)
353
+ ], EncodingOptions.prototype, "aztecLayers", void 0);
354
+ __decorate([
355
+ PropertyChanged(),
356
+ Property({ factory: new SimplePropertyFactory(0) }),
357
+ __metadata("design:type", Number)
358
+ ], EncodingOptions.prototype, "qrVersion", void 0);
359
+ __decorate([
360
+ PropertyChanged(),
361
+ Property({ factory: new SimplePropertyFactory(0) }),
362
+ __metadata("design:type", Number)
363
+ ], EncodingOptions.prototype, "xDimension", void 0);
364
+ __decorate([
365
+ PropertyChanged(),
366
+ Property({ factory: new SimplePropertyFactory(0) }),
367
+ __metadata("design:type", Number)
368
+ ], EncodingOptions.prototype, "databarExpandedSegments", void 0);
418
369
  //# sourceMappingURL=BarcodeItem.js.map