react-native-exp-fig 0.1.14 → 0.1.15

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 (216) hide show
  1. package/lib/commonjs/common/icons-svg/agent/index.js +2 -2
  2. package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/bed/index.js +4 -4
  4. package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/car/index.js +4 -4
  6. package/lib/commonjs/common/icons-svg/car/index.js.map +1 -1
  7. package/lib/commonjs/common/icons-svg/check-outline/index.js +6 -6
  8. package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/coffee/index.js +4 -4
  10. package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -1
  11. package/lib/commonjs/common/icons-svg/constants/index.js +4 -4
  12. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  13. package/lib/commonjs/common/icons-svg/index.js +4 -4
  14. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  15. package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
  16. package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
  17. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  18. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  19. package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
  20. package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
  21. package/lib/commonjs/components/activities-daily/index.js +4 -4
  22. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  23. package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
  24. package/lib/commonjs/components/activities-progress/index.js +4 -4
  25. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  26. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  27. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  28. package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
  29. package/lib/commonjs/components/card-history/index.js +7 -7
  30. package/lib/commonjs/components/card-history/index.js.map +1 -1
  31. package/lib/commonjs/components/card-loading/index.js +7 -7
  32. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  33. package/lib/commonjs/components/card-work-session/index.js +4 -4
  34. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  35. package/lib/commonjs/components/check-box/index.js +6 -6
  36. package/lib/commonjs/components/check-box/index.js.map +1 -1
  37. package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
  38. package/lib/commonjs/components/coil/index.js +4 -4
  39. package/lib/commonjs/components/coil/index.js.map +1 -1
  40. package/lib/commonjs/components/coil/interface.d.js.map +1 -1
  41. package/lib/commonjs/components/filter-date-selector/index.js +7 -7
  42. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  43. package/lib/commonjs/components/history-details/index.js +1 -2
  44. package/lib/commonjs/components/history-details/index.js.map +1 -1
  45. package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
  46. package/lib/commonjs/components/image-capture-with-remove/index.js +7 -7
  47. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  48. package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
  49. package/lib/commonjs/components/loading-progress/index.js +12 -9
  50. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  51. package/lib/commonjs/components/notification-loading/index.js +9 -2
  52. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  53. package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
  54. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  55. package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
  56. package/lib/commonjs/components/step-indicator/index.js +6 -6
  57. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  58. package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
  59. package/lib/commonjs/components/step-indicator/styles.js +9 -8
  60. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  61. package/lib/commonjs/components/user-profile/index.js +6 -6
  62. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  63. package/lib/commonjs/index.js.map +1 -1
  64. package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
  65. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  66. package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  67. package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
  68. package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
  69. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
  70. package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  71. package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
  72. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  73. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
  74. package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  75. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
  76. package/lib/commonjs/styles/theme/theme.js +4 -4
  77. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  78. package/lib/commonjs/utils/format-data/index.js +11 -11
  79. package/lib/commonjs/utils/format-data/index.js.map +1 -1
  80. package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
  81. package/lib/module/common/icons-svg/agent/index.js +2 -2
  82. package/lib/module/common/icons-svg/agent/index.js.map +1 -1
  83. package/lib/module/common/icons-svg/bed/index.js +4 -4
  84. package/lib/module/common/icons-svg/bed/index.js.map +1 -1
  85. package/lib/module/common/icons-svg/car/index.js +4 -4
  86. package/lib/module/common/icons-svg/car/index.js.map +1 -1
  87. package/lib/module/common/icons-svg/check-outline/index.js +6 -6
  88. package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
  89. package/lib/module/common/icons-svg/coffee/index.js +4 -4
  90. package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
  91. package/lib/module/common/icons-svg/constants/index.js +4 -4
  92. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  93. package/lib/module/common/icons-svg/index.js +4 -4
  94. package/lib/module/common/icons-svg/index.js.map +1 -1
  95. package/lib/module/common/icons-svg/pencil/index.js +4 -4
  96. package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
  97. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  98. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  99. package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
  100. package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
  101. package/lib/module/components/activities-daily/index.js +4 -4
  102. package/lib/module/components/activities-daily/index.js.map +1 -1
  103. package/lib/module/components/activities-daily/interface.d.js.map +1 -1
  104. package/lib/module/components/activities-progress/index.js +4 -4
  105. package/lib/module/components/activities-progress/index.js.map +1 -1
  106. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  107. package/lib/module/components/avatar-profile/index.js.map +1 -1
  108. package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
  109. package/lib/module/components/card-history/index.js +7 -7
  110. package/lib/module/components/card-history/index.js.map +1 -1
  111. package/lib/module/components/card-loading/index.js +7 -7
  112. package/lib/module/components/card-loading/index.js.map +1 -1
  113. package/lib/module/components/card-work-session/index.js +4 -4
  114. package/lib/module/components/card-work-session/index.js.map +1 -1
  115. package/lib/module/components/check-box/index.js +6 -6
  116. package/lib/module/components/check-box/index.js.map +1 -1
  117. package/lib/module/components/check-box/interface.d.js.map +1 -1
  118. package/lib/module/components/coil/index.js +4 -4
  119. package/lib/module/components/coil/index.js.map +1 -1
  120. package/lib/module/components/coil/interface.d.js.map +1 -1
  121. package/lib/module/components/filter-date-selector/index.js +7 -7
  122. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  123. package/lib/module/components/history-details/index.js +1 -2
  124. package/lib/module/components/history-details/index.js.map +1 -1
  125. package/lib/module/components/history-details/interface.d.js.map +1 -1
  126. package/lib/module/components/image-capture-with-remove/index.js +7 -7
  127. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  128. package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
  129. package/lib/module/components/loading-progress/index.js +12 -9
  130. package/lib/module/components/loading-progress/index.js.map +1 -1
  131. package/lib/module/components/notification-loading/index.js +9 -2
  132. package/lib/module/components/notification-loading/index.js.map +1 -1
  133. package/lib/module/components/notification-loading/interface.d.js.map +1 -1
  134. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  135. package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
  136. package/lib/module/components/step-indicator/index.js +6 -6
  137. package/lib/module/components/step-indicator/index.js.map +1 -1
  138. package/lib/module/components/step-indicator/interface.d.js.map +1 -1
  139. package/lib/module/components/step-indicator/styles.js +9 -8
  140. package/lib/module/components/step-indicator/styles.js.map +1 -1
  141. package/lib/module/components/user-profile/index.js +6 -6
  142. package/lib/module/components/user-profile/index.js.map +1 -1
  143. package/lib/module/index.js +2 -2
  144. package/lib/module/index.js.map +1 -1
  145. package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
  146. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  147. package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  148. package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
  149. package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
  150. package/lib/module/stories/coil/coil.stories.js.map +1 -1
  151. package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  152. package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
  153. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  154. package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
  155. package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  156. package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
  157. package/lib/module/styles/theme/theme.js +4 -4
  158. package/lib/module/styles/theme/theme.js.map +1 -1
  159. package/lib/module/utils/format-data/index.js +11 -11
  160. package/lib/module/utils/format-data/index.js.map +1 -1
  161. package/lib/module/utils/status-color/return-color.js.map +1 -1
  162. package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
  163. package/package.json +2 -2
  164. package/src/common/icons-svg/agent/index.tsx +40 -40
  165. package/src/common/icons-svg/bed/index.tsx +41 -41
  166. package/src/common/icons-svg/car/index.tsx +29 -29
  167. package/src/common/icons-svg/check-outline/index.tsx +42 -42
  168. package/src/common/icons-svg/coffee/index.tsx +43 -43
  169. package/src/common/icons-svg/constants/index.ts +63 -63
  170. package/src/common/icons-svg/index.tsx +255 -255
  171. package/src/common/icons-svg/pencil/index.tsx +32 -32
  172. package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
  173. package/src/common/icons-svg/truck-activity/index.tsx +29 -29
  174. package/src/components/activities-daily/index.tsx +116 -116
  175. package/src/components/activities-daily/interface.d.ts +22 -22
  176. package/src/components/activities-progress/index.tsx +162 -162
  177. package/src/components/activities-progress/interface.d.ts +41 -41
  178. package/src/components/avatar-profile/index.tsx +95 -95
  179. package/src/components/avatar-profile/interface.d.ts +39 -39
  180. package/src/components/card-history/index.tsx +149 -149
  181. package/src/components/card-loading/index.tsx +278 -278
  182. package/src/components/card-work-session/index.tsx +187 -187
  183. package/src/components/check-box/index.tsx +94 -94
  184. package/src/components/check-box/interface.d.ts +31 -31
  185. package/src/components/coil/index.tsx +103 -103
  186. package/src/components/coil/interface.d.ts +26 -26
  187. package/src/components/filter-date-selector/index.tsx +101 -101
  188. package/src/components/history-details/index.tsx +1 -2
  189. package/src/components/history-details/interface.d.ts +18 -18
  190. package/src/components/image-capture-with-remove/index.tsx +89 -89
  191. package/src/components/image-capture-with-remove/interface.d.ts +25 -25
  192. package/src/components/loading-progress/index.tsx +92 -91
  193. package/src/components/notification-loading/index.tsx +9 -2
  194. package/src/components/notification-loading/interface.d.ts +35 -35
  195. package/src/components/profile-menu-option/index.tsx +65 -65
  196. package/src/components/profile-menu-option/interface.d.ts +42 -42
  197. package/src/components/step-indicator/index.tsx +164 -164
  198. package/src/components/step-indicator/interface.d.ts +34 -34
  199. package/src/components/step-indicator/styles.ts +68 -67
  200. package/src/components/user-profile/index.tsx +204 -204
  201. package/src/index.ts +42 -42
  202. package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
  203. package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
  204. package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
  205. package/src/stories/card-loading/card-loading.stories.tsx +85 -85
  206. package/src/stories/check-box/check-box.stories.tsx +81 -81
  207. package/src/stories/coil/coil.stories.tsx +98 -98
  208. package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
  209. package/src/stories/history-details/history-details.stories.tsx +36 -36
  210. package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
  211. package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
  212. package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
  213. package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
  214. package/src/styles/theme/theme.ts +170 -170
  215. package/src/utils/format-data/index.ts +66 -66
  216. package/src/utils/status-color/return-color.ts +23 -23
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { TouchableOpacityProps } from \"react-native\";\r\n\r\nexport interface ICheckBoxProps extends TouchableOpacityProps {\r\n /**Propriedade do tamanho do box do icon-check-outline */\r\n widthBoxCheckIcon?: number;\r\n\r\n /**Propriedade para saber se o checkbox esta marcado */\r\n isChecked: boolean;\r\n\r\n /**Propriedade para mudar a cor do icon quando for marcado */\r\n backgroundColorCheck?: string;\r\n\r\n /**Propriedade para mudar a cor do icon quando for marcado */\r\n backgroundBoxCheckIcon?: string;\r\n\r\n /**Propriedade do textLabel */\r\n textLabel?: string;\r\n\r\n /**Propriedade do tamanho do textLabel */\r\n textSizeLabel?: number;\r\n\r\n /**Propriedade da cor do textLabel */\r\n colorTextLabel?: string;\r\n}\r\n/**\r\n * EXPORTS\r\n */\r\nexport type { ICheckBoxProps };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { TouchableOpacityProps } from \"react-native\";\n\nexport interface ICheckBoxProps extends TouchableOpacityProps {\n /**Propriedade do tamanho do box do icon-check-outline */\n widthBoxCheckIcon?: number;\n\n /**Propriedade para saber se o checkbox esta marcado */\n isChecked: boolean;\n\n /**Propriedade para mudar a cor do icon quando for marcado */\n backgroundColorCheck?: string;\n\n /**Propriedade para mudar a cor do icon quando for marcado */\n backgroundBoxCheckIcon?: string;\n\n /**Propriedade do textLabel */\n textLabel?: string;\n\n /**Propriedade do tamanho do textLabel */\n textSizeLabel?: number;\n\n /**Propriedade da cor do textLabel */\n colorTextLabel?: string;\n}\n/**\n * EXPORTS\n */\nexport type { ICheckBoxProps };\n"],"mappings":"","ignoreList":[]}
@@ -11,8 +11,8 @@ var _typography = require("../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
@@ -114,8 +114,8 @@ const Coil = ({
114
114
  }))));
