@fto-consult/expo-ui 7.17.5 → 7.17.8
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": "7.17.
|
3
|
+
"version": "7.17.8",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"@expo/html-elements": "^0.5.1",
|
72
72
|
"@expo/vector-icons": "^13.0.0",
|
73
73
|
"@faker-js/faker": "^8.0.2",
|
74
|
-
"@fto-consult/common": "^4.1
|
74
|
+
"@fto-consult/common": "^4.2.1",
|
75
75
|
"@fto-consult/electron-gen": "^2.2.1",
|
76
76
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
77
77
|
"@react-native-async-storage/async-storage": "1.18.2",
|
@@ -3678,11 +3678,9 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
3678
3678
|
UNSAFE_componentWillReceiveProps(nextProps){
|
3679
3679
|
if(false && !React.areEquals(this.props.columns,nextProps.columns)){
|
3680
3680
|
const newColumns = this.initColumns(nextProps.columns);
|
3681
|
-
console.log("will prepare column ",newColumns,this.state.columns);
|
3682
3681
|
this.setIsLoading(true,()=>{
|
3683
3682
|
this.setState({columns:newColumns},()=>{
|
3684
3683
|
this.prepareColumns();
|
3685
|
-
console.log("preparing data ",nextProps);
|
3686
3684
|
this.prepareData({...nextProps,force:true},(state)=>{
|
3687
3685
|
console.log("setting state data",state,this.state);
|
3688
3686
|
this.setState(state)
|
@@ -9,4 +9,6 @@ Les propriétés d'états :
|
|
9
9
|
- Pour faire un affichage en graphique, il faut :
|
10
10
|
1. grouper les éléments du tableau avec au moins une colonne
|
11
11
|
2. disposer dans le tableau, des colonnes de totalisation (de type montant et somme)
|
12
|
-
3.
|
12
|
+
3.
|
13
|
+
|
14
|
+
- Pour que le rendu du graphe soit possible, il faut que parmis les colones du datagrid, au moins une soit de type nombre
|
@@ -69,7 +69,6 @@ const DrawerNavigationViewComponent = React.forwardRef((props,ref)=>{
|
|
69
69
|
</DrawerHeader> : null}
|
70
70
|
{React.isValidElement(content)? content :
|
71
71
|
<DrawerItems
|
72
|
-
{...defaultObj(opts)}
|
73
72
|
drawerRef = {drawerRef}
|
74
73
|
{...defaultObj(drawerItemsProps)}
|
75
74
|
items = {drawerItems}
|
@@ -369,6 +369,8 @@ const iconType = PropTypes.oneOfType([
|
|
369
369
|
|
370
370
|
DrawerComponent.propTypes = {
|
371
371
|
...defaultObj(DrawerLayout.propTypes),
|
372
|
+
position : PropTypes.oneOf(Object.keys(DRAWER_POSITIONS)),
|
373
|
+
minimizable : PropTypes.bool,
|
372
374
|
permanent : PropTypes.bool,
|
373
375
|
minimized : PropTypes.bool,
|
374
376
|
bindResizeEvent : PropTypes.bool,
|
package/src/pdf/print.web.js
CHANGED