chrv-components 1.12.239 β†’ 1.12.240

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/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # 🎨 CHRV Components
2
2
 
3
- <div align="center">
4
-
5
3
  ![npm version](https://img.shields.io/npm/v/chrv-components?style=for-the-badge)
6
4
  ![Angular](https://img.shields.io/badge/Angular-16+-red?style=for-the-badge&logo=angular)
7
5
  ![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue?style=for-the-badge&logo=typescript)
@@ -11,8 +9,6 @@
11
9
 
12
10
  [πŸ“š Documentation](#-documentation) β€’ [πŸš€ Installation](#-installation) β€’ [πŸ’‘ Exemples](#-exemples) β€’ [πŸ› οΈ API](#️-api)
13
11
 
14
- </div>
15
-
16
12
  ## ✨ Composants disponibles
17
13
 
18
14
  ### πŸͺŸ SystΓ¨me de Modal
Binary file
@@ -1694,7 +1694,12 @@ class DataListComponent {
1694
1694
  return (item) => JSON.stringify(item);
1695
1695
  }
1696
1696
  else {
1697
- return (item) => String(item);
1697
+ return (item) => {
1698
+ if ('toString' in item && typeof item['toString'] == 'function')
1699
+ return item.toString();
1700
+ else
1701
+ String(item);
1702
+ };
1698
1703
  }
1699
1704
  }, /* @ts-ignore */
1700
1705
  ...(ngDevMode ? [{ debugName: "displayFn" }] : /* istanbul ignore next */ []));