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,77 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _index = _interopRequireDefault(require("./components/activite-row/index.js"));
10
+ var _asBaseComponent = require("../../@types/as-base-component.js");
11
+ var _styles = require("./styles.js");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
15
+ /**
16
+ * IMPORTS
17
+ */
18
+
19
+ // components
20
+
21
+ // typings
22
+
23
+ // styles
24
+
25
+ /**
26
+ * Componente ActivityTimeline para a interação da ui.
27
+ */const ActivityTimeline = /*#__PURE__*/(0, _react.forwardRef)(({
28
+ data,
29
+ onAdd,
30
+ onEdit,
31
+ onDelete,
32
+ showIndexBadge = true,
33
+ testID = "activity-timeline"
34
+ }, ref) => {
35
+ const keyExtractor = (0, _react.useCallback)(it => String(it.id), []);
36
+ const renderItem = (0, _react.useCallback)(({
37
+ item,
38
+ index
39
+ }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
40
+ index: index,
41
+ items: data,
42
+ activities: item,
43
+ onAdd: onAdd,
44
+ onEdit: onEdit,
45
+ onDelete: onDelete,
46
+ showIndexBadge: showIndexBadge
47
+ }), [onAdd, onEdit, onDelete, showIndexBadge]);
48
+ const getItemLayout = (0, _react.useCallback)((_, index) => ({
49
+ length: _styles.ROW_HEIGHT,
50
+ offset: _styles.ROW_HEIGHT * index,
51
+ index
52
+ }), []);
53
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
54
+ ref: ref,
55
+ testID: testID,
56
+ data: data,
57
+ keyExtractor: keyExtractor,
58
+ renderItem: renderItem,
59
+ contentContainerStyle: _styles.styles.listContainer,
60
+ getItemLayout: getItemLayout,
61
+ initialNumToRender: 10,
62
+ maxToRenderPerBatch: 10,
63
+ removeClippedSubviews: true,
64
+ windowSize: 7,
65
+ ListEmptyComponent: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
66
+ style: {
67
+ height: 8
68
+ }
69
+ })
70
+ });
71
+ });
72
+
73
+ /**
74
+ * EXPORTS
75
+ */
76
+ var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(ActivityTimeline);
77
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_asBaseComponent","_styles","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ActivityTimeline","forwardRef","data","onAdd","onEdit","onDelete","showIndexBadge","testID","ref","keyExtractor","useCallback","it","String","id","renderItem","item","index","jsx","items","activities","getItemLayout","_","length","ROW_HEIGHT","offset","FlatList","contentContainerStyle","styles","listContainer","initialNumToRender","maxToRenderPerBatch","removeClippedSubviews","windowSize","ListEmptyComponent","View","style","height","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/activity-step/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAA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AAG;IACvBC,mBAAmB,EAAE,EAAG;IACxBC,qBAAqB;IACrBC,UAAU,EAAE,CAAE;IACdC,kBAAkB,eAAE,IAAArD,WAAA,CAAAqC,GAAA,EAAC1C,YAAA,CAAA2D,IAAI;MAACC,KAAK,EAAE;QAAEC,MAAM,EAAE;MAAE;IAAE,CAAE;EAAE,CACpD,CAAC;AAEN,CACF,CAAC;;AAED;AACA;AACA;AAFA,IAAAC,QAAA,GAAAC,OAAA,CAAAvD,OAAA,GAGe,IAAAwD,gCAAe,EAACvC,gBAAgB,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/activity-step/interface.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.styles = exports.ROW_HEIGHT = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _theme = require("../../styles/theme/theme.js");
9
+ /**
10
+ * IMPORTS
11
+ */
12
+
13
+ // styles
14
+
15
+ const ROW_HEIGHT = exports.ROW_HEIGHT = 72;
16
+ const styles = exports.styles = _reactNative.StyleSheet.create({
17
+ listContainer: {
18
+ paddingVertical: 8
19
+ },
20
+ row: {
21
+ width: "100%",
22
+ minHeight: ROW_HEIGHT,
23
+ paddingVertical: 8,
24
+ paddingHorizontal: 8,
25
+ flexDirection: "row",
26
+ alignItems: "center",
27
+ justifyContent: "center",
28
+ gap: 6
29
+ },
30
+ badge: {
31
+ width: 28,
32
+ height: 28,
33
+ borderRadius: 14,
34
+ backgroundColor: _theme.theme.colors.blue[500],
35
+ alignItems: "center",
36
+ justifyContent: "center"
37
+ },
38
+ card: {
39
+ flex: 1,
40
+ borderRadius: 10
41
+ },
42
+ title: {
43
+ marginBottom: 6
44
+ },
45
+ pill: {
46
+ flexDirection: "row",
47
+ alignItems: "center",
48
+ borderWidth: 1,
49
+ borderRadius: 10,
50
+ paddingHorizontal: 10,
51
+ paddingVertical: 8,
52
+ gap: 4
53
+ },
54
+ pillOk: {
55
+ backgroundColor: "#F3F3F5",
56
+ borderColor: "#C4D4E5"
57
+ },
58
+ pillInvalid: {
59
+ backgroundColor: "#FDE7E7",
60
+ borderColor: _theme.theme.colors.red[900]
61
+ },
62
+ sep: {
63
+ marginHorizontal: 8,
64
+ opacity: 0.5
65
+ },
66
+ actions: {
67
+ flexDirection: "row",
68
+ gap: 8
69
+ },
70
+ iconButton: {
71
+ width: 36,
72
+ height: 36,
73
+ borderRadius: 8,
74
+ backgroundColor: _theme.theme.colors.neutral[25],
75
+ borderWidth: 1,
76
+ borderColor: _theme.theme.colors.neutral[200],
77
+ alignItems: "center",
78
+ justifyContent: "center",
79
+ marginTop: 36
80
+ }
81
+ });
82
+
83
+ /**
84
+ * EXPORTS
85
+ */
86
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_theme","ROW_HEIGHT","exports","styles","StyleSheet","create","listContainer","paddingVertical","row","width","minHeight","paddingHorizontal","flexDirection","alignItems","justifyContent","gap","badge","height","borderRadius","backgroundColor","theme","colors","blue","card","flex","title","marginBottom","pill","borderWidth","pillOk","borderColor","pillInvalid","red","sep","marginHorizontal","opacity","actions","iconButton","neutral","marginTop"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/activity-step/styles.ts"],"mappings":";;;;;;AAIA,IAAAA,YAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAPA;AACA;AACA;;AAIA;;AAGO,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG,EAAE;AAE5B,MAAME,MAAM,GAAAD,OAAA,CAAAC,MAAA,GAAGC,uBAAU,CAACC,MAAM,CAAC;EAC/BC,aAAa,EA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YAAY,EAAE,CAAC;IACfC,eAAe,EAAEC,YAAK,CAACC,MAAM,CAACiB,OAAO,CAAC,EAAE,CAAC;IACzCV,WAAW,EAAE,CAAC;IACdE,WAAW,EAAEV,YAAK,CAACC,MAAM,CAACiB,OAAO,CAAC,GAAG,CAAC;IACtCzB,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxByB,SAAS,EAAE;EACb;AACF,CAAC,CAAC;;AAEF;AACA;AACA","ignoreList":[]}
@@ -14,8 +14,8 @@ var _index3 = require("../../common/icons-svg/index.js");
14
14
  var _jsxRuntime = require("react/jsx-runtime");
