bruce-models 3.7.7 → 3.7.8
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 +8 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +8 -2
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/plugin/plugin.js +1 -4
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/lib/server/message-broker.js +1 -3
- package/dist/lib/server/message-broker.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -598,7 +598,7 @@ var MessageBroker;
|
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
formatApiUri(uri) {
|
|
601
|
-
const ws = "wss";
|
|
601
|
+
const ws = !window.document || window.document.location.protocol === "https:" ? "wss" : "ws";
|
|
602
602
|
return uri.replace(/^(https|http)/, ws) + "websocket";
|
|
603
603
|
}
|
|
604
604
|
onOpen(ev) {
|
|
@@ -10943,6 +10943,12 @@ var Plugin;
|
|
|
10943
10943
|
}
|
|
10944
10944
|
const callDispose = window[disposeId];
|
|
10945
10945
|
return () => {
|
|
10946
|
+
if (elementId) {
|
|
10947
|
+
const element = window.document.getElementById(elementId);
|
|
10948
|
+
if (element && element.parentElement) {
|
|
10949
|
+
element.parentElement.removeChild(element);
|
|
10950
|
+
}
|
|
10951
|
+
}
|
|
10946
10952
|
callDispose();
|
|
10947
10953
|
};
|
|
10948
10954
|
}
|
|
@@ -11137,7 +11143,7 @@ var DataSource;
|
|
|
11137
11143
|
})(DataSource || (DataSource = {}));
|
|
11138
11144
|
|
|
11139
11145
|
// This is updated with the package.json version on build.
|
|
11140
|
-
const VERSION = "3.7.
|
|
11146
|
+
const VERSION = "3.7.8";
|
|
11141
11147
|
|
|
11142
11148
|
export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
11143
11149
|
//# sourceMappingURL=bruce-models.es5.js.map
|