xertica-ui 2.5.0 → 2.5.2

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 (536) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +56 -17
  3. package/assets/xertica-logo.svg +37 -37
  4. package/assets/xertica-x-logo.svg +20 -20
  5. package/bin/cli.ts +14 -2
  6. package/bin/generate-tokens.ts +262 -262
  7. package/bin/language-config.ts +359 -358
  8. package/components/assistant/code-block/CodeBlock.tsx +268 -268
  9. package/components/assistant/formatted-document/FormattedDocument.tsx +147 -147
  10. package/components/assistant/modern-chat-input/ModernChatInput.tsx +564 -564
  11. package/components/assistant/xertica-assistant/parts/AssistantCollapsedView.tsx +99 -99
  12. package/components/assistant/xertica-assistant/parts/AssistantConversationList.tsx +104 -104
  13. package/components/assistant/xertica-assistant/parts/AssistantDocumentEditor.tsx +81 -81
  14. package/components/assistant/xertica-assistant/parts/AssistantFeedbackDialog.tsx +88 -88
  15. package/components/assistant/xertica-assistant/parts/AssistantHeader.tsx +75 -75
  16. package/components/assistant/xertica-assistant/parts/AssistantMessageBubble.tsx +564 -564
  17. package/components/assistant/xertica-assistant/parts/AssistantTabBar.tsx +67 -67
  18. package/components/assistant/xertica-assistant/parts/AssistantWelcomeScreen.tsx +103 -103
  19. package/components/assistant/xertica-assistant/use-assistant.ts +615 -615
  20. package/components/assistant/xertica-assistant/xertica-assistant.tsx +611 -611
  21. package/components/blocks/card-patterns/ActivityCard.tsx +100 -100
  22. package/components/blocks/card-patterns/ActivityCardSkeleton.tsx +56 -56
  23. package/components/blocks/card-patterns/FeatureCardSkeleton.tsx +58 -58
  24. package/components/blocks/card-patterns/NotificationCard.tsx +140 -140
  25. package/components/blocks/card-patterns/NotificationCardSkeleton.tsx +81 -81
  26. package/components/blocks/card-patterns/ProfileCard.tsx +112 -112
  27. package/components/blocks/card-patterns/ProfileCardSkeleton.tsx +69 -69
  28. package/components/blocks/card-patterns/ProjectCard.tsx +123 -123
  29. package/components/blocks/card-patterns/ProjectCardSkeleton.tsx +67 -67
  30. package/components/blocks/card-patterns/QuickActionCardSkeleton.tsx +44 -44
  31. package/components/blocks/card-patterns/card-patterns.stories.tsx +594 -594
  32. package/components/blocks/card-patterns/index.ts +29 -29
  33. package/components/brand/language-selector/LanguageSelector.tsx +102 -102
  34. package/components/brand/language-selector/language-selector.stories.tsx +111 -111
  35. package/components/brand/language-selector/language-selector.test.tsx +101 -101
  36. package/components/brand/theme-toggle/ThemeToggle.tsx +74 -74
  37. package/components/brand/xertica-provider/xertica-provider.mdx +61 -61
  38. package/components/index.ts +86 -86
  39. package/components/layout/sidebar/sidebar.mdx +1 -1
  40. package/components/layout/sidebar/sidebar.stories.tsx +1033 -787
  41. package/components/layout/sidebar/sidebar.tsx +338 -1
  42. package/components/media/FloatingMediaWrapper.tsx +371 -371
  43. package/components/media/audio-player/AudioPlayer.tsx +768 -768
  44. package/components/media/video-player/VideoPlayer.tsx +310 -310
  45. package/components/pages/home-content/HomeContent.tsx +120 -120
  46. package/components/pages/home-content/home-content.mdx +62 -62
  47. package/components/pages/home-page/HomePage.tsx +78 -78
  48. package/components/pages/home-page/home-page.mdx +53 -53
  49. package/components/pages/template-content/TemplateContent.tsx +1354 -1354
  50. package/components/pages/template-content/template-content.mdx +61 -61
  51. package/components/pages/template-page/TemplatePage.stories.tsx +32 -32
  52. package/components/pages/template-page/template-page.mdx +53 -53
  53. package/components/shared/error-boundary.stories.tsx +114 -114
  54. package/components/shared/error-boundary.tsx +150 -150
  55. package/components/shared/error-fallbacks.tsx +222 -222
  56. package/components/ui/accordion/accordion.mdx +8 -8
  57. package/components/ui/alert/alert.mdx +8 -8
  58. package/components/ui/alert-dialog/alert-dialog.mdx +8 -8
  59. package/components/ui/aspect-ratio/aspect-ratio.mdx +8 -8
  60. package/components/ui/assistant-chart/assistant-chart.mdx +8 -8
  61. package/components/ui/avatar/avatar.mdx +8 -8
  62. package/components/ui/badge/badge.mdx +8 -8
  63. package/components/ui/breadcrumb/breadcrumb.mdx +8 -8
  64. package/components/ui/button/button.mdx +8 -8
  65. package/components/ui/calendar/calendar.mdx +8 -8
  66. package/components/ui/card/card.mdx +8 -8
  67. package/components/ui/carousel/carousel.mdx +8 -8
  68. package/components/ui/chart/chart.mdx +8 -8
  69. package/components/ui/chart/chart.test.tsx +178 -178
  70. package/components/ui/chart/chart.tsx +2245 -2239
  71. package/components/ui/checkbox/checkbox.mdx +8 -8
  72. package/components/ui/collapsible/collapsible.mdx +8 -8
  73. package/components/ui/command/command.mdx +8 -8
  74. package/components/ui/context-menu/context-menu.mdx +8 -8
  75. package/components/ui/dialog/dialog.mdx +8 -8
  76. package/components/ui/drawer/drawer.mdx +8 -8
  77. package/components/ui/dropdown-menu/dropdown-menu.mdx +8 -8
  78. package/components/ui/empty/empty.mdx +8 -8
  79. package/components/ui/file-upload/file-upload.mdx +8 -8
  80. package/components/ui/hover-card/hover-card.mdx +8 -8
  81. package/components/ui/input/input.mdx +8 -8
  82. package/components/ui/input-otp/input-otp.mdx +8 -8
  83. package/components/ui/label/label.mdx +8 -8
  84. package/components/ui/map/map.mdx +8 -8
  85. package/components/ui/menubar/menubar.mdx +8 -8
  86. package/components/ui/navigation-menu/navigation-menu.mdx +8 -8
  87. package/components/ui/notification-badge/notification-badge.mdx +8 -8
  88. package/components/ui/pagination/pagination.mdx +8 -8
  89. package/components/ui/popover/popover.mdx +8 -8
  90. package/components/ui/progress/progress.mdx +8 -8
  91. package/components/ui/radio-group/radio-group.mdx +8 -8
  92. package/components/ui/rating/rating.mdx +8 -8
  93. package/components/ui/resizable/resizable.mdx +8 -8
  94. package/components/ui/route-map/route-map.mdx +8 -8
  95. package/components/ui/scroll-area/scroll-area.mdx +8 -8
  96. package/components/ui/search/search.mdx +8 -8
  97. package/components/ui/select/select.mdx +8 -8
  98. package/components/ui/separator/separator.mdx +8 -8
  99. package/components/ui/sheet/sheet.mdx +8 -8
  100. package/components/ui/simple-map/simple-map.mdx +8 -8
  101. package/components/ui/skeleton/skeleton.mdx +8 -8
  102. package/components/ui/slider/slider.mdx +8 -8
  103. package/components/ui/sonner/sonner.mdx +8 -8
  104. package/components/ui/stats-card/index.ts +2 -2
  105. package/components/ui/stats-card/stats-card-skeleton.tsx +60 -60
  106. package/components/ui/stats-card/stats-card.mdx +8 -8
  107. package/components/ui/stats-card/stats-card.tsx +109 -109
  108. package/components/ui/stepper/stepper.mdx +8 -8
  109. package/components/ui/switch/switch.mdx +8 -8
  110. package/components/ui/table/table.mdx +8 -8
  111. package/components/ui/tabs/tabs.mdx +8 -8
  112. package/components/ui/textarea/textarea.mdx +8 -8
  113. package/components/ui/timeline/timeline.mdx +8 -8
  114. package/components/ui/toggle/toggle.mdx +8 -8
  115. package/components/ui/toggle-group/toggle-group.mdx +8 -8
  116. package/components/ui/tooltip/tooltip.mdx +8 -8
  117. package/components/ui/tree-view/tree-view.mdx +8 -8
  118. package/components.json +511 -511
  119. package/contexts/AuthContext.tsx +121 -121
  120. package/contexts/BrandColorsContext.tsx +282 -282
  121. package/contexts/LanguageContext.test.tsx +121 -121
  122. package/contexts/LanguageContext.tsx +250 -250
  123. package/contexts/theme-data.ts +391 -391
  124. package/dist/{AssistantChart-DoZCyS5r.cjs → AssistantChart-9w31gdAb.cjs} +4 -4
  125. package/dist/{AssistantChart-CldVCVDe.cjs → AssistantChart-BAudAfne.cjs} +5 -5
  126. package/dist/{AssistantChart-Bdd44uBn.cjs → AssistantChart-BAx9VQvb.cjs} +127 -388
  127. package/dist/{AssistantChart-Cu3m7RBo.js → AssistantChart-BP8upjMk.js} +5 -5
  128. package/dist/{AssistantChart-CFhDdGyU.js → AssistantChart-CVko2A1W.js} +130 -391
  129. package/dist/{AssistantChart-C_hwFRRr.js → AssistantChart-CVzmmhx4.js} +4 -4
  130. package/dist/{AudioPlayer-IAU5q5T1.cjs → AudioPlayer-1ypwE2Wh.cjs} +1 -1
  131. package/dist/{AudioPlayer-CGRUtUdN.js → AudioPlayer-DuKXrCfy.js} +1 -1
  132. package/dist/{LanguageContext-CS14yCpi.js → LanguageContext-BwhwC3G2.js} +2 -2
  133. package/dist/{LanguageContext-B_KFTCzT.cjs → LanguageContext-DvUt5jBg.cjs} +2 -2
  134. package/dist/{ThemeContext-C2EwAPDt.js → ThemeContext-BbBNoFTG.js} +2 -2
  135. package/dist/{ThemeContext-Bmod0Cg2.cjs → ThemeContext-BblcjQup.cjs} +13 -8
  136. package/dist/{ThemeContext-BWq9ACPo.js → ThemeContext-Bo-W2WZH.js} +13 -8
  137. package/dist/{ThemeContext-j5aGtPky.cjs → ThemeContext-CP3a0jxy.cjs} +193 -262
  138. package/dist/{ThemeContext-vTjumZeM.cjs → ThemeContext-Cmr8Ex8H.cjs} +2 -2
  139. package/dist/ThemeContext-CpqYShLq.cjs +324 -0
  140. package/dist/{ThemeContext-CQSo4Iwc.js → ThemeContext-D3LzacmG.js} +8 -1
  141. package/dist/ThemeContext-Du2nE1PL.js +325 -0
  142. package/dist/ThemeContext-GeEBTJ3q.cjs +1621 -0
  143. package/dist/ThemeContext-JyLK9B1o.js +1622 -0
  144. package/dist/{ThemeContext-CGk3KK0k.cjs → ThemeContext-U4dEYc6C.cjs} +8 -1
  145. package/dist/{ThemeContext-BXjrgUjW.js → ThemeContext-ept8jhXI.js} +200 -261
  146. package/dist/{VerifyEmailPage-CGIwmWrm.js → VerifyEmailPage-B31mCrMc.js} +1 -1
  147. package/dist/{VerifyEmailPage-C0c2e5n0.js → VerifyEmailPage-BE-L9mB7.js} +7 -7
  148. package/dist/{VerifyEmailPage-DSBMRHtl.js → VerifyEmailPage-BIBOKV7Z.js} +41 -36
  149. package/dist/{VerifyEmailPage-DgIid028.js → VerifyEmailPage-BJjAMUTW.js} +4 -4
  150. package/dist/{VerifyEmailPage--1Vurewl.cjs → VerifyEmailPage-BRSP-Pwt.cjs} +3 -3
  151. package/dist/{VerifyEmailPage-Cwi3kbol.cjs → VerifyEmailPage-Bae2cBXT.cjs} +7 -7
  152. package/dist/{VerifyEmailPage-De6bQjrz.cjs → VerifyEmailPage-BiRm7Nh4.cjs} +41 -36
  153. package/dist/{VerifyEmailPage-ByerOcm4.cjs → VerifyEmailPage-Bv8Ah_TK.cjs} +23 -20
  154. package/dist/VerifyEmailPage-Bvfv8HVQ.js +3214 -0
  155. package/dist/{VerifyEmailPage-BComraR7.cjs → VerifyEmailPage-CR7kb5df.cjs} +22 -12
  156. package/dist/{VerifyEmailPage-CpqqpLpo.cjs → VerifyEmailPage-C_Zk6Gen.cjs} +1 -1
  157. package/dist/{VerifyEmailPage-MTD7AG1Z.js → VerifyEmailPage-C_ihbcth.js} +4 -4
  158. package/dist/{VerifyEmailPage-1WwWczAn.js → VerifyEmailPage-CbgjOF0v.js} +22 -12
  159. package/dist/{VerifyEmailPage-DvMLZgFt.js → VerifyEmailPage-CdYPSJoO.js} +1 -1
  160. package/dist/{VerifyEmailPage-By3Jf__L.cjs → VerifyEmailPage-CkBYfsNy.cjs} +4 -4
  161. package/dist/{VerifyEmailPage-CJLz3jrn.js → VerifyEmailPage-Cyl55sJb.js} +23 -20
  162. package/dist/VerifyEmailPage-D-FRj5TU.cjs +3213 -0
  163. package/dist/{VerifyEmailPage-B4peJjAT.cjs → VerifyEmailPage-DF2ilhum.cjs} +334 -356
  164. package/dist/{VerifyEmailPage-CYXtbKi3.cjs → VerifyEmailPage-DMBh4NM9.cjs} +1 -1
  165. package/dist/{VerifyEmailPage-CgMxRb4z.js → VerifyEmailPage-DTtFfC-J.js} +3 -3
  166. package/dist/{VerifyEmailPage-CFLMls1p.cjs → VerifyEmailPage-Dt7zgA4w.cjs} +4 -4
  167. package/dist/{VerifyEmailPage-C5TNQTBa.js → VerifyEmailPage-EhudUdqF.js} +343 -355
  168. package/dist/{VerifyEmailPage-DGhuIqkb.js → VerifyEmailPage-X14vhdyl.js} +4 -4
  169. package/dist/VerifyEmailPage-hdB8JQGv.cjs +3213 -0
  170. package/dist/{VerifyEmailPage-Bp1XXl3H.cjs → VerifyEmailPage-u_Dn7t1U.cjs} +4 -4
  171. package/dist/VerifyEmailPage-vYHbYK3q.js +3214 -0
  172. package/dist/{XerticaProvider-CBGc4EMA.cjs → XerticaProvider-AChwphCO.cjs} +4 -4
  173. package/dist/{XerticaProvider-BIrqfZ-i.cjs → XerticaProvider-AbWlr7Af.cjs} +8 -11
  174. package/dist/{XerticaProvider-D-yNhF94.cjs → XerticaProvider-B8CaV7xu.cjs} +1 -1
  175. package/dist/{XerticaProvider-CEoWMTxu.js → XerticaProvider-BITjgC5p.js} +2 -2
  176. package/dist/{XerticaProvider-CllrbMEJ.cjs → XerticaProvider-By8q3Roe.cjs} +2 -2
  177. package/dist/{XerticaProvider-C1DKnvLh.js → XerticaProvider-CUYJZc32.js} +4 -4
  178. package/dist/{XerticaProvider-ET0ihewn.cjs → XerticaProvider-CW9hpCdF.cjs} +2 -2
  179. package/dist/{XerticaProvider-Dt5HEzbQ.js → XerticaProvider-CWgby5mY.js} +10 -10
  180. package/dist/XerticaProvider-CWs6EwNa.js +49 -0
  181. package/dist/XerticaProvider-CjQAQPcn.cjs +48 -0
  182. package/dist/XerticaProvider-D5lLumH-.js +49 -0
  183. package/dist/{XerticaProvider-DYq4JWtg.js → XerticaProvider-DQtvJU7m.js} +1 -1
  184. package/dist/XerticaProvider-qQUDop71.cjs +48 -0
  185. package/dist/{XerticaProvider-B7EVH-NF.js → XerticaProvider-siSt9uG2.js} +2 -2
  186. package/dist/{XerticaXLogo-Zw2B276b.cjs → XerticaXLogo-8TTzBjHw.cjs} +1 -1
  187. package/dist/{XerticaXLogo-B7xQ5dhi.js → XerticaXLogo-BWaag64t.js} +1 -1
  188. package/dist/{XerticaXLogo-DZbo4vOE.js → XerticaXLogo-CFuIlYFH.js} +12 -12
  189. package/dist/{XerticaXLogo-bvZSgwGF.cjs → XerticaXLogo-CU-U-GP4.cjs} +7 -13
  190. package/dist/XerticaXLogo-ChryA6xj.js +252 -0
  191. package/dist/{XerticaXLogo-CQUUjXoH.cjs → XerticaXLogo-CziKMQil.cjs} +8 -8
  192. package/dist/XerticaXLogo-DHz5SugF.js +252 -0
  193. package/dist/XerticaXLogo-DTee_y8X.cjs +251 -0
  194. package/dist/{XerticaXLogo-Cmsp-Eey.js → XerticaXLogo-DfUvz-lD.js} +9 -9
  195. package/dist/XerticaXLogo-kslQ8Tk_.cjs +251 -0
  196. package/dist/{alert-dialog-s-vmNkJ_.js → alert-dialog-iDe5VE5o.js} +3 -3
  197. package/dist/{alert-dialog-DSKByiKZ.cjs → alert-dialog-yckpaOpy.cjs} +3 -3
  198. package/dist/cli.js +16 -6
  199. package/dist/components/ui/chart/chart.d.ts +7 -5
  200. package/dist/{google-maps-loader-Y-QkD-Li.cjs → google-maps-loader-BqsYL48U.cjs} +0 -5
  201. package/dist/{google-maps-loader-CTYySAun.js → google-maps-loader-t2IlYBzw.js} +0 -4
  202. package/dist/index-CkTUgOwX.js +8 -0
  203. package/dist/{index-COtD8bRW.cjs → index-D3RLKRAs.cjs} +1 -1
  204. package/dist/index.cjs.js +2 -2
  205. package/dist/index.es.js +2 -2
  206. package/dist/index.umd.js +454 -1027
  207. package/dist/layout.cjs.js +1 -1
  208. package/dist/layout.es.js +1 -1
  209. package/dist/pages.cjs.js +1 -1
  210. package/dist/pages.es.js +1 -1
  211. package/dist/{sidebar-DAaY8bRU.cjs → sidebar-B3EYhli0.cjs} +33 -24
  212. package/dist/{sidebar-nzPoVHBQ.cjs → sidebar-B9NR0lCe.cjs} +46 -41
  213. package/dist/{sidebar-CeTMuzOx.cjs → sidebar-BvF5I2Ue.cjs} +47 -128
  214. package/dist/{sidebar-q7P2Godd.cjs → sidebar-C5B_LHek.cjs} +1 -1
  215. package/dist/{sidebar-CrQDDdcz.js → sidebar-CA6_ek3f.js} +33 -24
  216. package/dist/sidebar-CLmIjgNd.cjs +1136 -0
  217. package/dist/{sidebar-BxGXsDAd.cjs → sidebar-CVUGHOS_.cjs} +8 -16
  218. package/dist/{sidebar-BViy8Eeu.js → sidebar-CmvwjnVb.js} +9 -17
  219. package/dist/{sidebar-B6SlKZYN.js → sidebar-CplprZpM.js} +49 -40
  220. package/dist/sidebar-Duermn32.js +1133 -0
  221. package/dist/{sidebar-BbVIQvlP.js → sidebar-Dz7bd3zP.js} +1 -1
  222. package/dist/{sidebar-0ocFLSks.js → sidebar-KIS0C2JH.js} +50 -127
  223. package/dist/sidebar-OTO_up7Z.js +801 -0
  224. package/dist/sidebar-zowjejT2.cjs +800 -0
  225. package/dist/{use-audio-player-nv8ZSGa1.js → use-audio-player-Bkh23vQ3.js} +3 -7
  226. package/dist/{use-audio-player-NKsWyjWu.cjs → use-audio-player-Dn1NR9xN.cjs} +3 -7
  227. package/dist/{xertica-assistant-dyP7KHM5.cjs → xertica-assistant-B1IaHXnB.cjs} +388 -529
  228. package/dist/{xertica-assistant-ciJaWqm1.js → xertica-assistant-BMqdyRVi.js} +10 -28
  229. package/dist/{xertica-assistant-V_IdW4WF.cjs → xertica-assistant-Bj3vBCq_.cjs} +9 -27
  230. package/dist/{xertica-assistant-yX1CFBBo.js → xertica-assistant-DPsESB6t.js} +390 -531
  231. package/dist/{CodeBlock-7TTgmdGG.cjs → xertica-assistant-Qp3ydksa.cjs} +51 -263
  232. package/dist/{CodeBlock-BeSt1h5P.js → xertica-assistant-gnCJdcZY.js} +7 -219
  233. package/dist/xertica-ui.css +2 -2
  234. package/docs/architecture-improvements.md +456 -456
  235. package/docs/architecture.md +312 -312
  236. package/docs/components/assistant.md +428 -428
  237. package/docs/components/branding.md +252 -252
  238. package/docs/components/card-patterns.md +447 -447
  239. package/docs/components/error-boundary.md +201 -201
  240. package/docs/components/hooks.md +432 -432
  241. package/docs/components/language-selector.md +176 -176
  242. package/docs/components/pages.md +323 -323
  243. package/docs/components/sidebar.md +331 -331
  244. package/docs/components/stats-card.md +138 -138
  245. package/docs/doc-audit.md +244 -244
  246. package/docs/getting-started.md +616 -616
  247. package/docs/guidelines.md +330 -330
  248. package/docs/i18n.md +480 -480
  249. package/docs/installation.md +268 -268
  250. package/docs/llms.md +295 -295
  251. package/docs/state-management.md +289 -289
  252. package/guidelines/Guidelines.md +409 -409
  253. package/llms-compact.txt +1 -1
  254. package/llms-full.txt +10688 -10688
  255. package/llms.txt +1 -1
  256. package/package.json +1 -1
  257. package/styles/xertica/base.css +90 -90
  258. package/styles/xertica/tokens.css +240 -240
  259. package/templates/.prettierignore +4 -4
  260. package/templates/.prettierrc +10 -10
  261. package/templates/CLAUDE.md +180 -180
  262. package/templates/package.json +2 -2
  263. package/templates/src/app/App.tsx +46 -46
  264. package/templates/src/app/components/AuthGuard.tsx +131 -131
  265. package/templates/src/features/assistant/data/mock.ts +75 -75
  266. package/templates/src/features/assistant/hooks/useAssistantConfig.ts +20 -20
  267. package/templates/src/features/assistant/index.ts +5 -5
  268. package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +70 -70
  269. package/templates/src/features/auth/ui/LoginContent.tsx +92 -92
  270. package/templates/src/features/auth/ui/ResetPasswordContent.tsx +183 -183
  271. package/templates/src/features/auth/ui/SocialLoginButtons.tsx +78 -78
  272. package/templates/src/features/auth/ui/VerifyEmailContent.tsx +80 -80
  273. package/templates/src/features/home/data/mock.ts +41 -41
  274. package/templates/src/features/home/hooks/useFeatureCards.ts +20 -20
  275. package/templates/src/features/home/index.ts +11 -11
  276. package/templates/src/features/home/ui/HomeContent.tsx +117 -117
  277. package/templates/src/features/template/ui/CrudTemplate.tsx +112 -112
  278. package/templates/src/features/template/ui/DashboardTemplate.tsx +110 -110
  279. package/templates/src/features/template/ui/FormTemplate.tsx +117 -117
  280. package/templates/src/features/template/ui/LoginTemplate.tsx +59 -59
  281. package/templates/src/features/template/ui/TemplateContent.tsx +1322 -1322
  282. package/templates/src/i18n.ts +124 -124
  283. package/templates/src/locales/en/common.json +21 -21
  284. package/templates/src/locales/en/components/activityCard.json +10 -10
  285. package/templates/src/locales/en/components/assistant.json +119 -119
  286. package/templates/src/locales/en/components/media.json +29 -29
  287. package/templates/src/locales/en/components/notificationCard.json +5 -5
  288. package/templates/src/locales/en/components/profileCard.json +8 -8
  289. package/templates/src/locales/en/components/projectCard.json +10 -10
  290. package/templates/src/locales/en/components/sidebar.json +14 -14
  291. package/templates/src/locales/en/components/stats.json +8 -8
  292. package/templates/src/locales/en/components/team.json +14 -14
  293. package/templates/src/locales/en/errors.json +9 -9
  294. package/templates/src/locales/en/languageSelector.json +7 -7
  295. package/templates/src/locales/en/nav.json +6 -6
  296. package/templates/src/locales/en/pages/crudTemplate.json +25 -25
  297. package/templates/src/locales/en/pages/dashboardTemplate.json +20 -20
  298. package/templates/src/locales/en/pages/forgotPassword.json +10 -10
  299. package/templates/src/locales/en/pages/formTemplate.json +16 -16
  300. package/templates/src/locales/en/pages/home.json +7 -7
  301. package/templates/src/locales/en/pages/login.json +15 -15
  302. package/templates/src/locales/en/pages/loginTemplate.json +9 -9
  303. package/templates/src/locales/en/pages/resetPassword.json +18 -18
  304. package/templates/src/locales/en/pages/templates.json +317 -317
  305. package/templates/src/locales/en/pages/verifyEmail.json +12 -12
  306. package/templates/src/locales/en/themeToggle.json +6 -6
  307. package/templates/src/locales/es/common.json +21 -21
  308. package/templates/src/locales/es/components/activityCard.json +10 -10
  309. package/templates/src/locales/es/components/assistant.json +119 -119
  310. package/templates/src/locales/es/components/media.json +29 -29
  311. package/templates/src/locales/es/components/notificationCard.json +5 -5
  312. package/templates/src/locales/es/components/profileCard.json +8 -8
  313. package/templates/src/locales/es/components/projectCard.json +10 -10
  314. package/templates/src/locales/es/components/sidebar.json +14 -14
  315. package/templates/src/locales/es/components/stats.json +8 -8
  316. package/templates/src/locales/es/components/team.json +14 -14
  317. package/templates/src/locales/es/errors.json +9 -9
  318. package/templates/src/locales/es/languageSelector.json +7 -7
  319. package/templates/src/locales/es/nav.json +6 -6
  320. package/templates/src/locales/es/pages/crudTemplate.json +25 -25
  321. package/templates/src/locales/es/pages/dashboardTemplate.json +20 -20
  322. package/templates/src/locales/es/pages/forgotPassword.json +10 -10
  323. package/templates/src/locales/es/pages/formTemplate.json +16 -16
  324. package/templates/src/locales/es/pages/home.json +7 -7
  325. package/templates/src/locales/es/pages/login.json +15 -15
  326. package/templates/src/locales/es/pages/loginTemplate.json +9 -9
  327. package/templates/src/locales/es/pages/resetPassword.json +18 -18
  328. package/templates/src/locales/es/pages/templates.json +317 -317
  329. package/templates/src/locales/es/pages/verifyEmail.json +12 -12
  330. package/templates/src/locales/es/themeToggle.json +6 -6
  331. package/templates/src/locales/pt-BR/common.json +21 -21
  332. package/templates/src/locales/pt-BR/components/activityCard.json +10 -10
  333. package/templates/src/locales/pt-BR/components/assistant.json +119 -119
  334. package/templates/src/locales/pt-BR/components/media.json +29 -29
  335. package/templates/src/locales/pt-BR/components/notificationCard.json +5 -5
  336. package/templates/src/locales/pt-BR/components/profileCard.json +8 -8
  337. package/templates/src/locales/pt-BR/components/projectCard.json +10 -10
  338. package/templates/src/locales/pt-BR/components/sidebar.json +14 -14
  339. package/templates/src/locales/pt-BR/components/stats.json +8 -8
  340. package/templates/src/locales/pt-BR/components/team.json +14 -14
  341. package/templates/src/locales/pt-BR/errors.json +9 -9
  342. package/templates/src/locales/pt-BR/languageSelector.json +7 -7
  343. package/templates/src/locales/pt-BR/nav.json +6 -6
  344. package/templates/src/locales/pt-BR/pages/crudTemplate.json +25 -25
  345. package/templates/src/locales/pt-BR/pages/dashboardTemplate.json +20 -20
  346. package/templates/src/locales/pt-BR/pages/forgotPassword.json +10 -10
  347. package/templates/src/locales/pt-BR/pages/formTemplate.json +16 -16
  348. package/templates/src/locales/pt-BR/pages/home.json +7 -7
  349. package/templates/src/locales/pt-BR/pages/login.json +15 -15
  350. package/templates/src/locales/pt-BR/pages/loginTemplate.json +9 -9
  351. package/templates/src/locales/pt-BR/pages/resetPassword.json +18 -18
  352. package/templates/src/locales/pt-BR/pages/templates.json +317 -317
  353. package/templates/src/locales/pt-BR/pages/verifyEmail.json +12 -12
  354. package/templates/src/locales/pt-BR/themeToggle.json +6 -6
  355. package/templates/src/pages/AssistantPage.tsx +470 -470
  356. package/templates/src/pages/HomePage.tsx +53 -53
  357. package/templates/src/shared/error-boundary.tsx +150 -150
  358. package/templates/src/shared/error-fallbacks.tsx +222 -222
  359. package/templates/src/styles/xertica/tokens.css +240 -240
  360. package/templates/vite.config.js +20 -20
  361. package/templates/vite.config.ts +55 -55
  362. package/dist/AssistantChart-BKVtGUKF.js +0 -3383
  363. package/dist/AssistantChart-CxGjH7Qk.js +0 -3477
  364. package/dist/AssistantChart-DIpshm3i.js +0 -4784
  365. package/dist/AssistantChart-D_PTeu8P.cjs +0 -3503
  366. package/dist/AssistantChart-WeycT5Pd.cjs +0 -3551
  367. package/dist/AssistantChart-zjsy2GaZ.cjs +0 -4810
  368. package/dist/AudioPlayer-B1lt5cPl.cjs +0 -989
  369. package/dist/AudioPlayer-BZ7bibzU.cjs +0 -982
  370. package/dist/AudioPlayer-BpRPS4-1.cjs +0 -1277
  371. package/dist/AudioPlayer-C12BjQBV.cjs +0 -997
  372. package/dist/AudioPlayer-CFeV8t-5.cjs +0 -936
  373. package/dist/AudioPlayer-Coly3q5R.js +0 -1278
  374. package/dist/AudioPlayer-CySJIyvL.js +0 -937
  375. package/dist/AudioPlayer-DMcG_c7L.js +0 -990
  376. package/dist/AudioPlayer-DcFKRJE_.js +0 -998
  377. package/dist/AudioPlayer-e8LfNoqO.js +0 -983
  378. package/dist/BrandColorsContext-565dDHd5.js +0 -660
  379. package/dist/BrandColorsContext-BcJbtkqn.cjs +0 -659
  380. package/dist/CodeBlock-BgfYL_rD.cjs +0 -2094
  381. package/dist/CodeBlock-BlcqlA9M.cjs +0 -2094
  382. package/dist/CodeBlock-Bnmeu5ez.cjs +0 -2094
  383. package/dist/CodeBlock-BtfPlbAI.js +0 -2078
  384. package/dist/CodeBlock-CIySIuYr.js +0 -2078
  385. package/dist/CodeBlock-CuPtUM-7.cjs +0 -2094
  386. package/dist/CodeBlock-D6ffWXgc.js +0 -2078
  387. package/dist/CodeBlock-D8dcwbit.cjs +0 -2094
  388. package/dist/CodeBlock-DMZrFnlw.cjs +0 -2094
  389. package/dist/CodeBlock-DlBehYN8.js +0 -2078
  390. package/dist/CodeBlock-DnYNI8rQ.js +0 -2078
  391. package/dist/CodeBlock-DvKWbSnE.cjs +0 -2094
  392. package/dist/CodeBlock-DwMCfkFY.js +0 -2078
  393. package/dist/CodeBlock-Dy6CNYyj.js +0 -2078
  394. package/dist/CodeBlock-U1pPOQI7.cjs +0 -2094
  395. package/dist/CodeBlock-f_GpNhEB.js +0 -2078
  396. package/dist/CodeBlock-oB6u8nI1.js +0 -2078
  397. package/dist/CodeBlock-tZC31B73.cjs +0 -2094
  398. package/dist/FeatureCard-CxC-7C-C.cjs +0 -300
  399. package/dist/FeatureCard-DbHWCb4E.js +0 -301
  400. package/dist/ImageWithFallback-CGtidP6B.cjs +0 -4542
  401. package/dist/ImageWithFallback-lsg3pdFg.js +0 -4508
  402. package/dist/LanguageSelector-B5YfbHra.js +0 -231
  403. package/dist/LanguageSelector-D6uacAIM.cjs +0 -230
  404. package/dist/LayoutContext-B45-e9DI.cjs +0 -93
  405. package/dist/LayoutContext-BAql6ZRY.js +0 -97
  406. package/dist/LayoutContext-Bav3UMEA.js +0 -94
  407. package/dist/LayoutContext-BvK-ggDa.cjs +0 -96
  408. package/dist/ThemeContext-BoH4NLfN.js +0 -734
  409. package/dist/ThemeContext-r69W20Xg.cjs +0 -733
  410. package/dist/VerifyEmailPage-COiyNl1y.js +0 -2825
  411. package/dist/VerifyEmailPage-CqKsR2v8.js +0 -2827
  412. package/dist/VerifyEmailPage-DjQKRlUS.cjs +0 -2824
  413. package/dist/VerifyEmailPage-s-1X3LDJ.cjs +0 -2826
  414. package/dist/XerticaOrbe-KL1RBHzw.cjs +0 -1354
  415. package/dist/XerticaOrbe-zwS1p2a8.js +0 -1355
  416. package/dist/XerticaProvider-6btlAlzc.js +0 -17
  417. package/dist/XerticaProvider-BNoNOxQ5.cjs +0 -16
  418. package/dist/XerticaProvider-BlY2limY.cjs +0 -38
  419. package/dist/XerticaProvider-DDuiIcKo.js +0 -39
  420. package/dist/XerticaProvider-cI9hSs27.cjs +0 -38
  421. package/dist/XerticaProvider-hSwhNQex.js +0 -39
  422. package/dist/alert-dialog-BOje--vD.js +0 -847
  423. package/dist/alert-dialog-BtEuQqrg.cjs +0 -870
  424. package/dist/breadcrumb-CqJ7bHY5.js +0 -161
  425. package/dist/breadcrumb-m9Hb2_XN.cjs +0 -177
  426. package/dist/components/assistant/xertica-assistant/hooks/index.d.ts +0 -6
  427. package/dist/components/assistant/xertica-assistant/hooks/use-assistant-conversations.d.ts +0 -21
  428. package/dist/components/assistant/xertica-assistant/hooks/use-assistant-messages.d.ts +0 -49
  429. package/dist/components/assistant/xertica-assistant/hooks/use-assistant-suggestions.d.ts +0 -16
  430. package/dist/components/blocks/audio-player/AudioPlayer.d.ts +0 -35
  431. package/dist/components/blocks/audio-player/index.d.ts +0 -1
  432. package/dist/components/blocks/document-editor/DocumentEditor.d.ts +0 -26
  433. package/dist/components/blocks/document-editor/index.d.ts +0 -1
  434. package/dist/components/blocks/podcast-player/PodcastPlayer.d.ts +0 -41
  435. package/dist/components/blocks/podcast-player/index.d.ts +0 -1
  436. package/dist/components/ui/chart/parts/chart-dashboard.d.ts +0 -113
  437. package/dist/components/ui/chart/parts/chart-metric.d.ts +0 -118
  438. package/dist/components/ui/chart/parts/chart-primitives.d.ts +0 -101
  439. package/dist/components/ui/chart/parts/chart-shared.d.ts +0 -20
  440. package/dist/components/ui/chart/parts/chart-utils.d.ts +0 -12
  441. package/dist/components/ui/chart/parts/index.d.ts +0 -5
  442. package/dist/dropdown-menu-BDB5CmQs.cjs +0 -247
  443. package/dist/dropdown-menu-DQidbKBD.js +0 -231
  444. package/dist/google-maps-loader-BFWp6VPd.js +0 -287
  445. package/dist/google-maps-loader-BKcdgFbu.cjs +0 -312
  446. package/dist/google-maps-loader-CumCNXeG.js +0 -312
  447. package/dist/google-maps-loader-eS3uQ5TA.cjs +0 -287
  448. package/dist/header-Cgy6vYPk.cjs +0 -731
  449. package/dist/header-DRlT4jgI.js +0 -715
  450. package/dist/header-Dux00SI4.cjs +0 -731
  451. package/dist/header-EkGKXPsD.js +0 -715
  452. package/dist/header-WfEywpyc.cjs +0 -731
  453. package/dist/header-tifNQn2U.js +0 -715
  454. package/dist/index-BhapVLVj.js +0 -8
  455. package/dist/index-D6fxYEY8.cjs +0 -7
  456. package/dist/index-DAIp0_HK.js +0 -8
  457. package/dist/index-DW5tYe26.js +0 -8
  458. package/dist/index-GA__GvnG.cjs +0 -7
  459. package/dist/input-2R4loU86.js +0 -127
  460. package/dist/input-DWANSKGb.cjs +0 -145
  461. package/dist/progress-DPtzoVV8.js +0 -175
  462. package/dist/progress-EeaoqqUs.cjs +0 -191
  463. package/dist/rich-text-editor-0mraWT5y.cjs +0 -2376
  464. package/dist/rich-text-editor-B-IkcPD0.js +0 -2874
  465. package/dist/rich-text-editor-B6jMRLzk.cjs +0 -1939
  466. package/dist/rich-text-editor-B8_oYcIR.js +0 -1730
  467. package/dist/rich-text-editor-B9UbSXNb.js +0 -1203
  468. package/dist/rich-text-editor-BYuRBNBU.js +0 -2373
  469. package/dist/rich-text-editor-Bb9pySTs.cjs +0 -2374
  470. package/dist/rich-text-editor-BcL6L3cm.cjs +0 -2374
  471. package/dist/rich-text-editor-BoVZYtTs.cjs +0 -2391
  472. package/dist/rich-text-editor-Bp3zQqMC.js +0 -2954
  473. package/dist/rich-text-editor-CMgSN_w2.js +0 -1189
  474. package/dist/rich-text-editor-CPV1lEPH.cjs +0 -1748
  475. package/dist/rich-text-editor-CeucBdIv.cjs +0 -2971
  476. package/dist/rich-text-editor-CoKqbCtu.cjs +0 -1799
  477. package/dist/rich-text-editor-Cw56T_mB.js +0 -2356
  478. package/dist/rich-text-editor-Cyt8qs2b.js +0 -1921
  479. package/dist/rich-text-editor-D6H84OcX.cjs +0 -1220
  480. package/dist/rich-text-editor-D76gD-QI.js +0 -2328
  481. package/dist/rich-text-editor-DKkokOnA.js +0 -1781
  482. package/dist/rich-text-editor-DNsdpN64.cjs +0 -2359
  483. package/dist/rich-text-editor-DfG8bCyY.js +0 -2358
  484. package/dist/rich-text-editor-Dxjw31Z4.js +0 -2341
  485. package/dist/rich-text-editor-DzP0Epmb.js +0 -2356
  486. package/dist/rich-text-editor-bRkNoeZY.cjs +0 -2891
  487. package/dist/rich-text-editor-lyYE2ZG5.cjs +0 -1207
  488. package/dist/rich-text-editor-skplNlBM.cjs +0 -2345
  489. package/dist/select-Bkbr0f-Z.cjs +0 -162
  490. package/dist/select-CvIVdX2n.js +0 -145
  491. package/dist/sidebar-CK_0ZQHj.cjs +0 -803
  492. package/dist/sidebar-CUuOvYhK.js +0 -787
  493. package/dist/sidebar-DQj1z3jG.cjs +0 -758
  494. package/dist/sidebar-Djn5syhi.cjs +0 -786
  495. package/dist/sidebar-LluMXfam.js +0 -759
  496. package/dist/sidebar-_rT7rBMk.js +0 -787
  497. package/dist/slider-Bc5Hd0y1.js +0 -56
  498. package/dist/slider-N7hFFj6X.cjs +0 -73
  499. package/dist/tooltip-Ded96neP.cjs +0 -137
  500. package/dist/tooltip-HDOoD2-0.js +0 -120
  501. package/dist/use-audio-player-B31J-aqh.cjs +0 -187
  502. package/dist/use-audio-player-BkmEmj8Q.js +0 -185
  503. package/dist/use-audio-player-CLFTWFW1.cjs +0 -184
  504. package/dist/use-audio-player-CLLn00I6.js +0 -188
  505. package/dist/use-file-upload-BcjEo2S5.js +0 -404
  506. package/dist/use-file-upload-CRJR68Tj.cjs +0 -403
  507. package/dist/use-mobile-B0hNy_Y6.cjs +0 -4303
  508. package/dist/use-mobile-BXuYROXM.js +0 -4202
  509. package/dist/use-mobile-Bbd51ASU.cjs +0 -4392
  510. package/dist/use-mobile-Bk6CX-TC.js +0 -4359
  511. package/dist/use-mobile-BvYdisLP.js +0 -4202
  512. package/dist/use-mobile-BzuxjzNX.cjs +0 -4392
  513. package/dist/use-mobile-CG2-SdXV.cjs +0 -4235
  514. package/dist/use-mobile-CKb5pqTs.js +0 -4269
  515. package/dist/use-mobile-CYuAuGDl.js +0 -4202
  516. package/dist/use-mobile-CaENcqm-.js +0 -4508
  517. package/dist/use-mobile-CbrYgJGJ.js +0 -4203
  518. package/dist/use-mobile-Cd4xPrKq.cjs +0 -46
  519. package/dist/use-mobile-DMOvImGQ.cjs +0 -4542
  520. package/dist/use-mobile-DRB3BQgD.cjs +0 -4235
  521. package/dist/use-mobile-DZvv7QMR.js +0 -4359
  522. package/dist/use-mobile-DdI_TXam.cjs +0 -4235
  523. package/dist/use-mobile-DlceKf8a.js +0 -4359
  524. package/dist/use-mobile-DsOnow1o.cjs +0 -4236
  525. package/dist/use-mobile-Kcj6jSnK.cjs +0 -4392
  526. package/dist/use-mobile-bnKcua_i.js +0 -4202
  527. package/dist/use-mobile-j4w2Jrf1.js +0 -30
  528. package/dist/use-mobile-ncXBeE2z.cjs +0 -4235
  529. package/dist/use-rich-text-editor-DjiddBGv.js +0 -282
  530. package/dist/use-rich-text-editor-lpeswbCs.cjs +0 -281
  531. package/dist/xertica-assistant-BdiZag0h.js +0 -2187
  532. package/dist/xertica-assistant-CrgTb6Hs.cjs +0 -2155
  533. package/dist/xertica-assistant-DCsnQyi5.js +0 -2156
  534. package/dist/xertica-assistant-DUBpmEgo.cjs +0 -2186
  535. package/dist/{rich-text-editor-DgF8s7xW.js → rich-text-editor-BmsjY03B.js} +26 -26
  536. package/dist/{rich-text-editor-mWoaSCE4.cjs → rich-text-editor-GS2kpTAK.cjs} +26 -26
