bruce-models 1.9.7 → 1.9.8

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 (83) hide show
  1. package/dist/bruce-models.es5.js +9 -3
  2. package/dist/bruce-models.es5.js.map +1 -1
  3. package/dist/bruce-models.umd.js +9 -3
  4. package/dist/bruce-models.umd.js.map +1 -1
  5. package/dist/lib/account/account-settings.js +2 -2
  6. package/dist/lib/account/account.js +185 -185
  7. package/dist/lib/ann-document/ann-document.js +86 -86
  8. package/dist/lib/api/abstract-api.js +246 -246
  9. package/dist/lib/api/api-getters.js +134 -134
  10. package/dist/lib/api/api.js +93 -93
  11. package/dist/lib/api/bruce-api.js +216 -216
  12. package/dist/lib/api/cam-api.js +82 -82
  13. package/dist/lib/api/global-api.js +81 -81
  14. package/dist/lib/api/idm-api.js +82 -82
  15. package/dist/lib/bruce-models.js +86 -86
  16. package/dist/lib/calculator/calculator.js +341 -335
  17. package/dist/lib/calculator/calculator.js.map +1 -1
  18. package/dist/lib/client-file/client-file.js +245 -245
  19. package/dist/lib/common/bounds.js +61 -61
  20. package/dist/lib/common/bruce-event.js +46 -46
  21. package/dist/lib/common/bruce-variable.js +60 -60
  22. package/dist/lib/common/cache.js +165 -165
  23. package/dist/lib/common/camera.js +11 -11
  24. package/dist/lib/common/cartes.js +123 -123
  25. package/dist/lib/common/carto.js +60 -60
  26. package/dist/lib/common/color.js +86 -86
  27. package/dist/lib/common/delay-queue.js +56 -56
  28. package/dist/lib/common/dictionary.js +2 -2
  29. package/dist/lib/common/geometry.js +120 -120
  30. package/dist/lib/common/transform.js +2 -2
  31. package/dist/lib/common/utc.js +39 -39
  32. package/dist/lib/custom-form/custom-form-content.js +26 -26
  33. package/dist/lib/custom-form/custom-form.js +106 -106
  34. package/dist/lib/data-lab/data-lab.js +49 -49
  35. package/dist/lib/entity/entity-attachment-type.js +83 -83
  36. package/dist/lib/entity/entity-attachment.js +122 -122
  37. package/dist/lib/entity/entity-attribute.js +29 -29
  38. package/dist/lib/entity/entity-comment.js +82 -82
  39. package/dist/lib/entity/entity-coords.js +149 -149
  40. package/dist/lib/entity/entity-link.js +82 -82
  41. package/dist/lib/entity/entity-lod-category.js +100 -100
  42. package/dist/lib/entity/entity-lod.js +185 -185
  43. package/dist/lib/entity/entity-relation-type.js +109 -109
  44. package/dist/lib/entity/entity-relation.js +132 -132
  45. package/dist/lib/entity/entity-source.js +136 -136
  46. package/dist/lib/entity/entity-tag.js +149 -149
  47. package/dist/lib/entity/entity-type-visual-settings.js +13 -13
  48. package/dist/lib/entity/entity-type.js +113 -113
  49. package/dist/lib/entity/entity.js +319 -319
  50. package/dist/lib/entity/getters/batched-data-getter.js +84 -84
  51. package/dist/lib/entity/getters/entity-filter-getter.js +303 -303
  52. package/dist/lib/entity/getters/entity-globe.js +211 -211
  53. package/dist/lib/entity/getters/view-monitor.js +2 -2
  54. package/dist/lib/import/import-cad.js +53 -53
  55. package/dist/lib/import/import-csv.js +23 -23
  56. package/dist/lib/import/import-json.js +23 -23
  57. package/dist/lib/import/import-kml.js +23 -23
  58. package/dist/lib/import/imported-file.js +91 -91
  59. package/dist/lib/internal/uploader.js +76 -76
  60. package/dist/lib/markup/markup.js +185 -185
  61. package/dist/lib/plugin/plugin.js +83 -83
  62. package/dist/lib/program-key/program-key.js +111 -111
  63. package/dist/lib/project/menu-item.js +121 -121
  64. package/dist/lib/project/project-view-bookmark.js +147 -147
  65. package/dist/lib/project/project-view-legacy-tile.js +77 -77
  66. package/dist/lib/project/project-view-tile.js +125 -125
  67. package/dist/lib/project/project-view.js +133 -133
  68. package/dist/lib/project/zoom-control.js +17 -17
  69. package/dist/lib/server/message-broker.js +142 -142
  70. package/dist/lib/server/pending-action.js +71 -71
  71. package/dist/lib/server/task.js +63 -63
  72. package/dist/lib/style/style.js +117 -117
  73. package/dist/lib/tileset/tileset.js +415 -415
  74. package/dist/lib/user/permission.js +20 -20
  75. package/dist/lib/user/session.js +137 -137
  76. package/dist/lib/user/user-group.js +94 -94
  77. package/dist/lib/user/user.js +446 -446
  78. package/dist/lib/util/encrypt-utils.js +19 -19
  79. package/dist/lib/util/math-utils.js +40 -40
  80. package/dist/lib/util/object-utils.js +17 -17
  81. package/dist/lib/util/path-utils.js +61 -61
  82. package/dist/lib/util/url-utils.js +94 -94
  83. package/package.json +1 -1
