jornada-ui 0.4.11 → 0.4.12

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 (408) hide show
  1. package/README.md +31 -31
  2. package/lib/commonjs/common/icons-svg/bluetooth/index.js +45 -27
  3. package/lib/commonjs/common/icons-svg/bluetooth/index.js.map +1 -1
  4. package/lib/commonjs/common/icons-svg/constants/index.js +7 -5
  5. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  6. package/lib/commonjs/common/icons-svg/index.js +19 -4
  7. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  8. package/lib/commonjs/common/icons-svg/plus-container/index.js +42 -0
  9. package/lib/commonjs/common/icons-svg/plus-container/index.js.map +1 -0
  10. package/lib/commonjs/common/icons-svg/trash/index.js +41 -0
  11. package/lib/commonjs/common/icons-svg/trash/index.js.map +1 -0
  12. package/lib/commonjs/components/activity-step/components/activite-row/index.js +137 -0
  13. package/lib/commonjs/components/activity-step/components/activite-row/index.js.map +1 -0
  14. package/lib/commonjs/components/activity-step/index.js +77 -0
  15. package/lib/commonjs/components/activity-step/index.js.map +1 -0
  16. package/lib/commonjs/components/activity-step/interface.js +6 -0
  17. package/lib/commonjs/components/activity-step/interface.js.map +1 -0
  18. package/lib/commonjs/components/activity-step/styles.js +86 -0
  19. package/lib/commonjs/components/activity-step/styles.js.map +1 -0
  20. package/lib/commonjs/components/card-scheduled-journey/index.js +8 -6
  21. package/lib/commonjs/components/card-scheduled-journey/index.js.map +1 -1
  22. package/lib/commonjs/components/inputs/input-date-time/index.js +136 -0
  23. package/lib/commonjs/components/inputs/input-date-time/index.js.map +1 -0
  24. package/lib/commonjs/components/inputs/input-date-time/interface.d.js +2 -0
  25. package/lib/commonjs/components/inputs/input-date-time/interface.d.js.map +1 -0
  26. package/lib/commonjs/components/inputs/input-date-time/styles.js +66 -0
  27. package/lib/commonjs/components/inputs/input-date-time/styles.js.map +1 -0
  28. package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js +25 -0
  29. package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
  30. package/lib/commonjs/components/list-devices/index.js +97 -0
  31. package/lib/commonjs/components/list-devices/index.js.map +1 -0
  32. package/lib/commonjs/components/list-devices/interface.d.js +2 -0
  33. package/lib/commonjs/components/list-devices/interface.d.js.map +1 -0
  34. package/lib/commonjs/components/list-devices/styles.js +60 -0
  35. package/lib/commonjs/components/list-devices/styles.js.map +1 -0
  36. package/lib/commonjs/components/list-supplies/index.js +171 -0
  37. package/lib/commonjs/components/list-supplies/index.js.map +1 -0
  38. package/lib/commonjs/components/list-supplies/interface.d.js +2 -0
  39. package/lib/commonjs/components/list-supplies/interface.d.js.map +1 -0
  40. package/lib/commonjs/components/maintenance-description-input/index.js +3 -0
  41. package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
  42. package/lib/commonjs/components/maintenance-description-input/styles.js +1 -1
  43. package/lib/commonjs/components/maintenance-description-input/styles.js.map +1 -1
  44. package/lib/commonjs/components/modals/modal-activity-reason/index.js +170 -0
  45. package/lib/commonjs/components/modals/modal-activity-reason/index.js.map +1 -0
  46. package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js +2 -0
  47. package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js.map +1 -0
  48. package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js +27 -0
  49. package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
  50. package/lib/commonjs/components/modals/modal-create-activitie/index.js +203 -0
  51. package/lib/commonjs/components/modals/modal-create-activitie/index.js.map +1 -0
  52. package/lib/commonjs/components/modals/modal-create-activitie/interface.js +2 -0
  53. package/lib/commonjs/components/modals/modal-create-activitie/interface.js.map +1 -0
  54. package/lib/commonjs/components/modals/modal-create-activitie/styles.js +42 -0
  55. package/lib/commonjs/components/modals/modal-create-activitie/styles.js.map +1 -0
  56. package/lib/commonjs/components/modals/modal-exclude-activitie/index.js +2 -0
  57. package/lib/commonjs/components/modals/modal-exclude-activitie/index.js.map +1 -0
  58. package/lib/commonjs/components/modals/modal-journey-rectification/index.js +242 -0
  59. package/lib/commonjs/components/modals/modal-journey-rectification/index.js.map +1 -0
  60. package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js +2 -0
  61. package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
  62. package/lib/commonjs/components/modals/modal-to-confimations/index.js +182 -0
  63. package/lib/commonjs/components/modals/modal-to-confimations/index.js.map +1 -0
  64. package/lib/commonjs/components/modals/modal-to-confimations/interface.js +2 -0
  65. package/lib/commonjs/components/modals/modal-to-confimations/interface.js.map +1 -0
  66. package/lib/commonjs/components/selects/select-date-and-hours/index.js +80 -0
  67. package/lib/commonjs/components/selects/select-date-and-hours/index.js.map +1 -0
  68. package/lib/commonjs/components/selects/select-date-and-hours/interface.js +6 -0
  69. package/lib/commonjs/components/selects/select-date-and-hours/interface.js.map +1 -0
  70. package/lib/commonjs/components/selects/select-date-and-hours/styles.js +34 -0
  71. package/lib/commonjs/components/selects/select-date-and-hours/styles.js.map +1 -0
  72. package/lib/commonjs/components/selects/select-option/index.js +4 -2
  73. package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
  74. package/lib/commonjs/components/selects/select-option/styles.js +6 -7
  75. package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
  76. package/lib/commonjs/components/supply-error-card/index.js +6 -6
  77. package/lib/commonjs/components/toast-message/index.js +8 -7
  78. package/lib/commonjs/components/toast-message/index.js.map +1 -1
  79. package/lib/commonjs/components/travel-history/index.js +7 -7
  80. package/lib/commonjs/components/travel-history/index.js.map +1 -1
  81. package/lib/commonjs/components/trip-details-card/index.js +94 -13
  82. package/lib/commonjs/components/trip-details-card/index.js.map +1 -1
  83. package/lib/commonjs/components/typography/index.js +5 -5
  84. package/lib/commonjs/components/typography/index.js.map +1 -1
  85. package/lib/commonjs/index.js +53 -4
  86. package/lib/commonjs/index.js.map +1 -1
  87. package/lib/commonjs/stories/list-devices/list-devices.stories.js +146 -0
  88. package/lib/commonjs/stories/list-devices/list-devices.stories.js.map +1 -0
  89. package/lib/commonjs/stories/list-supplies/list-supplies.stories.js +69 -0
  90. package/lib/commonjs/stories/list-supplies/list-supplies.stories.js.map +1 -0
  91. package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js +63 -0
  92. package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
  93. package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js +63 -0
  94. package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
  95. package/lib/commonjs/stories/supply-error-card/supply-error-card.stories.js +2 -2
  96. package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js +39 -6
  97. package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
  98. package/lib/commonjs/styles/theme/theme.js +1 -0
  99. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  100. package/lib/module/common/icons-svg/bluetooth/index.js +45 -27
  101. package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -1
  102. package/lib/module/common/icons-svg/constants/index.js +7 -5
  103. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  104. package/lib/module/common/icons-svg/index.js +19 -4
  105. package/lib/module/common/icons-svg/index.js.map +1 -1
  106. package/lib/module/common/icons-svg/plus-container/index.js +36 -0
  107. package/lib/module/common/icons-svg/plus-container/index.js.map +1 -0
  108. package/lib/module/common/icons-svg/trash/index.js +34 -0
  109. package/lib/module/common/icons-svg/trash/index.js.map +1 -0
  110. package/lib/module/components/activity-step/components/activite-row/index.js +134 -0
  111. package/lib/module/components/activity-step/components/activite-row/index.js.map +1 -0
  112. package/lib/module/components/activity-step/index.js +73 -0
  113. package/lib/module/components/activity-step/index.js.map +1 -0
  114. package/lib/module/components/activity-step/interface.js +4 -0
  115. package/lib/module/components/activity-step/interface.js.map +1 -0
  116. package/lib/module/components/activity-step/styles.js +83 -0
  117. package/lib/module/components/activity-step/styles.js.map +1 -0
  118. package/lib/module/components/card-scheduled-journey/index.js +8 -6
  119. package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
  120. package/lib/module/components/inputs/input-date-time/index.js +130 -0
  121. package/lib/module/components/inputs/input-date-time/index.js.map +1 -0
  122. package/lib/module/components/inputs/input-date-time/interface.d.js +2 -0
  123. package/lib/module/components/inputs/input-date-time/interface.d.js.map +1 -0
  124. package/lib/module/components/inputs/input-date-time/styles.js +62 -0
  125. package/lib/module/components/inputs/input-date-time/styles.js.map +1 -0
  126. package/lib/module/components/list-devices/helpers/get-icon-by-status.js +21 -0
  127. package/lib/module/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
  128. package/lib/module/components/list-devices/index.js +93 -0
  129. package/lib/module/components/list-devices/index.js.map +1 -0
  130. package/lib/module/components/list-devices/interface.d.js +2 -0
  131. package/lib/module/components/list-devices/interface.d.js.map +1 -0
  132. package/lib/module/components/list-devices/styles.js +56 -0
  133. package/lib/module/components/list-devices/styles.js.map +1 -0
  134. package/lib/module/components/list-supplies/index.js +165 -0
  135. package/lib/module/components/list-supplies/index.js.map +1 -0
  136. package/lib/module/components/list-supplies/interface.d.js +2 -0
  137. package/lib/module/components/list-supplies/interface.d.js.map +1 -0
  138. package/lib/module/components/maintenance-description-input/index.js +3 -0
  139. package/lib/module/components/maintenance-description-input/index.js.map +1 -1
  140. package/lib/module/components/maintenance-description-input/styles.js +1 -1
  141. package/lib/module/components/maintenance-description-input/styles.js.map +1 -1
  142. package/lib/module/components/modals/modal-activity-reason/index.js +165 -0
  143. package/lib/module/components/modals/modal-activity-reason/index.js.map +1 -0
  144. package/lib/module/components/modals/modal-activity-reason/interface.d.js +2 -0
  145. package/lib/module/components/modals/modal-activity-reason/interface.d.js.map +1 -0
  146. package/lib/module/components/modals/modal-create-activitie/helpers/index.js +24 -0
  147. package/lib/module/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
  148. package/lib/module/components/modals/modal-create-activitie/index.js +196 -0
  149. package/lib/module/components/modals/modal-create-activitie/index.js.map +1 -0
  150. package/lib/module/components/modals/modal-create-activitie/interface.js +2 -0
  151. package/lib/module/components/modals/modal-create-activitie/interface.js.map +1 -0
  152. package/lib/module/components/modals/modal-create-activitie/styles.js +39 -0
  153. package/lib/module/components/modals/modal-create-activitie/styles.js.map +1 -0
  154. package/lib/module/components/modals/modal-exclude-activitie/index.js +2 -0
  155. package/lib/module/components/modals/modal-exclude-activitie/index.js.map +1 -0
  156. package/lib/module/components/modals/modal-journey-rectification/index.js +236 -0
  157. package/lib/module/components/modals/modal-journey-rectification/index.js.map +1 -0
  158. package/lib/module/components/modals/modal-journey-rectification/interface.d.js +2 -0
  159. package/lib/module/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
  160. package/lib/module/components/modals/modal-to-confimations/index.js +179 -0
  161. package/lib/module/components/modals/modal-to-confimations/index.js.map +1 -0
  162. package/lib/module/components/modals/modal-to-confimations/interface.js +2 -0
  163. package/lib/module/components/modals/modal-to-confimations/interface.js.map +1 -0
  164. package/lib/module/components/selects/select-date-and-hours/index.js +74 -0
  165. package/lib/module/components/selects/select-date-and-hours/index.js.map +1 -0
  166. package/lib/module/components/selects/select-date-and-hours/interface.js +4 -0
  167. package/lib/module/components/selects/select-date-and-hours/interface.js.map +1 -0
  168. package/lib/module/components/selects/select-date-and-hours/styles.js +31 -0
  169. package/lib/module/components/selects/select-date-and-hours/styles.js.map +1 -0
  170. package/lib/module/components/selects/select-option/index.js +4 -2
  171. package/lib/module/components/selects/select-option/index.js.map +1 -1
  172. package/lib/module/components/selects/select-option/styles.js +6 -7
  173. package/lib/module/components/selects/select-option/styles.js.map +1 -1
  174. package/lib/module/components/supply-error-card/index.js +6 -6
  175. package/lib/module/components/toast-message/index.js +8 -7
  176. package/lib/module/components/toast-message/index.js.map +1 -1
  177. package/lib/module/components/travel-history/index.js +7 -7
  178. package/lib/module/components/travel-history/index.js.map +1 -1
  179. package/lib/module/components/trip-details-card/index.js +94 -13
  180. package/lib/module/components/trip-details-card/index.js.map +1 -1
  181. package/lib/module/components/typography/index.js +5 -5
  182. package/lib/module/components/typography/index.js.map +1 -1
  183. package/lib/module/index.js +7 -0
  184. package/lib/module/index.js.map +1 -1
  185. package/lib/module/stories/list-devices/list-devices.stories.js +140 -0
  186. package/lib/module/stories/list-devices/list-devices.stories.js.map +1 -0
  187. package/lib/module/stories/list-supplies/list-supplies.stories.js +63 -0
  188. package/lib/module/stories/list-supplies/list-supplies.stories.js.map +1 -0
  189. package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js +57 -0
  190. package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
  191. package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js +57 -0
  192. package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
  193. package/lib/module/stories/supply-error-card/supply-error-card.stories.js +2 -2
  194. package/lib/module/stories/trip-details-card/trip-details-card.stories.js +39 -6
  195. package/lib/module/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
  196. package/lib/module/styles/theme/theme.js +1 -0
  197. package/lib/module/styles/theme/theme.js.map +1 -1
  198. package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +5 -1
  199. package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +2 -0
  201. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
  203. package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts +11 -0
  204. package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
  205. package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts +11 -0
  206. package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts.map +1 -0
  207. package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts +11 -0
  208. package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/src/components/activity-step/index.d.ts +17 -0
  210. package/lib/typescript/commonjs/src/components/activity-step/index.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts +40 -0
  212. package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts.map +1 -0
  213. package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts +75 -0
  214. package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +2 -1
  216. package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts +8 -0
  218. package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts +59 -0
  220. package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
  221. package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
  222. package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
  223. package/lib/typescript/commonjs/src/components/list-devices/index.d.ts +11 -0
  224. package/lib/typescript/commonjs/src/components/list-devices/index.d.ts.map +1 -0
  225. package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts +57 -0
  226. package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts.map +1 -0
  227. package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts +8 -0
  228. package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts.map +1 -0
  229. package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts +8 -0
  231. package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
  232. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
  233. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
  234. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts +8 -0
  235. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
  237. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
  239. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
  241. package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
  243. package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts +8 -0
  245. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
  247. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts +13 -0
  249. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
  250. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
  251. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
  252. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
  253. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +1 -0
  255. package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +0 -1
  257. package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/src/components/supply-error-card/index.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/src/components/trip-details-card/index.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/src/index.d.ts +7 -0
  262. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts +22 -0
  264. package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
  265. package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
  266. package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
  267. package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
  268. package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
  269. package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
  270. package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
  271. package/lib/typescript/commonjs/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
  273. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
  275. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
  276. package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +5 -1
  277. package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
  278. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +2 -0
  279. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
  280. package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
  281. package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts +11 -0
  282. package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
  283. package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts +11 -0
  284. package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts.map +1 -0
  285. package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts +11 -0
  286. package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
  287. package/lib/typescript/module/src/components/activity-step/index.d.ts +17 -0
  288. package/lib/typescript/module/src/components/activity-step/index.d.ts.map +1 -0
  289. package/lib/typescript/module/src/components/activity-step/interface.d.ts +40 -0
  290. package/lib/typescript/module/src/components/activity-step/interface.d.ts.map +1 -0
  291. package/lib/typescript/module/src/components/activity-step/styles.d.ts +75 -0
  292. package/lib/typescript/module/src/components/activity-step/styles.d.ts.map +1 -0
  293. package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +2 -1
  294. package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +1 -1
  295. package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts +8 -0
  296. package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts.map +1 -0
  297. package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts +59 -0
  298. package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
  299. package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
  300. package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
  301. package/lib/typescript/module/src/components/list-devices/index.d.ts +11 -0
  302. package/lib/typescript/module/src/components/list-devices/index.d.ts.map +1 -0
  303. package/lib/typescript/module/src/components/list-devices/styles.d.ts +57 -0
  304. package/lib/typescript/module/src/components/list-devices/styles.d.ts.map +1 -0
  305. package/lib/typescript/module/src/components/list-supplies/index.d.ts +8 -0
  306. package/lib/typescript/module/src/components/list-supplies/index.d.ts.map +1 -0
  307. package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
  308. package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts +8 -0
  309. package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
  310. package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
  311. package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
  312. package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts +8 -0
  313. package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
  314. package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
  315. package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
  316. package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
  317. package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
  318. package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
  319. package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
  320. package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
  321. package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
  322. package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts +8 -0
  323. package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
  324. package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
  325. package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
  326. package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts +13 -0
  327. package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
  328. package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
  329. package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
  330. package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
  331. package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
  332. package/lib/typescript/module/src/components/selects/select-option/index.d.ts +1 -0
  333. package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +1 -1
  334. package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +0 -1
  335. package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
  336. package/lib/typescript/module/src/components/supply-error-card/index.d.ts.map +1 -1
  337. package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
  338. package/lib/typescript/module/src/components/trip-details-card/index.d.ts.map +1 -1
  339. package/lib/typescript/module/src/index.d.ts +7 -0
  340. package/lib/typescript/module/src/index.d.ts.map +1 -1
  341. package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts +22 -0
  342. package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
  343. package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
  344. package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
  345. package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
  346. package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
  347. package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
  348. package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
  349. package/lib/typescript/module/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
  350. package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
  351. package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
  352. package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
  353. package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
  354. package/package.json +2 -1
  355. package/src/common/icons-svg/bluetooth/index.tsx +51 -24
  356. package/src/common/icons-svg/constants/index.ts +67 -65
  357. package/src/common/icons-svg/index.tsx +289 -280
  358. package/src/common/icons-svg/plus-container/index.tsx +32 -0
  359. package/src/common/icons-svg/trash/index.tsx +31 -0
  360. package/src/components/activity-step/components/activite-row/index.tsx +141 -0
  361. package/src/components/activity-step/index.tsx +73 -0
  362. package/src/components/activity-step/interface.ts +54 -0
  363. package/src/components/activity-step/styles.ts +72 -0
  364. package/src/components/card-scheduled-journey/index.tsx +140 -138
  365. package/src/components/card-scheduled-journey/interface.d.ts +145 -140
  366. package/src/components/inputs/input-date-time/index.tsx +133 -0
  367. package/src/components/inputs/input-date-time/interface.d.ts +25 -0
  368. package/src/components/inputs/input-date-time/styles.ts +63 -0
  369. package/src/components/list-devices/helpers/get-icon-by-status.tsx +20 -0
  370. package/src/components/list-devices/index.tsx +102 -0
  371. package/src/components/list-devices/interface.d.ts +36 -0
  372. package/src/components/list-devices/styles.ts +68 -0
  373. package/src/components/list-supplies/index.tsx +153 -0
  374. package/src/components/list-supplies/interface.d.ts +9 -0
  375. package/src/components/maintenance-description-input/index.tsx +1 -0
  376. package/src/components/maintenance-description-input/styles.ts +1 -1
  377. package/src/components/modals/modal-activity-reason/index.tsx +168 -0
  378. package/src/components/modals/modal-activity-reason/interface.d.ts +9 -0
  379. package/src/components/modals/modal-create-activitie/helpers/index.ts +14 -0
  380. package/src/components/modals/modal-create-activitie/index.tsx +210 -0
  381. package/src/components/modals/modal-create-activitie/interface.ts +22 -0
  382. package/src/components/modals/modal-create-activitie/styles.ts +24 -0
  383. package/src/components/modals/modal-exclude-activitie/index.ts +0 -0
  384. package/src/components/modals/modal-journey-rectification/index.tsx +236 -0
  385. package/src/components/modals/modal-journey-rectification/interface.d.ts +10 -0
  386. package/src/components/modals/modal-to-confimations/index.tsx +182 -0
  387. package/src/components/modals/modal-to-confimations/interface.ts +36 -0
  388. package/src/components/selects/select-date-and-hours/index.tsx +70 -0
  389. package/src/components/selects/select-date-and-hours/interface.ts +31 -0
  390. package/src/components/selects/select-date-and-hours/styles.ts +24 -0
  391. package/src/components/selects/select-option/index.tsx +2 -1
  392. package/src/components/selects/select-option/interface.d.ts +1 -1
  393. package/src/components/selects/select-option/styles.ts +74 -75
  394. package/src/components/supply-error-card/index.tsx +109 -109
  395. package/src/components/supply-error-card/interface.d.ts +133 -133
  396. package/src/components/toast-message/index.tsx +75 -74
  397. package/src/components/travel-history/index.tsx +7 -7
  398. package/src/components/trip-details-card/index.tsx +89 -12
  399. package/src/components/trip-details-card/interface.d.ts +4 -1
  400. package/src/components/typography/index.tsx +78 -78
  401. package/src/index.tsx +7 -0
  402. package/src/stories/list-devices/list-devices.stories.tsx +114 -0
  403. package/src/stories/list-supplies/list-supplies.stories.tsx +66 -0
  404. package/src/stories/modal-activity-reason/modal-activity-reason.stories.tsx +60 -0
  405. package/src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx +60 -0
  406. package/src/stories/supply-error-card/supply-error-card.stories.tsx +72 -72
  407. package/src/stories/trip-details-card/trip-details-card.stories.tsx +38 -5
  408. package/src/styles/theme/theme.ts +1 -0
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * IMPORTS
5
+ */
6
+ import React, { useMemo, useState, useCallback } from "react";
7
+ import { Modal, View, Pressable } from "react-native";
8
+
9
+ // components
10
+ import Box from "../../box/index.js";
11
+ import Button from "../../button/index.js";
12
+ import Typography from "../../typography/index.js";
13
+ import ActivityFields from "../../selects/select-date-and-hours/index.js";
14
+ import SelectOption from "../../selects/select-option/index.js";
15
+
16
+ // commons
17
+ import { Icons } from "../../../common/icons-svg/index.js";
18
+ import { asBaseComponent } from "../../../@types/as-base-component.js";
19
+
20
+ // helpers
21
+ import { OPTIONS } from "./helpers/index.js";
22
+
23
+ // typings
24
+
25
+ // styles / theme
26
+ import { theme } from "../../../styles/theme/theme.js";
27
+ import { styles } from "./styles.js";
28
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
+ const ModalCreteActivitie = /*#__PURE__*/React.memo(({
30
+ visible,
31
+ onClose,
32
+ onPressConfirm,
33
+ textTitle
34
+ }) => {
35
+ const [dateAndHours, setDateAndHours] = useState({
36
+ date: "",
37
+ hours: "00:00"
38
+ });
39
+
40
+ // estados controlados mínimos
41
+ const [selectedActivitie, setSelectedActivitie] = useState(OPTIONS[0]?.value ?? null);
42
+
43
+ // label do motivo derivada com memo
44
+ const activitieLabel = useMemo(() => OPTIONS.find(activitie => activitie.value === selectedActivitie)?.label ?? null, [selectedActivitie]);
45
+
46
+ // handlers estáveis
47
+ const handleChangeReason = useCallback(value => {
48
+ setSelectedActivitie(value);
49
+ }, []);
50
+ const handleCancel = useCallback(() => {
51
+ onClose?.();
52
+ }, [onClose]);
53
+ const handleConfirm = useCallback(() => {
54
+ onPressConfirm?.({
55
+ reasonValue: selectedActivitie,
56
+ label: activitieLabel,
57
+ dateAndHours: dateAndHours
58
+ });
59
+ onClose?.();
60
+ }, [onPressConfirm, onClose, activitieLabel, selectedActivitie, dateAndHours]);
61
+ return /*#__PURE__*/_jsx(Modal, {
62
+ animationType: "fade",
63
+ transparent: true,
64
+ visible: visible,
65
+ onRequestClose: handleCancel,
66
+ statusBarTranslucent: true,
67
+ children: /*#__PURE__*/_jsx(Pressable, {
68
+ style: styles.overlay,
69
+ onPress: handleCancel,
70
+ children: /*#__PURE__*/_jsxs(Box, {
71
+ width: "90%",
72
+ backgroundColor: theme.colors.orange[500],
73
+ borderStyled: {
74
+ borderRadius: theme.borderWidths.thick_medium
75
+ },
76
+ paddingStyle: {
77
+ paddingLeft: theme.paddings["2xs"],
78
+ paddingRight: theme.paddings["2xs"],
79
+ paddingTop: theme.paddings.sm,
80
+ paddingBottom: theme.paddings.sm
81
+ },
82
+ children: [/*#__PURE__*/_jsxs(View, {
83
+ style: styles.headerRow,
84
+ children: [/*#__PURE__*/_jsx(Icons, {
85
+ icon: "EXCLAMATION_TRIANGLE",
86
+ color: theme.colors.orange[500],
87
+ background: theme.colors.neutral[300],
88
+ size: 22
89
+ }), /*#__PURE__*/_jsx(Typography, {
90
+ text: textTitle ?? "Incluir atividade",
91
+ color: theme.colors.neutral[25],
92
+ marginLeft: theme.margins["2xs"],
93
+ fontFamily: theme.fonts.inter_bold,
94
+ fontWeight: "700",
95
+ size: theme.fontSizes.lg
96
+ })]
97
+ }), /*#__PURE__*/_jsxs(Box, {
98
+ backgroundColor: theme.colors.neutral[300],
99
+ paddingStyle: {
100
+ padding: theme.paddings.xs
101
+ },
102
+ borderStyled: {
103
+ borderRadius: theme.borderWidths.thick_medium
104
+ },
105
+ children: [/*#__PURE__*/_jsx(Typography, {
106
+ text: "Preencha os dados da atividade que deseja incluir.",
107
+ color: theme.colors.black[100],
108
+ fontFamily: theme.fonts.inter_regular_400,
109
+ fontWeight: "400",
110
+ lineHeight: theme.lineHeight["2xl"],
111
+ size: theme.fontSizes.sm,
112
+ marginBottom: 16
113
+ }), /*#__PURE__*/_jsx(SelectOption, {
114
+ titleLabel: "Selecione um motivo",
115
+ sizeTitleLabel: 18,
116
+ dataOption: OPTIONS,
117
+ handleSelectDown: handleChangeReason,
118
+ backgroundColor: theme.colors.neutral[300]
119
+ }), /*#__PURE__*/_jsx(ActivityFields, {
120
+ disabled: false,
121
+ icon: "CALENDAR",
122
+ value: "09/09/2025",
123
+ onPressConfirm: value => setDateAndHours({
124
+ date: value,
125
+ hours: dateAndHours?.hours
126
+ })
127
+ }), /*#__PURE__*/_jsx(ActivityFields, {
128
+ disabled: false,
129
+ icon: "TIMER",
130
+ value: "00:00",
131
+ onPressConfirm: value => setDateAndHours({
132
+ date: dateAndHours?.date,
133
+ hours: value
134
+ })
135
+ }), /*#__PURE__*/_jsxs(View, {
136
+ style: styles.actions,
137
+ children: [/*#__PURE__*/_jsx(Button, {
138
+ title: "CANCELAR",
139
+ onPress: handleCancel,
140
+ width: "48%",
141
+ height: 40,
142
+ isLoading: false,
143
+ disabled: false,
144
+ backgroundColor: theme.colors.neutral[300],
145
+ buttonTextStyle: {
146
+ color: theme.colors.blue[500],
147
+ fontFamily: theme.fonts.inter_medium_500,
148
+ fontSize: theme.fontSizes.xs,
149
+ fontWeight: "500"
150
+ },
151
+ flexStyle: {
152
+ flexDirection: "row",
153
+ alignItems: "center",
154
+ justifyContent: "center",
155
+ textAlign: "center"
156
+ },
157
+ borderStyled: {
158
+ borderWidth: theme.borderWidths.thin,
159
+ borderColor: theme.colors.blue[100],
160
+ borderRadius: theme.borderWidths.thick_medium
161
+ }
162
+ }), /*#__PURE__*/_jsx(Button, {
163
+ title: "CONFIRMAR",
164
+ onPress: handleConfirm,
165
+ width: "48%",
166
+ height: 40,
167
+ isLoading: false,
168
+ disabled: false,
169
+ backgroundColor: theme.colors.blue[500],
170
+ buttonTextStyle: {
171
+ color: theme.colors.neutral[25],
172
+ fontFamily: theme.fonts.inter_medium_500,
173
+ fontSize: theme.fontSizes.xs,
174
+ fontWeight: "500"
175
+ },
176
+ flexStyle: {
177
+ flexDirection: "row",
178
+ alignItems: "center",
179
+ justifyContent: "center",
180
+ textAlign: "center"
181
+ },
182
+ borderStyled: {
183
+ borderWidth: theme.borderWidths.thin,
184
+ borderColor: theme.colors.blue[100],
185
+ borderRadius: theme.borderWidths.thick_medium
186
+ }
187
+ })]
188
+ })]
189
+ })]
190
+ })
191
+ })
192
+ });
193
+ });
194
+ ModalCreteActivitie.displayName = "ModalCreteActivitie";
195
+ export default asBaseComponent(ModalCreteActivitie);
196
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useMemo","useState","useCallback","Modal","View","Pressable","Box","Button","Typography","ActivityFields","SelectOption","Icons","asBaseComponent","OPTIONS","theme","styles","jsx","_jsx","jsxs","_jsxs","ModalCreteActivitie","memo","visible","onClose","onPressConfirm","textTitle","dateAndHours","setDateAndHours","date","hours","selectedActivitie","setSelectedActivitie","value","activitieLabel","find","activitie","label","handleChangeReason","handleCancel","handleConfirm","reasonValue","animationType","transparent","onRequestClose","statusBarTranslucent","children","style","overlay","onPress","width","backgroundColor","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","headerRow","icon","color","background","neutral","size","text","marginLeft","margins","fontFamily","fonts","inter_bold","fontWeight","fontSizes","lg","padding","xs","black","inter_regular_400","lineHeight","marginBottom","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","disabled","actions","title","height","isLoading","buttonTextStyle","blue","inter_medium_500","fontSize","flexStyle","flexDirection","alignItems","justifyContent","textAlign","borderWidth","thin","borderColor","displayName"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AAC7D,SAASC,KAAK,EAAEC,IAAI,EAAEC,SAAS,QAAQ,cAAc;;AAErD;AACA,OAAOC,GAAG,MAAM,oBAAW;AAC3B,OAAOC,MAAM,MAAM,uBAAc;AAEjC,OAAOC,UAAU,MAAM,2BAAkB;AAEzC,OAAOC,cAAc,MAAM,8CAAqC;AAEhE,OAAOC,YAAY,MAAM,sCAA6B;;AAEtD;AACA,SAASC,KAAK,QAAQ,oCAA2B;AACjD,SAASC,eAAe,QAAQ,sCAAmC;;AAEnE;AACA,SAASC,OAAO,QAAQ,oBAAW;;AAEnC;;AAGA;AACA,SAASC,KAAK,QAAQ,gCAA6B;AACnD,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,I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EAAC,KAAK;cACX2C,MAAM,EAAE,EAAG;cACXC,SAAS,EAAE,KAAM;cACjBJ,QAAQ,EAAE,KAAM;cAChBvC,eAAe,EAAEpC,KAAK,CAACqC,MAAM,CAAC4C,IAAI,CAAC,GAAG,CAAE;cACxCD,eAAe,EAAE;gBACf5B,KAAK,EAAEpD,KAAK,CAACqC,MAAM,CAACiB,OAAO,CAAC,EAAE,CAAC;gBAC/BK,UAAU,EAAE3D,KAAK,CAAC4D,KAAK,CAACsB,gBAAgB;gBACxCC,QAAQ,EAAEnF,KAAK,CAAC+D,SAAS,CAACG,EAAE;gBAC5BJ,UAAU,EAAE;cACd,CAAE;cACFsB,SAAS,EAAE;gBACTC,aAAa,EAAE,KAAK;gBACpBC,UAAU,EAAE,QAAQ;gBACpBC,cAAc,EAAE,QAAQ;gBACxBC,SAAS,EAAE;cACb,CAAE;cACFjD,YAAY,EAAE;gBACZkD,WAAW,EAAEzF,KAAK,CAACyC,YAAY,CAACiD,IAAI;gBACpCC,WAAW,EAAE3F,KAAK,CAACqC,MAAM,CAAC4C,IAAI,CAAC,GAAG,CAAC;gBACnCzC,YAAY,EAAExC,KAAK,CAACyC,YAAY,CAACC;cACnC;YAAE,CACH,CAAC;UAAA,CACE,CAAC;QAAA,CACJ,CAAC;MAAA,CACH;IAAC,CACG;EAAC,CACP,CAAC;AAEZ,CACF,CAAC;AAEDpC,mBAAmB,CAACsF,WAAW,GAAG,qBAAqB;AACvD,eAAe9F,eAAe,CAACQ,mBAAmB,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/interface.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * IMPORTS
5
+ */
6
+
7
+ import { StyleSheet } from "react-native";
8
+ import { theme } from "../../../styles/theme/theme.js";
9
+ const styles = StyleSheet.create({
10
+ overlay: {
11
+ flex: 1,
12
+ justifyContent: "center",
13
+ alignItems: "center",
14
+ backgroundColor: theme.shadows.z1
15
+ },
16
+ card: {
17
+ width: "90%"
18
+ },
19
+ headerRow: {
20
+ marginBottom: 10,
21
+ marginLeft: 4,
22
+ flexDirection: "row",
23
+ alignItems: "center"
24
+ },
25
+ content: {
26
+ padding: theme.paddings.xs
27
+ },
28
+ actions: {
29
+ marginTop: 16,
30
+ flexDirection: "row",
31
+ justifyContent: "space-between"
32
+ }
33
+ });
34
+
35
+ /**
36
+ * EXPORTS
37
+ */
38
+ export { styles };
39
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","theme","styles","create","overlay","flex","justifyContent","alignItems","backgroundColor","shadows","z1","card","width","headerRow","marginBottom","marginLeft","flexDirection","content","padding","paddings","xs","actions","marginTop"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/styles.ts"],"mappings":";;AAAA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,KAAK,QAAQ,gCAA6B;AAEnD,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EAC/BC,OAAO,EAAE;IACPC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAEP,KAAK,CAACQ,OAAO,CAACC;EACjC,CAAC;EACDC,IAAI,EAAE;IAAEC,KAAK,EAAE;EAAM,CAAC;EACtBC,SAAS,EAAE;IAAEC,YAAY,EAAE,EAAE;IAAEC,UAAU,EAAE,CAAC;IAAEC,aAAa,EAAE,KAAK;IAAET,UAAU,EAAE;EAAS,CAAC;EAC1FU,OAAO,EAAE;IAAEC,OAAO,EAAEjB,KAAK,CAACkB,QAAQ,CAACC;EAAG,CAAC;EACvCC,OAAO,EAAE;IAAEC,SAAS,EAAE,EAAE;IAAEN,aAAa,EAAE,KAAK;IAAEV,cAAc,EAAE;EAAgB;AAClF,CAAC,CAAC;;AAEF;AACA;AACA;AACA,SAASJ,MAAM","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-exclude-activitie/index.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,236 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * IMPORTS
5
+ */
6
+ import React, { useState } from "react";
7
+ import { Modal, View } from "react-native";
8
+
9
+ // components
10
+ import Box from "../../box/index.js";
11
+ import Typography from "../../typography/index.js";
12
+ import Button from "../../button/index.js";
13
+ import SelectOption from "../../selects/select-option/index.js";
14
+ import InputDateTime from "../../inputs/input-date-time/index.js";
15
+
16
+ // commons / svg
17
+ import { Icons } from "../../../common/icons-svg/index.js";
18
+
19
+ // typings
20
+
21
+ import { asBaseComponent } from "../../../@types/as-base-component.js";
22
+
23
+ // styles
24
+ import { theme } from "../../../styles/theme/theme.js";
25
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
+ const options = [{
27
+ label: "Disp com veículo parado",
28
+ value: "option1"
29
+ }, {
30
+ label: "Operação com veículo",
31
+ value: "option2"
32
+ }, {
33
+ label: "Em carga",
34
+ value: "option3"
35
+ }, {
36
+ label: "Em descarga",
37
+ value: "option4"
38
+ }];
39
+ const ModalJourneyRectification = ({
40
+ visible,
41
+ onClose,
42
+ modalConfirm,
43
+ textTitle
44
+ }) => {
45
+ const [isLoading] = React.useState(false);
46
+
47
+ // *** DEFAULTS: já começa com um motivo, data e hora atuais
48
+ const defaultReason = options[0]?.value ?? null;
49
+ const [selectedReason, setSelectedReason] = useState(defaultReason); // ***
50
+ const [selectedDate, setSelectedDate] = useState(new Date()); // ***
51
+ const [selectedTime, setSelectedTime] = useState(new Date()); // ***
52
+
53
+ // helpers de formatação
54
+ const fmtDate = d => `${String(d.getDate()).padStart(2, "0")}/${String(d.getMonth() + 1).padStart(2, "0")}/${d.getFullYear()}`;
55
+ const fmtTime = d => `${String(d.getHours()).padStart(2, "0")}:${String(d.getMinutes()).padStart(2, "0")}`;
56
+
57
+ // junta data + hora
58
+ const mergeDateTime = (date, time) => {
59
+ if (!date) return null;
60
+ const out = new Date(date);
61
+ if (time) {
62
+ out.setHours(time.getHours());
63
+ out.setMinutes(time.getMinutes());
64
+ out.setSeconds(0);
65
+ out.setMilliseconds(0);
66
+ }
67
+ return out;
68
+ };
69
+ return /*#__PURE__*/_jsx(Modal, {
70
+ animationType: "fade",
71
+ transparent: true,
72
+ visible: visible,
73
+ children: /*#__PURE__*/_jsx(View, {
74
+ style: {
75
+ flex: 1,
76
+ justifyContent: "center",
77
+ alignItems: "center",
78
+ backgroundColor: "rgba(0,0,0,0.6)"
79
+ },
80
+ children: /*#__PURE__*/_jsxs(Box, {
81
+ width: "90%",
82
+ backgroundColor: theme.colors.orange[500],
83
+ borderStyled: {
84
+ borderRadius: theme.borderWidths.thick_medium
85
+ },
86
+ paddingStyle: {
87
+ paddingLeft: theme.paddings["2xs"],
88
+ paddingRight: theme.paddings["2xs"],
89
+ paddingTop: theme.paddings.sm,
90
+ paddingBottom: theme.paddings.sm
91
+ },
92
+ children: [/*#__PURE__*/_jsxs(Box, {
93
+ marginStyle: {
94
+ marginBottom: 10,
95
+ marginLeft: 4
96
+ },
97
+ flexStyle: {
98
+ flexDirection: "row",
99
+ alignItems: "center"
100
+ },
101
+ children: [/*#__PURE__*/_jsx(Icons, {
102
+ icon: "EXCLAMATION_TRIANGLE",
103
+ color: theme.colors.orange[500],
104
+ background: theme.colors.neutral[300],
105
+ size: 22
106
+ }), /*#__PURE__*/_jsx(Typography, {
107
+ text: `${textTitle ?? "Incluir atividade"}`,
108
+ color: theme.colors.neutral[25],
109
+ marginLeft: theme.margins["2xs"],
110
+ fontFamily: theme.fonts.inter_bold_700,
111
+ size: theme.fontSizes.lg
112
+ })]
113
+ }), /*#__PURE__*/_jsxs(Box, {
114
+ backgroundColor: theme.colors.neutral[300],
115
+ paddingStyle: {
116
+ padding: theme.paddings.xs
117
+ },
118
+ borderStyled: {
119
+ borderRadius: theme.borderWidths.thick_medium
120
+ },
121
+ children: [/*#__PURE__*/_jsx(Typography, {
122
+ text: "Confirme as alterações antes de salvar.",
123
+ color: theme.colors.black[25],
124
+ fontFamily: theme.fonts.inter_regular_400,
125
+ size: theme.fontSizes.md,
126
+ marginBottom: 16
127
+ }), /*#__PURE__*/_jsx(SelectOption, {
128
+ titleLabel: "Selecione atividade",
129
+ sizeTitleLabel: 18,
130
+ dataOption: options
131
+ // Onde o motivo é RECEBIDO: aqui no callback
132
+ ,
133
+ handleSelectDown: value => setSelectedReason(value) // ***
134
+ ,
135
+ backgroundColor: theme.colors.neutral[300]
136
+ }), /*#__PURE__*/_jsx(InputDateTime, {
137
+ mode: "date",
138
+ titleLabel: "Data"
139
+ // Onde a data é RECEBIDA: no onChange abaixo
140
+ ,
141
+ value: selectedDate // *** controlado
142
+ ,
143
+ onChange: d => setSelectedDate(d) // ***
144
+ ,
145
+ backgroundColor: "#f5f5f5",
146
+ colortitleLabel: "#333"
147
+ }), /*#__PURE__*/_jsx(InputDateTime, {
148
+ mode: "time",
149
+ titleLabel: "Hor\xE1rio"
150
+ // Onde a hora é RECEBIDA: no onChange abaixo
151
+ ,
152
+ value: selectedTime // *** controlado
153
+ ,
154
+ onChange: d => setSelectedTime(d) // ***
155
+ ,
156
+ backgroundColor: "#f5f5f5",
157
+ colortitleLabel: "#333"
158
+ }), /*#__PURE__*/_jsxs(Box, {
159
+ marginStyle: {
160
+ marginTop: 4
161
+ },
162
+ flexStyle: {
163
+ flexDirection: "row",
164
+ justifyContent: "space-between"
165
+ },
166
+ children: [/*#__PURE__*/_jsx(Button, {
167
+ title: "CANCELAR",
168
+ onPress: onClose,
169
+ width: "48%",
170
+ height: 40,
171
+ isLoading: isLoading,
172
+ disabled: isLoading,
173
+ backgroundColor: theme.colors.neutral[300],
174
+ buttonTextStyle: {
175
+ color: theme.colors.blue[100],
176
+ fontFamily: "Inter-Medium",
177
+ fontSize: theme.fontSizes.xs,
178
+ fontWeight: "500"
179
+ },
180
+ flexStyle: {
181
+ flexDirection: "row",
182
+ alignItems: "center",
183
+ justifyContent: "center",
184
+ textAlign: "center"
185
+ },
186
+ borderStyled: {
187
+ borderWidth: theme.borderWidths.thin,
188
+ borderColor: theme.colors.blue[100],
189
+ borderRadius: theme.borderWidths.thick_medium
190
+ }
191
+ }), /*#__PURE__*/_jsx(Button, {
192
+ title: "CONFIRMAR",
193
+ onPress: () => {
194
+ const merged = mergeDateTime(selectedDate, selectedTime);
195
+ const payload = {
196
+ reasonValue: selectedReason,
197
+ reasonLabel: options.find(o => o.value === selectedReason)?.label ?? null,
198
+ date: selectedDate ? fmtDate(selectedDate) : null,
199
+ time: selectedTime ? fmtTime(selectedTime) : null,
200
+ dateTimeISO: merged ? merged.toISOString() : null
201
+ };
202
+ modalConfirm(payload);
203
+ onClose();
204
+ },
205
+ width: "48%",
206
+ height: 40,
207
+ isLoading: isLoading,
208
+ disabled: isLoading,
209
+ backgroundColor: theme.colors.blue[500],
210
+ buttonTextStyle: {
211
+ color: theme.colors.neutral[25],
212
+ fontFamily: "Inter-Medium",
213
+ fontSize: theme.fontSizes.xs,
214
+ fontWeight: "500"
215
+ },
216
+ flexStyle: {
217
+ flexDirection: "row",
218
+ alignItems: "center",
219
+ justifyContent: "center",
220
+ textAlign: "center"
221
+ },
222
+ borderStyled: {
223
+ borderWidth: theme.borderWidths.thin,
224
+ borderColor: theme.colors.blue[100],
225
+ borderRadius: theme.borderWidths.thick_medium
226
+ }
227
+ })]
228
+ })]
229
+ })]
230
+ })
231
+ })
232
+ });
233
+ };
234
+ ModalJourneyRectification.displayName = "ModalJourneyRectification";
235
+ export default asBaseComponent(ModalJourneyRectification);
236
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","Modal","View","Box","Typography","Button","SelectOption","InputDateTime","Icons","asBaseComponent","theme","jsx","_jsx","jsxs","_jsxs","options","label","value","ModalJourneyRectification","visible","onClose","modalConfirm","textTitle","isLoading","defaultReason","selectedReason","setSelectedReason","selectedDate","setSelectedDate","Date","selectedTime","setSelectedTime","fmtDate","d","String","getDate","padStart","getMonth","getFullYear","fmtTime","getHours","getMinutes","mergeDateTime","date","time","out","setHours","setMinutes","setSeconds","setMilliseconds","animationType","transparent","children","style","flex","justifyContent","alignItems","backgroundColor","width","colors","orange","borderStyled","borderRadius","borderWidths","thick_medium","paddingStyle","paddingLeft","paddings","paddingRight","paddingTop","sm","paddingBottom","marginStyle","marginBottom","marginLeft","flexStyle","flexDirection","icon","color","background","neutral","size","text","margins","fontFamily","fonts","inter_bold_700","fontSizes","lg","padding","xs","black","inter_regular_400","md","titleLabel","sizeTitleLabel","dataOption","handleSelectDown","mode","onChange","colortitleLabel","marginTop","title","onPress","height","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","merged","payload","reasonValue","reasonLabel","find","o","dateTimeISO","toISOString","displayName"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-journey-rectification/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,KAAK,EAAEC,IAAI,QAAQ,cAAc;;AAE1C;AACA,OAAOC,GAAG,MAAM,oBAAW;AAC3B,OAAOC,UAAU,MAAM,2BAAkB;AACzC,OAAOC,MAAM,MAAM,uBAAc;AACjC,OAAOC,YAAY,MAAM,sCAA6B;AACtD,OAAOC,aAAa,MAAM,uCAA8B;;AAExD;AACA,SAASC,KAAK,QAAQ,oCAA2B;;AAEjD;;AAEA,SAASC,eAAe,QAAQ,sCAAmC;;AAEnE;AACA,SAASC,KAAK,QAAQ,gCAA6B;AAAC,SAAAC,GAAA,IAAAC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.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-journey-rectification/interface.d.ts"],"mappings":"","ignoreList":[]}