@axelor/aos-mobile-ui 7.1.1 → 7.2.0
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/lib/components/atoms/Icon/Icon.d.ts +1 -2
- package/lib/components/atoms/Icon/Icon.js +6 -6
- package/lib/components/atoms/Icon/Icon.js.map +1 -1
- package/lib/components/atoms/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.d.ts +6 -1
- package/lib/components/atoms/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.js +3 -3
- package/lib/components/atoms/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.js.map +1 -1
- package/lib/components/atoms/RadioButton/RadioButton.d.ts +7 -0
- package/lib/components/atoms/RadioButton/RadioButton.js +73 -0
- package/lib/components/atoms/RadioButton/RadioButton.js.map +1 -0
- package/lib/components/atoms/Screen/Screen.js +13 -2
- package/lib/components/atoms/Screen/Screen.js.map +1 -1
- package/lib/components/atoms/ScrollView/ScrollView.d.ts +6 -1
- package/lib/components/atoms/ScrollView/ScrollView.js +3 -3
- package/lib/components/atoms/ScrollView/ScrollView.js.map +1 -1
- package/lib/components/atoms/Switch/Switch.js +3 -5
- package/lib/components/atoms/Switch/Switch.js.map +1 -1
- package/lib/components/atoms/index.d.ts +1 -0
- package/lib/components/atoms/index.js +1 -0
- package/lib/components/atoms/index.js.map +1 -1
- package/lib/components/molecules/Alert/Alert.d.ts +20 -0
- package/lib/components/molecules/Alert/Alert.js +124 -0
- package/lib/components/molecules/Alert/Alert.js.map +1 -0
- package/lib/components/molecules/BlockInteractionMessage/BlockInteractionMessage.js +1 -3
- package/lib/components/molecules/BlockInteractionMessage/BlockInteractionMessage.js.map +1 -1
- package/lib/components/molecules/Button/Button.d.ts +11 -4
- package/lib/components/molecules/Button/Button.js +34 -11
- package/lib/components/molecules/Button/Button.js.map +1 -1
- package/lib/components/molecules/CircleButton/CircleButton.d.ts +12 -5
- package/lib/components/molecules/CircleButton/CircleButton.js +11 -18
- package/lib/components/molecules/CircleButton/CircleButton.js.map +1 -1
- package/lib/components/molecules/FormHtmlInput/FormHtmlInput.d.ts +2 -1
- package/lib/components/molecules/FormHtmlInput/FormHtmlInput.js +11 -2
- package/lib/components/molecules/FormHtmlInput/FormHtmlInput.js.map +1 -1
- package/lib/components/molecules/FormInput/FormInput.js +1 -1
- package/lib/components/molecules/FormInput/FormInput.js.map +1 -1
- package/lib/components/molecules/Image/Image.js +13 -5
- package/lib/components/molecules/Image/Image.js.map +1 -1
- package/lib/components/molecules/Increment/Increment.js +2 -2
- package/lib/components/molecules/Increment/Increment.js.map +1 -1
- package/lib/components/molecules/InfoBubble/InfoBubble.d.ts +2 -1
- package/lib/components/molecules/InfoBubble/InfoBubble.js +4 -3
- package/lib/components/molecules/InfoBubble/InfoBubble.js.map +1 -1
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.d.ts +4 -3
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js +4 -15
- package/lib/components/molecules/MultiValuePickerButton/MultiValuePickerButton.js.map +1 -1
- package/lib/components/molecules/RadioSelect/RadioSelect.d.ts +14 -0
- package/lib/components/molecules/RadioSelect/RadioSelect.js +59 -0
- package/lib/components/molecules/RadioSelect/RadioSelect.js.map +1 -0
- package/lib/components/molecules/SelectionContainer/SelectionContainer.d.ts +4 -3
- package/lib/components/molecules/SelectionContainer/SelectionContainer.js +17 -9
- package/lib/components/molecules/SelectionContainer/SelectionContainer.js.map +1 -1
- package/lib/components/molecules/SwitchCard/SwitchCard.js +22 -5
- package/lib/components/molecules/SwitchCard/SwitchCard.js.map +1 -1
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.d.ts +4 -1
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js +4 -1
- package/lib/components/molecules/ToggleSwitch/ToggleSwitch.js.map +1 -1
- package/lib/components/molecules/index.d.ts +2 -2
- package/lib/components/molecules/index.js +2 -2
- package/lib/components/molecules/index.js.map +1 -1
- package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.d.ts +4 -1
- package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.js +17 -13
- package/lib/components/organisms/AutoCompleteSearch/AutoCompleteSearch.js.map +1 -1
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.js +3 -2
- package/lib/components/organisms/AutoCompleteSearch/ItemCard.js.map +1 -1
- package/lib/components/organisms/AutoCompleteSearch/SearchDetailsPopUp.js +17 -19
- package/lib/components/organisms/AutoCompleteSearch/SearchDetailsPopUp.js.map +1 -1
- package/lib/components/organisms/ChipSelect/ChipSelect.d.ts +2 -1
- package/lib/components/organisms/ChipSelect/ChipSelect.js +29 -26
- package/lib/components/organisms/ChipSelect/ChipSelect.js.map +1 -1
- package/lib/components/organisms/FloatingButton/FloatingButton.js +17 -10
- package/lib/components/organisms/FloatingButton/FloatingButton.js.map +1 -1
- package/lib/components/organisms/MultiValuePicker/MultiValuePicker.d.ts +4 -5
- package/lib/components/organisms/MultiValuePicker/MultiValuePicker.js +22 -40
- package/lib/components/organisms/MultiValuePicker/MultiValuePicker.js.map +1 -1
- package/lib/components/organisms/Picker/Picker.d.ts +4 -5
- package/lib/components/organisms/Picker/Picker.js +67 -72
- package/lib/components/organisms/Picker/Picker.js.map +1 -1
- package/lib/components/organisms/SearchBar/SearchBar.d.ts +4 -1
- package/lib/components/organisms/SearchBar/SearchBar.js +36 -13
- package/lib/components/organisms/SearchBar/SearchBar.js.map +1 -1
- package/lib/components/organisms/index.d.ts +0 -3
- package/lib/components/organisms/index.js +0 -3
- package/lib/components/organisms/index.js.map +1 -1
- package/lib/components/templates/ObjectCard/ObjectCard.d.ts +3 -1
- package/lib/components/templates/ObjectCard/ObjectCard.js +5 -6
- package/lib/components/templates/ObjectCard/ObjectCard.js.map +1 -1
- package/lib/theme/writingTheme.js +4 -4
- package/lib/utils/commons-styles.d.ts +2 -2
- package/lib/utils/commons-styles.js +6 -6
- package/lib/utils/commons-styles.js.map +1 -1
- package/package.json +6 -3
- package/lib/components/molecules/IconButton/IconButton.d.ts +0 -12
- package/lib/components/molecules/IconButton/IconButton.js +0 -48
- package/lib/components/molecules/IconButton/IconButton.js.map +0 -1
- package/lib/components/molecules/PopUp/PopUp.d.ts +0 -10
- package/lib/components/molecules/PopUp/PopUp.js +0 -77
- package/lib/components/molecules/PopUp/PopUp.js.map +0 -1
- package/lib/components/organisms/MultiSelectValue/MultiSelectValue.d.ts +0 -9
- package/lib/components/organisms/MultiSelectValue/MultiSelectValue.js +0 -49
- package/lib/components/organisms/MultiSelectValue/MultiSelectValue.js.map +0 -1
- package/lib/components/organisms/PopUpOneButton/PopUpOneButton.d.ts +0 -9
- package/lib/components/organisms/PopUpOneButton/PopUpOneButton.js +0 -41
- package/lib/components/organisms/PopUpOneButton/PopUpOneButton.js.map +0 -1
- package/lib/components/organisms/PopUpTwoButton/PopUpTwoButton.d.ts +0 -11
- package/lib/components/organisms/PopUpTwoButton/PopUpTwoButton.js +0 -42
- package/lib/components/organisms/PopUpTwoButton/PopUpTwoButton.js.map +0 -1
|
@@ -34,7 +34,7 @@ const filterList = (list) => {
|
|
|
34
34
|
})
|
|
35
35
|
.sort((a, b) => a.order - b.order);
|
|
36
36
|
};
|
|
37
|
-
const ObjectCard = ({ style, touchable = true, onPress, showArrow = true, upperBadges, sideBadges, lowerBadges, upperTexts, lowerTexts, image, }) => {
|
|
37
|
+
const ObjectCard = ({ style, leftContainerFlex = 3, iconLeftMargin = 20, touchable = true, onPress, showArrow = true, upperBadges, sideBadges, lowerBadges, upperTexts, lowerTexts, image, }) => {
|
|
38
38
|
const Colors = useThemeColor();
|
|
39
39
|
const initBadgeItems = useCallback((list) => filterList(list), []);
|
|
40
40
|
const initTextItems = useCallback((list) => filterList(list).map((_item) => {
|
|
@@ -43,7 +43,7 @@ const ObjectCard = ({ style, touchable = true, onPress, showArrow = true, upperB
|
|
|
43
43
|
* but keep the possibility to give 'null' value to adapt to text length
|
|
44
44
|
*/
|
|
45
45
|
if (_item.numberOfLines === undefined) {
|
|
46
|
-
return { ..._item, numberOfLines: 1 };
|
|
46
|
+
return { ..._item, numberOfLines: _item.isTitle ? 2 : 1 };
|
|
47
47
|
}
|
|
48
48
|
return _item;
|
|
49
49
|
}), []);
|
|
@@ -94,9 +94,9 @@ const ObjectCard = ({ style, touchable = true, onPress, showArrow = true, upperB
|
|
|
94
94
|
{initBadgeItems(upperBadges.items).map(renderBadgeElement)}
|
|
95
95
|
</View>)}
|
|
96
96
|
<View style={styles.content}>
|
|
97
|
-
<View style={styles.descriptionContainer}>
|
|
97
|
+
<View style={[styles.descriptionContainer, { flex: leftContainerFlex }]}>
|
|
98
98
|
<View style={styles.row}>
|
|
99
|
-
{image != null ? (<Image generalStyle={[styles.imageStyle, image.generalStyle]} imageSize={[styles.imageSize, image.imageSize]} resizeMode={image.resizeMode ?? 'contain'} source={image.source} defaultIconSize={image.defaultIconSize ??
|
|
99
|
+
{image != null ? (<Image generalStyle={[styles.imageStyle, image.generalStyle]} imageSize={[styles.imageSize, image.imageSize]} resizeMode={image.resizeMode ?? 'contain'} source={image.source} defaultIconSize={image.defaultIconSize ?? 50}/>) : null}
|
|
100
100
|
{upperTexts != null && (<View style={[styles.textContainer, upperTexts.style]}>
|
|
101
101
|
{initTextItems(upperTexts.items).map(renderTextElement)}
|
|
102
102
|
</View>)}
|
|
@@ -110,7 +110,7 @@ const ObjectCard = ({ style, touchable = true, onPress, showArrow = true, upperB
|
|
|
110
110
|
{sideBadges != null && (<View style={[styles.verticalBadgesContainer, sideBadges.style]}>
|
|
111
111
|
{initBadgeItems(sideBadges.items).map(renderBadgeElement)}
|
|
112
112
|
</View>)}
|
|
113
|
-
{showArrow && (<Icon name="chevron-right" color={Colors.secondaryColor.background_light} size={20}/>)}
|
|
113
|
+
{showArrow && (<Icon name="chevron-right" color={Colors.secondaryColor.background_light} size={20} style={{ marginLeft: iconLeftMargin }}/>)}
|
|
114
114
|
</View>
|
|
115
115
|
{lowerBadges != null && (<View style={[
|
|
116
116
|
styles.horizontalBadgesContainer,
|
|
@@ -149,7 +149,6 @@ const styles = StyleSheet.create({
|
|
|
149
149
|
descriptionContainer: {
|
|
150
150
|
flexDirection: 'column',
|
|
151
151
|
width: '75%',
|
|
152
|
-
flex: 3,
|
|
153
152
|
},
|
|
154
153
|
row: {
|
|
155
154
|
flexDirection: 'row',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectCard.js","sourceRoot":"","sources":["../../../../src/components/templates/ObjectCard/ObjectCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAe,WAAW,EAAC,MAAM,OAAO,CAAC;AACvD,OAAO,EAKL,UAAU,EACV,gBAAgB,EAChB,IAAI,GACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAQ,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAExD,MAAM,UAAU,GAAG,CAAC,IAAW,EAAS,EAAE;IACxC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACxB,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACtB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,EAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAC,CAAC;IACtC,CAAC,CAAC;SACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;AACvC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ObjectCard.js","sourceRoot":"","sources":["../../../../src/components/templates/ObjectCard/ObjectCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAe,WAAW,EAAC,MAAM,OAAO,CAAC;AACvD,OAAO,EAKL,UAAU,EACV,gBAAgB,EAChB,IAAI,GACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAQ,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAExD,MAAM,UAAU,GAAG,CAAC,IAAW,EAAS,EAAE;IACxC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACxB,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACnB,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACtB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,EAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAC,CAAC;IACtC,CAAC,CAAC;SACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;AACvC,CAAC,CAAC;AAmEF,MAAM,UAAU,GAAG,CAAC,EAClB,KAAK,EACL,iBAAiB,GAAG,CAAC,EACrB,cAAc,GAAG,EAAE,EACnB,SAAS,GAAG,IAAI,EAChB,OAAO,EACP,SAAS,GAAG,IAAI,EAChB,WAAW,EACX,UAAU,EACV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|
|
23
|
-
defaultSize:
|
|
24
|
-
title: { fontSize:
|
|
23
|
+
defaultSize: 16,
|
|
24
|
+
title: { fontSize: 18, fontWeight: 'bold', fontStyle: 'normal' },
|
|
25
25
|
subTitle: { fontSize: 16, fontWeight: 'normal', fontStyle: 'normal' },
|
|
26
|
-
textImportant: { fontSize:
|
|
27
|
-
textDetails: { fontSize:
|
|
26
|
+
textImportant: { fontSize: 16, fontWeight: 'bold', fontStyle: 'normal' },
|
|
27
|
+
textDetails: { fontSize: 16, fontWeight: 'normal', fontStyle: 'italic' },
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
export const useWritingType = (type) => {
|
|
@@ -29,13 +29,13 @@ export function getCommonStyles(Colors: any, _required?: boolean): {
|
|
|
29
29
|
justifyContent: "center";
|
|
30
30
|
alignItems: "center";
|
|
31
31
|
alignContent: "center";
|
|
32
|
+
paddingHorizontal: number;
|
|
32
33
|
paddingVertical: number;
|
|
33
34
|
marginVertical: number;
|
|
34
35
|
borderRadius: number;
|
|
35
|
-
|
|
36
|
+
borderWidth: number;
|
|
36
37
|
height: number;
|
|
37
38
|
minHeight: number;
|
|
38
|
-
maxHeight: number;
|
|
39
39
|
};
|
|
40
40
|
inputFocused: {
|
|
41
41
|
borderWidth: number;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
*/
|
|
18
|
-
import {
|
|
18
|
+
import { StyleSheet } from 'react-native';
|
|
19
19
|
import { hexToRgb } from './commons-utlis';
|
|
20
20
|
export const getCommonStyles = (Colors, _required = false) => StyleSheet.create({
|
|
21
21
|
filter: {
|
|
@@ -45,13 +45,13 @@ export const getCommonStyles = (Colors, _required = false) => StyleSheet.create(
|
|
|
45
45
|
justifyContent: 'center',
|
|
46
46
|
alignItems: 'center',
|
|
47
47
|
alignContent: 'center',
|
|
48
|
+
paddingHorizontal: 5,
|
|
48
49
|
paddingVertical: 5,
|
|
49
50
|
marginVertical: 5,
|
|
50
|
-
borderRadius:
|
|
51
|
-
|
|
52
|
-
height:
|
|
53
|
-
minHeight:
|
|
54
|
-
maxHeight: 40,
|
|
51
|
+
borderRadius: 13,
|
|
52
|
+
borderWidth: 2,
|
|
53
|
+
height: 50,
|
|
54
|
+
minHeight: 40,
|
|
55
55
|
},
|
|
56
56
|
inputFocused: {
|
|
57
57
|
borderWidth: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commons-styles.js","sourceRoot":"","sources":["../../src/utils/commons-styles.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"commons-styles.js","sourceRoot":"","sources":["../../src/utils/commons-styles.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAEzC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE,CAC3D,UAAU,CAAC,MAAM,CAAC;IAChB,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC,eAAe;QACvC,YAAY,EAAE,EAAE;QAChB,SAAS,EAAE,CAAC;QACZ,aAAa,EAAE,GAAG;QAClB,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU;QAC7C,YAAY,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAC;QACnC,iBAAiB,EAAE,EAAE;QACrB,eAAe,EAAE,CAAC;QAClB,cAAc,EAAE,CAAC;KAClB;IACD,WAAW,EAAE;QACX,gBAAgB,EAAE,EAAE;QACpB,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,eAAe;QAC/B,UAAU,EAAE,QAAQ;KACrB;IACD,UAAU,EAAE;QACV,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,EAAE;KACX;IACD,MAAM,EAAE;QACN,aAAa,EAAE,KAAK;QACpB,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,YAAY,EAAE,QAAQ;QACtB,iBAAiB,EAAE,CAAC;QACpB,eAAe,EAAE,CAAC;QAClB,cAAc,EAAE,CAAC;QACjB,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,CAAC;QACd,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,EAAE;KACd;IACD,YAAY,EAAE;QACZ,WAAW,EAAE,CAAC;QACd,WAAW,EAAE,SAAS;YACpB,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU;YAC9B,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU;QAClC,WAAW,EAAE,QAAQ,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS;QACtE,YAAY,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAC;QACnC,aAAa,EAAE,CAAC;QAChB,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;KACb;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axelor/aos-mobile-ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"author": "Axelor",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint": "eslint .",
|
|
21
21
|
"format": "prettier --write src/",
|
|
22
22
|
"format:check": "prettier --check src/",
|
|
23
|
-
"license:add": "npx add-copyright-header --generate --dir 'src'"
|
|
23
|
+
"license:add": "npx add-copyright-header --generate --dir 'src' && npx add-copyright-header --generate --dir 'stories'"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "*",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/runtime": "^7.19.0",
|
|
34
34
|
"@react-native-community/eslint-config": "^2.0.0",
|
|
35
|
-
"@types/react": "18.0
|
|
35
|
+
"@types/react": "18.2.0",
|
|
36
36
|
"@types/react-native": "0.68.1",
|
|
37
37
|
"eslint": "^7.32.0",
|
|
38
38
|
"metro-react-native-babel-preset": "^0.72.3",
|
|
@@ -43,5 +43,8 @@
|
|
|
43
43
|
"react-native-system-navigation-bar": "2.2.0",
|
|
44
44
|
"react-native-pell-rich-editor": "1.8.8",
|
|
45
45
|
"react-native-vector-icons": "^9.2.0"
|
|
46
|
+
},
|
|
47
|
+
"resolutions": {
|
|
48
|
+
"@types/react": "18.2.0"
|
|
46
49
|
}
|
|
47
50
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Color } from '../../../theme/themes';
|
|
2
|
-
interface IconButtonProps {
|
|
3
|
-
style?: any;
|
|
4
|
-
color?: Color;
|
|
5
|
-
title: string;
|
|
6
|
-
iconName: string;
|
|
7
|
-
FontAwesome5?: boolean;
|
|
8
|
-
onPress: (any: any) => void;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const IconButton: ({ style, color, title, iconName, FontAwesome5, onPress, disabled, }: IconButtonProps) => JSX.Element;
|
|
12
|
-
export default IconButton;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React, { useMemo } from 'react';
|
|
19
|
-
import { StyleSheet, TouchableOpacity } from 'react-native';
|
|
20
|
-
import { getCommonStyles } from '../../../utils/commons-styles';
|
|
21
|
-
import { useThemeColor } from '../../../theme/ThemeContext';
|
|
22
|
-
import { Icon, Text } from '../../atoms';
|
|
23
|
-
const IconButton = ({ style, color, title, iconName, FontAwesome5 = true, onPress = () => { }, disabled = false, }) => {
|
|
24
|
-
const Colors = useThemeColor();
|
|
25
|
-
const buttonColor = useMemo(() => (color == null ? Colors.primaryColor : color), [Colors.primaryColor, color]);
|
|
26
|
-
const styles = useMemo(() => {
|
|
27
|
-
return getStyles(buttonColor);
|
|
28
|
-
}, [buttonColor]);
|
|
29
|
-
const commonStyle = useMemo(() => getCommonStyles(Colors), [Colors]);
|
|
30
|
-
return (<TouchableOpacity style={[styles.container, commonStyle.button, style]} onPress={onPress} disabled={disabled}>
|
|
31
|
-
<Icon name={iconName} FontAwesome5={FontAwesome5} size={15} color={buttonColor.foreground}/>
|
|
32
|
-
<Text style={styles.text}>{title}</Text>
|
|
33
|
-
</TouchableOpacity>);
|
|
34
|
-
};
|
|
35
|
-
const getStyles = color => StyleSheet.create({
|
|
36
|
-
container: {
|
|
37
|
-
backgroundColor: color.background,
|
|
38
|
-
},
|
|
39
|
-
text: {
|
|
40
|
-
color: color.foreground,
|
|
41
|
-
fontSize: 15,
|
|
42
|
-
fontWeight: 'bold',
|
|
43
|
-
textAlign: 'center',
|
|
44
|
-
marginLeft: 10,
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
export default IconButton;
|
|
48
|
-
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.js","sourceRoot":"","sources":["../../../../src/components/molecules/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AAavC,MAAM,UAAU,GAAG,CAAC,EAClB,KAAK,EACL,KAAK,EACL,KAAK,EACL,QAAQ,EACR,YAAY,GAAG,IAAI,EACnB,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,EAClB,QAAQ,GAAG,KAAK,GACA,EAAE,EAAE;IACpB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,EACnD,CAAC,MAAM,CAAC,YAAY,EAAE,KAAK,CAAC,CAC7B,CAAC;IAEF,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,OAAO,SAAS,CAAC,WAAW,CAAC,CAAC;IAChC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAErE,OAAO,CACL,CAAC,gBAAgB,CACf,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CACrD,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB;MAAA,CAAC,IAAI,CACH,IAAI,CAAC,CAAC,QAAQ,CAAC,CACf,YAAY,CAAC,CAAC,YAAY,CAAC,CAC3B,IAAI,CAAC,CAAC,EAAE,CAAC,CACT,KAAK,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,EAEhC;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,IAAI,CACzC;IAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,KAAK,CAAC,EAAE,CACxB,UAAU,CAAC,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,eAAe,EAAE,KAAK,CAAC,UAAU;KAClC;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,KAAK,CAAC,UAAU;QACvB,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE,EAAE;KACf;CACF,CAAC,CAAC;AAEL,eAAe,UAAU,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface PopUpProps {
|
|
2
|
-
style?: any;
|
|
3
|
-
visible: boolean;
|
|
4
|
-
title?: string;
|
|
5
|
-
data?: string;
|
|
6
|
-
children: any;
|
|
7
|
-
childrenStyle?: any;
|
|
8
|
-
}
|
|
9
|
-
declare const PopUp: ({ style, visible, title, data, children, childrenStyle, }: PopUpProps) => JSX.Element;
|
|
10
|
-
export default PopUp;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React from 'react';
|
|
19
|
-
import { StyleSheet, View, Modal } from 'react-native';
|
|
20
|
-
import { checkNullString } from '../../../utils/strings';
|
|
21
|
-
import { Card, Text } from '../../atoms';
|
|
22
|
-
const PopUp = ({ style, visible, title, data, children, childrenStyle, }) => {
|
|
23
|
-
return (<Modal visible={visible} transparent animationType="fade" onRequestClose={() => console.log('closed')}>
|
|
24
|
-
<View style={styles.modalBackground}>
|
|
25
|
-
<Card style={[styles.container, style]}>
|
|
26
|
-
{!checkNullString(title) && (<View style={styles.headerContainer}>
|
|
27
|
-
<Text style={styles.header}>{title}</Text>
|
|
28
|
-
</View>)}
|
|
29
|
-
{!checkNullString(data) && (<View style={styles.contentContainer}>
|
|
30
|
-
<Text style={styles.text}>{data}</Text>
|
|
31
|
-
</View>)}
|
|
32
|
-
<View style={[styles.buttonContainer, childrenStyle]}>
|
|
33
|
-
{children}
|
|
34
|
-
</View>
|
|
35
|
-
</Card>
|
|
36
|
-
</View>
|
|
37
|
-
</Modal>);
|
|
38
|
-
};
|
|
39
|
-
const styles = StyleSheet.create({
|
|
40
|
-
modalBackground: {
|
|
41
|
-
flex: 1,
|
|
42
|
-
backgroundColor: 'rgba(0,0,0,0.5)',
|
|
43
|
-
justifyContent: 'center',
|
|
44
|
-
alignItems: 'center',
|
|
45
|
-
},
|
|
46
|
-
container: {
|
|
47
|
-
width: '80%',
|
|
48
|
-
justifyContent: 'center',
|
|
49
|
-
alignItems: 'center',
|
|
50
|
-
},
|
|
51
|
-
headerContainer: {
|
|
52
|
-
justifyContent: 'center',
|
|
53
|
-
alignItems: 'center',
|
|
54
|
-
width: '80%',
|
|
55
|
-
marginBottom: 8,
|
|
56
|
-
},
|
|
57
|
-
header: {
|
|
58
|
-
fontSize: 20,
|
|
59
|
-
fontWeight: 'bold',
|
|
60
|
-
},
|
|
61
|
-
contentContainer: {
|
|
62
|
-
justifyContent: 'center',
|
|
63
|
-
alignItems: 'center',
|
|
64
|
-
},
|
|
65
|
-
text: {
|
|
66
|
-
textAlign: 'center',
|
|
67
|
-
fontSize: 16,
|
|
68
|
-
},
|
|
69
|
-
buttonContainer: {
|
|
70
|
-
flexDirection: 'row',
|
|
71
|
-
justifyContent: 'center',
|
|
72
|
-
alignItems: 'center',
|
|
73
|
-
width: '80%',
|
|
74
|
-
},
|
|
75
|
-
});
|
|
76
|
-
export default PopUp;
|
|
77
|
-
//# sourceMappingURL=PopUp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopUp.js","sourceRoot":"","sources":["../../../../src/components/molecules/PopUp/PopUp.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,cAAc,CAAC;AACrD,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,aAAa,CAAC;AAWvC,MAAM,KAAK,GAAG,CAAC,EACb,KAAK,EACL,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,aAAa,GACF,EAAE,EAAE;IACf,OAAO,CACL,CAAC,KAAK,CACJ,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,WAAW,CACX,aAAa,C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QACT,KAAK,EAAE,KAAK;QACZ,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;KACrB;IACD,eAAe,EAAE;QACf,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,KAAK,EAAE,KAAK;QACZ,YAAY,EAAE,CAAC;KAChB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,MAAM;KACnB;IACD,gBAAgB,EAAE;QAChB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;KACrB;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ;QACnB,QAAQ,EAAE,EAAE;KACb;IACD,eAAe,EAAE;QACf,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,KAAK,EAAE,KAAK;KACb;CACF,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Color } from '../../../theme/themes';
|
|
2
|
-
interface MultiSelectValueProps {
|
|
3
|
-
color?: Color;
|
|
4
|
-
itemList: string[];
|
|
5
|
-
style?: any;
|
|
6
|
-
title: string;
|
|
7
|
-
}
|
|
8
|
-
declare const MultiSelectValue: ({ color, itemList, style, title, }: MultiSelectValueProps) => JSX.Element;
|
|
9
|
-
export default MultiSelectValue;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React from 'react';
|
|
19
|
-
import { StyleSheet, View } from 'react-native';
|
|
20
|
-
import { useThemeColor } from '../../../theme/ThemeContext';
|
|
21
|
-
import { Badge } from '../../molecules';
|
|
22
|
-
import { Text } from '../../atoms';
|
|
23
|
-
const MultiSelectValue = ({ color, itemList, style, title, }) => {
|
|
24
|
-
const Colors = useThemeColor();
|
|
25
|
-
return (<View style={[styles.container, style]}>
|
|
26
|
-
<Text style={styles.title}>{title}</Text>
|
|
27
|
-
{itemList != null && itemList?.length > 0
|
|
28
|
-
? itemList.map((item, index) => (<Badge key={'index' + index} title={item} color={color || Colors.primaryColor} style={styles.badge}/>))
|
|
29
|
-
: null}
|
|
30
|
-
</View>);
|
|
31
|
-
};
|
|
32
|
-
const styles = StyleSheet.create({
|
|
33
|
-
container: {
|
|
34
|
-
flexDirection: 'row',
|
|
35
|
-
flexWrap: 'wrap',
|
|
36
|
-
alignItems: 'center',
|
|
37
|
-
},
|
|
38
|
-
badge: {
|
|
39
|
-
width: null,
|
|
40
|
-
marginVertical: 2,
|
|
41
|
-
paddingHorizontal: 5,
|
|
42
|
-
},
|
|
43
|
-
title: {
|
|
44
|
-
fontSize: 14,
|
|
45
|
-
marginRight: 10,
|
|
46
|
-
},
|
|
47
|
-
});
|
|
48
|
-
export default MultiSelectValue;
|
|
49
|
-
//# sourceMappingURL=MultiSelectValue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectValue.js","sourceRoot":"","sources":["../../../../src/components/organisms/MultiSelectValue/MultiSelectValue.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AA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E,CAAC;QACjB,iBAAiB,EAAE,CAAC;KACrB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,EAAE;QACZ,WAAW,EAAE,EAAE;KAChB;CACF,CAAC,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface PopUpOneButtonProps {
|
|
2
|
-
visible: boolean;
|
|
3
|
-
title: string;
|
|
4
|
-
data: string;
|
|
5
|
-
btnTitle: string;
|
|
6
|
-
onPress: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const PopUpOneButton: ({ visible, title, data, btnTitle, onPress, }: PopUpOneButtonProps) => JSX.Element;
|
|
9
|
-
export default PopUpOneButton;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React, { useMemo } from 'react';
|
|
19
|
-
import { StyleSheet } from 'react-native';
|
|
20
|
-
import { useThemeColor } from '../../../theme';
|
|
21
|
-
import { Button, PopUp } from '../../molecules';
|
|
22
|
-
const PopUpOneButton = ({ visible, title, data, btnTitle, onPress, }) => {
|
|
23
|
-
const Colors = useThemeColor();
|
|
24
|
-
const styles = useMemo(() => getStyles(Colors), [Colors]);
|
|
25
|
-
return (<PopUp visible={visible} title={title} data={data}>
|
|
26
|
-
<Button style={styles.button} title={btnTitle} onPress={onPress}/>
|
|
27
|
-
</PopUp>);
|
|
28
|
-
};
|
|
29
|
-
const getStyles = (Colors) => StyleSheet.create({
|
|
30
|
-
button: {
|
|
31
|
-
alignSelf: 'center',
|
|
32
|
-
marginTop: 15,
|
|
33
|
-
elevation: 5,
|
|
34
|
-
shadowOpacity: 0.5,
|
|
35
|
-
shadowColor: Colors.secondaryColor.background,
|
|
36
|
-
shadowOffset: { width: 0, height: 0 },
|
|
37
|
-
width: '40%',
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
export default PopUpOneButton;
|
|
41
|
-
//# sourceMappingURL=PopUpOneButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopUpOneButton.js","sourceRoot":"","sources":["../../../../src/components/organisms/PopUpOneButton/PopUpOneButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAc,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,iBAAiB,CAAC;AAU9C,MAAM,cAAc,GAAG,CAAC,EACtB,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,OAAO,GACa,EAAE,EAAE;IACxB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAE/B,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1D,OAAO,CACL,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAChD;MAAA,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,EAClE;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,MAAmB,EAAE,EAAE,CACxC,UAAU,CAAC,MAAM,CAAC;IAChB,MAAM,EAAE;QACN,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE,EAAE;QACb,SAAS,EAAE,CAAC;QACZ,aAAa,EAAE,GAAG;QAClB,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU;QAC7C,YAAY,EAAE,EAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAC;QACnC,KAAK,EAAE,KAAK;KACb;CACF,CAAC,CAAC;AAEL,eAAe,cAAc,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface PopUpTwoButtonProps {
|
|
2
|
-
visible: boolean;
|
|
3
|
-
title: string;
|
|
4
|
-
data: string;
|
|
5
|
-
PrimaryBtnTitle: string;
|
|
6
|
-
onPressPrimary: () => void;
|
|
7
|
-
SecondaryBtnTitle: string;
|
|
8
|
-
onPressSecondary: () => void;
|
|
9
|
-
}
|
|
10
|
-
declare const PopUpTwoButton: ({ visible, title, data, PrimaryBtnTitle, onPressPrimary, SecondaryBtnTitle, onPressSecondary, }: PopUpTwoButtonProps) => JSX.Element;
|
|
11
|
-
export default PopUpTwoButton;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React, { useMemo } from 'react';
|
|
19
|
-
import { StyleSheet } from 'react-native';
|
|
20
|
-
import { useThemeColor } from '../../../theme';
|
|
21
|
-
import { Button, PopUp } from '../../molecules';
|
|
22
|
-
const PopUpTwoButton = ({ visible, title, data, PrimaryBtnTitle, onPressPrimary, SecondaryBtnTitle, onPressSecondary, }) => {
|
|
23
|
-
const Colors = useThemeColor();
|
|
24
|
-
const styles = useMemo(() => getStyles(Colors), [Colors]);
|
|
25
|
-
return (<PopUp visible={visible} title={title} data={data}>
|
|
26
|
-
<Button style={styles.button} color={Colors.secondaryColor} title={SecondaryBtnTitle} onPress={onPressSecondary}/>
|
|
27
|
-
<Button style={styles.button} color={Colors.primaryColor} title={PrimaryBtnTitle} onPress={onPressPrimary}/>
|
|
28
|
-
</PopUp>);
|
|
29
|
-
};
|
|
30
|
-
const getStyles = (Colors) => StyleSheet.create({
|
|
31
|
-
button: {
|
|
32
|
-
marginHorizontal: 4,
|
|
33
|
-
marginTop: 15,
|
|
34
|
-
elevation: 5,
|
|
35
|
-
shadowOpacity: 0.5,
|
|
36
|
-
shadowColor: Colors.secondaryColor.background,
|
|
37
|
-
shadowOffset: { width: 0, height: 0 },
|
|
38
|
-
width: '40%',
|
|
39
|
-
},
|
|
40
|
-
});
|
|
41
|
-
export default PopUpTwoButton;
|
|
42
|
-
//# sourceMappingURL=PopUpTwoButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version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