@colijnit/corecomponents_v12 255.1.18 → 255.1.20

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.
@@ -2356,6 +2356,16 @@
2356
2356
  enumerable: false,
2357
2357
  configurable: true
2358
2358
  });
2359
+ Object.defineProperty(BaseInputComponent.prototype, "defaultValue", {
2360
+ get: function () {
2361
+ return this._defaultValue;
2362
+ },
2363
+ set: function (defaultValue) {
2364
+ this._defaultValue = defaultValue;
2365
+ },
2366
+ enumerable: false,
2367
+ configurable: true
2368
+ });
2359
2369
  Object.defineProperty(BaseInputComponent.prototype, "readonly", {
2360
2370
  get: function () {
2361
2371
  return this.forceReadonly || this._readonly;
@@ -3125,6 +3135,7 @@
3125
3135
  businessObjectId: [{ type: i0.Input }],
3126
3136
  disabled: [{ type: i0.Input }],
3127
3137
  maxLength: [{ type: i0.Input }],
3138
+ defaultValue: [{ type: i0.Input }],
3128
3139
  forcedMaxLength: [{ type: i0.Input }],
3129
3140
  readonly: [{ type: i0.Input }],
3130
3141
  forceReadonly: [{ type: i0.Input }],
@@ -11817,7 +11828,6 @@
11817
11828
  OverlayModule,
11818
11829
  ClickoutsideModule,
11819
11830
  IconModule,
11820
- InputTextModule,
11821
11831
  InputSearchModule
11822
11832
  ],
11823
11833
  declarations: [
@@ -13651,7 +13661,7 @@
13651
13661
  };
13652
13662
  BaseModuleScreenConfigService.prototype.getDefaultValue = function (configName) {
13653
13663
  var objectConfig = this._objectConfigsMap.get(configName);
13654
- return objectConfig ? objectConfig.getDefaultValue() : undefined;
13664
+ return objectConfig ? objectConfig.defaultValue : undefined;
13655
13665
  };
13656
13666
  BaseModuleScreenConfigService.prototype.getDefaultStringValue = function (configName) {
13657
13667
  var objectConfig = this._objectConfigsMap.get(configName);
@@ -13888,6 +13898,7 @@
13888
13898
  this.hostComponent.readonly = this.hostComponent.forceReadonly || this._moduleInReadonlyMode() || myCfgObj.isReadonly();
13889
13899
  this.hostComponent.decimals = myCfgObj.scale;
13890
13900
  this.hostComponent.maxLength = myCfgObj.maxLength;
13901
+ this.hostComponent.defaultValue = myCfgObj.defaultValue;
13891
13902
  if ('configObject' in this.hostComponent) {
13892
13903
  this.hostComponent.configObject = myCfgObj;
13893
13904
  }