@carlonicora/nextjs-jsonapi 3.0.1 → 3.1.1

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 (90) hide show
  1. package/dist/AbstractApiData-DtitRWPz.d.ts +47 -0
  2. package/dist/AbstractApiData-XLhBP5Tl.d.mts +47 -0
  3. package/dist/{BlockNoteEditor-G4XNDV2O.mjs → BlockNoteEditor-FIMPVA7K.mjs} +5 -5
  4. package/dist/{BlockNoteEditor-3IZ7PMFM.js → BlockNoteEditor-GJPTMKS7.js} +20 -20
  5. package/dist/{BlockNoteEditor-3IZ7PMFM.js.map → BlockNoteEditor-GJPTMKS7.js.map} +1 -1
  6. package/dist/{JsonApiRequest-3UWVIIFL.mjs → JsonApiRequest-2OQCZAK6.mjs} +2 -2
  7. package/dist/JsonApiRequest-6TYNBVUL.js +26 -0
  8. package/dist/{JsonApiRequest-QRU3IPIU.js.map → JsonApiRequest-6TYNBVUL.js.map} +1 -1
  9. package/dist/ai-connection.module-28f-hux0.d.mts +255 -0
  10. package/dist/ai-connection.module-Bqwh_DnR.d.ts +255 -0
  11. package/dist/billing/index.js +399 -399
  12. package/dist/billing/index.mjs +4 -4
  13. package/dist/{chunk-TWXKAY34.mjs → chunk-CGJW7ZZM.mjs} +310 -5
  14. package/dist/chunk-CGJW7ZZM.mjs.map +1 -0
  15. package/dist/{chunk-E5YA5Z5X.mjs → chunk-CMGXH5SA.mjs} +2 -1
  16. package/dist/chunk-CMGXH5SA.mjs.map +1 -0
  17. package/dist/{chunk-5GVBUTS4.js → chunk-E5FWGOP5.js} +1454 -794
  18. package/dist/chunk-E5FWGOP5.js.map +1 -0
  19. package/dist/{chunk-JKGEJGSD.js → chunk-H7DOSB7W.js} +9 -9
  20. package/dist/{chunk-JKGEJGSD.js.map → chunk-H7DOSB7W.js.map} +1 -1
  21. package/dist/{chunk-FPO4DLZN.js → chunk-PFAZPP54.js} +2 -1
  22. package/dist/chunk-PFAZPP54.js.map +1 -0
  23. package/dist/{chunk-WCX4CLRJ.mjs → chunk-VUMM7V5G.mjs} +1740 -1080
  24. package/dist/chunk-VUMM7V5G.mjs.map +1 -0
  25. package/dist/{chunk-53B6NPGA.js → chunk-YUXCJ35V.js} +377 -72
  26. package/dist/chunk-YUXCJ35V.js.map +1 -0
  27. package/dist/{chunk-PHEFWL6L.mjs → chunk-ZMYZFQN3.mjs} +3 -3
  28. package/dist/client/index.js +5 -5
  29. package/dist/client/index.mjs +4 -4
  30. package/dist/components/index.d.mts +122 -4
  31. package/dist/components/index.d.ts +122 -4
  32. package/dist/components/index.js +31 -5
  33. package/dist/components/index.js.map +1 -1
  34. package/dist/components/index.mjs +30 -4
  35. package/dist/{config-BIjrg5wd.d.ts → config-B6UB7j69.d.ts} +1 -46
  36. package/dist/{config-BRUjtCd1.d.mts → config-n-ZpPmOL.d.mts} +1 -46
  37. package/dist/contexts/index.js +5 -5
  38. package/dist/contexts/index.mjs +4 -4
  39. package/dist/core/index.d.mts +5 -4
  40. package/dist/core/index.d.ts +5 -4
  41. package/dist/core/index.js +11 -3
  42. package/dist/core/index.js.map +1 -1
  43. package/dist/core/index.mjs +10 -2
  44. package/dist/features/help/index.js +38 -38
  45. package/dist/features/help/index.mjs +4 -4
  46. package/dist/features/tokenusage/index.d.mts +2 -2
  47. package/dist/features/tokenusage/index.d.ts +2 -2
  48. package/dist/features/tokenusage/index.js +102 -102
  49. package/dist/features/tokenusage/index.mjs +4 -4
  50. package/dist/index.d.mts +3 -3
  51. package/dist/index.d.ts +3 -3
  52. package/dist/index.js +12 -4
  53. package/dist/index.js.map +1 -1
  54. package/dist/index.mjs +11 -3
  55. package/dist/server/index.js +12 -12
  56. package/dist/server/index.mjs +2 -2
  57. package/package.json +1 -1
  58. package/src/components/index.ts +1 -0
  59. package/src/components/tables/ContentListTable.tsx +1 -1
  60. package/src/core/index.ts +5 -0
  61. package/src/core/registry/ModuleRegistry.ts +2 -0
  62. package/src/core/utils/translateResponse.ts +6 -0
  63. package/src/features/administration/components/AdminIndexContainer.tsx +9 -2
  64. package/src/features/ai-connection/ai-connection.module.ts +14 -0
  65. package/src/features/ai-connection/components/containers/AiConnectionsContainer.tsx +109 -0
  66. package/src/features/ai-connection/components/forms/AiConnectionDeleter.tsx +58 -0
  67. package/src/features/ai-connection/components/forms/AiConnectionEditor.tsx +329 -0
  68. package/src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx +223 -0
  69. package/src/features/ai-connection/contexts/AiConnectionsContext.tsx +111 -0
  70. package/src/features/ai-connection/data/__tests__/ai-connection.test.ts +202 -0
  71. package/src/features/ai-connection/data/ai-connection.fields.ts +6 -0
  72. package/src/features/ai-connection/data/ai-connection.interface.ts +87 -0
  73. package/src/features/ai-connection/data/ai-connection.service.ts +90 -0
  74. package/src/features/ai-connection/data/ai-connection.ts +244 -0
  75. package/src/features/ai-connection/data/index.ts +4 -0
  76. package/src/features/ai-connection/i18n-keys.ts +66 -0
  77. package/src/features/ai-connection/index.ts +11 -0
  78. package/src/features/index.ts +1 -0
  79. package/dist/AuthComponent-Cik96ElA.d.mts +0 -56
  80. package/dist/AuthComponent-DTTKu3VK.d.ts +0 -56
  81. package/dist/JsonApiRequest-QRU3IPIU.js +0 -26
  82. package/dist/chunk-53B6NPGA.js.map +0 -1
  83. package/dist/chunk-5GVBUTS4.js.map +0 -1
  84. package/dist/chunk-E5YA5Z5X.mjs.map +0 -1
  85. package/dist/chunk-FPO4DLZN.js.map +0 -1
  86. package/dist/chunk-TWXKAY34.mjs.map +0 -1
  87. package/dist/chunk-WCX4CLRJ.mjs.map +0 -1
  88. /package/dist/{BlockNoteEditor-G4XNDV2O.mjs.map → BlockNoteEditor-FIMPVA7K.mjs.map} +0 -0
  89. /package/dist/{JsonApiRequest-3UWVIIFL.mjs.map → JsonApiRequest-2OQCZAK6.mjs.map} +0 -0
  90. /package/dist/{chunk-PHEFWL6L.mjs.map → chunk-ZMYZFQN3.mjs.map} +0 -0
