jornada-ui 0.4.14 → 0.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/lib/commonjs/common/icons-svg/constants/index.js +2 -1
  2. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/download/index.js +53 -0
  4. package/lib/commonjs/common/icons-svg/download/index.js.map +1 -0
  5. package/lib/commonjs/common/icons-svg/index.js +7 -0
  6. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  7. package/lib/commonjs/components/activities-progress/index.js +10 -10
  8. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  9. package/lib/commonjs/components/card-work-session/index.js +50 -17
  10. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  11. package/lib/commonjs/components/inputs/input-date-time/index.js +11 -9
  12. package/lib/commonjs/components/inputs/input-date-time/index.js.map +1 -1
  13. package/lib/commonjs/components/inputs/input-date-time/styles.js +6 -3
  14. package/lib/commonjs/components/inputs/input-date-time/styles.js.map +1 -1
  15. package/lib/commonjs/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.js +71 -65
  16. package/lib/commonjs/components/modals/modal-edite-journey-rectification/index.js.map +1 -0
  17. package/lib/commonjs/components/modals/modal-edite-journey-rectification/interface.d.js.map +1 -0
  18. package/lib/commonjs/components/notification-card/index.js +142 -0
  19. package/lib/commonjs/components/notification-card/index.js.map +1 -0
  20. package/lib/commonjs/components/notification-card/interface.js +6 -0
  21. package/lib/commonjs/components/notification-card/interface.js.map +1 -0
  22. package/lib/commonjs/components/notification-details-card/index.js +181 -0
  23. package/lib/commonjs/components/notification-details-card/index.js.map +1 -0
  24. package/lib/commonjs/components/notification-details-card/interface.js +6 -0
  25. package/lib/commonjs/components/notification-details-card/interface.js.map +1 -0
  26. package/lib/commonjs/components/user-journey-work-card/index.js +44 -4
  27. package/lib/commonjs/components/user-journey-work-card/index.js.map +1 -1
  28. package/lib/commonjs/index.js +19 -5
  29. package/lib/commonjs/index.js.map +1 -1
  30. package/lib/commonjs/stories/button/button.stories.js +0 -2
  31. package/lib/commonjs/stories/button/button.stories.js.map +1 -1
  32. package/lib/commonjs/stories/capture-photo/capture-photo.stories.js +0 -1
  33. package/lib/commonjs/stories/capture-photo/capture-photo.stories.js.map +1 -1
  34. package/lib/commonjs/stories/card-work-session/card-work-session.stories.js +62 -9
  35. package/lib/commonjs/stories/card-work-session/card-work-session.stories.js.map +1 -1
  36. package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js +3 -3
  37. package/lib/commonjs/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -1
  38. package/lib/commonjs/stories/notification-card/notification-card.stories.js +100 -0
  39. package/lib/commonjs/stories/notification-card/notification-card.stories.js.map +1 -0
  40. package/lib/commonjs/stories/notification-details-card/notification-details-card.stories.js +112 -0
  41. package/lib/commonjs/stories/notification-details-card/notification-details-card.stories.js.map +1 -0
  42. package/lib/commonjs/stories/user-journey-work-card/user-journey-work-card.stories.js +12 -4
  43. package/lib/commonjs/stories/user-journey-work-card/user-journey-work-card.stories.js.map +1 -1
  44. package/lib/commonjs/styles/theme/theme.js +2 -1
  45. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  46. package/lib/module/common/icons-svg/constants/index.js +2 -1
  47. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  48. package/lib/module/common/icons-svg/download/index.js +47 -0
  49. package/lib/module/common/icons-svg/download/index.js.map +1 -0
  50. package/lib/module/common/icons-svg/index.js +7 -0
  51. package/lib/module/common/icons-svg/index.js.map +1 -1
  52. package/lib/module/components/activities-progress/index.js +10 -10
  53. package/lib/module/components/activities-progress/index.js.map +1 -1
  54. package/lib/module/components/card-work-session/index.js +50 -17
  55. package/lib/module/components/card-work-session/index.js.map +1 -1
  56. package/lib/module/components/inputs/input-date-time/index.js +11 -9
  57. package/lib/module/components/inputs/input-date-time/index.js.map +1 -1
  58. package/lib/module/components/inputs/input-date-time/styles.js +6 -3
  59. package/lib/module/components/inputs/input-date-time/styles.js.map +1 -1
  60. package/lib/module/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.js +69 -63
  61. package/lib/module/components/modals/modal-edite-journey-rectification/index.js.map +1 -0
  62. package/lib/module/components/modals/modal-edite-journey-rectification/interface.d.js.map +1 -0
  63. package/lib/module/components/notification-card/index.js +135 -0
  64. package/lib/module/components/notification-card/index.js.map +1 -0
  65. package/lib/module/components/notification-card/interface.js +4 -0
  66. package/lib/module/components/notification-card/interface.js.map +1 -0
  67. package/lib/module/components/notification-details-card/index.js +183 -0
  68. package/lib/module/components/notification-details-card/index.js.map +1 -0
  69. package/lib/module/components/notification-details-card/interface.js +4 -0
  70. package/lib/module/components/notification-details-card/interface.js.map +1 -0
  71. package/lib/module/components/user-journey-work-card/index.js +44 -4
  72. package/lib/module/components/user-journey-work-card/index.js.map +1 -1
  73. package/lib/module/index.js +3 -1
  74. package/lib/module/index.js.map +1 -1
  75. package/lib/module/stories/button/button.stories.js +0 -1
  76. package/lib/module/stories/button/button.stories.js.map +1 -1
  77. package/lib/module/stories/capture-photo/capture-photo.stories.js +0 -1
  78. package/lib/module/stories/capture-photo/capture-photo.stories.js.map +1 -1
  79. package/lib/module/stories/card-work-session/card-work-session.stories.js +62 -9
  80. package/lib/module/stories/card-work-session/card-work-session.stories.js.map +1 -1
  81. package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js +3 -3
  82. package/lib/module/stories/modal-journey-rectification/modal-journey-rectification.stories.js.map +1 -1
  83. package/lib/module/stories/notification-card/notification-card.stories.js +95 -0
  84. package/lib/module/stories/notification-card/notification-card.stories.js.map +1 -0
  85. package/lib/module/stories/notification-details-card/notification-details-card.stories.js +107 -0
  86. package/lib/module/stories/notification-details-card/notification-details-card.stories.js.map +1 -0
  87. package/lib/module/stories/user-journey-work-card/user-journey-work-card.stories.js +12 -4
  88. package/lib/module/stories/user-journey-work-card/user-journey-work-card.stories.js.map +1 -1
  89. package/lib/module/styles/theme/theme.js +2 -1
  90. package/lib/module/styles/theme/theme.js.map +1 -1
  91. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts +1 -0
  92. package/lib/typescript/commonjs/src/common/icons-svg/constants/index.d.ts.map +1 -1
  93. package/lib/typescript/commonjs/src/common/icons-svg/download/index.d.ts +11 -0
  94. package/lib/typescript/commonjs/src/common/icons-svg/download/index.d.ts.map +1 -0
  95. package/lib/typescript/commonjs/src/common/icons-svg/index.d.ts.map +1 -1
  96. package/lib/typescript/commonjs/src/components/card-report/index.d.ts.map +1 -1
  97. package/lib/typescript/commonjs/src/components/card-scheduled-journey/index.d.ts +1 -1
  98. package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts +2 -1
  99. package/lib/typescript/commonjs/src/components/card-work-session/index.d.ts.map +1 -1
  100. package/lib/typescript/commonjs/src/components/inputs/input-date-time/index.d.ts.map +1 -1
  101. package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts +2 -1
  102. package/lib/typescript/commonjs/src/components/inputs/input-date-time/styles.d.ts.map +1 -1
  103. package/lib/typescript/commonjs/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.d.ts +3 -0
  104. package/lib/typescript/commonjs/src/components/modals/modal-edite-journey-rectification/index.d.ts.map +1 -0
  105. package/lib/typescript/commonjs/src/components/notification-card/index.d.ts +11 -0
  106. package/lib/typescript/commonjs/src/components/notification-card/index.d.ts.map +1 -0
  107. package/lib/typescript/commonjs/src/components/notification-card/interface.d.ts +17 -0
  108. package/lib/typescript/commonjs/src/components/notification-card/interface.d.ts.map +1 -0
  109. package/lib/typescript/commonjs/src/components/notification-details-card/index.d.ts +11 -0
  110. package/lib/typescript/commonjs/src/components/notification-details-card/index.d.ts.map +1 -0
  111. package/lib/typescript/commonjs/src/components/notification-details-card/interface.d.ts +15 -0
  112. package/lib/typescript/commonjs/src/components/notification-details-card/interface.d.ts.map +1 -0
  113. package/lib/typescript/commonjs/src/components/selects/select-date-and-hours/index.d.ts +1 -1
  114. package/lib/typescript/commonjs/src/components/travel-history/index.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts +2 -0
  116. package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/src/index.d.ts +3 -1
  118. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +1 -1
  121. package/lib/typescript/commonjs/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/src/stories/notification-card/notification-card.stories.d.ts +14 -0
  123. package/lib/typescript/commonjs/src/stories/notification-card/notification-card.stories.d.ts.map +1 -0
  124. package/lib/typescript/commonjs/src/stories/notification-details-card/notification-details-card.stories.d.ts +16 -0
  125. package/lib/typescript/commonjs/src/stories/notification-details-card/notification-details-card.stories.d.ts.map +1 -0
  126. package/lib/typescript/commonjs/src/stories/user-journey-work-card/user-journey-work-card.stories.d.ts.map +1 -1
  127. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts +1 -0
  128. package/lib/typescript/commonjs/src/styles/global/theme-provider.d.ts.map +1 -1
  129. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts +1 -0
  130. package/lib/typescript/commonjs/src/styles/theme/theme.d.ts.map +1 -1
  131. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts +1 -0
  132. package/lib/typescript/module/src/common/icons-svg/constants/index.d.ts.map +1 -1
  133. package/lib/typescript/module/src/common/icons-svg/download/index.d.ts +11 -0
  134. package/lib/typescript/module/src/common/icons-svg/download/index.d.ts.map +1 -0
  135. package/lib/typescript/module/src/common/icons-svg/index.d.ts.map +1 -1
  136. package/lib/typescript/module/src/components/card-report/index.d.ts.map +1 -1
  137. package/lib/typescript/module/src/components/card-scheduled-journey/index.d.ts +1 -1
  138. package/lib/typescript/module/src/components/card-work-session/index.d.ts +2 -1
  139. package/lib/typescript/module/src/components/card-work-session/index.d.ts.map +1 -1
  140. package/lib/typescript/module/src/components/inputs/input-date-time/index.d.ts.map +1 -1
  141. package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts +2 -1
  142. package/lib/typescript/module/src/components/inputs/input-date-time/styles.d.ts.map +1 -1
  143. package/lib/typescript/module/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.d.ts +3 -0
  144. package/lib/typescript/module/src/components/modals/modal-edite-journey-rectification/index.d.ts.map +1 -0
  145. package/lib/typescript/module/src/components/notification-card/index.d.ts +11 -0
  146. package/lib/typescript/module/src/components/notification-card/index.d.ts.map +1 -0
  147. package/lib/typescript/module/src/components/notification-card/interface.d.ts +17 -0
  148. package/lib/typescript/module/src/components/notification-card/interface.d.ts.map +1 -0
  149. package/lib/typescript/module/src/components/notification-details-card/index.d.ts +11 -0
  150. package/lib/typescript/module/src/components/notification-details-card/index.d.ts.map +1 -0
  151. package/lib/typescript/module/src/components/notification-details-card/interface.d.ts +15 -0
  152. package/lib/typescript/module/src/components/notification-details-card/interface.d.ts.map +1 -0
  153. package/lib/typescript/module/src/components/selects/select-date-and-hours/index.d.ts +1 -1
  154. package/lib/typescript/module/src/components/travel-history/index.d.ts.map +1 -1
  155. package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts +2 -0
  156. package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts.map +1 -1
  157. package/lib/typescript/module/src/index.d.ts +3 -1
  158. package/lib/typescript/module/src/index.d.ts.map +1 -1
  159. package/lib/typescript/module/src/stories/card-work-session/card-work-session.stories.d.ts.map +1 -1
  160. package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts +1 -1
  161. package/lib/typescript/module/src/stories/modal-journey-rectification/modal-journey-rectification.stories.d.ts.map +1 -1
  162. package/lib/typescript/module/src/stories/notification-card/notification-card.stories.d.ts +14 -0
  163. package/lib/typescript/module/src/stories/notification-card/notification-card.stories.d.ts.map +1 -0
  164. package/lib/typescript/module/src/stories/notification-details-card/notification-details-card.stories.d.ts +16 -0
  165. package/lib/typescript/module/src/stories/notification-details-card/notification-details-card.stories.d.ts.map +1 -0
  166. package/lib/typescript/module/src/stories/user-journey-work-card/user-journey-work-card.stories.d.ts.map +1 -1
  167. package/lib/typescript/module/src/styles/global/theme-provider.d.ts +1 -0
  168. package/lib/typescript/module/src/styles/global/theme-provider.d.ts.map +1 -1
  169. package/lib/typescript/module/src/styles/theme/theme.d.ts +1 -0
  170. package/lib/typescript/module/src/styles/theme/theme.d.ts.map +1 -1
  171. package/package.json +1 -1
  172. package/src/common/icons-svg/constants/index.ts +1 -0
  173. package/src/common/icons-svg/download/index.tsx +52 -0
  174. package/src/common/icons-svg/index.tsx +4 -0
  175. package/src/components/activities-progress/index.tsx +172 -172
  176. package/src/components/card-report/interface.d.ts +1 -1
  177. package/src/components/card-work-session/index.tsx +190 -172
  178. package/src/components/card-work-session/interface.d.ts +151 -150
  179. package/src/components/inputs/input-date-time/index.tsx +13 -12
  180. package/src/components/inputs/input-date-time/styles.ts +64 -63
  181. package/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/index.tsx +78 -67
  182. package/src/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/interface.d.ts +10 -10
  183. package/src/components/monthly-summary-table/interface.d.ts +1 -1
  184. package/src/components/notification-card/index.tsx +123 -0
  185. package/src/components/notification-card/interface.ts +18 -0
  186. package/src/components/notification-details-card/index.tsx +180 -0
  187. package/src/components/notification-details-card/interface.ts +16 -0
  188. package/src/components/travel-history/interface.d.ts +1 -1
  189. package/src/components/user-journey-work-card/index.tsx +28 -1
  190. package/src/components/user-journey-work-card/interface.d.ts +149 -145
  191. package/src/index.tsx +3 -1
  192. package/src/stories/button/button.stories.tsx +1 -1
  193. package/src/stories/capture-photo/capture-photo.stories.tsx +1 -1
  194. package/src/stories/card-work-session/card-work-session.stories.tsx +106 -53
  195. package/src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx +60 -60
  196. package/src/stories/notification-card/notification-card.stories.tsx +93 -0
  197. package/src/stories/notification-details-card/notification-details-card.stories.tsx +109 -0
  198. package/src/stories/user-journey-work-card/user-journey-work-card.stories.tsx +71 -63
  199. package/src/styles/theme/theme.ts +1 -0
  200. package/lib/commonjs/components/modals/modal-journey-rectification/index.js.map +0 -1
  201. package/lib/commonjs/components/modals/modal-journey-rectification/interface.d.js.map +0 -1
  202. package/lib/module/components/modals/modal-journey-rectification/index.js.map +0 -1
  203. package/lib/module/components/modals/modal-journey-rectification/interface.d.js.map +0 -1
  204. package/lib/typescript/commonjs/src/components/modals/modal-journey-rectification/index.d.ts.map +0 -1
  205. package/lib/typescript/module/src/components/modals/modal-journey-rectification/index.d.ts.map +0 -1
  206. /package/lib/commonjs/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/interface.d.js +0 -0
  207. /package/lib/module/components/modals/{modal-journey-rectification → modal-edite-journey-rectification}/interface.d.js +0 -0
