@colijnit/corecomponents_v12 257.1.16 → 257.1.17
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 -1
- 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.component.js +1 -1
- 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 -1
- 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/package.json +1 -1
|
@@ -2358,6 +2358,16 @@
|
|
|
2358
2358
|
enumerable: false,
|
|
2359
2359
|
configurable: true
|
|
2360
2360
|
});
|
|
2361
|
+
Object.defineProperty(BaseInputComponent.prototype, "defaultValue", {
|
|
2362
|
+
get: function () {
|
|
2363
|
+
return this._defaultValue;
|
|
2364
|
+
},
|
|
2365
|
+
set: function (defaultValue) {
|
|
2366
|
+
this._defaultValue = defaultValue;
|
|
2367
|
+
},
|
|
2368
|
+
enumerable: false,
|
|
2369
|
+
configurable: true
|
|
2370
|
+
});
|
|
2361
2371
|
Object.defineProperty(BaseInputComponent.prototype, "readonly", {
|
|
2362
2372
|
get: function () {
|
|
2363
2373
|
return this.forceReadonly || this._readonly;
|
|
@@ -3145,6 +3155,7 @@
|
|
|
3145
3155
|
businessObjectId: [{ type: i0.Input }],
|
|
3146
3156
|
disabled: [{ type: i0.Input }],
|
|
3147
3157
|
maxLength: [{ type: i0.Input }],
|
|
3158
|
+
defaultValue: [{ type: i0.Input }],
|
|
3148
3159
|
forcedMaxLength: [{ type: i0.Input }],
|
|
3149
3160
|
readonly: [{ type: i0.Input }],
|
|
3150
3161
|
forceReadonly: [{ type: i0.Input }],
|
|
@@ -13805,7 +13816,7 @@
|
|
|
13805
13816
|
};
|
|
13806
13817
|
BaseModuleScreenConfigService.prototype.getDefaultValue = function (configName) {
|
|
13807
13818
|
var objectConfig = this._objectConfigsMap.get(configName);
|
|
13808
|
-
return objectConfig ? objectConfig.
|
|
13819
|
+
return objectConfig ? objectConfig.defaultValue : undefined;
|
|
13809
13820
|
};
|
|
13810
13821
|
BaseModuleScreenConfigService.prototype.getDefaultStringValue = function (configName) {
|
|
13811
13822
|
var objectConfig = this._objectConfigsMap.get(configName);
|
|
@@ -14042,6 +14053,7 @@
|
|
|
14042
14053
|
this.hostComponent.readonly = this.hostComponent.forceReadonly || this._moduleInReadonlyMode() || myCfgObj.isReadonly();
|
|
14043
14054
|
this.hostComponent.decimals = myCfgObj.scale;
|
|
14044
14055
|
this.hostComponent.maxLength = myCfgObj.maxLength;
|
|
14056
|
+
this.hostComponent.defaultValue = myCfgObj.defaultValue;
|
|
14045
14057
|
if ('configObject' in this.hostComponent) {
|
|
14046
14058
|
this.hostComponent.configObject = myCfgObj;
|
|
14047
14059
|
}
|