bruce-models 7.0.8 → 7.0.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.
- package/dist/bruce-models.es5.js +22 -5
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +22 -5
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/tileset/tileset.js +21 -4
- package/dist/lib/tileset/tileset.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/tileset/tileset.d.ts +7 -3
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -10312,7 +10312,7 @@ var Tileset;
|
|
|
10312
10312
|
*/
|
|
10313
10313
|
function GetList(params) {
|
|
10314
10314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10315
|
-
let { api, req: reqParams, assertLocation, expandSettings, type, pageIndex, pageSize, search, orderBy, sortOrder, tilesetIds } = params;
|
|
10315
|
+
let { api, req: reqParams, entityIds, entityTypeIds, assertLocation, expandSettings, type, pageIndex, pageSize, search, orderBy, sortOrder, tilesetIds } = params;
|
|
10316
10316
|
if (!api) {
|
|
10317
10317
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
10318
10318
|
}
|
|
@@ -10324,6 +10324,8 @@ var Tileset;
|
|
|
10324
10324
|
type: type,
|
|
10325
10325
|
orderBy: orderBy,
|
|
10326
10326
|
sortOrder: sortOrder,
|
|
10327
|
+
entityIds: entityIds,
|
|
10328
|
+
entityTypeIds: entityTypeIds,
|
|
10327
10329
|
search: search
|
|
10328
10330
|
});
|
|
10329
10331
|
}
|
|
@@ -10341,7 +10343,7 @@ var Tileset;
|
|
|
10341
10343
|
urlParams.append("assertLocation", "true");
|
|
10342
10344
|
}
|
|
10343
10345
|
if (type) {
|
|
10344
|
-
urlParams.append("type", type);
|
|
10346
|
+
urlParams.append("type", Array.isArray(type) ? type.join(",") : String(type));
|
|
10345
10347
|
}
|
|
10346
10348
|
if (search) {
|
|
10347
10349
|
urlParams.append("Search", search);
|
|
@@ -10361,6 +10363,12 @@ var Tileset;
|
|
|
10361
10363
|
if (tilesetIds === null || tilesetIds === void 0 ? void 0 : tilesetIds.length) {
|
|
10362
10364
|
urlParams.append("ID", tilesetIds.join(","));
|
|
10363
10365
|
}
|
|
10366
|
+
if (entityIds === null || entityIds === void 0 ? void 0 : entityIds.length) {
|
|
10367
|
+
urlParams.append("EntityID", entityIds.join(","));
|
|
10368
|
+
}
|
|
10369
|
+
if (entityTypeIds === null || entityTypeIds === void 0 ? void 0 : entityTypeIds.length) {
|
|
10370
|
+
urlParams.append("EntityTypeID", entityTypeIds.join(","));
|
|
10371
|
+
}
|
|
10364
10372
|
const data = yield api.GET("tileset/getList?" + urlParams.toString(), reqParams);
|
|
10365
10373
|
// Convert legacy records.
|
|
10366
10374
|
// Commented out because it spams :)
|
|
@@ -10949,7 +10957,7 @@ var Tileset;
|
|
|
10949
10957
|
if (!params) {
|
|
10950
10958
|
params = {};
|
|
10951
10959
|
}
|
|
10952
|
-
let { expandSettings, assertLocation, type, orderBy, search, sortOrder } = params;
|
|
10960
|
+
let { expandSettings, assertLocation, type, orderBy, search, sortOrder, entityIds, entityTypeIds } = params;
|
|
10953
10961
|
if (expandSettings == null) {
|
|
10954
10962
|
expandSettings = false;
|
|
10955
10963
|
}
|
|
@@ -10962,7 +10970,16 @@ var Tileset;
|
|
|
10962
10970
|
if (!orderBy) {
|
|
10963
10971
|
orderBy = "";
|
|
10964
10972
|
}
|
|
10965
|
-
|
|
10973
|
+
if (!entityIds) {
|
|
10974
|
+
entityIds = [];
|
|
10975
|
+
}
|
|
10976
|
+
if (!entityTypeIds) {
|
|
10977
|
+
entityTypeIds = [];
|
|
10978
|
+
}
|
|
10979
|
+
let key = Api.ECacheKey.Tileset + String(expandSettings) + String(assertLocation) + (type ? type : "") + String(orderBy) + String(sortOrder) + Api.ECacheKey.Id + search;
|
|
10980
|
+
key += Api.ECacheKey.Id + entityIds.join(",");
|
|
10981
|
+
key += Api.ECacheKey.Id + entityTypeIds.join(",");
|
|
10982
|
+
return key;
|
|
10966
10983
|
}
|
|
10967
10984
|
Tileset$$1.GetListCacheKey = GetListCacheKey;
|
|
10968
10985
|
})(Tileset || (Tileset = {}));
|
|
@@ -17030,7 +17047,7 @@ class NavigatorMcpWebSocketClient {
|
|
|
17030
17047
|
}
|
|
17031
17048
|
|
|
17032
17049
|
// This is updated with the package.json version on build.
|
|
17033
|
-
const VERSION = "7.0.
|
|
17050
|
+
const VERSION = "7.0.9";
|
|
17034
17051
|
|
|
17035
17052
|
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, UserMfaMethod, 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, NavigatorChatClient, NavigatorMcpWebSocketClient };
|
|
17036
17053
|
//# sourceMappingURL=bruce-models.es5.js.map
|