@@ -1,57 +1,57 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelayQueue = void 0;
4
- /**
5
- * Controls the flow of method calls.
6
- * If you have a method that may be called often, but you don't want it to run often, use this.
7
- */
8
- class DelayQueue {
9
- constructor(callback, delay = 200) {
10
- // Millisecond delay.
11
- this.delay = 200;
12
- // Date-time stamp for the last callback call.
13
- this.lastCallTime = null;
14
- this.callback = callback;
15
- this.delay = delay;
16
- }
17
- Call(force = false) {
18
- if (this.lastCallTime == null) {
19
- force = true;
20
- }
21
- if (force) {
22
- let endDate = new Date().getTime();
23
- this.doCall(endDate);
24
- }
25
- else {
26
- const endDate = new Date().getTime();
27
- const seconds = (endDate - this.lastCallTime) / 1000;
28
- const delay = this.delay / 1000;
29
- if (seconds > delay) {
30
- this.doCall(endDate);
31
- }
32
- else if (this.delayTimeout == null) {
33
- const diff = (delay - seconds) * 1000;
34
- this.delayTimeout = setTimeout(() => {
35
- this.delayTimeout = null;
36
- this.Call();
37
- }, diff + 0.02);
38
- }
39
- }
40
- }
41
- doCall(endDate) {
42
- if (this.delayTimeout != null) {
43
- clearTimeout(this.delayTimeout);
44
- this.delayTimeout = null;
45
- }
46
- this.lastCallTime = endDate;
47
- this.callback();
48
- }
49
- Dispose() {
50
- if (this.delayTimeout != null) {
51
- clearTimeout(this.delayTimeout);
52
- this.delayTimeout = null;
53
- }
54
- }
55
- }
56
- exports.DelayQueue = DelayQueue;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DelayQueue = void 0;
4
+ /**
5
+ * Controls the flow of method calls.
6
+ * If you have a method that may be called often, but you don't want it to run often, use this.
7
+ */
8
+ class DelayQueue {
9
+ constructor(callback, delay = 200) {
10
+ // Millisecond delay.
11
+ this.delay = 200;
12
+ // Date-time stamp for the last callback call.
13
+ this.lastCallTime = null;
14
+ this.callback = callback;
15
+ this.delay = delay;
16
+ }
17
+ Call(force = false) {
18
+ if (this.lastCallTime == null) {
19
+ force = true;
20
+ }
21
+ if (force) {
22
+ let endDate = new Date().getTime();
23
+ this.doCall(endDate);
24
+ }
25
+ else {
26
+ const endDate = new Date().getTime();
27
+ const seconds = (endDate - this.lastCallTime) / 1000;
28
+ const delay = this.delay / 1000;
29
+ if (seconds > delay) {
30
+ this.doCall(endDate);
31
+ }
32
+ else if (this.delayTimeout == null) {
33
+ const diff = (delay - seconds) * 1000;
34
+ this.delayTimeout = setTimeout(() => {
35
+ this.delayTimeout = null;
36
+ this.Call();
37
+ }, diff + 0.02);
38
+ }
39
+ }
40
+ }
41
+ doCall(endDate) {
42
+ if (this.delayTimeout != null) {
43
+ clearTimeout(this.delayTimeout);
44
+ this.delayTimeout = null;
45
+ }
46
+ this.lastCallTime = endDate;
47
+ this.callback();
48
+ }
49
+ Dispose() {
50
+ if (this.delayTimeout != null) {
51
+ clearTimeout(this.delayTimeout);
52
+ this.delayTimeout = null;
53
+ }
54
+ }
55
+ }
56
+ exports.DelayQueue = DelayQueue;
57
57
  //# sourceMappingURL=delay-queue.js.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=dictionary.js.map
