@fto-consult/expo-ui 6.76.1 → 6.76.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.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "6.76.
|
3
|
+
"version": "6.76.3",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"main": "main",
|
6
6
|
"scripts": {
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"@expo/html-elements": "^0.5.1",
|
72
72
|
"@expo/vector-icons": "^13.0.0",
|
73
73
|
"@faker-js/faker": "^8.0.2",
|
74
|
-
"@fto-consult/common": "^3.61.
|
74
|
+
"@fto-consult/common": "^3.61.13",
|
75
75
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
76
76
|
"@react-native-async-storage/async-storage": "1.18.2",
|
77
77
|
"@react-native-community/datetimepicker": "7.2.0",
|
@@ -655,12 +655,12 @@ export default class TableDataScreenComponent extends FormDataScreen{
|
|
655
655
|
return this.props.newAction !== false ? true : false;
|
656
656
|
}
|
657
657
|
isMobileOrTabletMedia(){
|
658
|
-
const r = this.
|
658
|
+
const r = this.getRenderTabsType();
|
659
659
|
if(r =="mobile") return true;
|
660
660
|
if(r =="desktop") return false;
|
661
661
|
return isMobileOrTabletMedia();
|
662
662
|
}
|
663
|
-
|
663
|
+
getRenderTabsType (){
|
664
664
|
const r = defaultStr(this.props.renderTabsType).toLowerCase();
|
665
665
|
if(!r || !(defaultRendersTypes.includes(r))) return "responsive";
|
666
666
|
return r;
|