@greatapps/common 1.1.263 → 1.1.265

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 (283) hide show
  1. package/dist/components/account/ConfigurationsMyAccountModal.mjs +1 -1
  2. package/dist/components/account/ConfigurationsMyAccountModal.mjs.map +1 -1
  3. package/dist/components/account/ConfirmDeleteAccountModal.mjs.map +1 -1
  4. package/dist/components/account/ConfirmGlobalPreferencesModal.mjs.map +1 -1
  5. package/dist/components/account/DeleteAccountModal.mjs.map +1 -1
  6. package/dist/components/account/DisableTwoFactorAuthModal.mjs.map +1 -1
  7. package/dist/components/account/IsntPossibleDeleteAccountModal.mjs.map +1 -1
  8. package/dist/components/account/TwoFactorAuthModal.mjs.map +1 -1
  9. package/dist/components/account/hooks/useChangePhoneForm.mjs.map +1 -1
  10. package/dist/components/account/hooks/useTwoFactorAuthForm.mjs.map +1 -1
  11. package/dist/components/account/sections/ChangeEmailModal.mjs.map +1 -1
  12. package/dist/components/account/sections/ChangePasswordSection.mjs.map +1 -1
  13. package/dist/components/account/sections/ChangePhoneModal.mjs.map +1 -1
  14. package/dist/components/account/sections/MyProfileSection.mjs.map +1 -1
  15. package/dist/components/account/sections/PreferencesSection.mjs.map +1 -1
  16. package/dist/components/account/sections/SecuritySection.mjs.map +1 -1
  17. package/dist/components/embeds/CrispEmbed.mjs.map +1 -1
  18. package/dist/components/embeds/FrillEmbed.mjs.map +1 -1
  19. package/dist/components/layouts/AppMobileNavBar.mjs.map +1 -1
  20. package/dist/components/layouts/AppNavBar.mjs.map +1 -1
  21. package/dist/components/layouts/MdSideBarNavigation.mjs.map +1 -1
  22. package/dist/components/layouts/NavBar.mjs.map +1 -1
  23. package/dist/components/layouts/NotificationsPopover.mjs.map +1 -1
  24. package/dist/components/layouts/ProfilePopover.mjs.map +1 -1
  25. package/dist/components/layouts/UsersSelectorPopover.mjs.map +1 -1
  26. package/dist/components/modals/BuyCreditsModal.mjs.map +1 -1
  27. package/dist/components/navigation/CancelledSubscriptionBanner.mjs.map +1 -1
  28. package/dist/components/navigation/NavItemsContext.mjs.map +1 -1
  29. package/dist/components/navigation/ProjectSelectorPopover.mjs.map +1 -1
  30. package/dist/components/navigation/shells/TabsMobileShell.mjs.map +1 -1
  31. package/dist/components/navigation/subcomponents/ProjectSelector.mjs.map +1 -1
  32. package/dist/components/pages/notifications/Notifications.mjs.map +1 -1
  33. package/dist/components/ui/buttons/Button.mjs.map +1 -1
  34. package/dist/components/ui/buttons/CancelButton.mjs.map +1 -1
  35. package/dist/components/ui/buttons/CopyButton.mjs.map +1 -1
  36. package/dist/components/ui/data-display/Accordion.mjs.map +1 -1
  37. package/dist/components/ui/data-display/Badge.mjs.map +1 -1
  38. package/dist/components/ui/data-display/Card.mjs.map +1 -1
  39. package/dist/components/ui/data-display/CardBrandIcons.mjs.map +1 -1
  40. package/dist/components/ui/data-display/CardItem.mjs.map +1 -1
  41. package/dist/components/ui/data-display/Pagination.mjs.map +1 -1
  42. package/dist/components/ui/data-display/PaymentInfoCard.mjs.map +1 -1
  43. package/dist/components/ui/data-display/ScrollArea.mjs.map +1 -1
  44. package/dist/components/ui/data-display/Separator.mjs.map +1 -1
  45. package/dist/components/ui/data-display/Table.mjs.map +1 -1
  46. package/dist/components/ui/data-display/Tabs.mjs.map +1 -1
  47. package/dist/components/ui/feedback/CircularProgress.mjs.map +1 -1
  48. package/dist/components/ui/feedback/DefaultCircularProgress.mjs.map +1 -1
  49. package/dist/components/ui/feedback/LoadingOverlay.mjs.map +1 -1
  50. package/dist/components/ui/feedback/Progress.mjs.map +1 -1
  51. package/dist/components/ui/feedback/Skeleton.mjs.map +1 -1
  52. package/dist/components/ui/feedback/Toast.mjs.map +1 -1
  53. package/dist/components/ui/form/Calendar.mjs.map +1 -1
  54. package/dist/components/ui/form/Checkbox.mjs.map +1 -1
  55. package/dist/components/ui/form/ComboboxField.mjs.map +1 -1
  56. package/dist/components/ui/form/DatePicker.mjs.map +1 -1
  57. package/dist/components/ui/form/DateRangePicker.mjs.map +1 -1
  58. package/dist/components/ui/form/FormField.mjs.map +1 -1
  59. package/dist/components/ui/form/Input.mjs.map +1 -1
  60. package/dist/components/ui/form/InputOtp.mjs.map +1 -1
  61. package/dist/components/ui/form/PhoneInput.mjs.map +1 -1
  62. package/dist/components/ui/form/RadioGroup.mjs.map +1 -1
  63. package/dist/components/ui/form/Select.mjs +1 -1
  64. package/dist/components/ui/form/Select.mjs.map +1 -1
  65. package/dist/components/ui/form/Switch.mjs.map +1 -1
  66. package/dist/components/ui/form/Textarea.mjs.map +1 -1
  67. package/dist/components/ui/overlay/Command.mjs.map +1 -1
  68. package/dist/components/ui/overlay/Dialog.mjs.map +1 -1
  69. package/dist/components/ui/overlay/Popover.mjs.map +1 -1
  70. package/dist/components/ui/overlay/Sheet.mjs.map +1 -1
  71. package/dist/components/ui/overlay/Tooltip.mjs.map +1 -1
  72. package/dist/hooks/copy-to-clipboard.hook.mjs.map +1 -1
  73. package/dist/index.mjs.map +1 -1
  74. package/dist/infra/api/client.mjs +50 -23
  75. package/dist/infra/api/client.mjs.map +1 -1
  76. package/dist/middleware.mjs.map +1 -1
  77. package/dist/modules/accounts/actions/account-management.action.mjs.map +1 -1
  78. package/dist/modules/accounts/actions/find-current-account.action.mjs.map +1 -1
  79. package/dist/modules/accounts/actions/list-currencies.action.mjs.map +1 -1
  80. package/dist/modules/accounts/actions/list-timezones.action.mjs.map +1 -1
  81. package/dist/modules/accounts/hooks/current-account.hook.mjs.map +1 -1
  82. package/dist/modules/accounts/hooks/useAccountManagement.mjs.map +1 -1
  83. package/dist/modules/accounts/hooks/useCurrencies.mjs.map +1 -1
  84. package/dist/modules/accounts/hooks/useTimezones.mjs.map +1 -1
  85. package/dist/modules/accounts/services/account.service.mjs.map +1 -1
  86. package/dist/modules/auth/actions/validate-session.action.mjs.map +1 -1
  87. package/dist/modules/auth/hooks/login.hook.mjs.map +1 -1
  88. package/dist/modules/auth/hooks/logout.hook.mjs.map +1 -1
  89. package/dist/modules/auth/hooks/register.hook.mjs.map +1 -1
  90. package/dist/modules/auth/services/auth.service.mjs +0 -1
  91. package/dist/modules/auth/services/auth.service.mjs.map +1 -1
  92. package/dist/modules/cards/actions/list-cards.action.mjs.map +1 -1
  93. package/dist/modules/cards/hooks/cards.hook.mjs.map +1 -1
  94. package/dist/modules/cards/services/cards.service.mjs.map +1 -1
  95. package/dist/modules/cards/types.mjs.map +1 -1
  96. package/dist/modules/ia-credits/actions/list-ia-credits.action.mjs.map +1 -1
  97. package/dist/modules/plans/actions/find-plan-by-id.action.mjs.map +1 -1
  98. package/dist/modules/plans/hooks/use-has-plan-addon.hook.mjs.map +1 -1
  99. package/dist/modules/plans/hooks/use-plan-by-id.hook.mjs.map +1 -1
  100. package/dist/modules/plans/services/plans.service.mjs.map +1 -1
  101. package/dist/modules/plans/types/plan.type.mjs.map +1 -1
  102. package/dist/modules/projects/actions/add-project-user.action.mjs.map +1 -1
  103. package/dist/modules/projects/actions/list-all-account-users.action.mjs.map +1 -1
  104. package/dist/modules/projects/actions/list-available-users.action.mjs.map +1 -1
  105. package/dist/modules/projects/actions/list-project-users.action.mjs.map +1 -1
  106. package/dist/modules/projects/actions/remove-project-user.action.mjs.map +1 -1
  107. package/dist/modules/projects/hooks/add-project-user.hook.mjs.map +1 -1
  108. package/dist/modules/projects/hooks/list-all-account-users.hook.mjs.map +1 -1
  109. package/dist/modules/projects/hooks/list-available-users.hook.mjs.map +1 -1
  110. package/dist/modules/projects/hooks/list-project-users.hook.mjs.map +1 -1
  111. package/dist/modules/projects/hooks/remove-project-user.hook.mjs.map +1 -1
  112. package/dist/modules/subscriptions/actions/calculate-subscription.action.mjs.map +1 -1
  113. package/dist/modules/subscriptions/actions/list-subscriptions.action.mjs.map +1 -1
  114. package/dist/modules/subscriptions/actions/update-subscription-plan.action.mjs.map +1 -1
  115. package/dist/modules/subscriptions/constants/query-keys.constants.mjs.map +1 -1
  116. package/dist/modules/subscriptions/hooks/calculate-subscription.hook.mjs.map +1 -1
  117. package/dist/modules/subscriptions/hooks/find-active-subscription.hook.mjs.map +1 -1
  118. package/dist/modules/subscriptions/hooks/list-subscriptions.hook.mjs.map +1 -1
  119. package/dist/modules/subscriptions/hooks/update-subscription-plan.hook.mjs.map +1 -1
  120. package/dist/modules/subscriptions/types/calculate-subscription.type.mjs.map +1 -1
  121. package/dist/modules/subscriptions/utils/build-plan-extras.mjs.map +1 -1
  122. package/dist/modules/subscriptions/utils/periodicity.mjs.map +1 -1
  123. package/dist/modules/subscriptions/utils/resolve-plan-extras-prices.mjs.map +1 -1
  124. package/dist/modules/users/action/find-user-by-id.action.mjs.map +1 -1
  125. package/dist/modules/users/action/list-messages.action.mjs.map +1 -1
  126. package/dist/modules/users/action/mark-all-messages-as-read.action.mjs.map +1 -1
  127. package/dist/modules/users/action/mark-message-as-read.action.mjs.map +1 -1
  128. package/dist/modules/users/hooks/messages.hook.mjs.map +1 -1
  129. package/dist/modules/whitelabel/actions/find-whitelabel.action.mjs.map +1 -1
  130. package/dist/modules/whitelabel/actions/revalidate-whitelabel.action.mjs.map +1 -1
  131. package/dist/modules/whitelabel/services/whitelabel.service.mjs +5 -0
  132. package/dist/modules/whitelabel/services/whitelabel.service.mjs.map +1 -1
  133. package/dist/providers/whitelabel.provider.mjs.map +1 -1
  134. package/dist/store/useBuyCreditsModal.mjs.map +1 -1
  135. package/dist/utils/countries.mjs.map +1 -1
  136. package/dist/utils/safeServerAction.mjs.map +1 -1
  137. package/dist/utils/withAction.mjs.map +1 -1
  138. package/package.json +89 -89
  139. package/src/components/account/ConfigurationsMyAccountModal.tsx +150 -150
  140. package/src/components/account/ConfirmDeleteAccountModal.tsx +55 -55
  141. package/src/components/account/ConfirmGlobalPreferencesModal.tsx +66 -66
  142. package/src/components/account/DeleteAccountModal.tsx +130 -130
  143. package/src/components/account/DisableTwoFactorAuthModal.tsx +86 -86
  144. package/src/components/account/IsntPossibleDeleteAccountModal.tsx +49 -49
  145. package/src/components/account/TwoFactorAuthModal.tsx +223 -223
  146. package/src/components/account/hooks/useChangePhoneForm.tsx +81 -81
  147. package/src/components/account/hooks/useTwoFactorAuthForm.tsx +101 -101
  148. package/src/components/account/sections/ChangeEmailModal.tsx +225 -225
  149. package/src/components/account/sections/ChangePasswordSection.tsx +64 -64
  150. package/src/components/account/sections/ChangePhoneModal.tsx +231 -231
  151. package/src/components/account/sections/MyProfileSection.tsx +327 -327
  152. package/src/components/account/sections/PreferencesSection.tsx +273 -273
  153. package/src/components/account/sections/SecuritySection.tsx +160 -160
  154. package/src/components/embeds/CrispEmbed.tsx +101 -101
  155. package/src/components/embeds/FrillEmbed.tsx +119 -119
  156. package/src/components/layouts/AppMobileNavBar.tsx +118 -118
  157. package/src/components/layouts/AppNavBar.tsx +51 -51
  158. package/src/components/layouts/MdSideBarNavigation.tsx +56 -56
  159. package/src/components/layouts/NavBar.tsx +120 -120
  160. package/src/components/layouts/NotificationsPopover.tsx +115 -115
  161. package/src/components/layouts/ProfilePopover.tsx +164 -164
  162. package/src/components/layouts/UsersSelectorPopover.tsx +238 -238
  163. package/src/components/modals/BuyCreditsModal.tsx +301 -301
  164. package/src/components/navigation/CancelledSubscriptionBanner.tsx +69 -69
  165. package/src/components/navigation/NavItemsContext.ts +20 -20
  166. package/src/components/navigation/ProjectSelectorPopover.tsx +157 -157
  167. package/src/components/navigation/shells/TabsMobileShell.tsx +72 -72
  168. package/src/components/navigation/subcomponents/ProjectSelector.tsx +156 -156
  169. package/src/components/pages/notifications/Notifications.tsx +160 -160
  170. package/src/components/ui/buttons/Button.tsx +57 -57
  171. package/src/components/ui/buttons/CancelButton.tsx +14 -14
  172. package/src/components/ui/buttons/CopyButton.tsx +54 -54
  173. package/src/components/ui/data-display/Accordion.tsx +81 -81
  174. package/src/components/ui/data-display/Badge.tsx +47 -47
  175. package/src/components/ui/data-display/Card.tsx +93 -93
  176. package/src/components/ui/data-display/CardBrandIcons.tsx +336 -336
  177. package/src/components/ui/data-display/CardItem.tsx +75 -75
  178. package/src/components/ui/data-display/Pagination.tsx +126 -126
  179. package/src/components/ui/data-display/PaymentInfoCard.tsx +186 -186
  180. package/src/components/ui/data-display/ScrollArea.tsx +59 -59
  181. package/src/components/ui/data-display/Separator.tsx +29 -29
  182. package/src/components/ui/data-display/Table.tsx +117 -117
  183. package/src/components/ui/data-display/Tabs.tsx +67 -67
  184. package/src/components/ui/feedback/CircularProgress.tsx +75 -75
  185. package/src/components/ui/feedback/DefaultCircularProgress.tsx +61 -61
  186. package/src/components/ui/feedback/LoadingOverlay.tsx +31 -31
  187. package/src/components/ui/feedback/Progress.tsx +40 -40
  188. package/src/components/ui/feedback/Skeleton.tsx +5 -5
  189. package/src/components/ui/feedback/Toast.tsx +101 -101
  190. package/src/components/ui/form/Calendar.tsx +228 -228
  191. package/src/components/ui/form/Checkbox.tsx +31 -31
  192. package/src/components/ui/form/ComboboxField.tsx +154 -154
  193. package/src/components/ui/form/DatePicker.tsx +97 -97
  194. package/src/components/ui/form/DateRangePicker.tsx +108 -108
  195. package/src/components/ui/form/FormField.tsx +131 -131
  196. package/src/components/ui/form/Input.tsx +20 -20
  197. package/src/components/ui/form/InputOtp.tsx +80 -80
  198. package/src/components/ui/form/PhoneInput.tsx +205 -205
  199. package/src/components/ui/form/RadioGroup.tsx +45 -45
  200. package/src/components/ui/form/Select.tsx +200 -200
  201. package/src/components/ui/form/Switch.tsx +32 -32
  202. package/src/components/ui/form/Textarea.tsx +19 -19
  203. package/src/components/ui/overlay/Command.tsx +185 -185
  204. package/src/components/ui/overlay/Dialog.tsx +151 -151
  205. package/src/components/ui/overlay/Popover.tsx +49 -49
  206. package/src/components/ui/overlay/Sheet.tsx +166 -166
  207. package/src/components/ui/overlay/Tooltip.tsx +62 -62
  208. package/src/hooks/copy-to-clipboard.hook.tsx +67 -67
  209. package/src/index.ts +376 -376
  210. package/src/infra/api/client.ts +116 -53
  211. package/src/middleware.ts +4 -4
  212. package/src/modules/accounts/actions/account-management.action.ts +91 -91
  213. package/src/modules/accounts/actions/find-current-account.action.ts +9 -9
  214. package/src/modules/accounts/actions/list-currencies.action.ts +8 -8
  215. package/src/modules/accounts/actions/list-timezones.action.ts +8 -8
  216. package/src/modules/accounts/hooks/current-account.hook.tsx +22 -22
  217. package/src/modules/accounts/hooks/useAccountManagement.ts +85 -85
  218. package/src/modules/accounts/hooks/useCurrencies.ts +15 -15
  219. package/src/modules/accounts/hooks/useTimezones.ts +15 -15
  220. package/src/modules/accounts/services/account.service.ts +236 -236
  221. package/src/modules/accounts/types.ts +214 -214
  222. package/src/modules/auth/actions/validate-session.action.ts +56 -56
  223. package/src/modules/auth/hooks/login.hook.tsx +13 -13
  224. package/src/modules/auth/hooks/logout.hook.tsx +11 -11
  225. package/src/modules/auth/hooks/register.hook.tsx +11 -11
  226. package/src/modules/auth/services/auth.service.ts +0 -2
  227. package/src/modules/cards/actions/list-cards.action.ts +8 -8
  228. package/src/modules/cards/hooks/cards.hook.ts +14 -14
  229. package/src/modules/cards/services/cards.service.ts +32 -32
  230. package/src/modules/cards/types.ts +32 -32
  231. package/src/modules/ia-credits/actions/list-ia-credits.action.ts +8 -8
  232. package/src/modules/plans/actions/find-plan-by-id.action.ts +8 -8
  233. package/src/modules/plans/hooks/use-has-plan-addon.hook.ts +17 -17
  234. package/src/modules/plans/hooks/use-plan-by-id.hook.ts +13 -13
  235. package/src/modules/plans/services/plans.service.ts +36 -36
  236. package/src/modules/plans/types/plan.type.ts +21 -21
  237. package/src/modules/projects/actions/add-project-user.action.ts +9 -9
  238. package/src/modules/projects/actions/list-all-account-users.action.ts +9 -9
  239. package/src/modules/projects/actions/list-available-users.action.ts +9 -9
  240. package/src/modules/projects/actions/list-project-users.action.ts +9 -9
  241. package/src/modules/projects/actions/remove-project-user.action.ts +9 -9
  242. package/src/modules/projects/hooks/add-project-user.hook.ts +69 -69
  243. package/src/modules/projects/hooks/list-all-account-users.hook.ts +34 -34
  244. package/src/modules/projects/hooks/list-available-users.hook.ts +33 -33
  245. package/src/modules/projects/hooks/list-project-users.hook.ts +33 -33
  246. package/src/modules/projects/hooks/remove-project-user.hook.ts +69 -69
  247. package/src/modules/subscriptions/actions/calculate-subscription.action.ts +9 -9
  248. package/src/modules/subscriptions/actions/list-subscriptions.action.ts +9 -9
  249. package/src/modules/subscriptions/actions/update-subscription-plan.action.ts +26 -26
  250. package/src/modules/subscriptions/constants/query-keys.constants.ts +1 -1
  251. package/src/modules/subscriptions/hooks/calculate-subscription.hook.ts +13 -13
  252. package/src/modules/subscriptions/hooks/find-active-subscription.hook.ts +19 -19
  253. package/src/modules/subscriptions/hooks/list-subscriptions.hook.ts +16 -16
  254. package/src/modules/subscriptions/hooks/update-subscription-plan.hook.ts +25 -25
  255. package/src/modules/subscriptions/types/billing-period.type.ts +1 -1
  256. package/src/modules/subscriptions/types/calculate-subscription.type.ts +75 -75
  257. package/src/modules/subscriptions/utils/build-plan-extras.ts +56 -56
  258. package/src/modules/subscriptions/utils/periodicity.ts +52 -52
  259. package/src/modules/subscriptions/utils/resolve-plan-extras-prices.ts +23 -23
  260. package/src/modules/users/action/find-user-by-id.action.ts +8 -8
  261. package/src/modules/users/action/list-messages.action.ts +12 -12
  262. package/src/modules/users/action/mark-all-messages-as-read.action.ts +8 -8
  263. package/src/modules/users/action/mark-message-as-read.action.ts +8 -8
  264. package/src/modules/users/hooks/messages.hook.ts +60 -60
  265. package/src/modules/whitelabel/actions/find-whitelabel.action.ts +23 -23
  266. package/src/modules/whitelabel/actions/revalidate-whitelabel.action.ts +19 -19
  267. package/src/modules/whitelabel/schema.ts +83 -83
  268. package/src/modules/whitelabel/services/whitelabel.service.ts +5 -5
  269. package/src/modules/whitelabel/styles-schema.ts +37 -37
  270. package/src/providers/whitelabel.provider.tsx +54 -54
  271. package/src/store/useBuyCreditsModal.ts +25 -25
  272. package/src/utils/countries.ts +224 -224
  273. package/src/utils/safeServerAction.ts +21 -21
  274. package/src/utils/withAction.ts +13 -13
  275. package/dist/modules/whitelabel/actions/find-whitelabel-styles.action.mjs +0 -15
  276. package/dist/modules/whitelabel/actions/find-whitelabel-styles.action.mjs.map +0 -1
  277. package/dist/modules/whitelabel/actions/revalidate-whitelabel-styles.action.mjs +0 -12
  278. package/dist/modules/whitelabel/actions/revalidate-whitelabel-styles.action.mjs.map +0 -1
  279. package/dist/modules/whitelabel/services/whitelabel-styles.service.mjs +0 -102
  280. package/dist/modules/whitelabel/services/whitelabel-styles.service.mjs.map +0 -1
  281. package/src/modules/whitelabel/actions/find-whitelabel-styles.action.ts +0 -14
  282. package/src/modules/whitelabel/actions/revalidate-whitelabel-styles.action.ts +0 -10
  283. package/src/modules/whitelabel/services/whitelabel-styles.service.ts +0 -129
