bruce-models 5.3.8 → 5.3.9

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.
@@ -1474,7 +1474,7 @@ class ApiGetters {
1474
1474
  this.bruce[key] = new BruceApi.Api({
1475
1475
  accountId,
1476
1476
  env,
1477
- loadConfig: loadConfig != null ? true : loadConfig,
1477
+ loadConfig: loadConfig == null ? true : loadConfig,
1478
1478
  loadWebSocket: loadWebSocket,
1479
1479
  guardian: this.GetGuardianApi({
1480
1480
  env
@@ -14318,7 +14318,8 @@ var Plugin;
14318
14318
  url: `ui.plugin/${pluginId}/file/index.jsc`,
14319
14319
  urlParams: {
14320
14320
  "version": String(cacheKey)
14321
- }
14321
+ },
14322
+ cdn: true
14322
14323
  })
14323
14324
  };
14324
14325
  }
@@ -14404,6 +14405,12 @@ var Plugin;
14404
14405
  function GetRunFunction(params) {
14405
14406
  return __awaiter(this, void 0, void 0, function* () {
14406
14407
  let { containerId, container, pluginParams, pluginId, plugin, api, req } = params;
14408
+ if (!api) {
14409
+ api = ENVIRONMENT.Api().GetBruceApi({
14410
+ loadConfig: true
14411
+ });
14412
+ }
14413
+ yield api.Loading;
14407
14414
  if (!containerId && container) {
14408
14415
  containerId = container.id;
14409
14416
  if (!containerId) {
@@ -14730,7 +14737,7 @@ var DataSource;
14730
14737
  })(DataSource || (DataSource = {}));
14731
14738
 
14732
14739
  // This is updated with the package.json version on build.
14733
- const VERSION = "5.3.8";
14740
+ const VERSION = "5.3.9";
14734
14741
 
14735
14742
  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
14743
  //# sourceMappingURL=bruce-models.es5.js.map