@@ -1,29 +1,27 @@
1
- 'use strict';
2
-
3
- const jsxRuntime = require('react/jsx-runtime');
4
- const React = require('react');
5
- const button = require('./button-0BlA47It.cjs');
6
- const input = require('./input-C_UiS2Py.cjs');
7
- const alertDialog = require('./alert-dialog-DhwPioBa.cjs');
8
- const XerticaXLogo = require('./XerticaXLogo-bvZSgwGF.cjs');
9
- const lucideReact = require('lucide-react');
10
- const reactRouterDom = require('react-router-dom');
11
- const sidebar = require('./sidebar-nzPoVHBQ.cjs');
12
- const skeleton = require('./skeleton-DjiHerJn.cjs');
13
- const progress = require('./progress-Cqwxbqs1.cjs');
14
- const LayoutContext = require('./LayoutContext-BEq_-n98.cjs');
15
- const ThemeContext = require('./ThemeContext-j5aGtPky.cjs');
16
- const reactQuery = require('@tanstack/react-query');
17
- const reactI18next = require('react-i18next');
18
- const FeatureCardSkeleton = require('./FeatureCardSkeleton-pTa0YNKP.cjs');
19
- const xerticaAssistant = require('./xertica-assistant-sOHwTgIP.cjs');
20
- const i18n = require('i18next');
21
- const richTextEditor = require('./rich-text-editor-DxO1Hz3a.cjs');
22
- const select = require('./select-CH6v_KcQ.cjs');
23
- const slider = require('./slider-B00b9SVK.cjs');
24
- const sonner = require('sonner');
25
- const zustand = require('zustand');
26
-
1
+ "use strict";
2
+ const jsxRuntime = require("react/jsx-runtime");
3
+ const React = require("react");
4
+ const button = require("./button-Bnv9SvYK.cjs");
5
+ const input = require("./input-CNFHVKvo.cjs");
6
+ const alertDialog = require("./alert-dialog-B4M3vQKS.cjs");
7
+ const XerticaXLogo = require("./XerticaXLogo-CU-U-GP4.cjs");
8
+ const lucideReact = require("lucide-react");
9
+ const reactRouterDom = require("react-router-dom");
10
+ const sidebar = require("./sidebar-zowjejT2.cjs");
11
+ const skeleton = require("./skeleton-4zoHiFJ_.cjs");
12
+ const progress = require("./progress-DDeuWPZw.cjs");
13
+ const LayoutContext = require("./LayoutContext-C4kKN9RV.cjs");
14
+ const ThemeContext = require("./ThemeContext-CpqYShLq.cjs");
15
+ const reactQuery = require("@tanstack/react-query");
16
+ const reactI18next = require("react-i18next");
17
+ const FeatureCardSkeleton = require("./FeatureCardSkeleton-mO3Bdm_V.cjs");
18
+ const xerticaAssistant = require("./xertica-assistant-d2qs2Vd9.cjs");
19
+ const i18n = require("i18next");
20
+ const richTextEditor = require("./rich-text-editor-CyggTOLQ.cjs");
21
+ const select = require("./select-Cmb8zF7w.cjs");
22
+ const slider = require("./slider-DcJharR9.cjs");
23
+ const sonner = require("sonner");
24
+ const zustand = require("zustand");
27
25
  function ForgotPasswordPage() {
28
26
  const navigate = reactRouterDom.useNavigate();
29
27
  const [email, setEmail] = React.useState("");
@@ -177,9 +175,7 @@ function ForgotPasswordPage() {
177
175
  ] })
