@colijnit/corecomponents_v12 255.1.19 → 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.
@@ -1953,6 +1953,12 @@ class BaseInputComponent {
1953
1953
  get maxLength() {
1954
1954
  return notNill(this.forcedMaxLength) ? this.forcedMaxLength : this._maxLength;
1955
1955
  }
1956
+ set defaultValue(defaultValue) {
1957
+ this._defaultValue = defaultValue;
1958
+ }
1959
+ get defaultValue() {
1960
+ return this._defaultValue;
1961
+ }
1956
1962
  set readonly(readonly) {
1957
1963
  if (this._forceReadonly !== undefined || readonly === this._readonly) {
1958
1964
  return;
@@ -2584,6 +2590,7 @@ BaseInputComponent.propDecorators = {
2584
2590
  businessObjectId: [{ type: Input }],
2585
2591
  disabled: [{ type: Input }],
2586
2592
  maxLength: [{ type: Input }],
2593
+ defaultValue: [{ type: Input }],
2587
2594
  forcedMaxLength: [{ type: Input }],
2588
2595
  readonly: [{ type: Input }],
2589
2596
  forceReadonly: [{ type: Input }],
@@ -11303,7 +11310,6 @@ ListOfValuesModule.decorators = [
11303
11310
  OverlayModule,
11304
11311
  ClickoutsideModule,
11305
11312
  IconModule,
11306
- InputTextModule,
11307
11313
  InputSearchModule
11308
11314
  ],
11309
11315
  declarations: [
@@ -13279,7 +13285,7 @@ class BaseModuleScreenConfigService {
13279
13285
  }
13280
13286
  getDefaultValue(configName) {
13281
13287
  const objectConfig = this._objectConfigsMap.get(configName);
13282
- return objectConfig ? objectConfig.getDefaultValue() : undefined;
13288
+ return objectConfig ? objectConfig.defaultValue : undefined;
13283
13289
  }
13284
13290
  getDefaultStringValue(configName) {
13285
13291
  const objectConfig = this._objectConfigsMap.get(configName);
@@ -13496,6 +13502,7 @@ class ScreenConfigurationDirective {
13496
13502
  this.hostComponent.readonly = this.hostComponent.forceReadonly || this._moduleInReadonlyMode() || myCfgObj.isReadonly();
13497
13503
  this.hostComponent.decimals = myCfgObj.scale;
13498
13504
  this.hostComponent.maxLength = myCfgObj.maxLength;
13505
+ this.hostComponent.defaultValue = myCfgObj.defaultValue;
13499
13506
  if ('configObject' in this.hostComponent) {
13500
13507
  this.hostComponent.configObject = myCfgObj;
13501
13508
  }