@carlonicora/nextjs-jsonapi 2.2.0 → 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 (51) hide show
  1. package/dist/{BlockNoteEditor-HAUE4EPR.mjs → BlockNoteEditor-2LGNETXD.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-5TMQ5YCD.js → BlockNoteEditor-EAEGUVFI.js} +19 -19
  3. package/dist/{BlockNoteEditor-5TMQ5YCD.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-HPKCZMQX.js → chunk-4I2W336O.js} +741 -737
  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-PGW2OP3L.mjs → chunk-OC7F4L7K.mjs} +11 -7
  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.js +4 -4
  20. package/dist/components/index.mjs +3 -3
  21. package/dist/contexts/index.js +4 -4
  22. package/dist/contexts/index.mjs +3 -3
  23. package/dist/core/index.d.mts +15 -1
  24. package/dist/core/index.d.ts +15 -1
  25. package/dist/core/index.js +4 -2
  26. package/dist/core/index.js.map +1 -1
  27. package/dist/core/index.mjs +3 -1
  28. package/dist/features/help/index.js +37 -37
  29. package/dist/features/help/index.mjs +3 -3
  30. package/dist/features/tokenusage/index.js +71 -71
  31. package/dist/features/tokenusage/index.mjs +3 -3
  32. package/dist/index.d.mts +1 -1
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.js +5 -3
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +4 -2
  37. package/dist/server/index.js +3 -3
  38. package/dist/server/index.mjs +1 -1
  39. package/package.json +1 -1
  40. package/src/components/containers/RoundPageContainer.tsx +10 -1
  41. package/src/features/user/components/details/UserStandaloneDetails.tsx +2 -0
  42. package/src/features/user/components/forms/UserAvatarEditor.tsx +5 -1
  43. package/src/utils/index.ts +1 -0
  44. package/src/utils/isRemoteImageSrc.test.ts +29 -0
  45. package/src/utils/isRemoteImageSrc.ts +16 -0
  46. package/dist/chunk-6YIZX26T.js.map +0 -1
  47. package/dist/chunk-HPKCZMQX.js.map +0 -1
  48. package/dist/chunk-P5TMD7GK.mjs.map +0 -1
  49. package/dist/chunk-PGW2OP3L.mjs.map +0 -1
  50. /package/dist/{BlockNoteEditor-HAUE4EPR.mjs.map → BlockNoteEditor-2LGNETXD.mjs.map} +0 -0
  51. /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-PGW2OP3L.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.2.0",
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}
@@ -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" />
@@ -12,6 +12,7 @@ export { getTableComponents, getTableOptions, TableOptions } from "./table-optio
12
12
  export { entityObjectSchema, userObjectSchema, type EntityObject, type UserObject } from "./schemas";
13
13
 
14
14
  export { getInitials } from "./getInitials";
15
+ export { isRemoteImageSrc } from "./isRemoteImageSrc";
15
16
  export {
16
17
  validatePartitaIva,
17
18
  validateCodiceFiscale,
@@ -0,0 +1,29 @@
1
+ import { describe, expect, it } from "vitest";
2
+ import { isRemoteImageSrc } from "./isRemoteImageSrc";
3
+
4
+ describe("isRemoteImageSrc", () => {
5
+ it("returns true for an https URL", () => {
6
+ expect(isRemoteImageSrc("https://cdn.discordapp.com/avatars/123/abc.png")).toBe(true);
7
+ });
8
+
9
+ it("returns true for an http URL", () => {
10
+ expect(isRemoteImageSrc("http://minio.narr8.test:9000/bucket/key.png")).toBe(true);
11
+ });
12
+
13
+ it("returns false for a blob URL", () => {
14
+ expect(isRemoteImageSrc("blob:http://narr8.test:3951/2f8c-4a")).toBe(false);
15
+ });
16
+
17
+ it("returns false for a data URL", () => {
18
+ expect(isRemoteImageSrc("data:image/png;base64,iVBORw0KGgo=")).toBe(false);
19
+ });
20
+
21
+ it("returns false for an app-relative path", () => {
22
+ expect(isRemoteImageSrc("/logo.webp")).toBe(false);
23
+ });
24
+
25
+ it("returns false for an empty or missing src", () => {
26
+ expect(isRemoteImageSrc("")).toBe(false);
27
+ expect(isRemoteImageSrc(undefined)).toBe(false);
28
+ });
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * True when an image src is an absolute remote URL.
3
+ *
4
+ * `next/image` THROWS when it is given an absolute URL whose hostname is not
5
+ * listed in `images.remotePatterns`, which takes down the whole page through
6
+ * the nearest error boundary. Avatars can come from OAuth providers
7
+ * (Discord, Google, ...), so their hostname is user-controlled and can never
8
+ * be reliably enumerated in config. Pass `unoptimized` for these srcs.
9
+ *
10
+ * `blob:` and `data:` srcs are excluded: `next/image` already marks those
11
+ * unoptimized on its own.
12
+ */
13
+ export function isRemoteImageSrc(src?: string | null): boolean {
14
+ if (!src) return false;
15
+ return src.startsWith("http://") || src.startsWith("https://");
16
+ }