react-native-exp-fig 0.1.21 → 0.1.23

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.
Files changed (228) hide show
  1. package/lib/commonjs/@types/as-base-component.js +12 -0
  2. package/lib/commonjs/@types/as-base-component.js.map +1 -0
  3. package/lib/commonjs/common/icons-svg/constants/index.js +2 -1
  4. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/eclamation-triangle/index.js +33 -0
  6. package/lib/commonjs/common/icons-svg/eclamation-triangle/index.js.map +1 -0
  7. package/lib/commonjs/common/icons-svg/index.js +8 -0
  8. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/truck/index.js +2 -2
  10. package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -1
  11. package/lib/commonjs/components/activities-daily/index.js +9 -9
  12. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  13. package/lib/commonjs/components/activities-progress/index.js +14 -14
  14. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  15. package/lib/commonjs/components/avatar-profile/index.js +4 -4
  16. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  17. package/lib/commonjs/components/box/index.js +27 -22
  18. package/lib/commonjs/components/box/index.js.map +1 -1
  19. package/lib/commonjs/components/box/interface.d.js.map +1 -1
  20. package/lib/commonjs/components/box/styles.js.map +1 -1
  21. package/lib/commonjs/components/card-history/index.js +16 -16
  22. package/lib/commonjs/components/card-history/index.js.map +1 -1
  23. package/lib/commonjs/components/card-hours/index.js +3 -3
  24. package/lib/commonjs/components/card-hours/index.js.map +1 -1
  25. package/lib/commonjs/components/card-loading/index.js +13 -13
  26. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  27. package/lib/commonjs/components/card-scheduled-journey/index.js +6 -6
  28. package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
  29. package/lib/commonjs/components/card-work-session/index.js +12 -12
  30. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  31. package/lib/commonjs/components/check-box/index.js +5 -5
  32. package/lib/commonjs/components/check-box/index.js.map +1 -1
  33. package/lib/commonjs/components/coil/index.js +5 -5
  34. package/lib/commonjs/components/coil/index.js.map +1 -1
  35. package/lib/commonjs/components/filter-date-selector/index.js +2 -2
  36. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  37. package/lib/commonjs/components/header-profile/index.js +8 -8
  38. package/lib/commonjs/components/header-profile/index.js.map +1 -1
  39. package/lib/commonjs/components/history-activities-card/index.js +198 -0
  40. package/lib/commonjs/components/history-activities-card/index.js.map +1 -0
  41. package/lib/commonjs/components/history-activities-card/interface.js +6 -0
  42. package/lib/commonjs/components/history-activities-card/interface.js.map +1 -0
  43. package/lib/commonjs/components/history-details/index.js +5 -5
  44. package/lib/commonjs/components/history-details/index.js.map +1 -1
  45. package/lib/commonjs/components/image-capture-with-remove/index.js +2 -2
  46. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  47. package/lib/commonjs/components/input/index.js +11 -11
  48. package/lib/commonjs/components/input/index.js.map +1 -1
  49. package/lib/commonjs/components/loading-details/index.js +10 -10
  50. package/lib/commonjs/components/loading-details/index.js.map +1 -1
  51. package/lib/commonjs/components/loading-progress/index.js +5 -5
  52. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  53. package/lib/commonjs/components/menu-item/index.js +3 -3
  54. package/lib/commonjs/components/menu-item/index.js.map +1 -1
  55. package/lib/commonjs/components/modal-activities/index.js +5 -5
  56. package/lib/commonjs/components/modal-activities/index.js.map +1 -1
  57. package/lib/commonjs/components/modal-change-activity/index.js +217 -0
  58. package/lib/commonjs/components/modal-change-activity/index.js.map +1 -0
  59. package/lib/commonjs/components/no-data/index.js +2 -2
  60. package/lib/commonjs/components/no-data/index.js.map +1 -1
  61. package/lib/commonjs/components/notification-loading/index.js +12 -12
  62. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  63. package/lib/commonjs/components/profile-menu-option/index.js +3 -3
  64. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  65. package/lib/commonjs/components/scheduled-journey-indicators/index.js +4 -4
  66. package/lib/commonjs/components/scheduled-journey-indicators/index.js.map +1 -1
  67. package/lib/commonjs/components/selects/select-option/index.js +28 -11
  68. package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
  69. package/lib/commonjs/components/selects/select-option/interface.d.js.map +1 -1
  70. package/lib/commonjs/components/step-indicator/index.js +45 -7
  71. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  72. package/lib/commonjs/components/user-profile/index.js +9 -9
  73. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  74. package/lib/commonjs/helpers/text-utils.js +21 -0
  75. package/lib/commonjs/helpers/text-utils.js.map +1 -0
  76. package/lib/commonjs/index.js +17 -2
  77. package/lib/commonjs/index.js.map +1 -1
  78. package/lib/commonjs/stories/box/box.stories.js +2 -2
  79. package/lib/commonjs/stories/box/box.stories.js.map +1 -1
  80. package/lib/commonjs/stories/history-activities-card/history-activities-card.stories.js +104 -0
  81. package/lib/commonjs/stories/history-activities-card/history-activities-card.stories.js.map +1 -0
  82. package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js +52 -0
  83. package/lib/commonjs/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -0
  84. package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
  85. package/lib/module/@types/as-base-component.js +6 -0
  86. package/lib/module/@types/as-base-component.js.map +1 -0
  87. package/lib/module/common/icons-svg/constants/index.js +2 -1
  88. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  89. package/lib/module/common/icons-svg/eclamation-triangle/index.js +25 -0
  90. package/lib/module/common/icons-svg/eclamation-triangle/index.js.map +1 -0
  91. package/lib/module/common/icons-svg/index.js +8 -0
  92. package/lib/module/common/icons-svg/index.js.map +1 -1
  93. package/lib/module/common/icons-svg/truck/index.js +2 -2
  94. package/lib/module/common/icons-svg/truck/index.js.map +1 -1
  95. package/lib/module/components/activities-daily/index.js +5 -5
  96. package/lib/module/components/activities-daily/index.js.map +1 -1
  97. package/lib/module/components/activities-progress/index.js +5 -5
  98. package/lib/module/components/activities-progress/index.js.map +1 -1
  99. package/lib/module/components/avatar-profile/index.js +1 -1
  100. package/lib/module/components/avatar-profile/index.js.map +1 -1
  101. package/lib/module/components/box/index.js +24 -21
  102. package/lib/module/components/box/index.js.map +1 -1
  103. package/lib/module/components/box/interface.d.js.map +1 -1
  104. package/lib/module/components/box/styles.js.map +1 -1
  105. package/lib/module/components/card-history/index.js +8 -8
  106. package/lib/module/components/card-history/index.js.map +1 -1
  107. package/lib/module/components/card-hours/index.js +1 -1
  108. package/lib/module/components/card-hours/index.js.map +1 -1
  109. package/lib/module/components/card-loading/index.js +1 -1
  110. package/lib/module/components/card-loading/index.js.map +1 -1
  111. package/lib/module/components/card-scheduled-journey/index.js +1 -1
  112. package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
  113. package/lib/module/components/card-work-session/index.js +1 -1
  114. package/lib/module/components/card-work-session/index.js.map +1 -1
  115. package/lib/module/components/check-box/index.js +1 -1
  116. package/lib/module/components/check-box/index.js.map +1 -1
  117. package/lib/module/components/coil/index.js +1 -1
  118. package/lib/module/components/coil/index.js.map +1 -1
  119. package/lib/module/components/filter-date-selector/index.js +1 -1
  120. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  121. package/lib/module/components/header-profile/index.js +1 -1
  122. package/lib/module/components/header-profile/index.js.map +1 -1
  123. package/lib/module/components/history-activities-card/index.js +190 -0
  124. package/lib/module/components/history-activities-card/index.js.map +1 -0
  125. package/lib/module/components/history-activities-card/interface.js +2 -0
  126. package/lib/module/components/history-activities-card/interface.js.map +1 -0
  127. package/lib/module/components/history-details/index.js +1 -1
  128. package/lib/module/components/history-details/index.js.map +1 -1
  129. package/lib/module/components/image-capture-with-remove/index.js +1 -1
  130. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  131. package/lib/module/components/input/index.js +1 -1
  132. package/lib/module/components/input/index.js.map +1 -1
  133. package/lib/module/components/loading-details/index.js +5 -5
  134. package/lib/module/components/loading-details/index.js.map +1 -1
  135. package/lib/module/components/loading-progress/index.js +1 -1
  136. package/lib/module/components/loading-progress/index.js.map +1 -1
  137. package/lib/module/components/menu-item/index.js +1 -1
  138. package/lib/module/components/menu-item/index.js.map +1 -1
  139. package/lib/module/components/modal-activities/index.js +1 -1
  140. package/lib/module/components/modal-activities/index.js.map +1 -1
  141. package/lib/module/components/modal-change-activity/index.js +208 -0
  142. package/lib/module/components/modal-change-activity/index.js.map +1 -0
  143. package/lib/module/components/no-data/index.js +1 -1
  144. package/lib/module/components/no-data/index.js.map +1 -1
  145. package/lib/module/components/notification-loading/index.js +5 -5
  146. package/lib/module/components/notification-loading/index.js.map +1 -1
  147. package/lib/module/components/profile-menu-option/index.js +1 -1
  148. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  149. package/lib/module/components/scheduled-journey-indicators/index.js +1 -1
  150. package/lib/module/components/scheduled-journey-indicators/index.js.map +1 -1
  151. package/lib/module/components/selects/select-option/index.js +28 -11
  152. package/lib/module/components/selects/select-option/index.js.map +1 -1
  153. package/lib/module/components/selects/select-option/interface.d.js.map +1 -1
  154. package/lib/module/components/step-indicator/index.js +45 -7
  155. package/lib/module/components/step-indicator/index.js.map +1 -1
  156. package/lib/module/components/user-profile/index.js +1 -1
  157. package/lib/module/components/user-profile/index.js.map +1 -1
  158. package/lib/module/helpers/text-utils.js +14 -0
  159. package/lib/module/helpers/text-utils.js.map +1 -0
  160. package/lib/module/index.js +3 -1
  161. package/lib/module/index.js.map +1 -1
  162. package/lib/module/stories/box/box.stories.js +1 -1
  163. package/lib/module/stories/box/box.stories.js.map +1 -1
  164. package/lib/module/stories/history-activities-card/history-activities-card.stories.js +97 -0
  165. package/lib/module/stories/history-activities-card/history-activities-card.stories.js.map +1 -0
  166. package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js +45 -0
  167. package/lib/module/stories/modal-change-activity/modal-change-activity.stories.js.map +1 -0
  168. package/lib/module/utils/get-icon-by-property/index.js +0 -1
  169. package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
  170. package/lib/typescript/src/@types/as-base-component.d.ts +2 -0
  171. package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
  172. package/lib/typescript/src/common/icons-svg/eclamation-triangle/index.d.ts +4 -0
  173. package/lib/typescript/src/components/box/index.d.ts +4 -3
  174. package/lib/typescript/src/components/box/styles.d.ts +2 -2
  175. package/lib/typescript/src/components/history-activities-card/index.d.ts +76 -0
  176. package/lib/typescript/src/components/history-activities-card/interface.d.ts +120 -0
  177. package/lib/typescript/src/components/modal-change-activity/index.d.ts +24 -0
  178. package/lib/typescript/src/helpers/text-utils.d.ts +7 -0
  179. package/lib/typescript/src/index.d.ts +3 -1
  180. package/lib/typescript/src/stories/box/box.stories.d.ts +1 -1
  181. package/lib/typescript/src/stories/history-activities-card/history-activities-card.stories.d.ts +10 -0
  182. package/lib/typescript/src/stories/modal-change-activity/modal-change-activity.stories.d.ts +9 -0
  183. package/lib/typescript/src/utils/get-icon-by-property/index.d.ts +2 -1
  184. package/package.json +11 -8
  185. package/src/@types/as-base-component.ts +9 -0
  186. package/src/common/icons-svg/constants/index.ts +1 -0
  187. package/src/common/icons-svg/eclamation-triangle/index.tsx +46 -0
  188. package/src/common/icons-svg/index.tsx +5 -1
  189. package/src/common/icons-svg/truck/index.tsx +2 -2
  190. package/src/components/activities-daily/index.tsx +116 -116
  191. package/src/components/activities-progress/index.tsx +170 -170
  192. package/src/components/avatar-profile/index.tsx +1 -1
  193. package/src/components/box/index.tsx +28 -22
  194. package/src/components/box/interface.d.ts +2 -2
  195. package/src/components/box/styles.ts +2 -2
  196. package/src/components/card-history/index.tsx +221 -221
  197. package/src/components/card-hours/index.tsx +2 -1
  198. package/src/components/card-loading/index.tsx +1 -1
  199. package/src/components/card-scheduled-journey/index.tsx +1 -1
  200. package/src/components/card-work-session/index.tsx +1 -1
  201. package/src/components/check-box/index.tsx +1 -1
  202. package/src/components/coil/index.tsx +1 -1
  203. package/src/components/filter-date-selector/index.tsx +1 -1
  204. package/src/components/header-profile/index.tsx +1 -1
  205. package/src/components/history-activities-card/index.tsx +217 -0
  206. package/src/components/history-activities-card/interface.ts +147 -0
  207. package/src/components/history-details/index.tsx +1 -1
  208. package/src/components/image-capture-with-remove/index.tsx +1 -1
  209. package/src/components/input/index.tsx +1 -1
  210. package/src/components/loading-details/index.tsx +156 -156
  211. package/src/components/loading-progress/index.tsx +1 -1
  212. package/src/components/menu-item/index.tsx +1 -1
  213. package/src/components/modal-activities/index.tsx +1 -1
  214. package/src/components/modal-change-activity/index.tsx +200 -0
  215. package/src/components/no-data/index.tsx +1 -1
  216. package/src/components/notification-loading/index.tsx +157 -157
  217. package/src/components/profile-menu-option/index.tsx +1 -1
  218. package/src/components/scheduled-journey-indicators/index.tsx +1 -1
  219. package/src/components/selects/select-option/index.tsx +115 -100
  220. package/src/components/selects/select-option/interface.d.ts +18 -18
  221. package/src/components/step-indicator/index.tsx +63 -7
  222. package/src/components/user-profile/index.tsx +1 -1
  223. package/src/helpers/text-utils.ts +15 -0
  224. package/src/index.ts +3 -1
  225. package/src/stories/box/box.stories.tsx +1 -1
  226. package/src/stories/history-activities-card/history-activities-card.stories.tsx +107 -0
  227. package/src/stories/modal-change-activity/modal-change-activity.stories.tsx +51 -0
  228. package/src/utils/get-icon-by-property/index.tsx +13 -1
