react-native-exp-fig 0.1.14 → 0.1.16
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/commonjs/common/icons-svg/agent/index.js +2 -2
- package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bed/index.js +4 -4
- package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/car/index.js +4 -4
- package/lib/commonjs/common/icons-svg/car/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-outline/index.js +6 -6
- package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/coffee/index.js +4 -4
- package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/constants/index.js +2 -1
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/hourglass/index.js +36 -0
- package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +8 -1
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
- package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
- package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/index.js +4 -4
- package/lib/commonjs/components/activities-daily/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +4 -4
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
- package/lib/commonjs/components/button/styles.js +1 -1
- package/lib/commonjs/components/button/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +62 -12
- package/lib/commonjs/components/card-history/index.js.map +1 -1
- package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +21 -10
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +4 -4
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +6 -6
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +4 -4
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/coil/interface.d.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/index.js +7 -7
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +1 -2
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/index.js +11 -10
- package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +3 -1
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/index.js +155 -0
- package/lib/commonjs/components/modal-activities/index.js.map +1 -0
- package/lib/commonjs/components/modal-activities/interface.d.js +6 -0
- package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -0
- package/lib/commonjs/components/notification-loading/index.js +9 -2
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +6 -6
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/styles.js +9 -8
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +6 -6
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
- package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +47 -0
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -0
- package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +6 -5
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/format-data/index.js +11 -11
- package/lib/commonjs/utils/format-data/index.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +12 -2
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/module/common/icons-svg/agent/index.js +2 -2
- package/lib/module/common/icons-svg/agent/index.js.map +1 -1
- package/lib/module/common/icons-svg/bed/index.js +4 -4
- package/lib/module/common/icons-svg/bed/index.js.map +1 -1
- package/lib/module/common/icons-svg/car/index.js +4 -4
- package/lib/module/common/icons-svg/car/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-outline/index.js +6 -6
- package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
- package/lib/module/common/icons-svg/coffee/index.js +4 -4
- package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +2 -1
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/hourglass/index.js +28 -0
- package/lib/module/common/icons-svg/hourglass/index.js.map +1 -0
- package/lib/module/common/icons-svg/index.js +11 -4
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/pencil/index.js +4 -4
- package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
- package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +4 -4
- package/lib/module/components/activities-daily/index.js.map +1 -1
- package/lib/module/components/activities-daily/interface.d.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +4 -4
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/activities-progress/interface.d.js.map +1 -1
- package/lib/module/components/avatar-profile/index.js.map +1 -1
- package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
- package/lib/module/components/button/styles.js +1 -1
- package/lib/module/components/button/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +62 -12
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-history/interface.d.js.map +1 -1
- package/lib/module/components/card-loading/index.js +22 -11
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +4 -4
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/check-box/index.js +6 -6
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/check-box/interface.d.js.map +1 -1
- package/lib/module/components/coil/index.js +4 -4
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/coil/interface.d.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +7 -7
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/history-details/index.js +1 -2
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/history-details/interface.d.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/index.js +11 -10
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +3 -1
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/modal-activities/index.js +148 -0
- package/lib/module/components/modal-activities/index.js.map +1 -0
- package/lib/module/components/modal-activities/interface.d.js +2 -0
- package/lib/module/components/modal-activities/interface.d.js.map +1 -0
- package/lib/module/components/notification-loading/index.js +9 -2
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/notification-loading/interface.d.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js.map +1 -1
- package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +6 -6
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/step-indicator/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +9 -8
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/components/user-profile/index.js +6 -6
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
- package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
- package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/module/stories/modal-activities/modal-activities.stories.js +41 -0
- package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -0
- package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/module/styles/theme/theme.js +6 -5
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/format-data/index.js +11 -11
- package/lib/module/utils/format-data/index.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +12 -3
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
- package/lib/typescript/src/common/icons-svg/hourglass/index.d.ts +10 -0
- package/lib/typescript/src/components/button/styles.d.ts +2 -3
- package/lib/typescript/src/components/modal-activities/index.d.ts +6 -0
- package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +6 -0
- package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/src/utils/status-color/return-color.d.ts +2 -1
- package/package.json +221 -221
- package/src/common/icons-svg/agent/index.tsx +40 -40
- package/src/common/icons-svg/bed/index.tsx +41 -41
- package/src/common/icons-svg/car/index.tsx +29 -29
- package/src/common/icons-svg/check-outline/index.tsx +42 -42
- package/src/common/icons-svg/coffee/index.tsx +43 -43
- package/src/common/icons-svg/constants/index.ts +1 -0
- package/src/common/icons-svg/hourglass/index.tsx +28 -0
- package/src/common/icons-svg/index.tsx +8 -4
- package/src/common/icons-svg/pencil/index.tsx +32 -32
- package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
- package/src/common/icons-svg/truck-activity/index.tsx +29 -29
- package/src/components/activities-daily/index.tsx +116 -116
- package/src/components/activities-daily/interface.d.ts +22 -22
- package/src/components/activities-progress/index.tsx +162 -162
- package/src/components/activities-progress/interface.d.ts +41 -41
- package/src/components/avatar-profile/index.tsx +95 -95
- package/src/components/avatar-profile/interface.d.ts +39 -39
- package/src/components/button/styles.ts +34 -34
- package/src/components/card-history/index.tsx +67 -5
- package/src/components/card-history/interface.d.ts +34 -28
- package/src/components/card-loading/index.tsx +16 -4
- package/src/components/card-work-session/index.tsx +187 -187
- package/src/components/check-box/index.tsx +94 -94
- package/src/components/check-box/interface.d.ts +31 -31
- package/src/components/coil/index.tsx +103 -103
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/filter-date-selector/index.tsx +101 -101
- package/src/components/history-details/index.tsx +1 -2
- package/src/components/history-details/interface.d.ts +18 -18
- package/src/components/image-capture-with-remove/index.tsx +11 -8
- package/src/components/image-capture-with-remove/interface.d.ts +6 -3
- package/src/components/loading-progress/index.tsx +93 -91
- package/src/components/modal-activities/index.tsx +139 -0
- package/src/components/modal-activities/interface.d.ts +21 -0
- package/src/components/notification-loading/index.tsx +9 -2
- package/src/components/notification-loading/interface.d.ts +35 -35
- package/src/components/profile-menu-option/index.tsx +65 -65
- package/src/components/profile-menu-option/interface.d.ts +42 -42
- package/src/components/step-indicator/index.tsx +164 -164
- package/src/components/step-indicator/interface.d.ts +34 -34
- package/src/components/step-indicator/styles.ts +68 -67
- package/src/components/user-profile/index.tsx +204 -204
- package/src/index.ts +1 -0
- package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
- package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
- package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
- package/src/stories/card-history/card-history.stories.tsx +50 -50
- package/src/stories/card-loading/card-loading.stories.tsx +85 -85
- package/src/stories/check-box/check-box.stories.tsx +81 -81
- package/src/stories/coil/coil.stories.tsx +98 -98
- package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
- package/src/stories/history-details/history-details.stories.tsx +36 -36
- package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
- package/src/stories/modal-activities/modal-activities.stories.tsx +46 -0
- package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
- package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
- package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
- package/src/styles/global/interface.d.ts +146 -141
- package/src/styles/theme/theme.ts +1 -0
- package/src/utils/format-data/index.ts +66 -66
- package/src/utils/status-color/return-color.ts +14 -3
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Modal, TouchableOpacity, FlatList } from "react-native";
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
|
|
9
|
+
import { Box } from "../box";
|
|
10
|
+
|
|
11
|
+
// commons / icons
|
|
12
|
+
import { Icons } from "../../common/icons-svg";
|
|
13
|
+
|
|
14
|
+
// styles
|
|
15
|
+
import { theme } from "../../styles/theme/theme";
|
|
16
|
+
import { Typography } from "../typography";
|
|
17
|
+
import { Button } from "../button";
|
|
18
|
+
|
|
19
|
+
//typing
|
|
20
|
+
|
|
21
|
+
export const ModalActivities = ({
|
|
22
|
+
onClose,
|
|
23
|
+
handleActivity,
|
|
24
|
+
isLoading
|
|
25
|
+
}) => {
|
|
26
|
+
const activities = [{
|
|
27
|
+
id: 1,
|
|
28
|
+
name: "Operação com Veículo",
|
|
29
|
+
icon: "STEERING_WHEEL"
|
|
30
|
+
}, {
|
|
31
|
+
id: 2,
|
|
32
|
+
name: "Em Carga",
|
|
33
|
+
icon: "HOURGLASS"
|
|
34
|
+
}, {
|
|
35
|
+
id: 3,
|
|
36
|
+
name: "Em Descarga",
|
|
37
|
+
icon: "HOURGLASS"
|
|
38
|
+
}, {
|
|
39
|
+
id: 4,
|
|
40
|
+
name: "Disposição com Veículo Parado",
|
|
41
|
+
icon: "TRUCK_ACTIVITY"
|
|
42
|
+
}];
|
|
43
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
|
44
|
+
animationType: "fade",
|
|
45
|
+
transparent: true,
|
|
46
|
+
onRequestClose: onClose
|
|
47
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
48
|
+
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
49
|
+
flexStyle: {
|
|
50
|
+
flex: 1,
|
|
51
|
+
justifyContent: "center",
|
|
52
|
+
alignItems: "center"
|
|
53
|
+
}
|
|
54
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
55
|
+
height: 320,
|
|
56
|
+
width: "92%",
|
|
57
|
+
backgroundColor: theme.colors.neutral[25],
|
|
58
|
+
borderStyled: {
|
|
59
|
+
borderColor: theme.colors.blue[500],
|
|
60
|
+
borderWidth: theme.borderWidths.thick,
|
|
61
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
62
|
+
},
|
|
63
|
+
paddingStyle: {
|
|
64
|
+
padding: theme.paddings.md
|
|
65
|
+
}
|
|
66
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
67
|
+
width: "100%",
|
|
68
|
+
flexStyle: {
|
|
69
|
+
flexDirection: "row",
|
|
70
|
+
justifyContent: "space-between",
|
|
71
|
+
alignItems: "center"
|
|
72
|
+
}
|
|
73
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
74
|
+
text: "Atividades",
|
|
75
|
+
size: theme.fontSizes.md,
|
|
76
|
+
color: theme.colors.blue[500],
|
|
77
|
+
fontFamily: theme.fonts.inter_bold_700
|
|
78
|
+
// fontWeight={"700"}
|
|
79
|
+
,
|
|
80
|
+
lineHeight: theme.fontSizes.xl
|
|
81
|
+
}), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
82
|
+
activeOpacity: 0.7,
|
|
83
|
+
onPress: onClose,
|
|
84
|
+
style: {}
|
|
85
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
86
|
+
color: theme.colors.blue[500],
|
|
87
|
+
icon: "CLOSED"
|
|
88
|
+
}))), /*#__PURE__*/React.createElement(Box, {
|
|
89
|
+
marginStyle: {
|
|
90
|
+
marginTop: theme.margins["2xl"]
|
|
91
|
+
}
|
|
92
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
93
|
+
data: activities,
|
|
94
|
+
numColumns: 3,
|
|
95
|
+
keyExtractor: item => item.id.toString(),
|
|
96
|
+
scrollEnabled: false,
|
|
97
|
+
renderItem: ({
|
|
98
|
+
item
|
|
99
|
+
}) => /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
100
|
+
style: {
|
|
101
|
+
alignItems: "center",
|
|
102
|
+
width: 110,
|
|
103
|
+
marginBottom: theme.margins["2xl"] // espaço entre as linhas
|
|
104
|
+
},
|
|
105
|
+
onPress: () => handleActivity(item.name)
|
|
106
|
+
}, /*#__PURE__*/React.createElement(Icons, {
|
|
107
|
+
color: theme.colors.blue[500],
|
|
108
|
+
icon: item.icon
|
|
109
|
+
}), /*#__PURE__*/React.createElement(Typography, {
|
|
110
|
+
text: item.name,
|
|
111
|
+
size: theme.fontSizes.xs,
|
|
112
|
+
color: theme.colors.blue[500],
|
|
113
|
+
lineHeight: theme.fontSizes.md,
|
|
114
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
115
|
+
fontWeight: "500",
|
|
116
|
+
align: "center",
|
|
117
|
+
marginTop: 5
|
|
118
|
+
}))
|
|
119
|
+
})), /*#__PURE__*/React.createElement(Button, {
|
|
120
|
+
title: "Cancelar Atividade",
|
|
121
|
+
width: "100%",
|
|
122
|
+
height: 40,
|
|
123
|
+
activeOpacity: 0.7,
|
|
124
|
+
onPress: onClose,
|
|
125
|
+
backgroundColor: theme.colors.blue[500],
|
|
126
|
+
buttonTextStyle: {
|
|
127
|
+
color: theme.colors.neutral[25],
|
|
128
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
129
|
+
fontSize: theme.fontSizes.md,
|
|
130
|
+
fontWeight: "500"
|
|
131
|
+
},
|
|
132
|
+
marginStyle: {
|
|
133
|
+
marginTop: theme.margins.sm
|
|
134
|
+
},
|
|
135
|
+
flexStyle: {
|
|
136
|
+
flexDirection: "row",
|
|
137
|
+
alignItems: "center",
|
|
138
|
+
justifyContent: "center"
|
|
139
|
+
},
|
|
140
|
+
borderStyled: {
|
|
141
|
+
borderWidth: theme.borderWidths.thin,
|
|
142
|
+
borderColor: theme.colors.blue[500],
|
|
143
|
+
borderRadius: theme.borderWidths.thick_medium
|
|
144
|
+
},
|
|
145
|
+
isLoading: isLoading !== null && isLoading !== void 0 ? isLoading : false
|
|
146
|
+
}))));
|
|
147
|
+
};
|
|
148
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Modal","TouchableOpacity","FlatList","Box","Icons","theme","Typography","Button","ModalActivities","onClose","handleActivity","isLoading","activities","id","name","icon","createElement","animationType","transparent","onRequestClose","backgroundColor","flexStyle","flex","justifyContent","alignItems","height","width","colors","neutral","borderStyled","borderColor","blue","borderWidth","borderWidths","thick","borderRadius","thick_medium","paddingStyle","padding","paddings","md","flexDirection","text","size","fontSizes","color","fontFamily","fonts","inter_bold_700","lineHeight","xl","activeOpacity","onPress","style","marginStyle","marginTop","margins","data","numColumns","keyExtractor","item","toString","scrollEnabled","renderItem","marginBottom","xs","inter_medium_500","fontWeight","align","title","buttonTextStyle","fontSize","sm","thin"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { Modal, TouchableOpacity, FlatList } from \"react-native\";\r\n\r\n// components\r\n\r\nimport { Box } from \"../box\";\r\n\r\n// commons / icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\nimport { Typography } from \"../typography\";\r\nimport { Button } from \"../button\";\r\n\r\n//typing\r\nimport { IModalActivities } from \"./interface\";\r\n\r\nexport const ModalActivities: React.FC<IModalActivities> = ({\r\n onClose,\r\n handleActivity,\r\n isLoading,\r\n}) => {\r\n const activities = [\r\n { id: 1, name: \"Operação com Veículo\", icon: \"STEERING_WHEEL\" },\r\n { id: 2, name: \"Em Carga\", icon: \"HOURGLASS\" },\r\n { id: 3, name: \"Em Descarga\", icon: \"HOURGLASS\" },\r\n { id: 4, name: \"Disposição com Veículo Parado\", icon: \"TRUCK_ACTIVITY\" },\r\n ];\r\n\r\n return (\r\n <Modal animationType=\"fade\" transparent={true} onRequestClose={onClose}>\r\n <Box\r\n backgroundColor={\"rgba(0, 0, 0, 0.7)\"}\r\n flexStyle={{ flex: 1, justifyContent: \"center\", alignItems: \"center\" }}\r\n >\r\n <Box\r\n height={320}\r\n width={\"92%\"}\r\n backgroundColor={theme.colors.neutral[25]}\r\n borderStyled={{\r\n borderColor: theme.colors.blue[500],\r\n borderWidth: theme.borderWidths.thick,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n paddingStyle={{\r\n padding: theme.paddings.md,\r\n }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text=\"Atividades\"\r\n size={theme.fontSizes.md}\r\n color={theme.colors.blue[500]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n // fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.xl}\r\n />\r\n\r\n <TouchableOpacity activeOpacity={0.7} onPress={onClose} style={{}}>\r\n <Icons color={theme.colors.blue[500]} icon=\"CLOSED\" />\r\n </TouchableOpacity>\r\n </Box>\r\n {/* as atividades */}\r\n <Box marginStyle={{ marginTop: theme.margins[\"2xl\"] }}>\r\n <FlatList\r\n data={activities}\r\n numColumns={3}\r\n keyExtractor={(item) => item.id.toString()}\r\n scrollEnabled={false}\r\n renderItem={({ item }) => (\r\n <TouchableOpacity\r\n style={{\r\n alignItems: \"center\",\r\n width: 110,\r\n marginBottom: theme.margins[\"2xl\"], // espaço entre as linhas\r\n }}\r\n onPress={() => handleActivity(item.name)}\r\n >\r\n <Icons\r\n color={theme.colors.blue[500]}\r\n icon={item.icon as \"STEERING_WHEEL\" | \"HOURGLASS\" | \"TRUCK_ACTIVITY\"}\r\n />\r\n <Typography\r\n text={item.name}\r\n size={theme.fontSizes.xs}\r\n color={theme.colors.blue[500]}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n align=\"center\"\r\n marginTop={5}\r\n />\r\n </TouchableOpacity>\r\n )}\r\n />\r\n </Box>\r\n\r\n <Button\r\n title={\"Cancelar Atividade\"}\r\n width=\"100%\"\r\n height={40}\r\n activeOpacity={0.7}\r\n onPress={onClose}\r\n backgroundColor={theme.colors.blue[500]}\r\n buttonTextStyle={{\r\n color: theme.colors.neutral[25],\r\n fontFamily: theme.fonts.inter_medium_500,\r\n fontSize: theme.fontSizes.md,\r\n fontWeight: \"500\",\r\n }}\r\n marginStyle={{ marginTop: theme.margins.sm }}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.blue[500],\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n isLoading={isLoading ?? false}\r\n />\r\n </Box>\r\n </Box>\r\n </Modal>\r\n );\r\n};\r\n"],"mappings":"AAAA;AAC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Q;IACjBW,eAAe,EAAEf,KAAK,CAACsB,MAAM,CAACI,IAAI,CAAC,GAAG,CAAE;IACxCuC,eAAe,EAAE;MACfzB,KAAK,EAAExC,KAAK,CAACsB,MAAM,CAACC,OAAO,CAAC,EAAE,CAAC;MAC/BkB,UAAU,EAAEzC,KAAK,CAAC0C,KAAK,CAACmB,gBAAgB;MACxCK,QAAQ,EAAElE,KAAK,CAACuC,SAAS,CAACJ,EAAE;MAC5B2B,UAAU,EAAE;IACd,CAAE;IACFb,WAAW,EAAE;MAAEC,SAAS,EAAElD,KAAK,CAACmD,OAAO,CAACgB;IAAG,CAAE;IAC7CnD,SAAS,EAAE;MACToB,aAAa,EAAE,KAAK;MACpBjB,UAAU,EAAE,QAAQ;MACpBD,cAAc,EAAE;IAClB,CAAE;IACFM,YAAY,EAAE;MACZG,WAAW,EAAE3B,KAAK,CAAC4B,YAAY,CAACwC,IAAI;MACpC3C,WAAW,EAAEzB,KAAK,CAACsB,MAAM,CAACI,IAAI,CAAC,GAAG,CAAC;MACnCI,YAAY,EAAE9B,KAAK,CAAC4B,YAAY,CAACG;IACnC,CAAE;IACFzB,SAAS,EAAEA,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI;EAAM,CAC/B,CACE,CACF,CACA,CAAC;AAEZ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { ModalProps } from \"react-native\";\r\n\r\n// typing\r\nimport { IGlobalCss } from \"../../styles/global/interface\";\r\n\r\ninterface IModalActivities extends ModalProps, IGlobalCss {\r\n /** função que fecha modal */\r\n onClose: () => void;\r\n\r\n /** função que manda atividade selecionada */\r\n // eslint-disable-next-line no-unused-vars\r\n handleActivity: (activity: string) => void;\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IModalActivities };\r\n"],"mappings":"","ignoreList":[]}
|
|
@@ -69,15 +69,17 @@ const NotificationLoading = ({
|
|
|
69
69
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
70
70
|
text: "Carregamento - ",
|
|
71
71
|
size: theme.fontSizes.sm,
|
|
72
|
-
lineHeight: theme.fontSizes.
|
|
72
|
+
lineHeight: theme.fontSizes.lg,
|
|
73
73
|
fontFamily: theme.fonts.inter_semi_bold_600,
|
|
74
|
+
fontWeight: "600",
|
|
74
75
|
color: theme.colors.neutral[25],
|
|
75
76
|
letterSpacing: "regular"
|
|
76
77
|
}), /*#__PURE__*/React.createElement(Typography, {
|
|
77
78
|
text: title,
|
|
78
79
|
size: theme.fontSizes.xs,
|
|
79
|
-
lineHeight: theme.fontSizes.
|
|
80
|
+
lineHeight: theme.fontSizes.md,
|
|
80
81
|
fontFamily: theme.fonts.inter_bold_700,
|
|
82
|
+
fontWeight: "700",
|
|
81
83
|
color: theme.colors.neutral[25],
|
|
82
84
|
letterSpacing: "regular"
|
|
83
85
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
@@ -96,6 +98,7 @@ const NotificationLoading = ({
|
|
|
96
98
|
size: theme.fontSizes.sm,
|
|
97
99
|
lineHeight: (_theme$fontSizes$lg = theme.fontSizes.lg) !== null && _theme$fontSizes$lg !== void 0 ? _theme$fontSizes$lg : 18,
|
|
98
100
|
fontFamily: theme.fonts.inter_medium_500,
|
|
101
|
+
fontWeight: "500",
|
|
99
102
|
color: theme.colors.neutral[25],
|
|
100
103
|
letterSpacing: "regular"
|
|
101
104
|
}), /*#__PURE__*/React.createElement(Typography, {
|
|
@@ -103,6 +106,7 @@ const NotificationLoading = ({
|
|
|
103
106
|
size: theme.fontSizes.sm,
|
|
104
107
|
lineHeight: (_theme$fontSizes$lg2 = theme.fontSizes.lg) !== null && _theme$fontSizes$lg2 !== void 0 ? _theme$fontSizes$lg2 : 18,
|
|
105
108
|
fontFamily: theme.fonts.inter_medium_500,
|
|
109
|
+
fontWeight: "500",
|
|
106
110
|
color: theme.colors.neutral[25],
|
|
107
111
|
letterSpacing: "regular"
|
|
108
112
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
@@ -114,6 +118,8 @@ const NotificationLoading = ({
|
|
|
114
118
|
text: String(dataStart),
|
|
115
119
|
size: theme.fontSizes["2xs"],
|
|
116
120
|
fontFamily: theme.fonts.inter_medium_500,
|
|
121
|
+
fontWeight: "500",
|
|
122
|
+
lineHeight: theme.fontSizes.sm,
|
|
117
123
|
color: theme.colors.neutral[25],
|
|
118
124
|
letterSpacing: "regular",
|
|
119
125
|
marginRight: 8
|
|
@@ -125,6 +131,7 @@ const NotificationLoading = ({
|
|
|
125
131
|
text: notification,
|
|
126
132
|
size: theme.fontSizes["2xs"],
|
|
127
133
|
fontFamily: theme.fonts.inter_medium_500,
|
|
134
|
+
fontWeight: "500",
|
|
128
135
|
lineHeight: (_theme$fontSizes$sm = theme.fontSizes.sm) !== null && _theme$fontSizes$sm !== void 0 ? _theme$fontSizes$sm : 14,
|
|
129
136
|
color: theme.colors.neutral[25],
|
|
130
137
|
letterSpacing: "regular",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","TouchableOpacity","Box","Typography","Icons","theme","getStatusColor","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","activeOpacity","onPress","disabled","width","flexStyle","flexDirection","alignItems","backgroundColor","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","icon","size","color","neutral","paddingLeft","text","fontSizes","sm","lineHeight","fontFamily","fonts","inter_semi_bold_600","letterSpacing","xs","inter_bold_700","justifyContent","lg","inter_medium_500","String","marginRight","ellipsizeMode","numberOfLines"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nimport { INotificationLoading } from \"./interface\";\r\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\r\n\r\nconst NotificationLoading: React.FC<INotificationLoading> = ({\r\n handleNavigation,\r\n title,\r\n testID,\r\n statusNotify,\r\n date,\r\n notification,\r\n dataStart,\r\n style,\r\n readonly,\r\n}) => {\r\n return (\r\n <TouchableOpacity\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n disabled={readonly}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":"AAAA;AACA;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AE,KAAK;MACpBC,UAAU,EAAE;IACd;EAAE,gBAEF3B,KAAA,CAAAoB,aAAA,CAACjB,UAAU;IACT2C,IAAI,EAAEa,MAAM,CAAC7C,SAAS,CAAE;IACxB4B,IAAI,EAAErC,KAAK,CAAC0C,SAAS,CAAC,KAAK,CAAE;IAC7BG,UAAU,EAAE7C,KAAK,CAAC8C,KAAK,CAACO,gBAAiB;IACzCf,KAAK,EAAEtC,KAAK,CAACwB,MAAM,CAACe,OAAO,CAAC,EAAE,CAAE;IAChCS,aAAa,EAAE,SAAU;IACzBO,WAAW,EAAE;EAAE,CAChB,CAAC,eAEF5D,KAAA,CAAAoB,aAAA,CAAChB,KAAK;IACJqC,IAAI,EAAE,SAAU;IAChBE,KAAK,EACH3B,QAAQ,GAAGX,KAAK,CAACwB,MAAM,CAACe,OAAO,CAAC,EAAE,CAAC,GAAGtC,cAAc,CAACK,YAA0B,CAChF;IACD+B,IAAI,EAAE;EAAE,CACT,CACE,CACF,CAAC,eAGN1C,KAAA,CAAAoB,aAAA,CAACjB,UAAU;IACT2C,IAAI,EAAEjC,YAAa;IACnB6B,IAAI,EAAErC,KAAK,CAAC0C,SAAS,CAAC,KAAK,CAAE;IAC7BG,UAAU,EAAE7C,KAAK,CAAC8C,KAAK,CAACO,gBAAiB;IACzCT,UAAU,GAAA9B,mBAAA,GAAEd,KAAK,CAAC0C,SAAS,CAACC,EAAE,cAAA7B,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrCwB,KAAK,EAAEtC,KAAK,CAACwB,MAAM,CAACe,OAAO,CAAC,EAAE,CAAE;IAChCS,aAAa,EAAE,SAAU;IACzBQ,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AACA,SAASvD,mBAAmB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","TouchableOpacity","Box","Typography","Icons","theme","getStatusColor","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","activeOpacity","onPress","disabled","width","flexStyle","flexDirection","alignItems","backgroundColor","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","icon","size","color","neutral","paddingLeft","text","fontSizes","sm","lineHeight","lg","fontFamily","fonts","inter_semi_bold_600","fontWeight","letterSpacing","xs","md","inter_bold_700","justifyContent","inter_medium_500","String","marginRight","ellipsizeMode","numberOfLines"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nimport { INotificationLoading } from \"./interface\";\r\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\r\n\r\nconst NotificationLoading: React.FC<INotificationLoading> = ({\r\n handleNavigation,\r\n title,\r\n testID,\r\n statusNotify,\r\n date,\r\n notification,\r\n dataStart,\r\n style,\r\n readonly,\r\n}) => {\r\n return (\r\n <TouchableOpacity\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n disabled={readonly}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,cAAc;;AAE/C;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAGhD,SAASC,cAAc,QAAoB,uCAAuC;AAElF,MAAMC,mBAAmD,GAAGA,CAAC;EAC3DC,gBAAgB;EAChBC,KAAK;EACLC,MAAM;EACNC,YAAY;EACZC,IAAI;EACJC,YAAY;EACZC,SAAS;EACTC,KAAK;EACLC;AACF,CAAC,KAAK;EAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,mBAAA;EACJ,oBACEnB,KAAA,CAAAoB,aAAA,CAACnB,gBAAgB;IACfoB,aAAa,EAAE,GAAI;IACnBX,MAAM,EAAEA,MAAO;IACfY,OAAO,EAAEd,gBAAiB;IAC1Be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AK;IACJqC,IAAI,EAAE,SAAU;IAChBE,KAAK,EACH3B,QAAQ,GAAGX,KAAK,CAACwB,MAAM,CAACe,OAAO,CAAC,EAAE,CAAC,GAAGtC,cAAc,CAACK,YAA0B,CAChF;IACD+B,IAAI,EAAE;EAAE,CACT,CACE,CACF,CAAC,eAGN1C,KAAA,CAAAoB,aAAA,CAACjB,UAAU;IACT2C,IAAI,EAAEjC,YAAa;IACnB6B,IAAI,EAAErC,KAAK,CAAC0C,SAAS,CAAC,KAAK,CAAE;IAC7BI,UAAU,EAAE9C,KAAK,CAAC+C,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAA9B,mBAAA,GAAEd,KAAK,CAAC0C,SAAS,CAACC,EAAE,cAAA7B,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrCwB,KAAK,EAAEtC,KAAK,CAACwB,MAAM,CAACe,OAAO,CAAC,EAAE,CAAE;IAChCW,aAAa,EAAE,SAAU;IACzBQ,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AACA,SAASzD,mBAAmB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { ViewProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface INotificationLoading extends ViewProps, IGlobalCss {\n /**propriedade que indica o título do carregamento */\n title: string;\n\n /**propriedade que indica a data do carregamento */\n date: string | Date;\n\n /**função que faz a navegação da tela */\n handleNavigation: () => void;\n\n /**propriedade que indica a notificação */\n notification: string;\n\n /**propriedade que indica o status da notificação */\n statusNotify: string;\n\n /**propriedade que indica a data da notificação */\n dataStart: string | Date;\n\n /**propriedade que indica se a notificação está lida ou não */\n readonly?: boolean;\n}\n\n/**\n * EXPORTS\n */\nexport { INotificationLoading };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","TouchableOpacity","Box","Typography","Icons","theme","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","onPress","activeOpacity","flexStyle","alignItems","flexDirection","justifyContent","width","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","color","neutral","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\
|
|
1
|
+
{"version":3,"names":["React","TouchableOpacity","Box","Typography","Icons","theme","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","onPress","activeOpacity","flexStyle","alignItems","flexDirection","justifyContent","width","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","color","neutral","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { IProfileMenuOption } from \"./interface\";\n\nconst ProfileMenuOption: React.FC<IProfileMenuOption> = ({\n handleNavigation,\n icon,\n text,\n backgroundColor,\n colorIcon,\n}) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n flexStyle={{\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n width={\"100%\"}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: theme.colors.blue[400],\n }}\n marginStyle={{ marginBottom: theme.margins.xs }}\n >\n <Box flexStyle={{ alignItems: \"center\", flexDirection: \"row\" }}>\n <Icons icon={icon ?? \"AGENT\"} color={colorIcon ?? theme.colors.neutral[25]} />\n <Typography\n text={text}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n marginLeft={theme.margins.xs}\n />\n </Box>\n <Typography\n text=\"›\"\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n color={theme.colors.neutral[25]}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\nexport { ProfileMenuOption };\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,cAAc;;AAE/C;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;;AAGA,MAAMC,iBAA+C,GAAGA,CAAC;EACvDC,gBAAgB;EAChBC,IAAI;EACJC,IAAI;EACJC,eAAe;EACfC;AACF,CAAC,KAAK;EACJ,oBACEX,KAAA,CAAAY,aAAA,CAACX,gBAAgB;IAACY,OAAO,EAAEN,gBAAiB;IAACO,aAAa,EAAE;EAAI,gBAC9Dd,KAAA,CAAAY,aAAA,CAACV,GAAG;IACFa,SAAS,EAAE;MACTC,UAAU,EAAE,QAAQ;MACpBC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE;IAClB,CAAE;IACFC,KAAK,EAAE,MAAO;IACdT,eAAe,EAAEA,eAAe,aAAfA,eAAe,cAAfA,eAAe,GAAIL,KAAK,CAAC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,CAACmC,KAAK,CAACM,gBAAiB;IACzCJ,UAAU,EAAE,KAAM;IAClBR,KAAK,EAAE7B,KAAK,CAACe,MAAM,CAACe,OAAO,CAAC,EAAE;EAAE,CACjC,CACE,CACW,CAAC;AAEvB,CAAC;AAED,SAAS7B,iBAAiB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { TouchableOpacityProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\n// svg\nimport { SVG_NAME } from \"../../common/icons-svg/constants\";\n\ninterface IProfileMenuOption extends TouchableOpacityProps, IGlobalCss {\n /**\n * nome do ícone\n */\n icon: keyof typeof SVG_NAME;\n\n /**\n * Propriedade texto do menu\n */\n text: string;\n\n /**\n * função de navegação\n */\n handleNavigation: () => void;\n\n /**\n * cor de fundo\n */\n backgroundColor?: string;\n\n /**\n * cor do ícone\n */\n colorIcon?: string;\n}\n\n/**\n * EXPORTS\n */\nexport { IProfileMenuOption };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { View, Text } from "react-native";
|
|
@@ -12,8 +12,8 @@ import { styles } from "./styles";
|
|
|
12
12
|
import { Icons } from "../../common/icons-svg";
|
|
13
13
|
import { formHoursMinute } from "../../utils/format-data";
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
* Componente StepIndicator para a interação da ui.
|
|
15
|
+
/**
|
|
16
|
+
* Componente StepIndicator para a interação da ui.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
const StepIndicator = ({
|
|
@@ -131,8 +131,8 @@ const StepIndicator = ({
|
|
|
131
131
|
return /*#__PURE__*/React.createElement(React.Fragment, null, handleRenderComponent(type));
|
|
132
132
|
};
|
|
133
133
|
|
|
134
|
-
/**
|
|
135
|
-
* EXPORTS
|
|
134
|
+
/**
|
|
135
|
+
* EXPORTS
|
|
136
136
|
*/
|
|
137
137
|
export { StepIndicator };
|
|
138
138
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","getIconKeyByValue","styles","Icons","formHoursMinute","StepIndicator","data","type","backgroundColorBall","textColorDescription","titleColor","titleNumberColor","StepDefault","createElement","Fragment","length","map","history","index","testID","style","containerIndicator","key","id","containerBall","width","height","marginTop","position","backgroundColor","titleNumber","containerMain","title","descricao","data_inicio","titleDescription","data_fim","duracao_segundos","StepCustom","paddingHorizontal","display","flexDirection","step","indexCustom","borderRadius","alignItems","justifyContent","borderWidth","borderColor","icon","top","fontWeight","fontSize","lineHeight","textAlign","color","handleRenderComponent","stepType"],"sources":["index.tsx"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":["React","View","Text","getIconKeyByValue","styles","Icons","formHoursMinute","StepIndicator","data","type","backgroundColorBall","textColorDescription","titleColor","titleNumberColor","StepDefault","createElement","Fragment","length","map","history","index","testID","style","containerIndicator","key","id","containerBall","width","height","marginTop","position","backgroundColor","titleNumber","containerMain","title","descricao","data_inicio","titleDescription","data_fim","duracao_segundos","StepCustom","paddingHorizontal","display","flexDirection","step","indexCustom","borderRadius","alignItems","justifyContent","borderWidth","borderColor","icon","top","fontWeight","fontSize","lineHeight","textAlign","color","handleRenderComponent","stepType"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { View, Text } from \"react-native\";\n\nimport { getIconKeyByValue } from \"./helpers/get-icon-by-status\";\n\n// typings\nimport { IStepIndicator } from \"./interface\";\n\n// styles\nimport { styles } from \"./styles\";\nimport { Icons } from \"../../common/icons-svg\";\nimport { formHoursMinute } from \"../../utils/format-data\";\n\n/**\n * Componente StepIndicator para a interação da ui.\n */\n\nconst StepIndicator: React.FC<IStepIndicator> = ({\n data = [],\n type,\n backgroundColorBall,\n textColorDescription,\n titleColor,\n titleNumberColor,\n}) => {\n const StepDefault = () => {\n return (\n <>\n {data!.length > 0 &&\n data!.map((history, index) => (\n <View testID=\"step-indicator\" style={styles({}).containerIndicator} key={history.id}>\n <View style={styles({ backgroundColorBall }).containerBall}>\n {data!?.length > 1 && index < data!?.length - 1 && (\n <View\n style={{\n width: 2,\n height: 84,\n marginTop: 116,\n position: \"relative\",\n backgroundColor: \"#050022\",\n }}\n />\n )}\n <Text style={styles({ titleNumberColor }).titleNumber}>\n {data!?.length - index}\n </Text>\n </View>\n\n <View style={styles({}).containerMain}>\n <Text style={styles({ titleColor }).title}>{history?.descricao}</Text>\n\n {history?.data_inicio && (\n <Text style={styles({ textColorDescription }).titleDescription}>\n {`Inicio: ${history.data_inicio} ás ${history.data_fim}`}\n </Text>\n )}\n\n {history.duracao_segundos && (\n <Text style={styles({ textColorDescription }).titleDescription}>\n Duração: {formHoursMinute(history?.duracao_segundos as string)}\n </Text>\n )}\n </View>\n </View>\n ))}\n </>\n );\n };\n\n const StepCustom = () => {\n return (\n <View\n style={{\n width: \"100%\",\n height: 84,\n paddingHorizontal: 24,\n display: \"flex\",\n flexDirection: \"row\",\n }}\n >\n {data.map((step, indexCustom) => {\n const descricao = getIconKeyByValue(step.descricao);\n\n return (\n <React.Fragment key={`step-${indexCustom}`}>\n <View\n style={{\n width: 45,\n height: 45,\n backgroundColor: indexCustom <= 3 ? \"orange\" : \"transparent\",\n borderRadius: 50,\n alignItems: \"center\",\n justifyContent: \"center\",\n borderWidth: 1,\n borderColor: \"#fff\",\n }}\n >\n <View\n style={{\n width: 45,\n height: 45,\n backgroundColor: \"transparent\",\n borderRadius: 50,\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n {descricao && <Icons icon={descricao} />}\n </View>\n <Text\n style={{\n position: \"absolute\",\n top: 56,\n fontWeight: \"600\",\n fontSize: 10,\n lineHeight: 14,\n textAlign: \"center\",\n color: \"#fff\",\n width: 75,\n }}\n >\n {step.descricao}\n </Text>\n </View>\n\n {data?.length > 1 && indexCustom < data?.length - 1 && (\n <View\n style={{\n width: 35,\n height: 2,\n marginTop: 24,\n position: \"relative\",\n backgroundColor: \"orange\",\n }}\n />\n )}\n </React.Fragment>\n );\n })}\n </View>\n );\n };\n\n const handleRenderComponent = (stepType: \"default\" | \"custom\") => {\n switch (stepType) {\n case \"default\":\n return <StepDefault />;\n case \"custom\":\n return <StepCustom />;\n default:\n return <View />;\n }\n };\n\n return <>{handleRenderComponent(type!)}</>;\n};\n\n/**\n * EXPORTS\n */\nexport { StepIndicator };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAEzC,SAASC,iBAAiB,QAAQ,8BAA8B;;AAEhE;;AAGA;AACA,SAASC,MAAM,QAAQ,UAAU;AACjC,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,eAAe,QAAQ,yBAAyB;;AAEzD;AACA;AACA;;AAEA,MAAMC,aAAuC,GAAGA,CAAC;EAC/CC,IAAI,GAAG,EAAE;EACTC,IAAI;EACJC,mBAAmB;EACnBC,oBAAoB;EACpBC,UAAU;EACVC;AACF,CAAC,KAAK;EACJ,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxB,oBACEd,KAAA,CAAAe,aAAA,CAAAf,KAAA,CAAAgB,QAAA,QACGR,IAAI,CAAES,MAAM,GAAG,CAAC,IACfT,IAAI,CAAEU,GAAG,CAAC,CAACC,OAAO,EAAEC,KAAK,kBACvBpB,KAAA,CAAAe,aAAA,CAACd,IAAI;MAACoB,MAAM,EAAC,gBAAgB;MAACC,KAAK,EAAElB,MAAM,CAAC,CAAC,CAAC,CAAC,CAACmB,kBAAmB;MAACC,GAAG,EAAEL,OAAO,CAACM;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AACA,SAASF,aAAa","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\ntype IData = {\n id: number;\n duracao_segundos: string | number;\n data_inicio: string;\n data_fim: string;\n descricao: string;\n};\ninterface IStepIndicator {\n /**dados que vão ser renderizados */\n data?: IData[];\n\n /**tupo de renderização padrão ou customizada */\n type?: \"default\" | \"custom\";\n\n /**tamanho do step indicator */\n backgroundColorBall?: string;\n\n /**cor do texto */\n titleColor?: string;\n\n /**cor do numero do step indicator */\n titleNumberColor?: string;\n\n /**cor do texto da descrição */\n textColorDescription?: string;\n}\n/**\n * EXPORTS\n */\nexport { type IStepIndicator };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { StyleSheet } from "react-native";
|
|
@@ -30,7 +30,7 @@ const styles = props => {
|
|
|
30
30
|
title: {
|
|
31
31
|
color: (_props$titleColor = props.titleColor) !== null && _props$titleColor !== void 0 ? _props$titleColor : "black",
|
|
32
32
|
textAlign: "center",
|
|
33
|
-
lineHeight:
|
|
33
|
+
lineHeight: 20,
|
|
34
34
|
fontSize: theme.fontSizes["sm"],
|
|
35
35
|
fontWeight: "500",
|
|
36
36
|
marginLeft: 8
|
|
@@ -38,7 +38,7 @@ const styles = props => {
|
|
|
38
38
|
titleNumber: {
|
|
39
39
|
color: (_props$titleNumberCol = props.titleNumberColor) !== null && _props$titleNumberCol !== void 0 ? _props$titleNumberCol : theme.colors.neutral[25],
|
|
40
40
|
textAlign: "center",
|
|
41
|
-
lineHeight:
|
|
41
|
+
lineHeight: 16,
|
|
42
42
|
fontFamily: theme.fonts.inter_regular_400,
|
|
43
43
|
fontSize: theme.fontSizes["xs"],
|
|
44
44
|
position: "absolute"
|
|
@@ -47,8 +47,9 @@ const styles = props => {
|
|
|
47
47
|
color: (_props$textColorDescr = props.textColorDescription) !== null && _props$textColorDescr !== void 0 ? _props$textColorDescr : theme.colors.gray[700],
|
|
48
48
|
textAlign: "center",
|
|
49
49
|
lineHeight: 16,
|
|
50
|
-
fontSize:
|
|
51
|
-
fontFamily: theme.fonts.
|
|
50
|
+
fontSize: theme.fontSizes["xs"],
|
|
51
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
52
|
+
fontWeight: "400",
|
|
52
53
|
marginLeft: 8
|
|
53
54
|
},
|
|
54
55
|
containerMain: {
|
|
@@ -61,8 +62,8 @@ const styles = props => {
|
|
|
61
62
|
});
|
|
62
63
|
};
|
|
63
64
|
|
|
64
|
-
/**
|
|
65
|
-
* EXPORTS
|
|
65
|
+
/**
|
|
66
|
+
* EXPORTS
|
|
66
67
|
*/
|
|
67
68
|
export { styles };
|
|
68
69
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","theme","styles","props","_props$backgroundColo","_props$titleColor","_props$titleNumberCol","_props$textColorDescr","create","containerIndicator","width","height","flexDirection","justifyContent","containerBall","backgroundColor","backgroundColorBall","colors","blue","alignItems","borderRadius","title","color","titleColor","textAlign","lineHeight","fontSize","fontSizes","fontWeight","marginLeft","titleNumber","titleNumberColor","neutral","fontFamily","fonts","inter_regular_400","position","titleDescription","textColorDescription","gray","
|
|
1
|
+
{"version":3,"names":["StyleSheet","theme","styles","props","_props$backgroundColo","_props$titleColor","_props$titleNumberCol","_props$textColorDescr","create","containerIndicator","width","height","flexDirection","justifyContent","containerBall","backgroundColor","backgroundColorBall","colors","blue","alignItems","borderRadius","title","color","titleColor","textAlign","lineHeight","fontSize","fontSizes","fontWeight","marginLeft","titleNumber","titleNumberColor","neutral","fontFamily","fonts","inter_regular_400","position","titleDescription","textColorDescription","gray","containerMain"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { IStepIndicator } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst styles = (props: IStepIndicator) =>\r\n StyleSheet.create({\r\n containerIndicator: {\r\n width: \"100%\",\r\n height: 86,\r\n flexDirection: \"row\",\r\n justifyContent: \"flex-start\",\r\n // backgroundColor: theme.colors.gray[300],\r\n },\r\n containerBall: {\r\n width: 32,\r\n height: 32,\r\n backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n borderRadius: 16,\r\n },\r\n title: {\r\n color: props.titleColor ?? \"black\",\r\n textAlign: \"center\",\r\n lineHeight: 20,\r\n fontSize: theme.fontSizes[\"sm\"],\r\n fontWeight: \"500\",\r\n marginLeft: 8,\r\n },\r\n titleNumber: {\r\n color: props.titleNumberColor ?? theme.colors.neutral[25],\r\n textAlign: \"center\",\r\n lineHeight: 16,\r\n fontFamily: theme.fonts.inter_regular_400,\r\n fontSize: theme.fontSizes[\"xs\"],\r\n position: \"absolute\",\r\n },\r\n titleDescription: {\r\n color: props.textColorDescription ?? theme.colors.gray[700],\r\n textAlign: \"center\",\r\n lineHeight: 16,\r\n fontSize: theme.fontSizes[\"xs\"],\r\n fontFamily: theme.fonts.inter_regular_400,\r\n fontWeight: \"400\",\r\n marginLeft: 8,\r\n },\r\n containerMain: {\r\n width: \"100%\",\r\n height: 56,\r\n flexDirection: \"column\",\r\n alignItems: \"flex-start\",\r\n marginLeft: 2,\r\n },\r\n });\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { styles };\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,M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BAAgB,EAAE;MAChBf,KAAK,GAAAf,qBAAA,GAAEJ,KAAK,CAACmC,oBAAoB,cAAA/B,qBAAA,cAAAA,qBAAA,GAAIN,KAAK,CAACgB,MAAM,CAACsB,IAAI,CAAC,GAAG,CAAC;MAC3Df,SAAS,EAAE,QAAQ;MACnBC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAEzB,KAAK,CAAC0B,SAAS,CAAC,IAAI,CAAC;MAC/BM,UAAU,EAAEhC,KAAK,CAACiC,KAAK,CAACC,iBAAiB;MACzCP,UAAU,EAAE,KAAK;MACjBC,UAAU,EAAE;IACd,CAAC;IACDW,aAAa,EAAE;MACb9B,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,EAAE;MACVC,aAAa,EAAE,QAAQ;MACvBO,UAAU,EAAE,YAAY;MACxBU,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AACA,SAAS3B,MAAM","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { Image, TouchableOpacity } from "react-native";
|
|
@@ -16,8 +16,8 @@ import { IMAGES } from "../../common/constants";
|
|
|
16
16
|
// styles
|
|
17
17
|
import { theme } from "../../styles/theme/theme";
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Componente Header para a interação do usuário com ui.
|
|
19
|
+
/**
|
|
20
|
+
* Componente Header para a interação do usuário com ui.
|
|
21
21
|
*/
|
|
22
22
|
const UserProfile = ({
|
|
23
23
|
nome,
|
|
@@ -188,8 +188,8 @@ const UserProfile = ({
|
|
|
188
188
|
})));
|
|
189
189
|
};
|
|
190
190
|
|
|
191
|
-
/**
|
|
192
|
-
* EXPORTS
|
|
191
|
+
/**
|
|
192
|
+
* EXPORTS
|
|
193
193
|
*/
|
|
194
194
|
export { UserProfile };
|
|
195
195
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","TouchableOpacity","Box","Typography","IMAGES","theme","UserProfile","nome","avatar","cpf","placa_cavalo","bluetoothIsConnected","app_version","color","width","height","handleProfileView","testID","_color$colorText","_theme$fontSizes$lg","_color$colorText2","_theme$fontSizes$lg2","_color$colorText3","_theme$fontSizes$lg3","_color$colorText4","_theme$fontSizes$lg4","_color$colorText5","_theme$fontSizes$lg5","_theme$fontSizes$lg6","_color$colorText6","_theme$fontSizes$lg7","_color$colorText7","_theme$fontSizes$lg8","createElement","backgroundColor","colors","blue","paddingStyle","paddingLeft","paddings","md","paddingRight","paddingBottom","flexStyle","flexDirection","alignItems","justifyContent","marginStyle","marginTop","margins","activeOpacity","onPress","source","uri","IMAGE_ANONIMA","style","borderRadius","borderWidth","borderWidths","thin_medium","borderColor","green","textAlign","paddingTop","text","colorText","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","lineHeight","lg","letterSpacing","sm","ellipsizeMode","numberOfLines","inter_semi_bold_600","inter_medium_500","inter_bold_700","inter_light_300"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { Image, TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// comons / constants\r\nimport { IMAGES } from \"../../common/constants\";\r\n\r\n// typings\r\nimport { IUserProfile } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n/**\r\n * Componente Header para a interação do usuário com ui.\r\n */\r\nconst UserProfile: React.FC<IUserProfile> = ({\r\n nome,\r\n avatar,\r\n cpf,\r\n placa_cavalo,\r\n bluetoothIsConnected,\r\n app_version,\r\n color,\r\n width,\r\n height,\r\n handleProfileView,\r\n testID,\r\n}: IUserProfile) => {\r\n return (\r\n <Box\r\n testID={testID}\r\n width={width ?? \"100%\"}\r\n height={height}\r\n backgroundColor={theme.colors.blue[525]}\r\n paddingStyle={{\r\n paddingLeft: theme.paddings.md,\r\n paddingRight: theme.paddings.md,\r\n paddingBottom: theme.paddings[\"2xs\"],\r\n }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\r\n marginStyle={{ marginTop: theme.margins.md }}\r\n >\r\n <TouchableOpacity activeOpacity={0.7} onPress={handleProfileView}>\r\n <Image\r\n testID=\"user-profile-avatar\"\r\n source={{\r\n uri: avatar || IMAGES.IMAGE_ANONIMA,\r\n }}\r\n style={{\r\n width: 120,\r\n height: 120,\r\n borderRadius: 60,\r\n borderWidth: theme.borderWidths.thin_medium,\r\n borderColor: theme.colors.green[400],\r\n }}\r\n />\r\n </TouchableOpacity>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"column\", alignItems: \"center\", justifyContent: \"center\" }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: theme.paddings[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={\"Olá, \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Box width={\"89%\"}>\r\n <Typography\r\n text={nome}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily=\"inter_medium_500\"\r\n fontWeight=\"500\"\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: 5 }}\r\n >\r\n <Typography\r\n text={\"CPF: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={cpf}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: 5 }}\r\n >\r\n <Typography\r\n text={\"CONECTADO: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={bluetoothIsConnected ? placa_cavalo : \"\"}\r\n color={theme.colors.green[400]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-end\",\r\n }}\r\n marginStyle={{ marginTop: theme.margins.md }}\r\n >\r\n <Typography\r\n text={\"Versão: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={app_version}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontWeight=\"300\"\r\n fontFamily={theme.fonts.inter_light_300}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { UserProfile };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,MAAM,QAAQ,wBAAwB;;AAE/C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA,MAAMC,WAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,GAAG;EACHC,YAAY;EACZC,oBAAoB;EACpBC,WAAW;EACXC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,iBAAiB;EACjBC;AACY,CAAC,KAAK;EAAA,IAAAC,gBAAA,EAAAC,mBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA;EAClB,oBACEjC,KAAA,CAAAkC,aAAA,CAAC/B,GAAG;IACFe,MAA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aAALA,KAAK,uBAALA,KAAK,CAAEoD,SAAS,cAAAlC,iBAAA,cAAAA,iBAAA,GAAI1B,KAAK,CAAC8B,MAAM,CAAC+B,OAAO,CAAC,EAAE,CAAE;IACpDC,IAAI,EAAE9D,KAAK,CAAC+D,SAAS,CAACQ,EAAG;IACzBJ,UAAU,EAAC,KAAK;IAChBH,UAAU,EAAEhE,KAAK,CAACiE,KAAK,CAACY,eAAgB;IACxCT,UAAU,GAAAzC,oBAAA,GAAE3B,KAAK,CAAC+D,SAAS,CAACM,EAAE,cAAA1C,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrC2C,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASrE,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","Image","TouchableOpacity","Box","Typography","IMAGES","theme","UserProfile","nome","avatar","cpf","placa_cavalo","bluetoothIsConnected","app_version","color","width","height","handleProfileView","testID","_color$colorText","_theme$fontSizes$lg","_color$colorText2","_theme$fontSizes$lg2","_color$colorText3","_theme$fontSizes$lg3","_color$colorText4","_theme$fontSizes$lg4","_color$colorText5","_theme$fontSizes$lg5","_theme$fontSizes$lg6","_color$colorText6","_theme$fontSizes$lg7","_color$colorText7","_theme$fontSizes$lg8","createElement","backgroundColor","colors","blue","paddingStyle","paddingLeft","paddings","md","paddingRight","paddingBottom","flexStyle","flexDirection","alignItems","justifyContent","marginStyle","marginTop","margins","activeOpacity","onPress","source","uri","IMAGE_ANONIMA","style","borderRadius","borderWidth","borderWidths","thin_medium","borderColor","green","textAlign","paddingTop","text","colorText","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","lineHeight","lg","letterSpacing","sm","ellipsizeMode","numberOfLines","inter_semi_bold_600","inter_medium_500","inter_bold_700","inter_light_300"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Image, TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// comons / constants\nimport { IMAGES } from \"../../common/constants\";\n\n// typings\nimport { IUserProfile } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n * Componente Header para a interação do usuário com ui.\n */\nconst UserProfile: React.FC<IUserProfile> = ({\n nome,\n avatar,\n cpf,\n placa_cavalo,\n bluetoothIsConnected,\n app_version,\n color,\n width,\n height,\n handleProfileView,\n testID,\n}: IUserProfile) => {\n return (\n <Box\n testID={testID}\n width={width ?? \"100%\"}\n height={height}\n backgroundColor={theme.colors.blue[525]}\n paddingStyle={{\n paddingLeft: theme.paddings.md,\n paddingRight: theme.paddings.md,\n paddingBottom: theme.paddings[\"2xs\"],\n }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\n marginStyle={{ marginTop: theme.margins.md }}\n >\n <TouchableOpacity activeOpacity={0.7} onPress={handleProfileView}>\n <Image\n testID=\"user-profile-avatar\"\n source={{\n uri: avatar || IMAGES.IMAGE_ANONIMA,\n }}\n style={{\n width: 120,\n height: 120,\n borderRadius: 60,\n borderWidth: theme.borderWidths.thin_medium,\n borderColor: theme.colors.green[400],\n }}\n />\n </TouchableOpacity>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"column\", alignItems: \"center\", justifyContent: \"center\" }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: theme.paddings[\"2xs\"] }}\n >\n <Typography\n text={\"Olá, \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight=\"400\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n <Box width={\"89%\"}>\n <Typography\n text={nome}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily=\"inter_medium_500\"\n fontWeight=\"500\"\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: 5 }}\n >\n <Typography\n text={\"CPF: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={cpf}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_semi_bold_600}\n fontWeight=\"600\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: 5 }}\n >\n <Typography\n text={\"CONECTADO: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={bluetoothIsConnected ? placa_cavalo : \"\"}\n color={theme.colors.green[400]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight=\"700\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n }}\n marginStyle={{ marginTop: theme.margins.md }}\n >\n <Typography\n text={\"Versão: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight=\"400\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={app_version}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontWeight=\"300\"\n fontFamily={theme.fonts.inter_light_300}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { UserProfile };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,MAAM,QAAQ,wBAAwB;;AAE/C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA,MAAMC,WAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,GAAG;EACHC,YAAY;EACZC,oBAAoB;EACpBC,WAAW;EACXC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,iBAAiB;EACjBC;AACY,CAAC,KAAK;EAAA,IAAAC,gBAAA,EAAAC,mBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA;EAClB,oBACEjC,KAAA,CAAAkC,aAAA,CAAC/B,GAAG;IACFe,MAAM,EAAEA,MAAO;IACfH,KAAK,EAAEA,KAAK,aAALA,KAAK,cAALA,KAA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