jornada-ui 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/resume-raking/index.js +79 -0
- package/lib/commonjs/components/resume-raking/index.js.map +1 -0
- package/lib/commonjs/components/resume-raking/interface.js +2 -0
- package/lib/commonjs/components/resume-raking/interface.js.map +1 -0
- package/lib/commonjs/components/resume-raking/styles.js +2 -0
- package/lib/commonjs/components/resume-raking/styles.js.map +1 -0
- package/lib/commonjs/components/travel-history/index.js +248 -237
- package/lib/commonjs/components/travel-history/index.js.map +1 -1
- package/lib/commonjs/components/weekly-table/helpers/calcular-total-horas.js +48 -10
- package/lib/commonjs/components/weekly-table/helpers/calcular-total-horas.js.map +1 -1
- package/lib/commonjs/components/weekly-table/index.js +6 -10
- package/lib/commonjs/components/weekly-table/index.js.map +1 -1
- package/lib/commonjs/index.js +11 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +1 -0
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/module/components/resume-raking/index.js +72 -0
- package/lib/module/components/resume-raking/index.js.map +1 -0
- package/lib/module/components/resume-raking/interface.js +2 -0
- package/lib/module/components/resume-raking/interface.js.map +1 -0
- package/lib/module/components/resume-raking/styles.js +2 -0
- package/lib/module/components/resume-raking/styles.js.map +1 -0
- package/lib/module/components/travel-history/index.js +248 -237
- package/lib/module/components/travel-history/index.js.map +1 -1
- package/lib/module/components/weekly-table/helpers/calcular-total-horas.js +46 -9
- package/lib/module/components/weekly-table/helpers/calcular-total-horas.js.map +1 -1
- package/lib/module/components/weekly-table/index.js +7 -11
- package/lib/module/components/weekly-table/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/styles/theme/theme.js +1 -0
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/resume-raking/index.d.ts.map +1 -0
- 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 -0
- package/lib/typescript/commonjs/src/components/resume-raking/styles.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/resume-raking/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/travel-history/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/travel-history/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/weekly-table/helpers/calcular-total-horas.d.ts +2 -1
- package/lib/typescript/commonjs/src/components/weekly-table/helpers/calcular-total-horas.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/weekly-table/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/index.d.ts +8 -0
- package/lib/typescript/module/src/components/resume-raking/index.d.ts.map +1 -0
- 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 -0
- package/lib/typescript/module/src/components/resume-raking/styles.d.ts +1 -0
- package/lib/typescript/module/src/components/resume-raking/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/travel-history/index.d.ts +1 -0
- package/lib/typescript/module/src/components/travel-history/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/weekly-table/helpers/calcular-total-horas.d.ts +2 -1
- package/lib/typescript/module/src/components/weekly-table/helpers/calcular-total-horas.d.ts.map +1 -1
- package/lib/typescript/module/src/components/weekly-table/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +1 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
- package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/resume-raking/index.tsx +75 -0
- package/src/components/resume-raking/interface.ts +14 -0
- package/src/components/resume-raking/styles.ts +0 -0
- package/src/components/travel-history/index.tsx +330 -314
- package/src/components/travel-history/interface.d.ts +153 -149
- package/src/components/weekly-table/helpers/calcular-total-horas.ts +89 -50
- package/src/components/weekly-table/index.tsx +138 -142
- package/src/index.tsx +1 -0
- package/src/styles/theme/theme.ts +1 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _index = _interopRequireDefault(require("../box/index.js"));
|
|
9
|
+
var _index2 = _interopRequireDefault(require("../typography/index.js"));
|
|
10
|
+
var _theme = require("../../styles/theme/theme.js");
|
|
11
|
+
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
|
+
/**
|
|
16
|
+
* IMPORTS
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// components
|
|
20
|
+
|
|
21
|
+
// styles
|
|
22
|
+
|
|
23
|
+
// typings
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Componente ResumeRaking para a interação da ui.
|
|
27
|
+
*/
|
|
28
|
+
const ResumeRaking = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
29
|
+
title,
|
|
30
|
+
value,
|
|
31
|
+
description
|
|
32
|
+
}, ref) => {
|
|
33
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
34
|
+
ref: ref,
|
|
35
|
+
width: "100%",
|
|
36
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
37
|
+
borderStyled: {
|
|
38
|
+
borderRadius: _theme.theme.borderWidths.thick_medium,
|
|
39
|
+
borderWidth: 1,
|
|
40
|
+
borderColor: _theme.theme.colors.neutral[300]
|
|
41
|
+
},
|
|
42
|
+
paddingStyle: {
|
|
43
|
+
padding: _theme.theme.paddings.sm
|
|
44
|
+
},
|
|
45
|
+
marginStyle: {
|
|
46
|
+
marginBottom: _theme.theme.margins.sm
|
|
47
|
+
},
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
49
|
+
text: title,
|
|
50
|
+
color: _theme.theme.colors.black[100],
|
|
51
|
+
size: _theme.theme.fontSizes.sm,
|
|
52
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
53
|
+
fontWeight: "500",
|
|
54
|
+
marginBottom: _theme.theme.margins.xs
|
|
55
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
56
|
+
text: value,
|
|
57
|
+
color: _theme.theme.colors.black[180],
|
|
58
|
+
size: _theme.theme.fontSizes["2xl"],
|
|
59
|
+
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
60
|
+
fontWeight: "700",
|
|
61
|
+
marginBottom: _theme.theme.margins.xs
|
|
62
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
63
|
+
flexStyle: {
|
|
64
|
+
flexDirection: "row",
|
|
65
|
+
alignItems: "center",
|
|
66
|
+
justifyContent: "flex-end"
|
|
67
|
+
},
|
|
68
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
69
|
+
text: description,
|
|
70
|
+
color: _theme.theme.colors.red[500],
|
|
71
|
+
size: _theme.theme.fontSizes.sm,
|
|
72
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
73
|
+
})
|
|
74
|
+
})]
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
ResumeRaking.displayName = "ResumeRaking";
|
|
78
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ResumeRaking);
|
|
79
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_index","_interopRequireDefault","_index2","_theme","_asBaseComponent","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ResumeRaking","forwardRef","title","value","description","ref","jsxs","width","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","borderWidth","borderColor","paddingStyle","padding","paddings","sm","marginStyle","marginBottom","margins","children","jsx","text","color","black","size","fontSizes","fontFamily","fonts","inter_bold_700","fontWeight","xs","flexStyle","flexDirection","alignItems","justifyContent","red","inter_regular_400","displayName","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/resume-raking/index.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/resume-raking/interface.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/resume-raking/styles.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -10,11 +10,12 @@ var _index2 = _interopRequireDefault(require("../typography/index.js"));
|
|
|
10
10
|
var _index3 = require("../../common/icons-svg/index.js");
|
|
11
11
|
var _asBaseComponent = require("../../@types/as-base-component.js");
|
|
12
12
|
var _theme = require("../../styles/theme/theme.js");
|
|
13
|
+
var _reactNative = require("react-native");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
16
|
-
/**
|
|
17
|
-
* IMPORTS
|
|
17
|
+
/**
|
|
18
|
+
* IMPORTS
|
|
18
19
|
*/
|
|
19
20
|
|
|
20
21
|
// components
|
|
@@ -25,8 +26,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
25
26
|
|
|
26
27
|
// styles
|
|
27
28
|
|
|
28
|
-
/**
|
|
29
|
-
* Componente TravelHistory para a interação da ui.
|
|
29
|
+
/**
|
|
30
|
+
* Componente TravelHistory para a interação da ui.
|
|
30
31
|
*/const TravelHistory = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
31
32
|
const {
|
|
32
33
|
testID,
|
|
@@ -40,280 +41,290 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
40
41
|
nextTrip,
|
|
41
42
|
origin,
|
|
42
43
|
destination,
|
|
44
|
+
onPress,
|
|
43
45
|
// Flags de problema
|
|
44
46
|
supplyIssue = false,
|
|
45
47
|
logisticsIssue = false
|
|
46
48
|
} = props;
|
|
47
|
-
|
|
48
|
-
// Normaliza status
|
|
49
|
-
const normalizedStatus = (status ?? "ABERTA").toString().trim().toUpperCase();
|
|
50
|
-
const hasError = Boolean(supplyIssue || logisticsIssue);
|
|
51
|
-
|
|
52
|
-
// Regras de cor:
|
|
53
|
-
// - Se houver erro -> vermelho
|
|
54
|
-
// - Senão, se FECHADA -> verde
|
|
55
|
-
// - Senão (ABERTA e sem erro) -> usa backgroundColor (laranja já usado por você) ou fallback
|
|
56
|
-
const baseOpenColor = backgroundColor ?? _theme.theme.colors.green[400];
|
|
57
|
-
const computedColor = hasError ? _theme.theme.colors.red[400] : normalizedStatus === "FECHADA" ? _theme.theme.colors.green[400] : baseOpenColor;
|
|
58
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
49
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
59
50
|
ref: ref,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
51
|
+
activeOpacity: 0.7,
|
|
52
|
+
onPress: () => onPress({
|
|
53
|
+
backgroundColor,
|
|
54
|
+
idViagem,
|
|
55
|
+
startTrip,
|
|
56
|
+
plate,
|
|
57
|
+
value,
|
|
58
|
+
status,
|
|
59
|
+
supply,
|
|
60
|
+
nextTrip,
|
|
61
|
+
origin,
|
|
62
|
+
destination,
|
|
63
|
+
supplyIssue,
|
|
64
|
+
logisticsIssue
|
|
65
|
+
}),
|
|
66
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
67
|
+
testID: testID,
|
|
71
68
|
width: "100%",
|
|
72
|
-
|
|
73
|
-
backgroundColor: computedColor,
|
|
69
|
+
backgroundColor: _theme.theme.colors.neutral[25],
|
|
74
70
|
borderStyled: {
|
|
75
|
-
|
|
76
|
-
borderTopRightRadius: _theme.theme.borderWidths.thin_bold,
|
|
77
|
-
borderColor: _theme.theme.colors.blue[400]
|
|
78
|
-
},
|
|
79
|
-
flexStyle: {
|
|
80
|
-
flexDirection: "row",
|
|
81
|
-
justifyContent: "space-between",
|
|
82
|
-
alignItems: "center"
|
|
83
|
-
},
|
|
84
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
85
|
-
text: `VIAGEM #${idViagem ?? "000"}`,
|
|
86
|
-
color: _theme.theme.colors.neutral[25],
|
|
87
|
-
size: _theme.theme.fontSizes.sm,
|
|
88
|
-
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
89
|
-
fontWeight: "500",
|
|
90
|
-
lineHeight: _theme.theme.fontSizes.lg,
|
|
91
|
-
marginLeft: _theme.theme.margins["2xs"]
|
|
92
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
93
|
-
text: `INÍCIO ${startTrip ?? "01/01/2025 00:00"}`,
|
|
94
|
-
color: _theme.theme.colors.neutral[25],
|
|
95
|
-
size: _theme.theme.fontSizes.sm,
|
|
96
|
-
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
97
|
-
fontWeight: "500",
|
|
98
|
-
lineHeight: _theme.theme.fontSizes.lg,
|
|
99
|
-
marginRight: _theme.theme.margins["2xs"]
|
|
100
|
-
})]
|
|
101
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
102
|
-
width: "100%",
|
|
103
|
-
flexStyle: {
|
|
104
|
-
flexDirection: "row",
|
|
105
|
-
justifyContent: "space-between"
|
|
71
|
+
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
106
72
|
},
|
|
107
|
-
|
|
108
|
-
|
|
73
|
+
marginStyle: {
|
|
74
|
+
marginBottom: _theme.theme.margins["2xs"]
|
|
109
75
|
},
|
|
110
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
76
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
77
|
+
testID: "travel-history-header",
|
|
78
|
+
width: "100%",
|
|
79
|
+
height: 30,
|
|
80
|
+
backgroundColor: backgroundColor,
|
|
81
|
+
borderStyled: {
|
|
82
|
+
borderTopLeftRadius: _theme.theme.borderWidths.thin_bold,
|
|
83
|
+
borderTopRightRadius: _theme.theme.borderWidths.thin_bold,
|
|
84
|
+
borderColor: _theme.theme.colors.blue[400]
|
|
85
|
+
},
|
|
86
|
+
flexStyle: {
|
|
87
|
+
flexDirection: "row",
|
|
88
|
+
justifyContent: "space-between",
|
|
89
|
+
alignItems: "center"
|
|
90
|
+
},
|
|
91
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
92
|
+
text: `VIAGEM #${idViagem ?? "000"}`,
|
|
93
|
+
color: _theme.theme.colors.neutral[25],
|
|
94
|
+
size: _theme.theme.fontSizes.xs,
|
|
95
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
96
|
+
fontWeight: "500",
|
|
97
|
+
lineHeight: _theme.theme.fontSizes.lg,
|
|
98
|
+
marginLeft: _theme.theme.margins["2xs"]
|
|
99
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
100
|
+
text: `INÍCIO ${startTrip ?? "01/01/2025 00:00"}`,
|
|
101
|
+
color: _theme.theme.colors.neutral[25],
|
|
102
|
+
size: _theme.theme.fontSizes.xs,
|
|
103
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
104
|
+
fontWeight: "500",
|
|
105
|
+
lineHeight: _theme.theme.fontSizes.lg,
|
|
106
|
+
marginRight: _theme.theme.margins["2xs"]
|
|
107
|
+
})]
|
|
108
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
111
109
|
width: "100%",
|
|
110
|
+
flexStyle: {
|
|
111
|
+
flexDirection: "row",
|
|
112
|
+
justifyContent: "space-between"
|
|
113
|
+
},
|
|
114
|
+
paddingStyle: {
|
|
115
|
+
padding: _theme.theme.paddings["2xs"]
|
|
116
|
+
},
|
|
112
117
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
children:
|
|
120
|
-
flexStyle: {
|
|
121
|
-
flexDirection: "row",
|
|
122
|
-
justifyContent: "space-between"
|
|
123
|
-
},
|
|
118
|
+
width: "100%",
|
|
119
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
120
|
+
flexStyle: {
|
|
121
|
+
flexDirection: "row",
|
|
122
|
+
alignItems: "center"
|
|
123
|
+
},
|
|
124
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
124
125
|
width: "100%",
|
|
125
126
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
126
127
|
flexStyle: {
|
|
127
|
-
flexDirection: "row"
|
|
128
|
+
flexDirection: "row",
|
|
129
|
+
justifyContent: "space-between"
|
|
130
|
+
},
|
|
131
|
+
width: "100%",
|
|
132
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
133
|
+
flexStyle: {
|
|
134
|
+
flexDirection: "row"
|
|
135
|
+
},
|
|
136
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
137
|
+
text: `Placa: `,
|
|
138
|
+
size: _theme.theme.fontSizes.sm,
|
|
139
|
+
color: _theme.theme.colors.black[10],
|
|
140
|
+
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
141
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
142
|
+
text: `${plate ?? "000-000"}`,
|
|
143
|
+
size: _theme.theme.fontSizes.xs,
|
|
144
|
+
color: _theme.theme.colors.black[180],
|
|
145
|
+
fontFamily: _theme.theme.fonts.inter_light_300
|
|
146
|
+
})]
|
|
147
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
148
|
+
flexStyle: {
|
|
149
|
+
flexDirection: "row",
|
|
150
|
+
alignItems: "center"
|
|
151
|
+
},
|
|
152
|
+
children: [supplyIssue && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
153
|
+
testID: "icon-supply",
|
|
154
|
+
marginStyle: {
|
|
155
|
+
marginRight: 8
|
|
156
|
+
},
|
|
157
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
158
|
+
icon: "GAS_PUMP",
|
|
159
|
+
color: backgroundColor,
|
|
160
|
+
size: 24
|
|
161
|
+
})
|
|
162
|
+
}), logisticsIssue && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
163
|
+
testID: "icon-logistics",
|
|
164
|
+
marginStyle: {
|
|
165
|
+
marginRight: 8
|
|
166
|
+
},
|
|
167
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
168
|
+
icon: "EXCLAMATION_CIRCLE",
|
|
169
|
+
background: backgroundColor,
|
|
170
|
+
color: "#ffffff",
|
|
171
|
+
size: 24
|
|
172
|
+
})
|
|
173
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
174
|
+
testID: "icon-truck",
|
|
175
|
+
marginStyle: {
|
|
176
|
+
marginRight: 8
|
|
177
|
+
},
|
|
178
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
179
|
+
icon: "TRUCK_ACTIVITY",
|
|
180
|
+
color: backgroundColor,
|
|
181
|
+
size: 24
|
|
182
|
+
})
|
|
183
|
+
})]
|
|
184
|
+
})]
|
|
185
|
+
}), status !== "ABERTA" && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
186
|
+
width: "84%",
|
|
187
|
+
flexStyle: {
|
|
188
|
+
flexDirection: "row",
|
|
189
|
+
flexWrap: "wrap"
|
|
128
190
|
},
|
|
129
191
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
130
|
-
|
|
131
|
-
|
|
192
|
+
style: {
|
|
193
|
+
flexShrink: 1
|
|
194
|
+
},
|
|
195
|
+
text: `Valor: `,
|
|
196
|
+
size: _theme.theme.fontSizes.sm,
|
|
132
197
|
color: _theme.theme.colors.black[10],
|
|
133
198
|
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
134
199
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
135
|
-
text:
|
|
136
|
-
size:
|
|
200
|
+
text: `R$ ${value ?? "00,00"}`,
|
|
201
|
+
size: 11,
|
|
137
202
|
color: _theme.theme.colors.black[180],
|
|
138
|
-
fontFamily: _theme.theme.fonts.
|
|
203
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
139
204
|
})]
|
|
140
205
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
206
|
+
width: "84%",
|
|
141
207
|
flexStyle: {
|
|
142
208
|
flexDirection: "row",
|
|
143
|
-
|
|
209
|
+
flexWrap: "wrap"
|
|
144
210
|
},
|
|
145
|
-
children: [
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
marginRight: 8
|
|
149
|
-
},
|
|
150
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
151
|
-
icon: "GAS_PUMP",
|
|
152
|
-
color: computedColor,
|
|
153
|
-
size: 24
|
|
154
|
-
})
|
|
155
|
-
}), logisticsIssue && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
156
|
-
testID: "icon-logistics",
|
|
157
|
-
marginStyle: {
|
|
158
|
-
marginRight: 8
|
|
159
|
-
},
|
|
160
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Icons, {
|
|
161
|
-
icon: "EXCLAMATION_CIRCLE",
|
|
162
|
-
background: computedColor,
|
|
163
|
-
color: "#ffffff",
|
|
164
|
-
size: 24
|
|
165
|
-
})
|
|
166
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
|
|
167
|
-
testID: "icon-truck",
|
|
168
|
-
marginStyle: {
|
|
169
|
-
marginRight: 8
|
|
211
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
212
|
+
style: {
|
|
213
|
+
flexShrink: 1
|
|
170
214
|
},
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
215
|
+
text: `Status viagem: `,
|
|
216
|
+
size: _theme.theme.fontSizes.sm,
|
|
217
|
+
color: _theme.theme.colors.black[10],
|
|
218
|
+
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
219
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
220
|
+
text: `${status ?? "ABERTA"}`,
|
|
221
|
+
size: _theme.theme.fontSizes.xs,
|
|
222
|
+
color: backgroundColor ?? _theme.theme.colors.black[180],
|
|
223
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
176
224
|
})]
|
|
177
|
-
})
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
flexWrap: "wrap"
|
|
183
|
-
},
|
|
184
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
185
|
-
style: {
|
|
186
|
-
flexShrink: 1
|
|
187
|
-
},
|
|
188
|
-
text: `Valor: `,
|
|
189
|
-
size: _theme.theme.fontSizes.xs,
|
|
190
|
-
color: _theme.theme.colors.black[10],
|
|
191
|
-
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
192
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
193
|
-
text: `R$ ${value ?? "00,00"}`,
|
|
194
|
-
size: 11,
|
|
195
|
-
color: _theme.theme.colors.black[180],
|
|
196
|
-
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
197
|
-
})]
|
|
198
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
199
|
-
width: "84%",
|
|
200
|
-
flexStyle: {
|
|
201
|
-
flexDirection: "row",
|
|
202
|
-
flexWrap: "wrap"
|
|
203
|
-
},
|
|
204
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
205
|
-
style: {
|
|
206
|
-
flexShrink: 1
|
|
207
|
-
},
|
|
208
|
-
text: `Status viagem: `,
|
|
209
|
-
size: _theme.theme.fontSizes.xs,
|
|
210
|
-
color: _theme.theme.colors.black[10],
|
|
211
|
-
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
212
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
213
|
-
text: `${status ?? "ABERTA"}`,
|
|
214
|
-
size: 11,
|
|
215
|
-
color: _theme.theme.colors.black[180],
|
|
216
|
-
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
217
|
-
})]
|
|
218
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
219
|
-
width: "84%",
|
|
220
|
-
flexStyle: {
|
|
221
|
-
flexDirection: "row",
|
|
222
|
-
flexWrap: "wrap"
|
|
223
|
-
},
|
|
224
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
225
|
-
style: {
|
|
226
|
-
flexShrink: 1
|
|
225
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
226
|
+
width: "84%",
|
|
227
|
+
flexStyle: {
|
|
228
|
+
flexDirection: "row",
|
|
229
|
+
flexWrap: "wrap"
|
|
227
230
|
},
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
231
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
232
|
+
style: {
|
|
233
|
+
flexShrink: 1
|
|
234
|
+
},
|
|
235
|
+
text: `Abastecimentos: `,
|
|
236
|
+
size: _theme.theme.fontSizes.sm,
|
|
237
|
+
color: _theme.theme.colors.black[10],
|
|
238
|
+
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
239
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
240
|
+
text: `${supply ?? "0"}`,
|
|
241
|
+
size: _theme.theme.fontSizes.xs,
|
|
242
|
+
color: backgroundColor ?? _theme.theme.colors.black[180],
|
|
243
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
244
|
+
})]
|
|
245
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
246
|
+
width: "84%",
|
|
247
|
+
flexStyle: {
|
|
248
|
+
flexDirection: "row",
|
|
249
|
+
flexWrap: "wrap"
|
|
247
250
|
},
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
251
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
252
|
+
style: {
|
|
253
|
+
flexShrink: 1
|
|
254
|
+
},
|
|
255
|
+
text: `Próxima viagem: `,
|
|
256
|
+
size: _theme.theme.fontSizes.sm,
|
|
257
|
+
color: _theme.theme.colors.black[10],
|
|
258
|
+
fontFamily: _theme.theme.fonts.inter_medium_500
|
|
259
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
260
|
+
text: `${nextTrip ?? "Não especificado"}`,
|
|
261
|
+
size: _theme.theme.fontSizes.xs,
|
|
262
|
+
color: backgroundColor ?? _theme.theme.colors.black[180],
|
|
263
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
264
|
+
})]
|
|
257
265
|
})]
|
|
258
|
-
})
|
|
266
|
+
})
|
|
259
267
|
})
|
|
260
268
|
})
|
|
261
|
-
})
|
|
262
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
263
|
-
width: "100%",
|
|
264
|
-
flexStyle: {
|
|
265
|
-
flexDirection: "row",
|
|
266
|
-
justifyContent: "space-between",
|
|
267
|
-
alignItems: "center"
|
|
268
|
-
},
|
|
269
|
-
paddingStyle: {
|
|
270
|
-
padding: _theme.theme.paddings["2xs"]
|
|
271
|
-
},
|
|
272
|
-
borderStyled: {
|
|
273
|
-
borderTopWidth: _theme.theme.borderWidths.thin_medium,
|
|
274
|
-
borderTopColor: _theme.theme.colors.neutral[200]
|
|
275
|
-
},
|
|
276
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
277
|
-
marginStyle: {
|
|
278
|
-
marginRight: 2
|
|
279
|
-
},
|
|
280
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
281
|
-
text: `Atividade:`,
|
|
282
|
-
size: _theme.theme.fontSizes.xs,
|
|
283
|
-
color: _theme.theme.colors.black[180],
|
|
284
|
-
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
285
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
286
|
-
text: `${origin ?? "Não especificado"}`,
|
|
287
|
-
size: _theme.theme.fontSizes.sm,
|
|
288
|
-
color: _theme.theme.colors.black[100],
|
|
289
|
-
fontFamily: _theme.theme.fonts.inter_semi_bold_600
|
|
290
|
-
})]
|
|
291
269
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
270
|
+
width: "100%",
|
|
292
271
|
flexStyle: {
|
|
293
|
-
flexDirection: "
|
|
294
|
-
|
|
295
|
-
|
|
272
|
+
flexDirection: "row",
|
|
273
|
+
justifyContent: "space-between",
|
|
274
|
+
alignItems: "center"
|
|
296
275
|
},
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
276
|
+
paddingStyle: {
|
|
277
|
+
padding: _theme.theme.paddings["2xs"]
|
|
278
|
+
},
|
|
279
|
+
borderStyled: {
|
|
280
|
+
borderTopWidth: _theme.theme.borderWidths.thin_medium,
|
|
281
|
+
borderTopColor: _theme.theme.colors.neutral[200]
|
|
282
|
+
},
|
|
283
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
284
|
+
marginStyle: {
|
|
285
|
+
marginRight: 2
|
|
286
|
+
},
|
|
287
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
288
|
+
text: `Origem:`,
|
|
289
|
+
size: _theme.theme.fontSizes.xs,
|
|
290
|
+
color: _theme.theme.colors.black[180],
|
|
291
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
292
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
293
|
+
text: `${origin ?? "NÃO INFORMADO"}`,
|
|
294
|
+
size: _theme.theme.fontSizes["2xs"],
|
|
295
|
+
align: "left",
|
|
296
|
+
color: "black180",
|
|
297
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
298
|
+
lineHeight: 22,
|
|
299
|
+
letterSpacing: "regular"
|
|
300
|
+
})]
|
|
301
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.default, {
|
|
302
|
+
flexStyle: {
|
|
303
|
+
flexDirection: "column",
|
|
304
|
+
alignItems: "flex-end",
|
|
305
|
+
justifyContent: "center"
|
|
306
|
+
},
|
|
307
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
308
|
+
text: `Destino: `,
|
|
309
|
+
size: _theme.theme.fontSizes.xs,
|
|
310
|
+
color: _theme.theme.colors.black[180],
|
|
311
|
+
fontFamily: _theme.theme.fonts.inter_regular_400
|
|
312
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
|
|
313
|
+
text: `${destination ?? "NÃO INFORMADO"}`,
|
|
314
|
+
size: _theme.theme.fontSizes["2xs"],
|
|
315
|
+
color: _theme.theme.colors.black[100],
|
|
316
|
+
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
317
|
+
marginLeft: 4
|
|
318
|
+
})]
|
|
308
319
|
})]
|
|
309
320
|
})]
|
|
310
|
-
})
|
|
321
|
+
})
|
|
311
322
|
});
|
|
312
323
|
});
|
|
313
324
|
TravelHistory.displayName = "TravelHistory";
|
|
314
325
|
|
|
315
|
-
/**
|
|
316
|
-
* EXPORTS
|
|
326
|
+
/**
|
|
327
|
+
* EXPORTS
|
|
317
328
|
*/
|
|
318
329
|
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(TravelHistory);
|
|
319
330
|
//# sourceMappingURL=index.js.map
|