1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 11161× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 12216× 12216× 12190× 217× 11973× 12216× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× 10748× 1× 56× 1× 1× 1× 1× 1× 1× 772× 1× 1× 1× 1× 1× 1× 1× 1× | /* istanbul ignore next */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); /* istanbul ignore next */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; define(["require", "exports", "@syncfusion/ej2-base", "../core/appearance", "../primitives/point", "../enum/enum", "../utility/base-util", "./tooltip"], function (require, exports, ej2_base_1, appearance_1, point_1, enum_1, base_util_1, tooltip_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Hyperlink = (function (_super) { __extends(Hyperlink, _super); function Hyperlink() { return _super !== null && _super.apply(this, arguments) || this; } __decorate([ ej2_base_1.Property('blue') ], Hyperlink.prototype, "color", void 0); __decorate([ ej2_base_1.Property('') ], Hyperlink.prototype, "content", void 0); __decorate([ ej2_base_1.Property('') ], Hyperlink.prototype, "link", void 0); __decorate([ ej2_base_1.Property('None') ], Hyperlink.prototype, "textDecoration", void 0); __decorate([ ej2_base_1.Property('NewTab') ], Hyperlink.prototype, "hyperlinkOpenState", void 0); return Hyperlink; }(ej2_base_1.ChildProperty)); exports.Hyperlink = Hyperlink; var Annotation = (function (_super) { __extends(Annotation, _super); function Annotation(parent, propName, defaultValue, isArray) { var _this = _super.call(this, parent, propName, defaultValue, isArray) || this; if (!defaultValue.id) { if (parent.parentObj && parent.parentObj.propName && parent.parentObj.propName === 'phases') { _this.id = parent.parentObj.id; } else { _this.id = base_util_1.randomId(); } } return _this; } __decorate([ ej2_base_1.Property('') ], Annotation.prototype, "content", void 0); __decorate([ ej2_base_1.Property(undefined) ], Annotation.prototype, "template", void 0); __decorate([ ej2_base_1.Property('String') ], Annotation.prototype, "annotationType", void 0); __decorate([ ej2_base_1.Property(true) ], Annotation.prototype, "visibility", void 0); __decorate([ ej2_base_1.Property(enum_1.AnnotationConstraints.InheritReadOnly) ], Annotation.prototype, "constraints", void 0); __decorate([ ej2_base_1.Complex(undefined, Hyperlink) ], Annotation.prototype, "hyperlink", void 0); __decorate([ ej2_base_1.Property('') ], Annotation.prototype, "id", void 0); __decorate([ ej2_base_1.Property() ], Annotation.prototype, "width", void 0); __decorate([ ej2_base_1.Property() ], Annotation.prototype, "height", void 0); __decorate([ ej2_base_1.Property(0) ], Annotation.prototype, "rotateAngle", void 0); __decorate([ ej2_base_1.Property('Parent') ], Annotation.prototype, "rotationReference", void 0); __decorate([ ej2_base_1.Complex({ strokeWidth: 0, strokeColor: 'transparent', fill: 'transparent' }, appearance_1.TextStyle) ], Annotation.prototype, "style", void 0); __decorate([ ej2_base_1.Property('Center') ], Annotation.prototype, "horizontalAlignment", void 0); __decorate([ ej2_base_1.Property('Center') ], Annotation.prototype, "verticalAlignment", void 0); __decorate([ ej2_base_1.Complex({}, appearance_1.Margin) ], Annotation.prototype, "margin", void 0); __decorate([ ej2_base_1.Complex({ top: undefined, bottom: undefined, left: undefined, right: undefined }, appearance_1.Margin) ], Annotation.prototype, "dragLimit", void 0); __decorate([ ej2_base_1.Property('Shape') ], Annotation.prototype, "type", void 0); __decorate([ ej2_base_1.Complex({}, tooltip_1.DiagramTooltip) ], Annotation.prototype, "tooltip", void 0); __decorate([ ej2_base_1.Property() ], Annotation.prototype, "addInfo", void 0); return Annotation; }(ej2_base_1.ChildProperty)); exports.Annotation = Annotation; var ShapeAnnotation = (function (_super) { __extends(ShapeAnnotation, _super); function ShapeAnnotation(parent, propName, defaultValue, isArray) { return _super.call(this, parent, propName, defaultValue, isArray) || this; } ShapeAnnotation.prototype.getClassName = function () { return 'ShapeAnnotation'; }; __decorate([ ej2_base_1.Complex({ x: 0.5, y: 0.5 }, point_1.Point) ], ShapeAnnotation.prototype, "offset", void 0); return ShapeAnnotation; }(Annotation)); exports.ShapeAnnotation = ShapeAnnotation; var PathAnnotation = (function (_super) { __extends(PathAnnotation, _super); function PathAnnotation(parent, propName, defaultValue, isArray) { return _super.call(this, parent, propName, defaultValue, isArray) || this; } PathAnnotation.prototype.getClassName = function () { return 'PathAnnotation'; }; __decorate([ ej2_base_1.Property(0.5) ], PathAnnotation.prototype, "offset", void 0); __decorate([ ej2_base_1.Complex({ x: 0, y: 0 }, point_1.Point) ], PathAnnotation.prototype, "displacement", void 0); __decorate([ ej2_base_1.Property('Center') ], PathAnnotation.prototype, "alignment", void 0); __decorate([ ej2_base_1.Property(false) ], PathAnnotation.prototype, "segmentAngle", void 0); return PathAnnotation; }(Annotation)); exports.PathAnnotation = PathAnnotation; }); |