@fto-consult/expo-ui 1.5.9 → 1.5.11
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": "1.5.
|
|
3
|
+
"version": "1.5.11",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@expo/html-elements": "^0.2.0",
|
|
62
62
|
"@expo/metro-config": "^0.4.0",
|
|
63
63
|
"@expo/webpack-config": "^0.17.2",
|
|
64
|
-
"@fto-consult/common": "^1.9.
|
|
64
|
+
"@fto-consult/common": "^1.9.4",
|
|
65
65
|
"@gorhom/portal": "^1.0.14",
|
|
66
66
|
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
67
67
|
"@react-native-community/datetimepicker": "6.2.0",
|
|
@@ -1531,8 +1531,8 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
1531
1531
|
if(!_render) _render = rowData[columnField]
|
|
1532
1532
|
} else if(arrayValueExists(_type,['switch','checkbox'])){
|
|
1533
1533
|
let {checkedLabel,checkedTooltip,uncheckedTooltip,checkedValue,uncheckedLabel,uncheckedValue} = columnDef;
|
|
1534
|
-
checkedLabel = defaultStr(checkedLabel,checkedTooltip,'
|
|
1535
|
-
uncheckedLabel = defaultStr(uncheckedLabel,uncheckedTooltip,'
|
|
1534
|
+
checkedLabel = defaultStr(checkedLabel,checkedTooltip,'Oui')
|
|
1535
|
+
uncheckedLabel = defaultStr(uncheckedLabel,uncheckedTooltip,'Non')
|
|
1536
1536
|
checkedValue = defaultVal(checkedValue,1); uncheckedValue = defaultVal(uncheckedValue,0)
|
|
1537
1537
|
let val = defaultVal(rowData[columnField],columnDef.defaultValue,columnDef.value)
|
|
1538
1538
|
if(val === checkedValue){
|