@carlonicora/nextjs-jsonapi 2.2.2 → 2.3.0

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 (60) hide show
  1. package/dist/{BlockNoteEditor-ADT6II2V.mjs → BlockNoteEditor-3PS3HYVI.mjs} +12 -11
  2. package/dist/BlockNoteEditor-3PS3HYVI.mjs.map +1 -0
  3. package/dist/{BlockNoteEditor-QTIDATPF.js → BlockNoteEditor-PNAVMGHB.js} +27 -26
  4. package/dist/BlockNoteEditor-PNAVMGHB.js.map +1 -0
  5. package/dist/billing/index.js +377 -377
  6. package/dist/billing/index.js.map +1 -1
  7. package/dist/billing/index.mjs +23 -23
  8. package/dist/billing/index.mjs.map +1 -1
  9. package/dist/{chunk-DLTMYGLR.mjs → chunk-EQEW64CH.mjs} +12 -1
  10. package/dist/chunk-EQEW64CH.mjs.map +1 -0
  11. package/dist/{chunk-YEPE2HT6.mjs → chunk-FSMXD3N7.mjs} +7 -6
  12. package/dist/{chunk-YEPE2HT6.mjs.map → chunk-FSMXD3N7.mjs.map} +1 -1
  13. package/dist/{chunk-7DJOQTNN.mjs → chunk-MN2BUSEU.mjs} +2 -2
  14. package/dist/{chunk-LANOKEFZ.js → chunk-OHJQYVSI.js} +7 -7
  15. package/dist/{chunk-LANOKEFZ.js.map → chunk-OHJQYVSI.js.map} +1 -1
  16. package/dist/{chunk-F3BPNQDB.js → chunk-QYUYQO2M.js} +738 -737
  17. package/dist/chunk-QYUYQO2M.js.map +1 -0
  18. package/dist/{chunk-KSU6CCW6.js → chunk-X5TPKMBS.js} +13 -2
  19. package/dist/chunk-X5TPKMBS.js.map +1 -0
  20. package/dist/client/index.js +4 -4
  21. package/dist/client/index.mjs +3 -3
  22. package/dist/components/index.d.mts +8 -1
  23. package/dist/components/index.d.ts +8 -1
  24. package/dist/components/index.js +4 -4
  25. package/dist/components/index.mjs +3 -3
  26. package/dist/contexts/index.js +4 -4
  27. package/dist/contexts/index.mjs +3 -3
  28. package/dist/core/index.d.mts +11 -1
  29. package/dist/core/index.d.ts +11 -1
  30. package/dist/core/index.js +4 -2
  31. package/dist/core/index.js.map +1 -1
  32. package/dist/core/index.mjs +3 -1
  33. package/dist/features/help/index.js +37 -37
  34. package/dist/features/help/index.mjs +3 -3
  35. package/dist/features/tokenusage/index.js +71 -71
  36. package/dist/features/tokenusage/index.mjs +3 -3
  37. package/dist/index.d.mts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +5 -3
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +4 -2
  42. package/dist/server/index.js +3 -3
  43. package/dist/server/index.mjs +1 -1
  44. package/package.json +1 -1
  45. package/src/components/editors/BlockNoteEditor.tsx +12 -6
  46. package/src/features/assistant/components/containers/AssistantPageContainer.tsx +8 -1
  47. package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +3 -3
  48. package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +2 -2
  49. package/src/features/billing/stripe-subscription/components/details/SubscriptionDetails.tsx +1 -1
  50. package/src/features/billing/stripe-subscription/components/forms/CancelSubscriptionDialog.tsx +1 -1
  51. package/src/features/billing/stripe-subscription/components/widgets/ProrationPreview.tsx +8 -8
  52. package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +5 -5
  53. package/src/features/company/data/entity-ai-status.ts +13 -0
  54. package/src/features/company/data/index.ts +1 -0
  55. package/dist/BlockNoteEditor-ADT6II2V.mjs.map +0 -1
  56. package/dist/BlockNoteEditor-QTIDATPF.js.map +0 -1
  57. package/dist/chunk-DLTMYGLR.mjs.map +0 -1
  58. package/dist/chunk-F3BPNQDB.js.map +0 -1
  59. package/dist/chunk-KSU6CCW6.js.map +0 -1
  60. /package/dist/{chunk-7DJOQTNN.mjs.map → chunk-MN2BUSEU.mjs.map} +0 -0
@@ -26,8 +26,8 @@ import {
26
26
  TableHeader,
27
27
  TableRow,
28
28
  usePageUrlGenerator
29
- } from "../../chunk-YEPE2HT6.mjs";
30
- import "../../chunk-7DJOQTNN.mjs";
29
+ } from "../../chunk-FSMXD3N7.mjs";
30
+ import "../../chunk-MN2BUSEU.mjs";
31
31
  import {
32
32
  AbstractService,
33
33
  EndpointCreator,
@@ -39,7 +39,7 @@ import {
39
39
  TokenUsageAdminTimeline,
40
40
  TokenUsageAdminTimelineModule,
41
41
  cn
42
- } from "../../chunk-DLTMYGLR.mjs";
42
+ } from "../../chunk-EQEW64CH.mjs";
43
43
  import "../../chunk-AUXK7QSA.mjs";
44
44
  import "../../chunk-C7C7VY4F.mjs";
45
45
  import "../../chunk-E5YA5Z5X.mjs";
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ import { A as AbstractApiData } from './tokenusage-admin.module-DQVT4O4j.mjs';
6
6
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule } from './tokenusage-admin.module-DQVT4O4j.mjs';
7
7
  import { A as AbstractService } from './AbstractService-B0T7h8fX.mjs';
8
8
  export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, b as clearLastApiMeta, c as clearLastApiTotal, d as getGlobalErrorHandler, a as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from './AbstractService-B0T7h8fX.mjs';
9
- export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, 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 } from './core/index.mjs';
9
+ export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityAiStatus, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, 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 } from './core/index.mjs';
10
10
  export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Ce8FcllX.mjs';
11
11
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.mjs';
12
12
  export { ClassValue } from 'clsx';
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { A as AbstractApiData } from './tokenusage-admin.module-5wJ_tZTj.js';
6
6
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule } from './tokenusage-admin.module-5wJ_tZTj.js';
7
7
  import { A as AbstractService } from './AbstractService-Cew0PD0L.js';
8
8
  export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, b as clearLastApiMeta, c as clearLastApiTotal, d as getGlobalErrorHandler, a as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from './AbstractService-Cew0PD0L.js';
9
- export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, 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 } from './core/index.js';
9
+ export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityAiStatus, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, 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 } from './core/index.js';
10
10
  export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Dh0BpbP2.js';
