kitunga-web 0.1.78

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 (402) hide show
  1. package/dist/features/buttons/components/Btns/Button.d.ts +32 -0
  2. package/dist/features/buttons/components/Btns/Button.d.ts.map +1 -0
  3. package/dist/features/buttons/components/Btns/Button.js +50 -0
  4. package/dist/features/buttons/components/Btns/Button.js.map +1 -0
  5. package/dist/features/buttons/components/Btns/Button.module.css +205 -0
  6. package/dist/features/data-display/components/Cards/ChartCard.d.ts +9 -0
  7. package/dist/features/data-display/components/Cards/ChartCard.d.ts.map +1 -0
  8. package/dist/features/data-display/components/Cards/ChartCard.js +7 -0
  9. package/dist/features/data-display/components/Cards/ChartCard.js.map +1 -0
  10. package/dist/features/data-display/components/Cards/ChartCard.module.css +27 -0
  11. package/dist/features/data-display/components/Cards/MetricCard.d.ts +11 -0
  12. package/dist/features/data-display/components/Cards/MetricCard.d.ts.map +1 -0
  13. package/dist/features/data-display/components/Cards/MetricCard.js +10 -0
  14. package/dist/features/data-display/components/Cards/MetricCard.js.map +1 -0
  15. package/dist/features/data-display/components/Cards/MetricCard.module.css +86 -0
  16. package/dist/features/data-display/components/Cards/StatCard.d.ts +15 -0
  17. package/dist/features/data-display/components/Cards/StatCard.d.ts.map +1 -0
  18. package/dist/features/data-display/components/Cards/StatCard.js +23 -0
  19. package/dist/features/data-display/components/Cards/StatCard.js.map +1 -0
  20. package/dist/features/data-display/components/Cards/StatCard.module.css +98 -0
  21. package/dist/features/data-display/components/Table/LineItemsTable.d.ts +4 -0
  22. package/dist/features/data-display/components/Table/LineItemsTable.d.ts.map +1 -0
  23. package/dist/features/data-display/components/Table/LineItemsTable.js +216 -0
  24. package/dist/features/data-display/components/Table/LineItemsTable.js.map +1 -0
  25. package/dist/features/data-display/components/Table/LineItemsTable.module.css +223 -0
  26. package/dist/features/data-display/components/Table/Table.d.ts +4 -0
  27. package/dist/features/data-display/components/Table/Table.d.ts.map +1 -0
  28. package/dist/features/data-display/components/Table/Table.js +181 -0
  29. package/dist/features/data-display/components/Table/Table.js.map +1 -0
  30. package/dist/features/data-display/components/Table/Table.module.css +305 -0
  31. package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts +83 -0
  32. package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts.map +1 -0
  33. package/dist/features/data-display/components/Table/types/LineItemsTable.js +2 -0
  34. package/dist/features/data-display/components/Table/types/LineItemsTable.js.map +1 -0
  35. package/dist/features/data-display/components/Table/types/Table.d.ts +78 -0
  36. package/dist/features/data-display/components/Table/types/Table.d.ts.map +1 -0
  37. package/dist/features/data-display/components/Table/types/Table.js +2 -0
  38. package/dist/features/data-display/components/Table/types/Table.js.map +1 -0
  39. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts +12 -0
  40. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts.map +1 -0
  41. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js +7 -0
  42. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js.map +1 -0
  43. package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.module.css +36 -0
  44. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts +18 -0
  45. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts.map +1 -0
  46. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js +52 -0
  47. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js.map +1 -0
  48. package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.module.css +90 -0
  49. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts +21 -0
  50. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts.map +1 -0
  51. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js +37 -0
  52. package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js.map +1 -0
  53. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts +15 -0
  54. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts.map +1 -0
  55. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js +56 -0
  56. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js.map +1 -0
  57. package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.module.css +90 -0
  58. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts +9 -0
  59. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts.map +1 -0
  60. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js +9 -0
  61. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js.map +1 -0
  62. package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.module.css +36 -0
  63. package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts +8 -0
  64. package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts.map +1 -0
  65. package/dist/features/feedback/components/FlowNotice/FlowNotice.js +52 -0
  66. package/dist/features/feedback/components/FlowNotice/FlowNotice.js.map +1 -0
  67. package/dist/features/feedback/components/FlowNotice/FlowNotice.module.css +122 -0
  68. package/dist/features/feedback/components/Loading/AppLoading.d.ts +14 -0
  69. package/dist/features/feedback/components/Loading/AppLoading.d.ts.map +1 -0
  70. package/dist/features/feedback/components/Loading/AppLoading.js +17 -0
  71. package/dist/features/feedback/components/Loading/AppLoading.js.map +1 -0
  72. package/dist/features/feedback/components/Loading/AppLoading.module.css +95 -0
  73. package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts +24 -0
  74. package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts.map +1 -0
  75. package/dist/features/feedback/components/SuccesModal/ModalSuccess.js +11 -0
  76. package/dist/features/feedback/components/SuccesModal/ModalSuccess.js.map +1 -0
  77. package/dist/features/feedback/components/SuccesModal/ModalSuccess.module.css +141 -0
  78. package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts +10 -0
  79. package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts.map +1 -0
  80. package/dist/features/feedback/components/Tooltips/InfoTooltip.js +48 -0
  81. package/dist/features/feedback/components/Tooltips/InfoTooltip.js.map +1 -0
  82. package/dist/features/feedback/components/Tooltips/InfoTooltip.module.css +123 -0
  83. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts +11 -0
  84. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts.map +1 -0
  85. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js +8 -0
  86. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js.map +1 -0
  87. package/dist/features/feedback/components/Tooltips/InfoTooltipContent.module.css +58 -0
  88. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts +27 -0
  89. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts.map +1 -0
  90. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js +56 -0
  91. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js.map +1 -0
  92. package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.module.css +200 -0
  93. package/dist/features/inputs/components/DatePicker/DatePicker.d.ts +13 -0
  94. package/dist/features/inputs/components/DatePicker/DatePicker.d.ts.map +1 -0
  95. package/dist/features/inputs/components/DatePicker/DatePicker.js +97 -0
  96. package/dist/features/inputs/components/DatePicker/DatePicker.js.map +1 -0
  97. package/dist/features/inputs/components/DatePicker/DatePicker.module.css +186 -0
  98. package/dist/features/inputs/components/Inputs/DateInput.d.ts +27 -0
  99. package/dist/features/inputs/components/Inputs/DateInput.d.ts.map +1 -0
  100. package/dist/features/inputs/components/Inputs/DateInput.js +236 -0
  101. package/dist/features/inputs/components/Inputs/DateInput.js.map +1 -0
  102. package/dist/features/inputs/components/Inputs/DateInput.module.css +301 -0
  103. package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts +24 -0
  104. package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts.map +1 -0
  105. package/dist/features/inputs/components/Inputs/DateRangeInput.js +10 -0
  106. package/dist/features/inputs/components/Inputs/DateRangeInput.js.map +1 -0
  107. package/dist/features/inputs/components/Inputs/DateRangeInput.module.css +24 -0
  108. package/dist/features/inputs/components/Inputs/NumberInput.d.ts +21 -0
  109. package/dist/features/inputs/components/Inputs/NumberInput.d.ts.map +1 -0
  110. package/dist/features/inputs/components/Inputs/NumberInput.js +82 -0
  111. package/dist/features/inputs/components/Inputs/NumberInput.js.map +1 -0
  112. package/dist/features/inputs/components/Inputs/NumberInput.module.css +148 -0
  113. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts +9 -0
  114. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts.map +1 -0
  115. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js +187 -0
  116. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js.map +1 -0
  117. package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.module.css +259 -0
  118. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts +3 -0
  119. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts.map +1 -0
  120. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js +20 -0
  121. package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js.map +1 -0
  122. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts +3 -0
  123. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts.map +1 -0
  124. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js +9 -0
  125. package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js.map +1 -0
  126. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts +5 -0
  127. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts.map +1 -0
  128. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js +48 -0
  129. package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js.map +1 -0
  130. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts +3 -0
  131. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts.map +1 -0
  132. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js +9 -0
  133. package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js.map +1 -0
  134. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts +3 -0
  135. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts.map +1 -0
  136. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js +17 -0
  137. package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js.map +1 -0
  138. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts +10 -0
  139. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts.map +1 -0
  140. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js +2 -0
  141. package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js.map +1 -0
  142. package/dist/features/inputs/components/Inputs/SearchInput.d.ts +13 -0
  143. package/dist/features/inputs/components/Inputs/SearchInput.d.ts.map +1 -0
  144. package/dist/features/inputs/components/Inputs/SearchInput.js +12 -0
  145. package/dist/features/inputs/components/Inputs/SearchInput.js.map +1 -0
  146. package/dist/features/inputs/components/Inputs/SearchInput.module.css +107 -0
  147. package/dist/features/inputs/components/Inputs/StepperInput.d.ts +14 -0
  148. package/dist/features/inputs/components/Inputs/StepperInput.d.ts.map +1 -0
  149. package/dist/features/inputs/components/Inputs/StepperInput.js +44 -0
  150. package/dist/features/inputs/components/Inputs/StepperInput.js.map +1 -0
  151. package/dist/features/inputs/components/Inputs/StepperInput.module.css +96 -0
  152. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts +15 -0
  153. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts.map +1 -0
  154. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js +102 -0
  155. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js.map +1 -0
  156. package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.module.css +259 -0
  157. package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts +5 -0
  158. package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts.map +1 -0
  159. package/dist/features/inputs/components/Inputs/TaxIdInput/index.js +3 -0
  160. package/dist/features/inputs/components/Inputs/TaxIdInput/index.js.map +1 -0
  161. package/dist/features/inputs/components/Inputs/TextInput.d.ts +4 -0
  162. package/dist/features/inputs/components/Inputs/TextInput.d.ts.map +1 -0
  163. package/dist/features/inputs/components/Inputs/TextInput.js +61 -0
  164. package/dist/features/inputs/components/Inputs/TextInput.js.map +1 -0
  165. package/dist/features/inputs/components/Inputs/TextInput.module.css +174 -0
  166. package/dist/features/inputs/components/Inputs/TextareaInput.d.ts +4 -0
  167. package/dist/features/inputs/components/Inputs/TextareaInput.d.ts.map +1 -0
  168. package/dist/features/inputs/components/Inputs/TextareaInput.js +45 -0
  169. package/dist/features/inputs/components/Inputs/TextareaInput.js.map +1 -0
  170. package/dist/features/inputs/components/Inputs/TextareaInput.module.css +144 -0
  171. package/dist/features/inputs/components/Inputs/types/input.types.d.ts +28 -0
  172. package/dist/features/inputs/components/Inputs/types/input.types.d.ts.map +1 -0
  173. package/dist/features/inputs/components/Inputs/types/input.types.js +2 -0
  174. package/dist/features/inputs/components/Inputs/types/input.types.js.map +1 -0
  175. package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts +25 -0
  176. package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts.map +1 -0
  177. package/dist/features/navigation/components/Menu/SharedMenuItem.js +40 -0
  178. package/dist/features/navigation/components/Menu/SharedMenuItem.js.map +1 -0
  179. package/dist/features/navigation/components/Menu/SharedMenuItem.module.css +219 -0
  180. package/dist/features/navigation/components/PageFooter/PageFooter.d.ts +13 -0
  181. package/dist/features/navigation/components/PageFooter/PageFooter.d.ts.map +1 -0
  182. package/dist/features/navigation/components/PageFooter/PageFooter.js +52 -0
  183. package/dist/features/navigation/components/PageFooter/PageFooter.js.map +1 -0
  184. package/dist/features/navigation/components/PageFooter/PageFooter.module.css +24 -0
  185. package/dist/features/navigation/components/PageHeader/PageHeader.d.ts +14 -0
  186. package/dist/features/navigation/components/PageHeader/PageHeader.d.ts.map +1 -0
  187. package/dist/features/navigation/components/PageHeader/PageHeader.js +22 -0
  188. package/dist/features/navigation/components/PageHeader/PageHeader.js.map +1 -0
  189. package/dist/features/navigation/components/PageHeader/PageHeader.module.css +41 -0
  190. package/dist/features/navigation/components/Sidebar/Sidebar.d.ts +24 -0
  191. package/dist/features/navigation/components/Sidebar/Sidebar.d.ts.map +1 -0
  192. package/dist/features/navigation/components/Sidebar/Sidebar.js +131 -0
  193. package/dist/features/navigation/components/Sidebar/Sidebar.js.map +1 -0
  194. package/dist/features/navigation/components/Sidebar/Sidebar.module.css +139 -0
  195. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts +66 -0
  196. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts.map +1 -0
  197. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js +89 -0
  198. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js.map +1 -0
  199. package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.module.css +269 -0
  200. package/dist/features/overlays/components/Popup/Popup.d.ts +8 -0
  201. package/dist/features/overlays/components/Popup/Popup.d.ts.map +1 -0
  202. package/dist/features/overlays/components/Popup/Popup.js +23 -0
  203. package/dist/features/overlays/components/Popup/Popup.js.map +1 -0
  204. package/dist/features/overlays/components/Popup/Popup.module.css +64 -0
  205. package/dist/features/overlays/components/Popup/index.d.ts +3 -0
  206. package/dist/features/overlays/components/Popup/index.d.ts.map +1 -0
  207. package/dist/features/overlays/components/Popup/index.js +2 -0
  208. package/dist/features/overlays/components/Popup/index.js.map +1 -0
  209. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts +36 -0
  210. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts.map +1 -0
  211. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js +38 -0
  212. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js.map +1 -0
  213. package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.module.css +339 -0
  214. package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts +18 -0
  215. package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts.map +1 -0
  216. package/dist/features/overlays/components/dropdowns/DropdownMenu.js +34 -0
  217. package/dist/features/overlays/components/dropdowns/DropdownMenu.js.map +1 -0
  218. package/dist/features/overlays/components/dropdowns/DropdownMenu.module.css +23 -0
  219. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts +36 -0
  220. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts.map +1 -0
  221. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js +19 -0
  222. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js.map +1 -0
  223. package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.module.css +88 -0
  224. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts +14 -0
  225. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts.map +1 -0
  226. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js +119 -0
  227. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js.map +1 -0
  228. package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.module.css +76 -0
  229. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts +3 -0
  230. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts.map +1 -0
  231. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js +486 -0
  232. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js.map +1 -0
  233. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.module.css +55 -0
  234. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts +16 -0
  235. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts.map +1 -0
  236. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js +8 -0
  237. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js.map +1 -0
  238. package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.module.css +77 -0
  239. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts +10 -0
  240. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts.map +1 -0
  241. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js +9 -0
  242. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js.map +1 -0
  243. package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.module.css +86 -0
  244. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts +13 -0
  245. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts.map +1 -0
  246. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js +9 -0
  247. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js.map +1 -0
  248. package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.module.css +8 -0
  249. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts +20 -0
  250. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts.map +1 -0
  251. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js +7 -0
  252. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js.map +1 -0
  253. package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.module.css +13 -0
  254. package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts +216 -0
  255. package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts.map +1 -0
  256. package/dist/features/patterns/components/Form/MultiStepForm/types/types.js +2 -0
  257. package/dist/features/patterns/components/Form/MultiStepForm/types/types.js.map +1 -0
  258. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts +6 -0
  259. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts.map +1 -0
  260. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js +22 -0
  261. package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js.map +1 -0
  262. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts +10 -0
  263. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts.map +1 -0
  264. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js +31 -0
  265. package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js.map +1 -0
  266. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts +19 -0
  267. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts.map +1 -0
  268. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js +104 -0
  269. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js.map +1 -0
  270. package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.module.css +55 -0
  271. package/dist/features/selects/components/Selects/CustomSelect.d.ts +27 -0
  272. package/dist/features/selects/components/Selects/CustomSelect.d.ts.map +1 -0
  273. package/dist/features/selects/components/Selects/CustomSelect.js +53 -0
  274. package/dist/features/selects/components/Selects/CustomSelect.js.map +1 -0
  275. package/dist/features/selects/components/Selects/CustomSelect.module.css +307 -0
  276. package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts +12 -0
  277. package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts.map +1 -0
  278. package/dist/features/uploads/components/ImageUpload/ImageUpload.js +178 -0
  279. package/dist/features/uploads/components/ImageUpload/ImageUpload.js.map +1 -0
  280. package/dist/features/uploads/components/ImageUpload/ImageUpload.module.css +254 -0
  281. package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts +12 -0
  282. package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts.map +1 -0
  283. package/dist/features/uploads/components/VideoUpload/VideoUpload.js +183 -0
  284. package/dist/features/uploads/components/VideoUpload/VideoUpload.js.map +1 -0
  285. package/dist/features/uploads/components/VideoUpload/VideoUpload.module.css +277 -0
  286. package/dist/features/uploads/components/VideoUpload/index.d.ts +2 -0
  287. package/dist/features/uploads/components/VideoUpload/index.d.ts.map +1 -0
  288. package/dist/features/uploads/components/VideoUpload/index.js +2 -0
  289. package/dist/features/uploads/components/VideoUpload/index.js.map +1 -0
  290. package/dist/index.d.ts +5 -0
  291. package/dist/index.d.ts.map +1 -0
  292. package/dist/index.js +5 -0
  293. package/dist/index.js.map +1 -0
  294. package/dist/shared/styles/globals.css +80 -0
  295. package/dist/shared/styles/tokens.css +138 -0
  296. package/dist/shared/utils/devDelay.d.ts +8 -0
  297. package/dist/shared/utils/devDelay.d.ts.map +1 -0
  298. package/dist/shared/utils/devDelay.js +11 -0
  299. package/dist/shared/utils/devDelay.js.map +1 -0
  300. package/dist/shared/utils/files.d.ts +9 -0
  301. package/dist/shared/utils/files.d.ts.map +1 -0
  302. package/dist/shared/utils/files.js +26 -0
  303. package/dist/shared/utils/files.js.map +1 -0
  304. package/dist/shared/utils/formatCurrency.d.ts +24 -0
  305. package/dist/shared/utils/formatCurrency.d.ts.map +1 -0
  306. package/dist/shared/utils/formatCurrency.js +96 -0
  307. package/dist/shared/utils/formatCurrency.js.map +1 -0
  308. package/dist/shared/utils/location/countries/ao.d.ts +3 -0
  309. package/dist/shared/utils/location/countries/ao.d.ts.map +1 -0
  310. package/dist/shared/utils/location/countries/ao.js +52 -0
  311. package/dist/shared/utils/location/countries/ao.js.map +1 -0
  312. package/dist/shared/utils/location/countries/ao.json +254 -0
  313. package/dist/shared/utils/location/countries/ao.official-2026.json +254 -0
  314. package/dist/shared/utils/location/countries/br.d.ts +3 -0
  315. package/dist/shared/utils/location/countries/br.d.ts.map +1 -0
  316. package/dist/shared/utils/location/countries/br.js +33 -0
  317. package/dist/shared/utils/location/countries/br.js.map +1 -0
  318. package/dist/shared/utils/location/countries/mz.d.ts +3 -0
  319. package/dist/shared/utils/location/countries/mz.d.ts.map +1 -0
  320. package/dist/shared/utils/location/countries/mz.js +17 -0
  321. package/dist/shared/utils/location/countries/mz.js.map +1 -0
  322. package/dist/shared/utils/location/countries/ng.d.ts +3 -0
  323. package/dist/shared/utils/location/countries/ng.d.ts.map +1 -0
  324. package/dist/shared/utils/location/countries/ng.js +43 -0
  325. package/dist/shared/utils/location/countries/ng.js.map +1 -0
  326. package/dist/shared/utils/location/countries/pt.d.ts +3 -0
  327. package/dist/shared/utils/location/countries/pt.d.ts.map +1 -0
  328. package/dist/shared/utils/location/countries/pt.js +26 -0
  329. package/dist/shared/utils/location/countries/pt.js.map +1 -0
  330. package/dist/shared/utils/location/countries/us.d.ts +3 -0
  331. package/dist/shared/utils/location/countries/us.d.ts.map +1 -0
  332. package/dist/shared/utils/location/countries/us.js +57 -0
  333. package/dist/shared/utils/location/countries/us.js.map +1 -0
  334. package/dist/shared/utils/location/countries/za.d.ts +3 -0
  335. package/dist/shared/utils/location/countries/za.d.ts.map +1 -0
  336. package/dist/shared/utils/location/countries/za.js +15 -0
  337. package/dist/shared/utils/location/countries/za.js.map +1 -0
  338. package/dist/shared/utils/location/index.d.ts +14 -0
  339. package/dist/shared/utils/location/index.d.ts.map +1 -0
  340. package/dist/shared/utils/location/index.js +131 -0
  341. package/dist/shared/utils/location/index.js.map +1 -0
  342. package/dist/shared/utils/location/types.d.ts +24 -0
  343. package/dist/shared/utils/location/types.d.ts.map +1 -0
  344. package/dist/shared/utils/location/types.js +2 -0
  345. package/dist/shared/utils/location/types.js.map +1 -0
  346. package/dist/shared/utils/logger.d.ts +43 -0
  347. package/dist/shared/utils/logger.d.ts.map +1 -0
  348. package/dist/shared/utils/logger.js +139 -0
  349. package/dist/shared/utils/logger.js.map +1 -0
  350. package/dist/shared/utils/maskedDecimal.d.ts +8 -0
  351. package/dist/shared/utils/maskedDecimal.d.ts.map +1 -0
  352. package/dist/shared/utils/maskedDecimal.js +42 -0
  353. package/dist/shared/utils/maskedDecimal.js.map +1 -0
  354. package/dist/shared/utils/slug.d.ts +12 -0
  355. package/dist/shared/utils/slug.d.ts.map +1 -0
  356. package/dist/shared/utils/slug.js +31 -0
  357. package/dist/shared/utils/slug.js.map +1 -0
  358. package/dist/shared/utils/tax-id/countries/ao.d.ts +11 -0
  359. package/dist/shared/utils/tax-id/countries/ao.d.ts.map +1 -0
  360. package/dist/shared/utils/tax-id/countries/ao.js +115 -0
  361. package/dist/shared/utils/tax-id/countries/ao.js.map +1 -0
  362. package/dist/shared/utils/tax-id/countries/br.d.ts +3 -0
  363. package/dist/shared/utils/tax-id/countries/br.d.ts.map +1 -0
  364. package/dist/shared/utils/tax-id/countries/br.js +24 -0
  365. package/dist/shared/utils/tax-id/countries/br.js.map +1 -0
  366. package/dist/shared/utils/tax-id/countries/index.d.ts +8 -0
  367. package/dist/shared/utils/tax-id/countries/index.d.ts.map +1 -0
  368. package/dist/shared/utils/tax-id/countries/index.js +12 -0
  369. package/dist/shared/utils/tax-id/countries/index.js.map +1 -0
  370. package/dist/shared/utils/tax-id/countries/pt.d.ts +3 -0
  371. package/dist/shared/utils/tax-id/countries/pt.d.ts.map +1 -0
  372. package/dist/shared/utils/tax-id/countries/pt.js +24 -0
  373. package/dist/shared/utils/tax-id/countries/pt.js.map +1 -0
  374. package/dist/shared/utils/tax-id/countries/us.d.ts +3 -0
  375. package/dist/shared/utils/tax-id/countries/us.d.ts.map +1 -0
  376. package/dist/shared/utils/tax-id/countries/us.js +24 -0
  377. package/dist/shared/utils/tax-id/countries/us.js.map +1 -0
  378. package/dist/shared/utils/tax-id/index.d.ts +14 -0
  379. package/dist/shared/utils/tax-id/index.d.ts.map +1 -0
  380. package/dist/shared/utils/tax-id/index.js +140 -0
  381. package/dist/shared/utils/tax-id/index.js.map +1 -0
  382. package/dist/shared/utils/tax-id/types.d.ts +21 -0
  383. package/dist/shared/utils/tax-id/types.d.ts.map +1 -0
  384. package/dist/shared/utils/tax-id/types.js +2 -0
  385. package/dist/shared/utils/tax-id/types.js.map +1 -0
  386. package/dist/styles.d.ts +2 -0
  387. package/dist/styles.d.ts.map +1 -0
  388. package/dist/styles.js +2 -0
  389. package/dist/styles.js.map +1 -0
  390. package/dist/tokens.d.ts +2 -0
  391. package/dist/tokens.d.ts.map +1 -0
  392. package/dist/tokens.js +2 -0
  393. package/dist/tokens.js.map +1 -0
  394. package/dist/ui.d.ts +67 -0
  395. package/dist/ui.d.ts.map +1 -0
  396. package/dist/ui.js +39 -0
  397. package/dist/ui.js.map +1 -0
  398. package/dist/utils.d.ts +7 -0
  399. package/dist/utils.d.ts.map +1 -0
  400. package/dist/utils.js +4 -0
  401. package/dist/utils.js.map +1 -0
  402. package/package.json +80 -0
