@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.
- package/Collection.js +271 -514
- package/Collection.js.map +1 -1
- package/Colors/CmykColor.js +35 -69
- package/Colors/CmykColor.js.map +1 -1
- package/Colors/Color.js +11 -19
- package/Colors/Color.js.map +1 -1
- package/Colors/GrayscaleColor.js +23 -45
- package/Colors/GrayscaleColor.js.map +1 -1
- package/Colors/HsbColor.js +67 -85
- package/Colors/HsbColor.js.map +1 -1
- package/Colors/Ink.js +20 -35
- package/Colors/Ink.js.map +1 -1
- package/Colors/LabColor.js +29 -59
- package/Colors/LabColor.js.map +1 -1
- package/Colors/Palette.js +2 -21
- package/Colors/Palette.js.map +1 -1
- package/Colors/ProcessColor.js +24 -54
- package/Colors/ProcessColor.js.map +1 -1
- package/Colors/RgbColor.js +31 -61
- package/Colors/RgbColor.js.map +1 -1
- package/Colors/RgbColors.js +22 -54
- package/Colors/RgbColors.js.map +1 -1
- package/Colors/SpotColor.js +34 -68
- package/Colors/SpotColor.js.map +1 -1
- package/Colors/Swatch.js +16 -40
- package/Colors/Swatch.js.map +1 -1
- package/Colors/ValidationUtils.js +3 -5
- package/Colors/ValidationUtils.js.map +1 -1
- package/ColorsOld/CmykColor.js +54 -80
- package/ColorsOld/CmykColor.js.map +1 -1
- package/ColorsOld/Color.d.ts +1 -1
- package/ColorsOld/Color.js +25 -34
- package/ColorsOld/Color.js.map +1 -1
- package/ColorsOld/ColorFactory.js +30 -40
- package/ColorsOld/ColorFactory.js.map +1 -1
- package/ColorsOld/GrayscaleColor.js +29 -54
- package/ColorsOld/GrayscaleColor.js.map +1 -1
- package/ColorsOld/HsbColor.js +29 -35
- package/ColorsOld/HsbColor.js.map +1 -1
- package/ColorsOld/LabColor.js +35 -56
- package/ColorsOld/LabColor.js.map +1 -1
- package/ColorsOld/RgbColor.js +73 -114
- package/ColorsOld/RgbColor.js.map +1 -1
- package/ColorsOld/SpotColor.js +32 -53
- package/ColorsOld/SpotColor.js.map +1 -1
- package/ColorsOld/Utils.js +9 -13
- package/ColorsOld/Utils.js.map +1 -1
- package/Configuration/IRenderingConfig.js +1 -0
- package/Configuration/WatermarkConfig.js +17 -33
- package/Configuration/WatermarkConfig.js.map +1 -1
- package/Configuration/index.js +1 -0
- package/Configuration/index.js.map +1 -1
- package/Configuration.js +7 -11
- package/Configuration.js.map +1 -1
- package/EquatableKeyDictionary.js +43 -127
- package/EquatableKeyDictionary.js.map +1 -1
- package/EventObject.js +59 -136
- package/EventObject.js.map +1 -1
- package/Exception.d.ts +1 -1
- package/Exception.js +47 -88
- package/Exception.js.map +1 -1
- package/INotifyPropertyChanged.d.ts +1 -1
- package/INotifyPropertyChanged.js +1 -0
- package/Math/Array.js +3 -3
- package/Math/Array.js.map +1 -1
- package/Math/Common.js +13 -15
- package/Math/Common.js.map +1 -1
- package/Math/ILtrb.js +1 -0
- package/Math/IPoint.js +1 -0
- package/Math/ISize.js +1 -0
- package/Math/Margin.js +62 -99
- package/Math/Margin.js.map +1 -1
- package/Math/Matrix.js +63 -94
- package/Math/Matrix.js.map +1 -1
- package/Math/Path.d.ts +2 -0
- package/Math/Path.js +231 -142
- package/Math/Path.js.map +1 -1
- package/Math/PointF.js +31 -34
- package/Math/PointF.js.map +1 -1
- package/Math/RectangleF.js +119 -159
- package/Math/RectangleF.js.map +1 -1
- package/Math/RotatedRectangleF.js +132 -147
- package/Math/RotatedRectangleF.js.map +1 -1
- package/Math/SizeF.js +10 -12
- package/Math/SizeF.js.map +1 -1
- package/Math/Transform.js +50 -80
- package/Math/Transform.js.map +1 -1
- package/Math/index.js +3 -0
- package/Math/index.js.map +1 -1
- package/Product/Constraints/ContainerConstraints.d.ts +13 -0
- package/Product/Constraints/ContainerConstraints.js +22 -0
- package/Product/Constraints/ContainerConstraints.js.map +1 -0
- package/Product/Constraints/MaxArtworkSizeConstraints.d.ts +13 -0
- package/Product/Constraints/MaxArtworkSizeConstraints.js +25 -0
- package/Product/Constraints/MaxArtworkSizeConstraints.js.map +1 -0
- package/Product/Constraints/PrintingTechniqueConstraints.js +10 -13
- package/Product/Constraints/PrintingTechniqueConstraints.js.map +1 -1
- package/Product/Container.d.ts +48 -10
- package/Product/Container.js +257 -373
- package/Product/Container.js.map +1 -1
- package/Product/ContainerVisualization.js +31 -56
- package/Product/ContainerVisualization.js.map +1 -1
- package/Product/Convert/CornerRadiusConverter.js +32 -34
- package/Product/Convert/CornerRadiusConverter.js.map +1 -1
- package/Product/CropMark.js +28 -40
- package/Product/CropMark.js.map +1 -1
- package/Product/Decorators/Factory/AbstractFactory.js +13 -23
- package/Product/Decorators/Factory/AbstractFactory.js.map +1 -1
- package/Product/Decorators/Factory/CollectionFactory.js +10 -45
- package/Product/Decorators/Factory/CollectionFactory.js.map +1 -1
- package/Product/Decorators/Factory/ColorFactory.js +13 -35
- package/Product/Decorators/Factory/ColorFactory.js.map +1 -1
- package/Product/Decorators/Factory/ObjectFactory.js +10 -45
- package/Product/Decorators/Factory/ObjectFactory.js.map +1 -1
- package/Product/Decorators/Factory/SimpleFactory.js +11 -21
- package/Product/Decorators/Factory/SimpleFactory.js.map +1 -1
- package/Product/Decorators/Interfaces/IInputPropertyMetadata.d.ts +1 -1
- package/Product/Decorators/Interfaces/IInputPropertyMetadata.js +1 -0
- package/Product/Decorators/Interfaces/IObjectMetadata.js +1 -0
- package/Product/Decorators/Interfaces/IPropertyMetadata.js +1 -0
- package/Product/Decorators/ItemsMetadata.js +11 -13
- package/Product/Decorators/ItemsMetadata.js.map +1 -1
- package/Product/Decorators/Property.js +4 -4
- package/Product/Decorators/Property.js.map +1 -1
- package/Product/Decorators/PropertyChanged.js +1 -1
- package/Product/Decorators/PropertyChanged.js.map +1 -1
- package/Product/Decorators/index.js +1 -0
- package/Product/Decorators/index.js.map +1 -1
- package/Product/Effects/ColorDictionaryEntry.js +3 -5
- package/Product/Effects/ColorDictionaryEntry.js.map +1 -1
- package/Product/Effects/NDEffectParameters.js +2 -6
- package/Product/Effects/NDEffectParameters.js.map +1 -1
- package/Product/Effects/NDEffects.js +20 -27
- package/Product/Effects/NDEffects.js.map +1 -1
- package/Product/Effects/RecolorEffectParameters.js +44 -89
- package/Product/Effects/RecolorEffectParameters.js.map +1 -1
- package/Product/IGetAllItemsOptions.js +1 -0
- package/Product/InteractiveZone.js +34 -66
- package/Product/InteractiveZone.js.map +1 -1
- package/Product/Interfaces/IColorWithTitle.js +1 -0
- package/Product/Interfaces/IDataSet.js +1 -0
- package/Product/Interfaces/IFontSettings.js +1 -0
- package/Product/Interfaces/IItemData.js +1 -0
- package/Product/Interfaces/IPdfMetadata.js +1 -0
- package/Product/Interfaces/IProductThemeConfig.js +1 -0
- package/Product/Interfaces/IShadowSettings.js +1 -0
- package/Product/Interfaces/IStrokeSettings.js +1 -0
- package/Product/Interfaces/index.js +3 -0
- package/Product/Interfaces/index.js.map +1 -1
- package/Product/ItemMask.js +20 -26
- package/Product/ItemMask.js.map +1 -1
- package/Product/Items/ArchedTextItem.js +65 -100
- package/Product/Items/ArchedTextItem.js.map +1 -1
- package/Product/Items/AutoScaledTextItem.js +35 -62
- package/Product/Items/AutoScaledTextItem.js.map +1 -1
- package/Product/Items/BarcodeData.d.ts +2 -1
- package/Product/Items/BarcodeData.js +77 -90
- package/Product/Items/BarcodeData.js.map +1 -1
- package/Product/Items/BarcodeItem.js +249 -298
- package/Product/Items/BarcodeItem.js.map +1 -1
- package/Product/Items/BarcodePermissions.js +38 -52
- package/Product/Items/BarcodePermissions.js.map +1 -1
- package/Product/Items/BaseItem.js +30 -53
- package/Product/Items/BaseItem.js.map +1 -1
- package/Product/Items/BaseTextItem.d.ts +2 -2
- package/Product/Items/BaseTextItem.js +447 -621
- package/Product/Items/BaseTextItem.js.map +1 -1
- package/Product/Items/BoundedTextItem.js +184 -255
- package/Product/Items/BoundedTextItem.js.map +1 -1
- package/Product/Items/ClipartItem.js +82 -175
- package/Product/Items/ClipartItem.js.map +1 -1
- package/Product/Items/ContentItem.js +52 -80
- package/Product/Items/ContentItem.js.map +1 -1
- package/Product/Items/ContentPermissions.js +36 -47
- package/Product/Items/ContentPermissions.js.map +1 -1
- package/Product/Items/CurvedTextItem.js +106 -158
- package/Product/Items/CurvedTextItem.js.map +1 -1
- package/Product/Items/DashedLineItem.js +45 -76
- package/Product/Items/DashedLineItem.js.map +1 -1
- package/Product/Items/EllipseItem.js +11 -31
- package/Product/Items/EllipseItem.js.map +1 -1
- package/Product/Items/FrontEndPermissions.js +20 -26
- package/Product/Items/FrontEndPermissions.js.map +1 -1
- package/Product/Items/GridItem.js +107 -162
- package/Product/Items/GridItem.js.map +1 -1
- package/Product/Items/GroupItem.js +93 -171
- package/Product/Items/GroupItem.js.map +1 -1
- package/Product/Items/GroupItemPermissions.js +42 -56
- package/Product/Items/GroupItemPermissions.js.map +1 -1
- package/Product/Items/ImageItem.js +304 -428
- package/Product/Items/ImageItem.js.map +1 -1
- package/Product/Items/ImageMetaData.js +14 -15
- package/Product/Items/ImageMetaData.js.map +1 -1
- package/Product/Items/ImagePermissions.js +42 -56
- package/Product/Items/ImagePermissions.js.map +1 -1
- package/Product/Items/ImageViolationSettings.js +18 -35
- package/Product/Items/ImageViolationSettings.js.map +1 -1
- package/Product/Items/InStringPlaceholder.js +50 -100
- package/Product/Items/InStringPlaceholder.js.map +1 -1
- package/Product/Items/Item.d.ts +1 -1
- package/Product/Items/Item.js +278 -370
- package/Product/Items/Item.js.map +1 -1
- package/Product/Items/ItemPermissions.js +54 -73
- package/Product/Items/ItemPermissions.js.map +1 -1
- package/Product/Items/ItemToolbarPermissions.js +61 -80
- package/Product/Items/ItemToolbarPermissions.js.map +1 -1
- package/Product/Items/LayoutItem.js +241 -326
- package/Product/Items/LayoutItem.js.map +1 -1
- package/Product/Items/LineItem.js +109 -156
- package/Product/Items/LineItem.js.map +1 -1
- package/Product/Items/LinePermissions.js +29 -39
- package/Product/Items/LinePermissions.js.map +1 -1
- package/Product/Items/ManipulationPermissions.d.ts +1 -1
- package/Product/Items/ManipulationPermissions.js +94 -135
- package/Product/Items/ManipulationPermissions.js.map +1 -1
- package/Product/Items/OpenTypeFeature.d.ts +1 -1
- package/Product/Items/OpenTypeFeature.js +3 -5
- package/Product/Items/OpenTypeFeature.js.map +1 -1
- package/Product/Items/OverlayEffect.js +56 -70
- package/Product/Items/OverlayEffect.js.map +1 -1
- package/Product/Items/ParagraphSettings.js +9 -11
- package/Product/Items/ParagraphSettings.js.map +1 -1
- package/Product/Items/PathBoundedTextItem.js +113 -164
- package/Product/Items/PathBoundedTextItem.js.map +1 -1
- package/Product/Items/PathBoundedTextPermissions.js +20 -26
- package/Product/Items/PathBoundedTextPermissions.js.map +1 -1
- package/Product/Items/PlaceholderItem.d.ts +1 -1
- package/Product/Items/PlaceholderItem.js +307 -417
- package/Product/Items/PlaceholderItem.js.map +1 -1
- package/Product/Items/PlaceholderPermissions.js +38 -47
- package/Product/Items/PlaceholderPermissions.js.map +1 -1
- package/Product/Items/PlainTextItem.js +45 -74
- package/Product/Items/PlainTextItem.js.map +1 -1
- package/Product/Items/PolylineItem.js +47 -78
- package/Product/Items/PolylineItem.js.map +1 -1
- package/Product/Items/RectangleItem.js +10 -30
- package/Product/Items/RectangleItem.js.map +1 -1
- package/Product/Items/ResizeGripsPermissions.d.ts +3 -3
- package/Product/Items/ResizeGripsPermissions.js +74 -94
- package/Product/Items/ResizeGripsPermissions.js.map +1 -1
- package/Product/Items/ShadowSettings.js +51 -69
- package/Product/Items/ShadowSettings.js.map +1 -1
- package/Product/Items/ShapeItem.js +182 -251
- package/Product/Items/ShapeItem.js.map +1 -1
- package/Product/Items/ShapePermissions.js +38 -52
- package/Product/Items/ShapePermissions.js.map +1 -1
- package/Product/Items/ShapeViolationSettings.js +18 -36
- package/Product/Items/ShapeViolationSettings.js.map +1 -1
- package/Product/Items/Size.js +7 -11
- package/Product/Items/Size.js.map +1 -1
- package/Product/Items/SmartItem.js +21 -41
- package/Product/Items/SmartItem.js.map +1 -1
- package/Product/Items/StrokeSettings.js +48 -62
- package/Product/Items/StrokeSettings.js.map +1 -1
- package/Product/Items/TextEnums.d.ts +2 -1
- package/Product/Items/TextEnums.js +1 -0
- package/Product/Items/TextEnums.js.map +1 -1
- package/Product/Items/TextPermissions.js +56 -58
- package/Product/Items/TextPermissions.js.map +1 -1
- package/Product/Items/TextViolationSettings.js +23 -40
- package/Product/Items/TextViolationSettings.js.map +1 -1
- package/Product/Items/ThemeBinding.js +10 -12
- package/Product/Items/ThemeBinding.js.map +1 -1
- package/Product/Items/ViolationSettings.js +26 -44
- package/Product/Items/ViolationSettings.js.map +1 -1
- package/Product/Items/VisualizationPermissions.js +29 -39
- package/Product/Items/VisualizationPermissions.js.map +1 -1
- package/Product/ItemsData/ItemData.js +8 -24
- package/Product/ItemsData/ItemData.js.map +1 -1
- package/Product/ModelComponent.js +41 -63
- package/Product/ModelComponent.js.map +1 -1
- package/Product/PrintArea.d.ts +11 -5
- package/Product/PrintArea.js +164 -155
- package/Product/PrintArea.js.map +1 -1
- package/Product/Product.js +67 -105
- package/Product/Product.js.map +1 -1
- package/Product/SafetyLine.d.ts +1 -1
- package/Product/SafetyLine.js +90 -124
- package/Product/SafetyLine.js.map +1 -1
- package/Product/Surface.d.ts +2 -1
- package/Product/Surface.js +193 -287
- package/Product/Surface.js.map +1 -1
- package/Product/SurfaceMockup.js +40 -73
- package/Product/SurfaceMockup.js.map +1 -1
- package/Product/Uuid.js +19 -25
- package/Product/Uuid.js.map +1 -1
- package/Product/Watermark.js +5 -9
- package/Product/Watermark.js.map +1 -1
- package/Product/index.d.ts +2 -0
- package/Product/index.js +3 -0
- package/Product/index.js.map +1 -1
- package/Serialization/IProductSerializer.js +1 -0
- package/Utils/Environment.d.ts +1 -1
- package/Utils/Environment.js +2 -2
- package/Utils/Environment.js.map +1 -1
- package/Utils/Exceptions.js +5 -5
- package/Utils/Exceptions.js.map +1 -1
- package/Utils/Items.js +19 -19
- package/Utils/Items.js.map +1 -1
- package/Utils/Types/Action.d.ts +5 -1
- package/Utils/Types/Action.js +1 -0
- package/Utils/Types/AnyFunction.d.ts +1 -1
- package/Utils/Types/AnyFunction.js +1 -0
- package/Utils/Types/Func.d.ts +1 -1
- package/Utils/Types/Func.js +1 -0
- package/Utils/Types/index.js +3 -0
- package/Utils/Types/index.js.map +1 -1
- package/Utils/Utils.d.ts +9 -4
- package/Utils/Utils.js +179 -296
- package/Utils/Utils.js.map +1 -1
- package/Utils/debounce.d.ts +29 -0
- package/Utils/debounce.js +106 -0
- package/Utils/debounce.js.map +1 -0
- package/Utils/index.d.ts +2 -0
- package/Utils/index.js +3 -0
- package/Utils/index.js.map +1 -1
- package/Utils/throttle.d.ts +16 -0
- package/Utils/throttle.js +25 -0
- package/Utils/throttle.js.map +1 -0
- package/Validators/CmykComponentValidator.js +13 -15
- package/Validators/CmykComponentValidator.js.map +1 -1
- package/Version.d.ts +1 -1
- package/Version.js +1 -1
- package/Version.js.map +1 -1
- package/package.json +3 -8
- 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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
47
|
+
this._barcodeFormat = format;
|
|
63
48
|
if (content != null)
|
|
64
|
-
|
|
49
|
+
this._barcodeContent = content;
|
|
65
50
|
if (options != null)
|
|
66
|
-
|
|
67
|
-
|
|
51
|
+
this._barcodeOptions = options;
|
|
52
|
+
this._subscribeOptionsPropertyChanged();
|
|
68
53
|
if (rectangle != null)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
return _this;
|
|
54
|
+
this.sourceRectangle = rectangle;
|
|
55
|
+
this.applyPermissionsConstrain();
|
|
72
56
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
return
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
121
|
+
}
|
|
122
|
+
_unsubscribeOptionsPropertyChanged() {
|
|
163
123
|
if (this._barcodeOptions != null)
|
|
164
124
|
this._barcodeOptions.removePropertyChanged(this._onOptionsPropertyChanged);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
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
|
-
|
|
213
|
-
return
|
|
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
|
-
|
|
222
|
-
|
|
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
|
-
|
|
229
|
-
if (!
|
|
173
|
+
}
|
|
174
|
+
getSimplifiedObject(omitProperties) {
|
|
175
|
+
if (!Array.isArray(omitProperties) && !isString(omitProperties))
|
|
230
176
|
omitProperties = [];
|
|
231
|
-
|
|
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
|
-
|
|
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
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
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
|