@fto-consult/expo-ui 8.61.7 → 8.61.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.61.7",
3
+ "version": "8.61.9",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "react-native-paper-doc": "https://github.com/callstack/react-native-paper/tree/main/docs/docs/guides",
6
6
  "scripts": {
@@ -3950,11 +3950,10 @@ CommonDatagridComponent.getDefaultPreloader = (r)=>{
3950
3950
  const {isDashboard,...props} = defaultObj(r);
3951
3951
  return isDashboard? <ActivityIndicator size={"large"} {...props} style={[theme.styles.pb10,props.style]}/> : <Preloader {...props}/>
3952
3952
  }
3953
-
3954
- const chartDisplayType = PropTypes.oneOf(Object.keys(displayTypes).filter(type=>{
3953
+ const chartDisplayType = PropTypes.oneOf([...Object.keys(displayTypes).filter(type=>{
3955
3954
  const x = displayTypes[type];
3956
3955
  return typeof x =='object' && x && typeof x.disabled !== true && x.isChart === true && true || false;
3957
- }));
3956
+ }),"table"]);
3958
3957
  CommonDatagridComponent.propTypes = {
3959
3958
  isRowSelectable : PropTypes.func,//spécifie si la ligne rowData est selectionable : function({row,rowData,context})=><boolean>
3960
3959
  title : PropTypes.oneOfType([