@carlonicora/nextjs-jsonapi 3.24.0 → 3.24.2
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/{BlockNoteEditor-PTD2V4CH.js → BlockNoteEditor-35D4R7HJ.js} +21 -21
- package/dist/{BlockNoteEditor-PTD2V4CH.js.map → BlockNoteEditor-35D4R7HJ.js.map} +1 -1
- package/dist/{BlockNoteEditor-Q2WEDMKJ.mjs → BlockNoteEditor-65HR6ULV.mjs} +6 -6
- package/dist/{BlockNoteViewer-WO6GTDSI.mjs → BlockNoteViewer-KDKGUIG5.mjs} +4 -4
- package/dist/{BlockNoteViewer-WOXEJ6RM.js → BlockNoteViewer-QDXDVYEM.js} +5 -5
- package/dist/{BlockNoteViewer-WOXEJ6RM.js.map → BlockNoteViewer-QDXDVYEM.js.map} +1 -1
- package/dist/JsonApiRequest-G625QAH5.js +26 -0
- package/dist/{JsonApiRequest-E4PZPH3N.js.map → JsonApiRequest-G625QAH5.js.map} +1 -1
- package/dist/{JsonApiRequest-7AEQWMLJ.mjs → JsonApiRequest-RRMNV7YE.mjs} +2 -2
- package/dist/billing/index.d.mts +57 -2
- package/dist/billing/index.d.ts +57 -2
- package/dist/billing/index.js +408 -403
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +10 -5
- package/dist/{chunk-3YJF7QY4.js → chunk-2XCUAHQT.js} +834 -834
- package/dist/{chunk-3YJF7QY4.js.map → chunk-2XCUAHQT.js.map} +1 -1
- package/dist/{chunk-3D2MCVRZ.js → chunk-3AR4KA5D.js} +13 -13
- package/dist/{chunk-3D2MCVRZ.js.map → chunk-3AR4KA5D.js.map} +1 -1
- package/dist/{chunk-GJHKOG5L.mjs → chunk-4O7R2Z2O.mjs} +10 -10
- package/dist/chunk-4O7R2Z2O.mjs.map +1 -0
- package/dist/{chunk-IOLU4ASD.js → chunk-5TRFNKJS.js} +3 -2
- package/dist/chunk-5TRFNKJS.js.map +1 -0
- package/dist/{chunk-2O3SFHQ7.mjs → chunk-IBVKPLHT.mjs} +14 -8
- package/dist/chunk-IBVKPLHT.mjs.map +1 -0
- package/dist/{chunk-IBS6NI7D.js → chunk-JTPRJNT2.js} +3 -2
- package/dist/chunk-JTPRJNT2.js.map +1 -0
- package/dist/{chunk-C7C7VY4F.mjs → chunk-PI56A4DG.mjs} +3 -2
- package/dist/{chunk-C7C7VY4F.mjs.map → chunk-PI56A4DG.mjs.map} +1 -1
- package/dist/{chunk-IEJYBQ6J.mjs → chunk-SJLXPHK5.mjs} +3 -2
- package/dist/{chunk-IEJYBQ6J.mjs.map → chunk-SJLXPHK5.mjs.map} +1 -1
- package/dist/{chunk-BMVA2IM5.mjs → chunk-T76WLDE5.mjs} +3 -3
- package/dist/{chunk-IV4DTYXN.js → chunk-U7QVISQS.js} +46 -40
- package/dist/chunk-U7QVISQS.js.map +1 -0
- package/dist/{chunk-LU7DJ4QF.js → chunk-YXRVPEEJ.js} +3 -3
- package/dist/{chunk-LU7DJ4QF.js.map → chunk-YXRVPEEJ.js.map} +1 -1
- package/dist/{chunk-HAI7G6MD.mjs → chunk-ZJI5ZZW5.mjs} +3 -3
- package/dist/client/index.js +6 -6
- package/dist/client/index.mjs +5 -5
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +5 -5
- package/dist/contexts/index.js +6 -6
- package/dist/contexts/index.mjs +5 -5
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +4 -4
- package/dist/core/index.mjs +3 -3
- package/dist/features/help/index.js +39 -39
- package/dist/features/help/index.mjs +5 -5
- package/dist/features/tokenusage/index.js +103 -103
- package/dist/features/tokenusage/index.mjs +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/dist/{request-FYMQK5CX.mjs → request-5RLK2AM3.mjs} +2 -2
- package/dist/request-EUGTI3BE.js +9 -0
- package/dist/{request-ZYY6RI5X.js.map → request-EUGTI3BE.js.map} +1 -1
- package/dist/{request-6VYDNP5T.mjs → request-FXF63NSQ.mjs} +2 -2
- package/dist/request-ZTX6I63X.js +8 -0
- package/dist/request-ZTX6I63X.js.map +1 -0
- package/dist/{s3.service-DJHqEZAp.d.ts → s3.service-Bqr-fQmi.d.ts} +1 -0
- package/dist/{s3.service-DaRFLnrX.d.mts → s3.service-Buiy1ncj.d.mts} +1 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +21 -21
- package/dist/server/index.mjs +4 -4
- package/package.json +1 -1
- package/src/client/__tests__/request.test.ts +29 -0
- package/src/client/request.ts +5 -1
- package/src/features/billing/stripe-customer/data/stripe-customer.service.ts +5 -0
- package/src/features/billing/stripe-subscription/components/index.ts +1 -0
- package/src/features/notification/contexts/NotificationContext.tsx +5 -2
- package/src/features/notification/contexts/__tests__/NotificationContext.spec.tsx +32 -0
- package/src/features/notification/data/notification.service.ts +6 -1
- package/src/server/__tests__/request.test.ts +17 -0
- package/src/server/request.ts +5 -1
- package/dist/JsonApiRequest-E4PZPH3N.js +0 -26
- package/dist/chunk-2O3SFHQ7.mjs.map +0 -1
- package/dist/chunk-GJHKOG5L.mjs.map +0 -1
- package/dist/chunk-IBS6NI7D.js.map +0 -1
- package/dist/chunk-IOLU4ASD.js.map +0 -1
- package/dist/chunk-IV4DTYXN.js.map +0 -1
- package/dist/request-UR7VPG3G.js +0 -8
- package/dist/request-UR7VPG3G.js.map +0 -1
- package/dist/request-ZYY6RI5X.js +0 -9
- /package/dist/{BlockNoteEditor-Q2WEDMKJ.mjs.map → BlockNoteEditor-65HR6ULV.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-WO6GTDSI.mjs.map → BlockNoteViewer-KDKGUIG5.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-7AEQWMLJ.mjs.map → JsonApiRequest-RRMNV7YE.mjs.map} +0 -0
- /package/dist/{chunk-BMVA2IM5.mjs.map → chunk-T76WLDE5.mjs.map} +0 -0
- /package/dist/{chunk-HAI7G6MD.mjs.map → chunk-ZJI5ZZW5.mjs.map} +0 -0
- /package/dist/{request-6VYDNP5T.mjs.map → request-5RLK2AM3.mjs.map} +0 -0
- /package/dist/{request-FYMQK5CX.mjs.map → request-FXF63NSQ.mjs.map} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -218,9 +218,9 @@
|
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
|
|
221
|
-
var
|
|
221
|
+
var _chunkU7QVISQSjs = require('../chunk-U7QVISQS.js');
|
|
222
222
|
require('../chunk-LXKSUWAV.js');
|
|
223
|
-
require('../chunk-
|
|
223
|
+
require('../chunk-JTPRJNT2.js');
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -232,7 +232,7 @@ require('../chunk-IBS6NI7D.js');
|
|
|
232
232
|
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
var
|
|
235
|
+
var _chunkYXRVPEEJjs = require('../chunk-YXRVPEEJ.js');
|
|
236
236
|
require('../chunk-7QVYU63E.js');
|
|
237
237
|
|
|
238
238
|
|
|
@@ -465,5 +465,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
465
465
|
|
|
466
466
|
|
|
467
467
|
|
|
468
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkIV4DTYXNjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkIV4DTYXNjs.AbstractApiData; exports.AbstractService = _chunkIV4DTYXNjs.AbstractService; exports.Action = _chunkIV4DTYXNjs.Action; exports.AiConnection = _chunkIV4DTYXNjs.AiConnection; exports.AiConnectionFields = _chunkIV4DTYXNjs.AiConnectionFields; exports.AiConnectionModule = _chunkIV4DTYXNjs.AiConnectionModule; exports.AiConnectionService = _chunkIV4DTYXNjs.AiConnectionService; exports.Assistant = _chunkIV4DTYXNjs.Assistant; exports.AssistantAction = _chunkIV4DTYXNjs.AssistantAction; exports.AssistantActionModule = _chunkIV4DTYXNjs.AssistantActionModule; exports.AssistantActionService = _chunkIV4DTYXNjs.AssistantActionService; exports.AssistantMessage = _chunkIV4DTYXNjs.AssistantMessage; exports.AssistantMessageModule = _chunkIV4DTYXNjs.AssistantMessageModule; exports.AssistantMessageService = _chunkIV4DTYXNjs.AssistantMessageService; exports.AssistantModule = _chunkIV4DTYXNjs.AssistantModule; exports.AssistantService = _chunkIV4DTYXNjs.AssistantService; exports.AuditLog = _chunkIV4DTYXNjs.AuditLog; exports.AuditLogModule = _chunkIV4DTYXNjs.AuditLogModule; exports.AuditLogService = _chunkIV4DTYXNjs.AuditLogService; exports.Auth = _chunkIV4DTYXNjs.Auth; exports.AuthComponent = _chunkIV4DTYXNjs.AuthComponent; exports.AuthModule = _chunkIV4DTYXNjs.AuthModule; exports.AuthService = _chunkIV4DTYXNjs.AuthService; exports.AuthorModule = _chunkIV4DTYXNjs.AuthorModule; exports.BackupCodeVerify = _chunkIV4DTYXNjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkIV4DTYXNjs.BackupCodeVerifyModule; exports.Billing = _chunkIV4DTYXNjs.Billing; exports.BillingModule = _chunkIV4DTYXNjs.BillingModule; exports.BillingService = _chunkIV4DTYXNjs.BillingService; exports.BlockNoteDiffUtil = _chunkIV4DTYXNjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkIV4DTYXNjs.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunkIV4DTYXNjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkIV4DTYXNjs.Chunk; exports.ChunkModule = _chunkIV4DTYXNjs.ChunkModule; exports.ClientAbstractService = _chunkIV4DTYXNjs.ClientAbstractService; exports.ClientHttpMethod = _chunkIV4DTYXNjs.ClientHttpMethod; exports.Company = _chunkIV4DTYXNjs.Company; exports.CompanyFields = _chunkIV4DTYXNjs.CompanyFields; exports.CompanyModule = _chunkIV4DTYXNjs.CompanyModule; exports.CompanyService = _chunkIV4DTYXNjs.CompanyService; exports.Content = _chunkIV4DTYXNjs.Content; exports.ContentFields = _chunkIV4DTYXNjs.ContentFields; exports.ContentModule = _chunkIV4DTYXNjs.ContentModule; exports.ContentService = _chunkIV4DTYXNjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkIV4DTYXNjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkIV4DTYXNjs.EndpointCreator; exports.EntityAiStatus = _chunkIV4DTYXNjs.EntityAiStatus; exports.Feature = _chunkIV4DTYXNjs.Feature; exports.FeatureModule = _chunkIV4DTYXNjs.FeatureModule; exports.FeatureService = _chunkIV4DTYXNjs.FeatureService; exports.HandbookPage = _chunkIV4DTYXNjs.HandbookPage; exports.HandbookPageFields = _chunkIV4DTYXNjs.HandbookPageFields; exports.HandbookPageModule = _chunkIV4DTYXNjs.HandbookPageModule; exports.HandbookPageService = _chunkIV4DTYXNjs.HandbookPageService; exports.HandbookSection = _chunkIV4DTYXNjs.HandbookSection; exports.HandbookSectionModule = _chunkIV4DTYXNjs.HandbookSectionModule; exports.HandbookSectionService = _chunkIV4DTYXNjs.HandbookSectionService; exports.HandbookThread = _chunkIV4DTYXNjs.HandbookThread; exports.HandbookThreadMessage = _chunkIV4DTYXNjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkIV4DTYXNjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkIV4DTYXNjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkIV4DTYXNjs.HandbookThreadModule; exports.HandbookThreadService = _chunkIV4DTYXNjs.HandbookThreadService; exports.HowTo = _chunkIV4DTYXNjs.HowTo; exports.HowToFields = _chunkIV4DTYXNjs.HowToFields; exports.HowToModule = _chunkIV4DTYXNjs.HowToModule; exports.HowToService = _chunkIV4DTYXNjs.HowToService; exports.HttpMethod = _chunkIV4DTYXNjs.HttpMethod; exports.InvoiceStatus = _chunkIV4DTYXNjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkIV4DTYXNjs.MOBILE_BREAKPOINT; exports.Module = _chunkIV4DTYXNjs.Module; exports.ModuleModule = _chunkIV4DTYXNjs.ModuleModule; exports.ModulePathsModule = _chunkIV4DTYXNjs.ModulePathsModule; exports.ModuleRegistrar = _chunkIV4DTYXNjs.ModuleRegistrar; exports.ModuleRegistry = _chunkIV4DTYXNjs.ModuleRegistry; exports.Modules = _chunkIV4DTYXNjs.Modules; exports.Notification = _chunkIV4DTYXNjs.Notification; exports.NotificationFields = _chunkIV4DTYXNjs.NotificationFields; exports.NotificationModule = _chunkIV4DTYXNjs.NotificationModule; exports.NotificationService = _chunkIV4DTYXNjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkIV4DTYXNjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkIV4DTYXNjs.OAuthClient; exports.OAuthModule = _chunkIV4DTYXNjs.OAuthModule; exports.OAuthService = _chunkIV4DTYXNjs.OAuthService; exports.Passkey = _chunkIV4DTYXNjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkIV4DTYXNjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkIV4DTYXNjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkIV4DTYXNjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkIV4DTYXNjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkIV4DTYXNjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkIV4DTYXNjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkIV4DTYXNjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkIV4DTYXNjs.PasskeyRename; exports.PasskeyRenameModule = _chunkIV4DTYXNjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkIV4DTYXNjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkIV4DTYXNjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkIV4DTYXNjs.PaymentMethod; exports.PermissionMappingModule = _chunkIV4DTYXNjs.PermissionMappingModule; exports.Push = _chunkIV4DTYXNjs.Push; exports.PushModule = _chunkIV4DTYXNjs.PushModule; exports.PushService = _chunkIV4DTYXNjs.PushService; exports.RbacMatrixModule = _chunkIV4DTYXNjs.RbacMatrixModule; exports.ReferralModule = _chunkIV4DTYXNjs.ReferralModule; exports.ReferralService = _chunkIV4DTYXNjs.ReferralService; exports.ReferralStats = _chunkIV4DTYXNjs.ReferralStats; exports.ReferralStatsModule = _chunkIV4DTYXNjs.ReferralStatsModule; exports.RehydrationFactory = _chunkIV4DTYXNjs.RehydrationFactory; exports.Role = _chunkIV4DTYXNjs.Role; exports.RoleFields = _chunkIV4DTYXNjs.RoleFields; exports.RoleModule = _chunkIV4DTYXNjs.RoleModule; exports.RoleService = _chunkIV4DTYXNjs.RoleService; exports.S3 = _chunkIV4DTYXNjs.S3; exports.S3Module = _chunkIV4DTYXNjs.S3Module; exports.S3Service = _chunkIV4DTYXNjs.S3Service; exports.StripeCustomer = _chunkIV4DTYXNjs.StripeCustomer; exports.StripeCustomerModule = _chunkIV4DTYXNjs.StripeCustomerModule; exports.StripeCustomerService = _chunkIV4DTYXNjs.StripeCustomerService; exports.StripeInvoice = _chunkIV4DTYXNjs.StripeInvoice; exports.StripeInvoiceModule = _chunkIV4DTYXNjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkIV4DTYXNjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkIV4DTYXNjs.StripePaymentMethodModule; exports.StripePrice = _chunkIV4DTYXNjs.StripePrice; exports.StripePriceFields = _chunkIV4DTYXNjs.StripePriceFields; exports.StripePriceModule = _chunkIV4DTYXNjs.StripePriceModule; exports.StripePriceService = _chunkIV4DTYXNjs.StripePriceService; exports.StripeProduct = _chunkIV4DTYXNjs.StripeProduct; exports.StripeProductFields = _chunkIV4DTYXNjs.StripeProductFields; exports.StripeProductModule = _chunkIV4DTYXNjs.StripeProductModule; exports.StripeProductService = _chunkIV4DTYXNjs.StripeProductService; exports.StripePromotionCode = _chunkIV4DTYXNjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkIV4DTYXNjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkIV4DTYXNjs.StripePromotionCodeService; exports.StripeSubscription = _chunkIV4DTYXNjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkIV4DTYXNjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkIV4DTYXNjs.StripeSubscriptionService; exports.StripeUsage = _chunkIV4DTYXNjs.StripeUsage; exports.StripeUsageModule = _chunkIV4DTYXNjs.StripeUsageModule; exports.StripeUsageService = _chunkIV4DTYXNjs.StripeUsageService; exports.SubscriptionStatus = _chunkIV4DTYXNjs.SubscriptionStatus; exports.TableOptions = _chunkIV4DTYXNjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkIV4DTYXNjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkIV4DTYXNjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkIV4DTYXNjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkIV4DTYXNjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkIV4DTYXNjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkIV4DTYXNjs.TotpSetup; exports.TotpSetupModule = _chunkIV4DTYXNjs.TotpSetupModule; exports.TotpVerify = _chunkIV4DTYXNjs.TotpVerify; exports.TotpVerifyLogin = _chunkIV4DTYXNjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkIV4DTYXNjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkIV4DTYXNjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkIV4DTYXNjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkIV4DTYXNjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkIV4DTYXNjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkIV4DTYXNjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkIV4DTYXNjs.TwoFactorService; exports.TwoFactorStatus = _chunkIV4DTYXNjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkIV4DTYXNjs.TwoFactorStatusModule; exports.User = _chunkIV4DTYXNjs.User; exports.UserFields = _chunkIV4DTYXNjs.UserFields; exports.UserModule = _chunkIV4DTYXNjs.UserModule; exports.UserService = _chunkIV4DTYXNjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkIV4DTYXNjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkIV4DTYXNjs.Waitlist; exports.WaitlistModule = _chunkIV4DTYXNjs.WaitlistModule; exports.WaitlistService = _chunkIV4DTYXNjs.WaitlistService; exports.WaitlistStats = _chunkIV4DTYXNjs.WaitlistStats; exports.WaitlistStatsModule = _chunkIV4DTYXNjs.WaitlistStatsModule; exports.checkPermissions = _chunkIV4DTYXNjs.checkPermissions; exports.checkPermissionsFromServer = _chunkIV4DTYXNjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkIV4DTYXNjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkIV4DTYXNjs.clearLastApiTotal; exports.cn = _chunkIV4DTYXNjs.cn; exports.composeRefs = _chunkIV4DTYXNjs.composeRefs; exports.configureTokenUsage = _chunkIV4DTYXNjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkIV4DTYXNjs.createJsonApiInclusion; exports.dismissToast = _chunkIV4DTYXNjs.dismissToast; exports.entityObjectSchema = _chunkIV4DTYXNjs.entityObjectSchema; exports.exists = _chunkIV4DTYXNjs.exists; exports.formatCodiceFiscale = _chunkIV4DTYXNjs.formatCodiceFiscale; exports.formatDate = _chunkIV4DTYXNjs.formatDate; exports.formatLocalDate = _chunkIV4DTYXNjs.formatLocalDate; exports.formatPartitaIva = _chunkIV4DTYXNjs.formatPartitaIva; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkIV4DTYXNjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkIV4DTYXNjs.getGlobalErrorHandler; exports.getIcon = _chunkIV4DTYXNjs.getIcon; exports.getIconByModule = _chunkIV4DTYXNjs.getIconByModule; exports.getIconByModuleName = _chunkIV4DTYXNjs.getIconByModuleName; exports.getInitials = _chunkIV4DTYXNjs.getInitials; exports.getLastApiMeta = _chunkIV4DTYXNjs.getLastApiMeta; exports.getLastApiTotal = _chunkIV4DTYXNjs.getLastApiTotal; exports.getLucideIcon = _chunkIV4DTYXNjs.getLucideIcon; exports.getLucideIconByModule = _chunkIV4DTYXNjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkIV4DTYXNjs.getLucideIconByModuleName; exports.getTableComponents = _chunkIV4DTYXNjs.getTableComponents; exports.getTableOptions = _chunkIV4DTYXNjs.getTableOptions; exports.getTokenUsageCurrency = _chunkIV4DTYXNjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkIV4DTYXNjs.getValueFromPath; exports.handbookPageContent = _chunkIV4DTYXNjs.handbookPageContent; exports.handbookPageSummary = _chunkIV4DTYXNjs.handbookPageSummary; exports.handbookPageTitle = _chunkIV4DTYXNjs.handbookPageTitle; exports.handbookSectionSummary = _chunkIV4DTYXNjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkIV4DTYXNjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkIV4DTYXNjs.isRemoteImageSrc; exports.rehydrate = _chunkIV4DTYXNjs.rehydrate; exports.rehydrateList = _chunkIV4DTYXNjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkIV4DTYXNjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkIV4DTYXNjs.setGlobalErrorHandler; exports.showCustomToast = _chunkIV4DTYXNjs.showCustomToast; exports.showError = _chunkIV4DTYXNjs.showError; exports.showToast = _chunkIV4DTYXNjs.showToast; exports.tokenUsageModules = _chunkIV4DTYXNjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkIV4DTYXNjs.useComposedRefs; exports.useIsMobile = _chunkIV4DTYXNjs.useIsMobile; exports.userObjectSchema = _chunkIV4DTYXNjs.userObjectSchema; exports.validateCodiceFiscale = _chunkIV4DTYXNjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkIV4DTYXNjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkIV4DTYXNjs.validatePartitaIva;
|
|
468
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunkU7QVISQSjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkU7QVISQSjs.AbstractApiData; exports.AbstractService = _chunkU7QVISQSjs.AbstractService; exports.Action = _chunkU7QVISQSjs.Action; exports.AiConnection = _chunkU7QVISQSjs.AiConnection; exports.AiConnectionFields = _chunkU7QVISQSjs.AiConnectionFields; exports.AiConnectionModule = _chunkU7QVISQSjs.AiConnectionModule; exports.AiConnectionService = _chunkU7QVISQSjs.AiConnectionService; exports.Assistant = _chunkU7QVISQSjs.Assistant; exports.AssistantAction = _chunkU7QVISQSjs.AssistantAction; exports.AssistantActionModule = _chunkU7QVISQSjs.AssistantActionModule; exports.AssistantActionService = _chunkU7QVISQSjs.AssistantActionService; exports.AssistantMessage = _chunkU7QVISQSjs.AssistantMessage; exports.AssistantMessageModule = _chunkU7QVISQSjs.AssistantMessageModule; exports.AssistantMessageService = _chunkU7QVISQSjs.AssistantMessageService; exports.AssistantModule = _chunkU7QVISQSjs.AssistantModule; exports.AssistantService = _chunkU7QVISQSjs.AssistantService; exports.AuditLog = _chunkU7QVISQSjs.AuditLog; exports.AuditLogModule = _chunkU7QVISQSjs.AuditLogModule; exports.AuditLogService = _chunkU7QVISQSjs.AuditLogService; exports.Auth = _chunkU7QVISQSjs.Auth; exports.AuthComponent = _chunkU7QVISQSjs.AuthComponent; exports.AuthModule = _chunkU7QVISQSjs.AuthModule; exports.AuthService = _chunkU7QVISQSjs.AuthService; exports.AuthorModule = _chunkU7QVISQSjs.AuthorModule; exports.BackupCodeVerify = _chunkU7QVISQSjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkU7QVISQSjs.BackupCodeVerifyModule; exports.Billing = _chunkU7QVISQSjs.Billing; exports.BillingModule = _chunkU7QVISQSjs.BillingModule; exports.BillingService = _chunkU7QVISQSjs.BillingService; exports.BlockNoteDiffUtil = _chunkU7QVISQSjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkU7QVISQSjs.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunkU7QVISQSjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkU7QVISQSjs.Chunk; exports.ChunkModule = _chunkU7QVISQSjs.ChunkModule; exports.ClientAbstractService = _chunkU7QVISQSjs.ClientAbstractService; exports.ClientHttpMethod = _chunkU7QVISQSjs.ClientHttpMethod; exports.Company = _chunkU7QVISQSjs.Company; exports.CompanyFields = _chunkU7QVISQSjs.CompanyFields; exports.CompanyModule = _chunkU7QVISQSjs.CompanyModule; exports.CompanyService = _chunkU7QVISQSjs.CompanyService; exports.Content = _chunkU7QVISQSjs.Content; exports.ContentFields = _chunkU7QVISQSjs.ContentFields; exports.ContentModule = _chunkU7QVISQSjs.ContentModule; exports.ContentService = _chunkU7QVISQSjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkU7QVISQSjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkYXRVPEEJjs.DataClassRegistry; exports.DataClassRegistry = _chunkYXRVPEEJjs.DataClassRegistry; exports.ENV = _chunkYXRVPEEJjs.ENV; exports.EndpointCreator = _chunkU7QVISQSjs.EndpointCreator; exports.EntityAiStatus = _chunkU7QVISQSjs.EntityAiStatus; exports.Feature = _chunkU7QVISQSjs.Feature; exports.FeatureModule = _chunkU7QVISQSjs.FeatureModule; exports.FeatureService = _chunkU7QVISQSjs.FeatureService; exports.HandbookPage = _chunkU7QVISQSjs.HandbookPage; exports.HandbookPageFields = _chunkU7QVISQSjs.HandbookPageFields; exports.HandbookPageModule = _chunkU7QVISQSjs.HandbookPageModule; exports.HandbookPageService = _chunkU7QVISQSjs.HandbookPageService; exports.HandbookSection = _chunkU7QVISQSjs.HandbookSection; exports.HandbookSectionModule = _chunkU7QVISQSjs.HandbookSectionModule; exports.HandbookSectionService = _chunkU7QVISQSjs.HandbookSectionService; exports.HandbookThread = _chunkU7QVISQSjs.HandbookThread; exports.HandbookThreadMessage = _chunkU7QVISQSjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkU7QVISQSjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkU7QVISQSjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkU7QVISQSjs.HandbookThreadModule; exports.HandbookThreadService = _chunkU7QVISQSjs.HandbookThreadService; exports.HowTo = _chunkU7QVISQSjs.HowTo; exports.HowToFields = _chunkU7QVISQSjs.HowToFields; exports.HowToModule = _chunkU7QVISQSjs.HowToModule; exports.HowToService = _chunkU7QVISQSjs.HowToService; exports.HttpMethod = _chunkU7QVISQSjs.HttpMethod; exports.InvoiceStatus = _chunkU7QVISQSjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkYXRVPEEJjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkU7QVISQSjs.MOBILE_BREAKPOINT; exports.Module = _chunkU7QVISQSjs.Module; exports.ModuleModule = _chunkU7QVISQSjs.ModuleModule; exports.ModulePathsModule = _chunkU7QVISQSjs.ModulePathsModule; exports.ModuleRegistrar = _chunkU7QVISQSjs.ModuleRegistrar; exports.ModuleRegistry = _chunkU7QVISQSjs.ModuleRegistry; exports.Modules = _chunkU7QVISQSjs.Modules; exports.Notification = _chunkU7QVISQSjs.Notification; exports.NotificationFields = _chunkU7QVISQSjs.NotificationFields; exports.NotificationModule = _chunkU7QVISQSjs.NotificationModule; exports.NotificationService = _chunkU7QVISQSjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkU7QVISQSjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkU7QVISQSjs.OAuthClient; exports.OAuthModule = _chunkU7QVISQSjs.OAuthModule; exports.OAuthService = _chunkU7QVISQSjs.OAuthService; exports.Passkey = _chunkU7QVISQSjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkU7QVISQSjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkU7QVISQSjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkU7QVISQSjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkU7QVISQSjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkU7QVISQSjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkU7QVISQSjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkU7QVISQSjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkU7QVISQSjs.PasskeyRename; exports.PasskeyRenameModule = _chunkU7QVISQSjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkU7QVISQSjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkU7QVISQSjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkU7QVISQSjs.PaymentMethod; exports.PermissionMappingModule = _chunkU7QVISQSjs.PermissionMappingModule; exports.Push = _chunkU7QVISQSjs.Push; exports.PushModule = _chunkU7QVISQSjs.PushModule; exports.PushService = _chunkU7QVISQSjs.PushService; exports.RbacMatrixModule = _chunkU7QVISQSjs.RbacMatrixModule; exports.ReferralModule = _chunkU7QVISQSjs.ReferralModule; exports.ReferralService = _chunkU7QVISQSjs.ReferralService; exports.ReferralStats = _chunkU7QVISQSjs.ReferralStats; exports.ReferralStatsModule = _chunkU7QVISQSjs.ReferralStatsModule; exports.RehydrationFactory = _chunkU7QVISQSjs.RehydrationFactory; exports.Role = _chunkU7QVISQSjs.Role; exports.RoleFields = _chunkU7QVISQSjs.RoleFields; exports.RoleModule = _chunkU7QVISQSjs.RoleModule; exports.RoleService = _chunkU7QVISQSjs.RoleService; exports.S3 = _chunkU7QVISQSjs.S3; exports.S3Module = _chunkU7QVISQSjs.S3Module; exports.S3Service = _chunkU7QVISQSjs.S3Service; exports.StripeCustomer = _chunkU7QVISQSjs.StripeCustomer; exports.StripeCustomerModule = _chunkU7QVISQSjs.StripeCustomerModule; exports.StripeCustomerService = _chunkU7QVISQSjs.StripeCustomerService; exports.StripeInvoice = _chunkU7QVISQSjs.StripeInvoice; exports.StripeInvoiceModule = _chunkU7QVISQSjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkU7QVISQSjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkU7QVISQSjs.StripePaymentMethodModule; exports.StripePrice = _chunkU7QVISQSjs.StripePrice; exports.StripePriceFields = _chunkU7QVISQSjs.StripePriceFields; exports.StripePriceModule = _chunkU7QVISQSjs.StripePriceModule; exports.StripePriceService = _chunkU7QVISQSjs.StripePriceService; exports.StripeProduct = _chunkU7QVISQSjs.StripeProduct; exports.StripeProductFields = _chunkU7QVISQSjs.StripeProductFields; exports.StripeProductModule = _chunkU7QVISQSjs.StripeProductModule; exports.StripeProductService = _chunkU7QVISQSjs.StripeProductService; exports.StripePromotionCode = _chunkU7QVISQSjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkU7QVISQSjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkU7QVISQSjs.StripePromotionCodeService; exports.StripeSubscription = _chunkU7QVISQSjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkU7QVISQSjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkU7QVISQSjs.StripeSubscriptionService; exports.StripeUsage = _chunkU7QVISQSjs.StripeUsage; exports.StripeUsageModule = _chunkU7QVISQSjs.StripeUsageModule; exports.StripeUsageService = _chunkU7QVISQSjs.StripeUsageService; exports.SubscriptionStatus = _chunkU7QVISQSjs.SubscriptionStatus; exports.TableOptions = _chunkU7QVISQSjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkU7QVISQSjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkU7QVISQSjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkU7QVISQSjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkU7QVISQSjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkU7QVISQSjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkU7QVISQSjs.TotpSetup; exports.TotpSetupModule = _chunkU7QVISQSjs.TotpSetupModule; exports.TotpVerify = _chunkU7QVISQSjs.TotpVerify; exports.TotpVerifyLogin = _chunkU7QVISQSjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkU7QVISQSjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkU7QVISQSjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkU7QVISQSjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkU7QVISQSjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkU7QVISQSjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkU7QVISQSjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkU7QVISQSjs.TwoFactorService; exports.TwoFactorStatus = _chunkU7QVISQSjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkU7QVISQSjs.TwoFactorStatusModule; exports.User = _chunkU7QVISQSjs.User; exports.UserFields = _chunkU7QVISQSjs.UserFields; exports.UserModule = _chunkU7QVISQSjs.UserModule; exports.UserService = _chunkU7QVISQSjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkU7QVISQSjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkU7QVISQSjs.Waitlist; exports.WaitlistModule = _chunkU7QVISQSjs.WaitlistModule; exports.WaitlistService = _chunkU7QVISQSjs.WaitlistService; exports.WaitlistStats = _chunkU7QVISQSjs.WaitlistStats; exports.WaitlistStatsModule = _chunkU7QVISQSjs.WaitlistStatsModule; exports.checkPermissions = _chunkU7QVISQSjs.checkPermissions; exports.checkPermissionsFromServer = _chunkU7QVISQSjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkU7QVISQSjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkU7QVISQSjs.clearLastApiTotal; exports.cn = _chunkU7QVISQSjs.cn; exports.composeRefs = _chunkU7QVISQSjs.composeRefs; exports.configureTokenUsage = _chunkU7QVISQSjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkU7QVISQSjs.createJsonApiInclusion; exports.dismissToast = _chunkU7QVISQSjs.dismissToast; exports.entityObjectSchema = _chunkU7QVISQSjs.entityObjectSchema; exports.exists = _chunkU7QVISQSjs.exists; exports.formatCodiceFiscale = _chunkU7QVISQSjs.formatCodiceFiscale; exports.formatDate = _chunkU7QVISQSjs.formatDate; exports.formatLocalDate = _chunkU7QVISQSjs.formatLocalDate; exports.formatPartitaIva = _chunkU7QVISQSjs.formatPartitaIva; exports.getBootstrapper = _chunkYXRVPEEJjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkU7QVISQSjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkU7QVISQSjs.getGlobalErrorHandler; exports.getIcon = _chunkU7QVISQSjs.getIcon; exports.getIconByModule = _chunkU7QVISQSjs.getIconByModule; exports.getIconByModuleName = _chunkU7QVISQSjs.getIconByModuleName; exports.getInitials = _chunkU7QVISQSjs.getInitials; exports.getLastApiMeta = _chunkU7QVISQSjs.getLastApiMeta; exports.getLastApiTotal = _chunkU7QVISQSjs.getLastApiTotal; exports.getLucideIcon = _chunkU7QVISQSjs.getLucideIcon; exports.getLucideIconByModule = _chunkU7QVISQSjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkU7QVISQSjs.getLucideIconByModuleName; exports.getTableComponents = _chunkU7QVISQSjs.getTableComponents; exports.getTableOptions = _chunkU7QVISQSjs.getTableOptions; exports.getTokenUsageCurrency = _chunkU7QVISQSjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkU7QVISQSjs.getValueFromPath; exports.handbookPageContent = _chunkU7QVISQSjs.handbookPageContent; exports.handbookPageSummary = _chunkU7QVISQSjs.handbookPageSummary; exports.handbookPageTitle = _chunkU7QVISQSjs.handbookPageTitle; exports.handbookSectionSummary = _chunkU7QVISQSjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkU7QVISQSjs.handbookSectionTitle; exports.hasBootstrapper = _chunkYXRVPEEJjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkU7QVISQSjs.isRemoteImageSrc; exports.rehydrate = _chunkU7QVISQSjs.rehydrate; exports.rehydrateList = _chunkU7QVISQSjs.rehydrateList; exports.resetBootstrapStore = _chunkYXRVPEEJjs.resetBootstrapStore; exports.setBootstrapper = _chunkYXRVPEEJjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkU7QVISQSjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkU7QVISQSjs.setGlobalErrorHandler; exports.showCustomToast = _chunkU7QVISQSjs.showCustomToast; exports.showError = _chunkU7QVISQSjs.showError; exports.showToast = _chunkU7QVISQSjs.showToast; exports.tokenUsageModules = _chunkU7QVISQSjs.tokenUsageModules; exports.translateData = _chunkYXRVPEEJjs.translateData; exports.translateResponse = _chunkYXRVPEEJjs.translateResponse; exports.tryBootstrap = _chunkYXRVPEEJjs.tryBootstrap; exports.useComposedRefs = _chunkU7QVISQSjs.useComposedRefs; exports.useIsMobile = _chunkU7QVISQSjs.useIsMobile; exports.userObjectSchema = _chunkU7QVISQSjs.userObjectSchema; exports.validateCodiceFiscale = _chunkU7QVISQSjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkU7QVISQSjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkU7QVISQSjs.validatePartitaIva;
|
|
469
469
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.mjs
CHANGED
|
@@ -218,9 +218,9 @@ import {
|
|
|
218
218
|
validateCodiceFiscale,
|
|
219
219
|
validateItalianTaxCode,
|
|
220
220
|
validatePartitaIva
|
|
221
|
-
} from "../chunk-
|
|
221
|
+
} from "../chunk-IBVKPLHT.mjs";
|
|
222
222
|
import "../chunk-AUXK7QSA.mjs";
|
|
223
|
-
import "../chunk-
|
|
223
|
+
import "../chunk-PI56A4DG.mjs";
|
|
224
224
|
import {
|
|
225
225
|
DataClassRegistry,
|
|
226
226
|
ENV,
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
translateData,
|
|
233
233
|
translateResponse,
|
|
234
234
|
tryBootstrap
|
|
235
|
-
} from "../chunk-
|
|
235
|
+
} from "../chunk-T76WLDE5.mjs";
|
|
236
236
|
import "../chunk-PAWJFY3S.mjs";
|
|
237
237
|
export {
|
|
238
238
|
AVAILABLE_OAUTH_SCOPES,
|
|
@@ -23,16 +23,16 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk2XCUAHQTjs = require('../../chunk-2XCUAHQT.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk3AR4KA5Djs = require('../../chunk-3AR4KA5D.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkU7QVISQSjs = require('../../chunk-U7QVISQS.js');
|
|
33
33
|
require('../../chunk-LXKSUWAV.js');
|
|
34
|
-
require('../../chunk-
|
|
35
|
-
require('../../chunk-
|
|
34
|
+
require('../../chunk-JTPRJNT2.js');
|
|
35
|
+
require('../../chunk-YXRVPEEJ.js');
|
|
36
36
|
require('../../chunk-3EPNHTMH.js');
|
|
37
37
|
|
|
38
38
|
|
|
@@ -43,7 +43,7 @@ var _react = require('react');
|
|
|
43
43
|
var _jsxruntime = require('react/jsx-runtime');
|
|
44
44
|
var HelpContext = _react.createContext.call(void 0, null);
|
|
45
45
|
function HelpProvider({ children }) {
|
|
46
|
-
const cfg =
|
|
46
|
+
const cfg = _chunk3AR4KA5Djs._getStaticHelpContent.call(void 0, );
|
|
47
47
|
if (!cfg) {
|
|
48
48
|
throw new Error(
|
|
49
49
|
"Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
|
|
@@ -75,29 +75,29 @@ var _lucidereact = require('lucide-react');
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
function HelpAssistantSheet({ open, onOpenChange }) {
|
|
78
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
-
|
|
78
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
_chunk2XCUAHQTjs.SheetContent,
|
|
80
80
|
{
|
|
81
81
|
side: "end",
|
|
82
82
|
className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl data-[side=left]:sm:max-w-2xl data-[side=left]:lg:max-w-3xl",
|
|
83
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
83
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
|
|
84
84
|
}
|
|
85
85
|
) });
|
|
86
86
|
}
|
|
87
87
|
_chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
|
|
88
88
|
function HelpAssistantSheetBody() {
|
|
89
89
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
90
|
-
const ctx =
|
|
90
|
+
const ctx = _chunk2XCUAHQTjs.useAssistantContext.call(void 0, );
|
|
91
91
|
const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
|
|
92
92
|
const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
|
|
93
93
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
95
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
96
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCUAHQTjs.SheetHeader, { children: [
|
|
95
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
96
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
|
|
97
97
|
] }),
|
|
98
|
-
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
+
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
99
99
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
-
|
|
100
|
+
_chunk2XCUAHQTjs.AssistantThread,
|
|
101
101
|
{
|
|
102
102
|
messages: ctx.messages,
|
|
103
103
|
sending: ctx.sending,
|
|
@@ -107,7 +107,7 @@ function HelpAssistantSheetBody() {
|
|
|
107
107
|
onRetry: ctx.retrySend
|
|
108
108
|
}
|
|
109
109
|
),
|
|
110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
|
|
111
111
|
] })
|
|
112
112
|
] });
|
|
113
113
|
}
|
|
@@ -117,20 +117,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
|
|
|
117
117
|
|
|
118
118
|
function HelpAskAi() {
|
|
119
119
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
120
|
-
const { currentUser } =
|
|
120
|
+
const { currentUser } = _chunk2XCUAHQTjs.useCurrentUserContext.call(void 0, );
|
|
121
121
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
122
122
|
const disabled = !currentUser;
|
|
123
123
|
if (disabled) {
|
|
124
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
125
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
124
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCUAHQTjs.Tooltip, { children: [
|
|
125
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCUAHQTjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
|
|
126
126
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
127
127
|
t("help.askAi.button")
|
|
128
128
|
] }),
|
|
129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
|
|
130
130
|
] });
|
|
131
131
|
}
|
|
132
132
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
133
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
133
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCUAHQTjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
|
|
134
134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
135
135
|
t("help.askAi.button")
|
|
136
136
|
] }),
|
|
@@ -143,7 +143,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
|
|
|
143
143
|
|
|
144
144
|
function HelpHeader() {
|
|
145
145
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
146
|
-
const { currentUser } =
|
|
146
|
+
const { currentUser } = _chunk2XCUAHQTjs.useCurrentUserContext.call(void 0, );
|
|
147
147
|
const { brand } = useHelp();
|
|
148
148
|
const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
|
|
149
149
|
const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
|
|
@@ -159,7 +159,7 @@ function HelpHeader() {
|
|
|
159
159
|
] }),
|
|
160
160
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
161
161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
|
|
162
|
-
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className:
|
|
162
|
+
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className: _chunk2XCUAHQTjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunk2XCUAHQTjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.login") })
|
|
163
163
|
] })
|
|
164
164
|
] });
|
|
165
165
|
}
|
|
@@ -201,12 +201,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
|
|
|
201
201
|
|
|
202
202
|
function HelpSideNav() {
|
|
203
203
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
204
|
-
const generateUrl =
|
|
204
|
+
const generateUrl = _chunk2XCUAHQTjs.usePageUrlGenerator.call(void 0, );
|
|
205
205
|
const pathname = _navigation.usePathname.call(void 0, );
|
|
206
206
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
207
207
|
_react.useEffect.call(void 0, () => {
|
|
208
208
|
let active = true;
|
|
209
|
-
|
|
209
|
+
_chunkU7QVISQSjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
|
|
210
210
|
return () => {
|
|
211
211
|
active = false;
|
|
212
212
|
};
|
|
@@ -282,7 +282,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
|
|
|
282
282
|
function HelpArticleBody(props) {
|
|
283
283
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
284
284
|
const format = _nextintl.useFormatter.call(void 0, );
|
|
285
|
-
const generateUrl =
|
|
285
|
+
const generateUrl = _chunk2XCUAHQTjs.usePageUrlGenerator.call(void 0, );
|
|
286
286
|
const { howToType, title, summary, updatedAt, prev, next, children } = props;
|
|
287
287
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
|
|
@@ -339,7 +339,7 @@ function HelpTOC({ headings }) {
|
|
|
339
339
|
}, [headings]);
|
|
340
340
|
if (headings.length === 0) return null;
|
|
341
341
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { "aria-label": t("help.toc.title"), className: "hidden lg:block", children: [
|
|
342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
|
|
343
343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-1 text-sm", children: headings.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { style: { paddingInlineStart: `${(h.depth - 2) * 0.75}rem` }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
344
344
|
"a",
|
|
345
345
|
{
|
|
@@ -360,13 +360,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
|
|
|
360
360
|
|
|
361
361
|
function HelpHint({ contextKey }) {
|
|
362
362
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
363
|
-
const generateUrl =
|
|
363
|
+
const generateUrl = _chunk2XCUAHQTjs.usePageUrlGenerator.call(void 0, );
|
|
364
364
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
365
365
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
366
366
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
367
367
|
_react.useEffect.call(void 0, () => {
|
|
368
368
|
let active2 = true;
|
|
369
|
-
|
|
369
|
+
_chunkU7QVISQSjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
|
|
370
370
|
return () => {
|
|
371
371
|
active2 = false;
|
|
372
372
|
};
|
|
@@ -378,7 +378,7 @@ function HelpHint({ contextKey }) {
|
|
|
378
378
|
if (matches.length === 0) return null;
|
|
379
379
|
const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
|
|
380
380
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
381
|
-
|
|
381
|
+
_chunk2XCUAHQTjs.Sheet,
|
|
382
382
|
{
|
|
383
383
|
open,
|
|
384
384
|
onOpenChange: (o) => {
|
|
@@ -386,11 +386,11 @@ function HelpHint({ contextKey }) {
|
|
|
386
386
|
if (!o) setPicked(null);
|
|
387
387
|
},
|
|
388
388
|
children: [
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCUAHQTjs.SheetContent, { side: "end", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCUAHQTjs.SheetHeader, { children: [
|
|
392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
|
|
394
394
|
] }),
|
|
395
395
|
active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
|
|
396
396
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
|
|
@@ -422,18 +422,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
|
|
|
422
422
|
|
|
423
423
|
function HelpSearchResultRow({ result, onSelect }) {
|
|
424
424
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
425
|
-
const generateUrl =
|
|
425
|
+
const generateUrl = _chunk2XCUAHQTjs.usePageUrlGenerator.call(void 0, );
|
|
426
426
|
const [article, setArticle] = _react.useState.call(void 0, null);
|
|
427
427
|
_react.useEffect.call(void 0, () => {
|
|
428
428
|
let active = true;
|
|
429
|
-
|
|
429
|
+
_chunkU7QVISQSjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
|
|
430
430
|
return () => {
|
|
431
431
|
active = false;
|
|
432
432
|
};
|
|
433
433
|
}, [result.id]);
|
|
434
434
|
if (!article) {
|
|
435
435
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
436
|
-
|
|
436
|
+
_chunk2XCUAHQTjs.CommandItem,
|
|
437
437
|
{
|
|
438
438
|
value: result.id,
|
|
439
439
|
disabled: true,
|
|
@@ -442,7 +442,7 @@ function HelpSearchResultRow({ result, onSelect }) {
|
|
|
442
442
|
}
|
|
443
443
|
);
|
|
444
444
|
}
|
|
445
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
445
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCUAHQTjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
446
446
|
_link2.default,
|
|
447
447
|
{
|
|
448
448
|
href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
useAssistantContext,
|
|
24
24
|
useCurrentUserContext,
|
|
25
25
|
usePageUrlGenerator
|
|
26
|
-
} from "../../chunk-
|
|
26
|
+
} from "../../chunk-4O7R2Z2O.mjs";
|
|
27
27
|
import {
|
|
28
28
|
_getStaticHelpContent
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-ZJI5ZZW5.mjs";
|
|
30
30
|
import {
|
|
31
31
|
HowToService
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-IBVKPLHT.mjs";
|
|
33
33
|
import "../../chunk-AUXK7QSA.mjs";
|
|
34
|
-
import "../../chunk-
|
|
35
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-PI56A4DG.mjs";
|
|
35
|
+
import "../../chunk-T76WLDE5.mjs";
|
|
36
36
|
import "../../chunk-VOXD3ZLY.mjs";
|
|
37
37
|
import {
|
|
38
38
|
__name
|