@carlonicora/nextjs-jsonapi 3.12.0 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AssistantInterface-DwdBzS9f.d.ts → AssistantInterface-RvZzlcA_.d.ts} +2 -0
- package/dist/{AssistantInterface-DMh-zApr.d.mts → AssistantInterface-jL56dyNc.d.mts} +2 -0
- package/dist/{AssistantMessageInterface-0zyVingf.d.ts → AssistantMessageInterface-CuaMDs2i.d.ts} +1 -1
- package/dist/{AssistantMessageInterface-ddyG114R.d.mts → AssistantMessageInterface-Du3ShThp.d.mts} +1 -1
- package/dist/{BlockNoteEditor-6G27S6P3.js → BlockNoteEditor-CFVSHS46.js} +19 -19
- package/dist/{BlockNoteEditor-6G27S6P3.js.map → BlockNoteEditor-CFVSHS46.js.map} +1 -1
- package/dist/{BlockNoteEditor-CR5KH4AI.mjs → BlockNoteEditor-SERY337S.mjs} +4 -4
- package/dist/{BlockNoteViewer-5MITJ7AD.js → BlockNoteViewer-CWFPYYIU.js} +3 -3
- package/dist/{BlockNoteViewer-5MITJ7AD.js.map → BlockNoteViewer-CWFPYYIU.js.map} +1 -1
- package/dist/{BlockNoteViewer-NJKFUNXP.mjs → BlockNoteViewer-P2VKEFRN.mjs} +2 -2
- package/dist/{ai-connection.module-28f-hux0.d.mts → HandbookSectionInterface-BOxIdBdd.d.mts} +54 -1
- package/dist/{ai-connection.module-Bqwh_DnR.d.ts → HandbookSectionInterface-CAXxbDw0.d.ts} +54 -1
- package/dist/{auth.interface-B6ZQLGjS.d.ts → auth.interface-BC1jp_ni.d.ts} +1 -1
- package/dist/{auth.interface-jYD8Gc4P.d.mts → auth.interface-dR2-6gPM.d.mts} +1 -1
- package/dist/billing/index.js +401 -401
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-L7DZSTFU.js → chunk-IB7DTXWG.js} +846 -129
- package/dist/chunk-IB7DTXWG.js.map +1 -0
- package/dist/{chunk-OKGGYCO5.js → chunk-LVE3BJ6K.js} +2088 -1134
- package/dist/chunk-LVE3BJ6K.js.map +1 -0
- package/dist/{chunk-Q2BREXH3.mjs → chunk-OSFYCSTW.mjs} +724 -7
- package/dist/chunk-OSFYCSTW.mjs.map +1 -0
- package/dist/{chunk-JEGL7KHK.mjs → chunk-UQXE3SME.mjs} +2081 -1127
- package/dist/chunk-UQXE3SME.mjs.map +1 -0
- package/dist/{chunk-HVNEWDRF.mjs → chunk-VZKJIAND.mjs} +2 -2
- package/dist/{chunk-4ETVCRQD.js → chunk-XH4IURUD.js} +7 -7
- package/dist/{chunk-4ETVCRQD.js.map → chunk-XH4IURUD.js.map} +1 -1
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +258 -7
- package/dist/components/index.d.ts +258 -7
- package/dist/components/index.js +30 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +29 -3
- package/dist/contexts/index.d.mts +17 -5
- package/dist/contexts/index.d.ts +17 -5
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +491 -11
- package/dist/core/index.d.ts +491 -11
- package/dist/core/index.js +38 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +37 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +101 -101
- package/dist/features/tokenusage/index.mjs +3 -3
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +39 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -2
- package/dist/{notification.interface-DYF56CtE.d.ts → notification.interface-CjzV_KII.d.ts} +1 -1
- package/dist/{notification.interface-BWOCvKRP.d.mts → notification.interface-MnRt1Tjm.d.mts} +1 -1
- package/dist/{s3.service-D_dswjgz.d.mts → s3.service-C0Yq2Sx3.d.mts} +2 -2
- package/dist/{s3.service-DserU9VK.d.ts → s3.service-CUGarZs3.d.ts} +2 -2
- package/dist/server/index.d.mts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/{useSocket-BZG9oX-L.d.mts → useSocket-BcH7l7B8.d.mts} +1 -1
- package/dist/{useSocket-CiyTtYFj.d.ts → useSocket-DCZd_eJk.d.ts} +1 -1
- package/package.json +1 -1
- package/src/components/containers/ReactMarkdownContainer.tsx +61 -11
- package/src/components/index.ts +1 -0
- package/src/core/index.ts +5 -0
- package/src/core/registry/ModuleRegistry.ts +4 -0
- package/src/features/assistant/components/parts/AssistantComposer.tsx +22 -3
- package/src/features/assistant/components/parts/AssistantSidebar.tsx +13 -3
- package/src/features/assistant/components/parts/AssistantThreadHeader.tsx +10 -3
- package/src/features/assistant/contexts/AssistantContext.tsx +30 -3
- package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +32 -0
- package/src/features/assistant/data/Assistant.ts +2 -0
- package/src/features/assistant/data/AssistantInterface.ts +2 -0
- package/src/features/assistant/data/AssistantService.ts +4 -0
- package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +5 -1
- package/src/features/assistant-message/data/AssistantMessage.ts +27 -2
- package/src/features/content/data/content.interface.ts +1 -1
- package/src/features/handbook/HandbookPageModule.ts +41 -0
- package/src/features/handbook/HandbookSectionModule.ts +35 -0
- package/src/features/handbook/HandbookThreadMessageModule.ts +21 -0
- package/src/features/handbook/HandbookThreadModule.ts +29 -0
- package/src/features/handbook/components/containers/HandbookAdminContainer.tsx +17 -0
- package/src/features/handbook/components/containers/HandbookAskContainer.tsx +142 -0
- package/src/features/handbook/components/containers/HandbookAskSheet.tsx +149 -0
- package/src/features/handbook/components/containers/HandbookPageContainer.tsx +143 -0
- package/src/features/handbook/components/containers/__tests__/HandbookAskContainer.spec.tsx +268 -0
- package/src/features/handbook/components/containers/__tests__/HandbookAskSheet.spec.tsx +143 -0
- package/src/features/handbook/components/containers/__tests__/HandbookPageContainer.spec.tsx +288 -0
- package/src/features/handbook/components/details/HandbookPageDetails.tsx +27 -0
- package/src/features/handbook/components/details/HandbookPageNeighbours.tsx +72 -0
- package/src/features/handbook/components/details/HandbookPageToc.tsx +165 -0
- package/src/features/handbook/components/forms/HandbookSyncButton.tsx +43 -0
- package/src/features/handbook/components/forms/__tests__/HandbookSyncButton.spec.tsx +42 -0
- package/src/features/handbook/components/index.ts +12 -0
- package/src/features/handbook/components/lists/HandbookContents.tsx +196 -0
- package/src/features/handbook/components/lists/HandbookSectionGroup.tsx +153 -0
- package/src/features/handbook/components/lists/__tests__/HandbookContents.spec.tsx +247 -0
- package/src/features/handbook/components/parts/HandbookIndexStatus.tsx +62 -0
- package/src/features/handbook/components/parts/HandbookPageNavigator.tsx +143 -0
- package/src/features/handbook/contexts/HandbookContext.tsx +109 -0
- package/src/features/handbook/contexts/__tests__/HandbookContext.spec.tsx +131 -0
- package/src/features/handbook/data/HandbookPage.spec.ts +136 -0
- package/src/features/handbook/data/HandbookPage.ts +99 -0
- package/src/features/handbook/data/HandbookPageFields.ts +31 -0
- package/src/features/handbook/data/HandbookPageInput.ts +8 -0
- package/src/features/handbook/data/HandbookPageInterface.ts +29 -0
- package/src/features/handbook/data/HandbookPageService.ts +60 -0
- package/src/features/handbook/data/HandbookSection.spec.ts +58 -0
- package/src/features/handbook/data/HandbookSection.ts +73 -0
- package/src/features/handbook/data/HandbookSectionInput.ts +12 -0
- package/src/features/handbook/data/HandbookSectionInterface.ts +26 -0
- package/src/features/handbook/data/HandbookSectionService.ts +26 -0
- package/src/features/handbook/data/HandbookThread.ts +114 -0
- package/src/features/handbook/data/HandbookThreadInterface.ts +31 -0
- package/src/features/handbook/data/HandbookThreadMessage.ts +144 -0
- package/src/features/handbook/data/HandbookThreadMessageInterface.ts +35 -0
- package/src/features/handbook/data/HandbookThreadMessageService.ts +30 -0
- package/src/features/handbook/data/HandbookThreadService.ts +86 -0
- package/src/features/handbook/data/__tests__/HandbookThreadService.spec.ts +112 -0
- package/src/features/handbook/data/handbookDisplay.spec.ts +92 -0
- package/src/features/handbook/data/handbookDisplay.ts +55 -0
- package/src/features/handbook/data/index.ts +16 -0
- package/src/features/handbook/hooks/__tests__/useHandbookAsk.spec.ts +198 -0
- package/src/features/handbook/hooks/useHandbookAsk.ts +213 -0
- package/src/features/handbook/i18n-keys.ts +46 -0
- package/src/features/handbook/index.ts +7 -0
- package/src/features/how-to/components/forms/HowToEditor.tsx +0 -1
- package/src/features/how-to/components/forms/HowToReindexButton.spec.tsx +84 -0
- package/src/features/how-to/components/forms/HowToReindexButton.tsx +46 -0
- package/src/features/how-to/components/index.ts +1 -0
- package/src/features/how-to/components/lists/HowToList.tsx +5 -1
- package/src/features/how-to/data/HowTo.spec.ts +61 -1
- package/src/features/how-to/data/HowToService.ts +13 -0
- package/dist/chunk-JEGL7KHK.mjs.map +0 -1
- package/dist/chunk-L7DZSTFU.js.map +0 -1
- package/dist/chunk-OKGGYCO5.js.map +0 -1
- package/dist/chunk-Q2BREXH3.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-CR5KH4AI.mjs.map → BlockNoteEditor-SERY337S.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-NJKFUNXP.mjs.map → BlockNoteViewer-P2VKEFRN.mjs.map} +0 -0
- /package/dist/{chunk-HVNEWDRF.mjs.map → chunk-VZKJIAND.mjs.map} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -200,7 +200,25 @@
|
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
var _chunkIB7DTXWGjs = require('../chunk-IB7DTXWG.js');
|
|
204
222
|
require('../chunk-LXKSUWAV.js');
|
|
205
223
|
require('../chunk-IBS6NI7D.js');
|
|
206
224
|
|
|
@@ -429,5 +447,23 @@ require('../chunk-7QVYU63E.js');
|
|
|
429
447
|
|
|
430
448
|
|
|
431
449
|
|
|
432
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkL7DZSTFUjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkL7DZSTFUjs.AbstractApiData; exports.AbstractService = _chunkL7DZSTFUjs.AbstractService; exports.Action = _chunkL7DZSTFUjs.Action; exports.AiConnection = _chunkL7DZSTFUjs.AiConnection; exports.AiConnectionFields = _chunkL7DZSTFUjs.AiConnectionFields; exports.AiConnectionModule = _chunkL7DZSTFUjs.AiConnectionModule; exports.AiConnectionService = _chunkL7DZSTFUjs.AiConnectionService; exports.Assistant = _chunkL7DZSTFUjs.Assistant; exports.AssistantAction = _chunkL7DZSTFUjs.AssistantAction; exports.AssistantActionModule = _chunkL7DZSTFUjs.AssistantActionModule; exports.AssistantActionService = _chunkL7DZSTFUjs.AssistantActionService; exports.AssistantMessage = _chunkL7DZSTFUjs.AssistantMessage; exports.AssistantMessageModule = _chunkL7DZSTFUjs.AssistantMessageModule; exports.AssistantMessageService = _chunkL7DZSTFUjs.AssistantMessageService; exports.AssistantModule = _chunkL7DZSTFUjs.AssistantModule; exports.AssistantService = _chunkL7DZSTFUjs.AssistantService; exports.AuditLog = _chunkL7DZSTFUjs.AuditLog; exports.AuditLogModule = _chunkL7DZSTFUjs.AuditLogModule; exports.AuditLogService = _chunkL7DZSTFUjs.AuditLogService; exports.Auth = _chunkL7DZSTFUjs.Auth; exports.AuthComponent = _chunkL7DZSTFUjs.AuthComponent; exports.AuthModule = _chunkL7DZSTFUjs.AuthModule; exports.AuthService = _chunkL7DZSTFUjs.AuthService; exports.AuthorModule = _chunkL7DZSTFUjs.AuthorModule; exports.BackupCodeVerify = _chunkL7DZSTFUjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkL7DZSTFUjs.BackupCodeVerifyModule; exports.Billing = _chunkL7DZSTFUjs.Billing; exports.BillingModule = _chunkL7DZSTFUjs.BillingModule; exports.BillingService = _chunkL7DZSTFUjs.BillingService; exports.BlockNoteDiffUtil = _chunkL7DZSTFUjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkL7DZSTFUjs.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunkL7DZSTFUjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkL7DZSTFUjs.Chunk; exports.ChunkModule = _chunkL7DZSTFUjs.ChunkModule; exports.ClientAbstractService = _chunkL7DZSTFUjs.ClientAbstractService; exports.ClientHttpMethod = _chunkL7DZSTFUjs.ClientHttpMethod; exports.Company = _chunkL7DZSTFUjs.Company; exports.CompanyFields = _chunkL7DZSTFUjs.CompanyFields; exports.CompanyModule = _chunkL7DZSTFUjs.CompanyModule; exports.CompanyService = _chunkL7DZSTFUjs.CompanyService; exports.Content = _chunkL7DZSTFUjs.Content; exports.ContentFields = _chunkL7DZSTFUjs.ContentFields; exports.ContentModule = _chunkL7DZSTFUjs.ContentModule; exports.ContentService = _chunkL7DZSTFUjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkL7DZSTFUjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkL7DZSTFUjs.EndpointCreator; exports.EntityAiStatus = _chunkL7DZSTFUjs.EntityAiStatus; exports.Feature = _chunkL7DZSTFUjs.Feature; exports.FeatureModule = _chunkL7DZSTFUjs.FeatureModule; exports.FeatureService = _chunkL7DZSTFUjs.FeatureService; exports.HowTo = _chunkL7DZSTFUjs.HowTo; exports.HowToFields = _chunkL7DZSTFUjs.HowToFields; exports.HowToModule = _chunkL7DZSTFUjs.HowToModule; exports.HowToService = _chunkL7DZSTFUjs.HowToService; exports.HttpMethod = _chunkL7DZSTFUjs.HttpMethod; exports.InvoiceStatus = _chunkL7DZSTFUjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkL7DZSTFUjs.MOBILE_BREAKPOINT; exports.Module = _chunkL7DZSTFUjs.Module; exports.ModuleModule = _chunkL7DZSTFUjs.ModuleModule; exports.ModulePathsModule = _chunkL7DZSTFUjs.ModulePathsModule; exports.ModuleRegistrar = _chunkL7DZSTFUjs.ModuleRegistrar; exports.ModuleRegistry = _chunkL7DZSTFUjs.ModuleRegistry; exports.Modules = _chunkL7DZSTFUjs.Modules; exports.Notification = _chunkL7DZSTFUjs.Notification; exports.NotificationFields = _chunkL7DZSTFUjs.NotificationFields; exports.NotificationModule = _chunkL7DZSTFUjs.NotificationModule; exports.NotificationService = _chunkL7DZSTFUjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkL7DZSTFUjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkL7DZSTFUjs.OAuthClient; exports.OAuthModule = _chunkL7DZSTFUjs.OAuthModule; exports.OAuthService = _chunkL7DZSTFUjs.OAuthService; exports.Passkey = _chunkL7DZSTFUjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkL7DZSTFUjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkL7DZSTFUjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkL7DZSTFUjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkL7DZSTFUjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkL7DZSTFUjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkL7DZSTFUjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkL7DZSTFUjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkL7DZSTFUjs.PasskeyRename; exports.PasskeyRenameModule = _chunkL7DZSTFUjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkL7DZSTFUjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkL7DZSTFUjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkL7DZSTFUjs.PaymentMethod; exports.PermissionMappingModule = _chunkL7DZSTFUjs.PermissionMappingModule; exports.Push = _chunkL7DZSTFUjs.Push; exports.PushModule = _chunkL7DZSTFUjs.PushModule; exports.PushService = _chunkL7DZSTFUjs.PushService; exports.RbacMatrixModule = _chunkL7DZSTFUjs.RbacMatrixModule; exports.ReferralModule = _chunkL7DZSTFUjs.ReferralModule; exports.ReferralService = _chunkL7DZSTFUjs.ReferralService; exports.ReferralStats = _chunkL7DZSTFUjs.ReferralStats; exports.ReferralStatsModule = _chunkL7DZSTFUjs.ReferralStatsModule; exports.RehydrationFactory = _chunkL7DZSTFUjs.RehydrationFactory; exports.Role = _chunkL7DZSTFUjs.Role; exports.RoleFields = _chunkL7DZSTFUjs.RoleFields; exports.RoleModule = _chunkL7DZSTFUjs.RoleModule; exports.RoleService = _chunkL7DZSTFUjs.RoleService; exports.S3 = _chunkL7DZSTFUjs.S3; exports.S3Module = _chunkL7DZSTFUjs.S3Module; exports.S3Service = _chunkL7DZSTFUjs.S3Service; exports.StripeCustomer = _chunkL7DZSTFUjs.StripeCustomer; exports.StripeCustomerModule = _chunkL7DZSTFUjs.StripeCustomerModule; exports.StripeCustomerService = _chunkL7DZSTFUjs.StripeCustomerService; exports.StripeInvoice = _chunkL7DZSTFUjs.StripeInvoice; exports.StripeInvoiceModule = _chunkL7DZSTFUjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkL7DZSTFUjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkL7DZSTFUjs.StripePaymentMethodModule; exports.StripePrice = _chunkL7DZSTFUjs.StripePrice; exports.StripePriceFields = _chunkL7DZSTFUjs.StripePriceFields; exports.StripePriceModule = _chunkL7DZSTFUjs.StripePriceModule; exports.StripePriceService = _chunkL7DZSTFUjs.StripePriceService; exports.StripeProduct = _chunkL7DZSTFUjs.StripeProduct; exports.StripeProductFields = _chunkL7DZSTFUjs.StripeProductFields; exports.StripeProductModule = _chunkL7DZSTFUjs.StripeProductModule; exports.StripeProductService = _chunkL7DZSTFUjs.StripeProductService; exports.StripePromotionCode = _chunkL7DZSTFUjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkL7DZSTFUjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkL7DZSTFUjs.StripePromotionCodeService; exports.StripeSubscription = _chunkL7DZSTFUjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkL7DZSTFUjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkL7DZSTFUjs.StripeSubscriptionService; exports.StripeUsage = _chunkL7DZSTFUjs.StripeUsage; exports.StripeUsageModule = _chunkL7DZSTFUjs.StripeUsageModule; exports.StripeUsageService = _chunkL7DZSTFUjs.StripeUsageService; exports.SubscriptionStatus = _chunkL7DZSTFUjs.SubscriptionStatus; exports.TableOptions = _chunkL7DZSTFUjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkL7DZSTFUjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkL7DZSTFUjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkL7DZSTFUjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkL7DZSTFUjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkL7DZSTFUjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkL7DZSTFUjs.TotpSetup; exports.TotpSetupModule = _chunkL7DZSTFUjs.TotpSetupModule; exports.TotpVerify = _chunkL7DZSTFUjs.TotpVerify; exports.TotpVerifyLogin = _chunkL7DZSTFUjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkL7DZSTFUjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkL7DZSTFUjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkL7DZSTFUjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkL7DZSTFUjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkL7DZSTFUjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkL7DZSTFUjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkL7DZSTFUjs.TwoFactorService; exports.TwoFactorStatus = _chunkL7DZSTFUjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkL7DZSTFUjs.TwoFactorStatusModule; exports.User = _chunkL7DZSTFUjs.User; exports.UserFields = _chunkL7DZSTFUjs.UserFields; exports.UserModule = _chunkL7DZSTFUjs.UserModule; exports.UserService = _chunkL7DZSTFUjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkL7DZSTFUjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkL7DZSTFUjs.Waitlist; exports.WaitlistModule = _chunkL7DZSTFUjs.WaitlistModule; exports.WaitlistService = _chunkL7DZSTFUjs.WaitlistService; exports.WaitlistStats = _chunkL7DZSTFUjs.WaitlistStats; exports.WaitlistStatsModule = _chunkL7DZSTFUjs.WaitlistStatsModule; exports.checkPermissions = _chunkL7DZSTFUjs.checkPermissions; exports.checkPermissionsFromServer = _chunkL7DZSTFUjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkL7DZSTFUjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkL7DZSTFUjs.clearLastApiTotal; exports.cn = _chunkL7DZSTFUjs.cn; exports.composeRefs = _chunkL7DZSTFUjs.composeRefs; exports.configureTokenUsage = _chunkL7DZSTFUjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkL7DZSTFUjs.createJsonApiInclusion; exports.dismissToast = _chunkL7DZSTFUjs.dismissToast; exports.entityObjectSchema = _chunkL7DZSTFUjs.entityObjectSchema; exports.exists = _chunkL7DZSTFUjs.exists; exports.formatCodiceFiscale = _chunkL7DZSTFUjs.formatCodiceFiscale; exports.formatDate = _chunkL7DZSTFUjs.formatDate; exports.formatLocalDate = _chunkL7DZSTFUjs.formatLocalDate; exports.formatPartitaIva = _chunkL7DZSTFUjs.formatPartitaIva; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkL7DZSTFUjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkL7DZSTFUjs.getGlobalErrorHandler; exports.getIcon = _chunkL7DZSTFUjs.getIcon; exports.getIconByModule = _chunkL7DZSTFUjs.getIconByModule; exports.getIconByModuleName = _chunkL7DZSTFUjs.getIconByModuleName; exports.getInitials = _chunkL7DZSTFUjs.getInitials; exports.getLastApiMeta = _chunkL7DZSTFUjs.getLastApiMeta; exports.getLastApiTotal = _chunkL7DZSTFUjs.getLastApiTotal; exports.getLucideIcon = _chunkL7DZSTFUjs.getLucideIcon; exports.getLucideIconByModule = _chunkL7DZSTFUjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkL7DZSTFUjs.getLucideIconByModuleName; exports.getTableComponents = _chunkL7DZSTFUjs.getTableComponents; exports.getTableOptions = _chunkL7DZSTFUjs.getTableOptions; exports.getTokenUsageCurrency = _chunkL7DZSTFUjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkL7DZSTFUjs.getValueFromPath; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkL7DZSTFUjs.isRemoteImageSrc; exports.rehydrate = _chunkL7DZSTFUjs.rehydrate; exports.rehydrateList = _chunkL7DZSTFUjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkL7DZSTFUjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkL7DZSTFUjs.setGlobalErrorHandler; exports.showCustomToast = _chunkL7DZSTFUjs.showCustomToast; exports.showError = _chunkL7DZSTFUjs.showError; exports.showToast = _chunkL7DZSTFUjs.showToast; exports.tokenUsageModules = _chunkL7DZSTFUjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkL7DZSTFUjs.useComposedRefs; exports.useIsMobile = _chunkL7DZSTFUjs.useIsMobile; exports.userObjectSchema = _chunkL7DZSTFUjs.userObjectSchema; exports.validateCodiceFiscale = _chunkL7DZSTFUjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkL7DZSTFUjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkL7DZSTFUjs.validatePartitaIva;
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunkIB7DTXWGjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkIB7DTXWGjs.AbstractApiData; exports.AbstractService = _chunkIB7DTXWGjs.AbstractService; exports.Action = _chunkIB7DTXWGjs.Action; exports.AiConnection = _chunkIB7DTXWGjs.AiConnection; exports.AiConnectionFields = _chunkIB7DTXWGjs.AiConnectionFields; exports.AiConnectionModule = _chunkIB7DTXWGjs.AiConnectionModule; exports.AiConnectionService = _chunkIB7DTXWGjs.AiConnectionService; exports.Assistant = _chunkIB7DTXWGjs.Assistant; exports.AssistantAction = _chunkIB7DTXWGjs.AssistantAction; exports.AssistantActionModule = _chunkIB7DTXWGjs.AssistantActionModule; exports.AssistantActionService = _chunkIB7DTXWGjs.AssistantActionService; exports.AssistantMessage = _chunkIB7DTXWGjs.AssistantMessage; exports.AssistantMessageModule = _chunkIB7DTXWGjs.AssistantMessageModule; exports.AssistantMessageService = _chunkIB7DTXWGjs.AssistantMessageService; exports.AssistantModule = _chunkIB7DTXWGjs.AssistantModule; exports.AssistantService = _chunkIB7DTXWGjs.AssistantService; exports.AuditLog = _chunkIB7DTXWGjs.AuditLog; exports.AuditLogModule = _chunkIB7DTXWGjs.AuditLogModule; exports.AuditLogService = _chunkIB7DTXWGjs.AuditLogService; exports.Auth = _chunkIB7DTXWGjs.Auth; exports.AuthComponent = _chunkIB7DTXWGjs.AuthComponent; exports.AuthModule = _chunkIB7DTXWGjs.AuthModule; exports.AuthService = _chunkIB7DTXWGjs.AuthService; exports.AuthorModule = _chunkIB7DTXWGjs.AuthorModule; exports.BackupCodeVerify = _chunkIB7DTXWGjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkIB7DTXWGjs.BackupCodeVerifyModule; exports.Billing = _chunkIB7DTXWGjs.Billing; exports.BillingModule = _chunkIB7DTXWGjs.BillingModule; exports.BillingService = _chunkIB7DTXWGjs.BillingService; exports.BlockNoteDiffUtil = _chunkIB7DTXWGjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkIB7DTXWGjs.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunkIB7DTXWGjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkIB7DTXWGjs.Chunk; exports.ChunkModule = _chunkIB7DTXWGjs.ChunkModule; exports.ClientAbstractService = _chunkIB7DTXWGjs.ClientAbstractService; exports.ClientHttpMethod = _chunkIB7DTXWGjs.ClientHttpMethod; exports.Company = _chunkIB7DTXWGjs.Company; exports.CompanyFields = _chunkIB7DTXWGjs.CompanyFields; exports.CompanyModule = _chunkIB7DTXWGjs.CompanyModule; exports.CompanyService = _chunkIB7DTXWGjs.CompanyService; exports.Content = _chunkIB7DTXWGjs.Content; exports.ContentFields = _chunkIB7DTXWGjs.ContentFields; exports.ContentModule = _chunkIB7DTXWGjs.ContentModule; exports.ContentService = _chunkIB7DTXWGjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkIB7DTXWGjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkIB7DTXWGjs.EndpointCreator; exports.EntityAiStatus = _chunkIB7DTXWGjs.EntityAiStatus; exports.Feature = _chunkIB7DTXWGjs.Feature; exports.FeatureModule = _chunkIB7DTXWGjs.FeatureModule; exports.FeatureService = _chunkIB7DTXWGjs.FeatureService; exports.HandbookPage = _chunkIB7DTXWGjs.HandbookPage; exports.HandbookPageFields = _chunkIB7DTXWGjs.HandbookPageFields; exports.HandbookPageModule = _chunkIB7DTXWGjs.HandbookPageModule; exports.HandbookPageService = _chunkIB7DTXWGjs.HandbookPageService; exports.HandbookSection = _chunkIB7DTXWGjs.HandbookSection; exports.HandbookSectionModule = _chunkIB7DTXWGjs.HandbookSectionModule; exports.HandbookSectionService = _chunkIB7DTXWGjs.HandbookSectionService; exports.HandbookThread = _chunkIB7DTXWGjs.HandbookThread; exports.HandbookThreadMessage = _chunkIB7DTXWGjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkIB7DTXWGjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkIB7DTXWGjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkIB7DTXWGjs.HandbookThreadModule; exports.HandbookThreadService = _chunkIB7DTXWGjs.HandbookThreadService; exports.HowTo = _chunkIB7DTXWGjs.HowTo; exports.HowToFields = _chunkIB7DTXWGjs.HowToFields; exports.HowToModule = _chunkIB7DTXWGjs.HowToModule; exports.HowToService = _chunkIB7DTXWGjs.HowToService; exports.HttpMethod = _chunkIB7DTXWGjs.HttpMethod; exports.InvoiceStatus = _chunkIB7DTXWGjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkIB7DTXWGjs.MOBILE_BREAKPOINT; exports.Module = _chunkIB7DTXWGjs.Module; exports.ModuleModule = _chunkIB7DTXWGjs.ModuleModule; exports.ModulePathsModule = _chunkIB7DTXWGjs.ModulePathsModule; exports.ModuleRegistrar = _chunkIB7DTXWGjs.ModuleRegistrar; exports.ModuleRegistry = _chunkIB7DTXWGjs.ModuleRegistry; exports.Modules = _chunkIB7DTXWGjs.Modules; exports.Notification = _chunkIB7DTXWGjs.Notification; exports.NotificationFields = _chunkIB7DTXWGjs.NotificationFields; exports.NotificationModule = _chunkIB7DTXWGjs.NotificationModule; exports.NotificationService = _chunkIB7DTXWGjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkIB7DTXWGjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkIB7DTXWGjs.OAuthClient; exports.OAuthModule = _chunkIB7DTXWGjs.OAuthModule; exports.OAuthService = _chunkIB7DTXWGjs.OAuthService; exports.Passkey = _chunkIB7DTXWGjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkIB7DTXWGjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkIB7DTXWGjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkIB7DTXWGjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkIB7DTXWGjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkIB7DTXWGjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkIB7DTXWGjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkIB7DTXWGjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkIB7DTXWGjs.PasskeyRename; exports.PasskeyRenameModule = _chunkIB7DTXWGjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkIB7DTXWGjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkIB7DTXWGjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkIB7DTXWGjs.PaymentMethod; exports.PermissionMappingModule = _chunkIB7DTXWGjs.PermissionMappingModule; exports.Push = _chunkIB7DTXWGjs.Push; exports.PushModule = _chunkIB7DTXWGjs.PushModule; exports.PushService = _chunkIB7DTXWGjs.PushService; exports.RbacMatrixModule = _chunkIB7DTXWGjs.RbacMatrixModule; exports.ReferralModule = _chunkIB7DTXWGjs.ReferralModule; exports.ReferralService = _chunkIB7DTXWGjs.ReferralService; exports.ReferralStats = _chunkIB7DTXWGjs.ReferralStats; exports.ReferralStatsModule = _chunkIB7DTXWGjs.ReferralStatsModule; exports.RehydrationFactory = _chunkIB7DTXWGjs.RehydrationFactory; exports.Role = _chunkIB7DTXWGjs.Role; exports.RoleFields = _chunkIB7DTXWGjs.RoleFields; exports.RoleModule = _chunkIB7DTXWGjs.RoleModule; exports.RoleService = _chunkIB7DTXWGjs.RoleService; exports.S3 = _chunkIB7DTXWGjs.S3; exports.S3Module = _chunkIB7DTXWGjs.S3Module; exports.S3Service = _chunkIB7DTXWGjs.S3Service; exports.StripeCustomer = _chunkIB7DTXWGjs.StripeCustomer; exports.StripeCustomerModule = _chunkIB7DTXWGjs.StripeCustomerModule; exports.StripeCustomerService = _chunkIB7DTXWGjs.StripeCustomerService; exports.StripeInvoice = _chunkIB7DTXWGjs.StripeInvoice; exports.StripeInvoiceModule = _chunkIB7DTXWGjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkIB7DTXWGjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkIB7DTXWGjs.StripePaymentMethodModule; exports.StripePrice = _chunkIB7DTXWGjs.StripePrice; exports.StripePriceFields = _chunkIB7DTXWGjs.StripePriceFields; exports.StripePriceModule = _chunkIB7DTXWGjs.StripePriceModule; exports.StripePriceService = _chunkIB7DTXWGjs.StripePriceService; exports.StripeProduct = _chunkIB7DTXWGjs.StripeProduct; exports.StripeProductFields = _chunkIB7DTXWGjs.StripeProductFields; exports.StripeProductModule = _chunkIB7DTXWGjs.StripeProductModule; exports.StripeProductService = _chunkIB7DTXWGjs.StripeProductService; exports.StripePromotionCode = _chunkIB7DTXWGjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkIB7DTXWGjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkIB7DTXWGjs.StripePromotionCodeService; exports.StripeSubscription = _chunkIB7DTXWGjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkIB7DTXWGjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkIB7DTXWGjs.StripeSubscriptionService; exports.StripeUsage = _chunkIB7DTXWGjs.StripeUsage; exports.StripeUsageModule = _chunkIB7DTXWGjs.StripeUsageModule; exports.StripeUsageService = _chunkIB7DTXWGjs.StripeUsageService; exports.SubscriptionStatus = _chunkIB7DTXWGjs.SubscriptionStatus; exports.TableOptions = _chunkIB7DTXWGjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkIB7DTXWGjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkIB7DTXWGjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkIB7DTXWGjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkIB7DTXWGjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkIB7DTXWGjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkIB7DTXWGjs.TotpSetup; exports.TotpSetupModule = _chunkIB7DTXWGjs.TotpSetupModule; exports.TotpVerify = _chunkIB7DTXWGjs.TotpVerify; exports.TotpVerifyLogin = _chunkIB7DTXWGjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkIB7DTXWGjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkIB7DTXWGjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkIB7DTXWGjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkIB7DTXWGjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkIB7DTXWGjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkIB7DTXWGjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkIB7DTXWGjs.TwoFactorService; exports.TwoFactorStatus = _chunkIB7DTXWGjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkIB7DTXWGjs.TwoFactorStatusModule; exports.User = _chunkIB7DTXWGjs.User; exports.UserFields = _chunkIB7DTXWGjs.UserFields; exports.UserModule = _chunkIB7DTXWGjs.UserModule; exports.UserService = _chunkIB7DTXWGjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkIB7DTXWGjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkIB7DTXWGjs.Waitlist; exports.WaitlistModule = _chunkIB7DTXWGjs.WaitlistModule; exports.WaitlistService = _chunkIB7DTXWGjs.WaitlistService; exports.WaitlistStats = _chunkIB7DTXWGjs.WaitlistStats; exports.WaitlistStatsModule = _chunkIB7DTXWGjs.WaitlistStatsModule; exports.checkPermissions = _chunkIB7DTXWGjs.checkPermissions; exports.checkPermissionsFromServer = _chunkIB7DTXWGjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkIB7DTXWGjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkIB7DTXWGjs.clearLastApiTotal; exports.cn = _chunkIB7DTXWGjs.cn; exports.composeRefs = _chunkIB7DTXWGjs.composeRefs; exports.configureTokenUsage = _chunkIB7DTXWGjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkIB7DTXWGjs.createJsonApiInclusion; exports.dismissToast = _chunkIB7DTXWGjs.dismissToast; exports.entityObjectSchema = _chunkIB7DTXWGjs.entityObjectSchema; exports.exists = _chunkIB7DTXWGjs.exists; exports.formatCodiceFiscale = _chunkIB7DTXWGjs.formatCodiceFiscale; exports.formatDate = _chunkIB7DTXWGjs.formatDate; exports.formatLocalDate = _chunkIB7DTXWGjs.formatLocalDate; exports.formatPartitaIva = _chunkIB7DTXWGjs.formatPartitaIva; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkIB7DTXWGjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkIB7DTXWGjs.getGlobalErrorHandler; exports.getIcon = _chunkIB7DTXWGjs.getIcon; exports.getIconByModule = _chunkIB7DTXWGjs.getIconByModule; exports.getIconByModuleName = _chunkIB7DTXWGjs.getIconByModuleName; exports.getInitials = _chunkIB7DTXWGjs.getInitials; exports.getLastApiMeta = _chunkIB7DTXWGjs.getLastApiMeta; exports.getLastApiTotal = _chunkIB7DTXWGjs.getLastApiTotal; exports.getLucideIcon = _chunkIB7DTXWGjs.getLucideIcon; exports.getLucideIconByModule = _chunkIB7DTXWGjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkIB7DTXWGjs.getLucideIconByModuleName; exports.getTableComponents = _chunkIB7DTXWGjs.getTableComponents; exports.getTableOptions = _chunkIB7DTXWGjs.getTableOptions; exports.getTokenUsageCurrency = _chunkIB7DTXWGjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkIB7DTXWGjs.getValueFromPath; exports.handbookPageContent = _chunkIB7DTXWGjs.handbookPageContent; exports.handbookPageSummary = _chunkIB7DTXWGjs.handbookPageSummary; exports.handbookPageTitle = _chunkIB7DTXWGjs.handbookPageTitle; exports.handbookSectionSummary = _chunkIB7DTXWGjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkIB7DTXWGjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkIB7DTXWGjs.isRemoteImageSrc; exports.rehydrate = _chunkIB7DTXWGjs.rehydrate; exports.rehydrateList = _chunkIB7DTXWGjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkIB7DTXWGjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkIB7DTXWGjs.setGlobalErrorHandler; exports.showCustomToast = _chunkIB7DTXWGjs.showCustomToast; exports.showError = _chunkIB7DTXWGjs.showError; exports.showToast = _chunkIB7DTXWGjs.showToast; exports.tokenUsageModules = _chunkIB7DTXWGjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkIB7DTXWGjs.useComposedRefs; exports.useIsMobile = _chunkIB7DTXWGjs.useIsMobile; exports.userObjectSchema = _chunkIB7DTXWGjs.userObjectSchema; exports.validateCodiceFiscale = _chunkIB7DTXWGjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkIB7DTXWGjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkIB7DTXWGjs.validatePartitaIva;
|
|
433
469
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+5bAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
|
package/dist/core/index.mjs
CHANGED
|
@@ -50,6 +50,19 @@ import {
|
|
|
50
50
|
Feature,
|
|
51
51
|
FeatureModule,
|
|
52
52
|
FeatureService,
|
|
53
|
+
HandbookPage,
|
|
54
|
+
HandbookPageFields,
|
|
55
|
+
HandbookPageModule,
|
|
56
|
+
HandbookPageService,
|
|
57
|
+
HandbookSection,
|
|
58
|
+
HandbookSectionModule,
|
|
59
|
+
HandbookSectionService,
|
|
60
|
+
HandbookThread,
|
|
61
|
+
HandbookThreadMessage,
|
|
62
|
+
HandbookThreadMessageModule,
|
|
63
|
+
HandbookThreadMessageService,
|
|
64
|
+
HandbookThreadModule,
|
|
65
|
+
HandbookThreadService,
|
|
53
66
|
HowTo,
|
|
54
67
|
HowToFields,
|
|
55
68
|
HowToModule,
|
|
@@ -185,6 +198,11 @@ import {
|
|
|
185
198
|
getTableOptions,
|
|
186
199
|
getTokenUsageCurrency,
|
|
187
200
|
getValueFromPath,
|
|
201
|
+
handbookPageContent,
|
|
202
|
+
handbookPageSummary,
|
|
203
|
+
handbookPageTitle,
|
|
204
|
+
handbookSectionSummary,
|
|
205
|
+
handbookSectionTitle,
|
|
188
206
|
isRemoteImageSrc,
|
|
189
207
|
rehydrate,
|
|
190
208
|
rehydrateList,
|
|
@@ -200,7 +218,7 @@ import {
|
|
|
200
218
|
validateCodiceFiscale,
|
|
201
219
|
validateItalianTaxCode,
|
|
202
220
|
validatePartitaIva
|
|
203
|
-
} from "../chunk-
|
|
221
|
+
} from "../chunk-OSFYCSTW.mjs";
|
|
204
222
|
import "../chunk-AUXK7QSA.mjs";
|
|
205
223
|
import "../chunk-C7C7VY4F.mjs";
|
|
206
224
|
import {
|
|
@@ -271,6 +289,19 @@ export {
|
|
|
271
289
|
Feature,
|
|
272
290
|
FeatureModule,
|
|
273
291
|
FeatureService,
|
|
292
|
+
HandbookPage,
|
|
293
|
+
HandbookPageFields,
|
|
294
|
+
HandbookPageModule,
|
|
295
|
+
HandbookPageService,
|
|
296
|
+
HandbookSection,
|
|
297
|
+
HandbookSectionModule,
|
|
298
|
+
HandbookSectionService,
|
|
299
|
+
HandbookThread,
|
|
300
|
+
HandbookThreadMessage,
|
|
301
|
+
HandbookThreadMessageModule,
|
|
302
|
+
HandbookThreadMessageService,
|
|
303
|
+
HandbookThreadModule,
|
|
304
|
+
HandbookThreadService,
|
|
274
305
|
HowTo,
|
|
275
306
|
HowToFields,
|
|
276
307
|
HowToModule,
|
|
@@ -408,6 +439,11 @@ export {
|
|
|
408
439
|
getTableOptions,
|
|
409
440
|
getTokenUsageCurrency,
|
|
410
441
|
getValueFromPath,
|
|
442
|
+
handbookPageContent,
|
|
443
|
+
handbookPageSummary,
|
|
444
|
+
handbookPageTitle,
|
|
445
|
+
handbookSectionSummary,
|
|
446
|
+
handbookSectionTitle,
|
|
411
447
|
hasBootstrapper,
|
|
412
448
|
isRemoteImageSrc,
|
|
413
449
|
rehydrate,
|
|
@@ -23,13 +23,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkLVE3BJ6Kjs = require('../../chunk-LVE3BJ6K.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkXH4IURUDjs = require('../../chunk-XH4IURUD.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkIB7DTXWGjs = require('../../chunk-IB7DTXWG.js');
|
|
33
33
|
require('../../chunk-LXKSUWAV.js');
|
|
34
34
|
require('../../chunk-IBS6NI7D.js');
|
|
35
35
|
require('../../chunk-LU7DJ4QF.js');
|
|
@@ -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 = _chunkXH4IURUDjs._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, _chunkLVE3BJ6Kjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
_chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.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 = _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.SheetHeader, { children: [
|
|
95
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVE3BJ6Kjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
96
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
99
99
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
-
|
|
100
|
+
_chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.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 } = _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.Tooltip, { children: [
|
|
125
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLVE3BJ6Kjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.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 } = _chunkLVE3BJ6Kjs.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: _chunkLVE3BJ6Kjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunkLVE3BJ6Kjs.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 = _chunkLVE3BJ6Kjs.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
|
+
_chunkIB7DTXWGjs.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 = _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.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 = _chunkLVE3BJ6Kjs.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
|
+
_chunkIB7DTXWGjs.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
|
+
_chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.SheetContent, { side: "end", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLVE3BJ6Kjs.SheetHeader, { children: [
|
|
392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVE3BJ6Kjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVE3BJ6Kjs.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 = _chunkLVE3BJ6Kjs.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
|
+
_chunkIB7DTXWGjs.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
|
+
_chunkLVE3BJ6Kjs.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, _chunkLVE3BJ6Kjs.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,13 +23,13 @@ import {
|
|
|
23
23
|
useAssistantContext,
|
|
24
24
|
useCurrentUserContext,
|
|
25
25
|
usePageUrlGenerator
|
|
26
|
-
} from "../../chunk-
|
|
26
|
+
} from "../../chunk-UQXE3SME.mjs";
|
|
27
27
|
import {
|
|
28
28
|
_getStaticHelpContent
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-VZKJIAND.mjs";
|
|
30
30
|
import {
|
|
31
31
|
HowToService
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-OSFYCSTW.mjs";
|
|
33
33
|
import "../../chunk-AUXK7QSA.mjs";
|
|
34
34
|
import "../../chunk-C7C7VY4F.mjs";
|
|
35
35
|
import "../../chunk-BMVA2IM5.mjs";
|