178
176
  ] });
179
177
  }
180
-
181
178
  const SIDEBAR_COLLAPSED_WIDTH = 80;
182
-
183
179
  const t = (key, options) => i18n.t(key, options);
184
180
  const MOCK_TEAM_MEMBERS = [
185
181
  { id: "1", name: "Ana Silva", email: "ana.silva@example.com", role: "Developer", status: "active" },
@@ -203,7 +199,6 @@ async function fetchFeatureCards() {
203
199
  }
204
200
  ];
205
201
  }
206
-
207
202
  function useTeamMembers() {
208
203
  const { language } = ThemeContext.useLanguage();
209
204
  return reactQuery.useQuery({
@@ -214,7 +209,6 @@ function useTeamMembers() {
214
209
  // 2 min
215
210
  });
216
211
  }
217
-
218
212
  function useFeatureCards() {
219
213
  const { language } = ThemeContext.useLanguage();
220
214
  return reactQuery.useQuery({
@@ -225,7 +219,6 @@ function useFeatureCards() {
225
219
  // 10 min — feature list is fairly static
226
220
  });
227
221
  }
228
-
229
222
  const useDashboardStore = zustand.create((set) => ({
230
223
  // Filters
231
224
  activeTab: "overview",
@@ -241,7 +234,6 @@ const useDashboardStore = zustand.create((set) => ({
241
234
  switchEnabled: false,
242
235
  toggleSwitch: () => set((state) => ({ switchEnabled: !state.switchEnabled }))
243
236
  }));
244
-
245
237
  function isDev() {
246
238
  return false;
247
239
  }
@@ -288,7 +280,6 @@ function SectionErrorFallback({ error, reset }) {
288
280
  }
289
281
  );
290
282
  }
291
-
292
283
  class ErrorBoundary extends React.Component {
293
284
  constructor(props) {
294
285
  super(props);
@@ -299,12 +290,13 @@ class ErrorBoundary extends React.Component {
299
290
  return { hasError: true, error };
300
291
  }
301
292
  componentDidCatch(error, info) {
302
- this.props.onError?.(error, info);
293
+ var _a, _b;
294
+ (_b = (_a = this.props).onError) == null ? void 0 : _b.call(_a, error, info);
303
295
  }
304
296
  componentDidUpdate(prevProps) {
305
297
  if (!this.state.hasError) return;
306
298
  const { resetKeys } = this.props;
307
- if (!resetKeys?.length) return;
299
+ if (!(resetKeys == null ? void 0 : resetKeys.length)) return;
308
300
  const prevKeys = prevProps.resetKeys ?? [];
309
301
  const changed = resetKeys.some((key, i) => key !== prevKeys[i]);
310
302
  if (changed) this.reset();
@@ -324,12 +316,11 @@ class ErrorBoundary extends React.Component {
324
316
  function SectionErrorBoundary({ children, onError, resetKeys }) {
325
317
  return /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { fallback: SectionErrorFallback, onError, resetKeys, children });
326
318
  }
327
-
328
319
  function HomeContent() {
329
- const { t } = reactI18next.useTranslation();
320
+ const { t: t2 } = reactI18next.useTranslation();
330
321
  const layout = LayoutContext.useOptionalLayout();
331
- const sidebarExpanded = layout?.sidebarExpanded ?? false;
332
- const sidebarWidth = layout?.sidebarWidth ?? 256;
322
+ const sidebarExpanded = (layout == null ? void 0 : layout.sidebarExpanded) ?? false;
323
+ const sidebarWidth = (layout == null ? void 0 : layout.sidebarWidth) ?? 256;
333
324
  const navigate = reactRouterDom.useNavigate();
334
325
  const { data: featureCards = [], isLoading } = useFeatureCards();
335
326
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -346,8 +337,8 @@ function HomeContent() {
346
337
  showThemeToggle: true,
347
338
  showLanguageSelector: true,
348
339
  breadcrumbs: [
349
- { label: t("nav.designSystem"), href: "/home" },
350
- { label: t("nav.home") }
340
+ { label: t2("nav.designSystem"), href: "/home" },
341
+ { label: t2("nav.home") }
351
342
  ],
352
343
  renderLink: (href, props) => /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Link, { to: href, ...props })
353
344
  }
@@ -356,8 +347,8 @@ function HomeContent() {
356
347
  /* @__PURE__ */ jsxRuntime.jsx(
357
348
  alertDialog.PageHeader,
358
349
  {
359
- title: t("home.welcome"),
360
- subtitle: t("home.subtitle")
350
+ title: t2("home.welcome"),
351
+ subtitle: t2("home.subtitle")
361
352
  }
362
353
  ),
363
354
  /* @__PURE__ */ jsxRuntime.jsx(SectionErrorBoundary, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: isLoading ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -372,18 +363,18 @@ function HomeContent() {
372
363
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
373
364
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-2 bg-[var(--chart-2)]/20 rounded-[var(--radius)]", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "w-6 h-6 text-[var(--chart-2)]" }) }),
374
365
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
375
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { className: "text-sm", children: t(`home.${card.id.replace(/-/g, "")}Title`, { defaultValue: card.title }) }),
376
- card.badge && /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "default", className: "text-xs", children: t(`home.${card.id.replace(/-/g, "")}badge`, { defaultValue: card.badge }) })
366
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { className: "text-sm", children: t2(`home.${card.id.replace(/-/g, "")}Title`, { defaultValue: card.title }) }),
367
+ card.badge && /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "default", className: "text-xs", children: t2(`home.${card.id.replace(/-/g, "")}badge`, { defaultValue: card.badge }) })
377
368
  ] })
