@vendure/admin-ui 1.4.1 → 1.4.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.
@@ -3343,7 +3343,7 @@
3343
3343
  };
3344
3344
  AppComponent.prototype.handleGlobalHotkeys = function (event) {
3345
3345
  var _this = this;
3346
- if (event.ctrlKey === true && event.key === 'u') {
3346
+ if ((event.ctrlKey === true || event.metaKey === true) && event.key === 'u') {
3347
3347
  event.preventDefault();
3348
3348
  if (i0.isDevMode()) {
3349
3349
  this.dataService.client
@@ -11949,7 +11949,7 @@
11949
11949
  };
11950
11950
  DynamicFormInputComponent.prototype.updateBindings = function (changes, componentRef) {
11951
11951
  if ('def' in changes) {
11952
- componentRef.instance.config = this.isConfigArgDef(this.def) ? this.def.ui : this.def;
11952
+ componentRef.instance.config = simpleDeepClone.simpleDeepClone(this.def);
11953
11953
  }
11954
11954
  if ('readonly' in changes) {
11955
11955
  componentRef.instance.readonly = this.readonly;
@@ -11991,7 +11991,7 @@
11991
11991
  DynamicFormInputComponent.prototype.renderInputComponent = function (factory, viewContainerRef, formControl) {
11992
11992
  var componentRef = viewContainerRef.createComponent(factory);
11993
11993
  var instance = componentRef.instance;
11994
- instance.config = simpleDeepClone.simpleDeepClone(this.isConfigArgDef(this.def) ? this.def.ui : this.def);
11994
+ instance.config = simpleDeepClone.simpleDeepClone(this.def);
11995
11995
  instance.formControl = formControl;
11996
11996
  instance.readonly = this.readonly;
11997
11997
  componentRef.injector.get(i0.ChangeDetectorRef).markForCheck();
@@ -13985,7 +13985,7 @@
13985
13985
  }
13986
13986
 
13987
13987
  // Auto-generated by the set-version.js script.
13988
- var ADMIN_UI_VERSION = '1.4.1';
13988
+ var ADMIN_UI_VERSION = '1.4.2';
13989
13989
 
13990
13990
  /**
13991
13991
  * Responsible for registering dashboard widget components and querying for layouts.