jornada-ui 0.4.18 → 0.4.20
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/components/box/index.js +5 -5
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/button/index.js +5 -5
- package/lib/commonjs/components/button/index.js.map +1 -1
- package/lib/commonjs/components/capture-photo/index.js +1 -1
- package/lib/commonjs/components/capture-photo/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/index.js +5 -5
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-maintenance/index.js +3 -0
- package/lib/commonjs/components/card-maintenance/index.js.map +1 -1
- package/lib/commonjs/components/list-supplies/index.js +132 -111
- package/lib/commonjs/components/list-supplies/index.js.map +1 -1
- package/lib/commonjs/components/maintenance-description-input/index.js +5 -1
- package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
- package/lib/commonjs/components/modal-maintenance/index.js +2 -0
- package/lib/commonjs/components/modal-maintenance/index.js.map +1 -1
- package/lib/commonjs/components/modal-type-activities/index.js +10 -4
- package/lib/commonjs/components/modal-type-activities/index.js.map +1 -1
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js +2 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js.map +1 -1
- package/lib/commonjs/components/notification-details-card/index.js +6 -6
- package/lib/commonjs/components/report-bobinas/index.js +12 -6
- package/lib/commonjs/components/report-bobinas/index.js.map +1 -1
- package/lib/commonjs/components/resume-raking/index.js +5 -0
- package/lib/commonjs/components/resume-raking/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +12 -4
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/toast-message/index.js +10 -6
- package/lib/commonjs/components/toast-message/index.js.map +1 -1
- package/lib/commonjs/components/toggle-fuel/index.js +1 -0
- package/lib/commonjs/components/toggle-fuel/index.js.map +1 -1
- package/lib/commonjs/components/trip-details-card/index.js +218 -182
- package/lib/commonjs/components/trip-details-card/index.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +2 -0
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/user-journey-work-card/index.js +14 -0
- package/lib/commonjs/components/user-journey-work-card/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +9 -1
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/components/weekly-hours-balance/index.js +2 -0
- package/lib/commonjs/components/weekly-hours-balance/index.js.map +1 -1
- package/lib/commonjs/index.js +32 -32
- package/lib/module/components/box/index.js +5 -5
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/button/index.js +5 -5
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/capture-photo/index.js +1 -1
- package/lib/module/components/capture-photo/index.js.map +1 -1
- package/lib/module/components/card-hours/index.js +5 -5
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-maintenance/index.js +3 -0
- package/lib/module/components/card-maintenance/index.js.map +1 -1
- package/lib/module/components/list-supplies/index.js +134 -113
- package/lib/module/components/list-supplies/index.js.map +1 -1
- package/lib/module/components/maintenance-description-input/index.js +5 -1
- package/lib/module/components/maintenance-description-input/index.js.map +1 -1
- package/lib/module/components/modal-maintenance/index.js +2 -0
- package/lib/module/components/modal-maintenance/index.js.map +1 -1
- package/lib/module/components/modal-type-activities/index.js +10 -4
- package/lib/module/components/modal-type-activities/index.js.map +1 -1
- package/lib/module/components/modals/modal-change-activitie-history/index.js +2 -0
- package/lib/module/components/modals/modal-change-activitie-history/index.js.map +1 -1
- package/lib/module/components/notification-details-card/index.js +6 -6
- package/lib/module/components/report-bobinas/index.js +12 -6
- package/lib/module/components/report-bobinas/index.js.map +1 -1
- package/lib/module/components/resume-raking/index.js +5 -0
- package/lib/module/components/resume-raking/index.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +12 -4
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/toast-message/index.js +10 -6
- package/lib/module/components/toast-message/index.js.map +1 -1
- package/lib/module/components/toggle-fuel/index.js +1 -0
- package/lib/module/components/toggle-fuel/index.js.map +1 -1
- package/lib/module/components/trip-details-card/index.js +221 -184
- package/lib/module/components/trip-details-card/index.js.map +1 -1
- package/lib/module/components/typography/index.js +2 -0
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/user-journey-work-card/index.js +14 -0
- package/lib/module/components/user-journey-work-card/index.js.map +1 -1
- package/lib/module/components/user-profile/index.js +9 -1
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/components/weekly-hours-balance/index.js +2 -0
- package/lib/module/components/weekly-hours-balance/index.js.map +1 -1
- package/lib/module/index.js +4 -4
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-type-activities/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-type-activities/interface.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/modal-type-activities/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/report-bobinas/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/interface.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/resume-raking/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/interface.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/toast-message/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toggle-fuel/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/trip-details-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/weekly-hours-balance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/box/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/list-supplies/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-type-activities/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-type-activities/interface.d.ts +2 -0
- package/lib/typescript/module/src/components/modal-type-activities/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts +4 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/report-bobinas/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/interface.d.ts +13 -0
- package/lib/typescript/module/src/components/resume-raking/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +3 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/interface.d.ts +1 -0
- package/lib/typescript/module/src/components/toast-message/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toggle-fuel/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/trip-details-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +1 -0
- package/lib/typescript/module/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/weekly-hours-balance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +4 -4
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/box/index.tsx +53 -53
- package/src/components/button/index.tsx +76 -76
- package/src/components/capture-photo/index.tsx +1 -1
- package/src/components/card-hours/index.tsx +121 -121
- package/src/components/card-maintenance/index.tsx +8 -2
- package/src/components/card-maintenance/interface.d.ts +4 -0
- package/src/components/list-supplies/index.tsx +178 -153
- package/src/components/maintenance-description-input/index.tsx +11 -4
- package/src/components/modal-maintenance/index.tsx +2 -1
- package/src/components/modal-maintenance/interface.d.ts +1 -0
- package/src/components/modal-type-activities/index.tsx +23 -5
- package/src/components/modal-type-activities/interface.ts +3 -0
- package/src/components/modals/modal-change-activitie-history/index.tsx +2 -1
- package/src/components/modals/modal-change-activitie-history/interface.ts +4 -0
- package/src/components/notification-details-card/index.tsx +180 -180
- package/src/components/report-bobinas/index.tsx +185 -175
- package/src/components/resume-raking/index.tsx +5 -1
- package/src/components/resume-raking/interface.ts +16 -0
- package/src/components/step-indicator/index.tsx +26 -8
- package/src/components/step-indicator/interface.d.ts +3 -0
- package/src/components/toast-message/index.tsx +77 -75
- package/src/components/toast-message/interface.ts +18 -17
- package/src/components/toggle-fuel/index.tsx +1 -0
- package/src/components/trip-details-card/index.tsx +65 -32
- package/src/components/typography/index.tsx +2 -0
- package/src/components/typography/interface.d.ts +104 -102
- package/src/components/user-journey-work-card/index.tsx +23 -2
- package/src/components/user-profile/index.tsx +10 -1
- package/src/components/weekly-hours-balance/index.tsx +2 -1
- package/src/index.tsx +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","useMemo","useState","TouchableOpacity","Text","View","asBaseComponent","styles","jsx","_jsx","ToggleFuel","options","optionsProp","value","defaultValue","testIDPrefix","accessibleLabel","onSelect","ref","length","label","initial","internal","setInternal","selected","handlePress","v","undefined","style","container","accessibilityRole","accessibilityLabel","children","map","opt","idx","isSelected","isFirst","isLast","
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useMemo","useState","TouchableOpacity","Text","View","asBaseComponent","styles","jsx","_jsx","ToggleFuel","options","optionsProp","value","defaultValue","testIDPrefix","accessibleLabel","onSelect","ref","length","label","initial","internal","setInternal","selected","handlePress","v","undefined","testID","style","container","accessibilityRole","accessibilityLabel","children","map","opt","idx","isSelected","isFirst","isLast","accessibilityState","onPress","item","itemFirst","itemLast","itemSelected","activeOpacity","itemText","itemTextSelected","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/toggle-fuel/index.tsx"],"mappings":";;AAAA;AACA;AACA;AAC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TS
|
|
5
5
|
*/
|
|
6
|
-
import React, { useState } from "react";
|
|
7
|
-
import { View, TouchableOpacity,
|
|
6
|
+
import React, { useRef, useState } from "react";
|
|
7
|
+
import { View, TouchableOpacity, Animated, Easing } from "react-native";
|
|
8
8
|
|
|
9
9
|
// components
|
|
10
10
|
import Box from "../../components/box/index.js";
|
|
@@ -18,11 +18,10 @@ import { Icons } from "../../common/icons-svg/index.js";
|
|
|
18
18
|
|
|
19
19
|
import { asBaseComponent } from "../../@types/as-base-component.js";
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
21
|
+
/**
|
|
22
|
+
* Components de details de viagem
|
|
23
|
+
*/
|
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
25
|
const TripDetailsCard = ({
|
|
27
26
|
dataRegistro,
|
|
28
27
|
numeroCte,
|
|
@@ -36,12 +35,28 @@ const TripDetailsCard = ({
|
|
|
36
35
|
kmVazio
|
|
37
36
|
}) => {
|
|
38
37
|
const [expanded, setExpanded] = useState(true);
|
|
38
|
+
const animation = useRef(new Animated.Value(1)).current;
|
|
39
39
|
const toggleExpand = () => {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
Animated.timing(animation, {
|
|
41
|
+
toValue: expanded ? 0 : 1,
|
|
42
|
+
duration: 300,
|
|
43
|
+
easing: Easing.out(Easing.ease),
|
|
44
|
+
useNativeDriver: false // false pois animaremos altura (layout)
|
|
45
|
+
}).start();
|
|
46
|
+
setExpanded(!expanded);
|
|
42
47
|
};
|
|
43
|
-
const formatPeso = v => v
|
|
44
|
-
const formatBase = v => v
|
|
48
|
+
const formatPeso = v => v == null ? "Não informado" : `${v.toLocaleString("pt-BR")} kg`;
|
|
49
|
+
const formatBase = v => v == null ? "Não informado" : `R$ ${v.toLocaleString("pt-BR")}`;
|
|
50
|
+
|
|
51
|
+
// altura animada e opacidade
|
|
52
|
+
const heightInterpolate = animation.interpolate({
|
|
53
|
+
inputRange: [0, 1],
|
|
54
|
+
outputRange: [0, 1]
|
|
55
|
+
});
|
|
56
|
+
const opacityInterpolate = animation.interpolate({
|
|
57
|
+
inputRange: [0, 1],
|
|
58
|
+
outputRange: [0, 1]
|
|
59
|
+
});
|
|
45
60
|
return /*#__PURE__*/_jsxs(Box, {
|
|
46
61
|
width: "100%",
|
|
47
62
|
flexStyle: {
|
|
@@ -81,185 +96,207 @@ const TripDetailsCard = ({
|
|
|
81
96
|
color: theme.colors.black[25],
|
|
82
97
|
fontFamily: theme.fonts.inter_bold,
|
|
83
98
|
size: theme.fontSizes.md
|
|
84
|
-
}), /*#__PURE__*/_jsx(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
99
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
100
|
+
style: {
|
|
101
|
+
transform: [{
|
|
102
|
+
rotate: animation.interpolate({
|
|
103
|
+
inputRange: [0, 1],
|
|
104
|
+
outputRange: ["180deg", "0deg"]
|
|
105
|
+
})
|
|
106
|
+
}]
|
|
107
|
+
},
|
|
108
|
+
children: /*#__PURE__*/_jsx(Icons, {
|
|
109
|
+
icon: "CHEVRON_UP",
|
|
110
|
+
color: theme.colors.gray[700],
|
|
111
|
+
size: 20
|
|
112
|
+
})
|
|
88
113
|
})]
|
|
89
114
|
})
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
100
|
-
text: "Número CTE: ",
|
|
101
|
-
color: theme.colors.black[25],
|
|
102
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
103
|
-
size: theme.fontSizes.sm
|
|
104
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
105
|
-
text: `${numeroCte || "Não informado"}`,
|
|
106
|
-
color: theme.colors.gray[700],
|
|
107
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
108
|
-
size: theme.fontSizes.xs
|
|
109
|
-
})]
|
|
110
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
111
|
-
marginStyle: {
|
|
112
|
-
marginTop: theme.margins["1xs"]
|
|
113
|
-
},
|
|
114
|
-
flexStyle: {
|
|
115
|
-
flexDirection: "row",
|
|
116
|
-
justifyContent: "flex-start"
|
|
117
|
-
},
|
|
118
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
119
|
-
text: "Data carregamento: ",
|
|
120
|
-
color: theme.colors.black[25],
|
|
121
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
122
|
-
size: theme.fontSizes.sm
|
|
123
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
124
|
-
text: `${dataRegistro || "Não informado"}`,
|
|
125
|
-
color: theme.colors.gray[700],
|
|
126
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
127
|
-
size: theme.fontSizes.xs
|
|
128
|
-
})]
|
|
129
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
130
|
-
marginStyle: {
|
|
131
|
-
marginTop: theme.margins["1xs"]
|
|
132
|
-
},
|
|
133
|
-
flexStyle: {
|
|
134
|
-
flexDirection: "row",
|
|
135
|
-
justifyContent: "flex-start"
|
|
136
|
-
},
|
|
137
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
138
|
-
text: "Origem: ",
|
|
139
|
-
color: theme.colors.black[25],
|
|
140
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
141
|
-
size: theme.fontSizes.sm
|
|
142
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
143
|
-
text: `${origem || "Não informado"}`,
|
|
144
|
-
color: theme.colors.gray[700],
|
|
145
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
146
|
-
size: theme.fontSizes.xs
|
|
147
|
-
})]
|
|
148
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
149
|
-
marginStyle: {
|
|
150
|
-
marginTop: theme.margins["1xs"]
|
|
151
|
-
},
|
|
152
|
-
flexStyle: {
|
|
153
|
-
flexDirection: "row",
|
|
154
|
-
justifyContent: "flex-start"
|
|
155
|
-
},
|
|
156
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
157
|
-
text: "Destino: ",
|
|
158
|
-
color: theme.colors.black[25],
|
|
159
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
160
|
-
size: theme.fontSizes.xs
|
|
161
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
162
|
-
text: `${destino || "Não informado"}`,
|
|
163
|
-
color: theme.colors.gray[700],
|
|
164
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
165
|
-
size: theme.fontSizes.xs
|
|
166
|
-
})]
|
|
167
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
168
|
-
marginStyle: {
|
|
169
|
-
marginTop: theme.margins["1xs"]
|
|
170
|
-
},
|
|
171
|
-
flexStyle: {
|
|
172
|
-
flexDirection: "row",
|
|
173
|
-
justifyContent: "flex-start"
|
|
174
|
-
},
|
|
175
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
176
|
-
text: "Pr\xF3ximo carregamento: ",
|
|
177
|
-
color: theme.colors.black[25],
|
|
178
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
179
|
-
size: theme.fontSizes.xs
|
|
180
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
181
|
-
text: `${proximoCarregamento || "Não informado"}`,
|
|
182
|
-
color: theme.colors.gray[700],
|
|
183
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
184
|
-
size: theme.fontSizes.xs
|
|
185
|
-
})]
|
|
186
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
187
|
-
marginStyle: {
|
|
188
|
-
marginTop: theme.margins["1xs"]
|
|
189
|
-
},
|
|
190
|
-
flexStyle: {
|
|
191
|
-
flexDirection: "row",
|
|
192
|
-
justifyContent: "flex-start"
|
|
193
|
-
},
|
|
194
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
195
|
-
text: "Peso: ",
|
|
196
|
-
color: theme.colors.black[25],
|
|
197
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
198
|
-
size: theme.fontSizes.xs
|
|
199
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
200
|
-
text: `${formatPeso(peso) || "Não informado"}`,
|
|
201
|
-
color: theme.colors.gray[700],
|
|
202
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
203
|
-
size: theme.fontSizes.xs
|
|
204
|
-
})]
|
|
205
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
206
|
-
marginStyle: {
|
|
207
|
-
marginTop: theme.margins["1xs"]
|
|
208
|
-
},
|
|
209
|
-
flexStyle: {
|
|
210
|
-
flexDirection: "row",
|
|
211
|
-
justifyContent: "flex-start"
|
|
212
|
-
},
|
|
213
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
214
|
-
text: "Km carregado: ",
|
|
215
|
-
color: theme.colors.black[25],
|
|
216
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
217
|
-
size: theme.fontSizes.xs
|
|
218
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
219
|
-
text: `${kmCarregado || "Não informado"}`,
|
|
220
|
-
color: theme.colors.gray[700],
|
|
221
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
222
|
-
size: theme.fontSizes.xs
|
|
223
|
-
})]
|
|
224
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
225
|
-
marginStyle: {
|
|
226
|
-
marginTop: theme.margins["1xs"]
|
|
227
|
-
},
|
|
228
|
-
flexStyle: {
|
|
229
|
-
flexDirection: "row",
|
|
230
|
-
justifyContent: "flex-start"
|
|
231
|
-
},
|
|
232
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
|
233
|
-
text: "Km vazio: ",
|
|
234
|
-
color: theme.colors.black[25],
|
|
235
|
-
fontFamily: theme.fonts.inter_medium_500,
|
|
236
|
-
size: theme.fontSizes.xs
|
|
237
|
-
}), /*#__PURE__*/_jsx(Typography, {
|
|
238
|
-
text: `${kmVazio || "Não informado"}`,
|
|
239
|
-
color: theme.colors.gray[700],
|
|
240
|
-
fontFamily: theme.fonts.inter_regular_400,
|
|
241
|
-
size: theme.fontSizes.xs
|
|
242
|
-
})]
|
|
243
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
115
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
116
|
+
style: {
|
|
117
|
+
overflow: "hidden",
|
|
118
|
+
opacity: opacityInterpolate,
|
|
119
|
+
transform: [{
|
|
120
|
+
scaleY: heightInterpolate
|
|
121
|
+
}]
|
|
122
|
+
},
|
|
123
|
+
children: /*#__PURE__*/_jsxs(Box, {
|
|
244
124
|
marginStyle: {
|
|
245
125
|
marginTop: theme.margins["1xs"]
|
|
246
126
|
},
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
127
|
+
children: [/*#__PURE__*/_jsxs(Box, {
|
|
128
|
+
flexStyle: {
|
|
129
|
+
flexDirection: "row",
|
|
130
|
+
justifyContent: "flex-start"
|
|
131
|
+
},
|
|
132
|
+
marginStyle: {
|
|
133
|
+
marginTop: theme.margins["1xs"]
|
|
134
|
+
},
|
|
135
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
136
|
+
text: "Número CTE: ",
|
|
137
|
+
color: theme.colors.black[25],
|
|
138
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
139
|
+
size: theme.fontSizes.sm
|
|
140
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
141
|
+
text: `${numeroCte || "Não informado"}`,
|
|
142
|
+
color: theme.colors.gray[700],
|
|
143
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
144
|
+
size: theme.fontSizes.xs
|
|
145
|
+
})]
|
|
146
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
147
|
+
flexStyle: {
|
|
148
|
+
flexDirection: "row",
|
|
149
|
+
justifyContent: "flex-start"
|
|
150
|
+
},
|
|
151
|
+
marginStyle: {
|
|
152
|
+
marginTop: theme.margins["1xs"]
|
|
153
|
+
},
|
|
154
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
155
|
+
text: "Data carregamento: ",
|
|
156
|
+
color: theme.colors.black[25],
|
|
157
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
158
|
+
size: theme.fontSizes.sm
|
|
159
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
160
|
+
text: `${dataRegistro || "Não informado"}`,
|
|
161
|
+
color: theme.colors.gray[700],
|
|
162
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
163
|
+
size: theme.fontSizes.xs
|
|
164
|
+
})]
|
|
165
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
166
|
+
flexStyle: {
|
|
167
|
+
flexDirection: "row",
|
|
168
|
+
justifyContent: "flex-start"
|
|
169
|
+
},
|
|
170
|
+
marginStyle: {
|
|
171
|
+
marginTop: theme.margins["1xs"]
|
|
172
|
+
},
|
|
173
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
174
|
+
text: "Origem: ",
|
|
175
|
+
color: theme.colors.black[25],
|
|
176
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
177
|
+
size: theme.fontSizes.sm
|
|
178
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
179
|
+
text: `${origem || "Não informado"}`,
|
|
180
|
+
color: theme.colors.gray[700],
|
|
181
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
182
|
+
size: theme.fontSizes.xs
|
|
183
|
+
})]
|
|
184
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
185
|
+
flexStyle: {
|
|
186
|
+
flexDirection: "row",
|
|
187
|
+
justifyContent: "flex-start"
|
|
188
|
+
},
|
|
189
|
+
marginStyle: {
|
|
190
|
+
marginTop: theme.margins["1xs"]
|
|
191
|
+
},
|
|
192
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
193
|
+
text: "Destino: ",
|
|
194
|
+
color: theme.colors.black[25],
|
|
195
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
196
|
+
size: theme.fontSizes.xs
|
|
197
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
198
|
+
text: `${destino || "Não informado"}`,
|
|
199
|
+
color: theme.colors.gray[700],
|
|
200
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
201
|
+
size: theme.fontSizes.xs
|
|
202
|
+
})]
|
|
203
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
204
|
+
flexStyle: {
|
|
205
|
+
flexDirection: "row",
|
|
206
|
+
justifyContent: "flex-start"
|
|
207
|
+
},
|
|
208
|
+
marginStyle: {
|
|
209
|
+
marginTop: theme.margins["1xs"]
|
|
210
|
+
},
|
|
211
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
212
|
+
text: "Pr\xF3ximo carregamento: ",
|
|
213
|
+
color: theme.colors.black[25],
|
|
214
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
215
|
+
size: theme.fontSizes.xs
|
|
216
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
217
|
+
text: `${proximoCarregamento || "Não informado"}`,
|
|
218
|
+
color: theme.colors.gray[700],
|
|
219
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
220
|
+
size: theme.fontSizes.xs
|
|
221
|
+
})]
|
|
222
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
223
|
+
flexStyle: {
|
|
224
|
+
flexDirection: "row",
|
|
225
|
+
justifyContent: "flex-start"
|
|
226
|
+
},
|
|
227
|
+
marginStyle: {
|
|
228
|
+
marginTop: theme.margins["1xs"]
|
|
229
|
+
},
|
|
230
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
231
|
+
text: "Peso: ",
|
|
232
|
+
color: theme.colors.black[25],
|
|
233
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
234
|
+
size: theme.fontSizes.xs
|
|
235
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
236
|
+
text: `${formatPeso(peso)}`,
|
|
237
|
+
color: theme.colors.gray[700],
|
|
238
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
239
|
+
size: theme.fontSizes.xs
|
|
240
|
+
})]
|
|
241
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
242
|
+
flexStyle: {
|
|
243
|
+
flexDirection: "row",
|
|
244
|
+
justifyContent: "flex-start"
|
|
245
|
+
},
|
|
246
|
+
marginStyle: {
|
|
247
|
+
marginTop: theme.margins["1xs"]
|
|
248
|
+
},
|
|
249
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
250
|
+
text: "Km carregado: ",
|
|
251
|
+
color: theme.colors.black[25],
|
|
252
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
253
|
+
size: theme.fontSizes.xs
|
|
254
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
255
|
+
text: `${kmCarregado || "Não informado"}`,
|
|
256
|
+
color: theme.colors.gray[700],
|
|
257
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
258
|
+
size: theme.fontSizes.xs
|
|
259
|
+
})]
|
|
260
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
261
|
+
flexStyle: {
|
|
262
|
+
flexDirection: "row",
|
|
263
|
+
justifyContent: "flex-start"
|
|
264
|
+
},
|
|
265
|
+
marginStyle: {
|
|
266
|
+
marginTop: theme.margins["1xs"]
|
|
267
|
+
},
|
|
268
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
269
|
+
text: "Km vazio: ",
|
|
270
|
+
color: theme.colors.black[25],
|
|
271
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
272
|
+
size: theme.fontSizes.xs
|
|
273
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
274
|
+
text: `${kmVazio || "Não informado"}`,
|
|
275
|
+
color: theme.colors.gray[700],
|
|
276
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
277
|
+
size: theme.fontSizes.xs
|
|
278
|
+
})]
|
|
279
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
280
|
+
flexStyle: {
|
|
281
|
+
flexDirection: "row",
|
|
282
|
+
justifyContent: "flex-start"
|
|
283
|
+
},
|
|
284
|
+
marginStyle: {
|
|
285
|
+
marginTop: theme.margins["1xs"]
|
|
286
|
+
},
|
|
287
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
288
|
+
text: "Base para c\xE1lculo do PRO: ",
|
|
289
|
+
color: theme.colors.black[25],
|
|
290
|
+
fontFamily: theme.fonts.inter_medium_500,
|
|
291
|
+
size: theme.fontSizes.xs
|
|
292
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
293
|
+
text: `${formatBase(baseCalculo)}`,
|
|
294
|
+
color: theme.colors.gray[700],
|
|
295
|
+
fontFamily: theme.fonts.inter_regular_400,
|
|
296
|
+
size: theme.fontSizes.xs
|
|
297
|
+
})]
|
|
261
298
|
})]
|
|
262
|
-
})
|
|
299
|
+
})
|
|
263
300
|
})]
|
|
264
301
|
})]
|
|
265
302
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","View","TouchableOpacity","LayoutAnimation","Platform","UIManager","Box","Typography","theme","Icons","asBaseComponent","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","OS","setLayoutAnimationEnabledExperimental","TripDetailsCard","dataRegistro","numeroCte","origem","destino","proximoCarregamento","peso","baseCalculo","corBarra","kmCarregado","kmVazio","expanded","setExpanded","toggleExpand","configureNext","Presets","easeInEaseOut","prev","formatPeso","v","undefined","toLocaleString","formatBase","width","flexStyle","flexDirection","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","children","style","orange","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","onPress","activeOpacity","accessibilityRole","accessibilityLabel","justifyContent","alignItems","text","color","black","fontFamily","fonts","inter_bold","size","fontSizes","md","icon","gray","marginStyle","marginTop","margins","inter_medium_500","sm","inter_regular_400","xs","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/trip-details-card/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,eAAe,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,cAAc;;AAE3F;AACA,OAAOC,GAAG,MAAM,+BAAsB;AACtC,OAAOC,UAAU,MAAM,sCAA6B;;AAEpD;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAChD,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AACA,IAAIZ,QAAQ,CAACa,EAAE,KAAK,SAAS,IAAIZ,SAAS,CAACa,qCAAqC,EAAE;EAChFb,SAAS,CAACa,qCAAqC,CAAC,IAAI,CAAC;AACvD;AAEA,MAAMC,eAA2C,GAAGA,CAAC;EACnDC,YAAY;EACZC,SAAS;EACTC,MAAM;EACNC,OAAO;EACPC,mBAAmB;EACnBC,IAAI;EACJC,WAAW;EACXC,QAAQ;EACRC,WAAW;EACXC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,GAAG/B,QAAQ,CAAC,IAAI,CAAC;EAE9C,MAAMgC,YAAY,GAAGA,CAAA,KAAM;IACzB7B,eAAe,CAAC8B,aAAa,CAAC9B,eAAe,CAAC+B,OAAO,CAACC,aAAa,CAAC;IACpEJ,WAAW,CAAEK,IAAI,IAAK,CAACA,IAAI,CAAC;EAC9B,CAAC;EAED,MAAMC,UAAU,GA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H,CAAC;AAEV,CAAC;AAEDjE,eAAe,CAACkE,WAAW,GAAG,iBAAiB;AAC/C,eAAe3E,eAAe,CAACS,eAAe,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useRef","useState","View","TouchableOpacity","Animated","Easing","Box","Typography","theme","Icons","asBaseComponent","jsx","_jsx","jsxs","_jsxs","TripDetailsCard","dataRegistro","numeroCte","origem","destino","proximoCarregamento","peso","baseCalculo","corBarra","kmCarregado","kmVazio","expanded","setExpanded","animation","Value","current","toggleExpand","timing","toValue","duration","easing","out","ease","useNativeDriver","start","formatPeso","v","toLocaleString","formatBase","heightInterpolate","interpolate","inputRange","outputRange","opacityInterpolate","width","flexStyle","flexDirection","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","children","style","orange","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","onPress","activeOpacity","accessibilityRole","accessibilityLabel","justifyContent","alignItems","text","color","black","fontFamily","fonts","inter_bold","size","fontSizes","md","transform","rotate","icon","gray","overflow","opacity","scaleY","marginStyle","marginTop","margins","inter_medium_500","sm","inter_regular_400","xs","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/trip-details-card/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAC/C,SAASC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;;AAEvE;AACA,OAAOC,GAAG,MAAM,+BAAsB;AACtC,OAAOC,UAAU,MAAM,sCAA6B;;AAEpD;AACA,SAASC,KAAK,QAAQ,6BAA0B;AAChD,SAASC,KAAK,QAAQ,iCAAwB;;AAE9C;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGA,MAAMC,eAA2C,GAAGA,CAAC;EACnDC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AAG;cACnCqD,KAAK,EAAEnE,KAAK,CAAC6C,MAAM,CAACiC,IAAI,CAAC,GAAG,CAAE;cAC9BT,UAAU,EAAErE,KAAK,CAACsE,KAAK,CAACiB,iBAAkB;cAC1Cf,IAAI,EAAExE,KAAK,CAACyE,SAAS,CAACe;YAAG,CAC1B,CAAC;UAAA,CACC,CAAC;QAAA,CACH;MAAC,CACO,CAAC;IAAA,CACb,CAAC;EAAA,CACH,CAAC;AAEV,CAAC;AAEDjF,eAAe,CAACkF,WAAW,GAAG,iBAAiB;AAC/C,eAAevF,eAAe,CAACK,eAAe,CAAC","ignoreList":[]}
|
|
@@ -15,6 +15,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
const Typography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
16
16
|
// desestruturando as propiedades do componente
|
|
17
17
|
const {
|
|
18
|
+
testID = "typography",
|
|
18
19
|
text = "Hello Dev",
|
|
19
20
|
color = "#1E1E1E",
|
|
20
21
|
size = 23,
|
|
@@ -58,6 +59,7 @@ const Typography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
58
59
|
paddingBottom
|
|
59
60
|
};
|
|
60
61
|
return /*#__PURE__*/_jsx(Text, {
|
|
62
|
+
testID: testID,
|
|
61
63
|
ref: ref,
|
|
62
64
|
numberOfLines: numberOfLines,
|
|
63
65
|
ellipsizeMode: ellipsizeMode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","Text","asBaseComponent","styles","jsx","_jsx","Typography","props","ref","text","color","size","lineHeight","align","textDecoration","fontWeight","fontFamily","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","numberOfLines","ellipsizeMode","data","style","children","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/typography/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlC,MAAMC,UAAU,gBAAGN,UAAU,CAAsB,CAACO,KAAK,EAAEC,GAAG,KAAyB;EACrF;EACA,MAAM;IACJC,IAAI,GAAG,WAAW;IAClBC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,EAAE;IACTC,UAAU,GAAG,EAAE;IACfC,KAAK,GAAG,MAAM;IACdC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC,aAAa;IACbC,aAAa;IACbC;EACF,CAAC,
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Text","asBaseComponent","styles","jsx","_jsx","Typography","props","ref","testID","text","color","size","lineHeight","align","textDecoration","fontWeight","fontFamily","margin","marginLeft","marginRight","marginTop","marginBottom","padding","paddingLeft","paddingRight","paddingTop","paddingBottom","numberOfLines","ellipsizeMode","data","style","children","displayName"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/typography/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,cAAc;;AAEnC;AACA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIlC,MAAMC,UAAU,gBAAGN,UAAU,CAAsB,CAACO,KAAK,EAAEC,GAAG,KAAyB;EACrF;EACA,MAAM;IACJC,MAAM,GAAG,YAAY;IACrBC,IAAI,GAAG,WAAW;IAClBC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,EAAE;IACTC,UAAU,GAAG,EAAE;IACfC,KAAK,GAAG,MAAM;IACdC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC,aAAa;IACbC,aAAa;IACbC;EACF,CAAC,GAAGtB,KAAK;;EAET;EACA,MAAMuB,IAAI,GAAG;IACXnB,KAAK;IACLC,IAAI;IACJC,UAAU;IACVC,KAAK;IACLC,cAAc;IACdC,UAAU;IACVC,UAAU;IACVC,MAAM;IACNC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,YAAY;IACZC,UAAU;IACVC;EACF,CAAmB;EAEnB,oBACEtB,IAAA,CAACJ,IAAI;IACHQ,MAAM,EAAEA,MAAO;IACfD,GAAG,EAAEA,GAAI;IACToB,aAAa,EAAEA,aAAc;IAC7BC,aAAa,EAAEA,aAAc;IAC7BE,KAAK,EAAE5B,MAAM,CAAC2B,IAAI,CAAC,CAACpB,IAAK;IAAAsB,QAAA,EAExBtB;EAAI,CACD,CAAC;AAEX,CAAC,CAAC;AAEFJ,UAAU,CAAC2B,WAAW,GAAG,MAAM;;AAE/B;AACA;AACA;AACA,eAAe/B,eAAe,CAACI,UAAU,CAAC","ignoreList":[]}
|
|
@@ -23,6 +23,7 @@ import { theme } from "../../styles/theme/theme.js";
|
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
25
25
|
const {
|
|
26
|
+
testID = "user-journey-work-card",
|
|
26
27
|
name = "Expresso F.",
|
|
27
28
|
workDate = "25/01/2025",
|
|
28
29
|
initialTime = "00:40",
|
|
@@ -35,6 +36,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
35
36
|
handleNavigationNotification
|
|
36
37
|
} = props;
|
|
37
38
|
return /*#__PURE__*/_jsxs(Box, {
|
|
39
|
+
testID: testID,
|
|
38
40
|
ref: ref,
|
|
39
41
|
width: width,
|
|
40
42
|
paddingStyle: {
|
|
@@ -57,6 +59,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
57
59
|
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
58
60
|
onPress: handleNavigation,
|
|
59
61
|
children: /*#__PURE__*/_jsx(Image, {
|
|
62
|
+
testID: `${testID}-avatar`,
|
|
60
63
|
style: {
|
|
61
64
|
width: 50,
|
|
62
65
|
height: 50,
|
|
@@ -80,6 +83,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
80
83
|
},
|
|
81
84
|
children: [/*#__PURE__*/_jsx(Box, {
|
|
82
85
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
86
|
+
testID: `${testID}-nome-label`,
|
|
83
87
|
text: `Motorista(a): `,
|
|
84
88
|
size: theme.fontSizes.xs,
|
|
85
89
|
color: theme.colors.black[100],
|
|
@@ -89,6 +93,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
89
93
|
})
|
|
90
94
|
}), /*#__PURE__*/_jsx(Box, {
|
|
91
95
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
96
|
+
testID: `${testID}-nome-value`,
|
|
92
97
|
text: `${name}`,
|
|
93
98
|
size: theme.fontSizes.xs,
|
|
94
99
|
color: theme.colors.gray[800],
|
|
@@ -106,6 +111,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
106
111
|
icon: "CALENDAR",
|
|
107
112
|
size: 22
|
|
108
113
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
114
|
+
testID: `${testID}-work-date-label`,
|
|
109
115
|
text: "Jornada Trabalho: ",
|
|
110
116
|
fontFamily: theme.fonts.inter_bold_700,
|
|
111
117
|
size: theme.fontSizes.xs,
|
|
@@ -113,6 +119,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
113
119
|
letterSpacing: "regular",
|
|
114
120
|
lineHeight: theme.lineHeight["2xl"]
|
|
115
121
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
122
|
+
testID: `${testID}-work-date-value`,
|
|
116
123
|
text: workDate,
|
|
117
124
|
size: theme.fontSizes.xs,
|
|
118
125
|
fontFamily: theme.fonts.inter_regular_400,
|
|
@@ -138,6 +145,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
138
145
|
})]
|
|
139
146
|
})]
|
|
140
147
|
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
148
|
+
testID: `${testID}-notification`,
|
|
141
149
|
activeOpacity: 0.7,
|
|
142
150
|
onPress: handleNavigationNotification,
|
|
143
151
|
children: [counterBadge > 0 && /*#__PURE__*/_jsx(Box, {
|
|
@@ -163,6 +171,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
163
171
|
zIndex: 10
|
|
164
172
|
}],
|
|
165
173
|
children: /*#__PURE__*/_jsx(Typography, {
|
|
174
|
+
testID: `${testID}-notification-text`,
|
|
166
175
|
text: `${counterBadge}`,
|
|
167
176
|
align: "center",
|
|
168
177
|
size: theme.fontSizes["2xs"],
|
|
@@ -172,6 +181,7 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
172
181
|
letterSpacing: "regular"
|
|
173
182
|
})
|
|
174
183
|
}), /*#__PURE__*/_jsx(Icons, {
|
|
184
|
+
testID: `${testID}-notification-icon`,
|
|
175
185
|
icon: "BELL",
|
|
176
186
|
size: 28,
|
|
177
187
|
style: {
|
|
@@ -197,12 +207,14 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
197
207
|
marginRight: theme.margins.sm
|
|
198
208
|
},
|
|
199
209
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
210
|
+
testID: `${testID}-initial-time-value`,
|
|
200
211
|
text: `${initialTime}`,
|
|
201
212
|
size: theme.fontSizes.md,
|
|
202
213
|
align: "center",
|
|
203
214
|
color: theme.colors.black[100],
|
|
204
215
|
fontFamily: theme.fonts.inter_semi_bold_600
|
|
205
216
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
217
|
+
testID: `${testID}-initial-time-label`,
|
|
206
218
|
text: "INÍCIO",
|
|
207
219
|
size: theme.fontSizes["2xs"],
|
|
208
220
|
align: "center",
|
|
@@ -213,12 +225,14 @@ const UserJourneyWorkCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
213
225
|
})]
|
|
214
226
|
}), /*#__PURE__*/_jsxs(Box, {
|
|
215
227
|
children: [/*#__PURE__*/_jsx(Typography, {
|
|
228
|
+
testID: `${testID}-duration-value`,
|
|
216
229
|
text: `${duration}`,
|
|
217
230
|
size: theme.fontSizes.md,
|
|
218
231
|
align: "center",
|
|
219
232
|
color: theme.colors.black[100],
|
|
220
233
|
fontFamily: theme.fonts.inter_bold_700
|
|
221
234
|
}), /*#__PURE__*/_jsx(Typography, {
|
|
235
|
+
testID: `${testID}-duration-label`,
|
|
222
236
|
text: "DURAÇÃO",
|
|
223
237
|
size: theme.fontSizes["2xs"],
|
|
224
238
|
align: "center",
|