react-native-exp-fig 0.1.13 → 0.1.15

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 (216) hide show
  1. package/lib/commonjs/common/icons-svg/agent/index.js +2 -2
  2. package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/bed/index.js +4 -4
  4. package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/car/index.js +4 -4
  6. package/lib/commonjs/common/icons-svg/car/index.js.map +1 -1
  7. package/lib/commonjs/common/icons-svg/check-outline/index.js +6 -6
  8. package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/coffee/index.js +4 -4
  10. package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -1
  11. package/lib/commonjs/common/icons-svg/constants/index.js +4 -4
  12. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  13. package/lib/commonjs/common/icons-svg/index.js +4 -4
  14. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  15. package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
  16. package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
  17. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  18. package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  19. package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
  20. package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
  21. package/lib/commonjs/components/activities-daily/index.js +4 -4
  22. package/lib/commonjs/components/activities-daily/index.js.map +1 -1
  23. package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
  24. package/lib/commonjs/components/activities-progress/index.js +4 -4
  25. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  26. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  27. package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
  28. package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
  29. package/lib/commonjs/components/card-history/index.js +7 -7
  30. package/lib/commonjs/components/card-history/index.js.map +1 -1
  31. package/lib/commonjs/components/card-loading/index.js +7 -7
  32. package/lib/commonjs/components/card-loading/index.js.map +1 -1
  33. package/lib/commonjs/components/card-work-session/index.js +4 -4
  34. package/lib/commonjs/components/card-work-session/index.js.map +1 -1
  35. package/lib/commonjs/components/check-box/index.js +6 -6
  36. package/lib/commonjs/components/check-box/index.js.map +1 -1
  37. package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
  38. package/lib/commonjs/components/coil/index.js +4 -4
  39. package/lib/commonjs/components/coil/index.js.map +1 -1
  40. package/lib/commonjs/components/coil/interface.d.js.map +1 -1
  41. package/lib/commonjs/components/filter-date-selector/index.js +7 -7
  42. package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
  43. package/lib/commonjs/components/history-details/index.js +1 -2
  44. package/lib/commonjs/components/history-details/index.js.map +1 -1
  45. package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
  46. package/lib/commonjs/components/image-capture-with-remove/index.js +7 -7
  47. package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
  48. package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
  49. package/lib/commonjs/components/loading-progress/index.js +12 -9
  50. package/lib/commonjs/components/loading-progress/index.js.map +1 -1
  51. package/lib/commonjs/components/notification-loading/index.js +9 -2
  52. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  53. package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
  54. package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
  55. package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
  56. package/lib/commonjs/components/step-indicator/index.js +6 -6
  57. package/lib/commonjs/components/step-indicator/index.js.map +1 -1
  58. package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
  59. package/lib/commonjs/components/step-indicator/styles.js +9 -8
  60. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  61. package/lib/commonjs/components/user-profile/index.js +6 -6
  62. package/lib/commonjs/components/user-profile/index.js.map +1 -1
  63. package/lib/commonjs/index.js.map +1 -1
  64. package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
  65. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  66. package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  67. package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
  68. package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
  69. package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
  70. package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  71. package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
  72. package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  73. package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
  74. package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  75. package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
  76. package/lib/commonjs/styles/theme/theme.js +4 -4
  77. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  78. package/lib/commonjs/utils/format-data/index.js +11 -11
  79. package/lib/commonjs/utils/format-data/index.js.map +1 -1
  80. package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
  81. package/lib/module/common/icons-svg/agent/index.js +2 -2
  82. package/lib/module/common/icons-svg/agent/index.js.map +1 -1
  83. package/lib/module/common/icons-svg/bed/index.js +4 -4
  84. package/lib/module/common/icons-svg/bed/index.js.map +1 -1
  85. package/lib/module/common/icons-svg/car/index.js +4 -4
  86. package/lib/module/common/icons-svg/car/index.js.map +1 -1
  87. package/lib/module/common/icons-svg/check-outline/index.js +6 -6
  88. package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
  89. package/lib/module/common/icons-svg/coffee/index.js +4 -4
  90. package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
  91. package/lib/module/common/icons-svg/constants/index.js +4 -4
  92. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  93. package/lib/module/common/icons-svg/index.js +4 -4
  94. package/lib/module/common/icons-svg/index.js.map +1 -1
  95. package/lib/module/common/icons-svg/pencil/index.js +4 -4
  96. package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
  97. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
  98. package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
  99. package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
  100. package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
  101. package/lib/module/components/activities-daily/index.js +4 -4
  102. package/lib/module/components/activities-daily/index.js.map +1 -1
  103. package/lib/module/components/activities-daily/interface.d.js.map +1 -1
  104. package/lib/module/components/activities-progress/index.js +4 -4
  105. package/lib/module/components/activities-progress/index.js.map +1 -1
  106. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  107. package/lib/module/components/avatar-profile/index.js.map +1 -1
  108. package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
  109. package/lib/module/components/card-history/index.js +7 -7
  110. package/lib/module/components/card-history/index.js.map +1 -1
  111. package/lib/module/components/card-loading/index.js +7 -7
  112. package/lib/module/components/card-loading/index.js.map +1 -1
  113. package/lib/module/components/card-work-session/index.js +4 -4
  114. package/lib/module/components/card-work-session/index.js.map +1 -1
  115. package/lib/module/components/check-box/index.js +6 -6
  116. package/lib/module/components/check-box/index.js.map +1 -1
  117. package/lib/module/components/check-box/interface.d.js.map +1 -1
  118. package/lib/module/components/coil/index.js +4 -4
  119. package/lib/module/components/coil/index.js.map +1 -1
  120. package/lib/module/components/coil/interface.d.js.map +1 -1
  121. package/lib/module/components/filter-date-selector/index.js +7 -7
  122. package/lib/module/components/filter-date-selector/index.js.map +1 -1
  123. package/lib/module/components/history-details/index.js +1 -2
  124. package/lib/module/components/history-details/index.js.map +1 -1
  125. package/lib/module/components/history-details/interface.d.js.map +1 -1
  126. package/lib/module/components/image-capture-with-remove/index.js +7 -7
  127. package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
  128. package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
  129. package/lib/module/components/loading-progress/index.js +12 -9
  130. package/lib/module/components/loading-progress/index.js.map +1 -1
  131. package/lib/module/components/notification-loading/index.js +9 -2
  132. package/lib/module/components/notification-loading/index.js.map +1 -1
  133. package/lib/module/components/notification-loading/interface.d.js.map +1 -1
  134. package/lib/module/components/profile-menu-option/index.js.map +1 -1
  135. package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
  136. package/lib/module/components/step-indicator/index.js +6 -6
  137. package/lib/module/components/step-indicator/index.js.map +1 -1
  138. package/lib/module/components/step-indicator/interface.d.js.map +1 -1
  139. package/lib/module/components/step-indicator/styles.js +9 -8
  140. package/lib/module/components/step-indicator/styles.js.map +1 -1
  141. package/lib/module/components/user-profile/index.js +6 -6
  142. package/lib/module/components/user-profile/index.js.map +1 -1
  143. package/lib/module/index.js +2 -2
  144. package/lib/module/index.js.map +1 -1
  145. package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
  146. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  147. package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
  148. package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
  149. package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
  150. package/lib/module/stories/coil/coil.stories.js.map +1 -1
  151. package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
  152. package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
  153. package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
  154. package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
  155. package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
  156. package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
  157. package/lib/module/styles/theme/theme.js +4 -4
  158. package/lib/module/styles/theme/theme.js.map +1 -1
  159. package/lib/module/utils/format-data/index.js +11 -11
  160. package/lib/module/utils/format-data/index.js.map +1 -1
  161. package/lib/module/utils/status-color/return-color.js.map +1 -1
  162. package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
  163. package/package.json +5 -5
  164. package/src/common/icons-svg/agent/index.tsx +40 -40
  165. package/src/common/icons-svg/bed/index.tsx +41 -41
  166. package/src/common/icons-svg/car/index.tsx +29 -29
  167. package/src/common/icons-svg/check-outline/index.tsx +42 -42
  168. package/src/common/icons-svg/coffee/index.tsx +43 -43
  169. package/src/common/icons-svg/constants/index.ts +63 -63
  170. package/src/common/icons-svg/index.tsx +255 -255
  171. package/src/common/icons-svg/pencil/index.tsx +32 -32
  172. package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
  173. package/src/common/icons-svg/truck-activity/index.tsx +29 -29
  174. package/src/components/activities-daily/index.tsx +116 -116
  175. package/src/components/activities-daily/interface.d.ts +22 -22
  176. package/src/components/activities-progress/index.tsx +162 -162
  177. package/src/components/activities-progress/interface.d.ts +41 -41
  178. package/src/components/avatar-profile/index.tsx +95 -95
  179. package/src/components/avatar-profile/interface.d.ts +39 -39
  180. package/src/components/card-history/index.tsx +149 -149
  181. package/src/components/card-loading/index.tsx +278 -278
  182. package/src/components/card-work-session/index.tsx +187 -187
  183. package/src/components/check-box/index.tsx +94 -94
  184. package/src/components/check-box/interface.d.ts +31 -31
  185. package/src/components/coil/index.tsx +103 -103
  186. package/src/components/coil/interface.d.ts +26 -26
  187. package/src/components/filter-date-selector/index.tsx +101 -101
  188. package/src/components/history-details/index.tsx +1 -2
  189. package/src/components/history-details/interface.d.ts +18 -18
  190. package/src/components/image-capture-with-remove/index.tsx +89 -89
  191. package/src/components/image-capture-with-remove/interface.d.ts +25 -25
  192. package/src/components/loading-progress/index.tsx +92 -91
  193. package/src/components/notification-loading/index.tsx +9 -2
  194. package/src/components/notification-loading/interface.d.ts +35 -35
  195. package/src/components/profile-menu-option/index.tsx +65 -65
  196. package/src/components/profile-menu-option/interface.d.ts +42 -42
  197. package/src/components/step-indicator/index.tsx +164 -164
  198. package/src/components/step-indicator/interface.d.ts +34 -34
  199. package/src/components/step-indicator/styles.ts +68 -67
  200. package/src/components/user-profile/index.tsx +204 -204
  201. package/src/index.ts +42 -42
  202. package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
  203. package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
  204. package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
  205. package/src/stories/card-loading/card-loading.stories.tsx +85 -85
  206. package/src/stories/check-box/check-box.stories.tsx +81 -81
  207. package/src/stories/coil/coil.stories.tsx +98 -98
  208. package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
  209. package/src/stories/history-details/history-details.stories.tsx +36 -36
  210. package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
  211. package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
  212. package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
  213. package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
  214. package/src/styles/theme/theme.ts +170 -170
  215. package/src/utils/format-data/index.ts +66 -66
  216. package/src/utils/status-color/return-color.ts +23 -23
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\ntype IData = {\r\n id: number;\r\n duracao_segundos: string | number;\r\n data_inicio: string;\r\n data_fim: string;\r\n descricao: string;\r\n};\r\ninterface IStepIndicator {\r\n /**dados que vão ser renderizados */\r\n data?: IData[];\r\n\r\n /**tupo de renderização padrão ou customizada */\r\n type?: \"default\" | \"custom\";\r\n\r\n /**tamanho do step indicator */\r\n backgroundColorBall?: string;\r\n\r\n /**cor do texto */\r\n titleColor?: string;\r\n\r\n /**cor do numero do step indicator */\r\n titleNumberColor?: string;\r\n\r\n /**cor do texto da descrição */\r\n textColorDescription?: string;\r\n}\r\n/**\r\n * EXPORTS\r\n */\r\nexport { type IStepIndicator };\r\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\ntype IData = {\n id: number;\n duracao_segundos: string | number;\n data_inicio: string;\n data_fim: string;\n descricao: string;\n};\ninterface IStepIndicator {\n /**dados que vão ser renderizados */\n data?: IData[];\n\n /**tupo de renderização padrão ou customizada */\n type?: \"default\" | \"custom\";\n\n /**tamanho do step indicator */\n backgroundColorBall?: string;\n\n /**cor do texto */\n titleColor?: string;\n\n /**cor do numero do step indicator */\n titleNumberColor?: string;\n\n /**cor do texto da descrição */\n textColorDescription?: string;\n}\n/**\n * EXPORTS\n */\nexport { type IStepIndicator };\n"],"mappings":"","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * IMPORTS
1
+ /**
2
+ * IMPORTS
3
3
  */
4
4
 
5
5
  import { StyleSheet } from "react-native";