378
369
  ] }) }),
379
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t(`home.${card.id.replace(/-/g, "")}Description`, { defaultValue: card.description }) }) }),
370
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t2(`home.${card.id.replace(/-/g, "")}Description`, { defaultValue: card.description }) }) }),
380
371
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
381
372
  button.Button,
382
373
  {
383
374
  variant: "outline",
384
375
  className: "w-full",
385
376
  onClick: () => navigate(card.href),
386
- children: t("common.view")
377
+ children: t2("common.view")
387
378
  }
388
379
  ) })
389
380
  ]
@@ -395,39 +386,36 @@ function HomeContent() {
395
386
  }
396
387
  );
397
388
  }
398
-
399
389
  const routes = [
400
390
  { path: "/home", label: "Home", icon: lucideReact.Home },
401
391
  { path: "/template", label: "Template", icon: lucideReact.FileText }
402
392
  ];
403
-
404
393
  const AuthContext = React.createContext(null);
405
394
  function useAuth() {
406
395
  const ctx = React.useContext(AuthContext);
407
396
  if (!ctx) throw new Error("useAuth must be used within <AuthProvider>");
408
397
  return ctx;
409
398
  }
410
-
411
399
  async function fetchAssistantConfig() {
412
400
  await new Promise((resolve) => setTimeout(resolve, 150));
413
- const t = (key) => i18n.t(key);
401
+ const t2 = (key) => i18n.t(key);
414
402
  return {
415
403
  suggestions: [
416
- { id: "1", text: t("assistant.suggestions.whatCanIAsk") },
417
- { id: "2", text: t("assistant.suggestions.whatDoYouDo") },
418
- { id: "3", text: t("assistant.suggestions.whichProjects") },
419
- { id: "4", text: t("assistant.suggestions.nextProject") }
404
+ { id: "1", text: t2("assistant.suggestions.whatCanIAsk") },
405
+ { id: "2", text: t2("assistant.suggestions.whatDoYouDo") },
406
+ { id: "3", text: t2("assistant.suggestions.whichProjects") },
407
+ { id: "4", text: t2("assistant.suggestions.nextProject") }
420
408
  ],
421
409
  richSuggestions: [
422
- { id: "rich-1", text: t("assistant.richSuggestions.viewPerformance") },
423
- { id: "rich-2", text: t("assistant.richSuggestions.generateReport") },
424
- { id: "rich-3", text: t("assistant.richSuggestions.createDocument") },
425
- { id: "rich-4", text: t("assistant.richSuggestions.generatePodcast") }
410
+ { id: "rich-1", text: t2("assistant.richSuggestions.viewPerformance") },
411
+ { id: "rich-2", text: t2("assistant.richSuggestions.generateReport") },
412
+ { id: "rich-3", text: t2("assistant.richSuggestions.createDocument") },
413
+ { id: "rich-4", text: t2("assistant.richSuggestions.generatePodcast") }
426
414
  ],
427
415
  feedbackOptions: [
428
- t("assistant.feedback.notWhatIWanted"),
429
- t("assistant.feedback.incorrectInfo"),
430
- t("assistant.feedback.incompleteAnswer")
416
+ t2("assistant.feedback.notWhatIWanted"),
417
+ t2("assistant.feedback.incorrectInfo"),
418
+ t2("assistant.feedback.incompleteAnswer")
431
419
  ]
432
420
  };
433
421
  }
@@ -446,7 +434,6 @@ function getMockFeedbackOptions() {
446
434
  i18n.t("assistant.feedback.incompleteAnswer")
447
435
  ];
448
436
  }
449
-
450
437
  function useAssistantConfig() {
451
438
  const { language } = ThemeContext.useLanguage();
452
439
  return reactQuery.useQuery({
@@ -457,17 +444,16 @@ function useAssistantConfig() {
457
444
  // 30 min — config rarely changes
458
445
  });
459
446
  }
460
-
461
447
  function HomePage() {
462
448
  const { user, logout } = useAuth();
463
449
  const layout = LayoutContext.useOptionalLayout();
464
450
  const [localSidebarExpanded, setLocalSidebarExpanded] = React.useState(false);
465
451
  const [localAssistantExpanded, setLocalAssistantExpanded] = React.useState(false);
466
- const sidebarExpanded = layout?.sidebarExpanded ?? localSidebarExpanded;
467
- const sidebarWidth = layout?.sidebarWidth ?? 280;
468
- const assistenteExpanded = layout?.assistenteExpanded ?? localAssistantExpanded;
469
- const toggleSidebar = layout?.toggleSidebar ?? (() => setLocalSidebarExpanded((value) => !value));
470
- const toggleAssistente = layout?.toggleAssistente ?? (() => setLocalAssistantExpanded((value) => !value));
452
+ const sidebarExpanded = (layout == null ? void 0 : layout.sidebarExpanded) ?? localSidebarExpanded;
453
+ const sidebarWidth = (layout == null ? void 0 : layout.sidebarWidth) ?? 280;
454
+ const assistenteExpanded = (layout == null ? void 0 : layout.assistenteExpanded) ?? localAssistantExpanded;
455
+ const toggleSidebar = (layout == null ? void 0 : layout.toggleSidebar) ?? (() => setLocalSidebarExpanded((value) => !value));
456
+ const toggleAssistente = (layout == null ? void 0 : layout.toggleAssistente) ?? (() => setLocalAssistantExpanded((value) => !value));
471
457
  const location = reactRouterDom.useLocation();
472
458
  const navigate = reactRouterDom.useNavigate();
473
459
  const { data: assistantConfig } = useAssistantConfig();
@@ -499,19 +485,18 @@ function HomePage() {
499
485
  defaultTab: "chat",
500
486
  demoMode: true,
501
487
  responseGenerator: xerticaAssistant.gerarResposta,
502
- suggestions: assistantConfig?.suggestions,
503
- richSuggestions: assistantConfig?.richSuggestions ?? getMockRichSuggestions(),
504
- feedbackOptions: assistantConfig?.feedbackOptions ?? getMockFeedbackOptions(),
488
+ suggestions: assistantConfig == null ? void 0 : assistantConfig.suggestions,
489
+ richSuggestions: (assistantConfig == null ? void 0 : assistantConfig.richSuggestions) ?? getMockRichSuggestions(),
490
+ feedbackOptions: (assistantConfig == null ? void 0 : assistantConfig.feedbackOptions) ?? getMockFeedbackOptions(),
505
491
  onEvaluation: () => {
506
492
  }
507
493
  }
508
494
  )
509
495
  ] });
510
496
  }
511
-
512
497
  function LoginPage({ onLogin }) {
513
498
  const navigate = reactRouterDom.useNavigate();
514
- const { t } = reactI18next.useTranslation();
499
+ const { t: t2 } = reactI18next.useTranslation();
515
500
  const [email, setEmail] = React.useState("");
516
501
  const [password, setPassword] = React.useState("");
517
502
  const [isLoading, setIsLoading] = React.useState(false);
@@ -523,7 +508,7 @@ function LoginPage({ onLogin }) {
523
508
  await new Promise((resolve) => setTimeout(resolve, 1e3));
524
509
  const success = onLogin(email, password);
525
510
  if (!success) {
526
- setError(t("login.errorFillFields"));
511
+ setError(t2("login.errorFillFields"));
527
512
  }
528
513
  setIsLoading(false);
529
514
  };
@@ -536,7 +521,7 @@ function LoginPage({ onLogin }) {
536
521
  alertDialog.ImageWithFallback,
537
522
  {
538
523
  src: "https://images.unsplash.com/photo-1551434678-e076c223a692?w=1200&h=800&fit=crop&auto=format",
539
- alt: t("login.heroImageAlt"),
524
+ alt: t2("login.heroImageAlt"),
540
525
  className: "absolute inset-0 w-full h-full object-cover"
541
526
  }
542
527
  ),
@@ -554,11 +539,11 @@ function LoginPage({ onLogin }) {
554
539
  variant: "theme"
555
540
  }
556
541
  ) }),
557
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm text-muted-foreground", children: t("login.heading") })
542
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm text-muted-foreground", children: t2("login.heading") })
558
543
  ] }),
559
544
  /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-6", onSubmit: handleSubmit, children: [
560
545
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
561
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "email", children: t("login.emailLabel") }),
546
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "email", children: t2("login.emailLabel") }),
562
547
  /* @__PURE__ */ jsxRuntime.jsx(
563
548
  input.Input,
564
549
  {
@@ -567,14 +552,14 @@ function LoginPage({ onLogin }) {
567
552
  type: "email",
568
553
  required: true,
569
554
  className: "w-full",
570
- placeholder: t("login.emailPlaceholder"),
555
+ placeholder: t2("login.emailPlaceholder"),
571
556
  value: email,
572
557
  onChange: (e) => setEmail(e.target.value)
573
558
  }
574
559
  )
575
560
  ] }),
576
561
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
577
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "password", children: t("login.passwordLabel") }),
562
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "password", children: t2("login.passwordLabel") }),
578
563
  /* @__PURE__ */ jsxRuntime.jsx(
579
564
  input.Input,
580
565
  {
@@ -590,20 +575,20 @@ function LoginPage({ onLogin }) {
590
575
  )
591
576
  ] }),
592
577
  error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-destructive text-sm text-center", children: error }),
593
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", className: "w-full", disabled: isLoading, children: isLoading ? t("login.submitting") : t("login.submit") }),
578
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", className: "w-full", disabled: isLoading, children: isLoading ? t2("login.submitting") : t2("login.submit") }),
594
579
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-center", children: /* @__PURE__ */ jsxRuntime.jsx(
595
580
  "button",
596
581
  {
597
582
  type: "button",
598
583
  onClick: () => navigate("/forgot-password"),
599
584
  className: "text-sm text-primary hover:opacity-80 transition-colors",
600
- children: t("login.forgotPassword")
585
+ children: t2("login.forgotPassword")
601
586
  }
602
587
  ) })
603
588
  ] }),
604
589
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
605
590
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full border-t border-border" }) }),
606
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-muted px-2 text-muted-foreground", children: t("login.orContinueWith") }) })
591
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-muted px-2 text-muted-foreground", children: t2("login.orContinueWith") }) })
607
592
  ] }),
608
593
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
609
594
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -645,7 +630,7 @@ function LoginPage({ onLogin }) {
645
630
  ),
646
631
  /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
647
632
  ] }),
648
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("login.signInWithGoogle") })
633
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: t2("login.signInWithGoogle") })
649
634
  ]
650
635
  }
651
636
  ),
@@ -658,7 +643,7 @@ function LoginPage({ onLogin }) {
658
643
  onClick: () => handleSocialLogin(),
659
644
  children: [
660
645
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Lock, { className: "w-5 h-5 mr-2 text-[var(--chart-4)]" }),
661
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("login.signInWithMTLogin") })
646
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: t2("login.signInWithMTLogin") })
662
647
  ]
663
648
  }
664
649
  ),
@@ -669,7 +654,7 @@ function LoginPage({ onLogin }) {
669
654
  variant: "outline",
670
655
  className: "w-full justify-center font-normal",
671
656
  onClick: () => handleSocialLogin(),
672
- children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("login.signInWithGovBr") })
657
+ children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: t2("login.signInWithGovBr") })
673
658
  }
674
659
  )
675
660
  ] })
@@ -677,10 +662,9 @@ function LoginPage({ onLogin }) {
677
662
  ] })
678
663
  ] });
679
664
  }
680
-
681
665
  function ResetPasswordPage() {
682
666
  const navigate = reactRouterDom.useNavigate();
683
- const { t } = reactI18next.useTranslation();
667
+ const { t: t2 } = reactI18next.useTranslation();
684
668
  const [password, setPassword] = React.useState("");
685
669
  const [confirmPassword, setConfirmPassword] = React.useState("");
686
670
  const [isLoading, setIsLoading] = React.useState(false);
@@ -710,11 +694,11 @@ function ResetPasswordPage() {
710
694
  e.preventDefault();
711
695
  setError("");
712
696
  if (password.length < 6) {
713
- setError(t("resetPassword.errorMinLength"));
697
+ setError(t2("resetPassword.errorMinLength"));
714
698
  return;
715
699
  }
716
700
  if (password !== confirmPassword) {
717
- setError(t("resetPassword.errorMismatch"));
701
+ setError(t2("resetPassword.errorMismatch"));
718
702
  return;
719
703
  }
720
704
  setIsLoading(true);
@@ -737,11 +721,11 @@ function ResetPasswordPage() {
737
721
  const getStrengthText = () => {
738
722
  switch (passwordStrength) {
739
723
  case "weak":
740
- return t("resetPassword.strengthWeak");
724
+ return t2("resetPassword.strengthWeak");
741
725
  case "medium":
742
- return t("resetPassword.strengthMedium");
726
+ return t2("resetPassword.strengthMedium");
743
727
  case "strong":
744
- return t("resetPassword.strengthStrong");
728
+ return t2("resetPassword.strengthStrong");
745
729
  default:
746
730
  return "";
747
731
  }
@@ -752,7 +736,7 @@ function ResetPasswordPage() {
752
736
  alertDialog.ImageWithFallback,
753
737
  {
754
738
  src: "https://images.unsplash.com/photo-1555949963-aa79dcee981c?w=1200&h=800&fit=crop&auto=format",
755
- alt: t("resetPassword.heroImageAlt"),
739
+ alt: t2("resetPassword.heroImageAlt"),
756
740
  className: "absolute inset-0 w-full h-full object-cover"
757
741
  }
758
742
  ),
@@ -769,7 +753,7 @@ function ResetPasswordPage() {
769
753
  className: "flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors",
770
754
  children: [
771
755
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { className: "w-4 h-4" }),
772
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-small", children: t("resetPassword.backToLogin") })
756
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-small", children: t2("resetPassword.backToLogin") })
773
757
  ]
774
758
  }
775
759
  ),
@@ -781,12 +765,12 @@ function ResetPasswordPage() {
781
765
  variant: "theme"
782
766
  }
783
767
  ) }),
784
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm text-muted-foreground", children: t("resetPassword.heading") }),
785
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: t("resetPassword.subheading") })
768
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm text-muted-foreground", children: t2("resetPassword.heading") }),
769
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: t2("resetPassword.subheading") })
786
770
  ] }),
787
771
  /* @__PURE__ */ jsxRuntime.jsxs("form", { className: "space-y-6", onSubmit: handleSubmit, children: [
788
772
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
789
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "password", children: t("resetPassword.newPasswordLabel") }),
773
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "password", children: t2("resetPassword.newPasswordLabel") }),
790
774
  /* @__PURE__ */ jsxRuntime.jsx(
791
775
  input.Input,
792
776
  {
@@ -811,7 +795,7 @@ function ResetPasswordPage() {
811
795
  ] })
812
796
  ] }),
813
797
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
814
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "confirmPassword", children: t("resetPassword.confirmPasswordLabel") }),
798
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "confirmPassword", children: t2("resetPassword.confirmPasswordLabel") }),
815
799
  /* @__PURE__ */ jsxRuntime.jsx(
816
800
  input.Input,
817
801
  {
@@ -830,7 +814,7 @@ function ResetPasswordPage() {
830
814
  )
831
815
  ] }),