@@ -0,0 +1,78 @@
1
+ import { ReactNode } from 'react';
2
+ import type { InfoTooltipMessage } from '@/features/feedback/components/Tooltips/InfoTooltip';
3
+ export type MaybeValueFn<T, R> = R | ((item: T) => R);
4
+ export interface TableColumn<T = unknown> {
5
+ key: string;
6
+ title: string;
7
+ icon?: ReactNode;
8
+ minWidth?: string | number;
9
+ width?: string | number;
10
+ maxWidth?: string | number;
11
+ align?: 'left' | 'center' | 'right';
12
+ /**
13
+ * Tipo de célula: define como o Table renderiza esta coluna sem que o consumidor
14
+ * precise criar JSX ou importar estilos.
15
+ */
16
+ type?: 'text' | 'number' | 'dualText' | 'profile' | 'badge' | 'actions';
17
+ /** Caminho (dot-notation) para o valor principal ou função formatadora. Se não informado, usa key. */
18
+ valueKey?: string | ((item: T) => unknown);
19
+ /** Para tipos 'media' e 'dualText' */
20
+ primaryKey?: string | ((item: T) => string);
21
+ secondaryKey?: string | ((item: T) => string);
22
+ /** Para tipo 'profile' */
23
+ imageKey?: string;
24
+ imageFallback?: string;
25
+ /** Deixar o primeiro texto em negrito (dualText/profile) */
26
+ primaryBold?: boolean;
27
+ /** Número em negrito (number) */
28
+ numberBold?: boolean;
29
+ /** Texto simples em negrito (text) */
30
+ textBold?: boolean;
31
+ /** Para tipo 'badge': estilo direto (o consumidor escolhe as cores) */
32
+ badgeStyle?: React.CSSProperties | ((value: unknown, item: T) => React.CSSProperties);
33
+ /** Para tipo 'badge': classe base para estilos pré-definidos diferentes (status vs mode) */
34
+ badgeKind?: 'status' | 'mode';
35
+ /** Para tipo 'actions': lista de ações customizadas */
36
+ actions?: Array<{
37
+ id: string;
38
+ icon?: ReactNode;
39
+ label?: string;
40
+ onClick?: (item: T) => void;
41
+ disabled?: MaybeValueFn<T, boolean>;
42
+ tooltip?: MaybeValueFn<T, InfoTooltipMessage | undefined>;
43
+ }>;
44
+ /** Permite que elementos flutuantes (InfoTooltip, dropdowns) na célula não sejam cortados pelo overflow da TD */
45
+ overflowVisible?: boolean;
46
+ /** Render customizado segue suportado, mas não é necessário na maioria dos casos */
47
+ render?: (value: unknown, item: T, index: number) => ReactNode;
48
+ }
49
+ export interface TableProps<T> {
50
+ data: T[];
51
+ columns: TableColumn<T>[];
52
+ loading?: boolean;
53
+ skeletonRowCount?: number;
54
+ empty?: ReactNode;
55
+ hasBaseData?: boolean;
56
+ searchEmptyProps?: {
57
+ title?: string;
58
+ description?: string;
59
+ actionLabel?: string;
60
+ onAction?: () => void;
61
+ };
62
+ className?: string;
63
+ rowClassName?: string | ((item: T, index: number) => string);
64
+ onRowClick?: (item: T, index: number) => void;
65
+ keyExtractor?: (item: T, index: number) => string;
66
+ showHeader?: boolean;
67
+ headerClassName?: string;
68
+ bodyClassName?: string;
69
+ cellClassName?: string | ((item: T, column: TableColumn<T>, index: number) => string);
70
+ /** Ações padrão opcionais para colunas do tipo 'actions' */
71
+ onEdit?: (item: T) => void;
72
+ onDelete?: (item: T) => void;
73
+ isEditDisabled?: (item: T) => boolean;
74
+ isDeleteDisabled?: (item: T) => boolean;
75
+ editTooltip?: (item: T) => InfoTooltipMessage | undefined;
76
+ deleteTooltip?: (item: T) => InfoTooltipMessage | undefined;
77
+ }
78
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../src/features/data-display/components/Table/types/Table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAE9F,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AAEtD,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACxE,sGAAsG;IACtG,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC;IAC3C,sCAAsC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AAE,CAAC,KAAK,OAAO,CAAC;IACtC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACxC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,kBAAkB,GAAG,SAAS,CAAC;IAC1D,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,kBAAkB,GAAG,SAAS,CAAC;CAC7D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../../../src/features/data-display/components/Table/types/Table.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ export interface TabItem {
2
+ id: string;
3
+ label: string;
4
+ }
5
+ export interface PillTabsProps {
6
+ tabs: TabItem[];
7
+ activeTab: string;
8
+ onTabChange: (tabId: string) => void;
9
+ className?: string;
10
+ }
11
+ export default function PillTabs({ tabs, activeTab, onTabChange, className }: PillTabsProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=PillTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PillTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/features/data-display/components/Tabs/PillTabs/PillTabs.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,SAAc,EAAE,EAAE,aAAa,2CAe/F"}
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import styles from './PillTabs.module.css';
4
+ export default function PillTabs({ tabs, activeTab, onTabChange, className = '' }) {
5
+ return (_jsx("div", { className: `${styles.container} ${className}`, children: tabs.map((tab) => (_jsx("button", { className: `${styles.tab} ${activeTab === tab.id ? styles.active : ''}`, onClick: () => onTabChange(tab.id), type: "button", children: tab.label }, tab.id))) }));
6
+ }
7
+ //# sourceMappingURL=PillTabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PillTabs.js","sourceRoot":"","sources":["../../../../../../src/features/data-display/components/Tabs/PillTabs/PillTabs.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAc3C,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,GAAG,EAAE,EAAiB;IAC9F,OAAO,CACL,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,SAAS,IAAI,SAAS,EAAE,YAC/C,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACjB,iBAEE,SAAS,EAAE,GAAG,MAAM,CAAC,GAAG,IAAI,SAAS,KAAK,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EACvE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,EAClC,IAAI,EAAC,QAAQ,YAEZ,GAAG,CAAC,KAAK,IALL,GAAG,CAAC,EAAE,CAMJ,CACV,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,36 @@
1
+ .container {
2
+ display: flex;
3
+ background-color: #f3f4f6; /* Fundo cinza claro */
4
+ padding: 4px;
5
+ border-radius: 8px;
6
+ width: 100%;
7
+ overflow-x: auto; /* Para telas menores */
8
+ gap: 4px;
9
+ }
10
+
11
+ .tab {
12
+ flex: 1;
13
+ border: none;
14
+ background: transparent;
15
+ padding: 8px 16px;
16
+ border-radius: 6px;
17
+ font-size: 14px;
18
+ font-weight: 500;
19
+ color: #6b7280; /* Cinza médio para texto inativo */
20
+ cursor: pointer;
21
+ transition: all 0.2s ease;
22
+ white-space: nowrap;
23
+ text-align: center;
24
+ }
25
+
26
+ .tab:hover {
27
+ background-color: rgba(255, 255, 255, 0.5);
28
+ color: #374151;
29
+ }
30
+
31
+ .active {
32
+ background-color: #ffffff;
33
+ color: #111827; /* Preto suave para texto ativo */
34
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
35
+ font-weight: 600;
36
+ }
@@ -0,0 +1,18 @@
1
+ import { type ChangedDataSummaryValueFormatters } from './getFormDataChanges';
2
+ export interface ChangedDataSummaryProps<T extends Record<string, any>> {
3
+ title?: string;
4
+ baseData: T | null | undefined;
5
+ formData: T;
6
+ fieldLabels: Partial<Record<keyof T, string>>;
7
+ photoPathKey?: keyof T | string;
8
+ emptyChangesMessage?: string;
9
+ photoAddedLabel?: string;
10
+ photoRemovedLabel?: string;
11
+ photoUpdatedLabel?: string;
12
+ emptyPhotoSrc?: string;
13
+ ignoreKeys?: string[];
14
+ emptyValueLabel?: string;
15
+ valueFormatters?: ChangedDataSummaryValueFormatters<T>;
16
+ }
17
+ export default function ChangedDataSummary<T extends Record<string, any>>({ title, baseData, formData, fieldLabels, photoPathKey, emptyChangesMessage, photoAddedLabel, photoRemovedLabel, photoUpdatedLabel, emptyPhotoSrc, ignoreKeys, emptyValueLabel, valueFormatters, }: ChangedDataSummaryProps<T>): import("react/jsx-runtime").JSX.Element | null;
18
+ //# sourceMappingURL=ChangedDataSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangedDataSummary.d.ts","sourceRoot":"","sources":["../../../../../src/features/feedback/components/ChangedDataSummary/ChangedDataSummary.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,CAAC,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,iCAAiC,CAAC,CAAC,CAAC,CAAC;CACxD;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EACxE,KAA8B,EAC9B,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAyB,EACzB,mBAAmD,EACnD,eAAmC,EACnC,iBAAmC,EACnC,iBAAmC,EACnC,aAAuC,EACvC,UAAU,EACV,eAAe,EACf,eAAe,GAChB,EAAE,uBAAuB,CAAC,CAAC,CAAC,kDA4F5B"}
@@ -0,0 +1,52 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { ArrowRight } from 'lucide-react';
4
+ import Table from '@/features/data-display/components/Table/Table';
5
+ import styles from './ChangedDataSummary.module.css';
6
+ import { getFormDataChanges, } from './getFormDataChanges';
7
+ export default function ChangedDataSummary({ title = 'Resumo de Alterações', baseData, formData, fieldLabels, photoPathKey = 'photoUrl', emptyChangesMessage = 'Nenhuma alteração detetada.', photoAddedLabel = 'Foto adicionada', photoRemovedLabel = 'Foto excluída', photoUpdatedLabel = 'Foto alterada', emptyPhotoSrc = '/images/user/user.png', ignoreKeys, emptyValueLabel, valueFormatters, }) {
8
+ if (!baseData)
9
+ return null;
10
+ const changes = getFormDataChanges(baseData, formData, fieldLabels, {
11
+ ignoreKeys,
12
+ emptyValueLabel,
13
+ valueFormatters,
14
+ });
15
+ const normalizePhoto = (value) => String(value !== null && value !== void 0 ? value : '').trim();
16
+ const photoKey = String(photoPathKey);
17
+ const oldPhoto = normalizePhoto(baseData[photoKey]);
18
+ const newPhoto = formData[photoKey] !== undefined
19
+ ? normalizePhoto(formData[photoKey])
20
+ : oldPhoto;
21
+ const hasPhotoChanged = oldPhoto !== newPhoto;
22
+ let photoStatus = '';
23
+ if (hasPhotoChanged) {
24
+ if (!oldPhoto && newPhoto)
25
+ photoStatus = photoAddedLabel;
26
+ else if (oldPhoto && !newPhoto)
27
+ photoStatus = photoRemovedLabel;
28
+ else
29
+ photoStatus = photoUpdatedLabel;
30
+ }
31
+ if (changes.length === 0 && !hasPhotoChanged) {
32
+ return (_jsx("div", { className: styles.noChanges, children: _jsx("span", { children: emptyChangesMessage }) }));
33
+ }
34
+ const AvatarCircle = ({ src }) => (_jsx("div", { className: styles.avatarCircle, children: _jsx("img", { src: src || emptyPhotoSrc, alt: "Avatar", className: styles.avatarImg }) }));
35
+ const columns = [
36
+ { key: 'field', title: 'Campo' },
37
+ {
38
+ key: 'before',
39
+ title: 'Antes',
40
+ align: 'left',
41
+ render: (value) => (_jsx("span", { className: styles.narrowCell, title: String(value), style: { color: '#9ca3af', textDecoration: 'line-through' }, children: String(value) })),
42
+ },
43
+ {
44
+ key: 'after',
45
+ title: 'Depois',
46
+ align: 'left',
47
+ render: (value) => (_jsx("span", { className: styles.narrowCell, title: String(value), style: { color: '#16a34a', fontWeight: 600 }, children: String(value) })),
48
+ },
49
+ ];
50
+ return (_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '0.5rem' }, children: [_jsx("div", { className: styles.header, children: title }), hasPhotoChanged && (_jsxs("div", { className: styles.photoChangeContainer, children: [_jsx("div", { className: styles.photoChangeLabel, children: photoStatus }), _jsxs("div", { className: styles.photoChangeFlow, children: [_jsx(AvatarCircle, { src: oldPhoto }), _jsx(ArrowRight, { size: 20, className: styles.photoArrow }), _jsx(AvatarCircle, { src: newPhoto })] })] })), _jsx("div", { className: styles.tableWrapperContainer, children: _jsx(Table, { data: changes, columns: columns, keyExtractor: (item) => item.key, hasBaseData: false, rowClassName: styles.noHoverRow }) })] }));
51
+ }
52
+ //# sourceMappingURL=ChangedDataSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangedDataSummary.js","sourceRoot":"","sources":["../../../../../src/features/feedback/components/ChangedDataSummary/ChangedDataSummary.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,MAAM,gDAAgD,CAAC;AAEnE,OAAO,MAAM,MAAM,iCAAiC,CAAC;AACrD,OAAO,EACL,kBAAkB,GAEnB,MAAM,sBAAsB,CAAC;AAkB9B,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAgC,EACxE,KAAK,GAAG,sBAAsB,EAC9B,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAY,GAAG,UAAU,EACzB,mBAAmB,GAAG,6BAA6B,EACnD,eAAe,GAAG,iBAAiB,EACnC,iBAAiB,GAAG,eAAe,EACnC,iBAAiB,GAAG,eAAe,EACnC,aAAa,GAAG,uBAAuB,EACvC,UAAU,EACV,eAAe,EACf,eAAe,GACY;IAC3B,IAAI,CAAC,QAAQ;QAAE,OAAO,IAAI,CAAC;IAE3B,MAAM,OAAO,GAAG,kBAAkB,CAAC,QAAQ,EAAE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C,YAAY,IAAC,GAAG,EAAE,QAAQ,GAAI,IAC3B,IACF,CACP,EAED,cAAK,SAAS,EAAE,MAAM,CAAC,qBAAqB,YAC1C,KAAC,KAAK,IACJ,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,EAChC,WAAW,EAAE,KAAK,EAClB,YAAY,EAAE,MAAM,CAAC,UAAU,GAC/B,GACE,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,90 @@
1
+ .header {
2
+ padding: 0 0 0.25rem 0;
3
+ font-weight: 600;
4
+ font-size: 1rem;
5
+ color: #111827;
6
+ }
7
+
8
+ .noChanges {
9
+ padding: 1rem 1.25rem;
10
+ background-color: #f9fafb;
11
+ border-radius: 8px;
12
+ border: 1px solid #e5e7eb;
13
+ display: flex;
14
+ align-items: center;
15
+ gap: 0.5rem;
16
+ color: #6b7280;
17
+ }
18
+
19
+ .noChanges span {
20
+ font-size: 0.875rem;
21
+ font-weight: 500;
22
+ }
23
+
24
+ .photoChangeContainer {
25
+ padding: 0 0 0.5rem;
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: flex-start;
29
+ gap: 0.5rem;
30
+ }
31
+
32
+ .photoChangeLabel {
33
+ font-size: 0.875rem;
34
+ font-weight: 600;
35
+ color: #374151;
36
+ }
37
+
38
+ .photoChangeFlow {
39
+ display: flex;
40
+ align-items: center;
41
+ gap: 1.5rem;
42
+ }
43
+
44
+ .avatarCircle {
45
+ width: 55px;
46
+ height: 55px;
47
+ border-radius: 50%;
48
+ overflow: hidden;
49
+ background-color: #f3f4f6;
50
+ display: flex;
51
+ align-items: center;
52
+ border: 1px solid #e5e7eb;
53
+ }
54
+
55
+ .avatarImg {
56
+ width: 100%;
57
+ height: 100%;
58
+ object-fit: cover;
59
+ }
60
+
61
+ .photoArrow {
62
+ color: #6b7280;
63
+ }
64
+
65
+ .tableWrapperContainer {
66
+ border-top: 0;
67
+ border-left: 1px solid #e5e7eb;
68
+ border-right: 1px solid #e5e7eb;
69
+ border-bottom: 1px solid #e5e7eb;
70
+ border-radius: 8px;
71
+ overflow: hidden;
72
+ background-color: #ffffff;
73
+ }
74
+
75
+ .noHoverRow {
76
+ cursor: default !important;
77
+ }
78
+
79
+ .noHoverRow:hover {
80
+ background-color: transparent !important;
81
+ }
82
+
83
+ .narrowCell {
84
+ max-width: 240px;
85
+ overflow: hidden;
86
+ text-overflow: ellipsis;
87
+ white-space: nowrap;
88
+ display: inline-block;
89
+ vertical-align: middle;
90
+ }
@@ -0,0 +1,21 @@
1
+ export interface ChangedDataSummaryChange {
2
+ key: string;
3
+ field: string;
4
+ before: string;
5
+ after: string;
6
+ }
7
+ export interface ChangedDataSummaryFormatterContext<T extends Record<string, any>> {
8
+ key: keyof T | string;
9
+ source: 'base' | 'form';
10
+ baseData: T | null | undefined;
11
+ formData: T;
12
+ }
13
+ export type ChangedDataSummaryValueFormatter<T extends Record<string, any>> = (value: unknown, context: ChangedDataSummaryFormatterContext<T>) => string;
14
+ export type ChangedDataSummaryValueFormatters<T extends Record<string, any>> = Partial<Record<keyof T, ChangedDataSummaryValueFormatter<T>>> & Record<string, ChangedDataSummaryValueFormatter<T> | undefined>;
15
+ export interface GetFormDataChangesOptions<T extends Record<string, any>> {
16
+ ignoreKeys?: string[];
17
+ emptyValueLabel?: string;
18
+ valueFormatters?: ChangedDataSummaryValueFormatters<T>;
19
+ }
20
+ export declare function getFormDataChanges<T extends Record<string, any>>(baseData: T | null | undefined, formData: T, fieldLabels: Partial<Record<keyof T, string>>, options?: GetFormDataChangesOptions<T>): ChangedDataSummaryChange[];
21
+ //# sourceMappingURL=getFormDataChanges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFormDataChanges.d.ts","sourceRoot":"","sources":["../../../../../src/features/feedback/components/ChangedDataSummary/getFormDataChanges.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC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,EAAE,MAAM,CAAC,CAAC,EAC7C,OAAO,GAAE,yBAAyB,CAAC,CAAC,CAAM,GACzC,wBAAwB,EAAE,CAqC5B"}
@@ -0,0 +1,37 @@
1
+ const defaultNormalizeValue = (value) => {
2
+ if (value === null || value === undefined)
3
+ return '';
4
+ if (typeof value === 'string')
5
+ return value.trim();
6
+ return String(value);
7
+ };
8
+ export function getFormDataChanges(baseData, formData, fieldLabels, options = {}) {
9
+ if (!baseData)
10
+ return [];
11
+ const { ignoreKeys = ['id', 'flowToken', 'flowExpiresAt'], emptyValueLabel = '-', valueFormatters, } = options;
12
+ const changes = [];
13
+ for (const key of Object.keys(fieldLabels)) {
14
+ const stringKey = String(key);
15
+ if (ignoreKeys.includes(stringKey))
16
+ continue;
17
+ const formatter = valueFormatters === null || valueFormatters === void 0 ? void 0 : valueFormatters[stringKey];
18
+ const oldValue = baseData[key];
19
+ const newValue = formData[key];
20
+ const normalizedOld = formatter
21
+ ? formatter(oldValue, { key, source: 'base', baseData, formData })
22
+ : defaultNormalizeValue(oldValue);
23
+ const normalizedNew = formatter
24
+ ? formatter(newValue, { key, source: 'form', baseData, formData })
25
+ : defaultNormalizeValue(newValue);
26
+ if (normalizedOld !== normalizedNew) {
27
+ changes.push({
28
+ key: stringKey,
29
+ field: fieldLabels[key] || stringKey,
30
+ before: normalizedOld || emptyValueLabel,
31
+ after: normalizedNew || emptyValueLabel,
32
+ });
33
+ }
34
+ }
35
+ return changes;
36
+ }
37
+ //# sourceMappingURL=getFormDataChanges.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFormDataChanges.js","sourceRoot":"","sources":["../../../../../src/features/feedback/components/ChangedDataSummary/getFormDataChanges.ts"],"names":[],"mappings":"AA6BA,MAAM,qBAAqB,GAAG,CAAC,KAAc,EAAU,EAAE;IACvD,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,EAAE,CAAC;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ;Q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aAAa,EAAE,CAAC;YACpC,OAAO,CAAC,IAAI,CAAC;gBACX,GAAG,EAAE,SAAS;gBACd,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,IAAI,SAAS;gBACpC,MAAM,EAAE,aAAa,IAAI,eAAe;gBACxC,KAAK,EAAE,aAAa,IAAI,eAAe;aACxC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { ChangedDataSummaryValueFormatters } from '../ChangedDataSummary/getFormDataChanges';
2
+ export interface CreatedDataSummaryProps<T extends Record<string, any>> {
3
+ title?: string;
4
+ formData: T;
5
+ fieldLabels: Partial<Record<keyof T, string>>;
6
+ ignoreKeys?: string[];
7
+ emptyValueLabel?: string;
8
+ valueFormatters?: ChangedDataSummaryValueFormatters<T>;
9
+ photoPathKey?: keyof T | string;
10
+ photoAddedLabel?: string;
11
+ emptyPhotoSrc?: string;
12
+ emptyMessage?: string;
13
+ }
14
+ export default function CreatedDataSummary<T extends Record<string, any>>({ title, formData, fieldLabels, ignoreKeys, emptyValueLabel, valueFormatters, photoPathKey, photoAddedLabel, emptyPhotoSrc, emptyMessage, }: CreatedDataSummaryProps<T>): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=CreatedDataSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatedDataSummary.d.ts","sourceRoot":"","sources":["../../../../../src/features/feedback/components/CreatedDataSummary/CreatedDataSummary.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,iCAAiC,EAElC,MAAM,0CAA0C,CAAC;AAElD,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,iCAAiC,CAAC,CAAC,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAQD,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EACxE,KAA2B,EAC3B,QAAQ,EACR,WAAW,EACX,UAAe,EACf,eAAqB,EACrB,eAAe,EACf,YAAyB,EACzB,eAAmC,EACnC,aAAuC,EACvC,YAAyC,GAC1C,EAAE,uBAAuB,CAAC,CAAC,CAAC,2CAiG5B"}
@@ -0,0 +1,56 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Info } from 'lucide-react';
4
+ import Table from '@/features/data-display/components/Table/Table';
5
+ import styles from './CreatedDataSummary.module.css';
6
+ export default function CreatedDataSummary({ title = 'Resumo do Registo', formData, fieldLabels, ignoreKeys = [], emptyValueLabel = '-', valueFormatters, photoPathKey = 'photoUrl', photoAddedLabel = 'Foto adicionada', emptyPhotoSrc = '/images/user/user.png', emptyMessage = 'Nenhum dado introduzido.', }) {
7
+ var _a;
8
+ const ignoreSet = new Set(ignoreKeys);
9
+ const photoKey = String(photoPathKey);
10
+ const rows = [];
11
+ for (const key of Object.keys(fieldLabels)) {
12
+ const stringKey = String(key);
13
+ if (ignoreSet.has(stringKey))
14
+ continue;
15
+ if (stringKey === photoKey)
16
+ continue;
17
+ const rawValue = formData[key];
18
+ const isEmpty = rawValue === undefined ||
19
+ rawValue === null ||
20
+ String(rawValue).trim() === '';
21
+ if (isEmpty)
22
+ continue;
23
+ const context = {
24
+ key: stringKey,
25
+ source: 'form',
26
+ baseData: null,
27
+ formData,
28
+ };
29
+ const formatter = valueFormatters === null || valueFormatters === void 0 ? void 0 : valueFormatters[stringKey];
30
+ const displayValue = formatter
31
+ ? formatter(rawValue, context)
32
+ : String(rawValue);
33
+ if (!displayValue || displayValue === emptyValueLabel)
34
+ continue;
35
+ rows.push({
36
+ key: stringKey,
37
+ field: fieldLabels[key],
38
+ value: displayValue,
39
+ });
40
+ }
41
+ const photoValue = String((_a = formData[photoKey]) !== null && _a !== void 0 ? _a : '').trim();
42
+ if (rows.length === 0 && !photoValue) {
43
+ return (_jsxs("div", { className: styles.noData, children: [_jsx(Info, { size: 16 }), _jsx("span", { children: emptyMessage })] }));
44
+ }
45
+ const columns = [
46
+ { key: 'field', title: 'Campo' },
47
+ {
48
+ key: 'value',
49
+ title: 'Valor a Registar',
50
+ align: 'left',
51
+ render: (val) => (_jsx("span", { className: styles.valueCell, title: String(val), children: String(val) })),
52
+ },
53
+ ];
54
+ return (_jsxs("div", { className: styles.wrapper, children: [_jsx("div", { className: styles.header, children: title }), photoValue && (_jsxs("div", { className: styles.photoContainer, children: [_jsx("div", { className: styles.photoLabel, children: photoAddedLabel }), _jsx("div", { className: styles.photoPreview, children: _jsx("div", { className: styles.avatarCircle, children: _jsx("img", { src: photoValue || emptyPhotoSrc, alt: "Foto", className: styles.avatarImg }) }) })] })), rows.length > 0 && (_jsx("div", { className: styles.tableWrapper, children: _jsx(Table, { data: rows, columns: columns, keyExtractor: (item) => item.key, hasBaseData: false, rowClassName: styles.noHoverRow }) }))] }));
55
+ }
56
+ //# sourceMappingURL=CreatedDataSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatedDataSummary.js","sourceRoot":"","sources":["../../../../../src/features/feedback/components/CreatedDataSummary/CreatedDataSummary.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACp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AAC,YAAY,YACjC,cAAK,SAAS,EAAE,MAAM,CAAC,YAAY,YACjC,cACE,GAAG,EAAE,UAAU,IAAI,aAAa,EAChC,GAAG,EAAC,MAAM,EACV,SAAS,EAAE,MAAM,CAAC,SAAS,GAC3B,GACE,GACF,IACF,CACP,EAEA,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAClB,cAAK,SAAS,EAAE,MAAM,CAAC,YAAY,YACjC,KAAC,KAAK,IACJ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,EAChC,WAAW,EAAE,KAAK,EAClB,YAAY,EAAE,MAAM,CAAC,UAAU,GAC/B,GACE,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,90 @@
1
+ .wrapper {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 0.5rem;
5
+ }
6
+
7
+ .header {
8
+ padding: 0 0 0.25rem 0;
9
+ font-weight: 600;
10
+ font-size: 1rem;
11
+ color: #111827;
12
+ }
13
+
14
+ .noData {
15
+ padding: 1rem 1.25rem;
16
+ background-color: #f9fafb;
17
+ border-radius: 8px;
18
+ border: 1px solid #e5e7eb;
19
+ display: flex;
20
+ align-items: center;
21
+ gap: 0.5rem;
22
+ color: #6b7280;
23
+ }
24
+
25
+ .noData span {
26
+ font-size: 0.875rem;
27
+ font-weight: 500;
28
+ }
29
+
30
+ .photoContainer {
31
+ padding: 0 0 0.5rem;
32
+ display: flex;
33
+ flex-direction: column;
34
+ align-items: flex-start;
35
+ gap: 0.5rem;
36
+ }
37
+
38
+ .photoLabel {
39
+ font-size: 0.875rem;
40
+ font-weight: 600;
41
+ color: #374151;
42
+ }
43
+
44
+ .photoPreview {
45
+ display: flex;
46
+ align-items: center;
47
+ }
48
+
49
+ .avatarCircle {
50
+ width: 55px;
51
+ height: 55px;
52
+ border-radius: 50%;
53
+ overflow: hidden;
54
+ background-color: #f3f4f6;
55
+ display: flex;
56
+ align-items: center;
57
+ border: 1px solid #e5e7eb;
58
+ }
59
+
60
+ .avatarImg {
61
+ width: 100%;
62
+ height: 100%;
63
+ object-fit: cover;
64
+ }
65
+
66
+ .tableWrapper {
67
+ border: 1px solid #e5e7eb;
68
+ border-radius: 8px;
69
+ overflow: hidden;
70
+ background-color: #ffffff;
71
+ }
72
+
73
+ .noHoverRow {
74
+ cursor: default !important;
75
+ }
76
+
77
+ .noHoverRow:hover {
78
+ background-color: transparent !important;
79
+ }
80
+
81
+ .valueCell {
82
+ max-width: 240px;
83
+ overflow: hidden;
84
+ text-overflow: ellipsis;
85
+ white-space: nowrap;
86
+ display: inline-block;
87
+ vertical-align: middle;
88
+ color: #16a34a;
89
+ font-weight: 600;
90
+ }
@@ -0,0 +1,9 @@
1
+ interface SearchEmptyStateProps {
2
+ title?: string;
3
+ description?: string;
4
+ actionLabel?: string;
5
+ onAction?: () => void;
6
+ }
7
+ export default function SearchEmptyState({ title, description, actionLabel, onAction, }: SearchEmptyStateProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SearchEmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchEmptyState.d.ts","sourceRoot":"","sources":["../../../../../../src/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.tsx"],"names":[],"mappings":"AAMA,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,KAAqC,EACrC,WAA2E,EAC3E,WAAW,EACX,QAAQ,GACT,EAAE,qBAAqB,2CAevB"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { FilterX } from "lucide-react";
4
+ import Button from '@/features/buttons/components/Btns/Button';
5
+ import styles from "./SearchEmptyState.module.css";
6
+ export default function SearchEmptyState({ title = "Nenhum resultado encontrado", description = "Ajuste a pesquisa ou os filtros para ver outros resultados.", actionLabel, onAction, }) {
7
+ return (_jsxs("div", { className: styles.container, children: [_jsx("div", { className: styles.iconWrapper, children: _jsx(FilterX, { size: 32 }) }), _jsx("h4", { className: styles.title, children: title }), _jsx("p", { className: styles.description, children: description }), actionLabel && onAction && (_jsx(Button, { variant: "secondary", size: "md", onClick: onAction, children: actionLabel }))] }));
8
+ }
9
+ //# sourceMappingURL=SearchEmptyState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchEmptyState.js","sourceRoot":"","sources":["../../../../../../src/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,MAAM,MAAM,2CAA2C,CAAC;AAC/D,OAAO,MAAM,MAAM,+BAA+B,CAAC;AASnD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,KAAK,GAAG,6BAA6B,EACrC,WAAW,GAAG,6DAA6D,EAC3E,WAAW,EACX,QAAQ,GACc;IACtB,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,SAAS,aAC9B,cAAK,SAAS,EAAE,MAAM,CAAC,WAAW,YAChC,KAAC,OAAO,IAAC,IAAI,EAAE,EAAE,GAAI,GACjB,EACN,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,KAAK,GAAM,EACzC,YAAG,SAAS,EAAE,MAAM,CAAC,WAAW,YAAG,WAAW,GAAK,EAClD,WAAW,IAAI,QAAQ,IAAI,CAC1B,KAAC,MAAM,IAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,QAAQ,YACpD,WAAW,GACL,CACV,IACG,CACP,CAAC;AACJ,CAAC"}