@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.cjs
CHANGED
|
@@ -13044,19 +13044,20 @@ class FormEditor {
|
|
|
13044
13044
|
*/
|
|
13045
13045
|
_createInjector(options, container) {
|
|
13046
13046
|
const {
|
|
13047
|
-
additionalModules = [],
|
|
13048
13047
|
modules = this._getModules(),
|
|
13049
|
-
|
|
13048
|
+
additionalModules = [],
|
|
13049
|
+
renderer = {},
|
|
13050
|
+
...config
|
|
13050
13051
|
} = options;
|
|
13051
|
-
const
|
|
13052
|
-
...
|
|
13052
|
+
const enrichedConfig = {
|
|
13053
|
+
...config,
|
|
13053
13054
|
renderer: {
|
|
13054
13055
|
...renderer,
|
|
13055
13056
|
container
|
|
13056
13057
|
}
|
|
13057
13058
|
};
|
|
13058
13059
|
return formJsViewer.createInjector([{
|
|
13059
|
-
config: ['value',
|
|
13060
|
+
config: ['value', enrichedConfig]
|
|
13060
13061
|
}, {
|
|
13061
13062
|
formEditor: ['value', this]
|
|
13062
13063
|
}, core, ...modules, ...additionalModules]);
|