115
115
  };
116
116
 
117
- /**
118
- * EXPORTS
117
+ /**
118
+ * EXPORTS
119
119
  */
120
120
  exports.Coil = Coil;
121
121
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","Coil","description","handleNavigation","title","testID","status","backgroundColor","style","disabled","backgroundColorIcon","createElement","TouchableOpacity","activeOpacity","onPress","Box","width","flexStyle","flexDirection","alignItems","height","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","marginStyle","marginBottom","margins","md","elevation","justifyContent","Icons","icon","size","flexWrap","marginLeft","lg","Typography","text","fontSizes","fontFamily","fonts","inter_bold_700","color","neutral","letterSpacing","paddingTop","inter_semi_bold_600","background","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 { ICoil } from \"./interface\";\r\n\r\nconst Coil: React.FC<ICoil> = ({\r\n description,\r\n handleNavigation,\r\n title,\r\n testID,\r\n status,\r\n backgroundColor,\r\n style,\r\n disabled,\r\n backgroundColorIcon,\r\n}) => {\r\n return (\r\n <TouchableOpacity\r\n disabled={disabled}\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n height={70}\r\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: backgroundColor ?? theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n marginStyle={{ marginBottom: theme.margins.md }}\r\n style={[style, { elevation: 5 }]}\r\n >\r\n <Box\r\n width={\"80%\"}\r\n height={70}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-start\" }}\r\n >\r\n <Icons icon={\"LIFEBUOY\"} size={32} />\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\", flexWrap: \"wrap\" }}\r\n marginStyle={{ marginLeft: theme.margins.lg }}\r\n >\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes[\"2xl\"]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n paddingTop={theme.paddings.md}\r\n />\r\n <Typography\r\n text={description}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n <Box\r\n width={\"20%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-end\" }}\r\n height={70}\r\n >\r\n {status === \"Cancelado\" && (\r\n <Icons icon={\"RECUSED\"} size={32} background={backgroundColorIcon} />\r\n )}\r\n {status === \"Concluido\" && (\r\n <Icons icon={\"CHECK_CIRCLE\"} size={32} background={backgroundColorIcon} />\r\n )}\r\n {(status === \"Pendente\" || status === \"Andamento\") && (\r\n <Icons icon={\"EXCLAMATION_CIRCLE\"} size={32} background={backgroundColorIcon} />\r\n )}\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { Coil };\r\n"],"mappings":";;;;;;AAGA,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;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAKA,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FC,KAAK,EAAE,KAAM;IACbC,SAAS,EAAE;MAAEC,aAAa,EAAE,KAAK;MAAEC,UAAU,EAAE,QAAQ;MAAEoB,cAAc,EAAE;IAAW,CAAE;IACtFnB,MAAM,EAAE;EAAG,GAEVd,MAAM,KAAK,WAAW,iBACrBhB,MAAA,CAAAU,OAAA,CAAAW,aAAA,CAACf,SAAA,CAAA4C,KAAK;IAACC,IAAI,EAAE,SAAU;IAACC,IAAI,EAAE,EAAG;IAACe,UAAU,EAAE/C;EAAoB,CAAE,CACrE,EACAJ,MAAM,KAAK,WAAW,iBACrBhB,MAAA,CAAAU,OAAA,CAAAW,aAAA,CAACf,SAAA,CAAA4C,KAAK;IAACC,IAAI,EAAE,cAAe;IAACC,IAAI,EAAE,EAAG;IAACe,UAAU,EAAE/C;EAAoB,CAAE,CAC1E,EACA,CAACJ,MAAM,KAAK,UAAU,IAAIA,MAAM,KAAK,WAAW,kBAC/ChB,MAAA,CAAAU,OAAA,CAAAW,aAAA,CAACf,SAAA,CAAA4C,KAAK;IAACC,IAAI,EAAE,oBAAqB;IAACC,IAAI,EAAE,EAAG;IAACe,UAAU,EAAE/C;EAAoB,CAAE,CAE9E,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAgD,OAAA,CAAAzD,IAAA,GAAAA,IAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_iconsSvg","_theme","e","__esModule","default","Coil","description","handleNavigation","title","testID","status","backgroundColor","style","disabled","backgroundColorIcon","createElement","TouchableOpacity","activeOpacity","onPress","Box","width","flexStyle","flexDirection","alignItems","height","theme","colors","blue","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_medium","borderColor","paddingStyle","padding","paddings","marginStyle","marginBottom","margins","md","elevation","justifyContent","Icons","icon","size","flexWrap","marginLeft","lg","Typography","text","fontSizes","fontFamily","fonts","inter_bold_700","color","neutral","letterSpacing","paddingTop","inter_semi_bold_600","background","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 { ICoil } from \"./interface\";\n\nconst Coil: React.FC<ICoil> = ({\n description,\n handleNavigation,\n title,\n testID,\n status,\n backgroundColor,\n style,\n disabled,\n backgroundColorIcon,\n}) => {\n return (\n <TouchableOpacity\n disabled={disabled}\n activeOpacity={0.7}\n testID={testID}\n onPress={handleNavigation}\n >\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\n height={70}\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_medium,\n borderColor: backgroundColor ?? theme.colors.blue[400],\n }}\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n marginStyle={{ marginBottom: theme.margins.md }}\n style={[style, { elevation: 5 }]}\n >\n <Box\n width={\"80%\"}\n height={70}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-start\" }}\n >\n <Icons icon={\"LIFEBUOY\"} size={32} />\n\n <Box\n flexStyle={{ flexDirection: \"column\", flexWrap: \"wrap\" }}\n marginStyle={{ marginLeft: theme.margins.lg }}\n >\n <Typography\n text={title}\n size={theme.fontSizes[\"2xl\"]}\n fontFamily={theme.fonts.inter_bold_700}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n paddingTop={theme.paddings.md}\n />\n <Typography\n text={description}\n size={theme.fontSizes[\"2xs\"]}\n fontFamily={theme.fonts.inter_semi_bold_600}\n color={theme.colors.neutral[25]}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n\n <Box\n width={\"20%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"flex-end\" }}\n height={70}\n >\n {status === \"Cancelado\" && (\n <Icons icon={\"RECUSED\"} size={32} background={backgroundColorIcon} />\n )}\n {status === \"Concluido\" && (\n <Icons icon={\"CHECK_CIRCLE\"} size={32} background={backgroundColorIcon} />\n )}\n {(status === \"Pendente\" || status === \"Andamento\") && (\n <Icons icon={\"EXCLAMATION_CIRCLE\"} size={32} background={backgroundColorIcon} />\n )}\n </Box>\n </Box>\n </TouchableOpacity>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { Coil };\n"],"mappings":";;;;;;AAGA,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;AAGA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAKA,MAAMG,IAAqB,GAAGA,CAAC;EAC7BC,WAAW;EACXC,gBAAgB;EAChBC,KAAK;EACLC,MAAM;EACNC,MAAM;EACNC,eAAe;EACfC,KAAK;EACLC,QAAQ;EACRC;AACF,CAAC,KAAK;EACJ,oBACEpB,MAAA,CAAAU,OAAA,CAAAW,aAAA,CAAClB,YAAA,CAAAmB,gBAAgB;IACfH,QAAQ,EAAEA,QAAS;IACnBI,aAAa,EAAE,GAAI;IACnBR,MAAM,EAAEA,MAAO;IACfS,OAAO,EAAEX;EAAiB,gBAE1Bb,MAAA,CAAAU,OAAA,CAAAW,aAAA,CAACjB,IAAA,CAAAqB,GAAG;IACFC,KAAK,EAAE,MAAO;IACdC,SAAS,EAAE;MAAEC,aAAa,EAAE,KAAK;MAAEC,UAAU,EAAE;IAAS,CAAE;IAC1DC,MAAM,EAAE,EAAG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M,KAAK,UAAU,IAAIA,MAAM,KAAK,WAAW,kBAC/ChB,MAAA,CAAAU,OAAA,CAAAW,aAAA,CAACf,SAAA,CAAA4C,KAAK;IAACC,IAAI,EAAE,oBAAqB;IAACC,IAAI,EAAE,EAAG;IAACe,UAAU,EAAE/C;EAAoB,CAAE,CAE9E,CACF,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAgD,OAAA,CAAAzD,IAAA,GAAAA,IAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { ViewProps } from \"react-native\";\r\n\r\n// typing\r\nimport { IGlobalCss } from \"../../styles/global/interface\";\r\n\r\ninterface ICoil extends ViewProps, IGlobalCss {\r\n /**propriedade que indica o título da bobina */\r\n title: string;\r\n\r\n /**propriedade que indica a descrição da bobina */\r\n description: string;\r\n\r\n /**propriedade que indica que levar para tela da bobina */\r\n handleNavigation: () => void;\r\n\r\n /**propriedade que indica status da bobina */\r\n status?: \"Cancelado\" | \"Pendente\" | \"Concluido\" | \"Andamento\";\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ICoil };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { ViewProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface ICoil extends ViewProps, IGlobalCss {\n /**propriedade que indica o título da bobina */\n title: string;\n\n /**propriedade que indica a descrição da bobina */\n description: string;\n\n /**propriedade que indica que levar para tela da bobina */\n handleNavigation: () => void;\n\n /**propriedade que indica status da bobina */\n status?: \"Cancelado\" | \"Pendente\" | \"Concluido\" | \"Andamento\";\n}\n\n/**\n * EXPORTS\n */\nexport { ICoil };\n"],"mappings":"","ignoreList":[]}
@@ -11,8 +11,8 @@ 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
  //typing