832
816
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-accent rounded-[var(--radius)] p-4 space-y-2", children: [
833
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: t("resetPassword.requirements") }),
817
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: t2("resetPassword.requirements") }),
834
818
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
835
819
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
836
820
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -839,7 +823,7 @@ function ResetPasswordPage() {
839
823
  className: `w-4 h-4 ${password.length >= 6 ? "text-[var(--chart-2)]" : "text-muted-foreground"}`
840
824
  }
841
825
  ),
842
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: t("resetPassword.requirementMinChars") })
826
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: t2("resetPassword.requirementMinChars") })
843
827
  ] }),
844
828
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
845
829
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -848,7 +832,7 @@ function ResetPasswordPage() {
848
832
  className: `w-4 h-4 ${password === confirmPassword && password.length > 0 ? "text-[var(--chart-2)]" : "text-muted-foreground"}`
849
833
  }
850
834
  ),
851
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: t("resetPassword.requirementMatch") })
835
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: t2("resetPassword.requirementMatch") })
852
836
  ] })
853
837
  ] })
854
838
  ] }),
@@ -856,13 +840,12 @@ function ResetPasswordPage() {
856
840
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertCircle, { className: "w-4 h-4 flex-shrink-0" }),
857
841
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: error })
858
842
  ] }),
859
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", className: "w-full", disabled: isLoading, children: isLoading ? t("resetPassword.submitting") : t("resetPassword.submit") })
843
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", className: "w-full", disabled: isLoading, children: isLoading ? t2("resetPassword.submitting") : t2("resetPassword.submit") })
860
844
  ] })
861
845
  ] })
862
846
  ] })
863
847
  ] });
864
848
  }
865
-
866
849
  function createLucideIconSvg(iconName) {
867
850
  const iconPaths = {
868
851
  utensils: '<path d="M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2"></path><path d="M7 2v20"></path><path d="M21 15V2v0a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7"></path>',
@@ -1191,7 +1174,6 @@ function FilterableMapExample({ apiKey }) {
1191
1174
  ] })
1192
1175
  ] });
1193
1176
  }
1194
-
1195
1177
  function DrawingMapExample({ apiKey }) {
1196
1178
  const [mapInstance, setMapInstance] = React.useState(null);
1197
1179
  const [selectedMode, setSelectedMode] = React.useState(null);
@@ -1308,6 +1290,7 @@ function DrawingMapExample({ apiKey }) {
1308
1290
  }, [mapInstance, colors, cancelPolygonDrawing]);
1309
1291
  const addPolygonPoint = React.useCallback(
1310
1292
  (point) => {
1293
+ var _a;
1311
1294
  if (!mapInstance) return;
1312
1295
  if (!isDrawingPolygon) {
1313
1296
  setIsDrawingPolygon(true);
@@ -1327,7 +1310,7 @@ function DrawingMapExample({ apiKey }) {
1327
1310
  });
1328
1311
  } else {
1329
1312
  polygonPathRef.current.push(point);
1330
- tempPolylineRef.current?.setPath(polygonPathRef.current);
1313
+ (_a = tempPolylineRef.current) == null ? void 0 : _a.setPath(polygonPathRef.current);
1331
1314
  }
1332
1315
  },
1333
1316
  [mapInstance, isDrawingPolygon, colors]
@@ -1400,10 +1383,11 @@ function DrawingMapExample({ apiKey }) {
1400
1383
  sonner.toast.info("Mapa limpo");
1401
1384
  };
1402
1385
  const undoLast = () => {
1386
+ var _a;
1403
1387
  if (isDrawingPolygon) {
1404
1388
  if (polygonPathRef.current.length > 0) {
1405
1389
  polygonPathRef.current.pop();
1406
- tempPolylineRef.current?.setPath(polygonPathRef.current);
1390
+ (_a = tempPolylineRef.current) == null ? void 0 : _a.setPath(polygonPathRef.current);
1407
1391
  if (polygonPathRef.current.length === 0) {
1408
1392
  cancelPolygonDrawing();
1409
1393
  }
@@ -1422,6 +1406,7 @@ function DrawingMapExample({ apiKey }) {
1422
1406
  return;
1423
1407
  }
1424
1408
  const exportData = shapes.map((s) => {
1409
+ var _a, _b;
1425
1410
  let data = {};
1426
1411
  if (s.type === "marker") {
1427
1412
  const marker = s.overlay;
@@ -1434,17 +1419,17 @@ function DrawingMapExample({ apiKey }) {
1434
1419
  } else if (s.type === "circle") {
1435
1420
  const circle = s.overlay;
1436
1421
  data = {
1437
- center: { lat: circle.getCenter()?.lat(), lng: circle.getCenter()?.lng() },
1422
+ center: { lat: (_a = circle.getCenter()) == null ? void 0 : _a.lat(), lng: (_b = circle.getCenter()) == null ? void 0 : _b.lng() },
1438
1423
  radius: circle.getRadius()
1439
1424
  };
1440
1425
  } else if (s.type === "rectangle") {
1441
1426
  const rect = s.overlay;
1442
1427
  const bounds = rect.getBounds();
1443
1428
  data = {
1444
- north: bounds?.getNorthEast().lat(),
1445
- south: bounds?.getSouthWest().lat(),
1446
- east: bounds?.getNorthEast().lng(),
1447
- west: bounds?.getSouthWest().lng()
1429
+ north: bounds == null ? void 0 : bounds.getNorthEast().lat(),
1430
+ south: bounds == null ? void 0 : bounds.getSouthWest().lat(),
1431
+ east: bounds == null ? void 0 : bounds.getNorthEast().lng(),
1432
+ west: bounds == null ? void 0 : bounds.getSouthWest().lng()
1448
1433
  };
1449
1434
  } else if (s.type === "polygon") {
1450
1435
  const poly = s.overlay;
@@ -1663,7 +1648,6 @@ function DrawingMapExample({ apiKey }) {
1663
1648
  ] })
1664
1649
  ] });
1665
1650
  }
1666
-
1667
1651
  function MapShowcase() {
1668
1652
  const [activeTab, setActiveTab] = React.useState("simple");
1669
1653
  const [isTransitioning, setIsTransitioning] = React.useState(false);
@@ -2059,16 +2043,15 @@ function MapShowcase() {
2059
2043
  ] })
2060
2044
  ] });
2061
2045
  }
2062
-
2063
2046
  function TemplateContent() {
2064
- const { t } = reactI18next.useTranslation();
2047
+ const { t: t2 } = reactI18next.useTranslation();
2065
2048
  const layout = LayoutContext.useOptionalLayout();
2066
2049
  const [localSidebarExpanded, setLocalSidebarExpanded] = React.useState(false);
2067
2050
  const [localSidebarWidth, setLocalSidebarWidth] = React.useState(280);
2068
- const sidebarExpanded = layout?.sidebarExpanded ?? localSidebarExpanded;
2069
- const sidebarWidth = layout?.sidebarWidth ?? localSidebarWidth;
2070
- const setSidebarWidth = layout?.setSidebarWidth ?? setLocalSidebarWidth;
2071
- layout?.toggleSidebar ?? (() => setLocalSidebarExpanded((value) => !value));
2051
+ const sidebarExpanded = (layout == null ? void 0 : layout.sidebarExpanded) ?? localSidebarExpanded;
2052
+ const sidebarWidth = (layout == null ? void 0 : layout.sidebarWidth) ?? localSidebarWidth;
2053
+ const setSidebarWidth = (layout == null ? void 0 : layout.setSidebarWidth) ?? setLocalSidebarWidth;
2054
+ (layout == null ? void 0 : layout.toggleSidebar) ?? (() => setLocalSidebarExpanded((value) => !value));
2072
2055
  reactRouterDom.useNavigate();
2073
2056
  const { data: teamMembers = [], isLoading: teamLoading } = useTeamMembers();
2074
2057
  const progress$1 = useDashboardStore((s) => s.progress);
@@ -2084,7 +2067,7 @@ function TemplateContent() {
2084
2067
  const [showHeaderBreadcrumbs, setShowHeaderBreadcrumbs] = React.useState(true);
2085
2068
  const handleFormSubmit = (e) => {
2086
2069
  e.preventDefault();
2087
- sonner.toast.success(t("templates.formSubmitSuccess"));
2070
+ sonner.toast.success("Form submitted successfully!");
2088
2071
  };
2089
2072
  return /* @__PURE__ */ jsxRuntime.jsxs(
2090
2073
  "div",
@@ -2100,8 +2083,8 @@ function TemplateContent() {
2100
2083
  showThemeToggle: true,
2101
2084
  showLanguageSelector: true,
2102
2085
  breadcrumbs: [
2103
- { label: t("nav.designSystem"), href: "/home", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "w-4 h-4" }) },
2104
- { label: t("templates.breadcrumb") }
2086
+ { label: "Design System", href: "/home", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "w-4 h-4" }) },
2087
+ { label: "Página de Template" }
2105
2088
  ],
2106
2089
  renderLink: (href, props) => /* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Link, { to: href, ...props })
2107
2090
  }
@@ -2110,16 +2093,16 @@ function TemplateContent() {
2110
2093
  /* @__PURE__ */ jsxRuntime.jsx(
2111
2094
  alertDialog.PageHeader,
2112
2095
  {
2113
- title: t("templates.title"),
2114
- subtitle: t("templates.subtitle")
2096
+ title: "Página de Template",
2097
+ subtitle: "Template completo com componentes do Design System"
2115
2098
  }
2116
2099
  ),
2117
2100
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2118
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.headerWithBreadcrumbs.sectionTitle") }),
2101
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Header with Breadcrumbs" }),
2119
2102
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2120
2103
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2121
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.headerWithBreadcrumbs.cardTitle") }),
2122
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.headerWithBreadcrumbs.cardDescription") })
2104
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Main Header" }),
2105
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Example of Header with 4-level breadcrumbs" })
2123
2106
  ] }),
2124
2107
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { className: "p-0 border-t bg-background overflow-hidden rounded-b-[var(--radius-lg)]", children: [
2125
2108
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2127,21 +2110,21 @@ function TemplateContent() {
2127
2110
  {
2128
2111
  className: "border-b",
2129
2112
  breadcrumbs: [
2130
- { label: t("templates.headerWithBreadcrumbs.breadcrumbs.dashboard"), href: "#", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "w-4 h-4" }) },
2131
- { label: t("templates.headerWithBreadcrumbs.breadcrumbs.settings"), href: "#", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { className: "w-4 h-4" }) },
2132
- { label: t("templates.headerWithBreadcrumbs.breadcrumbs.users"), href: "#", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Users, { className: "w-4 h-4" }) },
2133
- { label: t("templates.headerWithBreadcrumbs.breadcrumbs.accessProfile") }
2113
+ { label: "Dashboard", href: "#", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "w-4 h-4" }) },
2114
+ { label: "Settings", href: "#", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { className: "w-4 h-4" }) },
2115
+ { label: "Users", href: "#", icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Users, { className: "w-4 h-4" }) },
2116
+ { label: "Access Profile" }
2134
2117
  ],
2135
2118
  showLanguageSelector: true,
2136
2119
  showThemeToggle: true
2137
2120
  }
2138
2121
  ),
2139
2122
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-6 min-h-[200px]", children: [
2140
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-lg font-semibold mb-2", children: t("templates.headerWithBreadcrumbs.exampleContentTitle") }),
2123
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-lg font-semibold mb-2", children: "Example Content" }),
2141
2124
  /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground", children: [
2142
- t("templates.headerWithBreadcrumbs.exampleContentDescriptionPart1"),
2125
+ "Neste exemplo, o componente ",
2143
2126
  /* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Header" }),
2144
- t("templates.headerWithBreadcrumbs.exampleContentDescriptionPart2")
2127
+ " principal da aplicação agora suporta receber um array de breadcrumbs para navegações complexas com mais de 3 níveis."
2145
2128
  ] })
2146
2129
  ] })
2147
2130
  ] })
@@ -2149,42 +2132,42 @@ function TemplateContent() {
2149
2132
  ] }),
2150
2133
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2151
2134
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2152
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.sections.alerts") }),
2135
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Alertas" }),
2153
2136
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
2154
2137
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Alert, { variant: "info", children: [
2155
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: t("templates.alerts.infoTitle") }),
2156
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: t("templates.alerts.infoDescription") })
2138
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: "Informação" }),
2139
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: "Este é um exemplo de alerta informativo usando os componentes do Design System." })
2157
2140
  ] }),
2158
2141
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Alert, { variant: "destructive", children: [
2159
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: t("templates.alerts.errorTitle") }),
2160
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: t("templates.alerts.errorDescription") })
2142
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: "Erro" }),
2143
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: "Ocorreu um erro ao processar sua solicitação." })
2161
2144
  ] }),
2162
2145
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Alert, { variant: "success", children: [
2163
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: t("templates.alerts.successTitle") }),
2164
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: t("templates.alerts.successDescription") })
2146
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: "Sucesso" }),
2147
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: "Operação realizada com sucesso!" })
2165
2148
  ] }),
2166
2149
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Alert, { variant: "warning", children: [
2167
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: t("templates.alerts.warningTitle") }),
2168
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: t("templates.alerts.warningDescription") })
2150
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: "Aviso" }),
2151
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: "Atenção: Esta ação não pode ser desfeita." })
2169
2152
  ] })
2170
2153
  ] })
2171
2154
  ] }),
2172
2155
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2173
2156
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2174
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.sections.cardsAndTabs") }),
2157
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Cards & Abas" }),
2175
2158
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.Tabs, { defaultValue: "overview", className: "w-full", children: [
2176
2159
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.TabsList, { className: "grid w-full grid-cols-4", children: [
2177
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "overview", children: t("templates.tabs.overview") }),
2178
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "forms", children: t("templates.tabs.forms") }),
2179
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "data", children: t("templates.tabs.data") }),
2180
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "settings", children: t("templates.tabs.settings") })
2160
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "overview", children: "Visão Geral" }),
2161
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "forms", children: "Formulários" }),
2162
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "data", children: "Dados" }),
2163
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "settings", children: "Configurações" })
2181
2164
  ] }),
2182
2165
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.TabsContent, { value: "overview", className: "space-y-4", children: [
2183
2166
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 md:grid-cols-3", children: [
2184
2167
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2185
2168
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2186
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("stats.totalUsers") }),
2187
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("stats.last30Days") })
2169
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Total de Usuários" }),
2170
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Últimos 30 dias" })
2188
2171
  ] }),
2189
2172
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-foreground", children: [
2190
2173
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "[font-size:var(--text-stats)] [font-weight:var(--font-weight-bold)]", children: "1,234" }),
@@ -2193,8 +2176,8 @@ function TemplateContent() {
2193
2176
  ] }),
2194
2177
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2195
2178
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2196
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("stats.totalRevenue") }),
2197
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("stats.currentMonth") })
2179
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Receita Total" }),
2180
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Mês atual" })
2198
2181
  ] }),
2199
2182
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-foreground", children: [
2200
2183
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "[font-size:var(--text-stats)] [font-weight:var(--font-weight-bold)]", children: "$ 45.2k" }),
@@ -2203,8 +2186,8 @@ function TemplateContent() {
2203
2186
  ] }),
2204
2187
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2205
2188
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2206
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("stats.conversionRate") }),
2207
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("stats.currentWeek") })
2189
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Taxa de Conversão" }),
2190
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Semana atual" })
2208
2191
  ] }),
2209
2192
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-foreground", children: [
2210
2193
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "[font-size:var(--text-stats)] [font-weight:var(--font-weight-bold)]", children: "3.2%" }),
@@ -2214,13 +2197,13 @@ function TemplateContent() {
2214
2197
  ] }),
2215
2198
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2216
2199
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2217
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.overview.progressTitle") }),
2218
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.overview.progressDescription") })
2200
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Progresso & Sliders" }),
2201
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Exemplo de componentes de progresso" })
2219
2202
  ] }),
2220
2203
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { className: "space-y-6", children: [
2221
2204
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2222
2205
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2223
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.overview.projectProgress") }),
2206
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Progresso do Projeto" }),
2224
2207
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "[font-size:var(--text-small)] text-muted-foreground", children: [
2225
2208
  progress$1,
2226
2209
  "%"
@@ -2249,7 +2232,7 @@ function TemplateContent() {
2249
2232
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2250
2233
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2251
2234
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2252
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.overview.volume") }),
2235
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Volume" }),
2253
2236
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "[font-size:var(--text-small)] text-muted-foreground", children: [
2254
2237
  sliderValue[0],
2255
2238
  "%"
@@ -2264,7 +2247,7 @@ function TemplateContent() {
2264
2247
  max: 100,
2265
2248
  step: 1,
2266
2249
  className: "w-full",
2267
- "aria-label": t("templates.overview.volume")
2250
+ "aria-label": "Volume"
2268
2251
  }
2269
2252
  )
2270
2253
  ] })
@@ -2273,22 +2256,22 @@ function TemplateContent() {
2273
2256
  ] }),
2274
2257
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsContent, { value: "forms", className: "space-y-4", children: /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2275
2258
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2276
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.forms.registrationTitle") }),
2277
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.forms.registrationDescription") })
2259
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Formulário de Cadastro" }),
2260
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Preencha os campos abaixo para criar uma nova conta" })
2278
2261
  ] }),
2279
2262
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleFormSubmit, className: "space-y-4", children: [
2280
2263
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
2281
2264
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2282
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "firstName", children: t("templates.forms.firstName") }),
2283
- /* @__PURE__ */ jsxRuntime.jsx(input.Input, { id: "firstName", placeholder: t("templates.forms.firstNamePlaceholder") })
2265
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "firstName", children: "Nome" }),
2266
+ /* @__PURE__ */ jsxRuntime.jsx(input.Input, { id: "firstName", placeholder: "João" })
2284
2267
  ] }),
