@greatapps/common 1.1.429 → 1.1.430
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.
- package/dist/components/account/AccountModals.mjs +18 -0
- package/dist/components/account/AccountModals.mjs.map +1 -0
- package/dist/components/account/ConfigurationsMyAccountModal.mjs +129 -0
- package/dist/components/account/ConfigurationsMyAccountModal.mjs.map +1 -0
- package/dist/components/account/ConfirmDeleteAccountModal.mjs +45 -0
- package/dist/components/account/ConfirmDeleteAccountModal.mjs.map +1 -0
- package/dist/components/account/ConfirmGlobalPreferencesModal.mjs +45 -0
- package/dist/components/account/ConfirmGlobalPreferencesModal.mjs.map +1 -0
- package/dist/components/account/DeleteAccountModal.mjs +123 -0
- package/dist/components/account/DeleteAccountModal.mjs.map +1 -0
- package/dist/components/account/DisableTwoFactorAuthModal.mjs +67 -0
- package/dist/components/account/DisableTwoFactorAuthModal.mjs.map +1 -0
- package/dist/components/account/IsntPossibleDeleteAccountModal.mjs +42 -0
- package/dist/components/account/IsntPossibleDeleteAccountModal.mjs.map +1 -0
- package/dist/components/account/TwoFactorAuthModal.mjs +182 -0
- package/dist/components/account/TwoFactorAuthModal.mjs.map +1 -0
- package/dist/components/account/constants.mjs +29 -0
- package/dist/components/account/constants.mjs.map +1 -0
- package/dist/components/account/hooks/useChangeEmailForm.mjs +53 -0
- package/dist/components/account/hooks/useChangeEmailForm.mjs.map +1 -0
- package/dist/components/account/hooks/useChangePasswordForm.mjs +47 -0
- package/dist/components/account/hooks/useChangePasswordForm.mjs.map +1 -0
- package/dist/components/account/hooks/useChangePhoneForm.mjs +91 -0
- package/dist/components/account/hooks/useChangePhoneForm.mjs.map +1 -0
- package/dist/components/account/hooks/useConfigurationsModal.mjs +34 -0
- package/dist/components/account/hooks/useConfigurationsModal.mjs.map +1 -0
- package/dist/components/account/hooks/useDisableTwoFactorAuthForm.mjs +54 -0
- package/dist/components/account/hooks/useDisableTwoFactorAuthForm.mjs.map +1 -0
- package/dist/components/account/hooks/useOtpVerification.mjs +94 -0
- package/dist/components/account/hooks/useOtpVerification.mjs.map +1 -0
- package/dist/components/account/hooks/useTwoFactorAuthForm.mjs +80 -0
- package/dist/components/account/hooks/useTwoFactorAuthForm.mjs.map +1 -0
- package/dist/components/account/sections/ChangeEmailModal.mjs +181 -0
- package/dist/components/account/sections/ChangeEmailModal.mjs.map +1 -0
- package/dist/components/account/sections/ChangePasswordSection.mjs +64 -0
- package/dist/components/account/sections/ChangePasswordSection.mjs.map +1 -0
- package/dist/components/account/sections/ChangePhoneModal.mjs +192 -0
- package/dist/components/account/sections/ChangePhoneModal.mjs.map +1 -0
- package/dist/components/account/sections/MyProfileSection.mjs +317 -0
- package/dist/components/account/sections/MyProfileSection.mjs.map +1 -0
- package/dist/components/account/sections/PreferencesSection.mjs +227 -0
- package/dist/components/account/sections/PreferencesSection.mjs.map +1 -0
- package/dist/components/account/sections/SecuritySection.mjs +31 -0
- package/dist/components/account/sections/SecuritySection.mjs.map +1 -0
- package/dist/components/embeds/CrispEmbed.mjs +89 -0
- package/dist/components/embeds/CrispEmbed.mjs.map +1 -0
- package/dist/components/embeds/FrillEmbed.mjs +107 -0
- package/dist/components/embeds/FrillEmbed.mjs.map +1 -0
- package/dist/components/handlers/SearchParamsHandler.mjs +24 -0
- package/dist/components/handlers/SearchParamsHandler.mjs.map +1 -0
- package/dist/components/layouts/AppMobileNavBar.mjs +60 -0
- package/dist/components/layouts/AppMobileNavBar.mjs.map +1 -0
- package/dist/components/layouts/AppNavBar.mjs +37 -0
- package/dist/components/layouts/AppNavBar.mjs.map +1 -0
- package/dist/components/layouts/CollapsibleSidebar.mjs +65 -0
- package/dist/components/layouts/CollapsibleSidebar.mjs.map +1 -0
- package/dist/components/layouts/MainLayout.mjs +60 -0
- package/dist/components/layouts/MainLayout.mjs.map +1 -0
- package/dist/components/layouts/MdSideBarNavigation.mjs +54 -0
- package/dist/components/layouts/MdSideBarNavigation.mjs.map +1 -0
- package/dist/components/layouts/NavBar.mjs +152 -0
- package/dist/components/layouts/NavBar.mjs.map +1 -0
- package/dist/components/layouts/NavBarItem.mjs +23 -0
- package/dist/components/layouts/NavBarItem.mjs.map +1 -0
- package/dist/components/layouts/NotificationsPopover.mjs +97 -0
- package/dist/components/layouts/NotificationsPopover.mjs.map +1 -0
- package/dist/components/layouts/ProfilePopover.mjs +152 -0
- package/dist/components/layouts/ProfilePopover.mjs.map +1 -0
- package/dist/components/layouts/SideBarNavigation.mjs +63 -0
- package/dist/components/layouts/SideBarNavigation.mjs.map +1 -0
- package/dist/components/layouts/UsersSelectorPopover.mjs +210 -0
- package/dist/components/layouts/UsersSelectorPopover.mjs.map +1 -0
- package/dist/components/layouts/WhitelabelCodes.mjs +50 -0
- package/dist/components/layouts/WhitelabelCodes.mjs.map +1 -0
- package/dist/components/modals/BuyCreditsModal.mjs +281 -0
- package/dist/components/modals/BuyCreditsModal.mjs.map +1 -0
- package/dist/components/modals/ModalManager.mjs +19 -0
- package/dist/components/modals/ModalManager.mjs.map +1 -0
- package/dist/components/modals/Modals.mjs +20 -0
- package/dist/components/modals/Modals.mjs.map +1 -0
- package/dist/components/modals/PaidPlanRequiredModal.mjs +46 -0
- package/dist/components/modals/PaidPlanRequiredModal.mjs.map +1 -0
- package/dist/components/modals/cards/AddCardModal.mjs +215 -0
- package/dist/components/modals/cards/AddCardModal.mjs.map +1 -0
- package/dist/components/modals/cards/CardFormFields.mjs +268 -0
- package/dist/components/modals/cards/CardFormFields.mjs.map +1 -0
- package/dist/components/navigation/AppNavigation.mjs +33 -0
- package/dist/components/navigation/AppNavigation.mjs.map +1 -0
- package/dist/components/navigation/AppNavigationContext.mjs +13 -0
- package/dist/components/navigation/AppNavigationContext.mjs.map +1 -0
- package/dist/components/navigation/CancelledSubscriptionBanner.mjs +52 -0
- package/dist/components/navigation/CancelledSubscriptionBanner.mjs.map +1 -0
- package/dist/components/navigation/NavItem.mjs +41 -0
- package/dist/components/navigation/NavItem.mjs.map +1 -0
- package/dist/components/navigation/NavItemsContext.mjs +16 -0
- package/dist/components/navigation/NavItemsContext.mjs.map +1 -0
- package/dist/components/navigation/ProjectSelectorPopover.mjs +147 -0
- package/dist/components/navigation/ProjectSelectorPopover.mjs.map +1 -0
- package/dist/components/navigation/shells/DesktopShell.mjs +11 -0
- package/dist/components/navigation/shells/DesktopShell.mjs.map +1 -0
- package/dist/components/navigation/shells/MdShell.mjs +11 -0
- package/dist/components/navigation/shells/MdShell.mjs.map +1 -0
- package/dist/components/navigation/shells/MobileShell.mjs +27 -0
- package/dist/components/navigation/shells/MobileShell.mjs.map +1 -0
- package/dist/components/navigation/shells/TabsMobileShell.mjs +61 -0
- package/dist/components/navigation/shells/TabsMobileShell.mjs.map +1 -0
- package/dist/components/navigation/subcomponents/BottomLinks.mjs +35 -0
- package/dist/components/navigation/subcomponents/BottomLinks.mjs.map +1 -0
- package/dist/components/navigation/subcomponents/CreditsCard.mjs +33 -0
- package/dist/components/navigation/subcomponents/CreditsCard.mjs.map +1 -0
- package/dist/components/navigation/subcomponents/NavItems.mjs +25 -0
- package/dist/components/navigation/subcomponents/NavItems.mjs.map +1 -0
- package/dist/components/navigation/subcomponents/PlanCard.mjs +25 -0
- package/dist/components/navigation/subcomponents/PlanCard.mjs.map +1 -0
- package/dist/components/navigation/subcomponents/ProjectSelector.mjs +145 -0
- package/dist/components/navigation/subcomponents/ProjectSelector.mjs.map +1 -0
- package/dist/components/navigation/types.mjs +1 -0
- package/dist/components/navigation/types.mjs.map +1 -0
- package/dist/components/pages/NotFoundPage.mjs +47 -0
- package/dist/components/pages/NotFoundPage.mjs.map +1 -0
- package/dist/components/pages/notifications/Notifications.mjs +159 -0
- package/dist/components/pages/notifications/Notifications.mjs.map +1 -0
- package/dist/components/ui/buttons/Button.mjs +52 -0
- package/dist/components/ui/buttons/Button.mjs.map +1 -0
- package/dist/components/ui/buttons/CancelButton.mjs +17 -0
- package/dist/components/ui/buttons/CancelButton.mjs.map +1 -0
- package/dist/components/ui/buttons/CopyButton.mjs +42 -0
- package/dist/components/ui/buttons/CopyButton.mjs.map +1 -0
- package/dist/components/ui/data-display/Accordion.mjs +76 -0
- package/dist/components/ui/data-display/Accordion.mjs.map +1 -0
- package/dist/components/ui/data-display/Badge.mjs +42 -0
- package/dist/components/ui/data-display/Badge.mjs.map +1 -0
- package/dist/components/ui/data-display/Card.mjs +92 -0
- package/dist/components/ui/data-display/Card.mjs.map +1 -0
- package/dist/components/ui/data-display/CardBrandIcons.mjs +484 -0
- package/dist/components/ui/data-display/CardBrandIcons.mjs.map +1 -0
- package/dist/components/ui/data-display/CardItem.mjs +67 -0
- package/dist/components/ui/data-display/CardItem.mjs.map +1 -0
- package/dist/components/ui/data-display/Pagination.mjs +118 -0
- package/dist/components/ui/data-display/Pagination.mjs.map +1 -0
- package/dist/components/ui/data-display/PaymentInfoCard.mjs +161 -0
- package/dist/components/ui/data-display/PaymentInfoCard.mjs.map +1 -0
- package/dist/components/ui/data-display/ScrollArea.mjs +62 -0
- package/dist/components/ui/data-display/ScrollArea.mjs.map +1 -0
- package/dist/components/ui/data-display/Separator.mjs +28 -0
- package/dist/components/ui/data-display/Separator.mjs.map +1 -0
- package/dist/components/ui/data-display/Table.mjs +116 -0
- package/dist/components/ui/data-display/Table.mjs.map +1 -0
- package/dist/components/ui/data-display/Tabs.mjs +69 -0
- package/dist/components/ui/data-display/Tabs.mjs.map +1 -0
- package/dist/components/ui/data-display/UserAvatar.mjs +49 -0
- package/dist/components/ui/data-display/UserAvatar.mjs.map +1 -0
- package/dist/components/ui/feedback/CircularProgress.mjs +71 -0
- package/dist/components/ui/feedback/CircularProgress.mjs.map +1 -0
- package/dist/components/ui/feedback/DefaultCircularProgress.mjs +63 -0
- package/dist/components/ui/feedback/DefaultCircularProgress.mjs.map +1 -0
- package/dist/components/ui/feedback/LoadingOverlay.mjs +19 -0
- package/dist/components/ui/feedback/LoadingOverlay.mjs.map +1 -0
- package/dist/components/ui/feedback/Progress.mjs +37 -0
- package/dist/components/ui/feedback/Progress.mjs.map +1 -0
- package/dist/components/ui/feedback/Skeleton.mjs +9 -0
- package/dist/components/ui/feedback/Skeleton.mjs.map +1 -0
- package/dist/components/ui/feedback/Toast.mjs +77 -0
- package/dist/components/ui/feedback/Toast.mjs.map +1 -0
- package/dist/components/ui/form/Calendar.mjs +204 -0
- package/dist/components/ui/form/Calendar.mjs.map +1 -0
- package/dist/components/ui/form/Checkbox.mjs +33 -0
- package/dist/components/ui/form/Checkbox.mjs.map +1 -0
- package/dist/components/ui/form/ComboboxField.mjs +130 -0
- package/dist/components/ui/form/ComboboxField.mjs.map +1 -0
- package/dist/components/ui/form/DatePicker.mjs +82 -0
- package/dist/components/ui/form/DatePicker.mjs.map +1 -0
- package/dist/components/ui/form/DateRangePicker.mjs +92 -0
- package/dist/components/ui/form/DateRangePicker.mjs.map +1 -0
- package/dist/components/ui/form/FormField.mjs +103 -0
- package/dist/components/ui/form/FormField.mjs.map +1 -0
- package/dist/components/ui/form/Input.mjs +21 -0
- package/dist/components/ui/form/Input.mjs.map +1 -0
- package/dist/components/ui/form/InputOtp.mjs +70 -0
- package/dist/components/ui/form/InputOtp.mjs.map +1 -0
- package/dist/components/ui/form/PhoneInput.mjs +176 -0
- package/dist/components/ui/form/PhoneInput.mjs.map +1 -0
- package/dist/components/ui/form/RadioGroup.mjs +37 -0
- package/dist/components/ui/form/RadioGroup.mjs.map +1 -0
- package/dist/components/ui/form/Select.mjs +179 -0
- package/dist/components/ui/form/Select.mjs.map +1 -0
- package/dist/components/ui/form/SelectField.mjs +80 -0
- package/dist/components/ui/form/SelectField.mjs.map +1 -0
- package/dist/components/ui/form/Switch.mjs +33 -0
- package/dist/components/ui/form/Switch.mjs.map +1 -0
- package/dist/components/ui/form/SwitchOptionFieldWithIcon.mjs +40 -0
- package/dist/components/ui/form/SwitchOptionFieldWithIcon.mjs.map +1 -0
- package/dist/components/ui/form/TextAreaField.mjs +56 -0
- package/dist/components/ui/form/TextAreaField.mjs.map +1 -0
- package/dist/components/ui/form/Textarea.mjs +20 -0
- package/dist/components/ui/form/Textarea.mjs.map +1 -0
- package/dist/components/ui/overlay/Command.mjs +178 -0
- package/dist/components/ui/overlay/Command.mjs.map +1 -0
- package/dist/components/ui/overlay/Dialog.mjs +142 -0
- package/dist/components/ui/overlay/Dialog.mjs.map +1 -0
- package/dist/components/ui/overlay/Popover.mjs +46 -0
- package/dist/components/ui/overlay/Popover.mjs.map +1 -0
- package/dist/components/ui/overlay/Sheet.mjs +149 -0
- package/dist/components/ui/overlay/Sheet.mjs.map +1 -0
- package/dist/components/ui/overlay/Tooltip.mjs +57 -0
- package/dist/components/ui/overlay/Tooltip.mjs.map +1 -0
- package/dist/components/widgets/notifications/NotificationCard.mjs +54 -0
- package/dist/components/widgets/notifications/NotificationCard.mjs.map +1 -0
- package/dist/enums/AccountSectionType.mjs +11 -0
- package/dist/enums/AccountSectionType.mjs.map +1 -0
- package/dist/hooks/copy-to-clipboard.hook.mjs +52 -0
- package/dist/hooks/copy-to-clipboard.hook.mjs.map +1 -0
- package/dist/hooks/useCountdownTimer.mjs +29 -0
- package/dist/hooks/useCountdownTimer.mjs.map +1 -0
- package/dist/hooks/useDebounce.mjs +19 -0
- package/dist/hooks/useDebounce.mjs.map +1 -0
- package/dist/hooks/useDebounceState.mjs +12 -0
- package/dist/hooks/useDebounceState.mjs.map +1 -0
- package/dist/hooks/useDebouncedEffect.mjs +44 -0
- package/dist/hooks/useDebouncedEffect.mjs.map +1 -0
- package/dist/hooks/useIsMobile.mjs +18 -0
- package/dist/hooks/useIsMobile.mjs.map +1 -0
- package/dist/hooks/usePasswordVisibility.mjs +13 -0
- package/dist/hooks/usePasswordVisibility.mjs.map +1 -0
- package/dist/index.mjs +528 -0
- package/dist/index.mjs.map +1 -0
- package/dist/infra/api/client.mjs +162 -0
- package/dist/infra/api/client.mjs.map +1 -0
- package/dist/infra/api/types.mjs +31 -0
- package/dist/infra/api/types.mjs.map +1 -0
- package/dist/infra/utils/client-info.mjs +27 -0
- package/dist/infra/utils/client-info.mjs.map +1 -0
- package/dist/infra/utils/clsx.mjs +9 -0
- package/dist/infra/utils/clsx.mjs.map +1 -0
- package/dist/infra/utils/date.mjs +11 -0
- package/dist/infra/utils/date.mjs.map +1 -0
- package/dist/infra/utils/params.mjs +21 -0
- package/dist/infra/utils/params.mjs.map +1 -0
- package/dist/infra/utils/parser.mjs +24 -0
- package/dist/infra/utils/parser.mjs.map +1 -0
- package/dist/infra/utils/percentage.mjs +20 -0
- package/dist/infra/utils/percentage.mjs.map +1 -0
- package/dist/middleware.mjs +10 -0
- package/dist/middleware.mjs.map +1 -0
- package/dist/middlewares/chain.mjs +37 -0
- package/dist/middlewares/chain.mjs.map +1 -0
- package/dist/middlewares/create-auth-middleware.mjs +32 -0
- package/dist/middlewares/create-auth-middleware.mjs.map +1 -0
- package/dist/middlewares/types.mjs +11 -0
- package/dist/middlewares/types.mjs.map +1 -0
- package/dist/modules/accounts/actions/account-management.action.mjs +98 -0
- package/dist/modules/accounts/actions/account-management.action.mjs.map +1 -0
- package/dist/modules/accounts/actions/find-current-account.action.mjs +10 -0
- package/dist/modules/accounts/actions/find-current-account.action.mjs.map +1 -0
- package/dist/modules/accounts/actions/list-currencies.action.mjs +10 -0
- package/dist/modules/accounts/actions/list-currencies.action.mjs.map +1 -0
- package/dist/modules/accounts/actions/list-timezones.action.mjs +10 -0
- package/dist/modules/accounts/actions/list-timezones.action.mjs.map +1 -0
- package/dist/modules/accounts/hooks/current-account.hook.mjs +24 -0
- package/dist/modules/accounts/hooks/current-account.hook.mjs.map +1 -0
- package/dist/modules/accounts/hooks/useAccountManagement.mjs +71 -0
- package/dist/modules/accounts/hooks/useAccountManagement.mjs.map +1 -0
- package/dist/modules/accounts/hooks/useCurrencies.mjs +17 -0
- package/dist/modules/accounts/hooks/useCurrencies.mjs.map +1 -0
- package/dist/modules/accounts/hooks/useTimezones.mjs +17 -0
- package/dist/modules/accounts/hooks/useTimezones.mjs.map +1 -0
- package/dist/modules/accounts/hooks/useViaCep.mjs +19 -0
- package/dist/modules/accounts/hooks/useViaCep.mjs.map +1 -0
- package/dist/modules/accounts/services/account.service.mjs +182 -0
- package/dist/modules/accounts/services/account.service.mjs.map +1 -0
- package/dist/modules/accounts/services/currency.service.mjs +24 -0
- package/dist/modules/accounts/services/currency.service.mjs.map +1 -0
- package/dist/modules/accounts/services/timezone.service.mjs +65 -0
- package/dist/modules/accounts/services/timezone.service.mjs.map +1 -0
- package/dist/modules/accounts/services/two-factor.service.mjs +78 -0
- package/dist/modules/accounts/services/two-factor.service.mjs.map +1 -0
- package/dist/modules/accounts/types.mjs +1 -0
- package/dist/modules/accounts/types.mjs.map +1 -0
- package/dist/modules/auth/actions/login.action.mjs +14 -0
- package/dist/modules/auth/actions/login.action.mjs.map +1 -0
- package/dist/modules/auth/actions/logout.action.mjs +14 -0
- package/dist/modules/auth/actions/logout.action.mjs.map +1 -0
- package/dist/modules/auth/actions/register.action.mjs +14 -0
- package/dist/modules/auth/actions/register.action.mjs.map +1 -0
- package/dist/modules/auth/actions/validate-session.action.mjs +48 -0
- package/dist/modules/auth/actions/validate-session.action.mjs.map +1 -0
- package/dist/modules/auth/actions/verify-two-factor.action.mjs +17 -0
- package/dist/modules/auth/actions/verify-two-factor.action.mjs.map +1 -0
- package/dist/modules/auth/hooks/login.hook.mjs +13 -0
- package/dist/modules/auth/hooks/login.hook.mjs.map +1 -0
- package/dist/modules/auth/hooks/logout.hook.mjs +13 -0
- package/dist/modules/auth/hooks/logout.hook.mjs.map +1 -0
- package/dist/modules/auth/hooks/register.hook.mjs +13 -0
- package/dist/modules/auth/hooks/register.hook.mjs.map +1 -0
- package/dist/modules/auth/hooks/useManagementPermissions.mjs +41 -0
- package/dist/modules/auth/hooks/useManagementPermissions.mjs.map +1 -0
- package/dist/modules/auth/hooks/useUserQuery.mjs +63 -0
- package/dist/modules/auth/hooks/useUserQuery.mjs.map +1 -0
- package/dist/modules/auth/schema.mjs +1 -0
- package/dist/modules/auth/schema.mjs.map +1 -0
- package/dist/modules/auth/services/auth.service.mjs +341 -0
- package/dist/modules/auth/services/auth.service.mjs.map +1 -0
- package/dist/modules/auth/types/management-permission.type.mjs +1 -0
- package/dist/modules/auth/types/management-permission.type.mjs.map +1 -0
- package/dist/modules/auth/utils/assert-management-permission.mjs +42 -0
- package/dist/modules/auth/utils/assert-management-permission.mjs.map +1 -0
- package/dist/modules/auth/utils/assert-management-subscription.mjs +33 -0
- package/dist/modules/auth/utils/assert-management-subscription.mjs.map +1 -0
- package/dist/modules/auth/utils/assert-paid-subscription.mjs +40 -0
- package/dist/modules/auth/utils/assert-paid-subscription.mjs.map +1 -0
- package/dist/modules/auth/utils/assert-subscription-addon.mjs +35 -0
- package/dist/modules/auth/utils/assert-subscription-addon.mjs.map +1 -0
- package/dist/modules/auth/utils/build-wl-override.mjs +27 -0
- package/dist/modules/auth/utils/build-wl-override.mjs.map +1 -0
- package/dist/modules/auth/utils/get-user-context.mjs +25 -0
- package/dist/modules/auth/utils/get-user-context.mjs.map +1 -0
- package/dist/modules/cards/actions/create-card.action.mjs +10 -0
- package/dist/modules/cards/actions/create-card.action.mjs.map +1 -0
- package/dist/modules/cards/actions/list-cards.action.mjs +10 -0
- package/dist/modules/cards/actions/list-cards.action.mjs.map +1 -0
- package/dist/modules/cards/hooks/cards.hook.mjs +16 -0
- package/dist/modules/cards/hooks/cards.hook.mjs.map +1 -0
- package/dist/modules/cards/hooks/create-card.hook.mjs +18 -0
- package/dist/modules/cards/hooks/create-card.hook.mjs.map +1 -0
- package/dist/modules/cards/services/cards.service.mjs +44 -0
- package/dist/modules/cards/services/cards.service.mjs.map +1 -0
- package/dist/modules/cards/types.mjs +27 -0
- package/dist/modules/cards/types.mjs.map +1 -0
- package/dist/modules/ia-credits/actions/list-ia-credits.action.mjs +10 -0
- package/dist/modules/ia-credits/actions/list-ia-credits.action.mjs.map +1 -0
- package/dist/modules/ia-credits/hooks/ia-credits.hook.mjs +76 -0
- package/dist/modules/ia-credits/hooks/ia-credits.hook.mjs.map +1 -0
- package/dist/modules/ia-credits/services/ia-credits.service.mjs +31 -0
- package/dist/modules/ia-credits/services/ia-credits.service.mjs.map +1 -0
- package/dist/modules/ia-credits/types.mjs +25 -0
- package/dist/modules/ia-credits/types.mjs.map +1 -0
- package/dist/modules/plans/actions/find-plan-by-id.action.mjs +10 -0
- package/dist/modules/plans/actions/find-plan-by-id.action.mjs.map +1 -0
- package/dist/modules/plans/hooks/use-has-plan-addon.hook.mjs +13 -0
- package/dist/modules/plans/hooks/use-has-plan-addon.hook.mjs.map +1 -0
- package/dist/modules/plans/hooks/use-plan-by-id.hook.mjs +15 -0
- package/dist/modules/plans/hooks/use-plan-by-id.hook.mjs.map +1 -0
- package/dist/modules/plans/services/plans.service.mjs +34 -0
- package/dist/modules/plans/services/plans.service.mjs.map +1 -0
- package/dist/modules/plans/types/plan.type.mjs +20 -0
- package/dist/modules/plans/types/plan.type.mjs.map +1 -0
- package/dist/modules/projects/actions/add-project-user.action.mjs +10 -0
- package/dist/modules/projects/actions/add-project-user.action.mjs.map +1 -0
- package/dist/modules/projects/actions/list-all-account-users.action.mjs +10 -0
- package/dist/modules/projects/actions/list-all-account-users.action.mjs.map +1 -0
- package/dist/modules/projects/actions/list-available-users.action.mjs +10 -0
- package/dist/modules/projects/actions/list-available-users.action.mjs.map +1 -0
- package/dist/modules/projects/actions/list-project-users.action.mjs +10 -0
- package/dist/modules/projects/actions/list-project-users.action.mjs.map +1 -0
- package/dist/modules/projects/actions/remove-project-user.action.mjs +10 -0
- package/dist/modules/projects/actions/remove-project-user.action.mjs.map +1 -0
- package/dist/modules/projects/hooks/add-project-user.hook.mjs +61 -0
- package/dist/modules/projects/hooks/add-project-user.hook.mjs.map +1 -0
- package/dist/modules/projects/hooks/list-all-account-users.hook.mjs +35 -0
- package/dist/modules/projects/hooks/list-all-account-users.hook.mjs.map +1 -0
- package/dist/modules/projects/hooks/list-available-users.hook.mjs +34 -0
- package/dist/modules/projects/hooks/list-available-users.hook.mjs.map +1 -0
- package/dist/modules/projects/hooks/list-project-users.hook.mjs +34 -0
- package/dist/modules/projects/hooks/list-project-users.hook.mjs.map +1 -0
- package/dist/modules/projects/hooks/remove-project-user.hook.mjs +61 -0
- package/dist/modules/projects/hooks/remove-project-user.hook.mjs.map +1 -0
- package/dist/modules/projects/services/project-users.service.mjs +96 -0
- package/dist/modules/projects/services/project-users.service.mjs.map +1 -0
- package/dist/modules/projects/types.mjs +23 -0
- package/dist/modules/projects/types.mjs.map +1 -0
- package/dist/modules/subscriptions/actions/calculate-subscription.action.mjs +10 -0
- package/dist/modules/subscriptions/actions/calculate-subscription.action.mjs.map +1 -0
- package/dist/modules/subscriptions/actions/list-subscriptions.action.mjs +10 -0
- package/dist/modules/subscriptions/actions/list-subscriptions.action.mjs.map +1 -0
- package/dist/modules/subscriptions/actions/update-subscription-plan.action.mjs +12 -0
- package/dist/modules/subscriptions/actions/update-subscription-plan.action.mjs.map +1 -0
- package/dist/modules/subscriptions/constants/addons.constants.mjs +24 -0
- package/dist/modules/subscriptions/constants/addons.constants.mjs.map +1 -0
- package/dist/modules/subscriptions/constants/query-keys.constants.mjs +5 -0
- package/dist/modules/subscriptions/constants/query-keys.constants.mjs.map +1 -0
- package/dist/modules/subscriptions/hooks/calculate-subscription.hook.mjs +13 -0
- package/dist/modules/subscriptions/hooks/calculate-subscription.hook.mjs.map +1 -0
- package/dist/modules/subscriptions/hooks/find-active-subscription.hook.mjs +17 -0
- package/dist/modules/subscriptions/hooks/find-active-subscription.hook.mjs.map +1 -0
- package/dist/modules/subscriptions/hooks/list-subscriptions.hook.mjs +17 -0
- package/dist/modules/subscriptions/hooks/list-subscriptions.hook.mjs.map +1 -0
- package/dist/modules/subscriptions/hooks/update-subscription-plan.hook.mjs +22 -0
- package/dist/modules/subscriptions/hooks/update-subscription-plan.hook.mjs.map +1 -0
- package/dist/modules/subscriptions/hooks/use-cancelled-subscription-guard.mjs +37 -0
- package/dist/modules/subscriptions/hooks/use-cancelled-subscription-guard.mjs.map +1 -0
- package/dist/modules/subscriptions/services/subscriptions.service.mjs +75 -0
- package/dist/modules/subscriptions/services/subscriptions.service.mjs.map +1 -0
- package/dist/modules/subscriptions/types/billing-period.type.mjs +1 -0
- package/dist/modules/subscriptions/types/billing-period.type.mjs.map +1 -0
- package/dist/modules/subscriptions/types/calculate-subscription.type.mjs +72 -0
- package/dist/modules/subscriptions/types/calculate-subscription.type.mjs.map +1 -0
- package/dist/modules/subscriptions/types/subscription.type.mjs +57 -0
- package/dist/modules/subscriptions/types/subscription.type.mjs.map +1 -0
- package/dist/modules/subscriptions/utils/build-plan-extras.mjs +37 -0
- package/dist/modules/subscriptions/utils/build-plan-extras.mjs.map +1 -0
- package/dist/modules/subscriptions/utils/has-subscription-expired.mjs +10 -0
- package/dist/modules/subscriptions/utils/has-subscription-expired.mjs.map +1 -0
- package/dist/modules/subscriptions/utils/periodicity.mjs +48 -0
- package/dist/modules/subscriptions/utils/periodicity.mjs.map +1 -0
- package/dist/modules/subscriptions/utils/resolve-plan-extras-prices.mjs +14 -0
- package/dist/modules/subscriptions/utils/resolve-plan-extras-prices.mjs.map +1 -0
- package/dist/modules/users/action/find-user-by-id.action.mjs +10 -0
- package/dist/modules/users/action/find-user-by-id.action.mjs.map +1 -0
- package/dist/modules/users/action/list-messages.action.mjs +13 -0
- package/dist/modules/users/action/list-messages.action.mjs.map +1 -0
- package/dist/modules/users/action/mark-all-messages-as-read.action.mjs +10 -0
- package/dist/modules/users/action/mark-all-messages-as-read.action.mjs.map +1 -0
- package/dist/modules/users/action/mark-message-as-read.action.mjs +10 -0
- package/dist/modules/users/action/mark-message-as-read.action.mjs.map +1 -0
- package/dist/modules/users/hooks/messages.hook.mjs +57 -0
- package/dist/modules/users/hooks/messages.hook.mjs.map +1 -0
- package/dist/modules/users/schema/messages.schema.mjs +21 -0
- package/dist/modules/users/schema/messages.schema.mjs.map +1 -0
- package/dist/modules/users/schema.mjs +11 -0
- package/dist/modules/users/schema.mjs.map +1 -0
- package/dist/modules/users/services/messages.service.mjs +35 -0
- package/dist/modules/users/services/messages.service.mjs.map +1 -0
- package/dist/modules/users/services/user.service.mjs +52 -0
- package/dist/modules/users/services/user.service.mjs.map +1 -0
- package/dist/modules/whitelabel/actions/find-whitelabel.action.mjs +21 -0
- package/dist/modules/whitelabel/actions/find-whitelabel.action.mjs.map +1 -0
- package/dist/modules/whitelabel/actions/revalidate-whitelabel.action.mjs +19 -0
- package/dist/modules/whitelabel/actions/revalidate-whitelabel.action.mjs.map +1 -0
- package/dist/modules/whitelabel/schema.mjs +1 -0
- package/dist/modules/whitelabel/schema.mjs.map +1 -0
- package/dist/modules/whitelabel/services/whitelabel.service.mjs +146 -0
- package/dist/modules/whitelabel/services/whitelabel.service.mjs.map +1 -0
- package/dist/modules/whitelabel/utils/normalize-hostname.mjs +35 -0
- package/dist/modules/whitelabel/utils/normalize-hostname.mjs.map +1 -0
- package/dist/providers/auth.provider.mjs +114 -0
- package/dist/providers/auth.provider.mjs.map +1 -0
- package/dist/providers/query.provider.mjs +99 -0
- package/dist/providers/query.provider.mjs.map +1 -0
- package/dist/providers/whitelabel.provider.mjs +42 -0
- package/dist/providers/whitelabel.provider.mjs.map +1 -0
- package/dist/server.mjs +111 -0
- package/dist/server.mjs.map +1 -0
- package/dist/store/useAccountModals.mjs +18 -0
- package/dist/store/useAccountModals.mjs.map +1 -0
- package/dist/store/useBuyCreditsModal.mjs +16 -0
- package/dist/store/useBuyCreditsModal.mjs.map +1 -0
- package/dist/store/useDesktopSidebarStore.mjs +39 -0
- package/dist/store/useDesktopSidebarStore.mjs.map +1 -0
- package/dist/store/useMdSidebarStore.mjs +28 -0
- package/dist/store/useMdSidebarStore.mjs.map +1 -0
- package/dist/store/useMobileNavbarSheet.mjs +14 -0
- package/dist/store/useMobileNavbarSheet.mjs.map +1 -0
- package/dist/store/useModalManager.mjs +75 -0
- package/dist/store/useModalManager.mjs.map +1 -0
- package/dist/store/usePaidPlanRequiredModal.mjs +14 -0
- package/dist/store/usePaidPlanRequiredModal.mjs.map +1 -0
- package/dist/utils/browser/clipboard.mjs +36 -0
- package/dist/utils/browser/clipboard.mjs.map +1 -0
- package/dist/utils/constants/br-states.mjs +33 -0
- package/dist/utils/constants/br-states.mjs.map +1 -0
- package/dist/utils/countries.mjs +219 -0
- package/dist/utils/countries.mjs.map +1 -0
- package/dist/utils/file/index.mjs +9 -0
- package/dist/utils/file/index.mjs.map +1 -0
- package/dist/utils/format/masks.mjs +67 -0
- package/dist/utils/format/masks.mjs.map +1 -0
- package/dist/utils/intl/locales.mjs +12 -0
- package/dist/utils/intl/locales.mjs.map +1 -0
- package/dist/utils/safeServerAction.mjs +16 -0
- package/dist/utils/safeServerAction.mjs.map +1 -0
- package/dist/utils/validators/account.mjs +27 -0
- package/dist/utils/validators/account.mjs.map +1 -0
- package/dist/utils/validators/common.mjs +47 -0
- package/dist/utils/validators/common.mjs.map +1 -0
- package/dist/utils/withAction.mjs +13 -0
- package/dist/utils/withAction.mjs.map +1 -0
- package/package.json +1 -1
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
export * from "./modules/auth/schema";
|
|
2
|
+
export * from "./modules/users/schema";
|
|
3
|
+
export * from "./modules/whitelabel/schema";
|
|
4
|
+
export * from "./infra/api/types";
|
|
5
|
+
export * from "./providers/query.provider";
|
|
6
|
+
export * from "./providers/auth.provider";
|
|
7
|
+
export * from "./providers/whitelabel.provider";
|
|
8
|
+
import {
|
|
9
|
+
useListProjectUsers,
|
|
10
|
+
LIST_PROJECT_USERS_QUERY_KEY,
|
|
11
|
+
LIST_PROJECT_USERS_BASE_KEY
|
|
12
|
+
} from "./modules/projects/hooks/list-project-users.hook";
|
|
13
|
+
import {
|
|
14
|
+
useListAvailableUsers,
|
|
15
|
+
LIST_AVAILABLE_USERS_QUERY_KEY,
|
|
16
|
+
LIST_AVAILABLE_USERS_BASE_KEY
|
|
17
|
+
} from "./modules/projects/hooks/list-available-users.hook";
|
|
18
|
+
import {
|
|
19
|
+
useUserQuery,
|
|
20
|
+
useUserValidateSession,
|
|
21
|
+
useInvalidateUser,
|
|
22
|
+
useSetUserData,
|
|
23
|
+
useTwoFactorVerify,
|
|
24
|
+
USER_QUERY_KEY
|
|
25
|
+
} from "./modules/auth/hooks/useUserQuery";
|
|
26
|
+
import { useManagementPermissions } from "./modules/auth/hooks/useManagementPermissions";
|
|
27
|
+
import { useSubscriptions } from "./modules/subscriptions/hooks/list-subscriptions.hook";
|
|
28
|
+
import { SUBSCRIPTIONS_QUERY_KEY } from "./modules/subscriptions/constants/query-keys.constants";
|
|
29
|
+
import { useActiveSubscription } from "./modules/subscriptions/hooks/find-active-subscription.hook";
|
|
30
|
+
import { useCancelledSubscriptionGuard } from "./modules/subscriptions/hooks/use-cancelled-subscription-guard";
|
|
31
|
+
import { usePlanById } from "./modules/plans/hooks/use-plan-by-id.hook";
|
|
32
|
+
import { useHasPlanAddon } from "./modules/plans/hooks/use-has-plan-addon.hook";
|
|
33
|
+
import { useCalculateSubscription } from "./modules/subscriptions/hooks/calculate-subscription.hook";
|
|
34
|
+
import { useUpdateSubscriptionPlan } from "./modules/subscriptions/hooks/update-subscription-plan.hook";
|
|
35
|
+
import { useCards, CARDS_QUERY_KEY } from "./modules/cards/hooks/cards.hook";
|
|
36
|
+
import { useCreateCard } from "./modules/cards/hooks/create-card.hook";
|
|
37
|
+
import { useIaCredits } from "./modules/ia-credits/hooks/ia-credits.hook";
|
|
38
|
+
import {
|
|
39
|
+
SubscriptionSchema,
|
|
40
|
+
SubscriptionItemSchema
|
|
41
|
+
} from "./modules/subscriptions/types/subscription.type";
|
|
42
|
+
import { ADDON_IDS, AI_CREDIT_OPTIONS, AI_CREDIT_VALUES } from "./modules/subscriptions/constants/addons.constants";
|
|
43
|
+
import { PlanSchema, PlanItemSchema } from "./modules/plans/types/plan.type";
|
|
44
|
+
import { CardSchema, CreateCardRequestSchema } from "./modules/cards/types";
|
|
45
|
+
import { buildPlanExtras } from "./modules/subscriptions/utils/build-plan-extras";
|
|
46
|
+
import { hasSubscriptionExpired } from "./modules/subscriptions/utils/has-subscription-expired";
|
|
47
|
+
import { getPriceFromCalculatedData, periodicityToBillingPeriod } from "./modules/subscriptions/utils/periodicity";
|
|
48
|
+
import { useBuyCreditsModal } from "./store/useBuyCreditsModal";
|
|
49
|
+
import { usePaidPlanRequiredModal } from "./store/usePaidPlanRequiredModal";
|
|
50
|
+
import { default as default2 } from "./components/modals/BuyCreditsModal";
|
|
51
|
+
import { default as default3 } from "./components/modals/PaidPlanRequiredModal";
|
|
52
|
+
import { default as default4 } from "./components/modals/cards/AddCardModal";
|
|
53
|
+
import { CardFormFields, cardFormSchema } from "./components/modals/cards/CardFormFields";
|
|
54
|
+
import { Skeleton } from "./components/ui/feedback/Skeleton";
|
|
55
|
+
import { PaymentInfoCard } from "./components/ui/data-display/PaymentInfoCard";
|
|
56
|
+
import { CardBrandIcon } from "./components/ui/data-display/CardBrandIcons";
|
|
57
|
+
import { CardItem } from "./components/ui/data-display/CardItem";
|
|
58
|
+
import { QueryProvider } from "./providers/query.provider";
|
|
59
|
+
import { createAuthMiddleware } from "./middlewares/create-auth-middleware";
|
|
60
|
+
import { createMiddlewareChain } from "./middlewares/chain";
|
|
61
|
+
import { continueChain, stopChain } from "./middlewares/types";
|
|
62
|
+
import { cn } from "./infra/utils/clsx";
|
|
63
|
+
import { formatShortDate } from "./infra/utils/date";
|
|
64
|
+
import { buildQueryParams } from "./infra/utils/params";
|
|
65
|
+
import { parseSchema, parseResult } from "./infra/utils/parser";
|
|
66
|
+
import { withAction } from "./utils/withAction";
|
|
67
|
+
import {
|
|
68
|
+
MainLayout,
|
|
69
|
+
MainLayoutContent,
|
|
70
|
+
MainLayoutSpacer,
|
|
71
|
+
MainLayoutMain
|
|
72
|
+
} from "./components/layouts/MainLayout";
|
|
73
|
+
import { NavBar } from "./components/layouts/NavBar";
|
|
74
|
+
import { AppNavBar } from "./components/layouts/AppNavBar";
|
|
75
|
+
import { AppMobileNavBar } from "./components/layouts/AppMobileNavBar";
|
|
76
|
+
import { SideBarNavigation } from "./components/layouts/SideBarNavigation";
|
|
77
|
+
import { MdSideBarNavigation } from "./components/layouts/MdSideBarNavigation";
|
|
78
|
+
import { default as default5 } from "./components/widgets/notifications/NotificationCard";
|
|
79
|
+
import { NotificationsPopover } from "./components/layouts/NotificationsPopover";
|
|
80
|
+
import { NotificationPageContent } from "./components/pages/notifications/Notifications";
|
|
81
|
+
import { NotFoundPage } from "./components/pages/NotFoundPage";
|
|
82
|
+
import { UsersSelectorPopover } from "./components/layouts/UsersSelectorPopover";
|
|
83
|
+
import { ProfilePopover } from "./components/layouts/ProfilePopover";
|
|
84
|
+
import { default as default6 } from "./components/layouts/WhitelabelCodes";
|
|
85
|
+
import { NavBarItem } from "./components/layouts/NavBarItem";
|
|
86
|
+
import { AppNavigation } from "./components/navigation/AppNavigation";
|
|
87
|
+
import { CancelledSubscriptionBanner } from "./components/navigation/CancelledSubscriptionBanner";
|
|
88
|
+
import { useMobileNavbarSheet } from "./store/useMobileNavbarSheet";
|
|
89
|
+
import { default as default7 } from "./hooks/copy-to-clipboard.hook";
|
|
90
|
+
import { Button, buttonVariants } from "./components/ui/buttons/Button";
|
|
91
|
+
import { CopyButton } from "./components/ui/buttons/CopyButton";
|
|
92
|
+
import { default as default8 } from "./components/ui/buttons/CancelButton";
|
|
93
|
+
import {
|
|
94
|
+
Accordion,
|
|
95
|
+
AccordionItem,
|
|
96
|
+
AccordionTrigger,
|
|
97
|
+
AccordionContent
|
|
98
|
+
} from "./components/ui/data-display/Accordion";
|
|
99
|
+
import { Badge, badgeVariants } from "./components/ui/data-display/Badge";
|
|
100
|
+
import {
|
|
101
|
+
Card,
|
|
102
|
+
CardHeader,
|
|
103
|
+
CardFooter,
|
|
104
|
+
CardTitle,
|
|
105
|
+
CardAction,
|
|
106
|
+
CardDescription,
|
|
107
|
+
CardContent
|
|
108
|
+
} from "./components/ui/data-display/Card";
|
|
109
|
+
import {
|
|
110
|
+
Pagination,
|
|
111
|
+
PaginationContent,
|
|
112
|
+
PaginationLink,
|
|
113
|
+
PaginationItem,
|
|
114
|
+
PaginationPrevious,
|
|
115
|
+
PaginationNext,
|
|
116
|
+
PaginationEllipsis
|
|
117
|
+
} from "./components/ui/data-display/Pagination";
|
|
118
|
+
import { ScrollArea, ScrollBar } from "./components/ui/data-display/ScrollArea";
|
|
119
|
+
import { Separator } from "./components/ui/data-display/Separator";
|
|
120
|
+
import {
|
|
121
|
+
Table,
|
|
122
|
+
TableHeader,
|
|
123
|
+
TableBody,
|
|
124
|
+
TableFooter,
|
|
125
|
+
TableHead,
|
|
126
|
+
TableRow,
|
|
127
|
+
TableCell,
|
|
128
|
+
TableCaption
|
|
129
|
+
} from "./components/ui/data-display/Table";
|
|
130
|
+
import {
|
|
131
|
+
Tabs,
|
|
132
|
+
TabsList,
|
|
133
|
+
TabsTrigger,
|
|
134
|
+
TabsContent
|
|
135
|
+
} from "./components/ui/data-display/Tabs";
|
|
136
|
+
import { UserAvatar } from "./components/ui/data-display/UserAvatar";
|
|
137
|
+
import { default as default9 } from "./components/ui/feedback/CircularProgress";
|
|
138
|
+
import { default as default10 } from "./components/ui/feedback/DefaultCircularProgress";
|
|
139
|
+
import { Progress } from "./components/ui/feedback/Progress";
|
|
140
|
+
import { LoadingOverlay } from "./components/ui/feedback/LoadingOverlay";
|
|
141
|
+
import {
|
|
142
|
+
Toast,
|
|
143
|
+
toastVariants,
|
|
144
|
+
toastIconContainerVariants
|
|
145
|
+
} from "./components/ui/feedback/Toast";
|
|
146
|
+
import { Calendar, CalendarDayButton } from "./components/ui/form/Calendar";
|
|
147
|
+
import { Checkbox } from "./components/ui/form/Checkbox";
|
|
148
|
+
import { DatePicker } from "./components/ui/form/DatePicker";
|
|
149
|
+
import { DateRangePicker } from "./components/ui/form/DateRangePicker";
|
|
150
|
+
import { Input } from "./components/ui/form/Input";
|
|
151
|
+
import {
|
|
152
|
+
InputOTP,
|
|
153
|
+
InputOTPGroup,
|
|
154
|
+
InputOTPSlot,
|
|
155
|
+
InputOTPSeparator
|
|
156
|
+
} from "./components/ui/form/InputOtp";
|
|
157
|
+
import { RadioGroup, RadioGroupItem } from "./components/ui/form/RadioGroup";
|
|
158
|
+
import {
|
|
159
|
+
Select,
|
|
160
|
+
SelectContent,
|
|
161
|
+
SelectGroup,
|
|
162
|
+
SelectItem,
|
|
163
|
+
SelectLabel,
|
|
164
|
+
SelectScrollDownButton,
|
|
165
|
+
SelectScrollUpButton,
|
|
166
|
+
SelectSeparator,
|
|
167
|
+
SelectTrigger,
|
|
168
|
+
SelectValue
|
|
169
|
+
} from "./components/ui/form/Select";
|
|
170
|
+
import { Switch } from "./components/ui/form/Switch";
|
|
171
|
+
import { Textarea } from "./components/ui/form/Textarea";
|
|
172
|
+
import {
|
|
173
|
+
Command,
|
|
174
|
+
CommandDialog,
|
|
175
|
+
CommandInput,
|
|
176
|
+
CommandList,
|
|
177
|
+
CommandEmpty,
|
|
178
|
+
CommandGroup,
|
|
179
|
+
CommandItem,
|
|
180
|
+
CommandShortcut,
|
|
181
|
+
CommandSeparator
|
|
182
|
+
} from "./components/ui/overlay/Command";
|
|
183
|
+
import {
|
|
184
|
+
Dialog,
|
|
185
|
+
DialogClose,
|
|
186
|
+
DialogContent,
|
|
187
|
+
DialogDescription,
|
|
188
|
+
DialogFooter,
|
|
189
|
+
DialogHeader,
|
|
190
|
+
DialogOverlay,
|
|
191
|
+
DialogPortal,
|
|
192
|
+
DialogTitle,
|
|
193
|
+
DialogTrigger
|
|
194
|
+
} from "./components/ui/overlay/Dialog";
|
|
195
|
+
import {
|
|
196
|
+
Popover,
|
|
197
|
+
PopoverTrigger,
|
|
198
|
+
PopoverContent,
|
|
199
|
+
PopoverAnchor
|
|
200
|
+
} from "./components/ui/overlay/Popover";
|
|
201
|
+
import {
|
|
202
|
+
Sheet,
|
|
203
|
+
SheetTrigger,
|
|
204
|
+
SheetClose,
|
|
205
|
+
SheetContent,
|
|
206
|
+
SheetHeader,
|
|
207
|
+
SheetFooter,
|
|
208
|
+
SheetTitle,
|
|
209
|
+
SheetDescription
|
|
210
|
+
} from "./components/ui/overlay/Sheet";
|
|
211
|
+
import {
|
|
212
|
+
Tooltip,
|
|
213
|
+
TooltipTrigger,
|
|
214
|
+
TooltipContent,
|
|
215
|
+
TooltipProvider
|
|
216
|
+
} from "./components/ui/overlay/Tooltip";
|
|
217
|
+
import { FrillEmbed } from "./components/embeds/FrillEmbed";
|
|
218
|
+
import { CrispEmbed, openCrispHelpdesk, hideCrisp, showCrisp } from "./components/embeds/CrispEmbed";
|
|
219
|
+
import { useMdSidebarStore } from "./store/useMdSidebarStore";
|
|
220
|
+
import { useDesktopSidebarStore } from "./store/useDesktopSidebarStore";
|
|
221
|
+
import { useModalManager } from "./store/useModalManager";
|
|
222
|
+
import { AccountSectionType } from "./enums/AccountSectionType";
|
|
223
|
+
import { default as default11 } from "./hooks/usePasswordVisibility";
|
|
224
|
+
import { default as default12 } from "./hooks/useCountdownTimer";
|
|
225
|
+
import { default as default13 } from "./hooks/useIsMobile";
|
|
226
|
+
import { useDebounce } from "./hooks/useDebounce";
|
|
227
|
+
import { useDebouncedEffect } from "./hooks/useDebouncedEffect";
|
|
228
|
+
import { useDebounceState } from "./hooks/useDebounceState";
|
|
229
|
+
import {
|
|
230
|
+
formatPhone,
|
|
231
|
+
formatTimer,
|
|
232
|
+
formatFullName,
|
|
233
|
+
formatCPF,
|
|
234
|
+
formatCNPJ,
|
|
235
|
+
formatCardNumber
|
|
236
|
+
} from "./utils/format/masks";
|
|
237
|
+
import { BR_STATE_OPTIONS } from "./utils/constants/br-states";
|
|
238
|
+
import {
|
|
239
|
+
buildLocaleOptions,
|
|
240
|
+
LANGUAGE_OPTIONS
|
|
241
|
+
} from "./utils/intl/locales";
|
|
242
|
+
import { copyToClipboard, readFromClipboard } from "./utils/browser/clipboard";
|
|
243
|
+
import { FormField } from "./components/ui/form/FormField";
|
|
244
|
+
import { SelectField } from "./components/ui/form/SelectField";
|
|
245
|
+
import { ComboboxField } from "./components/ui/form/ComboboxField";
|
|
246
|
+
import { default as default14 } from "./components/ui/form/PhoneInput";
|
|
247
|
+
import { default as default15 } from "./components/ui/form/SwitchOptionFieldWithIcon";
|
|
248
|
+
import { TextAreaField } from "./components/ui/form/TextAreaField";
|
|
249
|
+
import {
|
|
250
|
+
useCurrentAccount,
|
|
251
|
+
ACCOUNT_QUERY_KEY
|
|
252
|
+
} from "./modules/accounts/hooks/current-account.hook";
|
|
253
|
+
import {
|
|
254
|
+
useUpdateAccount,
|
|
255
|
+
useUpdateAccountUser,
|
|
256
|
+
useUpdateAccountUserById,
|
|
257
|
+
useDeleteAccountUser,
|
|
258
|
+
useDeleteAccount
|
|
259
|
+
} from "./modules/accounts/hooks/useAccountManagement";
|
|
260
|
+
import { useViaCep } from "./modules/accounts/hooks/useViaCep";
|
|
261
|
+
import { default as default16 } from "./components/account/AccountModals";
|
|
262
|
+
import { useAccountModals } from "./store/useAccountModals";
|
|
263
|
+
import { ModalManager } from "./components/modals/ModalManager";
|
|
264
|
+
import { Modals } from "./components/modals/Modals";
|
|
265
|
+
import { default as default17 } from "./components/account/TwoFactorAuthModal";
|
|
266
|
+
import { default as default18 } from "./components/account/DisableTwoFactorAuthModal";
|
|
267
|
+
import { default as default19 } from "./components/account/ConfirmGlobalPreferencesModal";
|
|
268
|
+
import { MyProfileSection } from "./components/account/sections/MyProfileSection";
|
|
269
|
+
import { PreferencesSection } from "./components/account/sections/PreferencesSection";
|
|
270
|
+
import { SecuritySection } from "./components/account/sections/SecuritySection";
|
|
271
|
+
import { ChangePasswordSection } from "./components/account/sections/ChangePasswordSection";
|
|
272
|
+
import { ChangeEmailModal } from "./components/account/sections/ChangeEmailModal";
|
|
273
|
+
import { ChangePhoneModal } from "./components/account/sections/ChangePhoneModal";
|
|
274
|
+
import {
|
|
275
|
+
GENDER_OPTIONS,
|
|
276
|
+
CURRENCY_OPTIONS,
|
|
277
|
+
TIME_FORMAT_OPTIONS,
|
|
278
|
+
NOTIFICATION_TYPES,
|
|
279
|
+
LANGUAGE_OPTIONS as LANGUAGE_OPTIONS2
|
|
280
|
+
} from "./components/account/constants";
|
|
281
|
+
export {
|
|
282
|
+
ACCOUNT_QUERY_KEY,
|
|
283
|
+
ADDON_IDS,
|
|
284
|
+
AI_CREDIT_OPTIONS,
|
|
285
|
+
AI_CREDIT_VALUES,
|
|
286
|
+
Accordion,
|
|
287
|
+
AccordionContent,
|
|
288
|
+
AccordionItem,
|
|
289
|
+
AccordionTrigger,
|
|
290
|
+
default16 as AccountModals,
|
|
291
|
+
AccountSectionType,
|
|
292
|
+
default4 as AddCardModal,
|
|
293
|
+
AppMobileNavBar,
|
|
294
|
+
AppNavBar,
|
|
295
|
+
AppNavigation,
|
|
296
|
+
BR_STATE_OPTIONS,
|
|
297
|
+
Badge,
|
|
298
|
+
Button,
|
|
299
|
+
default2 as BuyCreditsModal,
|
|
300
|
+
CARDS_QUERY_KEY,
|
|
301
|
+
CURRENCY_OPTIONS,
|
|
302
|
+
Calendar,
|
|
303
|
+
CalendarDayButton,
|
|
304
|
+
default8 as CancelButton,
|
|
305
|
+
CancelledSubscriptionBanner,
|
|
306
|
+
Card,
|
|
307
|
+
CardAction,
|
|
308
|
+
CardBrandIcon,
|
|
309
|
+
CardContent,
|
|
310
|
+
CardDescription,
|
|
311
|
+
CardFooter,
|
|
312
|
+
CardFormFields,
|
|
313
|
+
CardHeader,
|
|
314
|
+
CardItem,
|
|
315
|
+
CardTitle,
|
|
316
|
+
ChangeEmailModal,
|
|
317
|
+
ChangePasswordSection,
|
|
318
|
+
ChangePhoneModal,
|
|
319
|
+
Checkbox,
|
|
320
|
+
default9 as CircularProgress,
|
|
321
|
+
ComboboxField,
|
|
322
|
+
Command,
|
|
323
|
+
CommandDialog,
|
|
324
|
+
CommandEmpty,
|
|
325
|
+
CommandGroup,
|
|
326
|
+
CommandInput,
|
|
327
|
+
CommandItem,
|
|
328
|
+
CommandList,
|
|
329
|
+
CommandSeparator,
|
|
330
|
+
CommandShortcut,
|
|
331
|
+
default19 as ConfirmGlobalPreferencesModal,
|
|
332
|
+
CopyButton,
|
|
333
|
+
CreateCardRequestSchema,
|
|
334
|
+
CrispEmbed,
|
|
335
|
+
DatePicker,
|
|
336
|
+
DateRangePicker,
|
|
337
|
+
default10 as DefaultCircularProgress,
|
|
338
|
+
Dialog,
|
|
339
|
+
DialogClose,
|
|
340
|
+
DialogContent,
|
|
341
|
+
DialogDescription,
|
|
342
|
+
DialogFooter,
|
|
343
|
+
DialogHeader,
|
|
344
|
+
DialogOverlay,
|
|
345
|
+
DialogPortal,
|
|
346
|
+
DialogTitle,
|
|
347
|
+
DialogTrigger,
|
|
348
|
+
default18 as DisableTwoFactorAuthModal,
|
|
349
|
+
FormField,
|
|
350
|
+
FrillEmbed,
|
|
351
|
+
GENDER_OPTIONS,
|
|
352
|
+
Input,
|
|
353
|
+
InputOTP,
|
|
354
|
+
InputOTPGroup,
|
|
355
|
+
InputOTPSeparator,
|
|
356
|
+
InputOTPSlot,
|
|
357
|
+
LANGUAGE_OPTIONS2 as LANGUAGE_OPTIONS,
|
|
358
|
+
LIST_AVAILABLE_USERS_BASE_KEY,
|
|
359
|
+
LIST_AVAILABLE_USERS_QUERY_KEY,
|
|
360
|
+
LIST_PROJECT_USERS_BASE_KEY,
|
|
361
|
+
LIST_PROJECT_USERS_QUERY_KEY,
|
|
362
|
+
LANGUAGE_OPTIONS as LOCALE_LANGUAGE_OPTIONS,
|
|
363
|
+
LoadingOverlay,
|
|
364
|
+
MainLayout,
|
|
365
|
+
MainLayoutContent,
|
|
366
|
+
MainLayoutMain,
|
|
367
|
+
MainLayoutSpacer,
|
|
368
|
+
MdSideBarNavigation,
|
|
369
|
+
ModalManager,
|
|
370
|
+
Modals,
|
|
371
|
+
MyProfileSection,
|
|
372
|
+
NOTIFICATION_TYPES,
|
|
373
|
+
NavBar,
|
|
374
|
+
NavBarItem,
|
|
375
|
+
NotFoundPage,
|
|
376
|
+
default5 as NotificationCard,
|
|
377
|
+
NotificationPageContent,
|
|
378
|
+
NotificationsPopover,
|
|
379
|
+
Pagination,
|
|
380
|
+
PaginationContent,
|
|
381
|
+
PaginationEllipsis,
|
|
382
|
+
PaginationItem,
|
|
383
|
+
PaginationLink,
|
|
384
|
+
PaginationNext,
|
|
385
|
+
PaginationPrevious,
|
|
386
|
+
default3 as PaidPlanRequiredModal,
|
|
387
|
+
CardSchema as PaymentCardSchema,
|
|
388
|
+
PaymentInfoCard,
|
|
389
|
+
default14 as PhoneInput,
|
|
390
|
+
PlanItemSchema,
|
|
391
|
+
PlanSchema,
|
|
392
|
+
Popover,
|
|
393
|
+
PopoverAnchor,
|
|
394
|
+
PopoverContent,
|
|
395
|
+
PopoverTrigger,
|
|
396
|
+
PreferencesSection,
|
|
397
|
+
ProfilePopover,
|
|
398
|
+
Progress,
|
|
399
|
+
QueryProvider,
|
|
400
|
+
RadioGroup,
|
|
401
|
+
RadioGroupItem,
|
|
402
|
+
SUBSCRIPTIONS_QUERY_KEY,
|
|
403
|
+
ScrollArea,
|
|
404
|
+
ScrollBar,
|
|
405
|
+
SecuritySection,
|
|
406
|
+
Select,
|
|
407
|
+
SelectContent,
|
|
408
|
+
SelectField,
|
|
409
|
+
SelectGroup,
|
|
410
|
+
SelectItem,
|
|
411
|
+
SelectLabel,
|
|
412
|
+
SelectScrollDownButton,
|
|
413
|
+
SelectScrollUpButton,
|
|
414
|
+
SelectSeparator,
|
|
415
|
+
SelectTrigger,
|
|
416
|
+
SelectValue,
|
|
417
|
+
Separator,
|
|
418
|
+
Sheet,
|
|
419
|
+
SheetClose,
|
|
420
|
+
SheetContent,
|
|
421
|
+
SheetDescription,
|
|
422
|
+
SheetFooter,
|
|
423
|
+
SheetHeader,
|
|
424
|
+
SheetTitle,
|
|
425
|
+
SheetTrigger,
|
|
426
|
+
SideBarNavigation,
|
|
427
|
+
Skeleton,
|
|
428
|
+
SubscriptionItemSchema,
|
|
429
|
+
SubscriptionSchema,
|
|
430
|
+
Switch,
|
|
431
|
+
default15 as SwitchOptionFieldWithIcon,
|
|
432
|
+
TIME_FORMAT_OPTIONS,
|
|
433
|
+
Table,
|
|
434
|
+
TableBody,
|
|
435
|
+
TableCaption,
|
|
436
|
+
TableCell,
|
|
437
|
+
TableFooter,
|
|
438
|
+
TableHead,
|
|
439
|
+
TableHeader,
|
|
440
|
+
TableRow,
|
|
441
|
+
Tabs,
|
|
442
|
+
TabsContent,
|
|
443
|
+
TabsList,
|
|
444
|
+
TabsTrigger,
|
|
445
|
+
TextAreaField,
|
|
446
|
+
Textarea,
|
|
447
|
+
Toast,
|
|
448
|
+
Tooltip,
|
|
449
|
+
TooltipContent,
|
|
450
|
+
TooltipProvider,
|
|
451
|
+
TooltipTrigger,
|
|
452
|
+
default17 as TwoFactorAuthModal,
|
|
453
|
+
USER_QUERY_KEY,
|
|
454
|
+
UserAvatar,
|
|
455
|
+
UsersSelectorPopover,
|
|
456
|
+
default6 as WhitelabelCodes,
|
|
457
|
+
badgeVariants,
|
|
458
|
+
buildLocaleOptions,
|
|
459
|
+
buildPlanExtras,
|
|
460
|
+
buildQueryParams,
|
|
461
|
+
buttonVariants,
|
|
462
|
+
cardFormSchema,
|
|
463
|
+
cn,
|
|
464
|
+
continueChain,
|
|
465
|
+
copyToClipboard,
|
|
466
|
+
createAuthMiddleware,
|
|
467
|
+
createMiddlewareChain,
|
|
468
|
+
formatCNPJ,
|
|
469
|
+
formatCPF,
|
|
470
|
+
formatCardNumber,
|
|
471
|
+
formatFullName,
|
|
472
|
+
formatPhone,
|
|
473
|
+
formatShortDate,
|
|
474
|
+
formatTimer,
|
|
475
|
+
getPriceFromCalculatedData,
|
|
476
|
+
hasSubscriptionExpired,
|
|
477
|
+
hideCrisp,
|
|
478
|
+
openCrispHelpdesk,
|
|
479
|
+
parseResult,
|
|
480
|
+
parseSchema,
|
|
481
|
+
periodicityToBillingPeriod,
|
|
482
|
+
readFromClipboard,
|
|
483
|
+
showCrisp,
|
|
484
|
+
stopChain,
|
|
485
|
+
toastIconContainerVariants,
|
|
486
|
+
toastVariants,
|
|
487
|
+
useAccountModals,
|
|
488
|
+
useActiveSubscription,
|
|
489
|
+
useBuyCreditsModal,
|
|
490
|
+
useCalculateSubscription,
|
|
491
|
+
useCancelledSubscriptionGuard,
|
|
492
|
+
useCards,
|
|
493
|
+
default7 as useCopyToClipboard,
|
|
494
|
+
default12 as useCountdownTimer,
|
|
495
|
+
useCreateCard,
|
|
496
|
+
useCurrentAccount,
|
|
497
|
+
useDebounce,
|
|
498
|
+
useDebounceState,
|
|
499
|
+
useDebouncedEffect,
|
|
500
|
+
useDeleteAccount,
|
|
501
|
+
useDeleteAccountUser,
|
|
502
|
+
useDesktopSidebarStore,
|
|
503
|
+
useHasPlanAddon,
|
|
504
|
+
useIaCredits,
|
|
505
|
+
useInvalidateUser,
|
|
506
|
+
default13 as useIsMobile,
|
|
507
|
+
useListAvailableUsers,
|
|
508
|
+
useListProjectUsers,
|
|
509
|
+
useManagementPermissions,
|
|
510
|
+
useMdSidebarStore,
|
|
511
|
+
useMobileNavbarSheet,
|
|
512
|
+
useModalManager,
|
|
513
|
+
usePaidPlanRequiredModal,
|
|
514
|
+
default11 as usePasswordVisibility,
|
|
515
|
+
usePlanById,
|
|
516
|
+
useSetUserData,
|
|
517
|
+
useSubscriptions,
|
|
518
|
+
useTwoFactorVerify,
|
|
519
|
+
useUpdateAccount,
|
|
520
|
+
useUpdateAccountUser,
|
|
521
|
+
useUpdateAccountUserById,
|
|
522
|
+
useUpdateSubscriptionPlan,
|
|
523
|
+
useUserQuery,
|
|
524
|
+
useUserValidateSession,
|
|
525
|
+
useViaCep,
|
|
526
|
+
withAction
|
|
527
|
+
};
|
|
528
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Types\nexport * from \"./modules/auth/schema\";\nexport * from \"./modules/users/schema\";\nexport * from \"./modules/whitelabel/schema\";\n// Style types now come from whitelabel schema directly\nexport * from \"./infra/api/types\";\n\n// Contexts\nexport * from \"./providers/query.provider\";\nexport * from \"./providers/auth.provider\";\nexport * from \"./providers/whitelabel.provider\";\n\n// Hooks\nexport {\n useListProjectUsers,\n LIST_PROJECT_USERS_QUERY_KEY,\n LIST_PROJECT_USERS_BASE_KEY,\n} from \"./modules/projects/hooks/list-project-users.hook\";\nexport {\n useListAvailableUsers,\n LIST_AVAILABLE_USERS_QUERY_KEY,\n LIST_AVAILABLE_USERS_BASE_KEY,\n} from \"./modules/projects/hooks/list-available-users.hook\";\nexport type {\n ProjectUser,\n AccountUser,\n AddRemoveProjectUsersParams,\n ListUsersParams,\n UsersPage,\n} from \"./modules/projects/types\";\nexport {\n useUserQuery,\n useUserValidateSession,\n useInvalidateUser,\n useSetUserData,\n useTwoFactorVerify,\n USER_QUERY_KEY,\n} from \"./modules/auth/hooks/useUserQuery\";\nexport { useManagementPermissions } from \"./modules/auth/hooks/useManagementPermissions\";\nexport type { ManagementPermission } from \"./modules/auth/types/management-permission.type\";\nexport { useSubscriptions } from \"./modules/subscriptions/hooks/list-subscriptions.hook\";\nexport { SUBSCRIPTIONS_QUERY_KEY } from \"./modules/subscriptions/constants/query-keys.constants\";\nexport { useActiveSubscription } from \"./modules/subscriptions/hooks/find-active-subscription.hook\";\nexport { useCancelledSubscriptionGuard } from \"./modules/subscriptions/hooks/use-cancelled-subscription-guard\";\nexport { usePlanById } from \"./modules/plans/hooks/use-plan-by-id.hook\";\nexport { useHasPlanAddon } from \"./modules/plans/hooks/use-has-plan-addon.hook\";\nexport { useCalculateSubscription } from \"./modules/subscriptions/hooks/calculate-subscription.hook\";\nexport { useUpdateSubscriptionPlan } from \"./modules/subscriptions/hooks/update-subscription-plan.hook\";\nexport { useCards, CARDS_QUERY_KEY } from \"./modules/cards/hooks/cards.hook\";\nexport { useCreateCard } from \"./modules/cards/hooks/create-card.hook\";\nexport { useIaCredits } from \"./modules/ia-credits/hooks/ia-credits.hook\";\nexport type {\n IaCreditsSummary,\n IaCreditOperation,\n} from \"./modules/ia-credits/types\";\nexport type {\n Subscription,\n SubscriptionItem,\n FindSubscriptionsParams,\n} from \"./modules/subscriptions/types/subscription.type\";\nexport {\n SubscriptionSchema,\n SubscriptionItemSchema,\n} from \"./modules/subscriptions/types/subscription.type\";\nexport { ADDON_IDS, AI_CREDIT_OPTIONS, AI_CREDIT_VALUES } from \"./modules/subscriptions/constants/addons.constants\";\nexport type { AddonKindEnum, AiCreditOption } from \"./modules/subscriptions/constants/addons.constants\";\nexport type { Plan, PlanItem } from \"./modules/plans/types/plan.type\";\nexport { PlanSchema, PlanItemSchema } from \"./modules/plans/types/plan.type\";\nexport type { BillingPeriod } from \"./modules/subscriptions/types/billing-period.type\";\nexport type {\n CalculateSubscriptionRequest,\n CalculateSubscriptionResponse,\n UpdateSubscriptionPlanRequest,\n} from \"./modules/subscriptions/types/calculate-subscription.type\";\nexport type { Card as PaymentCard, CreateCardRequest } from \"./modules/cards/types\";\nexport { CardSchema as PaymentCardSchema, CreateCardRequestSchema } from \"./modules/cards/types\";\nexport { buildPlanExtras } from \"./modules/subscriptions/utils/build-plan-extras\";\nexport { hasSubscriptionExpired } from \"./modules/subscriptions/utils/has-subscription-expired\";\nexport { getPriceFromCalculatedData, periodicityToBillingPeriod } from \"./modules/subscriptions/utils/periodicity\";\nexport { useBuyCreditsModal } from \"./store/useBuyCreditsModal\";\nexport { usePaidPlanRequiredModal } from \"./store/usePaidPlanRequiredModal\";\nexport { default as BuyCreditsModal } from \"./components/modals/BuyCreditsModal\";\nexport { default as PaidPlanRequiredModal } from \"./components/modals/PaidPlanRequiredModal\";\nexport { default as AddCardModal } from \"./components/modals/cards/AddCardModal\";\nexport { CardFormFields, cardFormSchema } from \"./components/modals/cards/CardFormFields\";\nexport type { CardFormData } from \"./components/modals/cards/CardFormFields\";\nexport { Skeleton } from \"./components/ui/feedback/Skeleton\";\nexport { PaymentInfoCard } from \"./components/ui/data-display/PaymentInfoCard\";\nexport { CardBrandIcon } from \"./components/ui/data-display/CardBrandIcons\";\nexport { CardItem } from \"./components/ui/data-display/CardItem\";\n\n// Providers\nexport { QueryProvider } from \"./providers/query.provider\";\n\n// Middleware\nexport { createAuthMiddleware } from \"./middlewares/create-auth-middleware\";\nexport { createMiddlewareChain } from \"./middlewares/chain\";\nexport { continueChain, stopChain } from \"./middlewares/types\";\nexport type {\n MiddlewareFunction,\n MiddlewareConfig,\n MiddlewareResult,\n} from \"./middlewares/types\";\n\n// Utils\nexport { cn } from \"./infra/utils/clsx\";\nexport { formatShortDate } from \"./infra/utils/date\";\nexport { buildQueryParams } from \"./infra/utils/params\";\nexport { parseSchema, parseResult } from \"./infra/utils/parser\";\nexport { withAction } from \"./utils/withAction\";\n\n// Layout\nexport {\n MainLayout,\n MainLayoutContent,\n MainLayoutSpacer,\n MainLayoutMain,\n} from \"./components/layouts/MainLayout\";\nexport { NavBar } from \"./components/layouts/NavBar\";\nexport type { NavBarProps } from \"./components/layouts/NavBar\";\nexport { AppNavBar } from \"./components/layouts/AppNavBar\";\nexport type { AppNavBarProps } from \"./components/layouts/AppNavBar\";\nexport { AppMobileNavBar } from \"./components/layouts/AppMobileNavBar\";\nexport type { AppMobileNavBarProps } from \"./components/layouts/AppMobileNavBar\";\nexport { SideBarNavigation } from \"./components/layouts/SideBarNavigation\";\nexport { MdSideBarNavigation } from \"./components/layouts/MdSideBarNavigation\";\nexport { default as NotificationCard } from \"./components/widgets/notifications/NotificationCard\";\nexport type { NotificationCardProps } from \"./components/widgets/notifications/NotificationCard\";\nexport { NotificationsPopover } from \"./components/layouts/NotificationsPopover\";\nexport type { NotificationsPopoverProps } from \"./components/layouts/NotificationsPopover\";\nexport { NotificationPageContent } from \"./components/pages/notifications/Notifications\";\nexport { NotFoundPage } from \"./components/pages/NotFoundPage\";\nexport { UsersSelectorPopover } from \"./components/layouts/UsersSelectorPopover\";\nexport type { UsersSelectorPopoverProps } from \"./components/layouts/UsersSelectorPopover\";\nexport { ProfilePopover } from \"./components/layouts/ProfilePopover\";\nexport type {\n ProfilePopoverProps,\n ProfileMenuItem,\n} from \"./components/layouts/ProfilePopover\";\nexport { default as WhitelabelCodes } from \"./components/layouts/WhitelabelCodes\";\nexport { NavBarItem } from \"./components/layouts/NavBarItem\";\nexport type { NavBarItemProps } from \"./components/layouts/NavBarItem\";\n\n// Navigation\nexport { AppNavigation } from './components/navigation/AppNavigation';\nexport { CancelledSubscriptionBanner } from './components/navigation/CancelledSubscriptionBanner';\nexport type { NavItemConfig } from './components/navigation/subcomponents/NavItems';\nexport type { NavigationProject } from './components/navigation/types';\nexport { useMobileNavbarSheet } from './store/useMobileNavbarSheet';\n\n// Hooks\nexport { default as useCopyToClipboard } from \"./hooks/copy-to-clipboard.hook\";\n\n// UI - Buttons\nexport { Button, buttonVariants } from \"./components/ui/buttons/Button\";\nexport { CopyButton } from \"./components/ui/buttons/CopyButton\";\nexport { default as CancelButton } from \"./components/ui/buttons/CancelButton\";\n\n// UI - Data Display\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n} from \"./components/ui/data-display/Accordion\";\nexport { Badge, badgeVariants } from \"./components/ui/data-display/Badge\";\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardAction,\n CardDescription,\n CardContent,\n} from \"./components/ui/data-display/Card\";\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n} from \"./components/ui/data-display/Pagination\";\nexport { ScrollArea, ScrollBar } from \"./components/ui/data-display/ScrollArea\";\nexport { Separator } from \"./components/ui/data-display/Separator\";\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n} from \"./components/ui/data-display/Table\";\nexport {\n Tabs,\n TabsList,\n TabsTrigger,\n TabsContent,\n} from \"./components/ui/data-display/Tabs\";\nexport { UserAvatar } from \"./components/ui/data-display/UserAvatar\";\nexport type { UserAvatarProps } from \"./components/ui/data-display/UserAvatar\";\n\n// UI - Feedback\nexport { default as CircularProgress } from \"./components/ui/feedback/CircularProgress\";\nexport { default as DefaultCircularProgress } from \"./components/ui/feedback/DefaultCircularProgress\";\nexport { Progress } from \"./components/ui/feedback/Progress\";\nexport { LoadingOverlay } from \"./components/ui/feedback/LoadingOverlay\";\nexport {\n Toast,\n toastVariants,\n toastIconContainerVariants,\n} from \"./components/ui/feedback/Toast\";\nexport type { ToastProps } from \"./components/ui/feedback/Toast\";\n\n// UI - Form\nexport { Calendar, CalendarDayButton } from \"./components/ui/form/Calendar\";\nexport { Checkbox } from \"./components/ui/form/Checkbox\";\nexport { DatePicker } from \"./components/ui/form/DatePicker\";\nexport { DateRangePicker } from \"./components/ui/form/DateRangePicker\";\nexport { Input } from \"./components/ui/form/Input\";\nexport {\n InputOTP,\n InputOTPGroup,\n InputOTPSlot,\n InputOTPSeparator,\n} from \"./components/ui/form/InputOtp\";\nexport { RadioGroup, RadioGroupItem } from \"./components/ui/form/RadioGroup\";\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n} from \"./components/ui/form/Select\";\nexport { Switch } from \"./components/ui/form/Switch\";\nexport { Textarea } from \"./components/ui/form/Textarea\";\n\n// UI - Overlay\nexport {\n Command,\n CommandDialog,\n CommandInput,\n CommandList,\n CommandEmpty,\n CommandGroup,\n CommandItem,\n CommandShortcut,\n CommandSeparator,\n} from \"./components/ui/overlay/Command\";\nexport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n} from \"./components/ui/overlay/Dialog\";\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n} from \"./components/ui/overlay/Popover\";\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n} from \"./components/ui/overlay/Sheet\";\nexport {\n Tooltip,\n TooltipTrigger,\n TooltipContent,\n TooltipProvider,\n} from \"./components/ui/overlay/Tooltip\";\n\n// Embeds\nexport { FrillEmbed } from \"./components/embeds/FrillEmbed\";\nexport { CrispEmbed, openCrispHelpdesk, hideCrisp, showCrisp } from \"./components/embeds/CrispEmbed\";\n\n// Store\nexport { useMdSidebarStore } from \"./store/useMdSidebarStore\";\nexport { useDesktopSidebarStore } from \"./store/useDesktopSidebarStore\";\nexport { useModalManager } from \"./store/useModalManager\";\nexport type { ModalData } from \"./store/useModalManager\";\n\n// Enums\nexport { AccountSectionType } from \"./enums/AccountSectionType\";\n\n// Hooks\nexport { default as usePasswordVisibility } from \"./hooks/usePasswordVisibility\";\nexport { default as useCountdownTimer } from \"./hooks/useCountdownTimer\";\nexport { default as useIsMobile } from \"./hooks/useIsMobile\";\nexport { useDebounce } from \"./hooks/useDebounce\";\nexport { useDebouncedEffect } from \"./hooks/useDebouncedEffect\";\nexport { useDebounceState } from \"./hooks/useDebounceState\";\n\n// Utils\nexport {\n formatPhone,\n formatTimer,\n formatFullName,\n formatCPF,\n formatCNPJ,\n formatCardNumber,\n} from \"./utils/format/masks\";\nexport { BR_STATE_OPTIONS } from \"./utils/constants/br-states\";\nexport type { TimezoneOption } from \"./modules/accounts/services/timezone.service\";\nexport {\n buildLocaleOptions,\n LANGUAGE_OPTIONS as LOCALE_LANGUAGE_OPTIONS,\n} from \"./utils/intl/locales\";\nexport type { LocaleOption } from \"./utils/intl/locales\";\nexport { copyToClipboard, readFromClipboard } from \"./utils/browser/clipboard\";\n\n// UI - Form (new widgets)\nexport { FormField } from \"./components/ui/form/FormField\";\nexport { SelectField } from \"./components/ui/form/SelectField\";\nexport { ComboboxField } from \"./components/ui/form/ComboboxField\";\nexport type { ComboboxOption } from \"./components/ui/form/ComboboxField\";\nexport { default as PhoneInput } from \"./components/ui/form/PhoneInput\";\nexport { default as SwitchOptionFieldWithIcon } from \"./components/ui/form/SwitchOptionFieldWithIcon\";\nexport { TextAreaField } from \"./components/ui/form/TextAreaField\";\n\n// Account Module - Hooks\nexport {\n useCurrentAccount,\n ACCOUNT_QUERY_KEY,\n} from \"./modules/accounts/hooks/current-account.hook\";\nexport {\n useUpdateAccount,\n useUpdateAccountUser,\n useUpdateAccountUserById,\n useDeleteAccountUser,\n useDeleteAccount,\n} from \"./modules/accounts/hooks/useAccountManagement\";\nexport { useViaCep } from \"./modules/accounts/hooks/useViaCep\";\n\n// Account Types\nexport type {\n UpdateAccountRequest,\n UpdateAccountUserRequest,\n ChangePasswordRequest,\n DeleteAccountActionResult,\n DeleteUserActionResult,\n UpdateAccountActionResult,\n UpdateUserActionResult,\n TwoFactorGenerateResult,\n TwoFactorActionResult,\n ContactResetResult,\n} from \"./modules/accounts/types\";\n\nexport { default as AccountModals } from \"./components/account/AccountModals\";\nexport { useAccountModals } from \"./store/useAccountModals\";\nexport type { AccountModalsConfig } from \"./store/useAccountModals\";\n\nexport { ModalManager } from \"./components/modals/ModalManager\";\nexport { Modals } from \"./components/modals/Modals\";\n\nexport { default as TwoFactorAuthModal } from \"./components/account/TwoFactorAuthModal\";\nexport { default as DisableTwoFactorAuthModal } from \"./components/account/DisableTwoFactorAuthModal\";\nexport { default as ConfirmGlobalPreferencesModal } from \"./components/account/ConfirmGlobalPreferencesModal\";\nexport { MyProfileSection } from \"./components/account/sections/MyProfileSection\";\nexport { PreferencesSection } from \"./components/account/sections/PreferencesSection\";\nexport { SecuritySection } from \"./components/account/sections/SecuritySection\";\nexport { ChangePasswordSection } from \"./components/account/sections/ChangePasswordSection\";\nexport { ChangeEmailModal } from \"./components/account/sections/ChangeEmailModal\";\nexport { ChangePhoneModal } from \"./components/account/sections/ChangePhoneModal\";\n\n// Account Constants\nexport {\n GENDER_OPTIONS,\n CURRENCY_OPTIONS,\n TIME_FORMAT_OPTIONS,\n NOTIFICATION_TYPES,\n LANGUAGE_OPTIONS,\n} from \"./components/account/constants\";\n"],"mappings":"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","names":["default","LANGUAGE_OPTIONS"]}
|