@@ -30,7 +30,7 @@ const styles = props => {
30
30
  title: {
31
31
  color: (_props$titleColor = props.titleColor) !== null && _props$titleColor !== void 0 ? _props$titleColor : "black",
32
32
  textAlign: "center",
33
- lineHeight: 24,
33
+ lineHeight: 20,
34
34
  fontSize: theme.fontSizes["sm"],
35
35
  fontWeight: "500",
36
36
  marginLeft: 8
@@ -38,7 +38,7 @@ const styles = props => {
38
38
  titleNumber: {
39
39
  color: (_props$titleNumberCol = props.titleNumberColor) !== null && _props$titleNumberCol !== void 0 ? _props$titleNumberCol : theme.colors.neutral[25],
40
40
  textAlign: "center",
41
- lineHeight: 18,
41
+ lineHeight: 16,
42
42
  fontFamily: theme.fonts.inter_regular_400,
43
43
  fontSize: theme.fontSizes["xs"],
44
44
  position: "absolute"
@@ -47,8 +47,9 @@ const styles = props => {
47
47
  color: (_props$textColorDescr = props.textColorDescription) !== null && _props$textColorDescr !== void 0 ? _props$textColorDescr : theme.colors.gray[700],
48
48
  textAlign: "center",
49
49
  lineHeight: 16,
50
- fontSize: 12,
51
- fontFamily: theme.fonts.inter_light_300,
50
+ fontSize: theme.fontSizes["xs"],
51
+ fontFamily: theme.fonts.inter_regular_400,
52
+ fontWeight: "400",
52
53
  marginLeft: 8
53
54
  },
54
55
  containerMain: {
@@ -61,8 +62,8 @@ const styles = props => {
61
62
  });
62
63
  };
63
64
 
64
- /**
65
- * EXPORTS
65
+ /**
66
+ * EXPORTS
66
67
  */
67
68
  export { styles };
68
69
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","theme","styles","props","_props$backgroundColo","_props$titleColor","_props$titleNumberCol","_props$textColorDescr","create","containerIndicator","width","height","flexDirection","justifyContent","containerBall","backgroundColor","backgroundColorBall","colors","blue","alignItems","borderRadius","title","color","titleColor","textAlign","lineHeight","fontSize","fontSizes","fontWeight","marginLeft","titleNumber","titleNumberColor","neutral","fontFamily","fonts","inter_regular_400","position","titleDescription","textColorDescription","gray","inter_light_300","containerMain"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { IStepIndicator } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst styles = (props: IStepIndicator) =>\n StyleSheet.create({\n containerIndicator: {\n width: \"100%\",\n height: 86,\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n // backgroundColor: theme.colors.gray[300],\n },\n containerBall: {\n width: 32,\n height: 32,\n backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: 16,\n },\n title: {\n color: props.titleColor ?? \"black\",\n textAlign: \"center\",\n lineHeight: 24,\n fontSize: theme.fontSizes[\"sm\"],\n fontWeight: \"500\",\n marginLeft: 8,\n },\n titleNumber: {\n color: props.titleNumberColor ?? theme.colors.neutral[25],\n textAlign: \"center\",\n lineHeight: 18,\n fontFamily: theme.fonts.inter_regular_400,\n fontSize: theme.fontSizes[\"xs\"],\n position: \"absolute\",\n },\n titleDescription: {\n color: props.textColorDescription ?? theme.colors.gray[700],\n textAlign: \"center\",\n lineHeight: 16,\n fontSize: 12,\n fontFamily: theme.fonts.inter_light_300,\n marginLeft: 8,\n },\n containerMain: {\n width: \"100%\",\n height: 56,\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n marginLeft: 2,\n },\n });\n\n/**\n * EXPORTS\n */\nexport { styles };\n"],"mappings":"AAAA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,MAAM,GAAIC,KAAqB;EAAA,IAAAC,qBAAA,EAAAC,iBAAA,EAAAC,qBAAA,EAAAC,qBAAA;EAAA,OACnCP,UAAU,CAACQ,MAAM,CAAC;IAChBC,kBAAkB,EAAE;MAClBC,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,EAAE;MACVC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE;MAChB;IACF,CAAC;IACDC,aAAa,EAAE;MACbJ,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVI,eAAe,GAAAX,qBAAA,GAAED,KAAK,CAACa,mBAAmB,cAAAZ,qBAAA,cAAAA,qBAAA,GAAIH,KAAK,CAACgB,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;MACpEN,aAAa,EAAE,KAAK;MACpBO,UAAU,EAAE,QAAQ;MACpBN,cAAc,EAAE,QAAQ;MACxBO,YAAY,EAAE;IAChB,CAAC;IACDC,KAAK,EAAE;MACLC,KAAK,GAAAjB,iBAAA,GAAEF,KAAK,CAACoB,UAAU,cAAAlB,iBAAA,cAAAA,iBAAA,GAAI,OAAO;MAClCmB,SAAS,EAAE,QAAQ;MACnBC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAEzB,KAAK,CAAC0B,SAAS,CAAC,IAAI,CAAC;MAC/BC,UAAU,EAAE,KAAK;MACjBC,UAAU,EAAE;IACd,CAAC;IACDC,WAAW,EAAE;MACXR,KAAK,GAAAhB,qBAAA,GAAEH,KAAK,CAAC4B,gBAAgB,cAAAzB,qBAAA,cAAAA,qBAAA,GAAIL,KAAK,CAACgB,MAAM,CAACe,OAAO,CAAC,EAAE,CAAC;MACzDR,SAAS,EAAE,QAAQ;MACnBC,UAAU,EAAE,EAAE;MACdQ,UAAU,EAAEhC,KAAK,CAACiC,KAAK,CAACC,iBAAiB;MACzCT,QAAQ,EAAEzB,KAAK,CAAC0B,SAAS,CAAC,IAAI,CAAC;MAC/BS,QAAQ,EAAE;IACZ,CAAC;IACDC,gBAAgB,EAAE;MAChBf,KAAK,GAAAf,qBAAA,GAAEJ,KAAK,CAACmC,oBAAoB,cAAA/B,qBAAA,cAAAA,qBAAA,GAAIN,KAAK,CAACgB,MAAM,CAACsB,IAAI,CAAC,GAAG,CAAC;MAC3Df,SAAS,EAAE,QAAQ;MACnBC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAE,EAAE;MACZO,UAAU,EAAEhC,KAAK,CAACiC,KAAK,CAACM,eAAe;MACvCX,UAAU,EAAE;IACd,CAAC;IACDY,aAAa,EAAE;MACb/B,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,EAAE;MACVC,aAAa,EAAE,QAAQ;MACvBO,UAAU,EAAE,YAAY;MACxBU,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AACA,SAAS3B,MAAM","ignoreList":[]}
1
+ {"version":3,"names":["StyleSheet","theme","styles","props","_props$backgroundColo","_props$titleColor","_props$titleNumberCol","_props$textColorDescr","create","containerIndicator","width","height","flexDirection","justifyContent","containerBall","backgroundColor","backgroundColorBall","colors","blue","alignItems","borderRadius","title","color","titleColor","textAlign","lineHeight","fontSize","fontSizes","fontWeight","marginLeft","titleNumber","titleNumberColor","neutral","fontFamily","fonts","inter_regular_400","position","titleDescription","textColorDescription","gray","containerMain"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { IStepIndicator } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst styles = (props: IStepIndicator) =>\r\n StyleSheet.create({\r\n containerIndicator: {\r\n width: \"100%\",\r\n height: 86,\r\n flexDirection: \"row\",\r\n justifyContent: \"flex-start\",\r\n // backgroundColor: theme.colors.gray[300],\r\n },\r\n containerBall: {\r\n width: 32,\r\n height: 32,\r\n backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\",\r\n borderRadius: 16,\r\n },\r\n title: {\r\n color: props.titleColor ?? \"black\",\r\n textAlign: \"center\",\r\n lineHeight: 20,\r\n fontSize: theme.fontSizes[\"sm\"],\r\n fontWeight: \"500\",\r\n marginLeft: 8,\r\n },\r\n titleNumber: {\r\n color: props.titleNumberColor ?? theme.colors.neutral[25],\r\n textAlign: \"center\",\r\n lineHeight: 16,\r\n fontFamily: theme.fonts.inter_regular_400,\r\n fontSize: theme.fontSizes[\"xs\"],\r\n position: \"absolute\",\r\n },\r\n titleDescription: {\r\n color: props.textColorDescription ?? theme.colors.gray[700],\r\n textAlign: \"center\",\r\n lineHeight: 16,\r\n fontSize: theme.fontSizes[\"xs\"],\r\n fontFamily: theme.fonts.inter_regular_400,\r\n fontWeight: \"400\",\r\n marginLeft: 8,\r\n },\r\n containerMain: {\r\n width: \"100%\",\r\n height: 56,\r\n flexDirection: \"column\",\r\n alignItems: \"flex-start\",\r\n marginLeft: 2,\r\n },\r\n });\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { styles };\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAGA;AACA,SAASC,KAA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,EAAE;IACZ,CAAC;IACDC,gBAAgB,EAAE;MAChBf,KAAK,GAAAf,qBAAA,GAAEJ,KAAK,CAACmC,oBAAoB,cAAA/B,qBAAA,cAAAA,qBAAA,GAAIN,KAAK,CAACgB,MAAM,CAACsB,IAAI,CAAC,GAAG,CAAC;MAC3Df,SAAS,EAAE,QAAQ;MACnBC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAEzB,KAAK,CAAC0B,SAAS,CAAC,IAAI,CAAC;MAC/BM,UAAU,EAAEhC,KAAK,CAACiC,KAAK,CAACC,iBAAiB;MACzCP,UAAU,EAAE,KAAK;MACjBC,UAAU,EAAE;IACd,CAAC;IACDW,aAAa,EAAE;MACb9B,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,EAAE;MACVC,aAAa,EAAE,QAAQ;MACvBO,UAAU,EAAE,YAAY;MACxBU,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AACA,SAAS3B,MAAM","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * IMPORTS
1
+ /**
2
+ * IMPORTS
3
3
  */
4
4
  import React from "react";
5
5
  import { Image, TouchableOpacity } from "react-native";
@@ -16,8 +16,8 @@ import { IMAGES } from "../../common/constants";
16
16
  // styles
17
17
  import { theme } from "../../styles/theme/theme";
18
18
 
19
- /**
20
- * Componente Header para a interação do usuário com ui.
19
+ /**
20
+ * Componente Header para a interação do usuário com ui.
21
21
  */
22
22
  const UserProfile = ({
23
23
  nome,
@@ -188,8 +188,8 @@ const UserProfile = ({
188
188
  })));
189
189
  };
190
190
 
191
- /**
192
- * EXPORTS
191
+ /**
192
+ * EXPORTS
193
193
  */
194
194
  export { UserProfile };
195
195
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","Image","TouchableOpacity","Box","Typography","IMAGES","theme","UserProfile","nome","avatar","cpf","placa_cavalo","bluetoothIsConnected","app_version","color","width","height","handleProfileView","testID","_color$colorText","_theme$fontSizes$lg","_color$colorText2","_theme$fontSizes$lg2","_color$colorText3","_theme$fontSizes$lg3","_color$colorText4","_theme$fontSizes$lg4","_color$colorText5","_theme$fontSizes$lg5","_theme$fontSizes$lg6","_color$colorText6","_theme$fontSizes$lg7","_color$colorText7","_theme$fontSizes$lg8","createElement","backgroundColor","colors","blue","paddingStyle","paddingLeft","paddings","md","paddingRight","paddingBottom","flexStyle","flexDirection","alignItems","justifyContent","marginStyle","marginTop","margins","activeOpacity","onPress","source","uri","IMAGE_ANONIMA","style","borderRadius","borderWidth","borderWidths","thin_medium","borderColor","green","textAlign","paddingTop","text","colorText","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","lineHeight","lg","letterSpacing","sm","ellipsizeMode","numberOfLines","inter_semi_bold_600","inter_medium_500","inter_bold_700","inter_light_300"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\nimport { Image, TouchableOpacity } from \"react-native\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// comons / constants\r\nimport { IMAGES } from \"../../common/constants\";\r\n\r\n// typings\r\nimport { IUserProfile } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n/**\r\n * Componente Header para a interação do usuário com ui.\r\n */\r\nconst UserProfile: React.FC<IUserProfile> = ({\r\n nome,\r\n avatar,\r\n cpf,\r\n placa_cavalo,\r\n bluetoothIsConnected,\r\n app_version,\r\n color,\r\n width,\r\n height,\r\n handleProfileView,\r\n testID,\r\n}: IUserProfile) => {\r\n return (\r\n <Box\r\n testID={testID}\r\n width={width ?? \"100%\"}\r\n height={height}\r\n backgroundColor={theme.colors.blue[525]}\r\n paddingStyle={{\r\n paddingLeft: theme.paddings.md,\r\n paddingRight: theme.paddings.md,\r\n paddingBottom: theme.paddings[\"2xs\"],\r\n }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\r\n marginStyle={{ marginTop: theme.margins.md }}\r\n >\r\n <TouchableOpacity activeOpacity={0.7} onPress={handleProfileView}>\r\n <Image\r\n testID=\"user-profile-avatar\"\r\n source={{\r\n uri: avatar || IMAGES.IMAGE_ANONIMA,\r\n }}\r\n style={{\r\n width: 120,\r\n height: 120,\r\n borderRadius: 60,\r\n borderWidth: theme.borderWidths.thin_medium,\r\n borderColor: theme.colors.green[400],\r\n }}\r\n />\r\n </TouchableOpacity>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{ flexDirection: \"column\", alignItems: \"center\", justifyContent: \"center\" }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: theme.paddings[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={\"Olá, \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n <Box width={\"89%\"}>\r\n <Typography\r\n text={nome}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily=\"inter_medium_500\"\r\n fontWeight=\"500\"\r\n ellipsizeMode=\"tail\"\r\n numberOfLines={1}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: 5 }}\r\n >\r\n <Typography\r\n text={\"CPF: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={cpf}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight=\"600\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-start\",\r\n textAlign: \"center\",\r\n }}\r\n paddingStyle={{ paddingTop: 5 }}\r\n >\r\n <Typography\r\n text={\"CONECTADO: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight=\"500\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={bluetoothIsConnected ? placa_cavalo : \"\"}\r\n color={theme.colors.green[400]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight=\"700\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"flex-end\",\r\n }}\r\n marginStyle={{ marginTop: theme.margins.md }}\r\n >\r\n <Typography\r\n text={\"Versão: \"}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.md}\r\n fontFamily={theme.fonts.inter_regular_400}\r\n fontWeight=\"400\"\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={app_version}\r\n color={color?.colorText ?? theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontWeight=\"300\"\r\n fontFamily={theme.fonts.inter_light_300}\r\n lineHeight={theme.fontSizes.lg ?? 18}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { UserProfile };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,MAAM,QAAQ,wBAAwB;;AAE/C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA,MAAMC,WAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,GAAG;EACHC,YAAY;EACZC,oBAAoB;EACpBC,WAAW;EACXC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,iBAAiB;EACjBC;AACY,CAAC,KAAK;EAAA,IAAAC,gBAAA,EAAAC,mBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA;EAClB,oBACEjC,KAAA,CAAAkC,aAAA,CAAC/B,GAAG;IACFe,MAAM,EAAEA,MAAO;IACfH,KAAK,EAAEA,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,MAAO;IACvBC,MAAM,EAAEA,MAAO;IACfmB,eAAe,EAAE7B,KAAK,CAAC8B,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IACxCC,YAAY,EAAE;M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AAU,EAAC,KAAK;IAChBH,UAAU,EAAEhE,KAAK,CAACiE,KAAK,CAACY,eAAgB;IACxCT,UAAU,GAAAzC,oBAAA,GAAE3B,KAAK,CAAC+D,SAAS,CAACM,EAAE,cAAA1C,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrC2C,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASrE,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["React","Image","TouchableOpacity","Box","Typography","IMAGES","theme","UserProfile","nome","avatar","cpf","placa_cavalo","bluetoothIsConnected","app_version","color","width","height","handleProfileView","testID","_color$colorText","_theme$fontSizes$lg","_color$colorText2","_theme$fontSizes$lg2","_color$colorText3","_theme$fontSizes$lg3","_color$colorText4","_theme$fontSizes$lg4","_color$colorText5","_theme$fontSizes$lg5","_theme$fontSizes$lg6","_color$colorText6","_theme$fontSizes$lg7","_color$colorText7","_theme$fontSizes$lg8","createElement","backgroundColor","colors","blue","paddingStyle","paddingLeft","paddings","md","paddingRight","paddingBottom","flexStyle","flexDirection","alignItems","justifyContent","marginStyle","marginTop","margins","activeOpacity","onPress","source","uri","IMAGE_ANONIMA","style","borderRadius","borderWidth","borderWidths","thin_medium","borderColor","green","textAlign","paddingTop","text","colorText","neutral","size","fontSizes","fontFamily","fonts","inter_regular_400","fontWeight","lineHeight","lg","letterSpacing","sm","ellipsizeMode","numberOfLines","inter_semi_bold_600","inter_medium_500","inter_bold_700","inter_light_300"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\nimport { Image, TouchableOpacity } from \"react-native\";\n\n// components\nimport { Box } from \"../box\";\nimport { Typography } from \"../typography\";\n\n// comons / constants\nimport { IMAGES } from \"../../common/constants\";\n\n// typings\nimport { IUserProfile } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\n/**\n * Componente Header para a interação do usuário com ui.\n */\nconst UserProfile: React.FC<IUserProfile> = ({\n nome,\n avatar,\n cpf,\n placa_cavalo,\n bluetoothIsConnected,\n app_version,\n color,\n width,\n height,\n handleProfileView,\n testID,\n}: IUserProfile) => {\n return (\n <Box\n testID={testID}\n width={width ?? \"100%\"}\n height={height}\n backgroundColor={theme.colors.blue[525]}\n paddingStyle={{\n paddingLeft: theme.paddings.md,\n paddingRight: theme.paddings.md,\n paddingBottom: theme.paddings[\"2xs\"],\n }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"row\", alignItems: \"center\", justifyContent: \"center\" }}\n marginStyle={{ marginTop: theme.margins.md }}\n >\n <TouchableOpacity activeOpacity={0.7} onPress={handleProfileView}>\n <Image\n testID=\"user-profile-avatar\"\n source={{\n uri: avatar || IMAGES.IMAGE_ANONIMA,\n }}\n style={{\n width: 120,\n height: 120,\n borderRadius: 60,\n borderWidth: theme.borderWidths.thin_medium,\n borderColor: theme.colors.green[400],\n }}\n />\n </TouchableOpacity>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{ flexDirection: \"column\", alignItems: \"center\", justifyContent: \"center\" }}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: theme.paddings[\"2xs\"] }}\n >\n <Typography\n text={\"Olá, \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight=\"400\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n <Box width={\"89%\"}>\n <Typography\n text={nome}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily=\"inter_medium_500\"\n fontWeight=\"500\"\n ellipsizeMode=\"tail\"\n numberOfLines={1}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: 5 }}\n >\n <Typography\n text={\"CPF: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={cpf}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_semi_bold_600}\n fontWeight=\"600\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n textAlign: \"center\",\n }}\n paddingStyle={{ paddingTop: 5 }}\n >\n <Typography\n text={\"CONECTADO: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_medium_500}\n fontWeight=\"500\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={bluetoothIsConnected ? placa_cavalo : \"\"}\n color={theme.colors.green[400]}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold_700}\n fontWeight=\"700\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"flex-end\",\n }}\n marginStyle={{ marginTop: theme.margins.md }}\n >\n <Typography\n text={\"Versão: \"}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.md}\n fontFamily={theme.fonts.inter_regular_400}\n fontWeight=\"400\"\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={app_version}\n color={color?.colorText ?? theme.colors.neutral[25]}\n size={theme.fontSizes.sm}\n fontWeight=\"300\"\n fontFamily={theme.fonts.inter_light_300}\n lineHeight={theme.fontSizes.lg ?? 18}\n letterSpacing={\"regular\"}\n />\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { UserProfile };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,gBAAgB,QAAQ,cAAc;;AAEtD;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,UAAU,QAAQ,eAAe;;AAE1C;AACA,SAASC,MAAM,QAAQ,wBAAwB;;AAE/C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA,MAAMC,WAAmC,GAAGA,CAAC;EAC3CC,IAAI;EACJC,MAAM;EACNC,GAAG;EACHC,YAAY;EACZC,oBAAoB;EACpBC,WAAW;EACXC,KAAK;EACLC,KAAK;EACLC,MAAM;EACNC,iBAAiB;EACjBC;AACY,CAAC,KAAK;EAAA,IAAAC,gBAAA,EAAAC,mBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA,EAAAC,iBAAA,EAAAC,oBAAA;EAClB,oBACEjC,KAAA,CAAAkC,aAAA,CAAC/B,GAAG;IACFe,MAAM,EAAEA,MAAO;IACfH,KAAK,EAAEA,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,MAAO;IACvBC,MAAM,EAAEA,MAAO;IACfmB,eAAe,EAAE7B,KAAK,CAAC8B,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;IACxCC,YAAY,EAAE;MACZC,WAAW,EAAEjC,KAAK,CAACkC,QAAQ,CAACC,EAAE;MAC9BC,YAAY,EAA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;IACxCT,UAAU,GAAAzC,oBAAA,GAAE3B,KAAK,CAAC+D,SAAS,CAACM,EAAE,cAAA1C,oBAAA,cAAAA,oBAAA,GAAI,EAAG;IACrC2C,aAAa,EAAE;EAAU,CAC1B,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASrE,WAAW","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * EXPORTS
1
+ /**
2
+ * EXPORTS
3
3
  */
4
4
 
5
5
  // Components
@@ -1 +1 @@
1
- {"version":3,"names":["Box","Button","StepIndicator","Typography","Input","CapturePhoto","CardHours","SelectOption","Header","ScheduledJourneyIndicators","CardScheduledJourney","UserProfile","MenuItem","CardLoading","CardWorkSession","LoadingProgress","NoData","FilterJourney","Coil","FilterDateSelector","CardHistory","NotificationLoading","CheckBox","ImageCaptureWithRemove","LoadingDetails","AvatarProfile","HistoryDetails","ActivitiesDaily","ActivitiesProgress","ProfileMenuOption","multiply","formatDate","getLastSevenDays","formHoursMinute","theme"],"sources":["index.ts"],"sourcesContent":["/**\r\n * EXPORTS\r\n */\r\n\r\n// Components\r\nexport { Box } from \"./components/box\";\r\nexport { Button } from \"./components/button\";\r\nexport { StepIndicator } from \"./components/step-indicator\";\r\nexport { Typography } from \"./components/typography\";\r\nexport { Input } from \"./components/input\";\r\nexport { CapturePhoto } from \"./components/capture-photo\";\r\nexport { CardHours } from \"./components/card-hours\";\r\nexport { SelectOption } from \"./components/selects/select-option\";\r\nexport { Header } from \"./components/header-profile\";\r\nexport { ScheduledJourneyIndicators } from \"./components/scheduled-journey-indicators\";\r\nexport { CardScheduledJourney } from \"./components/card-scheduled-journey\";\r\nexport { UserProfile } from \"./components/user-profile\";\r\nexport { MenuItem } from \"./components/menu-item\";\r\nexport { CardLoading } from \"./components/card-loading\";\r\nexport { CardWorkSession } from \"./components/card-work-session\";\r\nexport { LoadingProgress } from \"./components/loading-progress\";\r\nexport { NoData } from \"./components/no-data\";\r\nexport { FilterJourney } from \"./components/filter-journey\";\r\nexport { Coil } from \"./components/coil\";\r\nexport { FilterDateSelector } from \"./components/filter-date-selector\";\r\nexport { CardHistory } from \"./components/card-history\";\r\nexport { NotificationLoading } from \"./components/notification-loading\";\r\nexport { CheckBox } from \"./components/check-box\";\r\nexport { ImageCaptureWithRemove } from \"./components/image-capture-with-remove\";\r\nexport { LoadingDetails } from \"./components/loading-details\";\r\nexport { AvatarProfile } from \"./components/avatar-profile\";\r\nexport { HistoryDetails } from \"./components/history-details\";\r\nexport { ActivitiesDaily } from \"./components/activities-daily\";\r\nexport { ActivitiesProgress } from \"./components/activities-progress\";\r\nexport { ProfileMenuOption } from \"./components/profile-menu-option\";\r\n\r\n// Utilities\r\nexport { multiply } from \"./utils/mutiply\";\r\nexport { formatDate, getLastSevenDays, formHoursMinute } from \"./utils/format-data\";\r\n\r\n// Styles\r\nexport { theme } from \"./styles/theme/theme\";\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA,SAASA,GAAG,QAAQ,kBAAkB;AACtC,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,UAAU,QAAQ,yBAAyB;AACpD,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,YAAY,QAAQ,4BAA4B;AACzD,SAASC,SAAS,QAAQ,yBAAyB;AACnD,SAASC,YAAY,QAAQ,oCAAoC;AACjE,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SAASC,0BAA0B,QAAQ,2CAA2C;AACtF,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,mBAAmB,QAAQ,mCAAmC;AACvE,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,sBAAsB,QAAQ,wCAAwC;AAC/E,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,kBAAkB,QAAQ,kCAAkC;AACrE,SAASC,iBAAiB,QAAQ,kCAAkC;;AAEpE;AACA,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,UAAU,EAAEC,gBAAgB,EAAEC,eAAe,QAAQ,qBAAqB;;AAEnF;AACA,SAASC,KAAK,QAAQ,sBAAsB","ignoreList":[]}
1
+ {"version":3,"names":["Box","Button","StepIndicator","Typography","Input","CapturePhoto","CardHours","SelectOption","Header","ScheduledJourneyIndicators","CardScheduledJourney","UserProfile","MenuItem","CardLoading","CardWorkSession","LoadingProgress","NoData","FilterJourney","Coil","FilterDateSelector","CardHistory","NotificationLoading","CheckBox","ImageCaptureWithRemove","LoadingDetails","AvatarProfile","HistoryDetails","ActivitiesDaily","ActivitiesProgress","ProfileMenuOption","multiply","formatDate","getLastSevenDays","formHoursMinute","theme"],"sources":["index.ts"],"sourcesContent":["/**\n * EXPORTS\n */\n\n// Components\nexport { Box } from \"./components/box\";\nexport { Button } from \"./components/button\";\nexport { StepIndicator } from \"./components/step-indicator\";\nexport { Typography } from \"./components/typography\";\nexport { Input } from \"./components/input\";\nexport { CapturePhoto } from \"./components/capture-photo\";\nexport { CardHours } from \"./components/card-hours\";\nexport { SelectOption } from \"./components/selects/select-option\";\nexport { Header } from \"./components/header-profile\";\nexport { ScheduledJourneyIndicators } from \"./components/scheduled-journey-indicators\";\nexport { CardScheduledJourney } from \"./components/card-scheduled-journey\";\nexport { UserProfile } from \"./components/user-profile\";\nexport { MenuItem } from \"./components/menu-item\";\nexport { CardLoading } from \"./components/card-loading\";\nexport { CardWorkSession } from \"./components/card-work-session\";\nexport { LoadingProgress } from \"./components/loading-progress\";\nexport { NoData } from \"./components/no-data\";\nexport { FilterJourney } from \"./components/filter-journey\";\nexport { Coil } from \"./components/coil\";\nexport { FilterDateSelector } from \"./components/filter-date-selector\";\nexport { CardHistory } from \"./components/card-history\";\nexport { NotificationLoading } from \"./components/notification-loading\";\nexport { CheckBox } from \"./components/check-box\";\nexport { ImageCaptureWithRemove } from \"./components/image-capture-with-remove\";\nexport { LoadingDetails } from \"./components/loading-details\";\nexport { AvatarProfile } from \"./components/avatar-profile\";\nexport { HistoryDetails } from \"./components/history-details\";\nexport { ActivitiesDaily } from \"./components/activities-daily\";\nexport { ActivitiesProgress } from \"./components/activities-progress\";\nexport { ProfileMenuOption } from \"./components/profile-menu-option\";\n\n// Utilities\nexport { multiply } from \"./utils/mutiply\";\nexport { formatDate, getLastSevenDays, formHoursMinute } from \"./utils/format-data\";\n\n// Styles\nexport { theme } from \"./styles/theme/theme\";\n"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA,SAASA,GAAG,QAAQ,kBAAkB;AACtC,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,UAAU,QAAQ,yBAAyB;AACpD,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,YAAY,QAAQ,4BAA4B;AACzD,SAASC,SAAS,QAAQ,yBAAyB;AACnD,SAASC,YAAY,QAAQ,oCAAoC;AACjE,SAASC,MAAM,QAAQ,6BAA6B;AACpD,SAASC,0BAA0B,QAAQ,2CAA2C;AACtF,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,IAAI,QAAQ,mBAAmB;AACxC,SAASC,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,mBAAmB,QAAQ,mCAAmC;AACvE,SAASC,QAAQ,QAAQ,wBAAwB;AACjD,SAASC,sBAAsB,QAAQ,wCAAwC;AAC/E,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,aAAa,QAAQ,6BAA6B;AAC3D,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,SAASC,kBAAkB,QAAQ,kCAAkC;AACrE,SAASC,iBAAiB,QAAQ,kCAAkC;;AAEpE;AACA,SAASC,QAAQ,QAAQ,iBAAiB;AAC1C,SAASC,UAAU,EAAEC,gBAAgB,EAAEC,eAAe,QAAQ,qBAAqB;;AAEnF;AACA,SAASC,KAAK,QAAQ,sBAAsB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ActivitiesDaily","meta","title","component","args","handleActivity","typeActivity","parameters","notes","ActivitiesDailySimples","name","alert"],"sources":["activities-daily.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ActivitiesDaily } from \"../../components/activities-daily\";\r\n\r\nconst meta: Meta<typeof ActivitiesDaily> = {\r\n title: \"componente/ActivitiesDaily\",\r\n component: ActivitiesDaily,\r\n args: {\r\n handleActivity: (typeActivity) => {\r\n return typeActivity;\r\n },\r\n },\r\n parameters: {\r\n notes: `\r\n# ActivitiesDaily\r\n\r\nEste é um componente de Card de atividades diárias.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ActivitiesDaily\r\nhandleActivity={handleActivity}\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ActivitiesDailySimples: Story = {\r\n name: \"activities-daily\",\r\n args: {\r\n handleActivity: (typeActivity: any) => {\r\n /* global alert */\r\n alert(typeActivity);\r\n },\r\n },\r\n};\r\n"],"mappings":"AAEA,SAASA,eAAe,QAAQ,mCAAmC;AAEnE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAAe;EAC1BI,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAY,IAAK;MAChC,OAAOA,YAAY;IACrB;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,sBAA6B,GAAG;EAC3CC,IAAI,EAAE,kBAAkB;EACxBN,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAiB,IAAK;MACrC;MACAK,KAAK,CAACL,YAAY,CAAC;IACrB;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ActivitiesDaily","meta","title","component","args","handleActivity","typeActivity","parameters","notes","ActivitiesDailySimples","name","alert"],"sources":["activities-daily.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { ActivitiesDaily } from \"../../components/activities-daily\";\n\nconst meta: Meta<typeof ActivitiesDaily> = {\n title: \"componente/ActivitiesDaily\",\n component: ActivitiesDaily,\n args: {\n handleActivity: (typeActivity) => {\n return typeActivity;\n },\n },\n parameters: {\n notes: `\n# ActivitiesDaily\n\nEste é um componente de Card de atividades diárias.\nVocê usa assim:\n\\`\\`\\`tsx\n<ActivitiesDaily\nhandleActivity={handleActivity}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const ActivitiesDailySimples: Story = {\n name: \"activities-daily\",\n args: {\n handleActivity: (typeActivity: any) => {\n /* global alert */\n alert(typeActivity);\n },\n },\n};\n"],"mappings":"AAEA,SAASA,eAAe,QAAQ,mCAAmC;AAEnE,MAAMC,IAAkC,GAAG;EACzCC,KAAK,EAAE,4BAA4B;EACnCC,SAAS,EAAEH,eAAe;EAC1BI,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAY,IAAK;MAChC,OAAOA,YAAY;IACrB;EACF,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,sBAA6B,GAAG;EAC3CC,IAAI,EAAE,kBAAkB;EACxBN,IAAI,EAAE;IACJC,cAAc,EAAGC,YAAiB,IAAK;MACrC;MACAK,KAAK,CAACL,YAAY,CAAC;IACrB;EACF;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ActivitiesProgress","meta","title","component","args","data_fim","duracao","data_inicio","titleLabel","parameters","notes","ActivitiesProgressPadrao","name","ActivitiesProgressTrabalho","situation","ActivitiesProgressDescanso"],"sources":["activities-progress.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ActivitiesProgress } from \"../../components/activities-progress\";\r\n\r\nconst meta: Meta<typeof ActivitiesProgress> = {\r\n title: \"componente/ActivitiesProgress\",\r\n component: ActivitiesProgress,\r\n args: {\r\n data_fim: \"11/05/2025\",\r\n duracao: \"00:30\",\r\n data_inicio: \"17:20\",\r\n titleLabel: \"Descanso\",\r\n },\r\n parameters: {\r\n notes: `\r\n# ActivitiesProgress\r\n\r\nEste é um componente de progresso de atividades.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ActivitiesProgress\r\n data_fim=\"11/05/2025\"\r\n duracao=\"00:30\"\r\n data_inicio=\"17:20\"\r\n titleLabel=\"Descanso\"\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ActivitiesProgressPadrao: Story = {\r\n name: \"activities-progress-padrao\",\r\n args: {},\r\n};\r\n\r\nexport const ActivitiesProgressTrabalho: Story = {\r\n name: \"activities-progress-trabalho\",\r\n args: {\r\n data_fim: \"15/06/2023\",\r\n duracao: \"01:45\",\r\n data_inicio: \"14:30\",\r\n titleLabel: \"Trabalho\",\r\n situation: true,\r\n },\r\n};\r\n\r\nexport const ActivitiesProgressDescanso: Story = {\r\n name: \"activities-progress-descanso\",\r\n args: {\r\n data_fim: \"20/07/2023\",\r\n duracao: \"00:15\",\r\n data_inicio: \"12:00\",\r\n titleLabel: \"Descanso\",\r\n situation: true,\r\n },\r\n};\r\n"],"mappings":"AAEA,SAASA,kBAAkB,QAAQ,sCAAsC;AAEzE,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEH,kBAAkB;EAC7BI,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE;EACd,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,wBAA+B,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCR,IAAI,EAAE,CAAC;AACT,CAAC;AAED,OAAO,MAAMS,0BAAiC,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMC,0BAAiC,GAAG;EAC/CH,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ActivitiesProgress","meta","title","component","args","data_fim","duracao","data_inicio","titleLabel","parameters","notes","ActivitiesProgressPadrao","name","ActivitiesProgressTrabalho","situation","ActivitiesProgressDescanso"],"sources":["activities-progress.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { ActivitiesProgress } from \"../../components/activities-progress\";\n\nconst meta: Meta<typeof ActivitiesProgress> = {\n title: \"componente/ActivitiesProgress\",\n component: ActivitiesProgress,\n args: {\n data_fim: \"11/05/2025\",\n duracao: \"00:30\",\n data_inicio: \"17:20\",\n titleLabel: \"Descanso\",\n },\n parameters: {\n notes: `\n# ActivitiesProgress\n\nEste é um componente de progresso de atividades.\nVocê usa assim:\n\\`\\`\\`tsx\n<ActivitiesProgress\n data_fim=\"11/05/2025\"\n duracao=\"00:30\"\n data_inicio=\"17:20\"\n titleLabel=\"Descanso\"\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const ActivitiesProgressPadrao: Story = {\n name: \"activities-progress-padrao\",\n args: {},\n};\n\nexport const ActivitiesProgressTrabalho: Story = {\n name: \"activities-progress-trabalho\",\n args: {\n data_fim: \"15/06/2023\",\n duracao: \"01:45\",\n data_inicio: \"14:30\",\n titleLabel: \"Trabalho\",\n situation: true,\n },\n};\n\nexport const ActivitiesProgressDescanso: Story = {\n name: \"activities-progress-descanso\",\n args: {\n data_fim: \"20/07/2023\",\n duracao: \"00:15\",\n data_inicio: \"12:00\",\n titleLabel: \"Descanso\",\n situation: true,\n },\n};\n"],"mappings":"AAEA,SAASA,kBAAkB,QAAQ,sCAAsC;AAEzE,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEH,kBAAkB;EAC7BI,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE;EACd,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,wBAA+B,GAAG;EAC7CC,IAAI,EAAE,4BAA4B;EAClCR,IAAI,EAAE,CAAC;AACT,CAAC;AAED,OAAO,MAAMS,0BAAiC,GAAG;EAC/CD,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMC,0BAAiC,GAAG;EAC/CH,IAAI,EAAE,8BAA8B;EACpCR,IAAI,EAAE;IACJC,QAAQ,EAAE,YAAY;IACtBC,OAAO,EAAE,OAAO;IAChBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,UAAU;IACtBM,SAAS,EAAE;EACb;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["AvatarProfile","meta","title","component","args","name","avatar","email","isEdit","handleTakePicker","parameters","notes","Default","Editable"],"sources":["avatar-profile.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\r\nimport { AvatarProfile } from \"../../components/avatar-profile\";\r\n\r\nconst meta: Meta<typeof AvatarProfile> = {\r\n title: \"Componente/AvatarProfile\",\r\n component: AvatarProfile,\r\n args: {\r\n name: \"Everton\",\r\n avatar: \"https://randomuser.me/api/portraits/men/1.jpg\",\r\n email: \"teste@gmail.com\",\r\n isEdit: false,\r\n handleTakePicker: () => {},\r\n },\r\n parameters: {\r\n notes: ` AvatarProfile Componente de avatar de perfil com edição opcional.`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Default: Story = {\r\n name: \"default\",\r\n};\r\n\r\nexport const Editable: Story = {\r\n name: \"editable\",\r\n args: {\r\n isEdit: true,\r\n },\r\n};\r\n"],"mappings":"AACA,SAASA,aAAa,QAAQ,iCAAiC;AAE/D,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEH,aAAa;EACxBI,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,+CAA+C;IACvDC,KAAK,EAAE,iBAAiB;IACxBC,MAAM,EAAE,KAAK;IACbC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;EACT;AACF,CAAC;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,OAAc,GAAG;EAC5BP,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMQ,QAAe,GAAG;EAC7BR,IAAI,EAAE,UAAU;EAChBD,IAAI,EAAE;IACJI,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["AvatarProfile","meta","title","component","args","name","avatar","email","isEdit","handleTakePicker","parameters","notes","Default","Editable"],"sources":["avatar-profile.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\nimport { AvatarProfile } from \"../../components/avatar-profile\";\n\nconst meta: Meta<typeof AvatarProfile> = {\n title: \"Componente/AvatarProfile\",\n component: AvatarProfile,\n args: {\n name: \"Everton\",\n avatar: \"https://randomuser.me/api/portraits/men/1.jpg\",\n email: \"teste@gmail.com\",\n isEdit: false,\n handleTakePicker: () => {},\n },\n parameters: {\n notes: ` AvatarProfile Componente de avatar de perfil com edição opcional.`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Default: Story = {\n name: \"default\",\n};\n\nexport const Editable: Story = {\n name: \"editable\",\n args: {\n isEdit: true,\n },\n};\n"],"mappings":"AACA,SAASA,aAAa,QAAQ,iCAAiC;AAE/D,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEH,aAAa;EACxBI,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,+CAA+C;IACvDC,KAAK,EAAE,iBAAiB;IACxBC,MAAM,EAAE,KAAK;IACbC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;EACT;AACF,CAAC;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,OAAc,GAAG;EAC5BP,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAMQ,QAAe,GAAG;EAC7BR,IAAI,EAAE,UAAU;EAChBD,IAAI,EAAE;IACJI,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CardLoading","theme","meta","title","component","args","width","height","backgroundColor","colors","blue","handleNavigation","parameters","notes","CardLoadingAprovado","name","local","vehicle","prevision","kg","qtdCoils","status","CardLoadingPendente","CardLoadingReprovado"],"sources":["card-loading.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { CardLoading } from \"../../components/card-loading\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof CardLoading> = {\r\n title: \"componente/CardLoading\",\r\n component: CardLoading,\r\n args: {\r\n width: 120,\r\n height: 90,\r\n title: \"Carregamento #01020304050607\",\r\n backgroundColor: theme.colors.blue[400],\r\n handleNavigation: () => {},\r\n },\r\n parameters: {\r\n notes: `\r\n# CardLoading\r\n\r\nEste é um componente de CardLoading.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n <CardLoading\r\n width={\"100%\"}\r\n title=\"Carregamento #01020304050607\"\r\n local=\"Doca 1, Patío 03 - Usiminas Ipatinga\"\r\n vehicle=\"EXP-0000\"\r\n prevision=\"12:37 10/03/2025\"\r\n kg={40}\r\n qtdCoils={15}\r\n status=\"Pendente\"\r\n handleNavigation={() => {}}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CardLoadingAprovado: Story = {\r\n name: \"card-carregamento-aprovado\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n kg: 40,\r\n qtdCoils: 15,\r\n status: \"Concluido\",\r\n handleNavigation: () => {},\r\n },\r\n};\r\n\r\nexport const CardLoadingPendente: Story = {\r\n name: \"card-carregamento-pendente\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n kg: 40,\r\n qtdCoils: 15,\r\n status: \"Pendente\",\r\n handleNavigation: () => {},\r\n },\r\n};\r\nexport const CardLoadingReprovado: Story = {\r\n name: \"card-carregamento-reprovado\",\r\n args: {\r\n width: \"100%\",\r\n title: \"Carregamento #01020304050607\",\r\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\r\n vehicle: \"EXP-0000\",\r\n prevision: \"12:37 10/03/2025\",\r\n kg: 40,\r\n qtdCoils: 15,\r\n status: \"Cancelado\",\r\n handleNavigation: () => {},\r\n },\r\n};\r\n"],"mappings":"AAEA,SAASA,WAAW,QAAQ,+BAA+B;AAC3D,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAA8B,GAAG;EACrCC,KAAK,EA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8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["CardLoading","theme","meta","title","component","args","width","height","backgroundColor","colors","blue","handleNavigation","parameters","notes","CardLoadingAprovado","name","local","vehicle","prevision","kg","qtdCoils","status","CardLoadingPendente","CardLoadingReprovado"],"sources":["card-loading.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { CardLoading } from \"../../components/card-loading\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof CardLoading> = {\n title: \"componente/CardLoading\",\n component: CardLoading,\n args: {\n width: 120,\n height: 90,\n title: \"Carregamento #01020304050607\",\n backgroundColor: theme.colors.blue[400],\n handleNavigation: () => {},\n },\n parameters: {\n notes: `\n# CardLoading\n\nEste é um componente de CardLoading.\nVocê usa assim:\n\\`\\`\\`tsx\n <CardLoading\n width={\"100%\"}\n title=\"Carregamento #01020304050607\"\n local=\"Doca 1, Patío 03 - Usiminas Ipatinga\"\n vehicle=\"EXP-0000\"\n prevision=\"12:37 10/03/2025\"\n kg={40}\n qtdCoils={15}\n status=\"Pendente\"\n handleNavigation={() => {}}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CardLoadingAprovado: Story = {\n name: \"card-carregamento-aprovado\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n kg: 40,\n qtdCoils: 15,\n status: \"Concluido\",\n handleNavigation: () => {},\n },\n};\n\nexport const CardLoadingPendente: Story = {\n name: \"card-carregamento-pendente\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n kg: 40,\n qtdCoils: 15,\n status: \"Pendente\",\n handleNavigation: () => {},\n },\n};\nexport const CardLoadingReprovado: Story = {\n name: \"card-carregamento-reprovado\",\n args: {\n width: \"100%\",\n title: \"Carregamento #01020304050607\",\n local: \"Doca 1, Patío 03 - Usiminas Ipatinga\",\n vehicle: \"EXP-0000\",\n prevision: \"12:37 10/03/2025\",\n kg: 40,\n qtdCoils: 15,\n status: \"Cancelado\",\n handleNavigation: () => {},\n },\n};\n"],"mappings":"AAEA,SAASA,WAAW,QAAQ,+BAA+B;AAC3D,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAA8B,GAAG;EACrCC,KAAK,EAAE,wBAAwB;EAC/BC,SAAS,EAAEJ,WAAW;EACtBK,IAAI,EAAE;IACJC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,EAAE;IACVJ,KAAK,EAAE,8BAA8B;IACrCK,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeX,IAAI;AAInB,OAAO,MAAMY,mBAA0B,GAAG;EACxCC,IAAI,EAAE,4BAA4B;EAClCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMW,mBAA0B,GAAG;EACxCP,IAAI,EAAE,4BAA4B;EAClCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,UAAU;IAClBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AACD,OAAO,MAAMY,oBAA2B,GAAG;EACzCR,IAAI,EAAE,6BAA6B;EACnCV,IAAI,EAAE;IACJC,KAAK,EAAE,MAAM;IACbH,KAAK,EAAE,8BAA8B;IACrCa,KAAK,EAAE,sCAAsC;IAC7CC,OAAO,EAAE,UAAU;IACnBC,SAAS,EAAE,kBAAkB;IAC7BC,EAAE,EAAE,EAAE;IACNC,QAAQ,EAAE,EAAE;IACZC,MAAM,EAAE,WAAW;IACnBV,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["CheckBox","theme","meta","title","component","args","onPress","isChecked","backgroundColorCheck","colors","blue","parameters","notes","CheckBoxDisable","name","CheckBoxAble","widthBoxCheckIcon","CheckBoxDisableWithLabel","backgroundBoxCheckIcon","textLabel","textSizeLabel","colorTextLabel","neutral","CheckBoxAbleWithLabel"],"sources":["check-box.stories.tsx"],"sourcesContent":["import React from \"react\";\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { CheckBox } from \"../../components/check-box\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof CheckBox> = {\r\n title: \"componente/CheckBox\",\r\n component: CheckBox as React.FC,\r\n args: {\r\n onPress: () => {},\r\n isChecked: false,\r\n backgroundColorCheck: theme.colors.blue[375],\r\n },\r\n parameters: {\r\n notes: `\r\n# CheckBox\r\n\r\nComponente de caixa de seleção customizável com ou sem texto.\r\n\r\nExemplo de uso:\r\n\r\n\\`\\`\\`tsx\r\n<CheckBox\r\n isChecked={false}\r\n widthBoxCheckIcon={30}\r\n backgroundColorCheck={theme.colors.blue[400]}\r\n textSizeLabel={16}\r\n textLabel=\"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\"\r\n colorTextLabel={theme.colors.gray[600]}\r\n backgroundBoxCheckIcon={\"transparent\"}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CheckBoxDisable: Story = {\r\n name: \"checkbox-desmarcado\",\r\n args: {\r\n isChecked: false,\r\n },\r\n};\r\n\r\nexport const CheckBoxAble: Story = {\r\n name: \"checkbox-marcado\",\r\n args: {\r\n widthBoxCheckIcon: 40,\r\n isChecked: true,\r\n backgroundColorCheck: theme.colors.blue[50],\r\n },\r\n};\r\n\r\nexport const CheckBoxDisableWithLabel: Story = {\r\n name: \"checkbox-desmarcado-com-label\",\r\n args: {\r\n widthBoxCheckIcon: 30,\r\n backgroundBoxCheckIcon: \"transparent\",\r\n textLabel:\r\n \"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\",\r\n textSizeLabel: 17,\r\n colorTextLabel: theme.colors.neutral[25],\r\n isChecked: false,\r\n backgroundColorCheck: theme.colors.blue[375],\r\n },\r\n};\r\n\r\nexport const CheckBoxAbleWithLabel: Story = {\r\n name: \"checkbox-marcado-com-label\",\r\n args: {\r\n textLabel: \"Label Checked\",\r\n textSizeLabel: 17,\r\n colorTextLabel: theme.colors.neutral[25],\r\n isChecked: true,\r\n backgroundColorCheck: theme.colors.blue[375],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;EAC1CT,IAAI,EAAE,4BAA4B;EAClCT,IAAI,EAAE;IACJc,SAAS,EAAE,eAAe;IAC1BC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["CheckBox","theme","meta","title","component","args","onPress","isChecked","backgroundColorCheck","colors","blue","parameters","notes","CheckBoxDisable","name","CheckBoxAble","widthBoxCheckIcon","CheckBoxDisableWithLabel","backgroundBoxCheckIcon","textLabel","textSizeLabel","colorTextLabel","neutral","CheckBoxAbleWithLabel"],"sources":["check-box.stories.tsx"],"sourcesContent":["import React from \"react\";\nimport type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { CheckBox } from \"../../components/check-box\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof CheckBox> = {\n title: \"componente/CheckBox\",\n component: CheckBox as React.FC,\n args: {\n onPress: () => {},\n isChecked: false,\n backgroundColorCheck: theme.colors.blue[375],\n },\n parameters: {\n notes: `\n# CheckBox\n\nComponente de caixa de seleção customizável com ou sem texto.\n\nExemplo de uso:\n\n\\`\\`\\`tsx\n<CheckBox\n isChecked={false}\n widthBoxCheckIcon={30}\n backgroundColorCheck={theme.colors.blue[400]}\n textSizeLabel={16}\n textLabel=\"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\"\n colorTextLabel={theme.colors.gray[600]}\n backgroundBoxCheckIcon={\"transparent\"}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CheckBoxDisable: Story = {\n name: \"checkbox-desmarcado\",\n args: {\n isChecked: false,\n },\n};\n\nexport const CheckBoxAble: Story = {\n name: \"checkbox-marcado\",\n args: {\n widthBoxCheckIcon: 40,\n isChecked: true,\n backgroundColorCheck: theme.colors.blue[50],\n },\n};\n\nexport const CheckBoxDisableWithLabel: Story = {\n name: \"checkbox-desmarcado-com-label\",\n args: {\n widthBoxCheckIcon: 30,\n backgroundBoxCheckIcon: \"transparent\",\n textLabel:\n \"Eu concordo com a Política de privacidade da ExpFig e dou consentimento para a coleta, e processamento e uso dos meus dados pessoais.\",\n textSizeLabel: 17,\n colorTextLabel: theme.colors.neutral[25],\n isChecked: false,\n backgroundColorCheck: theme.colors.blue[375],\n },\n};\n\nexport const CheckBoxAbleWithLabel: Story = {\n name: \"checkbox-marcado-com-label\",\n args: {\n textLabel: \"Label Checked\",\n textSizeLabel: 17,\n colorTextLabel: theme.colors.neutral[25],\n isChecked: true,\n backgroundColorCheck: theme.colors.blue[375],\n },\n};\n"],"mappings":"AAGA,SAASA,QAAQ,QAAQ,4BAA4B;AACrD,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAA2B,GAAG;EAClCC,KAAK,EAAE,qBAAqB;EAC5BC,SAAS,EAAEJ,QAAoB;EAC/BK,IAAI,EAAE;IACJC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;IACjBC,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,eAAsB,GAAG;EACpCC,IAAI,EAAE,qBAAqB;EAC3BT,IAAI,EAAE;IACJE,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMQ,YAAmB,GAAG;EACjCD,IAAI,EAAE,kBAAkB;EACxBT,IAAI,EAAE;IACJW,iBAAiB,EAAE,EAAE;IACrBT,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,EAAE;EAC5C;AACF,CAAC;AAED,OAAO,MAAMO,wBAA+B,GAAG;EAC7CH,IAAI,EAAE,+BAA+B;EACrCT,IAAI,EAAE;IACJW,iBAAiB,EAAE,EAAE;IACrBE,sBAAsB,EAAE,aAAa;IACrCC,SAAS,EACP,uIAAuI;IACzIC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,KAAK;IAChBC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC;AAED,OAAO,MAAMa,qBAA4B,GAAG;EAC1CT,IAAI,EAAE,4BAA4B;EAClCT,IAAI,EAAE;IACJc,SAAS,EAAE,eAAe;IAC1BC,aAAa,EAAE,EAAE;IACjBC,cAAc,EAAEpB,KAAK,CAACQ,MAAM,CAACa,OAAO,CAAC,EAAE,CAAC;IACxCf,SAAS,EAAE,IAAI;IACfC,oBAAoB,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG;EAC7C;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Coil","meta","title","component","args","description","handleNavigation","status","parameters","notes","CoilPending","name","CoilApproved","CoilRecused","CoilAndamento","CoilNoStatus","backgroundColor","disabled","CoilOff","backgroundColorIcon"],"sources":["coil.stories.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { Coil } from \"../../components/coil\";\r\n\r\nconst meta: Meta<typeof Coil> = {\r\n title: \"componente/Coil\",\r\n component: Coil as React.FC,\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Cancelado\",\r\n },\r\n parameters: {\r\n notes: `\r\n# Coil\r\n\r\nEste é um componente de Card da bobina.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<Coil\r\n title=''\r\n description=''\r\n handleNavigation={() => {}}\r\n status=''\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const CoilPending: Story = {\r\n name: \"coil-pending\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Pendente\",\r\n },\r\n};\r\n\r\nexport const CoilApproved: Story = {\r\n name: \"coil-approved\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Concluido\",\r\n },\r\n};\r\n\r\nexport const CoilRecused: Story = {\r\n name: \"coil-recused\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"04 de 02 fotos pendentes\",\r\n handleNavigation: () => {},\r\n status: \"Cancelado\",\r\n },\r\n};\r\n\r\nexport const CoilAndamento: Story = {\r\n name: \"coil-andamento\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"background color diferente\",\r\n handleNavigation: () => {},\r\n status: \"Andamento\",\r\n },\r\n};\r\n\r\nexport const CoilNoStatus: Story = {\r\n name: \"coil-no-status\",\r\n args: {\r\n title: \"HUTY-9754\",\r\n description: \"background color diferente\",\r\n handleNavigation: () => {},\r\n backgroundColor: \"green\",\r\n status: \"Andamento\",\r\n disabled: true,\r\n },\r\n};\r\n\r\nexport const CoilOff: Story = {\r\n name: \"coil-off\",\r\n args: {\r\n title: \"HUTY-9823\",\r\n description: \"background color diferente\",\r\n handleNavigation: () => {},\r\n status: \"Pendente\",\r\n backgroundColorIcon: \"#fff\",\r\n },\r\n};\r\n"],"mappings":"AAGA,SAASA,IAAI,QAAQ,uBAAuB;AAE5C,MAAMC,IAAuB,GAAG;EAC9BC,KAAK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;EACtBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BU,eAAe,EAAE,OAAO;IACxBT,MAAM,EAAE,WAAW;IACnBU,QAAQ,EAAE;EACZ;AACF,CAAC;AAED,OAAO,MAAMC,OAAc,GAAG;EAC5BP,IAAI,EAAE,UAAU;EAChBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE,UAAU;IAClBY,mBAAmB,EAAE;EACvB;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Coil","meta","title","component","args","description","handleNavigation","status","parameters","notes","CoilPending","name","CoilApproved","CoilRecused","CoilAndamento","CoilNoStatus","backgroundColor","disabled","CoilOff","backgroundColorIcon"],"sources":["coil.stories.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { Coil } from \"../../components/coil\";\n\nconst meta: Meta<typeof Coil> = {\n title: \"componente/Coil\",\n component: Coil as React.FC,\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Cancelado\",\n },\n parameters: {\n notes: `\n# Coil\n\nEste é um componente de Card da bobina.\nVocê usa assim:\n\\`\\`\\`tsx\n<Coil\n title=''\n description=''\n handleNavigation={() => {}}\n status=''\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const CoilPending: Story = {\n name: \"coil-pending\",\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Pendente\",\n },\n};\n\nexport const CoilApproved: Story = {\n name: \"coil-approved\",\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Concluido\",\n },\n};\n\nexport const CoilRecused: Story = {\n name: \"coil-recused\",\n args: {\n title: \"HUTY-9754\",\n description: \"04 de 02 fotos pendentes\",\n handleNavigation: () => {},\n status: \"Cancelado\",\n },\n};\n\nexport const CoilAndamento: Story = {\n name: \"coil-andamento\",\n args: {\n title: \"HUTY-9754\",\n description: \"background color diferente\",\n handleNavigation: () => {},\n status: \"Andamento\",\n },\n};\n\nexport const CoilNoStatus: Story = {\n name: \"coil-no-status\",\n args: {\n title: \"HUTY-9754\",\n description: \"background color diferente\",\n handleNavigation: () => {},\n backgroundColor: \"green\",\n status: \"Andamento\",\n disabled: true,\n },\n};\n\nexport const CoilOff: Story = {\n name: \"coil-off\",\n args: {\n title: \"HUTY-9823\",\n description: \"background color diferente\",\n handleNavigation: () => {},\n status: \"Pendente\",\n backgroundColorIcon: \"#fff\",\n },\n};\n"],"mappings":"AAGA,SAASA,IAAI,QAAQ,uBAAuB;AAE5C,MAAMC,IAAuB,GAAG;EAC9BC,KAAK,EAAE,iBAAiB;EACxBC,SAAS,EAAEH,IAAgB;EAC3BI,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeR,IAAI;AAInB,OAAO,MAAMS,WAAkB,GAAG;EAChCC,IAAI,EAAE,cAAc;EACpBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMK,YAAmB,GAAG;EACjCD,IAAI,EAAE,eAAe;EACrBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMM,WAAkB,GAAG;EAChCF,IAAI,EAAE,cAAc;EACpBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,0BAA0B;IACvCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMO,aAAoB,GAAG;EAClCH,IAAI,EAAE,gBAAgB;EACtBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMQ,YAAmB,GAAG;EACjCJ,IAAI,EAAE,gBAAgB;EACtBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BU,eAAe,EAAE,OAAO;IACxBT,MAAM,EAAE,WAAW;IACnBU,QAAQ,EAAE;EACZ;AACF,CAAC;AAED,OAAO,MAAMC,OAAc,GAAG;EAC5BP,IAAI,EAAE,UAAU;EAChBP,IAAI,EAAE;IACJF,KAAK,EAAE,WAAW;IAClBG,WAAW,EAAE,4BAA4B;IACzCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,MAAM,EAAE,UAAU;IAClBY,mBAAmB,EAAE;EACvB;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","FilterDateSelector","getLastSevenDays","meta","title","component","args","selectedDay","date","dayName","fullDate","Date","handleSelectedDay","days","parameters","notes","FilterDateSelectorSimples","name","render","isLoading","setIsLoading","useState","setSelectedDay","useEffect","today","find","day","getDate","getMonth","setTimeout","createElement","FilterDateSelectorTodos"],"sources":["filter-date-selector.stories.tsx"],"sourcesContent":["import React from \"react\";\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { FilterDateSelector } from \"../../components/filter-date-selector\";\r\nimport { getLastSevenDays } from \"../../utils/format-data\";\r\nimport { ISelectedDay } from \"../../components/filter-date-selector/interface\";\r\n\r\nconst meta: Meta<typeof FilterDateSelector> = {\r\n title: \"componente/FilterDateSelector\",\r\n component: FilterDateSelector as React.FC,\r\n args: {\r\n selectedDay: {\r\n date: \"\",\r\n dayName: \"\",\r\n fullDate: new Date(\"\"),\r\n },\r\n handleSelectedDay: (date: ISelectedDay) => {\r\n return date;\r\n },\r\n days: [],\r\n },\r\n parameters: {\r\n notes: `\r\n# FilterDateSelector\r\n\r\nEste é um componente de filtro do dias .\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n <FilterDateSelector\r\n selectedDay={selectedDay as any}\r\n handleSelectedDay={setSelectedDay as any}\r\n days={days as []}\r\n isLoading={false}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const FilterDateSelectorSimples: Story = {\r\n name: \"filter-journey\",\r\n render: () => {\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n const [selectedDay, setSelectedDay] = React.useState<ISelectedDay>({\r\n date: \"\",\r\n dayName: \"\",\r\n fullDate: new Date(\"\"),\r\n });\r\n const days = getLastSevenDays();\r\n\r\n React.useEffect(() => {\r\n const today = new Date();\r\n\r\n setSelectedDay(\r\n days.find(\r\n (day) => day.date === today.getDate() && day.fullDate.getMonth() === today.getMonth()\r\n ) as any\r\n );\r\n }, []);\r\n\r\n const handleSelectedDay = (day: ISelectedDay) => {\r\n setSelectedDay(day);\r\n setIsLoading(true);\r\n\r\n /* global setTimeout */\r\n setTimeout(() => {\r\n setIsLoading(false);\r\n }, 1000);\r\n };\r\n return (\r\n <FilterDateSelector\r\n selectedDay={selectedDay as any}\r\n handleSelectedDay={handleSelectedDay as any}\r\n days={days as []}\r\n isLoading={isLoading}\r\n />\r\n );\r\n },\r\n args: {\r\n selectedDay: {\r\n date: \"\",\r\n dayName: \"\",\r\n fullDate: new Date(\"\"),\r\n },\r\n handleSelectedDay: (date: ISelectedDay) => {\r\n return date;\r\n },\r\n days: [],\r\n },\r\n};\r\n\r\nexport const FilterDateSelectorTodos: Story = {\r\n name: \"filter-journey-todos\",\r\n render: () => {\r\n const [isLoading, setIsLoading] = React.useState(false);\r\n\r\n const days = getLastSevenDays() as ISelectedDay[];\r\n\r\n const [selectedDay, setSelectedDay] = React.useState<any>(days[0]);\r\n\r\n // Função para lidar com a seleção de um dia\r\n const handleSelectedDay = (day: ISelectedDay) => {\r\n setSelectedDay(day);\r\n setIsLoading(true);\r\n // Simula um carregamento de 1 segundo\r\n setTimeout(() => setIsLoading(false), 1000);\r\n };\r\n\r\n return (\r\n <FilterDateSelector\r\n selectedDay={selectedDay}\r\n handleSelectedDay={handleSelectedDay as any}\r\n days={days}\r\n isLoading={isLoading}\r\n />\r\n );\r\n },\r\n args: {}, // <- NÃO defina selectedDay/days aqui\r\n};\r\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,kBAAkB,QAAQ,uCAAuC;AAC1E,SAASC,gBAAgB,QAAQ,yBAAyB;AAG1D,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEJ,kBAA8B;EACzCK,IAAI,EAAE;IACJC,WAAW,EAAE;MACXC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE,IAAIC,IAAI,CAAC,EAAE;IACvB,CAAC;IACDC,iBAAiB,EAAGJ,IAAkB,IAAK;MACzC,OAAOA,IAAI;IACb,CAAC;IACDK,IAAI,EAAE;EACR,CAAC;E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AAW;MACjBM,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC;EACDb,IAAI,EAAE;IACJC,WAAW,EAAE;MACXC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE,IAAIC,IAAI,CAAC,EAAE;IACvB,CAAC;IACDC,iBAAiB,EAAGJ,IAAkB,IAAK;MACzC,OAAOA,IAAI;IACb,CAAC;IACDK,IAAI,EAAE;EACR;AACF,CAAC;AAED,OAAO,MAAMkB,uBAA8B,GAAG;EAC5Cd,IAAI,EAAE,sBAAsB;EAC5BC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGpB,KAAK,CAACqB,QAAQ,CAAC,KAAK,CAAC;IAEvD,MAAMR,IAAI,GAAGX,gBAAgB,CAAC,CAAmB;IAEjD,MAAM,CAACK,WAAW,EAAEe,cAAc,CAAC,GAAGtB,KAAK,CAACqB,QAAQ,CAAMR,IAAI,CAAC,CAAC,CAAC,CAAC;;IAElE;IACA,MAAMD,iBAAiB,GAAIc,GAAiB,IAAK;MAC/CJ,cAAc,CAACI,GAAG,CAAC;MACnBN,YAAY,CAAC,IAAI,CAAC;MAClB;MACAS,UAAU,CAAC,MAAMT,YAAY,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAC7C,CAAC;IAED,oBACEpB,KAAA,CAAA8B,aAAA,CAAC7B,kBAAkB;MACjBM,WAAW,EAAEA,WAAY;MACzBK,iBAAiB,EAAEA,iBAAyB;MAC5CC,IAAI,EAAEA,IAAK;MACXM,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC;EACDb,IAAI,EAAE,CAAC,CAAC,CAAE;AACZ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","FilterDateSelector","getLastSevenDays","meta","title","component","args","selectedDay","date","dayName","fullDate","Date","handleSelectedDay","days","parameters","notes","FilterDateSelectorSimples","name","render","isLoading","setIsLoading","useState","setSelectedDay","useEffect","today","find","day","getDate","getMonth","setTimeout","createElement","FilterDateSelectorTodos"],"sources":["filter-date-selector.stories.tsx"],"sourcesContent":["import React from \"react\";\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { FilterDateSelector } from \"../../components/filter-date-selector\";\nimport { getLastSevenDays } from \"../../utils/format-data\";\nimport { ISelectedDay } from \"../../components/filter-date-selector/interface\";\n\nconst meta: Meta<typeof FilterDateSelector> = {\n title: \"componente/FilterDateSelector\",\n component: FilterDateSelector as React.FC,\n args: {\n selectedDay: {\n date: \"\",\n dayName: \"\",\n fullDate: new Date(\"\"),\n },\n handleSelectedDay: (date: ISelectedDay) => {\n return date;\n },\n days: [],\n },\n parameters: {\n notes: `\n# FilterDateSelector\n\nEste é um componente de filtro do dias .\nVocê usa assim:\n\\`\\`\\`tsx\n <FilterDateSelector\n selectedDay={selectedDay as any}\n handleSelectedDay={setSelectedDay as any}\n days={days as []}\n isLoading={false}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const FilterDateSelectorSimples: Story = {\n name: \"filter-journey\",\n render: () => {\n const [isLoading, setIsLoading] = React.useState(false);\n const [selectedDay, setSelectedDay] = React.useState<ISelectedDay>({\n date: \"\",\n dayName: \"\",\n fullDate: new Date(\"\"),\n });\n const days = getLastSevenDays();\n\n React.useEffect(() => {\n const today = new Date();\n\n setSelectedDay(\n days.find(\n (day) => day.date === today.getDate() && day.fullDate.getMonth() === today.getMonth()\n ) as any\n );\n }, []);\n\n const handleSelectedDay = (day: ISelectedDay) => {\n setSelectedDay(day);\n setIsLoading(true);\n\n /* global setTimeout */\n setTimeout(() => {\n setIsLoading(false);\n }, 1000);\n };\n return (\n <FilterDateSelector\n selectedDay={selectedDay as any}\n handleSelectedDay={handleSelectedDay as any}\n days={days as []}\n isLoading={isLoading}\n />\n );\n },\n args: {\n selectedDay: {\n date: \"\",\n dayName: \"\",\n fullDate: new Date(\"\"),\n },\n handleSelectedDay: (date: ISelectedDay) => {\n return date;\n },\n days: [],\n },\n};\n\nexport const FilterDateSelectorTodos: Story = {\n name: \"filter-journey-todos\",\n render: () => {\n const [isLoading, setIsLoading] = React.useState(false);\n\n const days = getLastSevenDays() as ISelectedDay[];\n\n const [selectedDay, setSelectedDay] = React.useState<any>(days[0]);\n\n // Função para lidar com a seleção de um dia\n const handleSelectedDay = (day: ISelectedDay) => {\n setSelectedDay(day);\n setIsLoading(true);\n // Simula um carregamento de 1 segundo\n setTimeout(() => setIsLoading(false), 1000);\n };\n\n return (\n <FilterDateSelector\n selectedDay={selectedDay}\n handleSelectedDay={handleSelectedDay as any}\n days={days}\n isLoading={isLoading}\n />\n );\n },\n args: {}, // <- NÃO defina selectedDay/days aqui\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,kBAAkB,QAAQ,uCAAuC;AAC1E,SAASC,gBAAgB,QAAQ,yBAAyB;AAG1D,MAAMC,IAAqC,GAAG;EAC5CC,KAAK,EAAE,+BAA+B;EACtCC,SAAS,EAAEJ,kBAA8B;EACzCK,IAAI,EAAE;IACJC,WAAW,EAAE;MACXC,IAAI,EAAE,EAAE;MACRC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE,IAAIC,IAAI,CAAC,EAAE;IACvB,CAAC;IACDC,iBAAiB,EAAGJ,IAAkB,IAAK;MACzC,OAAOA,IAAI;IACb,CAAC;IACDK,IAAI,EAAE;EACR,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeZ,IAAI;AAInB,OAAO,MAAMa,yBAAgC,GAAG;EAC9CC,IAAI,EAAE,gBAAgB;EACtBC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGpB,KAAK,CAACqB,QAAQ,CAAC,KAAK,CAAC;IAC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8B,GAAG;EAC5Cd,IAAI,EAAE,sBAAsB;EAC5BC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGpB,KAAK,CAACqB,QAAQ,CAAC,KAAK,CAAC;IAEvD,MAAMR,IAAI,GAAGX,gBAAgB,CAAC,CAAmB;IAEjD,MAAM,CAACK,WAAW,EAAEe,cAAc,CAAC,GAAGtB,KAAK,CAACqB,QAAQ,CAAMR,IAAI,CAAC,CAAC,CAAC,CAAC;;IAElE;IACA,MAAMD,iBAAiB,GAAIc,GAAiB,IAAK;MAC/CJ,cAAc,CAACI,GAAG,CAAC;MACnBN,YAAY,CAAC,IAAI,CAAC;MAClB;MACAS,UAAU,CAAC,MAAMT,YAAY,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAC7C,CAAC;IAED,oBACEpB,KAAA,CAAA8B,aAAA,CAAC7B,kBAAkB;MACjBM,WAAW,EAAEA,WAAY;MACzBK,iBAAiB,EAAEA,iBAAyB;MAC5CC,IAAI,EAAEA,IAAK;MACXM,SAAS,EAAEA;IAAU,CACtB,CAAC;EAEN,CAAC;EACDb,IAAI,EAAE,CAAC,CAAC,CAAE;AACZ,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["HistoryDetails","meta","title","component","args","numero","local","date","duracao","parameters","notes","Padrao","name"],"sources":["history-details.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { HistoryDetails } from \"../../components/history-details\";\r\n\r\nconst meta: Meta<typeof HistoryDetails> = {\r\n title: \"componente/HistoryDetails\",\r\n component: HistoryDetails,\r\n args: {\r\n numero: \"01020304050607\",\r\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date: \"24/03/2025\",\r\n duracao: \"00:30\",\r\n },\r\n parameters: {\r\n notes: ` HistoryDetails Este é um componente de detalhe do histórico.Você usa assim:\r\n <HistoryDetails\r\n numero=\"999999\"\r\n local=\"Doca 3, Pátio 05 - Usiminas (Ipatinga)\"\r\n date=\"2026-01-01\"\r\n duracao=\"01:15\"\r\n />`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Padrao: Story = {\r\n name: \"history-details-padrao\",\r\n args: {\r\n numero: \"01020304050607\",\r\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date: \"2025-03-24\",\r\n duracao: \"00:30\",\r\n },\r\n};\r\n"],"mappings":"AACA,SAASA,cAAc,QAAQ,kCAAkC;AAEjE,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEH,cAAc;EACzBI,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,MAAa,GAAG;EAC3BC,IAAI,EAAE,wBAAwB;EAC9BR,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["HistoryDetails","meta","title","component","args","numero","local","date","duracao","parameters","notes","Padrao","name"],"sources":["history-details.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\nimport { HistoryDetails } from \"../../components/history-details\";\n\nconst meta: Meta<typeof HistoryDetails> = {\n title: \"componente/HistoryDetails\",\n component: HistoryDetails,\n args: {\n numero: \"01020304050607\",\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date: \"24/03/2025\",\n duracao: \"00:30\",\n },\n parameters: {\n notes: ` HistoryDetails Este é um componente de detalhe do histórico.Você usa assim:\n <HistoryDetails\n numero=\"999999\"\n local=\"Doca 3, Pátio 05 - Usiminas (Ipatinga)\"\n date=\"2026-01-01\"\n duracao=\"01:15\"\n />`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Padrao: Story = {\n name: \"history-details-padrao\",\n args: {\n numero: \"01020304050607\",\n local: \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date: \"2025-03-24\",\n duracao: \"00:30\",\n },\n};\n"],"mappings":"AACA,SAASA,cAAc,QAAQ,kCAAkC;AAEjE,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEH,cAAc;EACzBI,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,MAAa,GAAG;EAC3BC,IAAI,EAAE,wBAAwB;EAC9BR,IAAI,EAAE;IACJC,MAAM,EAAE,gBAAgB;IACxBC,KAAK,EAAE,uCAAuC;IAC9CC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ImageCaptureWithRemove","meta","title","component","args","foto","status","parameters","notes","ImageCapture","name","handleTakePhoto","onRemove","ImageCaptureWithDelete","ImageCaptureWithStatus"],"sources":["image-capture-with-remove.stories.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { ImageCaptureWithRemove } from \"../../components/image-capture-with-remove\";\r\n\r\nconst meta: Meta<typeof ImageCaptureWithRemove> = {\r\n title: \"componente/ImageCaptureWithRemove\",\r\n component: ImageCaptureWithRemove as React.FC,\r\n args: {\r\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\r\n status: \"Cancelado\",\r\n },\r\n parameters: {\r\n notes: `\r\n# ImageCaptureWithRemove\r\n\r\nEste é um componente de ImageCaptureWithRemove.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ImageCaptureWithRemove\r\n\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const ImageCapture: Story = {\r\n name: \"image-capture-with\",\r\n args: {\r\n foto: null,\r\n handleTakePhoto: () => {},\r\n onRemove: () => {},\r\n },\r\n};\r\n\r\nexport const ImageCaptureWithDelete: Story = {\r\n name: \"image-capture-with-delete\",\r\n args: {\r\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\r\n handleTakePhoto: () => {},\r\n onRemove: () => {},\r\n },\r\n};\r\nexport const ImageCaptureWithStatus: Story = {\r\n name: \"image-capture-with-status\",\r\n args: {\r\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\r\n handleTakePhoto: () => {},\r\n onRemove: () => {},\r\n status: \"Pendente\",\r\n },\r\n};\r\n"],"mappings":"AAGA,SAASA,sBAAsB,QAAQ,4CAA4C;AAEnF,MAAMC,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEH,sBAAkC;EAC7CI,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,YAAmB,GAAG;EACjCC,IAAI,EAAE,oBAAoB;EAC1BN,IAAI,EAAE;IACJC,IAAI,EAAE,IAAI;IACVM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AAED,OAAO,MAAMC,sBAA6B,GAAG;EAC3CH,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AACD,OAAO,MAAME,sBAA6B,GAAG;EAC3CJ,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClBN,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ImageCaptureWithRemove","meta","title","component","args","foto","status","parameters","notes","ImageCapture","name","handleTakePhoto","onRemove","ImageCaptureWithDelete","ImageCaptureWithStatus"],"sources":["image-capture-with-remove.stories.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { ImageCaptureWithRemove } from \"../../components/image-capture-with-remove\";\n\nconst meta: Meta<typeof ImageCaptureWithRemove> = {\n title: \"componente/ImageCaptureWithRemove\",\n component: ImageCaptureWithRemove as React.FC,\n args: {\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\n status: \"Cancelado\",\n },\n parameters: {\n notes: `\n# ImageCaptureWithRemove\n\nEste é um componente de ImageCaptureWithRemove.\nVocê usa assim:\n\\`\\`\\`tsx\n<ImageCaptureWithRemove\n\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const ImageCapture: Story = {\n name: \"image-capture-with\",\n args: {\n foto: null,\n handleTakePhoto: () => {},\n onRemove: () => {},\n },\n};\n\nexport const ImageCaptureWithDelete: Story = {\n name: \"image-capture-with-delete\",\n args: {\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\n handleTakePhoto: () => {},\n onRemove: () => {},\n },\n};\nexport const ImageCaptureWithStatus: Story = {\n name: \"image-capture-with-status\",\n args: {\n foto: \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6OOy_GKxjzabOOBo22zHfg4TdWhubwnU7GQ&s\",\n handleTakePhoto: () => {},\n onRemove: () => {},\n status: \"Pendente\",\n },\n};\n"],"mappings":"AAGA,SAASA,sBAAsB,QAAQ,4CAA4C;AAEnF,MAAMC,IAAyC,GAAG;EAChDC,KAAK,EAAE,mCAAmC;EAC1CC,SAAS,EAAEH,sBAAkC;EAC7CI,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGC,MAAM,EAAE;EACV,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeP,IAAI;AAInB,OAAO,MAAMQ,YAAmB,GAAG;EACjCC,IAAI,EAAE,oBAAoB;EAC1BN,IAAI,EAAE;IACJC,IAAI,EAAE,IAAI;IACVM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AAED,OAAO,MAAMC,sBAA6B,GAAG;EAC3CH,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC;EACnB;AACF,CAAC;AACD,OAAO,MAAME,sBAA6B,GAAG;EAC3CJ,IAAI,EAAE,2BAA2B;EACjCN,IAAI,EAAE;IACJC,IAAI,EAAE,8FAA8F;IACpGM,eAAe,EAAEA,CAAA,KAAM,CAAC,CAAC;IACzBC,QAAQ,EAAEA,CAAA,KAAM,CAAC,CAAC;IAClBN,MAAM,EAAE;EACV;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["NotificationLoading","meta","title","component","args","date","handleNavigation","notification","statusNotify","dataStart","readonly","parameters","notes","NotificationLoadingPending","name","NotificationLoadingApproved","NotificationLoadingRecused","NotificationLoadingReadonly"],"sources":["notification-loading.stories.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\nimport { NotificationLoading } from \"../../components/notification-loading\";\r\n\r\nconst meta: Meta<typeof NotificationLoading> = {\r\n title: \"componente/NotificationLoading\",\r\n component: NotificationLoading as React.FC,\r\n args: {\r\n title: \"Carregamento - #013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"pending\",\r\n dataStart: \"Hoje\",\r\n readonly: false,\r\n },\r\n parameters: {\r\n notes: `\r\n# NotificationLoading\r\n\r\nEste é um componente de Card de notificação.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<NotificationLoading\r\n title=\"\"\r\n date=\"\"\r\n handleNavigation={() => {}}\r\n notification=\"\"\r\n statusNotify=\"\"\r\n dataStart: \"Hoje\",\r\n readonly: false,\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const NotificationLoadingPending: Story = {\r\n name: \"Notification-pending\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Pendente\",\r\n dataStart: \"Ontem\",\r\n },\r\n};\r\nexport const NotificationLoadingApproved: Story = {\r\n name: \"Notification-Approved\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Aprovado\",\r\n dataStart: \"Hoje\",\r\n },\r\n};\r\nexport const NotificationLoadingRecused: Story = {\r\n name: \"Notification-recused\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Reprovado\",\r\n dataStart: \"25 abril 2025\",\r\n },\r\n};\r\n\r\nexport const NotificationLoadingReadonly: Story = {\r\n name: \"Notification-readonly\",\r\n args: {\r\n title: \"#013200400456\",\r\n date: \"12:30 07/05/2025\",\r\n handleNavigation: () => {},\r\n notification: \"Hoje você tem um carregamento agendamento\",\r\n statusNotify: \"Reprovado\",\r\n dataStart: \"25 abril 2025\",\r\n readonly: true,\r\n },\r\n};\r\n"],"mappings":"AAGA,SAASA,mBAAmB,QAAQ,uCAAuC;AAE3E,MAAMC,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEH,mBAA+B;EAC1CI,IAAI,EAAE;IACJF,KAAK,EAAE,8BAA8B;IACrCG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,SAAS;IACvBC,SAAS,EAAE,MAAM;IACjBC,QAAQ,EAAE;EACZ,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeX,IAAI;AAInB,OAAO,MAAMY,0BAAiC,GAAG;EAC/CC,IAAI,EAAE,sBAAsB;EAC5BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACD,OAAO,MAAMM,2BAAkC,GAAG;EAChDD,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACD,OAAO,MAAMO,0BAAiC,GAAG;EAC/CF,IAAI,EAAE,sBAAsB;EAC5BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMQ,2BAAkC,GAAG;EAChDH,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE,eAAe;IAC1BC,QAAQ,EAAE;EACZ;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["NotificationLoading","meta","title","component","args","date","handleNavigation","notification","statusNotify","dataStart","readonly","parameters","notes","NotificationLoadingPending","name","NotificationLoadingApproved","NotificationLoadingRecused","NotificationLoadingReadonly"],"sources":["notification-loading.stories.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { StoryObj, Meta } from \"@storybook/react\";\nimport { NotificationLoading } from \"../../components/notification-loading\";\n\nconst meta: Meta<typeof NotificationLoading> = {\n title: \"componente/NotificationLoading\",\n component: NotificationLoading as React.FC,\n args: {\n title: \"Carregamento - #013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"pending\",\n dataStart: \"Hoje\",\n readonly: false,\n },\n parameters: {\n notes: `\n# NotificationLoading\n\nEste é um componente de Card de notificação.\nVocê usa assim:\n\\`\\`\\`tsx\n<NotificationLoading\n title=\"\"\n date=\"\"\n handleNavigation={() => {}}\n notification=\"\"\n statusNotify=\"\"\n dataStart: \"Hoje\",\n readonly: false,\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const NotificationLoadingPending: Story = {\n name: \"Notification-pending\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Pendente\",\n dataStart: \"Ontem\",\n },\n};\nexport const NotificationLoadingApproved: Story = {\n name: \"Notification-Approved\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Aprovado\",\n dataStart: \"Hoje\",\n },\n};\nexport const NotificationLoadingRecused: Story = {\n name: \"Notification-recused\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Reprovado\",\n dataStart: \"25 abril 2025\",\n },\n};\n\nexport const NotificationLoadingReadonly: Story = {\n name: \"Notification-readonly\",\n args: {\n title: \"#013200400456\",\n date: \"12:30 07/05/2025\",\n handleNavigation: () => {},\n notification: \"Hoje você tem um carregamento agendamento\",\n statusNotify: \"Reprovado\",\n dataStart: \"25 abril 2025\",\n readonly: true,\n },\n};\n"],"mappings":"AAGA,SAASA,mBAAmB,QAAQ,uCAAuC;AAE3E,MAAMC,IAAsC,GAAG;EAC7CC,KAAK,EAAE,gCAAgC;EACvCC,SAAS,EAAEH,mBAA+B;EAC1CI,IAAI,EAAE;IACJF,KAAK,EAAE,8BAA8B;IACrCG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,SAAS;IACvBC,SAAS,EAAE,MAAM;IACjBC,QAAQ,EAAE;EACZ,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeX,IAAI;AAInB,OAAO,MAAMY,0BAAiC,GAAG;EAC/CC,IAAI,EAAE,sBAAsB;EAC5BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACD,OAAO,MAAMM,2BAAkC,GAAG;EAChDD,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,UAAU;IACxBC,SAAS,EAAE;EACb;AACF,CAAC;AACD,OAAO,MAAMO,0BAAiC,GAAG;EAC/CF,IAAI,EAAE,sBAAsB;EAC5BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE;EACb;AACF,CAAC;AAED,OAAO,MAAMQ,2BAAkC,GAAG;EAChDH,IAAI,EAAE,uBAAuB;EAC7BV,IAAI,EAAE;IACJF,KAAK,EAAE,eAAe;IACtBG,IAAI,EAAE,kBAAkB;IACxBC,gBAAgB,EAAEA,CAAA,KAAM,CAAC,CAAC;IAC1BC,YAAY,EAAE,2CAA2C;IACzDC,YAAY,EAAE,WAAW;IACzBC,SAAS,EAAE,eAAe;IAC1BC,QAAQ,EAAE;EACZ;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["ProfileMenuOption","theme","meta","title","component","args","text","icon","backgroundColor","colors","blue","colorIcon","neutral","handleNavigation","parameters","notes","Default","name","CustomColor","Support"],"sources":["profile-menu-option.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { ProfileMenuOption } from \"../../components/profile-menu-option\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof ProfileMenuOption> = {\r\n title: \"componente/ProfileMenuOption\",\r\n component: ProfileMenuOption,\r\n args: {\r\n text: \"Perfil\",\r\n icon: \"AGENT\",\r\n backgroundColor: theme.colors.blue[400],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n parameters: {\r\n notes: `\r\n# ProfileMenuOption\r\n\r\nEste é um componente de opção de menu para perfil.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<ProfileMenuOption\r\n text=\"Perfil\"\r\n icon=\"AGENT\"\r\n backgroundColor={theme.colors.blue[400]}\r\n colorIcon={theme.colors.neutral[25]}\r\n handleNavigation={() => {}}\r\n/>\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Default: Story = {\r\n name: \"profile-menu-option\",\r\n args: {\r\n text: \"Perfil\",\r\n icon: \"AGENT\",\r\n backgroundColor: theme.colors.blue[400],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n};\r\n\r\nexport const CustomColor: Story = {\r\n name: \"profile-menu-option-custom-color\",\r\n args: {\r\n text: \"Configurações\",\r\n icon: \"GEAR\",\r\n backgroundColor: theme.colors.blue[500],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n};\r\n\r\nexport const Support: Story = {\r\n name: \"profile-menu-option-support\",\r\n args: {\r\n text: \"Suporte\",\r\n icon: \"LIFEBUOY\",\r\n backgroundColor: theme.colors.blue[400],\r\n colorIcon: theme.colors.neutral[25],\r\n handleNavigation: () => {},\r\n },\r\n};\r\n"],"mappings":"AAEA,SAASA,iBAAiB,QAAQ,sCAAsC;AACxE,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEJ,iBAAiB;EAC5BK,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeb,IAAI;AAInB,OAAO,MAAMc,OAAc,GAAG;EAC5BC,IAAI,EAAE,qBAAqB;EAC3BZ,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMK,WAAkB,GAAG;EAChCD,IAAI,EAAE,kCAAkC;EACxCZ,IAAI,EAAE;IACJC,IAAI,EAAE,eAAe;IACrBC,IAAI,EAAE,MAAM;IACZC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMM,OAAc,GAAG;EAC5BF,IAAI,EAAE,6BAA6B;EACnCZ,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,UAAU;IAChBC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["ProfileMenuOption","theme","meta","title","component","args","text","icon","backgroundColor","colors","blue","colorIcon","neutral","handleNavigation","parameters","notes","Default","name","CustomColor","Support"],"sources":["profile-menu-option.stories.tsx"],"sourcesContent":["import type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { ProfileMenuOption } from \"../../components/profile-menu-option\";\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof ProfileMenuOption> = {\n title: \"componente/ProfileMenuOption\",\n component: ProfileMenuOption,\n args: {\n text: \"Perfil\",\n icon: \"AGENT\",\n backgroundColor: theme.colors.blue[400],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n parameters: {\n notes: `\n# ProfileMenuOption\n\nEste é um componente de opção de menu para perfil.\nVocê usa assim:\n\\`\\`\\`tsx\n<ProfileMenuOption\n text=\"Perfil\"\n icon=\"AGENT\"\n backgroundColor={theme.colors.blue[400]}\n colorIcon={theme.colors.neutral[25]}\n handleNavigation={() => {}}\n/>\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Default: Story = {\n name: \"profile-menu-option\",\n args: {\n text: \"Perfil\",\n icon: \"AGENT\",\n backgroundColor: theme.colors.blue[400],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n};\n\nexport const CustomColor: Story = {\n name: \"profile-menu-option-custom-color\",\n args: {\n text: \"Configurações\",\n icon: \"GEAR\",\n backgroundColor: theme.colors.blue[500],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n};\n\nexport const Support: Story = {\n name: \"profile-menu-option-support\",\n args: {\n text: \"Suporte\",\n icon: \"LIFEBUOY\",\n backgroundColor: theme.colors.blue[400],\n colorIcon: theme.colors.neutral[25],\n handleNavigation: () => {},\n },\n};\n"],"mappings":"AAEA,SAASA,iBAAiB,QAAQ,sCAAsC;AACxE,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAoC,GAAG;EAC3CC,KAAK,EAAE,8BAA8B;EACrCC,SAAS,EAAEJ,iBAAiB;EAC5BK,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeb,IAAI;AAInB,OAAO,MAAMc,OAAc,GAAG;EAC5BC,IAAI,EAAE,qBAAqB;EAC3BZ,IAAI,EAAE;IACJC,IAAI,EAAE,QAAQ;IACdC,IAAI,EAAE,OAAO;IACbC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMK,WAAkB,GAAG;EAChCD,IAAI,EAAE,kCAAkC;EACxCZ,IAAI,EAAE;IACJC,IAAI,EAAE,eAAe;IACrBC,IAAI,EAAE,MAAM;IACZC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC;AAED,OAAO,MAAMM,OAAc,GAAG;EAC5BF,IAAI,EAAE,6BAA6B;EACnCZ,IAAI,EAAE;IACJC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,UAAU;IAChBC,eAAe,EAAEP,KAAK,CAACQ,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IACvCC,SAAS,EAAEV,KAAK,CAACQ,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACnCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;EAC3B;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["StepIndicator","theme","meta","title","component","args","data","id","descricao","data_inicio","data_fim","duracao_segundos","backgroundColorBall","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","dataMock","dataMockCustom","StepIndicatorDefault","name","type","textColorDescription","gray","StepIndicationCustom","orange"],"sources":["step-indicator.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\r\n\r\n// components\r\nimport { StepIndicator } from \"../../components/step-indicator\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst meta: Meta<typeof StepIndicator> = {\r\n title: \"Componente/StepIndicator\",\r\n component: StepIndicator,\r\n args: {\r\n data: [\r\n {\r\n id: 1,\r\n descricao: \"Repouso Noturno\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n ],\r\n backgroundColorBall: theme.colors.blue[500],\r\n titleColor: theme.colors.neutral[25],\r\n titleNumberColor: theme.colors.neutral[25],\r\n },\r\n parameters: {\r\n notes: `\r\n# StepIndicator\r\n\r\nEste é um componente de step indicator.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<StepIndicator\r\n backgroundColorBall=\"#050022\"\r\n type=\"default\"\r\n data={dataMock}\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nconst dataMock = [\r\n {\r\n id: 1,\r\n descricao: \"Repouso Noturno\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n {\r\n id: 2,\r\n descricao: \"Descarga\",\r\n data_inicio: \"06/03/2024 14:52\",\r\n data_fim: \"06/03/2024 16:52\",\r\n duracao_segundos: \"7200\",\r\n },\r\n];\r\n\r\nconst dataMockCustom = [\r\n {\r\n id: 1,\r\n descricao: \"Pedido Realizado\",\r\n data_inicio: \"\",\r\n data_fim: \"\",\r\n duracao_segundos: \"\",\r\n },\r\n {\r\n id: 2,\r\n descricao: \"Pagamento Aprovado\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n {\r\n id: 3,\r\n descricao: \"Pedido Faturado\",\r\n data_inicio: \"\",\r\n data_fim: \"\",\r\n duracao_segundos: \"\",\r\n },\r\n {\r\n id: 4,\r\n descricao: \"Pedido Enviado\",\r\n data_inicio: \"\",\r\n data_fim: \"\",\r\n duracao_segundos: \"\",\r\n },\r\n {\r\n id: 4,\r\n descricao: \"Pedido Entregue\",\r\n data_inicio: \"07/03/2024 14:52\",\r\n data_fim: \"07/03/2024 17:52\",\r\n duracao_segundos: \"3601\",\r\n },\r\n];\r\n\r\nexport const StepIndicatorDefault: Story = {\r\n name: \"step-indicator-default\",\r\n args: {\r\n data: dataMock,\r\n type: \"default\",\r\n backgroundColorBall: theme.colors.blue[500],\r\n titleColor: theme.colors.neutral[25],\r\n textColorDescription: theme.colors.gray[300],\r\n titleNumberColor: theme.colors.neutral[25],\r\n },\r\n};\r\n\r\nexport const StepIndicationCustom: Story = {\r\n name: \"step-indicator-custom\",\r\n args: {\r\n data: dataMockCustom,\r\n type: \"custom\",\r\n backgroundColorBall: theme.colors.orange[150],\r\n titleColor: theme.colors.blue[500],\r\n textColorDescription: theme.colors.gray[300],\r\n titleNumberColor: theme.colors.neutral[25],\r\n },\r\n};\r\n"],"mappings":"AAEA;AACA,SAASA,aAAa,QAAQ,iCAAiC;;AAE/D;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEJ,aAAa;EACxBK,IAAI,EAAE;IACJC,IAAI,EAAE,CACJ;MACEC,EAAE,EAAE,CAAC;MACLC,SAAS,EAAE,iBAAiB;MAC5BC,WAAW,EAAE,kBAAkB;MAC/BC,QAAQ,EAAE,kBAAkB;MAC5BC,gBAAgB,EAAE;IACpB,CAAC,CACF;IACDC,m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EACZC,gBAAgB,EAAE;AACpB,CAAC,EACD;EACEJ,EAAE,EAAE,CAAC;EACLC,SAAS,EAAE,iBAAiB;EAC5BC,WAAW,EAAE,kBAAkB;EAC/BC,QAAQ,EAAE,kBAAkB;EAC5BC,gBAAgB,EAAE;AACpB,CAAC,CACF;AAED,OAAO,MAAMW,oBAA2B,GAAG;EACzCC,IAAI,EAAE,wBAAwB;EAC9BlB,IAAI,EAAE;IACJC,IAAI,EAAEc,QAAQ;IACdI,IAAI,EAAE,SAAS;IACfZ,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAC3CC,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCS,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC;AAED,OAAO,MAAMW,oBAA2B,GAAG;EACzCJ,IAAI,EAAE,uBAAuB;EAC7BlB,IAAI,EAAE;IACJC,IAAI,EAAEe,cAAc;IACpBG,IAAI,EAAE,QAAQ;IACdZ,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACe,MAAM,CAAC,GAAG,CAAC;IAC7Cb,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAClCW,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["StepIndicator","theme","meta","title","component","args","data","id","descricao","data_inicio","data_fim","duracao_segundos","backgroundColorBall","colors","blue","titleColor","neutral","titleNumberColor","parameters","notes","dataMock","dataMockCustom","StepIndicatorDefault","name","type","textColorDescription","gray","StepIndicationCustom","orange"],"sources":["step-indicator.stories.tsx"],"sourcesContent":["import { Meta, StoryObj } from \"@storybook/react\";\n\n// components\nimport { StepIndicator } from \"../../components/step-indicator\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst meta: Meta<typeof StepIndicator> = {\n title: \"Componente/StepIndicator\",\n component: StepIndicator,\n args: {\n data: [\n {\n id: 1,\n descricao: \"Repouso Noturno\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n ],\n backgroundColorBall: theme.colors.blue[500],\n titleColor: theme.colors.neutral[25],\n titleNumberColor: theme.colors.neutral[25],\n },\n parameters: {\n notes: `\n# StepIndicator\n\nEste é um componente de step indicator.\nVocê usa assim:\n\\`\\`\\`tsx\n<StepIndicator\n backgroundColorBall=\"#050022\"\n type=\"default\"\n data={dataMock}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nconst dataMock = [\n {\n id: 1,\n descricao: \"Repouso Noturno\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n {\n id: 2,\n descricao: \"Descarga\",\n data_inicio: \"06/03/2024 14:52\",\n data_fim: \"06/03/2024 16:52\",\n duracao_segundos: \"7200\",\n },\n];\n\nconst dataMockCustom = [\n {\n id: 1,\n descricao: \"Pedido Realizado\",\n data_inicio: \"\",\n data_fim: \"\",\n duracao_segundos: \"\",\n },\n {\n id: 2,\n descricao: \"Pagamento Aprovado\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n {\n id: 3,\n descricao: \"Pedido Faturado\",\n data_inicio: \"\",\n data_fim: \"\",\n duracao_segundos: \"\",\n },\n {\n id: 4,\n descricao: \"Pedido Enviado\",\n data_inicio: \"\",\n data_fim: \"\",\n duracao_segundos: \"\",\n },\n {\n id: 4,\n descricao: \"Pedido Entregue\",\n data_inicio: \"07/03/2024 14:52\",\n data_fim: \"07/03/2024 17:52\",\n duracao_segundos: \"3601\",\n },\n];\n\nexport const StepIndicatorDefault: Story = {\n name: \"step-indicator-default\",\n args: {\n data: dataMock,\n type: \"default\",\n backgroundColorBall: theme.colors.blue[500],\n titleColor: theme.colors.neutral[25],\n textColorDescription: theme.colors.gray[300],\n titleNumberColor: theme.colors.neutral[25],\n },\n};\n\nexport const StepIndicationCustom: Story = {\n name: \"step-indicator-custom\",\n args: {\n data: dataMockCustom,\n type: \"custom\",\n backgroundColorBall: theme.colors.orange[150],\n titleColor: theme.colors.blue[500],\n textColorDescription: theme.colors.gray[300],\n titleNumberColor: theme.colors.neutral[25],\n },\n};\n"],"mappings":"AAEA;AACA,SAASA,aAAa,QAAQ,iCAAiC;;AAE/D;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,IAAgC,GAAG;EACvCC,KAAK,EAAE,0BAA0B;EACjCC,SAAS,EAAEJ,aAAa;EACxBK,IAAI,EAAE;IACJC,IAAI,EAAE,CACJ;MACEC,EAAE,EAAE,CAAC;MACLC,SAAS,EAAE,iBAAiB;MAC5BC,WAAW,EAAE,kBAAkB;MAC/BC,QAAQ,EAAE,kBAAkB;MAC5BC,gBAAgB,EAAE;IACpB,CAAC,CACF;IACDC,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAC3CC,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCC,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C,CAAC;EACDE,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAejB,IAAI;AAInB,MAAMkB,QAAQ,GAAG,CACf;EACEb,EAAE,EAAE,CAAC;EAC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,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE,CAAC;IACpCS,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC;AAED,OAAO,MAAMW,oBAA2B,GAAG;EACzCJ,IAAI,EAAE,uBAAuB;EAC7BlB,IAAI,EAAE;IACJC,IAAI,EAAEe,cAAc;IACpBG,IAAI,EAAE,QAAQ;IACdZ,mBAAmB,EAAEX,KAAK,CAACY,MAAM,CAACe,MAAM,CAAC,GAAG,CAAC;IAC7Cb,UAAU,EAAEd,KAAK,CAACY,MAAM,CAACC,IAAI,CAAC,GAAG,CAAC;IAClCW,oBAAoB,EAAExB,KAAK,CAACY,MAAM,CAACa,IAAI,CAAC,GAAG,CAAC;IAC5CT,gBAAgB,EAAEhB,KAAK,CAACY,MAAM,CAACG,OAAO,CAAC,EAAE;EAC3C;AACF,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * IMPORTS
1
+ /**
2
+ * IMPORTS
3
3
  */
