@carlonicora/nextjs-jsonapi 3.3.3 → 3.3.5

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 (53) hide show
  1. package/dist/{BlockNoteEditor-4LBUVIW6.js → BlockNoteEditor-BWC7JDVK.js} +19 -19
  2. package/dist/{BlockNoteEditor-4LBUVIW6.js.map → BlockNoteEditor-BWC7JDVK.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-CSPPZOZQ.mjs → BlockNoteEditor-BXA6SDVC.mjs} +4 -4
  4. package/dist/billing/index.js +398 -398
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-S2C5V2XZ.js → chunk-6T6QB6K2.js} +6 -2
  7. package/dist/chunk-6T6QB6K2.js.map +1 -0
  8. package/dist/{chunk-KW6LYVFJ.mjs → chunk-G6B7RZWJ.mjs} +5 -1
  9. package/dist/chunk-G6B7RZWJ.mjs.map +1 -0
  10. package/dist/{chunk-SVCOFVQF.mjs → chunk-JBTGGZ3K.mjs} +9 -9
  11. package/dist/chunk-JBTGGZ3K.mjs.map +1 -0
  12. package/dist/{chunk-2PEPIH26.js → chunk-PXXVAY7N.js} +822 -822
  13. package/dist/chunk-PXXVAY7N.js.map +1 -0
  14. package/dist/{chunk-RUEY6XSS.mjs → chunk-RZDY4CIF.mjs} +2 -2
  15. package/dist/{chunk-OHG2YWNA.js → chunk-X2MQ3WHX.js} +7 -7
  16. package/dist/{chunk-OHG2YWNA.js.map → chunk-X2MQ3WHX.js.map} +1 -1
  17. package/dist/client/index.js +4 -4
  18. package/dist/client/index.mjs +3 -3
  19. package/dist/components/index.d.mts +17 -2
  20. package/dist/components/index.d.ts +17 -2
  21. package/dist/components/index.js +4 -4
  22. package/dist/components/index.mjs +3 -3
  23. package/dist/contexts/index.js +4 -4
  24. package/dist/contexts/index.mjs +3 -3
  25. package/dist/core/index.d.mts +11 -1
  26. package/dist/core/index.d.ts +11 -1
  27. package/dist/core/index.js +4 -2
  28. package/dist/core/index.js.map +1 -1
  29. package/dist/core/index.mjs +3 -1
  30. package/dist/features/help/index.js +37 -37
  31. package/dist/features/help/index.mjs +3 -3
  32. package/dist/features/tokenusage/index.js +101 -101
  33. package/dist/features/tokenusage/index.mjs +3 -3
  34. package/dist/index.d.mts +1 -1
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.js +5 -3
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +4 -2
  39. package/dist/server/index.js +3 -3
  40. package/dist/server/index.mjs +1 -1
  41. package/package.json +1 -1
  42. package/src/components/forms/DatePickerPopover.tsx +31 -3
  43. package/src/features/auth/components/forms/Logout.tsx +11 -3
  44. package/src/features/auth/components/forms/__tests__/Logout.spec.tsx +13 -9
  45. package/src/features/user/contexts/CurrentUserContext.tsx +2 -1
  46. package/src/features/user/data/index.ts +1 -0
  47. package/src/features/user/data/user.storage.ts +9 -0
  48. package/dist/chunk-2PEPIH26.js.map +0 -1
  49. package/dist/chunk-KW6LYVFJ.mjs.map +0 -1
  50. package/dist/chunk-S2C5V2XZ.js.map +0 -1
  51. package/dist/chunk-SVCOFVQF.mjs.map +0 -1
  52. /package/dist/{BlockNoteEditor-CSPPZOZQ.mjs.map → BlockNoteEditor-BXA6SDVC.mjs.map} +0 -0
  53. /package/dist/{chunk-RUEY6XSS.mjs.map → chunk-RZDY4CIF.mjs.map} +0 -0
@@ -833,6 +833,16 @@ declare class User extends AbstractApiData implements UserInterface, SearchResul
833
833
  createJsonApi(data: UserInput): any;
834
834
  }
835
835
 
836
+ /**
837
+ * localStorage key backing the `CurrentUserProvider` atom.
838
+ *
839
+ * Owned by this library, not by the apps that consume it: `<Logout />` clears
840
+ * it on every sign-out. Kept in its own module so both the provider that writes
841
+ * it and the component that clears it can reference the same constant without
842
+ * importing each other.
843
+ */
844
+ declare const CURRENT_USER_STORAGE_KEY = "user";
845
+
836
846
  declare const UserModule: (factory: ModuleFactory) => ModuleWithPermissions;
837
847
 
