bruce-models 1.9.3 → 1.9.4
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 +15 -6
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +9 -0
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/bruce-api.js +9 -0
- package/dist/lib/api/bruce-api.js.map +1 -1
- package/dist/lib/plugin/plugin.js +7 -7
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/types/plugin/plugin.d.ts +3 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -1184,6 +1184,15 @@ var BruceApi;
|
|
|
1184
1184
|
})).regions[0];
|
|
1185
1185
|
if (region === null || region === void 0 ? void 0 : region.CDN) {
|
|
1186
1186
|
this.EntityCdnUrl = (_b = region.CDN.entityURL) === null || _b === void 0 ? void 0 : _b[env];
|
|
1187
|
+
// We need to fix our configs.
|
|
1188
|
+
if (this.EntityCdnUrl) {
|
|
1189
|
+
if (this.EntityCdnUrl.includes("entitiesListForCDN")) {
|
|
1190
|
+
this.EntityCdnUrl = this.EntityCdnUrl.replace("<ACCOUNT>", this.accountId);
|
|
1191
|
+
}
|
|
1192
|
+
else {
|
|
1193
|
+
this.EntityCdnUrl = this.EntityCdnUrl.replace("<ACCOUNT>", "entitiesListForCDN/" + this.accountId);
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1187
1196
|
this.LegacyTilesetCdnUrl = (_c = region.CDN.legacyTilesetURL) === null || _c === void 0 ? void 0 : _c[env];
|
|
1188
1197
|
}
|
|
1189
1198
|
}
|
|
@@ -7473,15 +7482,15 @@ var Markup;
|
|
|
7473
7482
|
})(Markup || (Markup = {}));
|
|
7474
7483
|
|
|
7475
7484
|
var Plugin;
|
|
7476
|
-
(function (Plugin
|
|
7485
|
+
(function (Plugin) {
|
|
7477
7486
|
function GetCacheKey(pluginId) {
|
|
7478
7487
|
return `${Api.ECacheKey.Plugin}${Api.ECacheKey.Id}${pluginId}`;
|
|
7479
7488
|
}
|
|
7480
|
-
Plugin
|
|
7489
|
+
Plugin.GetCacheKey = GetCacheKey;
|
|
7481
7490
|
function GetListCacheKey() {
|
|
7482
7491
|
return Api.ECacheKey.Plugin;
|
|
7483
7492
|
}
|
|
7484
|
-
Plugin
|
|
7493
|
+
Plugin.GetListCacheKey = GetListCacheKey;
|
|
7485
7494
|
function Get(params) {
|
|
7486
7495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7487
7496
|
const { api, pluginId, req } = params;
|
|
@@ -7507,7 +7516,7 @@ var Plugin;
|
|
|
7507
7516
|
return prom;
|
|
7508
7517
|
});
|
|
7509
7518
|
}
|
|
7510
|
-
Plugin
|
|
7519
|
+
Plugin.Get = Get;
|
|
7511
7520
|
function GetList(params) {
|
|
7512
7521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7513
7522
|
const { api, req } = params;
|
|
@@ -7530,7 +7539,7 @@ var Plugin;
|
|
|
7530
7539
|
return prom;
|
|
7531
7540
|
});
|
|
7532
7541
|
}
|
|
7533
|
-
Plugin
|
|
7542
|
+
Plugin.GetList = GetList;
|
|
7534
7543
|
function GetLoadUrl(params) {
|
|
7535
7544
|
let { api, pluginId, req, cacheKey } = params;
|
|
7536
7545
|
if (!cacheKey) {
|
|
@@ -7540,7 +7549,7 @@ var Plugin;
|
|
|
7540
7549
|
indexFileUrl: `${api.GetBaseUrl()}ui.plugin/${pluginId}/file/index.jsc?version=${cacheKey}`
|
|
7541
7550
|
};
|
|
7542
7551
|
}
|
|
7543
|
-
Plugin
|
|
7552
|
+
Plugin.GetLoadUrl = GetLoadUrl;
|
|
7544
7553
|
})(Plugin || (Plugin = {}));
|
|
7545
7554
|
|
|
7546
7555
|
export { AnnDocument, CustomForm, CustomFormContent, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, MessageBroker, Style, Tileset, Permission, Session, UserGroup, User, Account, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin };
|