@colijnit/corecomponents_v12 257.1.15 → 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 +21 -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 +5 -2
- 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 +13 -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 +3 -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 }],
|
|
@@ -12478,6 +12489,13 @@
|
|
|
12478
12489
|
enumerable: false,
|
|
12479
12490
|
configurable: true
|
|
12480
12491
|
});
|
|
12492
|
+
Object.defineProperty(FilterItemComponent.prototype, "hasClass", {
|
|
12493
|
+
get: function () {
|
|
12494
|
+
return true; // Ensures it never gets removed
|
|
12495
|
+
},
|
|
12496
|
+
enumerable: false,
|
|
12497
|
+
configurable: true
|
|
12498
|
+
});
|
|
12481
12499
|
FilterItemComponent.prototype.ngOnInit = function () {
|
|
12482
12500
|
this.setToInitialLimit();
|
|
12483
12501
|
this.showButton = this.valueSelected();
|
|
@@ -12972,7 +12990,7 @@
|
|
|
12972
12990
|
modelChange: [{ type: i0.Output }],
|
|
12973
12991
|
collectionChange: [{ type: i0.Output }],
|
|
12974
12992
|
filterButtonClicked: [{ type: i0.Output }],
|
|
12975
|
-
|
|
12993
|
+
hasClass: [{ type: i0.HostBinding, args: ["class.co-filter-item",] }],
|
|
12976
12994
|
hidden: [{ type: i0.HostBinding, args: ['class.co-hidden',] }]
|
|
12977
12995
|
};
|
|
12978
12996
|
|
|
@@ -13798,7 +13816,7 @@
|
|
|
13798
13816
|
};
|
|
13799
13817
|
BaseModuleScreenConfigService.prototype.getDefaultValue = function (configName) {
|
|
13800
13818
|
var objectConfig = this._objectConfigsMap.get(configName);
|
|
13801
|
-
return objectConfig ? objectConfig.
|
|
13819
|
+
return objectConfig ? objectConfig.defaultValue : undefined;
|
|
13802
13820
|
};
|
|
13803
13821
|
BaseModuleScreenConfigService.prototype.getDefaultStringValue = function (configName) {
|
|
13804
13822
|
var objectConfig = this._objectConfigsMap.get(configName);
|
|
@@ -14035,6 +14053,7 @@
|
|
|
14035
14053
|
this.hostComponent.readonly = this.hostComponent.forceReadonly || this._moduleInReadonlyMode() || myCfgObj.isReadonly();
|
|
14036
14054
|
this.hostComponent.decimals = myCfgObj.scale;
|
|
14037
14055
|
this.hostComponent.maxLength = myCfgObj.maxLength;
|
|
14056
|
+
this.hostComponent.defaultValue = myCfgObj.defaultValue;
|
|
14038
14057
|
if ('configObject' in this.hostComponent) {
|
|
14039
14058
|
this.hostComponent.configObject = myCfgObj;
|
|
14040
14059
|
}
|