bruce-models 6.5.9 → 6.6.0
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 +23 -12
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +23 -12
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/client-file/client-file.js.map +1 -1
- package/dist/lib/tileset/tileset.js +22 -11
- package/dist/lib/tileset/tileset.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/client-file/client-file.d.ts +17 -0
- package/dist/types/tileset/tileset.d.ts +3 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -10069,11 +10069,11 @@ 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 } = params;
|
|
10072
|
+
let { api, req: reqParams, assertLocation, expandSettings, type, pageIndex, pageSize, search } = params;
|
|
10073
10073
|
if (!api) {
|
|
10074
10074
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
10075
10075
|
}
|
|
10076
|
-
const cache = api.GetCacheItem(GetListCacheKey({
|
|
10076
|
+
const cache = pageSize ? null : api.GetCacheItem(GetListCacheKey({
|
|
10077
10077
|
assertLocation: assertLocation,
|
|
10078
10078
|
expandSettings: expandSettings,
|
|
10079
10079
|
type: type
|
|
@@ -10093,6 +10093,15 @@ var Tileset;
|
|
|
10093
10093
|
if (type) {
|
|
10094
10094
|
urlParams.append("type", type);
|
|
10095
10095
|
}
|
|
10096
|
+
if (search) {
|
|
10097
|
+
urlParams.append("Search", search);
|
|
10098
|
+
}
|
|
10099
|
+
if (pageSize != null) {
|
|
10100
|
+
urlParams.append("PageSize", String(pageSize));
|
|
10101
|
+
}
|
|
10102
|
+
if (pageIndex != null) {
|
|
10103
|
+
urlParams.append("PageIndex", String(pageIndex));
|
|
10104
|
+
}
|
|
10096
10105
|
const data = yield api.GET("tileset/getList?" + urlParams.toString(), reqParams);
|
|
10097
10106
|
// Convert legacy records.
|
|
10098
10107
|
// Commented out because it spams :)
|
|
@@ -10113,15 +10122,17 @@ var Tileset;
|
|
|
10113
10122
|
rej(e);
|
|
10114
10123
|
}
|
|
10115
10124
|
}));
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
+
if (!pageSize) {
|
|
10126
|
+
api.SetCacheItem({
|
|
10127
|
+
key: GetListCacheKey({
|
|
10128
|
+
assertLocation: assertLocation,
|
|
10129
|
+
expandSettings: expandSettings,
|
|
10130
|
+
type: type
|
|
10131
|
+
}),
|
|
10132
|
+
value: req,
|
|
10133
|
+
req: reqParams
|
|
10134
|
+
});
|
|
10135
|
+
}
|
|
10125
10136
|
return req;
|
|
10126
10137
|
});
|
|
10127
10138
|
}
|
|
@@ -16364,7 +16375,7 @@ var Tracking;
|
|
|
16364
16375
|
})(Tracking || (Tracking = {}));
|
|
16365
16376
|
|
|
16366
16377
|
// This is updated with the package.json version on build.
|
|
16367
|
-
const VERSION = "6.
|
|
16378
|
+
const VERSION = "6.6.0";
|
|
16368
16379
|
|
|
16369
16380
|
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 };
|
|
16370
16381
|
//# sourceMappingURL=bruce-models.es5.js.map
|