@fto-consult/expo-ui 5.8.7 → 5.8.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": "5.8.
|
|
3
|
+
"version": "5.8.9",
|
|
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
|
"@emotion/native": "^11.10.6",
|
|
62
62
|
"@expo/html-elements": "^0.2.0",
|
|
63
63
|
"@expo/vector-icons": "^13.0.0",
|
|
64
|
-
"@fto-consult/common": "^3.
|
|
64
|
+
"@fto-consult/common": "^3.12.0",
|
|
65
65
|
"@gorhom/portal": "^1.0.14",
|
|
66
66
|
"@react-native-async-storage/async-storage": "^1.17.11",
|
|
67
67
|
"@react-native-community/datetimepicker": "^6.7.3",
|
|
@@ -22,7 +22,7 @@ const PermLines = React.forwardRef(({user,gridProps,defaultActions:cDefaultActio
|
|
|
22
22
|
const defaultActions = React.useRef(extendObj(true,{},mDefaultAction,defaultActions)).current;
|
|
23
23
|
const data = dataRef.current;
|
|
24
24
|
disabled = !!disabled || isUserMasterAdmin;
|
|
25
|
-
tablePermPrefix = defaultStr(
|
|
25
|
+
tablePermPrefix = tablePermPrefix === false ? "" : typeof tablePermPrefix =="string" ? tablePermPrefix.trim() : defaultStr("table/").toLowerCase();
|
|
26
26
|
const onChange = disabled ? undefined : (arg)=>{
|
|
27
27
|
let {data,resource} = arg;
|
|
28
28
|
if(!isNonNullString(resource)) return;
|
|
@@ -133,7 +133,10 @@ PermLines.propTypes = {
|
|
|
133
133
|
perms : PropTypes.object,//la liste des permissions qui peuvent associer au compte d'un utilisaters
|
|
134
134
|
/*** si les élements de permissions seront modifiable où non */
|
|
135
135
|
disabled : PropTypes.bool,
|
|
136
|
-
tablePermPrefix : PropTypes.
|
|
136
|
+
tablePermPrefix : PropTypes.oneOfType([
|
|
137
|
+
PropTypes.string,
|
|
138
|
+
PropTypes.bool,
|
|
139
|
+
]),/*** le prefixe de permission à jouter à chaque permissions de table de donénes, exemple : 'table/', pour le prefix des permissions de type table de données */
|
|
137
140
|
title : PropTypes.oneOfType([
|
|
138
141
|
PropTypes.node,
|
|
139
142
|
PropTypes.element,
|