react-native-exp-fig 0.1.14 → 0.1.16

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 (260) 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 +2 -1
  12. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  13. package/lib/commonjs/common/icons-svg/hourglass/index.js +36 -0
  14. package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -0
  15. package/lib/commonjs/common/icons-svg/index.js +8 -1
  16. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  17. package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
  18. package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
  19. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  20. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  21. package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
  22. package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
  23. package/lib/commonjs/components/activities-daily/index.js +4 -4
  24. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  25. package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
  26. package/lib/commonjs/components/activities-progress/index.js +4 -4
  27. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  28. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  29. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  30. package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
  31. package/lib/commonjs/components/button/styles.js +1 -1
  32. package/lib/commonjs/components/button/styles.js.map +1 -1
  33. package/lib/commonjs/components/card-history/index.js +62 -12
  34. package/lib/commonjs/components/card-history/index.js.map +1 -1
  35. package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
  36. package/lib/commonjs/components/card-loading/index.js +21 -10
  37. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  38. package/lib/commonjs/components/card-work-session/index.js +4 -4
  39. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  40. package/lib/commonjs/components/check-box/index.js +6 -6
  41. package/lib/commonjs/components/check-box/index.js.map +1 -1
  42. package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
  43. package/lib/commonjs/components/coil/index.js +4 -4
  44. package/lib/commonjs/components/coil/index.js.map +1 -1
  45. package/lib/commonjs/components/coil/interface.d.js.map +1 -1
  46. package/lib/commonjs/components/filter-date-selector/index.js +7 -7
  47. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  48. package/lib/commonjs/components/history-details/index.js +1 -2
  49. package/lib/commonjs/components/history-details/index.js.map +1 -1
  50. package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
  51. package/lib/commonjs/components/image-capture-with-remove/index.js +11 -10
  52. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  53. package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
  54. package/lib/commonjs/components/loading-progress/index.js +3 -1
  55. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  56. package/lib/commonjs/components/modal-activities/index.js +155 -0
  57. package/lib/commonjs/components/modal-activities/index.js.map +1 -0
  58. package/lib/commonjs/components/modal-activities/interface.d.js +6 -0
  59. package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -0
  60. package/lib/commonjs/components/notification-loading/index.js +9 -2
  61. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  62. package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
  63. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  64. package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
  65. package/lib/commonjs/components/step-indicator/index.js +6 -6
  66. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  67. package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
  68. package/lib/commonjs/components/step-indicator/styles.js +9 -8
  69. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  70. package/lib/commonjs/components/user-profile/index.js +6 -6
  71. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  72. package/lib/commonjs/index.js +7 -0
  73. package/lib/commonjs/index.js.map +1 -1
  74. package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
  75. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  76. package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  77. package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
  78. package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
  79. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
  80. package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  81. package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
  82. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  83. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +47 -0
  84. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -0
  85. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
  86. package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  87. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
  88. package/lib/commonjs/styles/global/interface.d.js.map +1 -1
  89. package/lib/commonjs/styles/theme/theme.js +6 -5
  90. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  91. package/lib/commonjs/utils/format-data/index.js +11 -11
  92. package/lib/commonjs/utils/format-data/index.js.map +1 -1
  93. package/lib/commonjs/utils/status-color/return-color.js +12 -2
  94. package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
  95. package/lib/module/common/icons-svg/agent/index.js +2 -2
  96. package/lib/module/common/icons-svg/agent/index.js.map +1 -1
  97. package/lib/module/common/icons-svg/bed/index.js +4 -4
  98. package/lib/module/common/icons-svg/bed/index.js.map +1 -1
  99. package/lib/module/common/icons-svg/car/index.js +4 -4
  100. package/lib/module/common/icons-svg/car/index.js.map +1 -1
  101. package/lib/module/common/icons-svg/check-outline/index.js +6 -6
  102. package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
  103. package/lib/module/common/icons-svg/coffee/index.js +4 -4
  104. package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
  105. package/lib/module/common/icons-svg/constants/index.js +2 -1
  106. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  107. package/lib/module/common/icons-svg/hourglass/index.js +28 -0
  108. package/lib/module/common/icons-svg/hourglass/index.js.map +1 -0
  109. package/lib/module/common/icons-svg/index.js +11 -4
  110. package/lib/module/common/icons-svg/index.js.map +1 -1
  111. package/lib/module/common/icons-svg/pencil/index.js +4 -4
  112. package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
  113. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  114. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  115. package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
  116. package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
  117. package/lib/module/components/activities-daily/index.js +4 -4
  118. package/lib/module/components/activities-daily/index.js.map +1 -1
  119. package/lib/module/components/activities-daily/interface.d.js.map +1 -1
  120. package/lib/module/components/activities-progress/index.js +4 -4
  121. package/lib/module/components/activities-progress/index.js.map +1 -1
  122. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  123. package/lib/module/components/avatar-profile/index.js.map +1 -1
  124. package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
  125. package/lib/module/components/button/styles.js +1 -1
  126. package/lib/module/components/button/styles.js.map +1 -1
  127. package/lib/module/components/card-history/index.js +62 -12
  128. package/lib/module/components/card-history/index.js.map +1 -1
  129. package/lib/module/components/card-history/interface.d.js.map +1 -1
  130. package/lib/module/components/card-loading/index.js +22 -11
  131. package/lib/module/components/card-loading/index.js.map +1 -1
  132. package/lib/module/components/card-work-session/index.js +4 -4
  133. package/lib/module/components/card-work-session/index.js.map +1 -1
  134. package/lib/module/components/check-box/index.js +6 -6
  135. package/lib/module/components/check-box/index.js.map +1 -1
  136. package/lib/module/components/check-box/interface.d.js.map +1 -1
  137. package/lib/module/components/coil/index.js +4 -4
  138. package/lib/module/components/coil/index.js.map +1 -1
  139. package/lib/module/components/coil/interface.d.js.map +1 -1
  140. package/lib/module/components/filter-date-selector/index.js +7 -7
  141. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  142. package/lib/module/components/history-details/index.js +1 -2
  143. package/lib/module/components/history-details/index.js.map +1 -1
  144. package/lib/module/components/history-details/interface.d.js.map +1 -1
  145. package/lib/module/components/image-capture-with-remove/index.js +11 -10
  146. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  147. package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
  148. package/lib/module/components/loading-progress/index.js +3 -1
  149. package/lib/module/components/loading-progress/index.js.map +1 -1
  150. package/lib/module/components/modal-activities/index.js +148 -0
  151. package/lib/module/components/modal-activities/index.js.map +1 -0
  152. package/lib/module/components/modal-activities/interface.d.js +2 -0
  153. package/lib/module/components/modal-activities/interface.d.js.map +1 -0
  154. package/lib/module/components/notification-loading/index.js +9 -2
  155. package/lib/module/components/notification-loading/index.js.map +1 -1
  156. package/lib/module/components/notification-loading/interface.d.js.map +1 -1
  157. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  158. package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
  159. package/lib/module/components/step-indicator/index.js +6 -6
  160. package/lib/module/components/step-indicator/index.js.map +1 -1
  161. package/lib/module/components/step-indicator/interface.d.js.map +1 -1
  162. package/lib/module/components/step-indicator/styles.js +9 -8
  163. package/lib/module/components/step-indicator/styles.js.map +1 -1
  164. package/lib/module/components/user-profile/index.js +6 -6
  165. package/lib/module/components/user-profile/index.js.map +1 -1
  166. package/lib/module/index.js +1 -0
  167. package/lib/module/index.js.map +1 -1
  168. package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
  169. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  170. package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  171. package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
  172. package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
  173. package/lib/module/stories/coil/coil.stories.js.map +1 -1
  174. package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  175. package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
  176. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  177. package/lib/module/stories/modal-activities/modal-activities.stories.js +41 -0
  178. package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -0
  179. package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
  180. package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  181. package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
  182. package/lib/module/styles/global/interface.d.js.map +1 -1
  183. package/lib/module/styles/theme/theme.js +6 -5
  184. package/lib/module/styles/theme/theme.js.map +1 -1
  185. package/lib/module/utils/format-data/index.js +11 -11
  186. package/lib/module/utils/format-data/index.js.map +1 -1
  187. package/lib/module/utils/status-color/return-color.js +12 -3
  188. package/lib/module/utils/status-color/return-color.js.map +1 -1
  189. package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
  190. package/lib/typescript/src/common/icons-svg/hourglass/index.d.ts +10 -0
  191. package/lib/typescript/src/components/button/styles.d.ts +2 -3
  192. package/lib/typescript/src/components/modal-activities/index.d.ts +6 -0
  193. package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
  194. package/lib/typescript/src/index.d.ts +1 -0
  195. package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +6 -0
  196. package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
  197. package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
  198. package/lib/typescript/src/utils/status-color/return-color.d.ts +2 -1
  199. package/package.json +221 -221
  200. package/src/common/icons-svg/agent/index.tsx +40 -40
  201. package/src/common/icons-svg/bed/index.tsx +41 -41
  202. package/src/common/icons-svg/car/index.tsx +29 -29
  203. package/src/common/icons-svg/check-outline/index.tsx +42 -42
  204. package/src/common/icons-svg/coffee/index.tsx +43 -43
  205. package/src/common/icons-svg/constants/index.ts +1 -0
  206. package/src/common/icons-svg/hourglass/index.tsx +28 -0
  207. package/src/common/icons-svg/index.tsx +8 -4
  208. package/src/common/icons-svg/pencil/index.tsx +32 -32
  209. package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
  210. package/src/common/icons-svg/truck-activity/index.tsx +29 -29
  211. package/src/components/activities-daily/index.tsx +116 -116
  212. package/src/components/activities-daily/interface.d.ts +22 -22
  213. package/src/components/activities-progress/index.tsx +162 -162
  214. package/src/components/activities-progress/interface.d.ts +41 -41
  215. package/src/components/avatar-profile/index.tsx +95 -95
  216. package/src/components/avatar-profile/interface.d.ts +39 -39
  217. package/src/components/button/styles.ts +34 -34
  218. package/src/components/card-history/index.tsx +67 -5
  219. package/src/components/card-history/interface.d.ts +34 -28
  220. package/src/components/card-loading/index.tsx +16 -4
  221. package/src/components/card-work-session/index.tsx +187 -187
  222. package/src/components/check-box/index.tsx +94 -94
  223. package/src/components/check-box/interface.d.ts +31 -31
  224. package/src/components/coil/index.tsx +103 -103
  225. package/src/components/coil/interface.d.ts +26 -26
  226. package/src/components/filter-date-selector/index.tsx +101 -101
  227. package/src/components/history-details/index.tsx +1 -2
  228. package/src/components/history-details/interface.d.ts +18 -18
  229. package/src/components/image-capture-with-remove/index.tsx +11 -8
  230. package/src/components/image-capture-with-remove/interface.d.ts +6 -3
  231. package/src/components/loading-progress/index.tsx +93 -91
  232. package/src/components/modal-activities/index.tsx +139 -0
  233. package/src/components/modal-activities/interface.d.ts +21 -0
  234. package/src/components/notification-loading/index.tsx +9 -2
  235. package/src/components/notification-loading/interface.d.ts +35 -35
  236. package/src/components/profile-menu-option/index.tsx +65 -65
  237. package/src/components/profile-menu-option/interface.d.ts +42 -42
  238. package/src/components/step-indicator/index.tsx +164 -164
  239. package/src/components/step-indicator/interface.d.ts +34 -34
  240. package/src/components/step-indicator/styles.ts +68 -67
  241. package/src/components/user-profile/index.tsx +204 -204
  242. package/src/index.ts +1 -0
  243. package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
  244. package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
  245. package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
  246. package/src/stories/card-history/card-history.stories.tsx +50 -50
  247. package/src/stories/card-loading/card-loading.stories.tsx +85 -85
  248. package/src/stories/check-box/check-box.stories.tsx +81 -81
  249. package/src/stories/coil/coil.stories.tsx +98 -98
  250. package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
  251. package/src/stories/history-details/history-details.stories.tsx +36 -36
  252. package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
  253. package/src/stories/modal-activities/modal-activities.stories.tsx +46 -0
  254. package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
  255. package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
  256. package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
  257. package/src/styles/global/interface.d.ts +146 -141
  258. package/src/styles/theme/theme.ts +1 -0
  259. package/src/utils/format-data/index.ts +66 -66
  260. package/src/utils/status-color/return-color.ts +14 -3
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_constants","_theme","e","__esModule","default","UserProfile","nome","avatar","cpf","placa_cavalo","bluetoothIsConnected","app_version","color","width","height","handleProfileView","testID","_color$colorText","_theme$fontSizes$lg","_color$colorText2","_theme$fontSizes$lg2","_color$colorText3","_theme$fontSizes$lg3","_color$colorText4","_theme$fontSizes$lg4","_color$colorText5","_theme$fontSizes$lg5","_theme$fontSizes$lg6","_color$colorText6","_theme$fontSizes$lg7","_color$colorText7","_theme$fontSizes$lg8","createElement","Box","backgroundColor","theme","colors","blue","paddingStyle","paddingLeft","paddings","md","paddingRight","paddingBottom","flexStyle","flexDirection","alignItems","justifyContent","marginStyle","marginTop","margins","TouchableOpacity","activeOpacity","onPress","Image","source","uri","IMAGES","IMAGE_ANONIMA","style","borderRadius","borderWidth","borderWidths","thin_medium","borderColor","green","textAlign","paddingTop","Typography","text","colorText","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","lineHeight","lg","letterSpacing","sm","ellipsizeMode","numberOfLines","inter_semi_bold_600","inter_medium_500","inter_bold_700","inter_light_300","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\nimport { Typography } from \"../typography\";\r\n\r\n// comons / constants\r\nimport { IMAGES } from \"../../common/constants\";\r\n\r\n// typings\r\nimport { IUserProfile } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n/**\r\n * Componente Header para a interação do usuário com ui.\r\n */\r\nconst UserProfile: React.FC<IUserProfile> = ({\r\n nome,\r\n avatar,\r\n cpf,\r\n placa_cavalo,\r\n bluetoothIsConnected,\r\n app_version,\r\n color,\r\n width,\r\n height,\r\n handleProfileView,\r\n testID,\r\n}: IUserProfile) => {\r\n return (\r\n <Box\r\n testID={testID}\r\n width={width ?? \"100%\"}\r\n height={height}\r\n backgroundColor={theme.colors.blue[525]}\r\n paddingStyle={{\r\n paddingLeft: theme.paddings.md,\r\n paddingRight: theme.paddings.md,\r\n paddingBottom: theme.paddings[\"2xs\"],\r\n }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\r\n marginStyle={{ marginTop: theme.margins.md }}\r\n >\r\n <TouchableOpacity activeOpacity={0.7} onPress={handleProfileView}>\r\n <Image\r\n testID=\"user-profile-avatar\"\r\n source={{\r\n uri: avatar || IMAGES.IMAGE_ANONIMA,\r\n }}\r\n style={{\r\n width: 120,\r\n height: 120,\r\n borderRadius: 60,\r\n borderWidth: theme.borderWidths.thin_medium,\r\n borderColor: theme.colors.green[400],\r\n }}\r\n />\r\n </TouchableOpacity>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"column\", alignItems: \"center\", justifyContent: \"center\" }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: theme.paddings[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={\"Olá, \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Box width={\"89%\"}>\r\n <Typography\r\n text={nome}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily=\"inter_medium_500\"\r\n fontWeight=\"500\"\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: 5 }}\r\n >\r\n <Typography\r\n text={\"CPF: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={cpf}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: 5 }}\r\n >\r\n <Typography\r\n text={\"CONECTADO: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={bluetoothIsConnected ? placa_cavalo : \"\"}\r\n color={theme.colors.green[400]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-end\",\r\n }}\r\n marginStyle={{ marginTop: theme.margins.md }}\r\n >\r\n <Typography\r\n text={\"Versão: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={app_version}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontWeight=\"300\"\r\n fontFamily={theme.fonts.inter_light_300}\r\n lineHeight={theme.fontSizes.lg ?? 18}\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 { UserProfile };\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,UAAA,GAAAJ,OAAA;AAMA,IAAAK,MAAA,GAAAL,OAAA;AAAiD,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAjBjD;AACA;AACA;;AAIA;;AAIA;;AAGA;;AAGA;;AAGA;AACA;AACA;AACA,MAAMG,WAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,GAAG;EACHC,YAAY;EACZC,oBAAoB;EACpBC,WAAW;EACXC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,iBAAiB;EACjBC;AACY,CAAC,KAAK;EAAA,IAAAC,gBAAA,EAAAC,mBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC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BAAA,GAAEhB,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAE0D,SAAS,cAAA1C,iBAAA,cAAAA,iBAAA,GAAIO,YAAK,CAACC,MAAM,CAACmC,OAAO,CAAC,EAAE,CAAE;IACpDC,IAAI,EAAErC,YAAK,CAACsC,SAAS,CAAChC,EAAG;IACzBiC,UAAU,EAAEvC,YAAK,CAACwC,KAAK,CAACC,iBAAkB;IAC1CC,UAAU,EAAC,KAAK;IAChBC,UAAU,GAAAjD,oBAAA,GAAEM,YAAK,CAACsC,SAAS,CAACM,EAAE,cAAAlD,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrCmD,aAAa,EAAE;EAAU,CAC1B,CAAC,eAEFtF,MAAA,CAAAU,OAAA,CAAA4B,aAAA,CAACjC,WAAA,CAAAqE,UAAU;IACTC,IAAI,EAAE1D,WAAY;IAClBC,KAAK,GAAAkB,iBAAA,GAAElB,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAE0D,SAAS,cAAAxC,iBAAA,cAAAA,iBAAA,GAAIK,YAAK,CAACC,MAAM,CAACmC,OAAO,CAAC,EAAE,CAAE;IACpDC,IAAI,EAAErC,YAAK,CAACsC,SAAS,CAACQ,EAAG;IACzBJ,UAAU,EAAC,KAAK;IAChBH,UAAU,EAAEvC,YAAK,CAACwC,KAAK,CAACY,eAAgB;IACxCT,UAAU,GAAA/C,oBAAA,GAAEI,YAAK,CAACsC,SAAS,CAACM,EAAE,cAAAhD,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrCiD,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAQ,OAAA,CAAAnF,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_box","_typography","_constants","_theme","e","__esModule","default","UserProfile","nome","avatar","cpf","placa_cavalo","bluetoothIsConnected","app_version","color","width","height","handleProfileView","testID","_color$colorText","_theme$fontSizes$lg","_color$colorText2","_theme$fontSizes$lg2","_color$colorText3","_theme$fontSizes$lg3","_color$colorText4","_theme$fontSizes$lg4","_color$colorText5","_theme$fontSizes$lg5","_theme$fontSizes$lg6","_color$colorText6","_theme$fontSizes$lg7","_color$colorText7","_theme$fontSizes$lg8","createElement","Box","backgroundColor","theme","colors","blue","paddingStyle","paddingLeft","paddings","md","paddingRight","paddingBottom","flexStyle","flexDirection","alignItems","justifyContent","marginStyle","marginTop","margins","TouchableOpacity","activeOpacity","onPress","Image","source","uri","IMAGES","IMAGE_ANONIMA","style","borderRadius","borderWidth","borderWidths","thin_medium","borderColor","green","textAlign","paddingTop","Typography","text","colorText","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","lineHeight","lg","letterSpacing","sm","ellipsizeMode","numberOfLines","inter_semi_bold_600","inter_medium_500","inter_bold_700","inter_light_300","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\";\nimport { Typography } from \"../typography\";\n\n// comons / constants\nimport { IMAGES } from \"../../common/constants\";\n\n// typings\nimport { IUserProfile } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n * Componente Header para a interação do usuário com ui.\n */\nconst UserProfile: React.FC<IUserProfile> = ({\n nome,\n avatar,\n cpf,\n placa_cavalo,\n bluetoothIsConnected,\n app_version,\n color,\n width,\n height,\n handleProfileView,\n testID,\n}: IUserProfile) => {\n return (\n <Box\n testID={testID}\n width={width ?? \"100%\"}\n height={height}\n backgroundColor={theme.colors.blue[525]}\n paddingStyle={{\n paddingLeft: theme.paddings.md,\n paddingRight: theme.paddings.md,\n paddingBottom: theme.paddings[\"2xs\"],\n }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\n marginStyle={{ marginTop: theme.margins.md }}\n >\n <TouchableOpacity activeOpacity={0.7} onPress={handleProfileView}>\n <Image\n testID=\"user-profile-avatar\"\n source={{\n uri: avatar || IMAGES.IMAGE_ANONIMA,\n }}\n style={{\n width: 120,\n height: 120,\n borderRadius: 60,\n borderWidth: theme.borderWidths.thin_medium,\n borderColor: theme.colors.green[400],\n }}\n />\n </TouchableOpacity>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"column\", alignItems: \"center\", justifyContent: \"center\" }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: theme.paddings[\"2xs\"] }}\n >\n <Typography\n text={\"Olá, \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight=\"400\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n <Box width={\"89%\"}>\n <Typography\n text={nome}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily=\"inter_medium_500\"\n fontWeight=\"500\"\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: 5 }}\n >\n <Typography\n text={\"CPF: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={cpf}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_semi_bold_600}\n fontWeight=\"600\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: 5 }}\n >\n <Typography\n text={\"CONECTADO: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={bluetoothIsConnected ? placa_cavalo : \"\"}\n color={theme.colors.green[400]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight=\"700\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n }}\n marginStyle={{ marginTop: theme.margins.md }}\n >\n <Typography\n text={\"Versão: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight=\"400\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={app_version}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontWeight=\"300\"\n fontFamily={theme.fonts.inter_light_300}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { UserProfile };\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,UAAA,G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,YAAK,CAACsC,SAAS,CAACQ,EAAG;IACzBJ,UAAU,EAAC,KAAK;IAChBH,UAAU,EAAEvC,YAAK,CAACwC,KAAK,CAACY,eAAgB;IACxCT,UAAU,GAAA/C,oBAAA,GAAEI,YAAK,CAACsC,SAAS,CAACM,EAAE,cAAAhD,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrCiD,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAQ,OAAA,CAAAnF,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -135,6 +135,12 @@ Object.defineProperty(exports, "MenuItem", {
135
135
  return _menuItem.MenuItem;
