mg-library 1.0.431 → 1.0.433
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/blocks.js +35 -17
- package/mg-library.rar +0 -0
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -32,7 +32,7 @@ export function MGWelcome(props) {
|
|
32
32
|
|
33
33
|
let subTitle = mgFunctionsLib.i18nString('notices', props.language);
|
34
34
|
|
35
|
-
if(props.subTitle != undefined)
|
35
|
+
if (props.subTitle != undefined)
|
36
36
|
subTitle = props.subTitle;
|
37
37
|
|
38
38
|
let listHeaderComponent = (
|
@@ -172,21 +172,39 @@ export function MGLogin(props) {
|
|
172
172
|
/>
|
173
173
|
)}
|
174
174
|
name="userName" />
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
175
|
+
{useNumericKeyboardOnPassword &&
|
176
|
+
<Controller
|
177
|
+
control={control}
|
178
|
+
rules={{ maxLength: 50 }}
|
179
|
+
render={({ field: { onChange, value } }) => (
|
180
|
+
<Input
|
181
|
+
size='large'
|
182
|
+
placeholder={mgFunctionsLib.i18nString('password', props.language)}
|
183
|
+
onChangeText={onChange}
|
184
|
+
secureTextEntry={true}
|
185
|
+
maxLength={12}
|
186
|
+
keyboardType='numeric'
|
187
|
+
value={value}
|
188
|
+
/>
|
189
|
+
)}
|
190
|
+
name="password" />
|
191
|
+
}
|
192
|
+
{!useNumericKeyboardOnPassword &&
|
193
|
+
<Controller
|
194
|
+
control={control}
|
195
|
+
rules={{ maxLength: 50 }}
|
196
|
+
render={({ field: { onChange, value } }) => (
|
197
|
+
<Input
|
198
|
+
size='large'
|
199
|
+
placeholder={mgFunctionsLib.i18nString('password', props.language)}
|
200
|
+
onChangeText={onChange}
|
201
|
+
secureTextEntry={true}
|
202
|
+
maxLength={12}
|
203
|
+
value={value}
|
204
|
+
/>
|
205
|
+
)}
|
206
|
+
name="password" />
|
207
|
+
}
|
190
208
|
</Card>
|
191
209
|
</View>
|
192
210
|
</View>
|
@@ -531,7 +549,7 @@ export function MGFlatListHeader(props) {
|
|
531
549
|
<Text category='h6' style={{ marginLeft: 10 }}>{props.title}</Text>
|
532
550
|
{props.subTitle != undefined &&
|
533
551
|
props.subTitle
|
534
|
-
}
|
552
|
+
}
|
535
553
|
</View>
|
536
554
|
{props.afterTitle != undefined &&
|
537
555
|
props.afterTitle
|
package/mg-library.rar
CHANGED
Binary file
|