@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.
@@ -569,7 +569,7 @@
569
569
  return;
570
570
  }
571
571
  var placeholder = controlField.ReadOnly || !canEditObject ? '' : controlField.Title;
572
- return {
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 }],