package/src/index.ts CHANGED
@@ -1,376 +1,376 @@
1
- // Types
2
- export * from "./modules/auth/schema";
3
- export * from "./modules/users/schema";
4
- export * from "./modules/whitelabel/schema";
5
- // Style types now come from whitelabel schema directly
6
- export * from "./infra/api/types";
7
-
8
- // Contexts
9
- export * from "./providers/query.provider";
10
- export * from "./providers/auth.provider";
11
- export * from "./providers/whitelabel.provider";
12
-
13
- // Hooks
14
- export {
15
- useListProjectUsers,
16
- LIST_PROJECT_USERS_QUERY_KEY,
17
- LIST_PROJECT_USERS_BASE_KEY,
18
- } from "./modules/projects/hooks/list-project-users.hook";
19
- export {
20
- useListAvailableUsers,
21
- LIST_AVAILABLE_USERS_QUERY_KEY,
22
- LIST_AVAILABLE_USERS_BASE_KEY,
23
- } from "./modules/projects/hooks/list-available-users.hook";
24
- export type {
25
- ProjectUser,
26
- AccountUser,
27
- AddRemoveProjectUsersParams,
28
- ListUsersParams,
29
- UsersPage,
30
- } from "./modules/projects/types";
31
- export {
32
- useUserQuery,
33
- useUserValidateSession,
34
- useInvalidateUser,
35
- useSetUserData,
36
- useTwoFactorVerify,
37
- USER_QUERY_KEY,
38
- } from "./modules/auth/hooks/useUserQuery";
39
- export { useSubscriptions } from "./modules/subscriptions/hooks/list-subscriptions.hook";
40
- export { SUBSCRIPTIONS_QUERY_KEY } from "./modules/subscriptions/constants/query-keys.constants";
41
- export { useActiveSubscription } from "./modules/subscriptions/hooks/find-active-subscription.hook";
42
- export { usePlanById } from "./modules/plans/hooks/use-plan-by-id.hook";
43
- export { useHasPlanAddon } from "./modules/plans/hooks/use-has-plan-addon.hook";
44
- export { useCalculateSubscription } from "./modules/subscriptions/hooks/calculate-subscription.hook";
45
- export { useUpdateSubscriptionPlan } from "./modules/subscriptions/hooks/update-subscription-plan.hook";
46
- export { useCards, CARDS_QUERY_KEY } from "./modules/cards/hooks/cards.hook";
47
- export { useIaCredits } from "./modules/ia-credits/hooks/ia-credits.hook";
48
- export type {
49
- IaCreditsSummary,
50
- IaCreditOperation,
51
- } from "./modules/ia-credits/types";
52
- export type {
53
- Subscription,
54
- SubscriptionItem,
55
- FindSubscriptionsParams,
56
- } from "./modules/subscriptions/types/subscription.type";
57
- export {
58
- SubscriptionSchema,
59
- SubscriptionItemSchema,
60
- } from "./modules/subscriptions/types/subscription.type";
61
- export { ADDON_IDS, AI_CREDIT_OPTIONS, AI_CREDIT_VALUES } from "./modules/subscriptions/constants/addons.constants";
62
- export type { AddonKindEnum, AiCreditOption } from "./modules/subscriptions/constants/addons.constants";
63
- export type { Plan, PlanItem } from "./modules/plans/types/plan.type";
64
- export { PlanSchema, PlanItemSchema } from "./modules/plans/types/plan.type";
65
- export type { BillingPeriod } from "./modules/subscriptions/types/billing-period.type";
66
- export type {
67
- CalculateSubscriptionRequest,
68
- CalculateSubscriptionResponse,
69
- UpdateSubscriptionPlanRequest,
70
- } from "./modules/subscriptions/types/calculate-subscription.type";
71
- export type { Card as PaymentCard } from "./modules/cards/types";
72
- export { CardSchema as PaymentCardSchema } from "./modules/cards/types";
73
- export { buildPlanExtras } from "./modules/subscriptions/utils/build-plan-extras";
74
- export { getPriceFromCalculatedData, periodicityToBillingPeriod } from "./modules/subscriptions/utils/periodicity";
75
- export { useBuyCreditsModal } from "./store/useBuyCreditsModal";
76
- export { default as BuyCreditsModal } from "./components/modals/BuyCreditsModal";
77
- export { Skeleton } from "./components/ui/feedback/Skeleton";
78
- export { PaymentInfoCard } from "./components/ui/data-display/PaymentInfoCard";
79
- export { CardBrandIcon } from "./components/ui/data-display/CardBrandIcons";
80
- export { CardItem } from "./components/ui/data-display/CardItem";
81
-
82
- // Providers
83
- export { QueryProvider } from "./providers/query.provider";
84
-
85
- // Middleware
86
- export { createAuthMiddleware } from "./middlewares/create-auth-middleware";
87
- export { createMiddlewareChain } from "./middlewares/chain";
88
- export { continueChain, stopChain } from "./middlewares/types";
89
- export type {
90
- MiddlewareFunction,
91
- MiddlewareConfig,
92
- MiddlewareResult,
93
- } from "./middlewares/types";
94
-
95
- // Utils
96
- export { cn } from "./infra/utils/clsx";
97
- export { buildQueryParams } from "./infra/utils/params";
98
- export { parseSchema, parseResult } from "./infra/utils/parser";
99
- export { withAction } from "./utils/withAction";
100
-
101
- // Layout
102
- export {
103
- MainLayout,
104
- MainLayoutContent,
105
- MainLayoutSpacer,
106
- MainLayoutMain,
107
- } from "./components/layouts/MainLayout";
108
- export { NavBar } from "./components/layouts/NavBar";
109
- export type { NavBarProps } from "./components/layouts/NavBar";
110
- export { AppNavBar } from "./components/layouts/AppNavBar";
111
- export type { AppNavBarProps } from "./components/layouts/AppNavBar";
112
- export { AppMobileNavBar } from "./components/layouts/AppMobileNavBar";
113
- export type { AppMobileNavBarProps } from "./components/layouts/AppMobileNavBar";
114
- export { SideBarNavigation } from "./components/layouts/SideBarNavigation";
115
- export { MdSideBarNavigation } from "./components/layouts/MdSideBarNavigation";
116
- export { default as NotificationCard } from "./components/widgets/notifications/NotificationCard";
117
- export type { NotificationCardProps } from "./components/widgets/notifications/NotificationCard";
118
- export { NotificationsPopover } from "./components/layouts/NotificationsPopover";
119
- export type { NotificationsPopoverProps } from "./components/layouts/NotificationsPopover";
120
- export { NotificationPageContent } from "./components/pages/notifications/Notifications";
121
- export { UsersSelectorPopover } from "./components/layouts/UsersSelectorPopover";
122
- export type { UsersSelectorPopoverProps } from "./components/layouts/UsersSelectorPopover";
123
- export { ProfilePopover } from "./components/layouts/ProfilePopover";
124
- export type {
125
- ProfilePopoverProps,
126
- ProfileMenuItem,
127
- } from "./components/layouts/ProfilePopover";
128
- export { NavBarItem } from "./components/layouts/NavBarItem";
129
- export type { NavBarItemProps } from "./components/layouts/NavBarItem";
130
-
131
- // Navigation
132
- export { AppNavigation } from './components/navigation/AppNavigation';
133
- export { CancelledSubscriptionBanner } from './components/navigation/CancelledSubscriptionBanner';
134
- export type { NavItemConfig } from './components/navigation/subcomponents/NavItems';
135
- export type { NavigationProject } from './components/navigation/types';
136
- export { useMobileNavbarSheet } from './store/useMobileNavbarSheet';
137
-
138
- // Hooks
139
- export { default as useCopyToClipboard } from "./hooks/copy-to-clipboard.hook";
140
-
141
- // UI - Buttons
142
- export { Button, buttonVariants } from "./components/ui/buttons/Button";
143
- export { CopyButton } from "./components/ui/buttons/CopyButton";
144
- export { default as CancelButton } from "./components/ui/buttons/CancelButton";
145
-
146
- // UI - Data Display
147
- export {
148
- Accordion,
149
- AccordionItem,
150
- AccordionTrigger,
151
- AccordionContent,
152
- } from "./components/ui/data-display/Accordion";
153
- export { Badge, badgeVariants } from "./components/ui/data-display/Badge";
154
- export {
155
- Card,
156
- CardHeader,
157
- CardFooter,
158
- CardTitle,
159
- CardAction,
160
- CardDescription,
161
- CardContent,
162
- } from "./components/ui/data-display/Card";
163
- export {
164
- Pagination,
165
- PaginationContent,
166
- PaginationLink,
167
- PaginationItem,
168
- PaginationPrevious,
169
- PaginationNext,
170
- PaginationEllipsis,
171
- } from "./components/ui/data-display/Pagination";
172
- export { ScrollArea, ScrollBar } from "./components/ui/data-display/ScrollArea";
173
- export { Separator } from "./components/ui/data-display/Separator";
174
- export {
175
- Table,
176
- TableHeader,
177
- TableBody,
178
- TableFooter,
179
- TableHead,
180
- TableRow,
181
- TableCell,
182
- TableCaption,
183
- } from "./components/ui/data-display/Table";
184
- export {
185
- Tabs,
186
- TabsList,
187
- TabsTrigger,
188
- TabsContent,
189
- } from "./components/ui/data-display/Tabs";
190
- export { UserAvatar } from "./components/ui/data-display/UserAvatar";
191
- export type { UserAvatarProps } from "./components/ui/data-display/UserAvatar";
192
-
193
- // UI - Feedback
194
- export { default as CircularProgress } from "./components/ui/feedback/CircularProgress";
195
- export { default as DefaultCircularProgress } from "./components/ui/feedback/DefaultCircularProgress";
196
- export { Progress } from "./components/ui/feedback/Progress";
197
- export { LoadingOverlay } from "./components/ui/feedback/LoadingOverlay";
198
- export {
199
- Toast,
200
- toastVariants,
201
- toastIconContainerVariants,
202
- } from "./components/ui/feedback/Toast";
203
- export type { ToastProps } from "./components/ui/feedback/Toast";
204
-
205
- // UI - Form
206
- export { Calendar, CalendarDayButton } from "./components/ui/form/Calendar";
207
- export { Checkbox } from "./components/ui/form/Checkbox";
208
- export { DatePicker } from "./components/ui/form/DatePicker";
209
- export { DateRangePicker } from "./components/ui/form/DateRangePicker";
210
- export { Input } from "./components/ui/form/Input";
211
- export {
212
- InputOTP,
213
- InputOTPGroup,
214
- InputOTPSlot,
215
- InputOTPSeparator,
216
- } from "./components/ui/form/InputOtp";
217
- export { RadioGroup, RadioGroupItem } from "./components/ui/form/RadioGroup";
218
- export {
219
- Select,
220
- SelectContent,
221
- SelectGroup,
222
- SelectItem,
223
- SelectLabel,
224
- SelectScrollDownButton,
225
- SelectScrollUpButton,
226
- SelectSeparator,
227
- SelectTrigger,
228
- SelectValue,
229
- } from "./components/ui/form/Select";
230
- export { Switch } from "./components/ui/form/Switch";
231
- export { Textarea } from "./components/ui/form/Textarea";
232
-
233
- // UI - Overlay
234
- export {
235
- Command,
236
- CommandDialog,
237
- CommandInput,
238
- CommandList,
239
- CommandEmpty,
240
- CommandGroup,
241
- CommandItem,
242
- CommandShortcut,
243
- CommandSeparator,
244
- } from "./components/ui/overlay/Command";
245
- export {
246
- Dialog,
247
- DialogClose,
248
- DialogContent,
249
- DialogDescription,
250
- DialogFooter,
251
- DialogHeader,
252
- DialogOverlay,
253
- DialogPortal,
254
- DialogTitle,
255
- DialogTrigger,
256
- } from "./components/ui/overlay/Dialog";
257
- export {
258
- Popover,
259
- PopoverTrigger,
260
- PopoverContent,
261
- PopoverAnchor,
262
- } from "./components/ui/overlay/Popover";
263
- export {
264
- Sheet,
265
- SheetTrigger,
266
- SheetClose,
267
- SheetContent,
268
- SheetHeader,
269
- SheetFooter,
270
- SheetTitle,
271
- SheetDescription,
272
- } from "./components/ui/overlay/Sheet";
273
- export {
274
- Tooltip,
275
- TooltipTrigger,
276
- TooltipContent,
277
- TooltipProvider,
278
- } from "./components/ui/overlay/Tooltip";
279
-
280
- // Embeds
281
- export { FrillEmbed } from "./components/embeds/FrillEmbed";
282
- export { CrispEmbed, openCrispHelpdesk, hideCrisp, showCrisp } from "./components/embeds/CrispEmbed";
283
-
284
- // Store
285
- export { useMdSidebarStore } from "./store/useMdSidebarStore";
286
- export { useModalManager } from "./store/useModalManager";
287
- export type { ModalData } from "./store/useModalManager";
288
-
289
- // Enums
290
- export { AccountSectionType } from "./enums/AccountSectionType";
291
-
292
- // Hooks
293
- export { default as usePasswordVisibility } from "./hooks/usePasswordVisibility";
294
- export { default as useCountdownTimer } from "./hooks/useCountdownTimer";
295
- export { default as useIsMobile } from "./hooks/useIsMobile";
296
- export { useDebounce } from "./hooks/useDebounce";
297
- export { useDebouncedEffect } from "./hooks/useDebouncedEffect";
298
- export { useDebounceState } from "./hooks/useDebounceState";
299
-
300
- // Utils
301
- export {
302
- formatPhone,
303
- formatTimer,
304
- formatFullName,
305
- formatCPF,
306
- formatCardNumber,
307
- } from "./utils/format/masks";
308
- export type { TimezoneOption } from "./modules/accounts/services/timezone.service";
309
- export {
310
- buildLocaleOptions,
311
- LANGUAGE_OPTIONS as LOCALE_LANGUAGE_OPTIONS,
312
- } from "./utils/intl/locales";
313
- export type { LocaleOption } from "./utils/intl/locales";
314
- export { copyToClipboard, readFromClipboard } from "./utils/browser/clipboard";
315
-
316
- // UI - Form (new widgets)
317
- export { FormField } from "./components/ui/form/FormField";
318
- export { SelectField } from "./components/ui/form/SelectField";
319
- export { ComboboxField } from "./components/ui/form/ComboboxField";
320
- export type { ComboboxOption } from "./components/ui/form/ComboboxField";
321
- export { default as PhoneInput } from "./components/ui/form/PhoneInput";
322
- export { default as SwitchOptionFieldWithIcon } from "./components/ui/form/SwitchOptionFieldWithIcon";
323
- export { TextAreaField } from "./components/ui/form/TextAreaField";
324
-
325
- // Account Module - Hooks
326
- export {
327
- useCurrentAccount,
328
- ACCOUNT_QUERY_KEY,
329
- } from "./modules/accounts/hooks/current-account.hook";
330
- export {
331
- useUpdateAccount,
332
- useUpdateAccountUser,
333
- useUpdateAccountUserById,
334
- useDeleteAccountUser,
335
- useDeleteAccount,
336
- } from "./modules/accounts/hooks/useAccountManagement";
337
-
338
- // Account Types
339
- export type {
340
- UpdateAccountRequest,
341
- UpdateAccountUserRequest,
342
- ChangePasswordRequest,
343
- DeleteAccountActionResult,
344
- DeleteUserActionResult,
345
- UpdateAccountActionResult,
346
- UpdateUserActionResult,
347
- TwoFactorGenerateResult,
348
- TwoFactorActionResult,
349
- ContactResetResult,
350
- } from "./modules/accounts/types";
351
-
352
- export { default as AccountModals } from "./components/account/AccountModals";
353
- export { useAccountModals } from "./store/useAccountModals";
354
- export type { AccountModalsConfig } from "./store/useAccountModals";
355
-
356
- export { ModalManager } from "./components/modals/ModalManager";
357
- export { Modals } from "./components/modals/Modals";
358
-
359
- export { default as TwoFactorAuthModal } from "./components/account/TwoFactorAuthModal";
360
- export { default as DisableTwoFactorAuthModal } from "./components/account/DisableTwoFactorAuthModal";
361
- export { default as ConfirmGlobalPreferencesModal } from "./components/account/ConfirmGlobalPreferencesModal";
362
- export { MyProfileSection } from "./components/account/sections/MyProfileSection";
363
- export { PreferencesSection } from "./components/account/sections/PreferencesSection";
364
- export { SecuritySection } from "./components/account/sections/SecuritySection";
365
- export { ChangePasswordSection } from "./components/account/sections/ChangePasswordSection";
366
- export { ChangeEmailModal } from "./components/account/sections/ChangeEmailModal";
367
- export { ChangePhoneModal } from "./components/account/sections/ChangePhoneModal";
368
-
369
- // Account Constants
370
- export {
371
- GENDER_OPTIONS,
372
- CURRENCY_OPTIONS,
373
- TIME_FORMAT_OPTIONS,
374
- NOTIFICATION_TYPES,
375
- LANGUAGE_OPTIONS,
376
- } from "./components/account/constants";
1
+ // Types
2
+ export * from "./modules/auth/schema";
3
+ export * from "./modules/users/schema";
4
+ export * from "./modules/whitelabel/schema";
5
+ // Style types now come from whitelabel schema directly
6
+ export * from "./infra/api/types";
7
+
8
+ // Contexts
9
+ export * from "./providers/query.provider";
10
+ export * from "./providers/auth.provider";
11
+ export * from "./providers/whitelabel.provider";
12
+
13
+ // Hooks
14
+ export {
15
+ useListProjectUsers,
16
+ LIST_PROJECT_USERS_QUERY_KEY,
17
+ LIST_PROJECT_USERS_BASE_KEY,
18
+ } from "./modules/projects/hooks/list-project-users.hook";
19
+ export {
20
+ useListAvailableUsers,
21
+ LIST_AVAILABLE_USERS_QUERY_KEY,
22
+ LIST_AVAILABLE_USERS_BASE_KEY,
23
+ } from "./modules/projects/hooks/list-available-users.hook";
24
+ export type {
25
+ ProjectUser,
26
+ AccountUser,
27
+ AddRemoveProjectUsersParams,
28
+ ListUsersParams,
29
+ UsersPage,
30
+ } from "./modules/projects/types";
31
+ export {
32
+ useUserQuery,
33
+ useUserValidateSession,
34
+ useInvalidateUser,
35
+ useSetUserData,
36
+ useTwoFactorVerify,
37
+ USER_QUERY_KEY,
38
+ } from "./modules/auth/hooks/useUserQuery";
39
+ export { useSubscriptions } from "./modules/subscriptions/hooks/list-subscriptions.hook";
40
+ export { SUBSCRIPTIONS_QUERY_KEY } from "./modules/subscriptions/constants/query-keys.constants";
41
+ export { useActiveSubscription } from "./modules/subscriptions/hooks/find-active-subscription.hook";
42
+ export { usePlanById } from "./modules/plans/hooks/use-plan-by-id.hook";
43
+ export { useHasPlanAddon } from "./modules/plans/hooks/use-has-plan-addon.hook";
44
+ export { useCalculateSubscription } from "./modules/subscriptions/hooks/calculate-subscription.hook";
45
+ export { useUpdateSubscriptionPlan } from "./modules/subscriptions/hooks/update-subscription-plan.hook";
46
+ export { useCards, CARDS_QUERY_KEY } from "./modules/cards/hooks/cards.hook";
47
+ export { useIaCredits } from "./modules/ia-credits/hooks/ia-credits.hook";
48
+ export type {
49
+ IaCreditsSummary,
50
+ IaCreditOperation,
51
+ } from "./modules/ia-credits/types";
52
+ export type {
53
+ Subscription,
54
+ SubscriptionItem,
55
+ FindSubscriptionsParams,
56
+ } from "./modules/subscriptions/types/subscription.type";
57
+ export {
58
+ SubscriptionSchema,
59
+ SubscriptionItemSchema,
60
+ } from "./modules/subscriptions/types/subscription.type";
61
+ export { ADDON_IDS, AI_CREDIT_OPTIONS, AI_CREDIT_VALUES } from "./modules/subscriptions/constants/addons.constants";
62
+ export type { AddonKindEnum, AiCreditOption } from "./modules/subscriptions/constants/addons.constants";
63
+ export type { Plan, PlanItem } from "./modules/plans/types/plan.type";
64
+ export { PlanSchema, PlanItemSchema } from "./modules/plans/types/plan.type";
65
+ export type { BillingPeriod } from "./modules/subscriptions/types/billing-period.type";
66
+ export type {
67
+ CalculateSubscriptionRequest,
68
+ CalculateSubscriptionResponse,
69
+ UpdateSubscriptionPlanRequest,
70
+ } from "./modules/subscriptions/types/calculate-subscription.type";
71
+ export type { Card as PaymentCard } from "./modules/cards/types";
72
+ export { CardSchema as PaymentCardSchema } from "./modules/cards/types";
73
+ export { buildPlanExtras } from "./modules/subscriptions/utils/build-plan-extras";
74
+ export { getPriceFromCalculatedData, periodicityToBillingPeriod } from "./modules/subscriptions/utils/periodicity";
75
+ export { useBuyCreditsModal } from "./store/useBuyCreditsModal";
76
+ export { default as BuyCreditsModal } from "./components/modals/BuyCreditsModal";
77
+ export { Skeleton } from "./components/ui/feedback/Skeleton";
78
+ export { PaymentInfoCard } from "./components/ui/data-display/PaymentInfoCard";
79
+ export { CardBrandIcon } from "./components/ui/data-display/CardBrandIcons";
80
+ export { CardItem } from "./components/ui/data-display/CardItem";
81
+
82
+ // Providers
83
+ export { QueryProvider } from "./providers/query.provider";
84
+
85
+ // Middleware
86
+ export { createAuthMiddleware } from "./middlewares/create-auth-middleware";
87
+ export { createMiddlewareChain } from "./middlewares/chain";
88
+ export { continueChain, stopChain } from "./middlewares/types";
89
+ export type {
90
+ MiddlewareFunction,
91
+ MiddlewareConfig,
92
+ MiddlewareResult,
93
+ } from "./middlewares/types";
94
+
95
+ // Utils
96
+ export { cn } from "./infra/utils/clsx";
97
+ export { buildQueryParams } from "./infra/utils/params";
98
+ export { parseSchema, parseResult } from "./infra/utils/parser";
99
+ export { withAction } from "./utils/withAction";
100
+
101
+ // Layout
102
+ export {
103
+ MainLayout,
104
+ MainLayoutContent,
105
+ MainLayoutSpacer,
106
+ MainLayoutMain,
107
+ } from "./components/layouts/MainLayout";
108
+ export { NavBar } from "./components/layouts/NavBar";
109
+ export type { NavBarProps } from "./components/layouts/NavBar";
110
+ export { AppNavBar } from "./components/layouts/AppNavBar";
111
+ export type { AppNavBarProps } from "./components/layouts/AppNavBar";
112
+ export { AppMobileNavBar } from "./components/layouts/AppMobileNavBar";
113
+ export type { AppMobileNavBarProps } from "./components/layouts/AppMobileNavBar";
114
+ export { SideBarNavigation } from "./components/layouts/SideBarNavigation";
115
+ export { MdSideBarNavigation } from "./components/layouts/MdSideBarNavigation";
116
+ export { default as NotificationCard } from "./components/widgets/notifications/NotificationCard";
117
+ export type { NotificationCardProps } from "./components/widgets/notifications/NotificationCard";
118
+ export { NotificationsPopover } from "./components/layouts/NotificationsPopover";
119
+ export type { NotificationsPopoverProps } from "./components/layouts/NotificationsPopover";
120
+ export { NotificationPageContent } from "./components/pages/notifications/Notifications";
121
+ export { UsersSelectorPopover } from "./components/layouts/UsersSelectorPopover";
122
+ export type { UsersSelectorPopoverProps } from "./components/layouts/UsersSelectorPopover";
123
+ export { ProfilePopover } from "./components/layouts/ProfilePopover";
124
+ export type {
125
+ ProfilePopoverProps,
126
+ ProfileMenuItem,
127
+ } from "./components/layouts/ProfilePopover";
128
+ export { NavBarItem } from "./components/layouts/NavBarItem";
129
+ export type { NavBarItemProps } from "./components/layouts/NavBarItem";
130
+
131
+ // Navigation
132
+ export { AppNavigation } from './components/navigation/AppNavigation';
133
+ export { CancelledSubscriptionBanner } from './components/navigation/CancelledSubscriptionBanner';
134
+ export type { NavItemConfig } from './components/navigation/subcomponents/NavItems';
135
+ export type { NavigationProject } from './components/navigation/types';
136
+ export { useMobileNavbarSheet } from './store/useMobileNavbarSheet';
137
+
138
+ // Hooks
139
+ export { default as useCopyToClipboard } from "./hooks/copy-to-clipboard.hook";
140
+
141
+ // UI - Buttons
142
+ export { Button, buttonVariants } from "./components/ui/buttons/Button";
143
+ export { CopyButton } from "./components/ui/buttons/CopyButton";
144
+ export { default as CancelButton } from "./components/ui/buttons/CancelButton";
145
+
146
+ // UI - Data Display
147
+ export {
148
+ Accordion,
149
+ AccordionItem,
150
+ AccordionTrigger,
151
+ AccordionContent,
152
+ } from "./components/ui/data-display/Accordion";
153
+ export { Badge, badgeVariants } from "./components/ui/data-display/Badge";
154
+ export {
155
+ Card,
156
+ CardHeader,
157
+ CardFooter,
158
+ CardTitle,
159
+ CardAction,
160
+ CardDescription,
161
+ CardContent,
162
+ } from "./components/ui/data-display/Card";
163
+ export {
164
+ Pagination,
165
+ PaginationContent,
166
+ PaginationLink,
167
+ PaginationItem,
168
+ PaginationPrevious,
169
+ PaginationNext,
170
+ PaginationEllipsis,
171
+ } from "./components/ui/data-display/Pagination";
172
+ export { ScrollArea, ScrollBar } from "./components/ui/data-display/ScrollArea";
173
+ export { Separator } from "./components/ui/data-display/Separator";
174
+ export {
175
+ Table,
176
+ TableHeader,
177
+ TableBody,
178
+ TableFooter,
179
+ TableHead,
180
+ TableRow,
181
+ TableCell,
182
+ TableCaption,
183
+ } from "./components/ui/data-display/Table";
184
+ export {
185
+ Tabs,
186
+ TabsList,
187
+ TabsTrigger,
188
+ TabsContent,
189
+ } from "./components/ui/data-display/Tabs";
190
+ export { UserAvatar } from "./components/ui/data-display/UserAvatar";
191
+ export type { UserAvatarProps } from "./components/ui/data-display/UserAvatar";
192
+
193
+ // UI - Feedback
194
+ export { default as CircularProgress } from "./components/ui/feedback/CircularProgress";
195
+ export { default as DefaultCircularProgress } from "./components/ui/feedback/DefaultCircularProgress";
196
+ export { Progress } from "./components/ui/feedback/Progress";
197
+ export { LoadingOverlay } from "./components/ui/feedback/LoadingOverlay";
198
+ export {
199
+ Toast,
200
+ toastVariants,
201
+ toastIconContainerVariants,
202
+ } from "./components/ui/feedback/Toast";
203
+ export type { ToastProps } from "./components/ui/feedback/Toast";
204
+
205
+ // UI - Form
206
+ export { Calendar, CalendarDayButton } from "./components/ui/form/Calendar";
207
+ export { Checkbox } from "./components/ui/form/Checkbox";
208
+ export { DatePicker } from "./components/ui/form/DatePicker";
209
+ export { DateRangePicker } from "./components/ui/form/DateRangePicker";
210
+ export { Input } from "./components/ui/form/Input";
211
+ export {
212
+ InputOTP,
213
+ InputOTPGroup,
214
+ InputOTPSlot,
215
+ InputOTPSeparator,
216
+ } from "./components/ui/form/InputOtp";
217
+ export { RadioGroup, RadioGroupItem } from "./components/ui/form/RadioGroup";
218
+ export {
219
+ Select,
220
+ SelectContent,
221
+ SelectGroup,
222
+ SelectItem,
223
+ SelectLabel,
224
+ SelectScrollDownButton,
225
+ SelectScrollUpButton,
226
+ SelectSeparator,
227
+ SelectTrigger,
228
+ SelectValue,
229
+ } from "./components/ui/form/Select";
230
+ export { Switch } from "./components/ui/form/Switch";
231
+ export { Textarea } from "./components/ui/form/Textarea";
232
+
233
+ // UI - Overlay
234
+ export {
235
+ Command,
236
+ CommandDialog,
237
+ CommandInput,
238
+ CommandList,
239
+ CommandEmpty,
240
+ CommandGroup,
241
+ CommandItem,
242
+ CommandShortcut,
243
+ CommandSeparator,
244
+ } from "./components/ui/overlay/Command";
245
+ export {
246
+ Dialog,
247
+ DialogClose,
248
+ DialogContent,
249
+ DialogDescription,
250
+ DialogFooter,
251
+ DialogHeader,
252
+ DialogOverlay,
253
+ DialogPortal,
254
+ DialogTitle,
255
+ DialogTrigger,
256
+ } from "./components/ui/overlay/Dialog";
257
+ export {
258
+ Popover,
259
+ PopoverTrigger,
260
+ PopoverContent,
261
+ PopoverAnchor,
262
+ } from "./components/ui/overlay/Popover";
263
+ export {
264
+ Sheet,
265
+ SheetTrigger,
266
+ SheetClose,
267
+ SheetContent,
268
+ SheetHeader,
269
+ SheetFooter,
270
+ SheetTitle,
271
+ SheetDescription,
272
+ } from "./components/ui/overlay/Sheet";
273
+ export {
274
+ Tooltip,
275
+ TooltipTrigger,
276
+ TooltipContent,
277
+ TooltipProvider,
278
+ } from "./components/ui/overlay/Tooltip";
279
+
280
+ // Embeds
281
+ export { FrillEmbed } from "./components/embeds/FrillEmbed";
282
+ export { CrispEmbed, openCrispHelpdesk, hideCrisp, showCrisp } from "./components/embeds/CrispEmbed";
283
+
284
+ // Store
285
+ export { useMdSidebarStore } from "./store/useMdSidebarStore";
286
+ export { useModalManager } from "./store/useModalManager";
287
+ export type { ModalData } from "./store/useModalManager";
288
+
289
+ // Enums
290
+ export { AccountSectionType } from "./enums/AccountSectionType";
291
+
292
+ // Hooks
293
+ export { default as usePasswordVisibility } from "./hooks/usePasswordVisibility";
294
+ export { default as useCountdownTimer } from "./hooks/useCountdownTimer";
295
+ export { default as useIsMobile } from "./hooks/useIsMobile";
296
+ export { useDebounce } from "./hooks/useDebounce";
297
+ export { useDebouncedEffect } from "./hooks/useDebouncedEffect";
298
+ export { useDebounceState } from "./hooks/useDebounceState";
299
+
300
+ // Utils
301
+ export {
302
+ formatPhone,
303
+ formatTimer,
304
+ formatFullName,
305
+ formatCPF,
306
+ formatCardNumber,
307
+ } from "./utils/format/masks";
308
+ export type { TimezoneOption } from "./modules/accounts/services/timezone.service";
309
+ export {
310
+ buildLocaleOptions,
311
+ LANGUAGE_OPTIONS as LOCALE_LANGUAGE_OPTIONS,
312
+ } from "./utils/intl/locales";
313
+ export type { LocaleOption } from "./utils/intl/locales";
314
+ export { copyToClipboard, readFromClipboard } from "./utils/browser/clipboard";
315
+
316
+ // UI - Form (new widgets)
317
+ export { FormField } from "./components/ui/form/FormField";
318
+ export { SelectField } from "./components/ui/form/SelectField";
319
+ export { ComboboxField } from "./components/ui/form/ComboboxField";
320
+ export type { ComboboxOption } from "./components/ui/form/ComboboxField";
321
+ export { default as PhoneInput } from "./components/ui/form/PhoneInput";
322
+ export { default as SwitchOptionFieldWithIcon } from "./components/ui/form/SwitchOptionFieldWithIcon";
323
+ export { TextAreaField } from "./components/ui/form/TextAreaField";
324
+
325
+ // Account Module - Hooks
326
+ export {
327
+ useCurrentAccount,
328
+ ACCOUNT_QUERY_KEY,
329
+ } from "./modules/accounts/hooks/current-account.hook";
330
+ export {
331
+ useUpdateAccount,
332
+ useUpdateAccountUser,
333
+ useUpdateAccountUserById,
334
+ useDeleteAccountUser,
335
+ useDeleteAccount,
336
+ } from "./modules/accounts/hooks/useAccountManagement";
337
+
338
+ // Account Types
339
+ export type {
340
+ UpdateAccountRequest,
341
+ UpdateAccountUserRequest,
342
+ ChangePasswordRequest,
343
+ DeleteAccountActionResult,
344
+ DeleteUserActionResult,
345
+ UpdateAccountActionResult,
346
+ UpdateUserActionResult,
347
+ TwoFactorGenerateResult,
348
+ TwoFactorActionResult,
349
+ ContactResetResult,
350
+ } from "./modules/accounts/types";
351
+
352
+ export { default as AccountModals } from "./components/account/AccountModals";
353
+ export { useAccountModals } from "./store/useAccountModals";
354
+ export type { AccountModalsConfig } from "./store/useAccountModals";
355
+
356
+ export { ModalManager } from "./components/modals/ModalManager";
357
+ export { Modals } from "./components/modals/Modals";
358
+
359
+ export { default as TwoFactorAuthModal } from "./components/account/TwoFactorAuthModal";
360
+ export { default as DisableTwoFactorAuthModal } from "./components/account/DisableTwoFactorAuthModal";
361
+ export { default as ConfirmGlobalPreferencesModal } from "./components/account/ConfirmGlobalPreferencesModal";
362
+ export { MyProfileSection } from "./components/account/sections/MyProfileSection";
363
+ export { PreferencesSection } from "./components/account/sections/PreferencesSection";
364
+ export { SecuritySection } from "./components/account/sections/SecuritySection";
365
+ export { ChangePasswordSection } from "./components/account/sections/ChangePasswordSection";
366
+ export { ChangeEmailModal } from "./components/account/sections/ChangeEmailModal";
367
+ export { ChangePhoneModal } from "./components/account/sections/ChangePhoneModal";
368
+
369
+ // Account Constants
370
+ export {
371
+ GENDER_OPTIONS,
372
+ CURRENCY_OPTIONS,
373
+ TIME_FORMAT_OPTIONS,
374
+ NOTIFICATION_TYPES,
375
+ LANGUAGE_OPTIONS,
376
+ } from "./components/account/constants";