@carlonicora/nextjs-jsonapi 6.12.0 → 6.12.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.
- package/dist/{AbstractService-Ckm2X5fW.d.mts → AbstractService-N0wFgaHD.d.mts} +1 -1
- package/dist/{AbstractService-V3VGQMhL.d.ts → AbstractService-kNAykPDk.d.ts} +1 -1
- package/dist/{BlockNoteEditor-R2SLOYS6.js → BlockNoteEditor-CBYKEXAQ.js} +19 -19
- package/dist/{BlockNoteEditor-R2SLOYS6.js.map → BlockNoteEditor-CBYKEXAQ.js.map} +1 -1
- package/dist/{BlockNoteEditor-ZJPGGUQQ.mjs → BlockNoteEditor-N2NBYCPC.mjs} +4 -4
- package/dist/{BlockNoteViewer-UCA3LV3N.mjs → BlockNoteViewer-MTGS6YJV.mjs} +2 -2
- package/dist/{BlockNoteViewer-FLUHEXE6.js → BlockNoteViewer-WGCDB7IJ.js} +3 -3
- package/dist/{BlockNoteViewer-FLUHEXE6.js.map → BlockNoteViewer-WGCDB7IJ.js.map} +1 -1
- package/dist/billing/index.js +491 -491
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-6RLATJ2L.mjs → chunk-4FNGWALA.mjs} +2 -2
- package/dist/{chunk-BXR36J25.js → chunk-6NZKWIOR.js} +908 -908
- package/dist/{chunk-BXR36J25.js.map → chunk-6NZKWIOR.js.map} +1 -1
- package/dist/{chunk-SQUMPLNN.mjs → chunk-6XJOQFCP.mjs} +5 -5
- package/dist/{chunk-BGLOFZ3K.mjs → chunk-AA52ORW2.mjs} +11 -15
- package/dist/chunk-AA52ORW2.mjs.map +1 -0
- package/dist/{chunk-YP6W4AB5.mjs → chunk-EWCY6QJA.mjs} +2 -2
- package/dist/{chunk-YGEOX2XX.js → chunk-FF4EIQ6H.js} +11 -15
- package/dist/chunk-FF4EIQ6H.js.map +1 -0
- package/dist/{chunk-FNPXCYHO.js → chunk-L6PYFQTO.js} +8 -8
- package/dist/{chunk-FNPXCYHO.js.map → chunk-L6PYFQTO.js.map} +1 -1
- package/dist/{chunk-OHJSI6L2.js → chunk-O3PDL2CV.js} +4 -4
- package/dist/{chunk-OHJSI6L2.js.map → chunk-O3PDL2CV.js.map} +1 -1
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +7 -7
- package/dist/core/index.d.ts +7 -7
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/email-automations/index.js +93 -93
- package/dist/email-automations/index.mjs +3 -3
- package/dist/features/analytics/index.d.mts +1 -1
- package/dist/features/analytics/index.d.ts +1 -1
- package/dist/features/analytics/index.js +120 -120
- package/dist/features/analytics/index.mjs +3 -3
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/blog/index.js +150 -150
- package/dist/features/blog/index.mjs +3 -3
- package/dist/features/blog/server.js +16 -16
- package/dist/features/blog/server.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.d.mts +1 -1
- package/dist/features/tokenusage/index.d.ts +1 -1
- package/dist/features/tokenusage/index.js +126 -126
- package/dist/features/tokenusage/index.mjs +3 -3
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{referral-admin.interface-CMwl5NiV.d.ts → referral-admin.interface-CnytdDaQ.d.ts} +1 -1
- package/dist/{referral-admin.interface-C87ApGMR.d.mts → referral-admin.interface-RVO-ZTJz.d.mts} +1 -1
- package/dist/{s3.service-BG136Btz.d.mts → s3.service-CeUsKm-d.d.mts} +1 -1
- package/dist/{s3.service-CsrsRPRn.d.ts → s3.service-SkZnngeR.d.ts} +1 -1
- package/dist/server/index.d.mts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/core/abstracts/AbstractService.ts +5 -11
- package/src/core/abstracts/ClientAbstractService.ts +5 -11
- package/src/core/abstracts/__tests__/AbstractService.locale.spec.ts +43 -0
- package/src/core/abstracts/__tests__/ClientAbstractService.locale.spec.ts +69 -0
- package/src/i18n/__tests__/config.spec.ts +22 -1
- package/src/i18n/config.ts +5 -0
- package/src/i18n/index.ts +1 -0
- package/dist/chunk-BGLOFZ3K.mjs.map +0 -1
- package/dist/chunk-YGEOX2XX.js.map +0 -1
- /package/dist/{BlockNoteEditor-ZJPGGUQQ.mjs.map → BlockNoteEditor-N2NBYCPC.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-UCA3LV3N.mjs.map → BlockNoteViewer-MTGS6YJV.mjs.map} +0 -0
- /package/dist/{chunk-6RLATJ2L.mjs.map → chunk-4FNGWALA.mjs.map} +0 -0
- /package/dist/{chunk-SQUMPLNN.mjs.map → chunk-6XJOQFCP.mjs.map} +0 -0
- /package/dist/{chunk-YP6W4AB5.mjs.map → chunk-EWCY6QJA.mjs.map} +0 -0
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
seriesTheme,
|
|
40
40
|
usePageUrlGenerator,
|
|
41
41
|
useUsageFormatters
|
|
42
|
-
} from "../../chunk-
|
|
43
|
-
import "../../chunk-
|
|
42
|
+
} from "../../chunk-6XJOQFCP.mjs";
|
|
43
|
+
import "../../chunk-4FNGWALA.mjs";
|
|
44
44
|
import "../../chunk-PW42LRSL.mjs";
|
|
45
45
|
import {
|
|
46
46
|
AbstractService,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
configureTokenUsage,
|
|
60
60
|
getTokenUsageCurrency,
|
|
61
61
|
tokenUsageModules
|
|
62
|
-
} from "../../chunk-
|
|
62
|
+
} from "../../chunk-AA52ORW2.mjs";
|
|
63
63
|
import "../../chunk-V5MI7RNB.mjs";
|
|
64
64
|
import "../../chunk-AUXK7QSA.mjs";
|
|
65
65
|
import "../../chunk-PI56A4DG.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -4,15 +4,15 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiD
|
|
|
4
4
|
export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
5
5
|
export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
|
|
6
6
|
import { A as AbstractApiData } from './AbstractApiData-CKy8tbde.mjs';
|
|
7
|
-
import { A as AbstractService } from './AbstractService-
|
|
8
|
-
export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './AbstractService-
|
|
7
|
+
import { A as AbstractService } from './AbstractService-N0wFgaHD.mjs';
|
|
8
|
+
export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './AbstractService-N0wFgaHD.mjs';
|
|
9
9
|
export { A as AssistantInput, b as AssistantInterface, e as AssistantMessageInput, f as AssistantMessageInterface, c as AssistantMessageRole, d as AssistantMessageType, B as BreadcrumbItemData, g as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-BE3QxI54.mjs';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-1AlHDtDb.mjs';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
|
12
|
-
export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionFields, n as AiConnectionInput, m as AiConnectionInterface, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, k as AiProviderRegistry, A as AuthComponent, q as EmailBlastInput, r as EmailBlastInterface, E as EmailBlastStatus, H as HandbookPageInterface, s as HandbookSectionInterface, P as PasskeyInterface, R as ReferralAdminPeriod, w as ReferralAdminReferralInterface, v as ReferralAdminReferrerInterface, t as ReferralAdminSort, u as ReferralAdminSummaryInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './referral-admin.interface-
|
|
12
|
+
export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionFields, n as AiConnectionInput, m as AiConnectionInterface, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, k as AiProviderRegistry, A as AuthComponent, q as EmailBlastInput, r as EmailBlastInterface, E as EmailBlastStatus, H as HandbookPageInterface, s as HandbookSectionInterface, P as PasskeyInterface, R as ReferralAdminPeriod, w as ReferralAdminReferralInterface, v as ReferralAdminReferrerInterface, t as ReferralAdminSort, u as ReferralAdminSummaryInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './referral-admin.interface-RVO-ZTJz.mjs';
|
|
13
13
|
export { A as Action, d as ModuleDefinition, a as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, b as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser } from './types-Bq_UA8Lg.mjs';
|
|
14
14
|
export { A as AuthInput, b as AuthInterface, a as AuthQuery, S as SIGNUP_SOURCE_COOKIE, c as SIGNUP_SOURCE_COOKIE_MAX_AGE, e as SignupSource, d as captureSignupSource, g as getSignupSource, r as readSignupSourceFromLocation } from './auth.interface-BAYLbYjs.mjs';
|
|
15
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-
|
|
15
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-CeUsKm-d.mjs';
|
|
16
16
|
export { a as CREDIT_WARNING_DISMISS_SEGMENT, b as CompanyInput, c as CompanyInterface, C as CreditWarningOffer, R as RoleInput, d as RoleInterface, e as UserInput, U as UserInterface, i as isCreditWarningActive, r as resolveChangePlanTarget } from './user.interface-Bm-0TbsB.mjs';
|
|
17
17
|
export { I as InvoiceStatus, M as MeterInterface, e as MeterSummaryInterface, P as PaymentMethodInterface, g as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, q as StripeCouponCodeFlagsInput, p as StripeCouponCodeInput, o as StripeCouponCodeInterface, k as StripeCouponDiscountInput, h as StripeCouponDiscountType, l as StripeCouponDurationInput, i as StripeCouponDurationType, m as StripeCouponInput, j as StripeCouponInterface, n as StripeCouponRenameInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, d as StripeUsageInterface, f as UsageRecordInterface, U as UsageSummaryInterface, s as formatCurrency, t as formatFixed, r as formatInterval } from './currency-BhuEoBOn.mjs';
|
|
18
18
|
export { F as FeatureInterface, M as ModuleInterface, P as PriceRecurring, b as StripePriceInput, a as StripePriceInterface, d as StripeProductInput, c as StripeProductInterface, h as StripeSubscriptionCreateMeta, i as StripeSubscriptionCreateResponse, f as StripeSubscriptionDiscount, g as StripeSubscriptionInput, S as StripeSubscriptionInterface, e as SubscriptionStatus } from './stripe-price.interface-D6mKjAdr.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiD
|
|
|
4
4
|
export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
5
5
|
export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
|
|
6
6
|
import { A as AbstractApiData } from './AbstractApiData-rgvs0cdY.js';
|
|
7
|
-
import { A as AbstractService } from './AbstractService-
|
|
8
|
-
export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './AbstractService-
|
|
7
|
+
import { A as AbstractService } from './AbstractService-kNAykPDk.js';
|
|
8
|
+
export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './AbstractService-kNAykPDk.js';
|
|
9
9
|
export { A as AssistantInput, b as AssistantInterface, e as AssistantMessageInput, f as AssistantMessageInterface, c as AssistantMessageRole, d as AssistantMessageType, B as BreadcrumbItemData, g as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-nXpD_d-m.js';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-1AlHDtDb.js';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
|
12
|
-
export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionFields, n as AiConnectionInput, m as AiConnectionInterface, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, k as AiProviderRegistry, A as AuthComponent, q as EmailBlastInput, r as EmailBlastInterface, E as EmailBlastStatus, H as HandbookPageInterface, s as HandbookSectionInterface, P as PasskeyInterface, R as ReferralAdminPeriod, w as ReferralAdminReferralInterface, v as ReferralAdminReferrerInterface, t as ReferralAdminSort, u as ReferralAdminSummaryInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './referral-admin.interface-
|
|
12
|
+
export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionFields, n as AiConnectionInput, m as AiConnectionInterface, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, k as AiProviderRegistry, A as AuthComponent, q as EmailBlastInput, r as EmailBlastInterface, E as EmailBlastStatus, H as HandbookPageInterface, s as HandbookSectionInterface, P as PasskeyInterface, R as ReferralAdminPeriod, w as ReferralAdminReferralInterface, v as ReferralAdminReferrerInterface, t as ReferralAdminSort, u as ReferralAdminSummaryInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './referral-admin.interface-CnytdDaQ.js';
|
|
13
13
|
export { A as Action, d as ModuleDefinition, a as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, b as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser } from './types-bsm8Fp55.js';
|
|
14
14
|
export { A as AuthInput, b as AuthInterface, a as AuthQuery, S as SIGNUP_SOURCE_COOKIE, c as SIGNUP_SOURCE_COOKIE_MAX_AGE, e as SignupSource, d as captureSignupSource, g as getSignupSource, r as readSignupSourceFromLocation } from './auth.interface-BjYwwfy9.js';
|
|
15
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-
|
|
15
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-SkZnngeR.js';
|
|
16
16
|
export { a as CREDIT_WARNING_DISMISS_SEGMENT, b as CompanyInput, c as CompanyInterface, C as CreditWarningOffer, R as RoleInput, d as RoleInterface, e as UserInput, U as UserInterface, i as isCreditWarningActive, r as resolveChangePlanTarget } from './user.interface-CKBIEvNu.js';
|
|
17
17
|
export { I as InvoiceStatus, M as MeterInterface, e as MeterSummaryInterface, P as PaymentMethodInterface, g as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, q as StripeCouponCodeFlagsInput, p as StripeCouponCodeInput, o as StripeCouponCodeInterface, k as StripeCouponDiscountInput, h as StripeCouponDiscountType, l as StripeCouponDurationInput, i as StripeCouponDurationType, m as StripeCouponInput, j as StripeCouponInterface, n as StripeCouponRenameInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, d as StripeUsageInterface, f as UsageRecordInterface, U as UsageSummaryInterface, s as formatCurrency, t as formatFixed, r as formatInterval } from './currency-CBgZkS0u.js';
|
|
18
18
|
export { F as FeatureInterface, M as ModuleInterface, P as PriceRecurring, b as StripePriceInput, a as StripePriceInterface, d as StripeProductInput, c as StripeProductInterface, h as StripeSubscriptionCreateMeta, i as StripeSubscriptionCreateResponse, f as StripeSubscriptionDiscount, g as StripeSubscriptionInput, S as StripeSubscriptionInterface, e as SubscriptionStatus } from './stripe-price.interface-DGqcklFJ.js';
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkL6PYFQTOjs = require('./chunk-L6PYFQTO.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -334,7 +334,7 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
|
|
|
334
334
|
|
|
335
335
|
|
|
336
336
|
|
|
337
|
-
var
|
|
337
|
+
var _chunkFF4EIQ6Hjs = require('./chunk-FF4EIQ6H.js');
|
|
338
338
|
|
|
339
339
|
|
|
340
340
|
|
|
@@ -693,5 +693,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
693
693
|
|
|
694
694
|
|
|
695
695
|
|
|
696
|
-
exports.ACCOUNT_DELETION_CANCELLED_KEY = _chunkYGEOX2XXjs.ACCOUNT_DELETION_CANCELLED_KEY; exports.ACTION_TYPES = _chunkFNPXCYHOjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkYGEOX2XXjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkYGEOX2XXjs.AbstractApiData; exports.AbstractService = _chunkYGEOX2XXjs.AbstractService; exports.AccountDeletion = _chunkYGEOX2XXjs.AccountDeletion; exports.AccountDeletionModule = _chunkYGEOX2XXjs.AccountDeletionModule; exports.AccountDeletionService = _chunkYGEOX2XXjs.AccountDeletionService; exports.Action = _chunkYGEOX2XXjs.Action; exports.AiConnection = _chunkYGEOX2XXjs.AiConnection; exports.AiConnectionFields = _chunkYGEOX2XXjs.AiConnectionFields; exports.AiConnectionModule = _chunkYGEOX2XXjs.AiConnectionModule; exports.AiConnectionService = _chunkYGEOX2XXjs.AiConnectionService; exports.Assistant = _chunkYGEOX2XXjs.Assistant; exports.AssistantAction = _chunkYGEOX2XXjs.AssistantAction; exports.AssistantActionModule = _chunkYGEOX2XXjs.AssistantActionModule; exports.AssistantActionService = _chunkYGEOX2XXjs.AssistantActionService; exports.AssistantMessage = _chunkYGEOX2XXjs.AssistantMessage; exports.AssistantMessageModule = _chunkYGEOX2XXjs.AssistantMessageModule; exports.AssistantMessageService = _chunkYGEOX2XXjs.AssistantMessageService; exports.AssistantModule = _chunkYGEOX2XXjs.AssistantModule; exports.AssistantService = _chunkYGEOX2XXjs.AssistantService; exports.AuditLog = _chunkYGEOX2XXjs.AuditLog; exports.AuditLogModule = _chunkYGEOX2XXjs.AuditLogModule; exports.AuditLogService = _chunkYGEOX2XXjs.AuditLogService; exports.Auth = _chunkYGEOX2XXjs.Auth; exports.AuthComponent = _chunkYGEOX2XXjs.AuthComponent; exports.AuthModule = _chunkYGEOX2XXjs.AuthModule; exports.AuthService = _chunkYGEOX2XXjs.AuthService; exports.AuthorModule = _chunkYGEOX2XXjs.AuthorModule; exports.BackupCodeVerify = _chunkYGEOX2XXjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkYGEOX2XXjs.BackupCodeVerifyModule; exports.Billing = _chunkYGEOX2XXjs.Billing; exports.BillingModule = _chunkYGEOX2XXjs.BillingModule; exports.BillingService = _chunkYGEOX2XXjs.BillingService; exports.BlockNoteDiffUtil = _chunkYGEOX2XXjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkYGEOX2XXjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkYGEOX2XXjs.BlogCategory; exports.BlogCategoryFields = _chunkYGEOX2XXjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkYGEOX2XXjs.BlogCategoryModule; exports.BlogCategoryService = _chunkYGEOX2XXjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkYGEOX2XXjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkYGEOX2XXjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkYGEOX2XXjs.BlogCategoryTranslationService; exports.BlogPost = _chunkYGEOX2XXjs.BlogPost; exports.BlogPostFields = _chunkYGEOX2XXjs.BlogPostFields; exports.BlogPostModule = _chunkYGEOX2XXjs.BlogPostModule; exports.BlogPostService = _chunkYGEOX2XXjs.BlogPostService; exports.BlogPostTranslation = _chunkYGEOX2XXjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkYGEOX2XXjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkYGEOX2XXjs.BlogPostTranslationService; exports.BlogSettings = _chunkYGEOX2XXjs.BlogSettings; exports.BlogSettingsModule = _chunkYGEOX2XXjs.BlogSettingsModule; exports.BlogSettingsService = _chunkYGEOX2XXjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkFNPXCYHOjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CREDIT_WARNING_DISMISS_SEGMENT = _chunkYGEOX2XXjs.CREDIT_WARNING_DISMISS_SEGMENT; exports.CURRENT_USER_STORAGE_KEY = _chunkYGEOX2XXjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkYGEOX2XXjs.Chunk; exports.ChunkModule = _chunkYGEOX2XXjs.ChunkModule; exports.ClientAbstractService = _chunkYGEOX2XXjs.ClientAbstractService; exports.ClientHttpMethod = _chunkYGEOX2XXjs.ClientHttpMethod; exports.Company = _chunkYGEOX2XXjs.Company; exports.CompanyFields = _chunkYGEOX2XXjs.CompanyFields; exports.CompanyModule = _chunkYGEOX2XXjs.CompanyModule; exports.CompanyService = _chunkYGEOX2XXjs.CompanyService; exports.Content = _chunkYGEOX2XXjs.Content; exports.ContentFields = _chunkYGEOX2XXjs.ContentFields; exports.ContentModule = _chunkYGEOX2XXjs.ContentModule; exports.ContentService = _chunkYGEOX2XXjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkYGEOX2XXjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkYGEOX2XXjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EMAIL_BLAST_SEGMENTS = _chunkYGEOX2XXjs.EMAIL_BLAST_SEGMENTS; exports.EMAIL_BLAST_UNSUBSCRIBE_TYPE = _chunkYGEOX2XXjs.EMAIL_BLAST_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkYGEOX2XXjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkYGEOX2XXjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkYGEOX2XXjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkYGEOX2XXjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkYGEOX2XXjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkYGEOX2XXjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkYGEOX2XXjs.EmailAutomationModule; exports.EmailAutomationService = _chunkYGEOX2XXjs.EmailAutomationService; exports.EmailAutomationStep = _chunkYGEOX2XXjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkYGEOX2XXjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkYGEOX2XXjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkYGEOX2XXjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkYGEOX2XXjs.EmailAutomationTriggerModule; exports.EmailBlast = _chunkYGEOX2XXjs.EmailBlast; exports.EmailBlastAudience = _chunkYGEOX2XXjs.EmailBlastAudience; exports.EmailBlastAudienceModule = _chunkYGEOX2XXjs.EmailBlastAudienceModule; exports.EmailBlastDelivery = _chunkYGEOX2XXjs.EmailBlastDelivery; exports.EmailBlastDeliveryModule = _chunkYGEOX2XXjs.EmailBlastDeliveryModule; exports.EmailBlastDeliveryService = _chunkYGEOX2XXjs.EmailBlastDeliveryService; exports.EmailBlastFields = _chunkYGEOX2XXjs.EmailBlastFields; exports.EmailBlastModule = _chunkYGEOX2XXjs.EmailBlastModule; exports.EmailBlastService = _chunkYGEOX2XXjs.EmailBlastService; exports.EndpointCreator = _chunkYGEOX2XXjs.EndpointCreator; exports.EntityAiStatus = _chunkYGEOX2XXjs.EntityAiStatus; exports.Feature = _chunkYGEOX2XXjs.Feature; exports.FeatureModule = _chunkYGEOX2XXjs.FeatureModule; exports.FeatureService = _chunkYGEOX2XXjs.FeatureService; exports.HandbookPage = _chunkYGEOX2XXjs.HandbookPage; exports.HandbookPageFields = _chunkYGEOX2XXjs.HandbookPageFields; exports.HandbookPageModule = _chunkYGEOX2XXjs.HandbookPageModule; exports.HandbookPageService = _chunkYGEOX2XXjs.HandbookPageService; exports.HandbookSection = _chunkYGEOX2XXjs.HandbookSection; exports.HandbookSectionModule = _chunkYGEOX2XXjs.HandbookSectionModule; exports.HandbookSectionService = _chunkYGEOX2XXjs.HandbookSectionService; exports.HandbookThread = _chunkYGEOX2XXjs.HandbookThread; exports.HandbookThreadMessage = _chunkYGEOX2XXjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkYGEOX2XXjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkYGEOX2XXjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkYGEOX2XXjs.HandbookThreadModule; exports.HandbookThreadService = _chunkYGEOX2XXjs.HandbookThreadService; exports.HowTo = _chunkYGEOX2XXjs.HowTo; exports.HowToFields = _chunkYGEOX2XXjs.HowToFields; exports.HowToModule = _chunkYGEOX2XXjs.HowToModule; exports.HowToService = _chunkYGEOX2XXjs.HowToService; exports.HttpMethod = _chunkYGEOX2XXjs.HttpMethod; exports.InvoiceStatus = _chunkYGEOX2XXjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkYGEOX2XXjs.MOBILE_BREAKPOINT; exports.Module = _chunkYGEOX2XXjs.Module; exports.ModuleModule = _chunkYGEOX2XXjs.ModuleModule; exports.ModulePaths = _chunkYGEOX2XXjs.ModulePaths; exports.ModulePathsModule = _chunkYGEOX2XXjs.ModulePathsModule; exports.ModuleRegistrar = _chunkYGEOX2XXjs.ModuleRegistrar; exports.ModuleRegistry = _chunkYGEOX2XXjs.ModuleRegistry; exports.Modules = _chunkYGEOX2XXjs.Modules; exports.Notification = _chunkYGEOX2XXjs.Notification; exports.NotificationFields = _chunkYGEOX2XXjs.NotificationFields; exports.NotificationModule = _chunkYGEOX2XXjs.NotificationModule; exports.NotificationService = _chunkYGEOX2XXjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkYGEOX2XXjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkYGEOX2XXjs.OAuthClient; exports.OAuthModule = _chunkYGEOX2XXjs.OAuthModule; exports.OAuthService = _chunkYGEOX2XXjs.OAuthService; exports.Passkey = _chunkYGEOX2XXjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkYGEOX2XXjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkYGEOX2XXjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkYGEOX2XXjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkYGEOX2XXjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkYGEOX2XXjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkYGEOX2XXjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkYGEOX2XXjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkYGEOX2XXjs.PasskeyRename; exports.PasskeyRenameModule = _chunkYGEOX2XXjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkYGEOX2XXjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkYGEOX2XXjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkYGEOX2XXjs.PaymentMethod; exports.PendingRegistration = _chunkYGEOX2XXjs.PendingRegistration; exports.PendingRegistrationModule = _chunkYGEOX2XXjs.PendingRegistrationModule; exports.PermissionMapping = _chunkYGEOX2XXjs.PermissionMapping; exports.PermissionMappingModule = _chunkYGEOX2XXjs.PermissionMappingModule; exports.Push = _chunkYGEOX2XXjs.Push; exports.PushModule = _chunkYGEOX2XXjs.PushModule; exports.PushService = _chunkYGEOX2XXjs.PushService; exports.RbacMatrixModel = _chunkYGEOX2XXjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkYGEOX2XXjs.RbacMatrixModule; exports.RbacService = _chunkFNPXCYHOjs.RbacService; exports.ReferralAdminReferral = _chunkYGEOX2XXjs.ReferralAdminReferral; exports.ReferralAdminReferrer = _chunkYGEOX2XXjs.ReferralAdminReferrer; exports.ReferralAdminService = _chunkYGEOX2XXjs.ReferralAdminService; exports.ReferralAdminSummary = _chunkYGEOX2XXjs.ReferralAdminSummary; exports.ReferralModule = _chunkYGEOX2XXjs.ReferralModule; exports.ReferralService = _chunkYGEOX2XXjs.ReferralService; exports.ReferralStats = _chunkYGEOX2XXjs.ReferralStats; exports.ReferralStatsModule = _chunkYGEOX2XXjs.ReferralStatsModule; exports.ReferralVisit = _chunkYGEOX2XXjs.ReferralVisit; exports.RehydrationFactory = _chunkYGEOX2XXjs.RehydrationFactory; exports.Role = _chunkYGEOX2XXjs.Role; exports.RoleFields = _chunkYGEOX2XXjs.RoleFields; exports.RoleModule = _chunkYGEOX2XXjs.RoleModule; exports.RoleService = _chunkYGEOX2XXjs.RoleService; exports.S3 = _chunkYGEOX2XXjs.S3; exports.S3Module = _chunkYGEOX2XXjs.S3Module; exports.S3Service = _chunkYGEOX2XXjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkFNPXCYHOjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkFNPXCYHOjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunkYGEOX2XXjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunkYGEOX2XXjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunkYGEOX2XXjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunkYGEOX2XXjs.StripeCoupon; exports.StripeCouponCode = _chunkYGEOX2XXjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunkYGEOX2XXjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunkYGEOX2XXjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunkYGEOX2XXjs.StripeCouponCodeService; exports.StripeCouponFields = _chunkYGEOX2XXjs.StripeCouponFields; exports.StripeCouponModule = _chunkYGEOX2XXjs.StripeCouponModule; exports.StripeCouponOffer = _chunkYGEOX2XXjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunkYGEOX2XXjs.StripeCouponOfferModule; exports.StripeCouponService = _chunkYGEOX2XXjs.StripeCouponService; exports.StripeCustomer = _chunkYGEOX2XXjs.StripeCustomer; exports.StripeCustomerModule = _chunkYGEOX2XXjs.StripeCustomerModule; exports.StripeCustomerService = _chunkYGEOX2XXjs.StripeCustomerService; exports.StripeInvoice = _chunkYGEOX2XXjs.StripeInvoice; exports.StripeInvoiceModule = _chunkYGEOX2XXjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkYGEOX2XXjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkYGEOX2XXjs.StripePaymentMethodModule; exports.StripePrice = _chunkYGEOX2XXjs.StripePrice; exports.StripePriceFields = _chunkYGEOX2XXjs.StripePriceFields; exports.StripePriceModule = _chunkYGEOX2XXjs.StripePriceModule; exports.StripePriceService = _chunkYGEOX2XXjs.StripePriceService; exports.StripeProduct = _chunkYGEOX2XXjs.StripeProduct; exports.StripeProductFields = _chunkYGEOX2XXjs.StripeProductFields; exports.StripeProductModule = _chunkYGEOX2XXjs.StripeProductModule; exports.StripeProductService = _chunkYGEOX2XXjs.StripeProductService; exports.StripePromotionCode = _chunkYGEOX2XXjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkYGEOX2XXjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkYGEOX2XXjs.StripePromotionCodeService; exports.StripeSubscription = _chunkYGEOX2XXjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkYGEOX2XXjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkYGEOX2XXjs.StripeSubscriptionService; exports.StripeUsage = _chunkYGEOX2XXjs.StripeUsage; exports.StripeUsageModule = _chunkYGEOX2XXjs.StripeUsageModule; exports.StripeUsageService = _chunkYGEOX2XXjs.StripeUsageService; exports.SubscriptionStatus = _chunkYGEOX2XXjs.SubscriptionStatus; exports.TableOptions = _chunkYGEOX2XXjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkYGEOX2XXjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkYGEOX2XXjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkYGEOX2XXjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkYGEOX2XXjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkYGEOX2XXjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkYGEOX2XXjs.TotpSetup; exports.TotpSetupModule = _chunkYGEOX2XXjs.TotpSetupModule; exports.TotpVerify = _chunkYGEOX2XXjs.TotpVerify; exports.TotpVerifyLogin = _chunkYGEOX2XXjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkYGEOX2XXjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkYGEOX2XXjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkYGEOX2XXjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkYGEOX2XXjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkYGEOX2XXjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkYGEOX2XXjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkYGEOX2XXjs.TwoFactorService; exports.TwoFactorStatus = _chunkYGEOX2XXjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkYGEOX2XXjs.TwoFactorStatusModule; exports.User = _chunkYGEOX2XXjs.User; exports.UserFields = _chunkYGEOX2XXjs.UserFields; exports.UserModule = _chunkYGEOX2XXjs.UserModule; exports.UserService = _chunkYGEOX2XXjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkYGEOX2XXjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkYGEOX2XXjs.Waitlist; exports.WaitlistFields = _chunkYGEOX2XXjs.WaitlistFields; exports.WaitlistModule = _chunkYGEOX2XXjs.WaitlistModule; exports.WaitlistService = _chunkYGEOX2XXjs.WaitlistService; exports.WaitlistStats = _chunkYGEOX2XXjs.WaitlistStats; exports.WaitlistStatsModule = _chunkYGEOX2XXjs.WaitlistStatsModule; exports.analyticsModules = _chunkYGEOX2XXjs.analyticsModules; exports.captureSignupSource = _chunkFNPXCYHOjs.captureSignupSource; exports.checkPermissions = _chunkYGEOX2XXjs.checkPermissions; exports.checkPermissionsFromServer = _chunkYGEOX2XXjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkYGEOX2XXjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkYGEOX2XXjs.clearLastApiTotal; exports.cn = _chunkYGEOX2XXjs.cn; exports.composeRefs = _chunkYGEOX2XXjs.composeRefs; exports.configureAuth = _chunkYGEOX2XXjs.configureAuth; exports.configureI18n = _chunkYGEOX2XXjs.configureI18n; exports.configureJsonApi = _chunkFNPXCYHOjs.configureJsonApi; exports.configureLogin = _chunkFNPXCYHOjs.configureLogin; exports.configureReferral = _chunkFNPXCYHOjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkYGEOX2XXjs.configureTokenUsage; exports.configureWaitlist = _chunkFNPXCYHOjs.configureWaitlist; exports.consumeAccountDeletionCancelled = _chunkYGEOX2XXjs.consumeAccountDeletionCancelled; exports.couponPlacesLeft = _chunkYGEOX2XXjs.couponPlacesLeft; exports.couponPlacesTotal = _chunkYGEOX2XXjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunkYGEOX2XXjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkYGEOX2XXjs.dateFormatLocale; exports.dismissToast = _chunkYGEOX2XXjs.dismissToast; exports.entityObjectSchema = _chunkYGEOX2XXjs.entityObjectSchema; exports.exists = _chunkYGEOX2XXjs.exists; exports.formatCodiceFiscale = _chunkYGEOX2XXjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunkYGEOX2XXjs.formatCouponDiscount; exports.formatCurrency = _chunkYGEOX2XXjs.formatCurrency; exports.formatDate = _chunkYGEOX2XXjs.formatDate; exports.formatFixed = _chunkYGEOX2XXjs.formatFixed; exports.formatInterval = _chunkYGEOX2XXjs.formatInterval; exports.formatLocalDate = _chunkYGEOX2XXjs.formatLocalDate; exports.formatPartitaIva = _chunkYGEOX2XXjs.formatPartitaIva; exports.getApiUrl = _chunkFNPXCYHOjs.getApiUrl; exports.getAppUrl = _chunkFNPXCYHOjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkYGEOX2XXjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkYGEOX2XXjs.getGlobalErrorHandler; exports.getIcon = _chunkYGEOX2XXjs.getIcon; exports.getIconByModule = _chunkYGEOX2XXjs.getIconByModule; exports.getIconByModuleName = _chunkYGEOX2XXjs.getIconByModuleName; exports.getInitials = _chunkYGEOX2XXjs.getInitials; exports.getLastApiMeta = _chunkYGEOX2XXjs.getLastApiMeta; exports.getLastApiTotal = _chunkYGEOX2XXjs.getLastApiTotal; exports.getLucideIcon = _chunkYGEOX2XXjs.getLucideIcon; exports.getLucideIconByModule = _chunkYGEOX2XXjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkYGEOX2XXjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkFNPXCYHOjs.getPublicApiUrl; exports.getReferralConfig = _chunkFNPXCYHOjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkFNPXCYHOjs.getSignupSource; exports.getStripePublishableKey = _chunkFNPXCYHOjs.getStripePublishableKey; exports.getTableComponents = _chunkYGEOX2XXjs.getTableComponents; exports.getTableOptions = _chunkYGEOX2XXjs.getTableOptions; exports.getTokenHandler = _chunkYGEOX2XXjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkYGEOX2XXjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkFNPXCYHOjs.getTrackablePages; exports.getValueFromPath = _chunkYGEOX2XXjs.getValueFromPath; exports.getWaitlistConfig = _chunkFNPXCYHOjs.getWaitlistConfig; exports.handbookPageContent = _chunkYGEOX2XXjs.handbookPageContent; exports.handbookPageSummary = _chunkYGEOX2XXjs.handbookPageSummary; exports.handbookPageTitle = _chunkYGEOX2XXjs.handbookPageTitle; exports.handbookSectionSummary = _chunkYGEOX2XXjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkYGEOX2XXjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isCreditWarningActive = _chunkYGEOX2XXjs.isCreditWarningActive; exports.isReferralEnabled = _chunkFNPXCYHOjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkYGEOX2XXjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.markAccountDeletionCancelled = _chunkYGEOX2XXjs.markAccountDeletionCancelled; exports.mergeMessages = _chunkYGEOX2XXjs.mergeMessages; exports.readSignupSourceFromLocation = _chunkFNPXCYHOjs.readSignupSourceFromLocation; exports.referralAdminModules = _chunkYGEOX2XXjs.referralAdminModules; exports.rehydrate = _chunkYGEOX2XXjs.rehydrate; exports.rehydrateList = _chunkYGEOX2XXjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.resolveChangePlanTarget = _chunkYGEOX2XXjs.resolveChangePlanTarget; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkYGEOX2XXjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkYGEOX2XXjs.setGlobalErrorHandler; exports.showCustomToast = _chunkYGEOX2XXjs.showCustomToast; exports.showError = _chunkYGEOX2XXjs.showError; exports.showToast = _chunkYGEOX2XXjs.showToast; exports.toPromotionCodeResult = _chunkYGEOX2XXjs.toPromotionCodeResult; exports.tokenUsageModules = _chunkYGEOX2XXjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkYGEOX2XXjs.useComposedRefs; exports.useIsMobile = _chunkYGEOX2XXjs.useIsMobile; exports.userObjectSchema = _chunkYGEOX2XXjs.userObjectSchema; exports.validateCodiceFiscale = _chunkYGEOX2XXjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkYGEOX2XXjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkYGEOX2XXjs.validatePartitaIva;
|
|
696
|
+
exports.ACCOUNT_DELETION_CANCELLED_KEY = _chunkFF4EIQ6Hjs.ACCOUNT_DELETION_CANCELLED_KEY; exports.ACTION_TYPES = _chunkL6PYFQTOjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkFF4EIQ6Hjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkFF4EIQ6Hjs.AbstractApiData; exports.AbstractService = _chunkFF4EIQ6Hjs.AbstractService; exports.AccountDeletion = _chunkFF4EIQ6Hjs.AccountDeletion; exports.AccountDeletionModule = _chunkFF4EIQ6Hjs.AccountDeletionModule; exports.AccountDeletionService = _chunkFF4EIQ6Hjs.AccountDeletionService; exports.Action = _chunkFF4EIQ6Hjs.Action; exports.AiConnection = _chunkFF4EIQ6Hjs.AiConnection; exports.AiConnectionFields = _chunkFF4EIQ6Hjs.AiConnectionFields; exports.AiConnectionModule = _chunkFF4EIQ6Hjs.AiConnectionModule; exports.AiConnectionService = _chunkFF4EIQ6Hjs.AiConnectionService; exports.Assistant = _chunkFF4EIQ6Hjs.Assistant; exports.AssistantAction = _chunkFF4EIQ6Hjs.AssistantAction; exports.AssistantActionModule = _chunkFF4EIQ6Hjs.AssistantActionModule; exports.AssistantActionService = _chunkFF4EIQ6Hjs.AssistantActionService; exports.AssistantMessage = _chunkFF4EIQ6Hjs.AssistantMessage; exports.AssistantMessageModule = _chunkFF4EIQ6Hjs.AssistantMessageModule; exports.AssistantMessageService = _chunkFF4EIQ6Hjs.AssistantMessageService; exports.AssistantModule = _chunkFF4EIQ6Hjs.AssistantModule; exports.AssistantService = _chunkFF4EIQ6Hjs.AssistantService; exports.AuditLog = _chunkFF4EIQ6Hjs.AuditLog; exports.AuditLogModule = _chunkFF4EIQ6Hjs.AuditLogModule; exports.AuditLogService = _chunkFF4EIQ6Hjs.AuditLogService; exports.Auth = _chunkFF4EIQ6Hjs.Auth; exports.AuthComponent = _chunkFF4EIQ6Hjs.AuthComponent; exports.AuthModule = _chunkFF4EIQ6Hjs.AuthModule; exports.AuthService = _chunkFF4EIQ6Hjs.AuthService; exports.AuthorModule = _chunkFF4EIQ6Hjs.AuthorModule; exports.BackupCodeVerify = _chunkFF4EIQ6Hjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkFF4EIQ6Hjs.BackupCodeVerifyModule; exports.Billing = _chunkFF4EIQ6Hjs.Billing; exports.BillingModule = _chunkFF4EIQ6Hjs.BillingModule; exports.BillingService = _chunkFF4EIQ6Hjs.BillingService; exports.BlockNoteDiffUtil = _chunkFF4EIQ6Hjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkFF4EIQ6Hjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkFF4EIQ6Hjs.BlogCategory; exports.BlogCategoryFields = _chunkFF4EIQ6Hjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkFF4EIQ6Hjs.BlogCategoryModule; exports.BlogCategoryService = _chunkFF4EIQ6Hjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkFF4EIQ6Hjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkFF4EIQ6Hjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkFF4EIQ6Hjs.BlogCategoryTranslationService; exports.BlogPost = _chunkFF4EIQ6Hjs.BlogPost; exports.BlogPostFields = _chunkFF4EIQ6Hjs.BlogPostFields; exports.BlogPostModule = _chunkFF4EIQ6Hjs.BlogPostModule; exports.BlogPostService = _chunkFF4EIQ6Hjs.BlogPostService; exports.BlogPostTranslation = _chunkFF4EIQ6Hjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkFF4EIQ6Hjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkFF4EIQ6Hjs.BlogPostTranslationService; exports.BlogSettings = _chunkFF4EIQ6Hjs.BlogSettings; exports.BlogSettingsModule = _chunkFF4EIQ6Hjs.BlogSettingsModule; exports.BlogSettingsService = _chunkFF4EIQ6Hjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkL6PYFQTOjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CREDIT_WARNING_DISMISS_SEGMENT = _chunkFF4EIQ6Hjs.CREDIT_WARNING_DISMISS_SEGMENT; exports.CURRENT_USER_STORAGE_KEY = _chunkFF4EIQ6Hjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkFF4EIQ6Hjs.Chunk; exports.ChunkModule = _chunkFF4EIQ6Hjs.ChunkModule; exports.ClientAbstractService = _chunkFF4EIQ6Hjs.ClientAbstractService; exports.ClientHttpMethod = _chunkFF4EIQ6Hjs.ClientHttpMethod; exports.Company = _chunkFF4EIQ6Hjs.Company; exports.CompanyFields = _chunkFF4EIQ6Hjs.CompanyFields; exports.CompanyModule = _chunkFF4EIQ6Hjs.CompanyModule; exports.CompanyService = _chunkFF4EIQ6Hjs.CompanyService; exports.Content = _chunkFF4EIQ6Hjs.Content; exports.ContentFields = _chunkFF4EIQ6Hjs.ContentFields; exports.ContentModule = _chunkFF4EIQ6Hjs.ContentModule; exports.ContentService = _chunkFF4EIQ6Hjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkFF4EIQ6Hjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkFF4EIQ6Hjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EMAIL_BLAST_SEGMENTS = _chunkFF4EIQ6Hjs.EMAIL_BLAST_SEGMENTS; exports.EMAIL_BLAST_UNSUBSCRIBE_TYPE = _chunkFF4EIQ6Hjs.EMAIL_BLAST_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkFF4EIQ6Hjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkFF4EIQ6Hjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkFF4EIQ6Hjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkFF4EIQ6Hjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkFF4EIQ6Hjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkFF4EIQ6Hjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkFF4EIQ6Hjs.EmailAutomationModule; exports.EmailAutomationService = _chunkFF4EIQ6Hjs.EmailAutomationService; exports.EmailAutomationStep = _chunkFF4EIQ6Hjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkFF4EIQ6Hjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkFF4EIQ6Hjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkFF4EIQ6Hjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkFF4EIQ6Hjs.EmailAutomationTriggerModule; exports.EmailBlast = _chunkFF4EIQ6Hjs.EmailBlast; exports.EmailBlastAudience = _chunkFF4EIQ6Hjs.EmailBlastAudience; exports.EmailBlastAudienceModule = _chunkFF4EIQ6Hjs.EmailBlastAudienceModule; exports.EmailBlastDelivery = _chunkFF4EIQ6Hjs.EmailBlastDelivery; exports.EmailBlastDeliveryModule = _chunkFF4EIQ6Hjs.EmailBlastDeliveryModule; exports.EmailBlastDeliveryService = _chunkFF4EIQ6Hjs.EmailBlastDeliveryService; exports.EmailBlastFields = _chunkFF4EIQ6Hjs.EmailBlastFields; exports.EmailBlastModule = _chunkFF4EIQ6Hjs.EmailBlastModule; exports.EmailBlastService = _chunkFF4EIQ6Hjs.EmailBlastService; exports.EndpointCreator = _chunkFF4EIQ6Hjs.EndpointCreator; exports.EntityAiStatus = _chunkFF4EIQ6Hjs.EntityAiStatus; exports.Feature = _chunkFF4EIQ6Hjs.Feature; exports.FeatureModule = _chunkFF4EIQ6Hjs.FeatureModule; exports.FeatureService = _chunkFF4EIQ6Hjs.FeatureService; exports.HandbookPage = _chunkFF4EIQ6Hjs.HandbookPage; exports.HandbookPageFields = _chunkFF4EIQ6Hjs.HandbookPageFields; exports.HandbookPageModule = _chunkFF4EIQ6Hjs.HandbookPageModule; exports.HandbookPageService = _chunkFF4EIQ6Hjs.HandbookPageService; exports.HandbookSection = _chunkFF4EIQ6Hjs.HandbookSection; exports.HandbookSectionModule = _chunkFF4EIQ6Hjs.HandbookSectionModule; exports.HandbookSectionService = _chunkFF4EIQ6Hjs.HandbookSectionService; exports.HandbookThread = _chunkFF4EIQ6Hjs.HandbookThread; exports.HandbookThreadMessage = _chunkFF4EIQ6Hjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkFF4EIQ6Hjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkFF4EIQ6Hjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkFF4EIQ6Hjs.HandbookThreadModule; exports.HandbookThreadService = _chunkFF4EIQ6Hjs.HandbookThreadService; exports.HowTo = _chunkFF4EIQ6Hjs.HowTo; exports.HowToFields = _chunkFF4EIQ6Hjs.HowToFields; exports.HowToModule = _chunkFF4EIQ6Hjs.HowToModule; exports.HowToService = _chunkFF4EIQ6Hjs.HowToService; exports.HttpMethod = _chunkFF4EIQ6Hjs.HttpMethod; exports.InvoiceStatus = _chunkFF4EIQ6Hjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkFF4EIQ6Hjs.MOBILE_BREAKPOINT; exports.Module = _chunkFF4EIQ6Hjs.Module; exports.ModuleModule = _chunkFF4EIQ6Hjs.ModuleModule; exports.ModulePaths = _chunkFF4EIQ6Hjs.ModulePaths; exports.ModulePathsModule = _chunkFF4EIQ6Hjs.ModulePathsModule; exports.ModuleRegistrar = _chunkFF4EIQ6Hjs.ModuleRegistrar; exports.ModuleRegistry = _chunkFF4EIQ6Hjs.ModuleRegistry; exports.Modules = _chunkFF4EIQ6Hjs.Modules; exports.Notification = _chunkFF4EIQ6Hjs.Notification; exports.NotificationFields = _chunkFF4EIQ6Hjs.NotificationFields; exports.NotificationModule = _chunkFF4EIQ6Hjs.NotificationModule; exports.NotificationService = _chunkFF4EIQ6Hjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkFF4EIQ6Hjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkFF4EIQ6Hjs.OAuthClient; exports.OAuthModule = _chunkFF4EIQ6Hjs.OAuthModule; exports.OAuthService = _chunkFF4EIQ6Hjs.OAuthService; exports.Passkey = _chunkFF4EIQ6Hjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkFF4EIQ6Hjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkFF4EIQ6Hjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkFF4EIQ6Hjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkFF4EIQ6Hjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkFF4EIQ6Hjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkFF4EIQ6Hjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkFF4EIQ6Hjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkFF4EIQ6Hjs.PasskeyRename; exports.PasskeyRenameModule = _chunkFF4EIQ6Hjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkFF4EIQ6Hjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkFF4EIQ6Hjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkFF4EIQ6Hjs.PaymentMethod; exports.PendingRegistration = _chunkFF4EIQ6Hjs.PendingRegistration; exports.PendingRegistrationModule = _chunkFF4EIQ6Hjs.PendingRegistrationModule; exports.PermissionMapping = _chunkFF4EIQ6Hjs.PermissionMapping; exports.PermissionMappingModule = _chunkFF4EIQ6Hjs.PermissionMappingModule; exports.Push = _chunkFF4EIQ6Hjs.Push; exports.PushModule = _chunkFF4EIQ6Hjs.PushModule; exports.PushService = _chunkFF4EIQ6Hjs.PushService; exports.RbacMatrixModel = _chunkFF4EIQ6Hjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkFF4EIQ6Hjs.RbacMatrixModule; exports.RbacService = _chunkL6PYFQTOjs.RbacService; exports.ReferralAdminReferral = _chunkFF4EIQ6Hjs.ReferralAdminReferral; exports.ReferralAdminReferrer = _chunkFF4EIQ6Hjs.ReferralAdminReferrer; exports.ReferralAdminService = _chunkFF4EIQ6Hjs.ReferralAdminService; exports.ReferralAdminSummary = _chunkFF4EIQ6Hjs.ReferralAdminSummary; exports.ReferralModule = _chunkFF4EIQ6Hjs.ReferralModule; exports.ReferralService = _chunkFF4EIQ6Hjs.ReferralService; exports.ReferralStats = _chunkFF4EIQ6Hjs.ReferralStats; exports.ReferralStatsModule = _chunkFF4EIQ6Hjs.ReferralStatsModule; exports.ReferralVisit = _chunkFF4EIQ6Hjs.ReferralVisit; exports.RehydrationFactory = _chunkFF4EIQ6Hjs.RehydrationFactory; exports.Role = _chunkFF4EIQ6Hjs.Role; exports.RoleFields = _chunkFF4EIQ6Hjs.RoleFields; exports.RoleModule = _chunkFF4EIQ6Hjs.RoleModule; exports.RoleService = _chunkFF4EIQ6Hjs.RoleService; exports.S3 = _chunkFF4EIQ6Hjs.S3; exports.S3Module = _chunkFF4EIQ6Hjs.S3Module; exports.S3Service = _chunkFF4EIQ6Hjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkL6PYFQTOjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkL6PYFQTOjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunkFF4EIQ6Hjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunkFF4EIQ6Hjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunkFF4EIQ6Hjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunkFF4EIQ6Hjs.StripeCoupon; exports.StripeCouponCode = _chunkFF4EIQ6Hjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunkFF4EIQ6Hjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunkFF4EIQ6Hjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunkFF4EIQ6Hjs.StripeCouponCodeService; exports.StripeCouponFields = _chunkFF4EIQ6Hjs.StripeCouponFields; exports.StripeCouponModule = _chunkFF4EIQ6Hjs.StripeCouponModule; exports.StripeCouponOffer = _chunkFF4EIQ6Hjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunkFF4EIQ6Hjs.StripeCouponOfferModule; exports.StripeCouponService = _chunkFF4EIQ6Hjs.StripeCouponService; exports.StripeCustomer = _chunkFF4EIQ6Hjs.StripeCustomer; exports.StripeCustomerModule = _chunkFF4EIQ6Hjs.StripeCustomerModule; exports.StripeCustomerService = _chunkFF4EIQ6Hjs.StripeCustomerService; exports.StripeInvoice = _chunkFF4EIQ6Hjs.StripeInvoice; exports.StripeInvoiceModule = _chunkFF4EIQ6Hjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkFF4EIQ6Hjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkFF4EIQ6Hjs.StripePaymentMethodModule; exports.StripePrice = _chunkFF4EIQ6Hjs.StripePrice; exports.StripePriceFields = _chunkFF4EIQ6Hjs.StripePriceFields; exports.StripePriceModule = _chunkFF4EIQ6Hjs.StripePriceModule; exports.StripePriceService = _chunkFF4EIQ6Hjs.StripePriceService; exports.StripeProduct = _chunkFF4EIQ6Hjs.StripeProduct; exports.StripeProductFields = _chunkFF4EIQ6Hjs.StripeProductFields; exports.StripeProductModule = _chunkFF4EIQ6Hjs.StripeProductModule; exports.StripeProductService = _chunkFF4EIQ6Hjs.StripeProductService; exports.StripePromotionCode = _chunkFF4EIQ6Hjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkFF4EIQ6Hjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkFF4EIQ6Hjs.StripePromotionCodeService; exports.StripeSubscription = _chunkFF4EIQ6Hjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkFF4EIQ6Hjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkFF4EIQ6Hjs.StripeSubscriptionService; exports.StripeUsage = _chunkFF4EIQ6Hjs.StripeUsage; exports.StripeUsageModule = _chunkFF4EIQ6Hjs.StripeUsageModule; exports.StripeUsageService = _chunkFF4EIQ6Hjs.StripeUsageService; exports.SubscriptionStatus = _chunkFF4EIQ6Hjs.SubscriptionStatus; exports.TableOptions = _chunkFF4EIQ6Hjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkFF4EIQ6Hjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkFF4EIQ6Hjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkFF4EIQ6Hjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkFF4EIQ6Hjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkFF4EIQ6Hjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkFF4EIQ6Hjs.TotpSetup; exports.TotpSetupModule = _chunkFF4EIQ6Hjs.TotpSetupModule; exports.TotpVerify = _chunkFF4EIQ6Hjs.TotpVerify; exports.TotpVerifyLogin = _chunkFF4EIQ6Hjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkFF4EIQ6Hjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkFF4EIQ6Hjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkFF4EIQ6Hjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkFF4EIQ6Hjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkFF4EIQ6Hjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkFF4EIQ6Hjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkFF4EIQ6Hjs.TwoFactorService; exports.TwoFactorStatus = _chunkFF4EIQ6Hjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkFF4EIQ6Hjs.TwoFactorStatusModule; exports.User = _chunkFF4EIQ6Hjs.User; exports.UserFields = _chunkFF4EIQ6Hjs.UserFields; exports.UserModule = _chunkFF4EIQ6Hjs.UserModule; exports.UserService = _chunkFF4EIQ6Hjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkFF4EIQ6Hjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkFF4EIQ6Hjs.Waitlist; exports.WaitlistFields = _chunkFF4EIQ6Hjs.WaitlistFields; exports.WaitlistModule = _chunkFF4EIQ6Hjs.WaitlistModule; exports.WaitlistService = _chunkFF4EIQ6Hjs.WaitlistService; exports.WaitlistStats = _chunkFF4EIQ6Hjs.WaitlistStats; exports.WaitlistStatsModule = _chunkFF4EIQ6Hjs.WaitlistStatsModule; exports.analyticsModules = _chunkFF4EIQ6Hjs.analyticsModules; exports.captureSignupSource = _chunkL6PYFQTOjs.captureSignupSource; exports.checkPermissions = _chunkFF4EIQ6Hjs.checkPermissions; exports.checkPermissionsFromServer = _chunkFF4EIQ6Hjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkFF4EIQ6Hjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkFF4EIQ6Hjs.clearLastApiTotal; exports.cn = _chunkFF4EIQ6Hjs.cn; exports.composeRefs = _chunkFF4EIQ6Hjs.composeRefs; exports.configureAuth = _chunkFF4EIQ6Hjs.configureAuth; exports.configureI18n = _chunkFF4EIQ6Hjs.configureI18n; exports.configureJsonApi = _chunkL6PYFQTOjs.configureJsonApi; exports.configureLogin = _chunkL6PYFQTOjs.configureLogin; exports.configureReferral = _chunkL6PYFQTOjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkFF4EIQ6Hjs.configureTokenUsage; exports.configureWaitlist = _chunkL6PYFQTOjs.configureWaitlist; exports.consumeAccountDeletionCancelled = _chunkFF4EIQ6Hjs.consumeAccountDeletionCancelled; exports.couponPlacesLeft = _chunkFF4EIQ6Hjs.couponPlacesLeft; exports.couponPlacesTotal = _chunkFF4EIQ6Hjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunkFF4EIQ6Hjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkFF4EIQ6Hjs.dateFormatLocale; exports.dismissToast = _chunkFF4EIQ6Hjs.dismissToast; exports.entityObjectSchema = _chunkFF4EIQ6Hjs.entityObjectSchema; exports.exists = _chunkFF4EIQ6Hjs.exists; exports.formatCodiceFiscale = _chunkFF4EIQ6Hjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunkFF4EIQ6Hjs.formatCouponDiscount; exports.formatCurrency = _chunkFF4EIQ6Hjs.formatCurrency; exports.formatDate = _chunkFF4EIQ6Hjs.formatDate; exports.formatFixed = _chunkFF4EIQ6Hjs.formatFixed; exports.formatInterval = _chunkFF4EIQ6Hjs.formatInterval; exports.formatLocalDate = _chunkFF4EIQ6Hjs.formatLocalDate; exports.formatPartitaIva = _chunkFF4EIQ6Hjs.formatPartitaIva; exports.getApiUrl = _chunkL6PYFQTOjs.getApiUrl; exports.getAppUrl = _chunkL6PYFQTOjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkFF4EIQ6Hjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkFF4EIQ6Hjs.getGlobalErrorHandler; exports.getIcon = _chunkFF4EIQ6Hjs.getIcon; exports.getIconByModule = _chunkFF4EIQ6Hjs.getIconByModule; exports.getIconByModuleName = _chunkFF4EIQ6Hjs.getIconByModuleName; exports.getInitials = _chunkFF4EIQ6Hjs.getInitials; exports.getLastApiMeta = _chunkFF4EIQ6Hjs.getLastApiMeta; exports.getLastApiTotal = _chunkFF4EIQ6Hjs.getLastApiTotal; exports.getLucideIcon = _chunkFF4EIQ6Hjs.getLucideIcon; exports.getLucideIconByModule = _chunkFF4EIQ6Hjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkFF4EIQ6Hjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkL6PYFQTOjs.getPublicApiUrl; exports.getReferralConfig = _chunkL6PYFQTOjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkL6PYFQTOjs.getSignupSource; exports.getStripePublishableKey = _chunkL6PYFQTOjs.getStripePublishableKey; exports.getTableComponents = _chunkFF4EIQ6Hjs.getTableComponents; exports.getTableOptions = _chunkFF4EIQ6Hjs.getTableOptions; exports.getTokenHandler = _chunkFF4EIQ6Hjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkFF4EIQ6Hjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkL6PYFQTOjs.getTrackablePages; exports.getValueFromPath = _chunkFF4EIQ6Hjs.getValueFromPath; exports.getWaitlistConfig = _chunkL6PYFQTOjs.getWaitlistConfig; exports.handbookPageContent = _chunkFF4EIQ6Hjs.handbookPageContent; exports.handbookPageSummary = _chunkFF4EIQ6Hjs.handbookPageSummary; exports.handbookPageTitle = _chunkFF4EIQ6Hjs.handbookPageTitle; exports.handbookSectionSummary = _chunkFF4EIQ6Hjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkFF4EIQ6Hjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isCreditWarningActive = _chunkFF4EIQ6Hjs.isCreditWarningActive; exports.isReferralEnabled = _chunkL6PYFQTOjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkFF4EIQ6Hjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.markAccountDeletionCancelled = _chunkFF4EIQ6Hjs.markAccountDeletionCancelled; exports.mergeMessages = _chunkFF4EIQ6Hjs.mergeMessages; exports.readSignupSourceFromLocation = _chunkL6PYFQTOjs.readSignupSourceFromLocation; exports.referralAdminModules = _chunkFF4EIQ6Hjs.referralAdminModules; exports.rehydrate = _chunkFF4EIQ6Hjs.rehydrate; exports.rehydrateList = _chunkFF4EIQ6Hjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.resolveChangePlanTarget = _chunkFF4EIQ6Hjs.resolveChangePlanTarget; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkFF4EIQ6Hjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkFF4EIQ6Hjs.setGlobalErrorHandler; exports.showCustomToast = _chunkFF4EIQ6Hjs.showCustomToast; exports.showError = _chunkFF4EIQ6Hjs.showError; exports.showToast = _chunkFF4EIQ6Hjs.showToast; exports.toPromotionCodeResult = _chunkFF4EIQ6Hjs.toPromotionCodeResult; exports.tokenUsageModules = _chunkFF4EIQ6Hjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkFF4EIQ6Hjs.useComposedRefs; exports.useIsMobile = _chunkFF4EIQ6Hjs.useIsMobile; exports.userObjectSchema = _chunkFF4EIQ6Hjs.userObjectSchema; exports.validateCodiceFiscale = _chunkFF4EIQ6Hjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkFF4EIQ6Hjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkFF4EIQ6Hjs.validatePartitaIva;
|
|
697
697
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getWaitlistConfig,
|
|
20
20
|
isReferralEnabled,
|
|
21
21
|
readSignupSourceFromLocation
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4FNGWALA.mjs";
|
|
23
23
|
import {
|
|
24
24
|
configureRoles,
|
|
25
25
|
getRoleId,
|
|
@@ -334,7 +334,7 @@ import {
|
|
|
334
334
|
validateCodiceFiscale,
|
|
335
335
|
validateItalianTaxCode,
|
|
336
336
|
validatePartitaIva
|
|
337
|
-
} from "./chunk-
|
|
337
|
+
} from "./chunk-AA52ORW2.mjs";
|
|
338
338
|
import {
|
|
339
339
|
DataClassRegistry,
|
|
340
340
|
ENV,
|
package/dist/{referral-admin.interface-CMwl5NiV.d.ts → referral-admin.interface-CnytdDaQ.d.ts}
RENAMED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
|
|
4
4
|
import { M as ModuleWithPermissions, a as ModuleFactory } from './types-bsm8Fp55.js';
|
|
5
5
|
import { A as AbstractApiData } from './AbstractApiData-rgvs0cdY.js';
|
|
6
|
-
import { A as AbstractService } from './AbstractService-
|
|
6
|
+
import { A as AbstractService } from './AbstractService-kNAykPDk.js';
|
|
7
7
|
|
|
8
8
|
declare function getInitials(name: string): string;
|
|
9
9
|
declare function getInitials(firstName: string, lastName: string): string;
|
package/dist/{referral-admin.interface-C87ApGMR.d.mts → referral-admin.interface-RVO-ZTJz.d.mts}
RENAMED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
|
|
4
4
|
import { M as ModuleWithPermissions, a as ModuleFactory } from './types-Bq_UA8Lg.mjs';
|
|
5
5
|
import { A as AbstractApiData } from './AbstractApiData-CKy8tbde.mjs';
|
|
6
|
-
import { A as AbstractService } from './AbstractService-
|
|
6
|
+
import { A as AbstractService } from './AbstractService-N0wFgaHD.mjs';
|
|
7
7
|
|
|
8
8
|
declare function getInitials(name: string): string;
|
|
9
9
|
declare function getInitials(firstName: string, lastName: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AbstractService, N as NextRef, P as PreviousRef } from './AbstractService-
|
|
1
|
+
import { A as AbstractService, N as NextRef, P as PreviousRef } from './AbstractService-N0wFgaHD.mjs';
|
|
2
2
|
import { F as FeatureInterface } from './stripe-price.interface-D6mKjAdr.mjs';
|
|
3
3
|
import { d as RoleInterface, U as UserInterface, e as UserInput, c as CompanyInterface, b as CompanyInput } from './user.interface-Bm-0TbsB.mjs';
|
|
4
4
|
import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AbstractService, N as NextRef, P as PreviousRef } from './AbstractService-
|
|
1
|
+
import { A as AbstractService, N as NextRef, P as PreviousRef } from './AbstractService-kNAykPDk.js';
|
|
2
2
|
import { F as FeatureInterface } from './stripe-price.interface-DGqcklFJ.js';
|
|
3
3
|
import { d as RoleInterface, U as UserInterface, e as UserInput, c as CompanyInterface, b as CompanyInput } from './user.interface-CKBIEvNu.js';
|
|
4
4
|
import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
|
package/dist/server/index.d.mts
CHANGED
|
@@ -3,10 +3,10 @@ export { a as ServerSession, S as SessionSnapshot } from '../ServerSession-DK1z0
|
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
|
|
5
5
|
import { M as ModuleWithPermissions } from '../types-Bq_UA8Lg.mjs';
|
|
6
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
6
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CeUsKm-d.mjs';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.mjs';
|
|
8
8
|
import 'lucide-react';
|
|
9
|
-
import '../AbstractService-
|
|
9
|
+
import '../AbstractService-N0wFgaHD.mjs';
|
|
10
10
|
import '../stripe-price.interface-D6mKjAdr.mjs';
|
|
11
11
|
import '../user.interface-Bm-0TbsB.mjs';
|
|
12
12
|
import '../auth.interface-BAYLbYjs.mjs';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ export { a as ServerSession, S as SessionSnapshot } from '../ServerSession-DFNNN
|
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
|
|
5
5
|
import { M as ModuleWithPermissions } from '../types-bsm8Fp55.js';
|
|
6
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
6
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-SkZnngeR.js';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.js';
|
|
8
8
|
import 'lucide-react';
|
|
9
|
-
import '../AbstractService-
|
|
9
|
+
import '../AbstractService-kNAykPDk.js';
|
|
10
10
|
import '../stripe-price.interface-DGqcklFJ.js';
|
|
11
11
|
import '../user.interface-CKBIEvNu.js';
|
|
12
12
|
import '../auth.interface-BjYwwfy9.js';
|
package/dist/server/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkO3PDL2CVjs = require('../chunk-O3PDL2CV.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkIK65TDQHjs = require('../chunk-IK65TDQH.js');
|
|
@@ -35,7 +35,7 @@ require('../chunk-G4JR3SFV.js');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkFF4EIQ6Hjs = require('../chunk-FF4EIQ6H.js');
|
|
39
39
|
require('../chunk-GHE4VT2R.js');
|
|
40
40
|
require('../chunk-LXKSUWAV.js');
|
|
41
41
|
require('../chunk-JTPRJNT2.js');
|
|
@@ -66,5 +66,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService =
|
|
69
|
+
exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkFF4EIQ6Hjs.AuthService; exports.ServerCompanyService = _chunkFF4EIQ6Hjs.CompanyService; exports.ServerContentService = _chunkFF4EIQ6Hjs.ContentService; exports.ServerFeatureService = _chunkFF4EIQ6Hjs.FeatureService; exports.ServerJsonApiDelete = _chunkKSYQEKJXjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkKSYQEKJXjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkKSYQEKJXjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkKSYQEKJXjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkKSYQEKJXjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkFF4EIQ6Hjs.NotificationService; exports.ServerPushService = _chunkFF4EIQ6Hjs.PushService; exports.ServerRoleService = _chunkFF4EIQ6Hjs.RoleService; exports.ServerS3Service = _chunkFF4EIQ6Hjs.S3Service; exports.ServerSession = _chunkO3PDL2CVjs.ServerSession; exports.ServerUserService = _chunkFF4EIQ6Hjs.UserService; exports.configureServerJsonApi = _chunkKSYQEKJXjs.configureServerJsonApi; exports.getServerApiUrl = _chunkKSYQEKJXjs.getServerApiUrl; exports.getServerAppUrl = _chunkKSYQEKJXjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkKSYQEKJXjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkO3PDL2CVjs.invalidateCacheTag; exports.invalidateCacheTags = _chunkO3PDL2CVjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkO3PDL2CVjs.updateCacheTag;
|
|
70
70
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
invalidateCacheTag,
|
|
4
4
|
invalidateCacheTags,
|
|
5
5
|
updateCacheTag
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-EWCY6QJA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CACHE_PROFILES
|
|
9
9
|
} from "../chunk-T7SAW3UW.mjs";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
RoleService,
|
|
36
36
|
S3Service,
|
|
37
37
|
UserService
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-AA52ORW2.mjs";
|
|
39
39
|
import "../chunk-V5MI7RNB.mjs";
|
|
40
40
|
import "../chunk-AUXK7QSA.mjs";
|
|
41
41
|
import "../chunk-PI56A4DG.mjs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiRequestDataTypeInterface } from "../interfaces/ApiRequestDataTypeInterface";
|
|
2
2
|
import { ApiResponseInterface } from "../interfaces/ApiResponseInterface";
|
|
3
3
|
import { setLastApiResponse } from "./lastApiResponse";
|
|
4
|
-
import { getI18nServerLocale, getI18nSupportedLocales } from "../../i18n/config";
|
|
4
|
+
import { getI18nServerLocale, getI18nSupportedLocales, getI18nDefaultLocale } from "../../i18n/config";
|
|
5
5
|
|
|
6
6
|
export enum HttpMethod {
|
|
7
7
|
GET = "GET",
|
|
@@ -57,11 +57,11 @@ export abstract class AbstractService {
|
|
|
57
57
|
/**
|
|
58
58
|
* Extract locale from client-side URL pathname
|
|
59
59
|
* URL structure: /{locale}/route-path (e.g., /it/accounts)
|
|
60
|
-
* Fallback chain: URL locale →
|
|
60
|
+
* Fallback chain: URL locale → the app's default locale (first supported locale)
|
|
61
61
|
*/
|
|
62
62
|
private static getClientLocale(): string {
|
|
63
63
|
if (typeof window === "undefined") {
|
|
64
|
-
return
|
|
64
|
+
return getI18nDefaultLocale(); // Server-side fallback
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
// Extract locale from URL pathname (first segment after leading slash)
|
|
@@ -74,14 +74,8 @@ export abstract class AbstractService {
|
|
|
74
74
|
return urlLocale;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
// Fallback to
|
|
78
|
-
|
|
79
|
-
if (navigatorLocale && supportedLocales.includes(navigatorLocale)) {
|
|
80
|
-
return navigatorLocale;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// Final fallback
|
|
84
|
-
return "en";
|
|
77
|
+
// Fallback to the app's default locale, never the browser's language
|
|
78
|
+
return getI18nDefaultLocale();
|
|
85
79
|
}
|
|
86
80
|
|
|
87
81
|
static async next<T>(params: {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ClientJsonApiDelete,
|
|
11
11
|
} from "../../client/JsonApiClient";
|
|
12
12
|
import { setLastApiResponse } from "./lastApiResponse";
|
|
13
|
-
import { getI18nSupportedLocales } from "../../i18n/config";
|
|
13
|
+
import { getI18nSupportedLocales, getI18nDefaultLocale } from "../../i18n/config";
|
|
14
14
|
// Duplicated to avoid importing from AbstractService which pulls in server code
|
|
15
15
|
// These are exported so client services can import them from here instead of core
|
|
16
16
|
export enum ClientHttpMethod {
|
|
@@ -62,11 +62,11 @@ export abstract class ClientAbstractService {
|
|
|
62
62
|
/**
|
|
63
63
|
* Extract locale from client-side URL pathname
|
|
64
64
|
* URL structure: /{locale}/route-path (e.g., /it/accounts)
|
|
65
|
-
* Fallback chain: URL locale →
|
|
65
|
+
* Fallback chain: URL locale → the app's default locale (first supported locale)
|
|
66
66
|
*/
|
|
67
67
|
private static getClientLocale(): string {
|
|
68
68
|
if (typeof window === "undefined") {
|
|
69
|
-
return
|
|
69
|
+
return getI18nDefaultLocale(); // Should not happen in client service
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// Extract locale from URL pathname (first segment after leading slash)
|
|
@@ -79,14 +79,8 @@ export abstract class ClientAbstractService {
|
|
|
79
79
|
return urlLocale;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
// Fallback to
|
|
83
|
-
|
|
84
|
-
if (navigatorLocale && supportedLocales.includes(navigatorLocale)) {
|
|
85
|
-
return navigatorLocale;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Final fallback
|
|
89
|
-
return "en";
|
|
82
|
+
// Fallback to the app's default locale, never the browser's language
|
|
83
|
+
return getI18nDefaultLocale();
|
|
90
84
|
}
|
|
91
85
|
|
|
92
86
|
/**
|
|
@@ -62,3 +62,46 @@ describe("AbstractService server locale", () => {
|
|
|
62
62
|
expect(jsonApiGet).not.toHaveBeenCalled();
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
|
+
|
|
66
|
+
describe("AbstractService client locale", () => {
|
|
67
|
+
function configure(supportedLocales: string[]) {
|
|
68
|
+
configureI18n({
|
|
69
|
+
useRouter: vi.fn(),
|
|
70
|
+
useTranslations: vi.fn(),
|
|
71
|
+
Link: vi.fn() as unknown as I18nConfig["Link"],
|
|
72
|
+
usePathname: vi.fn(),
|
|
73
|
+
getLocale: async () => "xx",
|
|
74
|
+
supportedLocales,
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function visit(pathname: string, browserLanguage: string) {
|
|
79
|
+
vi.stubGlobal("window", { location: { pathname } });
|
|
80
|
+
vi.stubGlobal("navigator", { language: browserLanguage });
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
beforeEach(() => {
|
|
84
|
+
jsonApiGet.mockReset();
|
|
85
|
+
jsonApiGet.mockResolvedValue({ ok: true, response: 200, data: [], included: [] });
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
afterEach(() => {
|
|
89
|
+
vi.unstubAllGlobals();
|
|
90
|
+
configureI18n(null as unknown as I18nConfig);
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
it.each([
|
|
94
|
+
["/compendium", ["en", "it"], "it-IT", "en"],
|
|
95
|
+
["/it/compendium", ["en", "it"], "it-IT", "it"],
|
|
96
|
+
["/xx/compendium", ["en", "it"], "it-IT", "en"],
|
|
97
|
+
// The first supported locale, not a hard-coded "en" (and not the browser's "en-US").
|
|
98
|
+
["/compendium", ["it", "en"], "en-US", "it"],
|
|
99
|
+
])("%s with supported locales %j and browser %s sends %s", async (pathname, locales, browserLanguage, expected) => {
|
|
100
|
+
configure(locales);
|
|
101
|
+
visit(pathname, browserLanguage);
|
|
102
|
+
|
|
103
|
+
await TestService.read().catch(() => undefined);
|
|
104
|
+
|
|
105
|
+
expect(jsonApiGet).toHaveBeenCalledWith(expect.objectContaining({ language: expected }));
|
|
106
|
+
});
|
|
107
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
|
|
3
|
+
const { clientJsonApiGet } = vi.hoisted(() => ({
|
|
4
|
+
clientJsonApiGet: vi.fn(),
|
|
5
|
+
}));
|
|
6
|
+
|
|
7
|
+
vi.mock("../../../client/JsonApiClient", () => ({
|
|
8
|
+
ClientJsonApiGet: clientJsonApiGet,
|
|
9
|
+
ClientJsonApiPost: vi.fn(),
|
|
10
|
+
ClientJsonApiPut: vi.fn(),
|
|
11
|
+
ClientJsonApiPatch: vi.fn(),
|
|
12
|
+
ClientJsonApiDelete: vi.fn(),
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
import { configureI18n, type I18nConfig } from "../../../i18n/config";
|
|
16
|
+
import { ClientAbstractService, ClientHttpMethod } from "../ClientAbstractService";
|
|
17
|
+
|
|
18
|
+
class TestClientService extends ClientAbstractService {
|
|
19
|
+
static read() {
|
|
20
|
+
return this.callApi({
|
|
21
|
+
type: { name: "tests" } as any,
|
|
22
|
+
method: ClientHttpMethod.GET,
|
|
23
|
+
endpoint: "https://api.test/tests",
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
describe("ClientAbstractService client locale", () => {
|
|
29
|
+
function configure(supportedLocales: string[]) {
|
|
30
|
+
configureI18n({
|
|
31
|
+
useRouter: vi.fn(),
|
|
32
|
+
useTranslations: vi.fn(),
|
|
33
|
+
Link: vi.fn() as unknown as I18nConfig["Link"],
|
|
34
|
+
usePathname: vi.fn(),
|
|
35
|
+
getLocale: async () => "xx",
|
|
36
|
+
supportedLocales,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function visit(pathname: string, browserLanguage: string) {
|
|
41
|
+
vi.stubGlobal("window", { location: { pathname } });
|
|
42
|
+
vi.stubGlobal("navigator", { language: browserLanguage });
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
beforeEach(() => {
|
|
46
|
+
clientJsonApiGet.mockReset();
|
|
47
|
+
clientJsonApiGet.mockResolvedValue({ ok: true, response: 200, data: [], included: [] });
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
afterEach(() => {
|
|
51
|
+
vi.unstubAllGlobals();
|
|
52
|
+
configureI18n(null as unknown as I18nConfig);
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
it.each([
|
|
56
|
+
["/compendium", ["en", "it"], "it-IT", "en"],
|
|
57
|
+
["/it/compendium", ["en", "it"], "it-IT", "it"],
|
|
58
|
+
["/xx/compendium", ["en", "it"], "it-IT", "en"],
|
|
59
|
+
// The first supported locale, not a hard-coded "en" (and not the browser's "en-US").
|
|
60
|
+
["/compendium", ["it", "en"], "en-US", "it"],
|
|
61
|
+
])("%s with supported locales %j and browser %s sends %s", async (pathname, locales, browserLanguage, expected) => {
|
|
62
|
+
configure(locales);
|
|
63
|
+
visit(pathname, browserLanguage);
|
|
64
|
+
|
|
65
|
+
await TestClientService.read().catch(() => undefined);
|
|
66
|
+
|
|
67
|
+
expect(clientJsonApiGet).toHaveBeenCalledWith(expect.objectContaining({ language: expected }));
|
|
68
|
+
});
|
|
69
|
+
});
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
configureI18n,
|
|
4
|
+
getI18nDefaultLocale,
|
|
5
|
+
getI18nServerLocale,
|
|
6
|
+
getI18nSupportedLocales,
|
|
7
|
+
type I18nConfig,
|
|
8
|
+
} from "../config";
|
|
3
9
|
|
|
4
10
|
function config(getLocale: I18nConfig["getLocale"]): I18nConfig {
|
|
5
11
|
return {
|
|
@@ -45,3 +51,18 @@ describe("getI18nSupportedLocales", () => {
|
|
|
45
51
|
expect(getI18nSupportedLocales()).toEqual(["en", "it"]);
|
|
46
52
|
});
|
|
47
53
|
});
|
|
54
|
+
|
|
55
|
+
describe("getI18nDefaultLocale", () => {
|
|
56
|
+
afterEach(() => {
|
|
57
|
+
configureI18n(null as unknown as I18nConfig);
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
it('returns "en" when i18n is not configured', () => {
|
|
61
|
+
expect(getI18nDefaultLocale()).toBe("en");
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
it("returns the first configured supported locale", () => {
|
|
65
|
+
configureI18n({ ...config(async () => "en"), supportedLocales: ["it", "en"] });
|
|
66
|
+
expect(getI18nDefaultLocale()).toBe("it");
|
|
67
|
+
});
|
|
68
|
+
});
|
package/src/i18n/config.ts
CHANGED
|
@@ -102,3 +102,8 @@ export function getI18nSupportedLocales(): string[] {
|
|
|
102
102
|
}
|
|
103
103
|
return ["en"];
|
|
104
104
|
}
|
|
105
|
+
|
|
106
|
+
/** The app's default locale: the first supported locale (`"en"` when not configured). */
|
|
107
|
+
export function getI18nDefaultLocale(): string {
|
|
108
|
+
return getI18nSupportedLocales()[0];
|
|
109
|
+
}
|