23
23
 
24
- /**
25
- *
26
- * Componente FilterDateSelector para a interação do usuário com ui.
24
+ /**
25
+ *
26
+ * Componente FilterDateSelector para a interação do usuário com ui.
27
27
  */
28
28
  const FilterDateSelector = ({
29
29
  selectedDay,
@@ -92,8 +92,8 @@ const FilterDateSelector = ({
92
92
  });
93
93
  };
94
94
 
95
- /**
96
- * EXPORTS
95
+ /**
96
+ * EXPORTS
97
97
  */
98
98
  exports.FilterDateSelector = FilterDateSelector;
99
99
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_theme","_iconsSvg","e","__esModule","default","FilterDateSelector","selectedDay","handleSelectedDay","days","isLoading","testID","renderDayBlock","item","day","index","isSelected","date","createElement","TouchableOpacity","disabled","key","activeOpacity","onPress","Box","width","height","flexStyle","alignItems","justifyContent","backgroundColor","theme","colors","blue","gray","borderStyled","borderRadius","borderWidths","thick_large","borderColor","borderWidth","thin","marginStyle","marginRight","margins","marginTop","ActivityIndicator","size","color","Fragment","Icons","icon","neutral","Typography","text","toString","padStart","fontSizes","lg","fontFamily","fonts","inter_bold_700","dayName","slice","marginBottom","letterSpacing","daySorted","sort","a","b","Date","fullDate","getTime","dataWithAllOption","FlatList","horizontal","data","showsHorizontalScrollIndicator","renderItem","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { TouchableOpacity, ActivityIndicator, FlatList } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n//typing\r\nimport { IFilterDateSelector, ISelectedDay } from \"./interface\";\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n/**\r\n *\r\n * Componente FilterDateSelector para a interação do usuário com ui.\r\n */\r\nconst FilterDateSelector: React.FC<IFilterDateSelector> = ({\r\n selectedDay,\r\n handleSelectedDay,\r\n days,\r\n isLoading,\r\n testID,\r\n}) => {\r\n const renderDayBlock = ({ item: day, index }: { item: ISelectedDay; index: number }) => {\r\n const isSelected = selectedDay && selectedDay.date === day.date;\r\n return (\r\n <TouchableOpacity\r\n disabled={isSelected}\r\n key={index}\r\n activeOpacity={0.7}\r\n onPress={() => handleSelectedDay(day)}\r\n >\r\n <Box\r\n testID={testID}\r\n width={65}\r\n height={75}\r\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\" }}\r\n backgroundColor={isSelected ? theme.colors.blue[400] : theme.colors.gray[350]}\r\n borderStyled={{\r\n borderRadius: theme.borderWidths.thick_large,\r\n borderColor: isSelected ? theme.colors.blue[400] : theme.colors.gray[350],\r\n borderWidth: theme.borderWidths.thin,\r\n }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"2xs\"] }}\r\n >\r\n {isSelected && isLoading ? (\r\n <ActivityIndicator size=\"small\" color=\"white\" />\r\n ) : (\r\n <>\r\n {day.date === \"all\" ? (\r\n <Icons icon=\"REFRESH_CCW_DOT\" color={theme.colors.neutral[25]} />\r\n ) : (\r\n <>\r\n <Typography\r\n text={day.date === \"all\" ? \"\" : day.date.toString().padStart(2, \"0\")}\r\n size={theme.fontSizes.lg}\r\n color={theme.colors.neutral[25]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n />\r\n <Typography\r\n text={day.date === \"all\" ? \"Todos\" : day.dayName.slice(0, 3)}\r\n size={theme.fontSizes.lg}\r\n color={theme.colors.neutral[25]}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n marginBottom={day.date === \"all\" ? theme.margins[\"3xl\"] : 0}\r\n letterSpacing=\"o_16\"\r\n />\r\n </>\r\n )}\r\n </>\r\n )}\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n };\r\n const daySorted = days.sort(\r\n (a, b) => new Date(b.fullDate).getTime() - new Date(a.fullDate).getTime()\r\n );\r\n\r\n // Adiciona a opção \"Todos\" no início da lista\r\n const dataWithAllOption = [...daySorted];\r\n\r\n return (\r\n <FlatList\r\n horizontal\r\n data={dataWithAllOption}\r\n showsHorizontalScrollIndicator={false}\r\n renderItem={renderDayBlock}\r\n />\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { FilterDateSelector };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAIA,IAAAK,SAAA,GAAAL,OAAA;AAA+C,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAf/C;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAIA;AACA;AACA;AACA;AACA,MAAMG,kBAAiD,GAAGA,CAAC;EACzDC,WAAW;EACXC,iBAAiB;EACjBC,IAAI;EACJC,SAAS;EACTC;AACF,CAAC,KAAK;EACJ,MAAMC,cAAc,GAAGA,CAAC;IAAEC,IAAI,EAAEC,GAAG;IAAEC;EAA6C,CAAC,KAAK;IACtF,MAAMC,UAAU,GAAGT,WAAW,IAAIA,WAAW,CAACU,IAAI,KAAKH,GAAG,CAACG,IAAI;IAC/D,oBACEtB,MAAA,CAAAU,OAAA,CAAAa,aAAA,CAACpB,YAAA,CAAAqB,gBAAgB;MACfC,QAAQ,EAAEJ,UAAW;MACrBK,GAAG,EAAEN,KAAM;MACXO,aAA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C,CAACE,QAAQ,CAAC,CAACC,OAAO,CAAC,CAAC,GAAG,IAAIF,IAAI,CAACF,CAAC,CAACG,QAAQ,CAAC,CAACC,OAAO,CAAC,CAC1E,CAAC;;EAED;EACA,MAAMC,iBAAiB,GAAG,CAAC,GAAGP,SAAS,CAAC;EAExC,oBACEvE,MAAA,CAAAU,OAAA,CAAAa,aAAA,CAACpB,YAAA,CAAA4E,QAAQ;IACPC,UAAU;IACVC,IAAI,EAAEH,iBAAkB;IACxBI,8BAA8B,EAAE,KAAM;IACtCC,UAAU,EAAElE;EAAe,CAC5B,CAAC;AAEN,CAAC;;AAED;AACA;AACA;AAFAmE,OAAA,CAAAzE,kBAAA,GAAAA,kBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_theme","_iconsSvg","e","__esModule","default","FilterDateSelector","selectedDay","handleSelectedDay","days","isLoading","testID","renderDayBlock","item","day","index","isSelected","date","createElement","TouchableOpacity","disabled","key","activeOpacity","onPress","Box","width","height","flexStyle","alignItems","justifyContent","backgroundColor","theme","colors","blue","gray","borderStyled","borderRadius","borderWidths","thick_large","borderColor","borderWidth","thin","marginStyle","marginRight","margins","marginTop","ActivityIndicator","size","color","Fragment","Icons","icon","neutral","Typography","text","toString","padStart","fontSizes","lg","fontFamily","fonts","inter_bold_700","dayName","slice","marginBottom","letterSpacing","daySorted","sort","a","b","Date","fullDate","getTime","dataWithAllOption","FlatList","horizontal","data","showsHorizontalScrollIndicator","renderItem","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { TouchableOpacity, ActivityIndicator, FlatList } 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//typing\nimport { IFilterDateSelector, ISelectedDay } from \"./interface\";\nimport { Icons } from \"../../common/icons-svg\";\n\n/**\n *\n * Componente FilterDateSelector para a interação do usuário com ui.\n */\nconst FilterDateSelector: React.FC<IFilterDateSelector> = ({\n selectedDay,\n handleSelectedDay,\n days,\n isLoading,\n testID,\n}) => {\n const renderDayBlock = ({ item: day, index }: { item: ISelectedDay; index: number }) => {\n const isSelected = selectedDay && selectedDay.date === day.date;\n return (\n <TouchableOpacity\n disabled={isSelected}\n key={index}\n activeOpacity={0.7}\n onPress={() => handleSelectedDay(day)}\n >\n <Box\n testID={testID}\n width={65}\n height={75}\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\" }}\n backgroundColor={isSelected ? theme.colors.blue[400] : theme.colors.gray[350]}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_large,\n borderColor: isSelected ? theme.colors.blue[400] : theme.colors.gray[350],\n borderWidth: theme.borderWidths.thin,\n }}\n marginStyle={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"2xs\"] }}\n >\n {isSelected && isLoading ? (\n <ActivityIndicator size=\"small\" color=\"white\" />\n ) : (\n <>\n {day.date === \"all\" ? (\n <Icons icon=\"REFRESH_CCW_DOT\" color={theme.colors.neutral[25]} />\n ) : (\n <>\n <Typography\n text={day.date === \"all\" ? \"\" : day.date.toString().padStart(2, \"0\")}\n size={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n fontFamily={theme.fonts.inter_bold_700}\n />\n <Typography\n text={day.date === \"all\" ? \"Todos\" : day.dayName.slice(0, 3)}\n size={theme.fontSizes.lg}\n color={theme.colors.neutral[25]}\n fontFamily={theme.fonts.inter_bold_700}\n marginBottom={day.date === \"all\" ? theme.margins[\"3xl\"] : 0}\n letterSpacing=\"o_16\"\n />\n </>\n )}\n </>\n )}\n </Box>\n </TouchableOpacity>\n );\n };\n const daySorted = days.sort(\n (a, b) => new Date(b.fullDate).getTime() - new Date(a.fullDate).getTime()\n );\n\n // Adiciona a opção \"Todos\" no início da lista\n const dataWithAllOption = [...daySorted];\n\n return (\n <FlatList\n horizontal\n data={dataWithAllOption}\n showsHorizontalScrollIndicator={false}\n render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CAC5B,CAAC;AAEN,CAAC;;AAED;AACA;AACA;AAFAmE,OAAA,CAAAzE,kBAAA,GAAAA,kBAAA","ignoreList":[]}
@@ -8,7 +8,6 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _box = require("../box");
9
9
  var _typography = require("../typography");
10
10
  var _theme = require("../../styles/theme/theme");
11
- var _formatData = require("../../utils/format-data");
12
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
12
  /**
14
13
  * IMPORTS
@@ -58,7 +57,7 @@ const HistoryDetails = ({
58
57
  letterSpacing: "regular",
59
58
  numberOfLines: 1
60
59
  }), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
61
- text: `Data carregamento: ${(0, _formatData.formatDate)(new Date(date))}`,
60
+ text: `Data carregamento: ${date}`,
62
61
  color: _theme.theme.colors.neutral[25],
63
62
  size: _theme.theme.fontSizes.xs,
64
63
  fontFamily: _theme.theme.fonts.inter_regular_400,
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_theme","_formatData","e","__esModule","default","HistoryDetails","numero","local","date","duracao","createElement","Box","width","borderStyled","borderRadius","backgroundColor","theme","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","padding","paddings","xs","Typography","text","size","fontSizes","sm","fontFamily","fonts","inter_semi_bold_600","fontWeight","color","neutral","lineHeight","xl","letterSpacing","lg","inter_regular_400","numberOfLines","formatDate","Date","height","gray","align","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// typings\r\nimport { IHistoryDetails } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\nimport { formatDate } from \"../../utils/format-data\";\r\n\r\nconst HistoryDetails: React.FC<IHistoryDetails> = ({\r\n numero = \"01020304050607\",\r\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date = \"24/03/2025\",\r\n duracao = \"00:30\",\r\n}) => {\r\n return (\r\n <Box width=\"100%\" borderStyled={{ borderRadius: 8 }} backgroundColor={theme.colors.blue[400]}>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"column\",\r\n justifyContent: \"flex-start\",\r\n alignItems: \"flex-start\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n >\r\n <Typography\r\n text={`Carregamento - #${numero}`}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n lineHeight={theme.fontSizes.xl}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={local}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n <Typography\r\n text={`Data carregamento: ${formatDate(new Date(date))}`}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n lineHeight={theme.fontSizes.lg}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n\r\n <Box height={1} backgroundColor={theme.colors.gray[950]} />\r\n\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n >\r\n <Typography\r\n text={\"DURAÇÃO:\"}\r\n color={theme.colors.neutral[25]}\r\n size={24}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.neutral[25]}\r\n size={26}\r\n align=\"left\"\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { HistoryDetails };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAMA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAAqD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdrD;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAIA,MAAMG,cAAyC,GAAGA,CAAC;EACjDC,MAAM,GAAG,gBAAgB;EACzBC,KAAK,GAAG,uCAAuC;EAC/CC,IAAI,GAAG,YAAY;EACnBC,OAAO,GAAG;AACZ,CAAC,KAAK;EACJ,oBACEd,MAAA,CAAAS,OAAA,CAAAM,aAAA,CAACZ,IAAA,CAAAa,GAAG;IAACC,KAAK,EAAC,MAAM;IAACC,YAAY,EAAE;MAAEC,YAAY,EAAE;IAAE,CAAE;IAACC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAAE,gBAC3FvB,MAAA,CAAAS,OAAA,CAAAM,aAAA,CAACZ,IAAA,CAAAa,GAAG;IACFQ,SAAS,EAAE;MACTC,aAAa,EAAE,QAAQ;MACvBC,cAAc,EAAE,YAAY;MAC5BC,UAAU,EAAE;IACd,CAAE;IACFC,YAAY,EAAE;MAAEC,OAAO,EAAER,YAAK,CAACS,QAAQ,CAACC;IAAG;EAAE,gBAE7C/B,MAAA,CAAAS,OAAA,CAAAM,aAAA,CAACX,WAAA,CAAA4B,UAAU;IACTC,IAAI,EA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interopRequireDefault","require","_box","_typography","_theme","e","__esModule","default","HistoryDetails","numero","local","date","duracao","createElement","Box","width","borderStyled","borderRadius","backgroundColor","theme","colors","blue","flexStyle","flexDirection","justifyContent","alignItems","paddingStyle","padding","paddings","xs","Typography","text","size","fontSizes","sm","fontFamily","fonts","inter_semi_bold_600","fontWeight","color","neutral","lineHeight","xl","letterSpacing","lg","inter_regular_400","numberOfLines","height","gray","align","inter_medium_500","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// typings\r\nimport { IHistoryDetails } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst HistoryDetails: React.FC<IHistoryDetails> = ({\r\n numero = \"01020304050607\",\r\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date = \"24/03/2025\",\r\n duracao = \"00:30\",\r\n}) => {\r\n return (\r\n <Box width=\"100%\" borderStyled={{ borderRadius: 8 }} backgroundColor={theme.colors.blue[400]}>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"column\",\r\n justifyContent: \"flex-start\",\r\n alignItems: \"flex-start\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n >\r\n <Typography\r\n text={`Carregamento - #${numero}`}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n lineHeight={theme.fontSizes.xl}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={local}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n <Typography\r\n text={`Data carregamento: ${date}`}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n lineHeight={theme.fontSizes.lg}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n\r\n <Box height={1} backgroundColor={theme.colors.gray[950]} />\r\n\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.xs }}\r\n >\r\n <Typography\r\n text={\"DURAÇÃO:\"}\r\n color={theme.colors.neutral[25]}\r\n size={24}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.neutral[25]}\r\n size={26}\r\n align=\"left\"\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { HistoryDetails };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAMA,IAAAG,MAAA,GAAAH,OAAA;AAAiD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAbjD;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAGA,MAAMG,cAAyC,GAAGA,CAAC;EACjDC,MAAM,GAAG,gBAAgB;EACzBC,KAAK,GAAG,uCAAuC;EAC/CC,IAAI,GAAG,YAAY;EACnBC,OAAO,GAAG;AACZ,CAAC,KAAK;EACJ,oBACEb,MAAA,CAAAQ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,aAAA,CAACV,WAAA,CAAA2B,UAAU;IACTC,IAAI,EAAEnB,OAAQ;IACd2B,KAAK,EAAEpB,YAAK,CAACC,MAAM,CAACoB,OAAO,CAAC,EAAE,CAAE;IAChCR,IAAI,EAAE,EAAG;IACTiB,KAAK,EAAC,MAAM;IACZd,UAAU,EAAEhB,YAAK,CAACiB,KAAK,CAACc,gBAAiB;IACzCZ,UAAU,EAAC,KAAK;IAChBG,UAAU,EAAEtB,YAAK,CAACc,SAAS,CAAC,KAAK,CAAE;IACnCU,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAQ,OAAA,CAAA3C,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\ntype IHistoryDetails = {\r\n /**número do carregamento */\r\n numero: string;\r\n /**local onde vai ser o carregamento */\r\n local: string;\r\n /**data de quando o carregamento vai ser realizado */\r\n date: string;\r\n /**duração para o carregamento */\r\n duracao: string;\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IHistoryDetails };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\ntype IHistoryDetails = {\n /**número do carregamento */\n numero: string;\n /**local onde vai ser o carregamento */\n local: string;\n /**data de quando o carregamento vai ser realizado */\n date: string;\n /**duração para o carregamento */\n duracao: string;\n};\n\n/**\n * EXPORTS\n */\nexport { IHistoryDetails };\n"],"mappings":"","ignoreList":[]}
@@ -11,8 +11,8 @@ var _iconsSvg = require("../../common/icons-svg");
11
11
  var _theme = require("../../styles/theme/theme");
