@carlonicora/nextjs-jsonapi 2.1.3 → 2.2.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 (57) hide show
  1. package/dist/{BlockNoteEditor-75CHO24E.mjs → BlockNoteEditor-2LGNETXD.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-76GLONZJ.js → BlockNoteEditor-EAEGUVFI.js} +19 -19
  3. package/dist/{BlockNoteEditor-76GLONZJ.js.map → BlockNoteEditor-EAEGUVFI.js.map} +1 -1
  4. package/dist/billing/index.js +357 -357
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-BFCCVHJ7.js → chunk-4I2W336O.js} +831 -765
  7. package/dist/chunk-4I2W336O.js.map +1 -0
  8. package/dist/{chunk-MAWTFEY3.mjs → chunk-B34NBMKV.mjs} +2 -2
  9. package/dist/{chunk-JG7MCYCW.js → chunk-BLKR2Q7F.js} +7 -7
  10. package/dist/{chunk-JG7MCYCW.js.map → chunk-BLKR2Q7F.js.map} +1 -1
  11. package/dist/{chunk-6YIZX26T.js → chunk-DQJ5C5TV.js} +10 -2
  12. package/dist/chunk-DQJ5C5TV.js.map +1 -0
  13. package/dist/{chunk-KIFJ7JRO.mjs → chunk-OC7F4L7K.mjs} +144 -78
  14. package/dist/chunk-OC7F4L7K.mjs.map +1 -0
  15. package/dist/{chunk-P5TMD7GK.mjs → chunk-R57FRJ6H.mjs} +9 -1
  16. package/dist/chunk-R57FRJ6H.mjs.map +1 -0
  17. package/dist/client/index.js +4 -4
  18. package/dist/client/index.mjs +3 -3
  19. package/dist/components/index.d.mts +12 -0
  20. package/dist/components/index.d.ts +12 -0
  21. package/dist/components/index.js +4 -4
  22. package/dist/components/index.mjs +3 -3
  23. package/dist/contexts/index.js +4 -4
  24. package/dist/contexts/index.mjs +3 -3
  25. package/dist/core/index.d.mts +15 -1
  26. package/dist/core/index.d.ts +15 -1
  27. package/dist/core/index.js +4 -2
  28. package/dist/core/index.js.map +1 -1
  29. package/dist/core/index.mjs +3 -1
  30. package/dist/features/help/index.js +37 -37
  31. package/dist/features/help/index.mjs +3 -3
  32. package/dist/features/tokenusage/index.js +71 -71
  33. package/dist/features/tokenusage/index.mjs +3 -3
  34. package/dist/index.d.mts +1 -1
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.js +5 -3
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +4 -2
  39. package/dist/server/index.js +3 -3
  40. package/dist/server/index.mjs +1 -1
  41. package/package.json +1 -1
  42. package/src/components/containers/RoundPageContainer.tsx +10 -1
  43. package/src/components/navigations/RecentPagesNavigator.tsx +64 -33
  44. package/src/components/navigations/__tests__/RecentPagesNavigator.spec.tsx +166 -0
  45. package/src/features/user/components/details/UserStandaloneDetails.tsx +2 -0
  46. package/src/features/user/components/forms/UserAvatarEditor.tsx +5 -1
  47. package/src/hooks/__tests__/usePageTracker.spec.tsx +296 -0
  48. package/src/hooks/usePageTracker.ts +108 -19
  49. package/src/utils/index.ts +1 -0
  50. package/src/utils/isRemoteImageSrc.test.ts +29 -0
  51. package/src/utils/isRemoteImageSrc.ts +16 -0
  52. package/dist/chunk-6YIZX26T.js.map +0 -1
  53. package/dist/chunk-BFCCVHJ7.js.map +0 -1
  54. package/dist/chunk-KIFJ7JRO.mjs.map +0 -1
  55. package/dist/chunk-P5TMD7GK.mjs.map +0 -1
  56. /package/dist/{BlockNoteEditor-75CHO24E.mjs.map → BlockNoteEditor-2LGNETXD.mjs.map} +0 -0
  57. /package/dist/{chunk-MAWTFEY3.mjs.map → chunk-B34NBMKV.mjs.map} +0 -0
@@ -26,8 +26,8 @@ import {
26
26
  TableHeader,
27
27
  TableRow,
28
28
  usePageUrlGenerator
29
- } from "../../chunk-KIFJ7JRO.mjs";
30
- import "../../chunk-MAWTFEY3.mjs";
29
+ } from "../../chunk-OC7F4L7K.mjs";
30
+ import "../../chunk-B34NBMKV.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-P5TMD7GK.mjs";
42
+ } from "../../chunk-R57FRJ6H.mjs";
43
43
  import "../../chunk-AUXK7QSA.mjs";
44
44
  import "../../chunk-C7C7VY4F.mjs";
45
45
  import "../../chunk-Z2CB63VG.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, 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, 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, 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, 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 _chunkJG7MCYCWjs = require('./chunk-JG7MCYCW.js');
21
+ var _chunkBLKR2Q7Fjs = require('./chunk-BLKR2Q7F.js');
22
22
 
23
23
 
24
24
 
@@ -214,7 +214,8 @@ var _chunkJG7MCYCWjs = require('./chunk-JG7MCYCW.js');
214
214
 
215
215
 
216
216
 
217
- var _chunk6YIZX26Tjs = require('./chunk-6YIZX26T.js');
217
+
218
+ var _chunkDQJ5C5TVjs = require('./chunk-DQJ5C5TV.js');
218
219
  require('./chunk-LXKSUWAV.js');
219
220
  require('./chunk-IBS6NI7D.js');
220
221
 
@@ -453,5 +454,6 @@ require('./chunk-7QVYU63E.js');
453
454
 
454
455
 
455
456
 