@@ -195,7 +195,11 @@
195
195
 
196
196
 
197
197
 
198
- var _chunk53B6NPGAjs = require('../chunk-53B6NPGA.js');
198
+
199
+
200
+
201
+
202
+ var _chunkYUXCJ35Vjs = require('../chunk-YUXCJ35V.js');
199
203
  require('../chunk-LXKSUWAV.js');
200
204
  require('../chunk-IBS6NI7D.js');
201
205
 
@@ -208,7 +212,7 @@ require('../chunk-IBS6NI7D.js');
208
212
 
209
213
 
210
214
 
211
- var _chunkFPO4DLZNjs = require('../chunk-FPO4DLZN.js');
215
+ var _chunkPFAZPP54js = require('../chunk-PFAZPP54.js');
212
216
  require('../chunk-7QVYU63E.js');
213
217
 
214
218
 
@@ -417,5 +421,9 @@ require('../chunk-7QVYU63E.js');
417
421
 
418
422
 
419
423
 
420
- exports.AVAILABLE_OAUTH_SCOPES = _chunk53B6NPGAjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk53B6NPGAjs.AbstractApiData; exports.AbstractService = _chunk53B6NPGAjs.AbstractService; exports.Action = _chunk53B6NPGAjs.Action; exports.Assistant = _chunk53B6NPGAjs.Assistant; exports.AssistantAction = _chunk53B6NPGAjs.AssistantAction; exports.AssistantActionModule = _chunk53B6NPGAjs.AssistantActionModule; exports.AssistantActionService = _chunk53B6NPGAjs.AssistantActionService; exports.AssistantMessage = _chunk53B6NPGAjs.AssistantMessage; exports.AssistantMessageModule = _chunk53B6NPGAjs.AssistantMessageModule; exports.AssistantMessageService = _chunk53B6NPGAjs.AssistantMessageService; exports.AssistantModule = _chunk53B6NPGAjs.AssistantModule; exports.AssistantService = _chunk53B6NPGAjs.AssistantService; exports.AuditLog = _chunk53B6NPGAjs.AuditLog; exports.AuditLogModule = _chunk53B6NPGAjs.AuditLogModule; exports.AuditLogService = _chunk53B6NPGAjs.AuditLogService; exports.Auth = _chunk53B6NPGAjs.Auth; exports.AuthComponent = _chunk53B6NPGAjs.AuthComponent; exports.AuthModule = _chunk53B6NPGAjs.AuthModule; exports.AuthService = _chunk53B6NPGAjs.AuthService; exports.AuthorModule = _chunk53B6NPGAjs.AuthorModule; exports.BackupCodeVerify = _chunk53B6NPGAjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk53B6NPGAjs.BackupCodeVerifyModule; exports.Billing = _chunk53B6NPGAjs.Billing; exports.BillingModule = _chunk53B6NPGAjs.BillingModule; exports.BillingService = _chunk53B6NPGAjs.BillingService; exports.BlockNoteDiffUtil = _chunk53B6NPGAjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk53B6NPGAjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunk53B6NPGAjs.Chunk; exports.ChunkModule = _chunk53B6NPGAjs.ChunkModule; exports.ClientAbstractService = _chunk53B6NPGAjs.ClientAbstractService; exports.ClientHttpMethod = _chunk53B6NPGAjs.ClientHttpMethod; exports.Company = _chunk53B6NPGAjs.Company; exports.CompanyFields = _chunk53B6NPGAjs.CompanyFields; exports.CompanyModule = _chunk53B6NPGAjs.CompanyModule; exports.CompanyService = _chunk53B6NPGAjs.CompanyService; exports.Content = _chunk53B6NPGAjs.Content; exports.ContentFields = _chunk53B6NPGAjs.ContentFields; exports.ContentModule = _chunk53B6NPGAjs.ContentModule; exports.ContentService = _chunk53B6NPGAjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk53B6NPGAjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFPO4DLZNjs.DataClassRegistry; exports.DataClassRegistry = _chunkFPO4DLZNjs.DataClassRegistry; exports.EndpointCreator = _chunk53B6NPGAjs.EndpointCreator; exports.EntityAiStatus = _chunk53B6NPGAjs.EntityAiStatus; exports.Feature = _chunk53B6NPGAjs.Feature; exports.FeatureModule = _chunk53B6NPGAjs.FeatureModule; exports.FeatureService = _chunk53B6NPGAjs.FeatureService; exports.HowTo = _chunk53B6NPGAjs.HowTo; exports.HowToFields = _chunk53B6NPGAjs.HowToFields; exports.HowToModule = _chunk53B6NPGAjs.HowToModule; exports.HowToService = _chunk53B6NPGAjs.HowToService; exports.HttpMethod = _chunk53B6NPGAjs.HttpMethod; exports.InvoiceStatus = _chunk53B6NPGAjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFPO4DLZNjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk53B6NPGAjs.MOBILE_BREAKPOINT; exports.Module = _chunk53B6NPGAjs.Module; exports.ModuleModule = _chunk53B6NPGAjs.ModuleModule; exports.ModulePathsModule = _chunk53B6NPGAjs.ModulePathsModule; exports.ModuleRegistrar = _chunk53B6NPGAjs.ModuleRegistrar; exports.ModuleRegistry = _chunk53B6NPGAjs.ModuleRegistry; exports.Modules = _chunk53B6NPGAjs.Modules; exports.Notification = _chunk53B6NPGAjs.Notification; exports.NotificationFields = _chunk53B6NPGAjs.NotificationFields; exports.NotificationModule = _chunk53B6NPGAjs.NotificationModule; exports.NotificationService = _chunk53B6NPGAjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk53B6NPGAjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk53B6NPGAjs.OAuthClient; exports.OAuthModule = _chunk53B6NPGAjs.OAuthModule; exports.OAuthService = _chunk53B6NPGAjs.OAuthService; exports.Passkey = _chunk53B6NPGAjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk53B6NPGAjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk53B6NPGAjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk53B6NPGAjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk53B6NPGAjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk53B6NPGAjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk53B6NPGAjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk53B6NPGAjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk53B6NPGAjs.PasskeyRename; exports.PasskeyRenameModule = _chunk53B6NPGAjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk53B6NPGAjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk53B6NPGAjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk53B6NPGAjs.PaymentMethod; exports.PermissionMappingModule = _chunk53B6NPGAjs.PermissionMappingModule; exports.Push = _chunk53B6NPGAjs.Push; exports.PushModule = _chunk53B6NPGAjs.PushModule; exports.PushService = _chunk53B6NPGAjs.PushService; exports.RbacMatrixModule = _chunk53B6NPGAjs.RbacMatrixModule; exports.ReferralModule = _chunk53B6NPGAjs.ReferralModule; exports.ReferralService = _chunk53B6NPGAjs.ReferralService; exports.ReferralStats = _chunk53B6NPGAjs.ReferralStats; exports.ReferralStatsModule = _chunk53B6NPGAjs.ReferralStatsModule; exports.RehydrationFactory = _chunk53B6NPGAjs.RehydrationFactory; exports.Role = _chunk53B6NPGAjs.Role; exports.RoleFields = _chunk53B6NPGAjs.RoleFields; exports.RoleModule = _chunk53B6NPGAjs.RoleModule; exports.RoleService = _chunk53B6NPGAjs.RoleService; exports.S3 = _chunk53B6NPGAjs.S3; exports.S3Module = _chunk53B6NPGAjs.S3Module; exports.S3Service = _chunk53B6NPGAjs.S3Service; exports.StripeCustomer = _chunk53B6NPGAjs.StripeCustomer; exports.StripeCustomerModule = _chunk53B6NPGAjs.StripeCustomerModule; exports.StripeCustomerService = _chunk53B6NPGAjs.StripeCustomerService; exports.StripeInvoice = _chunk53B6NPGAjs.StripeInvoice; exports.StripeInvoiceModule = _chunk53B6NPGAjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk53B6NPGAjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk53B6NPGAjs.StripePaymentMethodModule; exports.StripePrice = _chunk53B6NPGAjs.StripePrice; exports.StripePriceFields = _chunk53B6NPGAjs.StripePriceFields; exports.StripePriceModule = _chunk53B6NPGAjs.StripePriceModule; exports.StripePriceService = _chunk53B6NPGAjs.StripePriceService; exports.StripeProduct = _chunk53B6NPGAjs.StripeProduct; exports.StripeProductFields = _chunk53B6NPGAjs.StripeProductFields; exports.StripeProductModule = _chunk53B6NPGAjs.StripeProductModule; exports.StripeProductService = _chunk53B6NPGAjs.StripeProductService; exports.StripePromotionCode = _chunk53B6NPGAjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk53B6NPGAjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk53B6NPGAjs.StripePromotionCodeService; exports.StripeSubscription = _chunk53B6NPGAjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk53B6NPGAjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk53B6NPGAjs.StripeSubscriptionService; exports.StripeUsage = _chunk53B6NPGAjs.StripeUsage; exports.StripeUsageModule = _chunk53B6NPGAjs.StripeUsageModule; exports.StripeUsageService = _chunk53B6NPGAjs.StripeUsageService; exports.SubscriptionStatus = _chunk53B6NPGAjs.SubscriptionStatus; exports.TableOptions = _chunk53B6NPGAjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk53B6NPGAjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk53B6NPGAjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk53B6NPGAjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk53B6NPGAjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk53B6NPGAjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk53B6NPGAjs.TotpSetup; exports.TotpSetupModule = _chunk53B6NPGAjs.TotpSetupModule; exports.TotpVerify = _chunk53B6NPGAjs.TotpVerify; exports.TotpVerifyLogin = _chunk53B6NPGAjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk53B6NPGAjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk53B6NPGAjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk53B6NPGAjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk53B6NPGAjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk53B6NPGAjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk53B6NPGAjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk53B6NPGAjs.TwoFactorService; exports.TwoFactorStatus = _chunk53B6NPGAjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk53B6NPGAjs.TwoFactorStatusModule; exports.User = _chunk53B6NPGAjs.User; exports.UserFields = _chunk53B6NPGAjs.UserFields; exports.UserModule = _chunk53B6NPGAjs.UserModule; exports.UserService = _chunk53B6NPGAjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk53B6NPGAjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk53B6NPGAjs.Waitlist; exports.WaitlistModule = _chunk53B6NPGAjs.WaitlistModule; exports.WaitlistService = _chunk53B6NPGAjs.WaitlistService; exports.WaitlistStats = _chunk53B6NPGAjs.WaitlistStats; exports.WaitlistStatsModule = _chunk53B6NPGAjs.WaitlistStatsModule; exports.checkPermissions = _chunk53B6NPGAjs.checkPermissions; exports.checkPermissionsFromServer = _chunk53B6NPGAjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk53B6NPGAjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk53B6NPGAjs.clearLastApiTotal; exports.cn = _chunk53B6NPGAjs.cn; exports.composeRefs = _chunk53B6NPGAjs.composeRefs; exports.configureTokenUsage = _chunk53B6NPGAjs.configureTokenUsage; exports.createJsonApiInclusion = _chunk53B6NPGAjs.createJsonApiInclusion; exports.dismissToast = _chunk53B6NPGAjs.dismissToast; exports.entityObjectSchema = _chunk53B6NPGAjs.entityObjectSchema; exports.exists = _chunk53B6NPGAjs.exists; exports.formatCodiceFiscale = _chunk53B6NPGAjs.formatCodiceFiscale; exports.formatDate = _chunk53B6NPGAjs.formatDate; exports.formatLocalDate = _chunk53B6NPGAjs.formatLocalDate; exports.formatPartitaIva = _chunk53B6NPGAjs.formatPartitaIva; exports.getBootstrapper = _chunkFPO4DLZNjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk53B6NPGAjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk53B6NPGAjs.getGlobalErrorHandler; exports.getIcon = _chunk53B6NPGAjs.getIcon; exports.getIconByModule = _chunk53B6NPGAjs.getIconByModule; exports.getIconByModuleName = _chunk53B6NPGAjs.getIconByModuleName; exports.getInitials = _chunk53B6NPGAjs.getInitials; exports.getLastApiMeta = _chunk53B6NPGAjs.getLastApiMeta; exports.getLastApiTotal = _chunk53B6NPGAjs.getLastApiTotal; exports.getLucideIcon = _chunk53B6NPGAjs.getLucideIcon; exports.getLucideIconByModule = _chunk53B6NPGAjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk53B6NPGAjs.getLucideIconByModuleName; exports.getTableComponents = _chunk53B6NPGAjs.getTableComponents; exports.getTableOptions = _chunk53B6NPGAjs.getTableOptions; exports.getTokenUsageCurrency = _chunk53B6NPGAjs.getTokenUsageCurrency; exports.getValueFromPath = _chunk53B6NPGAjs.getValueFromPath; exports.hasBootstrapper = _chunkFPO4DLZNjs.hasBootstrapper; exports.isRemoteImageSrc = _chunk53B6NPGAjs.isRemoteImageSrc; exports.rehydrate = _chunk53B6NPGAjs.rehydrate; exports.rehydrateList = _chunk53B6NPGAjs.rehydrateList; exports.resetBootstrapStore = _chunkFPO4DLZNjs.resetBootstrapStore; exports.setBootstrapper = _chunkFPO4DLZNjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk53B6NPGAjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk53B6NPGAjs.setGlobalErrorHandler; exports.showCustomToast = _chunk53B6NPGAjs.showCustomToast; exports.showError = _chunk53B6NPGAjs.showError; exports.showToast = _chunk53B6NPGAjs.showToast; exports.tokenUsageModules = _chunk53B6NPGAjs.tokenUsageModules; exports.translateData = _chunkFPO4DLZNjs.translateData; exports.translateResponse = _chunkFPO4DLZNjs.translateResponse; exports.tryBootstrap = _chunkFPO4DLZNjs.tryBootstrap; exports.useComposedRefs = _chunk53B6NPGAjs.useComposedRefs; exports.useIsMobile = _chunk53B6NPGAjs.useIsMobile; exports.userObjectSchema = _chunk53B6NPGAjs.userObjectSchema; exports.validateCodiceFiscale = _chunk53B6NPGAjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk53B6NPGAjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk53B6NPGAjs.validatePartitaIva;
424
+
425
+
426
+
427
+
428
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkYUXCJ35Vjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkYUXCJ35Vjs.AbstractApiData; exports.AbstractService = _chunkYUXCJ35Vjs.AbstractService; exports.Action = _chunkYUXCJ35Vjs.Action; exports.AiConnection = _chunkYUXCJ35Vjs.AiConnection; exports.AiConnectionFields = _chunkYUXCJ35Vjs.AiConnectionFields; exports.AiConnectionModule = _chunkYUXCJ35Vjs.AiConnectionModule; exports.AiConnectionService = _chunkYUXCJ35Vjs.AiConnectionService; exports.Assistant = _chunkYUXCJ35Vjs.Assistant; exports.AssistantAction = _chunkYUXCJ35Vjs.AssistantAction; exports.AssistantActionModule = _chunkYUXCJ35Vjs.AssistantActionModule; exports.AssistantActionService = _chunkYUXCJ35Vjs.AssistantActionService; exports.AssistantMessage = _chunkYUXCJ35Vjs.AssistantMessage; exports.AssistantMessageModule = _chunkYUXCJ35Vjs.AssistantMessageModule; exports.AssistantMessageService = _chunkYUXCJ35Vjs.AssistantMessageService; exports.AssistantModule = _chunkYUXCJ35Vjs.AssistantModule; exports.AssistantService = _chunkYUXCJ35Vjs.AssistantService; exports.AuditLog = _chunkYUXCJ35Vjs.AuditLog; exports.AuditLogModule = _chunkYUXCJ35Vjs.AuditLogModule; exports.AuditLogService = _chunkYUXCJ35Vjs.AuditLogService; exports.Auth = _chunkYUXCJ35Vjs.Auth; exports.AuthComponent = _chunkYUXCJ35Vjs.AuthComponent; exports.AuthModule = _chunkYUXCJ35Vjs.AuthModule; exports.AuthService = _chunkYUXCJ35Vjs.AuthService; exports.AuthorModule = _chunkYUXCJ35Vjs.AuthorModule; exports.BackupCodeVerify = _chunkYUXCJ35Vjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkYUXCJ35Vjs.BackupCodeVerifyModule; exports.Billing = _chunkYUXCJ35Vjs.Billing; exports.BillingModule = _chunkYUXCJ35Vjs.BillingModule; exports.BillingService = _chunkYUXCJ35Vjs.BillingService; exports.BlockNoteDiffUtil = _chunkYUXCJ35Vjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkYUXCJ35Vjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkYUXCJ35Vjs.Chunk; exports.ChunkModule = _chunkYUXCJ35Vjs.ChunkModule; exports.ClientAbstractService = _chunkYUXCJ35Vjs.ClientAbstractService; exports.ClientHttpMethod = _chunkYUXCJ35Vjs.ClientHttpMethod; exports.Company = _chunkYUXCJ35Vjs.Company; exports.CompanyFields = _chunkYUXCJ35Vjs.CompanyFields; exports.CompanyModule = _chunkYUXCJ35Vjs.CompanyModule; exports.CompanyService = _chunkYUXCJ35Vjs.CompanyService; exports.Content = _chunkYUXCJ35Vjs.Content; exports.ContentFields = _chunkYUXCJ35Vjs.ContentFields; exports.ContentModule = _chunkYUXCJ35Vjs.ContentModule; exports.ContentService = _chunkYUXCJ35Vjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkYUXCJ35Vjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkPFAZPP54js.DataClassRegistry; exports.DataClassRegistry = _chunkPFAZPP54js.DataClassRegistry; exports.EndpointCreator = _chunkYUXCJ35Vjs.EndpointCreator; exports.EntityAiStatus = _chunkYUXCJ35Vjs.EntityAiStatus; exports.Feature = _chunkYUXCJ35Vjs.Feature; exports.FeatureModule = _chunkYUXCJ35Vjs.FeatureModule; exports.FeatureService = _chunkYUXCJ35Vjs.FeatureService; exports.HowTo = _chunkYUXCJ35Vjs.HowTo; exports.HowToFields = _chunkYUXCJ35Vjs.HowToFields; exports.HowToModule = _chunkYUXCJ35Vjs.HowToModule; exports.HowToService = _chunkYUXCJ35Vjs.HowToService; exports.HttpMethod = _chunkYUXCJ35Vjs.HttpMethod; exports.InvoiceStatus = _chunkYUXCJ35Vjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkPFAZPP54js.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkYUXCJ35Vjs.MOBILE_BREAKPOINT; exports.Module = _chunkYUXCJ35Vjs.Module; exports.ModuleModule = _chunkYUXCJ35Vjs.ModuleModule; exports.ModulePathsModule = _chunkYUXCJ35Vjs.ModulePathsModule; exports.ModuleRegistrar = _chunkYUXCJ35Vjs.ModuleRegistrar; exports.ModuleRegistry = _chunkYUXCJ35Vjs.ModuleRegistry; exports.Modules = _chunkYUXCJ35Vjs.Modules; exports.Notification = _chunkYUXCJ35Vjs.Notification; exports.NotificationFields = _chunkYUXCJ35Vjs.NotificationFields; exports.NotificationModule = _chunkYUXCJ35Vjs.NotificationModule; exports.NotificationService = _chunkYUXCJ35Vjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkYUXCJ35Vjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkYUXCJ35Vjs.OAuthClient; exports.OAuthModule = _chunkYUXCJ35Vjs.OAuthModule; exports.OAuthService = _chunkYUXCJ35Vjs.OAuthService; exports.Passkey = _chunkYUXCJ35Vjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkYUXCJ35Vjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkYUXCJ35Vjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkYUXCJ35Vjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkYUXCJ35Vjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkYUXCJ35Vjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkYUXCJ35Vjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkYUXCJ35Vjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkYUXCJ35Vjs.PasskeyRename; exports.PasskeyRenameModule = _chunkYUXCJ35Vjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkYUXCJ35Vjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkYUXCJ35Vjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkYUXCJ35Vjs.PaymentMethod; exports.PermissionMappingModule = _chunkYUXCJ35Vjs.PermissionMappingModule; exports.Push = _chunkYUXCJ35Vjs.Push; exports.PushModule = _chunkYUXCJ35Vjs.PushModule; exports.PushService = _chunkYUXCJ35Vjs.PushService; exports.RbacMatrixModule = _chunkYUXCJ35Vjs.RbacMatrixModule; exports.ReferralModule = _chunkYUXCJ35Vjs.ReferralModule; exports.ReferralService = _chunkYUXCJ35Vjs.ReferralService; exports.ReferralStats = _chunkYUXCJ35Vjs.ReferralStats; exports.ReferralStatsModule = _chunkYUXCJ35Vjs.ReferralStatsModule; exports.RehydrationFactory = _chunkYUXCJ35Vjs.RehydrationFactory; exports.Role = _chunkYUXCJ35Vjs.Role; exports.RoleFields = _chunkYUXCJ35Vjs.RoleFields; exports.RoleModule = _chunkYUXCJ35Vjs.RoleModule; exports.RoleService = _chunkYUXCJ35Vjs.RoleService; exports.S3 = _chunkYUXCJ35Vjs.S3; exports.S3Module = _chunkYUXCJ35Vjs.S3Module; exports.S3Service = _chunkYUXCJ35Vjs.S3Service; exports.StripeCustomer = _chunkYUXCJ35Vjs.StripeCustomer; exports.StripeCustomerModule = _chunkYUXCJ35Vjs.StripeCustomerModule; exports.StripeCustomerService = _chunkYUXCJ35Vjs.StripeCustomerService; exports.StripeInvoice = _chunkYUXCJ35Vjs.StripeInvoice; exports.StripeInvoiceModule = _chunkYUXCJ35Vjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkYUXCJ35Vjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkYUXCJ35Vjs.StripePaymentMethodModule; exports.StripePrice = _chunkYUXCJ35Vjs.StripePrice; exports.StripePriceFields = _chunkYUXCJ35Vjs.StripePriceFields; exports.StripePriceModule = _chunkYUXCJ35Vjs.StripePriceModule; exports.StripePriceService = _chunkYUXCJ35Vjs.StripePriceService; exports.StripeProduct = _chunkYUXCJ35Vjs.StripeProduct; exports.StripeProductFields = _chunkYUXCJ35Vjs.StripeProductFields; exports.StripeProductModule = _chunkYUXCJ35Vjs.StripeProductModule; exports.StripeProductService = _chunkYUXCJ35Vjs.StripeProductService; exports.StripePromotionCode = _chunkYUXCJ35Vjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkYUXCJ35Vjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkYUXCJ35Vjs.StripePromotionCodeService; exports.StripeSubscription = _chunkYUXCJ35Vjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkYUXCJ35Vjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkYUXCJ35Vjs.StripeSubscriptionService; exports.StripeUsage = _chunkYUXCJ35Vjs.StripeUsage; exports.StripeUsageModule = _chunkYUXCJ35Vjs.StripeUsageModule; exports.StripeUsageService = _chunkYUXCJ35Vjs.StripeUsageService; exports.SubscriptionStatus = _chunkYUXCJ35Vjs.SubscriptionStatus; exports.TableOptions = _chunkYUXCJ35Vjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkYUXCJ35Vjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkYUXCJ35Vjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkYUXCJ35Vjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkYUXCJ35Vjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkYUXCJ35Vjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkYUXCJ35Vjs.TotpSetup; exports.TotpSetupModule = _chunkYUXCJ35Vjs.TotpSetupModule; exports.TotpVerify = _chunkYUXCJ35Vjs.TotpVerify; exports.TotpVerifyLogin = _chunkYUXCJ35Vjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkYUXCJ35Vjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkYUXCJ35Vjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkYUXCJ35Vjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkYUXCJ35Vjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkYUXCJ35Vjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkYUXCJ35Vjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkYUXCJ35Vjs.TwoFactorService; exports.TwoFactorStatus = _chunkYUXCJ35Vjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkYUXCJ35Vjs.TwoFactorStatusModule; exports.User = _chunkYUXCJ35Vjs.User; exports.UserFields = _chunkYUXCJ35Vjs.UserFields; exports.UserModule = _chunkYUXCJ35Vjs.UserModule; exports.UserService = _chunkYUXCJ35Vjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkYUXCJ35Vjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkYUXCJ35Vjs.Waitlist; exports.WaitlistModule = _chunkYUXCJ35Vjs.WaitlistModule; exports.WaitlistService = _chunkYUXCJ35Vjs.WaitlistService; exports.WaitlistStats = _chunkYUXCJ35Vjs.WaitlistStats; exports.WaitlistStatsModule = _chunkYUXCJ35Vjs.WaitlistStatsModule; exports.checkPermissions = _chunkYUXCJ35Vjs.checkPermissions; exports.checkPermissionsFromServer = _chunkYUXCJ35Vjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkYUXCJ35Vjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkYUXCJ35Vjs.clearLastApiTotal; exports.cn = _chunkYUXCJ35Vjs.cn; exports.composeRefs = _chunkYUXCJ35Vjs.composeRefs; exports.configureTokenUsage = _chunkYUXCJ35Vjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkYUXCJ35Vjs.createJsonApiInclusion; exports.dismissToast = _chunkYUXCJ35Vjs.dismissToast; exports.entityObjectSchema = _chunkYUXCJ35Vjs.entityObjectSchema; exports.exists = _chunkYUXCJ35Vjs.exists; exports.formatCodiceFiscale = _chunkYUXCJ35Vjs.formatCodiceFiscale; exports.formatDate = _chunkYUXCJ35Vjs.formatDate; exports.formatLocalDate = _chunkYUXCJ35Vjs.formatLocalDate; exports.formatPartitaIva = _chunkYUXCJ35Vjs.formatPartitaIva; exports.getBootstrapper = _chunkPFAZPP54js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkYUXCJ35Vjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkYUXCJ35Vjs.getGlobalErrorHandler; exports.getIcon = _chunkYUXCJ35Vjs.getIcon; exports.getIconByModule = _chunkYUXCJ35Vjs.getIconByModule; exports.getIconByModuleName = _chunkYUXCJ35Vjs.getIconByModuleName; exports.getInitials = _chunkYUXCJ35Vjs.getInitials; exports.getLastApiMeta = _chunkYUXCJ35Vjs.getLastApiMeta; exports.getLastApiTotal = _chunkYUXCJ35Vjs.getLastApiTotal; exports.getLucideIcon = _chunkYUXCJ35Vjs.getLucideIcon; exports.getLucideIconByModule = _chunkYUXCJ35Vjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkYUXCJ35Vjs.getLucideIconByModuleName; exports.getTableComponents = _chunkYUXCJ35Vjs.getTableComponents; exports.getTableOptions = _chunkYUXCJ35Vjs.getTableOptions; exports.getTokenUsageCurrency = _chunkYUXCJ35Vjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkYUXCJ35Vjs.getValueFromPath; exports.hasBootstrapper = _chunkPFAZPP54js.hasBootstrapper; exports.isRemoteImageSrc = _chunkYUXCJ35Vjs.isRemoteImageSrc; exports.rehydrate = _chunkYUXCJ35Vjs.rehydrate; exports.rehydrateList = _chunkYUXCJ35Vjs.rehydrateList; exports.resetBootstrapStore = _chunkPFAZPP54js.resetBootstrapStore; exports.setBootstrapper = _chunkPFAZPP54js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkYUXCJ35Vjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkYUXCJ35Vjs.setGlobalErrorHandler; exports.showCustomToast = _chunkYUXCJ35Vjs.showCustomToast; exports.showError = _chunkYUXCJ35Vjs.showError; exports.showToast = _chunkYUXCJ35Vjs.showToast; exports.tokenUsageModules = _chunkYUXCJ35Vjs.tokenUsageModules; exports.translateData = _chunkPFAZPP54js.translateData; exports.translateResponse = _chunkPFAZPP54js.translateResponse; exports.tryBootstrap = _chunkPFAZPP54js.tryBootstrap; exports.useComposedRefs = _chunkYUXCJ35Vjs.useComposedRefs; exports.useIsMobile = _chunkYUXCJ35Vjs.useIsMobile; exports.userObjectSchema = _chunkYUXCJ35Vjs.userObjectSchema; exports.validateCodiceFiscale = _chunkYUXCJ35Vjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkYUXCJ35Vjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkYUXCJ35Vjs.validatePartitaIva;
421
429
  //# 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;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;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;AACF,i1YAAC","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;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;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;AACF,+kZAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -3,6 +3,10 @@ import {