838
848
  declare class Auth extends AbstractApiData implements AuthInterface {
@@ -2575,4 +2585,4 @@ declare class AuditLogService extends AbstractService {
2575
2585
 
2576
2586
  declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
2577
2587
 
2578
- export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, ENV, EndpointCreator, type EndpointQuery, EntityAiStatus, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, isRemoteImageSrc, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
2588
+ export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, CURRENT_USER_STORAGE_KEY, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, ENV, EndpointCreator, type EndpointQuery, EntityAiStatus, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, isRemoteImageSrc, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
@@ -199,7 +199,8 @@
199
199
 
200
200
 
201
201
 
202
- var _chunkS2C5V2XZjs = require('../chunk-S2C5V2XZ.js');
202
+
203
+ var _chunk6T6QB6K2js = require('../chunk-6T6QB6K2.js');
203
204
  require('../chunk-LXKSUWAV.js');
204
205
  require('../chunk-IBS6NI7D.js');
205
206
 
@@ -427,5 +428,6 @@ require('../chunk-7QVYU63E.js');
427
428
 
428
429
 
429
430
 
430
- exports.AVAILABLE_OAUTH_SCOPES = _chunkS2C5V2XZjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkS2C5V2XZjs.AbstractApiData; exports.AbstractService = _chunkS2C5V2XZjs.AbstractService; exports.Action = _chunkS2C5V2XZjs.Action; exports.AiConnection = _chunkS2C5V2XZjs.AiConnection; exports.AiConnectionFields = _chunkS2C5V2XZjs.AiConnectionFields; exports.AiConnectionModule = _chunkS2C5V2XZjs.AiConnectionModule; exports.AiConnectionService = _chunkS2C5V2XZjs.AiConnectionService; exports.Assistant = _chunkS2C5V2XZjs.Assistant; exports.AssistantAction = _chunkS2C5V2XZjs.AssistantAction; exports.AssistantActionModule = _chunkS2C5V2XZjs.AssistantActionModule; exports.AssistantActionService = _chunkS2C5V2XZjs.AssistantActionService; exports.AssistantMessage = _chunkS2C5V2XZjs.AssistantMessage; exports.AssistantMessageModule = _chunkS2C5V2XZjs.AssistantMessageModule; exports.AssistantMessageService = _chunkS2C5V2XZjs.AssistantMessageService; exports.AssistantModule = _chunkS2C5V2XZjs.AssistantModule; exports.AssistantService = _chunkS2C5V2XZjs.AssistantService; exports.AuditLog = _chunkS2C5V2XZjs.AuditLog; exports.AuditLogModule = _chunkS2C5V2XZjs.AuditLogModule; exports.AuditLogService = _chunkS2C5V2XZjs.AuditLogService; exports.Auth = _chunkS2C5V2XZjs.Auth; exports.AuthComponent = _chunkS2C5V2XZjs.AuthComponent; exports.AuthModule = _chunkS2C5V2XZjs.AuthModule; exports.AuthService = _chunkS2C5V2XZjs.AuthService; exports.AuthorModule = _chunkS2C5V2XZjs.AuthorModule; exports.BackupCodeVerify = _chunkS2C5V2XZjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkS2C5V2XZjs.BackupCodeVerifyModule; exports.Billing = _chunkS2C5V2XZjs.Billing; exports.BillingModule = _chunkS2C5V2XZjs.BillingModule; exports.BillingService = _chunkS2C5V2XZjs.BillingService; exports.BlockNoteDiffUtil = _chunkS2C5V2XZjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkS2C5V2XZjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkS2C5V2XZjs.Chunk; exports.ChunkModule = _chunkS2C5V2XZjs.ChunkModule; exports.ClientAbstractService = _chunkS2C5V2XZjs.ClientAbstractService; exports.ClientHttpMethod = _chunkS2C5V2XZjs.ClientHttpMethod; exports.Company = _chunkS2C5V2XZjs.Company; exports.CompanyFields = _chunkS2C5V2XZjs.CompanyFields; exports.CompanyModule = _chunkS2C5V2XZjs.CompanyModule; exports.CompanyService = _chunkS2C5V2XZjs.CompanyService; exports.Content = _chunkS2C5V2XZjs.Content; exports.ContentFields = _chunkS2C5V2XZjs.ContentFields; exports.ContentModule = _chunkS2C5V2XZjs.ContentModule; exports.ContentService = _chunkS2C5V2XZjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkS2C5V2XZjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkW42MYR3Yjs.DataClassRegistry; exports.DataClassRegistry = _chunkW42MYR3Yjs.DataClassRegistry; exports.ENV = _chunkW42MYR3Yjs.ENV; exports.EndpointCreator = _chunkS2C5V2XZjs.EndpointCreator; exports.EntityAiStatus = _chunkS2C5V2XZjs.EntityAiStatus; exports.Feature = _chunkS2C5V2XZjs.Feature; exports.FeatureModule = _chunkS2C5V2XZjs.FeatureModule; exports.FeatureService = _chunkS2C5V2XZjs.FeatureService; exports.HowTo = _chunkS2C5V2XZjs.HowTo; exports.HowToFields = _chunkS2C5V2XZjs.HowToFields; exports.HowToModule = _chunkS2C5V2XZjs.HowToModule; exports.HowToService = _chunkS2C5V2XZjs.HowToService; exports.HttpMethod = _chunkS2C5V2XZjs.HttpMethod; exports.InvoiceStatus = _chunkS2C5V2XZjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkW42MYR3Yjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkS2C5V2XZjs.MOBILE_BREAKPOINT; exports.Module = _chunkS2C5V2XZjs.Module; exports.ModuleModule = _chunkS2C5V2XZjs.ModuleModule; exports.ModulePathsModule = _chunkS2C5V2XZjs.ModulePathsModule; exports.ModuleRegistrar = _chunkS2C5V2XZjs.ModuleRegistrar; exports.ModuleRegistry = _chunkS2C5V2XZjs.ModuleRegistry; exports.Modules = _chunkS2C5V2XZjs.Modules; exports.Notification = _chunkS2C5V2XZjs.Notification; exports.NotificationFields = _chunkS2C5V2XZjs.NotificationFields; exports.NotificationModule = _chunkS2C5V2XZjs.NotificationModule; exports.NotificationService = _chunkS2C5V2XZjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkS2C5V2XZjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkS2C5V2XZjs.OAuthClient; exports.OAuthModule = _chunkS2C5V2XZjs.OAuthModule; exports.OAuthService = _chunkS2C5V2XZjs.OAuthService; exports.Passkey = _chunkS2C5V2XZjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkS2C5V2XZjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkS2C5V2XZjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkS2C5V2XZjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkS2C5V2XZjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkS2C5V2XZjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkS2C5V2XZjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkS2C5V2XZjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkS2C5V2XZjs.PasskeyRename; exports.PasskeyRenameModule = _chunkS2C5V2XZjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkS2C5V2XZjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkS2C5V2XZjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkS2C5V2XZjs.PaymentMethod; exports.PermissionMappingModule = _chunkS2C5V2XZjs.PermissionMappingModule; exports.Push = _chunkS2C5V2XZjs.Push; exports.PushModule = _chunkS2C5V2XZjs.PushModule; exports.PushService = _chunkS2C5V2XZjs.PushService; exports.RbacMatrixModule = _chunkS2C5V2XZjs.RbacMatrixModule; exports.ReferralModule = _chunkS2C5V2XZjs.ReferralModule; exports.ReferralService = _chunkS2C5V2XZjs.ReferralService; exports.ReferralStats = _chunkS2C5V2XZjs.ReferralStats; exports.ReferralStatsModule = _chunkS2C5V2XZjs.ReferralStatsModule; exports.RehydrationFactory = _chunkS2C5V2XZjs.RehydrationFactory; exports.Role = _chunkS2C5V2XZjs.Role; exports.RoleFields = _chunkS2C5V2XZjs.RoleFields; exports.RoleModule = _chunkS2C5V2XZjs.RoleModule; exports.RoleService = _chunkS2C5V2XZjs.RoleService; exports.S3 = _chunkS2C5V2XZjs.S3; exports.S3Module = _chunkS2C5V2XZjs.S3Module; exports.S3Service = _chunkS2C5V2XZjs.S3Service; exports.StripeCustomer = _chunkS2C5V2XZjs.StripeCustomer; exports.StripeCustomerModule = _chunkS2C5V2XZjs.StripeCustomerModule; exports.StripeCustomerService = _chunkS2C5V2XZjs.StripeCustomerService; exports.StripeInvoice = _chunkS2C5V2XZjs.StripeInvoice; exports.StripeInvoiceModule = _chunkS2C5V2XZjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkS2C5V2XZjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkS2C5V2XZjs.StripePaymentMethodModule; exports.StripePrice = _chunkS2C5V2XZjs.StripePrice; exports.StripePriceFields = _chunkS2C5V2XZjs.StripePriceFields; exports.StripePriceModule = _chunkS2C5V2XZjs.StripePriceModule; exports.StripePriceService = _chunkS2C5V2XZjs.StripePriceService; exports.StripeProduct = _chunkS2C5V2XZjs.StripeProduct; exports.StripeProductFields = _chunkS2C5V2XZjs.StripeProductFields; exports.StripeProductModule = _chunkS2C5V2XZjs.StripeProductModule; exports.StripeProductService = _chunkS2C5V2XZjs.StripeProductService; exports.StripePromotionCode = _chunkS2C5V2XZjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkS2C5V2XZjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkS2C5V2XZjs.StripePromotionCodeService; exports.StripeSubscription = _chunkS2C5V2XZjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkS2C5V2XZjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkS2C5V2XZjs.StripeSubscriptionService; exports.StripeUsage = _chunkS2C5V2XZjs.StripeUsage; exports.StripeUsageModule = _chunkS2C5V2XZjs.StripeUsageModule; exports.StripeUsageService = _chunkS2C5V2XZjs.StripeUsageService; exports.SubscriptionStatus = _chunkS2C5V2XZjs.SubscriptionStatus; exports.TableOptions = _chunkS2C5V2XZjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkS2C5V2XZjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkS2C5V2XZjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkS2C5V2XZjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkS2C5V2XZjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkS2C5V2XZjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkS2C5V2XZjs.TotpSetup; exports.TotpSetupModule = _chunkS2C5V2XZjs.TotpSetupModule; exports.TotpVerify = _chunkS2C5V2XZjs.TotpVerify; exports.TotpVerifyLogin = _chunkS2C5V2XZjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkS2C5V2XZjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkS2C5V2XZjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkS2C5V2XZjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkS2C5V2XZjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkS2C5V2XZjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkS2C5V2XZjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkS2C5V2XZjs.TwoFactorService; exports.TwoFactorStatus = _chunkS2C5V2XZjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkS2C5V2XZjs.TwoFactorStatusModule; exports.User = _chunkS2C5V2XZjs.User; exports.UserFields = _chunkS2C5V2XZjs.UserFields; exports.UserModule = _chunkS2C5V2XZjs.UserModule; exports.UserService = _chunkS2C5V2XZjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkS2C5V2XZjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkS2C5V2XZjs.Waitlist; exports.WaitlistModule = _chunkS2C5V2XZjs.WaitlistModule; exports.WaitlistService = _chunkS2C5V2XZjs.WaitlistService; exports.WaitlistStats = _chunkS2C5V2XZjs.WaitlistStats; exports.WaitlistStatsModule = _chunkS2C5V2XZjs.WaitlistStatsModule; exports.checkPermissions = _chunkS2C5V2XZjs.checkPermissions; exports.checkPermissionsFromServer = _chunkS2C5V2XZjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkS2C5V2XZjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkS2C5V2XZjs.clearLastApiTotal; exports.cn = _chunkS2C5V2XZjs.cn; exports.composeRefs = _chunkS2C5V2XZjs.composeRefs; exports.configureTokenUsage = _chunkS2C5V2XZjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkS2C5V2XZjs.createJsonApiInclusion; exports.dismissToast = _chunkS2C5V2XZjs.dismissToast; exports.entityObjectSchema = _chunkS2C5V2XZjs.entityObjectSchema; exports.exists = _chunkS2C5V2XZjs.exists; exports.formatCodiceFiscale = _chunkS2C5V2XZjs.formatCodiceFiscale; exports.formatDate = _chunkS2C5V2XZjs.formatDate; exports.formatLocalDate = _chunkS2C5V2XZjs.formatLocalDate; exports.formatPartitaIva = _chunkS2C5V2XZjs.formatPartitaIva; exports.getBootstrapper = _chunkW42MYR3Yjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkS2C5V2XZjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkS2C5V2XZjs.getGlobalErrorHandler; exports.getIcon = _chunkS2C5V2XZjs.getIcon; exports.getIconByModule = _chunkS2C5V2XZjs.getIconByModule; exports.getIconByModuleName = _chunkS2C5V2XZjs.getIconByModuleName; exports.getInitials = _chunkS2C5V2XZjs.getInitials; exports.getLastApiMeta = _chunkS2C5V2XZjs.getLastApiMeta; exports.getLastApiTotal = _chunkS2C5V2XZjs.getLastApiTotal; exports.getLucideIcon = _chunkS2C5V2XZjs.getLucideIcon; exports.getLucideIconByModule = _chunkS2C5V2XZjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkS2C5V2XZjs.getLucideIconByModuleName; exports.getTableComponents = _chunkS2C5V2XZjs.getTableComponents; exports.getTableOptions = _chunkS2C5V2XZjs.getTableOptions; exports.getTokenUsageCurrency = _chunkS2C5V2XZjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkS2C5V2XZjs.getValueFromPath; exports.hasBootstrapper = _chunkW42MYR3Yjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkS2C5V2XZjs.isRemoteImageSrc; exports.rehydrate = _chunkS2C5V2XZjs.rehydrate; exports.rehydrateList = _chunkS2C5V2XZjs.rehydrateList; exports.resetBootstrapStore = _chunkW42MYR3Yjs.resetBootstrapStore; exports.setBootstrapper = _chunkW42MYR3Yjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkS2C5V2XZjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkS2C5V2XZjs.setGlobalErrorHandler; exports.showCustomToast = _chunkS2C5V2XZjs.showCustomToast; exports.showError = _chunkS2C5V2XZjs.showError; exports.showToast = _chunkS2C5V2XZjs.showToast; exports.tokenUsageModules = _chunkS2C5V2XZjs.tokenUsageModules; exports.translateData = _chunkW42MYR3Yjs.translateData; exports.translateResponse = _chunkW42MYR3Yjs.translateResponse; exports.tryBootstrap = _chunkW42MYR3Yjs.tryBootstrap; exports.useComposedRefs = _chunkS2C5V2XZjs.useComposedRefs; exports.useIsMobile = _chunkS2C5V2XZjs.useIsMobile; exports.userObjectSchema = _chunkS2C5V2XZjs.userObjectSchema; exports.validateCodiceFiscale = _chunkS2C5V2XZjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkS2C5V2XZjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkS2C5V2XZjs.validatePartitaIva;
431
+
432
+ exports.AVAILABLE_OAUTH_SCOPES = _chunk6T6QB6K2js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6T6QB6K2js.AbstractApiData; exports.AbstractService = _chunk6T6QB6K2js.AbstractService; exports.Action = _chunk6T6QB6K2js.Action; exports.AiConnection = _chunk6T6QB6K2js.AiConnection; exports.AiConnectionFields = _chunk6T6QB6K2js.AiConnectionFields; exports.AiConnectionModule = _chunk6T6QB6K2js.AiConnectionModule; exports.AiConnectionService = _chunk6T6QB6K2js.AiConnectionService; exports.Assistant = _chunk6T6QB6K2js.Assistant; exports.AssistantAction = _chunk6T6QB6K2js.AssistantAction; exports.AssistantActionModule = _chunk6T6QB6K2js.AssistantActionModule; exports.AssistantActionService = _chunk6T6QB6K2js.AssistantActionService; exports.AssistantMessage = _chunk6T6QB6K2js.AssistantMessage; exports.AssistantMessageModule = _chunk6T6QB6K2js.AssistantMessageModule; exports.AssistantMessageService = _chunk6T6QB6K2js.AssistantMessageService; exports.AssistantModule = _chunk6T6QB6K2js.AssistantModule; exports.AssistantService = _chunk6T6QB6K2js.AssistantService; exports.AuditLog = _chunk6T6QB6K2js.AuditLog; exports.AuditLogModule = _chunk6T6QB6K2js.AuditLogModule; exports.AuditLogService = _chunk6T6QB6K2js.AuditLogService; exports.Auth = _chunk6T6QB6K2js.Auth; exports.AuthComponent = _chunk6T6QB6K2js.AuthComponent; exports.AuthModule = _chunk6T6QB6K2js.AuthModule; exports.AuthService = _chunk6T6QB6K2js.AuthService; exports.AuthorModule = _chunk6T6QB6K2js.AuthorModule; exports.BackupCodeVerify = _chunk6T6QB6K2js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6T6QB6K2js.BackupCodeVerifyModule; exports.Billing = _chunk6T6QB6K2js.Billing; exports.BillingModule = _chunk6T6QB6K2js.BillingModule; exports.BillingService = _chunk6T6QB6K2js.BillingService; exports.BlockNoteDiffUtil = _chunk6T6QB6K2js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6T6QB6K2js.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunk6T6QB6K2js.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunk6T6QB6K2js.Chunk; exports.ChunkModule = _chunk6T6QB6K2js.ChunkModule; exports.ClientAbstractService = _chunk6T6QB6K2js.ClientAbstractService; exports.ClientHttpMethod = _chunk6T6QB6K2js.ClientHttpMethod; exports.Company = _chunk6T6QB6K2js.Company; exports.CompanyFields = _chunk6T6QB6K2js.CompanyFields; exports.CompanyModule = _chunk6T6QB6K2js.CompanyModule; exports.CompanyService = _chunk6T6QB6K2js.CompanyService; exports.Content = _chunk6T6QB6K2js.Content; exports.ContentFields = _chunk6T6QB6K2js.ContentFields; exports.ContentModule = _chunk6T6QB6K2js.ContentModule; exports.ContentService = _chunk6T6QB6K2js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6T6QB6K2js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkW42MYR3Yjs.DataClassRegistry; exports.DataClassRegistry = _chunkW42MYR3Yjs.DataClassRegistry; exports.ENV = _chunkW42MYR3Yjs.ENV; exports.EndpointCreator = _chunk6T6QB6K2js.EndpointCreator; exports.EntityAiStatus = _chunk6T6QB6K2js.EntityAiStatus; exports.Feature = _chunk6T6QB6K2js.Feature; exports.FeatureModule = _chunk6T6QB6K2js.FeatureModule; exports.FeatureService = _chunk6T6QB6K2js.FeatureService; exports.HowTo = _chunk6T6QB6K2js.HowTo; exports.HowToFields = _chunk6T6QB6K2js.HowToFields; exports.HowToModule = _chunk6T6QB6K2js.HowToModule; exports.HowToService = _chunk6T6QB6K2js.HowToService; exports.HttpMethod = _chunk6T6QB6K2js.HttpMethod; exports.InvoiceStatus = _chunk6T6QB6K2js.InvoiceStatus; exports.JsonApiDataFactory = _chunkW42MYR3Yjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6T6QB6K2js.MOBILE_BREAKPOINT; exports.Module = _chunk6T6QB6K2js.Module; exports.ModuleModule = _chunk6T6QB6K2js.ModuleModule; exports.ModulePathsModule = _chunk6T6QB6K2js.ModulePathsModule; exports.ModuleRegistrar = _chunk6T6QB6K2js.ModuleRegistrar; exports.ModuleRegistry = _chunk6T6QB6K2js.ModuleRegistry; exports.Modules = _chunk6T6QB6K2js.Modules; exports.Notification = _chunk6T6QB6K2js.Notification; exports.NotificationFields = _chunk6T6QB6K2js.NotificationFields; exports.NotificationModule = _chunk6T6QB6K2js.NotificationModule; exports.NotificationService = _chunk6T6QB6K2js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6T6QB6K2js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6T6QB6K2js.OAuthClient; exports.OAuthModule = _chunk6T6QB6K2js.OAuthModule; exports.OAuthService = _chunk6T6QB6K2js.OAuthService; exports.Passkey = _chunk6T6QB6K2js.Passkey; exports.PasskeyAuthenticationOptions = _chunk6T6QB6K2js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6T6QB6K2js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6T6QB6K2js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6T6QB6K2js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6T6QB6K2js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6T6QB6K2js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6T6QB6K2js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6T6QB6K2js.PasskeyRename; exports.PasskeyRenameModule = _chunk6T6QB6K2js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6T6QB6K2js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6T6QB6K2js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6T6QB6K2js.PaymentMethod; exports.PermissionMappingModule = _chunk6T6QB6K2js.PermissionMappingModule; exports.Push = _chunk6T6QB6K2js.Push; exports.PushModule = _chunk6T6QB6K2js.PushModule; exports.PushService = _chunk6T6QB6K2js.PushService; exports.RbacMatrixModule = _chunk6T6QB6K2js.RbacMatrixModule; exports.ReferralModule = _chunk6T6QB6K2js.ReferralModule; exports.ReferralService = _chunk6T6QB6K2js.ReferralService; exports.ReferralStats = _chunk6T6QB6K2js.ReferralStats; exports.ReferralStatsModule = _chunk6T6QB6K2js.ReferralStatsModule; exports.RehydrationFactory = _chunk6T6QB6K2js.RehydrationFactory; exports.Role = _chunk6T6QB6K2js.Role; exports.RoleFields = _chunk6T6QB6K2js.RoleFields; exports.RoleModule = _chunk6T6QB6K2js.RoleModule; exports.RoleService = _chunk6T6QB6K2js.RoleService; exports.S3 = _chunk6T6QB6K2js.S3; exports.S3Module = _chunk6T6QB6K2js.S3Module; exports.S3Service = _chunk6T6QB6K2js.S3Service; exports.StripeCustomer = _chunk6T6QB6K2js.StripeCustomer; exports.StripeCustomerModule = _chunk6T6QB6K2js.StripeCustomerModule; exports.StripeCustomerService = _chunk6T6QB6K2js.StripeCustomerService; exports.StripeInvoice = _chunk6T6QB6K2js.StripeInvoice; exports.StripeInvoiceModule = _chunk6T6QB6K2js.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6T6QB6K2js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6T6QB6K2js.StripePaymentMethodModule; exports.StripePrice = _chunk6T6QB6K2js.StripePrice; exports.StripePriceFields = _chunk6T6QB6K2js.StripePriceFields; exports.StripePriceModule = _chunk6T6QB6K2js.StripePriceModule; exports.StripePriceService = _chunk6T6QB6K2js.StripePriceService; exports.StripeProduct = _chunk6T6QB6K2js.StripeProduct; exports.StripeProductFields = _chunk6T6QB6K2js.StripeProductFields; exports.StripeProductModule = _chunk6T6QB6K2js.StripeProductModule; exports.StripeProductService = _chunk6T6QB6K2js.StripeProductService; exports.StripePromotionCode = _chunk6T6QB6K2js.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6T6QB6K2js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6T6QB6K2js.StripePromotionCodeService; exports.StripeSubscription = _chunk6T6QB6K2js.StripeSubscription; exports.StripeSubscriptionModule = _chunk6T6QB6K2js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6T6QB6K2js.StripeSubscriptionService; exports.StripeUsage = _chunk6T6QB6K2js.StripeUsage; exports.StripeUsageModule = _chunk6T6QB6K2js.StripeUsageModule; exports.StripeUsageService = _chunk6T6QB6K2js.StripeUsageService; exports.SubscriptionStatus = _chunk6T6QB6K2js.SubscriptionStatus; exports.TableOptions = _chunk6T6QB6K2js.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6T6QB6K2js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6T6QB6K2js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6T6QB6K2js.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6T6QB6K2js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6T6QB6K2js.TotpAuthenticatorModule; exports.TotpSetup = _chunk6T6QB6K2js.TotpSetup; exports.TotpSetupModule = _chunk6T6QB6K2js.TotpSetupModule; exports.TotpVerify = _chunk6T6QB6K2js.TotpVerify; exports.TotpVerifyLogin = _chunk6T6QB6K2js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6T6QB6K2js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6T6QB6K2js.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6T6QB6K2js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6T6QB6K2js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6T6QB6K2js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6T6QB6K2js.TwoFactorEnableModule; exports.TwoFactorService = _chunk6T6QB6K2js.TwoFactorService; exports.TwoFactorStatus = _chunk6T6QB6K2js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6T6QB6K2js.TwoFactorStatusModule; exports.User = _chunk6T6QB6K2js.User; exports.UserFields = _chunk6T6QB6K2js.UserFields; exports.UserModule = _chunk6T6QB6K2js.UserModule; exports.UserService = _chunk6T6QB6K2js.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6T6QB6K2js.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6T6QB6K2js.Waitlist; exports.WaitlistModule = _chunk6T6QB6K2js.WaitlistModule; exports.WaitlistService = _chunk6T6QB6K2js.WaitlistService; exports.WaitlistStats = _chunk6T6QB6K2js.WaitlistStats; exports.WaitlistStatsModule = _chunk6T6QB6K2js.WaitlistStatsModule; exports.checkPermissions = _chunk6T6QB6K2js.checkPermissions; exports.checkPermissionsFromServer = _chunk6T6QB6K2js.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6T6QB6K2js.clearLastApiMeta; exports.clearLastApiTotal = _chunk6T6QB6K2js.clearLastApiTotal; exports.cn = _chunk6T6QB6K2js.cn; exports.composeRefs = _chunk6T6QB6K2js.composeRefs; exports.configureTokenUsage = _chunk6T6QB6K2js.configureTokenUsage; exports.createJsonApiInclusion = _chunk6T6QB6K2js.createJsonApiInclusion; exports.dismissToast = _chunk6T6QB6K2js.dismissToast; exports.entityObjectSchema = _chunk6T6QB6K2js.entityObjectSchema; exports.exists = _chunk6T6QB6K2js.exists; exports.formatCodiceFiscale = _chunk6T6QB6K2js.formatCodiceFiscale; exports.formatDate = _chunk6T6QB6K2js.formatDate; exports.formatLocalDate = _chunk6T6QB6K2js.formatLocalDate; exports.formatPartitaIva = _chunk6T6QB6K2js.formatPartitaIva; exports.getBootstrapper = _chunkW42MYR3Yjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6T6QB6K2js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6T6QB6K2js.getGlobalErrorHandler; exports.getIcon = _chunk6T6QB6K2js.getIcon; exports.getIconByModule = _chunk6T6QB6K2js.getIconByModule; exports.getIconByModuleName = _chunk6T6QB6K2js.getIconByModuleName; exports.getInitials = _chunk6T6QB6K2js.getInitials; exports.getLastApiMeta = _chunk6T6QB6K2js.getLastApiMeta; exports.getLastApiTotal = _chunk6T6QB6K2js.getLastApiTotal; exports.getLucideIcon = _chunk6T6QB6K2js.getLucideIcon; exports.getLucideIconByModule = _chunk6T6QB6K2js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6T6QB6K2js.getLucideIconByModuleName; exports.getTableComponents = _chunk6T6QB6K2js.getTableComponents; exports.getTableOptions = _chunk6T6QB6K2js.getTableOptions; exports.getTokenUsageCurrency = _chunk6T6QB6K2js.getTokenUsageCurrency; exports.getValueFromPath = _chunk6T6QB6K2js.getValueFromPath; exports.hasBootstrapper = _chunkW42MYR3Yjs.hasBootstrapper; exports.isRemoteImageSrc = _chunk6T6QB6K2js.isRemoteImageSrc; exports.rehydrate = _chunk6T6QB6K2js.rehydrate; exports.rehydrateList = _chunk6T6QB6K2js.rehydrateList; exports.resetBootstrapStore = _chunkW42MYR3Yjs.resetBootstrapStore; exports.setBootstrapper = _chunkW42MYR3Yjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6T6QB6K2js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6T6QB6K2js.setGlobalErrorHandler; exports.showCustomToast = _chunk6T6QB6K2js.showCustomToast; exports.showError = _chunk6T6QB6K2js.showError; exports.showToast = _chunk6T6QB6K2js.showToast; exports.tokenUsageModules = _chunk6T6QB6K2js.tokenUsageModules; exports.translateData = _chunkW42MYR3Yjs.translateData; exports.translateResponse = _chunkW42MYR3Yjs.translateResponse; exports.tryBootstrap = _chunkW42MYR3Yjs.tryBootstrap; exports.useComposedRefs = _chunk6T6QB6K2js.useComposedRefs; exports.useIsMobile = _chunk6T6QB6K2js.useIsMobile; exports.userObjectSchema = _chunk6T6QB6K2js.userObjectSchema; exports.validateCodiceFiscale = _chunk6T6QB6K2js.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6T6QB6K2js.validateItalianTaxCode; exports.validatePartitaIva = _chunk6T6QB6K2js.validatePartitaIva;
431
433
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,mnZAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,isZAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -31,6 +31,7 @@ import {
31
31
  BillingService,
32
32
  BlockNoteDiffUtil,
33
33
  BlockNoteWordDiffRendererUtil,
34
+ CURRENT_USER_STORAGE_KEY,
34
35
  Chunk,
35
36
  ChunkModule,
36
37
  ClientAbstractService,
@@ -199,7 +200,7 @@ import {
199
200
  validateCodiceFiscale,
200
201
  validateItalianTaxCode,
201
202
  validatePartitaIva
202
- } from "../chunk-KW6LYVFJ.mjs";
203
+ } from "../chunk-G6B7RZWJ.mjs";
203
204
  import "../chunk-AUXK7QSA.mjs";
204
205
  import "../chunk-C7C7VY4F.mjs";
205
206
  import {
@@ -248,6 +249,7 @@ export {
248
249
  BillingService,
249
250
  BlockNoteDiffUtil,
250
251
  BlockNoteWordDiffRendererUtil,
252
+ CURRENT_USER_STORAGE_KEY,
251
253
  Chunk,
252
254
  ChunkModule,
253
255
  ClientAbstractService,
@@ -23,13 +23,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk2PEPIH26js = require('../../chunk-2PEPIH26.js');
26
+ var _chunkPXXVAY7Njs = require('../../chunk-PXXVAY7N.js');
27
27
 
28
28
 
29
- var _chunkOHG2YWNAjs = require('../../chunk-OHG2YWNA.js');
29
+ var _chunkX2MQ3WHXjs = require('../../chunk-X2MQ3WHX.js');
30
30
 
31
31
 
32
- var _chunkS2C5V2XZjs = require('../../chunk-S2C5V2XZ.js');
32
+ var _chunk6T6QB6K2js = require('../../chunk-6T6QB6K2.js');
33
33
  require('../../chunk-LXKSUWAV.js');
34
34
  require('../../chunk-IBS6NI7D.js');
35
35
  require('../../chunk-W42MYR3Y.js');
@@ -43,7 +43,7 @@ var _react = require('react');
43
43
  var _jsxruntime = require('react/jsx-runtime');
44
44
  var HelpContext = _react.createContext.call(void 0, null);
45
45
  function HelpProvider({ children }) {
46
- const cfg = _chunkOHG2YWNAjs._getStaticHelpContent.call(void 0, );
46
+ const cfg = _chunkX2MQ3WHXjs._getStaticHelpContent.call(void 0, );
47
47
  if (!cfg) {
48
48
  throw new Error(
49
49
  "Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
@@ -75,29 +75,29 @@ var _lucidereact = require('lucide-react');
75
75
 
76
76
 
77
77
  function HelpAssistantSheet({ open, onOpenChange }) {
78
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
79
- _chunk2PEPIH26js.SheetContent,
78
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
79
+ _chunkPXXVAY7Njs.SheetContent,
80
80
  {
81
81
  side: "right",
82
82
  className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
83
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
83
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
84
84
  }
85
85
  ) });
86
86
  }
87
87
  _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
88
88
  function HelpAssistantSheetBody() {
89
89
  const t = _nextintl.useTranslations.call(void 0, );
90
- const ctx = _chunk2PEPIH26js.useAssistantContext.call(void 0, );
90
+ const ctx = _chunkPXXVAY7Njs.useAssistantContext.call(void 0, );
91
91
  const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
92
92
  const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
93
93
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
94
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2PEPIH26js.SheetHeader, { children: [
95
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.SheetTitle, { children: t("help.askAi.sheet.title") }),
96
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
94
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPXXVAY7Njs.SheetHeader, { children: [
95
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.SheetTitle, { children: t("help.askAi.sheet.title") }),
96
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
97
97
  ] }),
98
- !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
98
+ !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
99
99
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
100
- _chunk2PEPIH26js.AssistantThread,
100
+ _chunkPXXVAY7Njs.AssistantThread,
101
101
  {
102
102
  messages: ctx.messages,
103
103
  sending: ctx.sending,
@@ -107,7 +107,7 @@ function HelpAssistantSheetBody() {
107
107
  onRetry: ctx.retrySend
108
108
  }
109
109
  ),
110
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.AssistantComposer, { onSend: send, disabled: ctx.sending })
110
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.AssistantComposer, { onSend: send, disabled: ctx.sending })
111
111
  ] })