11
11
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.js';
12
12
  export { ClassValue } from 'clsx';
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkLANOKEFZjs = require('./chunk-LANOKEFZ.js');
21
+ var _chunkOHJQYVSIjs = require('./chunk-OHJQYVSI.js');
22
22
 
23
23
 
24
24
 
@@ -215,7 +215,8 @@ var _chunkLANOKEFZjs = require('./chunk-LANOKEFZ.js');
215
215
 
216
216
 
217
217
 
218
- var _chunkKSU6CCW6js = require('./chunk-KSU6CCW6.js');
218
+
219
+ var _chunkX5TPKMBSjs = require('./chunk-X5TPKMBS.js');
219
220
  require('./chunk-LXKSUWAV.js');
220
221
  require('./chunk-IBS6NI7D.js');
221
222
 
@@ -455,5 +456,6 @@ require('./chunk-7QVYU63E.js');
455
456
 
456
457
 
457
458
 
458
- exports.ACTION_TYPES = _chunkLANOKEFZjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkKSU6CCW6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkKSU6CCW6js.AbstractApiData; exports.AbstractService = _chunkKSU6CCW6js.AbstractService; exports.Action = _chunkKSU6CCW6js.Action; exports.Assistant = _chunkKSU6CCW6js.Assistant; exports.AssistantAction = _chunkKSU6CCW6js.AssistantAction; exports.AssistantActionModule = _chunkKSU6CCW6js.AssistantActionModule; exports.AssistantActionService = _chunkKSU6CCW6js.AssistantActionService; exports.AssistantMessage = _chunkKSU6CCW6js.AssistantMessage; exports.AssistantMessageModule = _chunkKSU6CCW6js.AssistantMessageModule; exports.AssistantMessageService = _chunkKSU6CCW6js.AssistantMessageService; exports.AssistantModule = _chunkKSU6CCW6js.AssistantModule; exports.AssistantService = _chunkKSU6CCW6js.AssistantService; exports.AuditLog = _chunkKSU6CCW6js.AuditLog; exports.AuditLogModule = _chunkKSU6CCW6js.AuditLogModule; exports.AuditLogService = _chunkKSU6CCW6js.AuditLogService; exports.Auth = _chunkKSU6CCW6js.Auth; exports.AuthComponent = _chunkKSU6CCW6js.AuthComponent; exports.AuthModule = _chunkKSU6CCW6js.AuthModule; exports.AuthService = _chunkKSU6CCW6js.AuthService; exports.AuthorModule = _chunkKSU6CCW6js.AuthorModule; exports.BackupCodeVerify = _chunkKSU6CCW6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkKSU6CCW6js.BackupCodeVerifyModule; exports.Billing = _chunkKSU6CCW6js.Billing; exports.BillingModule = _chunkKSU6CCW6js.BillingModule; exports.BillingService = _chunkKSU6CCW6js.BillingService; exports.BlockNoteDiffUtil = _chunkKSU6CCW6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkKSU6CCW6js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkLANOKEFZjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkKSU6CCW6js.Chunk; exports.ChunkModule = _chunkKSU6CCW6js.ChunkModule; exports.ClientAbstractService = _chunkKSU6CCW6js.ClientAbstractService; exports.ClientHttpMethod = _chunkKSU6CCW6js.ClientHttpMethod; exports.Company = _chunkKSU6CCW6js.Company; exports.CompanyFields = _chunkKSU6CCW6js.CompanyFields; exports.CompanyModule = _chunkKSU6CCW6js.CompanyModule; exports.CompanyService = _chunkKSU6CCW6js.CompanyService; exports.Content = _chunkKSU6CCW6js.Content; exports.ContentFields = _chunkKSU6CCW6js.ContentFields; exports.ContentModule = _chunkKSU6CCW6js.ContentModule; exports.ContentService = _chunkKSU6CCW6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkKSU6CCW6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFPO4DLZNjs.DataClassRegistry; exports.DataClassRegistry = _chunkFPO4DLZNjs.DataClassRegistry; exports.EndpointCreator = _chunkKSU6CCW6js.EndpointCreator; exports.Feature = _chunkKSU6CCW6js.Feature; exports.FeatureModule = _chunkKSU6CCW6js.FeatureModule; exports.FeatureService = _chunkKSU6CCW6js.FeatureService; exports.HowTo = _chunkKSU6CCW6js.HowTo; exports.HowToFields = _chunkKSU6CCW6js.HowToFields; exports.HowToModule = _chunkKSU6CCW6js.HowToModule; exports.HowToService = _chunkKSU6CCW6js.HowToService; exports.HttpMethod = _chunkKSU6CCW6js.HttpMethod; exports.InvoiceStatus = _chunkKSU6CCW6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkFPO4DLZNjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkKSU6CCW6js.MOBILE_BREAKPOINT; exports.Module = _chunkKSU6CCW6js.Module; exports.ModuleModule = _chunkKSU6CCW6js.ModuleModule; exports.ModulePaths = _chunkKSU6CCW6js.ModulePaths; exports.ModulePathsModule = _chunkKSU6CCW6js.ModulePathsModule; exports.ModuleRegistrar = _chunkKSU6CCW6js.ModuleRegistrar; exports.ModuleRegistry = _chunkKSU6CCW6js.ModuleRegistry; exports.Modules = _chunkKSU6CCW6js.Modules; exports.Notification = _chunkKSU6CCW6js.Notification; exports.NotificationFields = _chunkKSU6CCW6js.NotificationFields; exports.NotificationModule = _chunkKSU6CCW6js.NotificationModule; exports.NotificationService = _chunkKSU6CCW6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkKSU6CCW6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkKSU6CCW6js.OAuthClient; exports.OAuthModule = _chunkKSU6CCW6js.OAuthModule; exports.OAuthService = _chunkKSU6CCW6js.OAuthService; exports.Passkey = _chunkKSU6CCW6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkKSU6CCW6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkKSU6CCW6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkKSU6CCW6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkKSU6CCW6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkKSU6CCW6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkKSU6CCW6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkKSU6CCW6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkKSU6CCW6js.PasskeyRename; exports.PasskeyRenameModule = _chunkKSU6CCW6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkKSU6CCW6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkKSU6CCW6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkKSU6CCW6js.PaymentMethod; exports.PermissionMapping = _chunkKSU6CCW6js.PermissionMapping; exports.PermissionMappingModule = _chunkKSU6CCW6js.PermissionMappingModule; exports.Push = _chunkKSU6CCW6js.Push; exports.PushModule = _chunkKSU6CCW6js.PushModule; exports.PushService = _chunkKSU6CCW6js.PushService; exports.RbacMatrixModel = _chunkKSU6CCW6js.RbacMatrixModel; exports.RbacMatrixModule = _chunkKSU6CCW6js.RbacMatrixModule; exports.RbacService = _chunkLANOKEFZjs.RbacService; exports.ReferralModule = _chunkKSU6CCW6js.ReferralModule; exports.ReferralService = _chunkKSU6CCW6js.ReferralService; exports.ReferralStats = _chunkKSU6CCW6js.ReferralStats; exports.ReferralStatsModule = _chunkKSU6CCW6js.ReferralStatsModule; exports.RehydrationFactory = _chunkKSU6CCW6js.RehydrationFactory; exports.Role = _chunkKSU6CCW6js.Role; exports.RoleFields = _chunkKSU6CCW6js.RoleFields; exports.RoleModule = _chunkKSU6CCW6js.RoleModule; exports.RoleService = _chunkKSU6CCW6js.RoleService; exports.S3 = _chunkKSU6CCW6js.S3; exports.S3Module = _chunkKSU6CCW6js.S3Module; exports.S3Service = _chunkKSU6CCW6js.S3Service; exports.StripeCustomer = _chunkKSU6CCW6js.StripeCustomer; exports.StripeCustomerModule = _chunkKSU6CCW6js.StripeCustomerModule; exports.StripeCustomerService = _chunkKSU6CCW6js.StripeCustomerService; exports.StripeInvoice = _chunkKSU6CCW6js.StripeInvoice; exports.StripeInvoiceModule = _chunkKSU6CCW6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkKSU6CCW6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkKSU6CCW6js.StripePaymentMethodModule; exports.StripePrice = _chunkKSU6CCW6js.StripePrice; exports.StripePriceModule = _chunkKSU6CCW6js.StripePriceModule; exports.StripePriceService = _chunkKSU6CCW6js.StripePriceService; exports.StripeProduct = _chunkKSU6CCW6js.StripeProduct; exports.StripeProductModule = _chunkKSU6CCW6js.StripeProductModule; exports.StripeProductService = _chunkKSU6CCW6js.StripeProductService; exports.StripePromotionCode = _chunkKSU6CCW6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkKSU6CCW6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkKSU6CCW6js.StripePromotionCodeService; exports.StripeSubscription = _chunkKSU6CCW6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkKSU6CCW6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkKSU6CCW6js.StripeSubscriptionService; exports.StripeUsage = _chunkKSU6CCW6js.StripeUsage; exports.StripeUsageModule = _chunkKSU6CCW6js.StripeUsageModule; exports.StripeUsageService = _chunkKSU6CCW6js.StripeUsageService; exports.SubscriptionStatus = _chunkKSU6CCW6js.SubscriptionStatus; exports.TableOptions = _chunkKSU6CCW6js.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkKSU6CCW6js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkKSU6CCW6js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkKSU6CCW6js.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkKSU6CCW6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkKSU6CCW6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkKSU6CCW6js.TotpSetup; exports.TotpSetupModule = _chunkKSU6CCW6js.TotpSetupModule; exports.TotpVerify = _chunkKSU6CCW6js.TotpVerify; exports.TotpVerifyLogin = _chunkKSU6CCW6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkKSU6CCW6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkKSU6CCW6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkKSU6CCW6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkKSU6CCW6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkKSU6CCW6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkKSU6CCW6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkKSU6CCW6js.TwoFactorService; exports.TwoFactorStatus = _chunkKSU6CCW6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkKSU6CCW6js.TwoFactorStatusModule; exports.User = _chunkKSU6CCW6js.User; exports.UserFields = _chunkKSU6CCW6js.UserFields; exports.UserModule = _chunkKSU6CCW6js.UserModule; exports.UserService = _chunkKSU6CCW6js.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkKSU6CCW6js.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkKSU6CCW6js.Waitlist; exports.WaitlistModule = _chunkKSU6CCW6js.WaitlistModule; exports.WaitlistService = _chunkKSU6CCW6js.WaitlistService; exports.WaitlistStats = _chunkKSU6CCW6js.WaitlistStats; exports.WaitlistStatsModule = _chunkKSU6CCW6js.WaitlistStatsModule; exports.checkPermissions = _chunkKSU6CCW6js.checkPermissions; exports.checkPermissionsFromServer = _chunkKSU6CCW6js.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkKSU6CCW6js.clearLastApiMeta; exports.clearLastApiTotal = _chunkKSU6CCW6js.clearLastApiTotal; exports.cn = _chunkKSU6CCW6js.cn; exports.composeRefs = _chunkKSU6CCW6js.composeRefs; exports.configureAuth = _chunkKSU6CCW6js.configureAuth; exports.configureI18n = _chunkLANOKEFZjs.configureI18n; exports.configureJsonApi = _chunkLANOKEFZjs.configureJsonApi; exports.configureLogin = _chunkLANOKEFZjs.configureLogin; exports.configureReferral = _chunkLANOKEFZjs.configureReferral; exports.configureRoles = _chunkLANOKEFZjs.configureRoles; exports.configureWaitlist = _chunkLANOKEFZjs.configureWaitlist; exports.createJsonApiInclusion = _chunkKSU6CCW6js.createJsonApiInclusion; exports.dismissToast = _chunkKSU6CCW6js.dismissToast; exports.entityObjectSchema = _chunkKSU6CCW6js.entityObjectSchema; exports.exists = _chunkKSU6CCW6js.exists; exports.formatCodiceFiscale = _chunkKSU6CCW6js.formatCodiceFiscale; exports.formatDate = _chunkKSU6CCW6js.formatDate; exports.formatLocalDate = _chunkKSU6CCW6js.formatLocalDate; exports.formatPartitaIva = _chunkKSU6CCW6js.formatPartitaIva; exports.getApiUrl = _chunkLANOKEFZjs.getApiUrl; exports.getAppUrl = _chunkLANOKEFZjs.getAppUrl; exports.getBootstrapper = _chunkFPO4DLZNjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkKSU6CCW6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkKSU6CCW6js.getGlobalErrorHandler; exports.getIcon = _chunkKSU6CCW6js.getIcon; exports.getIconByModule = _chunkKSU6CCW6js.getIconByModule; exports.getIconByModuleName = _chunkKSU6CCW6js.getIconByModuleName; exports.getInitials = _chunkKSU6CCW6js.getInitials; exports.getLastApiMeta = _chunkKSU6CCW6js.getLastApiMeta; exports.getLastApiTotal = _chunkKSU6CCW6js.getLastApiTotal; exports.getLucideIcon = _chunkKSU6CCW6js.getLucideIcon; exports.getLucideIconByModule = _chunkKSU6CCW6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkKSU6CCW6js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkLANOKEFZjs.getPublicApiUrl; exports.getReferralConfig = _chunkLANOKEFZjs.getReferralConfig; exports.getRoleId = _chunkLANOKEFZjs.getRoleId; exports.getStripePublishableKey = _chunkLANOKEFZjs.getStripePublishableKey; exports.getTableComponents = _chunkKSU6CCW6js.getTableComponents; exports.getTableOptions = _chunkKSU6CCW6js.getTableOptions; exports.getTokenHandler = _chunkKSU6CCW6js.getTokenHandler; exports.getTrackablePages = _chunkLANOKEFZjs.getTrackablePages; exports.getValueFromPath = _chunkKSU6CCW6js.getValueFromPath; exports.getWaitlistConfig = _chunkLANOKEFZjs.getWaitlistConfig; exports.hasBootstrapper = _chunkFPO4DLZNjs.hasBootstrapper; exports.isReferralEnabled = _chunkLANOKEFZjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkKSU6CCW6js.isRemoteImageSrc; exports.isRolesConfigured = _chunkLANOKEFZjs.isRolesConfigured; exports.rehydrate = _chunkKSU6CCW6js.rehydrate; exports.rehydrateList = _chunkKSU6CCW6js.rehydrateList; exports.resetBootstrapStore = _chunkFPO4DLZNjs.resetBootstrapStore; exports.setBootstrapper = _chunkFPO4DLZNjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkKSU6CCW6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkKSU6CCW6js.setGlobalErrorHandler; exports.showCustomToast = _chunkKSU6CCW6js.showCustomToast; exports.showError = _chunkKSU6CCW6js.showError; exports.showToast = _chunkKSU6CCW6js.showToast; exports.translateData = _chunkFPO4DLZNjs.translateData; exports.translateResponse = _chunkFPO4DLZNjs.translateResponse; exports.tryBootstrap = _chunkFPO4DLZNjs.tryBootstrap; exports.useComposedRefs = _chunkKSU6CCW6js.useComposedRefs; exports.useIsMobile = _chunkKSU6CCW6js.useIsMobile; exports.userObjectSchema = _chunkKSU6CCW6js.userObjectSchema; exports.validateCodiceFiscale = _chunkKSU6CCW6js.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkKSU6CCW6js.validateItalianTaxCode; exports.validatePartitaIva = _chunkKSU6CCW6js.validatePartitaIva;
459
+
460
+ exports.ACTION_TYPES = _chunkOHJQYVSIjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkX5TPKMBSjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkX5TPKMBSjs.AbstractApiData; exports.AbstractService = _chunkX5TPKMBSjs.AbstractService; exports.Action = _chunkX5TPKMBSjs.Action; exports.Assistant = _chunkX5TPKMBSjs.Assistant; exports.AssistantAction = _chunkX5TPKMBSjs.AssistantAction; exports.AssistantActionModule = _chunkX5TPKMBSjs.AssistantActionModule; exports.AssistantActionService = _chunkX5TPKMBSjs.AssistantActionService; exports.AssistantMessage = _chunkX5TPKMBSjs.AssistantMessage; exports.AssistantMessageModule = _chunkX5TPKMBSjs.AssistantMessageModule; exports.AssistantMessageService = _chunkX5TPKMBSjs.AssistantMessageService; exports.AssistantModule = _chunkX5TPKMBSjs.AssistantModule; exports.AssistantService = _chunkX5TPKMBSjs.AssistantService; exports.AuditLog = _chunkX5TPKMBSjs.AuditLog; exports.AuditLogModule = _chunkX5TPKMBSjs.AuditLogModule; exports.AuditLogService = _chunkX5TPKMBSjs.AuditLogService; exports.Auth = _chunkX5TPKMBSjs.Auth; exports.AuthComponent = _chunkX5TPKMBSjs.AuthComponent; exports.AuthModule = _chunkX5TPKMBSjs.AuthModule; exports.AuthService = _chunkX5TPKMBSjs.AuthService; exports.AuthorModule = _chunkX5TPKMBSjs.AuthorModule; exports.BackupCodeVerify = _chunkX5TPKMBSjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkX5TPKMBSjs.BackupCodeVerifyModule; exports.Billing = _chunkX5TPKMBSjs.Billing; exports.BillingModule = _chunkX5TPKMBSjs.BillingModule; exports.BillingService = _chunkX5TPKMBSjs.BillingService; exports.BlockNoteDiffUtil = _chunkX5TPKMBSjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkX5TPKMBSjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkOHJQYVSIjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkX5TPKMBSjs.Chunk; exports.ChunkModule = _chunkX5TPKMBSjs.ChunkModule; exports.ClientAbstractService = _chunkX5TPKMBSjs.ClientAbstractService; exports.ClientHttpMethod = _chunkX5TPKMBSjs.ClientHttpMethod; exports.Company = _chunkX5TPKMBSjs.Company; exports.CompanyFields = _chunkX5TPKMBSjs.CompanyFields; exports.CompanyModule = _chunkX5TPKMBSjs.CompanyModule; exports.CompanyService = _chunkX5TPKMBSjs.CompanyService; exports.Content = _chunkX5TPKMBSjs.Content; exports.ContentFields = _chunkX5TPKMBSjs.ContentFields; exports.ContentModule = _chunkX5TPKMBSjs.ContentModule; exports.ContentService = _chunkX5TPKMBSjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkX5TPKMBSjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFPO4DLZNjs.DataClassRegistry; exports.DataClassRegistry = _chunkFPO4DLZNjs.DataClassRegistry; exports.EndpointCreator = _chunkX5TPKMBSjs.EndpointCreator; exports.EntityAiStatus = _chunkX5TPKMBSjs.EntityAiStatus; exports.Feature = _chunkX5TPKMBSjs.Feature; exports.FeatureModule = _chunkX5TPKMBSjs.FeatureModule; exports.FeatureService = _chunkX5TPKMBSjs.FeatureService; exports.HowTo = _chunkX5TPKMBSjs.HowTo; exports.HowToFields = _chunkX5TPKMBSjs.HowToFields; exports.HowToModule = _chunkX5TPKMBSjs.HowToModule; exports.HowToService = _chunkX5TPKMBSjs.HowToService; exports.HttpMethod = _chunkX5TPKMBSjs.HttpMethod; exports.InvoiceStatus = _chunkX5TPKMBSjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFPO4DLZNjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkX5TPKMBSjs.MOBILE_BREAKPOINT; exports.Module = _chunkX5TPKMBSjs.Module; exports.ModuleModule = _chunkX5TPKMBSjs.ModuleModule; exports.ModulePaths = _chunkX5TPKMBSjs.ModulePaths; exports.ModulePathsModule = _chunkX5TPKMBSjs.ModulePathsModule; exports.ModuleRegistrar = _chunkX5TPKMBSjs.ModuleRegistrar; exports.ModuleRegistry = _chunkX5TPKMBSjs.ModuleRegistry; exports.Modules = _chunkX5TPKMBSjs.Modules; exports.Notification = _chunkX5TPKMBSjs.Notification; exports.NotificationFields = _chunkX5TPKMBSjs.NotificationFields; exports.NotificationModule = _chunkX5TPKMBSjs.NotificationModule; exports.NotificationService = _chunkX5TPKMBSjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkX5TPKMBSjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkX5TPKMBSjs.OAuthClient; exports.OAuthModule = _chunkX5TPKMBSjs.OAuthModule; exports.OAuthService = _chunkX5TPKMBSjs.OAuthService; exports.Passkey = _chunkX5TPKMBSjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkX5TPKMBSjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkX5TPKMBSjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkX5TPKMBSjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkX5TPKMBSjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkX5TPKMBSjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkX5TPKMBSjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkX5TPKMBSjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkX5TPKMBSjs.PasskeyRename; exports.PasskeyRenameModule = _chunkX5TPKMBSjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkX5TPKMBSjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkX5TPKMBSjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkX5TPKMBSjs.PaymentMethod; exports.PermissionMapping = _chunkX5TPKMBSjs.PermissionMapping; exports.PermissionMappingModule = _chunkX5TPKMBSjs.PermissionMappingModule; exports.Push = _chunkX5TPKMBSjs.Push; exports.PushModule = _chunkX5TPKMBSjs.PushModule; exports.PushService = _chunkX5TPKMBSjs.PushService; exports.RbacMatrixModel = _chunkX5TPKMBSjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkX5TPKMBSjs.RbacMatrixModule; exports.RbacService = _chunkOHJQYVSIjs.RbacService; exports.ReferralModule = _chunkX5TPKMBSjs.ReferralModule; exports.ReferralService = _chunkX5TPKMBSjs.ReferralService; exports.ReferralStats = _chunkX5TPKMBSjs.ReferralStats; exports.ReferralStatsModule = _chunkX5TPKMBSjs.ReferralStatsModule; exports.RehydrationFactory = _chunkX5TPKMBSjs.RehydrationFactory; exports.Role = _chunkX5TPKMBSjs.Role; exports.RoleFields = _chunkX5TPKMBSjs.RoleFields; exports.RoleModule = _chunkX5TPKMBSjs.RoleModule; exports.RoleService = _chunkX5TPKMBSjs.RoleService; exports.S3 = _chunkX5TPKMBSjs.S3; exports.S3Module = _chunkX5TPKMBSjs.S3Module; exports.S3Service = _chunkX5TPKMBSjs.S3Service; exports.StripeCustomer = _chunkX5TPKMBSjs.StripeCustomer; exports.StripeCustomerModule = _chunkX5TPKMBSjs.StripeCustomerModule; exports.StripeCustomerService = _chunkX5TPKMBSjs.StripeCustomerService; exports.StripeInvoice = _chunkX5TPKMBSjs.StripeInvoice; exports.StripeInvoiceModule = _chunkX5TPKMBSjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkX5TPKMBSjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkX5TPKMBSjs.StripePaymentMethodModule; exports.StripePrice = _chunkX5TPKMBSjs.StripePrice; exports.StripePriceModule = _chunkX5TPKMBSjs.StripePriceModule; exports.StripePriceService = _chunkX5TPKMBSjs.StripePriceService; exports.StripeProduct = _chunkX5TPKMBSjs.StripeProduct; exports.StripeProductModule = _chunkX5TPKMBSjs.StripeProductModule; exports.StripeProductService = _chunkX5TPKMBSjs.StripeProductService; exports.StripePromotionCode = _chunkX5TPKMBSjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkX5TPKMBSjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkX5TPKMBSjs.StripePromotionCodeService; exports.StripeSubscription = _chunkX5TPKMBSjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkX5TPKMBSjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkX5TPKMBSjs.StripeSubscriptionService; exports.StripeUsage = _chunkX5TPKMBSjs.StripeUsage; exports.StripeUsageModule = _chunkX5TPKMBSjs.StripeUsageModule; exports.StripeUsageService = _chunkX5TPKMBSjs.StripeUsageService; exports.SubscriptionStatus = _chunkX5TPKMBSjs.SubscriptionStatus; exports.TableOptions = _chunkX5TPKMBSjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkX5TPKMBSjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkX5TPKMBSjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkX5TPKMBSjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkX5TPKMBSjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkX5TPKMBSjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkX5TPKMBSjs.TotpSetup; exports.TotpSetupModule = _chunkX5TPKMBSjs.TotpSetupModule; exports.TotpVerify = _chunkX5TPKMBSjs.TotpVerify; exports.TotpVerifyLogin = _chunkX5TPKMBSjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkX5TPKMBSjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkX5TPKMBSjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkX5TPKMBSjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkX5TPKMBSjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkX5TPKMBSjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkX5TPKMBSjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkX5TPKMBSjs.TwoFactorService; exports.TwoFactorStatus = _chunkX5TPKMBSjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkX5TPKMBSjs.TwoFactorStatusModule; exports.User = _chunkX5TPKMBSjs.User; exports.UserFields = _chunkX5TPKMBSjs.UserFields; exports.UserModule = _chunkX5TPKMBSjs.UserModule; exports.UserService = _chunkX5TPKMBSjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkX5TPKMBSjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkX5TPKMBSjs.Waitlist; exports.WaitlistModule = _chunkX5TPKMBSjs.WaitlistModule; exports.WaitlistService = _chunkX5TPKMBSjs.WaitlistService; exports.WaitlistStats = _chunkX5TPKMBSjs.WaitlistStats; exports.WaitlistStatsModule = _chunkX5TPKMBSjs.WaitlistStatsModule; exports.checkPermissions = _chunkX5TPKMBSjs.checkPermissions; exports.checkPermissionsFromServer = _chunkX5TPKMBSjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkX5TPKMBSjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkX5TPKMBSjs.clearLastApiTotal; exports.cn = _chunkX5TPKMBSjs.cn; exports.composeRefs = _chunkX5TPKMBSjs.composeRefs; exports.configureAuth = _chunkX5TPKMBSjs.configureAuth; exports.configureI18n = _chunkOHJQYVSIjs.configureI18n; exports.configureJsonApi = _chunkOHJQYVSIjs.configureJsonApi; exports.configureLogin = _chunkOHJQYVSIjs.configureLogin; exports.configureReferral = _chunkOHJQYVSIjs.configureReferral; exports.configureRoles = _chunkOHJQYVSIjs.configureRoles; exports.configureWaitlist = _chunkOHJQYVSIjs.configureWaitlist; exports.createJsonApiInclusion = _chunkX5TPKMBSjs.createJsonApiInclusion; exports.dismissToast = _chunkX5TPKMBSjs.dismissToast; exports.entityObjectSchema = _chunkX5TPKMBSjs.entityObjectSchema; exports.exists = _chunkX5TPKMBSjs.exists; exports.formatCodiceFiscale = _chunkX5TPKMBSjs.formatCodiceFiscale; exports.formatDate = _chunkX5TPKMBSjs.formatDate; exports.formatLocalDate = _chunkX5TPKMBSjs.formatLocalDate; exports.formatPartitaIva = _chunkX5TPKMBSjs.formatPartitaIva; exports.getApiUrl = _chunkOHJQYVSIjs.getApiUrl; exports.getAppUrl = _chunkOHJQYVSIjs.getAppUrl; exports.getBootstrapper = _chunkFPO4DLZNjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkX5TPKMBSjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkX5TPKMBSjs.getGlobalErrorHandler; exports.getIcon = _chunkX5TPKMBSjs.getIcon; exports.getIconByModule = _chunkX5TPKMBSjs.getIconByModule; exports.getIconByModuleName = _chunkX5TPKMBSjs.getIconByModuleName; exports.getInitials = _chunkX5TPKMBSjs.getInitials; exports.getLastApiMeta = _chunkX5TPKMBSjs.getLastApiMeta; exports.getLastApiTotal = _chunkX5TPKMBSjs.getLastApiTotal; exports.getLucideIcon = _chunkX5TPKMBSjs.getLucideIcon; exports.getLucideIconByModule = _chunkX5TPKMBSjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkX5TPKMBSjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkOHJQYVSIjs.getPublicApiUrl; exports.getReferralConfig = _chunkOHJQYVSIjs.getReferralConfig; exports.getRoleId = _chunkOHJQYVSIjs.getRoleId; exports.getStripePublishableKey = _chunkOHJQYVSIjs.getStripePublishableKey; exports.getTableComponents = _chunkX5TPKMBSjs.getTableComponents; exports.getTableOptions = _chunkX5TPKMBSjs.getTableOptions; exports.getTokenHandler = _chunkX5TPKMBSjs.getTokenHandler; exports.getTrackablePages = _chunkOHJQYVSIjs.getTrackablePages; exports.getValueFromPath = _chunkX5TPKMBSjs.getValueFromPath; exports.getWaitlistConfig = _chunkOHJQYVSIjs.getWaitlistConfig; exports.hasBootstrapper = _chunkFPO4DLZNjs.hasBootstrapper; exports.isReferralEnabled = _chunkOHJQYVSIjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkX5TPKMBSjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkOHJQYVSIjs.isRolesConfigured; exports.rehydrate = _chunkX5TPKMBSjs.rehydrate; exports.rehydrateList = _chunkX5TPKMBSjs.rehydrateList; exports.resetBootstrapStore = _chunkFPO4DLZNjs.resetBootstrapStore; exports.setBootstrapper = _chunkFPO4DLZNjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkX5TPKMBSjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkX5TPKMBSjs.setGlobalErrorHandler; exports.showCustomToast = _chunkX5TPKMBSjs.showCustomToast; exports.showError = _chunkX5TPKMBSjs.showError; exports.showToast = _chunkX5TPKMBSjs.showToast; exports.translateData = _chunkFPO4DLZNjs.translateData; exports.translateResponse = _chunkFPO4DLZNjs.translateResponse; exports.tryBootstrap = _chunkFPO4DLZNjs.tryBootstrap; exports.useComposedRefs = _chunkX5TPKMBSjs.useComposedRefs; exports.useIsMobile = _chunkX5TPKMBSjs.useIsMobile; exports.userObjectSchema = _chunkX5TPKMBSjs.userObjectSchema; exports.validateCodiceFiscale = _chunkX5TPKMBSjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkX5TPKMBSjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkX5TPKMBSjs.validatePartitaIva;
459
461
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;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;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+2aAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;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,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,y6aAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-7DJOQTNN.mjs";
21
+ } from "./chunk-MN2BUSEU.mjs";
22
22
  import {
23
23
  AVAILABLE_OAUTH_SCOPES,
24
24
  AbstractApiData,
@@ -62,6 +62,7 @@ import {
62
62
  ContentService,
63
63
  DEFAULT_GRANT_TYPES,
64
64
  EndpointCreator,
65
+ EntityAiStatus,
65
66
  Feature,
66
67
  FeatureModule,
67
68
  FeatureService,
@@ -215,7 +216,7 @@ import {
215
216
  validateCodiceFiscale,
216
217
  validateItalianTaxCode,
217
218
  validatePartitaIva
218
- } from "./chunk-DLTMYGLR.mjs";
219
+ } from "./chunk-EQEW64CH.mjs";
219
220
  import "./chunk-AUXK7QSA.mjs";
220
221
  import "./chunk-C7C7VY4F.mjs";
221
222
  import {
@@ -277,6 +278,7 @@ export {
277
278
  DataClassRegistry as DataClass,
278
279
  DataClassRegistry,
279
280
  EndpointCreator,
281
+ EntityAiStatus,
280
282
  Feature,
281
283
  FeatureModule,
282
284
  FeatureService,
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkKSU6CCW6js = require('../chunk-KSU6CCW6.js');
18
+ var _chunkX5TPKMBSjs = require('../chunk-X5TPKMBS.js');
19
19
  require('../chunk-LXKSUWAV.js');
20
20
  require('../chunk-IBS6NI7D.js');
21
21
 
@@ -86,7 +86,7 @@ var ServerSession = class {
86
86
  if (!rawModules) return false;
87
87
  const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
88
88
  const selectedModule = modules.find((module) => module.id === params.module.moduleId);
89
- return _chunkKSU6CCW6js.checkPermissionsFromServer.call(void 0, {
89
+ return _chunkX5TPKMBSjs.checkPermissionsFromServer.call(void 0, {
90
90
  module: params.module,
91
91
  action: params.action,
92
92
  data: params.data,
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
296
296
 
297
297
 
298
298
 
299
- exports.ServerAuthService = _chunkKSU6CCW6js.AuthService; exports.ServerCompanyService = _chunkKSU6CCW6js.CompanyService; exports.ServerContentService = _chunkKSU6CCW6js.ContentService; exports.ServerFeatureService = _chunkKSU6CCW6js.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkKSU6CCW6js.NotificationService; exports.ServerPushService = _chunkKSU6CCW6js.PushService; exports.ServerRoleService = _chunkKSU6CCW6js.RoleService; exports.ServerS3Service = _chunkKSU6CCW6js.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkKSU6CCW6js.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
299
+ exports.ServerAuthService = _chunkX5TPKMBSjs.AuthService; exports.ServerCompanyService = _chunkX5TPKMBSjs.CompanyService; exports.ServerContentService = _chunkX5TPKMBSjs.ContentService; exports.ServerFeatureService = _chunkX5TPKMBSjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkX5TPKMBSjs.NotificationService; exports.ServerPushService = _chunkX5TPKMBSjs.PushService; exports.ServerRoleService = _chunkX5TPKMBSjs.RoleService; exports.ServerS3Service = _chunkX5TPKMBSjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkX5TPKMBSjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
300
300
  //# sourceMappingURL=index.js.map
@@ -15,7 +15,7 @@ import {
15
15
  S3Service,
16
16
  UserService,
17
17
  checkPermissionsFromServer
18
- } from "../chunk-DLTMYGLR.mjs";
18
+ } from "../chunk-EQEW64CH.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -93,6 +93,11 @@ export type BlockNoteEditorProps = {
93
93
  // height and scrolls internally. Without it the editor grows to fit its
94
94
  // content and pushes the surrounding form to scroll instead.
95
95
  stretch?: boolean;
96
+ // Gates AI on top of `aiConfig` (credit availability, etc.). Defaults to
97
+ // true so existing callers that only pass `aiConfig` are unaffected. When
98
+ // false, no AI extension is created, the AI toolbar button and AI slash
99
+ // items are hidden, and the editor falls back to the plain slash menu.
100
+ aiEnabled?: boolean;
96
101
  };
97
102
 
98
103
  function isBlockEmpty(block: any): boolean {
@@ -408,6 +413,7 @@ export default function BlockNoteEditor({
408
413
  onWarmMentions,
409
414
  aiConfig,
410
415
  stretch,
416
+ aiEnabled = true,
411
417
  }: BlockNoteEditorProps): React.JSX.Element {
412
418
  const t = useTranslations();
413
419
  const locale = useI18nLocale();
@@ -483,7 +489,7 @@ export default function BlockNoteEditor({
483
489
 
484
490
  const companyId = company?.id;
485
491
  const aiExtension = useMemo(() => {
486
- if (!aiConfig) return undefined;
492
+ if (!aiConfig || !aiEnabled) return undefined;
487
493
  const base = getPublicApiUrl();
488
494
  const url = new URL(aiConfig.endpoint, base.endsWith("/") ? base : base + "/").toString();
489
495
  return AIExtension({
@@ -524,7 +530,7 @@ export default function BlockNoteEditor({
524
530
  },
525
531
  }),
526
532
  });
527
- }, [aiConfig, companyId, locale]);
533
+ }, [aiConfig, aiEnabled, companyId, locale]);
528
534
 
529
535
  const uploadImage = useCallback(
530
536
  async (file: File): Promise<string> => {
@@ -834,7 +840,7 @@ export default function BlockNoteEditor({
834
840
  onChange={handleChange}
835
841
  editable={onChange !== undefined}
836
842
  formattingToolbar={false}
837
- slashMenu={!aiConfig}
843
+ slashMenu={!aiConfig || !aiEnabled}
838
844
  // Follow the app theme: hardcoding "light" leaves dark (light-theme)
839
845
  // text on the dark card, which is nearly unreadable in dark mode.
840
846
  theme={resolvedTheme === "dark" ? "dark" : "light"}
@@ -854,7 +860,7 @@ export default function BlockNoteEditor({
854
860
  size === "sm" && "small",
855
861
  )}
856
862
  >
857
- <BlockNoteEditorFormattingToolbar showAI={!!aiConfig} />
863
+ <BlockNoteEditorFormattingToolbar showAI={!!aiConfig && aiEnabled} />
858
864
  {enableMentions && mentionSearchFn && (
859
865
  <BlockNoteEditorMentionSuggestionMenu
860
866
  editor={editor}
@@ -867,7 +873,7 @@ export default function BlockNoteEditor({
867
873
  {enableMentions && mentionResolveFn && (
868
874
  <BlockNoteEditorMentionHoverCard containerRef={editorRef} mentionResolveFn={mentionResolveFn} />
869
875
  )}
870
- {aiConfig && (
876
+ {aiConfig && aiEnabled && (
871
877
  <SuggestionMenuController
872
878
  triggerCharacter="/"
873
879
  getItems={async (query: string) =>
@@ -875,7 +881,7 @@ export default function BlockNoteEditor({
875
881
  }
876
882
  />
877
883
  )}
878
- {aiConfig && <AIMenuController aiMenu={() => <NarrAIMenu />} />}
884
+ {aiConfig && aiEnabled && <AIMenuController aiMenu={() => <NarrAIMenu />} />}
879
885
  </BlockNoteView>
880
886
  </div>
881
887
  );
@@ -31,6 +31,12 @@ interface Props {
31
31
  /** Rendered inside the sidebar's details panel above the thread list. */
32
32
  detailsTitle: string;
33
33
  detailsIcon: React.ReactNode;
34
+ /**
35
+ * Disables the composer for a reason external to this component (e.g. the
36
+ * consuming app's credit gate) — ORed with the in-flight `ctx.sending`
37
+ * disable, never replacing it.
38
+ */
39
+ disabled?: boolean;
34
40
  }
35
41
 
36
42
  /**
@@ -47,6 +53,7 @@ export function AssistantPageContainer({
47
53
  suggestionMenuComponent,
48
54
  detailsTitle,
49
55
  detailsIcon,
56
+ disabled,
50
57
  }: Props) {
51
58
  const t = useTranslations();
52
59
  const ctx = useAssistantContext();
@@ -111,7 +118,7 @@ export function AssistantPageContainer({
111
118
  )}
112
119
  <AssistantBlockNoteComposer
113
120
  onSend={(content, opts) => ctx.sendMessage(content, { contentBlocks: opts.contentBlocks })}
114
- disabled={ctx.sending}
121
+ disabled={ctx.sending || disabled}
115
122
  mentionSearchFn={mentionSearchFn}
116
123
  mentionSearchParams={mentionSearchParams}
117
124
  mentionResolveFn={mentionResolveFn}
@@ -246,9 +246,9 @@ export function PriceEditor({ productId, price, open, onOpenChange, onSuccess }:
246
246
  </DialogHeader>
247
247
 
248
248
  {isEditMode && (
249
- <div className="bg-blue-50 border border-blue-200 rounded-lg p-4 flex gap-x-3">
250
- <AlertCircle className="h-5 w-5 text-blue-600 flex-shrink-0 mt-0.5" />
251
- <div className="text-sm text-blue-800">
249
+ <div className="bg-primary/10 border-primary/30 flex gap-x-3 rounded-lg border p-4">
250
+ <AlertCircle className="text-primary mt-0.5 h-5 w-5 flex-shrink-0" />
251
+ <div className="text-foreground text-sm">
252
252
  <p className="font-semibold mb-1">Stripe Price Immutability</p>
253
253
  <p>
254
254
  Due to Stripe's architecture, only the nickname and active status can be modified after creation. To
@@ -66,7 +66,7 @@ export function PromoCodeInput({
66
66
  if (appliedCode?.valid) {
67
67
  return (
68
68
  <div className="space-y-2">
69
- <div className="flex items-center justify-between p-3 bg-green-50 border border-green-200 rounded-lg">
69
+ <div className="bg-success/15 border-success/30 flex items-center justify-between rounded-lg border p-3">
70
70
  <div className="flex items-center gap-2">
71
71
  <Check className="text-success h-4 w-4" />
72
72
  <span className="text-success font-medium">{appliedCode.code}</span>
@@ -77,7 +77,7 @@ export function PromoCodeInput({
77
77
  size="sm"
78
78
  onClick={onRemove}
79
79
  disabled={disabled}
80
- className="text-success hover:bg-green-100 hover:text-success"
80
+ className="text-success hover:bg-success/25 hover:text-success"
81
81
  >
82
82
  <X className="h-4 w-4" />
83
83
  </Button>
@@ -156,7 +156,7 @@ export function SubscriptionDetails({
156
156
 
157
157
  {/* Cancellation Warning */}
158
158
  {subscription.cancelAtPeriodEnd && (
159
- <div className="bg-yellow-50 border border-yellow-200 rounded-lg p-3">
159
+ <div className="bg-warning/15 border-warning/30 rounded-lg border p-3">
160
160
  <p className="text-warning text-xs/relaxed">
161
161
  This subscription will be canceled at the end of the current period on{" "}
162
162
  {formatDate(subscription.currentPeriodEnd)}.
@@ -75,7 +75,7 @@ export function CancelSubscriptionDialog({
75
75
 
76
76
  <Form {...form}>
77
77
  <form onSubmit={form.handleSubmit(onSubmit)} className="flex flex-col gap-y-4">
78
- <div className="bg-blue-50 border border-blue-200 rounded-lg p-3 text-sm text-blue-800">
78
+ <div className="bg-primary/10 border-primary/30 text-foreground rounded-lg border p-3 text-sm">
79
79
  Your subscription will remain active until {periodEndDate}. You can continue using the service until then.
80
80
  </div>
81
81
 
@@ -9,28 +9,28 @@ type ProrationPreviewProps = {
9
9
 
10
10
  export function ProrationPreview({ preview }: ProrationPreviewProps) {
11
11
  return (
12
- <div className="bg-blue-50 border border-blue-200 rounded-lg p-4">
13
- <h4 className="font-semibold text-blue-900 mb-3">Proration Breakdown</h4>
12
+ <div className="bg-primary/10 border-primary/30 rounded-lg border p-4">
13
+ <h4 className="text-primary mb-3 font-semibold">Proration Breakdown</h4>
14
14
 
15
15
  <div className="space-y-2">
16
16
  {preview.lineItems.map((item, index) => (
17
17
  <div key={index} className="flex justify-between text-sm">
18
- <span className="text-blue-800">{item.description}</span>
19
- <span className={`font-medium ${item.amount < 0 ? "text-success" : "text-blue-900"}`}>
18
+ <span className="text-muted-foreground">{item.description}</span>
19
+ <span className={`font-medium ${item.amount < 0 ? "text-success" : "text-foreground"}`}>
20
20
  {formatCurrency(item.amount, preview.currency)}
21
21
  </span>
22
22
  </div>
23
23
  ))}
24
24
 
25
- <div className="border-t border-blue-200 pt-2 mt-2">
25
+ <div className="border-primary/30 mt-2 border-t pt-2">
26
26
  <div className="flex justify-between font-semibold">
27
- <span className="text-blue-900">Net Due Today</span>
28
- <span className="text-blue-900">{formatCurrency(preview.immediateCharge, preview.currency)}</span>
27
+ <span className="text-foreground">Net Due Today</span>
28
+ <span className="text-foreground">{formatCurrency(preview.immediateCharge, preview.currency)}</span>
29
29
  </div>
30
30
  </div>
31
31
 
32
32
  {preview.lineItems.length > 0 && preview.lineItems[0].period && (
33
- <div className="text-xs text-blue-700 mt-2">
33
+ <div className="text-muted-foreground mt-2 text-xs">
34
34
  Next invoice on {formatDate(preview.lineItems[0].period.end)} for{" "}
35
35
  {formatCurrency(preview.amountDue, preview.currency)}
36
36
  </div>
@@ -151,21 +151,21 @@ export function WizardStepReview({
151
151
  {/* Proration Preview (for plan changes) */}
152
152
  {isChangingPlan && prorationPreview && (
153
153
  <div
154
- className={`${isTrialUpgrade ? "bg-amber-50 border-amber-200" : "bg-blue-50 border-blue-200"} border rounded-lg p-4 space-y-2`}
154
+ className={`${isTrialUpgrade ? "bg-warning/15 border-warning/30" : "bg-primary/10 border-primary/30"} space-y-2 rounded-lg border p-4`}
155
155
  >
156
- <h4 className={`font-medium ${isTrialUpgrade ? "text-warning" : "text-blue-800"}`}>
156
+ <h4 className={`font-medium ${isTrialUpgrade ? "text-warning" : "text-primary"}`}>
157
157
  {isTrialUpgrade ? "Trial Upgrade" : "Proration Summary"}
158
158
  </h4>
159
- <p className={`text-sm ${isTrialUpgrade ? "text-warning" : "text-blue-700"}`}>
159
+ <p className={`text-sm ${isTrialUpgrade ? "text-warning" : "text-foreground"}`}>
160
160
  {isTrialUpgrade
161
161
  ? "Your trial will end immediately and you will be charged the full price."
162
162
  : "Your next charge will be adjusted to account for the plan change."}
163
163
  </p>
164
164
  <div className="flex justify-between text-sm">
165
- <span className={`${isTrialUpgrade ? "text-warning" : "text-blue-600"}`}>
165
+ <span className={`${isTrialUpgrade ? "text-warning" : "text-muted-foreground"}`}>
166
166
  {isTrialUpgrade ? "Amount to charge now:" : "Amount due now:"}
167
167
  </span>
168
- <span className={`font-medium ${isTrialUpgrade ? "text-warning" : "text-blue-800"}`}>
168
+ <span className={`font-medium ${isTrialUpgrade ? "text-warning" : "text-foreground"}`}>
169
169
  {discountedImmediateCharge !== null ? (
170
170
  <>
171
171
  <span className="line-through text-muted-foreground mr-2">
@@ -0,0 +1,13 @@
1
+ // Frontend mirror of the backend `EntityAiStatus` enum (apps/api). Keep the
2
+ // exact const-object + type shape and PascalCase values in sync with the
3
+ // backend — this is the shared contract for credit-gated AI processing state.
4
+ export const EntityAiStatus = {
5
+ Pending: "Pending",
6
+ Summarising: "Summarising",
7
+ Completed: "Completed",
8
+ Failed: "Failed",
9
+ PendingCredits: "PendingCredits",
10
+ Discarded: "Discarded",
11
+ } as const;
12
+
13
+ export type EntityAiStatus = (typeof EntityAiStatus)[keyof typeof EntityAiStatus];
@@ -2,3 +2,4 @@ export * from "./company";
2
2
  export * from "./company.fields";
3
3
  export * from "./company.interface";
4
4
  export * from "./company.service";
5
+ export * from "./entity-ai-status";