@fto-consult/expo-ui 8.28.0 → 8.29.0
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.
|
3
|
+
"version": "8.29.0",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"dependencies": {
|
69
69
|
"@emotion/react": "^11.11.1",
|
70
70
|
"@faker-js/faker": "^8.0.2",
|
71
|
-
"@fto-consult/common": "^4.
|
71
|
+
"@fto-consult/common": "^4.29.0",
|
72
72
|
"@fto-consult/node-utils": "^1.5.1",
|
73
73
|
"apexcharts": "^3.46.0",
|
74
74
|
"crypto-browserify": "^3.12.0",
|
@@ -82,12 +82,13 @@ export const getFilterComponentProps = (_props)=>{
|
|
82
82
|
onValidatorValid,///il s'agit de la fonction de rappel appelée immédiatement après que le validateur ait réuissie la validation
|
83
83
|
onValidateField,
|
84
84
|
onNoValidate,
|
85
|
+
filterType,
|
85
86
|
...props
|
86
87
|
} = _props;
|
87
88
|
props = defaultObj(props);
|
88
89
|
const componentTypes = getComponentTypes();
|
89
90
|
let component = componentTypes.TextField;
|
90
|
-
type = defaultStr(jsType,type,'text').toLowerCase().replaceAll("_","").replaceAll("-","").trim();
|
91
|
+
type = defaultStr(filterType,jsType,type,'text').toLowerCase().replaceAll("_","").replaceAll("-","").trim();
|
91
92
|
const sanitizedType = type.replaceAll("_","").toLowerCase().trim();
|
92
93
|
props = defaultObj(props);
|
93
94
|
props.label = defaultStr(label,text);
|