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,187 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { forwardRef, useEffect, useImperativeHandle, useRef, useState, useId, } from 'react';
14
+ import { X } from 'lucide-react';
15
+ import styles from './PhoneInput.module.css';
16
+ import { getCountryConfig } from './countries';
17
+ const applyMask = (value, format) => {
18
+ let masked = '';
19
+ let valIndex = 0;
20
+ for (let i = 0; i < format.length; i++) {
21
+ if (valIndex >= value.length)
22
+ break;
23
+ const formatChar = format[i];
24
+ if (formatChar === '0') {
25
+ masked += value[valIndex];
26
+ valIndex++;
27
+ }
28
+ else {
29
+ masked += formatChar;
30
+ }
31
+ }
32
+ return masked;
33
+ };
34
+ const sanitizeDigits = (value, maxLength) => {
35
+ const onlyDigits = value.replace(/\D/g, '');
36
+ if (!maxLength)
37
+ return onlyDigits;
38
+ return onlyDigits.slice(0, maxLength);
39
+ };
40
+ const shouldUnlockManualInput = (event) => {
41
+ if (event.ctrlKey || event.metaKey || event.altKey)
42
+ return false;
43
+ if (event.key.length === 1) {
44
+ return /\d/.test(event.key);
45
+ }
46
+ return ['Backspace', 'Delete', 'ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key);
47
+ };
48
+ const PhoneInput = forwardRef((_a, ref) => {
49
+ var { size = 'md', variant = 'default', containerClassName = '', className = '', leftIcon, value = '', onChange, showClearButton = variant === 'flat' ? false : true, clearButtonLabel = 'Limpar campo', disabled = false, readOnly = false, countryCode, hasError, errorMessage, allowAutoComplete = false, autoComplete: consumerAutoComplete, id: consumerId, name: consumerName, onFocus, onBlur } = _a, rest = __rest(_a, ["size", "variant", "containerClassName", "className", "leftIcon", "value", "onChange", "showClearButton", "clearButtonLabel", "disabled", "readOnly", "countryCode", "hasError", "errorMessage", "allowAutoComplete", "autoComplete", "id", "name", "onFocus", "onBlur"]);
50
+ const inputRef = useRef(null);
51
+ const [isMounted, setIsMounted] = useState(false);
52
+ const [isFocused, setIsFocused] = useState(false);
53
+ const [isUserInteracting, setIsUserInteracting] = useState(false);
54
+ const prevCountryRef = useRef(countryCode);
55
+ const generatedId = useId();
56
+ useEffect(() => {
57
+ setIsMounted(true);
58
+ }, []);
59
+ useEffect(() => {
60
+ if (isMounted && prevCountryRef.current !== countryCode) {
61
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
62
+ setIsUserInteracting(false);
63
+ setTimeout(() => {
64
+ var _a;
65
+ (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
66
+ }, 10);
67
+ prevCountryRef.current = countryCode;
68
+ }
69
+ }, [countryCode, isMounted, onChange]);
70
+ useImperativeHandle(ref, () => inputRef.current);
71
+ const country = getCountryConfig(countryCode);
72
+ const dialCode = country === null || country === void 0 ? void 0 : country.dialCode;
73
+ const rawFormValue = sanitizeDigits(String(value || ''));
74
+ const displayValue = country ? applyMask(rawFormValue, country.format) : String(value || '');
75
+ const remainingMask = country ? country.format.slice(displayValue.length) : '';
76
+ const isError = hasError || !!errorMessage;
77
+ const shouldShowClearButton = isMounted && showClearButton && !!(rawFormValue === null || rawFormValue === void 0 ? void 0 : rawFormValue.length) && !disabled && !readOnly;
78
+ const hasLeading = Boolean(leftIcon || countryCode);
79
+ const containerClasses = [styles.inputContainer, containerClassName].filter(Boolean).join(' ');
80
+ const boxClasses = [
81
+ styles.boxInput,
82
+ styles[size],
83
+ hasLeading ? styles.hasLeading : '',
84
+ shouldShowClearButton ? styles.hasRightControl : '',
85
+ variant === 'flat' ? styles.flat : '',
86
+ !countryCode || disabled ? styles.disabledState : '',
87
+ isError ? styles.inputError : '',
88
+ ]
89
+ .filter(Boolean)
90
+ .join(' ');
91
+ const inputClasses = [styles.textInput, className].filter(Boolean).join(' ');
92
+ const commitRawValue = (rawValue) => {
93
+ const maxLength = country === null || country === void 0 ? void 0 : country.maxLength;
94
+ let normalized = sanitizeDigits(rawValue, maxLength);
95
+ if (country === null || country === void 0 ? void 0 : country.formatInput) {
96
+ normalized = country.formatInput(normalized);
97
+ }
98
+ const formatted = country ? applyMask(normalized, country.format) : normalized;
99
+ onChange === null || onChange === void 0 ? void 0 : onChange(formatted);
100
+ if (!allowAutoComplete && !normalized.length) {
101
+ setIsUserInteracting(false);
102
+ }
103
+ };
104
+ const handleClear = () => {
105
+ var _a;
106
+ if (disabled || readOnly)
107
+ return;
108
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
109
+ setIsUserInteracting(false);
110
+ (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
111
+ };
112
+ const handleChange = (event) => {
113
+ if (!allowAutoComplete && !isUserInteracting) {
114
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
115
+ return;
116
+ }
117
+ const hasValue = event.target.value.trim().length > 0;
118
+ const hasDigits = sanitizeDigits(event.target.value).length > 0;
119
+ if (!allowAutoComplete && hasValue && !hasDigits) {
120
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
121
+ setIsUserInteracting(false);
122
+ return;
123
+ }
124
+ commitRawValue(event.target.value);
125
+ };
126
+ const handleInput = (event) => {
127
+ if (!allowAutoComplete && !isUserInteracting) {
128
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
129
+ return;
130
+ }
131
+ const inputValue = event.currentTarget.value;
132
+ const hasValue = inputValue.trim().length > 0;
133
+ const hasDigits = sanitizeDigits(inputValue).length > 0;
134
+ if (!allowAutoComplete && hasValue && !hasDigits) {
135
+ onChange === null || onChange === void 0 ? void 0 : onChange('');
136
+ setIsUserInteracting(false);
137
+ return;
138
+ }
139
+ commitRawValue(inputValue);
140
+ };
141
+ const handleKeyDown = (event) => {
142
+ if (!isUserInteracting && shouldUnlockManualInput(event)) {
143
+ setIsUserInteracting(true);
144
+ }
145
+ if (!countryCode && event.key !== 'Tab') {
146
+ event.preventDefault();
147
+ }
148
+ if (event.ctrlKey || event.metaKey) {
149
+ if (['a', 'c', 'x', 'A', 'C', 'X'].includes(event.key)) {
150
+ event.preventDefault();
151
+ }
152
+ }
153
+ };
154
+ useEffect(() => {
155
+ const node = inputRef.current;
156
+ if (!node)
157
+ return;
158
+ if (node.value !== displayValue) {
159
+ node.value = displayValue;
160
+ }
161
+ }, [displayValue]);
162
+ useEffect(() => {
163
+ if (!allowAutoComplete && !rawFormValue.length && !isFocused) {
164
+ setIsUserInteracting(false);
165
+ }
166
+ }, [allowAutoComplete, rawFormValue, isFocused]);
167
+ const resolvedId = consumerId || `phone-input-${generatedId}`;
168
+ const resolvedName = consumerName;
169
+ const resolvedAutoComplete = allowAutoComplete ? consumerAutoComplete !== null && consumerAutoComplete !== void 0 ? consumerAutoComplete : 'tel' : 'new-password';
170
+ const shouldForceReadonly = !allowAutoComplete && !isUserInteracting;
171
+ return (_jsx("div", { className: containerClasses, onCopy: (e) => e.preventDefault(), onCut: (e) => e.preventDefault(), onPaste: (e) => e.preventDefault(), onContextMenu: (e) => e.preventDefault(), children: _jsxs("div", { className: boxClasses, children: [hasLeading && (_jsxs("div", { className: styles.leadingGroup, children: [leftIcon && _jsx("span", { className: styles.inputIcon, children: leftIcon }), countryCode && (_jsx("div", { className: styles.dialCodeBox, children: _jsx("span", { children: dialCode }) }))] })), _jsxs("div", { className: styles.inputStack, children: [country && (_jsxs("div", { className: styles.maskOverlay, "aria-hidden": "true", children: [_jsx("span", { className: styles.typedText, children: displayValue }), isFocused && _jsx("span", { className: styles.customCaret }), _jsx("span", { className: styles.placeholderText, children: remainingMask })] })), _jsx("input", Object.assign({}, rest, { ref: inputRef, type: "tel", className: inputClasses, value: displayValue, onInput: handleInput, onChange: handleChange, onKeyDown: handleKeyDown, onFocus: (e) => {
172
+ setIsFocused(true);
173
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
174
+ }, onBlur: (e) => {
175
+ setIsFocused(false);
176
+ if (!allowAutoComplete && !rawFormValue.length) {
177
+ setIsUserInteracting(false);
178
+ }
179
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
180
+ }, disabled: disabled || !countryCode, readOnly: readOnly || shouldForceReadonly, autoComplete: resolvedAutoComplete, autoCapitalize: "off", spellCheck: false, autoCorrect: "off", inputMode: "numeric", "data-lpignore": "true", "data-1p-ignore": "true", "data-bwignore": "true", "data-form-type": "other", "aria-autocomplete": "none", onSelect: (e) => {
181
+ const input = e.currentTarget;
182
+ input.selectionStart = input.selectionEnd;
183
+ }, name: resolvedName, id: resolvedId }))] }), shouldShowClearButton && (_jsx("button", { type: "button", className: styles.clearButton, onClick: handleClear, "aria-label": clearButtonLabel, tabIndex: -1, children: _jsx(X, { size: 16 }) }))] }) }));
184
+ });
185
+ PhoneInput.displayName = 'PhoneInput';
186
+ export default PhoneInput;
187
+ //# sourceMappingURL=PhoneInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhoneInput.js","sourceRoot":"","sources":["../../../../../../src/features/inputs/components/Inputs/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,KAAK,GAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAQ/C,MAAM,SAAS,GAAG,CAAC,KAAa,EAAE,MAAc,EAAU,EAAE;IAC1D,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,QAAQ,GAAG,CAAC,CAAC;IAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,IAAI,QAAQ,IAAI,KAAK,CAAC,MAAM;YAAE,MAAM;QAEpC,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,UAAU,KAAK,GAAG,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC;YAC1B,QAAQ,EAAE,CAAC;QACb,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,UAAU,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,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,CACV,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,eAAe,UAAU,CAAC"}
@@ -0,0 +1,259 @@
1
+ .inputContainer {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ align-items: center;
6
+ user-select: none;
7
+ -webkit-user-select: none;
8
+ -moz-user-select: none;
9
+ -ms-user-select: none;
10
+ }
11
+
12
+ .boxInput {
13
+ display: flex;
14
+ align-items: center;
15
+ width: 100%;
16
+ border: 1px solid var(--border-divider);
17
+ border-radius: var(--radius-sm);
18
+ background-color: var(--bg-secondary);
19
+ transition: all var(--transition-fast);
20
+ overflow: hidden;
21
+ height: 100%;
22
+ user-select: none;
23
+ -webkit-user-select: none;
24
+ }
25
+
26
+ .boxInput:focus-within {
27
+ border-color: var(--border-focus);
28
+ background-color: var(--bg-primary);
29
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
30
+ }
31
+
32
+ .disabledState {
33
+ background-color: var(--bg-secondary);
34
+ opacity: 0.7;
35
+ cursor: not-allowed;
36
+ }
37
+
38
+ .disabledState .textInput {
39
+ cursor: not-allowed;
40
+ }
41
+
42
+ .flat.boxInput {
43
+ border: none;
44
+ background-color: transparent;
45
+ box-shadow: none;
46
+ }
47
+
48
+ .flat.boxInput:focus-within {
49
+ border: none;
50
+ box-shadow: none;
51
+ background-color: transparent;
52
+ }
53
+
54
+ .leadingGroup {
55
+ display: inline-flex;
56
+ align-items: center;
57
+ gap: var(--spacing-md);
58
+ height: 100%;
59
+ padding: 0 var(--spacing-md);
60
+ color: var(--text-secondary);
61
+ border-right: 1px solid var(--border-divider);
62
+ flex-shrink: 0;
63
+ }
64
+
65
+ .inputIcon {
66
+ display: inline-flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ }
70
+
71
+ .dialCodeBox {
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+ height: 100%;
76
+ color: var(--text-primary);
77
+ font-weight: bold;
78
+ font-size: 0.9rem;
79
+ user-select: none;
80
+ }
81
+
82
+ .inputStack {
83
+ position: relative;
84
+ width: 100%;
85
+ height: 100%;
86
+ }
87
+
88
+ .maskOverlay {
89
+ position: absolute;
90
+ left: 0;
91
+ top: 0;
92
+ width: 100%;
93
+ height: 100%;
94
+ display: flex;
95
+ align-items: center;
96
+ padding: 2px var(--spacing-md) 0;
97
+ font-size: 0.9rem;
98
+ white-space: pre;
99
+ pointer-events: none;
100
+ z-index: 1;
101
+ font-family: inherit;
102
+ }
103
+
104
+ .textInput {
105
+ position: relative;
106
+ z-index: 2;
107
+ flex: 1;
108
+ width: 100%;
109
+ height: 100%;
110
+ border: none;
111
+ background-color: transparent;
112
+ color: transparent;
113
+ caret-color: transparent;
114
+ font-size: 0.9rem;
115
+ outline: none;
116
+ margin: 0;
117
+ font-family: inherit;
118
+ user-select: none;
119
+ -webkit-user-select: none;
120
+ }
121
+
122
+ .textInput::selection {
123
+ background: transparent !important;
124
+ color: transparent !important;
125
+ }
126
+
127
+ .typedText {
128
+ color: var(--text-primary);
129
+ font-weight: 550;
130
+ }
131
+
132
+ .customCaret {
133
+ display: inline-block;
134
+ width: 1.2px;
135
+ height: 1em;
136
+ background-color: var(--text-primary);
137
+ animation: blinkCaret 1s step-end infinite;
138
+ vertical-align: middle;
139
+ }
140
+
141
+ @keyframes blinkCaret {
142
+ 0%,
143
+ 100% {
144
+ opacity: 1;
145
+ }
146
+ 50% {
147
+ opacity: 0;
148
+ }
149
+ }
150
+
151
+ .placeholderText {
152
+ color: var(--text-tertiary);
153
+ }
154
+
155
+ .textInput:-webkit-autofill,
156
+ .textInput:-webkit-autofill:hover,
157
+ .textInput:-webkit-autofill:focus,
158
+ .textInput:-webkit-autofill:active {
159
+ -webkit-box-shadow: 0 0 0 1000px var(--bg-secondary) inset;
160
+ box-shadow: 0 0 0 1000px var(--bg-secondary) inset;
161
+ background-color: var(--bg-secondary) !important;
162
+ -webkit-text-fill-color: var(--text-primary);
163
+ color: var(--text-primary);
164
+ caret-color: var(--text-primary);
165
+ }
166
+
167
+ .boxInput:focus-within .textInput:-webkit-autofill,
168
+ .boxInput:focus-within .textInput:-webkit-autofill:hover,
169
+ .boxInput:focus-within .textInput:-webkit-autofill:focus,
170
+ .boxInput:focus-within .textInput:-webkit-autofill:active {
171
+ -webkit-box-shadow: 0 0 0 1000px var(--bg-primary) inset;
172
+ box-shadow: 0 0 0 1000px var(--bg-primary) inset;
173
+ background-color: var(--bg-primary) !important;
174
+ }
175
+
176
+ .clearButton {
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: center;
180
+ width: 24px;
181
+ height: 24px;
182
+ margin-right: var(--spacing-sm);
183
+ align-self: center;
184
+ background: var(--color-gray-100);
185
+ border: none;
186
+ border-radius: 50%;
187
+ color: var(--text-tertiary);
188
+ cursor: pointer;
189
+ transition: all var(--transition-fast);
190
+ flex-shrink: 0;
191
+ }
192
+
193
+ .clearButton:hover {
194
+ background: var(--color-gray-300);
195
+ color: var(--text-primary);
196
+ }
197
+
198
+ .hasRightControl .inputStack {
199
+ padding-right: 2.5rem;
200
+ }
201
+
202
+ .sm {
203
+ height: 32px;
204
+ }
205
+
206
+ .sm .textInput {
207
+ font-size: 0.75rem;
208
+ }
209
+
210
+ .sm .dialCodeBox {
211
+ font-size: 0.75rem;
212
+ }
213
+
214
+ .sm .leadingGroup {
215
+ gap: var(--spacing-sm);
216
+ padding: 0 var(--spacing-sm);
217
+ }
218
+
219
+ .sm .inputIcon {
220
+ font-size: 0.75rem;
221
+ }
222
+
223
+ .sm .clearButton {
224
+ width: 20px;
225
+ height: 20px;
226
+ margin-right: var(--spacing-xs);
227
+ }
228
+
229
+ .md {
230
+ height: 40px;
231
+ }
232
+
233
+ .lg {
234
+ height: 48px;
235
+ }
236
+
237
+ .lg .textInput {
238
+ font-size: 1rem;
239
+ padding: 0 var(--spacing-lg);
240
+ }
241
+
242
+ .lg .dialCodeBox {
243
+ font-size: 1rem;
244
+ }
245
+
246
+ .lg .leadingGroup {
247
+ gap: var(--spacing-md);
248
+ padding: 0 var(--spacing-md);
249
+ }
250
+
251
+ .lg .inputIcon {
252
+ font-size: 1rem;
253
+ }
254
+
255
+ .lg .clearButton {
256
+ width: 28px;
257
+ height: 28px;
258
+ margin-right: var(--spacing-md);
259
+ }
@@ -0,0 +1,3 @@
1
+ import { CountryConfig } from '../types/phone.types';
2
+ export declare const aoaConfig: CountryConfig;
3
+ //# sourceMappingURL=ao.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ao.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/ao.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,aAmBvB,CAAC"}
@@ -0,0 +1,20 @@
1
+ export const aoaConfig = {
2
+ code: 'AO',
3
+ dialCode: '+244',
4
+ name: 'Angola',
5
+ format: '000 000 000',
6
+ maxLength: 9,
7
+ validateRegex: /^9[1234579]\d{7}$/,
8
+ formatInput: (rawVal) => {
9
+ let val = rawVal;
10
+ // Regras estritas da ANACOM encapsuladas diretamente no país
11
+ if (val.length === 1 && val[0] !== '9') {
12
+ val = '';
13
+ }
14
+ else if (val.length === 2 && !['91', '92', '93', '94', '95', '97', '99'].includes(val)) {
15
+ val = '9';
16
+ }
17
+ return val;
18
+ }
19
+ };
20
+ //# sourceMappingURL=ao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ao.js","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/ao.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAkB;IACpC,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,aAAa;IACrB,SAAS,EAAE,CAAC;IACZ,aAAa,EAAE,mBAAmB;IAClC,WAAW,EAAE,CAAC,MAAc,EAAE,EAAE;QAC5B,IAAI,GAAG,GAAG,MAAM,CAAC;QAEjB,6DAA6D;QAC7D,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;YACrC,GAAG,GAAG,EAAE,CAAC;QACb,CAAC;aAAM,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACvF,GAAG,GAAG,GAAG,CAAC;QACd,CAAC;QAED,OAAO,GAAG,CAAC;IACf,CAAC;CACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CountryConfig } from '../types/phone.types';
2
+ export declare const brConfig: CountryConfig;
3
+ //# sourceMappingURL=br.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"br.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/br.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,aAOtB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export const brConfig = {
2
+ code: 'BR',
3
+ dialCode: '+55',
4
+ name: 'Brasil',
5
+ format: '(00) 00000-0000',
6
+ maxLength: 11,
7
+ validateRegex: /^\d{10,11}$/,
8
+ };
9
+ //# sourceMappingURL=br.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"br.js","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/br.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAkB;IACnC,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,iBAAiB;IACzB,SAAS,EAAE,EAAE;IACb,aAAa,EAAE,aAAa;CAC/B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { CountryConfig } from '../types/phone.types';
2
+ export declare const COUNTRIES: Record<string, CountryConfig>;
3
+ export declare const getCountryConfig: (code: string | undefined) => CountryConfig | undefined;
4
+ export declare const validatePhone: (phone: string | undefined, countryCode: string | undefined) => boolean;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAKnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,GAAG,SAAS,KAAG,aAAa,GAAG,SAiB3E,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,GAAG,SAAS,EAAE,aAAa,MAAM,GAAG,SAAS,KAAG,OAmB1F,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { aoaConfig } from './ao';
2
+ import { brConfig } from './br';
3
+ import { ptConfig } from './pt';
4
+ import { usaConfig } from './us';
5
+ // Futuramente importe de './pt', './br' etc...
6
+ export const COUNTRIES = {
7
+ AO: aoaConfig,
8
+ BR: brConfig,
9
+ PT: ptConfig,
10
+ US: usaConfig,
11
+ };
12
+ export const getCountryConfig = (code) => {
13
+ if (!code)
14
+ return undefined;
15
+ const upper = code.toUpperCase();
16
+ const normalized = upper.length === 2
17
+ ? upper
18
+ : (upper === 'AOA' || upper === 'ANGOLA'
19
+ ? 'AO'
20
+ : upper === 'USA' || upper === 'ESTADOS UNIDOS'
21
+ ? 'US'
22
+ : upper === 'PORTUGAL'
23
+ ? 'PT'
24
+ : upper === 'BRASIL'
25
+ ? 'BR'
26
+ : upper);
27
+ return COUNTRIES[normalized];
28
+ };
29
+ export const validatePhone = (phone, countryCode) => {
30
+ if (!phone || phone.trim() === '')
31
+ return false;
32
+ const config = getCountryConfig(countryCode);
33
+ const clean = phone.replace(/\D/g, '');
34
+ if (clean.length === 0)
35
+ return false;
36
+ if (!config) {
37
+ // Se realmente não soubermos o país, retornamos false (ESTRITO)
38
+ return false;
39
+ }
40
+ // 1. Validação de Tamanho
41
+ if (clean.length !== config.maxLength)
42
+ return false;
43
+ // 2. Validação de Regex (ex: regras 9X de Angola)
44
+ if (config.validateRegex && !config.validateRegex.test(clean))
45
+ return false;
46
+ return true;
47
+ };
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,+CAA+C;AAC/C,MAAM,CAAC,MAAM,SAAS,GAAkC;IACpD,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,SAAS;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAwB,EAA6B,EAAE;IACpF,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACjC,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,KAAK,CAAC;QACjC,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,CACE,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,QAAQ;YACjC,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,gBAAgB;gBAC3C,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,KAAK,KAAK,UAAU;oBAClB,CAAC,CAAC,IAAI;oBACN,CAAC,CAAC,KAAK,KAAK,QAAQ;wBAChB,CAAC,CAAC,IAAI;wBACN,CAAC,CAAC,KAAK,CAC1B,CAAC;IACN,OAAO,SAAS,CAAC,UAAU,CAAC,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAE,WAA+B,EAAW,EAAE;IACjG,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,KAAK,CAAC;IAChD,MAAM,MAAM,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAE7C,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACvC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAErC,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,gEAAgE;QAChE,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,0BAA0B;IAC1B,IAAI,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,SAAS;QAAE,OAAO,KAAK,CAAC;IAEpD,kDAAkD;IAClD,IAAI,MAAM,CAAC,aAAa,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE5E,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CountryConfig } from '../types/phone.types';
2
+ export declare const ptConfig: CountryConfig;
3
+ //# sourceMappingURL=pt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/pt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,aAOtB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export const ptConfig = {
2
+ code: 'PT',
3
+ dialCode: '+351',
4
+ name: 'Portugal',
5
+ format: '000 000 000',
6
+ maxLength: 9,
7
+ validateRegex: /^9\d{8}$/,
8
+ };
9
+ //# sourceMappingURL=pt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pt.js","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/pt.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAkB;IACnC,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,aAAa;IACrB,SAAS,EAAE,CAAC;IACZ,aAAa,EAAE,UAAU;CAC5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CountryConfig } from '../types/phone.types';
2
+ export declare const usaConfig: CountryConfig;
3
+ //# sourceMappingURL=us.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"us.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/us.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,aAevB,CAAC"}
@@ -0,0 +1,17 @@
1
+ export const usaConfig = {
2
+ code: 'US',
3
+ dialCode: '+1',
4
+ name: 'Estados Unidos',
5
+ format: '(000) 000-0000',
6
+ maxLength: 10,
7
+ validateRegex: /^[2-9]\d{9}$/,
8
+ formatInput: (rawVal) => {
9
+ let val = rawVal;
10
+ // O primeiro dígito americana (NPA) não pode ser 0 ou 1
11
+ if (val.length === 1 && (val[0] === '0' || val[0] === '1')) {
12
+ val = '';
13
+ }
14
+ return val;
15
+ }
16
+ };
17
+ //# sourceMappingURL=us.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"us.js","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/countries/us.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAkB;IACpC,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,gBAAgB;IACxB,SAAS,EAAE,EAAE;IACb,aAAa,EAAE,cAAc;IAC7B,WAAW,EAAE,CAAC,MAAc,EAAE,EAAE;QAC5B,IAAI,GAAG,GAAG,MAAM,CAAC;QACjB,wDAAwD;QACxD,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC;YACzD,GAAG,GAAG,EAAE,CAAC;QACb,CAAC;QACD,OAAO,GAAG,CAAC;IACf,CAAC;CACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ export interface CountryConfig {
2
+ code: string;
3
+ dialCode: string;
4
+ name: string;
5
+ format: string;
6
+ maxLength: number;
7
+ validateRegex?: RegExp;
8
+ formatInput?: (rawVal: string) => string;
9
+ }
10
+ //# sourceMappingURL=phone.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/inputs/components/Inputs/PhoneInput/types/phone.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C"}