chrv-components 1.12.242 → 1.12.243

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.
Binary file
@@ -1695,7 +1695,9 @@ class DataListComponent {
1695
1695
  }
1696
1696
  else {
1697
1697
  return (item) => {
1698
- if (typeof item == 'object' &&
1698
+ if (item !== null &&
1699
+ item !== undefined &&
1700
+ typeof item == 'object' &&
1699
1701
  'toString' in item &&
1700
1702
  typeof item['toString'] == 'function')
1701
1703
  return item.toString();
@@ -5052,7 +5054,9 @@ class ChrSearchSelectInputComponent extends ChrInputComponent {
5052
5054
  super();
5053
5055
  this.data = input([], /* @ts-ignore */
5054
5056
  ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
5055
- this.display = input((v) => typeof v == 'object' &&
5057
+ this.display = input((v) => v !== null &&
5058
+ v !== undefined &&
5059
+ typeof v == 'object' &&
5056
5060
  'toString' in v &&
5057
5061
  typeof v['toString'] == 'function'
5058
5062
  ? v.toString()
@@ -5106,7 +5110,9 @@ class ChrTagSelectInputComponent extends ChrInputComponent {
5106
5110
  super();
5107
5111
  this.data = input([], /* @ts-ignore */
5108
5112
  ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
5109
- this.display = input((v) => typeof v == 'object' &&
5113
+ this.display = input((v) => v !== null &&
5114
+ v !== undefined &&
5115
+ typeof v == 'object' &&
5110
5116
  'toString' in v &&
5111
5117
  typeof v['toString'] == 'function'
5112
5118
  ? v.toString()