rete-angular-plugin 2.3.1 → 2.3.2
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/12/bundles/rete-angular-plugin-ng12.umd.js +5 -4
- package/12/bundles/rete-angular-plugin-ng12.umd.js.map +1 -1
- package/12/esm2015/core.js +6 -5
- package/12/fesm2015/rete-angular-plugin-ng12.js +5 -4
- package/12/fesm2015/rete-angular-plugin-ng12.js.map +1 -1
- package/13/esm2020/core.mjs +6 -5
- package/13/fesm2015/rete-angular-plugin-ng13.mjs +5 -4
- package/13/fesm2015/rete-angular-plugin-ng13.mjs.map +1 -1
- package/13/fesm2020/rete-angular-plugin-ng13.mjs +5 -4
- package/13/fesm2020/rete-angular-plugin-ng13.mjs.map +1 -1
- package/14/esm2020/core.mjs +6 -5
- package/14/fesm2015/rete-angular-plugin-ng14.mjs +5 -4
- package/14/fesm2015/rete-angular-plugin-ng14.mjs.map +1 -1
- package/14/fesm2020/rete-angular-plugin-ng14.mjs +5 -4
- package/14/fesm2020/rete-angular-plugin-ng14.mjs.map +1 -1
- package/15/esm2020/core.mjs +6 -5
- package/15/fesm2015/rete-angular-plugin-ng15.mjs +5 -4
- package/15/fesm2015/rete-angular-plugin-ng15.mjs.map +1 -1
- package/15/fesm2020/rete-angular-plugin-ng15.mjs +5 -4
- package/15/fesm2020/rete-angular-plugin-ng15.mjs.map +1 -1
- package/16/esm2022/core.mjs +6 -5
- package/16/fesm2022/rete-angular-plugin-ng16.mjs +5 -4
- package/16/fesm2022/rete-angular-plugin-ng16.mjs.map +1 -1
- package/17/esm2022/core.mjs +6 -5
- package/17/fesm2022/rete-angular-plugin-ng17.mjs +5 -4
- package/17/fesm2022/rete-angular-plugin-ng17.mjs.map +1 -1
- package/18/esm2022/core.mjs +6 -5
- package/18/fesm2022/rete-angular-plugin-ng18.mjs +5 -4
- package/18/fesm2022/rete-angular-plugin-ng18.mjs.map +1 -1
- package/19/fesm2022/{rete-angular-plugin-ng18.mjs → rete-angular-plugin-ng19.mjs} +6 -5
- package/19/fesm2022/rete-angular-plugin-ng19.mjs.map +1 -0
- package/19/package.json +3 -3
- package/CHANGELOG.md +7 -0
- package/bundles/rete-angular-plugin.umd.js +5 -4
- package/bundles/rete-angular-plugin.umd.js.map +1 -1
- package/esm2015/core.js +6 -5
- package/fesm2015/rete-angular-plugin.js +5 -4
- package/fesm2015/rete-angular-plugin.js.map +1 -1
- package/package.json +1 -1
- package/rete-angular-plugin.metadata.json +1 -1
- package/19/fesm2022/rete-angular-plugin-ng18.mjs.map +0 -1
|
@@ -2120,11 +2120,12 @@
|
|
|
2120
2120
|
},
|
|
2121
2121
|
mount: function (element, key, component, injector, props) {
|
|
2122
2122
|
// LIMITATION: If an element is remounted with the same identifier, the component cannot be replaced
|
|
2123
|
-
var
|
|
2124
|
-
if (!
|
|
2125
|
-
|
|
2123
|
+
var CustomElement = customElements.get(key);
|
|
2124
|
+
if (!CustomElement) {
|
|
2125
|
+
CustomElement = elements.createCustomElement(component, { injector: injector });
|
|
2126
|
+
customElements.define(key, CustomElement);
|
|
2126
2127
|
}
|
|
2127
|
-
var ngElement =
|
|
2128
|
+
var ngElement = new CustomElement(injector);
|
|
2128
2129
|
Object.keys(props).forEach(function (key) {
|
|
2129
2130
|
ngElement[key] = props[key];
|
|
2130
2131
|
});
|