@fto-consult/expo-ui 2.14.1 → 2.14.2
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
|
@@ -17,8 +17,8 @@ const DatagridRenderTypeComponent = (props)=>{
|
|
|
17
17
|
const isDesk = isDesktopMedia();
|
|
18
18
|
let type = defaultStr(get(typeKey),isDesk? "fixed":'accordion').toLowerCase().trim();
|
|
19
19
|
const rTypes = [
|
|
20
|
-
{...getActiveProps(type,'accordion'),
|
|
21
|
-
{...getActiveProps(type,'table'),
|
|
20
|
+
{...getActiveProps(type,'accordion'),tooltip:"Les éléments de liste s'affichent de manière optimisé pour téléphone mobile",code:'accordion',icon:accordionIcon,label:'Mobile',labelText:'environnement optimisé pour téléphone mobile'},
|
|
21
|
+
{...getActiveProps(type,'table'),tooltip:"Les éléments de listes s'affichent dans un tableau rééel",code:'table',icon:tableIcon,label:'Tableau réel avec pagination'}
|
|
22
22
|
]
|
|
23
23
|
Object.map(rendersTypes,(t,i)=>{
|
|
24
24
|
if(isObj(t)){
|
|
@@ -37,10 +37,10 @@ const DatagridRenderTypeComponent = (props)=>{
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
return <Menu
|
|
40
|
-
|
|
40
|
+
tooltip = {"Type d'affichage du tableau"}
|
|
41
41
|
sheet
|
|
42
42
|
items = {rTypes}
|
|
43
|
-
anchor = {(props)=><Icon {...props} name = {typeObj.icon}
|
|
43
|
+
anchor = {(props)=><Icon {...props} name = {typeObj.icon} tooltip={typeObj.tooltip}/>}
|
|
44
44
|
onPressItem = {({item})=>{
|
|
45
45
|
if(isObj(item) && item.code){
|
|
46
46
|
set(typeKey,item.code);
|
|
@@ -339,7 +339,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
|
|
|
339
339
|
</View>
|
|
340
340
|
</View>
|
|
341
341
|
}}
|
|
342
|
-
ListFooterComponent = {(props)=>{
|
|
342
|
+
/*ListFooterComponent = {(props)=>{
|
|
343
343
|
const r = typeof ListFooterComponent =='function'? ListFooterComponent(props) : null;
|
|
344
344
|
if(!loading) return r;
|
|
345
345
|
const aContent = <View testID={testID+"_ListHeaderActivityIndicator"} style={[theme.styles.w100,theme.styles.justifyContentCenter]}>
|
|
@@ -352,7 +352,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
|
|
|
352
352
|
</View>
|
|
353
353
|
}
|
|
354
354
|
return aContent;
|
|
355
|
-
}}
|
|
355
|
+
}}*/
|
|
356
356
|
handleQueryLimit = {false}
|
|
357
357
|
handlePagination = {false}
|
|
358
358
|
autoSort = {canSortRemotely()? false : true}
|