bruce-models 6.6.0 → 6.6.1
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 +24 -6
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +24 -6
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/tileset/tileset.js +23 -5
- 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 +5 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -10069,14 +10069,17 @@ var Tileset;
|
|
|
10069
10069
|
*/
|
|
10070
10070
|
function GetList(params) {
|
|
10071
10071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10072
|
-
let { api, req: reqParams, assertLocation, expandSettings, type, pageIndex, pageSize, search } = params;
|
|
10072
|
+
let { api, req: reqParams, assertLocation, expandSettings, type, pageIndex, pageSize, search, orderBy, sortOrder } = params;
|
|
10073
10073
|
if (!api) {
|
|
10074
10074
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
10075
10075
|
}
|
|
10076
10076
|
const cache = pageSize ? null : api.GetCacheItem(GetListCacheKey({
|
|
10077
10077
|
assertLocation: assertLocation,
|
|
10078
10078
|
expandSettings: expandSettings,
|
|
10079
|
-
type: type
|
|
10079
|
+
type: type,
|
|
10080
|
+
orderBy: orderBy,
|
|
10081
|
+
sortOrder: sortOrder,
|
|
10082
|
+
search: search
|
|
10080
10083
|
}), reqParams);
|
|
10081
10084
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
10082
10085
|
return cache.data;
|
|
@@ -10102,6 +10105,12 @@ var Tileset;
|
|
|
10102
10105
|
if (pageIndex != null) {
|
|
10103
10106
|
urlParams.append("PageIndex", String(pageIndex));
|
|
10104
10107
|
}
|
|
10108
|
+
if (orderBy) {
|
|
10109
|
+
urlParams.append("OrderBy", orderBy);
|
|
10110
|
+
}
|
|
10111
|
+
if (sortOrder) {
|
|
10112
|
+
urlParams.append("SortOrder", sortOrder);
|
|
10113
|
+
}
|
|
10105
10114
|
const data = yield api.GET("tileset/getList?" + urlParams.toString(), reqParams);
|
|
10106
10115
|
// Convert legacy records.
|
|
10107
10116
|
// Commented out because it spams :)
|
|
@@ -10127,7 +10136,10 @@ var Tileset;
|
|
|
10127
10136
|
key: GetListCacheKey({
|
|
10128
10137
|
assertLocation: assertLocation,
|
|
10129
10138
|
expandSettings: expandSettings,
|
|
10130
|
-
type: type
|
|
10139
|
+
type: type,
|
|
10140
|
+
orderBy: orderBy,
|
|
10141
|
+
sortOrder: sortOrder,
|
|
10142
|
+
search: search
|
|
10131
10143
|
}),
|
|
10132
10144
|
value: req,
|
|
10133
10145
|
req: reqParams
|
|
@@ -10694,14 +10706,20 @@ var Tileset;
|
|
|
10694
10706
|
if (!params) {
|
|
10695
10707
|
params = {};
|
|
10696
10708
|
}
|
|
10697
|
-
let { expandSettings, assertLocation, type } = params;
|
|
10709
|
+
let { expandSettings, assertLocation, type, orderBy, search, sortOrder } = params;
|
|
10698
10710
|
if (expandSettings == null) {
|
|
10699
10711
|
expandSettings = false;
|
|
10700
10712
|
}
|
|
10701
10713
|
if (assertLocation == null) {
|
|
10702
10714
|
assertLocation = false;
|
|
10703
10715
|
}
|
|
10704
|
-
|
|
10716
|
+
if (!search) {
|
|
10717
|
+
search = "";
|
|
10718
|
+
}
|
|
10719
|
+
if (!orderBy) {
|
|
10720
|
+
orderBy = "";
|
|
10721
|
+
}
|
|
10722
|
+
return Api.ECacheKey.Tileset + String(expandSettings) + String(assertLocation) + (type ? type : "") + String(orderBy) + String(sortOrder) + Api.ECacheKey.Id + search;
|
|
10705
10723
|
}
|
|
10706
10724
|
Tileset$$1.GetListCacheKey = GetListCacheKey;
|
|
10707
10725
|
})(Tileset || (Tileset = {}));
|
|
@@ -16375,7 +16393,7 @@ var Tracking;
|
|
|
16375
16393
|
})(Tracking || (Tracking = {}));
|
|
16376
16394
|
|
|
16377
16395
|
// This is updated with the package.json version on build.
|
|
16378
|
-
const VERSION = "6.6.
|
|
16396
|
+
const VERSION = "6.6.1";
|
|
16379
16397
|
|
|
16380
16398
|
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 };
|
|
16381
16399
|
//# sourceMappingURL=bruce-models.es5.js.map
|