bruce-models 5.1.3 → 5.1.4
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 +6 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +6 -2
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/plugin/plugin.js +5 -1
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -13937,6 +13937,7 @@
|
|
|
13937
13937
|
fileContent = fileContent.substring(start + 1, end);
|
|
13938
13938
|
const paramsId = exports.ObjectUtils.UId();
|
|
13939
13939
|
window[paramsId] = pluginParams ? pluginParams : {};
|
|
13940
|
+
window["PLUGIN_" + pluginId] = plugin;
|
|
13940
13941
|
const disposeId = exports.ObjectUtils.UId();
|
|
13941
13942
|
const elementId = exports.ObjectUtils.UId();
|
|
13942
13943
|
let script = `
|
|
@@ -13958,13 +13959,16 @@
|
|
|
13958
13959
|
}
|
|
13959
13960
|
|
|
13960
13961
|
{TEMPLATE_CODE}
|
|
13962
|
+
|
|
13961
13963
|
const params = window["${paramsId}"];
|
|
13964
|
+
const plugin = window["PLUGIN_${pluginId}"];
|
|
13962
13965
|
|
|
13963
13966
|
window["${disposeId}"] = Run({
|
|
13964
13967
|
element: pluginHTML,
|
|
13965
13968
|
container: container,
|
|
13966
13969
|
pluginParams: params,
|
|
13967
|
-
pluginId: "${pluginId}"
|
|
13970
|
+
pluginId: "${pluginId}",
|
|
13971
|
+
plugin: plugin
|
|
13968
13972
|
});
|
|
13969
13973
|
}
|
|
13970
13974
|
run();
|
|
@@ -14215,7 +14219,7 @@
|
|
|
14215
14219
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
14216
14220
|
|
|
14217
14221
|
// This is updated with the package.json version on build.
|
|
14218
|
-
const VERSION = "5.1.
|
|
14222
|
+
const VERSION = "5.1.4";
|
|
14219
14223
|
|
|
14220
14224
|
exports.VERSION = VERSION;
|
|
14221
14225
|
exports.AbstractApi = AbstractApi;
|