bruce-models 5.3.8 → 5.4.0
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 +14 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +14 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/api-getters.js +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-attribute.js +4 -0
- package/dist/lib/entity/entity-attribute.js.map +1 -1
- package/dist/lib/plugin/plugin.js +8 -1
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity-attribute.d.ts +3 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -1474,7 +1474,7 @@ class ApiGetters {
|
|
|
1474
1474
|
this.bruce[key] = new BruceApi.Api({
|
|
1475
1475
|
accountId,
|
|
1476
1476
|
env,
|
|
1477
|
-
loadConfig: loadConfig
|
|
1477
|
+
loadConfig: loadConfig == null ? true : loadConfig,
|
|
1478
1478
|
loadWebSocket: loadWebSocket,
|
|
1479
1479
|
guardian: this.GetGuardianApi({
|
|
1480
1480
|
env
|
|
@@ -2276,6 +2276,10 @@ var EntityAttribute;
|
|
|
2276
2276
|
EType["Boolean"] = "Boolean";
|
|
2277
2277
|
// String User ID.
|
|
2278
2278
|
EType["User"] = "User";
|
|
2279
|
+
// String Group ID.
|
|
2280
|
+
EType["UserGroup"] = "UserGroup";
|
|
2281
|
+
// String Entity ID.
|
|
2282
|
+
EType["Entity"] = "Entity";
|
|
2279
2283
|
})(EType = EntityAttribute.EType || (EntityAttribute.EType = {}));
|
|
2280
2284
|
/**
|
|
2281
2285
|
* Returns an attribute from a provided hierarchy of attributes.
|
|
@@ -14318,7 +14322,8 @@ var Plugin;
|
|
|
14318
14322
|
url: `ui.plugin/${pluginId}/file/index.jsc`,
|
|
14319
14323
|
urlParams: {
|
|
14320
14324
|
"version": String(cacheKey)
|
|
14321
|
-
}
|
|
14325
|
+
},
|
|
14326
|
+
cdn: true
|
|
14322
14327
|
})
|
|
14323
14328
|
};
|
|
14324
14329
|
}
|
|
@@ -14404,6 +14409,12 @@ var Plugin;
|
|
|
14404
14409
|
function GetRunFunction(params) {
|
|
14405
14410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14406
14411
|
let { containerId, container, pluginParams, pluginId, plugin, api, req } = params;
|
|
14412
|
+
if (!api) {
|
|
14413
|
+
api = ENVIRONMENT.Api().GetBruceApi({
|
|
14414
|
+
loadConfig: true
|
|
14415
|
+
});
|
|
14416
|
+
}
|
|
14417
|
+
yield api.Loading;
|
|
14407
14418
|
if (!containerId && container) {
|
|
14408
14419
|
containerId = container.id;
|
|
14409
14420
|
if (!containerId) {
|
|
@@ -14730,7 +14741,7 @@ var DataSource;
|
|
|
14730
14741
|
})(DataSource || (DataSource = {}));
|
|
14731
14742
|
|
|
14732
14743
|
// This is updated with the package.json version on build.
|
|
14733
|
-
const VERSION = "5.
|
|
14744
|
+
const VERSION = "5.4.0";
|
|
14734
14745
|
|
|
14735
14746
|
export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
14736
14747
|
//# sourceMappingURL=bruce-models.es5.js.map
|