@@ -0,0 +1,217 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ModalChangeActivity = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _box = _interopRequireDefault(require("../box"));
10
+ var _typography = require("../typography");
11
+ var _selectOption = require("../selects/select-option");
12
+ var _button = require("../button");
13
+ var _theme = require("../../styles/theme/theme");
14
+ var _iconsSvg = require("../../common/icons-svg");
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
+ /* eslint-disable no-unused-vars */
17
+ /**
18
+ * IMPORTS
19
+ */
20
+
21
+ // libs RN
22
+
23
+ // componentes internos
24
+
25
+ // styles / theme
26
+
27
+ // assets / icons
28
+
29
+ /**
30
+ * TYPES
31
+ */
32
+
33
+ /**
34
+ * CONSTANTS
35
+ */
36
+ const options = [{
37
+ label: "Selecione atividade",
38
+ value: "none",
39
+ key: 0
40
+ }, {
41
+ label: "Descanso",
42
+ value: "descanso",
43
+ key: 5
44
+ }, {
45
+ label: "Repouso Noturno",
46
+ value: "repouso_noturno",
47
+ key: 6
48
+ }, {
49
+ label: "Refeição",
50
+ value: "refeição",
51
+ key: 7
52
+ }, {
53
+ label: "Repouso Semanal",
54
+ value: "repouso_semanal",
55
+ key: 9
56
+ }];
57
+
58
+ /**
59
+ * COMPONENT
60
+ */
61
+ const ModalChangeActivity = ({
62
+ visible,
63
+ onClose,
64
+ modalConfirm,
65
+ descricao
66
+ }) => {
67
+ const [isLoading] = _react.default.useState(false);
68
+ const initial = (descricao !== null && descricao !== void 0 ? descricao : "").toLowerCase().replace(/\s+/g, "_");
69
+ const [selectedOption, setSelectedOption] = _react.default.useState(initial || "none");
70
+ const handleConfirm = () => {
71
+ const selected = options.find(opt => opt.value === selectedOption);
72
+ if (selected && selected.value !== "none") {
73
+ modalConfirm({
74
+ label: selected.label,
75
+ value: selected.value,
76
+ key: selected.key
77
+ });
78
+ }
79
+ onClose();
80
+ };
81
+ return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
82
+ animationType: "fade",
83
+ transparent: true,
84
+ visible: visible
85
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
86
+ style: {
87
+ flex: 1,
88
+ justifyContent: "center",
89
+ alignItems: "center",
90
+ backgroundColor: "rgba(0,0,0,0.6)"
91
+ }
92
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
93
+ width: 346,
94
+ backgroundColor: _theme.theme.colors.orange[500],
95
+ borderStyled: {
96
+ borderRadius: _theme.theme.borderWidths.thick_medium
97
+ },
98
+ paddingStyle: {
99
+ paddingLeft: _theme.theme.paddings["2xs"],
100
+ paddingRight: _theme.theme.paddings["2xs"],
101
+ paddingTop: _theme.theme.paddings.sm,
102
+ paddingBottom: _theme.theme.paddings.sm
103
+ }
104
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
105
+ marginStyle: {
106
+ marginBottom: _theme.theme.margins["2xs"],
107
+ marginLeft: _theme.theme.margins["1xs"]
108
+ },
109
+ flexStyle: {
110
+ flexDirection: "row",
111
+ alignItems: "center"
112
+ }
113
+ }, /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
114
+ icon: "EXCLAMATION_TRIANGLE",
115
+ color: _theme.theme.colors.black[10],
116
+ background: _theme.theme.colors.yellow[50],
117
+ size: 22
118
+ }), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
119
+ text: "Alterar Atividade",
120
+ color: "#fff",
121
+ marginLeft: _theme.theme.margins["2xs"],
122
+ fontFamily: _theme.theme.fonts.inter_bold_700,
123
+ size: _theme.theme.fontSizes.md
124
+ })), /*#__PURE__*/_react.default.createElement(_box.default, {
125
+ backgroundColor: _theme.theme.colors.neutral[300],
126
+ paddingStyle: {
127
+ padding: _theme.theme.paddings.xs
128
+ },
129
+ borderStyled: {
130
+ borderRadius: _theme.theme.borderWidths.thick_medium
131
+ }
132
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
133
+ flexStyle: {
134
+ flexDirection: "row",
135
+ justifyContent: "flex-start"
136
+ },
137
+ width: "90%"
138
+ }, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
139
+ text: `Deseja realmente alterar sua atividade de ${descricao || "atividade atual"}?`,
140
+ color: _theme.theme.colors.black[25],
141
+ fontFamily: _theme.theme.fonts.inter_medium_500,
142
+ size: _theme.theme.fontSizes.xs,
143
+ style: {
144
+ flexWrap: "wrap",
145
+ maxWidth: "100%"
146
+ }
147
+ })), /*#__PURE__*/_react.default.createElement(_selectOption.SelectOption, {
148
+ titleLabel: "Selecione atividade",
149
+ sizeTitleLabel: _theme.theme.fontSizes.xs,
150
+ dataOption: options,
151
+ handleSelectDown: opt => {
152
+ const option = options.find(o => o.label === opt || o.value === opt);
153
+ if (option) setSelectedOption(option.value);
154
+ },
155
+ backgroundColor: _theme.theme.colors.neutral[300]
156
+ }), /*#__PURE__*/_react.default.createElement(_box.default, {
157
+ marginStyle: {
158
+ marginTop: _theme.theme.margins["1xs"]
159
+ },
160
+ flexStyle: {
161
+ flexDirection: "row",
162
+ justifyContent: "space-between"
163
+ }
164
+ }, /*#__PURE__*/_react.default.createElement(_button.Button, {
165
+ title: "CANCELAR",
166
+ onPress: onClose,
167
+ width: "48%",
168
+ height: 36,
169
+ isLoading: isLoading,
170
+ disabled: isLoading,
171
+ backgroundColor: _theme.theme.colors.neutral[300],
172
+ buttonTextStyle: {
173
+ color: _theme.theme.colors.blue[100],
174
+ fontFamily: "Inter-Medium",
175
+ fontSize: _theme.theme.fontSizes.xs,
176
+ fontWeight: "500"
177
+ },
178
+ flexStyle: {
179
+ flexDirection: "row",
180
+ alignItems: "center",
181
+ justifyContent: "center",
182
+ textAlign: "center"
183
+ },
184
+ borderStyled: {
185
+ borderWidth: _theme.theme.borderWidths.thin,
186
+ borderColor: _theme.theme.colors.blue[100],
187
+ borderRadius: _theme.theme.borderWidths.thick_medium
188
+ }
189
+ }), /*#__PURE__*/_react.default.createElement(_button.Button, {
190
+ title: "CONFIRMAR",
191
+ onPress: handleConfirm,
192
+ width: "48%",
193
+ height: 36,
194
+ isLoading: isLoading,
195
+ disabled: isLoading,
196
+ backgroundColor: _theme.theme.colors.blue[100],
197
+ buttonTextStyle: {
198
+ color: "#fff",
199
+ fontFamily: "Inter-Medium",
200
+ fontSize: _theme.theme.fontSizes.xs,
201
+ fontWeight: "500"
202
+ },
203
+ flexStyle: {
204
+ flexDirection: "row",
205
+ alignItems: "center",
206
+ justifyContent: "center",
207
+ textAlign: "center"
208
+ },
209
+ borderStyled: {
210
+ borderWidth: _theme.theme.borderWidths.thin,
211
+ borderColor: _theme.theme.colors.blue[100],
212
+ borderRadius: _theme.theme.borderWidths.thick_medium
213
+ }
214
+ }))))));
215
+ };
216
+ exports.ModalChangeActivity = ModalChangeActivity;
217
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_selectOption","_button","_theme","_iconsSvg","e","__esModule","default","options","label","value","key","ModalChangeActivity","visible","onClose","modalConfirm","descricao","isLoading","React","useState","initial","toLowerCase","replace","selectedOption","setSelectedOption","handleConfirm","selected","find","opt","createElement","Modal","animationType","transparent","View","style","flex","justifyContent","alignItems","backgroundColor","width","theme","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","margins","marginLeft","flexStyle","flexDirection","Icons","icon","color","black","background","yellow","size","Typography","text","fontFamily","fonts","inter_bold_700","fontSizes","md","neutral","padding","xs","inter_medium_500","flexWrap","maxWidth","SelectOption","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","option","o","marginTop","Button","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","exports"],"sources":["index.tsx"],"sourcesContent":["/* eslint-disable no-unused-vars */\n/**\n * IMPORTS\n */\nimport React from \"react\";\n// libs RN\nimport { Modal, View } from \"react-native\";\n\n// componentes internos\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\nimport { SelectOption } from \"../selects/select-option\";\nimport { Button } from \"../button\";\n\n// styles / theme\nimport { theme } from \"../../styles/theme/theme\";\n\n// assets / icons\nimport { Icons } from \"../../common/icons-svg\";\n\n/**\n * TYPES\n */\ninterface IModalChangeActivityProps {\n visible: boolean;\n onClose: () => void;\n modalConfirm: (newData: { label: string; value: string; key: number }) => void;\n dataRegistro: string;\n descricao: string;\n imagemUrl?: string;\n}\n\n/**\n * CONSTANTS\n */\nconst options = [\n { label: \"Selecione atividade\", value: \"none\", key: 0 },\n { label: \"Descanso\", value: \"descanso\", key: 5 },\n { label: \"Repouso Noturno\", value: \"repouso_noturno\", key: 6 },\n { label: \"Refeição\", value: \"refeição\", key: 7 },\n { label: \"Repouso Semanal\", value: \"repouso_semanal\", key: 9 },\n];\n\n/**\n * COMPONENT\n */\nexport const ModalChangeActivity: React.FC<IModalChangeActivityProps> = ({\n visible,\n onClose,\n modalConfirm,\n descricao,\n}) => {\n const [isLoading] = React.useState(false);\n\n const initial = (descricao ?? \"\").toLowerCase().replace(/\\s+/g, \"_\");\n const [selectedOption, setSelectedOption] = React.useState(initial || \"none\");\n\n const handleConfirm = () => {\n const selected = options.find((opt) => opt.value === selectedOption);\n if (selected && selected.value !== \"none\") {\n modalConfirm({\n label: selected.label,\n value: selected.value,\n key: selected.key,\n });\n }\n onClose();\n };\n\n return (\n <Modal animationType=\"fade\" transparent visible={visible}>\n <View\n style={{\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"rgba(0,0,0,0.6)\",\n }}\n >\n <Box\n width={346}\n backgroundColor={theme.colors.orange[500]}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n }}\n paddingStyle={{\n paddingLeft: theme.paddings[\"2xs\"],\n paddingRight: theme.paddings[\"2xs\"],\n paddingTop: theme.paddings.sm,\n paddingBottom: theme.paddings.sm,\n }}\n >\n <Box\n marginStyle={{ marginBottom: theme.margins[\"2xs\"], marginLeft: theme.margins[\"1xs\"] }}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n >\n <Icons\n icon=\"EXCLAMATION_TRIANGLE\"\n color={theme.colors.black[10]}\n background={theme.colors.yellow[50]}\n size={22}\n />\n <Typography\n text=\"Alterar Atividade\"\n color=\"#fff\"\n marginLeft={theme.margins[\"2xs\"]}\n fontFamily={theme.fonts.inter_bold_700}\n size={theme.fontSizes.md}\n />\n </Box>\n\n <Box\n backgroundColor={theme.colors.neutral[300]}\n paddingStyle={{ padding: theme.paddings.xs }}\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\n >\n <Box flexStyle={{ flexDirection: \"row\", justifyContent: \"flex-start\" }} width={\"90%\"}>\n <Typography\n text={`Deseja realmente alterar sua atividade de ${descricao || \"atividade atual\"}?`}\n color={theme.colors.black[25]}\n fontFamily={theme.fonts.inter_medium_500}\n size={theme.fontSizes.xs}\n style={{ flexWrap: \"wrap\", maxWidth: \"100%\" }}\n />\n </Box>\n\n <SelectOption\n titleLabel=\"Selecione atividade\"\n sizeTitleLabel={theme.fontSizes.xs}\n dataOption={options}\n handleSelectDown={(opt) => {\n const option = options.find((o) => o.label === opt || o.value === opt);\n if (option) setSelectedOption(option.value);\n }}\n backgroundColor={theme.colors.neutral[300]}\n />\n\n <Box\n marginStyle={{ marginTop: theme.margins[\"1xs\"] }}\n flexStyle={{ flexDirection: \"row\", justifyContent: \"space-between\" }}\n >\n <Button\n title=\"CANCELAR\"\n onPress={onClose}\n width={\"48%\"}\n height={36}\n isLoading={isLoading}\n disabled={isLoading}\n backgroundColor={theme.colors.neutral[300]}\n buttonTextStyle={{\n color: theme.colors.blue[100],\n fontFamily: \"Inter-Medium\",\n fontSize: theme.fontSizes.xs,\n fontWeight: \"500\",\n }}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[100],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n <Button\n title=\"CONFIRMAR\"\n onPress={handleConfirm}\n width={\"48%\"}\n height={36}\n isLoading={isLoading}\n disabled={isLoading}\n backgroundColor={theme.colors.blue[100]}\n buttonTextStyle={{\n color: \"#fff\",\n fontFamily: \"Inter-Medium\",\n fontSize: theme.fontSizes.xs,\n fontWeight: \"500\",\n }}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderColor: theme.colors.blue[100],\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n </Box>\n </Box>\n </Box>\n </View>\n </Modal>\n );\n};\n"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAGA,IAAAM,MAAA,GAAAN,OAAA;AAGA,IAAAO,SAAA,GAAAP,OAAA;AAA+C,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlB/C;AACA;AACA;AACA;;AAEA;;AAGA;;AAMA;;AAGA;;AAGA;AACA;AACA;;AAUA;AACA;AACA;AACA,MAAMG,OAAO,GAAG,CACd;EAAEC,KAAK,EAAE,qBAAqB;EAAEC,KAAK,EAAE,MAAM;EAAEC,GAAG,EAAE;AAAE,CAAC,EACvD;EAAEF,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE,UAAU;EAAEC,GAAG,EAAE;AAAE,CAAC,EAChD;EAAEF,KAAK,EAAE,iBAAiB;EAAEC,KAAK,EAAE,iBAAiB;EAAEC,GAAG,EAAE;AAAE,CAAC,EAC9D;EAAEF,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE,UAAU;EAAEC,GAAG,EAAE;AAAE,CAAC,EAChD;EAAEF,KAAK,EAAE,iBAAiB;EAAEC,KAAK,EAAE,iBAAiB;EAAEC,GAAG,EAAE;AAAE,CAAC,CAC/D;;AAED;AACA;AACA;AACO,MAAMC,mBAAwD,GAAGA,CAAC;EACvEC,OAAO;EACPC,OAAO;EAC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AACK,YAAY,CAACC;IACnC;EAAE,CACH,CAAC,eACFnD,MAAA,CAAAY,OAAA,CAAAsB,aAAA,CAAC3B,OAAA,CAAAsF,MAAM;IACLC,KAAK,EAAC,WAAW;IACjBC,OAAO,EAAEjE,aAAc;IACvBc,KAAK,EAAE,KAAM;IACboD,MAAM,EAAE,EAAG;IACX1E,SAAS,EAAEA,SAAU;IACrB2E,QAAQ,EAAE3E,SAAU;IACpBqB,eAAe,EAAEE,YAAK,CAACC,MAAM,CAACqD,IAAI,CAAC,GAAG,CAAE;IACxCD,eAAe,EAAE;MACf/B,KAAK,EAAE,MAAM;MACbO,UAAU,EAAE,cAAc;MAC1B0B,QAAQ,EAAEvD,YAAK,CAACgC,SAAS,CAACI,EAAE;MAC5BoB,UAAU,EAAE;IACd,CAAE;IACFtC,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBtB,UAAU,EAAE,QAAQ;MACpBD,cAAc,EAAE,QAAQ;MACxB6D,SAAS,EAAE;IACb,CAAE;IACFtD,YAAY,EAAE;MACZuD,WAAW,EAAE1D,YAAK,CAACK,YAAY,CAACsD,IAAI;MACpCC,WAAW,EAAE5D,YAAK,CAACC,MAAM,CAACqD,IAAI,CAAC,GAAG,CAAC;MACnClD,YAAY,EAAEJ,YAAK,CAACK,YAAY,CAACC;IACnC;EAAE,CACH,CACE,CACF,CACF,CACD,CACD,CAAC;AAEZ,CAAC;AAACuD,OAAA,CAAAzF,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.NoData = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
- var _box = require("../box");
8
+ var _box = _interopRequireDefault(require("../box"));
9
9
  var _typography = require("../typography");