456
- exports.ACTION_TYPES = _chunkJG7MCYCWjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk6YIZX26Tjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6YIZX26Tjs.AbstractApiData; exports.AbstractService = _chunk6YIZX26Tjs.AbstractService; exports.Action = _chunk6YIZX26Tjs.Action; exports.Assistant = _chunk6YIZX26Tjs.Assistant; exports.AssistantAction = _chunk6YIZX26Tjs.AssistantAction; exports.AssistantActionModule = _chunk6YIZX26Tjs.AssistantActionModule; exports.AssistantActionService = _chunk6YIZX26Tjs.AssistantActionService; exports.AssistantMessage = _chunk6YIZX26Tjs.AssistantMessage; exports.AssistantMessageModule = _chunk6YIZX26Tjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6YIZX26Tjs.AssistantMessageService; exports.AssistantModule = _chunk6YIZX26Tjs.AssistantModule; exports.AssistantService = _chunk6YIZX26Tjs.AssistantService; exports.AuditLog = _chunk6YIZX26Tjs.AuditLog; exports.AuditLogModule = _chunk6YIZX26Tjs.AuditLogModule; exports.AuditLogService = _chunk6YIZX26Tjs.AuditLogService; exports.Auth = _chunk6YIZX26Tjs.Auth; exports.AuthComponent = _chunk6YIZX26Tjs.AuthComponent; exports.AuthModule = _chunk6YIZX26Tjs.AuthModule; exports.AuthService = _chunk6YIZX26Tjs.AuthService; exports.AuthorModule = _chunk6YIZX26Tjs.AuthorModule; exports.BackupCodeVerify = _chunk6YIZX26Tjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6YIZX26Tjs.BackupCodeVerifyModule; exports.Billing = _chunk6YIZX26Tjs.Billing; exports.BillingModule = _chunk6YIZX26Tjs.BillingModule; exports.BillingService = _chunk6YIZX26Tjs.BillingService; exports.BlockNoteDiffUtil = _chunk6YIZX26Tjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6YIZX26Tjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkJG7MCYCWjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunk6YIZX26Tjs.Chunk; exports.ChunkModule = _chunk6YIZX26Tjs.ChunkModule; exports.ClientAbstractService = _chunk6YIZX26Tjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6YIZX26Tjs.ClientHttpMethod; exports.Company = _chunk6YIZX26Tjs.Company; exports.CompanyFields = _chunk6YIZX26Tjs.CompanyFields; exports.CompanyModule = _chunk6YIZX26Tjs.CompanyModule; exports.CompanyService = _chunk6YIZX26Tjs.CompanyService; exports.Content = _chunk6YIZX26Tjs.Content; exports.ContentFields = _chunk6YIZX26Tjs.ContentFields; exports.ContentModule = _chunk6YIZX26Tjs.ContentModule; exports.ContentService = _chunk6YIZX26Tjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6YIZX26Tjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunk6YIZX26Tjs.EndpointCreator; exports.Feature = _chunk6YIZX26Tjs.Feature; exports.FeatureModule = _chunk6YIZX26Tjs.FeatureModule; exports.FeatureService = _chunk6YIZX26Tjs.FeatureService; exports.HowTo = _chunk6YIZX26Tjs.HowTo; exports.HowToFields = _chunk6YIZX26Tjs.HowToFields; exports.HowToModule = _chunk6YIZX26Tjs.HowToModule; exports.HowToService = _chunk6YIZX26Tjs.HowToService; exports.HttpMethod = _chunk6YIZX26Tjs.HttpMethod; exports.InvoiceStatus = _chunk6YIZX26Tjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6YIZX26Tjs.MOBILE_BREAKPOINT; exports.Module = _chunk6YIZX26Tjs.Module; exports.ModuleModule = _chunk6YIZX26Tjs.ModuleModule; exports.ModulePaths = _chunk6YIZX26Tjs.ModulePaths; exports.ModulePathsModule = _chunk6YIZX26Tjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6YIZX26Tjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6YIZX26Tjs.ModuleRegistry; exports.Modules = _chunk6YIZX26Tjs.Modules; exports.Notification = _chunk6YIZX26Tjs.Notification; exports.NotificationFields = _chunk6YIZX26Tjs.NotificationFields; exports.NotificationModule = _chunk6YIZX26Tjs.NotificationModule; exports.NotificationService = _chunk6YIZX26Tjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6YIZX26Tjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6YIZX26Tjs.OAuthClient; exports.OAuthModule = _chunk6YIZX26Tjs.OAuthModule; exports.OAuthService = _chunk6YIZX26Tjs.OAuthService; exports.Passkey = _chunk6YIZX26Tjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6YIZX26Tjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6YIZX26Tjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6YIZX26Tjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6YIZX26Tjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6YIZX26Tjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6YIZX26Tjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6YIZX26Tjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6YIZX26Tjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6YIZX26Tjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6YIZX26Tjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6YIZX26Tjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6YIZX26Tjs.PaymentMethod; exports.PermissionMapping = _chunk6YIZX26Tjs.PermissionMapping; exports.PermissionMappingModule = _chunk6YIZX26Tjs.PermissionMappingModule; exports.Push = _chunk6YIZX26Tjs.Push; exports.PushModule = _chunk6YIZX26Tjs.PushModule; exports.PushService = _chunk6YIZX26Tjs.PushService; exports.RbacMatrixModel = _chunk6YIZX26Tjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk6YIZX26Tjs.RbacMatrixModule; exports.RbacService = _chunkJG7MCYCWjs.RbacService; exports.ReferralModule = _chunk6YIZX26Tjs.ReferralModule; exports.ReferralService = _chunk6YIZX26Tjs.ReferralService; exports.ReferralStats = _chunk6YIZX26Tjs.ReferralStats; exports.ReferralStatsModule = _chunk6YIZX26Tjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6YIZX26Tjs.RehydrationFactory; exports.Role = _chunk6YIZX26Tjs.Role; exports.RoleFields = _chunk6YIZX26Tjs.RoleFields; exports.RoleModule = _chunk6YIZX26Tjs.RoleModule; exports.RoleService = _chunk6YIZX26Tjs.RoleService; exports.S3 = _chunk6YIZX26Tjs.S3; exports.S3Module = _chunk6YIZX26Tjs.S3Module; exports.S3Service = _chunk6YIZX26Tjs.S3Service; exports.StripeCustomer = _chunk6YIZX26Tjs.StripeCustomer; exports.StripeCustomerModule = _chunk6YIZX26Tjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6YIZX26Tjs.StripeCustomerService; exports.StripeInvoice = _chunk6YIZX26Tjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6YIZX26Tjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6YIZX26Tjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6YIZX26Tjs.StripePaymentMethodModule; exports.StripePrice = _chunk6YIZX26Tjs.StripePrice; exports.StripePriceModule = _chunk6YIZX26Tjs.StripePriceModule; exports.StripePriceService = _chunk6YIZX26Tjs.StripePriceService; exports.StripeProduct = _chunk6YIZX26Tjs.StripeProduct; exports.StripeProductModule = _chunk6YIZX26Tjs.StripeProductModule; exports.StripeProductService = _chunk6YIZX26Tjs.StripeProductService; exports.StripePromotionCode = _chunk6YIZX26Tjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6YIZX26Tjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6YIZX26Tjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6YIZX26Tjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6YIZX26Tjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6YIZX26Tjs.StripeSubscriptionService; exports.StripeUsage = _chunk6YIZX26Tjs.StripeUsage; exports.StripeUsageModule = _chunk6YIZX26Tjs.StripeUsageModule; exports.StripeUsageService = _chunk6YIZX26Tjs.StripeUsageService; exports.SubscriptionStatus = _chunk6YIZX26Tjs.SubscriptionStatus; exports.TableOptions = _chunk6YIZX26Tjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6YIZX26Tjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6YIZX26Tjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6YIZX26Tjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6YIZX26Tjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6YIZX26Tjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6YIZX26Tjs.TotpSetup; exports.TotpSetupModule = _chunk6YIZX26Tjs.TotpSetupModule; exports.TotpVerify = _chunk6YIZX26Tjs.TotpVerify; exports.TotpVerifyLogin = _chunk6YIZX26Tjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6YIZX26Tjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6YIZX26Tjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6YIZX26Tjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6YIZX26Tjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6YIZX26Tjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6YIZX26Tjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6YIZX26Tjs.TwoFactorService; exports.TwoFactorStatus = _chunk6YIZX26Tjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6YIZX26Tjs.TwoFactorStatusModule; exports.User = _chunk6YIZX26Tjs.User; exports.UserFields = _chunk6YIZX26Tjs.UserFields; exports.UserModule = _chunk6YIZX26Tjs.UserModule; exports.UserService = _chunk6YIZX26Tjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6YIZX26Tjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6YIZX26Tjs.Waitlist; exports.WaitlistModule = _chunk6YIZX26Tjs.WaitlistModule; exports.WaitlistService = _chunk6YIZX26Tjs.WaitlistService; exports.WaitlistStats = _chunk6YIZX26Tjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6YIZX26Tjs.WaitlistStatsModule; exports.checkPermissions = _chunk6YIZX26Tjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6YIZX26Tjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6YIZX26Tjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk6YIZX26Tjs.clearLastApiTotal; exports.cn = _chunk6YIZX26Tjs.cn; exports.composeRefs = _chunk6YIZX26Tjs.composeRefs; exports.configureAuth = _chunk6YIZX26Tjs.configureAuth; exports.configureI18n = _chunkJG7MCYCWjs.configureI18n; exports.configureJsonApi = _chunkJG7MCYCWjs.configureJsonApi; exports.configureLogin = _chunkJG7MCYCWjs.configureLogin; exports.configureReferral = _chunkJG7MCYCWjs.configureReferral; exports.configureRoles = _chunkJG7MCYCWjs.configureRoles; exports.configureWaitlist = _chunkJG7MCYCWjs.configureWaitlist; exports.createJsonApiInclusion = _chunk6YIZX26Tjs.createJsonApiInclusion; exports.dismissToast = _chunk6YIZX26Tjs.dismissToast; exports.entityObjectSchema = _chunk6YIZX26Tjs.entityObjectSchema; exports.exists = _chunk6YIZX26Tjs.exists; exports.formatCodiceFiscale = _chunk6YIZX26Tjs.formatCodiceFiscale; exports.formatDate = _chunk6YIZX26Tjs.formatDate; exports.formatLocalDate = _chunk6YIZX26Tjs.formatLocalDate; exports.formatPartitaIva = _chunk6YIZX26Tjs.formatPartitaIva; exports.getApiUrl = _chunkJG7MCYCWjs.getApiUrl; exports.getAppUrl = _chunkJG7MCYCWjs.getAppUrl; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6YIZX26Tjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6YIZX26Tjs.getGlobalErrorHandler; exports.getIcon = _chunk6YIZX26Tjs.getIcon; exports.getIconByModule = _chunk6YIZX26Tjs.getIconByModule; exports.getIconByModuleName = _chunk6YIZX26Tjs.getIconByModuleName; exports.getInitials = _chunk6YIZX26Tjs.getInitials; exports.getLastApiMeta = _chunk6YIZX26Tjs.getLastApiMeta; exports.getLastApiTotal = _chunk6YIZX26Tjs.getLastApiTotal; exports.getLucideIcon = _chunk6YIZX26Tjs.getLucideIcon; exports.getLucideIconByModule = _chunk6YIZX26Tjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6YIZX26Tjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkJG7MCYCWjs.getPublicApiUrl; exports.getReferralConfig = _chunkJG7MCYCWjs.getReferralConfig; exports.getRoleId = _chunkJG7MCYCWjs.getRoleId; exports.getStripePublishableKey = _chunkJG7MCYCWjs.getStripePublishableKey; exports.getTableComponents = _chunk6YIZX26Tjs.getTableComponents; exports.getTableOptions = _chunk6YIZX26Tjs.getTableOptions; exports.getTokenHandler = _chunk6YIZX26Tjs.getTokenHandler; exports.getTrackablePages = _chunkJG7MCYCWjs.getTrackablePages; exports.getValueFromPath = _chunk6YIZX26Tjs.getValueFromPath; exports.getWaitlistConfig = _chunkJG7MCYCWjs.getWaitlistConfig; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.isReferralEnabled = _chunkJG7MCYCWjs.isReferralEnabled; exports.isRolesConfigured = _chunkJG7MCYCWjs.isRolesConfigured; exports.rehydrate = _chunk6YIZX26Tjs.rehydrate; exports.rehydrateList = _chunk6YIZX26Tjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6YIZX26Tjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6YIZX26Tjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6YIZX26Tjs.showCustomToast; exports.showError = _chunk6YIZX26Tjs.showError; exports.showToast = _chunk6YIZX26Tjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunk6YIZX26Tjs.useComposedRefs; exports.useIsMobile = _chunk6YIZX26Tjs.useIsMobile; exports.userObjectSchema = _chunk6YIZX26Tjs.userObjectSchema; exports.validateCodiceFiscale = _chunk6YIZX26Tjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6YIZX26Tjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk6YIZX26Tjs.validatePartitaIva;
457
+
458
+ exports.ACTION_TYPES = _chunkBLKR2Q7Fjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkDQJ5C5TVjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkDQJ5C5TVjs.AbstractApiData; exports.AbstractService = _chunkDQJ5C5TVjs.AbstractService; exports.Action = _chunkDQJ5C5TVjs.Action; exports.Assistant = _chunkDQJ5C5TVjs.Assistant; exports.AssistantAction = _chunkDQJ5C5TVjs.AssistantAction; exports.AssistantActionModule = _chunkDQJ5C5TVjs.AssistantActionModule; exports.AssistantActionService = _chunkDQJ5C5TVjs.AssistantActionService; exports.AssistantMessage = _chunkDQJ5C5TVjs.AssistantMessage; exports.AssistantMessageModule = _chunkDQJ5C5TVjs.AssistantMessageModule; exports.AssistantMessageService = _chunkDQJ5C5TVjs.AssistantMessageService; exports.AssistantModule = _chunkDQJ5C5TVjs.AssistantModule; exports.AssistantService = _chunkDQJ5C5TVjs.AssistantService; exports.AuditLog = _chunkDQJ5C5TVjs.AuditLog; exports.AuditLogModule = _chunkDQJ5C5TVjs.AuditLogModule; exports.AuditLogService = _chunkDQJ5C5TVjs.AuditLogService; exports.Auth = _chunkDQJ5C5TVjs.Auth; exports.AuthComponent = _chunkDQJ5C5TVjs.AuthComponent; exports.AuthModule = _chunkDQJ5C5TVjs.AuthModule; exports.AuthService = _chunkDQJ5C5TVjs.AuthService; exports.AuthorModule = _chunkDQJ5C5TVjs.AuthorModule; exports.BackupCodeVerify = _chunkDQJ5C5TVjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkDQJ5C5TVjs.BackupCodeVerifyModule; exports.Billing = _chunkDQJ5C5TVjs.Billing; exports.BillingModule = _chunkDQJ5C5TVjs.BillingModule; exports.BillingService = _chunkDQJ5C5TVjs.BillingService; exports.BlockNoteDiffUtil = _chunkDQJ5C5TVjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkDQJ5C5TVjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkBLKR2Q7Fjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkDQJ5C5TVjs.Chunk; exports.ChunkModule = _chunkDQJ5C5TVjs.ChunkModule; exports.ClientAbstractService = _chunkDQJ5C5TVjs.ClientAbstractService; exports.ClientHttpMethod = _chunkDQJ5C5TVjs.ClientHttpMethod; exports.Company = _chunkDQJ5C5TVjs.Company; exports.CompanyFields = _chunkDQJ5C5TVjs.CompanyFields; exports.CompanyModule = _chunkDQJ5C5TVjs.CompanyModule; exports.CompanyService = _chunkDQJ5C5TVjs.CompanyService; exports.Content = _chunkDQJ5C5TVjs.Content; exports.ContentFields = _chunkDQJ5C5TVjs.ContentFields; exports.ContentModule = _chunkDQJ5C5TVjs.ContentModule; exports.ContentService = _chunkDQJ5C5TVjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkDQJ5C5TVjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunkDQJ5C5TVjs.EndpointCreator; exports.Feature = _chunkDQJ5C5TVjs.Feature; exports.FeatureModule = _chunkDQJ5C5TVjs.FeatureModule; exports.FeatureService = _chunkDQJ5C5TVjs.FeatureService; exports.HowTo = _chunkDQJ5C5TVjs.HowTo; exports.HowToFields = _chunkDQJ5C5TVjs.HowToFields; exports.HowToModule = _chunkDQJ5C5TVjs.HowToModule; exports.HowToService = _chunkDQJ5C5TVjs.HowToService; exports.HttpMethod = _chunkDQJ5C5TVjs.HttpMethod; exports.InvoiceStatus = _chunkDQJ5C5TVjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkDQJ5C5TVjs.MOBILE_BREAKPOINT; exports.Module = _chunkDQJ5C5TVjs.Module; exports.ModuleModule = _chunkDQJ5C5TVjs.ModuleModule; exports.ModulePaths = _chunkDQJ5C5TVjs.ModulePaths; exports.ModulePathsModule = _chunkDQJ5C5TVjs.ModulePathsModule; exports.ModuleRegistrar = _chunkDQJ5C5TVjs.ModuleRegistrar; exports.ModuleRegistry = _chunkDQJ5C5TVjs.ModuleRegistry; exports.Modules = _chunkDQJ5C5TVjs.Modules; exports.Notification = _chunkDQJ5C5TVjs.Notification; exports.NotificationFields = _chunkDQJ5C5TVjs.NotificationFields; exports.NotificationModule = _chunkDQJ5C5TVjs.NotificationModule; exports.NotificationService = _chunkDQJ5C5TVjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkDQJ5C5TVjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkDQJ5C5TVjs.OAuthClient; exports.OAuthModule = _chunkDQJ5C5TVjs.OAuthModule; exports.OAuthService = _chunkDQJ5C5TVjs.OAuthService; exports.Passkey = _chunkDQJ5C5TVjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkDQJ5C5TVjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkDQJ5C5TVjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkDQJ5C5TVjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkDQJ5C5TVjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkDQJ5C5TVjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkDQJ5C5TVjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkDQJ5C5TVjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkDQJ5C5TVjs.PasskeyRename; exports.PasskeyRenameModule = _chunkDQJ5C5TVjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkDQJ5C5TVjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkDQJ5C5TVjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkDQJ5C5TVjs.PaymentMethod; exports.PermissionMapping = _chunkDQJ5C5TVjs.PermissionMapping; exports.PermissionMappingModule = _chunkDQJ5C5TVjs.PermissionMappingModule; exports.Push = _chunkDQJ5C5TVjs.Push; exports.PushModule = _chunkDQJ5C5TVjs.PushModule; exports.PushService = _chunkDQJ5C5TVjs.PushService; exports.RbacMatrixModel = _chunkDQJ5C5TVjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkDQJ5C5TVjs.RbacMatrixModule; exports.RbacService = _chunkBLKR2Q7Fjs.RbacService; exports.ReferralModule = _chunkDQJ5C5TVjs.ReferralModule; exports.ReferralService = _chunkDQJ5C5TVjs.ReferralService; exports.ReferralStats = _chunkDQJ5C5TVjs.ReferralStats; exports.ReferralStatsModule = _chunkDQJ5C5TVjs.ReferralStatsModule; exports.RehydrationFactory = _chunkDQJ5C5TVjs.RehydrationFactory; exports.Role = _chunkDQJ5C5TVjs.Role; exports.RoleFields = _chunkDQJ5C5TVjs.RoleFields; exports.RoleModule = _chunkDQJ5C5TVjs.RoleModule; exports.RoleService = _chunkDQJ5C5TVjs.RoleService; exports.S3 = _chunkDQJ5C5TVjs.S3; exports.S3Module = _chunkDQJ5C5TVjs.S3Module; exports.S3Service = _chunkDQJ5C5TVjs.S3Service; exports.StripeCustomer = _chunkDQJ5C5TVjs.StripeCustomer; exports.StripeCustomerModule = _chunkDQJ5C5TVjs.StripeCustomerModule; exports.StripeCustomerService = _chunkDQJ5C5TVjs.StripeCustomerService; exports.StripeInvoice = _chunkDQJ5C5TVjs.StripeInvoice; exports.StripeInvoiceModule = _chunkDQJ5C5TVjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkDQJ5C5TVjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkDQJ5C5TVjs.StripePaymentMethodModule; exports.StripePrice = _chunkDQJ5C5TVjs.StripePrice; exports.StripePriceModule = _chunkDQJ5C5TVjs.StripePriceModule; exports.StripePriceService = _chunkDQJ5C5TVjs.StripePriceService; exports.StripeProduct = _chunkDQJ5C5TVjs.StripeProduct; exports.StripeProductModule = _chunkDQJ5C5TVjs.StripeProductModule; exports.StripeProductService = _chunkDQJ5C5TVjs.StripeProductService; exports.StripePromotionCode = _chunkDQJ5C5TVjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkDQJ5C5TVjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkDQJ5C5TVjs.StripePromotionCodeService; exports.StripeSubscription = _chunkDQJ5C5TVjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkDQJ5C5TVjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkDQJ5C5TVjs.StripeSubscriptionService; exports.StripeUsage = _chunkDQJ5C5TVjs.StripeUsage; exports.StripeUsageModule = _chunkDQJ5C5TVjs.StripeUsageModule; exports.StripeUsageService = _chunkDQJ5C5TVjs.StripeUsageService; exports.SubscriptionStatus = _chunkDQJ5C5TVjs.SubscriptionStatus; exports.TableOptions = _chunkDQJ5C5TVjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkDQJ5C5TVjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkDQJ5C5TVjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkDQJ5C5TVjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkDQJ5C5TVjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkDQJ5C5TVjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkDQJ5C5TVjs.TotpSetup; exports.TotpSetupModule = _chunkDQJ5C5TVjs.TotpSetupModule; exports.TotpVerify = _chunkDQJ5C5TVjs.TotpVerify; exports.TotpVerifyLogin = _chunkDQJ5C5TVjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkDQJ5C5TVjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkDQJ5C5TVjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkDQJ5C5TVjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkDQJ5C5TVjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkDQJ5C5TVjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkDQJ5C5TVjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkDQJ5C5TVjs.TwoFactorService; exports.TwoFactorStatus = _chunkDQJ5C5TVjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkDQJ5C5TVjs.TwoFactorStatusModule; exports.User = _chunkDQJ5C5TVjs.User; exports.UserFields = _chunkDQJ5C5TVjs.UserFields; exports.UserModule = _chunkDQJ5C5TVjs.UserModule; exports.UserService = _chunkDQJ5C5TVjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkDQJ5C5TVjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkDQJ5C5TVjs.Waitlist; exports.WaitlistModule = _chunkDQJ5C5TVjs.WaitlistModule; exports.WaitlistService = _chunkDQJ5C5TVjs.WaitlistService; exports.WaitlistStats = _chunkDQJ5C5TVjs.WaitlistStats; exports.WaitlistStatsModule = _chunkDQJ5C5TVjs.WaitlistStatsModule; exports.checkPermissions = _chunkDQJ5C5TVjs.checkPermissions; exports.checkPermissionsFromServer = _chunkDQJ5C5TVjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkDQJ5C5TVjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkDQJ5C5TVjs.clearLastApiTotal; exports.cn = _chunkDQJ5C5TVjs.cn; exports.composeRefs = _chunkDQJ5C5TVjs.composeRefs; exports.configureAuth = _chunkDQJ5C5TVjs.configureAuth; exports.configureI18n = _chunkBLKR2Q7Fjs.configureI18n; exports.configureJsonApi = _chunkBLKR2Q7Fjs.configureJsonApi; exports.configureLogin = _chunkBLKR2Q7Fjs.configureLogin; exports.configureReferral = _chunkBLKR2Q7Fjs.configureReferral; exports.configureRoles = _chunkBLKR2Q7Fjs.configureRoles; exports.configureWaitlist = _chunkBLKR2Q7Fjs.configureWaitlist; exports.createJsonApiInclusion = _chunkDQJ5C5TVjs.createJsonApiInclusion; exports.dismissToast = _chunkDQJ5C5TVjs.dismissToast; exports.entityObjectSchema = _chunkDQJ5C5TVjs.entityObjectSchema; exports.exists = _chunkDQJ5C5TVjs.exists; exports.formatCodiceFiscale = _chunkDQJ5C5TVjs.formatCodiceFiscale; exports.formatDate = _chunkDQJ5C5TVjs.formatDate; exports.formatLocalDate = _chunkDQJ5C5TVjs.formatLocalDate; exports.formatPartitaIva = _chunkDQJ5C5TVjs.formatPartitaIva; exports.getApiUrl = _chunkBLKR2Q7Fjs.getApiUrl; exports.getAppUrl = _chunkBLKR2Q7Fjs.getAppUrl; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkDQJ5C5TVjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkDQJ5C5TVjs.getGlobalErrorHandler; exports.getIcon = _chunkDQJ5C5TVjs.getIcon; exports.getIconByModule = _chunkDQJ5C5TVjs.getIconByModule; exports.getIconByModuleName = _chunkDQJ5C5TVjs.getIconByModuleName; exports.getInitials = _chunkDQJ5C5TVjs.getInitials; exports.getLastApiMeta = _chunkDQJ5C5TVjs.getLastApiMeta; exports.getLastApiTotal = _chunkDQJ5C5TVjs.getLastApiTotal; exports.getLucideIcon = _chunkDQJ5C5TVjs.getLucideIcon; exports.getLucideIconByModule = _chunkDQJ5C5TVjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkDQJ5C5TVjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkBLKR2Q7Fjs.getPublicApiUrl; exports.getReferralConfig = _chunkBLKR2Q7Fjs.getReferralConfig; exports.getRoleId = _chunkBLKR2Q7Fjs.getRoleId; exports.getStripePublishableKey = _chunkBLKR2Q7Fjs.getStripePublishableKey; exports.getTableComponents = _chunkDQJ5C5TVjs.getTableComponents; exports.getTableOptions = _chunkDQJ5C5TVjs.getTableOptions; exports.getTokenHandler = _chunkDQJ5C5TVjs.getTokenHandler; exports.getTrackablePages = _chunkBLKR2Q7Fjs.getTrackablePages; exports.getValueFromPath = _chunkDQJ5C5TVjs.getValueFromPath; exports.getWaitlistConfig = _chunkBLKR2Q7Fjs.getWaitlistConfig; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.isReferralEnabled = _chunkBLKR2Q7Fjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkDQJ5C5TVjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkBLKR2Q7Fjs.isRolesConfigured; exports.rehydrate = _chunkDQJ5C5TVjs.rehydrate; exports.rehydrateList = _chunkDQJ5C5TVjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkDQJ5C5TVjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkDQJ5C5TVjs.setGlobalErrorHandler; exports.showCustomToast = _chunkDQJ5C5TVjs.showCustomToast; exports.showError = _chunkDQJ5C5TVjs.showError; exports.showToast = _chunkDQJ5C5TVjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunkDQJ5C5TVjs.useComposedRefs; exports.useIsMobile = _chunkDQJ5C5TVjs.useIsMobile; exports.userObjectSchema = _chunkDQJ5C5TVjs.userObjectSchema; exports.validateCodiceFiscale = _chunkDQJ5C5TVjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkDQJ5C5TVjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkDQJ5C5TVjs.validatePartitaIva;
457
459
  //# 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;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;AACF,izaAAC","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;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"}
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-MAWTFEY3.mjs";
21
+ } from "./chunk-B34NBMKV.mjs";
22
22
  import {
23
23
  AVAILABLE_OAUTH_SCOPES,
24
24
  AbstractApiData,
@@ -201,6 +201,7 @@ import {
201
201
  getTableOptions,
202
202
  getTokenHandler,
203
203
  getValueFromPath,
204
+ isRemoteImageSrc,
204
205
  rehydrate,
205
206
  rehydrateList,
206
207
  setClientGlobalErrorHandler,
@@ -214,7 +215,7 @@ import {
214
215
  validateCodiceFiscale,
215
216
  validateItalianTaxCode,
216
217
  validatePartitaIva
217
- } from "./chunk-P5TMD7GK.mjs";
218
+ } from "./chunk-R57FRJ6H.mjs";
218
219
  import "./chunk-AUXK7QSA.mjs";
219
220
  import "./chunk-C7C7VY4F.mjs";
220
221
  import {
@@ -434,6 +435,7 @@ export {
434
435
  getWaitlistConfig,
435
436
  hasBootstrapper,
436
437
  isReferralEnabled,
438
+ isRemoteImageSrc,
437
439
  isRolesConfigured,
438
440
  rehydrate,
439
441
  rehydrateList,
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunk6YIZX26Tjs = require('../chunk-6YIZX26T.js');
18
+ var _chunkDQJ5C5TVjs = require('../chunk-DQJ5C5TV.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 _chunk6YIZX26Tjs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunkDQJ5C5TVjs.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 = _chunk6YIZX26Tjs.AuthService; exports.ServerCompanyService = _chunk6YIZX26Tjs.CompanyService; exports.ServerContentService = _chunk6YIZX26Tjs.ContentService; exports.ServerFeatureService = _chunk6YIZX26Tjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk6YIZX26Tjs.NotificationService; exports.ServerPushService = _chunk6YIZX26Tjs.PushService; exports.ServerRoleService = _chunk6YIZX26Tjs.RoleService; exports.ServerS3Service = _chunk6YIZX26Tjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk6YIZX26Tjs.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 = _chunkDQJ5C5TVjs.AuthService; exports.ServerCompanyService = _chunkDQJ5C5TVjs.CompanyService; exports.ServerContentService = _chunkDQJ5C5TVjs.ContentService; exports.ServerFeatureService = _chunkDQJ5C5TVjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkDQJ5C5TVjs.NotificationService; exports.ServerPushService = _chunkDQJ5C5TVjs.PushService; exports.ServerRoleService = _chunkDQJ5C5TVjs.RoleService; exports.ServerS3Service = _chunkDQJ5C5TVjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkDQJ5C5TVjs.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-P5TMD7GK.mjs";
18
+ } from "../chunk-R57FRJ6H.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.1.3",
3
+ "version": "2.2.1",
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",
@@ -325,7 +325,16 @@ export function RoundPageContainer({
325
325
  data-testid="round-page-rail"
326
326
  className="hidden shrink-0 border-r p-4 md:flex md:w-56 md:flex-col md:overflow-y-auto"
327
327
  >
328
- <TabsList className="flex h-auto flex-col items-stretch gap-0.5 bg-transparent p-0">
328
+ {/* `w-full` is load-bearing: TabsList's base variant carries
329
+ `w-fit`, which shrinks the rail list to its widest label.
330
+ The active section's background and border then hug the
331
+ text instead of spanning the rail, so a short label like
332
+ "My Profile" renders as a button rather than a selected
333
+ row — visible only in dark mode, where those defaults
334
+ actually have contrast. Apps with long section labels
335
+ happen to look correct under `w-fit` purely by accident
336
+ of label length. */}
337
+ <TabsList className="flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0">
329
338
  {ungrouped.map((tab) => (
330
339
  <TabsTrigger key={tab.label} value={tabValue(tab)} className={railTriggerClass}>
331
340
  {tab.contentLabel ?? tab.label}
@@ -3,6 +3,7 @@
3
3
  import { useAtomValue } from "jotai";
4
4
  import { HistoryIcon } from "lucide-react";
5
5
  import { useTranslations } from "next-intl";
6
+ import { usePathname } from "next/navigation";
6
7
  import { recentPagesAtom } from "../../atoms";
7
8
  import {
8
9
  DropdownMenu,
@@ -13,52 +14,82 @@ import {
13
14
  DropdownMenuSeparator,
14
15
  DropdownMenuTrigger,
15
16
  Link,
17
+ SidebarMenuButton,
18
+ SidebarMenuItem,
16
19
  useSidebar,
17
20
  } from "../../shadcnui";
18
21
 
22
+ /**
23
+ * A complete sidebar row. It renders its own SidebarMenuItem and owns its
24
+ * trigger; consumers drop it into a SidebarMenu and add nothing around it.
25
+ *
26
+ * The trigger IS the SidebarMenuButton. Wrapping this component in a
27
+ * consumer-owned SidebarMenuButton instead — which four apps used to do —
28
+ * leaves the real trigger as an inline element inside a button that
29
+ * `group-data-[collapsible=icon]:size-8! p-2! overflow-hidden` clamps to a
30
+ * 16px content box once the rail collapses. The trigger shrinks to zero width
31
+ * behind the consumer's own icon, and the icon the user clicks belongs to a
32
+ * button with no handler.
33
+ */
19
34
  export function RecentPagesNavigator() {
20
35
  const recentPages = useAtomValue(recentPagesAtom);
21
36
  const t = useTranslations();
22
- const { state, isMobile } = useSidebar();
37
+ const { isMobile } = useSidebar();
38
+ const pathname = usePathname();
23
39
 
24
- if (recentPages.length === 0) {
25
- return null;
26
- }
40
+ // The page the user is standing on is not somewhere to navigate back to, so
41
+ // it is hidden while they are there. Filtering happens here rather than in
42
+ // usePageTracker so the page stays recorded and reappears at the top the
43
+ // moment they leave. A sub-path counts as being on the entity: the
44
+ // /campaigns/:id entry is hidden while the user is at /campaigns/:id/canvas.
45
+ //
46
+ // usePathname is typed non-nullable but is not trusted to be — usePageTracker
47
+ // guards it the same way. With no path known, hide nothing rather than
48
+ // throwing inside a component that renders on every page.
49
+ const isCurrentPage = (url: string) => !!pathname && (pathname === url || pathname.startsWith(`${url}/`));
50
+
51
+ const pages = recentPages.filter((page) => !isCurrentPage(page.url));
52
+
53
+ if (pages.length === 0) return null;
27
54
 
28
55
  return (
29
- <DropdownMenu>
30
- <DropdownMenuTrigger render={<span />} nativeButton={false}>
31
- <span className="flex w-full cursor-pointer items-center gap-2">
32
- {/* `state` is the DESKTOP rail's collapse state useSidebar derives it
33
- from `open` alone, never from `openMobile`. On mobile the sidebar
34
- always renders as a full-width sheet, so without the !isMobile guard
35
- this swaps its label for an icon inside the sheet — and consumers
36
- that also render their own item icon end up showing TWO. */}
37
- {state === "collapsed" && !isMobile ? (
38
- <HistoryIcon className="h-4 w-4" />
39
- ) : (
40
- <span>{t(`common.recent_pages`)}</span>
41
- )}
42
- </span>
43
- </DropdownMenuTrigger>
44
- <DropdownMenuContent align="start" className="w-96">
45
- <DropdownMenuGroup>
46
- <DropdownMenuLabel>{t(`common.recent_pages`)}</DropdownMenuLabel>
47
- <DropdownMenuSeparator />
48
- {recentPages.map((page, index) => (
49
- <DropdownMenuItem key={`${page.url}-${index}`}>
50
- <Link href={page.url} className="flex items-center gap-2">
56
+ <SidebarMenuItem>
57
+ <DropdownMenu>
58
+ {/* No collapsed/expanded branch: SidebarMenuButton's own `tooltip` prop
59
+ renders exactly when the rail is collapsed on desktop, and the label
60
+ is clipped by the button's overflow-hidden like every other row. */}
61
+ <DropdownMenuTrigger
62
+ data-testid="sidebar-recent-pages"
63
+ render={
64
+ <SidebarMenuButton
65
+ className="text-muted-foreground hover:bg-muted/50 cursor-pointer"
66
+ tooltip={t(`common.recent_pages`)}
67
+ />
68
+ }
69
+ >
70
+ <HistoryIcon />
71
+ <span>{t(`common.recent_pages`)}</span>
72
+ </DropdownMenuTrigger>
73
+ <DropdownMenuContent side={isMobile ? "bottom" : "right"} align="start" className="w-96">
74
+ <DropdownMenuGroup>
75
+ <DropdownMenuLabel>{t(`common.recent_pages`)}</DropdownMenuLabel>
76
+ <DropdownMenuSeparator />
77
+ {pages.map((page, index) => (
78
+ <DropdownMenuItem
79
+ key={`${page.url}-${index}`}
80
+ render={<Link href={page.url} className="flex items-center gap-2" />}
81
+ >
51
82
  <div className="flex flex-col">
52
- <div className="truncate text-sm">{page.title}</div>
83
+ <div className="truncate">{page.title}</div>
53
84
  <div className="text-muted-foreground text-xs font-normal">
54
85
  {t(`entities.${page.moduleType}`, { count: 1 })}
55
86
  </div>
56
87
  </div>
57
- </Link>
58
- </DropdownMenuItem>
59
- ))}
60
- </DropdownMenuGroup>
61
- </DropdownMenuContent>
62
- </DropdownMenu>
88
+ </DropdownMenuItem>
89
+ ))}
90
+ </DropdownMenuGroup>
91
+ </DropdownMenuContent>
92
+ </DropdownMenu>
93
+ </SidebarMenuItem>
63
94
  );
64
95
  }
@@ -0,0 +1,166 @@
1
+ import { render, screen } from "@testing-library/react";
2
+ import userEvent from "@testing-library/user-event";
3
+ import { createStore, Provider } from "jotai";
4
+ import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
5
+ import { recentPagesAtom, type RecentPage } from "../../../atoms";
6
+ import { configureI18n } from "../../../i18n";
7
+ import { SidebarMenu, SidebarProvider } from "../../../shadcnui";
8
+ import { RecentPagesNavigator } from "../RecentPagesNavigator";
9
+
10
+ // usePathname is globally mocked to "/" in vitest.setup.ts. Override it here so
11
+ // the current-page filter can be exercised. A spec-level vi.mock takes
12
+ // precedence over the setup-file mock for this module.
13
+ const pathnameRef: { current: string | null } = { current: "/" };
14
+ vi.mock("next/navigation", () => ({
15
+ usePathname: () => pathnameRef.current,
16
+ useRouter: () => ({
17
+ push: vi.fn(),
18
+ replace: vi.fn(),
19
+ prefetch: vi.fn(),
20
+ back: vi.fn(),
21
+ forward: vi.fn(),
22
+ refresh: vi.fn(),
23
+ }),
24
+ useSearchParams: () => new URLSearchParams(),
25
+ useParams: () => ({}),
26
+ redirect: vi.fn(),
27
+ notFound: vi.fn(),
28
+ }));
29
+
30
+ beforeEach(() => {
31
+ pathnameRef.current = "/";
32
+ });
33
+
34
+ beforeAll(() => {
35
+ // The package Link resolves its inner component at runtime and throws if i18n
36
+ // was never configured (src/i18n/config.ts).
37
+ configureI18n({
38
+ useRouter: () => ({
39
+ push: vi.fn(),
40
+ replace: vi.fn(),
41
+ back: vi.fn(),
42
+ forward: vi.fn(),
43
+ refresh: vi.fn(),
44
+ prefetch: vi.fn(),
45
+ }),
46
+ useTranslations: () => (key: string) => key,
47
+ usePathname: () => "/",
48
+ Link: ({ href, children, ...rest }: { href: string; children: React.ReactNode; [key: string]: any }) => (
49
+ <a href={href} {...rest}>
50
+ {children}
51
+ </a>
52
+ ),
53
+ });
54
+ });
55
+
56
+ const PAGES: RecentPage[] = [
57
+ { url: "/npcs/npc-1", title: "Charlie", moduleType: "npcs", timestamp: 2 },
58
+ { url: "/campaigns/camp-1", title: "Venezia Obscura", moduleType: "campaigns", timestamp: 1 },
59
+ ];
60
+
61
+ function renderNavigator({
62
+ pages = PAGES,
63
+ open = true,
64
+ pathname = "/",
65
+ }: { pages?: RecentPage[]; open?: boolean; pathname?: string | null } = {}) {
66
+ pathnameRef.current = pathname;
67
+ const store = createStore();
68
+ store.set(recentPagesAtom, pages);
69
+ return render(
70
+ <Provider store={store}>
71
+ <SidebarProvider open={open}>
72
+ <SidebarMenu>
73
+ <RecentPagesNavigator />
74
+ </SidebarMenu>
75
+ </SidebarProvider>
76
+ </Provider>,
77
+ );
78
+ }
79
+
80
+ describe("RecentPagesNavigator", () => {
81
+ it("renders nothing when no pages have been recorded", () => {
82
+ renderNavigator({ pages: [] });
83
+ expect(screen.queryByTestId("sidebar-recent-pages")).toBeNull();
84
+ });
85
+
86
+ it("renders exactly one trigger button", () => {
87
+ // Regression: four apps wrapped this component in their own
88
+ // SidebarMenuButton and rendered a second HistoryIcon beside it. The
89
+ // wrapper had no handler, so the visible icon was dead in the collapsed
90
+ // rail. Exactly one button, and it must be the trigger.
91
+ renderNavigator();
92
+ const triggers = screen.getAllByTestId("sidebar-recent-pages");
93
+ expect(triggers).toHaveLength(1);
94
+ expect(triggers[0].tagName).toBe("BUTTON");
95
+ });
96
+
97
+ it("opens the menu when the trigger is clicked in the collapsed rail", async () => {
98
+ renderNavigator({ open: false });
99
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
100
+ expect(await screen.findByText("Charlie")).toBeInTheDocument();
101
+ });
102
+
103
+ it("opens the menu when the trigger is clicked while expanded", async () => {
104
+ renderNavigator({ open: true });
105
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
106
+ expect(await screen.findByText("Venezia Obscura")).toBeInTheDocument();
107
+ });
108
+
109
+ it("shows the entity name over its translated singular type", async () => {
110
+ renderNavigator();
111
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
112
+ expect(await screen.findByText("Charlie")).toBeInTheDocument();
113
+ // The i18n mock echoes the key back, so the second line is the raw key.
114
+ expect(screen.getByText("entities.npcs")).toBeInTheDocument();
115
+ expect(screen.getByText("entities.campaigns")).toBeInTheDocument();
116
+ });
117
+
118
+ it("makes each entry an anchor pointing at the recorded url", async () => {
119
+ renderNavigator();
120
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
121
+ const link = (await screen.findByText("Charlie")).closest("a");
122
+ expect(link).not.toBeNull();
123
+ expect(link).toHaveAttribute("href", "/npcs/npc-1");
124
+ });
125
+
126
+ it("hides the entry for the page the user is currently on", async () => {
127
+ renderNavigator({ pathname: "/npcs/npc-1" });
128
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
129
+ expect(await screen.findByText("Venezia Obscura")).toBeInTheDocument();
130
+ expect(screen.queryByText("Charlie")).toBeNull();
131
+ });
132
+
133
+ it("hides the entry for the entity whose sub-page the user is on", async () => {
134
+ renderNavigator({ pathname: "/campaigns/camp-1/canvas" });
135
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
136
+ expect(await screen.findByText("Charlie")).toBeInTheDocument();
137
+ expect(screen.queryByText("Venezia Obscura")).toBeNull();
138
+ });
139
+
140
+ it("does not hide an entry whose url is merely a string prefix of the current path", async () => {
141
+ // "/npcs/npc-1" must not be hidden while on "/npcs/npc-10".
142
+ renderNavigator({
143
+ pages: [{ url: "/npcs/npc-1", title: "Charlie", moduleType: "npcs", timestamp: 1 }],
144
+ pathname: "/npcs/npc-10",
145
+ });
146
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
147
+ expect(await screen.findByText("Charlie")).toBeInTheDocument();
148
+ });
149
+
150
+ it("renders nothing when the only recorded page is the one being viewed", () => {
151
+ renderNavigator({
152
+ pages: [{ url: "/npcs/npc-1", title: "Charlie", moduleType: "npcs", timestamp: 1 }],
153
+ pathname: "/npcs/npc-1",
154
+ });
155
+ expect(screen.queryByTestId("sidebar-recent-pages")).toBeNull();
156
+ });
157
+
158
+ it("hides nothing when the pathname is unavailable", async () => {
159
+ // usePathname is typed non-nullable but can return null in practice; the
160
+ // sidebar must degrade rather than throw.
161
+ renderNavigator({ pathname: null as unknown as string });
162
+ await userEvent.click(screen.getByTestId("sidebar-recent-pages"));
163
+ expect(await screen.findByText("Charlie")).toBeInTheDocument();
164
+ expect(screen.getByText("Venezia Obscura")).toBeInTheDocument();
165
+ });
166
+ });
@@ -8,6 +8,7 @@ import { useSharedContext } from "../../../../contexts";
8
8
  import { Modules } from "../../../../core";
9
9
  import { usePageUrlGenerator } from "../../../../hooks";
10
10
  import { Badge, Link } from "../../../../shadcnui";
11
+ import { isRemoteImageSrc } from "../../../../utils";
11
12
  import { RoleInterface } from "../../../role";
12
13
  import { UserInterface } from "../../data";
13
14
 
@@ -48,6 +49,7 @@ export function UserStanadaloneDetails({ user }: UserDetailsProps) {
48
49
  alt={user.name}
49
50
  width={800}
50
51
  height={600}
52
+ unoptimized={isRemoteImageSrc(user.avatar)}
51
53
  className="h-auto w-full rounded-lg object-contain"
52
54
  />
53
55
  </div>
@@ -7,6 +7,7 @@ import { useEffect, useState } from "react";
7
7
  import { DropzoneOptions } from "react-dropzone";
8
8
  import { FileInput, FileUploader } from "../../../../components";
9
9
  import { Button } from "../../../../shadcnui";
10
+ import { isRemoteImageSrc } from "../../../../utils";
10
11
  import { UserInterface } from "../../data";
11
12
 
12
13
  type UserAvatarEditorProps = {
@@ -28,6 +29,8 @@ export function UserAvatarEditor({ user, file, setFile, resetImage, setResetImag
28
29
  }
29
30
  }, [files]);
30
31
 
32
+ const avatarSrc = file ? URL.createObjectURL(file) : user?.avatar || "";
33
+
31
34
  const dropzone = {
32
35
  multiple: false,
33
36
  maxSize: 100 * 1024 * 1024,
@@ -48,10 +51,11 @@ export function UserAvatarEditor({ user, file, setFile, resetImage, setResetImag
48
51
  <FileInput className="bg-muted text-muted-foreground flex h-full w-full flex-col items-center justify-center">
49
52
  {!resetImage && (file || user?.avatar) ? (
50
53
  <Image
51
- src={file ? URL.createObjectURL(file) : user?.avatar || ""}
54
+ src={avatarSrc}
52
55
  alt={t(`common.avatar`)}
53
56
  width={200}
54
57
  height={200}
58
+ unoptimized={isRemoteImageSrc(avatarSrc)}
55
59
  />
56
60
  ) : (
57
61
  <UploadIcon className="my-4 h-8 w-8" />