3
3
  AbstractApiData,
4
4
  AbstractService,
5
5
  Action,
6
+ AiConnection,
7
+ AiConnectionFields,
8
+ AiConnectionModule,
9
+ AiConnectionService,
6
10
  Assistant,
7
11
  AssistantAction,
8
12
  AssistantActionModule,
@@ -195,7 +199,7 @@ import {
195
199
  validateCodiceFiscale,
196
200
  validateItalianTaxCode,
197
201
  validatePartitaIva
198
- } from "../chunk-TWXKAY34.mjs";
202
+ } from "../chunk-CGJW7ZZM.mjs";
199
203
  import "../chunk-AUXK7QSA.mjs";
200
204
  import "../chunk-C7C7VY4F.mjs";
201
205
  import {
@@ -208,13 +212,17 @@ import {
208
212
  translateData,
209
213
  translateResponse,
210
214
  tryBootstrap
211
- } from "../chunk-E5YA5Z5X.mjs";
215
+ } from "../chunk-CMGXH5SA.mjs";
212
216
  import "../chunk-PAWJFY3S.mjs";
213
217
  export {
214
218
  AVAILABLE_OAUTH_SCOPES,
215
219
  AbstractApiData,
216
220
  AbstractService,
217
221
  Action,
222
+ AiConnection,
223
+ AiConnectionFields,
224
+ AiConnectionModule,
225
+ AiConnectionService,
218
226
  Assistant,
219
227
  AssistantAction,
220
228
  AssistantActionModule,
@@ -23,16 +23,16 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk5GVBUTS4js = require('../../chunk-5GVBUTS4.js');
26
+ var _chunkE5FWGOP5js = require('../../chunk-E5FWGOP5.js');
27
27
 
28
28
 
29
- var _chunkJKGEJGSDjs = require('../../chunk-JKGEJGSD.js');
29
+ var _chunkH7DOSB7Wjs = require('../../chunk-H7DOSB7W.js');
30
30
 
31
31
 
32
- var _chunk53B6NPGAjs = require('../../chunk-53B6NPGA.js');
32
+ var _chunkYUXCJ35Vjs = require('../../chunk-YUXCJ35V.js');
33
33
  require('../../chunk-LXKSUWAV.js');
34
34
  require('../../chunk-IBS6NI7D.js');
35
- require('../../chunk-FPO4DLZN.js');
35
+ require('../../chunk-PFAZPP54.js');
36
36
  require('../../chunk-3EPNHTMH.js');
37
37
 
38
38
 
@@ -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 = _chunkJKGEJGSDjs._getStaticHelpContent.call(void 0, );
46
+ const cfg = _chunkH7DOSB7Wjs._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, _chunk5GVBUTS4js.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
79
- _chunk5GVBUTS4js.SheetContent,
78
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
79
+ _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
83
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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 = _chunk5GVBUTS4js.useAssistantContext.call(void 0, );
90
+ const ctx = _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.SheetHeader, { children: [
95
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.SheetTitle, { children: t("help.askAi.sheet.title") }),
96
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
94
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE5FWGOP5js.SheetHeader, { children: [
95
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.SheetTitle, { children: t("help.askAi.sheet.title") }),
96
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
97
97
  ] }),