2285
2268
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2286
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "lastName", children: t("templates.forms.lastName") }),
2287
- /* @__PURE__ */ jsxRuntime.jsx(input.Input, { id: "lastName", placeholder: t("templates.forms.lastNamePlaceholder") })
2269
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "lastName", children: "Sobrenome" }),
2270
+ /* @__PURE__ */ jsxRuntime.jsx(input.Input, { id: "lastName", placeholder: "Silva" })
2288
2271
  ] })
2289
2272
  ] }),
2290
2273
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2291
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "email", children: t("templates.forms.email") }),
2274
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "email", children: "E-mail" }),
2292
2275
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
2293
2276
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "absolute left-3 top-3 h-4 w-4 text-muted-foreground" }),
2294
2277
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2296,14 +2279,14 @@ function TemplateContent() {
2296
2279
  {
2297
2280
  id: "email",
2298
2281
  type: "email",
2299
- placeholder: t("templates.forms.emailPlaceholder"),
2282
+ placeholder: "john@example.com",
2300
2283
  className: "pl-10"
2301
2284
  }
2302
2285
  )
2303
2286
  ] })
2304
2287
  ] }),
2305
2288
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2306
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "phone", children: t("templates.forms.phone") }),
2289
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "phone", children: "Telefone" }),
2307
2290
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
2308
2291
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Phone, { className: "absolute left-3 top-3 h-4 w-4 text-muted-foreground" }),
2309
2292
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2311,81 +2294,81 @@ function TemplateContent() {
2311
2294
  {
2312
2295
  id: "phone",
2313
2296
  type: "tel",
2314
- placeholder: t("templates.forms.phonePlaceholder"),
2297
+ placeholder: "(11) 99999-9999",
2315
2298
  className: "pl-10"
2316
2299
  }
2317
2300
  )
2318
2301
  ] })
2319
2302
  ] }),
2320
2303
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2321
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "role", children: t("templates.forms.role") }),
2304
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "role", children: "Função" }),
2322
2305
  /* @__PURE__ */ jsxRuntime.jsxs(select.Select, { children: [
2323
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectTrigger, { id: "role", children: /* @__PURE__ */ jsxRuntime.jsx(select.SelectValue, { placeholder: t("templates.forms.rolePlaceholder") }) }),
2306
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectTrigger, { id: "role", children: /* @__PURE__ */ jsxRuntime.jsx(select.SelectValue, { placeholder: "Selecione uma função" }) }),
2324
2307
  /* @__PURE__ */ jsxRuntime.jsxs(select.SelectContent, { children: [
2325
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "developer", children: t("templates.forms.roles.developer") }),
2326
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "designer", children: t("templates.forms.roles.designer") }),
2327
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "manager", children: t("templates.forms.roles.manager") }),
2328
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "analyst", children: t("templates.forms.roles.analyst") })
2308
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "developer", children: "Desenvolvedor" }),
2309
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "designer", children: "Designer" }),
2310
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "manager", children: "Gerente" }),
2311
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "analyst", children: "Analista" })
2329
2312
  ] })
2330
2313
  ] })
2331
2314
  ] }),
2332
2315
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2333
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "bio", children: t("templates.forms.bio") }),
2316
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "bio", children: "Biografia" }),
2334
2317
  /* @__PURE__ */ jsxRuntime.jsx(
2335
2318
  richTextEditor.Textarea,
2336
2319
  {
2337
2320
  id: "bio",
2338
- placeholder: t("templates.forms.bioPlaceholder"),
2321
+ placeholder: "Conte-nos um pouco sobre você...",
2339
2322
  rows: 4
2340
2323
  }
2341
2324
  )
2342
2325
  ] }),
2343
2326
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2344
2327
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
2345
- /* @__PURE__ */ jsxRuntime.jsx("h4", { children: t("templates.forms.preferences") }),
2328
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { children: "Preferências" }),
2346
2329
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2347
2330
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2348
2331
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Checkbox, { id: "newsletter" }),
2349
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "newsletter", className: "font-normal", children: t("templates.forms.newsletter") })
2332
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "newsletter", className: "font-normal", children: "Receber newsletter por e-mail" })
2350
2333
  ] }),
2351
2334
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2352
2335
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Checkbox, { id: "notifications" }),
2353
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "notifications", className: "font-normal", children: t("templates.forms.pushNotifications") })
2336
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "notifications", className: "font-normal", children: "Ativar notificações push" })
2354
2337
  ] }),
2355
2338
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2356
2339
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Checkbox, { id: "updates" }),
2357
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "updates", className: "font-normal", children: t("templates.forms.featureUpdates") })
2340
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "updates", className: "font-normal", children: "Receber atualizações sobre novos recursos" })
2358
2341
  ] })
2359
2342
  ] }),
2360
2343
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2361
2344
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2362
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.forms.accountType") }),
2363
- /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.RadioGroup, { defaultValue: "personal", "aria-label": t("templates.forms.accountType"), children: [
2345
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Tipo de Conta" }),
2346
+ /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.RadioGroup, { defaultValue: "personal", "aria-label": "Tipo de Conta", children: [
2364
2347
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2365
2348
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.RadioGroupItem, { value: "personal", id: "personal" }),
2366
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "personal", className: "font-normal", children: t("templates.forms.accountPersonal") })
2349
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "personal", className: "font-normal", children: "Pessoal" })
2367
2350
  ] }),
2368
2351
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2369
2352
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.RadioGroupItem, { value: "business", id: "business" }),
2370
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "business", className: "font-normal", children: t("templates.forms.accountBusiness") })
2353
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "business", className: "font-normal", children: "Empresarial" })
2371
2354
  ] }),
2372
2355
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2373
2356
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.RadioGroupItem, { value: "enterprise", id: "enterprise" }),
2374
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "enterprise", className: "font-normal", children: t("templates.forms.accountEnterprise") })
2357
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "enterprise", className: "font-normal", children: "Corporativo" })
2375
2358
  ] })
2376
2359
  ] })
2377
2360
  ] })
2378
2361
  ] })
2379
2362
  ] }) }),
2380
2363
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardFooter, { className: "flex justify-between", children: [
2381
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", children: t("templates.forms.cancel") }),
2382
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: handleFormSubmit, children: t("templates.forms.createAccount") })
2364
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", children: "Cancelar" }),
2365
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { onClick: handleFormSubmit, children: "Criar Conta" })
2383
2366
  ] })
2384
2367
  ] }) }),
2385
2368
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsContent, { value: "data", className: "space-y-4", children: /* @__PURE__ */ jsxRuntime.jsx(SectionErrorBoundary, { children: /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2386
2369
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2387
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.data.title") }),
2388
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.data.description") })
2370
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Lista de Usuários" }),
2371
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Gerenciar usuários do sistema" })
2389
2372
  ] }),
2390
2373
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { children: [
2391
2374
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
@@ -2393,19 +2376,19 @@ function TemplateContent() {
2393
2376
  /* @__PURE__ */ jsxRuntime.jsx(
2394
2377
  input.Input,
2395
2378
  {
2396
- placeholder: t("templates.data.searchPlaceholder"),
2397
- "aria-label": t("templates.data.searchPlaceholder"),
2379
+ placeholder: "Buscar usuários...",
2380
+ "aria-label": "Buscar usuários",
2398
2381
  className: "pl-10"
2399
2382
  }
2400
2383
  )
2401
2384
  ] }) }),
2402
2385
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-[var(--radius-lg)] border border-border overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Table, { children: [
2403
2386
  /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.TableRow, { children: [
2404
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t("team.name") }),
2405
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t("team.email") }),
2406
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t("team.role") }),
2407
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t("team.status") }),
2408
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { className: "text-right", children: t("team.actions") })
2387
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t2("team.name") }),
2388
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t2("team.email") }),
2389
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t2("team.role") }),
2390
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { children: t2("team.status") }),
2391
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableHead, { className: "text-right", children: t2("team.actions") })
2409
2392
  ] }) }),
2410
2393
  /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableBody, { children: teamLoading ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.TableRow, { children: [
2411
2394
  /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -2419,36 +2402,36 @@ function TemplateContent() {
2419
2402
  ] }, i)) }) : teamMembers.map((member) => /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.TableRow, { children: [
2420
2403
  /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { children: member.name }),
2421
2404
  /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { children: member.email }),
2422
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { children: t(`team.roles.${member.role}`) }),
2405
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { children: t2(`team.roles.${member.role}`) }),
2423
2406
  /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx(
2424
2407
  progress.Badge,
2425
2408
  {
2426
2409
  variant: member.status === "active" ? "default" : member.status === "away" ? "secondary" : "outline",
2427
- children: t(`common.${member.status}`)
2410
+ children: t2(`common.${member.status}`)
2428
2411
  }
2429
2412
  ) }),
2430
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { className: "text-right", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "ghost", size: "sm", children: t("common.edit") }) })
2413
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.TableCell, { className: "text-right", children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "ghost", size: "sm", children: t2("common.edit") }) })
2431
2414
  ] }, member.id)) })
2432
2415
  ] }) })
2433
2416
  ] }),
2434
2417
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardFooter, { className: "flex justify-between items-center", children: [
2435
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t("team.showing", { count: teamMembers.length, total: teamMembers.length }) }),
2418
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t2("team.showing", { count: teamMembers.length, total: teamMembers.length }) }),
2436
2419
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-2", children: [
2437
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", size: "sm", children: t("common.previous") }),
2438
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", size: "sm", children: t("common.next") })
2420
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", size: "sm", children: "Previous" }),
2421
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", size: "sm", children: "Next" })
2439
2422
  ] })
2440
2423
  ] })
2441
2424
  ] }) }) }),
2442
2425
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsContent, { value: "settings", className: "space-y-4", children: /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2443
2426
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2444
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.settings.title") }),
2445
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.settings.description") })
2427
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Configurações do Sistema" }),
2428
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Gerenciar configurações gerais" })
2446
2429
  ] }),
2447
2430
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { className: "space-y-6", children: [
2448
2431
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2449
2432
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
2450
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "dark-mode", children: t("templates.settings.darkMode") }),
2451
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t("templates.settings.darkModeDescription") })
2433
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "dark-mode", children: "Dark Mode" }),
2434
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: "Enable dark theme in the interface" })
2452
2435
  ] }),
2453
2436
  /* @__PURE__ */ jsxRuntime.jsx(
2454
2437
  alertDialog.Switch,
@@ -2462,62 +2445,62 @@ function TemplateContent() {
2462
2445
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2463
2446
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2464
2447
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
2465
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "email-notifications", children: t("templates.settings.emailNotifications") }),
2466
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t("templates.settings.emailNotificationsDescription") })
2448
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "email-notifications", children: "Email Notifications" }),
2449
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: "Receive important updates by email" })
2467
2450
  ] }),
2468
2451
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Switch, { id: "email-notifications", defaultChecked: true })
2469
2452
  ] }),
2470
2453
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2471
2454
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2472
2455
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
2473
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "push-notifications", children: t("templates.settings.pushNotifications") }),
2474
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t("templates.settings.pushNotificationsDescription") })
2456
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "push-notifications", children: "Push Notifications" }),
2457
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: "Receive instant notifications in the browser" })
2475
2458
  ] }),
2476
2459
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Switch, { id: "push-notifications" })
2477
2460
  ] }),
2478
2461
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2479
2462
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2480
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.settings.language") }),
2463
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Language" }),
2481
2464
  /* @__PURE__ */ jsxRuntime.jsxs(select.Select, { defaultValue: "pt-br", children: [
2482
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectTrigger, { "aria-label": t("templates.settings.language"), children: /* @__PURE__ */ jsxRuntime.jsx(select.SelectValue, {}) }),
2465
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectTrigger, { "aria-label": "Idioma do sistema", children: /* @__PURE__ */ jsxRuntime.jsx(select.SelectValue, {}) }),
2483
2466
  /* @__PURE__ */ jsxRuntime.jsxs(select.SelectContent, { children: [
2484
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "pt-br", children: t("templates.settings.languages.ptBR") }),
2485
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "en", children: t("templates.settings.languages.en") }),
2486
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "es", children: t("templates.settings.languages.es") })
2467
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "pt-br", children: "Portuguese (Brazil)" }),
2468
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "en", children: "English" }),
2469
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "es", children: "Spanish" })
2487
2470
  ] })
2488
2471
  ] })
2489
2472
  ] }),
2490
2473
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2491
2474
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2492
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.settings.timezone") }),
2475
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Time Zone" }),
2493
2476
  /* @__PURE__ */ jsxRuntime.jsxs(select.Select, { defaultValue: "america-sao-paulo", children: [
2494
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectTrigger, { "aria-label": t("templates.settings.timezone"), children: /* @__PURE__ */ jsxRuntime.jsx(select.SelectValue, {}) }),
2477
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectTrigger, { "aria-label": "Fuso horário", children: /* @__PURE__ */ jsxRuntime.jsx(select.SelectValue, {}) }),
2495
2478
  /* @__PURE__ */ jsxRuntime.jsxs(select.SelectContent, { children: [
2496
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "america-sao-paulo", children: t("templates.settings.timezones.saoPaulo") }),
2497
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "america-new-york", children: t("templates.settings.timezones.newYork") }),
2498
- /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "europe-london", children: t("templates.settings.timezones.london") })
2479
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "america-sao-paulo", children: "America/Sao Paulo (GMT-3)" }),
2480
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "america-new-york", children: "America/New York (GMT-5)" }),
2481
+ /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value: "europe-london", children: "Europe/London (GMT+0)" })
2499
2482
  ] })
2500
2483
  ] })
2501
2484
  ] })
2502
2485
  ] }),
2503
2486
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardFooter, { className: "flex justify-between", children: [
2504
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", children: t("templates.settings.restoreDefaults") }),
2505
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { children: t("templates.settings.saveChanges") })
2487
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", children: "Restaurar Padrões" }),
2488
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { children: "Salvar Alterações" })
2506
2489
  ] })
2507
2490
  ] }) })
2508
2491
  ] })
2509
2492
  ] }),
2510
2493
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2511
2494
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2512
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.sections.buttons") }),
2495
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Botões" }),
2513
2496
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2514
2497
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2515
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.buttons.title") }),
2516
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.buttons.description") })
2498
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Variações de Botão" }),
2499
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Diferentes estilos e tamanhos de botões" })
2517
2500
  ] }),
2518
2501
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { className: "space-y-6", children: [
2519
2502
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2520
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.buttons.variants") }),
2503
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Variants" }),
2521
2504
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-3", children: [
2522
2505
  /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "default", children: "Default" }),
2523
2506
  /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "secondary", children: "Secondary" }),
@@ -2529,38 +2512,38 @@ function TemplateContent() {
2529
2512
  ] }),
2530
2513
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2531
2514
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2532
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.buttons.sizes") }),
2515
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "Sizes" }),
2533
2516
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-3", children: [
2534
2517
  /* @__PURE__ */ jsxRuntime.jsx(button.Button, { size: "sm", children: "Small" }),
2535
2518
  /* @__PURE__ */ jsxRuntime.jsx(button.Button, { size: "default", children: "Default" }),
2536
2519
  /* @__PURE__ */ jsxRuntime.jsx(button.Button, { size: "lg", children: "Large" }),
2537
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { size: "icon", "aria-label": t("nav.settings"), children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { className: "h-4 w-4" }) })
2520
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { size: "icon", "aria-label": "Configurações", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { className: "h-4 w-4" }) })
2538
2521
  ] })
2539
2522
  ] }),
2540
2523
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2541
2524
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2542
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.buttons.withIcons") }),
2525
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "With Icons" }),
2543
2526
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-3", children: [
2544
2527
  /* @__PURE__ */ jsxRuntime.jsxs(button.Button, { children: [
2545
2528
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "mr-2 h-4 w-4" }),
2546
- t("templates.buttons.profile")
2529
+ "Profile"
2547
2530
  ] }),
2548
2531
  /* @__PURE__ */ jsxRuntime.jsxs(button.Button, { variant: "secondary", children: [
2549
2532
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "mr-2 h-4 w-4" }),
2550
- t("templates.buttons.messages")
2533
+ "Messages"
2551
2534
  ] }),
