bruce-models 0.8.6 → 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.
- package/dist/bruce-models.es5.js +139 -139
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +139 -139
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/markup/markup.js +139 -139
- package/dist/lib/markup/markup.js.map +1 -1
- package/dist/types/markup/markup.d.ts +201 -199
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -7139,147 +7139,147 @@ var ImportedFile;
|
|
|
7139
7139
|
*/
|
|
7140
7140
|
var Markup;
|
|
7141
7141
|
(function (Markup) {
|
|
7142
|
-
var
|
|
7143
|
-
(function (
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
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
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
//
|
|
7153
|
-
EType["
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
//
|
|
7159
|
-
|
|
7160
|
-
//
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
(
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
}
|
|
7262
|
-
|
|
7263
|
-
|
|
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 };
|