136
136
  }
137
137
  });
138
+ Object.defineProperty(exports, "ModalActivities", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _modalActivities.ModalActivities;
142
+ }
143
+ });
138
144
  Object.defineProperty(exports, "NoData", {
139
145
  enumerable: true,
140
146
  get: function () {
@@ -243,6 +249,7 @@ var _historyDetails = require("./components/history-details");
243
249
  var _activitiesDaily = require("./components/activities-daily");
244
250
  var _activitiesProgress = require("./components/activities-progress");
245
251
  var _profileMenuOption = require("./components/profile-menu-option");
252
+ var _modalActivities = require("./components/modal-activities");
246
253
  var _mutiply = require("./utils/mutiply");
247
254
  var _formatData = require("./utils/format-data");
248
255
  var _theme = require("./styles/theme/theme");
@@ -1 +1 @@
1
- {"version":3,"names":["_box","require","_button","_stepIndicator","_typography","_input","_capturePhoto","_cardHours","_selectOption","_headerProfile","_scheduledJourneyIndicators","_cardScheduledJourney","_userProfile","_menuItem","_cardLoading","_cardWorkSession","_loadingProgress","_noData","_filterJourney","_coil","_filterDateSelector","_cardHistory","_notificationLoading","_checkBox","_imageCaptureWithRemove","_loadingDetails","_avatarProfile","_historyDetails","_activitiesDaily","_activitiesProgress","_profileMenuOption","_mutiply","_formatData","_theme"],"sources":["index.ts"],"sourcesContent":["/**\r\n * EXPORTS\r\n */\r\n\r\n// Components\r\nexport { Box } from \"./components/box\";\r\nexport { Button } from \"./components/button\";\r\nexport { StepIndicator } from \"./components/step-indicator\";\r\nexport { Typography } from \"./components/typography\";\r\nexport { Input } from \"./components/input\";\r\nexport { CapturePhoto } from \"./components/capture-photo\";\r\nexport { CardHours } from \"./components/card-hours\";\r\nexport { SelectOption } from \"./components/selects/select-option\";\r\nexport { Header } from \"./components/header-profile\";\r\nexport { ScheduledJourneyIndicators } from \"./components/scheduled-journey-indicators\";\r\nexport { CardScheduledJourney } from \"./components/card-scheduled-journey\";\r\nexport { UserProfile } from \"./components/user-profile\";\r\nexport { MenuItem } from \"./components/menu-item\";\r\nexport { CardLoading } from \"./components/card-loading\";\r\nexport { CardWorkSession } from \"./components/card-work-session\";\r\nexport { LoadingProgress } from \"./components/loading-progress\";\r\nexport { NoData } from \"./components/no-data\";\r\nexport { FilterJourney } from \"./components/filter-journey\";\r\nexport { Coil } from \"./components/coil\";\r\nexport { FilterDateSelector } from \"./components/filter-date-selector\";\r\nexport { CardHistory } from \"./components/card-history\";\r\nexport { NotificationLoading } from \"./components/notification-loading\";\r\nexport { CheckBox } from \"./components/check-box\";\r\nexport { ImageCaptureWithRemove } from \"./components/image-capture-with-remove\";\r\nexport { LoadingDetails } from \"./components/loading-details\";\r\nexport { AvatarProfile } from \"./components/avatar-profile\";\r\nexport { HistoryDetails } from \"./components/history-details\";\r\nexport { ActivitiesDaily } from \"./components/activities-daily\";\r\nexport { ActivitiesProgress } from \"./components/activities-progress\";\r\nexport { ProfileMenuOption } from \"./components/profile-menu-option\";\r\n\r\n// Utilities\r\nexport { multiply } from \"./utils/mutiply\";\r\nexport { formatDate, getLastSevenDays, formHoursMinute } from \"./utils/format-data\";\r\n\r\n// Styles\r\nexport { theme } from \"./styles/theme/theme\";\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"version":3,"names":["_box","require","_button","_stepIndicator","_typography","_input","_capturePhoto","_cardHours","_selectOption","_headerProfile","_scheduledJourneyIndicators","_cardScheduledJourney","_userProfile","_menuItem","_cardLoading","_cardWorkSession","_loadingProgress","_noData","_filterJourney","_coil","_filterDateSelector","_cardHistory","_notificationLoading","_checkBox","_imageCaptureWithRemove","_loadingDetails","_avatarProfile","_historyDetails","_activitiesDaily","_activitiesProgress","_profileMenuOption","_modalActivities","_mutiply","_formatData","_theme"],"sources":["index.ts"],"sourcesContent":["/**\r\n * EXPORTS\r\n */\r\n\r\n// Components\r\nexport { Box } from \"./components/box\";\r\nexport { Button } from \"./components/button\";\r\nexport { StepIndicator } from \"./components/step-indicator\";\r\nexport { Typography } from \"./components/typography\";\r\nexport { Input } from \"./components/input\";\r\nexport { CapturePhoto } from \"./components/capture-photo\";\r\nexport { CardHours } from \"./components/card-hours\";\r\nexport { SelectOption } from \"./components/selects/select-option\";\r\nexport { Header } from \"./components/header-profile\";\r\nexport { ScheduledJourneyIndicators } from \"./components/scheduled-journey-indicators\";\r\nexport { CardScheduledJourney } from \"./components/card-scheduled-journey\";\r\nexport { UserProfile } from \"./components/user-profile\";\r\nexport { MenuItem } from \"./components/menu-item\";\r\nexport { CardLoading } from \"./components/card-loading\";\r\nexport { CardWorkSession } from \"./components/card-work-session\";\r\nexport { LoadingProgress } from \"./components/loading-progress\";\r\nexport { NoData } from \"./components/no-data\";\r\nexport { FilterJourney } from \"./components/filter-journey\";\r\nexport { Coil } from \"./components/coil\";\r\nexport { FilterDateSelector } from \"./components/filter-date-selector\";\r\nexport { CardHistory } from \"./components/card-history\";\r\nexport { NotificationLoading } from \"./components/notification-loading\";\r\nexport { CheckBox } from \"./components/check-box\";\r\nexport { ImageCaptureWithRemove } from \"./components/image-capture-with-remove\";\r\nexport { LoadingDetails } from \"./components/loading-details\";\r\nexport { AvatarProfile } from \"./components/avatar-profile\";\r\nexport { HistoryDetails } from \"./components/history-details\";\r\nexport { ActivitiesDaily } from \"./components/activities-daily\";\r\nexport { ActivitiesProgress } from \"./components/activities-progress\";\r\nexport { ProfileMenuOption } from \"./components/profile-menu-option\";\r\nexport { ModalActivities } from \"./components/modal-activities\";\r\n\r\n// Utilities\r\nexport { multiply } from \"./utils/mutiply\";\r\nexport { formatDate, getLastSevenDays, formHoursMinute } from \"./utils/format-data\";\r\n\r\n// Styles\r\nexport { theme } from \"./styles/theme/theme\";\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AACA,IAAAS,2BAAA,GAAAT,OAAA;AACA,IAAAU,qBAAA,GAAAV,OAAA;AACA,IAAAW,YAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,YAAA,GAAAb,OAAA;AACA,IAAAc,gBAAA,GAAAd,OAAA;AACA,IAAAe,gBAAA,GAAAf,OAAA;AACA,IAAAgB,OAAA,GAAAhB,OAAA;AACA,IAAAiB,cAAA,GAAAjB,OAAA;AACA,IAAAkB,KAAA,GAAAlB,OAAA;AACA,IAAAmB,mBAAA,GAAAnB,OAAA;AACA,IAAAoB,YAAA,GAAApB,OAAA;AACA,IAAAqB,oBAAA,GAAArB,OAAA;AACA,IAAAsB,SAAA,GAAAtB,OAAA;AACA,IAAAuB,uBAAA,GAAAvB,OAAA;AACA,IAAAwB,eAAA,GAAAxB,OAAA;AACA,IAAAyB,cAAA,GAAAzB,OAAA;AACA,IAAA0B,eAAA,GAAA1B,OAAA;AACA,IAAA2B,gBAAA,GAAA3B,OAAA;AACA,IAAA4B,mBAAA,GAAA5B,OAAA;AACA,IAAA6B,kBAAA,GAAA7B,OAAA;AACA,IAAA8B,gBAAA,GAAA9B,OAAA;AAGA,IAAA+B,QAAA,GAAA/B,OAAA;AACA,IAAAgC,WAAA,GAAAhC,OAAA;AAGA,IAAAiC,MAAA,GAAAjC,OAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_activitiesDaily","require","meta","title","component","ActivitiesDaily","args","handleActivity","typeActivity","parameters","notes","_default","exports","default","ActivitiesDailySimples","name","alert"],"sources":["activities-daily.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ActivitiesDaily } from \"../../components/activities-daily\";\r\n\r\nconst meta: Meta<typeof ActivitiesDaily> = {\r\n title: \"componente/ActivitiesDaily\",\r\n component: ActivitiesDaily,\r\n args: {\r\n handleActivity: (typeActivity) => {\r\n return typeActivity;\r\n },\r\n },\r\n parameters: {\r\n notes: `\r\n# ActivitiesDaily\r\n\r\nEste é um componente de Card de atividades diárias.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ActivitiesDaily\r\nhandleActivity={handleActivity}\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ActivitiesDailySimples: Story = {\r\n name: \"activities-daily\",\r\n args: {\r\n handleActivity: (typeActivity: any) => {\r\n /* global alert */\r\n alert(typeActivity);\r\n },\r\n },\r\n};\r\n"],"mappings":";;;;;;AAEA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEC,gCAAe;EAC1BC,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAY,IAAK;MAChC,OAAOA,YAAY;IACrB;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaX,IAAI;AAIZ,MAAMY,sBAA6B,GAAAF,OAAA,CAAAE,sBAAA,GAAG;EAC3CC,IAAI,EAAE,kBAAkB;EACxBT,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAiB,IAAK;MACrC;MACAQ,KAAK,CAACR,YAAY,CAAC;IACrB;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_activitiesDaily","require","meta","title","component","ActivitiesDaily","args","handleActivity","typeActivity","parameters","notes","_default","exports","default","ActivitiesDailySimples","name","alert"],"sources":["activities-daily.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { ActivitiesDaily } from \"../../components/activities-daily\";\n\nconst meta: Meta<typeof ActivitiesDaily> = {\n title: \"componente/ActivitiesDaily\",\n component: ActivitiesDaily,\n args: {\n handleActivity: (typeActivity) => {\n return typeActivity;\n },\n },\n parameters: {\n notes: `\n# ActivitiesDaily\n\nEste é um componente de Card de atividades diárias.\nVocê usa assim:\n\\`\\`\\`tsx\n<ActivitiesDaily\nhandleActivity={handleActivity}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const ActivitiesDailySimples: Story = {\n name: \"activities-daily\",\n args: {\n handleActivity: (typeActivity: any) => {\n /* global alert */\n alert(typeActivity);\n },\n },\n};\n"],"mappings":";;;;;;AAEA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEC,gCAAe;EAC1BC,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAY,IAAK;MAChC,OAAOA,YAAY;IACrB;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaX,IAAI;AAIZ,MAAMY,sBAA6B,GAAAF,OAAA,CAAAE,sBAAA,GAAG;EAC3CC,IAAI,EAAE,kBAAkB;EACxBT,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAiB,IAAK;MACrC;MACAQ,KAAK,CAACR,YAAY,CAAC;IACrB;EACF;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_activitiesProgress","require","meta","title","component","ActivitiesProgress","args","data_fim","duracao","data_inicio","titleLabel","parameters","notes","_default","exports","default","ActivitiesProgressPadrao","name","ActivitiesProgressTrabalho","situation","ActivitiesProgressDescanso"],"sources":["activities-progress.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ActivitiesProgress } from \"../../components/activities-progress\";\r\n\r\nconst meta: Meta<typeof ActivitiesProgress> = {\r\n title: \"componente/ActivitiesProgress\",\r\n component: ActivitiesProgress,\r\n args: {\r\n data_fim: \"11/05/2025\",\r\n duracao: \"00:30\",\r\n data_inicio: \"17:20\",\r\n titleLabel: \"Descanso\",\r\n },\r\n parameters: {\r\n notes: `\r\n# ActivitiesProgress\r\n\r\nEste é um componente de progresso de atividades.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ActivitiesProgress\r\n data_fim=\"11/05/2025\"\r\n duracao=\"00:30\"\r\n data_inicio=\"17:20\"\r\n titleLabel=\"Descanso\"\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ActivitiesProgressPadrao: Story = {\r\n name: \"activities-progress-padrao\",\r\n args: {},\r\n};\r\n\r\nexport const ActivitiesProgressTrabalho: Story = {\r\n name: \"activities-progress-trabalho\",\r\n args: {\r\n data_fim: \"15/06/2023\",\r\n duracao: \"01:45\",\r\n data_inicio: \"14:30\",\r\n titleLabel: \"Trabalho\",\r\n situation: true,\r\n },\r\n};\r\n\r\nexport const ActivitiesProgressDescanso: Story = {\r\n name: \"activities-progress-descanso\",\r\n args: {\r\n data_fim: \"20/07/2023\",\r\n duracao: \"00:15\",\r\n data_inicio: \"12:00\",\r\n titleLabel: \"Descanso\",\r\n situation: true,\r\n },\r\n};\r\n"],"mappings":";;;;;;AAEA,IAAAA,mBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEC,sCAAkB;EAC7BC,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE;EACd,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEab,IAAI;AAIZ,MAAMc,wBAA+B,GAAAF,OAAA,CAAAE,wBAAA,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCX,IAAI,EAAE,CAAC;AACT,CAAC;AAEM,MAAMY,0BAAiC,GAAAJ,OAAA,CAAAI,0BAAA,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCX,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBS,SAAS,EAAE;EACb;AACF,CAAC;AAEM,MAAMC,0BAAiC,GAAAN,OAAA,CAAAM,0BAAA,GAAG;EAC/CH,IAAI,EAAE,8BAA8B;EACpCX,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBS,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_activitiesProgress","require","meta","title","component","ActivitiesProgress","args","data_fim","duracao","data_inicio","titleLabel","parameters","notes","_default","exports","default","ActivitiesProgressPadrao","name","ActivitiesProgressTrabalho","situation","ActivitiesProgressDescanso"],"sources":["activities-progress.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { ActivitiesProgress } from \"../../components/activities-progress\";\n\nconst meta: Meta<typeof ActivitiesProgress> = {\n title: \"componente/ActivitiesProgress\",\n component: ActivitiesProgress,\n args: {\n data_fim: \"11/05/2025\",\n duracao: \"00:30\",\n data_inicio: \"17:20\",\n titleLabel: \"Descanso\",\n },\n parameters: {\n notes: `\n# ActivitiesProgress\n\nEste é um componente de progresso de atividades.\nVocê usa assim:\n\\`\\`\\`tsx\n<ActivitiesProgress\n data_fim=\"11/05/2025\"\n duracao=\"00:30\"\n data_inicio=\"17:20\"\n titleLabel=\"Descanso\"\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const ActivitiesProgressPadrao: Story = {\n name: \"activities-progress-padrao\",\n args: {},\n};\n\nexport const ActivitiesProgressTrabalho: Story = {\n name: \"activities-progress-trabalho\",\n args: {\n data_fim: \"15/06/2023\",\n duracao: \"01:45\",\n data_inicio: \"14:30\",\n titleLabel: \"Trabalho\",\n situation: true,\n },\n};\n\nexport const ActivitiesProgressDescanso: Story = {\n name: \"activities-progress-descanso\",\n args: {\n data_fim: \"20/07/2023\",\n duracao: \"00:15\",\n data_inicio: \"12:00\",\n titleLabel: \"Descanso\",\n situation: true,\n },\n};\n"],"mappings":";;;;;;AAEA,IAAAA,mBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEC,sCAAkB;EAC7BC,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE;EACd,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEab,IAAI;AAIZ,MAAMc,wBAA+B,GAAAF,OAAA,CAAAE,wBAAA,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCX,IAAI,EAAE,CAAC;AACT,CAAC;AAEM,MAAMY,0BAAiC,GAAAJ,OAAA,CAAAI,0BAAA,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCX,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBS,SAAS,EAAE;EACb;AACF,CAAC;AAEM,MAAMC,0BAAiC,GAAAN,OAAA,CAAAM,0BAAA,GAAG;EAC/CH,IAAI,EAAE,8BAA8B;EACpCX,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBS,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_avatarProfile","require","meta","title","component","AvatarProfile","args","name","avatar","email","isEdit","handleTakePicker","parameters","notes","_default","exports","default","Default","Editable"],"sources":["avatar-profile.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\r\nimport { AvatarProfile } from \"../../components/avatar-profile\";\r\n\r\nconst meta: Meta<typeof AvatarProfile> = {\r\n title: \"Componente/AvatarProfile\",\r\n component: AvatarProfile,\r\n args: {\r\n name: \"Everton\",\r\n avatar: \"https://randomuser.me/api/portraits/men/1.jpg\",\r\n email: \"teste@gmail.com\",\r\n isEdit: false,\r\n handleTakePicker: () => {},\r\n },\r\n parameters: {\r\n notes: ` AvatarProfile Componente de avatar de perfil com edição opcional.`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Default: Story = {\r\n name: \"default\",\r\n};\r\n\r\nexport const Editable: Story = {\r\n name: \"editable\",\r\n args: {\r\n isEdit: true,\r\n },\r\n};\r\n"],"mappings":";;;;;;AACA,IAAAA,cAAA,GAAAC,OAAA;AAEA,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,4BAAa;EACxBC,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,+CAA+C;IACvDC,KAAK,EAAE,iBAAiB;IACxBC,MAAM,EAAE,KAAK;IACbC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;EACT;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEad,IAAI;AAIZ,MAAMe,OAAc,GAAAF,OAAA,CAAAE,OAAA,GAAG;EAC5BV,IAAI,EAAE;AACR,CAAC;AAEM,MAAMW,QAAe,GAAAH,OAAA,CAAAG,QAAA,GAAG;EAC7BX,IAAI,EAAE,UAAU;EAChBD,IAAI,EAAE;IACJI,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_avatarProfile","require","meta","title","component","AvatarProfile","args","name","avatar","email","isEdit","handleTakePicker","parameters","notes","_default","exports","default","Default","Editable"],"sources":["avatar-profile.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\nimport { AvatarProfile } from \"../../components/avatar-profile\";\n\nconst meta: Meta<typeof AvatarProfile> = {\n title: \"Componente/AvatarProfile\",\n component: AvatarProfile,\n args: {\n name: \"Everton\",\n avatar: \"https://randomuser.me/api/portraits/men/1.jpg\",\n email: \"teste@gmail.com\",\n isEdit: false,\n handleTakePicker: () => {},\n },\n parameters: {\n notes: ` AvatarProfile Componente de avatar de perfil com edição opcional.`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Default: Story = {\n name: \"default\",\n};\n\nexport const Editable: Story = {\n name: \"editable\",\n args: {\n isEdit: true,\n },\n};\n"],"mappings":";;;;;;AACA,IAAAA,cAAA,GAAAC,OAAA;AAEA,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,4BAAa;EACxBC,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,+CAA+C;IACvDC,KAAK,EAAE,iBAAiB;IACxBC,MAAM,EAAE,KAAK;IACbC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;EACT;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEad,IAAI;AAIZ,MAAMe,OAAc,GAAAF,OAAA,CAAAE,OAAA,GAAG;EAC5BV,IAAI,EAAE;AACR,CAAC;AAEM,MAAMW,QAAe,GAAAH,OAAA,CAAAG,QAAA,GAAG;EAC7BX,IAAI,EAAE,UAAU;EAChBD,IAAI,EAAE;IACJI,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_cardLoading","require","_theme","meta","title","component","CardLoading","args","width","height","backgroundColor","theme","colors","blue","handleNavigation","parameters","notes","_default","exports","default","CardLoadingAprovado","name","local","vehicle","prevision","kg","qtdCoils","status","CardLoadingPendente","CardLoadingReprovado"],"sources":["card-loading.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { CardLoading } from \"../../components/card-loading\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof CardLoading> = {\r\n title: \"componente/CardLoading\",\r\n component: CardLoading,\r\n args: {\r\n width: 120,\r\n height: 90,\r\n title: \"Carregamento #01020304050607\",\r\n backgroundColor: theme.colors.blue[400],\r\n handleNavigation: () => {},\r\n },\r\n parameters: {\r\n notes: `\r\n# CardLoading\r\n\r\nEste é um componente de CardLoading.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n <CardLoading\r\n width={\"100%\"}\r\n title=\"Carregamento #01020304050607\"\r\n local=\"Doca 1, Patío 03 - Usiminas Ipatinga\"\r\n vehicle=\"EXP-0000\"\r\n prevision=\"12:37 10/03/2025\"\r\n kg={40}\r\n qtdCoils={15}\r\n status=\"Pendente\"\r\n handleNavigation={() => {}}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CardLoadingAprovado: Story = {\r\n name: \"card-carregamento-aprovado\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n kg: 40,\r\n qtdCoils: 15,\r\n status: \"Concluido\",\r\n handleNavigation: () => {},\r\n },\r\n};\r\n\r\nexport const CardLoadingPendente: Story = {\r\n name: \"card-carregamento-pendente\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n kg: 40,\r\n qtdCoils: 15,\r\n status: \"Pendente\",\r\n handleNavigation: () => {},\r\n },\r\n};\r\nexport const CardLoadingReprovado: Story = {\r\n name: \"card-carregamento-reprovado\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n kg: 40,\r\n qtdCoils: 15,\r\n status: \"Cancelado\",\r\n handleNavigation: () => {},\r\n },\r\n};\r\n"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEC,wBAAW;EACtBC,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,EAAE;IACVL,KAAK,EAAE,8BAA8B;IACrCM,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEahB,IAAI;AAIZ,MAAMiB,mBAA0B,GAAAF,OAAA,CAAAE,mBAAA,GAAG;EACxCC,IAAI,EAAE,4BAA4B;EAClCd,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbJ,KAAK,EAAE,8BAA8B;IACrCkB,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBb,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAEM,MAAMc,mBAA0B,GAAAV,OAAA,CAAAU,mBAAA,GAAG;EACxCP,IAAI,EAAE,4BAA4B;EAClCd,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbJ,KAAK,EAAE,8BAA8B;IACrCkB,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,UAAU;IAClBb,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AACM,MAAMe,oBAA2B,GAAAX,OAAA,CAAAW,oBAAA,GAAG;EACzCR,IAAI,EAAE,6BAA6B;EACnCd,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbJ,KAAK,EAAE,8BAA8B;IACrCkB,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBb,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_cardLoading","require","_theme","meta","title","component","CardLoading","args","width","height","backgroundColor","theme","colors","blue","handleNavigation","parameters","notes","_default","exports","default","CardLoadingAprovado","name","local","vehicle","prevision","kg","qtdCoils","status","CardLoadingPendente","CardLoadingReprovado"],"sources":["card-loading.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { CardLoading } from \"../../components/card-loading\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof CardLoading> = {\n title: \"componente/CardLoading\",\n component: CardLoading,\n args: {\n width: 120,\n height: 90,\n title: \"Carregamento #01020304050607\",\n backgroundColor: theme.colors.blue[400],\n handleNavigation: () => {},\n },\n parameters: {\n notes: `\n# CardLoading\n\nEste é um componente de CardLoading.\nVocê usa assim:\n\\`\\`\\`tsx\n <CardLoading\n width={\"100%\"}\n title=\"Carregamento #01020304050607\"\n local=\"Doca 1, Patío 03 - Usiminas Ipatinga\"\n vehicle=\"EXP-0000\"\n prevision=\"12:37 10/03/2025\"\n kg={40}\n qtdCoils={15}\n status=\"Pendente\"\n handleNavigation={() => {}}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CardLoadingAprovado: Story = {\n name: \"card-carregamento-aprovado\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n kg: 40,\n qtdCoils: 15,\n status: \"Concluido\",\n handleNavigation: () => {},\n },\n};\n\nexport const CardLoadingPendente: Story = {\n name: \"card-carregamento-pendente\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n kg: 40,\n qtdCoils: 15,\n status: \"Pendente\",\n handleNavigation: () => {},\n },\n};\nexport const CardLoadingReprovado: Story = {\n name: \"card-carregamento-reprovado\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n kg: 40,\n qtdCoils: 15,\n status: \"Cancelado\",\n handleNavigation: () => {},\n },\n};\n"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEC,wBAAW;EACtBC,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;I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E,MAAM;IACbJ,KAAK,EAAE,8BAA8B;IACrCkB,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBb,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_checkBox","require","_theme","meta","title","component","CheckBox","args","onPress","isChecked","backgroundColorCheck","theme","colors","blue","parameters","notes","_default","exports","default","CheckBoxDisable","name","CheckBoxAble","widthBoxCheckIcon","CheckBoxDisableWithLabel","backgroundBoxCheckIcon","textLabel","textSizeLabel","colorTextLabel","neutral","CheckBoxAbleWithLabel"],"sources":["check-box.stories.tsx"],"sourcesContent":["import React from \"react\";\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { CheckBox } from \"../../components/check-box\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof CheckBox> = {\r\n title: \"componente/CheckBox\",\r\n component: CheckBox as React.FC,\r\n args: {\r\n onPress: () => {},\r\n isChecked: false,\r\n backgroundColorCheck: theme.colors.blue[375],\r\n },\r\n parameters: {\r\n notes: `\r\n# CheckBox\r\n\r\nComponente de caixa de seleção customizável com ou sem texto.\r\n\r\nExemplo de uso:\r\n\r\n\\`\\`\\`tsx\r\n<CheckBox\r\n isChecked={false}\r\n widthBoxCheckIcon={30}\r\n backgroundColorCheck={theme.colors.blue[400]}\r\n textSizeLabel={16}\r\n textLabel=\"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\"\r\n colorTextLabel={theme.colors.gray[600]}\r\n backgroundBoxCheckIcon={\"transparent\"}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CheckBoxDisable: Story = {\r\n name: \"checkbox-desmarcado\",\r\n args: {\r\n isChecked: false,\r\n },\r\n};\r\n\r\nexport const CheckBoxAble: Story = {\r\n name: \"checkbox-marcado\",\r\n args: {\r\n widthBoxCheckIcon: 40,\r\n isChecked: true,\r\n backgroundColorCheck: theme.colors.blue[50],\r\n },\r\n};\r\n\r\nexport const CheckBoxDisableWithLabel: Story = {\r\n name: \"checkbox-desmarcado-com-label\",\r\n args: {\r\n widthBoxCheckIcon: 30,\r\n backgroundBoxCheckIcon: \"transparent\",\r\n textLabel:\r\n \"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\",\r\n textSizeLabel: 17,\r\n colorTextLabel: theme.colors.neutral[25],\r\n isChecked: false,\r\n backgroundColorCheck: theme.colors.blue[375],\r\n },\r\n};\r\n\r\nexport const CheckBoxAbleWithLabel: Story = {\r\n name: \"checkbox-marcado-com-label\",\r\n args: {\r\n textLabel: \"Label Checked\",\r\n textSizeLabel: 17,\r\n colorTextLabel: theme.colors.neutral[25],\r\n isChecked: true,\r\n backgroundColorCheck: theme.colors.blue[375],\r\n },\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAA2B,GAAG;EAClCC,KAAK,EAAE,qBAAqB;EAC5BC,SAAS,EAAEC,kBAAoB;EAC/BC,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaf,IAAI;AAIZ,MAAMgB,eAAsB,GAAAF,OAAA,CAAAE,eAAA,GAAG;EACpCC,IAAI,EAAE,qBAAqB;EAC3Bb,IAAI,EAAE;IACJE,SAAS,EAAE;EACb;AACF,CAAC;AAEM,MAAMY,YAAmB,GAAAJ,OAAA,CAAAI,YAAA,GAAG;EACjCD,IAAI,EAAE,kBAAkB;EACxBb,IAAI,EAAE;IACJe,iBAAiB,EAAE,EAAE;IACrBb,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,EAAE;EAC5C;AACF,CAAC;AAEM,MAAMU,wBAA+B,GAAAN,OAAA,CAAAM,wBAAA,GAAG;EAC7CH,IAAI,EAAE,+BAA+B;EACrCb,IAAI,EAAE;IACJe,iBAAiB,EAAE,EAAE;IACrBE,sBAAsB,EAAE,aAAa;IACrCC,SAAS,EACP,uIAAuI;IACzIC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAC;IACxCnB,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC;AAEM,MAAMgB,qBAA4B,GAAAZ,OAAA,CAAAY,qBAAA,GAAG;EAC1CT,IAAI,EAAE,4BAA4B;EAClCb,IAAI,EAAE;IACJkB,SAAS,EAAE,eAAe;IAC1BC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAC;IACxCnB,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_checkBox","require","_theme","meta","title","component","CheckBox","args","onPress","isChecked","backgroundColorCheck","theme","colors","blue","parameters","notes","_default","exports","default","CheckBoxDisable","name","CheckBoxAble","widthBoxCheckIcon","CheckBoxDisableWithLabel","backgroundBoxCheckIcon","textLabel","textSizeLabel","colorTextLabel","neutral","CheckBoxAbleWithLabel"],"sources":["check-box.stories.tsx"],"sourcesContent":["import React from \"react\";\nimport type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { CheckBox } from \"../../components/check-box\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof CheckBox> = {\n title: \"componente/CheckBox\",\n component: CheckBox as React.FC,\n args: {\n onPress: () => {},\n isChecked: false,\n backgroundColorCheck: theme.colors.blue[375],\n },\n parameters: {\n notes: `\n# CheckBox\n\nComponente de caixa de seleção customizável com ou sem texto.\n\nExemplo de uso:\n\n\\`\\`\\`tsx\n<CheckBox\n isChecked={false}\n widthBoxCheckIcon={30}\n backgroundColorCheck={theme.colors.blue[400]}\n textSizeLabel={16}\n textLabel=\"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\"\n colorTextLabel={theme.colors.gray[600]}\n backgroundBoxCheckIcon={\"transparent\"}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CheckBoxDisable: Story = {\n name: \"checkbox-desmarcado\",\n args: {\n isChecked: false,\n },\n};\n\nexport const CheckBoxAble: Story = {\n name: \"checkbox-marcado\",\n args: {\n widthBoxCheckIcon: 40,\n isChecked: true,\n backgroundColorCheck: theme.colors.blue[50],\n },\n};\n\nexport const CheckBoxDisableWithLabel: Story = {\n name: \"checkbox-desmarcado-com-label\",\n args: {\n widthBoxCheckIcon: 30,\n backgroundBoxCheckIcon: \"transparent\",\n textLabel:\n \"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\",\n textSizeLabel: 17,\n colorTextLabel: theme.colors.neutral[25],\n isChecked: false,\n backgroundColorCheck: theme.colors.blue[375],\n },\n};\n\nexport const CheckBoxAbleWithLabel: Story = {\n name: \"checkbox-marcado-com-label\",\n args: {\n textLabel: \"Label Checked\",\n textSizeLabel: 17,\n colorTextLabel: theme.colors.neutral[25],\n isChecked: true,\n backgroundColorCheck: theme.colors.blue[375],\n },\n};\n"],"mappings":";;;;;;AAGA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAA2B,GAAG;EAClCC,KAAK,EAAE,qBAAqB;EAC5BC,SAAS,EAAEC,kBAAoB;EAC/BC,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaf,IAAI;AAIZ,MAAMgB,eAAsB,GAAAF,OAAA,CAAAE,eAAA,GAAG;EACpCC,IAAI,EAAE,qBAAqB;EAC3Bb,IAAI,EAAE;IACJE,SAAS,EAAE;EACb;AACF,CAAC;AAEM,MAAMY,YAAmB,GAAAJ,OAAA,CAAAI,YAAA,GAAG;EACjCD,IAAI,EAAE,kBAAkB;EACxBb,IAAI,EAAE;IACJe,iBAAiB,EAAE,EAAE;IACrBb,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,EAAE;EAC5C;AACF,CAAC;AAEM,MAAMU,wBAA+B,GAAAN,OAAA,CAAAM,wBAAA,GAAG;EAC7CH,IAAI,EAAE,+BAA+B;EACrCb,IAAI,EAAE;IACJe,iBAAiB,EAAE,EAAE;IACrBE,sBAAsB,EAAE,aAAa;IACrCC,SAAS,EACP,uIAAuI;IACzIC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAC;IACxCnB,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC;AAEM,MAAMgB,qBAA4B,GAAAZ,OAAA,CAAAY,qBAAA,GAAG;EAC1CT,IAAI,EAAE,4BAA4B;EAClCb,IAAI,EAAE;IACJkB,SAAS,EAAE,eAAe;IAC1BC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEhB,YAAK,CAACC,MAAM,CAACgB,OAAO,CAAC,EAAE,CAAC;IACxCnB,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_coil","require","meta","title","component","Coil","args","description","handleNavigation","status","parameters","notes","_default","exports","default","CoilPending","name","CoilApproved","CoilRecused","CoilAndamento","CoilNoStatus","backgroundColor","disabled","CoilOff","backgroundColorIcon"],"sources":["coil.stories.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { Coil } from \"../../components/coil\";\r\n\r\nconst meta: Meta<typeof Coil> = {\r\n title: \"componente/Coil\",\r\n component: Coil as React.FC,\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Cancelado\",\r\n },\r\n parameters: {\r\n notes: `\r\n# Coil\r\n\r\nEste é um componente de Card da bobina.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<Coil\r\n title=''\r\n description=''\r\n handleNavigation={() => {}}\r\n status=''\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CoilPending: Story = {\r\n name: \"coil-pending\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Pendente\",\r\n },\r\n};\r\n\r\nexport const CoilApproved: Story = {\r\n name: \"coil-approved\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Concluido\",\r\n },\r\n};\r\n\r\nexport const CoilRecused: Story = {\r\n name: \"coil-recused\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Cancelado\",\r\n },\r\n};\r\n\r\nexport const CoilAndamento: Story = {\r\n name: \"coil-andamento\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"background color diferente\",\r\n handleNavigation: () => {},\r\n status: \"Andamento\",\r\n },\r\n};\r\n\r\nexport const CoilNoStatus: Story = {\r\n name: \"coil-no-status\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"background color diferente\",\r\n handleNavigation: () => {},\r\n backgroundColor: \"green\",\r\n status: \"Andamento\",\r\n disabled: true,\r\n },\r\n};\r\n\r\nexport const CoilOff: Story = {\r\n name: \"coil-off\",\r\n args: {\r\n title: \"HUTY-9823\",\r\n description: \"background color diferente\",\r\n handleNavigation: () => {},\r\n status: \"Pendente\",\r\n backgroundColorIcon: \"#fff\",\r\n },\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,KAAA,GAAAC,OAAA;AAEA,MAAMC,IAAuB,GAAG;EAC9BC,KAAK,EAAE,iBAAiB;EACxBC,SAAS,EAAEC,UAAgB;EAC3BC,IAAI,EAAE;IACJH,KAAK,EAAE,WAAW;IAClBI,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,E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W,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1Ba,eAAe,EAAE,OAAO;IACxBZ,MAAM,EAAE,WAAW;IACnBa,QAAQ,EAAE;EACZ;AACF,CAAC;AAEM,MAAMC,OAAc,GAAAV,OAAA,CAAAU,OAAA,GAAG;EAC5BP,IAAI,EAAE,UAAU;EAChBV,IAAI,EAAE;IACJH,KAAK,EAAE,WAAW;IAClBI,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE,UAAU;IAClBe,mBAAmB,EAAE;EACvB;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_coil","require","meta","title","component","Coil","args","description","handleNavigation","status","parameters","notes","_default","exports","default","CoilPending","name","CoilApproved","CoilRecused","CoilAndamento","CoilNoStatus","backgroundColor","disabled","CoilOff","backgroundColorIcon"],"sources":["coil.stories.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { Coil } from \"../../components/coil\";\n\nconst meta: Meta<typeof Coil> = {\n title: \"componente/Coil\",\n component: Coil as React.FC,\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Cancelado\",\n },\n parameters: {\n notes: `\n# Coil\n\nEste é um componente de Card da bobina.\nVocê usa assim:\n\\`\\`\\`tsx\n<Coil\n title=''\n description=''\n handleNavigation={() => {}}\n status=''\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CoilPending: Story = {\n name: \"coil-pending\",\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Pendente\",\n },\n};\n\nexport const CoilApproved: Story = {\n name: \"coil-approved\",\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Concluido\",\n },\n};\n\nexport const CoilRecused: Story = {\n name: \"coil-recused\",\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Cancelado\",\n },\n};\n\nexport const CoilAndamento: Story = {\n name: \"coil-andamento\",\n args: {\n title: \"HUTY-9754\",\n description: \"background color diferente\",\n handleNavigation: () => {},\n status: \"Andamento\",\n },\n};\n\nexport const CoilNoStatus: Story = {\n name: \"coil-no-status\",\n args: {\n title: \"HUTY-9754\",\n description: \"background color diferente\",\n handleNavigation: () => {},\n backgroundColor: \"green\",\n status: \"Andamento\",\n disabled: true,\n },\n};\n\nexport const CoilOff: Story = {\n name: \"coil-off\",\n args: {\n title: \"HUTY-9823\",\n description: \"background color diferente\",\n handleNavigation: () => {},\n status: \"Pendente\",\n backgroundColorIcon: \"#fff\",\n },\n};\n"],"mappings":";;;;;;AAGA,IAAAA,KAAA,GAAAC,OAAA;AAEA,MAAMC,IAAuB,GAAG;EAC9BC,KAAK,EAAE,iBAAiB;EACxBC,SAAS,EAAEC,UAAgB;EAC3BC,IAAI,EAAE;IACJH,KAAK,EAAE,WAAW;IAClBI,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaZ,IAAI;AAIZ,MAAMa,WAAkB,GAAAF,OAAA,CAAAE,WAAA,GAAG;EAChCC,IAAI,EAAE,cAAc;EACpBV,IAAI,EAAE;IACJH,KAAK,EAAE,WAAW;IAClBI,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV;AACF,CAAC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EAAE;EACvB;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_filterDateSelector","_formatData","e","__esModule","default","meta","title","component","FilterDateSelector","args","selectedDay","date","dayName","fullDate","Date","handleSelectedDay","days","parameters","notes","_default","exports","FilterDateSelectorSimples","name","render","isLoading","setIsLoading","React","useState","setSelectedDay","getLastSevenDays","useEffect","today","find","day","getDate","getMonth","setTimeout","createElement","FilterDateSelectorTodos"],"sources":["filter-date-selector.stories.tsx"],"sourcesContent":["import React from \"react\";\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { FilterDateSelector } from \"../../components/filter-date-selector\";\r\nimport { getLastSevenDays } from \"../../utils/format-data\";\r\nimport { ISelectedDay } from \"../../components/filter-date-selector/interface\";\r\n\r\nconst meta: Meta<typeof FilterDateSelector> = {\r\n title: \"componente/FilterDateSelector\",\r\n component: FilterDateSelector as React.FC,\r\n args: {\r\n selectedDay: {\r\n date: \"\",\r\n dayName: \"\",\r\n fullDate: new Date(\"\"),\r\n },\r\n handleSelectedDay: (date: ISelectedDay) => {\r\n return date;\r\n },\r\n days: [],\r\n },\r\n parameters: {\r\n notes: `\r\n# FilterDateSelector\r\n\r\nEste é um componente de filtro do dias .\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n <FilterDateSelector\r\n selectedDay={selectedDay as any}\r\n handleSelectedDay={setSelectedDay as any}\r\n days={days as []}\r\n isLoading={false}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const FilterDateSelectorSimples: Story = {\r\n name: \"filter-journey\",\r\n render: () => {\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n const [selectedDay, setSelectedDay] = React.useState<ISelectedDay>({\r\n date: \"\",\r\n dayName: \"\",\r\n fullDate: new Date(\"\"),\r\n });\r\n const days = getLastSevenDays();\r\n\r\n React.useEffect(() => {\r\n const today = new Date();\r\n\r\n setSelectedDay(\r\n days.find(\r\n (day) => day.date === today.getDate() && day.fullDate.getMonth() === today.getMonth()\r\n ) as any\r\n );\r\n }, []);\r\n\r\n const handleSelectedDay = (day: ISelectedDay) => {\r\n setSelectedDay(day);\r\n setIsLoading(true);\r\n\r\n /* global setTimeout */\r\n setTimeout(() => {\r\n setIsLoading(false);\r\n }, 1000);\r\n };\r\n return (\r\n <FilterDateSelector\r\n selectedDay={selectedDay as any}\r\n handleSelectedDay={handleSelectedDay as any}\r\n days={days as []}\r\n isLoading={isLoading}\r\n />\r\n );\r\n },\r\n args: {\r\n selectedDay: {\r\n date: \"\",\r\n dayName: \"\",\r\n fullDate: new Date(\"\"),\r\n },\r\n handleSelectedDay: (date: ISelectedDay) => {\r\n return date;\r\n },\r\n days: [],\r\n },\r\n};\r\n\r\nexport const FilterDateSelectorTodos: Story = {\r\n name: \"filter-journey-todos\",\r\n render: () => {\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n\r\n const days = getLastSevenDays() as ISelectedDay[];\r\n\r\n const [selectedDay, setSelectedDay] = React.useState<any>(days[0]);\r\n\r\n // Função para lidar com a seleção de um dia\r\n const handleSelectedDay = (day: ISelectedDay) => {\r\n setSelectedDay(day);\r\n setIsLoading(true);\r\n // Simula um carregamento de 1 segundo\r\n setTimeout(() => setIsLoading(false), 1000);\r\n };\r\n\r\n return (\r\n <FilterDateSelector\r\n selectedDay={selectedDay}\r\n handleSelectedDay={handleSelectedDay as any}\r\n days={days}\r\n isLoading={isLoading}\r\n />\r\n );\r\n },\r\n args: {}, // <- NÃO defina selectedDay/days aqui\r\n};\r\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAA2D,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,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AW,UAAU,CAAC,MAAMX,YAAY,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAC7C,CAAC;IAED,oBACE5B,MAAA,CAAAO,OAAA,CAAAiC,aAAA,CAACrC,mBAAA,CAAAQ,kBAAkB;MACjBE,WAAW,EAAEA,WAAY;MACzBK,iBAAiB,EAAEA,iBAAyB;MAC5CC,IAAI,EAAEA,IAAK;MACXQ,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC;EACDf,IAAI,EAAE,CAAC,CAAC,CAAE;AACZ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_filterDateSelector","_formatData","e","__esModule","default","meta","title","component","FilterDateSelector","args","selectedDay","date","dayName","fullDate","Date","handleSelectedDay","days","parameters","notes","_default","exports","FilterDateSelectorSimples","name","render","isLoading","setIsLoading","React","useState","setSelectedDay","getLastSevenDays","useEffect","today","find","day","getDate","getMonth","setTimeout","createElement","FilterDateSelectorTodos"],"sources":["filter-date-selector.stories.tsx"],"sourcesContent":["import React from \"react\";\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { FilterDateSelector } from \"../../components/filter-date-selector\";\nimport { getLastSevenDays } from \"../../utils/format-data\";\nimport { ISelectedDay } from \"../../components/filter-date-selector/interface\";\n\nconst meta: Meta<typeof FilterDateSelector> = {\n title: \"componente/FilterDateSelector\",\n component: FilterDateSelector as React.FC,\n args: {\n selectedDay: {\n date: \"\",\n dayName: \"\",\n fullDate: new Date(\"\"),\n },\n handleSelectedDay: (date: ISelectedDay) => {\n return date;\n },\n days: [],\n },\n parameters: {\n notes: `\n# FilterDateSelector\n\nEste é um componente de filtro do dias .\nVocê usa assim:\n\\`\\`\\`tsx\n <FilterDateSelector\n selectedDay={selectedDay as any}\n handleSelectedDay={setSelectedDay as any}\n days={days as []}\n isLoading={false}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const FilterDateSelectorSimples: Story = {\n name: \"filter-journey\",\n render: () => {\n const [isLoading, setIsLoading] = React.useState(false);\n const [selectedDay, setSelectedDay] = React.useState<ISelectedDay>({\n date: \"\",\n dayName: \"\",\n fullDate: new Date(\"\"),\n });\n const days = getLastSevenDays();\n\n React.useEffect(() => {\n const today = new Date();\n\n setSelectedDay(\n days.find(\n (day) => day.date === today.getDate() && day.fullDate.getMonth() === today.getMonth()\n ) as any\n );\n }, []);\n\n const handleSelectedDay = (day: ISelectedDay) => {\n setSelectedDay(day);\n setIsLoading(true);\n\n /* global setTimeout */\n setTimeout(() => {\n setIsLoading(false);\n }, 1000);\n };\n return (\n <FilterDateSelector\n selectedDay={selectedDay as any}\n handleSelectedDay={handleSelectedDay as any}\n days={days as []}\n isLoading={isLoading}\n />\n );\n },\n args: {\n selectedDay: {\n date: \"\",\n dayName: \"\",\n fullDate: new Date(\"\"),\n },\n handleSelectedDay: (date: ISelectedDay) => {\n return date;\n },\n days: [],\n },\n};\n\nexport const FilterDateSelectorTodos: Story = {\n name: \"filter-journey-todos\",\n render: () => {\n const [isLoading, setIsLoading] = React.useState(false);\n\n const days = getLastSevenDays() as ISelectedDay[];\n\n const [selectedDay, setSelectedDay] = React.useState<any>(days[0]);\n\n // Função para lidar com a seleção de um dia\n const handleSelectedDay = (day: ISelectedDay) => {\n setSelectedDay(day);\n setIsLoading(true);\n // Simula um carregamento de 1 segundo\n setTimeout(() => setIsLoading(false), 1000);\n };\n\n return (\n <FilterDateSelector\n selectedDay={selectedDay}\n handleSelectedDay={handleSelectedDay as any}\n days={days}\n isLoading={isLoading}\n />\n );\n },\n args: {}, // <- NÃO defina selectedDay/days aqui\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,mBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAA2D,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KA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C;MAClB;MACAW,UAAU,CAAC,MAAMX,YAAY,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAC7C,CAAC;IAED,oBACE5B,MAAA,CAAAO,OAAA,CAAAiC,aAAA,CAACrC,mBAAA,CAAAQ,kBAAkB;MACjBE,WAAW,EAAEA,WAAY;MACzBK,iBAAiB,EAAEA,iBAAyB;MAC5CC,IAAI,EAAEA,IAAK;MACXQ,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC;EACDf,IAAI,EAAE,CAAC,CAAC,CAAE;AACZ,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_historyDetails","require","meta","title","component","HistoryDetails","args","numero","local","date","duracao","parameters","notes","_default","exports","default","Padrao","name"],"sources":["history-details.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { HistoryDetails } from \"../../components/history-details\";\r\n\r\nconst meta: Meta<typeof HistoryDetails> = {\r\n title: \"componente/HistoryDetails\",\r\n component: HistoryDetails,\r\n args: {\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 parameters: {\r\n notes: ` HistoryDetails Este é um componente de detalhe do histórico.Você usa assim:\r\n <HistoryDetails\r\n numero=\"999999\"\r\n local=\"Doca 3, Pátio 05 - Usiminas (Ipatinga)\"\r\n date=\"2026-01-01\"\r\n duracao=\"01:15\"\r\n />`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Padrao: Story = {\r\n name: \"history-details-padrao\",\r\n args: {\r\n numero: \"01020304050607\",\r\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date: \"2025-03-24\",\r\n duracao: \"00:30\",\r\n },\r\n};\r\n"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AAEA,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEC,8BAAc;EACzBC,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEab,IAAI;AAIZ,MAAMc,MAAa,GAAAF,OAAA,CAAAE,MAAA,GAAG;EAC3BC,IAAI,EAAE,wBAAwB;EAC9BX,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_historyDetails","require","meta","title","component","HistoryDetails","args","numero","local","date","duracao","parameters","notes","_default","exports","default","Padrao","name"],"sources":["history-details.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\nimport { HistoryDetails } from \"../../components/history-details\";\n\nconst meta: Meta<typeof HistoryDetails> = {\n title: \"componente/HistoryDetails\",\n component: HistoryDetails,\n args: {\n numero: \"01020304050607\",\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date: \"24/03/2025\",\n duracao: \"00:30\",\n },\n parameters: {\n notes: ` HistoryDetails Este é um componente de detalhe do histórico.Você usa assim:\n <HistoryDetails\n numero=\"999999\"\n local=\"Doca 3, Pátio 05 - Usiminas (Ipatinga)\"\n date=\"2026-01-01\"\n duracao=\"01:15\"\n />`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Padrao: Story = {\n name: \"history-details-padrao\",\n args: {\n numero: \"01020304050607\",\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date: \"2025-03-24\",\n duracao: \"00:30\",\n },\n};\n"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AAEA,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEC,8BAAc;EACzBC,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEab,IAAI;AAIZ,MAAMc,MAAa,GAAAF,OAAA,CAAAE,MAAA,GAAG;EAC3BC,IAAI,EAAE,wBAAwB;EAC9BX,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_imageCaptureWithRemove","require","meta","title","component","ImageCaptureWithRemove","args","foto","status","parameters","notes","_default","exports","default","ImageCapture","name","handleTakePhoto","onRemove","ImageCaptureWithDelete","ImageCaptureWithStatus"],"sources":["image-capture-with-remove.stories.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { ImageCaptureWithRemove } from \"../../components/image-capture-with-remove\";\r\n\r\nconst meta: Meta<typeof ImageCaptureWithRemove> = {\r\n title: \"componente/ImageCaptureWithRemove\",\r\n component: ImageCaptureWithRemove as React.FC,\r\n args: {\r\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\r\n status: \"Cancelado\",\r\n },\r\n parameters: {\r\n notes: `\r\n# ImageCaptureWithRemove\r\n\r\nEste é um componente de ImageCaptureWithRemove.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ImageCaptureWithRemove\r\n\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ImageCapture: Story = {\r\n name: \"image-capture-with\",\r\n args: {\r\n foto: null,\r\n handleTakePhoto: () => {},\r\n onRemove: () => {},\r\n },\r\n};\r\n\r\nexport const ImageCaptureWithDelete: Story = {\r\n name: \"image-capture-with-delete\",\r\n args: {\r\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\r\n handleTakePhoto: () => {},\r\n onRemove: () => {},\r\n },\r\n};\r\nexport const ImageCaptureWithStatus: Story = {\r\n name: \"image-capture-with-status\",\r\n args: {\r\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\r\n handleTakePhoto: () => {},\r\n onRemove: () => {},\r\n status: \"Pendente\",\r\n },\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,uBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEC,8CAAkC;EAC7CC,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaX,IAAI;AAIZ,MAAMY,YAAmB,GAAAF,OAAA,CAAAE,YAAA,GAAG;EACjCC,IAAI,EAAE,oBAAoB;EAC1BT,IAAI,EAAE;IACJC,IAAI,EAAE,IAAI;IACVS,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AAEM,MAAMC,sBAA6B,GAAAN,OAAA,CAAAM,sBAAA,GAAG;EAC3CH,IAAI,EAAE,2BAA2B;EACjCT,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGS,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AACM,MAAME,sBAA6B,GAAAP,OAAA,CAAAO,sBAAA,GAAG;EAC3CJ,IAAI,EAAE,2BAA2B;EACjCT,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGS,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClBT,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_imageCaptureWithRemove","require","meta","title","component","ImageCaptureWithRemove","args","foto","status","parameters","notes","_default","exports","default","ImageCapture","name","handleTakePhoto","onRemove","ImageCaptureWithDelete","ImageCaptureWithStatus"],"sources":["image-capture-with-remove.stories.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { ImageCaptureWithRemove } from \"../../components/image-capture-with-remove\";\n\nconst meta: Meta<typeof ImageCaptureWithRemove> = {\n title: \"componente/ImageCaptureWithRemove\",\n component: ImageCaptureWithRemove as React.FC,\n args: {\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\n status: \"Cancelado\",\n },\n parameters: {\n notes: `\n# ImageCaptureWithRemove\n\nEste é um componente de ImageCaptureWithRemove.\nVocê usa assim:\n\\`\\`\\`tsx\n<ImageCaptureWithRemove\n\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const ImageCapture: Story = {\n name: \"image-capture-with\",\n args: {\n foto: null,\n handleTakePhoto: () => {},\n onRemove: () => {},\n },\n};\n\nexport const ImageCaptureWithDelete: Story = {\n name: \"image-capture-with-delete\",\n args: {\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\n handleTakePhoto: () => {},\n onRemove: () => {},\n },\n};\nexport const ImageCaptureWithStatus: Story = {\n name: \"image-capture-with-status\",\n args: {\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\n handleTakePhoto: () => {},\n onRemove: () => {},\n status: \"Pendente\",\n },\n};\n"],"mappings":";;;;;;AAGA,IAAAA,uBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEC,8CAAkC;EAC7CC,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaX,IAAI;AAIZ,MAAMY,YAAmB,GAAAF,OAAA,CAAAE,YAAA,GAAG;EACjCC,IAAI,EAAE,oBAAoB;EAC1BT,IAAI,EAAE;IACJC,IAAI,EAAE,IAAI;IACVS,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AAEM,MAAMC,sBAA6B,GAAAN,OAAA,CAAAM,sBAAA,GAAG;EAC3CH,IAAI,EAAE,2BAA2B;EACjCT,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGS,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AACM,MAAME,sBAA6B,GAAAP,OAAA,CAAAO,sBAAA,GAAG;EAC3CJ,IAAI,EAAE,2BAA2B;EACjCT,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGS,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClBT,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Default = void 0;
7
+ var _modalActivities = require("../../components/modal-activities");
8
+ const meta = {
9
+ title: "componente/ModalActivities",
10
+ component: _modalActivities.ModalActivities,
11
+ args: {
12
+ width: 120,
13
+ onClose: () => {},
14
+ isLoading: false,
15
+ handleActivity: activity => () => {
16
+ return activity;
17
+ }
18
+ },
19
+ parameters: {
20
+ notes: `
21
+ # MenuItem
22
+
23
+ Este é um componente de MenuItem de menu.
24
+ Você usa assim:
25
+ \`\`\`tsx
26
+ <ModalActivities
27
+ {...args}
28
+ onClose={() => setIsVisible(false)}
29
+ handleActivity={handleActivity}
30
+ />
31
+ \`\`\`
32
+ `
33
+ }
34
+ };
35
+ var _default = exports.default = meta;
36
+ const Default = exports.Default = {
37
+ name: "modal-activities",
38
+ args: {
39
+ width: 120,
40
+ isLoading: false,
41
+ onClose: () => {},
42
+ handleActivity: activity => () => {
43
+ return activity;
44
+ }
45
+ }
46
+ };
47
+ //# sourceMappingURL=modal-activities.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_modalActivities","require","meta","title","component","ModalActivities","args","width","onClose","isLoading","handleActivity","activity","parameters","notes","_default","exports","default","Default","name"],"sources":["modal-activities.stories.tsx"],"sourcesContent":["import { StoryObj, Meta } from \"@storybook/react\";\nimport { ModalActivities } from \"../../components/modal-activities\";\n\nconst meta: Meta<typeof ModalActivities> = {\n title: \"componente/ModalActivities\",\n component: ModalActivities,\n args: {\n width: 120,\n onClose: () => {},\n isLoading: false,\n handleActivity: (activity: string) => () => {\n return activity;\n },\n },\n parameters: {\n notes: `\n# MenuItem\n\nEste é um componente de MenuItem de menu.\nVocê usa assim:\n\\`\\`\\`tsx\n <ModalActivities\n {...args}\n onClose={() => setIsVisible(false)}\n handleActivity={handleActivity}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Default: Story = {\n name: \"modal-activities\",\n args: {\n width: 120,\n isLoading: false,\n onClose: () => {},\n handleActivity: (activity: string) => () => {\n return activity;\n },\n },\n};\n"],"mappings":";;;;;;AACA,IAAAA,gBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEC,gCAAe;EAC1BC,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE,KAAK;IAChBC,cAAc,EAAGC,QAAgB,IAAK,MAAM;MAC1C,OAAOA,QAAQ;IACjB;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEad,IAAI;AAIZ,MAAMe,OAAc,GAAAF,OAAA,CAAAE,OAAA,GAAG;EAC5BC,IAAI,EAAE,kBAAkB;EACxBZ,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVE,SAAS,EAAE,KAAK;IAChBD,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBE,cAAc,EAAGC,QAAgB,IAAK,MAAM;MAC1C,OAAOA,QAAQ;IACjB;EACF;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_notificationLoading","require","meta","title","component","NotificationLoading","args","date","handleNavigation","notification","statusNotify","dataStart","readonly","parameters","notes","_default","exports","default","NotificationLoadingPending","name","NotificationLoadingApproved","NotificationLoadingRecused","NotificationLoadingReadonly"],"sources":["notification-loading.stories.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { NotificationLoading } from \"../../components/notification-loading\";\r\n\r\nconst meta: Meta<typeof NotificationLoading> = {\r\n title: \"componente/NotificationLoading\",\r\n component: NotificationLoading as React.FC,\r\n args: {\r\n title: \"Carregamento - #013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"pending\",\r\n dataStart: \"Hoje\",\r\n readonly: false,\r\n },\r\n parameters: {\r\n notes: `\r\n# NotificationLoading\r\n\r\nEste é um componente de Card de notificação.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<NotificationLoading\r\n title=\"\"\r\n date=\"\"\r\n handleNavigation={() => {}}\r\n notification=\"\"\r\n statusNotify=\"\"\r\n dataStart: \"Hoje\",\r\n readonly: false,\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const NotificationLoadingPending: Story = {\r\n name: \"Notification-pending\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Pendente\",\r\n dataStart: \"Ontem\",\r\n },\r\n};\r\nexport const NotificationLoadingApproved: Story = {\r\n name: \"Notification-Approved\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Aprovado\",\r\n dataStart: \"Hoje\",\r\n },\r\n};\r\nexport const NotificationLoadingRecused: Story = {\r\n name: \"Notification-recused\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Reprovado\",\r\n dataStart: \"25 abril 2025\",\r\n },\r\n};\r\n\r\nexport const NotificationLoadingReadonly: Story = {\r\n name: \"Notification-readonly\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Reprovado\",\r\n dataStart: \"25 abril 2025\",\r\n readonly: true,\r\n },\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,oBAAA,GAAAC,OAAA;AAEA,MAAMC,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEC,wCAA+B;EAC1CC,IAAI,EAAE;IACJH,KAAK,EAAE,8BAA8B;IACrCI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,SAAS;IACvBC,SAAS,EAAE,MAAM;IACjBC,QAAQ,EAAE;EACZ,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaf,IAAI;AAIZ,MAAMgB,0BAAiC,GAAAF,OAAA,CAAAE,0BAAA,GAAG;EAC/CC,IAAI,EAAE,sBAAsB;EAC5Bb,IAAI,EAAE;IACJH,KAAK,EAAE,eAAe;IACtBI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACM,MAAMS,2BAAkC,GAAAJ,OAAA,CAAAI,2BAAA,GAAG;EAChDD,IAAI,EAAE,uBAAuB;EAC7Bb,IAAI,EAAE;IACJH,KAAK,EAAE,eAAe;IACtBI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACM,MAAMU,0BAAiC,GAAAL,OAAA,CAAAK,0BAAA,GAAG;EAC/CF,IAAI,EAAE,sBAAsB;EAC5Bb,IAAI,EAAE;IACJH,KAAK,EAAE,eAAe;IACtBI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE;EACb;AACF,CAAC;AAEM,MAAMW,2BAAkC,GAAAN,OAAA,CAAAM,2BAAA,GAAG;EAChDH,IAAI,EAAE,uBAAuB;EAC7Bb,IAAI,EAAE;IACJH,KAAK,EAAE,eAAe;IACtBI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE,eAAe;IAC1BC,QAAQ,EAAE;EACZ;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_notificationLoading","require","meta","title","component","NotificationLoading","args","date","handleNavigation","notification","statusNotify","dataStart","readonly","parameters","notes","_default","exports","default","NotificationLoadingPending","name","NotificationLoadingApproved","NotificationLoadingRecused","NotificationLoadingReadonly"],"sources":["notification-loading.stories.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { NotificationLoading } from \"../../components/notification-loading\";\n\nconst meta: Meta<typeof NotificationLoading> = {\n title: \"componente/NotificationLoading\",\n component: NotificationLoading as React.FC,\n args: {\n title: \"Carregamento - #013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"pending\",\n dataStart: \"Hoje\",\n readonly: false,\n },\n parameters: {\n notes: `\n# NotificationLoading\n\nEste é um componente de Card de notificação.\nVocê usa assim:\n\\`\\`\\`tsx\n<NotificationLoading\n title=\"\"\n date=\"\"\n handleNavigation={() => {}}\n notification=\"\"\n statusNotify=\"\"\n dataStart: \"Hoje\",\n readonly: false,\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const NotificationLoadingPending: Story = {\n name: \"Notification-pending\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Pendente\",\n dataStart: \"Ontem\",\n },\n};\nexport const NotificationLoadingApproved: Story = {\n name: \"Notification-Approved\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Aprovado\",\n dataStart: \"Hoje\",\n },\n};\nexport const NotificationLoadingRecused: Story = {\n name: \"Notification-recused\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Reprovado\",\n dataStart: \"25 abril 2025\",\n },\n};\n\nexport const NotificationLoadingReadonly: Story = {\n name: \"Notification-readonly\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Reprovado\",\n dataStart: \"25 abril 2025\",\n readonly: true,\n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;EAC5Bb,IAAI,EAAE;IACJH,KAAK,EAAE,eAAe;IACtBI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE;EACb;AACF,CAAC;AAEM,MAAMW,2BAAkC,GAAAN,OAAA,CAAAM,2BAAA,GAAG;EAChDH,IAAI,EAAE,uBAAuB;EAC7Bb,IAAI,EAAE;IACJH,KAAK,EAAE,eAAe;IACtBI,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE,eAAe;IAC1BC,QAAQ,EAAE;EACZ;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_profileMenuOption","require","_theme","meta","title","component","ProfileMenuOption","args","text","icon","backgroundColor","theme","colors","blue","colorIcon","neutral","handleNavigation","parameters","notes","_default","exports","default","Default","name","CustomColor","Support"],"sources":["profile-menu-option.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ProfileMenuOption } from \"../../components/profile-menu-option\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof ProfileMenuOption> = {\r\n title: \"componente/ProfileMenuOption\",\r\n component: ProfileMenuOption,\r\n args: {\r\n text: \"Perfil\",\r\n icon: \"AGENT\",\r\n backgroundColor: theme.colors.blue[400],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n parameters: {\r\n notes: `\r\n# ProfileMenuOption\r\n\r\nEste é um componente de opção de menu para perfil.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ProfileMenuOption\r\n text=\"Perfil\"\r\n icon=\"AGENT\"\r\n backgroundColor={theme.colors.blue[400]}\r\n colorIcon={theme.colors.neutral[25]}\r\n handleNavigation={() => {}}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Default: Story = {\r\n name: \"profile-menu-option\",\r\n args: {\r\n text: \"Perfil\",\r\n icon: \"AGENT\",\r\n backgroundColor: theme.colors.blue[400],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n};\r\n\r\nexport const CustomColor: Story = {\r\n name: \"profile-menu-option-custom-color\",\r\n args: {\r\n text: \"Configurações\",\r\n icon: \"GEAR\",\r\n backgroundColor: theme.colors.blue[500],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n};\r\n\r\nexport const Support: Story = {\r\n name: \"profile-menu-option-support\",\r\n args: {\r\n text: \"Suporte\",\r\n icon: \"LIFEBUOY\",\r\n backgroundColor: theme.colors.blue[400],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n};\r\n"],"mappings":";;;;;;AAEA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEC,oCAAiB;EAC5BC,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEH,YAAK,CAACC,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEalB,IAAI;AAIZ,MAAMmB,OAAc,GAAAF,OAAA,CAAAE,OAAA,GAAG;EAC5BC,IAAI,EAAE,qBAAqB;EAC3BhB,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEH,YAAK,CAACC,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAEM,MAAMQ,WAAkB,GAAAJ,OAAA,CAAAI,WAAA,GAAG;EAChCD,IAAI,EAAE,kCAAkC;EACxChB,IAAI,EAAE;IACJC,IAAI,EAAE,eAAe;IACrBC,IAAI,EAAE,MAAM;IACZC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEH,YAAK,CAACC,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAEM,MAAMS,OAAc,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAC5BF,IAAI,EAAE,6BAA6B;EACnChB,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,UAAU;IAChBC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEH,YAAK,CAACC,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_profileMenuOption","require","_theme","meta","title","component","ProfileMenuOption","args","text","icon","backgroundColor","theme","colors","blue","colorIcon","neutral","handleNavigation","parameters","notes","_default","exports","default","Default","name","CustomColor","Support"],"sources":["profile-menu-option.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { ProfileMenuOption } from \"../../components/profile-menu-option\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof ProfileMenuOption> = {\n title: \"componente/ProfileMenuOption\",\n component: ProfileMenuOption,\n args: {\n text: \"Perfil\",\n icon: \"AGENT\",\n backgroundColor: theme.colors.blue[400],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n parameters: {\n notes: `\n# ProfileMenuOption\n\nEste é um componente de opção de menu para perfil.\nVocê usa assim:\n\\`\\`\\`tsx\n<ProfileMenuOption\n text=\"Perfil\"\n icon=\"AGENT\"\n backgroundColor={theme.colors.blue[400]}\n colorIcon={theme.colors.neutral[25]}\n handleNavigation={() => {}}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Default: Story = {\n name: \"profile-menu-option\",\n args: {\n text: \"Perfil\",\n icon: \"AGENT\",\n backgroundColor: theme.colors.blue[400],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n};\n\nexport const CustomColor: Story = {\n name: \"profile-menu-option-custom-color\",\n args: {\n text: \"Configurações\",\n icon: \"GEAR\",\n backgroundColor: theme.colors.blue[500],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n};\n\nexport const Support: Story = {\n name: \"profile-menu-option-support\",\n args: {\n text: \"Suporte\",\n icon: \"LIFEBUOY\",\n backgroundColor: theme.colors.blue[400],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n};\n"],"mappings":";;;;;;AAEA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEC,oCAAiB;EAC5BC,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OA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EC,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEH,YAAK,CAACC,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_stepIndicator","require","_theme","meta","title","component","StepIndicator","args","data","id","descricao","data_inicio","data_fim","duracao_segundos","backgroundColorBall","theme","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","_default","exports","default","dataMock","dataMockCustom","StepIndicatorDefault","name","type","textColorDescription","gray","StepIndicationCustom","orange"],"sources":["step-indicator.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\r\n\r\n// components\r\nimport { StepIndicator } from \"../../components/step-indicator\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof StepIndicator> = {\r\n title: \"Componente/StepIndicator\",\r\n component: StepIndicator,\r\n args: {\r\n data: [\r\n {\r\n id: 1,\r\n descricao: \"Repouso Noturno\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n ],\r\n backgroundColorBall: theme.colors.blue[500],\r\n titleColor: theme.colors.neutral[25],\r\n titleNumberColor: theme.colors.neutral[25],\r\n },\r\n parameters: {\r\n notes: `\r\n# StepIndicator\r\n\r\nEste é um componente de step indicator.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<StepIndicator\r\n backgroundColorBall=\"#050022\"\r\n type=\"default\"\r\n data={dataMock}\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nconst dataMock = [\r\n {\r\n id: 1,\r\n descricao: \"Repouso Noturno\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n {\r\n id: 2,\r\n descricao: \"Descarga\",\r\n data_inicio: \"06/03/2024 14:52\",\r\n data_fim: \"06/03/2024 16:52\",\r\n duracao_segundos: \"7200\",\r\n },\r\n];\r\n\r\nconst dataMockCustom = [\r\n {\r\n id: 1,\r\n descricao: \"Pedido Realizado\",\r\n data_inicio: \"\",\r\n data_fim: \"\",\r\n duracao_segundos: \"\",\r\n },\r\n {\r\n id: 2,\r\n descricao: \"Pagamento Aprovado\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n {\r\n id: 3,\r\n descricao: \"Pedido Faturado\",\r\n data_inicio: \"\",\r\n data_fim: \"\",\r\n duracao_segundos: \"\",\r\n },\r\n {\r\n id: 4,\r\n descricao: \"Pedido Enviado\",\r\n data_inicio: \"\",\r\n data_fim: \"\",\r\n duracao_segundos: \"\",\r\n },\r\n {\r\n id: 4,\r\n descricao: \"Pedido Entregue\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n];\r\n\r\nexport const StepIndicatorDefault: Story = {\r\n name: \"step-indicator-default\",\r\n args: {\r\n data: dataMock,\r\n type: \"default\",\r\n backgroundColorBall: theme.colors.blue[500],\r\n titleColor: theme.colors.neutral[25],\r\n textColorDescription: theme.colors.gray[300],\r\n titleNumberColor: theme.colors.neutral[25],\r\n },\r\n};\r\n\r\nexport const StepIndicationCustom: Story = {\r\n name: \"step-indicator-custom\",\r\n args: {\r\n data: dataMockCustom,\r\n type: \"custom\",\r\n backgroundColorBall: theme.colors.orange[150],\r\n titleColor: theme.colors.blue[500],\r\n textColorDescription: theme.colors.gray[300],\r\n titleNumberColor: theme.colors.neutral[25],\r\n },\r\n};\r\n"],"mappings":";;;;;;AAGA,IAAAA,cAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAA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AAU,EAAEH,YAAK,CAACC,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAClCc,oBAAoB,EAAEhB,YAAK,CAACC,MAAM,CAACgB,IAAI,CAAC,GAAG,CAAC;IAC5CZ,gBAAgB,EAAEL,YAAK,CAACC,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_stepIndicator","require","_theme","meta","title","component","StepIndicator","args","data","id","descricao","data_inicio","data_fim","duracao_segundos","backgroundColorBall","theme","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","_default","exports","default","dataMock","dataMockCustom","StepIndicatorDefault","name","type","textColorDescription","gray","StepIndicationCustom","orange"],"sources":["step-indicator.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\n\n// components\nimport { StepIndicator } from \"../../components/step-indicator\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof StepIndicator> = {\n title: \"Componente/StepIndicator\",\n component: StepIndicator,\n args: {\n data: [\n {\n id: 1,\n descricao: \"Repouso Noturno\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n ],\n backgroundColorBall: theme.colors.blue[500],\n titleColor: theme.colors.neutral[25],\n titleNumberColor: theme.colors.neutral[25],\n },\n parameters: {\n notes: `\n# StepIndicator\n\nEste é um componente de step indicator.\nVocê usa assim:\n\\`\\`\\`tsx\n<StepIndicator\n backgroundColorBall=\"#050022\"\n type=\"default\"\n data={dataMock}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nconst dataMock = [\n {\n id: 1,\n descricao: \"Repouso Noturno\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n {\n id: 2,\n descricao: \"Descarga\",\n data_inicio: \"06/03/2024 14:52\",\n data_fim: \"06/03/2024 16:52\",\n duracao_segundos: \"7200\",\n },\n];\n\nconst dataMockCustom = [\n {\n id: 1,\n descricao: \"Pedido Realizado\",\n data_inicio: \"\",\n data_fim: \"\",\n duracao_segundos: \"\",\n },\n {\n id: 2,\n descricao: \"Pagamento Aprovado\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n {\n id: 3,\n descricao: \"Pedido Faturado\",\n data_inicio: \"\",\n data_fim: \"\",\n duracao_segundos: \"\",\n },\n {\n id: 4,\n descricao: \"Pedido Enviado\",\n data_inicio: \"\",\n data_fim: \"\",\n duracao_segundos: \"\",\n },\n {\n id: 4,\n descricao: \"Pedido Entregue\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n];\n\nexport const StepIndicatorDefault: Story = {\n name: \"step-indicator-default\",\n args: {\n data: dataMock,\n type: \"default\",\n backgroundColorBall: theme.colors.blue[500],\n titleColor: theme.colors.neutral[25],\n textColorDescription: theme.colors.gray[300],\n titleNumberColor: theme.colors.neutral[25],\n },\n};\n\nexport const StepIndicationCustom: Story = {\n name: \"step-indicator-custom\",\n args: {\n data: dataMockCustom,\n type: \"custom\",\n backgroundColorBall: theme.colors.orange[150],\n titleColor: theme.colors.blue[500],\n textColorDescription: theme.colors.gray[300],\n titleNumberColor: theme.colors.neutral[25],\n },\n};\n"],"mappings":";;;;;;AAGA,IAAAA,cAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAJA;;AAGA;;AAGA,MAAME,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEC,4BAAa;EACxBC,IAAI,EAAE;IACJC,IAAI,EAAE,CACJ;MACEC,EAAE,EAAE,CAAC;MACLC,SAAS,EAAE,iBAAiB;MAC5BC,WAAW,EAAE,kBAAkB;MAC/BC,QAAQ,EAAE,kBAAkB;MAC5BC,gBAAg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d.ts"],"sourcesContent":["/*\n * IMPORTS\n */\nimport React from \"react\";\nimport { DimensionValue } from \"react-native\";\nimport { theme } from \"../theme/theme\";\n\nexport interface IGlobalCss {\n /**\n * A propriedade JSX que define um elemento ou componente filho.\n */\n children?: React.ReactNode;\n\n /**\n * TestID para testes automático e identificação\n */\n testID?: string;\n\n /**\n * A propriedade CSS abreviada border define a borda de um elemento. Ele define os valores de largura da borda, estilo da borda e cor da borda.\n */\n borderStyled?: {\n borderStyle?: \"solid\" | \"dotted\" | \"dashed\";\n\n borderRadius?: number | DimensionValue;\n borderTopRightRadius?: number | DimensionValue;\n borderTopLeftRadius?: number | DimensionValue;\n borderBottomRightRadius?: number | DimensionValue;\n borderBottomLeftRadius?: number | DimensionValue;\n\n borderWidth?: number | DimensionValue;\n borderLeftWidth?: number | DimensionValue;\n borderRightWidth?: number | DimensionValue;\n borderTopWidth?: number | DimensionValue;\n borderBottomWidth?: number | DimensionValue;\n\n borderColor?: string;\n borderBottomColor?: string;\n borderLeftColor?: string;\n borderRightColor?: string;\n borderTopColor?: string;\n };\n\n /**\n * Propriedades que define a orientação do button que é usada para representar uma página. Na maioria das vezes, esse valores corresponde ao posicionamento alvo da página impressa, se aplicável.\n */\n flexStyle?: {\n alignItems?: \"flex-start\" | \"flex-end\" | \"center\" | \"stretch\" | \"baseline\";\n alignSelf?: \"auto\" | \"flex-start\" | \"flex-end\" | \"center\" | \"stretch\" | \"baseline\";\n flex?: string | number;\n flexDirection?: \"column\" | \"column-reverse\" | \"row\" | \"row-reverse\";\n flexWrap?: \"nowrap\" | \"wrap\" | \"wrap-reverse\";\n textAlign?: \"auto\" | \"center\" | \"left\" | \"right\" | \"justify\";\n justifyContent?:\n | \"flex-start\"\n | \"flex-end\"\n | \"center\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\";\n };\n\n /**\n * A propriedade margin do CSS define a área de margem nos quatro lados do elemento. É uma abreviação que define todas as margens individuais de uma só vez: margin-top, margin-right (en-US), margin-bottom, e margin-left (en-US).\n */\n marginStyle?: {\n margin?: number | DimensionValue;\n marginLeft?: number | DimensionValue;\n marginRight?: number | DimensionValue;\n marginTop?: number | DimensionValue;\n marginBottom?: number | DimensionValue;\n };\n\n /**\n * A propriedade padding define uma a distância entre o conteúdo de um elemento e suas bordas. É um atalho que evita definir uma distância para cada lado separadamente (padding-top, padding-right, padding-bottom, padding-left).\n */\n paddingStyle?: {\n padding?: number | DimensionValue;\n paddingLeft?: number | DimensionValue;\n paddingRight?: number | DimensionValue;\n paddingTop?: number | DimensionValue;\n paddingBottom?: number | DimensionValue;\n };\n\n /**\n * A propriedade CSS height define a altura de um elemento. A altura de um elemento é a distância do topo da borda superior do elemento ao fundo da borda inferior.\n */\n height?: number | DimensionValue;\n\n /**\n * A propriedade CSS width define a largura de um elemento. A largura de um elemento é a distância do topo da borda esquerda do elemento ao fundo da borda direita.\n */\n width?: number | DimensionValue;\n\n /**\n * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..\n */\n backgroundColor?: string;\n\n /**\n * Propriedade texto que sera renderizado pro usuário final\n */\n text?: string;\n\n /**\n * A propriedade CSS color define o valor da cor de primeiro plano do texto e das decorações de texto de um elemento e define o valor currentcolor. currentcolor pode ser usado como um valor indireto em outras propriedades e é o padrão para outras propriedades de cores, como border-color.\n */\n color?: {\n colorSvg?: string;\n colorText?: string;\n colorTextBold?: string;\n colorTextData?: string;\n };\n\n /**\n * A propriedade abreviada CSS da fonte define todas as propriedades diferentes da fonte de um elemento. Alternativamente, ele define a fonte de um elemento como uma fonte do sistema.\n */\n fontStyle?: {\n font?: string;\n fontSize?: number;\n fontWeight?: \"100\" | \"300\" | \"400\" | \"500\" | \"600\" | \"700\" | \"800\" | \"900\" | \"bold\";\n fontFamily?: keyof typeof theme.fonts;\n letterSpacing?: keyof typeof theme.letterSpacing;\n lineHeight?: number;\n };\n\n /**\n * A propriedade CSS opacity define o nível de opacidade de um elemento. O valor da opacidade varia de 0 (totalmente transparente) a 1 (totalmente opaco).\n */\n disabled?: boolean;\n\n /**\n * A propriedade background do icon da cor.\n */\n backgroundColorIcon?: string;\n}\n\n// /**\n// * EXPORTS\n// */\n// export { IGlobalCss };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/*\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { DimensionValue } from \"react-native\";\r\nimport { theme } from \"../theme/theme\";\r\n\r\nexport interface IGlobalCss {\r\n /**\r\n * A propriedade JSX que define um elemento ou componente filho.\r\n */\r\n children?: React.ReactNode;\r\n\r\n /**\r\n * TestID para testes automático e identificação\r\n */\r\n testID?: string;\r\n\r\n /**\r\n * A propriedade CSS abreviada border define a borda de um elemento. Ele define os valores de largura da borda, estilo da borda e cor da borda.\r\n */\r\n borderStyled?: {\r\n borderStyle?: \"solid\" | \"dotted\" | \"dashed\";\r\n\r\n borderRadius?: number | DimensionValue;\r\n borderTopRightRadius?: number | DimensionValue;\r\n borderTopLeftRadius?: number | DimensionValue;\r\n borderBottomRightRadius?: number | DimensionValue;\r\n borderBottomLeftRadius?: number | DimensionValue;\r\n\r\n borderWidth?: number | DimensionValue;\r\n borderLeftWidth?: number | DimensionValue;\r\n borderRightWidth?: number | DimensionValue;\r\n borderTopWidth?: number | DimensionValue;\r\n borderBottomWidth?: number | DimensionValue;\r\n\r\n borderColor?: string;\r\n borderBottomColor?: string;\r\n borderLeftColor?: string;\r\n borderRightColor?: string;\r\n borderTopColor?: string;\r\n };\r\n\r\n /**\r\n * Propriedades que define a orientação do button que é usada para representar uma página. Na maioria das vezes, esse valores corresponde ao posicionamento alvo da página impressa, se aplicável.\r\n */\r\n flexStyle?: {\r\n alignItems?: \"flex-start\" | \"flex-end\" | \"center\" | \"stretch\" | \"baseline\";\r\n alignSelf?: \"auto\" | \"flex-start\" | \"flex-end\" | \"center\" | \"stretch\" | \"baseline\";\r\n flex?: string | number;\r\n flexDirection?: \"column\" | \"column-reverse\" | \"row\" | \"row-reverse\";\r\n flexWrap?: \"nowrap\" | \"wrap\" | \"wrap-reverse\";\r\n textAlign?: \"auto\" | \"center\" | \"left\" | \"right\" | \"justify\";\r\n justifyContent?:\r\n | \"flex-start\"\r\n | \"flex-end\"\r\n | \"center\"\r\n | \"space-between\"\r\n | \"space-around\"\r\n | \"space-evenly\";\r\n };\r\n\r\n /**\r\n * A propriedade margin do CSS define a área de margem nos quatro lados do elemento. É uma abreviação que define todas as margens individuais de uma só vez: margin-top, margin-right (en-US), margin-bottom, e margin-left (en-US).\r\n */\r\n marginStyle?: {\r\n margin?: number | DimensionValue;\r\n marginLeft?: number | DimensionValue;\r\n marginRight?: number | DimensionValue;\r\n marginTop?: number | DimensionValue;\r\n marginBottom?: number | DimensionValue;\r\n };\r\n\r\n /**\r\n * A propriedade padding define uma a distância entre o conteúdo de um elemento e suas bordas. É um atalho que evita definir uma distância para cada lado separadamente (padding-top, padding-right, padding-bottom, padding-left).\r\n */\r\n paddingStyle?: {\r\n padding?: number | DimensionValue;\r\n paddingLeft?: number | DimensionValue;\r\n paddingRight?: number | DimensionValue;\r\n paddingTop?: number | DimensionValue;\r\n paddingBottom?: number | DimensionValue;\r\n };\r\n\r\n /**\r\n * A propriedade CSS height define a altura de um elemento. A altura de um elemento é a distância do topo da borda superior do elemento ao fundo da borda inferior.\r\n */\r\n height?: number | DimensionValue;\r\n\r\n /**\r\n * A propriedade CSS width define a largura de um elemento. A largura de um elemento é a distância do topo da borda esquerda do elemento ao fundo da borda direita.\r\n */\r\n width?: number | DimensionValue;\r\n\r\n /**\r\n * O fundo abreviado CSS Propriedade define todas as propriedades do estilo de fundo de uma só vez, como cor, imagem, origem e tamanho ou método de repetição. As propriedades dos componentes não definidas no fundo da declaração de valor da propriedade abreviada são definidas como seus valores padrão..\r\n */\r\n backgroundColor?: string;\r\n\r\n /**\r\n * Propriedade texto que sera renderizado pro usuário final\r\n */\r\n text?: string;\r\n\r\n /**\r\n * A propriedade CSS color define o valor da cor de primeiro plano do texto e das decorações de texto de um elemento e define o valor currentcolor. currentcolor pode ser usado como um valor indireto em outras propriedades e é o padrão para outras propriedades de cores, como border-color.\r\n */\r\n color?: {\r\n colorSvg?: string;\r\n colorText?: string;\r\n colorTextBold?: string;\r\n colorTextData?: string;\r\n };\r\n\r\n /**\r\n * A propriedade abreviada CSS da fonte define todas as propriedades diferentes da fonte de um elemento. Alternativamente, ele define a fonte de um elemento como uma fonte do sistema.\r\n */\r\n fontStyle?: {\r\n font?: string;\r\n fontSize?: number;\r\n fontWeight?: \"100\" | \"300\" | \"400\" | \"500\" | \"600\" | \"700\" | \"800\" | \"900\" | \"bold\";\r\n fontFamily?: keyof typeof theme.fonts;\r\n letterSpacing?: keyof typeof theme.letterSpacing;\r\n lineHeight?: number;\r\n };\r\n\r\n /**\r\n * A propriedade CSS opacity define o nível de opacidade de um elemento. O valor da opacidade varia de 0 (totalmente transparente) a 1 (totalmente opaco).\r\n */\r\n disabled?: boolean;\r\n\r\n /**\r\n * A propriedade background do icon da cor.\r\n */\r\n backgroundColorIcon?: string;\r\n\r\n /**\r\n * props que indica o loading do button\r\n */\r\n isLoading?: boolean;\r\n}\r\n\r\n// /**\r\n// * EXPORTS\r\n// */\r\n// export { IGlobalCss };\r\n"],"mappings":"","ignoreList":[]}
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.theme = void 0;
7
- /**
8
- * IMPORTS
7
+ /**
8
+ * IMPORTS
9
9
  */
10
10
 
11
11
  const borderWidths = {
@@ -80,7 +80,8 @@ const colors = {
80
80
  yellow: {
81
81
  100: "#DFAE00",
82
82
  50: "#F0CA4B",
83
- 75: "#F59E0B"
83
+ 75: "#F59E0B",
84
+ 90: "#957C5F"
84
85
  }
85
86
  };
86
87
  const fonts = {
@@ -154,8 +155,8 @@ const letterSpacing = {
154
155
  strong: 1
155
156
  };
156
157
 
157
- /**
158
- * EXPORTSS
158
+ /**
159
+ * EXPORTSS
159
160
  */
160
161
  const theme = exports.theme = {
161
162
  borderWidths,
@@ -1 +1 @@
1
- {"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme","exports"],"sources":["theme.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nconst borderWidths = {\r\n thin: 1,\r\n thin_medium: 2,\r\n thin_bold: 6,\r\n thick: 4,\r\n thick_medium: 8,\r\n thick_bold: 12,\r\n thick_large: 16,\r\n hairline: 999,\r\n};\r\n\r\nconst colors = {\r\n neutral: {\r\n 25: \"#FFFFFF\",\r\n 50: \"#E7EEFF\",\r\n 75: \"#E5E1F9\",\r\n 200: \"#C6C6C6\",\r\n 300: \"#F3F3F3\",\r\n 400: \"#F4F5F6\",\r\n },\r\n black: {\r\n 10: \"#000000\",\r\n 25: \"#1E1E1E\",\r\n 100: \"#393939\",\r\n 180: \"#35302B\",\r\n },\r\n blue: {\r\n 25: \"#1E1E1E\",\r\n 50: \"#1EA7fD\",\r\n 100: \"#051C3B\",\r\n 150: \"#2E41F2\",\r\n 350: \"#357FD6\",\r\n 375: \"#056CF2\",\r\n 400: \"#2D3748\",\r\n 400_50: \"#2D374880\",\r\n 500: \"#050022\",\r\n 525: \"#051C3B\",\r\n },\r\n red: {\r\n 400: \"#D23A1A\",\r\n 500: \"#C54239\",\r\n 600: \"#B3261E\",\r\n 800: \"#E72626\",\r\n 900: \"#9F0000\",\r\n },\r\n gray: {\r\n 300: \"#D9D9D9\",\r\n 350: \"#CDCDCD\",\r\n 400: \"#C6C6C6\",\r\n 500: \"#1c1c1e\",\r\n 600: \"#5E5E5E\",\r\n 700: \"#727272\",\r\n 800: \"#837676\",\r\n 850: \"#868686\",\r\n 875: \"#949494\",\r\n 900: \"#9B9B9B\",\r\n 925: \"#957c5f\",\r\n 950: \"#94a3b8\",\r\n },\r\n green: {\r\n 200: \"#25BA76\",\r\n 250: \"#20AD48\",\r\n 400: \"#49C63E\",\r\n 500: \"#50C58F\",\r\n },\r\n orange: {\r\n 500: \"#FC5701\",\r\n 450: \"#FC6C2D\",\r\n 150: \"#FFA41C\",\r\n },\r\n yellow: {\r\n 100: \"#DFAE00\",\r\n 50: \"#F0CA4B\",\r\n 75: \"#F59E0B\",\r\n },\r\n};\r\n\r\nconst fonts = {\r\n inter_thin_100: \"Inter-Thin\",\r\n inter_extra_light_200: \"Inter-ExtraLight\",\r\n inter_light_300: \"Inter-Light\",\r\n inter_regular_400: \"Inter-Regular\",\r\n inter_medium_500: \"Inter-Medium\",\r\n inter_semi_bold_600: \"Inter-SemiBold\",\r\n inter_bold_700: \"Inter-Bold\",\r\n inter_extra_bold_800: \"Inter-ExtraBold\",\r\n inter_bold: \"Inter-Bold\",\r\n};\r\n\r\nconst fontSizes = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 32,\r\n \"4xl\": 38,\r\n \"5xl\": 50,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst margins = {\r\n \"1xs\": 6,\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst paddings = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst shadows = {\r\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\r\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\r\n};\r\n\r\nconst letterSpacing = {\r\n o_16: 0.16,\r\n regular: 0.5,\r\n medium: 0.75,\r\n strong: 1,\r\n};\r\n\r\n/**\r\n * EXPORTSS\r\n */\r\nexport const theme = {\r\n borderWidths,\r\n colors,\r\n fonts,\r\n fontSizes,\r\n margins,\r\n shadows,\r\n paddings,\r\n letterSpacing,\r\n};\r\n"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAA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AAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;AACO,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG;EACnB5C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme","exports"],"sources":["theme.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst borderWidths = {\n thin: 1,\n thin_medium: 2,\n thin_bold: 6,\n thick: 4,\n thick_medium: 8,\n thick_bold: 12,\n thick_large: 16,\n hairline: 999,\n};\n\nconst colors = {\n neutral: {\n 25: \"#FFFFFF\",\n 50: \"#E7EEFF\",\n 75: \"#E5E1F9\",\n 200: \"#C6C6C6\",\n 300: \"#F3F3F3\",\n 400: \"#F4F5F6\",\n },\n black: {\n 10: \"#000000\",\n 25: \"#1E1E1E\",\n 100: \"#393939\",\n 180: \"#35302B\",\n },\n blue: {\n 25: \"#1E1E1E\",\n 50: \"#1EA7fD\",\n 100: \"#051C3B\",\n 150: \"#2E41F2\",\n 350: \"#357FD6\",\n 375: \"#056CF2\",\n 400: \"#2D3748\",\n 400_50: \"#2D374880\",\n 500: \"#050022\",\n 525: \"#051C3B\",\n },\n red: {\n 400: \"#D23A1A\",\n 500: \"#C54239\",\n 600: \"#B3261E\",\n 800: \"#E72626\",\n 900: \"#9F0000\",\n },\n gray: {\n 300: \"#D9D9D9\",\n 350: \"#CDCDCD\",\n 400: \"#C6C6C6\",\n 500: \"#1c1c1e\",\n 600: \"#5E5E5E\",\n 700: \"#727272\",\n 800: \"#837676\",\n 850: \"#868686\",\n 875: \"#949494\",\n 900: \"#9B9B9B\",\n 925: \"#957c5f\",\n 950: \"#94a3b8\",\n },\n green: {\n 200: \"#25BA76\",\n 250: \"#20AD48\",\n 400: \"#49C63E\",\n 500: \"#50C58F\",\n },\n orange: {\n 500: \"#FC5701\",\n 450: \"#FC6C2D\",\n 150: \"#FFA41C\",\n },\n yellow: {\n 100: \"#DFAE00\",\n 50: \"#F0CA4B\",\n 75: \"#F59E0B\",\n 90: \"#957C5F\",\n },\n};\n\nconst fonts = {\n inter_thin_100: \"Inter-Thin\",\n inter_extra_light_200: \"Inter-ExtraLight\",\n inter_light_300: \"Inter-Light\",\n inter_regular_400: \"Inter-Regular\",\n inter_medium_500: \"Inter-Medium\",\n inter_semi_bold_600: \"Inter-SemiBold\",\n inter_bold_700: \"Inter-Bold\",\n inter_extra_bold_800: \"Inter-ExtraBold\",\n inter_bold: \"Inter-Bold\",\n};\n\nconst fontSizes = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 32,\n \"4xl\": 38,\n \"5xl\": 50,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst margins = {\n \"1xs\": 6,\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst paddings = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst shadows = {\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\n};\n\nconst letterSpacing = {\n o_16: 0.16,\n regular: 0.5,\n medium: 0.75,\n strong: 1,\n};\n\n/**\n * EXPORTSS\n */\nexport const theme = {\n borderWidths,\n colors,\n fonts,\n fontSizes,\n margins,\n shadows,\n paddings,\n letterSpacing,\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,KAAM,EAAE,WAAW;IACnB,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,GAAG,EAAE;IACH,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI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