bruce-models 3.3.7 → 3.3.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/lib/project/project-view.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/project/project-view.d.ts +1 -0
- package/package.json +78 -78
package/dist/bruce-models.umd.js
CHANGED
|
@@ -10243,40 +10243,40 @@
|
|
|
10243
10243
|
window[paramsId] = pluginParams ? pluginParams : {};
|
|
10244
10244
|
const disposeId = exports.ObjectUtils.UId();
|
|
10245
10245
|
const elementId = exports.ObjectUtils.UId();
|
|
10246
|
-
let script = `
|
|
10247
|
-
function run() {
|
|
10248
|
-
${fileContent}
|
|
10249
|
-
|
|
10250
|
-
const paramsId = "${paramsId}";
|
|
10251
|
-
const containerId = "${containerId}";
|
|
10252
|
-
let container;
|
|
10253
|
-
if (containerId) {
|
|
10254
|
-
container = document.getElementById("${containerId}");
|
|
10255
|
-
}
|
|
10256
|
-
|
|
10257
|
-
let pluginHTML = null;
|
|
10258
|
-
if (container) {
|
|
10259
|
-
pluginHTML = document.createElement("div");
|
|
10260
|
-
pluginHTML.id = "${elementId}";
|
|
10261
|
-
container.appendChild(pluginHTML);
|
|
10262
|
-
}
|
|
10263
|
-
|
|
10264
|
-
{TEMPLATE_CODE}
|
|
10265
|
-
const params = window["${paramsId}"];
|
|
10266
|
-
|
|
10267
|
-
window["${disposeId}"] = Run({
|
|
10268
|
-
element: pluginHTML,
|
|
10269
|
-
container: container,
|
|
10270
|
-
pluginParams: params
|
|
10271
|
-
});
|
|
10272
|
-
}
|
|
10273
|
-
run();
|
|
10246
|
+
let script = `
|
|
10247
|
+
function run() {
|
|
10248
|
+
${fileContent}
|
|
10249
|
+
|
|
10250
|
+
const paramsId = "${paramsId}";
|
|
10251
|
+
const containerId = "${containerId}";
|
|
10252
|
+
let container;
|
|
10253
|
+
if (containerId) {
|
|
10254
|
+
container = document.getElementById("${containerId}");
|
|
10255
|
+
}
|
|
10256
|
+
|
|
10257
|
+
let pluginHTML = null;
|
|
10258
|
+
if (container) {
|
|
10259
|
+
pluginHTML = document.createElement("div");
|
|
10260
|
+
pluginHTML.id = "${elementId}";
|
|
10261
|
+
container.appendChild(pluginHTML);
|
|
10262
|
+
}
|
|
10263
|
+
|
|
10264
|
+
{TEMPLATE_CODE}
|
|
10265
|
+
const params = window["${paramsId}"];
|
|
10266
|
+
|
|
10267
|
+
window["${disposeId}"] = Run({
|
|
10268
|
+
element: pluginHTML,
|
|
10269
|
+
container: container,
|
|
10270
|
+
pluginParams: params
|
|
10271
|
+
});
|
|
10272
|
+
}
|
|
10273
|
+
run();
|
|
10274
10274
|
`;
|
|
10275
10275
|
if (script.includes("var template")) {
|
|
10276
|
-
script = script.replace("{TEMPLATE_CODE}", `
|
|
10277
|
-
if (pluginHTML && template) {
|
|
10278
|
-
pluginHTML.innerHTML = template;
|
|
10279
|
-
}
|
|
10276
|
+
script = script.replace("{TEMPLATE_CODE}", `
|
|
10277
|
+
if (pluginHTML && template) {
|
|
10278
|
+
pluginHTML.innerHTML = template;
|
|
10279
|
+
}
|
|
10280
10280
|
`);
|
|
10281
10281
|
}
|
|
10282
10282
|
else {
|
|
@@ -10455,7 +10455,7 @@
|
|
|
10455
10455
|
DataSource.GetList = GetList;
|
|
10456
10456
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
10457
10457
|
|
|
10458
|
-
const VERSION = "3.3.
|
|
10458
|
+
const VERSION = "3.3.8";
|
|
10459
10459
|
|
|
10460
10460
|
exports.VERSION = VERSION;
|
|
10461
10461
|
exports.AbstractApi = AbstractApi;
|