@bpmn-io/form-js-editor 1.6.1 → 1.6.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/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +6 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -13024,19 +13024,20 @@ class FormEditor {
|
|
|
13024
13024
|
*/
|
|
13025
13025
|
_createInjector(options, container) {
|
|
13026
13026
|
const {
|
|
13027
|
-
additionalModules = [],
|
|
13028
13027
|
modules = this._getModules(),
|
|
13029
|
-
|
|
13028
|
+
additionalModules = [],
|
|
13029
|
+
renderer = {},
|
|
13030
|
+
...config
|
|
13030
13031
|
} = options;
|
|
13031
|
-
const
|
|
13032
|
-
...
|
|
13032
|
+
const enrichedConfig = {
|
|
13033
|
+
...config,
|
|
13033
13034
|
renderer: {
|
|
13034
13035
|
...renderer,
|
|
13035
13036
|
container
|
|
13036
13037
|
}
|
|
13037
13038
|
};
|
|
13038
13039
|
return createInjector([{
|
|
13039
|
-
config: ['value',
|
|
13040
|
+
config: ['value', enrichedConfig]
|
|
13040
13041
|
}, {
|
|
13041
13042
|
formEditor: ['value', this]
|
|
13042
13043
|
}, core, ...modules, ...additionalModules]);
|