@@ -1,121 +1,121 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Geometry = void 0;
4
- /**
5
- * Describes vector geometry that Bruce uses.
6
- */
7
- var Geometry;
8
- (function (Geometry) {
9
- let EPolygonRingType;
10
- (function (EPolygonRingType) {
11
- EPolygonRingType["Boundaries"] = "out";
12
- EPolygonRingType["Hole"] = "in";
13
- })(EPolygonRingType = Geometry.EPolygonRingType || (Geometry.EPolygonRingType = {}));
14
- /**
15
- * Turns an array of points into string vector geometry that Bruce can use.
16
- * This is used for saving polyline and polygon data.
17
- * @param points
18
- * @returns
19
- */
20
- function LineStrFromPoints(points) {
21
- if (!points.length) {
22
- throw ("points is empty.");
23
- }
24
- let carto = points[0];
25
- let lineString = `${carto.longitude},${carto.latitude}` + (carto.altitude != null ? `,${carto.altitude}` : "");
26
- for (let i = 1; i < points.length; i++) {
27
- carto = points[i];
28
- lineString += ` ${carto.longitude},${carto.latitude}` + (carto.altitude != null ? `,${carto.altitude}` : "");
29
- }
30
- return lineString;
31
- }
32
- Geometry.LineStrFromPoints = LineStrFromPoints;
33
- /**
34
- * Removes same points that occur in a row.
35
- * This will not modify the original array.
36
- * @param positions
37
- * @returns
38
- */
39
- function RemoveRepeatPoints(positions) {
40
- const filteredList = [];
41
- for (let i = 0; i < positions.length; i++) {
42
- const pos = positions[i];
43
- const lastPos = filteredList.length > 0 ? filteredList[filteredList.length - 1] : null;
44
- if (!lastPos || (pos.latitude != lastPos.latitude || pos.longitude != lastPos.longitude || pos.altitude != lastPos.altitude)) {
45
- filteredList.push(pos);
46
- }
47
- }
48
- return filteredList;
49
- }
50
- Geometry.RemoveRepeatPoints = RemoveRepeatPoints;
51
- function ParsePoints(pointsStr) {
52
- pointsStr = pointsStr.replace(/[^\d.,-\s]/g, "");
53
- let splitterCoordinates = " ";
54
- let splitterAxis = ",";
55
- const commaIndex = pointsStr.indexOf(",");
56
- const spaceIndex = pointsStr.indexOf(" ");
57
- if ((spaceIndex > -1 && commaIndex > spaceIndex) || commaIndex <= -1) {
58
- splitterCoordinates = ",";
59
- splitterAxis = " ";
60
- }
61
- let points = pointsStr.trim().split(splitterCoordinates);
62
- points = points.filter(a => a != "");
63
- const result = [];
64
- for (let i = 0; i < points.length; i++) {
65
- const pointData = points[i];
66
- const coords = pointData.trim().split(splitterAxis);
67
- if (coords.length == 2 || coords.length == 3) {
68
- const longitude = Number(coords[0]);
69
- const latitude = Number(coords[1]);
70
- const altitude = Number(coords.length >= 3 ? coords[2] : 0);
71
- if (longitude != null && latitude != null) {
72
- result.push({
73
- altitude: altitude,
74
- latitude: latitude,
75
- longitude: longitude
76
- });
77
- }
78
- else {
79
- console.warn("Invalid point data detected.", pointData);
80
- }
81
- }
82
- }
83
- return result;
84
- }
85
- Geometry.ParsePoints = ParsePoints;
86
- /**
87
- * Parses both string and object Bruce geometry.
88
- * String geometry is legacy Bruce data.
89
- * @param geometry
90
- * @returns
91
- */
92
- function ParseGeometry(geometry) {
93
- if (typeof geometry == "string") {
94
- let positions = [];
95
- const geometryParsed = (geometry || "").split(";");
96
- for (let i = 0; i < geometryParsed.length; i++) {
97
- const data = geometryParsed[i];
98
- const points = ParsePoints(data);
99
- if (points && points.length > 0) {
100
- positions = positions.concat(points);
101
- }
102
- }
103
- positions = RemoveRepeatPoints(positions);
104
- const newGeometry = {};
105
- if (positions.length > 0) {
106
- const topPoint = positions[0];
107
- newGeometry.Point = `${topPoint.latitude},${topPoint.longitude}` + (topPoint.altitude != null ? `,${topPoint.altitude}` : "");
108
- if (positions.length > 1) {
109
- newGeometry.Polygon = [{ Facing: EPolygonRingType.Boundaries, LinearRing: LineStrFromPoints(positions) }];
110
- }
111
- if (positions.length > 2) {
112
- newGeometry.LineString = LineStrFromPoints(positions);
113
- }
114
- }
115
- return newGeometry;
116
- }
117
- return geometry;
118
- }
119
- Geometry.ParseGeometry = ParseGeometry;
120
- })(Geometry = exports.Geometry || (exports.Geometry = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Geometry = void 0;
4
+ /**
5
+ * Describes vector geometry that Bruce uses.
6
+ */
7
+ var Geometry;
8
+ (function (Geometry) {
9
+ let EPolygonRingType;
10
+ (function (EPolygonRingType) {
11
+ EPolygonRingType["Boundaries"] = "out";
12
+ EPolygonRingType["Hole"] = "in";
13
+ })(EPolygonRingType = Geometry.EPolygonRingType || (Geometry.EPolygonRingType = {}));
14
+ /**
15
+ * Turns an array of points into string vector geometry that Bruce can use.
16
+ * This is used for saving polyline and polygon data.
17
+ * @param points
18
+ * @returns
19
+ */
20
+ function LineStrFromPoints(points) {
21
+ if (!points.length) {
22
+ throw ("points is empty.");
23
+ }
24
+ let carto = points[0];
25
+ let lineString = `${carto.longitude},${carto.latitude}` + (carto.altitude != null ? `,${carto.altitude}` : "");
26
+ for (let i = 1; i < points.length; i++) {
27
+ carto = points[i];
28
+ lineString += ` ${carto.longitude},${carto.latitude}` + (carto.altitude != null ? `,${carto.altitude}` : "");
29
+ }
30
+ return lineString;
31
+ }
32
+ Geometry.LineStrFromPoints = LineStrFromPoints;
33
+ /**
34
+ * Removes same points that occur in a row.
35
+ * This will not modify the original array.
36
+ * @param positions
37
+ * @returns
38
+ */
39
+ function RemoveRepeatPoints(positions) {
40
+ const filteredList = [];
41
+ for (let i = 0; i < positions.length; i++) {
42
+ const pos = positions[i];
43
+ const lastPos = filteredList.length > 0 ? filteredList[filteredList.length - 1] : null;
44
+ if (!lastPos || (pos.latitude != lastPos.latitude || pos.longitude != lastPos.longitude || pos.altitude != lastPos.altitude)) {
45
+ filteredList.push(pos);
46
+ }
47
+ }
48
+ return filteredList;
49
+ }
50
+ Geometry.RemoveRepeatPoints = RemoveRepeatPoints;
51
+ function ParsePoints(pointsStr) {
52
+ pointsStr = pointsStr.replace(/[^\d.,-\s]/g, "");
53
+ let splitterCoordinates = " ";
54
+ let splitterAxis = ",";
55
+ const commaIndex = pointsStr.indexOf(",");
56
+ const spaceIndex = pointsStr.indexOf(" ");
57
+ if ((spaceIndex > -1 && commaIndex > spaceIndex) || commaIndex <= -1) {
58
+ splitterCoordinates = ",";
59
+ splitterAxis = " ";
60
+ }
61
+ let points = pointsStr.trim().split(splitterCoordinates);
62
+ points = points.filter(a => a != "");
63
+ const result = [];
64
+ for (let i = 0; i < points.length; i++) {
65
+ const pointData = points[i];
66
+ const coords = pointData.trim().split(splitterAxis);
67
+ if (coords.length == 2 || coords.length == 3) {
68
+ const longitude = Number(coords[0]);
69
+ const latitude = Number(coords[1]);
70
+ const altitude = Number(coords.length >= 3 ? coords[2] : 0);
71
+ if (longitude != null && latitude != null) {
72
+ result.push({
73
+ altitude: altitude,
74
+ latitude: latitude,
75
+ longitude: longitude
76
+ });
77
+ }
78
+ else {
79
+ console.warn("Invalid point data detected.", pointData);
80
+ }
81
+ }
82
+ }
83
+ return result;
84
+ }
85
+ Geometry.ParsePoints = ParsePoints;
86
+ /**
87
+ * Parses both string and object Bruce geometry.
88
+ * String geometry is legacy Bruce data.
89
+ * @param geometry
90
+ * @returns
91
+ */
92
+ function ParseGeometry(geometry) {
93
+ if (typeof geometry == "string") {
94
+ let positions = [];
95
+ const geometryParsed = (geometry || "").split(";");
96
+ for (let i = 0; i < geometryParsed.length; i++) {
97
+ const data = geometryParsed[i];
98
+ const points = ParsePoints(data);
99
+ if (points && points.length > 0) {
100
+ positions = positions.concat(points);
101
+ }
102
+ }
103
+ positions = RemoveRepeatPoints(positions);
104
+ const newGeometry = {};
105
+ if (positions.length > 0) {
106
+ const topPoint = positions[0];
107
+ newGeometry.Point = `${topPoint.latitude},${topPoint.longitude}` + (topPoint.altitude != null ? `,${topPoint.altitude}` : "");
108
+ if (positions.length > 1) {
109
+ newGeometry.Polygon = [{ Facing: EPolygonRingType.Boundaries, LinearRing: LineStrFromPoints(positions) }];
110
+ }
111
+ if (positions.length > 2) {
112
+ newGeometry.LineString = LineStrFromPoints(positions);
113
+ }
114
+ }
115
+ return newGeometry;
116
+ }
117
+ return geometry;
118
+ }
119
+ Geometry.ParseGeometry = ParseGeometry;
120
+ })(Geometry = exports.Geometry || (exports.Geometry = {}));
121
121
  //# sourceMappingURL=geometry.js.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=transform.js.map
@@ -1,40 +1,40 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UTC = void 0;
4
- /**
5
- * Describes a Bruce stored date.
6
- */
7
- var UTC;
8
- (function (UTC) {
9
- let EMonth;
10
- (function (EMonth) {
11
- EMonth[EMonth["January"] = 1] = "January";
12
- EMonth[EMonth["February"] = 2] = "February";
13
- EMonth[EMonth["March"] = 3] = "March";
14
- EMonth[EMonth["April"] = 4] = "April";
15
- EMonth[EMonth["May"] = 5] = "May";
16
- EMonth[EMonth["June"] = 6] = "June";
17
- EMonth[EMonth["July"] = 7] = "July";
18
- EMonth[EMonth["August"] = 8] = "August";
19
- EMonth[EMonth["September"] = 9] = "September";
20
- EMonth[EMonth["October"] = 10] = "October";
21
- EMonth[EMonth["November"] = 11] = "November";
22
- EMonth[EMonth["December"] = 12] = "December";
23
- })(EMonth = UTC.EMonth || (UTC.EMonth = {}));
24
- function ToDate(utc) {
25
- return new Date(utc.y, utc.m - 1, utc.d, utc.hh, utc.mm, utc.ss, 0);
26
- }
27
- UTC.ToDate = ToDate;
28
- function FromDate(date) {
29
- return {
30
- y: date.getUTCFullYear(),
31
- m: date.getUTCMonth() + 1,
32
- d: date.getUTCDate(),
33
- hh: date.getUTCHours(),
34
- mm: date.getUTCMinutes(),
35
- ss: date.getUTCSeconds()
36
- };
37
- }
38
- UTC.FromDate = FromDate;
39
- })(UTC = exports.UTC || (exports.UTC = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UTC = void 0;
4
+ /**
5
+ * Describes a Bruce stored date.
6
+ */
7
+ var UTC;
8
+ (function (UTC) {
9
+ let EMonth;
10
+ (function (EMonth) {
11
+ EMonth[EMonth["January"] = 1] = "January";
12
+ EMonth[EMonth["February"] = 2] = "February";
13
+ EMonth[EMonth["March"] = 3] = "March";
14
+ EMonth[EMonth["April"] = 4] = "April";
15
+ EMonth[EMonth["May"] = 5] = "May";
16
+ EMonth[EMonth["June"] = 6] = "June";
17
+ EMonth[EMonth["July"] = 7] = "July";
18
+ EMonth[EMonth["August"] = 8] = "August";
19
+ EMonth[EMonth["September"] = 9] = "September";
20
+ EMonth[EMonth["October"] = 10] = "October";
21
+ EMonth[EMonth["November"] = 11] = "November";
22
+ EMonth[EMonth["December"] = 12] = "December";
23
+ })(EMonth = UTC.EMonth || (UTC.EMonth = {}));
24
+ function ToDate(utc) {
25
+ return new Date(utc.y, utc.m - 1, utc.d, utc.hh, utc.mm, utc.ss, 0);
26
+ }
27
+ UTC.ToDate = ToDate;
28
+ function FromDate(date) {
29
+ return {
30
+ y: date.getUTCFullYear(),
31
+ m: date.getUTCMonth() + 1,
32
+ d: date.getUTCDate(),
33
+ hh: date.getUTCHours(),
34
+ mm: date.getUTCMinutes(),
35
+ ss: date.getUTCSeconds()
36
+ };
37
+ }
38
+ UTC.FromDate = FromDate;
39
+ })(UTC = exports.UTC || (exports.UTC = {}));
40
40
  //# sourceMappingURL=utc.js.map
@@ -1,27 +1,27 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomFormContent = void 0;
4
- /**
5
- * Describes content of a GENERIC type custom form.
6
- * The alternative type is MARKUP (Markup.IMarkup).
7
- */
8
- var CustomFormContent;
9
- (function (CustomFormContent) {
10
- let ECellType;
11
- (function (ECellType) {
12
- ECellType[ECellType["StaticText"] = 0] = "StaticText";
13
- ECellType[ECellType["DataValue"] = 1] = "DataValue";
14
- ECellType[ECellType["StaticPicture"] = 2] = "StaticPicture";
15
- ECellType[ECellType["SubSection"] = 3] = "SubSection";
16
- ECellType[ECellType["ButtonMore"] = 4] = "ButtonMore";
17
- ECellType[ECellType["EntityPhoto"] = 5] = "EntityPhoto";
18
- ECellType[ECellType["EmbeddedMedia"] = 6] = "EmbeddedMedia";
19
- ECellType[ECellType["Chart"] = 7] = "Chart";
20
- })(ECellType = CustomFormContent.ECellType || (CustomFormContent.ECellType = {}));
21
- let EFlowDirection;
22
- (function (EFlowDirection) {
23
- EFlowDirection["Vertically"] = "v";
24
- EFlowDirection["Horizontally"] = "h";
25
- })(EFlowDirection = CustomFormContent.EFlowDirection || (CustomFormContent.EFlowDirection = {}));
26
- })(CustomFormContent = exports.CustomFormContent || (exports.CustomFormContent = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomFormContent = void 0;
4
+ /**
5
+ * Describes content of a GENERIC type custom form.
6
+ * The alternative type is MARKUP (Markup.IMarkup).
7
+ */
8
+ var CustomFormContent;
9
+ (function (CustomFormContent) {
10
+ let ECellType;
11
+ (function (ECellType) {
12
+ ECellType[ECellType["StaticText"] = 0] = "StaticText";
13
+ ECellType[ECellType["DataValue"] = 1] = "DataValue";
14
+ ECellType[ECellType["StaticPicture"] = 2] = "StaticPicture";
15
+ ECellType[ECellType["SubSection"] = 3] = "SubSection";
16
+ ECellType[ECellType["ButtonMore"] = 4] = "ButtonMore";
17
+ ECellType[ECellType["EntityPhoto"] = 5] = "EntityPhoto";
18
+ ECellType[ECellType["EmbeddedMedia"] = 6] = "EmbeddedMedia";
19
+ ECellType[ECellType["Chart"] = 7] = "Chart";
20
+ })(ECellType = CustomFormContent.ECellType || (CustomFormContent.ECellType = {}));
21
+ let EFlowDirection;
22
+ (function (EFlowDirection) {
23
+ EFlowDirection["Vertically"] = "v";
24
+ EFlowDirection["Horizontally"] = "h";
25
+ })(EFlowDirection = CustomFormContent.EFlowDirection || (CustomFormContent.EFlowDirection = {}));
26
+ })(CustomFormContent = exports.CustomFormContent || (exports.CustomFormContent = {}));
27
27
  //# sourceMappingURL=custom-form-content.js.map