15
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
17
- /**
18
- * IMPORTS
17
+ /**
18
+ * IMPORTS
19
19
  */
20
20
 
21
21
  // components
@@ -29,6 +29,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
29
29
  const CardScheduledJourney = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
30
30
  const {
31
31
  title,
32
+ subTitle,
32
33
  duracao,
33
34
  color = {},
34
35
  backgroundColor,
@@ -105,13 +106,14 @@ const CardScheduledJourney = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
105
106
  lineHeight: _theme.theme.fontSizes.lg,
106
107
  letterSpacing: "regular"
107
108
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.default, {
108
- text: `Duração: ${duracao}`,
109
+ text: `${subTitle ?? "Duração"}: ${duracao}`,
109
110
  size: _theme.theme.fontSizes.xs,
110
111
  fontWeight: "300",
111
112
  fontFamily: _theme.theme.fonts.inter_light_300,
112
113
  color: color.colorText ?? _theme.theme.colors.black[25],
113
114
  lineHeight: _theme.theme.fontSizes.lg,
114
- letterSpacing: "regular"
115
+ letterSpacing: "regular",
116
+ marginTop: 4
115
117
  })]
116
118
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
117
119
  width: 12,
@@ -128,8 +130,8 @@ const CardScheduledJourney = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
128
130
  });
129
131
  });
130
132
 
131
- /**
132
- * Componente CardScheduledJourney para a interação da ui.
133
+ /**
134
+ * Componente CardScheduledJourney para a interação da ui.
133
135
  */