98
- !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
98
+ !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
99
99
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
100
- _chunk5GVBUTS4js.AssistantThread,
100
+ _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.AssistantComposer, { onSend: send, disabled: ctx.sending })
110
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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 } = _chunk5GVBUTS4js.useCurrentUserContext.call(void 0, );
120
+ const { currentUser } = _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.Tooltip, { children: [
125
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk5GVBUTS4js.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.Button, { variant: "outline", size: "sm", disabled: true }), children: [
124
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE5FWGOP5js.Tooltip, { children: [
125
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE5FWGOP5js.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.TooltipContent, { children: t("help.askAi.loginTooltip") })
129
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
133
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE5FWGOP5js.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 } = _chunk5GVBUTS4js.useCurrentUserContext.call(void 0, );
146
+ const { currentUser } = _chunkE5FWGOP5js.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: _chunk5GVBUTS4js.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunk5GVBUTS4js.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: _chunkE5FWGOP5js.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunkE5FWGOP5js.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 = _chunk5GVBUTS4js.usePageUrlGenerator.call(void 0, );
204
+ const generateUrl = _chunkE5FWGOP5js.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
- _chunk53B6NPGAjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
209
+ _chunkYUXCJ35Vjs.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 = _chunk5GVBUTS4js.usePageUrlGenerator.call(void 0, );
285
+ const generateUrl = _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
342
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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 = _chunk5GVBUTS4js.usePageUrlGenerator.call(void 0, );
363
+ const generateUrl = _chunkE5FWGOP5js.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
- _chunk53B6NPGAjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
369
+ _chunkYUXCJ35Vjs.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
- _chunk5GVBUTS4js.Sheet,
381
+ _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.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, _chunk5GVBUTS4js.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
391
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk5GVBUTS4js.SheetHeader, { children: [
392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
393
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5GVBUTS4js.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
389
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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, _chunkE5FWGOP5js.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
391
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE5FWGOP5js.SheetHeader, { children: [
392
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
393
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE5FWGOP5js.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 = _chunk5GVBUTS4js.usePageUrlGenerator.call(void 0, );
425
+ const generateUrl = _chunkE5FWGOP5js.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
- _chunk53B6NPGAjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
429
+ _chunkYUXCJ35Vjs.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
- _chunk5GVBUTS4js.CommandItem,
436
+ _chunkE5FWGOP5js.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, _chunk5GVBUTS4js.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, _chunkE5FWGOP5js.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,16 +23,16 @@ import {
23
23
  useAssistantContext,
24
24
  useCurrentUserContext,
25
25
  usePageUrlGenerator
26
- } from "../../chunk-WCX4CLRJ.mjs";
26
+ } from "../../chunk-VUMM7V5G.mjs";
27
27
  import {
28
28
  _getStaticHelpContent
29
- } from "../../chunk-PHEFWL6L.mjs";
29
+ } from "../../chunk-ZMYZFQN3.mjs";
30
30
  import {
31
31
  HowToService
32
- } from "../../chunk-TWXKAY34.mjs";
32
+ } from "../../chunk-CGJW7ZZM.mjs";
33
33
  import "../../chunk-AUXK7QSA.mjs";
34
34
  import "../../chunk-C7C7VY4F.mjs";
35
- import "../../chunk-E5YA5Z5X.mjs";
35
+ import "../../chunk-CMGXH5SA.mjs";
36
36
  import "../../chunk-VOXD3ZLY.mjs";
37
37
  import {
38
38
  __name
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../../ApiDataInterface-BcZeXy5X.mjs';
4
- import { A as AbstractApiData } from '../../config-BRUjtCd1.mjs';
5
- export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from '../../config-BRUjtCd1.mjs';
4
+ import { A as AbstractApiData } from '../../AbstractApiData-XLhBP5Tl.mjs';
6
5
  import { A as AbstractService } from '../../AbstractService-B0T7h8fX.mjs';
6
+ export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from '../../config-n-ZpPmOL.mjs';
7
7
  import '../../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
8
8
  import '../../types-Bq_UA8Lg.mjs';
9
9
  import 'lucide-react';
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../../ApiDataInterface-BcZeXy5X.js';
4
- import { A as AbstractApiData } from '../../config-BIjrg5wd.js';
5
- export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from '../../config-BIjrg5wd.js';
4
+ import { A as AbstractApiData } from '../../AbstractApiData-DtitRWPz.js';
6
5
  import { A as AbstractService } from '../../AbstractService-Cew0PD0L.js';
6
+ export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from '../../config-B6UB7j69.js';
7
7
  import '../../ApiRequestDataTypeInterface-CYEcRUrh.js';
8
8
  import '../../types-bsm8Fp55.js';
9
9
  import 'lucide-react';