bruce-models 3.3.7 → 3.3.9
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 +33 -33
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +33 -33
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/plugin/plugin.js +32 -32
- package/dist/lib/project/project-view.js.map +1 -1
- package/dist/lib/style/style.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/project/project-view.d.ts +1 -0
- package/dist/types/style/style.d.ts +7 -6
- package/package.json +78 -78
package/dist/bruce-models.es5.js
CHANGED
|
@@ -10495,40 +10495,40 @@ var Plugin;
|
|
|
10495
10495
|
window[paramsId] = pluginParams ? pluginParams : {};
|
|
10496
10496
|
const disposeId = ObjectUtils.UId();
|
|
10497
10497
|
const elementId = ObjectUtils.UId();
|
|
10498
|
-
let script = `
|
|
10499
|
-
function run() {
|
|
10500
|
-
${fileContent}
|
|
10501
|
-
|
|
10502
|
-
const paramsId = "${paramsId}";
|
|
10503
|
-
const containerId = "${containerId}";
|
|
10504
|
-
let container;
|
|
10505
|
-
if (containerId) {
|
|
10506
|
-
container = document.getElementById("${containerId}");
|
|
10507
|
-
}
|
|
10508
|
-
|
|
10509
|
-
let pluginHTML = null;
|
|
10510
|
-
if (container) {
|
|
10511
|
-
pluginHTML = document.createElement("div");
|
|
10512
|
-
pluginHTML.id = "${elementId}";
|
|
10513
|
-
container.appendChild(pluginHTML);
|
|
10514
|
-
}
|
|
10515
|
-
|
|
10516
|
-
{TEMPLATE_CODE}
|
|
10517
|
-
const params = window["${paramsId}"];
|
|
10518
|
-
|
|
10519
|
-
window["${disposeId}"] = Run({
|
|
10520
|
-
element: pluginHTML,
|
|
10521
|
-
container: container,
|
|
10522
|
-
pluginParams: params
|
|
10523
|
-
});
|
|
10524
|
-
}
|
|
10525
|
-
run();
|
|
10498
|
+
let script = `
|
|
10499
|
+
function run() {
|
|
10500
|
+
${fileContent}
|
|
10501
|
+
|
|
10502
|
+
const paramsId = "${paramsId}";
|
|
10503
|
+
const containerId = "${containerId}";
|
|
10504
|
+
let container;
|
|
10505
|
+
if (containerId) {
|
|
10506
|
+
container = document.getElementById("${containerId}");
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
let pluginHTML = null;
|
|
10510
|
+
if (container) {
|
|
10511
|
+
pluginHTML = document.createElement("div");
|
|
10512
|
+
pluginHTML.id = "${elementId}";
|
|
10513
|
+
container.appendChild(pluginHTML);
|
|
10514
|
+
}
|
|
10515
|
+
|
|
10516
|
+
{TEMPLATE_CODE}
|
|
10517
|
+
const params = window["${paramsId}"];
|
|
10518
|
+
|
|
10519
|
+
window["${disposeId}"] = Run({
|
|
10520
|
+
element: pluginHTML,
|
|
10521
|
+
container: container,
|
|
10522
|
+
pluginParams: params
|
|
10523
|
+
});
|
|
10524
|
+
}
|
|
10525
|
+
run();
|
|
10526
10526
|
`;
|
|
10527
10527
|
if (script.includes("var template")) {
|
|
10528
|
-
script = script.replace("{TEMPLATE_CODE}", `
|
|
10529
|
-
if (pluginHTML && template) {
|
|
10530
|
-
pluginHTML.innerHTML = template;
|
|
10531
|
-
}
|
|
10528
|
+
script = script.replace("{TEMPLATE_CODE}", `
|
|
10529
|
+
if (pluginHTML && template) {
|
|
10530
|
+
pluginHTML.innerHTML = template;
|
|
10531
|
+
}
|
|
10532
10532
|
`);
|
|
10533
10533
|
}
|
|
10534
10534
|
else {
|
|
@@ -10708,7 +10708,7 @@ var DataSource;
|
|
|
10708
10708
|
DataSource.GetList = GetList;
|
|
10709
10709
|
})(DataSource || (DataSource = {}));
|
|
10710
10710
|
|
|
10711
|
-
const VERSION = "3.3.
|
|
10711
|
+
const VERSION = "3.3.9";
|
|
10712
10712
|
|
|
10713
10713
|
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, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
|
|
10714
10714
|
//# sourceMappingURL=bruce-models.es5.js.map
|