12
12
  var _returnColor = require("../../utils/status-color/return-color");
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
@@ -25,9 +25,9 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
25
25
 
26
26
  // utils
27
27
 
28
- /**
29
- *
30
- * Componente ImageCaptureWithRemove para a interação do usuário com ui.
28
+ /**
29
+ *
30
+ * Componente ImageCaptureWithRemove para a interação do usuário com ui.
31
31
  */
32
32
  const ImageCaptureWithRemove = ({
33
33
  width = 50,
@@ -89,8 +89,8 @@ const ImageCaptureWithRemove = ({
89
89
  })));
90
90
  };
91
91
 
92
- /**
93
- * EXPORTS
92
+ /**
93
+ * EXPORTS
94
94
  */
95
95
  exports.ImageCaptureWithRemove = ImageCaptureWithRemove;
96
96
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_iconsSvg","_theme","_returnColor","e","__esModule","default","ImageCaptureWithRemove","width","height","foto","handleTakePhoto","onRemove","status","statusColor","createElement","TouchableOpacity","testID","activeOpacity","style","position","onPress","disabled","Box","flexStyle","flexDirection","alignItems","justifyContent","borderStyled","borderWidth","theme","borderWidths","thick","thin","borderRadius","fontSizes","md","borderColor","getBorderColor","colors","blue","Fragment","Image","resizeMode","source","uri","top","right","Icons","icon","color","red","size","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { Image, TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\n\r\n// comons / icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// typings\r\nimport { IImageCaptureWithRemoveProps } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// utils\r\nimport { getBorderColor } from \"../../utils/status-color/return-color\";\r\n\r\n/**\r\n *\r\n * Componente ImageCaptureWithRemove para a interação do usuário com ui.\r\n */\r\nconst ImageCaptureWithRemove: React.FC<IImageCaptureWithRemoveProps> = ({\r\n width = 50,\r\n height = 50,\r\n foto = null,\r\n handleTakePhoto,\r\n onRemove,\r\n status,\r\n}: IImageCaptureWithRemoveProps) => {\r\n const statusColor = status === \"Cancelado\" || status === \"Pendente\";\r\n\r\n return (\r\n <TouchableOpacity\r\n testID=\"image-capture-touchable\"\r\n activeOpacity={0.7}\r\n style={{ position: \"relative\" }}\r\n onPress={handleTakePhoto}\r\n disabled={!!foto}\r\n >\r\n <Box\r\n width={width}\r\n height={height}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\r\n testID=\"plus-icon-box\"\r\n borderStyled={{\r\n borderWidth: statusColor ? theme.borderWidths.thick : theme.borderWidths.thin,\r\n borderRadius: theme.fontSizes.md,\r\n borderColor: statusColor ? getBorderColor(status) : theme.colors.blue[400],\r\n }}\r\n >\r\n {foto ? (\r\n <>\r\n <Image\r\n testID=\"captured-image\"\r\n style={{\r\n width: \"100%\",\r\n height: \"100%\",\r\n borderRadius: theme.fontSizes.md,\r\n resizeMode: \"cover\",\r\n }}\r\n source={{\r\n uri: foto,\r\n }}\r\n />\r\n\r\n <TouchableOpacity\r\n testID=\"remove-button\"\r\n style={{ position: \"absolute\", top: 2, right: 4 }}\r\n onPress={onRemove}\r\n >\r\n <Icons icon=\"X_CIRCLE\" color={theme.colors.red[400]} size={18} />\r\n </TouchableOpacity>\r\n </>\r\n ) : (\r\n <Icons icon=\"PLUS\" color={theme.colors.blue[400]} />\r\n )}\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ImageCaptureWithRemove };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAMA,IAAAI,MAAA,GAAAJ,OAAA;AAGA,IAAAK,YAAA,GAAAL,OAAA;AAAuE,SAAAD,uBAAAO,CAAA,WAAA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AAAnB,MAAA,CAAAU,OAAA,CAAAmC,QAAA,qBACE7C,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAAChB,YAAA,CAAA2C,KAAK;IACJzB,MAAM,EAAC,gBAAgB;IACvBE,KAAK,EAAE;MACLX,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,MAAM;MACdyB,YAAY,EAAEJ,YAAK,CAACK,SAAS,CAACC,EAAE;MAChCO,UAAU,EAAE;IACd,CAAE;IACFC,MAAM,EAAE;MACNC,GAAG,EAAEnC;IACP;EAAE,CACH,CAAC,eAEFd,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAAChB,YAAA,CAAAiB,gBAAgB;IACfC,MAAM,EAAC,eAAe;IACtBE,KAAK,EAAE;MAAEC,QAAQ,EAAE,UAAU;MAAE0B,GAAG,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAE,CAAE;IAClD1B,OAAO,EAAET;EAAS,gBAElBhB,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACd,SAAA,CAAA+C,KAAK;IAACC,IAAI,EAAC,UAAU;IAACC,KAAK,EAAEpB,YAAK,CAACS,MAAM,CAACY,GAAG,CAAC,GAAG,CAAE;IAACC,IAAI,EAAE;EAAG,CAAE,CAChD,CAClB,CAAC,gBAEHxD,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACd,SAAA,CAAA+C,KAAK;IAACC,IAAI,EAAC,MAAM;IAACC,KAAK,EAAEpB,YAAK,CAACS,MAAM,CAACC,IAAI,CAAC,GAAG;EAAE,CAAE,CAElD,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAa,OAAA,CAAA9C,sBAAA,GAAAA,sBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_iconsSvg","_theme","_returnColor","e","__esModule","default","ImageCaptureWithRemove","width","height","foto","handleTakePhoto","onRemove","status","statusColor","createElement","TouchableOpacity","testID","activeOpacity","style","position","onPress","disabled","Box","flexStyle","flexDirection","alignItems","justifyContent","borderStyled","borderWidth","theme","borderWidths","thick","thin","borderRadius","fontSizes","md","borderColor","getBorderColor","colors","blue","Fragment","Image","resizeMode","source","uri","top","right","Icons","icon","color","red","size","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Image, TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\n\n// comons / icons\nimport { Icons } from \"../../common/icons-svg\";\n\n// typings\nimport { IImageCaptureWithRemoveProps } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n// utils\nimport { getBorderColor } from \"../../utils/status-color/return-color\";\n\n/**\n *\n * Componente ImageCaptureWithRemove para a interação do usuário com ui.\n */\nconst ImageCaptureWithRemove: React.FC<IImageCaptureWithRemoveProps> = ({\n width = 50,\n height = 50,\n foto = null,\n handleTakePhoto,\n onRemove,\n status,\n}: IImageCaptureWithRemoveProps) => {\n const statusColor = status === \"Cancelado\" || status === \"Pendente\";\n\n return (\n <TouchableOpacity\n testID=\"image-capture-touchable\"\n activeOpacity={0.7}\n style={{ position: \"relative\" }}\n onPress={handleTakePhoto}\n disabled={!!foto}\n >\n <Box\n width={width}\n height={height}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\n testID=\"plus-icon-box\"\n borderStyled={{\n borderWidth: statusColor ? theme.borderWidths.thick : theme.borderWidths.thin,\n borderRadius: theme.fontSizes.md,\n borderColor: statusColor ? getBorderColor(status) : theme.colors.blue[400],\n }}\n >\n {foto ? (\n <>\n <Image\n testID=\"captured-image\"\n style={{\n width: \"100%\",\n height: \"100%\",\n borderRadius: theme.fontSizes.md,\n resizeMode: \"cover\",\n }}\n source={{\n uri: foto,\n }}\n />\n\n <TouchableOpacity\n testID=\"remove-button\"\n style={{ position: \"absolute\", top: 2, right: 4 }}\n onPress={onRemove}\n >\n <Icons icon=\"X_CIRCLE\" color={theme.colors.red[400]} size={18} />\n </TouchableOpacity>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AAK;IAACC,IAAI,EAAC,MAAM;IAACC,KAAK,EAAEpB,YAAK,CAACS,MAAM,CAACC,IAAI,CAAC,GAAG;EAAE,CAAE,CAElD,CACW,CAAC;AAEvB,CAAC;;AAED;AACA;AACA;AAFAa,OAAA,CAAA9C,sBAAA,GAAAA,sBAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\ntype IImageCaptureWithRemoveProps = {\r\n /**define o tamanho */\r\n width?: number;\r\n /**define o altura */\r\n height?: number;\r\n /**Imagem capturada */\r\n foto?: string | null;\r\n\r\n /**Remove a imagem capturada */\r\n onRemove: () => void;\r\n\r\n /**Captura a imagem */\r\n handleTakePhoto: () => void;\r\n\r\n /**Define o status das fotos */\r\n status?: \"Pendente\" | \"Concluido\" | \"Cancelado\" | \"Andamento\";\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IImageCaptureWithRemoveProps };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\ntype IImageCaptureWithRemoveProps = {\n /**define o tamanho */\n width?: number;\n /**define o altura */\n height?: number;\n /**Imagem capturada */\n foto?: string | null;\n\n /**Remove a imagem capturada */\n onRemove: () => void;\n\n /**Captura a imagem */\n handleTakePhoto: () => void;\n\n /**Define o status das fotos */\n status?: \"Pendente\" | \"Concluido\" | \"Cancelado\" | \"Andamento\";\n};\n\n/**\n * EXPORTS\n */\nexport { IImageCaptureWithRemoveProps };\n"],"mappings":"","ignoreList":[]}
@@ -10,8 +10,8 @@ var _typography = require("../typography");
10
10
  var _button = require("../button");
11
11
  var _theme = require("../../styles/theme/theme");
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
- /**
14
- * IMPORTS
13
+ /**
14
+ * IMPORTS
15
15
  */
16
16
 
17
17
  // component
@@ -20,16 +20,19 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
20
20
 
21
21
  // styles
22
22
 
23
- /**
24
- *
25
- * Componente LoadingProgress para a interação do usuário com ui.
23
+ /**
24
+ *
25
+ * Componente LoadingProgress para a interação do usuário com ui.
26
26
  */
27
27
  const LoadingProgress = ({
28
28
  textLoading,
29
- handleClick
29
+ handleClick,
30
+ backgroundColor
30
31
  }) => {
31
32
  const truncatedText = textLoading.length > 15 ? textLoading.substring(0, 13) + "..." : textLoading;
32
- return /*#__PURE__*/_react.default.createElement(_box.Box, null, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
33
+ return /*#__PURE__*/_react.default.createElement(_box.Box, {
34
+ backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : _theme.theme.colors.neutral[25]
35
+ }, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
33
36
  text: "Carregamento em Andamento",
34
37
  size: _theme.theme.fontSizes.lg,
35
38
  fontFamily: _theme.theme.fonts.inter_medium_500,
@@ -96,8 +99,8 @@ const LoadingProgress = ({
96
99
  }))));
97
100
  };
