jornada-ui 0.4.11 → 0.4.13

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 (447) 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/coil-removel-code/index.js +4 -3
  23. package/lib/commonjs/components/coil-removel-code/index.js.map +1 -1
  24. package/lib/commonjs/components/inputs/input-date-time/index.js +136 -0
  25. package/lib/commonjs/components/inputs/input-date-time/index.js.map +1 -0
  26. package/lib/commonjs/components/inputs/input-date-time/interface.d.js +2 -0
  27. package/lib/commonjs/components/inputs/input-date-time/interface.d.js.map +1 -0
  28. package/lib/commonjs/components/inputs/input-date-time/styles.js +66 -0
  29. package/lib/commonjs/components/inputs/input-date-time/styles.js.map +1 -0
  30. package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js +25 -0
  31. package/lib/commonjs/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
  32. package/lib/commonjs/components/list-devices/index.js +104 -0
  33. package/lib/commonjs/components/list-devices/index.js.map +1 -0
  34. package/lib/commonjs/components/list-devices/interface.d.js +2 -0
  35. package/lib/commonjs/components/list-devices/interface.d.js.map +1 -0
  36. package/lib/commonjs/components/list-devices/styles.js +60 -0
  37. package/lib/commonjs/components/list-devices/styles.js.map +1 -0
  38. package/lib/commonjs/components/list-supplies/index.js +171 -0
  39. package/lib/commonjs/components/list-supplies/index.js.map +1 -0
  40. package/lib/commonjs/components/list-supplies/interface.d.js +2 -0
  41. package/lib/commonjs/components/list-supplies/interface.d.js.map +1 -0
  42. package/lib/commonjs/components/maintenance-description-input/index.js +3 -0
  43. package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
  44. package/lib/commonjs/components/maintenance-description-input/styles.js +1 -1
  45. package/lib/commonjs/components/maintenance-description-input/styles.js.map +1 -1
  46. package/lib/commonjs/components/modals/modal-activity-reason/index.js +170 -0
  47. package/lib/commonjs/components/modals/modal-activity-reason/index.js.map +1 -0
  48. package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js +2 -0
  49. package/lib/commonjs/components/modals/modal-activity-reason/interface.d.js.map +1 -0
  50. package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js +27 -0
  51. package/lib/commonjs/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
  52. package/lib/commonjs/components/modals/modal-create-activitie/index.js +203 -0
  53. package/lib/commonjs/components/modals/modal-create-activitie/index.js.map +1 -0
  54. package/lib/commonjs/components/modals/modal-create-activitie/interface.js +2 -0
  55. package/lib/commonjs/components/modals/modal-create-activitie/interface.js.map +1 -0
  56. package/lib/commonjs/components/modals/modal-create-activitie/styles.js +42 -0
  57. package/lib/commonjs/components/modals/modal-create-activitie/styles.js.map +1 -0
  58. package/lib/commonjs/components/modals/modal-exclude-activitie/index.js +2 -0
  59. package/lib/commonjs/components/modals/modal-exclude-activitie/index.js.map +1 -0
  60. package/lib/commonjs/components/modals/modal-journey-rectification/index.js +242 -0
  61. package/lib/commonjs/components/modals/modal-journey-rectification/index.js.map +1 -0
  62. package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js +2 -0
  63. package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
  64. package/lib/commonjs/components/modals/modal-to-confimations/index.js +182 -0
  65. package/lib/commonjs/components/modals/modal-to-confimations/index.js.map +1 -0
  66. package/lib/commonjs/components/modals/modal-to-confimations/interface.js +2 -0
  67. package/lib/commonjs/components/modals/modal-to-confimations/interface.js.map +1 -0
  68. package/lib/commonjs/components/selects/select-date-and-hours/index.js +80 -0
  69. package/lib/commonjs/components/selects/select-date-and-hours/index.js.map +1 -0
  70. package/lib/commonjs/components/selects/select-date-and-hours/interface.js +6 -0
  71. package/lib/commonjs/components/selects/select-date-and-hours/interface.js.map +1 -0
  72. package/lib/commonjs/components/selects/select-date-and-hours/styles.js +34 -0
  73. package/lib/commonjs/components/selects/select-date-and-hours/styles.js.map +1 -0
  74. package/lib/commonjs/components/selects/select-option/index.js +26 -9
  75. package/lib/commonjs/components/selects/select-option/index.js.map +1 -1
  76. package/lib/commonjs/components/selects/select-option/styles.js +6 -7
  77. package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
  78. package/lib/commonjs/components/step-indicator/index.js +54 -40
  79. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  80. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  81. package/lib/commonjs/components/supply-error-card/index.js +6 -6
  82. package/lib/commonjs/components/toast-message/index.js +8 -7
  83. package/lib/commonjs/components/toast-message/index.js.map +1 -1
  84. package/lib/commonjs/components/travel-history/index.js +7 -7
  85. package/lib/commonjs/components/travel-history/index.js.map +1 -1
  86. package/lib/commonjs/components/trip-details-card/index.js +102 -22
  87. package/lib/commonjs/components/trip-details-card/index.js.map +1 -1
  88. package/lib/commonjs/components/typography/index.js +5 -5
  89. package/lib/commonjs/components/typography/index.js.map +1 -1
  90. package/lib/commonjs/index.js +53 -4
  91. package/lib/commonjs/index.js.map +1 -1
  92. package/lib/commonjs/stories/list-devices/list-devices.stories.js +146 -0
  93. package/lib/commonjs/stories/list-devices/list-devices.stories.js.map +1 -0
  94. package/lib/commonjs/stories/list-supplies/list-supplies.stories.js +69 -0
  95. package/lib/commonjs/stories/list-supplies/list-supplies.stories.js.map +1 -0
  96. package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js +63 -0
  97. package/lib/commonjs/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
  98. package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js +63 -0
  99. package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
  100. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js +1 -0
  101. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
  102. package/lib/commonjs/stories/supply-error-card/supply-error-card.stories.js +2 -2
  103. package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js +39 -6
  104. package/lib/commonjs/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
  105. package/lib/commonjs/styles/theme/theme.js +1 -0
  106. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  107. package/lib/commonjs/utils/text-limit/index.js +37 -0
  108. package/lib/commonjs/utils/text-limit/index.js.map +1 -0
  109. package/lib/module/common/icons-svg/bluetooth/index.js +45 -27
  110. package/lib/module/common/icons-svg/bluetooth/index.js.map +1 -1
  111. package/lib/module/common/icons-svg/constants/index.js +7 -5
  112. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  113. package/lib/module/common/icons-svg/index.js +19 -4
  114. package/lib/module/common/icons-svg/index.js.map +1 -1
  115. package/lib/module/common/icons-svg/plus-container/index.js +36 -0
  116. package/lib/module/common/icons-svg/plus-container/index.js.map +1 -0
  117. package/lib/module/common/icons-svg/trash/index.js +34 -0
  118. package/lib/module/common/icons-svg/trash/index.js.map +1 -0
  119. package/lib/module/components/activity-step/components/activite-row/index.js +134 -0
  120. package/lib/module/components/activity-step/components/activite-row/index.js.map +1 -0
  121. package/lib/module/components/activity-step/index.js +73 -0
  122. package/lib/module/components/activity-step/index.js.map +1 -0
  123. package/lib/module/components/activity-step/interface.js +4 -0
  124. package/lib/module/components/activity-step/interface.js.map +1 -0
  125. package/lib/module/components/activity-step/styles.js +83 -0
  126. package/lib/module/components/activity-step/styles.js.map +1 -0
  127. package/lib/module/components/card-scheduled-journey/index.js +8 -6
  128. package/lib/module/components/card-scheduled-journey/index.js.map +1 -1
  129. package/lib/module/components/coil-removel-code/index.js +4 -3
  130. package/lib/module/components/coil-removel-code/index.js.map +1 -1
  131. package/lib/module/components/inputs/input-date-time/index.js +130 -0
  132. package/lib/module/components/inputs/input-date-time/index.js.map +1 -0
  133. package/lib/module/components/inputs/input-date-time/interface.d.js +2 -0
  134. package/lib/module/components/inputs/input-date-time/interface.d.js.map +1 -0
  135. package/lib/module/components/inputs/input-date-time/styles.js +62 -0
  136. package/lib/module/components/inputs/input-date-time/styles.js.map +1 -0
  137. package/lib/module/components/list-devices/helpers/get-icon-by-status.js +21 -0
  138. package/lib/module/components/list-devices/helpers/get-icon-by-status.js.map +1 -0
  139. package/lib/module/components/list-devices/index.js +100 -0
  140. package/lib/module/components/list-devices/index.js.map +1 -0
  141. package/lib/module/components/list-devices/interface.d.js +2 -0
  142. package/lib/module/components/list-devices/interface.d.js.map +1 -0
  143. package/lib/module/components/list-devices/styles.js +56 -0
  144. package/lib/module/components/list-devices/styles.js.map +1 -0
  145. package/lib/module/components/list-supplies/index.js +165 -0
  146. package/lib/module/components/list-supplies/index.js.map +1 -0
  147. package/lib/module/components/list-supplies/interface.d.js +2 -0
  148. package/lib/module/components/list-supplies/interface.d.js.map +1 -0
  149. package/lib/module/components/maintenance-description-input/index.js +3 -0
  150. package/lib/module/components/maintenance-description-input/index.js.map +1 -1
  151. package/lib/module/components/maintenance-description-input/styles.js +1 -1
  152. package/lib/module/components/maintenance-description-input/styles.js.map +1 -1
  153. package/lib/module/components/modals/modal-activity-reason/index.js +165 -0
  154. package/lib/module/components/modals/modal-activity-reason/index.js.map +1 -0
  155. package/lib/module/components/modals/modal-activity-reason/interface.d.js +2 -0
  156. package/lib/module/components/modals/modal-activity-reason/interface.d.js.map +1 -0
  157. package/lib/module/components/modals/modal-create-activitie/helpers/index.js +24 -0
  158. package/lib/module/components/modals/modal-create-activitie/helpers/index.js.map +1 -0
  159. package/lib/module/components/modals/modal-create-activitie/index.js +196 -0
  160. package/lib/module/components/modals/modal-create-activitie/index.js.map +1 -0
  161. package/lib/module/components/modals/modal-create-activitie/interface.js +2 -0
  162. package/lib/module/components/modals/modal-create-activitie/interface.js.map +1 -0
  163. package/lib/module/components/modals/modal-create-activitie/styles.js +39 -0
  164. package/lib/module/components/modals/modal-create-activitie/styles.js.map +1 -0
  165. package/lib/module/components/modals/modal-exclude-activitie/index.js +2 -0
  166. package/lib/module/components/modals/modal-exclude-activitie/index.js.map +1 -0
  167. package/lib/module/components/modals/modal-journey-rectification/index.js +236 -0
  168. package/lib/module/components/modals/modal-journey-rectification/index.js.map +1 -0
  169. package/lib/module/components/modals/modal-journey-rectification/interface.d.js +2 -0
  170. package/lib/module/components/modals/modal-journey-rectification/interface.d.js.map +1 -0
  171. package/lib/module/components/modals/modal-to-confimations/index.js +179 -0
  172. package/lib/module/components/modals/modal-to-confimations/index.js.map +1 -0
  173. package/lib/module/components/modals/modal-to-confimations/interface.js +2 -0
  174. package/lib/module/components/modals/modal-to-confimations/interface.js.map +1 -0
  175. package/lib/module/components/selects/select-date-and-hours/index.js +74 -0
  176. package/lib/module/components/selects/select-date-and-hours/index.js.map +1 -0
  177. package/lib/module/components/selects/select-date-and-hours/interface.js +4 -0
  178. package/lib/module/components/selects/select-date-and-hours/interface.js.map +1 -0
  179. package/lib/module/components/selects/select-date-and-hours/styles.js +31 -0
  180. package/lib/module/components/selects/select-date-and-hours/styles.js.map +1 -0
  181. package/lib/module/components/selects/select-option/index.js +26 -9
  182. package/lib/module/components/selects/select-option/index.js.map +1 -1
  183. package/lib/module/components/selects/select-option/styles.js +6 -7
  184. package/lib/module/components/selects/select-option/styles.js.map +1 -1
  185. package/lib/module/components/step-indicator/index.js +55 -41
  186. package/lib/module/components/step-indicator/index.js.map +1 -1
  187. package/lib/module/components/step-indicator/styles.js.map +1 -1
  188. package/lib/module/components/supply-error-card/index.js +6 -6
  189. package/lib/module/components/toast-message/index.js +8 -7
  190. package/lib/module/components/toast-message/index.js.map +1 -1
  191. package/lib/module/components/travel-history/index.js +7 -7
  192. package/lib/module/components/travel-history/index.js.map +1 -1
  193. package/lib/module/components/trip-details-card/index.js +105 -24
  194. package/lib/module/components/trip-details-card/index.js.map +1 -1
  195. package/lib/module/components/typography/index.js +5 -5
  196. package/lib/module/components/typography/index.js.map +1 -1
  197. package/lib/module/index.js +7 -0
  198. package/lib/module/index.js.map +1 -1
  199. package/lib/module/stories/list-devices/list-devices.stories.js +140 -0
  200. package/lib/module/stories/list-devices/list-devices.stories.js.map +1 -0
  201. package/lib/module/stories/list-supplies/list-supplies.stories.js +63 -0
  202. package/lib/module/stories/list-supplies/list-supplies.stories.js.map +1 -0
  203. package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js +57 -0
  204. package/lib/module/stories/modal-activity-reason/modal-activity-reason.stories.js.map +1 -0
  205. package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js +57 -0
  206. package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -0
  207. package/lib/module/stories/step-indicator/step-indicator.stories.js +1 -0
  208. package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
  209. package/lib/module/stories/supply-error-card/supply-error-card.stories.js +2 -2
  210. package/lib/module/stories/trip-details-card/trip-details-card.stories.js +39 -6
  211. package/lib/module/stories/trip-details-card/trip-details-card.stories.js.map +1 -1
  212. package/lib/module/styles/theme/theme.js +1 -0
  213. package/lib/module/styles/theme/theme.js.map +1 -1
  214. package/lib/module/utils/text-limit/index.js +32 -0
  215. package/lib/module/utils/text-limit/index.js.map +1 -0
  216. package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts +5 -1
  217. package/lib/typescript/commonjs/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +2 -0
  219. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts +11 -0
  222. package/lib/typescript/commonjs/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
  223. package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts +11 -0
  224. package/lib/typescript/commonjs/src/common/icons-svg/trash/index.d.ts.map +1 -0
  225. package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts +11 -0
  226. package/lib/typescript/commonjs/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
  227. package/lib/typescript/commonjs/src/components/activity-step/index.d.ts +17 -0
  228. package/lib/typescript/commonjs/src/components/activity-step/index.d.ts.map +1 -0
  229. package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts +40 -0
  230. package/lib/typescript/commonjs/src/components/activity-step/interface.d.ts.map +1 -0
  231. package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts +75 -0
  232. package/lib/typescript/commonjs/src/components/activity-step/styles.d.ts.map +1 -0
  233. package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +2 -1
  234. package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/src/components/coil-removel-code/index.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts +8 -0
  237. package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts +59 -0
  239. package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
  241. package/lib/typescript/commonjs/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/src/components/list-devices/index.d.ts +11 -0
  243. package/lib/typescript/commonjs/src/components/list-devices/index.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts +57 -0
  245. package/lib/typescript/commonjs/src/components/list-devices/styles.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts +8 -0
  247. package/lib/typescript/commonjs/src/components/list-supplies/index.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts +8 -0
  250. package/lib/typescript/commonjs/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
  251. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
  252. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
  253. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts +8 -0
  254. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
  255. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
  256. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
  257. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
  258. package/lib/typescript/commonjs/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
  259. package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
  260. package/lib/typescript/commonjs/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
  261. package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
  262. package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
  263. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts +8 -0
  264. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
  265. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
  266. package/lib/typescript/commonjs/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
  267. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts +13 -0
  268. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
  269. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
  270. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
  271. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
  272. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
  273. package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts +1 -0
  274. package/lib/typescript/commonjs/src/components/selects/select-option/index.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts +0 -1
  276. package/lib/typescript/commonjs/src/components/selects/select-option/styles.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +1 -1
  278. package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts +2 -2
  279. package/lib/typescript/commonjs/src/components/step-indicator/styles.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/src/components/supply-error-card/index.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/src/components/trip-details-card/index.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/src/index.d.ts +7 -0
  284. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts +22 -0
  286. package/lib/typescript/commonjs/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
  288. package/lib/typescript/commonjs/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
  290. package/lib/typescript/commonjs/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
  292. package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
  294. package/lib/typescript/commonjs/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
  296. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
  297. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
  298. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/src/utils/text-limit/index.d.ts +14 -0
  300. package/lib/typescript/commonjs/src/utils/text-limit/index.d.ts.map +1 -0
  301. package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts +5 -1
  302. package/lib/typescript/module/src/common/icons-svg/bluetooth/index.d.ts.map +1 -1
  303. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +2 -0
  304. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
  305. package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
  306. package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts +11 -0
  307. package/lib/typescript/module/src/common/icons-svg/plus-container/index.d.ts.map +1 -0
  308. package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts +11 -0
  309. package/lib/typescript/module/src/common/icons-svg/trash/index.d.ts.map +1 -0
  310. package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts +11 -0
  311. package/lib/typescript/module/src/components/activity-step/components/activite-row/index.d.ts.map +1 -0
  312. package/lib/typescript/module/src/components/activity-step/index.d.ts +17 -0
  313. package/lib/typescript/module/src/components/activity-step/index.d.ts.map +1 -0
  314. package/lib/typescript/module/src/components/activity-step/interface.d.ts +40 -0
  315. package/lib/typescript/module/src/components/activity-step/interface.d.ts.map +1 -0
  316. package/lib/typescript/module/src/components/activity-step/styles.d.ts +75 -0
  317. package/lib/typescript/module/src/components/activity-step/styles.d.ts.map +1 -0
  318. package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +2 -1
  319. package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts.map +1 -1
  320. package/lib/typescript/module/src/components/coil-removel-code/index.d.ts.map +1 -1
  321. package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts +8 -0
  322. package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts.map +1 -0
  323. package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts +59 -0
  324. package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts.map +1 -0
  325. package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts +15 -0
  326. package/lib/typescript/module/src/components/list-devices/helpers/get-icon-by-status.d.ts.map +1 -0
  327. package/lib/typescript/module/src/components/list-devices/index.d.ts +11 -0
  328. package/lib/typescript/module/src/components/list-devices/index.d.ts.map +1 -0
  329. package/lib/typescript/module/src/components/list-devices/styles.d.ts +57 -0
  330. package/lib/typescript/module/src/components/list-devices/styles.d.ts.map +1 -0
  331. package/lib/typescript/module/src/components/list-supplies/index.d.ts +8 -0
  332. package/lib/typescript/module/src/components/list-supplies/index.d.ts.map +1 -0
  333. package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
  334. package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts +8 -0
  335. package/lib/typescript/module/src/components/modals/modal-activity-reason/index.d.ts.map +1 -0
  336. package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts +21 -0
  337. package/lib/typescript/module/src/components/modals/modal-create-activitie/helpers/index.d.ts.map +1 -0
  338. package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts +8 -0
  339. package/lib/typescript/module/src/components/modals/modal-create-activitie/index.d.ts.map +1 -0
  340. package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts +19 -0
  341. package/lib/typescript/module/src/components/modals/modal-create-activitie/interface.d.ts.map +1 -0
  342. package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts +33 -0
  343. package/lib/typescript/module/src/components/modals/modal-create-activitie/styles.d.ts.map +1 -0
  344. package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts +1 -0
  345. package/lib/typescript/module/src/components/modals/modal-exclude-activitie/index.d.ts.map +1 -0
  346. package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts +8 -0
  347. package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts.map +1 -0
  348. package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts +8 -0
  349. package/lib/typescript/module/src/components/modals/modal-to-confimations/index.d.ts.map +1 -0
  350. package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts +28 -0
  351. package/lib/typescript/module/src/components/modals/modal-to-confimations/interface.d.ts.map +1 -0
  352. package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts +13 -0
  353. package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts.map +1 -0
  354. package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts +22 -0
  355. package/lib/typescript/module/src/components/selects/select-date-and-hours/interface.d.ts.map +1 -0
  356. package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts +26 -0
  357. package/lib/typescript/module/src/components/selects/select-date-and-hours/styles.d.ts.map +1 -0
  358. package/lib/typescript/module/src/components/selects/select-option/index.d.ts +1 -0
  359. package/lib/typescript/module/src/components/selects/select-option/index.d.ts.map +1 -1
  360. package/lib/typescript/module/src/components/selects/select-option/styles.d.ts +0 -1
  361. package/lib/typescript/module/src/components/selects/select-option/styles.d.ts.map +1 -1
  362. package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +1 -1
  363. package/lib/typescript/module/src/components/step-indicator/styles.d.ts +2 -2
  364. package/lib/typescript/module/src/components/step-indicator/styles.d.ts.map +1 -1
  365. package/lib/typescript/module/src/components/supply-error-card/index.d.ts.map +1 -1
  366. package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
  367. package/lib/typescript/module/src/components/trip-details-card/index.d.ts.map +1 -1
  368. package/lib/typescript/module/src/index.d.ts +7 -0
  369. package/lib/typescript/module/src/index.d.ts.map +1 -1
  370. package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts +22 -0
  371. package/lib/typescript/module/src/stories/list-devices/list-devices.stories.d.ts.map +1 -0
  372. package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts +10 -0
  373. package/lib/typescript/module/src/stories/list-supplies/list-supplies.stories.d.ts.map +1 -0
  374. package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts +10 -0
  375. package/lib/typescript/module/src/stories/modal-activity-reason/modal-activity-reason.stories.d.ts.map +1 -0
  376. package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +10 -0
  377. package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -0
  378. package/lib/typescript/module/src/stories/step-indicator/step-indicator.stories.d.ts.map +1 -1
  379. package/lib/typescript/module/src/stories/trip-details-card/trip-details-card.stories.d.ts.map +1 -1
  380. package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
  381. package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
  382. package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
  383. package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
  384. package/lib/typescript/module/src/utils/text-limit/index.d.ts +14 -0
  385. package/lib/typescript/module/src/utils/text-limit/index.d.ts.map +1 -0
  386. package/package.json +2 -1
  387. package/src/common/icons-svg/bluetooth/index.tsx +51 -24
  388. package/src/common/icons-svg/constants/index.ts +67 -65
  389. package/src/common/icons-svg/index.tsx +289 -280
  390. package/src/common/icons-svg/plus-container/index.tsx +32 -0
  391. package/src/common/icons-svg/trash/index.tsx +31 -0
  392. package/src/components/activity-step/components/activite-row/index.tsx +141 -0
  393. package/src/components/activity-step/index.tsx +73 -0
  394. package/src/components/activity-step/interface.ts +54 -0
  395. package/src/components/activity-step/styles.ts +72 -0
  396. package/src/components/card-scheduled-journey/index.tsx +140 -138
  397. package/src/components/card-scheduled-journey/interface.d.ts +145 -140
  398. package/src/components/coil-removel-code/index.tsx +8 -3
  399. package/src/components/coil-removel-code/interface.d.ts +14 -13
  400. package/src/components/inputs/input-date-time/index.tsx +133 -0
  401. package/src/components/inputs/input-date-time/interface.d.ts +25 -0
  402. package/src/components/inputs/input-date-time/styles.ts +63 -0
  403. package/src/components/list-devices/helpers/get-icon-by-status.tsx +20 -0
  404. package/src/components/list-devices/index.tsx +103 -0
  405. package/src/components/list-devices/interface.d.ts +36 -0
  406. package/src/components/list-devices/styles.ts +68 -0
  407. package/src/components/list-supplies/index.tsx +153 -0
  408. package/src/components/list-supplies/interface.d.ts +9 -0
  409. package/src/components/maintenance-description-input/index.tsx +1 -0
  410. package/src/components/maintenance-description-input/styles.ts +1 -1
  411. package/src/components/modals/modal-activity-reason/index.tsx +168 -0
  412. package/src/components/modals/modal-activity-reason/interface.d.ts +9 -0
  413. package/src/components/modals/modal-create-activitie/helpers/index.ts +14 -0
  414. package/src/components/modals/modal-create-activitie/index.tsx +210 -0
  415. package/src/components/modals/modal-create-activitie/interface.ts +22 -0
  416. package/src/components/modals/modal-create-activitie/styles.ts +24 -0
  417. package/src/components/modals/modal-exclude-activitie/index.ts +0 -0
  418. package/src/components/modals/modal-journey-rectification/index.tsx +236 -0
  419. package/src/components/modals/modal-journey-rectification/interface.d.ts +10 -0
  420. package/src/components/modals/modal-to-confimations/index.tsx +182 -0
  421. package/src/components/modals/modal-to-confimations/interface.ts +36 -0
  422. package/src/components/selects/select-date-and-hours/index.tsx +70 -0
  423. package/src/components/selects/select-date-and-hours/interface.ts +31 -0
  424. package/src/components/selects/select-date-and-hours/styles.ts +24 -0
  425. package/src/components/selects/select-option/index.tsx +124 -94
  426. package/src/components/selects/select-option/interface.d.ts +1 -1
  427. package/src/components/selects/select-option/styles.ts +74 -75
  428. package/src/components/step-indicator/index.tsx +56 -36
  429. package/src/components/step-indicator/interface.d.ts +14 -3
  430. package/src/components/step-indicator/styles.ts +2 -2
  431. package/src/components/supply-error-card/index.tsx +109 -109
  432. package/src/components/supply-error-card/interface.d.ts +133 -133
  433. package/src/components/toast-message/index.tsx +75 -74
  434. package/src/components/travel-history/index.tsx +7 -7
  435. package/src/components/trip-details-card/index.tsx +267 -193
  436. package/src/components/trip-details-card/interface.d.ts +4 -1
  437. package/src/components/typography/index.tsx +78 -78
  438. package/src/index.tsx +7 -0
  439. package/src/stories/list-devices/list-devices.stories.tsx +114 -0
  440. package/src/stories/list-supplies/list-supplies.stories.tsx +66 -0
  441. package/src/stories/modal-activity-reason/modal-activity-reason.stories.tsx +60 -0
  442. package/src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx +60 -0
  443. package/src/stories/step-indicator/step-indicator.stories.tsx +1 -0
  444. package/src/stories/supply-error-card/supply-error-card.stories.tsx +72 -72
  445. package/src/stories/trip-details-card/trip-details-card.stories.tsx +38 -5
  446. package/src/styles/theme/theme.ts +1 -0
  447. package/src/utils/text-limit/index.ts +28 -0