112
112
  ] });
113
113
  }
@@ -117,20 +117,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
117
117
 
118
118
  function HelpAskAi() {
119
119
  const t = _nextintl.useTranslations.call(void 0, );
120
- const { currentUser } = _chunk2PEPIH26js.useCurrentUserContext.call(void 0, );
120
+ const { currentUser } = _chunkPXXVAY7Njs.useCurrentUserContext.call(void 0, );
121
121
  const [open, setOpen] = _react.useState.call(void 0, false);
122
122
  const disabled = !currentUser;
123
123
  if (disabled) {
124
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2PEPIH26js.Tooltip, { children: [
125
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2PEPIH26js.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.Button, { variant: "outline", size: "sm", disabled: true }), children: [
124
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPXXVAY7Njs.Tooltip, { children: [
125
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPXXVAY7Njs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
126
126
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
127
127
  t("help.askAi.button")
128
128
  ] }),
129
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.TooltipContent, { children: t("help.askAi.loginTooltip") })
129
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.TooltipContent, { children: t("help.askAi.loginTooltip") })
130
130
  ] });
131
131
  }
132
132
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
133
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2PEPIH26js.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
133
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPXXVAY7Njs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
134
134
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
135
135
  t("help.askAi.button")
136
136
  ] }),
@@ -143,7 +143,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
143
143
 