@@ -4,7 +4,7 @@
4
4
  import React from "react";
5
5
  declare const _default: React.ComponentType<import("react-native").TouchableOpacityProps & {
6
6
  value: any;
7
- icon: "CAMERA_PLUS" | "STEERING_WHEEL" | "CHECK_BOX_FILL" | "CHECK_BOX_OUTLINE" | "MOON_STARS" | "CALL_BELL" | "STEERING_WHEEL_FILL" | "TROPHY" | "SHOPPING_CART" | "CREDIT_CARD" | "FILE_TEXT" | "TRUCK" | "PACKAGE_CHECK" | "PLUS" | "PLUS_CONTAINER" | "EYE_SLASH" | "EYE" | "CALENDAR" | "TIMER" | "GEAR" | "CURRENCY" | "GAUGE" | "GAS_PUMP" | "ARROW_LEFT" | "BLUETOOTH" | "BLUETOOTH_CONNECTED" | "LIST" | "WIFI_X" | "WIFI_HIGH" | "NOTE_PINCEL" | "CHECK_CIRCLE" | "ARROW_DROP_DOWN" | "ARROW_CHEVRON_UP" | "ARROW_CHEVRON_DOWN" | "CLOSED" | "LOADING" | "COIL" | "HISTORY" | "BELL" | "BED" | "FILES" | "LIFEBUOY" | "RECUSED" | "EXCLAMATION_CIRCLE" | "EXCLAMATION_TRIANGLE" | "X_CIRCLE" | "TRUCK_ACTIVITY" | "COFFEE" | "CAR" | "CHECK_OUTLINE" | "HOURGLASS" | "HOUSE" | "ISLAND" | "CHEVRON_DOWN" | "CHEVRON_UP" | "TRASH";
7
+ icon: "CAMERA_PLUS" | "STEERING_WHEEL" | "CHECK_BOX_FILL" | "CHECK_BOX_OUTLINE" | "MOON_STARS" | "CALL_BELL" | "STEERING_WHEEL_FILL" | "TROPHY" | "SHOPPING_CART" | "CREDIT_CARD" | "FILE_TEXT" | "TRUCK" | "PACKAGE_CHECK" | "PLUS" | "PLUS_CONTAINER" | "EYE_SLASH" | "EYE" | "CALENDAR" | "TIMER" | "GEAR" | "CURRENCY" | "GAUGE" | "GAS_PUMP" | "ARROW_LEFT" | "BLUETOOTH" | "BLUETOOTH_CONNECTED" | "LIST" | "WIFI_X" | "WIFI_HIGH" | "NOTE_PINCEL" | "CHECK_CIRCLE" | "ARROW_DROP_DOWN" | "ARROW_CHEVRON_UP" | "ARROW_CHEVRON_DOWN" | "CLOSED" | "LOADING" | "COIL" | "HISTORY" | "BELL" | "BED" | "FILES" | "LIFEBUOY" | "RECUSED" | "EXCLAMATION_CIRCLE" | "EXCLAMATION_TRIANGLE" | "X_CIRCLE" | "TRUCK_ACTIVITY" | "COFFEE" | "CAR" | "CHECK_OUTLINE" | "HOURGLASS" | "HOUSE" | "ISLAND" | "CHEVRON_DOWN" | "CHEVRON_UP" | "TRASH" | "DOWNLOAD";
8
8
  disabled?: boolean;
9
9
  textColor?: string;
10
10
  onPressConfirm: (value: any) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/travel-history/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,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AAjB;;;;;;;gBA+BmD,CAAC;iBACnC,CAApB;qBAA2B,CAAC;qBAA2B,CAAC;;;;AAoK1D,wBAA8C"}
@@ -10,8 +10,10 @@ declare const _default: React.ComponentType<import("react-native").ViewProps & {
10
10
  workDate: string;
11
11
  initialTime?: string;
12
12
  duration?: string;
13
+ counterBadge?: number;
13
14
  avatar: string;
14
15
  handleNavigation: () => void;
16
+ handleNavigationNotification: () => void;
15
17
  children?: React.ReactNode;
16
18
  testID?: string;
17
19
  borderStyled?: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/user-journey-work-card/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AA2L1C;;GAEG;;;;;;;;;;;mBA3JK,CAAA;oBACA,CAAD;4BAC4B,CAAC;2BACH,CAAC;+BAEtB,CAAC;8BACL,CAAR;mBAC4B,CAAC;uBAGH,CAAA;wBAEV,CAAC;sBAEL,CAAL;yBACK,CAAA;mBAGF,CAAT;yBAAgC,CAAC;uBACtB,CAAH;wBACY,CAAC;sBAEN,CAAd;;;kBAK8C,CAAC;iBAI9B,CAAC;YACgB,CAAC;qBAErB,CAAhB;gBACwC,CAAC;iBAEvB,CAAV;sBACqB,CAAC;;;cAWZ,CAAD;kBACC,CAAF;mBACA,CAAX;iBAEO,CAAL;oBAEwB,CAAC;;;eAOc,CAAC;mBAE/B,CAAf;oBAA4C,CAAC;kBAE5B,CAAC;qBAEH,CAAT;;;;;;;gBAuCS,CAAf;iBAAwB,CAAC;qBACV,CAAD;qBACC,CAAd;;;AA+CF,wBAAoD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/user-journey-work-card/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAsN1C;;GAEG;;;;;;;;;;;;;mBAtLO,CAAC;oBAEU,CAAC;4BACH,CAAC;2BAC0B,CAAC;+BACA,CAAC;8BAExB,CAAC;mBACjB,CAAP;uBAC6B,CAAC;wBAGJ,CAAC;sBAEb,CAAC;yBAEJ,CAAJ;mBACI,CAAL;yBACG,CAAL;uBAEM,CAAC;wBAA8B,CAAC;sBAC5B,CAAC;;;kBAOF,CAAV;iBAEQ,CAAT;YAGoC,CAAC;qBAC5B,CAAF;gBAEM,CAAb;iBACuB,CAAC;sBAET,CAAN;;;cAUiC,CAAC;kBACR,CAAC;mBACnB,CAAC;iBACH,CAAA;oBACF,CAAT;;;eAS6C,CAAC;mBACd,CAAC;oBACC,CAAC;kBACP,CAAC;qBACE,CAAC;;;;;;;gBAgCvB,CAAA;iBACE,CAAH;qBACK,CAAb;qBAA4B,CAAA;;;AAmFnC,wBAAoD"}
@@ -41,10 +41,12 @@ export { default as ResumeRaking } from "./components/resume-raking";
41
41
  export { default as ListSupplies } from "./components/list-supplies";
42
42
  export { default as ListDevices } from "./components/list-devices";
43
43
  export { default as ModalActivityReason } from "./components/modals/modal-activity-reason";
44
- export { default as ModalJourneyRectification } from "./components/modals/modal-journey-rectification";
44
+ export { default as ModalJourneyRectification } from "./components/modals/modal-edite-journey-rectification";
45
45
  export { default as ModalCreteActivitie } from "./components/modals/modal-create-activitie";
46
46
  export { default as ModalToConfirmations } from "./components/modals/modal-to-confimations";
47
47
  export { default as ActivityTimeline } from "./components/activity-step";
48
+ export { default as NotificationCard } from "./components/notification-card";
49
+ export { default as NotificationDetailCard } from "./components/notification-details-card";
48
50
  export { default as WeeklyHoursBalance } from "./components/weekly-hours-balance";
49
51
  export { formatDate } from "./utils/format-date";
50
52
  export { theme } from "./styles/theme/theme";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,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session.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,eAAe,MAAM,oCAAoC,CAAC;AAGjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CA4BtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAYjC,CAAC"}
1
+ {"version":3,"file":"card-work-session.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/card-work-session/card-work-session.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,eAAe,MAAM,oCAAoC,CAAC;AAGjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CA+EtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAcjC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * IMPORTS
3
3
  */
4
4
  import type { StoryObj, Meta } from "@storybook/react";
5
- import ModalJourneyRectification from "../../components/modals/modal-journey-rectification";
5
+ import ModalJourneyRectification from "../../components/modals/modal-edite-journey-rectification";
6
6
  declare const meta: Meta<typeof ModalJourneyRectification>;
7
7
  export default meta;
8
8
  type Story = StoryObj<typeof ModalJourneyRectification>;
@@ -1 +1 @@
1
- {"version":3,"file":"modal-journey-rectification.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,yBAAyB,MAAM,qDAAqD,CAAC;AAE5F,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,yBAAyB,CAsChD,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAExD,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
1
+ {"version":3,"file":"modal-journey-rectification.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/modal-journey-rectification/modal-journey-rectification.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,yBAAyB,MAAM,2DAA2D,CAAC;AAElG,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,yBAAyB,CAsChD,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAExD,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import NotificationCard from "../../components/notification-card";
3
+ /**
4
+ * META
5
+ */
6
+ declare const meta: Meta<typeof NotificationCard>;
7
+ export default meta;
8
+ type Story = StoryObj<typeof NotificationCard>;
9
+ /**
10
+ * STORIES
11
+ */
12
+ export declare const NotificationCardSuccess: Story;
13
+ export declare const NotificationCardWarning: Story;
14
+ //# sourceMappingURL=notification-card.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/notification-card/notification-card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,gBAAgB,MAAM,oCAAoC,CAAC;AAKlE;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAkDvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAQrC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import NotificationDetailCard from "../../components/notification-details-card";
3
+ /**
4
+ * META
5
+ */
6
+ declare const meta: Meta<typeof NotificationDetailCard>;
7
+ export default meta;
8
+ type Story = StoryObj<typeof NotificationDetailCard>;
9
+ /**
10
+ * STORIES
11
+ */
12
+ export declare const SomenteTexto: Story;
13
+ export declare const TextoComImagem: Story;
14
+ export declare const TextoComPdf: Story;
15
+ export declare const TextoComCsv: Story;
16
+ //# sourceMappingURL=notification-details-card.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-details-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/notification-details-card/notification-details-card.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,sBAAsB,MAAM,4CAA4C,CAAC;AAKhF;;GAEG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,sBAAsB,CA8C7C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"user-journey-work-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/user-journey-work-card/user-journey-work-card.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAK1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAiC1C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAYjC,CAAC"}
1
+ {"version":3,"file":"user-journey-work-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/stories/user-journey-work-card/user-journey-work-card.stories.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAK1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAsC1C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,mBAAmB,EAAE,KAejC,CAAC"}
@@ -25,6 +25,7 @@ export declare const useTheme: () => {
25
25
  200: string;
26
26
  300: string;
27
27
  400: string;
28
+ 500: string;
28
29
  };
29
30
  black: {
30
31
  10: string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/global/theme-provider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAEjE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC"}
1
+ {"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/global/theme-provider.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAEjE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC"}
@@ -24,6 +24,7 @@ export declare const theme: {
24
24
  200: string;
25
25
  300: string;
26
26
  400: string;
27
+ 500: string;
27
28
  };
28
29
  black: {
29
30
  10: string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;AAgLH;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../src/styles/theme/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiLH;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jornada-ui",
3
- "version": "0.4.14",
3
+ "version": "0.4.16",
4
4
  "description": "Biblioteca para desenvolvimento dos componentes para utilizar nos app",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -59,6 +59,7 @@ const SVG_NAME = {
59
59
  CHEVRON_DOWN: "chevron-down",
60
60
  CHEVRON_UP: "chevron-up,",
61
61
  TRASH: "trash",
62
+ DOWNLOAD: "download",
62
63
  };
63
64
  /**
64
65
  * EXPORTS
@@ -0,0 +1,52 @@
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+
7
+ // typings
8
+ import { type ISvgProps } from "../interface";
9
+
10
+ const SvgIconDownload: React.FC<ISvgProps> = ({ color, size, background }) => (
11
+ <Svg
12
+ // @ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? "40"}
15
+ height={size ?? "40"}
16
+ fill="none"
17
+ viewBox="0 0 40 40"
18
+ >
19
+ {/* Círculo de fundo opcional */}
20
+ {background && (
21
+ <Path
22
+ fill={background}
23
+ stroke={background}
24
+ strokeWidth="1.5"
25
+ d="M20 38c9.941 0 18-8.059 18-18S29.941 2 20 2 2 10.059 2 20s8.059 18 18 18"
26
+ />
27
+ )}
28
+
29
+ {/* Seta para baixo */}
30
+ <Path
31
+ stroke={color ?? "#000"}
32
+ strokeWidth="2"
33
+ strokeLinecap="round"
34
+ strokeLinejoin="round"
35
+ d="M20 10v16M13 19l7 7 7-7"
36
+ />
37
+
38
+ {/* Base de suporte */}
39
+ <Path
40
+ stroke={color ?? "#000"}
41
+ strokeWidth="2"
42
+ strokeLinecap="round"
43
+ strokeLinejoin="round"
44
+ d="M10 28h20"
45
+ />
46
+ </Svg>
47
+ );
48
+
49
+ /**
50
+ * EXPORTS
51
+ */
52
+ export { SvgIconDownload };
@@ -66,6 +66,7 @@ import { SvgIconHourglass } from "./hourglass";
66
66
  import { SvgIconIsland } from "./island";
67
67
  import { SvgIconPlusContainer } from "./plus-container";
68
68
  import { SvgIconPlusTrash } from "./trash";
69
+ import { SvgIconDownload } from "./download";
69
70
 
70
71
  const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
71
72
  switch (icon) {
@@ -213,6 +214,9 @@ const Icons: React.FC<ISvgProps> = ({ icon, color, size, background }) => {
213
214
  case "RECUSED":
214
215
  return <SvgIconRecused color={color} size={size} icon={"RECUSED"} />;
215
216
 
217
+ case "DOWNLOAD":
218
+ return <SvgIconDownload color={color} size={size} icon={"BED"} />;
219
+
216
220
  case "EXCLAMATION_CIRCLE":
217
221
  return (
218
222
  <SvgIconExclamationCircle
@@ -1,172 +1,172 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
-
6
- // components
7
- import Box from "../../components/box";
8
- import Typography from "../../components/typography";
9
-
10
- //commons/ icons
11
- import { Icons } from "../../common/icons-svg";
12
-
13
- // utils
14
- import { getIconByProperty } from "../../utils/get-icon-by-property";
15
-
16
- // typings
17
- import type { IActivitiesProgress } from "./interface";
18
- import { asBaseComponent } from "../../@types/as-base-component";
19
-
20
- // styles
21
- import { theme } from "../../styles/theme/theme";
22
-
23
- const ActivitiesProgress: React.FC<IActivitiesProgress> = ({
24
- data_inicio_horario = "11/05/2025",
25
- duracao = "00:30",
26
- data_inicio = "17:20",
27
- titleLabel = "Descanso",
28
- criado_ofiline = true,
29
- tipo_atividade = "Descanso",
30
- referencia = "repouso_noturno",
31
- }) => {
32
- return (
33
- <Box
34
- width={"100%"}
35
- height={100}
36
- backgroundColor={theme.colors.neutral[25]}
37
- borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}
38
- >
39
- <Box
40
- width={"100%"}
41
- height={30}
42
- backgroundColor={theme.colors.blue[400]}
43
- borderStyled={{
44
- borderTopLeftRadius: theme.borderWidths.thin_bold,
45
- borderTopRightRadius: theme.borderWidths.thin_bold,
46
- borderColor: theme.colors.blue[400],
47
- }}
48
- flexStyle={{
49
- justifyContent: "space-between",
50
- flexDirection: "row",
51
- }}
52
- >
53
- <Box
54
- flexStyle={{
55
- flexDirection: "row",
56
- alignItems: "center",
57
- }}
58
- >
59
- <Typography
60
- text={"Status: "}
61
- color={theme.colors.neutral[25]}
62
- size={theme.fontSizes.sm}
63
- fontFamily={theme.fonts.inter_medium_500}
64
- fontWeight={"500"}
65
- lineHeight={theme.fontSizes.lg}
66
- marginLeft={theme.margins["2xs"]}
67
- />
68
- <Typography
69
- text={titleLabel}
70
- color={
71
- tipo_atividade === "trabalho" ? theme.colors.green[400] : theme.colors.orange[500]
72
- }
73
- size={theme.fontSizes.sm}
74
- fontFamily={theme.fonts.inter_semi_bold_600}
75
- fontWeight={"600"}
76
- lineHeight={theme.fontSizes.lg}
77
- />
78
- </Box>
79
-
80
- <Box
81
- style={{ marginRight: theme.margins["2xs"], marginTop: theme.margins["1xs"] }}
82
- height={20}
83
- width={20}
84
- >
85
- <Icons
86
- icon={"CHECK_OUTLINE"}
87
- color={criado_ofiline ? theme.colors.green[400] : theme.colors.orange[500]}
88
- />
89
- </Box>
90
- </Box>
91
-
92
- <Box
93
- width={"100%"}
94
- flexStyle={{
95
- flexDirection: "row",
96
- justifyContent: "space-between",
97
- }}
98
- paddingStyle={{
99
- padding: theme.paddings["2xs"],
100
- }}
101
- >
102
- <Box height={20} flexStyle={{ flexDirection: "row", alignItems: "center" }}>
103
- {getIconByProperty(referencia)}
104
- <Typography
105
- text={data_inicio}
106
- color={theme.colors.black[25]}
107
- size={theme.fontSizes.xs}
108
- fontFamily={theme.fonts.inter_bold_700}
109
- fontWeight={"700"}
110
- lineHeight={theme.fontSizes.lg}
111
- marginLeft={4}
112
- />
113
- </Box>
114
-
115
- <Box height={50} flexStyle={{ flexDirection: "row", alignItems: "flex-end" }}>
116
- <Box
117
- flexStyle={{ alignItems: "center" }}
118
- marginStyle={{ marginRight: theme.margins["2xs"] }}
119
- >
120
- <Typography
121
- text={data_inicio_horario}
122
- color={theme.colors.blue[500]}
123
- size={theme.fontSizes.sm}
124
- fontFamily={theme.fonts.inter_bold}
125
- fontWeight={"700"}
126
- lineHeight={theme.fontSizes.md}
127
- />
128
- <Typography
129
- text={"INICIO"}
130
- color={theme.colors.gray[600]}
131
- size={theme.fontSizes["2xs"]}
132
- fontFamily={theme.fonts.inter_medium_500}
133
- fontWeight={"500"}
134
- lineHeight={theme.fontSizes.xs}
135
- marginTop={4}
136
- />
137
- </Box>
138
-
139
- <Box
140
- flexStyle={{ alignItems: "center" }}
141
- marginStyle={{ marginRight: theme.margins["2xs"] }}
142
- >
143
- <Typography
144
- text={duracao}
145
- color={theme.colors.blue[500]}
146
- size={theme.fontSizes.sm}
147
- fontFamily={theme.fonts.inter_bold}
148
- fontWeight={"700"}
149
- lineHeight={theme.fontSizes.md}
150
- />
151
- <Typography
152
- text={"DURAÇÃO"}
153
- color={theme.colors.gray[600]}
154
- size={theme.fontSizes["2xs"]}
155
- fontFamily={theme.fonts.inter_medium_500}
156
- fontWeight={"500"}
157
- lineHeight={theme.fontSizes.xs}
158
- marginTop={4}
159
- />
160
- </Box>
161
- </Box>
162
- </Box>
163
- </Box>
164
- );
165
- };
166
-
167
- ActivitiesProgress.displayName = "ActivitiesProgress";
168
-
169
- /**
170
- * Componente Box para a interação da ui.
171
- */
172
- export default asBaseComponent(ActivitiesProgress);
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+
6
+ // components
7
+ import Box from "../../components/box";
8
+ import Typography from "../../components/typography";
9
+
10
+ //commons/ icons
11
+ import { Icons } from "../../common/icons-svg";
12
+
13
+ // utils
14
+ import { getIconByProperty } from "../../utils/get-icon-by-property";
15
+
16
+ // typings
17
+ import type { IActivitiesProgress } from "./interface";
18
+ import { asBaseComponent } from "../../@types/as-base-component";
19
+
20
+ // styles
21
+ import { theme } from "../../styles/theme/theme";
22
+
23
+ const ActivitiesProgress: React.FC<IActivitiesProgress> = ({
24
+ data_inicio_horario = "00/00/0000",
25
+ duracao = "00:00",
26
+ data_inicio = "00:00",
27
+ titleLabel = "Sem Atividade",
28
+ criado_ofiline = true,
29
+ tipo_atividade = "descanso",
30
+ referencia = "descanso",
31
+ }) => {
32
+ return (
33
+ <Box
34
+ width={"100%"}
35
+ height={100}
36
+ backgroundColor={theme.colors.neutral[25]}
37
+ borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}
38
+ >
39
+ <Box
40
+ width={"100%"}
41
+ height={30}
42
+ backgroundColor={theme.colors.blue[400]}
43
+ borderStyled={{
44
+ borderTopLeftRadius: theme.borderWidths.thin_bold,
45
+ borderTopRightRadius: theme.borderWidths.thin_bold,
46
+ borderColor: theme.colors.blue[400],
47
+ }}
48
+ flexStyle={{
49
+ justifyContent: "space-between",
50
+ flexDirection: "row",
51
+ }}
52
+ >
53
+ <Box
54
+ flexStyle={{
55
+ flexDirection: "row",
56
+ alignItems: "center",
57
+ }}
58
+ >
59
+ <Typography
60
+ text={"Status: "}
61
+ color={theme.colors.neutral[25]}
62
+ size={theme.fontSizes.sm}
63
+ fontFamily={theme.fonts.inter_medium_500}
64
+ fontWeight={"500"}
65
+ lineHeight={theme.fontSizes.lg}
66
+ marginLeft={theme.margins["2xs"]}
67
+ />
68
+ <Typography
69
+ text={titleLabel}
70
+ color={
71
+ tipo_atividade === "trabalho" ? theme.colors.green[400] : theme.colors.orange[500]
72
+ }
73
+ size={theme.fontSizes.sm}
74
+ fontFamily={theme.fonts.inter_semi_bold_600}
75
+ fontWeight={"600"}
76
+ lineHeight={theme.fontSizes.lg}
77
+ />
78
+ </Box>
79
+
80
+ <Box
81
+ style={{ marginRight: theme.margins["2xs"], marginTop: theme.margins["1xs"] }}
82
+ height={20}
83
+ width={20}
84
+ >
85
+ <Icons
86
+ icon={"CHECK_OUTLINE"}
87
+ color={criado_ofiline ? theme.colors.green[400] : theme.colors.orange[500]}
88
+ />
89
+ </Box>
90
+ </Box>
91
+
92
+ <Box
93
+ width={"100%"}
94
+ flexStyle={{
95
+ flexDirection: "row",
96
+ justifyContent: "space-between",
97
+ }}
98
+ paddingStyle={{
99
+ padding: theme.paddings["2xs"],
100
+ }}
101
+ >
102
+ <Box height={20} flexStyle={{ flexDirection: "row", alignItems: "center" }}>
103
+ {getIconByProperty(referencia)}
104
+ <Typography
105
+ text={data_inicio}
106
+ color={theme.colors.black[25]}
107
+ size={theme.fontSizes.xs}
108
+ fontFamily={theme.fonts.inter_bold_700}
109
+ fontWeight={"700"}
110
+ lineHeight={theme.fontSizes.lg}
111
+ marginLeft={4}
112
+ />
113
+ </Box>
114
+
115
+ <Box height={50} flexStyle={{ flexDirection: "row", alignItems: "flex-end" }}>
116
+ <Box
117
+ flexStyle={{ alignItems: "center" }}
118
+ marginStyle={{ marginRight: theme.margins["2xs"] }}
119
+ >
120
+ <Typography
121
+ text={data_inicio_horario}
122
+ color={theme.colors.blue[500]}
123
+ size={theme.fontSizes.sm}
124
+ fontFamily={theme.fonts.inter_bold}
125
+ fontWeight={"700"}
126
+ lineHeight={theme.fontSizes.md}
127
+ />
128
+ <Typography
129
+ text={"INICIO"}
130
+ color={theme.colors.gray[600]}
131
+ size={theme.fontSizes["2xs"]}
132
+ fontFamily={theme.fonts.inter_medium_500}
133
+ fontWeight={"500"}
134
+ lineHeight={theme.fontSizes.xs}
135
+ marginTop={4}
136
+ />
137
+ </Box>
138
+
139
+ <Box
140
+ flexStyle={{ alignItems: "center" }}
141
+ marginStyle={{ marginRight: theme.margins["2xs"] }}
142
+ >
143
+ <Typography
144
+ text={duracao}
145
+ color={theme.colors.blue[500]}
146
+ size={theme.fontSizes.sm}
147
+ fontFamily={theme.fonts.inter_bold}
148
+ fontWeight={"700"}
149
+ lineHeight={theme.fontSizes.md}
150
+ />
151
+ <Typography
152
+ text={"DURAÇÃO"}
153
+ color={theme.colors.gray[600]}
154
+ size={theme.fontSizes["2xs"]}
155
+ fontFamily={theme.fonts.inter_medium_500}
156
+ fontWeight={"500"}
157
+ lineHeight={theme.fontSizes.xs}
158
+ marginTop={4}
159
+ />
160
+ </Box>
161
+ </Box>
162
+ </Box>
163
+ </Box>
164
+ );
165
+ };
166
+
167
+ ActivitiesProgress.displayName = "ActivitiesProgress";
168
+
169
+ /**
170
+ * Componente Box para a interação da ui.
171
+ */
172
+ export default asBaseComponent(ActivitiesProgress);
@@ -1,4 +1,4 @@
1
- /* eslint-disable no-undef */
1
+
2
2
  /**
3
3
  * IMPORTS
4
4
  */