@fto-consult/expo-ui 2.25.1 → 2.25.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": "2.25.
|
|
3
|
+
"version": "2.25.3",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,8 +61,7 @@
|
|
|
61
61
|
"@emotion/native": "^11.10.0",
|
|
62
62
|
"@expo/html-elements": "^0.2.0",
|
|
63
63
|
"@expo/vector-icons": "^13.0.0",
|
|
64
|
-
"@fto-consult/common": "^1.24.
|
|
65
|
-
"@fto-consult/expo-ui": "^2.21.0",
|
|
64
|
+
"@fto-consult/common": "^1.24.11",
|
|
66
65
|
"@gorhom/portal": "^1.0.14",
|
|
67
66
|
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
68
67
|
"@react-native-community/datetimepicker": "6.5.2",
|
|
@@ -264,8 +264,8 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
|
|
|
264
264
|
return (
|
|
265
265
|
<Datagrid
|
|
266
266
|
testID = {testID}
|
|
267
|
-
{...rest}
|
|
268
267
|
{...defaultObj(table.datagrid)}
|
|
268
|
+
{...rest}
|
|
269
269
|
onSort = {({sort})=>{
|
|
270
270
|
if(!canSortRemotely()) return;
|
|
271
271
|
fetchOptionsRef.current.sort = sort;
|
|
@@ -225,7 +225,8 @@ export default class FormDataComponent extends AppComponent{
|
|
|
225
225
|
if(isDate && rest.required === true ){
|
|
226
226
|
rest.defaultValue = new Date();
|
|
227
227
|
} else if(!isDate && isNonNullString(rest.appConfigDefaultValueKey)){
|
|
228
|
-
rest.defaultValue =
|
|
228
|
+
rest.defaultValue = appConfig.get(rest.appConfigDefaultValueKey);
|
|
229
|
+
console.log(rest.defaultValue,rest.appConfigDefaultValueKey," is defa value and ",rest,appConfig.activePeriod,appConfig);
|
|
229
230
|
}
|
|
230
231
|
}
|
|
231
232
|
customResponsiveProps = defaultObj(customResponsiveProps);
|