bruce-models 3.0.7 → 3.0.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 +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/types/bruce-models.d.ts +1 -1
- package/dist/types/custom-form/custom-form-content.d.ts +1 -0
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -8996,40 +8996,40 @@ var Plugin;
|
|
|
8996
8996
|
window[paramsId] = pluginParams ? pluginParams : {};
|
|
8997
8997
|
const disposeId = ObjectUtils.UId();
|
|
8998
8998
|
const elementId = ObjectUtils.UId();
|
|
8999
|
-
let script = `
|
|
9000
|
-
function run() {
|
|
9001
|
-
${fileContent}
|
|
9002
|
-
|
|
9003
|
-
const paramsId = "${paramsId}";
|
|
9004
|
-
const containerId = "${containerId}";
|
|
9005
|
-
let container;
|
|
9006
|
-
if (containerId) {
|
|
9007
|
-
container = document.getElementById("${containerId}");
|
|
9008
|
-
}
|
|
9009
|
-
|
|
9010
|
-
let pluginHTML = null;
|
|
9011
|
-
if (container) {
|
|
9012
|
-
pluginHTML = document.createElement("div");
|
|
9013
|
-
pluginHTML.id = "${elementId}";
|
|
9014
|
-
container.appendChild(pluginHTML);
|
|
9015
|
-
}
|
|
9016
|
-
|
|
9017
|
-
{TEMPLATE_CODE}
|
|
9018
|
-
const params = window["${paramsId}"];
|
|
9019
|
-
|
|
9020
|
-
window["${disposeId}"] = Run({
|
|
9021
|
-
element: pluginHTML,
|
|
9022
|
-
container: container,
|
|
9023
|
-
pluginParams: params
|
|
9024
|
-
});
|
|
9025
|
-
}
|
|
9026
|
-
run();
|
|
8999
|
+
let script = `
|
|
9000
|
+
function run() {
|
|
9001
|
+
${fileContent}
|
|
9002
|
+
|
|
9003
|
+
const paramsId = "${paramsId}";
|
|
9004
|
+
const containerId = "${containerId}";
|
|
9005
|
+
let container;
|
|
9006
|
+
if (containerId) {
|
|
9007
|
+
container = document.getElementById("${containerId}");
|
|
9008
|
+
}
|
|
9009
|
+
|
|
9010
|
+
let pluginHTML = null;
|
|
9011
|
+
if (container) {
|
|
9012
|
+
pluginHTML = document.createElement("div");
|
|
9013
|
+
pluginHTML.id = "${elementId}";
|
|
9014
|
+
container.appendChild(pluginHTML);
|
|
9015
|
+
}
|
|
9016
|
+
|
|
9017
|
+
{TEMPLATE_CODE}
|
|
9018
|
+
const params = window["${paramsId}"];
|
|
9019
|
+
|
|
9020
|
+
window["${disposeId}"] = Run({
|
|
9021
|
+
element: pluginHTML,
|
|
9022
|
+
container: container,
|
|
9023
|
+
pluginParams: params
|
|
9024
|
+
});
|
|
9025
|
+
}
|
|
9026
|
+
run();
|
|
9027
9027
|
`;
|
|
9028
9028
|
if (script.includes("var template")) {
|
|
9029
|
-
script = script.replace("{TEMPLATE_CODE}", `
|
|
9030
|
-
if (pluginHTML && template) {
|
|
9031
|
-
pluginHTML.innerHTML = template;
|
|
9032
|
-
}
|
|
9029
|
+
script = script.replace("{TEMPLATE_CODE}", `
|
|
9030
|
+
if (pluginHTML && template) {
|
|
9031
|
+
pluginHTML.innerHTML = template;
|
|
9032
|
+
}
|
|
9033
9033
|
`);
|
|
9034
9034
|
}
|
|
9035
9035
|
else {
|
|
@@ -9168,7 +9168,7 @@ var DataSource;
|
|
|
9168
9168
|
DataSource.GetList = GetList;
|
|
9169
9169
|
})(DataSource || (DataSource = {}));
|
|
9170
9170
|
|
|
9171
|
-
const VERSION = "3.0.
|
|
9171
|
+
const VERSION = "3.0.8";
|
|
9172
9172
|
|
|
9173
9173
|
export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, CamApi, IdmApi, 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, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, 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 };
|
|
9174
9174
|
//# sourceMappingURL=bruce-models.es5.js.map
|