@supportworks/multi-imagepicker 7.0.4 → 7.0.5
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
|
@@ -57,11 +57,7 @@ const ImageDetailsModal = (
|
|
|
57
57
|
</TouchableOpacity>
|
|
58
58
|
}
|
|
59
59
|
/>
|
|
60
|
-
<KeyboardAvoidingView style={styles.KeyboardAvoidingView} behavior={Platform.OS === 'ios' ? 'padding' : '
|
|
61
|
-
{/*<ScrollView
|
|
62
|
-
keyboardShouldPersistTaps="handled"
|
|
63
|
-
contentContainerStyle={styles.ScrollContent}
|
|
64
|
-
>*/}
|
|
60
|
+
<KeyboardAvoidingView style={styles.KeyboardAvoidingView} behavior={Platform.OS === 'ios' ? 'padding' : 'height'} enabled>
|
|
65
61
|
<View style={styles.ImageContainer}>
|
|
66
62
|
<Image
|
|
67
63
|
source={{ uri: imageUri }}
|
|
@@ -98,7 +94,6 @@ const ImageDetailsModal = (
|
|
|
98
94
|
callback={(payload) => setLocalDesc(payload.inputValue)}
|
|
99
95
|
/>
|
|
100
96
|
</View>
|
|
101
|
-
{/*</ScrollView>*/}
|
|
102
97
|
</KeyboardAvoidingView>
|
|
103
98
|
</SafeAreaView>
|
|
104
99
|
</Modal>
|
|
@@ -210,7 +210,7 @@ const SingleImage = (
|
|
|
210
210
|
<Image
|
|
211
211
|
resizeMode='cover'
|
|
212
212
|
style={[styles.Image, { width: '100%', height: '100%' }]}
|
|
213
|
-
source={{ uri:
|
|
213
|
+
source={{ uri: Api.getApi().fullImagePath(imagePath) + '?x=' + version + '-' + (cacheVersion || 0) }}
|
|
214
214
|
/>
|
|
215
215
|
<ImageIndicators
|
|
216
216
|
allowShowToCustomer={allowShowToCustomer}
|
|
@@ -253,7 +253,7 @@ const SingleImage = (
|
|
|
253
253
|
<ImageDetailsModal
|
|
254
254
|
visible={showDetailsModal}
|
|
255
255
|
onClose={closeDetails}
|
|
256
|
-
imageUri={
|
|
256
|
+
imageUri={Api.getApi().fullImagePath(imagePath) + '?x=' + version + '-' + (cacheVersion || 0)}
|
|
257
257
|
initialTitle={title}
|
|
258
258
|
initialDesc={desc}
|
|
259
259
|
titleEditable={titleEditable}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useState } from 'react'
|
|
2
|
-
import { Modal, View, StyleSheet, Text } from 'react-native'
|
|
2
|
+
import { Modal, View, StyleSheet, Text, Platform } from 'react-native'
|
|
3
3
|
import { colors, stdStyles } from '@supportworks/app-styler'
|
|
4
4
|
import { CheckBox, CommonButton } from '@supportworks/core-controls'
|
|
5
5
|
import { Icons } from '@supportworks/icon-library'
|
|
@@ -61,7 +61,7 @@ const styles = StyleSheet.create({
|
|
|
61
61
|
ModalView: {
|
|
62
62
|
flex: 1,
|
|
63
63
|
justifyContent: 'center',
|
|
64
|
-
alignItems: 'center'
|
|
64
|
+
alignItems: 'center',
|
|
65
65
|
},
|
|
66
66
|
InfoDialogContent: {
|
|
67
67
|
backgroundColor: 'white',
|
|
@@ -77,7 +77,14 @@ const styles = StyleSheet.create({
|
|
|
77
77
|
},
|
|
78
78
|
elevation: 8,
|
|
79
79
|
maxWidth: '80%',
|
|
80
|
-
width: 334
|
|
80
|
+
width: 334,
|
|
81
|
+
|
|
82
|
+
...Platform.select({
|
|
83
|
+
android: {
|
|
84
|
+
borderWidth: 2,
|
|
85
|
+
borderColor: colors.black05,
|
|
86
|
+
}
|
|
87
|
+
})
|
|
81
88
|
},
|
|
82
89
|
InfoDialogIconRow: {
|
|
83
90
|
alignItems: 'center',
|