@pepperi-addons/ngx-lib 0.3.15-loader.35 → 0.3.15-loader.38
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/pepperi-addons-ngx-lib-form.umd.js +5 -7
- package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
- package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
- package/core/customization/customization.model.d.ts +1 -0
- package/esm2015/core/customization/customization.model.js +1 -1
- package/esm2015/form/field-generator.component.js +2 -8
- package/esm2015/form/form.component.js +6 -2
- package/fesm2015/pepperi-addons-ngx-lib-form.js +6 -8
- package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
- package/form/field-generator.component.d.ts +2 -4
- package/form/pepperi-addons-ngx-lib-form.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
return;
|
|
570
570
|
}
|
|
571
571
|
var placeholder = controlField.ReadOnly || !canEditObject ? '' : controlField.Title;
|
|
572
|
-
|
|
572
|
+
var fieldProperties = {
|
|
573
573
|
key: controlField.ApiName,
|
|
574
574
|
label: controlField.Title,
|
|
575
575
|
accessory: dataField.Accessory,
|
|
@@ -598,6 +598,10 @@
|
|
|
598
598
|
textColor: dataField.TextColor,
|
|
599
599
|
visible: dataField.Visible,
|
|
600
600
|
};
|
|
601
|
+
if (dataField.AdditionalProps) {
|
|
602
|
+
fieldProperties = Object.assign(Object.assign({}, fieldProperties), dataField.AdditionalProps);
|
|
603
|
+
}
|
|
604
|
+
return fieldProperties;
|
|
601
605
|
};
|
|
602
606
|
PepFormComponent.prototype.convertToCustomField = function (controlField, dataField, canEditObject, menuField, hasCampaignField, indicatorsField, objectId, parentId, searchCode) {
|
|
603
607
|
var customField;
|
|
@@ -1708,11 +1712,6 @@
|
|
|
1708
1712
|
enumerable: false,
|
|
1709
1713
|
configurable: true
|
|
1710
1714
|
});
|
|
1711
|
-
PepFieldGeneratorComponent.prototype.ngAfterViewInit = function () {
|
|
1712
|
-
if (this.control) {
|
|
1713
|
-
console.log('this.control', this.control);
|
|
1714
|
-
}
|
|
1715
|
-
};
|
|
1716
1715
|
PepFieldGeneratorComponent.prototype.onFileChanged = function (fileData, field) {
|
|
1717
1716
|
var value = fileData ? JSON.stringify(fileData) : '';
|
|
1718
1717
|
var fieldValueChange = {
|
|
@@ -1776,7 +1775,6 @@
|
|
|
1776
1775
|
},] }
|
|
1777
1776
|
];
|
|
1778
1777
|
PepFieldGeneratorComponent.propDecorators = {
|
|
1779
|
-
control: [{ type: core.ViewChild, args: ['control',] }],
|
|
1780
1778
|
field: [{ type: core.Input }],
|
|
1781
1779
|
isActive: [{ type: core.Input }],
|
|
1782
1780
|
uid: [{ type: core.Input }],
|