2552
2535
  /* @__PURE__ */ jsxRuntime.jsxs(button.Button, { variant: "outline", children: [
2553
2536
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "mr-2 h-4 w-4" }),
2554
- t("templates.buttons.schedule")
2537
+ "Schedule"
2555
2538
  ] })
2556
2539
  ] })
2557
2540
  ] }),
2558
2541
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, {}),
2559
2542
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
2560
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: t("templates.buttons.states") }),
2543
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { children: "States" }),
2561
2544
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-3", children: [
2562
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { disabled: true, children: t("templates.buttons.disabled") }),
2563
- /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", disabled: true, children: t("templates.buttons.outlineDisabled") })
2545
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { disabled: true, children: "Disabled" }),
2546
+ /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", disabled: true, children: "Outline Disabled" })
2564
2547
  ] })
2565
2548
  ] })
2566
2549
  ] })
@@ -2568,68 +2551,68 @@ function TemplateContent() {
2568
2551
  ] }),
2569
2552
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2570
2553
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2571
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.sections.badges") }),
2554
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Badges" }),
2572
2555
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2573
2556
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2574
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.badges.title") }),
2575
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.badges.description") })
2557
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Variações de Badge" }),
2558
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Estilos diferentes de badge para status e tags" })
2576
2559
  ] }),
2577
2560
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-3", children: [
2578
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "default", children: "Default" }),
2579
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "secondary", children: "Secondary" }),
2580
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "outline", children: "Outline" }),
2581
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "destructive", children: "Destructive" }),
2582
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-success text-success-foreground", children: "Success" }),
2583
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-warning text-warning-foreground", children: "Warning" }),
2561
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "default", children: "Padrão" }),
2562
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "secondary", children: "Secundário" }),
2563
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "outline", children: "Contorno" }),
2564
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { variant: "destructive", children: "Destrutivo" }),
2565
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-success text-success-foreground", children: "Sucesso" }),
2566
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-warning text-warning-foreground", children: "Aviso" }),
2584
2567
  /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-info text-info-foreground", children: "Info" })
2585
2568
  ] }) })
2586
2569
  ] })
2587
2570
  ] }),
2588
2571
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2589
2572
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2590
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.sections.dialogs") }),
2573
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Diálogos" }),
2591
2574
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
2592
2575
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2593
2576
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2594
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.dialogs.dialogTitle") }),
2595
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.dialogs.dialogDescription") })
2577
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Diálogo" }),
2578
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Um modal interativo básico" })
2596
2579
  ] }),
2597
2580
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { className: "flex justify-center py-6", children: /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Dialog, { children: [
2598
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", children: t("templates.dialogs.editProfile") }) }),
2581
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "outline", children: "Editar Perfil" }) }),
2599
2582
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.DialogContent, { className: "sm:max-w-[425px]", children: [
2600
2583
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.DialogHeader, { children: [
2601
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogTitle, { children: t("templates.dialogs.editProfile") }),
2602
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogDescription, { children: t("templates.dialogs.editProfileDescription") })
2584
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogTitle, { children: "Editar Perfil" }),
2585
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogDescription, { children: "Faça alterações no seu perfil aqui. Clique em salvar quando terminar." })
2603
2586
  ] }),
2604
2587
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 py-4", children: [
2605
2588
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-4 items-center gap-4", children: [
2606
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "name", className: "text-right", children: t("templates.dialogs.name") }),
2589
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "name", className: "text-right", children: "Nome" }),
2607
2590
  /* @__PURE__ */ jsxRuntime.jsx(input.Input, { id: "name", defaultValue: "John Doe", className: "col-span-3" })
2608
2591
  ] }),
2609
2592
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-4 items-center gap-4", children: [
2610
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "username", className: "text-right", children: t("templates.dialogs.username") }),
2593
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "username", className: "text-right", children: "Usuário" }),
2611
2594
  /* @__PURE__ */ jsxRuntime.jsx(input.Input, { id: "username", defaultValue: "@johndoe", className: "col-span-3" })
2612
2595
  ] })
2613
2596
  ] }),
2614
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", children: t("templates.dialogs.update") }) })
2597
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { type: "submit", children: "Atualizar" }) })
2615
2598
  ] })
2616
2599
  ] }) })
2617
2600
  ] }),
2618
2601
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2619
2602
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2620
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.dialogs.alertDialogTitle") }),
2621
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.dialogs.alertDialogDescription") })
2603
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Alerta de Diálogo" }),
2604
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Um alerta para decisões importantes" })
2622
2605
  ] }),
2623
2606
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { className: "flex justify-center py-6", children: /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.AlertDialog, { children: [
2624
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "destructive", children: t("templates.dialogs.deleteAccount") }) }),
2607
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(button.Button, { variant: "destructive", children: "Excluir Conta" }) }),
2625
2608
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.AlertDialogContent, { className: "sm:max-w-[425px]", children: [
2626
2609
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.AlertDialogHeader, { children: [
2627
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogTitle, { children: t("templates.dialogs.areYouSure") }),
2628
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogDescription, { children: t("templates.dialogs.deleteWarning") })
2610
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogTitle, { children: "Você tem certeza absoluta?" }),
2611
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogDescription, { children: "Esta ação não pode ser desfeita. Isso excluirá permanentemente sua conta e removerá seus dados de nossos servidores." })
2629
2612
  ] }),
2630
2613
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.AlertDialogFooter, { children: [
2631
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogCancel, { children: t("templates.dialogs.cancel") }),
2632
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogAction, { className: "bg-destructive text-destructive-foreground hover:bg-destructive/90", children: t("templates.dialogs.continue") })
2614
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogCancel, { children: "Cancelar" }),
2615
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialogAction, { className: "bg-destructive text-destructive-foreground hover:bg-destructive/90", children: "Continuar" })
2633
2616
  ] })
2634
2617
  ] })
2635
2618
  ] }) })
@@ -2640,15 +2623,15 @@ function TemplateContent() {
2640
2623
  /* @__PURE__ */ jsxRuntime.jsx("section", { children: /* @__PURE__ */ jsxRuntime.jsx(MapShowcase, {}) }),
2641
2624
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2642
2625
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2643
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.headerVariations.sectionTitle") }),
2626
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Variações de Cabeçalho" }),
2644
2627
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2645
2628
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2646
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.headerVariations.cardTitle") }),
2647
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.headerVariations.cardDescription") })
2629
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Configurações do Cabeçalho Principal" }),
2630
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "O Header é focado em navegação (breadcrumbs) e ações contextuais rápidas." })
2648
2631
  ] }),
2649
2632
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { className: "space-y-6", children: [
2650
2633
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 border rounded-[var(--radius-lg)] bg-muted/30", children: [
2651
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-semibold mb-4", children: t("templates.headerVariations.visibleElements") }),
2634
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-semibold mb-4", children: "Elementos Visíveis" }),
2652
2635
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6", children: [
2653
2636
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2654
2637
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2659,7 +2642,7 @@ function TemplateContent() {
2659
2642
  onCheckedChange: setShowHeaderActions
2660
2643
  }
2661
2644
  ),
2662
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "header-actions", className: "cursor-pointer", children: t("templates.headerVariations.actionButtons") })
2645
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "header-actions", className: "cursor-pointer", children: "Botões de Ação" })
2663
2646
  ] }),
2664
2647
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2665
2648
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2670,60 +2653,60 @@ function TemplateContent() {
2670
2653
  onCheckedChange: setShowHeaderBreadcrumbs
2671
2654
  }
2672
2655
  ),
2673
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "header-bread", className: "cursor-pointer", children: t("templates.headerVariations.breadcrumbsLabel") })
2656
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "header-bread", className: "cursor-pointer", children: "Breadcrumbs" })
2674
2657
  ] })
2675
2658
  ] })
2676
2659
  ] }),
2677
2660
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative border rounded-[var(--radius-lg)] bg-muted/10 overflow-hidden shadow-inner", children: [
2678
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4 bg-background/50 border-b text-xs font-mono text-muted-foreground", children: t("templates.headerVariations.preview") }),
2661
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4 bg-background/50 border-b text-xs font-mono text-muted-foreground", children: "Visualização" }),
2679
2662
  /* @__PURE__ */ jsxRuntime.jsx(
2680
2663
  sidebar.Header,
2681
2664
  {
2682
- title: !showHeaderBreadcrumbs ? t("templates.headerVariations.currentPage") : void 0,
2665
+ title: !showHeaderBreadcrumbs ? "Página Atual" : void 0,
2683
2666
  breadcrumbs: showHeaderBreadcrumbs ? [
2684
2667
  {
2685
- label: t("templates.headerVariations.breadcrumbBrand"),
2668
+ label: "Xertica UI",
2686
2669
  href: "#",
2687
2670
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "w-4 h-4" })
2688
2671
  },
2689
- { label: t("templates.headerVariations.breadcrumbSettings"), href: "#" },
2690
- { label: t("templates.headerVariations.breadcrumbProfile") }
2672
+ { label: "Configurações", href: "#" },
2673
+ { label: "Perfil" }
2691
2674
  ] : void 0,
2692
2675
  actions: showHeaderActions ? [
2693
2676
  {
2694
2677
  id: "notify",
2695
2678
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Bell, { className: "w-5 h-5" }),
2696
- onClick: () => sonner.toast(t("templates.headerVariations.notificationsOpenedToast"))
2679
+ onClick: () => sonner.toast("Notificações abertas")
2697
2680
  },
2698
2681
  {
2699
2682
  id: "mail",
2700
- label: t("templates.headerVariations.messagesLabel"),
2683
+ label: "Mensagens",
2701
2684
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "w-5 h-5" }),
2702
- onClick: () => sonner.toast(t("templates.headerVariations.messagesOpenedToast"))
2685
+ onClick: () => sonner.toast("Mensagens abertas")
2703
2686
  }
2704
2687
  ] : void 0
2705
2688
  }
2706
2689
  ),
2707
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-32 flex items-center justify-center text-muted-foreground text-sm italic", children: t("templates.headerVariations.contentArea") })
2690
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-32 flex items-center justify-center text-muted-foreground text-sm italic", children: "Área de Conteúdo da Página" })
2708
2691
  ] })
2709
2692
  ] })
2710
2693
  ] })
2711
2694
  ] }),
2712
2695
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2713
2696
  /* @__PURE__ */ jsxRuntime.jsxs("section", { children: [
2714
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: t("templates.sections.sidebarVariations") }),
2697
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4", children: "Variações da Sidebar" }),
2715
2698
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { children: [
2716
2699
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2717
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.sidebar.title") }),
2718
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.sidebar.description") })
2700
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Sidebar Modo Assistente vs Padrão" }),
2701
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "A Sidebar suporta flexibilidade através da propriedade variant." })
2719
2702
  ] }),
2720
2703
  /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.Tabs, { defaultValue: "assistant", className: "w-full", children: [
2721
2704
  /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.TabsList, { className: "mb-4", children: [
2722
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "assistant", children: t("templates.sidebar.assistantMode") }),
2723
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "default", children: t("templates.sidebar.defaultMode") })
2705
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "assistant", children: "Modo Assistente" }),
2706
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.TabsTrigger, { value: "default", children: "Modo Padrão" })
2724
2707
  ] }),
2725
2708
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-6 p-4 border rounded-[var(--radius-lg)] bg-muted/30", children: [
2726
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-semibold mb-4", children: t("templates.sidebarControls.footerSettings") }),
2709
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-semibold mb-4", children: "Configurações do Rodapé" }),
2727
2710
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-6 mt-2", children: [
2728
2711
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2729
2712
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2734,7 +2717,7 @@ function TemplateContent() {
2734
2717
  onCheckedChange: setShowSidebarUser
2735
2718
  }
2736
2719
  ),
2737
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "show-user", className: "cursor-pointer", children: t("templates.sidebarControls.userProfile") })
2720
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "show-user", className: "cursor-pointer", children: "Perfil do Usuário" })
2738
2721
  ] }),
2739
2722
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2740
2723
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2745,7 +2728,7 @@ function TemplateContent() {
2745
2728
  onCheckedChange: setShowSidebarSettings
2746
2729
  }
2747
2730
  ),
2748
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "show-settings", className: "cursor-pointer", children: t("templates.sidebarControls.settings") })
2731
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "show-settings", className: "cursor-pointer", children: "Configurações" })
2749
2732
  ] }),
2750
2733
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2", children: [
2751
2734
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2756,12 +2739,12 @@ function TemplateContent() {
2756
2739
  onCheckedChange: setShowSidebarLogout
2757
2740
  }
2758
2741
  ),
2759
- /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "show-logout", className: "cursor-pointer", children: t("templates.sidebarControls.logoutButton") })
2742
+ /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Label, { htmlFor: "show-logout", className: "cursor-pointer", children: "Botão de Sair" })
2760
2743
  ] })
2761
2744
  ] }),
2762
2745
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6 pt-6 border-t", children: [
2763
2746
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-4", children: [
2764
- /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-semibold", children: t("templates.sidebarControls.sidebarWidthDesktop") }),
2747
+ /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-semibold", children: "Largura da Sidebar (Desktop)" }),
2765
2748
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-xs font-mono bg-muted px-2 py-1 rounded", children: [
2766
2749
  sidebarWidth,
2767
2750
  "px"
@@ -2778,7 +2761,7 @@ function TemplateContent() {
2778
2761
  max: 450,
2779
2762
  step: 10,
2780
2763
  className: "flex-1",
2781
- "aria-label": t("templates.sidebarControls.sidebarWidthAriaLabel")
2764
+ "aria-label": "Largura da Sidebar"
2782
2765
  }
2783
2766
  ),
2784
2767
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground w-12", children: "450px" })
@@ -2799,26 +2782,26 @@ function TemplateContent() {
2799
2782
  onToggle: () => {
2800
2783
  },
2801
2784
  user: { email: "admin@xertica.com" },
2802
- onLogout: () => sonner.toast(t("templates.sidebar.logoutToast")),
2785
+ onLogout: () => sonner.toast("Saiu"),
2803
2786
  location: { pathname: "/assistant/current" },
2804
2787
  navigate: () => {
2805
2788
  },
2806
2789
  variant: "assistant",
2807
2790
  search: {
2808
2791
  show: true,
2809
- placeholder: t("templates.sidebar.searchTopicsPlaceholder"),
2792
+ placeholder: "Buscar tópicos...",
2810
2793
  filter: {
2811
2794
  show: true,
2812
2795
  content: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-2 space-y-2", children: [
2813
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold uppercase text-muted-foreground px-2", children: t("templates.sidebarControls.filterByStatus") }),
2796
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold uppercase text-muted-foreground px-2", children: "Filtrar por Status" }),
2814
2797
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-2 p-1", children: [
2815
- /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-sidebar-foreground/20 text-sidebar-foreground border-none cursor-pointer hover:bg-sidebar-foreground/30", children: t("templates.sidebarControls.filterActive") }),
2798
+ /* @__PURE__ */ jsxRuntime.jsx(progress.Badge, { className: "bg-sidebar-foreground/20 text-sidebar-foreground border-none cursor-pointer hover:bg-sidebar-foreground/30", children: "Ativo" }),
2816
2799
  /* @__PURE__ */ jsxRuntime.jsx(
2817
2800
  progress.Badge,
2818
2801
  {
2819
2802
  variant: "outline",
2820
2803
  className: "text-sidebar-foreground/70 border-sidebar-foreground/20 cursor-pointer hover:bg-sidebar-foreground/10",
2821
- children: t("templates.sidebarControls.filterArchived")
2804
+ children: "Arquivado"
2822
2805
  }
2823
2806
  ),
2824
2807
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2826,7 +2809,7 @@ function TemplateContent() {
2826
2809
  {
2827
2810
  variant: "outline",
2828
2811
  className: "text-sidebar-foreground/70 border-sidebar-foreground/20 cursor-pointer hover:bg-sidebar-foreground/10",
2829
- children: t("templates.sidebarControls.filterPending")
2812
+ children: "Pendente"
2830
2813
  }
2831
2814
  )
2832
2815
  ] })
@@ -2837,47 +2820,47 @@ function TemplateContent() {
2837
2820
  show: true,
2838
2821
  content: /* @__PURE__ */ jsxRuntime.jsxs(button.Button, { className: "w-full bg-sidebar-primary hover:bg-sidebar-primary/90 text-sidebar-primary-foreground shadow-lg font-bold border-none transition-all duration-300 transform hover:scale-[1.02] active:scale-[0.98]", children: [
2839
2822
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Plus, { className: "w-4 h-4 mr-2" }),
2840
- t("templates.sidebar.newConversation")
2823
+ "Nova Conversa"
2841
2824
  ] })
2842
2825
  },
