eligius 1.0.15 → 1.0.16

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.
@@ -3323,9 +3323,9 @@ var TimelineProvidersSettingsEditor = /*#__PURE__*/function () {
3323
3323
  }
3324
3324
 
3325
3325
  var settings = {
3326
- id: '',
3327
- poster: '',
3328
- selector: '',
3326
+ id: v4(),
3327
+ poster: undefined,
3328
+ selector: undefined,
3329
3329
  systemName: '',
3330
3330
  vendor: ''
3331
3331
  };
@@ -3397,6 +3397,20 @@ var ConfigurationFactory = /*#__PURE__*/function () {
3397
3397
  this.actionCreatorFactory = new ActionCreatorFactory(this);
3398
3398
  }
3399
3399
 
3400
+ ConfigurationFactory.extend = function extend(factory, extensionMethodName, extensionMethod) {
3401
+ factory[extensionMethodName] = extensionMethod.bind(factory);
3402
+ return factory;
3403
+ };
3404
+
3405
+ ConfigurationFactory.extendMultiple = function extendMultiple(factory, extensions) {
3406
+ Object.entries(extensions).forEach(function (_ref) {
3407
+ var name = _ref[0],
3408
+ method = _ref[1];
3409
+ return ConfigurationFactory.extend(factory, name, method);
3410
+ });
3411
+ return factory;
3412
+ };
3413
+
3400
3414
  var _proto = ConfigurationFactory.prototype;
3401
3415
 
3402
3416
  _proto.init = function init(defaultLanguage) {
@@ -3613,7 +3627,7 @@ var ConfigurationFactory = /*#__PURE__*/function () {
3613
3627
  });
3614
3628
 
3615
3629
  if (actionConfig) {
3616
- return new ActionEditor(actionConfig, this);
3630
+ return new EndableActionEditor(actionConfig, this);
3617
3631
  }
3618
3632
 
3619
3633
  throw new Error("Action not found for id " + id);