bruce-models 0.8.5 → 0.8.7

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.
@@ -155,9 +155,9 @@ var Api;
155
155
  */
156
156
  function PrepReqParams(base) {
157
157
  base = __assign({}, base);
158
- base.headers = __assign({}, base.headers);
159
- if (!base.headers.encoding) {
160
- base.headers.encoding = Api.EEncoding.UTF16;
158
+ base.response = __assign({}, base.response);
159
+ if (!base.response.encoding) {
160
+ base.response.encoding = Api.EEncoding.UTF16;
161
161
  }
162
162
  return base;
163
163
  }
@@ -7139,147 +7139,147 @@ var ImportedFile;
7139
7139
  */
7140
7140
  var Markup;
7141
7141
  (function (Markup) {
7142
- var Element;
7143
- (function (Element) {
7144
- var Div;
7145
- (function (Div) {
7146
- // Types of div that can be created.
7142
+ var Div;
7143
+ (function (Div) {
7144
+ // Types of div that can be created.
7145
+ var EType;
7146
+ (function (EType) {
7147
+ // Default, no special handling.
7148
+ EType["Default"] = "default";
7149
+ // Callout, assumes it will be positioned in 3d space.
7150
+ // Assumes existence of line that is used to anchor it.
7151
+ EType["Callout"] = "callout";
7152
+ })(EType = Div.EType || (Div.EType = {}));
7153
+ // Describes expected content of a row cell.
7154
+ var EItemType;
7155
+ (function (EItemType) {
7156
+ // Default, no special handling.
7157
+ EItemType["Default"] = "DEFAULT";
7158
+ // Embed, assume content is html.
7159
+ // Make it take over the whole cell instead of padding it and such.
7160
+ EItemType["Embed"] = "EMBED";
7161
+ })(EItemType = Div.EItemType || (Div.EItemType = {}));
7162
+ var ItemAction;
7163
+ (function (ItemAction) {
7164
+ // Types of actions that can be performed when a cell is clicked.
7165
+ // Null = "NONE".
7147
7166
  var EType;
7148
7167
  (function (EType) {
7149
- // Default, no special handling.
7150
- EType["Default"] = "default";
7151
- // Callout, assumes it will be positioned in 3d space.
7152
- // Assumes existence of line that is used to anchor it.
7153
- EType["Callout"] = "callout";
7154
- })(EType = Div.EType || (Div.EType = {}));
7155
- // Describes expected content of a row cell.
7156
- var EItemType;
7157
- (function (EItemType) {
7158
- // Default, no special handling.
7159
- EItemType["Default"] = "DEFAULT";
7160
- // Embed, assume content is html.
7161
- // Make it take over the whole cell instead of padding it and such.
7162
- EItemType["Embed"] = "EMBED";
7163
- })(EItemType = Div.EItemType || (Div.EItemType = {}));
7164
- var ItemAction;
7165
- (function (ItemAction) {
7166
- // Types of actions that can be performed when a cell is clicked.
7167
- // Null = "NONE".
7168
- var EType;
7169
- (function (EType) {
7170
- EType["None"] = "NONE";
7171
- // Open a link specified in params.
7172
- EType["OpenLink"] = "LINK";
7173
- // Open the markup's entity's details panel.
7174
- EType["OpenInfoView"] = "INFOVIEW";
7175
- // Open the markup's entity's gallery popup.
7176
- EType["OpenEntityGallery"] = "GALLERY";
7177
- // Toggle visibility of the markup's entity's relationships.
7178
- EType["ToggleRelationships"] = "RELATIONSHIPS";
7179
- // Dictates this cell can be used to drag the div around.
7180
- EType["Draggable"] = "DRAGABBLE";
7181
- // Closes the markup.
7182
- EType["Close"] = "CLOSE";
7183
- // Opens a bookmark specified in params.
7184
- EType["OpenBookmark"] = "BOOKMARK";
7185
- })(EType = ItemAction.EType || (ItemAction.EType = {}));
7186
- })(ItemAction = Div.ItemAction || (Div.ItemAction = {}));
7187
- })(Div = Element.Div || (Element.Div = {}));
7188
- var Drawing;
7189
- (function (Drawing) {
7190
- var Line;
7191
- (function (Line) {
7192
- // Dictates where on a DIV an anchor should snap to.
7193
- var EAnchorDivSide;
7194
- (function (EAnchorDivSide) {
7195
- EAnchorDivSide[EAnchorDivSide["TopLeft"] = 0] = "TopLeft";
7196
- EAnchorDivSide[EAnchorDivSide["TopRight"] = 1] = "TopRight";
7197
- EAnchorDivSide[EAnchorDivSide["BottomLeft"] = 2] = "BottomLeft";
7198
- EAnchorDivSide[EAnchorDivSide["BottomRight"] = 3] = "BottomRight";
7199
- EAnchorDivSide[EAnchorDivSide["Center"] = 4] = "Center";
7200
- EAnchorDivSide[EAnchorDivSide["CenterLeft"] = 5] = "CenterLeft";
7201
- EAnchorDivSide[EAnchorDivSide["CenterRight"] = 6] = "CenterRight";
7202
- EAnchorDivSide[EAnchorDivSide["CenterTop"] = 7] = "CenterTop";
7203
- EAnchorDivSide[EAnchorDivSide["CenterBottom"] = 8] = "CenterBottom";
7204
- })(EAnchorDivSide = Line.EAnchorDivSide || (Line.EAnchorDivSide = {}));
7205
- // Dictates what end of the line an anchor should render on.
7206
- var EAnchorLineSide;
7207
- (function (EAnchorLineSide) {
7208
- EAnchorLineSide[EAnchorLineSide["Start"] = 0] = "Start";
7209
- EAnchorLineSide[EAnchorLineSide["End"] = 1] = "End";
7210
- })(EAnchorLineSide = Line.EAnchorLineSide || (Line.EAnchorLineSide = {}));
7211
- // Types of anchor heads when anchor is used in context of a line.
7212
- // None means the anchor is transparent.
7213
- var EAnchorHeadStyle;
7214
- (function (EAnchorHeadStyle) {
7215
- EAnchorHeadStyle["None"] = "NONE";
7216
- EAnchorHeadStyle["Circle"] = "CIRCLE";
7217
- EAnchorHeadStyle["Arrow"] = "ARROW";
7218
- })(EAnchorHeadStyle = Line.EAnchorHeadStyle || (Line.EAnchorHeadStyle = {}));
7219
- Line.DEFAULT = {
7220
- brushColor: "rgba(255, 255, 255, 1)",
7221
- brushSize: 4,
7222
- path: null,
7223
- pathType: "LINE",
7224
- transform: null,
7225
- snaps: null
7226
- };
7227
- })(Line = Drawing.Line || (Drawing.Line = {}));
7228
- var FreePaint;
7229
- (function (FreePaint) {
7230
- FreePaint.DEFAULT = {
7231
- brushColor: "rgba(255, 255, 255, 1)",
7232
- brushSize: 4,
7233
- path: null,
7234
- pathType: "PLAIN",
7235
- transform: null
7236
- };
7237
- })(FreePaint = Drawing.FreePaint || (Drawing.FreePaint = {}));
7238
- })(Drawing = Element.Drawing || (Element.Drawing = {}));
7239
- var Entity3d;
7240
- (function (Entity3d) {
7241
- var Polygon;
7242
- (function (Polygon) {
7243
- // Determines if terrain and 3d models should be overlapped or not.
7244
- var EClassificationType;
7245
- (function (EClassificationType) {
7246
- // 3d models and terrain are overlapped.
7247
- EClassificationType["Both"] = "BOTH";
7248
- // Only terrain is overlapped.
7249
- EClassificationType["Terrain"] = "TERRAIN";
7250
- })(EClassificationType = Polygon.EClassificationType || (Polygon.EClassificationType = {}));
7251
- Polygon.DEFAULT = {
7252
- id: null,
7253
- positions: null,
7254
- color: "rgba(254, 234, 57, 0.54)",
7255
- outlineColor: "rgba(215, 215, 215, 0)",
7256
- outlineWidth: 2,
7257
- extrudedHeight: 0,
7258
- classificationType: EClassificationType.Both,
7259
- smoothen: 0
7260
- };
7261
- })(Polygon = Entity3d.Polygon || (Entity3d.Polygon = {}));
7262
- var Polyline;
7263
- (function (Polyline) {
7264
- Polyline.DEFAULT = {
7265
- id: null,
7266
- positions: null,
7267
- color: "rgba(254, 234, 57, 0.54)",
7268
- outlineWidth: 4,
7269
- smoothen: 0
7270
- };
7271
- })(Polyline = Entity3d.Polyline || (Entity3d.Polyline = {}));
7272
- var Circle;
7273
- (function (Circle) {
7274
- Circle.DEFAULT = {
7275
- id: null,
7276
- position: null,
7277
- radius: 50,
7278
- color: "rgba(254, 234, 57, 0.54)"
7279
- };
7280
- })(Circle = Entity3d.Circle || (Entity3d.Circle = {}));
7281
- })(Entity3d = Element.Entity3d || (Element.Entity3d = {}));
7282
- })(Element = Markup.Element || (Markup.Element = {}));
7168
+ EType["None"] = "NONE";
7169
+ // Open a link specified in params.
7170
+ EType["OpenLink"] = "LINK";
7171
+ // Open the markup's entity's details panel.
7172
+ EType["OpenInfoView"] = "INFOVIEW";
7173
+ // Open the markup's entity's gallery popup.
7174
+ EType["OpenEntityGallery"] = "GALLERY";
7175
+ // Toggle visibility of the markup's entity's relationships.
7176
+ EType["ToggleRelationships"] = "RELATIONSHIPS";
7177
+ // Dictates this cell can be used to drag the div around.
7178
+ EType["Draggable"] = "DRAGABBLE";
7179
+ // Closes the markup.
7180
+ EType["Close"] = "CLOSE";
7181
+ // Opens a bookmark specified in params.
7182
+ EType["OpenBookmark"] = "BOOKMARK";
7183
+ })(EType = ItemAction.EType || (ItemAction.EType = {}));
7184
+ })(ItemAction = Div.ItemAction || (Div.ItemAction = {}));
7185
+ })(Div = Markup.Div || (Markup.Div = {}));
7186
+ var Drawing;
7187
+ (function (Drawing) {
7188
+ var Line;
7189
+ (function (Line) {
7190
+ // Dictates where on a DIV an anchor should snap to.
7191
+ var EAnchorDivSide;
7192
+ (function (EAnchorDivSide) {
7193
+ EAnchorDivSide[EAnchorDivSide["TopLeft"] = 0] = "TopLeft";
7194
+ EAnchorDivSide[EAnchorDivSide["TopRight"] = 1] = "TopRight";
7195
+ EAnchorDivSide[EAnchorDivSide["BottomLeft"] = 2] = "BottomLeft";
7196
+ EAnchorDivSide[EAnchorDivSide["BottomRight"] = 3] = "BottomRight";
7197
+ EAnchorDivSide[EAnchorDivSide["Center"] = 4] = "Center";
7198
+ EAnchorDivSide[EAnchorDivSide["CenterLeft"] = 5] = "CenterLeft";
7199
+ EAnchorDivSide[EAnchorDivSide["CenterRight"] = 6] = "CenterRight";
7200
+ EAnchorDivSide[EAnchorDivSide["CenterTop"] = 7] = "CenterTop";
7201
+ EAnchorDivSide[EAnchorDivSide["CenterBottom"] = 8] = "CenterBottom";
7202
+ })(EAnchorDivSide = Line.EAnchorDivSide || (Line.EAnchorDivSide = {}));
7203
+ // Dictates what end of the line an anchor should render on.
7204
+ var EAnchorLineSide;
7205
+ (function (EAnchorLineSide) {
7206
+ EAnchorLineSide[EAnchorLineSide["Start"] = 0] = "Start";
7207
+ EAnchorLineSide[EAnchorLineSide["End"] = 1] = "End";
7208
+ })(EAnchorLineSide = Line.EAnchorLineSide || (Line.EAnchorLineSide = {}));
7209
+ // Types of anchor heads when anchor is used in context of a line.
7210
+ // None means the anchor is transparent.
7211
+ var EAnchorHeadStyle;
7212
+ (function (EAnchorHeadStyle) {
7213
+ EAnchorHeadStyle["None"] = "NONE";
7214
+ EAnchorHeadStyle["Circle"] = "CIRCLE";
7215
+ EAnchorHeadStyle["Arrow"] = "ARROW";
7216
+ })(EAnchorHeadStyle = Line.EAnchorHeadStyle || (Line.EAnchorHeadStyle = {}));
7217
+ Line.DEFAULT = {
7218
+ brushColor: "rgba(255, 255, 255, 1)",
7219
+ brushSize: 4,
7220
+ path: null,
7221
+ pathType: "LINE",
7222
+ transform: null,
7223
+ snaps: null
7224
+ };
7225
+ })(Line = Drawing.Line || (Drawing.Line = {}));
7226
+ var FreePaint;
7227
+ (function (FreePaint) {
7228
+ FreePaint.DEFAULT = {
7229
+ brushColor: "rgba(255, 255, 255, 1)",
7230
+ brushSize: 4,
7231
+ path: null,
7232
+ pathType: "PLAIN",
7233
+ transform: null
7234
+ };
7235
+ })(FreePaint = Drawing.FreePaint || (Drawing.FreePaint = {}));
7236
+ })(Drawing = Markup.Drawing || (Markup.Drawing = {}));
7237
+ var Entity3d;
7238
+ (function (Entity3d) {
7239
+ var Polygon;
7240
+ (function (Polygon) {
7241
+ // Determines if terrain and 3d models should be overlapped or not.
7242
+ var EClassificationType;
7243
+ (function (EClassificationType) {
7244
+ // 3d models and terrain are overlapped.
7245
+ EClassificationType["Both"] = "BOTH";
7246
+ // Only terrain is overlapped.
7247
+ EClassificationType["Terrain"] = "TERRAIN";
7248
+ })(EClassificationType = Polygon.EClassificationType || (Polygon.EClassificationType = {}));
7249
+ Polygon.DEFAULT = {
7250
+ type: "POLYGON",
7251
+ id: null,
7252
+ positions: null,
7253
+ color: "rgba(254, 234, 57, 0.54)",
7254
+ outlineColor: "rgba(215, 215, 215, 0)",
7255
+ outlineWidth: 2,
7256
+ extrudedHeight: 0,
7257
+ classificationType: EClassificationType.Both,
7258
+ smoothen: 0
7259
+ };
7260
+ })(Polygon = Entity3d.Polygon || (Entity3d.Polygon = {}));
7261
+ var Polyline;
7262
+ (function (Polyline) {
7263
+ Polyline.DEFAULT = {
7264
+ type: "POLYLINE",
7265
+ id: null,
7266
+ positions: null,
7267
+ color: "rgba(254, 234, 57, 0.54)",
7268
+ outlineWidth: 4,
7269
+ smoothen: 0
7270
+ };
7271
+ })(Polyline = Entity3d.Polyline || (Entity3d.Polyline = {}));
7272
+ var Circle;
7273
+ (function (Circle) {
7274
+ Circle.DEFAULT = {
7275
+ type: "CIRCLE",
7276
+ id: null,
7277
+ position: null,
7278
+ radius: 50,
7279
+ color: "rgba(254, 234, 57, 0.54)"
7280
+ };
7281
+ })(Circle = Entity3d.Circle || (Entity3d.Circle = {}));
7282
+ })(Entity3d = Markup.Entity3d || (Markup.Entity3d = {}));
7283
7283
  })(Markup || (Markup = {}));
7284
7284
 
7285
7285
  export { AnnDocument, CustomForm, CustomFormContent, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, Calculator, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, MessageBroker, Style, TilesetEntitiesMapTiles, TilesetExtMapTiles, Tileset, Permission, Session, UserGroup, User, Account, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup };