@fto-consult/expo-ui 8.76.8 → 8.77.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/bin/create-app/dependencies.js +37 -37
- package/bin/create-app/eas.json +18 -18
- package/bin/create-app/src/auth/index.js +17 -1
- package/expo-ui.json +10 -10
- package/package.json +2 -2
- package/src/auth/Login.js +113 -48
- package/src/components/Chart/appexChart/appexChart.html +23 -23
- package/src/components/Form/Fields/Field.js +1 -1
- package/src/components/SelectCurrency/Format.js +2 -1
@@ -655,7 +655,7 @@ export default class Field extends AppComponent {
|
|
655
655
|
let {keyboardEvents,onKeyEvent} = this.props;
|
656
656
|
const formInstance = this.getForm();
|
657
657
|
const data = formInstance ? formInstance.getData() : {};
|
658
|
-
const arg = {key,event,formInstance,field:this.name,formName:this.getFormName(),value:this.getValidRule(),validValue:this.getValidValue(data),data,context:this,isFormField:true,formInstance};
|
658
|
+
const arg = {key,event,formInstance,form:formInstance,field:this.name,formName:this.getFormName(),value:this.getValidRule(),validValue:this.getValidValue(data),data,context:this,isFormField:true,formInstance};
|
659
659
|
let handler = undefined;
|
660
660
|
if(isObj(keyboardEvents)){
|
661
661
|
handler = keyboardEvents[key];
|
@@ -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 =
|
15
|
+
const title = formatDescription;
|
15
16
|
return <TextField
|
16
17
|
affix = {false}
|
17
18
|
enableCopy = {false}
|