98
101
 
99
- /**
100
- * EXPORTS
102
+ /**
103
+ * EXPORTS
101
104
  */
102
105
  exports.LoadingProgress = LoadingProgress;
103
106
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_button","_theme","e","__esModule","default","LoadingProgress","textLoading","handleClick","truncatedText","length","substring","createElement","Box","Typography","text","size","theme","fontSizes","lg","fontFamily","fonts","inter_medium_500","color","colors","gray","paddingStyle","padding","paddings","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_large","borderStyle","borderColor","neutral","marginStyle","marginTop","margins","marginBottom","flexStyle","flexDirection","textAlign","md","inter_bold_700","blue","letterSpacing","alignItems","justifyContent","Button","title","onPress","backgroundColor","isLoading","height","width","buttonTextStyle","fontSize","thick_medium","exports"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// component\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\nimport { Button } from \"../button\";\n\n// typings\nimport { ILoadingProgress } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n *\n * Componente LoadingProgress para a interação do usuário com ui.\n */\nconst LoadingProgress: React.FC<ILoadingProgress> = ({\n textLoading,\n handleClick,\n}: ILoadingProgress) => {\n const truncatedText =\n textLoading.length > 15 ? textLoading.substring(0, 13) + \"...\" : textLoading;\n return (\n <Box>\n <Typography\n text=\"Carregamento em Andamento\"\n size={theme.fontSizes.lg}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n />\n <Box\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\n borderStyled={{\n borderWidth: theme.borderWidths.thin,\n borderRadius: theme.borderWidths.thick_large,\n borderStyle: \"dashed\",\n borderColor: theme.colors.neutral[200],\n }}\n marginStyle={{ marginTop: theme.margins[\"2xs\"], marginBottom: theme.margins[\"2xs\"] }}\n >\n <Box flexStyle={{ flexDirection: \"row\", textAlign: \"center\" }}>\n <Typography\n text={\"N° Carregamento: \"}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_bold_700}\n color={theme.colors.blue[400]}\n />\n\n <Typography\n text={truncatedText}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_medium_500}\n color={theme.colors.gray[800]}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\", flexDirection: \"row\" }}\n marginStyle={{ marginTop: theme.margins[\"2xs\"] }}\n >\n <Button\n title={\"Visualizar\"}\n onPress={handleClick}\n backgroundColor={theme.colors.blue[400]}\n isLoading={false}\n height={32}\n width={\"75%\"}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_medium_500,\n fontSize: theme.fontSizes.lg,\n }}\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\", flexDirection: \"row\" }}\n borderStyled={{\n borderRadius: theme.borderWidths.thick_medium,\n }}\n />\n </Box>\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { LoadingProgress };\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAMA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAGA;;AAKA;;AAGA;;AAGA;AACA;AACA;AACA;AACA,MAAMG,eAA2C,GAAGA,CAAC;EACnDC,WAAW;EACXC;AACgB,CAAC,KAAK;EACtB,MAAMC,aAAa,GACjBF,WAAW,CAACG,MAAM,GAAG,EAAE,GAAGH,WAAW,CAACI,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,GAAGJ,WAAW;EAC9E,oBACEX,MAAA,CAAAS,OAAA,CAAAO,aAAA,CAACb,IAAA,CAAAc,GAAG,qBACFjB,MAAA,CAAAS,OAAA,CAAAO,aAAA,CAACZ,WAAA,CAAAc,UAAU;IACTC,IAAI,EAAC,2BAA2B;IAChCC,IAAI,EAAEC,YAAK,CAACC,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAEH,YAAK,CAACI,KAAK,CAACC,gBAAiB;IACzCC,KAAK,EAAEN,YAAK,CAACO,MAAM,CAACC,IAAI,CAAC,GAAG;EAAE,CAC/B,CAAC,eACF7B,MAAA,CAAAS,OAAA,CAAAO,aAAA,CAACb,IAAA,CAAAc,GAAG;IACFa,YAAY,EAAE;MAAEC,OAAO,EAAEV,YAAK,CAACW,QAAQ,CAAC,KAAK;IAAE,CAAE;IACjDC,YAAY,EAAE;MACZC,WAAW,EAAEb,YAAK,CAACc,YAAY,CAACC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AAE;MAAEC,SAAS,EAAEtB,YAAK,CAACuB,OAAO,CAAC,KAAK;IAAE;EAAE,gBAEjD5C,MAAA,CAAAS,OAAA,CAAAO,aAAA,CAACX,OAAA,CAAAkD,MAAM;IACLC,KAAK,EAAE,YAAa;IACpBC,OAAO,EAAE7C,WAAY;IACrB8C,eAAe,EAAErC,YAAK,CAACO,MAAM,CAACuB,IAAI,CAAC,GAAG,CAAE;IACxCQ,SAAS,EAAE,KAAM;IACjBC,MAAM,EAAE,EAAG;IACXC,KAAK,EAAE,KAAM;IACbC,eAAe,EAAE;MACfnC,KAAK,EAAEN,YAAK,CAACO,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;MAC/BjB,UAAU,EAAEH,YAAK,CAACI,KAAK,CAACC,gBAAgB;MACxCqC,QAAQ,EAAE1C,YAAK,CAACC,SAAS,CAACC;IAC5B,CAAE;IACFuB,SAAS,EAAE;MAAEO,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE,QAAQ;MAAEP,aAAa,EAAE;IAAM,CAAE;IACpFd,YAAY,EAAE;MACZI,YAAY,EAAEhB,YAAK,CAACc,YAAY,CAAC6B;IACnC;EAAE,CACH,CACE,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAC,OAAA,CAAAvD,eAAA,GAAAA,eAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_button","_theme","e","__esModule","default","LoadingProgress","textLoading","handleClick","backgroundColor","truncatedText","length","substring","createElement","Box","theme","colors","neutral","Typography","text","size","fontSizes","lg","fontFamily","fonts","inter_medium_500","color","gray","paddingStyle","padding","paddings","borderStyled","borderWidth","borderWidths","thin","borderRadius","thick_large","borderStyle","borderColor","marginStyle","marginTop","margins","marginBottom","flexStyle","flexDirection","textAlign","md","inter_bold_700","blue","letterSpacing","alignItems","justifyContent","Button","title","onPress","isLoading","height","width","buttonTextStyle","fontSize","thick_medium","exports"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// component\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\nimport { Button } from \"../button\";\r\n\r\n// typings\r\nimport { ILoadingProgress } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n/**\r\n *\r\n * Componente LoadingProgress para a interação do usuário com ui.\r\n */\r\nconst LoadingProgress: React.FC<ILoadingProgress> = ({\r\n textLoading,\r\n handleClick,\r\n backgroundColor,\r\n}: ILoadingProgress) => {\r\n const truncatedText =\r\n textLoading.length > 15 ? textLoading.substring(0, 13) + \"...\" : textLoading;\r\n return (\r\n <Box backgroundColor={backgroundColor ?? theme.colors.neutral[25]}>\r\n <Typography\r\n text=\"Carregamento em Andamento\"\r\n size={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.gray[800]}\r\n />\r\n <Box\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_large,\r\n borderStyle: \"dashed\",\r\n borderColor: theme.colors.neutral[200],\r\n }}\r\n marginStyle={{ marginTop: theme.margins[\"2xs\"], marginBottom: theme.margins[\"2xs\"] }}\r\n >\r\n <Box flexStyle={{ flexDirection: \"row\", textAlign: \"center\" }}>\r\n <Typography\r\n text={\"N° Carregamento: \"}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n color={theme.colors.blue[400]}\r\n />\r\n\r\n <Typography\r\n text={truncatedText}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.gray[800]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\", flexDirection: \"row\" }}\r\n marginStyle={{ marginTop: theme.margins[\"2xs\"] }}\r\n >\r\n <Button\r\n title={\"Visualizar\"}\r\n onPress={handleClick}\r\n backgroundColor={theme.colors.blue[400]}\r\n isLoading={false}\r\n height={32}\r\n width={\"75%\"}\r\n buttonTextStyle={{\r\n color: theme.colors.neutral[25],\r\n fontFamily: theme.fonts.inter_medium_500,\r\n fontSize: theme.fontSizes.lg,\r\n }}\r\n flexStyle={{ alignItems: \"center\", justifyContent: \"center\", flexDirection: \"row\" }}\r\n borderStyled={{\r\n borderRadius: theme.borderWidths.thick_medium,\r\n }}\r\n />\r\n </Box>\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { LoadingProgress };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAMA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAGA;;AAKA;;AAGA;;AAGA;AACA;AACA;AACA;AACA,MAAMG,eAA2C,GAAGA,CAAC;EACnDC,WAAW;EACXC,WAAW;EACXC;AACgB,CAAC,KAAK;EACtB,MAAMC,aAAa,GACjBH,WAAW,CAACI,MAAM,GAAG,EAAE,GAAGJ,WAAW,CAACK,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,GAAGL,WAAW;EAC9E,oBACEX,MAAA,CAAAS,OAAA,CAAAQ,aAAA,CAACd,IAAA,CAAAe,GAAG;IAACL,eAAe,EAAEA,eAAe,aAAfA,eAAe,cAAfA,eAAe,GAAIM,YAAK,CAACC,MAAM,CAACC,OAAO,CAAC,EAAE;EAAE,gBAChErB,MAAA,CAAAS,OAAA,CAAAQ,aAAA,CAACb,WAAA,CAAAkB,UAAU;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AAAA,eAAA","ignoreList":[]}
@@ -77,15 +77,17 @@ const NotificationLoading = ({
77
77
  }, /*#__PURE__*/_react.default.createElement(_typography.Typography, {
78
78
  text: "Carregamento - ",
79
79
  size: _theme.theme.fontSizes.sm,
80
- lineHeight: _theme.theme.fontSizes.sm,
80
+ lineHeight: _theme.theme.fontSizes.lg,
81
81
  fontFamily: _theme.theme.fonts.inter_semi_bold_600,
82
+ fontWeight: "600",
82
83
  color: _theme.theme.colors.neutral[25],
83
84
  letterSpacing: "regular"
84
85
  }), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
85
86
  text: title,
86
87
  size: _theme.theme.fontSizes.xs,
87
- lineHeight: _theme.theme.fontSizes.sm,
88
+ lineHeight: _theme.theme.fontSizes.md,
88
89
  fontFamily: _theme.theme.fonts.inter_bold_700,
90
+ fontWeight: "700",
89
91
  color: _theme.theme.colors.neutral[25],
90
92
  letterSpacing: "regular"
91
93
  })), /*#__PURE__*/_react.default.createElement(_box.Box, {
@@ -104,6 +106,7 @@ const NotificationLoading = ({
104
106
  size: _theme.theme.fontSizes.sm,
105
107
  lineHeight: (_theme$fontSizes$lg = _theme.theme.fontSizes.lg) !== null && _theme$fontSizes$lg !== void 0 ? _theme$fontSizes$lg : 18,
106
108
  fontFamily: _theme.theme.fonts.inter_medium_500,
109
+ fontWeight: "500",
107
110
  color: _theme.theme.colors.neutral[25],
108
111
  letterSpacing: "regular"
109
112
  }), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
@@ -111,6 +114,7 @@ const NotificationLoading = ({
111
114
  size: _theme.theme.fontSizes.sm,
112
115
  lineHeight: (_theme$fontSizes$lg2 = _theme.theme.fontSizes.lg) !== null && _theme$fontSizes$lg2 !== void 0 ? _theme$fontSizes$lg2 : 18,
113
116
  fontFamily: _theme.theme.fonts.inter_medium_500,
117
+ fontWeight: "500",
114
118
  color: _theme.theme.colors.neutral[25],
115
119
  letterSpacing: "regular"
116
120
  })), /*#__PURE__*/_react.default.createElement(_box.Box, {
@@ -122,6 +126,8 @@ const NotificationLoading = ({
122
126
  text: String(dataStart),
123
127
  size: _theme.theme.fontSizes["2xs"],
124
128
  fontFamily: _theme.theme.fonts.inter_medium_500,
129
+ fontWeight: "500",
130
+ lineHeight: _theme.theme.fontSizes.sm,
125
131
  color: _theme.theme.colors.neutral[25],
126
132
  letterSpacing: "regular",
127
133
  marginRight: 8
@@ -133,6 +139,7 @@ const NotificationLoading = ({
133
139
  text: notification,
134
140
  size: _theme.theme.fontSizes["2xs"],
135
141
  fontFamily: _theme.theme.fonts.inter_medium_500,
142
+ fontWeight: "500",
136
143
  lineHeight: (_theme$fontSizes$sm = _theme.theme.fontSizes.sm) !== null && _theme$fontSizes$sm !== void 0 ? _theme$fontSizes$sm : 14,
137
144
  color: _theme.theme.colors.neutral[25],
138
145
  letterSpacing: "regular",
@@ -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","disabled","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","fontFamily","fonts","inter_semi_bold_600","letterSpacing","xs","inter_bold_700","justifyContent","lg","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\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n disabled={readonly}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;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GAAAnC,mBAAA,GAAEY,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAlC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC4B,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCU,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":[]}
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","disabled","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\r\n activeOpacity={0.7}\r\n testID={testID}\r\n onPress={handleNavigation}\r\n disabled={readonly}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}\r\n backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],\r\n }}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n style={style}\r\n >\r\n <Box width={\"9%\"}>\r\n <Icons icon={\"BELL\"} size={32} color={theme.colors.neutral[25]} />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ flexDirection: \"column\" }}\r\n width={\"91%\"}\r\n paddingStyle={{ paddingLeft: 7 }}\r\n >\r\n {/* Carregamento identificação */}\r\n <Box flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n <Typography\r\n text={\"Carregamento - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={title}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n {/* Data do carregamento */}\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Data - \"}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Typography\r\n text={String(date)}\r\n size={theme.fontSizes.sm}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={String(dataStart)}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n marginRight={8}\r\n />\r\n\r\n <Icons\r\n icon={\"ELLIPSE\"}\r\n color={\r\n readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)\r\n }\r\n size={9}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n {/* Mensagem de notificação do carregamento */}\r\n <Typography\r\n text={notification}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.sm ?? 14}\r\n color={theme.colors.neutral[25]}\r\n letterSpacing={\"regular\"}\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { NotificationLoading };\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,IAAA,GAAAF,OAAA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,CAAAkD,UAAU;IACTC,IAAI,EAAEtC,YAAa;IACnBiC,IAAI,EAAEf,YAAK,CAACqB,SAAS,CAAC,KAAK,CAAE;IAC7BI,UAAU,EAAEzB,YAAK,CAAC0B,KAAK,CAACQ,gBAAiB;IACzCN,UAAU,EAAC,KAAK;IAChBL,UAAU,GAAAnC,mBAAA,GAAEY,YAAK,CAACqB,SAAS,CAACC,EAAE,cAAAlC,mBAAA,cAAAA,mBAAA,GAAI,EAAG;IACrC4B,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,CAAAhE,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { ViewProps } from \"react-native\";\r\n\r\n// typing\r\nimport { IGlobalCss } from \"../../styles/global/interface\";\r\n\r\ninterface INotificationLoading extends ViewProps, IGlobalCss {\r\n /**propriedade que indica o título do carregamento */\r\n title: string;\r\n\r\n /**propriedade que indica a data do carregamento */\r\n date: string | Date;\r\n\r\n /**função que faz a navegação da tela */\r\n handleNavigation: () => void;\r\n\r\n /**propriedade que indica a notificação */\r\n notification: string;\r\n\r\n /**propriedade que indica o status da notificação */\r\n statusNotify: string;\r\n\r\n /**propriedade que indica a data da notificação */\r\n dataStart: string | Date;\r\n\r\n /**propriedade que indica se a notificação está lida ou não */\r\n readonly?: boolean;\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { INotificationLoading };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { ViewProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\ninterface INotificationLoading extends ViewProps, IGlobalCss {\n /**propriedade que indica o título do carregamento */\n title: string;\n\n /**propriedade que indica a data do carregamento */\n date: string | Date;\n\n /**função que faz a navegação da tela */\n handleNavigation: () => void;\n\n /**propriedade que indica a notificação */\n notification: string;\n\n /**propriedade que indica o status da notificação */\n statusNotify: string;\n\n /**propriedade que indica a data da notificação */\n dataStart: string | Date;\n\n /**propriedade que indica se a notificação está lida ou não */\n readonly?: boolean;\n}\n\n/**\n * EXPORTS\n */\nexport { INotificationLoading };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_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\";\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\n// typing\r\nimport { IProfileMenuOption } from \"./interface\";\r\n\r\nconst ProfileMenuOption: React.FC<IProfileMenuOption> = ({\r\n handleNavigation,\r\n icon,\r\n text,\r\n backgroundColor,\r\n colorIcon,\r\n}) => {\r\n return (\r\n <TouchableOpacity onPress={handleNavigation} activeOpacity={0.7}>\r\n <Box\r\n flexStyle={{\r\n alignItems: \"center\",\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n }}\r\n width={\"100%\"}\r\n backgroundColor={backgroundColor ?? theme.colors.blue[400]}\r\n paddingStyle={{ padding: theme.paddings[\"2xs\"] }}\r\n borderStyled={{\r\n borderRadius: theme.borderWidths.thick_medium,\r\n borderColor: theme.colors.blue[400],\r\n }}\r\n marginStyle={{ marginBottom: theme.margins.xs }}\r\n >\r\n <Box flexStyle={{ alignItems: \"center\", flexDirection: \"row\" }}>\r\n <Icons icon={icon ?? \"AGENT\"} color={colorIcon ?? theme.colors.neutral[25]} />\r\n <Typography\r\n text={text}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.lg}\r\n color={theme.colors.neutral[25]}\r\n marginLeft={theme.margins.xs}\r\n />\r\n </Box>\r\n <Typography\r\n text=\"›\"\r\n size={theme.fontSizes[\"2xl\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n color={theme.colors.neutral[25]}\r\n />\r\n </Box>\r\n </TouchableOpacity>\r\n );\r\n};\r\n\r\nexport { ProfileMenuOption };\r\n"],"mappings":";;;;;;AAAA,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;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,C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BC,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,cAAe;IACvCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACO,EAAG;IAC/BX,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCW,UAAU,EAAE5B,YAAK,CAACa,OAAO,CAACC;EAAG,CAC9B,CACE,CAAC,eACNzC,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACZ,WAAA,CAAAwC,UAAU;IACT/B,IAAI,EAAC,QAAG;IACRgC,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACM,gBAAiB;IACzCJ,UAAU,EAAE,KAAM;IAClBT,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE;EAAE,CACjC,CACE,CACW,CAAC;AAEvB,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","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_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,GAAAF,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;EAChB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AAA,CAACZ,WAAA,CAAAwC,UAAU;IACT/B,IAAI,EAAEA,IAAK;IACXgC,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,cAAe;IACvCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACO,EAAG;IAC/BX,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAE;IAChCW,UAAU,EAAE5B,YAAK,CAACa,OAAO,CAACC;EAAG,CAC9B,CACE,CAAC,eACNzC,MAAA,CAAAU,OAAA,CAAAO,aAAA,CAACZ,WAAA,CAAAwC,UAAU;IACT/B,IAAI,EAAC,QAAG;IACRgC,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACM,gBAAiB;IACzCJ,UAAU,EAAE,KAAM;IAClBT,KAAK,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE;EAAE,CACjC,CACE,CACW,CAAC;AAEvB,CAAC;AAACa,OAAA,CAAA9C,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { TouchableOpacityProps } from \"react-native\";\r\n\r\n// typing\r\nimport { IGlobalCss } from \"../../styles/global/interface\";\r\n\r\n// svg\r\nimport { SVG_NAME } from \"../../common/icons-svg/constants\";\r\n\r\ninterface IProfileMenuOption extends TouchableOpacityProps, IGlobalCss {\r\n /**\r\n * nome do ícone\r\n */\r\n icon: keyof typeof SVG_NAME;\r\n\r\n /**\r\n * Propriedade texto do menu\r\n */\r\n text: string;\r\n\r\n /**\r\n * função de navegação\r\n */\r\n handleNavigation: () => void;\r\n\r\n /**\r\n * cor de fundo\r\n */\r\n backgroundColor?: string;\r\n\r\n /**\r\n * cor do ícone\r\n */\r\n colorIcon?: string;\r\n}\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { IProfileMenuOption };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { TouchableOpacityProps } from \"react-native\";\n\n// typing\nimport { IGlobalCss } from \"../../styles/global/interface\";\n\n// svg\nimport { SVG_NAME } from \"../../common/icons-svg/constants\";\n\ninterface IProfileMenuOption extends TouchableOpacityProps, IGlobalCss {\n /**\n * nome do ícone\n */\n icon: keyof typeof SVG_NAME;\n\n /**\n * Propriedade texto do menu\n */\n text: string;\n\n /**\n * função de navegação\n */\n handleNavigation: () => void;\n\n /**\n * cor de fundo\n */\n backgroundColor?: string;\n\n /**\n * cor do ícone\n */\n colorIcon?: string;\n}\n\n/**\n * EXPORTS\n */\nexport { IProfileMenuOption };\n"],"mappings":"","ignoreList":[]}
@@ -11,16 +11,16 @@ var _styles = require("./styles");
11
11
  var _iconsSvg = require("../../common/icons-svg");
12
12
  var _formatData = require("../../utils/format-data");
13
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- /**
15
- * IMPORTS
14
+ /**
15
+ * IMPORTS
16
16
  */
17
17
 
18
18
  // typings
19
19
 
20
20
  // styles
21
21
 
22
- /**
23
- * Componente StepIndicator para a interação da ui.
22
+ /**
23
+ * Componente StepIndicator para a interação da ui.
24
24
  */
25
25
 
26
26
  const StepIndicator = ({
@@ -138,8 +138,8 @@ const StepIndicator = ({
138
138
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, handleRenderComponent(type));
139
139
  };
140
140
 
141
- /**
142
- * EXPORTS
141
+ /**
142
+ * EXPORTS
143
143
  */
144
144
  exports.StepIndicator = StepIndicator;
145
145
  //# sourceMappingURL=index.js.map