@@ -0,0 +1,165 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * IMPORTS
5
+ */
6
+ import React, { useEffect } from "react";
7
+ import { Image, View, UIManager, Platform } from "react-native";
8
+
9
+ // components
10
+ import Box from "../../components/box/index.js";
11
+ import Typography from "../../components/typography/index.js";
12
+
13
+ // style
14
+ import { theme } from "../../styles/theme/theme.js";
15
+
16
+ // typings
17
+
18
+ import { asBaseComponent } from "../../@types/as-base-component.js";
19
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
+ const ListSupplies = ({
21
+ dataRegistro,
22
+ namePosto,
23
+ litragem,
24
+ valor,
25
+ imagemUrl,
26
+ corBarra
27
+ }) => {
28
+ useEffect(() => {
29
+ if (Platform.OS === "android" && UIManager.setLayoutAnimationEnabledExperimental) {
30
+ UIManager.setLayoutAnimationEnabledExperimental(true);
31
+ }
32
+ }, []);
33
+ return /*#__PURE__*/_jsxs(Box, {
34
+ width: "100%",
35
+ flexStyle: {
36
+ flexDirection: "row"
37
+ },
38
+ backgroundColor: theme.colors.neutral[25],
39
+ borderStyled: {
40
+ borderRadius: theme.borderWidths.thick_medium
41
+ },
42
+ children: [/*#__PURE__*/_jsx(View, {
43
+ style: {
44
+ width: 15,
45
+ backgroundColor: corBarra ?? theme.colors.blue[375],
46
+ borderTopLeftRadius: theme.borderWidths.thick_medium,
47
+ borderBottomLeftRadius: theme.borderWidths.thick_medium
48
+ }
49
+ }), /*#__PURE__*/_jsxs(Box, {
50
+ flexStyle: {
51
+ flex: 1
52
+ },
53
+ paddingStyle: {
54
+ padding: theme.paddings["2xs"]
55
+ },
56
+ children: [/*#__PURE__*/_jsx(Box, {
57
+ marginStyle: {
58
+ marginBottom: theme.margins.fn
59
+ },
60
+ flexStyle: {
61
+ flexDirection: "row",
62
+ justifyContent: "flex-start"
63
+ },
64
+ children: /*#__PURE__*/_jsx(Typography, {
65
+ text: `${namePosto || "Não informado"}`,
66
+ color: theme.colors.black[25],
67
+ fontFamily: theme.fonts.inter_medium_500,
68
+ size: theme.fontSizes.sm
69
+ })
70
+ }), /*#__PURE__*/_jsxs(Box, {
71
+ marginStyle: {
72
+ marginBottom: theme.margins.fn
73
+ },
74
+ flexStyle: {
75
+ flexDirection: "row",
76
+ justifyContent: "flex-start"
77
+ },
78
+ children: [/*#__PURE__*/_jsx(Typography, {
79
+ text: "Litragem: ",
80
+ color: theme.colors.black[25],
81
+ fontFamily: theme.fonts.inter_medium_500,
82
+ size: theme.fontSizes.sm
83
+ }), /*#__PURE__*/_jsxs(Box, {
84
+ flexStyle: {
85
+ flexDirection: "row",
86
+ justifyContent: "flex-start"
87
+ },
88
+ children: [/*#__PURE__*/_jsx(Typography, {
89
+ text: `${litragem || "Não informado"}`,
90
+ color: theme.colors.black[25],
91
+ fontFamily: theme.fonts.inter_regular_400,
92
+ size: theme.fontSizes.sm
93
+ }), /*#__PURE__*/_jsx(Typography, {
94
+ text: ` LT`,
95
+ color: theme.colors.red[400],
96
+ fontFamily: theme.fonts.inter_regular_400,
97
+ size: theme.fontSizes.sm
98
+ })]
99
+ })]
100
+ }), /*#__PURE__*/_jsxs(Box, {
101
+ marginStyle: {
102
+ marginBottom: theme.margins.fn
103
+ },
104
+ flexStyle: {
105
+ flexDirection: "row",
106
+ justifyContent: "flex-start"
107
+ },
108
+ children: [/*#__PURE__*/_jsx(Typography, {
109
+ text: "Valor: ",
110
+ color: theme.colors.black[25],
111
+ fontFamily: theme.fonts.inter_medium_500,
112
+ size: theme.fontSizes.sm
113
+ }), /*#__PURE__*/_jsx(Typography, {
114
+ text: `R$ ${valor || "Não informado"}`,
115
+ color: theme.colors.gray[700],
116
+ fontFamily: theme.fonts.inter_regular_400,
117
+ size: theme.fontSizes.sm
118
+ })]
119
+ }), /*#__PURE__*/_jsxs(Box, {
120
+ marginStyle: {
121
+ marginBottom: theme.margins.fn
122
+ },
123
+ flexStyle: {
124
+ flexDirection: "row",
125
+ justifyContent: "flex-start"
126
+ },
127
+ children: [/*#__PURE__*/_jsx(Typography, {
128
+ text: "Data: ",
129
+ color: theme.colors.black[25],
130
+ fontFamily: theme.fonts.inter_medium_500,
131
+ size: theme.fontSizes.sm
132
+ }), /*#__PURE__*/_jsx(Typography, {
133
+ text: `${dataRegistro || "Não informado"}`,
134
+ color: theme.colors.gray[700],
135
+ fontFamily: theme.fonts.inter_regular_400,
136
+ size: theme.fontSizes.sm
137
+ })]
138
+ }), /*#__PURE__*/_jsx(Box, {
139
+ borderStyled: {
140
+ borderWidth: 1,
141
+ borderColor: theme.colors.black[25],
142
+ borderRadius: theme.borderWidths.thick_medium
143
+ },
144
+ flexStyle: {
145
+ justifyContent: "center",
146
+ alignItems: "center"
147
+ },
148
+ children: /*#__PURE__*/_jsx(Image, {
149
+ source: {
150
+ uri: imagemUrl ?? "https://placehold.co/300x300"
151
+ },
152
+ style: {
153
+ width: "100%",
154
+ height: 139,
155
+ borderRadius: theme.borderWidths.thick_medium
156
+ },
157
+ resizeMode: "cover"
158
+ })
159
+ })]
160
+ })]
161
+ });
162
+ };
163
+ ListSupplies.displayName = "ListSupplies";
164
+ export default asBaseComponent(ListSupplies);
165
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","Image","View","UIManager","Platform","Box","Typography","theme","asBaseComponent","jsx","_jsx","jsxs","_jsxs","ListSupplies","dataRegistro","namePosto","litragem","valor","imagemUrl","corBarra","OS","setLayoutAnimationEnabledExperimental","width","flexStyle","flexDirection","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","children","style","blue","borderTopLeftRadius","borderBottomLeftRadius","flex","paddingStyle","padding","paddings","marginStyle","marginBottom","margins","fn","justifyContent","text","color","black","fontFamily","fonts","inter_medium_500","size","fontSizes","sm","inter_regular_400","red","gray","borderWidth","borderColor","alignItems","source","uri","height","resizeMode","displayName"],"sourceRoot":"..\\..\\..\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YACLX,KAAK,EAAE,MAAM;YACbyC,MAAM,EAAE,GAAG;YACXlC,YAAY,EAAEtB,KAAK,CAACuB,YAAY,CAACC;UACnC,CAAE;UACFiC,UAAU,EAAC;QAAO,CACnB;MAAC,CACC,CAAC;IAAA,CACP,CAAC;EAAA,CACH,CAAC;AAEV,CAAC;AAEDnD,YAAY,CAACoD,WAAW,GAAG,cAAc;AACzC,eAAezD,eAAe,CAACK,YAAY,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=interface.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/list-supplies/interface.d.ts"],"mappings":"","ignoreList":[]}
@@ -48,6 +48,9 @@ const MaintenanceDescriptionInput = /*#__PURE__*/forwardRef(({
48
48
  flexDirection: "row",
49
49
  justifyContent: error ? "space-between" : "flex-end"
50
50
  },
51
+ marginStyle: {
52
+ marginBottom: 16
53
+ },
51
54
  children: [error && /*#__PURE__*/_jsx(Text, {
52
55
  style: stylesInput.errorText,
53
56
  children: error
@@ -1 +1 @@
1
- {"version":3,"names":["React","forwardRef","useState","View","Text","TextInput","asBaseComponent","stylesInput","Box","jsx","_jsx","jsxs","_jsxs","MAX_LENGTH","MaintenanceDescriptionInput","label","onChangeText","error","props","ref","text","setText","handleChangeText","value","sliced","slice","children","style","inputWrapper","multiline","input","placeholderTextColor","maxLength","flexStyle","flexDirection","justifyContent","errorText","charCount","length","memo"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,IAAI,EAAEC,IAAI,EAAEC,SAAS,QAAQ,cAAc;;AAEpD;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,WAAW,QAAQ,aAAU;AACtC,OAAOC,GAAG,MAAM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AAU;QAAAV,QAAA,EAAET;MAAK,CAAO,CAAC,eAC5DP,IAAA,CAACN,IAAI;QAACuB,KAAK,EAAEpB,WAAW,CAAC8B,SAAU;QAAAX,QAAA,EAAE,GAAGN,IAAI,CAACkB,MAAM,IAAIzB,UAAU;MAAE,CAAO,CAAC;IAAA,CACxE,CAAC;EAAA,CACF,CAAC;AAEX,CACF,CAAC;AAED,eAAeP,eAAe,cAACN,KAAK,CAACuC,IAAI,CAACzB,2BAA2B,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","forwardRef","useState","View","Text","TextInput","asBaseComponent","stylesInput","Box","jsx","_jsx","jsxs","_jsxs","MAX_LENGTH","MaintenanceDescriptionInput","label","onChangeText","error","props","ref","text","setText","handleChangeText","value","sliced","slice","children","style","inputWrapper","multiline","input","placeholderTextColor","maxLength","flexStyle","flexDirection","justifyContent","marginStyle","marginBottom","errorText","charCount","length","memo"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,IAAI,EAAEC,IAAI,EAAEC,SAAS,QAAQ,cAAc;;AAEpD;;AAEA,SAASC,eAAe,QAAQ,mCAAgC;;AAEhE;AACA,SAASC,WAAW,QAAQ,aAAU;AACtC,OAAOC,GAAG,MAAM,iBAAQ;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEzB,MAAMC,UAAU,GAAG,GAAG;AAEtB,MAAMC,2BAA2B,gBAAGb,UAAU,CAC5C,CAAC;EAAEc,KAAK;EAAEC,YAAY;EAAEC,KAAK,GAAG,IAAI;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAyB;EAC5E,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGnB,QAAQ,CAAC,EAAE,CAAC;EAEpC,MAAMoB,gBAAgB,GAAIC,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,CAAC","ignoreList":[]}
@@ -4,7 +4,7 @@ import { StyleSheet } from "react-native";
4
4
  import { theme } from "../../styles/theme/theme.js";
5
5
  const stylesInput = StyleSheet.create({
6
6
  label: {
7
- fontFamily: theme.fonts.inter_regular_400,
7
+ fontFamily: theme.fonts.inter_medium_500,
8
8
  fontSize: theme.fontSizes.md,
9
9
  color: theme.colors.black[100],
10
10
  marginBottom: theme.margins["1xs"],
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","theme","stylesInput","create","label","fontFamily","fonts","inter_regular_400","fontSize","fontSizes","md","color","colors","black","marginBottom","margins","fontWeight","inputWrapper","borderColor","gray","borderWidth","borderWidths","thin","borderRadius","thick","input","sm","padding","paddings","textAlignVertical","minHeight","charCount","alignSelf","marginTop","errorText","red"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,KAAK,QAAQ,6BAA0B;AAEhD,MAAMC,WAAW,GAAGF,UAAU,CAACG,MAAM,CAAC;EACpCC,KAAK,EAAE;IACLC,UAAU,EAAEJ,KAAK,CAACK,KAAK,CAACC,iBAAiB;IACzCC,QAAQ,EAAEP,KAAK,CAACQ,SAAS,CAACC,EAAE;IAC5BC,KAAK,EAAEV,KAAK,CAACW,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;IAC9BC,YAAY,EAAEb,KAAK,CAACc,OAAO,CAAC,KAAK,CAAC;IAClCC,UAAU,EAAE;EACd,CAAC;EACDC,YAAY,EAAE;IACZC,WAAW,EAAEjB,KAAK,CAACW,MAAM,CAACO,IAAI,CAAC,GAAG,CAAC;IACnCC,WAAW,EAAEnB,KAAK,CAACoB,YAAY,CAACC,IAAI;IACpCC,YAAY,EAAEtB,KAAK,CAACoB,YAAY,CAACG;EACnC,CAAC;EACDC,KAAK,EAAE;IACLpB,UAAU,EAAEJ,KAAK,CAACK,KAAK,CAACC,iBAAiB;IACzCC,QAAQ,EAAEP,KAAK,CAACQ,SAAS,CAACiB,EAAE;IAC5Bf,KAAK,EAAEV,KAAK,CAACW,MAAM,CAACO,IAAI,CAAC,GAAG,CAAC;IAC7BQ,OAAO,EAAE1B,KAAK,CAAC2B,QAAQ,CAAC,KAAK,CAAC;IAC9BC,iBAAiB,EAAE,KAAK;IACxBC,SAAS,EAAE;EACb,CAAC;EACDC,SAAS,EAAE;IACTC,SAAS,EAAE,UAAU;IACrBC,SAAS,EAAEhC,KAAK,CAACc,OAAO,CAAC,KAAK,CAAC;IAC/BJ,KAAK,EAAEV,KAAK,CAACW,MAAM,CAACO,IAAI,CAAC,GAAG,CAAC;IAC7BX,QAAQ,EAAEP,KAAK,CAACQ,SAAS,CAACiB;EAC5B,CAAC;EACDQ,SAAS,EAAE;IACTvB,KAAK,EAAEV,KAAK,CAACW,MAAM,CAACuB,GAAG,CAAC,GAAG,CAAC;IAC5B3B,QAAQ,EAAEP,KAAK,CAACQ,SAAS,CAACiB,EAAE;IAC5BO,SAAS,EAAEhC,KAAK,CAACc,OAAO,CAAC,KAAK;EAChC;AACF,CAAC,CAAC;AAEF,SAASb,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["StyleSheet","theme","stylesInput","create","label","fontFamily","fonts","inter_medium_500","fontSize","fontSizes","md","color","colors","black","marginBottom","margins","fontWeight","inputWrapper","borderColor","gray","borderWidth","borderWidths","thin","borderRadius","thick","input","inter_regular_400","sm","padding","paddings","textAlignVertical","minHeight","charCount","alignSelf","marginTop","errorText","red"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/maintenance-description-input/styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,KAAK,QAAQ,6BAA0B;AAEhD,MAAMC,WAAW,GAAGF,UAAU,CAACG,MAAM,CAAC;EACpCC,KAAK,EAAE;IACLC,UAAU,EAAEJ,KAAK,CAACK,KAAK,CAACC,gBAAgB;IACxCC,QAAQ,EAAEP,KAAK,CAACQ,SAAS,CAAC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 */
6
+ import React 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 MaintenanceDescriptionInput from "../../maintenance-description-input/index.js";
14
+
15
+ // commons / svg
16
+ import { Icons } from "../../../common/icons-svg/index.js";
17
+
18
+ // typings
19
+
20
+ import { asBaseComponent } from "../../../@types/as-base-component.js";
21
+
22
+ // styles
23
+ import { theme } from "../../../styles/theme/theme.js";
24
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
+ const MAX_LEN = 150;
26
+ const ModalActivityReason = ({
27
+ visible,
28
+ onClose,
29
+ modalConfirm,
30
+ textTitle
31
+ }) => {
32
+ const [textInput, setTextInput] = React.useState("");
33
+ const messaError = textInput.length >= MAX_LEN ? `Limite máximo de ${MAX_LEN} caracteres atingido!` : "";
34
+ return /*#__PURE__*/_jsx(Modal, {
35
+ animationType: "fade",
36
+ transparent: true,
37
+ visible: visible,
38
+ children: /*#__PURE__*/_jsx(View, {
39
+ style: {
40
+ flex: 1,
41
+ justifyContent: "center",
42
+ alignItems: "center",
43
+ backgroundColor: theme.shadows.z1
44
+ },
45
+ children: /*#__PURE__*/_jsxs(Box, {
46
+ width: "90%",
47
+ backgroundColor: theme.colors.orange[500],
48
+ borderStyled: {
49
+ borderRadius: theme.borderWidths.thick_medium
50
+ },
51
+ paddingStyle: {
52
+ paddingLeft: theme.paddings["2xs"],
53
+ paddingRight: theme.paddings["2xs"],
54
+ paddingTop: theme.paddings.sm,
55
+ paddingBottom: theme.paddings.sm
56
+ },
57
+ children: [/*#__PURE__*/_jsxs(Box, {
58
+ marginStyle: {
59
+ marginBottom: 10,
60
+ marginLeft: 4
61
+ },
62
+ flexStyle: {
63
+ flexDirection: "row",
64
+ alignItems: "center"
65
+ },
66
+ children: [/*#__PURE__*/_jsx(Icons, {
67
+ icon: "EXCLAMATION_TRIANGLE",
68
+ color: theme.colors.orange[500],
69
+ background: theme.colors.neutral[300],
70
+ size: 22
71
+ }), /*#__PURE__*/_jsx(Typography, {
72
+ text: `${textTitle ?? "Motivo da exclusão"}`,
73
+ color: theme.colors.neutral[25],
74
+ marginLeft: theme.margins["2xs"],
75
+ fontFamily: theme.fonts.inter_bold_700,
76
+ size: theme.fontSizes.lg
77
+ })]
78
+ }), /*#__PURE__*/_jsxs(Box, {
79
+ backgroundColor: theme.colors.neutral[300],
80
+ paddingStyle: {
81
+ padding: theme.paddings.xs
82
+ },
83
+ borderStyled: {
84
+ borderRadius: theme.borderWidths.thick_medium
85
+ },
86
+ children: [/*#__PURE__*/_jsx(Box, {
87
+ width: "100%",
88
+ children: /*#__PURE__*/_jsx(MaintenanceDescriptionInput, {
89
+ label: `${textTitle || "Motivo da exclusão"}`,
90
+ placeholderTextColor: theme.colors.gray[700],
91
+ placeholder: "Motivo da exclus\xE3o",
92
+ onChangeText: setTextInput,
93
+ error: messaError
94
+ })
95
+ }), /*#__PURE__*/_jsxs(Box, {
96
+ marginStyle: {
97
+ marginTop: 4
98
+ },
99
+ flexStyle: {
100
+ flexDirection: "row",
101
+ justifyContent: "space-between"
102
+ },
103
+ children: [/*#__PURE__*/_jsx(Button, {
104
+ title: "CANCELAR",
105
+ onPress: onClose,
106
+ width: "48%",
107
+ height: 40,
108
+ isLoading: false,
109
+ disabled: false,
110
+ backgroundColor: theme.colors.neutral[300],
111
+ buttonTextStyle: {
112
+ color: theme.colors.blue[100],
113
+ fontFamily: "Inter-Medium",
114
+ fontSize: theme.fontSizes.xs,
115
+ fontWeight: "500"
116
+ },
117
+ flexStyle: {
118
+ flexDirection: "row",
119
+ alignItems: "center",
120
+ justifyContent: "center",
121
+ textAlign: "center"
122
+ },
123
+ borderStyled: {
124
+ borderWidth: theme.borderWidths.thin,
125
+ borderColor: theme.colors.blue[100],
126
+ borderRadius: theme.borderWidths.thick_medium
127
+ }
128
+ }), /*#__PURE__*/_jsx(Button, {
129
+ title: "CONFIRMAR",
130
+ onPress: () => {
131
+ modalConfirm(textInput);
132
+ onClose();
133
+ },
134
+ width: "48%",
135
+ height: 40,
136
+ isLoading: false,
137
+ disabled: false,
138
+ backgroundColor: theme.colors.blue[500],
139
+ buttonTextStyle: {
140
+ color: theme.colors.neutral[25],
141
+ fontFamily: "Inter-Medium",
142
+ fontSize: theme.fontSizes.xs,
143
+ fontWeight: "500"
144
+ },
145
+ flexStyle: {
146
+ flexDirection: "row",
147
+ alignItems: "center",
148
+ justifyContent: "center",
149
+ textAlign: "center"
150
+ },
151
+ borderStyled: {
152
+ borderWidth: theme.borderWidths.thin,
153
+ borderColor: theme.colors.blue[100],
154
+ borderRadius: theme.borderWidths.thick_medium
155
+ }
156
+ })]
157
+ })]
158
+ })]
159
+ })
160
+ })
161
+ });
162
+ };
163
+ ModalActivityReason.displayName = "ModalActivityReason";
164
+ export default asBaseComponent(ModalActivityReason);
165
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Modal","View","Box","Typography","Button","MaintenanceDescriptionInput","Icons","asBaseComponent","theme","jsx","_jsx","jsxs","_jsxs","MAX_LEN","ModalActivityReason","visible","onClose","modalConfirm","textTitle","textInput","setTextInput","useState","messaError","length","animationType","transparent","children","style","flex","justifyContent","alignItems","backgroundColor","shadows","z1","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","label","placeholderTextColor","gray","placeholder","onChangeText","error","marginTop","title","onPress","height","isLoading","disabled","buttonTextStyle","blue","fontSize","fontWeight","textAlign","borderWidth","thin","borderColor","displayName"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-activity-reason/index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,K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[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=interface.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/modals/modal-activity-reason/interface.d.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * IMPORTS
5
+ */
6
+ const OPTIONS = [{
7
+ label: "Disp com veículo parado",
8
+ value: "option1"
9
+ }, {
10
+ label: "Operação com veículo",
11
+ value: "option2"
12
+ }, {
13
+ label: "Em carga",
14
+ value: "option3"
15
+ }, {
16
+ label: "Em descarga",
17
+ value: "option4"
18
+ }];
19
+
20
+ /**
21
+ * EXPORTS
22
+ */
23
+ export { OPTIONS };
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["OPTIONS","label","value"],"sourceRoot":"..\\..\\..\\..\\..\\..\\src","sources":["components/modals/modal-create-activitie/helpers/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA,MAAMA,OAAO,GAAG,CACd;EAAEC,KAAK,EAAE,yBAAyB;EAAEC,KAAK,EAAE;AAAU,CAAC,EACtD;EAAED,KAAK,EAAE,sBAAsB;EAAEC,KAAK,EAAE;AAAU,CAAC,EACnD;EAAED,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE;AAAU,CAAC,EACvC;EAAED,KAAK,EAAE,aAAa;EAAEC,KAAK,EAAE;AAAU,CAAC,CAClC;;AAEV;AACA;AACA;AACA,SAASF,OAAO","ignoreList":[]}
@@ -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