144
144
  function HelpHeader() {
145
145
  const t = _nextintl.useTranslations.call(void 0, );
146
- const { currentUser } = _chunk2PEPIH26js.useCurrentUserContext.call(void 0, );
146
+ const { currentUser } = _chunkPXXVAY7Njs.useCurrentUserContext.call(void 0, );
147
147
  const { brand } = useHelp();
148
148
  const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
149
149
  const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
@@ -159,7 +159,7 @@ function HelpHeader() {
159
159
  ] }),
160
160
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
161
161
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
162
- currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className: _chunk2PEPIH26js.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunk2PEPIH26js.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.login") })
162
+ currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className: _chunkPXXVAY7Njs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunkPXXVAY7Njs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.login") })
163
163
  ] })
164
164
  ] });
165
165
  }
@@ -201,12 +201,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
201
201
 
202
202
  function HelpSideNav() {
203
203
  const t = _nextintl.useTranslations.call(void 0, );
204
- const generateUrl = _chunk2PEPIH26js.usePageUrlGenerator.call(void 0, );
204
+ const generateUrl = _chunkPXXVAY7Njs.usePageUrlGenerator.call(void 0, );
205
205
  const pathname = _navigation.usePathname.call(void 0, );
206
206
  const [articles, setArticles] = _react.useState.call(void 0, []);
207
207
  _react.useEffect.call(void 0, () => {
208
208
  let active = true;
209
- _chunkS2C5V2XZjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
209
+ _chunk6T6QB6K2js.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
210
210
  return () => {
211
211
  active = false;
212
212
  };
@@ -282,7 +282,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
282
282
  function HelpArticleBody(props) {
283
283
  const t = _nextintl.useTranslations.call(void 0, );
284
284
  const format = _nextintl.useFormatter.call(void 0, );
285
- const generateUrl = _chunk2PEPIH26js.usePageUrlGenerator.call(void 0, );
285
+ const generateUrl = _chunkPXXVAY7Njs.usePageUrlGenerator.call(void 0, );
286
286
  const { howToType, title, summary, updatedAt, prev, next, children } = props;
287
287
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
@@ -339,7 +339,7 @@ function HelpTOC({ headings }) {
339
339
  }, [headings]);
340
340
  if (headings.length === 0) return null;
341
341
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { "aria-label": t("help.toc.title"), className: "hidden lg:block", children: [
342
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
342
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
343
343
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-1 text-sm", children: headings.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { style: { paddingLeft: `${(h.depth - 2) * 0.75}rem` }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
344
344
  "a",
345
345
  {
@@ -360,13 +360,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
360
360
 
361
361
  function HelpHint({ contextKey }) {
362
362
  const t = _nextintl.useTranslations.call(void 0, );
363
- const generateUrl = _chunk2PEPIH26js.usePageUrlGenerator.call(void 0, );
363
+ const generateUrl = _chunkPXXVAY7Njs.usePageUrlGenerator.call(void 0, );
364
364
  const [open, setOpen] = _react.useState.call(void 0, false);
365
365
  const [picked, setPicked] = _react.useState.call(void 0, null);
366
366
  const [articles, setArticles] = _react.useState.call(void 0, []);
367
367
  _react.useEffect.call(void 0, () => {
368
368
  let active2 = true;
369
- _chunkS2C5V2XZjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
369
+ _chunk6T6QB6K2js.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
370
370
  return () => {
371
371
  active2 = false;
372
372
  };
@@ -378,7 +378,7 @@ function HelpHint({ contextKey }) {
378
378
  if (matches.length === 0) return null;
379
379
  const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
380
380
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
381
- _chunk2PEPIH26js.Sheet,
381
+ _chunkPXXVAY7Njs.Sheet,
382
382
  {
383
383
  open,
384
384
  onOpenChange: (o) => {
@@ -386,11 +386,11 @@ function HelpHint({ contextKey }) {
386
386
  if (!o) setPicked(null);
387
387
  },
388
388
  children: [
389
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
390
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2PEPIH26js.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
391
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2PEPIH26js.SheetHeader, { children: [
392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
393
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
389
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
390
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPXXVAY7Njs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
391
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPXXVAY7Njs.SheetHeader, { children: [
392
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
393
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
394
394
  ] }),
395
395
  active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
396
396
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
@@ -422,18 +422,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
422
422
 
423
423
  function HelpSearchResultRow({ result, onSelect }) {
424
424
  const t = _nextintl.useTranslations.call(void 0, );
425
- const generateUrl = _chunk2PEPIH26js.usePageUrlGenerator.call(void 0, );
425
+ const generateUrl = _chunkPXXVAY7Njs.usePageUrlGenerator.call(void 0, );
426
426
  const [article, setArticle] = _react.useState.call(void 0, null);
427
427
  _react.useEffect.call(void 0, () => {
428
428
  let active = true;
429
- _chunkS2C5V2XZjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
429
+ _chunk6T6QB6K2js.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
430
430
  return () => {
431
431
  active = false;
432
432
  };
433
433
  }, [result.id]);
434
434
  if (!article) {
435
435
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
436
- _chunk2PEPIH26js.CommandItem,
436
+ _chunkPXXVAY7Njs.CommandItem,
437
437
  {
438
438
  value: result.id,
439
439
  disabled: true,
@@ -442,7 +442,7 @@ function HelpSearchResultRow({ result, onSelect }) {
442
442
  }
443
443
  );
444
444
  }
445
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2PEPIH26js.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
445
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPXXVAY7Njs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
446
446
  _link2.default,
447
447
  {
448
448
  href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
@@ -23,13 +23,13 @@ import {
23
23
  useAssistantContext,
24
24
  useCurrentUserContext,
25
25
  usePageUrlGenerator
26
- } from "../../chunk-SVCOFVQF.mjs";
26
+ } from "../../chunk-JBTGGZ3K.mjs";
27
27
  import {
28
28
  _getStaticHelpContent
29
- } from "../../chunk-RUEY6XSS.mjs";
29
+ } from "../../chunk-RZDY4CIF.mjs";
30
30
  import {
31
31
  HowToService
32
- } from "../../chunk-KW6LYVFJ.mjs";
32
+ } from "../../chunk-G6B7RZWJ.mjs";
33
33
  import "../../chunk-AUXK7QSA.mjs";
34
34
  import "../../chunk-C7C7VY4F.mjs";
35
35
  import "../../chunk-RVASYIQG.mjs";