react-native-exp-fig 0.1.22 → 0.1.24
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/activities-daily/index.js +9 -9
- package/lib/commonjs/components/activities-daily/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +14 -14
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/index.js +4 -4
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
- package/lib/commonjs/components/box/index.js +27 -22
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/box/interface.d.js.map +1 -1
- package/lib/commonjs/components/box/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +16 -16
- package/lib/commonjs/components/card-history/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/index.js +3 -3
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +13 -13
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-scheduled-journey/index.js +6 -6
- package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +12 -12
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +5 -5
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +5 -5
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/index.js +2 -2
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/header-profile/index.js +8 -8
- package/lib/commonjs/components/header-profile/index.js.map +1 -1
- package/lib/commonjs/components/history-activities-card/index.js +14 -13
- package/lib/commonjs/components/history-activities-card/index.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +5 -5
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/index.js +2 -2
- package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/commonjs/components/input/index.js +11 -11
- package/lib/commonjs/components/input/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/index.js +10 -10
- package/lib/commonjs/components/loading-details/index.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +5 -5
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/menu-item/index.js +3 -3
- package/lib/commonjs/components/menu-item/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/index.js +5 -5
- package/lib/commonjs/components/modal-activities/index.js.map +1 -1
- package/lib/commonjs/components/modal-change-activity/index.js +15 -14
- package/lib/commonjs/components/modal-change-activity/index.js.map +1 -1
- package/lib/commonjs/components/no-data/index.js +2 -2
- package/lib/commonjs/components/no-data/index.js.map +1 -1
- package/lib/commonjs/components/notification-loading/index.js +12 -12
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/index.js +3 -3
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
- package/lib/commonjs/components/scheduled-journey-indicators/index.js +4 -4
- package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +9 -9
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/helpers/text-utils.js +5 -5
- package/lib/commonjs/helpers/text-utils.js.map +1 -1
- package/lib/commonjs/index.js +3 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/box/box.stories.js +2 -2
- package/lib/commonjs/stories/box/box.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js +4 -4
- package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -1
- package/lib/commonjs/utils/get-icon-by-property/index.js +10 -11
- package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +5 -5
- package/lib/module/components/activities-daily/index.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +5 -5
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/avatar-profile/index.js +1 -1
- package/lib/module/components/avatar-profile/index.js.map +1 -1
- package/lib/module/components/box/index.js +23 -22
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/box/interface.d.js.map +1 -1
- package/lib/module/components/box/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +8 -8
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-hours/index.js +1 -1
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-loading/index.js +1 -1
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-scheduled-journey/index.js +1 -1
- package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +1 -1
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/check-box/index.js +1 -1
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/coil/index.js +1 -1
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +1 -1
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/header-profile/index.js +1 -1
- package/lib/module/components/header-profile/index.js.map +1 -1
- package/lib/module/components/history-activities-card/index.js +1 -1
- package/lib/module/components/history-activities-card/index.js.map +1 -1
- package/lib/module/components/history-details/index.js +1 -1
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/index.js +1 -1
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/input/index.js +1 -1
- package/lib/module/components/input/index.js.map +1 -1
- package/lib/module/components/loading-details/index.js +5 -5
- package/lib/module/components/loading-details/index.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +1 -1
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/menu-item/index.js +1 -1
- package/lib/module/components/menu-item/index.js.map +1 -1
- package/lib/module/components/modal-activities/index.js +1 -1
- package/lib/module/components/modal-activities/index.js.map +1 -1
- package/lib/module/components/modal-change-activity/index.js +10 -9
- package/lib/module/components/modal-change-activity/index.js.map +1 -1
- package/lib/module/components/no-data/index.js +1 -1
- package/lib/module/components/no-data/index.js.map +1 -1
- package/lib/module/components/notification-loading/index.js +5 -5
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js +1 -1
- package/lib/module/components/profile-menu-option/index.js.map +1 -1
- package/lib/module/components/scheduled-journey-indicators/index.js +1 -1
- package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
- package/lib/module/components/user-profile/index.js +1 -1
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/helpers/text-utils.js +5 -5
- package/lib/module/helpers/text-utils.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/box/box.stories.js +1 -1
- package/lib/module/stories/box/box.stories.js.map +1 -1
- package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js +4 -4
- package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -1
- package/lib/module/utils/get-icon-by-property/index.js +10 -11
- package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
- package/lib/typescript/src/components/box/index.d.ts +8 -5
- package/lib/typescript/src/components/box/styles.d.ts +2 -2
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/stories/box/box.stories.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/activities-daily/index.tsx +116 -116
- package/src/components/activities-progress/index.tsx +170 -170
- package/src/components/avatar-profile/index.tsx +1 -1
- package/src/components/box/index.tsx +53 -49
- package/src/components/box/interface.d.ts +2 -2
- package/src/components/box/styles.ts +2 -2
- package/src/components/card-history/index.tsx +221 -221
- package/src/components/card-hours/index.tsx +2 -1
- package/src/components/card-loading/index.tsx +1 -1
- package/src/components/card-scheduled-journey/index.tsx +1 -1
- package/src/components/card-work-session/index.tsx +1 -1
- package/src/components/check-box/index.tsx +1 -1
- package/src/components/coil/index.tsx +1 -1
- package/src/components/filter-date-selector/index.tsx +1 -1
- package/src/components/header-profile/index.tsx +1 -1
- package/src/components/history-activities-card/index.tsx +1 -1
- package/src/components/history-details/index.tsx +1 -1
- package/src/components/image-capture-with-remove/index.tsx +1 -1
- package/src/components/input/index.tsx +1 -1
- package/src/components/loading-details/index.tsx +156 -156
- package/src/components/loading-progress/index.tsx +1 -1
- package/src/components/menu-item/index.tsx +1 -1
- package/src/components/modal-activities/index.tsx +1 -1
- package/src/components/modal-change-activity/index.tsx +200 -202
- package/src/components/no-data/index.tsx +1 -1
- package/src/components/notification-loading/index.tsx +157 -157
- package/src/components/profile-menu-option/index.tsx +1 -1
- package/src/components/scheduled-journey-indicators/index.tsx +1 -1
- package/src/components/user-profile/index.tsx +1 -1
- package/src/helpers/text-utils.ts +15 -15
- package/src/index.ts +45 -45
- package/src/stories/box/box.stories.tsx +1 -1
- package/src/stories/modal-change-activity/modal-change-activity.stories.tsx +51 -52
- package/src/utils/get-icon-by-property/index.tsx +65 -67
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ActivitiesDaily = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../../components/typography");
|
|
11
11
|
var _iconsSvg = require("../../common/icons-svg");
|
|
12
12
|
var _theme = require("../../styles/theme/theme");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
/**
|
|
15
|
-
* IMPORTS
|
|
14
|
+
/**
|
|
15
|
+
* IMPORTS
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
// components
|
|
@@ -26,7 +26,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
26
26
|
const ActivitiesDaily = ({
|
|
27
27
|
handleActivity
|
|
28
28
|
}) => {
|
|
29
|
-
return /*#__PURE__*/_react.default.createElement(_box.
|
|
29
|
+
return /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
30
30
|
testID: "activities-daily",
|
|
31
31
|
width: "100%",
|
|
32
32
|
height: 100,
|
|
@@ -34,7 +34,7 @@ const ActivitiesDaily = ({
|
|
|
34
34
|
borderStyled: {
|
|
35
35
|
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
36
36
|
}
|
|
37
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
37
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
38
38
|
width: "100%",
|
|
39
39
|
height: 30,
|
|
40
40
|
backgroundColor: _theme.theme.colors.blue[400],
|
|
@@ -54,7 +54,7 @@ const ActivitiesDaily = ({
|
|
|
54
54
|
fontWeight: "500",
|
|
55
55
|
lineHeight: _theme.theme.fontSizes.lg,
|
|
56
56
|
marginLeft: _theme.theme.margins["2xs"]
|
|
57
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
57
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
58
58
|
width: "100%",
|
|
59
59
|
flexStyle: {
|
|
60
60
|
flexDirection: "row",
|
|
@@ -70,7 +70,7 @@ const ActivitiesDaily = ({
|
|
|
70
70
|
fontFamily: _theme.theme.fonts.inter_bold_700,
|
|
71
71
|
fontWeight: "700",
|
|
72
72
|
lineHeight: _theme.theme.fontSizes.md
|
|
73
|
-
}), /*#__PURE__*/_react.default.createElement(_box.
|
|
73
|
+
}), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
74
74
|
flexStyle: {
|
|
75
75
|
flexDirection: "row"
|
|
76
76
|
},
|
|
@@ -114,8 +114,8 @@ const ActivitiesDaily = ({
|
|
|
114
114
|
})))));
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
/**
|
|
118
|
-
* EXPORTS
|
|
117
|
+
/**
|
|
118
|
+
* EXPORTS
|
|
119
119
|
*/
|
|
120
120
|
exports.ActivitiesDaily = ActivitiesDaily;
|
|
121
121
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ActivitiesDaily","handleActivity","createElement","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ActivitiesDaily","handleActivity","createElement","testID","width","height","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","Typography","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","margins","flexDirection","paddingStyle","padding","paddings","xs","inter_bold_700","md","marginStyle","marginTop","TouchableOpacity","activeOpacity","style","marginRight","xl","alignItems","onPress","Icons","icon","black","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../../components/typography\";\n\n//commons/ icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// typings\nimport { IActivitiesDaily } from \"./interface\";\n\nconst ActivitiesDaily: React.FC<IActivitiesDaily> = ({ handleActivity }) => {\n return (\n <Box\n testID={\"activities-daily\"}\n width={\"100%\"}\n height={100}\n backgroundColor={theme.colors.neutral[25]}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n }}\n >\n <Box\n width={\"100%\"}\n height={30}\n backgroundColor={theme.colors.blue[400]}\n borderStyled={{\n borderTopLeftRadius: theme.borderWidths.thin_bold,\n borderTopRightRadius: theme.borderWidths.thin_bold,\n borderColor: theme.colors.blue[400],\n }}\n flexStyle={{\n justifyContent: \"center\",\n }}\n >\n <Typography\n text={\"Atividades diárias\"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n lineHeight={theme.fontSizes.lg}\n marginLeft={theme.margins[\"2xs\"]}\n />\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n paddingStyle={{\n padding: theme.paddings[\"2xs\"],\n }}\n >\n <Typography\n text={\"Selecione uma das opções\"}\n color={theme.colors.blue[500]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.md}\n />\n\n <Box flexStyle={{ flexDirection: \"row\" }} marginStyle={{ marginTop: 5 }}>\n <TouchableOpacity\n activeOpacity={0.7}\n style={{ marginRight: theme.margins.xl, alignItems: \"center\" }}\n onPress={() => handleActivity(\"trabalho\")}\n >\n <Icons icon={\"TRUCK\"} color={theme.colors.blue[525]} />\n <Typography\n text={\"Trabalho\"}\n color={theme.colors.black[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.sm}\n marginTop={4}\n />\n </TouchableOpacity>\n\n <TouchableOpacity\n activeOpacity={0.7}\n style={{ alignItems: \"center\" }}\n onPress={() => handleActivity(\"descanso\")}\n >\n <Icons icon={\"BED\"} />\n <Typography\n text={\"Descanso\"}\n color={theme.colors.black[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.sm}\n marginTop={4}\n />\n </TouchableOpacity>\n </Box>\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { ActivitiesDaily };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAA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,KAAK,CAACY,cAAe;IACvCV,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAExB,YAAK,CAACkB,SAAS,CAACC,EAAG;IAC/BiB,SAAS,EAAE;EAAE,CACd,CACe,CACf,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAW,OAAA,CAAAtD,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ActivitiesProgress = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _box = require("
|
|
8
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
9
9
|
var _typography = require("../../components/typography");
|
|
10
10
|
var _iconsSvg = require("../../common/icons-svg");
|
|
11
11
|
var _theme = require("../../styles/theme/theme");
|
|
12
12
|
var _getIconByProperty = require("../../utils/get-icon-by-property");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
/**
|
|
15
|
-
* IMPORTS
|
|
14
|
+
/**
|
|
15
|
+
* IMPORTS
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
// components
|
|
@@ -34,14 +34,14 @@ const ActivitiesProgress = ({
|
|
|
34
34
|
tipo_atividade = "Descanso",
|
|
35
35
|
referencia = "repouso_noturno"
|
|
36
36
|
}) => {
|
|
37
|
-
return /*#__PURE__*/_react.default.createElement(_box.
|
|
37
|
+
return /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
38
38
|
width: "100%",
|
|
39
39
|
height: 100,
|
|
40
40
|
backgroundColor: _theme.theme.colors.neutral[25],
|
|
41
41
|
borderStyled: {
|
|
42
42
|
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
43
43
|
}
|
|
44
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
44
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
45
45
|
width: "100%",
|
|
46
46
|
height: 30,
|
|
47
47
|
backgroundColor: _theme.theme.colors.blue[400],
|
|
@@ -54,7 +54,7 @@ const ActivitiesProgress = ({
|
|
|
54
54
|
justifyContent: "space-between",
|
|
55
55
|
flexDirection: "row"
|
|
56
56
|
}
|
|
57
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
57
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
58
58
|
flexStyle: {
|
|
59
59
|
flexDirection: "row",
|
|
60
60
|
alignItems: "center"
|
|
@@ -74,7 +74,7 @@ const ActivitiesProgress = ({
|
|
|
74
74
|
fontFamily: _theme.theme.fonts.inter_semi_bold_600,
|
|
75
75
|
fontWeight: "600",
|
|
76
76
|
lineHeight: _theme.theme.fontSizes.lg
|
|
77
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
77
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
78
78
|
style: {
|
|
79
79
|
marginRight: _theme.theme.margins["2xs"],
|
|
80
80
|
marginTop: _theme.theme.margins["1xs"]
|
|
@@ -85,7 +85,7 @@ const ActivitiesProgress = ({
|
|
|
85
85
|
icon: criado_offline ? "CHECK_OUTLINE" : "TIMER",
|
|
86
86
|
size: 19,
|
|
87
87
|
color: criado_offline ? _theme.theme.colors.green[400] : _theme.theme.colors.orange[500]
|
|
88
|
-
}))), /*#__PURE__*/_react.default.createElement(_box.
|
|
88
|
+
}))), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
89
89
|
width: "100%",
|
|
90
90
|
flexStyle: {
|
|
91
91
|
flexDirection: "row",
|
|
@@ -94,7 +94,7 @@ const ActivitiesProgress = ({
|
|
|
94
94
|
paddingStyle: {
|
|
95
95
|
padding: _theme.theme.paddings["2xs"]
|
|
96
96
|
}
|
|
97
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
97
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
98
98
|
height: 20,
|
|
99
99
|
flexStyle: {
|
|
100
100
|
flexDirection: "row",
|
|
@@ -108,13 +108,13 @@ const ActivitiesProgress = ({
|
|
|
108
108
|
fontWeight: "700",
|
|
109
109
|
lineHeight: _theme.theme.fontSizes.lg,
|
|
110
110
|
marginLeft: 4
|
|
111
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
111
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
112
112
|
height: 50,
|
|
113
113
|
flexStyle: {
|
|
114
114
|
flexDirection: "row",
|
|
115
115
|
alignItems: "flex-end"
|
|
116
116
|
}
|
|
117
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
117
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
118
118
|
flexStyle: {
|
|
119
119
|
alignItems: "center"
|
|
120
120
|
},
|
|
@@ -136,7 +136,7 @@ const ActivitiesProgress = ({
|
|
|
136
136
|
fontWeight: "500",
|
|
137
137
|
lineHeight: _theme.theme.fontSizes.xs,
|
|
138
138
|
marginTop: 4
|
|
139
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
139
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
140
140
|
flexStyle: {
|
|
141
141
|
alignItems: "center"
|
|
142
142
|
},
|
|
@@ -161,8 +161,8 @@ const ActivitiesProgress = ({
|
|
|
161
161
|
})))));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
/**
|
|
165
|
-
* EXPORTS
|
|
164
|
+
/**
|
|
165
|
+
* EXPORTS
|
|
166
166
|
*/
|
|
167
167
|
exports.ActivitiesProgress = ActivitiesProgress;
|
|
168
168
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","_getIconByProperty","e","__esModule","default","ActivitiesProgress","data_inicio_horario","duracao","data_inicio","titleLabel","criado_offline","tipo_atividade","referencia","createElement","Box","width","height","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","flexDirection","alignItems","Typography","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","margins","green","orange","xs","inter_semi_bold_600","style","marginRight","marginTop","Icons","icon","paddingStyle","padding","paddings","getIconByProperty","black","inter_bold_700","marginStyle","inter_bold","md","gray","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../../components/box\";\r\nimport { Typography } from \"../../components/typography\";\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\n\r\n// typings\r\nimport { IActivitiesProgress } from \"./interface\";\r\n\r\n// utils\r\nimport { getIconByProperty } from \"../../utils/get-icon-by-property\";\r\n\r\nconst ActivitiesProgress: React.FC<IActivitiesProgress> = ({\r\n data_inicio_horario = \"11/05/2025\",\r\n duracao = \"00:30\",\r\n data_inicio = \"17:20\",\r\n titleLabel = \"Descanso\",\r\n criado_offline = true,\r\n tipo_atividade = \"Descanso\",\r\n referencia = \"repouso_noturno\",\r\n}) => {\r\n return (\r\n <Box\r\n width={\"100%\"}\r\n height={100}\r\n backgroundColor={theme.colors.neutral[25]}\r\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n height={30}\r\n backgroundColor={theme.colors.blue[400]}\r\n borderStyled={{\r\n borderTopLeftRadius: theme.borderWidths.thin_bold,\r\n borderTopRightRadius: theme.borderWidths.thin_bold,\r\n borderColor: theme.colors.blue[400],\r\n }}\r\n flexStyle={{\r\n justifyContent: \"space-between\",\r\n flexDirection: \"row\",\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={\"Status: \"}\r\n color={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}\r\n marginLeft={theme.margins[\"2xs\"]}\r\n />\r\n <Typography\r\n text={titleLabel}\r\n color={\r\n tipo_atividade === \"trabalho\" ? theme.colors.green[400] : theme.colors.orange[500]\r\n }\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight={\"600\"}\r\n lineHeight={theme.fontSizes.lg}\r\n />\r\n </Box>\r\n\r\n <Box\r\n style={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"1xs\"] }}\r\n height={20}\r\n width={20}\r\n >\r\n <Icons\r\n icon={criado_offline ? \"CHECK_OUTLINE\" : \"TIMER\"}\r\n size={19}\r\n color={criado_offline ? theme.colors.green[400] : theme.colors.orange[500]}\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 justifyContent: \"space-between\",\r\n }}\r\n paddingStyle={{\r\n padding: theme.paddings[\"2xs\"],\r\n }}\r\n >\r\n <Box height={20} flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n {getIconByProperty(referencia)}\r\n <Typography\r\n text={data_inicio}\r\n color={theme.colors.black[25]}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.lg}\r\n marginLeft={4}\r\n />\r\n </Box>\r\n\r\n <Box height={50} flexStyle={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <Box\r\n flexStyle={{ alignItems: \"center\" }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={data_inicio_horario}\r\n color={theme.colors.blue[500]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.md}\r\n />\r\n <Typography\r\n text={\"INICIO\"}\r\n color={theme.colors.gray[600]}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.xs}\r\n marginTop={4}\r\n />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ alignItems: \"center\" }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.blue[500]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.md}\r\n />\r\n <Typography\r\n text={\"DURAÇÃO\"}\r\n color={theme.colors.gray[600]}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.xs}\r\n marginTop={4}\r\n />\r\n </Box>\r\n </Box>\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ActivitiesProgress };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAMA,IAAAK,kBAAA,GAAAL,OAAA;AAAqE,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAnBrE;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAGA;;AAGA;;AAGA,MAAMG,kBAAiD,GAAGA,CAAC;EACzDC,mBAAmB,GAAG,YAAY;EAClCC,OAAO,GAAG,OAAO;EACjBC,WAAW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AW;IACnCrB,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAAC2B;EAAG,CAChC,CAAC,eACFvE,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACf,WAAA,CAAAoC,UAAU;IACTC,IAAI,EAAE,SAAU;IAChBC,KAAK,EAAElB,YAAK,CAACC,MAAM,CAAC+C,IAAI,CAAC,GAAG,CAAE;IAC9B7B,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,gBAAiB;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACY,EAAG;IAC/BI,SAAS,EAAE;EAAE,CACd,CACE,CACF,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAa,OAAA,CAAA9D,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","_getIconByProperty","e","__esModule","default","ActivitiesProgress","data_inicio_horario","duracao","data_inicio","titleLabel","criado_offline","tipo_atividade","referencia","createElement","width","height","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","flexDirection","alignItems","Typography","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","margins","green","orange","xs","inter_semi_bold_600","style","marginRight","marginTop","Icons","icon","paddingStyle","padding","paddings","getIconByProperty","black","inter_bold_700","marginStyle","inter_bold","md","gray","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../../components/typography\";\n\n//commons/ icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// typings\nimport { IActivitiesProgress } from \"./interface\";\n\n// utils\nimport { getIconByProperty } from \"../../utils/get-icon-by-property\";\n\nconst ActivitiesProgress: React.FC<IActivitiesProgress> = ({\n data_inicio_horario = \"11/05/2025\",\n duracao = \"00:30\",\n data_inicio = \"17:20\",\n titleLabel = \"Descanso\",\n criado_offline = true,\n tipo_atividade = \"Descanso\",\n referencia = \"repouso_noturno\",\n}) => {\n return (\n <Box\n width={\"100%\"}\n height={100}\n backgroundColor={theme.colors.neutral[25]}\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\n >\n <Box\n width={\"100%\"}\n height={30}\n backgroundColor={theme.colors.blue[400]}\n borderStyled={{\n borderTopLeftRadius: theme.borderWidths.thin_bold,\n borderTopRightRadius: theme.borderWidths.thin_bold,\n borderColor: theme.colors.blue[400],\n }}\n flexStyle={{\n justifyContent: \"space-between\",\n flexDirection: \"row\",\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={\"Status: \"}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n lineHeight={theme.fontSizes.lg}\n marginLeft={theme.margins[\"2xs\"]}\n />\n <Typography\n text={titleLabel}\n color={\n tipo_atividade === \"trabalho\" ? theme.colors.green[400] : theme.colors.orange[500]\n }\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_semi_bold_600}\n fontWeight={\"600\"}\n lineHeight={theme.fontSizes.lg}\n />\n </Box>\n\n <Box\n style={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"1xs\"] }}\n height={20}\n width={20}\n >\n <Icons\n icon={criado_offline ? \"CHECK_OUTLINE\" : \"TIMER\"}\n size={19}\n color={criado_offline ? theme.colors.green[400] : theme.colors.orange[500]}\n />\n </Box>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n paddingStyle={{\n padding: theme.paddings[\"2xs\"],\n }}\n >\n <Box height={20} flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\n {getIconByProperty(referencia)}\n <Typography\n text={data_inicio}\n color={theme.colors.black[25]}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.lg}\n marginLeft={4}\n />\n </Box>\n\n <Box height={50} flexStyle={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\n <Box\n flexStyle={{ alignItems: \"center\" }}\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\n >\n <Typography\n text={data_inicio_horario}\n color={theme.colors.blue[500]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.md}\n />\n <Typography\n text={\"INICIO\"}\n color={theme.colors.gray[600]}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n lineHeight={theme.fontSizes.xs}\n marginTop={4}\n />\n </Box>\n\n <Box\n flexStyle={{ alignItems: \"center\" }}\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\n >\n <Typography\n text={duracao}\n color={theme.colors.blue[500]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.md}\n />\n <Typography\n text={\"DURAÇÃO\"}\n color={theme.colors.gray[600]}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n lineHeight={theme.fontSizes.xs}\n marginTop={4}\n />\n </Box>\n </Box>\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { ActivitiesProgress };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAF,sBAAA,CAAAC,OAAA;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G,UAAU,EAAE;IAAS,CAAE;IACpC8B,WAAW,EAAE;MAAEV,WAAW,EAAEnC,YAAK,CAAC6B,OAAO,CAAC,KAAK;IAAE;EAAE,gBAEnDpD,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACf,WAAA,CAAAmC,UAAU;IACTC,IAAI,EAAE3B,OAAQ;IACd4B,KAAK,EAAElB,YAAK,CAACC,MAAM,CAACM,IAAI,CAAC,GAAG,CAAE;IAC9BY,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACuB,UAAW;IACnCrB,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAAC2B;EAAG,CAChC,CAAC,eACFtE,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACf,WAAA,CAAAmC,UAAU;IACTC,IAAI,EAAE,SAAU;IAChBC,KAAK,EAAElB,YAAK,CAACC,MAAM,CAAC+C,IAAI,CAAC,GAAG,CAAE;IAC9B7B,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,gBAAiB;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACY,EAAG;IAC/BI,SAAS,EAAE;EAAE,CACd,CACE,CACF,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAa,OAAA,CAAA7D,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.AvatarProfile = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../typography");
|
|
11
11
|
var _theme = require("../../styles/theme/theme");
|
|
12
12
|
var _iconsSvg = require("../../common/icons-svg");
|
|
@@ -27,12 +27,12 @@ const AvatarProfile = ({
|
|
|
27
27
|
email,
|
|
28
28
|
testID
|
|
29
29
|
}) => {
|
|
30
|
-
return /*#__PURE__*/_react.default.createElement(_box.
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
31
31
|
flexStyle: {
|
|
32
32
|
justifyContent: "center",
|
|
33
33
|
alignItems: "center"
|
|
34
34
|
}
|
|
35
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
36
36
|
backgroundColor: _theme.theme.colors.neutral[25],
|
|
37
37
|
width: 96,
|
|
38
38
|
height: 96,
|
|
@@ -56,7 +56,7 @@ const AvatarProfile = ({
|
|
|
56
56
|
borderWidth: _theme.theme.borderWidths.thin_medium,
|
|
57
57
|
borderColor: _theme.theme.colors.black[25]
|
|
58
58
|
}
|
|
59
|
-
}), isEdit && /*#__PURE__*/_react.default.createElement(_box.
|
|
59
|
+
}), isEdit && /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
60
60
|
width: 20,
|
|
61
61
|
height: 20,
|
|
62
62
|
backgroundColor: _theme.theme.colors.blue[350],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_theme","_iconsSvg","e","__esModule","default","AvatarProfile","avatar","isEdit","handleTakePicker","name","email","testID","createElement","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_theme","_iconsSvg","e","__esModule","default","AvatarProfile","avatar","isEdit","handleTakePicker","name","email","testID","createElement","flexStyle","justifyContent","alignItems","backgroundColor","theme","colors","neutral","width","height","borderStyled","borderRadius","Image","source","uri","alt","style","borderWidth","borderWidths","thin_medium","borderColor","black","blue","position","bottom","right","TouchableOpacity","activeOpacity","onPress","Icons","size","icon","Typography","text","fontSizes","xl","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","color","xs","inter_regular_400","sm","gray","exports"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\nimport { TouchableOpacity, Image } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// types\nimport { IAvatarProfile } from \"./interface\";\n\nconst AvatarProfile: React.FC<IAvatarProfile> = ({\n avatar,\n isEdit = false,\n handleTakePicker,\n name,\n email,\n testID,\n}) => {\n return (\n <Box flexStyle={{ justifyContent: \"center\", alignItems: \"center\" }}>\n <Box\n backgroundColor={theme.colors.neutral[25]}\n width={96}\n height={96}\n borderStyled={{ borderRadius: 50 }}\n flexStyle={{ justifyContent: \"center\", alignItems: \"center\" }}\n testID={testID}\n >\n <Image\n source={{ uri: avatar ?? \"\" }}\n alt={avatar ?? \"foto de perfil\"}\n style={{\n width: 90,\n height: 90,\n borderRadius: 45,\n borderWidth: theme.borderWidths.thin_medium,\n borderColor: theme.colors.black[25],\n }}\n />\n {isEdit && (\n <Box\n width={20}\n height={20}\n backgroundColor={theme.colors.blue[350]}\n borderStyled={{\n borderRadius: 10,\n borderWidth: theme.borderWidths.thin_medium,\n borderColor: theme.colors.black[25],\n }}\n flexStyle={{ justifyContent: \"center\", alignItems: \"center\" }}\n style={{\n position: \"absolute\",\n bottom: 5,\n right: 5,\n }}\n >\n <TouchableOpacity\n activeOpacity={0.7}\n onPress={handleTakePicker}\n testID=\"avatar-profile\"\n >\n <Icons size={12} icon={\"PENCIL\"} />\n </TouchableOpacity>\n </Box>\n )}\n </Box>\n\n {/* Informações do usuário */}\n <Typography\n text={name}\n size={theme.fontSizes.xl}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes[\"2xl\"]}\n color={theme.colors.black[100]}\n />\n <Typography\n text={email}\n size={theme.fontSizes.xs}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight={\"400\"}\n lineHeight={theme.fontSizes.sm}\n color={theme.colors.gray[900]}\n />\n </Box>\n );\n};\n\nexport { AvatarProfile };\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAGA,IAAAK,SAAA,GAAAL,OAAA;AAA+C,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAR/C;;AAIA;;AAGA;;AAGA;;AAGA,MAAMG,aAAuC,GAAGA,CAAC;EAC/CC,MAAM;EACNC,MAAM,GAAG,KAAK;EACdC,gBAAgB;EAChBC,IAAI;EACJC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,oBACEjB,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACd,IAAA,CAAAM,OAAG;IAACS,SAAS,EAAE;MAAEC,cAAc,EAAE,QAAQ;MAAEC,UAAU,EAAE;IAAS;EAAE,gBACjErB,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACd,IAAA,CAAAM,OAAG;IACFY,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,OAAO,CAAC,EAAE,CAAE;IAC1CC,KAAK,EAAE,EAAG;IACVC,MAAM,EAAE,EAAG;IACXC,YAAY,EAAE;MAAEC,YAAY,EAAE;IAAG,CAAE;IACnCV,SAAS,EAAE;MAAEC,cAAc,EAAE,QAAQ;MAAEC,UAAU,EAAE;IAAS,CAAE;IAC9DJ,MAAM,EAAEA;EAAO,gBAEfjB,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACf,YAAA,CAAA2B,KAAK;IACJC,MAAM,EAAE;MAAEC,GAAG,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CAAAQ,aAAA,CAACb,WAAA,CAAA6C,UAAU;IACTC,IAAI,EAAEpC,IAAK;IACXiC,IAAI,EAAEzB,YAAK,CAAC6B,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAE/B,YAAK,CAACgC,KAAK,CAACC,cAAe;IACvCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEnC,YAAK,CAAC6B,SAAS,CAAC,KAAK,CAAE;IACnCO,KAAK,EAAEpC,YAAK,CAACC,MAAM,CAACe,KAAK,CAAC,GAAG;EAAE,CAChC,CAAC,eACFvC,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACb,WAAA,CAAA6C,UAAU;IACTC,IAAI,EAAEnC,KAAM;IACZgC,IAAI,EAAEzB,YAAK,CAAC6B,SAAS,CAACQ,EAAG;IACzBN,UAAU,EAAE/B,YAAK,CAACgC,KAAK,CAACM,iBAAkB;IAC1CJ,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEnC,YAAK,CAAC6B,SAAS,CAACU,EAAG;IAC/BH,KAAK,EAAEpC,YAAK,CAACC,MAAM,CAACuC,IAAI,CAAC,GAAG;EAAE,CAC/B,CACE,CAAC;AAEV,CAAC;AAACC,OAAA,CAAArD,aAAA,GAAAA,aAAA","ignoreList":[]}
|
|
@@ -3,35 +3,35 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
var _react = require("react");
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
+
var _asBaseComponent = require("../../@types/as-base-component");
|
|
9
10
|
var _styles = require("./styles");
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
+
/**
|
|
14
|
+
* IMPORTS
|
|
12
15
|
*/
|
|
13
16
|
|
|
14
17
|
// typings
|
|
15
18
|
|
|
16
19
|
// styles
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
style
|
|
33
|
-
}, ref) => {
|
|
34
|
-
// Criando o objeto de estilos dinamicamente
|
|
21
|
+
const Box = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
22
|
+
const {
|
|
23
|
+
children,
|
|
24
|
+
width,
|
|
25
|
+
height,
|
|
26
|
+
backgroundColor,
|
|
27
|
+
borderStyled,
|
|
28
|
+
flexStyle,
|
|
29
|
+
paddingStyle,
|
|
30
|
+
marginStyle,
|
|
31
|
+
opacity = 1,
|
|
32
|
+
testID = "box",
|
|
33
|
+
style
|
|
34
|
+
} = props;
|
|
35
35
|
const styleProps = {
|
|
36
36
|
width,
|
|
37
37
|
height,
|
|
@@ -43,11 +43,16 @@ const Box = exports.Box = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
43
43
|
opacity,
|
|
44
44
|
style
|
|
45
45
|
};
|
|
46
|
-
return /*#__PURE__*/
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
47
47
|
ref: ref,
|
|
48
48
|
testID: testID,
|
|
49
49
|
style: [(0, _styles.styles)(styleProps).boxStyle, style]
|
|
50
50
|
}, children);
|
|
51
51
|
});
|
|
52
52
|
Box.displayName = "Box";
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Componente Box para a interação da ui.
|
|
56
|
+
*/
|
|
57
|
+
var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(Box);
|
|
53
58
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_styles","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_asBaseComponent","_styles","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Box","forwardRef","props","ref","children","width","height","backgroundColor","borderStyled","flexStyle","paddingStyle","marginStyle","opacity","testID","style","styleProps","createElement","View","styles","boxStyle","displayName","_default","exports","asBaseComponent"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React, { forwardRef } from \"react\";\nimport { View } from \"react-native\";\n\n// typings\nimport { asBaseComponent } from \"../../@types/as-base-component\";\nimport type { IBoxInterface } from \"./interface\";\n\n// styles\nimport { styles } from \"./styles\";\n\nconst Box = forwardRef<any, IBoxInterface>((props, ref): React.ReactElement => {\n const {\n children,\n width,\n height,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n opacity = 1,\n testID = \"box\",\n style,\n } = props;\n\n const styleProps = {\n width,\n height,\n backgroundColor,\n borderStyled,\n flexStyle,\n paddingStyle,\n marginStyle,\n opacity,\n style,\n };\n\n return (\n <View ref={ref} testID={testID} style={[styles(styleProps).boxStyle, style]}>\n {children}\n </View>\n );\n});\n\nBox.displayName = \"Box\";\n\n/**\n * Componente Box para a interação da ui.\n */\nexport default asBaseComponent(Box);\n"],"mappings":";;;;;;AAGA,IAAA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;;AAIA;;AAGA,MAAMW,GAAG,gBAAG,IAAAC,iBAAU,EAAqB,CAACC,KAAK,EAAEC,GAAG,KAAyB;EAC7E,MAAM;IACJC,QAAQ;IACRC,KAAK;IACLC,MAAM;IACNC,eAAe;IACfC,YAAY;IACZC,SAAS;IACTC,YAAY;IACZC,WAAW;IACXC,OAAO,GAAG,CAAC;IACXC,MAAM,GAAG,KAAK;IACdC;EACF,CAAC,GAAGZ,KAAK;EAET,MAAMa,UAAU,GAAG;IACjBV,KAAK;IACLC,MAAM;IACNC,eAAe;IACfC,YAAY;IACZC,SAAS;IACTC,YAAY;IACZC,WAAW;IACXC,OAAO;IACPE;EACF,CAAC;EAED,oBACExC,MAAA,CAAAY,OAAA,CAAA8B,aAAA,CAACvC,YAAA,CAAAwC,IAAI;IAACd,GAAG,EAAEA,GAAI;IAACU,MAAM,EAAEA,MAAO;IAACC,KAAK,EAAE,CAAC,IAAAI,cAAM,EAACH,UAAU,CAAC,CAACI,QAAQ,EAAEL,KAAK;EAAE,GACzEV,QACG,CAAC;AAEX,CAAC,CAAC;AAEFJ,GAAG,CAACoB,WAAW,GAAG,KAAK;;AAEvB;AACA;AACA;AAFA,IAAAC,QAAA,GAAAC,OAAA,CAAApC,OAAA,GAGe,IAAAqC,gCAAe,EAACvB,GAAG,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport { type ViewProps } from \"react-native\";\n/**\n * INTERFACE\n */\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface
|
|
1
|
+
{"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport { type ViewProps } from \"react-native\";\n/**\n * INTERFACE\n */\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface IBoxInterface extends ViewProps, IGlobalCss {\n /**\n * A propriedade CSS de Shadow Box adiciona efeitos de sombra em torno da estrutura de um elemento. Você pode definir vários efeitos separados por vírgulas. Uma sombra de caixa é descrita por compensações x e y em relação ao elemento, borrão e raio espalhado e cor.\n */\n boxShadow?: string;\n\n /**\n * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..\n */\n backgroundColor?: string;\n\n /**\n * A propriedade CSS opacity define a transparência de um elemento, ou seja, o grau em que o fundo atrás do elemento é sobreposto. A propriedade aceita um valor entre 0,0 (totalmente transparente) e 1,0 (totalmente opaco).\n */\n opacity?: number;\n}\n\n/**\n * EXPORT\n */\nexport type { IBoxInterface };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_styles","styles","props","StyleSheet","create","boxStyle","stylesGlobal","exports"],"sources":["styles.ts"],"sourcesContent":["import { StyleSheet, ViewProps } from \"react-native\";\nimport {
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_styles","styles","props","StyleSheet","create","boxStyle","stylesGlobal","exports"],"sources":["styles.ts"],"sourcesContent":["import { StyleSheet, ViewProps } from \"react-native\";\nimport { IBoxInterface } from \"./interface.d\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\nimport { stylesGlobal } from \"../../styles/global/styles\";\n\ninterface BoxProps extends IBoxInterface, IGlobalCss {}\nconst styles = (props: BoxProps) =>\n StyleSheet.create({\n boxStyle: {\n ...stylesGlobal(props),\n ...props,\n } as ViewProps,\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,OAAA,GAAAD,OAAA;AAHA;;AAMA,MAAME,MAAM,GAAIC,KAAe,IAC7BC,uBAAU,CAACC,MAAM,CAAC;EAChBC,QAAQ,EAAE;IACR,GAAG,IAAAC,oBAAY,EAACJ,KAAK,CAAC;IACtB,GAAGA;EACL;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AAFAK,OAAA,CAAAN,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.CardHistory = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
-
var _box = require("../box");
|
|
9
|
+
var _box = _interopRequireDefault(require("../box"));
|
|
10
10
|
var _typography = require("../typography");
|
|
11
11
|
var _theme = require("../../styles/theme/theme");
|
|
12
12
|
var _iconsSvg = require("../../common/icons-svg");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
/**
|
|
15
|
-
* IMPORTS
|
|
14
|
+
/**
|
|
15
|
+
* IMPORTS
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
// components
|
|
@@ -21,9 +21,9 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
21
21
|
|
|
22
22
|
// styles
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* Componente CardLoading para a interação do usuário com ui.
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* Componente CardLoading para a interação do usuário com ui.
|
|
27
27
|
*/
|
|
28
28
|
const CardHistory = ({
|
|
29
29
|
width,
|
|
@@ -41,7 +41,7 @@ const CardHistory = ({
|
|
|
41
41
|
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
42
42
|
onPress: handleNavigation,
|
|
43
43
|
activeOpacity: 0.7
|
|
44
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
44
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
45
45
|
testID: testID,
|
|
46
46
|
width: width !== null && width !== void 0 ? width : "100%",
|
|
47
47
|
backgroundColor: _theme.theme.colors.blue[400],
|
|
@@ -61,7 +61,7 @@ const CardHistory = ({
|
|
|
61
61
|
justifyContent: "flex-start",
|
|
62
62
|
alignItems: "center"
|
|
63
63
|
}
|
|
64
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
65
65
|
width: "25%",
|
|
66
66
|
borderStyled: {
|
|
67
67
|
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
@@ -75,7 +75,7 @@ const CardHistory = ({
|
|
|
75
75
|
flex: 1,
|
|
76
76
|
borderRadius: _theme.theme.borderWidths.thick_medium
|
|
77
77
|
}
|
|
78
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
78
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
79
79
|
width: "75%",
|
|
80
80
|
paddingStyle: {
|
|
81
81
|
paddingLeft: _theme.theme.paddings["2xs"]
|
|
@@ -98,7 +98,7 @@ const CardHistory = ({
|
|
|
98
98
|
lineHeight: (_theme$fontSizes$md = _theme.theme.fontSizes.md) !== null && _theme$fontSizes$md !== void 0 ? _theme$fontSizes$md : 16,
|
|
99
99
|
letterSpacing: "regular",
|
|
100
100
|
marginBottom: 4
|
|
101
|
-
}), /*#__PURE__*/_react.default.createElement(_box.
|
|
101
|
+
}), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
102
102
|
flexStyle: {
|
|
103
103
|
flexDirection: "row",
|
|
104
104
|
justifyContent: "space-between",
|
|
@@ -107,7 +107,7 @@ const CardHistory = ({
|
|
|
107
107
|
marginStyle: {
|
|
108
108
|
marginBottom: 4
|
|
109
109
|
}
|
|
110
|
-
}, /*#__PURE__*/_react.default.createElement(_box.
|
|
110
|
+
}, /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
111
111
|
flexStyle: {
|
|
112
112
|
flexDirection: "row",
|
|
113
113
|
alignItems: "center"
|
|
@@ -131,7 +131,7 @@ const CardHistory = ({
|
|
|
131
131
|
size: 9,
|
|
132
132
|
color: status_carregamento,
|
|
133
133
|
icon: "ELLIPSE"
|
|
134
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
134
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
135
135
|
flexStyle: {
|
|
136
136
|
flexDirection: "row",
|
|
137
137
|
justifyContent: "flex-start",
|
|
@@ -155,7 +155,7 @@ const CardHistory = ({
|
|
|
155
155
|
lineHeight: (_theme$fontSizes$md5 = _theme.theme.fontSizes.md) !== null && _theme$fontSizes$md5 !== void 0 ? _theme$fontSizes$md5 : 16,
|
|
156
156
|
letterSpacing: "regular",
|
|
157
157
|
marginLeft: 4
|
|
158
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
158
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
159
159
|
flexStyle: {
|
|
160
160
|
flexDirection: "row",
|
|
161
161
|
justifyContent: "flex-start",
|
|
@@ -179,7 +179,7 @@ const CardHistory = ({
|
|
|
179
179
|
lineHeight: (_theme$fontSizes$md7 = _theme.theme.fontSizes.md) !== null && _theme$fontSizes$md7 !== void 0 ? _theme$fontSizes$md7 : 16,
|
|
180
180
|
letterSpacing: "regular",
|
|
181
181
|
marginLeft: 4
|
|
182
|
-
})), /*#__PURE__*/_react.default.createElement(_box.
|
|
182
|
+
})), /*#__PURE__*/_react.default.createElement(_box.default, {
|
|
183
183
|
flexStyle: {
|
|
184
184
|
flexDirection: "row",
|
|
185
185
|
justifyContent: "flex-start",
|
|
@@ -206,8 +206,8 @@ const CardHistory = ({
|
|
|
206
206
|
})))));
|
|
207
207
|
};
|
|
208
208
|
|
|
209
|
-
/**
|
|
210
|
-
* EXPORTS
|
|
209
|
+
/**
|
|
210
|
+
* EXPORTS
|
|
211
211
|
*/
|
|
212
212
|
exports.CardHistory = CardHistory;
|
|
213
213
|
//# sourceMappingURL=index.js.map
|