@one-paragon/angular-utilities 2.8.2 → 2.8.3
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.
|
@@ -5296,8 +5296,8 @@ class ExportToCsvService {
|
|
|
5296
5296
|
const prepend = meta.additional?.export?.prepend || exportForCol?.prepend || '';
|
|
5297
5297
|
return prepend + val;
|
|
5298
5298
|
case FieldType.Array:
|
|
5299
|
-
const style = meta.additional
|
|
5300
|
-
const limit = meta.additional
|
|
5299
|
+
const style = meta.additional?.arrayStyle ?? this.config.arrayDefaults?.arrayStyle;
|
|
5300
|
+
const limit = meta.additional?.limit ?? this.config.arrayDefaults?.limit;
|
|
5301
5301
|
return val.slice(0, limit).join(style === ArrayStyle.NewLine ? '\n' : ', ');
|
|
5302
5302
|
case FieldType.Enum:
|
|
5303
5303
|
return exportForCol?.mapEnumToString ? spaceCase(meta.additional.enumMap[val]) : val;
|