2843
2826
  navigationGroups: [
2844
2827
  {
2845
2828
  id: "recent",
2846
- label: t("templates.sidebar.recent"),
2829
+ label: "Recentes",
2847
2830
  icon: lucideReact.Clock,
2848
2831
  items: [
2849
2832
  {
2850
2833
  path: "/assistant/refatoracao",
2851
- label: t("templates.sidebar.items.sidebarRefactor"),
2852
- description: t("templates.sidebar.items.sidebarRefactorDescription"),
2834
+ label: "Refatoração da Sidebar",
2835
+ description: "Ativo agora",
2853
2836
  actions: [
2854
2837
  {
2855
- label: t("templates.sidebar.actions.rename"),
2838
+ label: "Renomear",
2856
2839
  icon: lucideReact.FileEdit,
2857
- onClick: () => sonner.toast(t("templates.sidebar.actions.renameToast"))
2840
+ onClick: () => sonner.toast("Abrir renomear...")
2858
2841
  },
2859
2842
  {
2860
- label: t("templates.sidebar.actions.move"),
2843
+ label: "Mover",
2861
2844
  icon: lucideReact.ArrowRightLeft,
2862
2845
  children: [
2863
2846
  {
2864
- label: t("templates.sidebar.actions.moveActive"),
2865
- onClick: () => sonner.toast(t("templates.sidebar.actions.moveActiveToast"))
2847
+ label: "Projetos Ativos",
2848
+ onClick: () => sonner.toast("Movido para Projetos Ativos")
2866
2849
  },
2867
2850
  {
2868
- label: t("templates.sidebar.actions.moveMonitoring"),
2869
- onClick: () => sonner.toast(t("templates.sidebar.actions.moveMonitoringToast"))
2851
+ label: "Monitoramento",
2852
+ onClick: () => sonner.toast("Movido para Monitoramento")
2870
2853
  },
2871
2854
  {
2872
- label: t("templates.sidebar.actions.moveArchive"),
2873
- onClick: () => sonner.toast(t("templates.sidebar.actions.moveArchiveToast"))
2855
+ label: "Arquivar",
2856
+ onClick: () => sonner.toast("Movido para Arquivo")
2874
2857
  }
2875
2858
  ]
2876
2859
  },
2877
2860
  {
2878
- label: t("templates.sidebar.actions.clear"),
2861
+ label: "Limpar",
2879
2862
  icon: lucideReact.Trash2,
2880
- onClick: () => sonner.toast(t("templates.sidebar.actions.clearToast")),
2863
+ onClick: () => sonner.toast("Histórico Limpo!"),
2881
2864
  variant: "destructive"
2882
2865
  }
2883
2866
  ]
@@ -2886,24 +2869,24 @@ function TemplateContent() {
2886
2869
  },
2887
2870
  {
2888
2871
  id: "projects",
2889
- label: t("templates.sidebar.constructionMonitoring"),
2872
+ label: "Monitoramento de Projetos",
2890
2873
  icon: lucideReact.Map,
2891
2874
  actions: [
2892
2875
  {
2893
- label: t("templates.sidebar.actions.newCategory"),
2876
+ label: "Nova Categoria",
2894
2877
  icon: lucideReact.Plus,
2895
- onClick: () => sonner.toast(t("templates.sidebar.actions.newCategoryToast"))
2878
+ onClick: () => sonner.toast("Criar nova categoria...")
2896
2879
  },
2897
2880
  {
2898
- label: t("templates.sidebar.actions.archiveGroup"),
2881
+ label: "Arquivar Grupo",
2899
2882
  icon: lucideReact.Archive,
2900
- onClick: () => sonner.toast(t("templates.sidebar.actions.archiveGroupToast"))
2883
+ onClick: () => sonner.toast("Arquivando grupo...")
2901
2884
  }
2902
2885
  ],
2903
2886
  items: [
2904
2887
  {
2905
2888
  path: "/assistant/br163",
2906
- label: t("templates.sidebar.items.br163Restoration"),
2889
+ label: "Restauração BR-163",
2907
2890
  icon: () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-2 h-2 rounded-full bg-yellow-500" }),
2908
2891
  description: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5 min-w-[160px]", children: [
2909
2892
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2914,7 +2897,7 @@ function TemplateContent() {
2914
2897
  }
2915
2898
  ),
2916
2899
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between items-center text-[10px] text-sidebar-foreground/60", children: [
2917
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("templates.sidebar.items.br163Location") }),
2900
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Cuiabá, MT" }),
2918
2901
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "67%" })
2919
2902
  ] })
2920
2903
  ] })
@@ -2934,7 +2917,7 @@ function TemplateContent() {
2934
2917
  {
2935
2918
  className: "absolute inset-y-0 right-0 p-8 flex items-center justify-center transition-all duration-300",
2936
2919
  style: { left: `${sidebarWidth}px` },
2937
- children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-center", children: t("templates.sidebar.assistantContent") })
2920
+ children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-center", children: "Conteúdo do Modo Assistente" })
2938
2921
  }
2939
2922
  )
2940
2923
  ]
@@ -2958,16 +2941,16 @@ function TemplateContent() {
2958
2941
  email: "admin@xertica.com",
2959
2942
  avatar: "https://github.com/shadcn.png"
2960
2943
  },
2961
- onLogout: () => sonner.toast(t("templates.sidebar.logoutToast")),
2962
- onSettingsClick: () => sonner.toast(t("templates.sidebar.settingsClickedToast")),
2944
+ onLogout: () => sonner.toast("Saiu"),
2945
+ onSettingsClick: () => sonner.toast("Configurações clicadas"),
2963
2946
  location: { pathname: "/home" },
2964
2947
  navigate: () => {
2965
2948
  },
2966
2949
  variant: "default",
2967
2950
  routes: [
2968
- { path: "/home", label: t("templates.sidebar.routes.home"), icon: lucideReact.Home },
2969
- { path: "/dashboard", label: t("templates.sidebar.routes.dashboard"), icon: lucideReact.Users },
2970
- { path: "/settings", label: t("templates.sidebar.routes.settings"), icon: lucideReact.Settings }
2951
+ { path: "/home", label: "Início", icon: lucideReact.Home },
2952
+ { path: "/dashboard", label: "Dashboard", icon: lucideReact.Users },
2953
+ { path: "/settings", label: "Configurações", icon: lucideReact.Settings }
2971
2954
  ],
2972
2955
  footer: {
2973
2956
  showUser: showSidebarUser,
@@ -2981,7 +2964,7 @@ function TemplateContent() {
2981
2964
  {
2982
2965
  className: "absolute inset-y-0 right-0 p-8 flex items-center justify-center transition-all duration-300",
2983
2966
  style: { left: `${sidebarWidth}px` },
2984
- children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-center", children: t("templates.sidebar.defaultContent") })
2967
+ children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-center", children: "Navegação Tradicional do Sistema" })
2985
2968
  }
2986
2969
  )
2987
2970
  ]
@@ -2993,22 +2976,19 @@ function TemplateContent() {
2993
2976
  /* @__PURE__ */ jsxRuntime.jsx(alertDialog.Separator, { className: "my-8" }),
2994
2977
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.Card, { className: "mt-8", children: [
2995
2978
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardHeader, { children: [
2996
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: t("templates.footer.title") }),
2997
- /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: t("templates.footer.subtitle") })
2979
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardTitle, { children: "Template Pronto para CLI" }),
2980
+ /* @__PURE__ */ jsxRuntime.jsx(skeleton.CardDescription, { children: "Como usar este template" })
2998
2981
  ] }),
2999
2982
  /* @__PURE__ */ jsxRuntime.jsxs(skeleton.CardContent, { className: "space-y-4", children: [
3000
2983
  /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground", children: [
3001
- t("templates.footer.descriptionPart1"),
3002
- /* @__PURE__ */ jsxRuntime.jsx("code", { className: "bg-muted px-2 py-1 rounded-[var(--radius-sm)] [font-size:var(--text-small)]", children: "xertica-ui" }),
3003
- t("templates.footer.descriptionPart2")
2984
+ "Este template está pronto para ser usado como base para novos projetos. Todos os componentes usam as variáveis CSS definidas em",
2985
+ " ",
2986
+ /* @__PURE__ */ jsxRuntime.jsx("code", { className: "bg-muted px-2 py-1 rounded-[var(--radius-sm)] [font-size:var(--text-small)]", children: "/styles/xertica/tokens.css" }),
2987
+ "and follow the Xertica UI CLI-first architecture."
3004
2988
  ] }),
3005
2989
  /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.Alert, { variant: "info", children: [
3006
- /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: t("templates.footer.tipTitle") }),
3007
- /* @__PURE__ */ jsxRuntime.jsxs(richTextEditor.AlertDescription, { children: [
3008
- t("templates.footer.tipDescriptionPart1"),
3009
- /* @__PURE__ */ jsxRuntime.jsx("code", { className: "bg-muted px-1 rounded", children: "styles/xertica/tokens.css" }),
3010
- t("templates.footer.tipDescriptionPart2")
3011
- ] })
2990
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertTitle, { children: "Dica" }),
2991
+ /* @__PURE__ */ jsxRuntime.jsx(richTextEditor.AlertDescription, { children: "Copie este arquivo como ponto de partida para suas páginas. Todos os componentes são reutilizáveis e customizáveis através de variáveis CSS." })
3012
2992
  ] })
3013
2993
  ] })
3014
2994
  ] })
@@ -3017,17 +2997,16 @@ function TemplateContent() {
3017
2997
  }
3018
2998
  );
3019
2999
  }
3020
-
3021
3000
  function TemplatePage() {
3022
3001
  const { user, logout } = useAuth();
3023
3002
  const layout = LayoutContext.useOptionalLayout();
3024
3003
  const [localSidebarExpanded, setLocalSidebarExpanded] = React.useState(false);
3025
3004
  const [localAssistantExpanded, setLocalAssistantExpanded] = React.useState(false);
3026
- const sidebarExpanded = layout?.sidebarExpanded ?? localSidebarExpanded;
3027
- const sidebarWidth = layout?.sidebarWidth ?? 280;
3028
- const assistenteExpanded = layout?.assistenteExpanded ?? localAssistantExpanded;
3029
- const toggleSidebar = layout?.toggleSidebar ?? (() => setLocalSidebarExpanded((value) => !value));
3030
- const toggleAssistente = layout?.toggleAssistente ?? (() => setLocalAssistantExpanded((value) => !value));
3005
+ const sidebarExpanded = (layout == null ? void 0 : layout.sidebarExpanded) ?? localSidebarExpanded;
3006
+ const sidebarWidth = (layout == null ? void 0 : layout.sidebarWidth) ?? 280;
3007
+ const assistenteExpanded = (layout == null ? void 0 : layout.assistenteExpanded) ?? localAssistantExpanded;
3008
+ const toggleSidebar = (layout == null ? void 0 : layout.toggleSidebar) ?? (() => setLocalSidebarExpanded((value) => !value));
3009
+ const toggleAssistente = (layout == null ? void 0 : layout.toggleAssistente) ?? (() => setLocalAssistantExpanded((value) => !value));
3031
3010
  const location = reactRouterDom.useLocation();
3032
3011
  const navigate = reactRouterDom.useNavigate();
3033
3012
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-screen flex bg-muted overflow-hidden relative", children: [
@@ -3061,12 +3040,12 @@ function TemplatePage() {
3061
3040
  )
3062
3041
  ] });
3063
3042
  }
3064
-
3065
3043
  function VerifyEmailPage() {
3044
+ var _a;
3066
3045
  const navigate = reactRouterDom.useNavigate();
3067
3046
  const location = reactRouterDom.useLocation();
3068
- const { t } = reactI18next.useTranslation();
3069
- const email = location.state?.email || "your@email.com";
3047
+ const { t: t2 } = reactI18next.useTranslation();
3048
+ const email = ((_a = location.state) == null ? void 0 : _a.email) || "your@email.com";
3070
3049
  const [isResending, setIsResending] = React.useState(false);
3071
3050
  const [resendSuccess, setResendSuccess] = React.useState(false);
3072
3051
  const handleResend = async () => {
@@ -3085,7 +3064,7 @@ function VerifyEmailPage() {
3085
3064
  alertDialog.ImageWithFallback,
3086
3065
  {
3087
3066
  src: "https://images.unsplash.com/photo-1563986768609-322da13575f3?w=1200&h=800&fit=crop&auto=format",
3088
- alt: t("verifyEmail.heroImageAlt"),
3067
+ alt: t2("verifyEmail.heroImageAlt"),
3089
3068
  className: "absolute inset-0 w-full h-full object-cover"
3090
3069
  }
3091
3070
  ),
@@ -3104,23 +3083,23 @@ function VerifyEmailPage() {
3104
3083
  }
3105
3084
  ) }),
3106
3085
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center mb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4 bg-primary/10 rounded-[var(--radius)]", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "w-12 h-12 text-primary" }) }) }),
3107
- /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm text-muted-foreground", children: t("verifyEmail.heading") }),
3108
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: t("verifyEmail.instructionsSent") }),
3086
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm text-muted-foreground", children: t2("verifyEmail.heading") }),
3087
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-muted-foreground", children: t2("verifyEmail.instructionsSent") }),
3109
3088
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-primary", children: email })
3110
3089
  ] }),
3111
3090
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-accent rounded-[var(--radius)] p-4 space-y-3", children: [
3112
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t("verifyEmail.instructions") }),
3091
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: t2("verifyEmail.instructions") }),
3113
3092
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2 text-muted-foreground", children: [
3114
3093
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckCircle2, { className: "w-4 h-4 mt-0.5 flex-shrink-0 text-[var(--chart-2)]" }),
3115
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: t("verifyEmail.checkSpam") })
3094
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: t2("verifyEmail.checkSpam") })
3116
3095
  ] })
3117
3096
  ] }),
3118
3097
  resendSuccess && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-[var(--chart-2)]/10 border border-[var(--chart-2)]/20 rounded-[var(--radius)] p-3 flex items-center gap-2", children: [
3119
3098
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckCircle2, { className: "w-5 h-5 text-[var(--chart-2)] flex-shrink-0" }),
3120
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-[var(--chart-2)]", children: t("verifyEmail.resentSuccess") })
3099
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-[var(--chart-2)]", children: t2("verifyEmail.resentSuccess") })
3121
3100
  ] }),
3122
3101
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
3123
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-center text-muted-foreground", children: t("verifyEmail.notReceived") }),
3102
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-center text-muted-foreground", children: t2("verifyEmail.notReceived") }),
3124
3103
  /* @__PURE__ */ jsxRuntime.jsx(
3125
3104
  button.Button,
3126
3105
  {
@@ -3128,7 +3107,7 @@ function VerifyEmailPage() {
3128
3107
  className: "w-full",
3129
3108
  onClick: handleResend,
3130
3109
  disabled: isResending,
3131
- children: isResending ? t("verifyEmail.resending") : t("verifyEmail.resend")
3110
+ children: isResending ? t2("verifyEmail.resending") : t2("verifyEmail.resend")
3132
3111
  }
3133
3112
  ),
3134
3113
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3140,14 +3119,14 @@ function VerifyEmailPage() {
3140
3119
  className: "w-full text-muted-foreground hover:text-foreground",
3141
3120
  children: [
3142
3121
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { className: "w-4 h-4 mr-2" }),
3143
- t("verifyEmail.backToLogin")
3122
+ t2("verifyEmail.backToLogin")
3144
3123
  ]
3145
3124
  }
3146
3125
  )
3147
3126
  ] }),
3148
3127
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
3149
3128
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full border-t border-border" }) }),
3150
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-muted px-2 text-muted-foreground", children: t("login.orContinueWith") }) })
3129
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-muted px-2 text-muted-foreground", children: t2("login.orContinueWith") }) })
3151
3130
  ] }),
3152
3131
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
3153
3132
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3189,7 +3168,7 @@ function VerifyEmailPage() {
3189
3168
  ),
3190
3169
  /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
3191
3170
  ] }),
3192
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("login.signInWithGoogle") })
3171
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: t2("login.signInWithGoogle") })
3193
3172
  ]
3194
3173
  }
3195
3174
  ),
@@ -3202,7 +3181,7 @@ function VerifyEmailPage() {
3202
3181
  onClick: () => handleSocialLogin(),
3203
3182
  children: [
3204
3183
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Lock, { className: "w-5 h-5 mr-2 text-[var(--chart-4)]" }),
3205
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("login.signInWithMTLogin") })
3184
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: t2("login.signInWithMTLogin") })
3206
3185
  ]
3207
3186
  }
3208
3187
  ),
@@ -3213,7 +3192,7 @@ function VerifyEmailPage() {
3213
3192
  variant: "outline",
3214
3193
  className: "w-full justify-center font-normal",
3215
3194
  onClick: () => handleSocialLogin(),
3216
- children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("login.signInWithGovBr") })
3195
+ children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: t2("login.signInWithGovBr") })
3217
3196
  }
3218
3197
  )
3219
3198
  ] })
@@ -3221,7 +3200,6 @@ function VerifyEmailPage() {
3221
3200
  ] })
3222
3201
  ] });
3223
3202
  }
3224
-
3225
3203
  exports.ForgotPasswordPage = ForgotPasswordPage;
3226
3204
  exports.HomeContent = HomeContent;
3227
3205
  exports.HomePage = HomePage;