bruce-models 6.4.5 → 6.4.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 +9 -9
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +9 -9
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/data-lab/data-lab-group.js.map +1 -1
- package/dist/lib/data-lab/data-lab.js +2 -2
- package/dist/lib/data-lab/data-lab.js.map +1 -1
- package/dist/lib/markup/markup.js.map +1 -1
- package/dist/lib/project/menu-item.js.map +1 -1
- package/dist/lib/project/project-view-bookmark.js.map +1 -1
- package/dist/lib/project/zoom-control.js.map +1 -1
- package/dist/lib/style/style.js +6 -6
- package/dist/lib/style/style.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/data-lab/data-lab-group.d.ts +1 -0
- package/dist/types/data-lab/data-lab.d.ts +2 -1
- package/dist/types/markup/markup.d.ts +7 -5
- package/dist/types/project/menu-item.d.ts +5 -5
- package/dist/types/project/project-view-bookmark.d.ts +18 -7
- package/dist/types/project/zoom-control.d.ts +1 -1
- package/dist/types/style/style.d.ts +3 -2
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -8353,20 +8353,20 @@ var Style;
|
|
|
8353
8353
|
*/
|
|
8354
8354
|
function Get(params) {
|
|
8355
8355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8356
|
-
let { api, styleId
|
|
8357
|
-
if (!
|
|
8358
|
-
throw ("
|
|
8356
|
+
let { api, styleId, req: reqParams } = params;
|
|
8357
|
+
if (!styleId) {
|
|
8358
|
+
throw ("styleId is required.");
|
|
8359
8359
|
}
|
|
8360
8360
|
if (!api) {
|
|
8361
8361
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
8362
8362
|
}
|
|
8363
|
-
const cache = api.GetCacheItem(GetCacheKey(
|
|
8363
|
+
const cache = api.GetCacheItem(GetCacheKey(styleId), reqParams);
|
|
8364
8364
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
8365
8365
|
return cache.data;
|
|
8366
8366
|
}
|
|
8367
8367
|
const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
|
|
8368
8368
|
try {
|
|
8369
|
-
const data = yield api.GET(`ui.entityDisplaySetting/${
|
|
8369
|
+
const data = yield api.GET(`ui.entityDisplaySetting/${styleId}`, Api.PrepReqParams(reqParams));
|
|
8370
8370
|
res({
|
|
8371
8371
|
style: data
|
|
8372
8372
|
});
|
|
@@ -8376,7 +8376,7 @@ var Style;
|
|
|
8376
8376
|
}
|
|
8377
8377
|
}));
|
|
8378
8378
|
api.SetCacheItem({
|
|
8379
|
-
key: GetCacheKey(
|
|
8379
|
+
key: GetCacheKey(styleId),
|
|
8380
8380
|
value: prom,
|
|
8381
8381
|
req: reqParams
|
|
8382
8382
|
});
|
|
@@ -14670,8 +14670,8 @@ var DataLab;
|
|
|
14670
14670
|
function Get(params) {
|
|
14671
14671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14672
14672
|
let { api, queryId, req } = params;
|
|
14673
|
-
if (!queryId
|
|
14674
|
-
throw new Error("queryId
|
|
14673
|
+
if (!queryId) {
|
|
14674
|
+
throw new Error("queryId must be provided.");
|
|
14675
14675
|
}
|
|
14676
14676
|
if (!api) {
|
|
14677
14677
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
@@ -16029,7 +16029,7 @@ var Tracking;
|
|
|
16029
16029
|
})(Tracking || (Tracking = {}));
|
|
16030
16030
|
|
|
16031
16031
|
// This is updated with the package.json version on build.
|
|
16032
|
-
const VERSION = "6.4.
|
|
16032
|
+
const VERSION = "6.4.7";
|
|
16033
16033
|
|
|
16034
16034
|
export { VERSION, Assembly, 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, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking };
|
|
16035
16035
|
//# sourceMappingURL=bruce-models.es5.js.map
|