@fto-consult/expo-ui 8.77.0 → 8.77.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.
@@ -5,13 +5,14 @@ import React from "$react";
5
5
  import TextField from "$ecomponents/TextField";
6
6
  import appConfig from "$capp/config";
7
7
  import {isNonNullString,defaultStr} from "$cutils";
8
+ import {formatDescription} from "$clib/currency";
8
9
  import Icon from "$ecomponents/Icon";
9
10
  import {styles} from "$theme";
10
11
 
11
12
  const CurrencyFormat = React.forwardRef(({disabled,readOnly,right,isFilter,...props},ref)=>{
12
13
  const isEditable = disabled !== true && readOnly !== true;
13
14
  const defaultValue = isNonNullString(props.defaultValue) && props.defaultValue.contains("v" && props.defaultValue) && props.defaultValue || defaultStr(appConfig.currencyFormat,"%v %s");
14
- const title = "Format d'affichage des valeurs numériques : une chaine de caractère constituée des lettre %v et %s où %v représente la valeur du montant et %s représente la devise : exemple %s%v => $10 et %v %s => 10 $";
15
+ const title = formatDescription;
15
16
  return <TextField
16
17
  affix = {false}
17
18
  enableCopy = {false}