@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.
- package/bundles/colijnit-corecomponents_v12.umd.js +13 -2
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/base/base-input.component.js +8 -1
- package/esm2015/lib/components/button/button.component.js +1 -1
- package/esm2015/lib/components/filter-item/filter-item.component.js +1 -1
- package/esm2015/lib/components/list-of-values/list-of-values.module.js +1 -2
- package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +2 -1
- package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +1 -1
- package/esm2015/lib/service/base-module-screen-config.service.js +2 -2
- package/fesm2015/colijnit-corecomponents_v12.js +9 -2
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/base-input.component.d.ts +4 -0
- package/lib/components/button/button.component.d.ts +2 -0
- package/lib/components/filter-item/filter-item.component.d.ts +2 -0
- package/lib/interfaces/screen-config-adapter.component.interface.d.ts +2 -0
- package/lib/style/_input.mixins.scss +0 -6
- package/package.json +1 -1
|
@@ -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.
|
|
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
|
}
|