@carlonicora/nextjs-jsonapi 3.19.1 → 3.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-7VMBZI3V.js → BlockNoteEditor-2M2M7MT4.js} +19 -19
- package/dist/{BlockNoteEditor-7VMBZI3V.js.map → BlockNoteEditor-2M2M7MT4.js.map} +1 -1
- package/dist/{BlockNoteEditor-FX5RSUPA.mjs → BlockNoteEditor-FKYWM4NJ.mjs} +4 -4
- package/dist/{BlockNoteViewer-SVVAZ6TQ.js → BlockNoteViewer-XCGBX4ST.js} +3 -3
- package/dist/{BlockNoteViewer-SVVAZ6TQ.js.map → BlockNoteViewer-XCGBX4ST.js.map} +1 -1
- package/dist/{BlockNoteViewer-RK2RKOB7.mjs → BlockNoteViewer-ZY4ZF3HO.mjs} +2 -2
- package/dist/billing/index.js +401 -401
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-YCFPSXLK.mjs → chunk-CK47KSFV.mjs} +6 -1
- package/dist/{chunk-YCFPSXLK.mjs.map → chunk-CK47KSFV.mjs.map} +1 -1
- package/dist/{chunk-GNXZNUQV.mjs → chunk-HP3SPOPP.mjs} +1723 -1482
- package/dist/chunk-HP3SPOPP.mjs.map +1 -0
- package/dist/{chunk-TBSMAL5Y.js → chunk-MWZCCOTS.js} +6 -1
- package/dist/chunk-MWZCCOTS.js.map +1 -0
- package/dist/{chunk-ODH2LYWC.js → chunk-SYQMVTIC.js} +7 -7
- package/dist/{chunk-ODH2LYWC.js.map → chunk-SYQMVTIC.js.map} +1 -1
- package/dist/{chunk-IALPADOD.mjs → chunk-U55JQ4NY.mjs} +2 -2
- package/dist/{chunk-RT3TM342.js → chunk-XMYHR2EF.js} +1243 -1002
- package/dist/chunk-XMYHR2EF.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +24 -2
- package/dist/components/index.d.ts +24 -2
- package/dist/components/index.js +8 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +7 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +3 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -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.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/tables/ContentListTable.tsx +32 -2
- package/src/features/notification/components/containers/NotificationsListContainer.tsx +35 -18
- package/src/features/notification/components/filters/NotificationViewSwitcher.tsx +48 -0
- package/src/features/notification/components/filters/index.ts +1 -0
- package/src/features/notification/components/index.ts +1 -0
- package/src/features/notification/components/lists/NotificationsList.tsx +59 -104
- package/src/features/notification/components/modals/NotificationModal.tsx +97 -27
- package/src/features/notification/components/modals/__tests__/NotificationModal.spec.tsx +15 -4
- package/src/features/notification/components/notifications/Notification.tsx +19 -14
- package/src/features/notification/components/notifications/NotificationIcon.tsx +37 -0
- package/src/features/notification/components/notifications/index.ts +1 -0
- package/src/features/notification/data/notification.fields.ts +4 -0
- package/src/features/notification/hooks/useNotificationTableStructure.tsx +186 -0
- package/src/features/notification/notification.module.ts +2 -0
- package/dist/chunk-GNXZNUQV.mjs.map +0 -1
- package/dist/chunk-RT3TM342.js.map +0 -1
- package/dist/chunk-TBSMAL5Y.js.map +0 -1
- /package/dist/{BlockNoteEditor-FX5RSUPA.mjs.map → BlockNoteEditor-FKYWM4NJ.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-RK2RKOB7.mjs.map → BlockNoteViewer-ZY4ZF3HO.mjs.map} +0 -0
- /package/dist/{chunk-IALPADOD.mjs.map → chunk-U55JQ4NY.mjs.map} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
|
|
219
219
|
|
|
220
220
|
|
|
221
|
-
var
|
|
221
|
+
var _chunkMWZCCOTSjs = require('../chunk-MWZCCOTS.js');
|
|
222
222
|
require('../chunk-LXKSUWAV.js');
|
|
223
223
|
require('../chunk-IBS6NI7D.js');
|
|
224
224
|
|
|
@@ -465,5 +465,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
465
465
|
|
|
466
466
|
|
|
467
467
|
|
|
468
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkTBSMAL5Yjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkTBSMAL5Yjs.AbstractApiData; exports.AbstractService = _chunkTBSMAL5Yjs.AbstractService; exports.Action = _chunkTBSMAL5Yjs.Action; exports.AiConnection = _chunkTBSMAL5Yjs.AiConnection; exports.AiConnectionFields = _chunkTBSMAL5Yjs.AiConnectionFields; exports.AiConnectionModule = _chunkTBSMAL5Yjs.AiConnectionModule; exports.AiConnectionService = _chunkTBSMAL5Yjs.AiConnectionService; exports.Assistant = _chunkTBSMAL5Yjs.Assistant; exports.AssistantAction = _chunkTBSMAL5Yjs.AssistantAction; exports.AssistantActionModule = _chunkTBSMAL5Yjs.AssistantActionModule; exports.AssistantActionService = _chunkTBSMAL5Yjs.AssistantActionService; exports.AssistantMessage = _chunkTBSMAL5Yjs.AssistantMessage; exports.AssistantMessageModule = _chunkTBSMAL5Yjs.AssistantMessageModule; exports.AssistantMessageService = _chunkTBSMAL5Yjs.AssistantMessageService; exports.AssistantModule = _chunkTBSMAL5Yjs.AssistantModule; exports.AssistantService = _chunkTBSMAL5Yjs.AssistantService; exports.AuditLog = _chunkTBSMAL5Yjs.AuditLog; exports.AuditLogModule = _chunkTBSMAL5Yjs.AuditLogModule; exports.AuditLogService = _chunkTBSMAL5Yjs.AuditLogService; exports.Auth = _chunkTBSMAL5Yjs.Auth; exports.AuthComponent = _chunkTBSMAL5Yjs.AuthComponent; exports.AuthModule = _chunkTBSMAL5Yjs.AuthModule; exports.AuthService = _chunkTBSMAL5Yjs.AuthService; exports.AuthorModule = _chunkTBSMAL5Yjs.AuthorModule; exports.BackupCodeVerify = _chunkTBSMAL5Yjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkTBSMAL5Yjs.BackupCodeVerifyModule; exports.Billing = _chunkTBSMAL5Yjs.Billing; exports.BillingModule = _chunkTBSMAL5Yjs.BillingModule; exports.BillingService = _chunkTBSMAL5Yjs.BillingService; exports.BlockNoteDiffUtil = _chunkTBSMAL5Yjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkTBSMAL5Yjs.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunkTBSMAL5Yjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkTBSMAL5Yjs.Chunk; exports.ChunkModule = _chunkTBSMAL5Yjs.ChunkModule; exports.ClientAbstractService = _chunkTBSMAL5Yjs.ClientAbstractService; exports.ClientHttpMethod = _chunkTBSMAL5Yjs.ClientHttpMethod; exports.Company = _chunkTBSMAL5Yjs.Company; exports.CompanyFields = _chunkTBSMAL5Yjs.CompanyFields; exports.CompanyModule = _chunkTBSMAL5Yjs.CompanyModule; exports.CompanyService = _chunkTBSMAL5Yjs.CompanyService; exports.Content = _chunkTBSMAL5Yjs.Content; exports.ContentFields = _chunkTBSMAL5Yjs.ContentFields; exports.ContentModule = _chunkTBSMAL5Yjs.ContentModule; exports.ContentService = _chunkTBSMAL5Yjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkTBSMAL5Yjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkTBSMAL5Yjs.EndpointCreator; exports.EntityAiStatus = _chunkTBSMAL5Yjs.EntityAiStatus; exports.Feature = _chunkTBSMAL5Yjs.Feature; exports.FeatureModule = _chunkTBSMAL5Yjs.FeatureModule; exports.FeatureService = _chunkTBSMAL5Yjs.FeatureService; exports.HandbookPage = _chunkTBSMAL5Yjs.HandbookPage; exports.HandbookPageFields = _chunkTBSMAL5Yjs.HandbookPageFields; exports.HandbookPageModule = _chunkTBSMAL5Yjs.HandbookPageModule; exports.HandbookPageService = _chunkTBSMAL5Yjs.HandbookPageService; exports.HandbookSection = _chunkTBSMAL5Yjs.HandbookSection; exports.HandbookSectionModule = _chunkTBSMAL5Yjs.HandbookSectionModule; exports.HandbookSectionService = _chunkTBSMAL5Yjs.HandbookSectionService; exports.HandbookThread = _chunkTBSMAL5Yjs.HandbookThread; exports.HandbookThreadMessage = _chunkTBSMAL5Yjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkTBSMAL5Yjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkTBSMAL5Yjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkTBSMAL5Yjs.HandbookThreadModule; exports.HandbookThreadService = _chunkTBSMAL5Yjs.HandbookThreadService; exports.HowTo = _chunkTBSMAL5Yjs.HowTo; exports.HowToFields = _chunkTBSMAL5Yjs.HowToFields; exports.HowToModule = _chunkTBSMAL5Yjs.HowToModule; exports.HowToService = _chunkTBSMAL5Yjs.HowToService; exports.HttpMethod = _chunkTBSMAL5Yjs.HttpMethod; exports.InvoiceStatus = _chunkTBSMAL5Yjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkTBSMAL5Yjs.MOBILE_BREAKPOINT; exports.Module = _chunkTBSMAL5Yjs.Module; exports.ModuleModule = _chunkTBSMAL5Yjs.ModuleModule; exports.ModulePathsModule = _chunkTBSMAL5Yjs.ModulePathsModule; exports.ModuleRegistrar = _chunkTBSMAL5Yjs.ModuleRegistrar; exports.ModuleRegistry = _chunkTBSMAL5Yjs.ModuleRegistry; exports.Modules = _chunkTBSMAL5Yjs.Modules; exports.Notification = _chunkTBSMAL5Yjs.Notification; exports.NotificationFields = _chunkTBSMAL5Yjs.NotificationFields; exports.NotificationModule = _chunkTBSMAL5Yjs.NotificationModule; exports.NotificationService = _chunkTBSMAL5Yjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkTBSMAL5Yjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkTBSMAL5Yjs.OAuthClient; exports.OAuthModule = _chunkTBSMAL5Yjs.OAuthModule; exports.OAuthService = _chunkTBSMAL5Yjs.OAuthService; exports.Passkey = _chunkTBSMAL5Yjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkTBSMAL5Yjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkTBSMAL5Yjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkTBSMAL5Yjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkTBSMAL5Yjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkTBSMAL5Yjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkTBSMAL5Yjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkTBSMAL5Yjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkTBSMAL5Yjs.PasskeyRename; exports.PasskeyRenameModule = _chunkTBSMAL5Yjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkTBSMAL5Yjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkTBSMAL5Yjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkTBSMAL5Yjs.PaymentMethod; exports.PermissionMappingModule = _chunkTBSMAL5Yjs.PermissionMappingModule; exports.Push = _chunkTBSMAL5Yjs.Push; exports.PushModule = _chunkTBSMAL5Yjs.PushModule; exports.PushService = _chunkTBSMAL5Yjs.PushService; exports.RbacMatrixModule = _chunkTBSMAL5Yjs.RbacMatrixModule; exports.ReferralModule = _chunkTBSMAL5Yjs.ReferralModule; exports.ReferralService = _chunkTBSMAL5Yjs.ReferralService; exports.ReferralStats = _chunkTBSMAL5Yjs.ReferralStats; exports.ReferralStatsModule = _chunkTBSMAL5Yjs.ReferralStatsModule; exports.RehydrationFactory = _chunkTBSMAL5Yjs.RehydrationFactory; exports.Role = _chunkTBSMAL5Yjs.Role; exports.RoleFields = _chunkTBSMAL5Yjs.RoleFields; exports.RoleModule = _chunkTBSMAL5Yjs.RoleModule; exports.RoleService = _chunkTBSMAL5Yjs.RoleService; exports.S3 = _chunkTBSMAL5Yjs.S3; exports.S3Module = _chunkTBSMAL5Yjs.S3Module; exports.S3Service = _chunkTBSMAL5Yjs.S3Service; exports.StripeCustomer = _chunkTBSMAL5Yjs.StripeCustomer; exports.StripeCustomerModule = _chunkTBSMAL5Yjs.StripeCustomerModule; exports.StripeCustomerService = _chunkTBSMAL5Yjs.StripeCustomerService; exports.StripeInvoice = _chunkTBSMAL5Yjs.StripeInvoice; exports.StripeInvoiceModule = _chunkTBSMAL5Yjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkTBSMAL5Yjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkTBSMAL5Yjs.StripePaymentMethodModule; exports.StripePrice = _chunkTBSMAL5Yjs.StripePrice; exports.StripePriceFields = _chunkTBSMAL5Yjs.StripePriceFields; exports.StripePriceModule = _chunkTBSMAL5Yjs.StripePriceModule; exports.StripePriceService = _chunkTBSMAL5Yjs.StripePriceService; exports.StripeProduct = _chunkTBSMAL5Yjs.StripeProduct; exports.StripeProductFields = _chunkTBSMAL5Yjs.StripeProductFields; exports.StripeProductModule = _chunkTBSMAL5Yjs.StripeProductModule; exports.StripeProductService = _chunkTBSMAL5Yjs.StripeProductService; exports.StripePromotionCode = _chunkTBSMAL5Yjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkTBSMAL5Yjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkTBSMAL5Yjs.StripePromotionCodeService; exports.StripeSubscription = _chunkTBSMAL5Yjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkTBSMAL5Yjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkTBSMAL5Yjs.StripeSubscriptionService; exports.StripeUsage = _chunkTBSMAL5Yjs.StripeUsage; exports.StripeUsageModule = _chunkTBSMAL5Yjs.StripeUsageModule; exports.StripeUsageService = _chunkTBSMAL5Yjs.StripeUsageService; exports.SubscriptionStatus = _chunkTBSMAL5Yjs.SubscriptionStatus; exports.TableOptions = _chunkTBSMAL5Yjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkTBSMAL5Yjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkTBSMAL5Yjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkTBSMAL5Yjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkTBSMAL5Yjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkTBSMAL5Yjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkTBSMAL5Yjs.TotpSetup; exports.TotpSetupModule = _chunkTBSMAL5Yjs.TotpSetupModule; exports.TotpVerify = _chunkTBSMAL5Yjs.TotpVerify; exports.TotpVerifyLogin = _chunkTBSMAL5Yjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkTBSMAL5Yjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkTBSMAL5Yjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkTBSMAL5Yjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkTBSMAL5Yjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkTBSMAL5Yjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkTBSMAL5Yjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkTBSMAL5Yjs.TwoFactorService; exports.TwoFactorStatus = _chunkTBSMAL5Yjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkTBSMAL5Yjs.TwoFactorStatusModule; exports.User = _chunkTBSMAL5Yjs.User; exports.UserFields = _chunkTBSMAL5Yjs.UserFields; exports.UserModule = _chunkTBSMAL5Yjs.UserModule; exports.UserService = _chunkTBSMAL5Yjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkTBSMAL5Yjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkTBSMAL5Yjs.Waitlist; exports.WaitlistModule = _chunkTBSMAL5Yjs.WaitlistModule; exports.WaitlistService = _chunkTBSMAL5Yjs.WaitlistService; exports.WaitlistStats = _chunkTBSMAL5Yjs.WaitlistStats; exports.WaitlistStatsModule = _chunkTBSMAL5Yjs.WaitlistStatsModule; exports.checkPermissions = _chunkTBSMAL5Yjs.checkPermissions; exports.checkPermissionsFromServer = _chunkTBSMAL5Yjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkTBSMAL5Yjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkTBSMAL5Yjs.clearLastApiTotal; exports.cn = _chunkTBSMAL5Yjs.cn; exports.composeRefs = _chunkTBSMAL5Yjs.composeRefs; exports.configureTokenUsage = _chunkTBSMAL5Yjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkTBSMAL5Yjs.createJsonApiInclusion; exports.dismissToast = _chunkTBSMAL5Yjs.dismissToast; exports.entityObjectSchema = _chunkTBSMAL5Yjs.entityObjectSchema; exports.exists = _chunkTBSMAL5Yjs.exists; exports.formatCodiceFiscale = _chunkTBSMAL5Yjs.formatCodiceFiscale; exports.formatDate = _chunkTBSMAL5Yjs.formatDate; exports.formatLocalDate = _chunkTBSMAL5Yjs.formatLocalDate; exports.formatPartitaIva = _chunkTBSMAL5Yjs.formatPartitaIva; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkTBSMAL5Yjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkTBSMAL5Yjs.getGlobalErrorHandler; exports.getIcon = _chunkTBSMAL5Yjs.getIcon; exports.getIconByModule = _chunkTBSMAL5Yjs.getIconByModule; exports.getIconByModuleName = _chunkTBSMAL5Yjs.getIconByModuleName; exports.getInitials = _chunkTBSMAL5Yjs.getInitials; exports.getLastApiMeta = _chunkTBSMAL5Yjs.getLastApiMeta; exports.getLastApiTotal = _chunkTBSMAL5Yjs.getLastApiTotal; exports.getLucideIcon = _chunkTBSMAL5Yjs.getLucideIcon; exports.getLucideIconByModule = _chunkTBSMAL5Yjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkTBSMAL5Yjs.getLucideIconByModuleName; exports.getTableComponents = _chunkTBSMAL5Yjs.getTableComponents; exports.getTableOptions = _chunkTBSMAL5Yjs.getTableOptions; exports.getTokenUsageCurrency = _chunkTBSMAL5Yjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkTBSMAL5Yjs.getValueFromPath; exports.handbookPageContent = _chunkTBSMAL5Yjs.handbookPageContent; exports.handbookPageSummary = _chunkTBSMAL5Yjs.handbookPageSummary; exports.handbookPageTitle = _chunkTBSMAL5Yjs.handbookPageTitle; exports.handbookSectionSummary = _chunkTBSMAL5Yjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkTBSMAL5Yjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkTBSMAL5Yjs.isRemoteImageSrc; exports.rehydrate = _chunkTBSMAL5Yjs.rehydrate; exports.rehydrateList = _chunkTBSMAL5Yjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkTBSMAL5Yjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkTBSMAL5Yjs.setGlobalErrorHandler; exports.showCustomToast = _chunkTBSMAL5Yjs.showCustomToast; exports.showError = _chunkTBSMAL5Yjs.showError; exports.showToast = _chunkTBSMAL5Yjs.showToast; exports.tokenUsageModules = _chunkTBSMAL5Yjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkTBSMAL5Yjs.useComposedRefs; exports.useIsMobile = _chunkTBSMAL5Yjs.useIsMobile; exports.userObjectSchema = _chunkTBSMAL5Yjs.userObjectSchema; exports.validateCodiceFiscale = _chunkTBSMAL5Yjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkTBSMAL5Yjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkTBSMAL5Yjs.validatePartitaIva;
|
|
468
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunkMWZCCOTSjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkMWZCCOTSjs.AbstractApiData; exports.AbstractService = _chunkMWZCCOTSjs.AbstractService; exports.Action = _chunkMWZCCOTSjs.Action; exports.AiConnection = _chunkMWZCCOTSjs.AiConnection; exports.AiConnectionFields = _chunkMWZCCOTSjs.AiConnectionFields; exports.AiConnectionModule = _chunkMWZCCOTSjs.AiConnectionModule; exports.AiConnectionService = _chunkMWZCCOTSjs.AiConnectionService; exports.Assistant = _chunkMWZCCOTSjs.Assistant; exports.AssistantAction = _chunkMWZCCOTSjs.AssistantAction; exports.AssistantActionModule = _chunkMWZCCOTSjs.AssistantActionModule; exports.AssistantActionService = _chunkMWZCCOTSjs.AssistantActionService; exports.AssistantMessage = _chunkMWZCCOTSjs.AssistantMessage; exports.AssistantMessageModule = _chunkMWZCCOTSjs.AssistantMessageModule; exports.AssistantMessageService = _chunkMWZCCOTSjs.AssistantMessageService; exports.AssistantModule = _chunkMWZCCOTSjs.AssistantModule; exports.AssistantService = _chunkMWZCCOTSjs.AssistantService; exports.AuditLog = _chunkMWZCCOTSjs.AuditLog; exports.AuditLogModule = _chunkMWZCCOTSjs.AuditLogModule; exports.AuditLogService = _chunkMWZCCOTSjs.AuditLogService; exports.Auth = _chunkMWZCCOTSjs.Auth; exports.AuthComponent = _chunkMWZCCOTSjs.AuthComponent; exports.AuthModule = _chunkMWZCCOTSjs.AuthModule; exports.AuthService = _chunkMWZCCOTSjs.AuthService; exports.AuthorModule = _chunkMWZCCOTSjs.AuthorModule; exports.BackupCodeVerify = _chunkMWZCCOTSjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkMWZCCOTSjs.BackupCodeVerifyModule; exports.Billing = _chunkMWZCCOTSjs.Billing; exports.BillingModule = _chunkMWZCCOTSjs.BillingModule; exports.BillingService = _chunkMWZCCOTSjs.BillingService; exports.BlockNoteDiffUtil = _chunkMWZCCOTSjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkMWZCCOTSjs.BlockNoteWordDiffRendererUtil; exports.CURRENT_USER_STORAGE_KEY = _chunkMWZCCOTSjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkMWZCCOTSjs.Chunk; exports.ChunkModule = _chunkMWZCCOTSjs.ChunkModule; exports.ClientAbstractService = _chunkMWZCCOTSjs.ClientAbstractService; exports.ClientHttpMethod = _chunkMWZCCOTSjs.ClientHttpMethod; exports.Company = _chunkMWZCCOTSjs.Company; exports.CompanyFields = _chunkMWZCCOTSjs.CompanyFields; exports.CompanyModule = _chunkMWZCCOTSjs.CompanyModule; exports.CompanyService = _chunkMWZCCOTSjs.CompanyService; exports.Content = _chunkMWZCCOTSjs.Content; exports.ContentFields = _chunkMWZCCOTSjs.ContentFields; exports.ContentModule = _chunkMWZCCOTSjs.ContentModule; exports.ContentService = _chunkMWZCCOTSjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkMWZCCOTSjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkMWZCCOTSjs.EndpointCreator; exports.EntityAiStatus = _chunkMWZCCOTSjs.EntityAiStatus; exports.Feature = _chunkMWZCCOTSjs.Feature; exports.FeatureModule = _chunkMWZCCOTSjs.FeatureModule; exports.FeatureService = _chunkMWZCCOTSjs.FeatureService; exports.HandbookPage = _chunkMWZCCOTSjs.HandbookPage; exports.HandbookPageFields = _chunkMWZCCOTSjs.HandbookPageFields; exports.HandbookPageModule = _chunkMWZCCOTSjs.HandbookPageModule; exports.HandbookPageService = _chunkMWZCCOTSjs.HandbookPageService; exports.HandbookSection = _chunkMWZCCOTSjs.HandbookSection; exports.HandbookSectionModule = _chunkMWZCCOTSjs.HandbookSectionModule; exports.HandbookSectionService = _chunkMWZCCOTSjs.HandbookSectionService; exports.HandbookThread = _chunkMWZCCOTSjs.HandbookThread; exports.HandbookThreadMessage = _chunkMWZCCOTSjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkMWZCCOTSjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkMWZCCOTSjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkMWZCCOTSjs.HandbookThreadModule; exports.HandbookThreadService = _chunkMWZCCOTSjs.HandbookThreadService; exports.HowTo = _chunkMWZCCOTSjs.HowTo; exports.HowToFields = _chunkMWZCCOTSjs.HowToFields; exports.HowToModule = _chunkMWZCCOTSjs.HowToModule; exports.HowToService = _chunkMWZCCOTSjs.HowToService; exports.HttpMethod = _chunkMWZCCOTSjs.HttpMethod; exports.InvoiceStatus = _chunkMWZCCOTSjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkMWZCCOTSjs.MOBILE_BREAKPOINT; exports.Module = _chunkMWZCCOTSjs.Module; exports.ModuleModule = _chunkMWZCCOTSjs.ModuleModule; exports.ModulePathsModule = _chunkMWZCCOTSjs.ModulePathsModule; exports.ModuleRegistrar = _chunkMWZCCOTSjs.ModuleRegistrar; exports.ModuleRegistry = _chunkMWZCCOTSjs.ModuleRegistry; exports.Modules = _chunkMWZCCOTSjs.Modules; exports.Notification = _chunkMWZCCOTSjs.Notification; exports.NotificationFields = _chunkMWZCCOTSjs.NotificationFields; exports.NotificationModule = _chunkMWZCCOTSjs.NotificationModule; exports.NotificationService = _chunkMWZCCOTSjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkMWZCCOTSjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkMWZCCOTSjs.OAuthClient; exports.OAuthModule = _chunkMWZCCOTSjs.OAuthModule; exports.OAuthService = _chunkMWZCCOTSjs.OAuthService; exports.Passkey = _chunkMWZCCOTSjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkMWZCCOTSjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkMWZCCOTSjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkMWZCCOTSjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkMWZCCOTSjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkMWZCCOTSjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkMWZCCOTSjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkMWZCCOTSjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkMWZCCOTSjs.PasskeyRename; exports.PasskeyRenameModule = _chunkMWZCCOTSjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkMWZCCOTSjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkMWZCCOTSjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkMWZCCOTSjs.PaymentMethod; exports.PermissionMappingModule = _chunkMWZCCOTSjs.PermissionMappingModule; exports.Push = _chunkMWZCCOTSjs.Push; exports.PushModule = _chunkMWZCCOTSjs.PushModule; exports.PushService = _chunkMWZCCOTSjs.PushService; exports.RbacMatrixModule = _chunkMWZCCOTSjs.RbacMatrixModule; exports.ReferralModule = _chunkMWZCCOTSjs.ReferralModule; exports.ReferralService = _chunkMWZCCOTSjs.ReferralService; exports.ReferralStats = _chunkMWZCCOTSjs.ReferralStats; exports.ReferralStatsModule = _chunkMWZCCOTSjs.ReferralStatsModule; exports.RehydrationFactory = _chunkMWZCCOTSjs.RehydrationFactory; exports.Role = _chunkMWZCCOTSjs.Role; exports.RoleFields = _chunkMWZCCOTSjs.RoleFields; exports.RoleModule = _chunkMWZCCOTSjs.RoleModule; exports.RoleService = _chunkMWZCCOTSjs.RoleService; exports.S3 = _chunkMWZCCOTSjs.S3; exports.S3Module = _chunkMWZCCOTSjs.S3Module; exports.S3Service = _chunkMWZCCOTSjs.S3Service; exports.StripeCustomer = _chunkMWZCCOTSjs.StripeCustomer; exports.StripeCustomerModule = _chunkMWZCCOTSjs.StripeCustomerModule; exports.StripeCustomerService = _chunkMWZCCOTSjs.StripeCustomerService; exports.StripeInvoice = _chunkMWZCCOTSjs.StripeInvoice; exports.StripeInvoiceModule = _chunkMWZCCOTSjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkMWZCCOTSjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkMWZCCOTSjs.StripePaymentMethodModule; exports.StripePrice = _chunkMWZCCOTSjs.StripePrice; exports.StripePriceFields = _chunkMWZCCOTSjs.StripePriceFields; exports.StripePriceModule = _chunkMWZCCOTSjs.StripePriceModule; exports.StripePriceService = _chunkMWZCCOTSjs.StripePriceService; exports.StripeProduct = _chunkMWZCCOTSjs.StripeProduct; exports.StripeProductFields = _chunkMWZCCOTSjs.StripeProductFields; exports.StripeProductModule = _chunkMWZCCOTSjs.StripeProductModule; exports.StripeProductService = _chunkMWZCCOTSjs.StripeProductService; exports.StripePromotionCode = _chunkMWZCCOTSjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkMWZCCOTSjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkMWZCCOTSjs.StripePromotionCodeService; exports.StripeSubscription = _chunkMWZCCOTSjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkMWZCCOTSjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkMWZCCOTSjs.StripeSubscriptionService; exports.StripeUsage = _chunkMWZCCOTSjs.StripeUsage; exports.StripeUsageModule = _chunkMWZCCOTSjs.StripeUsageModule; exports.StripeUsageService = _chunkMWZCCOTSjs.StripeUsageService; exports.SubscriptionStatus = _chunkMWZCCOTSjs.SubscriptionStatus; exports.TableOptions = _chunkMWZCCOTSjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkMWZCCOTSjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkMWZCCOTSjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkMWZCCOTSjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkMWZCCOTSjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkMWZCCOTSjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkMWZCCOTSjs.TotpSetup; exports.TotpSetupModule = _chunkMWZCCOTSjs.TotpSetupModule; exports.TotpVerify = _chunkMWZCCOTSjs.TotpVerify; exports.TotpVerifyLogin = _chunkMWZCCOTSjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkMWZCCOTSjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkMWZCCOTSjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkMWZCCOTSjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkMWZCCOTSjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkMWZCCOTSjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkMWZCCOTSjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkMWZCCOTSjs.TwoFactorService; exports.TwoFactorStatus = _chunkMWZCCOTSjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkMWZCCOTSjs.TwoFactorStatusModule; exports.User = _chunkMWZCCOTSjs.User; exports.UserFields = _chunkMWZCCOTSjs.UserFields; exports.UserModule = _chunkMWZCCOTSjs.UserModule; exports.UserService = _chunkMWZCCOTSjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkMWZCCOTSjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkMWZCCOTSjs.Waitlist; exports.WaitlistModule = _chunkMWZCCOTSjs.WaitlistModule; exports.WaitlistService = _chunkMWZCCOTSjs.WaitlistService; exports.WaitlistStats = _chunkMWZCCOTSjs.WaitlistStats; exports.WaitlistStatsModule = _chunkMWZCCOTSjs.WaitlistStatsModule; exports.checkPermissions = _chunkMWZCCOTSjs.checkPermissions; exports.checkPermissionsFromServer = _chunkMWZCCOTSjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkMWZCCOTSjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkMWZCCOTSjs.clearLastApiTotal; exports.cn = _chunkMWZCCOTSjs.cn; exports.composeRefs = _chunkMWZCCOTSjs.composeRefs; exports.configureTokenUsage = _chunkMWZCCOTSjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkMWZCCOTSjs.createJsonApiInclusion; exports.dismissToast = _chunkMWZCCOTSjs.dismissToast; exports.entityObjectSchema = _chunkMWZCCOTSjs.entityObjectSchema; exports.exists = _chunkMWZCCOTSjs.exists; exports.formatCodiceFiscale = _chunkMWZCCOTSjs.formatCodiceFiscale; exports.formatDate = _chunkMWZCCOTSjs.formatDate; exports.formatLocalDate = _chunkMWZCCOTSjs.formatLocalDate; exports.formatPartitaIva = _chunkMWZCCOTSjs.formatPartitaIva; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkMWZCCOTSjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkMWZCCOTSjs.getGlobalErrorHandler; exports.getIcon = _chunkMWZCCOTSjs.getIcon; exports.getIconByModule = _chunkMWZCCOTSjs.getIconByModule; exports.getIconByModuleName = _chunkMWZCCOTSjs.getIconByModuleName; exports.getInitials = _chunkMWZCCOTSjs.getInitials; exports.getLastApiMeta = _chunkMWZCCOTSjs.getLastApiMeta; exports.getLastApiTotal = _chunkMWZCCOTSjs.getLastApiTotal; exports.getLucideIcon = _chunkMWZCCOTSjs.getLucideIcon; exports.getLucideIconByModule = _chunkMWZCCOTSjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkMWZCCOTSjs.getLucideIconByModuleName; exports.getTableComponents = _chunkMWZCCOTSjs.getTableComponents; exports.getTableOptions = _chunkMWZCCOTSjs.getTableOptions; exports.getTokenUsageCurrency = _chunkMWZCCOTSjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkMWZCCOTSjs.getValueFromPath; exports.handbookPageContent = _chunkMWZCCOTSjs.handbookPageContent; exports.handbookPageSummary = _chunkMWZCCOTSjs.handbookPageSummary; exports.handbookPageTitle = _chunkMWZCCOTSjs.handbookPageTitle; exports.handbookSectionSummary = _chunkMWZCCOTSjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkMWZCCOTSjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkMWZCCOTSjs.isRemoteImageSrc; exports.rehydrate = _chunkMWZCCOTSjs.rehydrate; exports.rehydrateList = _chunkMWZCCOTSjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkMWZCCOTSjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkMWZCCOTSjs.setGlobalErrorHandler; exports.showCustomToast = _chunkMWZCCOTSjs.showCustomToast; exports.showError = _chunkMWZCCOTSjs.showError; exports.showToast = _chunkMWZCCOTSjs.showToast; exports.tokenUsageModules = _chunkMWZCCOTSjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkMWZCCOTSjs.useComposedRefs; exports.useIsMobile = _chunkMWZCCOTSjs.useIsMobile; exports.userObjectSchema = _chunkMWZCCOTSjs.userObjectSchema; exports.validateCodiceFiscale = _chunkMWZCCOTSjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkMWZCCOTSjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkMWZCCOTSjs.validatePartitaIva;
|
|
469
469
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.mjs
CHANGED
|
@@ -23,13 +23,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkXMYHR2EFjs = require('../../chunk-XMYHR2EF.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkSYQMVTICjs = require('../../chunk-SYQMVTIC.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkMWZCCOTSjs = require('../../chunk-MWZCCOTS.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 = _chunkSYQMVTICjs._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, _chunkXMYHR2EFjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
_chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.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 = _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.SheetHeader, { children: [
|
|
95
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXMYHR2EFjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
96
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
99
99
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
-
|
|
100
|
+
_chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.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 } = _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.Tooltip, { children: [
|
|
125
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXMYHR2EFjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.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 } = _chunkXMYHR2EFjs.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: _chunkXMYHR2EFjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunkXMYHR2EFjs.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 = _chunkXMYHR2EFjs.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
|
+
_chunkMWZCCOTSjs.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 = _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.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 = _chunkXMYHR2EFjs.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
|
+
_chunkMWZCCOTSjs.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
|
+
_chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.SheetContent, { side: "end", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXMYHR2EFjs.SheetHeader, { children: [
|
|
392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXMYHR2EFjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXMYHR2EFjs.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 = _chunkXMYHR2EFjs.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
|
+
_chunkMWZCCOTSjs.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
|
+
_chunkXMYHR2EFjs.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, _chunkXMYHR2EFjs.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-HP3SPOPP.mjs";
|
|
27
27
|
import {
|
|
28
28
|
_getStaticHelpContent
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-U55JQ4NY.mjs";
|
|
30
30
|
import {
|
|
31
31
|
HowToService
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-CK47KSFV.mjs";
|
|
33
33
|
import "../../chunk-AUXK7QSA.mjs";
|
|
34
34
|
import "../../chunk-C7C7VY4F.mjs";
|
|
35
35
|
import "../../chunk-BMVA2IM5.mjs";
|