4
4
 
5
5
  const borderWidths = {
@@ -148,8 +148,8 @@ const letterSpacing = {
148
148
  strong: 1
149
149
  };
150
150
 
151
- /**
152
- * EXPORTSS
151
+ /**
152
+ * EXPORTSS
153
153
  */
154
154
  export const theme = {
155
155
  borderWidths,
@@ -1 +1 @@
1
- {"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme"],"sources":["theme.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nconst borderWidths = {\r\n thin: 1,\r\n thin_medium: 2,\r\n thin_bold: 6,\r\n thick: 4,\r\n thick_medium: 8,\r\n thick_bold: 12,\r\n thick_large: 16,\r\n hairline: 999,\r\n};\r\n\r\nconst colors = {\r\n neutral: {\r\n 25: \"#FFFFFF\",\r\n 50: \"#E7EEFF\",\r\n 75: \"#E5E1F9\",\r\n 200: \"#C6C6C6\",\r\n 300: \"#F3F3F3\",\r\n 400: \"#F4F5F6\",\r\n },\r\n black: {\r\n 10: \"#000000\",\r\n 25: \"#1E1E1E\",\r\n 100: \"#393939\",\r\n 180: \"#35302B\",\r\n },\r\n blue: {\r\n 25: \"#1E1E1E\",\r\n 50: \"#1EA7fD\",\r\n 100: \"#051C3B\",\r\n 150: \"#2E41F2\",\r\n 350: \"#357FD6\",\r\n 375: \"#056CF2\",\r\n 400: \"#2D3748\",\r\n 400_50: \"#2D374880\",\r\n 500: \"#050022\",\r\n 525: \"#051C3B\",\r\n },\r\n red: {\r\n 400: \"#D23A1A\",\r\n 500: \"#C54239\",\r\n 600: \"#B3261E\",\r\n 800: \"#E72626\",\r\n 900: \"#9F0000\",\r\n },\r\n gray: {\r\n 300: \"#D9D9D9\",\r\n 350: \"#CDCDCD\",\r\n 400: \"#C6C6C6\",\r\n 500: \"#1c1c1e\",\r\n 600: \"#5E5E5E\",\r\n 700: \"#727272\",\r\n 800: \"#837676\",\r\n 850: \"#868686\",\r\n 875: \"#949494\",\r\n 900: \"#9B9B9B\",\r\n 925: \"#957c5f\",\r\n 950: \"#94a3b8\",\r\n },\r\n green: {\r\n 200: \"#25BA76\",\r\n 250: \"#20AD48\",\r\n 400: \"#49C63E\",\r\n 500: \"#50C58F\",\r\n },\r\n orange: {\r\n 500: \"#FC5701\",\r\n 450: \"#FC6C2D\",\r\n 150: \"#FFA41C\",\r\n },\r\n yellow: {\r\n 100: \"#DFAE00\",\r\n 50: \"#F0CA4B\",\r\n 75: \"#F59E0B\",\r\n },\r\n};\r\n\r\nconst fonts = {\r\n inter_thin_100: \"Inter-Thin\",\r\n inter_extra_light_200: \"Inter-ExtraLight\",\r\n inter_light_300: \"Inter-Light\",\r\n inter_regular_400: \"Inter-Regular\",\r\n inter_medium_500: \"Inter-Medium\",\r\n inter_semi_bold_600: \"Inter-SemiBold\",\r\n inter_bold_700: \"Inter-Bold\",\r\n inter_extra_bold_800: \"Inter-ExtraBold\",\r\n inter_bold: \"Inter-Bold\",\r\n};\r\n\r\nconst fontSizes = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 32,\r\n \"4xl\": 38,\r\n \"5xl\": 50,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst margins = {\r\n \"1xs\": 6,\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst paddings = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst shadows = {\r\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\r\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\r\n};\r\n\r\nconst letterSpacing = {\r\n o_16: 0.16,\r\n regular: 0.5,\r\n medium: 0.75,\r\n strong: 1,\r\n};\r\n\r\n/**\r\n * EXPORTSS\r\n */\r\nexport const theme = {\r\n borderWidths,\r\n colors,\r\n fonts,\r\n fontSizes,\r\n margins,\r\n shadows,\r\n paddings,\r\n letterSpacing,\r\n};\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,KAAM,EAAE,WAAW;IACnB,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,GAAG,EAAE;IACH,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,IAAI,EAAE;IACJ,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE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,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAME,QAAQ,GAAG;EACf,KAAK,EAAE,EAAE;EACTN,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAMG,OAAO,GAAG;EACdC,EAAE,EAAE,qEAAqE;EACzEC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,KAAK,GAAG;EACnB5C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme"],"sources":["theme.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst borderWidths = {\n thin: 1,\n thin_medium: 2,\n thin_bold: 6,\n thick: 4,\n thick_medium: 8,\n thick_bold: 12,\n thick_large: 16,\n hairline: 999,\n};\n\nconst colors = {\n neutral: {\n 25: \"#FFFFFF\",\n 50: \"#E7EEFF\",\n 75: \"#E5E1F9\",\n 200: \"#C6C6C6\",\n 300: \"#F3F3F3\",\n 400: \"#F4F5F6\",\n },\n black: {\n 10: \"#000000\",\n 25: \"#1E1E1E\",\n 100: \"#393939\",\n 180: \"#35302B\",\n },\n blue: {\n 25: \"#1E1E1E\",\n 50: \"#1EA7fD\",\n 100: \"#051C3B\",\n 150: \"#2E41F2\",\n 350: \"#357FD6\",\n 375: \"#056CF2\",\n 400: \"#2D3748\",\n 400_50: \"#2D374880\",\n 500: \"#050022\",\n 525: \"#051C3B\",\n },\n red: {\n 400: \"#D23A1A\",\n 500: \"#C54239\",\n 600: \"#B3261E\",\n 800: \"#E72626\",\n 900: \"#9F0000\",\n },\n gray: {\n 300: \"#D9D9D9\",\n 350: \"#CDCDCD\",\n 400: \"#C6C6C6\",\n 500: \"#1c1c1e\",\n 600: \"#5E5E5E\",\n 700: \"#727272\",\n 800: \"#837676\",\n 850: \"#868686\",\n 875: \"#949494\",\n 900: \"#9B9B9B\",\n 925: \"#957c5f\",\n 950: \"#94a3b8\",\n },\n green: {\n 200: \"#25BA76\",\n 250: \"#20AD48\",\n 400: \"#49C63E\",\n 500: \"#50C58F\",\n },\n orange: {\n 500: \"#FC5701\",\n 450: \"#FC6C2D\",\n 150: \"#FFA41C\",\n },\n yellow: {\n 100: \"#DFAE00\",\n 50: \"#F0CA4B\",\n 75: \"#F59E0B\",\n },\n};\n\nconst fonts = {\n inter_thin_100: \"Inter-Thin\",\n inter_extra_light_200: \"Inter-ExtraLight\",\n inter_light_300: \"Inter-Light\",\n inter_regular_400: \"Inter-Regular\",\n inter_medium_500: \"Inter-Medium\",\n inter_semi_bold_600: \"Inter-SemiBold\",\n inter_bold_700: \"Inter-Bold\",\n inter_extra_bold_800: \"Inter-ExtraBold\",\n inter_bold: \"Inter-Bold\",\n};\n\nconst fontSizes = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 32,\n \"4xl\": 38,\n \"5xl\": 50,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst margins = {\n \"1xs\": 6,\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst paddings = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst shadows = {\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\n};\n\nconst letterSpacing = {\n o_16: 0.16,\n regular: 0.5,\n medium: 0.75,\n strong: 1,\n};\n\n/**\n * EXPORTSS\n */\nexport const theme = {\n borderWidths,\n colors,\n fonts,\n fontSizes,\n margins,\n shadows,\n paddings,\n letterSpacing,\n};\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,Q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