@sumaris-net/ngx-components 2.4.156 → 2.4.158

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.
@@ -19070,12 +19070,12 @@ let Configuration = Configuration_1 = class Configuration extends Software {
19070
19070
  getPropertyAsNumbers(definition) {
19071
19071
  const value = this.getProperty(definition);
19072
19072
  if (typeof value === 'string')
19073
- return value.split(',').map(parseFloat) || undefined;
19073
+ return value.split(',').filter(isNotNilOrBlank).map(parseFloat) || undefined;
19074
19074
  return isNotNil(value) ? [parseFloat(value)] : undefined;
19075
19075
  }
19076
19076
  getPropertyAsStrings(definition) {
19077
19077
  const value = this.getProperty(definition);
19078
- return value && value.split(',') || undefined;
19078
+ return value && value.split(',').filter(isNotNilOrBlank) || undefined;
19079
19079
  }
19080
19080
  getProperty(definition) {
19081
19081
  return isNotNil(this.properties[definition.key]) ? this.properties[definition.key] : undefinedIfNull(definition.defaultValue);