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
@@ -33,6 +33,7 @@ export { HistoryDetails } from "./components/history-details";
33
33
  export { ActivitiesDaily } from "./components/activities-daily";
34
34
  export { ActivitiesProgress } from "./components/activities-progress";
35
35
  export { ProfileMenuOption } from "./components/profile-menu-option";
36
+ export { ModalActivities } from "./components/modal-activities";
36
37
 
37
38
  // Utilities
38
39
  export { multiply } from "./utils/mutiply";
@@ -1 +1 @@
1
- {"version":3,"names":["Box","Button","StepIndicator","Typography","Input","CapturePhoto","CardHours","SelectOption","Header","ScheduledJourneyIndicators","CardScheduledJourney","UserProfile","MenuItem","CardLoading","CardWorkSession","LoadingProgress","NoData","FilterJourney","Coil","FilterDateSelector","CardHistory","NotificationLoading","CheckBox","ImageCaptureWithRemove","LoadingDetails","AvatarProfile","HistoryDetails","ActivitiesDaily","ActivitiesProgress","ProfileMenuOption","multiply","formatDate","getLastSevenDays","formHoursMinute","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":"AAAA;AACA;AACA;;AAEA;AACA,SAASA,GAAG,QAAQ,kBAAkB;AACtC,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,UAAU,QAAQ,yBAAyB;AACpD,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,YAAY,QAAQ,4BAA4B;AACzD,SAASC,SAAS,QAAQ,yBAAyB;AACnD,SAASC,YAAY,QAAQ,oCAAoC;AACjE,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SAASC,0BAA0B,QAAQ,2CAA2C;AACtF,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,mBAAmB,QAAQ,mCAAmC;AACvE,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,sBAAsB,QAAQ,wCAAwC;AAC/E,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,kBAAkB,QAAQ,kCAAkC;AACrE,SAASC,iBAAiB,QAAQ,kCAAkC;;AAEpE;AACA,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,UAAU,EAAEC,gBAAgB,EAAEC,eAAe,QAAQ,qBAAqB;;AAEnF;AACA,SAASC,KAAK,QAAQ,sBAAsB","ignoreList":[]}
1
+ {"version":3,"names":["Box","Button","StepIndicator","Typography","Input","CapturePhoto","CardHours","SelectOption","Header","ScheduledJourneyIndicators","CardScheduledJourney","UserProfile","MenuItem","CardLoading","CardWorkSession","LoadingProgress","NoData","FilterJourney","Coil","FilterDateSelector","CardHistory","NotificationLoading","CheckBox","ImageCaptureWithRemove","LoadingDetails","AvatarProfile","HistoryDetails","ActivitiesDaily","ActivitiesProgress","ProfileMenuOption","ModalActivities","multiply","formatDate","getLastSevenDays","formHoursMinute","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":"AAAA;AACA;AACA;;AAEA;AACA,SAASA,GAAG,QAAQ,kBAAkB;AACtC,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,UAAU,QAAQ,yBAAyB;AACpD,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,YAAY,QAAQ,4BAA4B;AACzD,SAASC,SAAS,QAAQ,yBAAyB;AACnD,SAASC,YAAY,QAAQ,oCAAoC;AACjE,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SAASC,0BAA0B,QAAQ,2CAA2C;AACtF,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,mBAAmB,QAAQ,mCAAmC;AACvE,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,sBAAsB,QAAQ,wCAAwC;AAC/E,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,kBAAkB,QAAQ,kCAAkC;AACrE,SAASC,iBAAiB,QAAQ,kCAAkC;AACpE,SAASC,eAAe,QAAQ,+BAA+B;;AAE/D;AACA,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,UAAU,EAAEC,gBAAgB,EAAEC,eAAe,QAAQ,qBAAqB;;AAEnF;AACA,SAASC,KAAK,QAAQ,sBAAsB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ActivitiesDaily","meta","title","component","args","handleActivity","typeActivity","parameters","notes","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,SAASA,eAAe,QAAQ,mCAAmC;AAEnE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAAe;EAC1BI,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;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,sBAA6B,GAAG;EAC3CC,IAAI,EAAE,kBAAkB;EACxBN,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAiB,IAAK;MACrC;MACAK,KAAK,CAACL,YAAY,CAAC;IACrB;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ActivitiesDaily","meta","title","component","args","handleActivity","typeActivity","parameters","notes","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,SAASA,eAAe,QAAQ,mCAAmC;AAEnE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAAe;EAC1BI,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;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,sBAA6B,GAAG;EAC3CC,IAAI,EAAE,kBAAkB;EACxBN,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAiB,IAAK;MACrC;MACAK,KAAK,CAACL,YAAY,CAAC;IACrB;EACF;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ActivitiesProgress","meta","title","component","args","data_fim","duracao","data_inicio","titleLabel","parameters","notes","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,SAASA,kBAAkB,QAAQ,sCAAsC;AAEzE,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEH,kBAAkB;EAC7BI,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;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,wBAA+B,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCR,IAAI,EAAE,CAAC;AACT,CAAC;AAED,OAAO,MAAMS,0BAAiC,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMC,0BAAiC,GAAG;EAC/CH,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ActivitiesProgress","meta","title","component","args","data_fim","duracao","data_inicio","titleLabel","parameters","notes","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,SAASA,kBAAkB,QAAQ,sCAAsC;AAEzE,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEH,kBAAkB;EAC7BI,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;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,wBAA+B,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCR,IAAI,EAAE,CAAC;AACT,CAAC;AAED,OAAO,MAAMS,0BAAiC,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMC,0BAAiC,GAAG;EAC/CH,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["AvatarProfile","meta","title","component","args","name","avatar","email","isEdit","handleTakePicker","parameters","notes","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,SAASA,aAAa,QAAQ,iCAAiC;AAE/D,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEH,aAAa;EACxBI,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;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,OAAc,GAAG;EAC5BP,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMQ,QAAe,GAAG;EAC7BR,IAAI,EAAE,UAAU;EAChBD,IAAI,EAAE;IACJI,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["AvatarProfile","meta","title","component","args","name","avatar","email","isEdit","handleTakePicker","parameters","notes","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,SAASA,aAAa,QAAQ,iCAAiC;AAE/D,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEH,aAAa;EACxBI,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;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,OAAc,GAAG;EAC5BP,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMQ,QAAe,GAAG;EAC7BR,IAAI,EAAE,UAAU;EAChBD,IAAI,EAAE;IACJI,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CardLoading","theme","meta","title","component","args","width","height","backgroundColor","colors","blue","handleNavigation","parameters","notes","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 handleNavig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CAAC;EAC3B;AACF,CAAC;AACD,OAAO,MAAMY,oBAA2B,GAAG;EACzCR,IAAI,EAAE,6BAA6B;EACnCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["CardLoading","theme","meta","title","component","args","width","height","backgroundColor","colors","blue","handleNavigation","parameters","notes","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,SAASA,WAAW,QAAQ,+BAA+B;AAC3D,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEJ,WAAW;EACtBK,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,EAAE;IACVJ,KAAK,EAAE,8BAA8B;IACrCK,eAAe,EAAEP,KAAK,CAACQ,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;AAED,eAAeX,IAAI;AAInB,OAAO,MAAMY,mBAA0B,GAAG;EACxCC,IAAI,EAAE,4BAA4B;EAClCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMW,mBAA0B,GAAG;EACxCP,IAAI,EAAE,4BAA4B;EAClCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,UAAU;IAClBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AACD,OAAO,MAAMY,oBAA2B,GAAG;EACzCR,IAAI,EAAE,6BAA6B;EACnCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CheckBox","theme","meta","title","component","args","onPress","isChecked","backgroundColorCheck","colors","blue","parameters","notes","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,SAASA,QAAQ,QAAQ,4BAA4B;AACrD,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAA2B,GAAG;EAClCC,KAAK,EAAE,qBAAqB;EAC5BC,SAAS,EAAEJ,QAAoB;EAC/BK,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEP,KAAK,CAACQ,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;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,eAAsB,GAAG;EACpCC,IAAI,EAAE,qBAAqB;EAC3BT,IAAI,EAAE;IACJE,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMQ,YAAmB,GAAG;EACjCD,IAAI,EAAE,kBAAkB;EACxBT,IAAI,EAAE;IACJW,iBAAiB,EAAE,EAAE;IACrBT,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,EAAE;EAC5C;AACF,CAAC;AAED,OAAO,MAAMO,wBAA+B,GAAG;EAC7CH,IAAI,EAAE,+BAA+B;EACrCT,IAAI,EAAE;IACJW,iBAAiB,EAAE,EAAE;IACrBE,sBAAsB,EAAE,aAAa;IACrCC,SAAS,EACP,uIAAuI;IACzIC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC;AAED,OAAO,MAAMa,qBAA4B,GAAG;EAC1CT,IAAI,EAAE,4BAA4B;EAClCT,IAAI,EAAE;IACJc,SAAS,EAAE,eAAe;IAC1BC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["CheckBox","theme","meta","title","component","args","onPress","isChecked","backgroundColorCheck","colors","blue","parameters","notes","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,SAASA,QAAQ,QAAQ,4BAA4B;AACrD,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAA2B,GAAG;EAClCC,KAAK,EAAE,qBAAqB;EAC5BC,SAAS,EAAEJ,QAAoB;EAC/BK,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEP,KAAK,CAACQ,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;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,eAAsB,GAAG;EACpCC,IAAI,EAAE,qBAAqB;EAC3BT,IAAI,EAAE;IACJE,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMQ,YAAmB,GAAG;EACjCD,IAAI,EAAE,kBAAkB;EACxBT,IAAI,EAAE;IACJW,iBAAiB,EAAE,EAAE;IACrBT,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,EAAE;EAC5C;AACF,CAAC;AAED,OAAO,MAAMO,wBAA+B,GAAG;EAC7CH,IAAI,EAAE,+BAA+B;EACrCT,IAAI,EAAE;IACJW,iBAAiB,EAAE,EAAE;IACrBE,sBAAsB,EAAE,aAAa;IACrCC,SAAS,EACP,uIAAuI;IACzIC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC;AAED,OAAO,MAAMa,qBAA4B,GAAG;EAC1CT,IAAI,EAAE,4BAA4B;EAClCT,IAAI,EAAE;IACJc,SAAS,EAAE,eAAe;IAC1BC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Coil","meta","title","component","args","description","handleNavigation","status","parameters","notes","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: () =>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B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMQ,YAAmB,GAAG;EACjCJ,IAAI,EAAE,gBAAgB;EACtBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BU,eAAe,EAAE,OAAO;IACxBT,MAAM,EAAE,WAAW;IACnBU,QAAQ,EAAE;EACZ;AACF,CAAC;AAED,OAAO,MAAMC,OAAc,GAAG;EAC5BP,IAAI,EAAE,UAAU;EAChBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE,UAAU;IAClBY,mBAAmB,EAAE;EACvB;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Coil","meta","title","component","args","description","handleNavigation","status","parameters","notes","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,SAASA,IAAI,QAAQ,uBAAuB;AAE5C,MAAMC,IAAuB,GAAG;EAC9BC,KAAK,EAAE,iBAAiB;EACxBC,SAAS,EAAEH,IAAgB;EAC3BI,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,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;AAED,eAAeR,IAAI;AAInB,OAAO,MAAMS,WAAkB,GAAG;EAChCC,IAAI,EAAE,cAAc;EACpBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAA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AC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","FilterDateSelector","getLastSevenDays","meta","title","component","args","selectedDay","date","dayName","fullDate","Date","handleSelectedDay","days","parameters","notes","FilterDateSelectorSimples","name","render","isLoading","setIsLoading","useState","setSelectedDay","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,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,kBAAkB,QAAQ,uCAAuC;AAC1E,SAASC,gBAAgB,QAAQ,yBAAyB;AAG1D,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEJ,kBAA8B;EACzCK,IAAI,EAAE;IACJC,WAAW,EAAE;MACXC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE,EAAE;MACXC,Q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}
1
+ {"version":3,"names":["React","FilterDateSelector","getLastSevenDays","meta","title","component","args","selectedDay","date","dayName","fullDate","Date","handleSelectedDay","days","parameters","notes","FilterDateSelectorSimples","name","render","isLoading","setIsLoading","useState","setSelectedDay","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,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,kBAAkB,QAAQ,uCAAuC;AAC1E,SAASC,gBAAgB,QAAQ,yBAAyB;AAG1D,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEJ,kBAA8B;EACzCK,IAAI,EAAE;IACJC,WAAW,EAAE;MACXC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE,IAAIC,IAAI,CAAC,EAAE;IACvB,CAAC;IACDC,iBAAiB,EAAGJ,IAAkB,IAAK;MACzC,OAAOA,IAAI;IACb,CAAC;IACDK,IAAI,EAAE;EACR,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeZ,IAAI;AAInB,OAAO,MAAMa,yBAAgC,GAAG;EAC9CC,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AC,EAAE;IACvB,CAAC;IACDC,iBAAiB,EAAGJ,IAAkB,IAAK;MACzC,OAAOA,IAAI;IACb,CAAC;IACDK,IAAI,EAAE;EACR;AACF,CAAC;AAED,OAAO,MAAMkB,uBAA8B,GAAG;EAC5Cd,IAAI,EAAE,sBAAsB;EAC5BC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGpB,KAAK,CAACqB,QAAQ,CAAC,KAAK,CAAC;IAEvD,MAAMR,IAAI,GAAGX,gBAAgB,CAAC,CAAmB;IAEjD,MAAM,CAACK,WAAW,EAAEe,cAAc,CAAC,GAAGtB,KAAK,CAACqB,QAAQ,CAAMR,IAAI,CAAC,CAAC,CAAC,CAAC;;IAElE;IACA,MAAMD,iBAAiB,GAAIc,GAAiB,IAAK;MAC/CJ,cAAc,CAACI,GAAG,CAAC;MACnBN,YAAY,CAAC,IAAI,CAAC;MAClB;MACAS,UAAU,CAAC,MAAMT,YAAY,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAC7C,CAAC;IAED,oBACEpB,KAAA,CAAA8B,aAAA,CAAC7B,kBAAkB;MACjBM,WAAW,EAAEA,WAAY;MACzBK,iBAAiB,EAAEA,iBAAyB;MAC5CC,IAAI,EAAEA,IAAK;MACXM,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC;EACDb,IAAI,EAAE,CAAC,CAAC,CAAE;AACZ,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["HistoryDetails","meta","title","component","args","numero","local","date","duracao","parameters","notes","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,SAASA,cAAc,QAAQ,kCAAkC;AAEjE,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEH,cAAc;EACzBI,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;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,MAAa,GAAG;EAC3BC,IAAI,EAAE,wBAAwB;EAC9BR,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","meta","title","component","args","numero","local","date","duracao","parameters","notes","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,SAASA,cAAc,QAAQ,kCAAkC;AAEjE,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEH,cAAc;EACzBI,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;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,MAAa,GAAG;EAC3BC,IAAI,EAAE,wBAAwB;EAC9BR,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","meta","title","component","args","foto","status","parameters","notes","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,SAASA,sBAAsB,QAAQ,4CAA4C;AAEnF,MAAMC,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEH,sBAAkC;EAC7CI,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;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,YAAmB,GAAG;EACjCC,IAAI,EAAE,oBAAoB;EAC1BN,IAAI,EAAE;IACJC,IAAI,EAAE,IAAI;IACVM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AAED,OAAO,MAAMC,sBAA6B,GAAG;EAC3CH,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AACD,OAAO,MAAME,sBAA6B,GAAG;EAC3CJ,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClBN,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ImageCaptureWithRemove","meta","title","component","args","foto","status","parameters","notes","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,SAASA,sBAAsB,QAAQ,4CAA4C;AAEnF,MAAMC,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEH,sBAAkC;EAC7CI,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;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,YAAmB,GAAG;EACjCC,IAAI,EAAE,oBAAoB;EAC1BN,IAAI,EAAE;IACJC,IAAI,EAAE,IAAI;IACVM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AAED,OAAO,MAAMC,sBAA6B,GAAG;EAC3CH,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AACD,OAAO,MAAME,sBAA6B,GAAG;EAC3CJ,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClBN,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ import { ModalActivities } from "../../components/modal-activities";
2
+ const meta = {
3
+ title: "componente/ModalActivities",
4
+ component: ModalActivities,
5
+ args: {
6
+ width: 120,
7
+ onClose: () => {},
8
+ isLoading: false,
9
+ handleActivity: activity => () => {
10
+ return activity;
11
+ }
12
+ },
13
+ parameters: {
14
+ notes: `
15
+ # MenuItem
16
+
17
+ Este é um componente de MenuItem de menu.
18
+ Você usa assim:
19
+ \`\`\`tsx
20
+ <ModalActivities
21
+ {...args}
22
+ onClose={() => setIsVisible(false)}
23
+ handleActivity={handleActivity}
24
+ />
25
+ \`\`\`
26
+ `
27
+ }
28
+ };
29
+ export default meta;
30
+ export const Default = {
31
+ name: "modal-activities",
32
+ args: {
33
+ width: 120,
34
+ isLoading: false,
35
+ onClose: () => {},
36
+ handleActivity: activity => () => {
37
+ return activity;
38
+ }
39
+ }
40
+ };
41
+ //# sourceMappingURL=modal-activities.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ModalActivities","meta","title","component","args","width","onClose","isLoading","handleActivity","activity","parameters","notes","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,SAASA,eAAe,QAAQ,mCAAmC;AAEnE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAAe;EAC1BI,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;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,OAAc,GAAG;EAC5BC,IAAI,EAAE,kBAAkB;EACxBT,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","meta","title","component","args","date","handleNavigation","notification","statusNotify","dataStart","readonly","parameters","notes","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,SAASA,mBAAmB,QAAQ,uCAAuC;AAE3E,MAAMC,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEH,mBAA+B;EAC1CI,IAAI,EAAE;IACJF,KAAK,EAAE,8BAA8B;IACrCG,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;AAED,eAAeX,IAAI;AAInB,OAAO,MAAMY,0BAAiC,GAAG;EAC/CC,IAAI,EAAE,sBAAsB;EAC5BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACD,OAAO,MAAMM,2BAAkC,GAAG;EAChDD,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACD,OAAO,MAAMO,0BAAiC,GAAG;EAC/CF,IAAI,EAAE,sBAAsB;EAC5BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMQ,2BAAkC,GAAG;EAChDH,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,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","meta","title","component","args","date","handleNavigation","notification","statusNotify","dataStart","readonly","parameters","notes","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 },\n};\n"],"mappings":"AAGA,SAASA,mBAAmB,QAAQ,uCAAuC;AAE3E,MAAMC,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEH,mBAA+B;EAC1CI,IAAI,EAAE;IACJF,KAAK,EAAE,8BAA8B;IACrCG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY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C;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","theme","meta","title","component","args","text","icon","backgroundColor","colors","blue","colorIcon","neutral","handleNavigation","parameters","notes","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,SAASA,iBAAiB,QAAQ,sCAAsC;AACxE,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEJ,iBAAiB;EAC5BK,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,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;AAED,eAAeb,IAAI;AAInB,OAAO,MAAMc,OAAc,GAAG;EAC5BC,IAAI,EAAE,qBAAqB;EAC3BZ,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMK,WAAkB,GAAG;EAChCD,IAAI,EAAE,kCAAkC;EACxCZ,IAAI,EAAE;IACJC,IAAI,EAAE,eAAe;IACrBC,IAAI,EAAE,MAAM;IACZC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMM,OAAc,GAAG;EAC5BF,IAAI,EAAE,6BAA6B;EACnCZ,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,UAAU;IAChBC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ProfileMenuOption","theme","meta","title","component","args","text","icon","backgroundColor","colors","blue","colorIcon","neutral","handleNavigation","parameters","notes","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,SAASA,iBAAiB,QAAQ,sCAAsC;AACxE,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEJ,iBAAiB;EAC5BK,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,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;AAED,eAAeb,IAAI;AAInB,OAAO,MAAMc,OAAc,GAAG;EAC5BC,IAAI,EAAE,qBAAqB;EAC3BZ,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMK,WAAkB,GAAG;EAChCD,IAAI,EAAE,kCAAkC;EACxCZ,IAAI,EAAE;IACJC,IAAI,EAAE,eAAe;IACrBC,IAAI,EAAE,MAAM;IACZC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMM,OAAc,GAAG;EAC5BF,IAAI,EAAE,6BAA6B;EACnCZ,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,UAAU;IAChBC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["StepIndicator","theme","meta","title","component","args","data","id","descricao","data_inicio","data_fim","duracao_segundos","backgroundColorBall","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","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":"AAEA;AACA,SAASA,aAAa,QAAQ,iCAAiC;;AAE/D;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEJ,aAAa;EACxBK,IAAI,EAAE;IACJC,IAAI,EAAE,CACJ;MACEC,EAAE,EAAE,CAAC;MACLC,SAAS,EAAE,iBAAiB;MAC5BC,WAAW,EAAE,kBAAkB;MAC/BC,QAAQ,EAAE,kBAAkB;MAC5BC,gBAAgB,EAAE;IACpB,CAAC,CACF;IACDC,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAC3CC,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCC,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C,CAAC;EACDE,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAejB,IAAI;AAInB,MAAMkB,QAAQ,GAAG,CACf;EACEb,EAAE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G,CAAC;IAC3CC,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCS,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC;AAED,OAAO,MAAMW,oBAA2B,GAAG;EACzCJ,IAAI,EAAE,uBAAuB;EAC7BlB,IAAI,EAAE;IACJC,IAAI,EAAEe,cAAc;IACpBG,IAAI,EAAE,QAAQ;IACdZ,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACe,MAAM,CAAC,GAAG,CAAC;IAC7Cb,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAClCW,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["StepIndicator","theme","meta","title","component","args","data","id","descricao","data_inicio","data_fim","duracao_segundos","backgroundColorBall","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","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":"AAEA;AACA,SAASA,aAAa,QAAQ,iCAAiC;;AAE/D;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEJ,aAAa;EACxBK,IAAI,EAAE;IACJC,IAAI,EAAE,CACJ;MACEC,EAAE,EAAE,CAAC;MACLC,SAAS,EAAE,iBAAiB;MAC5BC,WAAW,EAAE,kBAAkB;MAC/BC,QAAQ,EAAE,kBAAkB;MAC5BC,gBAAgB,EAAE;IACpB,CAAC,CACF;IACDC,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAC3CC,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCC,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C,CAAC;EACDE,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAejB,IAAI;AAInB,MAAMkB,QAAQ,GAAG,CACf;EACEb,EAAE,EAAE,CAAC;EACLC,SAAS,EAAE,iBAAiB;EAC5BC,WAAW,EAAE,kBAAkB;EAC/BC,QAAQ,EAAE,kBAAkB;EAC5BC,gBAAgB,EAAE;AACpB,CAAC,EACD;EACEJ,EAAE,EAAE,CAAC;EACLC,SAAS,EAAE,UAAU;EACrBC,WAAW,EAAE,kBAAkB;EAC/BC,QAAQ,EAAE,kBAAkB;EAC5BC,gBAAgB,EAAE;AACpB,CAAC,CACF;AAED,MAAMU,cAAc,GAAG,CACrB;EACEd,EAAE,EAAE,CAAC;EACLC,SAAS,EAAE,kBAAkB;EAC7BC,WAAW,EAAE,EAAE;EACfC,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CAACY,MAAM,CAACe,MAAM,CAAC,GAAG,CAAC;IAC7Cb,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAClCW,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.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":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * IMPORTS
1
+ /**
2
+ * IMPORTS
3
3
  */
4
4
 
5
5
  const borderWidths = {
@@ -74,7 +74,8 @@ const colors = {
74
74
  yellow: {
75
75
  100: "#DFAE00",
76
76
  50: "#F0CA4B",
77
- 75: "#F59E0B"
77
+ 75: "#F59E0B",
78
+ 90: "#957C5F"
78
79
  }
79
80
  };
80
81
  const fonts = {
@@ -148,8 +149,8 @@ const letterSpacing = {
148
149
  strong: 1
149
150
  };
150
151
 
151
- /**
152
- * EXPORTSS
152
+ /**
153
+ * EXPORTSS
153
154
  */
154
155
  export const theme = {
155
156
  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"],"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;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E,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAMG,OAAO,GAAG;EACdC,EAAE,EAAE,qEAAqE;EACzEC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,KAAK,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"],"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,KAA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S,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
- /**
2
- * Formata uma data do tipo Date para o formato DD/MM/YYYY
3
- * @param date Objeto Date a ser formatado
4
- * @returns String no formato DD/MM/YYYY
1
+ /**
2
+ * Formata uma data do tipo Date para o formato DD/MM/YYYY
3
+ * @param date Objeto Date a ser formatado
4
+ * @returns String no formato DD/MM/YYYY
5
5
  */
6
6
  const formatDate = date => {
7
7
  const day = String(date.getDate()).padStart(2, "0");
@@ -11,10 +11,10 @@ const formatDate = date => {
11
11
  };
12
12
  export { formatDate };
13
13
 
14
- /**
15
- * Formata uma data do tipo Date para o formato DD/MM/YYYY
16
- * @param date Objeto Date a ser formatado
17
- * @returns String no formato DD/MM/YYYY
14
+ /**
15
+ * Formata uma data do tipo Date para o formato DD/MM/YYYY
16
+ * @param date Objeto Date a ser formatado
17
+ * @returns String no formato DD/MM/YYYY
18
18
  */
19
19
  const formHoursMinute = segundos => {
20
20
  const totalSegundos = parseInt(segundos, 10);
@@ -26,9 +26,9 @@ const formHoursMinute = segundos => {
26
26
  };
27
27
  export { formHoursMinute };
28
28
 
29
- /**
30
- * Retorna as sete últimas datas do dias
31
- * @returns Array<{ date: number, dayName: string, fullDate: Date }>
29
+ /**
30
+ * Retorna as sete últimas datas do dias
31
+ * @returns Array<{ date: number, dayName: string, fullDate: Date }>
32
32
  */
33
33
 
34
34
  const getLastSevenDays = () => {
@@ -1 +1 @@
1
- {"version":3,"names":["formatDate","date","day","String","getDate","padStart","month","getMonth","year","getFullYear","formHoursMinute","segundos","totalSegundos","parseInt","horas","Math","floor","minutos","horasFormatadas","minutosFormatados","getLastSevenDays","today","Date","days","push","dayName","fullDate","dayNames","i","setDate","getDay"],"sources":["index.ts"],"sourcesContent":["/**\r\n * Formata uma data do tipo Date para o formato DD/MM/YYYY\r\n * @param date Objeto Date a ser formatado\r\n * @returns String no formato DD/MM/YYYY\r\n */\r\nconst formatDate = (date: Date): string => {\r\n const day = String(date.getDate()).padStart(2, \"0\");\r\n const month = String(date.getMonth() + 1).padStart(2, \"0\"); // Mês começa em 0\r\n const year = date.getFullYear();\r\n\r\n return `${day}/${month}/${year}`;\r\n};\r\n\r\nexport { formatDate };\r\n\r\n/**\r\n * Formata uma data do tipo Date para o formato DD/MM/YYYY\r\n * @param date Objeto Date a ser formatado\r\n * @returns String no formato DD/MM/YYYY\r\n */\r\nconst formHoursMinute = (segundos: string): string => {\r\n const totalSegundos = parseInt(segundos, 10);\r\n const horas = Math.floor(totalSegundos / 3600);\r\n const minutos = Math.floor((totalSegundos % 3600) / 60);\r\n\r\n const horasFormatadas = String(horas).padStart(2, \"0\");\r\n const minutosFormatados = String(minutos).padStart(2, \"0\");\r\n\r\n return `${horasFormatadas}:${minutosFormatados}`;\r\n};\r\n\r\nexport { formHoursMinute };\r\n\r\n/**\r\n * Retorna as sete últimas datas do dias\r\n * @returns Array<{ date: number, dayName: string, fullDate: Date }>\r\n */\r\n\r\nconst getLastSevenDays = () => {\r\n const today = new Date();\r\n const days = [];\r\n\r\n // adiciona a opção \"Todos\" no início\r\n days.push({\r\n date: \"all\",\r\n dayName: \"Todos\",\r\n fullDate: new Date(),\r\n });\r\n\r\n const dayNames = [\"Domingo\", \"Segunda\", \"Terça\", \"Quarta\", \"Quinta\", \"Sexta\", \"Sábado\"];\r\n\r\n for (let i = 6; i >= 0; i--) {\r\n const date = new Date(today);\r\n date.setDate(today.getDate() - i);\r\n\r\n days.push({\r\n date: date.getDate(),\r\n dayName: dayNames[date.getDay()],\r\n fullDate: date,\r\n });\r\n }\r\n\r\n return days;\r\n};\r\n\r\nexport { getLastSevenDays };\r\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,UAAU,GAAIC,IAAU,IAAa;EACzC,MAAMC,GAAG,GAAGC,MAAM,CAACF,IAAI,CAACG,OAAO,CAAC,CAAC,CAAC,CAACC,Q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SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC;EAEvF,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;IAC3B,MAAM3B,IAAI,GAAG,IAAIqB,IAAI,CAACD,KAAK,CAAC;IAC5BpB,IAAI,CAAC4B,OAAO,CAACR,KAAK,CAACjB,OAAO,CAAC,CAAC,GAAGwB,CAAC,CAAC;IAEjCL,IAAI,CAACC,IAAI,CAAC;MACRvB,IAAI,EAAEA,IAAI,CAACG,OAAO,CAAC,CAAC;MACpBqB,OAAO,EAAEE,QAAQ,CAAC1B,IAAI,CAAC6B,MAAM,CAAC,CAAC,CAAC;MAChCJ,QAAQ,EAAEzB;IACZ,CAAC,CAAC;EACJ;EAEA,OAAOsB,IAAI;AACb,CAAC;AAED,SAASH,gBAAgB","ignoreList":[]}
1
+ {"version":3,"names":["formatDate","date","day","String","getDate","padStart","month","getMonth","year","getFullYear","formHoursMinute","segundos","totalSegundos","parseInt","horas","Math","floor","minutos","horasFormatadas","minutosFormatados","getLastSevenDays","today","Date","days","push","dayName","fullDate","dayNames","i","setDate","getDay"],"sources":["index.ts"],"sourcesContent":["/**\n * Formata uma data do tipo Date para o formato DD/MM/YYYY\n * @param date Objeto Date a ser formatado\n * @returns String no formato DD/MM/YYYY\n */\nconst formatDate = (date: Date): string => {\n const day = String(date.getDate()).padStart(2, \"0\");\n const month = String(date.getMonth() + 1).padStart(2, \"0\"); // Mês começa em 0\n const year = date.getFullYear();\n\n return `${day}/${month}/${year}`;\n};\n\nexport { formatDate };\n\n/**\n * Formata uma data do tipo Date para o formato DD/MM/YYYY\n * @param date Objeto Date a ser formatado\n * @returns String no formato DD/MM/YYYY\n */\nconst formHoursMinute = (segundos: string): string => {\n const totalSegundos = parseInt(segundos, 10);\n const horas = Math.floor(totalSegundos / 3600);\n const minutos = Math.floor((totalSegundos % 3600) / 60);\n\n const horasFormatadas = String(horas).padStart(2, \"0\");\n const minutosFormatados = String(minutos).padStart(2, \"0\");\n\n return `${horasFormatadas}:${minutosFormatados}`;\n};\n\nexport { formHoursMinute };\n\n/**\n * Retorna as sete últimas datas do dias\n * @returns Array<{ date: number, dayName: string, fullDate: Date }>\n */\n\nconst getLastSevenDays = () => {\n const today = new Date();\n const days = [];\n\n // adiciona a opção \"Todos\" no início\n days.push({\n date: \"all\",\n dayName: \"Todos\",\n fullDate: new Date(),\n });\n\n const dayNames = [\"Domingo\", \"Segunda\", \"Terça\", \"Quarta\", \"Quinta\", \"Sexta\", \"Sábado\"];\n\n for (let i = 6; i >= 0; i--) {\n const date = new Date(today);\n date.setDate(today.getDate() - i);\n\n days.push({\n date: date.getDate(),\n dayName: dayNames[date.getDay()],\n fullDate: date,\n });\n }\n\n return days;\n};\n\nexport { getLastSevenDays };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,UAAU,GAAIC,IAAU,IAAa;EACzC,MAAMC,GAAG,GAAGC,MAAM,CAACF,IAAI,CAACG,OAAO,CAAC,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;EACnD,MAAMC,KAAK,GAAGH,MAAM,CAACF,IAAI,CAACM,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAACF,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;EAC5D,MAAMG,IAAI,GAAGP,IAAI,CAACQ,WAAW,CAAC,CAAC;EAE/B,OAAO,GAAGP,GAAG,IAAII,KAAK,IAAIE,IAAI,EAAE;AAClC,CAAC;AAED,SAASR,UAAU;;AAEnB;AACA;AACA;AACA;AACA;AACA,MAAMU,eAAe,GAAIC,QAAgB,IAAa;EACpD,MAAMC,aAAa,GAAGC,QAAQ,CAACF,QAAQ,EAAE,EAAE,CAAC;EAC5C,MAAMG,KAAK,GAAGC,IAAI,CAACC,KAAK,CAACJ,aAAa,GAAG,IAAI,CAAC;EAC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AI;AACb,CAAC;AAED,SAASH,gBAAgB","ignoreList":[]}
@@ -8,12 +8,21 @@ function getBorderColor(status) {
8
8
  }
9
9
  function getStatusColor(status) {
10
10
  const statusColors = {
11
- Concluido: theme.colors.green[400],
11
+ Concluido: theme.colors.green[250],
12
12
  Cancelado: theme.colors.red[900],
13
- Pendente: theme.colors.yellow[50],
13
+ Pendente: theme.colors.yellow[75],
14
14
  Andamento: theme.colors.yellow[50]
15
15
  };
16
16
  return statusColors[status];
17
17
  }
18
- export { getStatusColor, getBorderColor };
18
+ function getStatusTextColor(status) {
19
+ const statusColors = {
20
+ Concluido: theme.colors.neutral[25],
21
+ Cancelado: theme.colors.neutral[25],
22
+ Pendente: theme.colors.neutral[50],
23
+ Andamento: theme.colors.neutral[50]
24
+ };
25
+ return statusColors[status];
26
+ }
27
+ export { getStatusColor, getBorderColor, getStatusTextColor };
19
28
  //# sourceMappingURL=return-color.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["theme","getBorderColor","status","borderColors","Cancelado","colors","red","Pendente","orange","getStatusColor","statusColors","Concluido","green","yellow","Andamento"],"sources":["return-color.ts"],"sourcesContent":["import { theme } from \"../../styles/theme/theme\";\r\n\r\nexport type StatusType = \"Andamento\" | \"Cancelado\" | \"Pendente\" | \"Concluido\";\r\n\r\nfunction getBorderColor(status: string) {\r\n const borderColors = {\r\n Cancelado: theme.colors.red[900],\r\n Pendente: theme.colors.orange[450],\r\n };\r\n return borderColors[status as keyof typeof borderColors];\r\n}\r\nfunction getStatusColor(status: StatusType): string {\r\n const statusColors: Record<StatusType, string> = {\r\n Concluido: theme.colors.green[400],\r\n Cancelado: theme.colors.red[900],\r\n Pendente: theme.colors.yellow[50],\r\n Andamento: theme.colors.yellow[50],\r\n };\r\n\r\n return statusColors[status];\r\n}\r\n\r\nexport { getStatusColor, getBorderColor };\r\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,0BAA0B;AAIhD,SAASC,cAAcA,CAACC,MAAc,EAAE;EACtC,MAAMC,YAAY,GAAG;IACnBC,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACG,MAAM,CAAC,GAAG;EACnC,CAAC;EACD,OAAOL,YAAY,CAACD,MAAM,CAA8B;AAC1D;AACA,SAASO,cAAcA,CAACP,MAAkB,EAAU;EAClD,MAAMQ,YAAwC,GAAG;IAC/CC,SAAS,EAAEX,KAAK,CAACK,MAAM,CAACO,KAAK,CAAC,GAAG,CAAC;IAClCR,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACQ,MAAM,CAAC,EAAE,CAAC;IACjCC,SAAS,EAAEd,KAAK,CAACK,MAAM,CAACQ,MAAM,CAAC,EAAE;EACnC,CAAC;EAED,OAAOH,YAAY,CAACR,MAAM,CAAC;AAC7B;AAEA,SAASO,cAAc,EAAER,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["theme","getBorderColor","status","borderColors","Cancelado","colors","red","Pendente","orange","getStatusColor","statusColors","Concluido","green","yellow","Andamento","getStatusTextColor","neutral"],"sources":["return-color.ts"],"sourcesContent":["import { theme } from \"../../styles/theme/theme\";\n\nexport type StatusType = \"Andamento\" | \"Cancelado\" | \"Pendente\" | \"Concluido\";\n\nfunction getBorderColor(status: string) {\n const borderColors = {\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.orange[450],\n };\n return borderColors[status as keyof typeof borderColors];\n}\nfunction getStatusColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.green[250],\n Cancelado: theme.colors.red[900],\n Pendente: theme.colors.yellow[75],\n Andamento: theme.colors.yellow[50],\n };\n\n return statusColors[status];\n}\n\nfunction getStatusTextColor(status: StatusType): string {\n const statusColors: Record<StatusType, string> = {\n Concluido: theme.colors.neutral[25],\n Cancelado: theme.colors.neutral[25],\n Pendente: theme.colors.neutral[50],\n Andamento: theme.colors.neutral[50],\n };\n\n return statusColors[status];\n}\n\nexport { getStatusColor, getBorderColor, getStatusTextColor };\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,0BAA0B;AAIhD,SAASC,cAAcA,CAACC,MAAc,EAAE;EACtC,MAAMC,YAAY,GAAG;IACnBC,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACG,MAAM,CAAC,GAAG;EACnC,CAAC;EACD,OAAOL,YAAY,CAACD,MAAM,CAA8B;AAC1D;AACA,SAASO,cAAcA,CAACP,MAAkB,EAAU;EAClD,MAAMQ,YAAwC,GAAG;IAC/CC,SAAS,EAAEX,KAAK,CAACK,MAAM,CAACO,KAAK,CAAC,GAAG,CAAC;IAClCR,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACC,GAAG,CAAC,GAAG,CAAC;IAChCC,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACQ,MAAM,CAAC,EAAE,CAAC;IACjCC,SAAS,EAAEd,KAAK,CAACK,MAAM,CAACQ,MAAM,CAAC,EAAE;EACnC,CAAC;EAED,OAAOH,YAAY,CAACR,MAAM,CAAC;AAC7B;AAEA,SAASa,kBAAkBA,CAACb,MAAkB,EAAU;EACtD,MAAMQ,YAAwC,GAAG;IAC/CC,SAAS,EAAEX,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE,CAAC;IACnCZ,SAAS,EAAEJ,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE,CAAC;IACnCT,QAAQ,EAAEP,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE,CAAC;IAClCF,SAAS,EAAEd,KAAK,CAACK,MAAM,CAACW,OAAO,CAAC,EAAE;EACpC,CAAC;EAED,OAAON,YAAY,CAACR,MAAM,CAAC;AAC7B;AAEA,SAASO,cAAc,EAAER,cAAc,EAAEc,kBAAkB","ignoreList":[]}
@@ -53,6 +53,7 @@ declare const SVG_NAME: {
53
53
  CHECK_OUTLINE: string;
54
54
  BED: string;
55
55
  REFRESH_CCW_DOT: string;
56
+ HOURGLASS: string;
56
57
  };
57
58
  /**
58
59
  * EXPORTS