134
136
  var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(CardScheduledJourney);
135
137
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_asBaseComponent","_theme","_index3","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CardScheduledJourney","forwardRef","props","ref","title","duracao","color","backgroundColor","borderStyled","paddingStyle","marginStyle","flexStyle","style","width","widthChildren","icon","borderRight","widthScreen","Dimensions","isMobile","jsx","height","theme","colors","neutral","borderWidth","borderWidths","thin","borderRadius","thin_bold","borderColor","gray","children","jsxs","flexDirection","justifyContent","alignItems","thick","paddingLeft","Icons","size","fontSizes","marginTop","text","sm","fontFamily","fonts","inter_bold_700","fontWeight","colorText","black","lineHeight","lg","letterSpacing","xs","inter_light_300","green","borderTopRightRadius","borderBottomRightRadius","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/card-scheduled-journey/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,u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WAAW,EAAEH,YAAK,CAACI,YAAY,CAACC,IAAI;UACpC8B,oBAAoB,EAAEnC,YAAK,CAACI,YAAY,CAACW,KAAK;UAC9CqB,uBAAuB,EAAEpC,YAAK,CAACI,YAAY,CAACW,KAAK;UACjDP,WAAW,EAAEd,WAAW,IAAIM,YAAK,CAACC,MAAM,CAACiC,KAAK,CAAC,GAAG;QACpD;MAAE,CACH,CAAC;IAAA,CACC;EAAC,CACH,CAAC;AAEV,CACF,CAAC;;AAED;AACA;AACA;AAFA,IAAAG,QAAA,GAAAC,OAAA,CAAA7E,OAAA,GAGe,IAAA8E,gCAAe,EAAC7D,oBAAoB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_interopRequireDefault","_index2","_asBaseComponent","_theme","_index3","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CardScheduledJourney","forwardRef","props","ref","title","subTitle","duracao","color","backgroundColor","borderStyled","paddingStyle","marginStyle","flexStyle","style","width","widthChildren","icon","borderRight","widthScreen","Dimensions","isMobile","jsx","height","theme","colors","neutral","borderWidth","borderWidths","thin","borderRadius","thin_bold","borderColor","gray","children","jsxs","flexDirection","justifyContent","alignItems","thick","paddingLeft","Icons","size","fontSizes","marginTop","text","sm","fontFamily","fonts","inter_bold_700","fontWeight","colorText","black","lineHeight","lg","letterSpacing","xs","inter_light_300","green","borderTopRightRadius","borderBottomRightRadius","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/card-scheduled-journey/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AAGA,IAAAK,gBAAA,GAAAL,O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uBAAuB,EAAEpC,YAAK,CAACI,YAAY,CAACW,KAAK;UACjDP,WAAW,EAAEd,WAAW,IAAIM,YAAK,CAACC,MAAM,CAACiC,KAAK,CAAC,GAAG;QACpD;MAAE,CACH,CAAC;IAAA,CACC;EAAC,CACH,CAAC;AAEV,CACF,CAAC;;AAED;AACA;AACA;AAFA,IAAAG,QAAA,GAAAC,OAAA,CAAA9E,OAAA,GAGe,IAAA+E,gCAAe,EAAC9D,oBAAoB,CAAC","ignoreList":[]}
@@ -24,7 +24,8 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
24
24
  const CoilRemovalCode = ({
25
25
  code,
26
26
  width,
27
- height
27
+ height,
28
+ backgroundColor
28
29
  }) => {
29
30
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.default, {
30
31
  width: width ?? "100%",
@@ -35,7 +36,7 @@ const CoilRemovalCode = ({
35
36
  borderColor: _theme.theme.colors.orange[150],
36
37
  borderStyle: "dotted"
37
38
  },
38
- backgroundColor: _theme.theme.colors.gray[300],
39
+ backgroundColor: backgroundColor ?? _theme.theme.colors.gray[300],
39
40
  flexStyle: {
40
41
  justifyContent: "center",
41
42
  alignItems: "center"
@@ -46,7 +47,7 @@ const CoilRemovalCode = ({
46
47
  fontFamily: _theme.theme.fonts.inter_medium_500,
47
48
  fontWeight: "500",
48
49
  size: _theme.theme.fontSizes["5xl"],
49
- lineHeight: _theme.theme.lineHeight["5xl"]
50
+ lineHeight: _theme.theme.lineHeight["6xl"]
50
51
  })
51
52
  });
52
53
  };
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_index","_index2","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","CoilRemovalCode","code","width","height","jsx","borderStyled","borderWidth","theme","borderWidths","thin_medium","borderRadius","thick_medium","borderColor","colors","orange","borderStyle","backgroundColor","gray","flexStyle","justifyContent","alignItems","children","text","color","fontFamily","fonts","inter_medium_500","fontWeight","size","fontSizes","lineHeight","exports","display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GAAG,CAAE;MAChCU,UAAU,EAAEjB,YAAK,CAACkB,KAAK,CAACC,gBAAiB;MACzCC,UAAU,EAAC,KAAK;MAChBC,IAAI,EAAErB,YAAK,CAACsB,SAAS,CAAC,KAAK,CAAE;MAC7BC,UAAU,EAAEvB,YAAK,CAACuB,UAAU,CAAC,KAAK;IAAE,CACrC;EAAC,CACC,CAAC;AAEV,CAAC;AAACC,OAAA,CAAA/B,eAAA,GAAAA,eAAA;AACFA,eAAe,CAACgC,WAAW,GAAG,iBAAiB;;AAE/C;AACA;AACA;AAFA,IAAAC,QAAA,GAAAF,OAAA,CAAAhC,OAAA,GAGe,IAAAmC,gCAAe,EAAClC,eAAe,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_index","_index2","_asBaseComponent","_theme","_jsxRuntime","e","__esModule","default","CoilRemovalCode","code","width","height","backgroundColor","jsx","borderStyled","borderWidth","theme","borderWidths","thin_medium","borderRadius","thick_medium","borderColor","colors","orange","borderStyle","gray","flexStyle","justifyContent","alignItems","children","text","color","fontFamily","fonts","inter_medium_500","fontWeight","size","fontSizes","lineHeight","exports","displayName","_default","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/coil-removel-code/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AAIA,IAAAG,gBAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAGA;;AAIA;;AAIA;;AAGO,MAAMG,eAAgD,GAAGA,CAAC;EAC/DC,IAAI;EACJC,K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", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _datetimepicker = _interopRequireDefault(require("@react-native-community/datetimepicker"));
10
+ var _index = require("../../../common/icons-svg/index.js");
11
+ var _asBaseComponent = require("../../../@types/as-base-component.js");
12
+ var _styles = require("./styles.js");
13
+ var _theme = require("../../../styles/theme/theme.js");
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
17
+ /**
18
+ * IMPORTS
19
+ */
20
+
21
+ // commons / svg
22
+
23
+ // typings
24
+
25
+ // styles
26
+
27
+ /** formatadores no mesmo estilo simples dos seus componentes */function fmtDate(d) {
28
+ const dd = String(d.getDate()).padStart(2, "0");
29
+ const mm = String(d.getMonth() + 1).padStart(2, "0");
30
+ const yyyy = d.getFullYear();
31
+ return `${dd}/${mm}/${yyyy}`;
32
+ }
33
+ function fmtTime(d) {
34
+ const hh = String(d.getHours()).padStart(2, "0");
35
+ const mi = String(d.getMinutes()).padStart(2, "0");
36
+ return `${hh}:${mi}`;
37
+ }
38
+ const InputDateTime = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
39
+ const {
40
+ mode,
41
+ titleLabel,
42
+ sizeTitleLabel,
43
+ colortitleLabel,
44
+ backgroundColor,
45
+ value,
46
+ onChange,
47
+ placeholder = mode === "date" ? "Selecione uma data" : "Selecione um horário",
48
+ minimumDate,
49
+ maximumDate,
50
+ disabled,
51
+ formatDate,
52
+ formatTime,
53
+ testID
54
+ } = props;
55
+
56
+ // estado interno quando o componente não é controlado
57
+ const [inner, setInner] = (0, _react.useState)(value ?? new Date());
58
+ const [visible, setVisible] = (0, _react.useState)(false);
59
+ const current = value ?? inner;
60
+ const human = (0, _react.useMemo)(() => {
61
+ if (!current) return "";
62
+ return mode === "date" ? (formatDate ?? fmtDate)(current) : (formatTime ?? fmtTime)(current);
63
+ }, [current, mode, formatDate, formatTime]);
64
+ const styleProps = {
65
+ ...props,
66
+ titleLabel,
67
+ sizeTitleLabel,
68
+ colortitleLabel,
69
+ backgroundColor
70
+ };
71
+ function commit(next) {
72
+ if (!value) setInner(next);
73
+ onChange?.(next);
74
+ setVisible(false);
75
+ }
76
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
77
+ ref: ref,
78
+ style: (0, _styles.styles)(styleProps).container,
79
+ children: [titleLabel ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
80
+ style: (0, _styles.styles)(styleProps).label,
81
+ children: titleLabel
82
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
83
+ testID: testID ?? "input-date-time",
84
+ style: (0, _styles.styles)(styleProps).selectBox,
85
+ onPress: () => !disabled && setVisible(true),
86
+ disabled: disabled,
87
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Icons, {
88
+ size: _theme.theme.fontSizes["md"],
89
+ color: _theme.theme.colors.blue[500],
90
+ icon: mode === "date" ? "CALENDAR" : "CALENDAR",
91
+ style: (0, _styles.styles)(styleProps).iconStandard
92
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
93
+ style: human ? (0, _styles.styles)(styleProps).selectedText : (0, _styles.styles)(styleProps).placeholderText,
94
+ children: human || placeholder
95
+ })]
96
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
97
+ testID: "modal-container",
98
+ visible: visible,
99
+ transparent: true,
100
+ animationType: "fade",
101
+ onRequestClose: () => setVisible(false),
102
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
103
+ style: (0, _styles.styles)(styleProps).modalOverlay,
104
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
105
+ style: (0, _styles.styles)(styleProps).modalContainer,
106
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
107
+ style: {
108
+ width: "100%",
109
+ alignItems: "flex-end"
110
+ },
111
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
112
+ testID: "close-icon",
113
+ onPress: () => setVisible(false),
114
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Icons, {
115
+ size: _theme.theme.fontSizes["md"],
116
+ color: _theme.theme.colors.blue[500],
117
+ icon: "CLOSED"
118
+ })
119
+ })
120
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_datetimepicker.default, {
121
+ value: current ?? new Date(),
122
+ mode: mode,
123
+ display: "default",
124
+ onChange: (_e, selected) => {
125
+ if (selected) commit(selected);else setVisible(false);
126
+ },
127
+ minimumDate: minimumDate,
128
+ maximumDate: maximumDate
129
+ })]
130
+ })
131
+ })
132
+ })]
133
+ });
134
+ });
135
+ var _default = exports.default = (0, _asBaseComponent.asBaseComponent)(InputDateTime);
136
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_datetimepicker","_interopRequireDefault","_index","_asBaseComponent","_styles","_theme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","fmtDate","d","dd","String","getDate","padStart","mm","getMonth","yyyy","getFullYear","fmtTime","hh","getHours","mi","getMinutes","InputDateTime","forwardRef","props","ref","mode","titleLabel","sizeTitleLabel","colortitleLabel","backgroundColor","value","onChange","placeholder","minimumDate","maximumDate","disabled","formatDate","formatTime","testID","inner","setInner","useState","Date","visible","setVisible","current","human","useMemo","styleProps","commit","next","jsxs","View","style","styles","container","children","jsx","Text","label","TouchableOpacity","selectBox","onPress","Icons","size","theme","fontSizes","color","colors","blue","icon","iconStandard","selectedText","placeholderText","Modal","transparent","animationType","onRequestClose","modalOverlay","modalContainer","width","alignItems","display","_e","selected","_default","exports","asBaseComponent"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/inputs/input-date-time/index.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAC,sBAAA,CAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAGA,IAAAK,gBAAA,GAAAL,OAAA;AAIA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAAoD,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAG,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAd,uBAAA,YAAAA,CAAAU,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI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AC,CAAE;YAC7BjB,IAAI,EAAEA,IAAK;YACXyD,OAAO,EAAC,SAAS;YACjBnD,QAAQ,EAAEA,CAACoD,EAAO,EAAEC,QAAe,KAAK;cACtC,IAAIA,QAAQ,EAAEnC,MAAM,CAACmC,QAAQ,CAAC,CAAC,KAC1BxC,UAAU,CAAC,KAAK,CAAC;YACxB,CAAE;YACFX,WAAW,EAAEA,WAAY;YACzBC,WAAW,EAAEA;UAAY,CAC1B,CAAC;QAAA,CACE;MAAC,CACH;IAAC,CACF,CAAC;EAAA,CACJ,CAAC;AAEX,CAAC,CAAC;AAAC,IAAAmD,QAAA,GAAAC,OAAA,CAAAjG,OAAA,GAEY,IAAAkG,gCAAe,EAAClE,aAAa,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/inputs/input-date-time/interface.d.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.styles = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _theme = require("../../../styles/theme/theme.js");
9
+ const styles = props => _reactNative.StyleSheet.create({
10
+ container: {
11
+ width: "100%",
12
+ marginBottom: 16,
13
+ opacity: props.disabled ? 0.6 : 1
14
+ },
15
+ label: {
16
+ fontSize: props.sizeTitleLabel ?? 16,
17
+ fontWeight: "bold",
18
+ color: props.colortitleLabel ?? _theme.theme.colors.black[100],
19
+ marginBottom: 5
20
+ },
21
+ selectBox: {
22
+ flexDirection: "row",
23
+ alignItems: "center",
24
+ justifyContent: "center",
25
+ width: "100%",
26
+ height: 45,
27
+ borderWidth: 1,
28
+ borderColor: _theme.theme.colors.gray[700],
29
+ borderRadius: 10,
30
+ backgroundColor: props.backgroundColor ?? _theme.theme.colors.neutral[25],
31
+ paddingHorizontal: 10,
32
+ position: "relative"
33
+ },
34
+ selectedText: {
35
+ flex: 1,
36
+ fontSize: 14,
37
+ textAlign: "center",
38
+ color: _theme.theme.colors.gray[700]
39
+ },
40
+ placeholderText: {
41
+ flex: 1,
42
+ textAlign: "center",
43
+ fontSize: 14,
44
+ color: _theme.theme.colors.gray[700]
45
+ },
46
+ modalOverlay: {
47
+ flex: 1,
48
+ backgroundColor: "rgba(0,0,0,0.5)",
49
+ justifyContent: "center",
50
+ alignItems: "center",
51
+ padding: 24
52
+ },
53
+ modalContainer: {
54
+ width: "100%",
55
+ backgroundColor: _theme.theme.colors.neutral[25],
56
+ borderRadius: 10,
57
+ padding: 15,
58
+ alignItems: "center"
59
+ },
60
+ iconStandard: {
61
+ position: "absolute",
62
+ left: 10
63
+ }
64
+ });
65
+ exports.styles = styles;
66
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_theme","styles","props","StyleSheet","create","container","width","marginBottom","opacity","disabled","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","position","selectedText","flex","textAlign","placeholderText","modalOverlay","padding","modalContainer","iconStandard","left","exports"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/inputs/input-date-time/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAGA,MAAME,MAAM,GAAIC,KAA0B,IACxCC,uBAAU,CAACC,MAAM,CAAC;EAChBC,SAAS,EAAE;IACTC,KAAK,EAAE,MAAM;IACbC,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAEN,KAAK,CAACO,QAAQ,GAAG,GAAG,GAAG;EAClC,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAET,KAAK,CAACU,cAAc,IAAI,EAAE;IACpCC,UAA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,EAAE;EACd,CAAC;EACDkB,YAAY,EAAE;IACZR,QAAQ,EAAE,UAAU;IACpBS,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAACC,OAAA,CAAAxC,MAAA,GAAAA,MAAA","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getIconKeyByValue = void 0;
7
+ var _index = require("../../../common/icons-svg/constants/index.js");
8
+ /**
9
+ * IMPORTS
10
+ */
11
+
12
+ /**
13
+ * Função que mapeará os ícones correspondentes em SVG 🛠️.
14
+ * @param propertyType
15
+ * @returns SVG
16
+ */
17
+ const getIconKeyByValue = propertyType => {
18
+ return Object.keys(_index.SVG_NAME).find(key => _index.SVG_NAME[key] === propertyType);
19
+ };
20
+
21
+ /**
22
+ * EXPORTS
23
+ */
24
+ exports.getIconKeyByValue = getIconKeyByValue;
25
+ //# sourceMappingURL=get-icon-by-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","getIconKeyByValue","propertyType","Object","keys","SVG_NAME","find","key","exports"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["components/list-devices/helpers/get-icon-by-status.tsx"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA,MAAMC,iBAAiB,GAAIC,YAAoB,IAAwC;EACrF,OAAQC,MAAM,CAACC,IAAI,CAACC,eAAQ,CAAC,CAAkCC,IAAI,CAChEC,GAAG,IAAKF,eAAQ,CAACE,GAAG,CAAC,KAAKL,YAC7B,CAAC;AACH,CAAC;;AAED;AACA;AACA;AAFAM,OAAA,CAAAP,iBAAA,GAAAA,iBAAA","ignoreList":[]}