bruce-models 7.1.121 → 7.1.123
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 +14 -4
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +14 -4
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/data-lab/data-lab.js.map +1 -1
- package/dist/lib/entity/entity-historic-data.js +13 -3
- package/dist/lib/entity/entity-historic-data.js.map +1 -1
- package/dist/lib/project/menu-item.js.map +1 -1
- package/dist/lib/project/zoom-control.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/data-lab/data-lab.d.ts +15 -1
- package/dist/types/entity/entity-historic-data.d.ts +1 -0
- package/dist/types/project/menu-item.d.ts +11 -0
- package/dist/types/project/zoom-control.d.ts +1 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -5625,7 +5625,8 @@ var EntityHistoricData;
|
|
|
5625
5625
|
location: bruce.Location,
|
|
5626
5626
|
transform: bruce.Transform,
|
|
5627
5627
|
boundaries: bruce.Boundaries,
|
|
5628
|
-
geometry: bruce.VectorGeometry
|
|
5628
|
+
geometry: bruce.VectorGeometry,
|
|
5629
|
+
assemblyPosition: bruce.AssemblyPosition
|
|
5629
5630
|
};
|
|
5630
5631
|
}
|
|
5631
5632
|
EntityHistoricData.ToDataRecord = ToDataRecord;
|
|
@@ -5640,9 +5641,18 @@ var EntityHistoricData;
|
|
|
5640
5641
|
if (!(entityIds === null || entityIds === void 0 ? void 0 : entityIds.length) && !entityTypeId) {
|
|
5641
5642
|
return { recordsByIds: {}, sample: 0 };
|
|
5642
5643
|
}
|
|
5643
|
-
|
|
5644
|
+
// A page counts records across every Entity asked about, so the first page alone can stop partway
|
|
5645
|
+
// through the range. Read to its end, unless the caller asked for a page or a sample.
|
|
5646
|
+
const readAll = !(params.sample > 0) && params.pageIndex == null && params.pageSize == null;
|
|
5647
|
+
const items = [];
|
|
5648
|
+
let page = yield GetPage(Object.assign(Object.assign({}, params), { pageSize: params.sample > 0 ? undefined : (params.pageSize || 1000) }));
|
|
5649
|
+
items.push(...page.items);
|
|
5650
|
+
while (readAll && !(page.sample > 0) && page.pageSize > 0 && page.items.length >= page.pageSize) {
|
|
5651
|
+
page = yield GetPage(Object.assign(Object.assign({}, params), { pageIndex: page.pageIndex + 1, pageSize: page.pageSize }));
|
|
5652
|
+
items.push(...page.items);
|
|
5653
|
+
}
|
|
5644
5654
|
const recordsByIds = {};
|
|
5645
|
-
for (const item of
|
|
5655
|
+
for (const item of items) {
|
|
5646
5656
|
const record = ToDataRecord(item);
|
|
5647
5657
|
if (!record.entityId) {
|
|
5648
5658
|
continue;
|
|
@@ -25588,7 +25598,7 @@ function getFirstWrappedArray(data, wrapperKeys) {
|
|
|
25588
25598
|
}
|
|
25589
25599
|
|
|
25590
25600
|
// This is updated with the package.json version on build.
|
|
25591
|
-
const VERSION = "7.1.
|
|
25601
|
+
const VERSION = "7.1.123";
|
|
25592
25602
|
|
|
25593
25603
|
export { VERSION, Account, AccountAudit, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, ClientFileFolder, ClientFileValueMap, Bounds, BruceEvent, BruceVariable, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, RequestLane, GeoJson, Geometry, LRUCache, UTC, CustomForm, DashboardView, DataFeed, DataLab, DataLabGroup, DataSource, DataTransform, Comment, Entity, EntityAttachment, EntityAttachmentType, EntityAttribute, EntityComment, EntityCoords, EntityHistoricData, EntityLink, EntityLod, EntityLodCategory, EntityRelation, EntityRelationType, EntitySource, EntityTableView, EntityTag, EntityType, EntityTypeRelation, EntityTypeSource, EntityTypeTrigger, Ontology, OntologyDocument, ENVIRONMENT, ExportBrz, ExportCsv, ExportNsx, ExportUsd, Hexbin, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportTif, ImportedFile, Uploader, Markup, UIMarkup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, PluginAiTool, ProgramKey, MenuItem, ProjectView, ProjectViewBookmark, ProjectViewBookmarkGroup, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewLegacyTile, ProjectViewTile, ZoomControl, Scenario, HostingLocation, MessageBroker, PendingAction, RecordChangeFeed, Style, Tileset, Tracking, Permission, Session, User, UserGroup, UserMfaMethod, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, WorkflowItem, WorkflowSchedule, WorkflowType, WorkflowItemType };
|
|
25594
25604
|
//# sourceMappingURL=bruce-models.es5.js.map
|