10
10
  var _iconsSvg = require("../../common/icons-svg");
11
11
  var _theme = require("../../styles/theme/theme");
@@ -25,7 +25,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
25
25
  const NoData = ({
26
26
  text
27
27
  }) => {
28
- return /*#__PURE__*/_react.default.createElement(_box.Box, {
28
+ return /*#__PURE__*/_react.default.createElement(_box.default, {
29
29
  flexStyle: {
30
30
  flex: 1,
31
31
  justifyContent: "center",
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","e","__esModule","default","NoData","text","createElement","Box","flexStyle","flex","justifyContent","alignItems","Icons","icon","Typography","size","fontFamily","theme","fonts","inter_medium_500","color","colors","gray","letterSpacing","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons / svg\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { INoData } from \"./interface\";\n\nconst NoData: React.FC<INoData> = ({ text }) => {\n return (\n <Box\n flexStyle={{\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n }}\n >\n <Icons icon={\"FILES\"} />\n <Typography\n text={text}\n size={16}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n letterSpacing={\"regular\"}\n />\n </Box>\n );\n};\n\nexport { NoData };\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;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAbjD;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAGA;;AAGA,MAAMG,MAAyB,GAAGA,CAAC;EAAEC;AAAK,CAAC,KAAK;EAC9C,oBACEX,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACT,IAAA,CAAAU,GAAG;IACFC,SAAS,EAAE;MACTC,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd;EAAE,gBAEFjB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACP,SAAA,CAAAa,KAAK;IAACC,IAAI,EAAE;EAAQ,CAAE,CAAC,eACxBnB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACR,WAAA,CAAAgB,UAAU;IACTT,IAAI,EAAEA,IAAK;IACXU,IAAI,EAAE,EAAG;IACTC,UAAU,EAAEC,YAAK,CAACC,KAAK,CAACC,gBAAiB;IACzCC,KAAK,EAAEH,YAAK,CAACI,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IAC9BC,aAAa,EAAE;EAAU,CAC1B,CACE,CAAC;AAEV,CAAC;AAACC,OAAA,CAAApB,MAAA,GAAAA,MAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","e","__esModule","default","NoData","text","createElement","flexStyle","flex","justifyContent","alignItems","Icons","icon","Typography","size","fontFamily","theme","fonts","inter_medium_500","color","colors","gray","letterSpacing","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons / svg\nimport { Icons } from \"../../common/icons-svg\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { INoData } from \"./interface\";\n\nconst NoData: React.FC<INoData> = ({ text }) => {\n return (\n <Box\n flexStyle={{\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n }}\n >\n <Icons icon={\"FILES\"} />\n <Typography\n text={text}\n size={16}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n letterSpacing={\"regular\"}\n />\n </Box>\n );\n};\n\nexport { NoData };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAbjD;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAGA;;AAGA,MAAMG,MAAyB,GAAGA,CAAC;EAAEC;AAAK,CAAC,KAAK;EAC9C,oBACEX,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACT,IAAA,CAAAM,OAAG;IACFI,SAAS,EAAE;MACTC,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE;IACd;EAAE,gBAEFhB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACP,SAAA,CAAAY,KAAK;IAACC,IAAI,EAAE;EAAQ,CAAE,CAAC,eACxBlB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACR,WAAA,CAAAe,UAAU;IACTR,IAAI,EAAEA,IAAK;IACXS,IAAI,EAAE,EAAG;IACTC,UAAU,EAAEC,YAAK,CAACC,KAAK,CAACC,gBAAiB;IACzCC,KAAK,EAAEH,YAAK,CAACI,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IAC9BC,aAAa,EAAE;EAAU,CAC1B,CACE,CAAC;AAEV,CAAC;AAACC,OAAA,CAAAnB,MAAA,GAAAA,MAAA","ignoreList":[]}
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.NotificationLoading = 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 _iconsSvg = require("../../common/icons-svg");
12
12
  var _theme = require("../../styles/theme/theme");
13
13
  var _returnColor = require("../../utils/status-color/return-color");
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
- /**
16
- * IMPORTS
15
+ /**
16
+ * IMPORTS
17
17
  */
18
18
 
19
19
  // components
@@ -38,7 +38,7 @@ const NotificationLoading = ({
38
38
  activeOpacity: 0.7,
39
39
  testID: testID,
40
40
  onPress: handleNavigation
41
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
41
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
42
42
  width: "100%",
43
43
  flexStyle: {
44
44
  flexDirection: "row",
@@ -54,13 +54,13 @@ const NotificationLoading = ({
54
54
  padding: _theme.theme.paddings["2xs"]
55
55
  },
56
56
  style: style
57
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
57
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
58
58
  width: "9%"
59
59
  }, /*#__PURE__*/_react.default.createElement(_iconsSvg.Icons, {
60
60
  icon: "BELL",
61
61
  size: 32,
62
62
  color: _theme.theme.colors.neutral[25]
63
- })), /*#__PURE__*/_react.default.createElement(_box.Box, {
63
+ })), /*#__PURE__*/_react.default.createElement(_box.default, {
64
64
  flexStyle: {
65
65
  flexDirection: "column"
66
66
  },
@@ -68,7 +68,7 @@ const NotificationLoading = ({
68
68
  paddingStyle: {
69
69
  paddingLeft: 7
70
70
  }
71
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
71
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
72
72
  flexStyle: {
73
73
  flexDirection: "row",
74
74
  alignItems: "center"
@@ -89,13 +89,13 @@ const NotificationLoading = ({
89
89
  fontWeight: "700",
90
90
  color: _theme.theme.colors.neutral[25],
91
91
  letterSpacing: "regular"
92
- })), /*#__PURE__*/_react.default.createElement(_box.Box, {
92
+ })), /*#__PURE__*/_react.default.createElement(_box.default, {
93
93
  flexStyle: {
94
94
  flexDirection: "row",
95
95
  alignItems: "center",
96
96
  justifyContent: "space-between"
97
97
  }
98
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
98
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
99
99
  flexStyle: {
100
100
  flexDirection: "row",
101
101
  alignItems: "center"
@@ -116,7 +116,7 @@ const NotificationLoading = ({
116
116
  fontWeight: "500",
117
117
  color: _theme.theme.colors.neutral[25],
118
118
  letterSpacing: "regular"
119
- })), /*#__PURE__*/_react.default.createElement(_box.Box, {
119
+ })), /*#__PURE__*/_react.default.createElement(_box.default, {
120
120
  flexStyle: {
121
121
  flexDirection: "row",
122
122
  alignItems: "center"
@@ -147,8 +147,8 @@ const NotificationLoading = ({
147
147
  }))));
148
148
  };
149
149
 
150
- /**
151
- * EXPORTS
150
+ /**
151
+ * EXPORTS
152
152
  */
153
153
  exports.NotificationLoading = NotificationLoading;
154
154
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","_returnColor","e","__esModule","default","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","TouchableOpacity","activeOpacity","onPress","Box","width","flexStyle","flexDirection","alignItems","backgroundColor","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","Icons","icon","size","color","neutral","paddingLeft","Typography","text","fontSizes","sm","lineHeight","lg","fontFamily","fonts","inter_semi_bold_600","fontWeight","letterSpacing","xs","md","inter_bold_700","justifyContent","inter_medium_500","String","marginRight","getStatusColor","ellipsizeMode","numberOfLines","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// theme\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nimport { INotificationLoading } from \"./interface\";\r\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\r\n\r\nconst NotificationLoading: React.FC<INotificationLoading> = ({\r\n handleNavigation,\r\n title,\r\n testID,\r\n statusNotify,\r\n date,\r\n notification,\r\n dataStart,\r\n style,\r\n readonly,\r\n}) => {\r\n return (\r\n <TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPOR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2BAAc,EAACxD,YAA0B,CAChF;IACDkC,IAAI,EAAE;EAAE,CACT,CACE,CACF,CAAC,eAGNlD,MAAA,CAAAW,OAAA,CAAAc,aAAA,CAACpB,WAAA,CAAAiD,UAAU;IACTC,IAAI,EAAErC,YAAa;IACnBgC,IAAI,EAAEf,YAAK,CAACqB,SAAS,CAAC,KAAK,CAAE;IAC7BI,UAAU,EAAEzB,YAAK,CAAC0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAAlC,mBAAA,GAAEW,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAjC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC2B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCY,aAAa,EAAE,SAAU;IACzBS,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA/D,mBAAA,GAAAA,mBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","_returnColor","e","__esModule","default","NotificationLoading","handleNavigation","title","testID","statusNotify","date","notification","dataStart","style","readonly","_theme$fontSizes$lg","_theme$fontSizes$lg2","_theme$fontSizes$sm","createElement","TouchableOpacity","activeOpacity","onPress","width","flexStyle","flexDirection","alignItems","backgroundColor","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","Icons","icon","size","color","neutral","paddingLeft","Typography","text","fontSizes","sm","lineHeight","lg","fontFamily","fonts","inter_semi_bold_600","fontWeight","letterSpacing","xs","md","inter_bold_700","justifyContent","inter_medium_500","String","marginRight","getStatusColor","ellipsizeMode","numberOfLines","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 \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\nimport { INotificationLoading } from \"./interface\";\nimport { getStatusColor, StatusType } from \"../../utils/status-color/return-color\";\n\nconst NotificationLoading: React.FC<INotificationLoading> = ({\n handleNavigation,\n title,\n testID,\n statusNotify,\n date,\n notification,\n dataStart,\n style,\n readonly,\n}) => {\n return (\n <TouchableOpacity activeOpacity={0.7} testID={testID} onPress={handleNavigation}>\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\n }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n style={style}\n >\n <Box width={\"9%\"}>\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\n </Box>\n\n <Box\n flexStyle={{ flexDirection: \"column\" }}\n width={\"91%\"}\n paddingStyle={{ paddingLeft: 7 }}\n >\n {/* Carregamento identificação */}\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\n <Typography\n text={\"Carregamento - \"}\n size={theme.fontSizes.sm}\n lineHeight={theme.fontSizes.lg}\n fontFamily={theme.fonts.inter_semi_bold_600}\n fontWeight=\"600\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={title}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight=\"700\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n\n {/* Data do carregamento */}\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n >\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={\"Data - \"}\n size={theme.fontSizes.sm}\n lineHeight={theme.fontSizes.lg ?? 18}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n <Typography\n text={String(date)}\n size={theme.fontSizes.sm}\n lineHeight={theme.fontSizes.lg ?? 18}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n }}\n >\n <Typography\n text={String(dataStart)}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.sm}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n marginRight={8}\n />\n\n <Icons\n icon={\"ELLIPSE\"}\n color={\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\n }\n size={9}\n />\n </Box>\n </Box>\n\n {/* Mensagem de notificação do carregamento */}\n <Typography\n text={notification}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.sm ?? 14}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n />\n </Box>\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { NotificationLoading };\n"],"mappings":";;;;;;AAGA,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,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA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AU,EAAEzB,YAAK,CAAC0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAAjC,mBAAA,GAAEU,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAhC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC0B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCY,aAAa,EAAE,SAAU;IACzBS,aAAa,EAAC,MAAM;IACpBC,aAAa,EAAE;EAAE,CAClB,CACE,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAA9D,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.ProfileMenuOption = 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 _iconsSvg = require("../../common/icons-svg");
12
12
  var _theme = require("../../styles/theme/theme");
@@ -29,7 +29,7 @@ const ProfileMenuOption = ({
29
29
  return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
30
30
  onPress: handleNavigation,
31
31
  activeOpacity: 0.7
32
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
32
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
33
33
  flexStyle: {
34
34
  alignItems: "center",
35
35
  flexDirection: "row",
@@ -47,7 +47,7 @@ const ProfileMenuOption = ({
47
47
  marginStyle: {
48
48
  marginBottom: _theme.theme.margins.xs
49
49
  }
50
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
50
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
51
51
  flexStyle: {
52
52
  alignItems: "center",
53
53
  flexDirection: "row"
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","TouchableOpacity","onPress","activeOpacity","Box","flexStyle","alignItems","flexDirection","justifyContent","width","theme","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","Icons","color","neutral","Typography","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { IProfileMenuOption } from \"./interface\";\n\nconst ProfileMenuOption: React.FC<IProfileMenuOption> = ({\n handleNavigation,\n icon,\n text,\n backgroundColor,\n colorIcon,\n}) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n flexStyle={{\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n width={\"100%\"}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: theme.colors.blue[400],\n }}\n marginStyle={{ marginBottom: theme.margins.xs }}\n >\n <Box flexStyle={{ alignItems: \"center\", flexDirection: \"row\" }}>\n <Icons icon={icon ?? \"AGENT\"} color={colorIcon ?? theme.colors.neutral[25]} />\n <Typography\n text={text}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n marginLeft={theme.margins.xs}\n />\n </Box>\n <Typography\n text=\"›\"\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_med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,CAAC;AAACa,OAAA,CAAA9C,iBAAA,GAAAA,iBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","ProfileMenuOption","handleNavigation","icon","text","backgroundColor","colorIcon","createElement","TouchableOpacity","onPress","activeOpacity","flexStyle","alignItems","flexDirection","justifyContent","width","theme","colors","blue","paddingStyle","padding","paddings","borderStyled","borderRadius","borderWidths","thick_medium","borderColor","marginStyle","marginBottom","margins","xs","Icons","color","neutral","Typography","size","fontSizes","sm","fontFamily","fonts","inter_bold_700","fontWeight","lineHeight","lg","marginLeft","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["import React from \"react\";\nimport { TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// theme\nimport { theme } from \"../../styles/theme/theme\";\n\n// typing\nimport { IProfileMenuOption } from \"./interface\";\n\nconst ProfileMenuOption: React.FC<IProfileMenuOption> = ({\n handleNavigation,\n icon,\n text,\n backgroundColor,\n colorIcon,\n}) => {\n return (\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\n <Box\n flexStyle={{\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n width={\"100%\"}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: theme.colors.blue[400],\n }}\n marginStyle={{ marginBottom: theme.margins.xs }}\n >\n <Box flexStyle={{ alignItems: \"center\", flexDirection: \"row\" }}>\n <Icons icon={icon ?? \"AGENT\"} color={colorIcon ?? theme.colors.neutral[25]} />\n <Typography\n text={text}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight={\"700\"}\n lineHeight={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n marginLeft={theme.margins.xs}\n />\n </Box>\n <Typography\n text=\"›\"\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight={\"500\"}\n color={theme.colors.neutral[25]}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\nexport { ProfileMenuOption };\n"],"mappings":";;;;;;AAAA,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,SAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AARjD;;AAIA;;AAGA;;AAGA;;AAGA,MAAMG,iBAA+C,GAAGA,CAAC;EACvDC,gBAAgB;EAChBC,IAAI;EACJC,IAAI;EACJC,eAAe;EACfC;AACF,CAAC,KAAK;EACJ,oBACEhB,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACd,YAAA,CAAAe,gBAAgB;IAACC,OAAO,EAAEP,gBAAiB;IAACQ,aAAa,EAAE;EAAI,gBAC9DpB,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACb,IAAA,CAAAM,OAAG;IACFW,SAAS,EAAE;MACTC,UAAU,EAAE,QAAQ;MACpBC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE;IAClB,CAAE;IACFC,KAAK,EAAE,MAAO;IACdV,eAAe,EAAEA,eAAe,aAAfA,eAAe,cAAfA,eAAe,GAAIW,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IAC3DC,YAAY,EAAE;MAAEC,OAAO,EAAEJ,YAAK,CAACK,QAAQ,CAAC,KAAK;IAAE,CAAE;IACjDC,YAAY,EAAE;MACZC,Y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CJ,UAAU,EAAE,KAAM;IAClBT,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE;EAAE,CACjC,CACE,CACW,CAAC;AAEvB,CAAC;AAACa,OAAA,CAAA7C,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.ScheduledJourneyIndicators = 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 _iconsSvg = require("../../common/icons-svg");
12
12
  var _theme = require("../../styles/theme/theme");
@@ -45,7 +45,7 @@ const ScheduledJourneyIndicators = ({
45
45
  padding: _theme.theme.paddings.xs,
46
46
  marginBottom: 16
47
47
  }
48
- }, /*#__PURE__*/_react.default.createElement(_box.Box, {
48
+ }, /*#__PURE__*/_react.default.createElement(_box.default, {
49
49
  flexStyle: {
50
50
  alignItems: "center",
51
51
  justifyContent: "center"
@@ -58,7 +58,7 @@ const ScheduledJourneyIndicators = ({
58
58
  color: isEdit ? _theme.theme.colors.blue[350] : _theme.theme.colors.neutral[25],
59
59
  background: isEdit ? _theme.theme.colors.blue[350] : _theme.theme.colors.green[400],
60
60
  size: _theme.theme.fontSizes["2xl"]
61
- })), /*#__PURE__*/_react.default.createElement(_box.Box, {
61
+ })), /*#__PURE__*/_react.default.createElement(_box.default, {
62
62
  flexStyle: {
63
63
  flex: 0.72,
64
64
  alignItems: "flex-start"
@@ -73,7 +73,7 @@ const ScheduledJourneyIndicators = ({
73
73
  letterSpacing: "o_16",
74
74
  numberOfLines: 1,
75
75
  ellipsizeMode: "tail"
76
- })), /*#__PURE__*/_react.default.createElement(_box.Box, {
76
+ })), /*#__PURE__*/_react.default.createElement(_box.default, {
77
77
  flexStyle: {
78
78
  flex: 0.22,
79
79
  alignItems: "flex-end"
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","width","widthScreen","Dimensions","get","isMobile","ScheduledJourneyIndicators","journey","isEdit","handleOpenEditModal","createElement","TouchableOpacity","onPress","disabled","activeOpacity","style","backgroundColor","theme","colors","neutral","borderRadius","flexDirection","alignItems","justifyContent","padding","paddings","xs","marginBottom","Box","flexStyle","marginStyle","marginLeft","margins","Icons","icon","color","blue","background","green","size","fontSizes","flex","Typography","text","descricao","black","sm","fontWeight","fontFamily","fonts","inter_bold","lineHeight","lg","letterSpacing","numberOfLines","ellipsizeMode","duracao_horas","gray","inter_semi_bold_600","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport React from \"react\";\nimport { Dimensions, TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// commons / Icon\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { IScheduledJourneyIndicators } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst { width: widthScreen } = Dimensions.get(\"window\");\nconst isMobile = widthScreen < 768;\n\nconst ScheduledJourneyIndicators: React.FC<IScheduledJourneyIndicators> = ({\n journey,\n isEdit,\n handleOpenEditModal,\n}) => {\n return (\n <TouchableOpacity\n onPress={handleOpenEditModal}\n disabled={!isEdit}\n activeOpacity={0.7}\n style={{\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 8,\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: theme.paddings.xs,\n marginBottom: 16,\n }}\n >\n <Box\n flexStyle={{\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n marginStyle={{ marginLeft: isMobile ? 0 : theme.margins.xs }}\n >\n <Icons\n icon={isEdit ? \"NOTE_PINCEL\" : \"CHECK_CIRCLE\"}\n color={isEdit ? theme.colors.blue[350] : theme.colors.neutral[25]}\n background={isEdit ? theme.colors.blue[350] : theme.colors.green[400]}\n size={theme.fontSizes[\"2xl\"]}\n />\n </Box>\n\n <Box\n flexStyle={{\n flex: 0.72,\n alignItems: \"flex-start\",\n }}\n >\n <Typography\n text={journey?.descricao}\n color={theme.colors.black[100]}\n size={theme.fontSizes.sm}\n fontWeight=\"700\"\n fontFamily={theme.fonts.inter_bold}\n lineHeight={theme.fontSizes.lg}\n letterSpacing={\"o_16\"}\n numberOfLines={1}\n ellipsizeMode=\"tail\"\n />\n </Box>\n\n <Box\n flexStyle={{\n flex: 0.22,\n alignItems: \"flex-end\",\n }}\n >\n <Typography\n text={journey?.duracao_horas}\n color={theme.colors.gray[700]}\n size={theme.fontSizes.sm}\n fontWeight=\"600\"\n fontFamily={theme.fonts.inter_semi_bold_600}\n lineHeight={24}\n letterSpacing={\"o_16\"}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { ScheduledJourneyIndicators };\n"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,SAAA,GAAAJ,OAAA;AAMA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlBjD;AACA;AACA;;AAKA;;AAIA;;AAGA;;AAGA;;AAGA,MAAM;EAAEG,KAAK,EAAEC;AAAY,CAAC,GAAGC,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC;AACvD,MAAMC,QAAQ,GAAGH,WAAW,GAAG,GAAG;AAElC,MAAMI,0BAAiE,GAAGA,CAAC;EACzEC,OAAO;EACPC,MAAM;EACNC;AACF,CAAC,KAAK;EACJ,oBACEnB,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACjB,YAAA,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AAE;IACd;EAAE,gBAEFhC,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACf,WAAA,CAAA+C,UAAU;IACTC,IAAI,EAAEpC,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEqC,SAAU;IACzBT,KAAK,EAAElB,YAAK,CAACC,MAAM,CAAC2B,KAAK,CAAC,GAAG,CAAE;IAC/BN,IAAI,EAAEtB,YAAK,CAACuB,SAAS,CAACM,EAAG;IACzBC,UAAU,EAAC,KAAK;IAChBC,UAAU,EAAE/B,YAAK,CAACgC,KAAK,CAACC,UAAW;IACnCC,UAAU,EAAElC,YAAK,CAACuB,SAAS,CAACY,EAAG;IAC/BC,aAAa,EAAE,MAAO;IACtBC,aAAa,EAAE,CAAE;IACjBC,aAAa,EAAC;EAAM,CACrB,CACE,CAAC,eAENjE,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAAChB,IAAA,CAAAkC,GAAG;IACFC,SAAS,EAAE;MACTY,IAAI,EAAE,IAAI;MACVnB,UAAU,EAAE;IACd;EAAE,gBAEFhC,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACf,WAAA,CAAA+C,UAAU;IACTC,IAAI,EAAEpC,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEiD,aAAc;IAC7BrB,KAAK,EAAElB,YAAK,CAACC,MAAM,CAACuC,IAAI,CAAC,GAAG,CAAE;IAC9BlB,IAAI,EAAEtB,YAAK,CAACuB,SAAS,CAACM,EAAG;IACzBC,UAAU,EAAC,KAAK;IAChBC,UAAU,EAAE/B,YAAK,CAACgC,KAAK,CAACS,mBAAoB;IAC5CP,UAAU,EAAE,EAAG;IACfE,aAAa,EAAE;EAAO,CACvB,CACE,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAM,OAAA,CAAArD,0BAAA,GAAAA,0BAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","width","widthScreen","Dimensions","get","isMobile","ScheduledJourneyIndicators","journey","isEdit","handleOpenEditModal","createElement","TouchableOpacity","onPress","disabled","activeOpacity","style","backgroundColor","theme","colors","neutral","borderRadius","flexDirection","alignItems","justifyContent","padding","paddings","xs","marginBottom","flexStyle","marginStyle","marginLeft","margins","Icons","icon","color","blue","background","green","size","fontSizes","flex","Typography","text","descricao","black","sm","fontWeight","fontFamily","fonts","inter_bold","lineHeight","lg","letterSpacing","numberOfLines","ellipsizeMode","duracao_horas","gray","inter_semi_bold_600","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport React from \"react\";\nimport { Dimensions, TouchableOpacity } from \"react-native\";\n\n// components\nimport Box from \"../box\";\nimport { Typography } from \"../typography\";\n\n// commons / Icon\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { IScheduledJourneyIndicators } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst { width: widthScreen } = Dimensions.get(\"window\");\nconst isMobile = widthScreen < 768;\n\nconst ScheduledJourneyIndicators: React.FC<IScheduledJourneyIndicators> = ({\n journey,\n isEdit,\n handleOpenEditModal,\n}) => {\n return (\n <TouchableOpacity\n onPress={handleOpenEditModal}\n disabled={!isEdit}\n activeOpacity={0.7}\n style={{\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 8,\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: theme.paddings.xs,\n marginBottom: 16,\n }}\n >\n <Box\n flexStyle={{\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n marginStyle={{ marginLeft: isMobile ? 0 : theme.margins.xs }}\n >\n <Icons\n icon={isEdit ? \"NOTE_PINCEL\" : \"CHECK_CIRCLE\"}\n color={isEdit ? theme.colors.blue[350] : theme.colors.neutral[25]}\n background={isEdit ? theme.colors.blue[350] : theme.colors.green[400]}\n size={theme.fontSizes[\"2xl\"]}\n />\n </Box>\n\n <Box\n flexStyle={{\n flex: 0.72,\n alignItems: \"flex-start\",\n }}\n >\n <Typography\n text={journey?.descricao}\n color={theme.colors.black[100]}\n size={theme.fontSizes.sm}\n fontWeight=\"700\"\n fontFamily={theme.fonts.inter_bold}\n lineHeight={theme.fontSizes.lg}\n letterSpacing={\"o_16\"}\n numberOfLines={1}\n ellipsizeMode=\"tail\"\n />\n </Box>\n\n <Box\n flexStyle={{\n flex: 0.22,\n alignItems: \"flex-end\",\n }}\n >\n <Typography\n text={journey?.duracao_horas}\n color={theme.colors.gray[700]}\n size={theme.fontSizes.sm}\n fontWeight=\"600\"\n fontFamily={theme.fonts.inter_semi_bold_600}\n lineHeight={24}\n letterSpacing={\"o_16\"}\n />\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { ScheduledJourneyIndicators };\n"],"mappings":";;;;;;AAIA,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,SAAA,GAAAJ,OAAA;AAMA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlBjD;AACA;AACA;;AAKA;;AAIA;;AAGA;;AAGA;;AAGA,MAAM;EAAEG,KAAK,EAAEC;AAAY,CAAC,GAAGC,uBAAU,CAACC,GAAG,CAAC,QAAQ,CAAC;AACvD,MAAMC,QAAQ,GAAGH,WAAW,GAAG,GAAG;AAElC,MAAMI,0BAAiE,GAAGA,CAAC;EACzEC,OAAO;EACPC,MAAM;EACNC;AACF,CAAC,KAAK;EACJ,oBACEnB,MAAA,CAAAU,OAAA,CAAAU,aAAA,CAACjB,YAAA,CAAAkB,gBAAgB;IACfC,OAAO,EAAEH,mBAAoB;IAC7BI,QAAQ,EAAE,CA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