bruce-models 7.0.0 → 7.0.2
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 +15 -8
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +15 -8
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/style/style.js +14 -7
- package/dist/lib/style/style.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/style/style.d.ts +4 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -8590,11 +8590,11 @@ var Style;
|
|
|
8590
8590
|
*/
|
|
8591
8591
|
function GetList(params) {
|
|
8592
8592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8593
|
-
let { api, req: reqParams, pageIndex, pageSize, expandSettings } = params;
|
|
8593
|
+
let { api, req: reqParams, pageIndex, pageSize, expandSettings, type, search } = params;
|
|
8594
8594
|
if (!api) {
|
|
8595
8595
|
api = ENVIRONMENT.Api().GetBruceApi();
|
|
8596
8596
|
}
|
|
8597
|
-
const cache = api.GetCacheItem(GetListCacheKey(pageIndex, pageSize, expandSettings), reqParams);
|
|
8597
|
+
const cache = api.GetCacheItem(GetListCacheKey(pageIndex, pageSize, expandSettings, type, search), reqParams);
|
|
8598
8598
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
8599
8599
|
return cache.data;
|
|
8600
8600
|
}
|
|
@@ -8606,12 +8606,19 @@ var Style;
|
|
|
8606
8606
|
urlParams.append("PageSize", String(pageSize || 0));
|
|
8607
8607
|
}
|
|
8608
8608
|
if (expandSettings) {
|
|
8609
|
-
urlParams.append("
|
|
8609
|
+
urlParams.append("$expand", "settings");
|
|
8610
|
+
}
|
|
8611
|
+
if (type) {
|
|
8612
|
+
urlParams.append("Type", type);
|
|
8613
|
+
}
|
|
8614
|
+
if (search) {
|
|
8615
|
+
urlParams.append("Search", search);
|
|
8610
8616
|
}
|
|
8611
8617
|
const url = "ui.entityDisplaySettings" + `?${urlParams.toString()}`;
|
|
8612
8618
|
const data = yield api.GET(url, Api.PrepReqParams(reqParams));
|
|
8613
8619
|
res({
|
|
8614
|
-
styles: data.Items
|
|
8620
|
+
styles: data.Items,
|
|
8621
|
+
totalCount: data.TotalCount
|
|
8615
8622
|
});
|
|
8616
8623
|
}
|
|
8617
8624
|
catch (e) {
|
|
@@ -8619,7 +8626,7 @@ var Style;
|
|
|
8619
8626
|
}
|
|
8620
8627
|
}));
|
|
8621
8628
|
api.SetCacheItem({
|
|
8622
|
-
key: GetListCacheKey(pageIndex, pageSize, expandSettings),
|
|
8629
|
+
key: GetListCacheKey(pageIndex, pageSize, expandSettings, type, search),
|
|
8623
8630
|
value: res,
|
|
8624
8631
|
req: reqParams
|
|
8625
8632
|
});
|
|
@@ -8733,8 +8740,8 @@ var Style;
|
|
|
8733
8740
|
* }
|
|
8734
8741
|
* @returns
|
|
8735
8742
|
*/
|
|
8736
|
-
function GetListCacheKey(pageSize, pageIndex, expandSettings) {
|
|
8737
|
-
return Api.ECacheKey.Style + (pageIndex || 0) + "_" + (pageSize || 0) + "_" + (expandSettings ? 1 : 0);
|
|
8743
|
+
function GetListCacheKey(pageSize, pageIndex, expandSettings, type, search) {
|
|
8744
|
+
return Api.ECacheKey.Style + (pageIndex || 0) + "_" + (pageSize || 0) + "_" + (expandSettings ? 1 : 0) + "_" + (type || "") + "_" + (search || "");
|
|
8738
8745
|
}
|
|
8739
8746
|
Style.GetListCacheKey = GetListCacheKey;
|
|
8740
8747
|
})(Style || (Style = {}));
|
|
@@ -17008,7 +17015,7 @@ class NavigatorMcpWebSocketClient {
|
|
|
17008
17015
|
}
|
|
17009
17016
|
|
|
17010
17017
|
// This is updated with the package.json version on build.
|
|
17011
|
-
const VERSION = "7.0.
|
|
17018
|
+
const VERSION = "7.0.2";
|
|
17012
17019
|
|
|
17013
17020
|
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 };
|
|
17014
17021
|
//# sourceMappingURL=bruce-models.es5.js.map
|