@carlonicora/nextjs-jsonapi 3.9.0 → 3.11.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/BlockNoteEditor-K55A4FS2.css +30 -0
- package/dist/BlockNoteEditor-K55A4FS2.css.map +1 -0
- package/dist/{BlockNoteEditor-RGMU2O24.mjs → BlockNoteEditor-NBHDEZ7W.mjs} +4 -4
- package/dist/{BlockNoteEditor-WY4LFMXQ.js → BlockNoteEditor-XOVNTXDY.js} +19 -19
- package/dist/{BlockNoteEditor-WY4LFMXQ.js.map → BlockNoteEditor-XOVNTXDY.js.map} +1 -1
- package/dist/{BlockNoteViewer-6N2GQWTI.js → BlockNoteViewer-C2UUOBAF.js} +17 -3
- package/dist/BlockNoteViewer-C2UUOBAF.js.map +1 -0
- package/dist/{BlockNoteViewer-IBQRJ3WM.mjs → BlockNoteViewer-TYLVTIUD.mjs} +17 -3
- package/dist/BlockNoteViewer-TYLVTIUD.mjs.map +1 -0
- package/dist/billing/index.css +22 -21
- package/dist/billing/index.css.map +1 -1
- package/dist/billing/index.js +398 -398
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-UYLS3LJW.js → chunk-6J2SQZ3G.js} +11 -1
- package/dist/chunk-6J2SQZ3G.js.map +1 -0
- package/dist/{chunk-2D4MFVDV.mjs → chunk-IMSIVIIC.mjs} +2 -2
- package/dist/{chunk-HDZ2BL6D.mjs → chunk-M5QAHSCY.mjs} +11 -1
- package/dist/{chunk-HDZ2BL6D.mjs.map → chunk-M5QAHSCY.mjs.map} +1 -1
- package/dist/{chunk-TULJCLZA.js → chunk-V6CGCARD.js} +7 -7
- package/dist/{chunk-TULJCLZA.js.map → chunk-V6CGCARD.js.map} +1 -1
- package/dist/{chunk-7PNGCZES.mjs → chunk-XNGI4HDZ.mjs} +1529 -1286
- package/dist/chunk-XNGI4HDZ.mjs.map +1 -0
- package/dist/{chunk-DOLEXUO3.js → chunk-YN4LOVL4.js} +1301 -1058
- package/dist/chunk-YN4LOVL4.js.map +1 -0
- package/dist/client/index.css +22 -21
- package/dist/client/index.css.map +1 -1
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.css +22 -21
- package/dist/components/index.css.map +1 -1
- package/dist/components/index.d.mts +46 -14
- package/dist/components/index.d.ts +46 -14
- 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.css +22 -21
- package/dist/contexts/index.css.map +1 -1
- package/dist/contexts/index.d.mts +28 -4
- package/dist/contexts/index.d.ts +28 -4
- package/dist/contexts/index.js +10 -4
- package/dist/contexts/index.js.map +1 -1
- package/dist/contexts/index.mjs +9 -3
- package/dist/core/index.d.mts +13 -0
- package/dist/core/index.d.ts +13 -0
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.css +22 -21
- package/dist/features/help/index.css.map +1 -1
- package/dist/features/help/index.d.mts +6 -1
- package/dist/features/help/index.d.ts +6 -1
- package/dist/features/help/index.js +39 -38
- package/dist/features/help/index.js.map +1 -1
- package/dist/features/help/index.mjs +4 -3
- package/dist/features/tokenusage/index.css +22 -21
- package/dist/features/tokenusage/index.css.map +1 -1
- package/dist/features/tokenusage/index.js +102 -102
- package/dist/features/tokenusage/index.js.map +1 -1
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/features/tokenusage/index.mjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{onboarding.interface-Djyl9qYu.d.mts → onboarding.interface-DVUOUC4y.d.mts} +4 -1
- package/dist/{onboarding.interface-Djyl9qYu.d.ts → onboarding.interface-DVUOUC4y.d.ts} +4 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +2 -2
- package/src/components/containers/RoundPageContainer.tsx +2 -1
- package/src/components/containers/RoundPageContainerTitle.tsx +6 -1
- package/src/components/containers/TabsContainer.tsx +1 -0
- package/src/components/forms/EditorSheet.tsx +2 -1
- package/src/components/grids/ContentListGrid.tsx +1 -1
- package/src/components/navigations/Breadcrumb.tsx +21 -9
- package/src/components/navigations/Header.tsx +3 -1
- package/src/components/navigations/MobileNavigationBar.tsx +1 -0
- package/src/components/tables/ContentListTable.tsx +1 -1
- package/src/components/tables/ContentTableSearch.tsx +1 -0
- package/src/components/viewers/BlockNoteViewer.tsx +13 -2
- package/src/components/viewers/BlockNoteViewerContainer.tsx +4 -1
- package/src/contexts/BreadcrumbRootContext.tsx +28 -0
- package/src/contexts/index.ts +1 -0
- package/src/features/assistant/components/index.ts +2 -0
- package/src/features/assistant/components/parts/AssistantComposer.tsx +1 -1
- package/src/features/assistant/components/parts/__tests__/AssistantComposer.spec.tsx +2 -2
- package/src/features/assistant-action/components/ApprovalActionCard.tsx +325 -4
- package/src/features/assistant-action/components/__tests__/ApprovalActionCard.spec.tsx +268 -0
- package/src/features/assistant-action/data/AssistantAction.ts +12 -0
- package/src/features/assistant-action/data/AssistantActionInterface.ts +9 -0
- package/src/features/assistant-action/data/__tests__/AssistantAction.spec.ts +11 -0
- package/src/features/help/index.ts +1 -0
- package/src/features/onboarding/components/OnboardingCard.tsx +1 -2
- package/src/features/onboarding/contexts/OnboardingContext.spec.tsx +191 -0
- package/src/features/onboarding/contexts/OnboardingContext.tsx +176 -125
- package/src/features/onboarding/interfaces/onboarding.interface.ts +4 -0
- package/src/features/onboarding/styles/onboarding.css +25 -30
- package/src/features/tokenusage/components/TokenUsageReportFilterBar.tsx +1 -1
- package/dist/BlockNoteEditor-YOAJRPWU.css +0 -29
- package/dist/BlockNoteEditor-YOAJRPWU.css.map +0 -1
- package/dist/BlockNoteViewer-6N2GQWTI.js.map +0 -1
- package/dist/BlockNoteViewer-IBQRJ3WM.mjs.map +0 -1
- package/dist/chunk-7PNGCZES.mjs.map +0 -1
- package/dist/chunk-DOLEXUO3.js.map +0 -1
- package/dist/chunk-UYLS3LJW.js.map +0 -1
- /package/dist/{BlockNoteEditor-RGMU2O24.mjs.map → BlockNoteEditor-NBHDEZ7W.mjs.map} +0 -0
- /package/dist/{chunk-2D4MFVDV.mjs.map → chunk-IMSIVIIC.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkV6CGCARDjs = require('./chunk-V6CGCARD.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -226,7 +226,7 @@ var _chunkTULJCLZAjs = require('./chunk-TULJCLZA.js');
|
|
|
226
226
|
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
var
|
|
229
|
+
var _chunk6J2SQZ3Gjs = require('./chunk-6J2SQZ3G.js');
|
|
230
230
|
require('./chunk-LXKSUWAV.js');
|
|
231
231
|
require('./chunk-IBS6NI7D.js');
|
|
232
232
|
|
|
@@ -479,5 +479,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
|
|
482
|
-
exports.ACTION_TYPES = _chunkTULJCLZAjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkUYLS3LJWjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkUYLS3LJWjs.AbstractApiData; exports.AbstractService = _chunkUYLS3LJWjs.AbstractService; exports.Action = _chunkUYLS3LJWjs.Action; exports.AiConnection = _chunkUYLS3LJWjs.AiConnection; exports.AiConnectionFields = _chunkUYLS3LJWjs.AiConnectionFields; exports.AiConnectionModule = _chunkUYLS3LJWjs.AiConnectionModule; exports.AiConnectionService = _chunkUYLS3LJWjs.AiConnectionService; exports.Assistant = _chunkUYLS3LJWjs.Assistant; exports.AssistantAction = _chunkUYLS3LJWjs.AssistantAction; exports.AssistantActionModule = _chunkUYLS3LJWjs.AssistantActionModule; exports.AssistantActionService = _chunkUYLS3LJWjs.AssistantActionService; exports.AssistantMessage = _chunkUYLS3LJWjs.AssistantMessage; exports.AssistantMessageModule = _chunkUYLS3LJWjs.AssistantMessageModule; exports.AssistantMessageService = _chunkUYLS3LJWjs.AssistantMessageService; exports.AssistantModule = _chunkUYLS3LJWjs.AssistantModule; exports.AssistantService = _chunkUYLS3LJWjs.AssistantService; exports.AuditLog = _chunkUYLS3LJWjs.AuditLog; exports.AuditLogModule = _chunkUYLS3LJWjs.AuditLogModule; exports.AuditLogService = _chunkUYLS3LJWjs.AuditLogService; exports.Auth = _chunkUYLS3LJWjs.Auth; exports.AuthComponent = _chunkUYLS3LJWjs.AuthComponent; exports.AuthModule = _chunkUYLS3LJWjs.AuthModule; exports.AuthService = _chunkUYLS3LJWjs.AuthService; exports.AuthorModule = _chunkUYLS3LJWjs.AuthorModule; exports.BackupCodeVerify = _chunkUYLS3LJWjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkUYLS3LJWjs.BackupCodeVerifyModule; exports.Billing = _chunkUYLS3LJWjs.Billing; exports.BillingModule = _chunkUYLS3LJWjs.BillingModule; exports.BillingService = _chunkUYLS3LJWjs.BillingService; exports.BlockNoteDiffUtil = _chunkUYLS3LJWjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkUYLS3LJWjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkTULJCLZAjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkUYLS3LJWjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkUYLS3LJWjs.Chunk; exports.ChunkModule = _chunkUYLS3LJWjs.ChunkModule; exports.ClientAbstractService = _chunkUYLS3LJWjs.ClientAbstractService; exports.ClientHttpMethod = _chunkUYLS3LJWjs.ClientHttpMethod; exports.Company = _chunkUYLS3LJWjs.Company; exports.CompanyFields = _chunkUYLS3LJWjs.CompanyFields; exports.CompanyModule = _chunkUYLS3LJWjs.CompanyModule; exports.CompanyService = _chunkUYLS3LJWjs.CompanyService; exports.Content = _chunkUYLS3LJWjs.Content; exports.ContentFields = _chunkUYLS3LJWjs.ContentFields; exports.ContentModule = _chunkUYLS3LJWjs.ContentModule; exports.ContentService = _chunkUYLS3LJWjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkUYLS3LJWjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkUYLS3LJWjs.EndpointCreator; exports.EntityAiStatus = _chunkUYLS3LJWjs.EntityAiStatus; exports.Feature = _chunkUYLS3LJWjs.Feature; exports.FeatureModule = _chunkUYLS3LJWjs.FeatureModule; exports.FeatureService = _chunkUYLS3LJWjs.FeatureService; exports.HowTo = _chunkUYLS3LJWjs.HowTo; exports.HowToFields = _chunkUYLS3LJWjs.HowToFields; exports.HowToModule = _chunkUYLS3LJWjs.HowToModule; exports.HowToService = _chunkUYLS3LJWjs.HowToService; exports.HttpMethod = _chunkUYLS3LJWjs.HttpMethod; exports.InvoiceStatus = _chunkUYLS3LJWjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkUYLS3LJWjs.MOBILE_BREAKPOINT; exports.Module = _chunkUYLS3LJWjs.Module; exports.ModuleModule = _chunkUYLS3LJWjs.ModuleModule; exports.ModulePaths = _chunkUYLS3LJWjs.ModulePaths; exports.ModulePathsModule = _chunkUYLS3LJWjs.ModulePathsModule; exports.ModuleRegistrar = _chunkUYLS3LJWjs.ModuleRegistrar; exports.ModuleRegistry = _chunkUYLS3LJWjs.ModuleRegistry; exports.Modules = _chunkUYLS3LJWjs.Modules; exports.Notification = _chunkUYLS3LJWjs.Notification; exports.NotificationFields = _chunkUYLS3LJWjs.NotificationFields; exports.NotificationModule = _chunkUYLS3LJWjs.NotificationModule; exports.NotificationService = _chunkUYLS3LJWjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkUYLS3LJWjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkUYLS3LJWjs.OAuthClient; exports.OAuthModule = _chunkUYLS3LJWjs.OAuthModule; exports.OAuthService = _chunkUYLS3LJWjs.OAuthService; exports.Passkey = _chunkUYLS3LJWjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkUYLS3LJWjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkUYLS3LJWjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkUYLS3LJWjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkUYLS3LJWjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkUYLS3LJWjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkUYLS3LJWjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkUYLS3LJWjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkUYLS3LJWjs.PasskeyRename; exports.PasskeyRenameModule = _chunkUYLS3LJWjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkUYLS3LJWjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkUYLS3LJWjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkUYLS3LJWjs.PaymentMethod; exports.PermissionMapping = _chunkUYLS3LJWjs.PermissionMapping; exports.PermissionMappingModule = _chunkUYLS3LJWjs.PermissionMappingModule; exports.Push = _chunkUYLS3LJWjs.Push; exports.PushModule = _chunkUYLS3LJWjs.PushModule; exports.PushService = _chunkUYLS3LJWjs.PushService; exports.RbacMatrixModel = _chunkUYLS3LJWjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkUYLS3LJWjs.RbacMatrixModule; exports.RbacService = _chunkTULJCLZAjs.RbacService; exports.ReferralModule = _chunkUYLS3LJWjs.ReferralModule; exports.ReferralService = _chunkUYLS3LJWjs.ReferralService; exports.ReferralStats = _chunkUYLS3LJWjs.ReferralStats; exports.ReferralStatsModule = _chunkUYLS3LJWjs.ReferralStatsModule; exports.RehydrationFactory = _chunkUYLS3LJWjs.RehydrationFactory; exports.Role = _chunkUYLS3LJWjs.Role; exports.RoleFields = _chunkUYLS3LJWjs.RoleFields; exports.RoleModule = _chunkUYLS3LJWjs.RoleModule; exports.RoleService = _chunkUYLS3LJWjs.RoleService; exports.S3 = _chunkUYLS3LJWjs.S3; exports.S3Module = _chunkUYLS3LJWjs.S3Module; exports.S3Service = _chunkUYLS3LJWjs.S3Service; exports.StripeCustomer = _chunkUYLS3LJWjs.StripeCustomer; exports.StripeCustomerModule = _chunkUYLS3LJWjs.StripeCustomerModule; exports.StripeCustomerService = _chunkUYLS3LJWjs.StripeCustomerService; exports.StripeInvoice = _chunkUYLS3LJWjs.StripeInvoice; exports.StripeInvoiceModule = _chunkUYLS3LJWjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkUYLS3LJWjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkUYLS3LJWjs.StripePaymentMethodModule; exports.StripePrice = _chunkUYLS3LJWjs.StripePrice; exports.StripePriceFields = _chunkUYLS3LJWjs.StripePriceFields; exports.StripePriceModule = _chunkUYLS3LJWjs.StripePriceModule; exports.StripePriceService = _chunkUYLS3LJWjs.StripePriceService; exports.StripeProduct = _chunkUYLS3LJWjs.StripeProduct; exports.StripeProductFields = _chunkUYLS3LJWjs.StripeProductFields; exports.StripeProductModule = _chunkUYLS3LJWjs.StripeProductModule; exports.StripeProductService = _chunkUYLS3LJWjs.StripeProductService; exports.StripePromotionCode = _chunkUYLS3LJWjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkUYLS3LJWjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkUYLS3LJWjs.StripePromotionCodeService; exports.StripeSubscription = _chunkUYLS3LJWjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkUYLS3LJWjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkUYLS3LJWjs.StripeSubscriptionService; exports.StripeUsage = _chunkUYLS3LJWjs.StripeUsage; exports.StripeUsageModule = _chunkUYLS3LJWjs.StripeUsageModule; exports.StripeUsageService = _chunkUYLS3LJWjs.StripeUsageService; exports.SubscriptionStatus = _chunkUYLS3LJWjs.SubscriptionStatus; exports.TableOptions = _chunkUYLS3LJWjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkUYLS3LJWjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkUYLS3LJWjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkUYLS3LJWjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkUYLS3LJWjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkUYLS3LJWjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkUYLS3LJWjs.TotpSetup; exports.TotpSetupModule = _chunkUYLS3LJWjs.TotpSetupModule; exports.TotpVerify = _chunkUYLS3LJWjs.TotpVerify; exports.TotpVerifyLogin = _chunkUYLS3LJWjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkUYLS3LJWjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkUYLS3LJWjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkUYLS3LJWjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkUYLS3LJWjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkUYLS3LJWjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkUYLS3LJWjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkUYLS3LJWjs.TwoFactorService; exports.TwoFactorStatus = _chunkUYLS3LJWjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkUYLS3LJWjs.TwoFactorStatusModule; exports.User = _chunkUYLS3LJWjs.User; exports.UserFields = _chunkUYLS3LJWjs.UserFields; exports.UserModule = _chunkUYLS3LJWjs.UserModule; exports.UserService = _chunkUYLS3LJWjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkUYLS3LJWjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkUYLS3LJWjs.Waitlist; exports.WaitlistModule = _chunkUYLS3LJWjs.WaitlistModule; exports.WaitlistService = _chunkUYLS3LJWjs.WaitlistService; exports.WaitlistStats = _chunkUYLS3LJWjs.WaitlistStats; exports.WaitlistStatsModule = _chunkUYLS3LJWjs.WaitlistStatsModule; exports.checkPermissions = _chunkUYLS3LJWjs.checkPermissions; exports.checkPermissionsFromServer = _chunkUYLS3LJWjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkUYLS3LJWjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkUYLS3LJWjs.clearLastApiTotal; exports.cn = _chunkUYLS3LJWjs.cn; exports.composeRefs = _chunkUYLS3LJWjs.composeRefs; exports.configureAuth = _chunkUYLS3LJWjs.configureAuth; exports.configureI18n = _chunkTULJCLZAjs.configureI18n; exports.configureJsonApi = _chunkTULJCLZAjs.configureJsonApi; exports.configureLogin = _chunkTULJCLZAjs.configureLogin; exports.configureReferral = _chunkTULJCLZAjs.configureReferral; exports.configureRoles = _chunkTULJCLZAjs.configureRoles; exports.configureTokenUsage = _chunkUYLS3LJWjs.configureTokenUsage; exports.configureWaitlist = _chunkTULJCLZAjs.configureWaitlist; exports.createJsonApiInclusion = _chunkUYLS3LJWjs.createJsonApiInclusion; exports.dismissToast = _chunkUYLS3LJWjs.dismissToast; exports.entityObjectSchema = _chunkUYLS3LJWjs.entityObjectSchema; exports.exists = _chunkUYLS3LJWjs.exists; exports.formatCodiceFiscale = _chunkUYLS3LJWjs.formatCodiceFiscale; exports.formatDate = _chunkUYLS3LJWjs.formatDate; exports.formatLocalDate = _chunkUYLS3LJWjs.formatLocalDate; exports.formatPartitaIva = _chunkUYLS3LJWjs.formatPartitaIva; exports.getApiUrl = _chunkTULJCLZAjs.getApiUrl; exports.getAppUrl = _chunkTULJCLZAjs.getAppUrl; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkUYLS3LJWjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkUYLS3LJWjs.getGlobalErrorHandler; exports.getIcon = _chunkUYLS3LJWjs.getIcon; exports.getIconByModule = _chunkUYLS3LJWjs.getIconByModule; exports.getIconByModuleName = _chunkUYLS3LJWjs.getIconByModuleName; exports.getInitials = _chunkUYLS3LJWjs.getInitials; exports.getLastApiMeta = _chunkUYLS3LJWjs.getLastApiMeta; exports.getLastApiTotal = _chunkUYLS3LJWjs.getLastApiTotal; exports.getLucideIcon = _chunkUYLS3LJWjs.getLucideIcon; exports.getLucideIconByModule = _chunkUYLS3LJWjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkUYLS3LJWjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkTULJCLZAjs.getPublicApiUrl; exports.getReferralConfig = _chunkTULJCLZAjs.getReferralConfig; exports.getRoleId = _chunkTULJCLZAjs.getRoleId; exports.getStripePublishableKey = _chunkTULJCLZAjs.getStripePublishableKey; exports.getTableComponents = _chunkUYLS3LJWjs.getTableComponents; exports.getTableOptions = _chunkUYLS3LJWjs.getTableOptions; exports.getTokenHandler = _chunkUYLS3LJWjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkUYLS3LJWjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkTULJCLZAjs.getTrackablePages; exports.getValueFromPath = _chunkUYLS3LJWjs.getValueFromPath; exports.getWaitlistConfig = _chunkTULJCLZAjs.getWaitlistConfig; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isReferralEnabled = _chunkTULJCLZAjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkUYLS3LJWjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkTULJCLZAjs.isRolesConfigured; exports.rehydrate = _chunkUYLS3LJWjs.rehydrate; exports.rehydrateList = _chunkUYLS3LJWjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkUYLS3LJWjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkUYLS3LJWjs.setGlobalErrorHandler; exports.showCustomToast = _chunkUYLS3LJWjs.showCustomToast; exports.showError = _chunkUYLS3LJWjs.showError; exports.showToast = _chunkUYLS3LJWjs.showToast; exports.tokenUsageModules = _chunkUYLS3LJWjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkUYLS3LJWjs.useComposedRefs; exports.useIsMobile = _chunkUYLS3LJWjs.useIsMobile; exports.userObjectSchema = _chunkUYLS3LJWjs.userObjectSchema; exports.validateCodiceFiscale = _chunkUYLS3LJWjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkUYLS3LJWjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkUYLS3LJWjs.validatePartitaIva;
|
|
482
|
+
exports.ACTION_TYPES = _chunkV6CGCARDjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk6J2SQZ3Gjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6J2SQZ3Gjs.AbstractApiData; exports.AbstractService = _chunk6J2SQZ3Gjs.AbstractService; exports.Action = _chunk6J2SQZ3Gjs.Action; exports.AiConnection = _chunk6J2SQZ3Gjs.AiConnection; exports.AiConnectionFields = _chunk6J2SQZ3Gjs.AiConnectionFields; exports.AiConnectionModule = _chunk6J2SQZ3Gjs.AiConnectionModule; exports.AiConnectionService = _chunk6J2SQZ3Gjs.AiConnectionService; exports.Assistant = _chunk6J2SQZ3Gjs.Assistant; exports.AssistantAction = _chunk6J2SQZ3Gjs.AssistantAction; exports.AssistantActionModule = _chunk6J2SQZ3Gjs.AssistantActionModule; exports.AssistantActionService = _chunk6J2SQZ3Gjs.AssistantActionService; exports.AssistantMessage = _chunk6J2SQZ3Gjs.AssistantMessage; exports.AssistantMessageModule = _chunk6J2SQZ3Gjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6J2SQZ3Gjs.AssistantMessageService; exports.AssistantModule = _chunk6J2SQZ3Gjs.AssistantModule; exports.AssistantService = _chunk6J2SQZ3Gjs.AssistantService; exports.AuditLog = _chunk6J2SQZ3Gjs.AuditLog; exports.AuditLogModule = _chunk6J2SQZ3Gjs.AuditLogModule; exports.AuditLogService = _chunk6J2SQZ3Gjs.AuditLogService; exports.Auth = _chunk6J2SQZ3Gjs.Auth; exports.AuthComponent = _chunk6J2SQZ3Gjs.AuthComponent; exports.AuthModule = _chunk6J2SQZ3Gjs.AuthModule; exports.AuthService = _chunk6J2SQZ3Gjs.AuthService; exports.AuthorModule = _chunk6J2SQZ3Gjs.AuthorModule; exports.BackupCodeVerify = _chunk6J2SQZ3Gjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6J2SQZ3Gjs.BackupCodeVerifyModule; exports.Billing = _chunk6J2SQZ3Gjs.Billing; exports.BillingModule = _chunk6J2SQZ3Gjs.BillingModule; exports.BillingService = _chunk6J2SQZ3Gjs.BillingService; exports.BlockNoteDiffUtil = _chunk6J2SQZ3Gjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6J2SQZ3Gjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkV6CGCARDjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunk6J2SQZ3Gjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunk6J2SQZ3Gjs.Chunk; exports.ChunkModule = _chunk6J2SQZ3Gjs.ChunkModule; exports.ClientAbstractService = _chunk6J2SQZ3Gjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6J2SQZ3Gjs.ClientHttpMethod; exports.Company = _chunk6J2SQZ3Gjs.Company; exports.CompanyFields = _chunk6J2SQZ3Gjs.CompanyFields; exports.CompanyModule = _chunk6J2SQZ3Gjs.CompanyModule; exports.CompanyService = _chunk6J2SQZ3Gjs.CompanyService; exports.Content = _chunk6J2SQZ3Gjs.Content; exports.ContentFields = _chunk6J2SQZ3Gjs.ContentFields; exports.ContentModule = _chunk6J2SQZ3Gjs.ContentModule; exports.ContentService = _chunk6J2SQZ3Gjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6J2SQZ3Gjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunk6J2SQZ3Gjs.EndpointCreator; exports.EntityAiStatus = _chunk6J2SQZ3Gjs.EntityAiStatus; exports.Feature = _chunk6J2SQZ3Gjs.Feature; exports.FeatureModule = _chunk6J2SQZ3Gjs.FeatureModule; exports.FeatureService = _chunk6J2SQZ3Gjs.FeatureService; exports.HowTo = _chunk6J2SQZ3Gjs.HowTo; exports.HowToFields = _chunk6J2SQZ3Gjs.HowToFields; exports.HowToModule = _chunk6J2SQZ3Gjs.HowToModule; exports.HowToService = _chunk6J2SQZ3Gjs.HowToService; exports.HttpMethod = _chunk6J2SQZ3Gjs.HttpMethod; exports.InvoiceStatus = _chunk6J2SQZ3Gjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6J2SQZ3Gjs.MOBILE_BREAKPOINT; exports.Module = _chunk6J2SQZ3Gjs.Module; exports.ModuleModule = _chunk6J2SQZ3Gjs.ModuleModule; exports.ModulePaths = _chunk6J2SQZ3Gjs.ModulePaths; exports.ModulePathsModule = _chunk6J2SQZ3Gjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6J2SQZ3Gjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6J2SQZ3Gjs.ModuleRegistry; exports.Modules = _chunk6J2SQZ3Gjs.Modules; exports.Notification = _chunk6J2SQZ3Gjs.Notification; exports.NotificationFields = _chunk6J2SQZ3Gjs.NotificationFields; exports.NotificationModule = _chunk6J2SQZ3Gjs.NotificationModule; exports.NotificationService = _chunk6J2SQZ3Gjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6J2SQZ3Gjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6J2SQZ3Gjs.OAuthClient; exports.OAuthModule = _chunk6J2SQZ3Gjs.OAuthModule; exports.OAuthService = _chunk6J2SQZ3Gjs.OAuthService; exports.Passkey = _chunk6J2SQZ3Gjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6J2SQZ3Gjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6J2SQZ3Gjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6J2SQZ3Gjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6J2SQZ3Gjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6J2SQZ3Gjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6J2SQZ3Gjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6J2SQZ3Gjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6J2SQZ3Gjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6J2SQZ3Gjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6J2SQZ3Gjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6J2SQZ3Gjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6J2SQZ3Gjs.PaymentMethod; exports.PermissionMapping = _chunk6J2SQZ3Gjs.PermissionMapping; exports.PermissionMappingModule = _chunk6J2SQZ3Gjs.PermissionMappingModule; exports.Push = _chunk6J2SQZ3Gjs.Push; exports.PushModule = _chunk6J2SQZ3Gjs.PushModule; exports.PushService = _chunk6J2SQZ3Gjs.PushService; exports.RbacMatrixModel = _chunk6J2SQZ3Gjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk6J2SQZ3Gjs.RbacMatrixModule; exports.RbacService = _chunkV6CGCARDjs.RbacService; exports.ReferralModule = _chunk6J2SQZ3Gjs.ReferralModule; exports.ReferralService = _chunk6J2SQZ3Gjs.ReferralService; exports.ReferralStats = _chunk6J2SQZ3Gjs.ReferralStats; exports.ReferralStatsModule = _chunk6J2SQZ3Gjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6J2SQZ3Gjs.RehydrationFactory; exports.Role = _chunk6J2SQZ3Gjs.Role; exports.RoleFields = _chunk6J2SQZ3Gjs.RoleFields; exports.RoleModule = _chunk6J2SQZ3Gjs.RoleModule; exports.RoleService = _chunk6J2SQZ3Gjs.RoleService; exports.S3 = _chunk6J2SQZ3Gjs.S3; exports.S3Module = _chunk6J2SQZ3Gjs.S3Module; exports.S3Service = _chunk6J2SQZ3Gjs.S3Service; exports.StripeCustomer = _chunk6J2SQZ3Gjs.StripeCustomer; exports.StripeCustomerModule = _chunk6J2SQZ3Gjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6J2SQZ3Gjs.StripeCustomerService; exports.StripeInvoice = _chunk6J2SQZ3Gjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6J2SQZ3Gjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6J2SQZ3Gjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6J2SQZ3Gjs.StripePaymentMethodModule; exports.StripePrice = _chunk6J2SQZ3Gjs.StripePrice; exports.StripePriceFields = _chunk6J2SQZ3Gjs.StripePriceFields; exports.StripePriceModule = _chunk6J2SQZ3Gjs.StripePriceModule; exports.StripePriceService = _chunk6J2SQZ3Gjs.StripePriceService; exports.StripeProduct = _chunk6J2SQZ3Gjs.StripeProduct; exports.StripeProductFields = _chunk6J2SQZ3Gjs.StripeProductFields; exports.StripeProductModule = _chunk6J2SQZ3Gjs.StripeProductModule; exports.StripeProductService = _chunk6J2SQZ3Gjs.StripeProductService; exports.StripePromotionCode = _chunk6J2SQZ3Gjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6J2SQZ3Gjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6J2SQZ3Gjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6J2SQZ3Gjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6J2SQZ3Gjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6J2SQZ3Gjs.StripeSubscriptionService; exports.StripeUsage = _chunk6J2SQZ3Gjs.StripeUsage; exports.StripeUsageModule = _chunk6J2SQZ3Gjs.StripeUsageModule; exports.StripeUsageService = _chunk6J2SQZ3Gjs.StripeUsageService; exports.SubscriptionStatus = _chunk6J2SQZ3Gjs.SubscriptionStatus; exports.TableOptions = _chunk6J2SQZ3Gjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6J2SQZ3Gjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6J2SQZ3Gjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6J2SQZ3Gjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6J2SQZ3Gjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6J2SQZ3Gjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6J2SQZ3Gjs.TotpSetup; exports.TotpSetupModule = _chunk6J2SQZ3Gjs.TotpSetupModule; exports.TotpVerify = _chunk6J2SQZ3Gjs.TotpVerify; exports.TotpVerifyLogin = _chunk6J2SQZ3Gjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6J2SQZ3Gjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6J2SQZ3Gjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6J2SQZ3Gjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6J2SQZ3Gjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6J2SQZ3Gjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6J2SQZ3Gjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6J2SQZ3Gjs.TwoFactorService; exports.TwoFactorStatus = _chunk6J2SQZ3Gjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6J2SQZ3Gjs.TwoFactorStatusModule; exports.User = _chunk6J2SQZ3Gjs.User; exports.UserFields = _chunk6J2SQZ3Gjs.UserFields; exports.UserModule = _chunk6J2SQZ3Gjs.UserModule; exports.UserService = _chunk6J2SQZ3Gjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6J2SQZ3Gjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6J2SQZ3Gjs.Waitlist; exports.WaitlistModule = _chunk6J2SQZ3Gjs.WaitlistModule; exports.WaitlistService = _chunk6J2SQZ3Gjs.WaitlistService; exports.WaitlistStats = _chunk6J2SQZ3Gjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6J2SQZ3Gjs.WaitlistStatsModule; exports.checkPermissions = _chunk6J2SQZ3Gjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6J2SQZ3Gjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6J2SQZ3Gjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk6J2SQZ3Gjs.clearLastApiTotal; exports.cn = _chunk6J2SQZ3Gjs.cn; exports.composeRefs = _chunk6J2SQZ3Gjs.composeRefs; exports.configureAuth = _chunk6J2SQZ3Gjs.configureAuth; exports.configureI18n = _chunkV6CGCARDjs.configureI18n; exports.configureJsonApi = _chunkV6CGCARDjs.configureJsonApi; exports.configureLogin = _chunkV6CGCARDjs.configureLogin; exports.configureReferral = _chunkV6CGCARDjs.configureReferral; exports.configureRoles = _chunkV6CGCARDjs.configureRoles; exports.configureTokenUsage = _chunk6J2SQZ3Gjs.configureTokenUsage; exports.configureWaitlist = _chunkV6CGCARDjs.configureWaitlist; exports.createJsonApiInclusion = _chunk6J2SQZ3Gjs.createJsonApiInclusion; exports.dismissToast = _chunk6J2SQZ3Gjs.dismissToast; exports.entityObjectSchema = _chunk6J2SQZ3Gjs.entityObjectSchema; exports.exists = _chunk6J2SQZ3Gjs.exists; exports.formatCodiceFiscale = _chunk6J2SQZ3Gjs.formatCodiceFiscale; exports.formatDate = _chunk6J2SQZ3Gjs.formatDate; exports.formatLocalDate = _chunk6J2SQZ3Gjs.formatLocalDate; exports.formatPartitaIva = _chunk6J2SQZ3Gjs.formatPartitaIva; exports.getApiUrl = _chunkV6CGCARDjs.getApiUrl; exports.getAppUrl = _chunkV6CGCARDjs.getAppUrl; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6J2SQZ3Gjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6J2SQZ3Gjs.getGlobalErrorHandler; exports.getIcon = _chunk6J2SQZ3Gjs.getIcon; exports.getIconByModule = _chunk6J2SQZ3Gjs.getIconByModule; exports.getIconByModuleName = _chunk6J2SQZ3Gjs.getIconByModuleName; exports.getInitials = _chunk6J2SQZ3Gjs.getInitials; exports.getLastApiMeta = _chunk6J2SQZ3Gjs.getLastApiMeta; exports.getLastApiTotal = _chunk6J2SQZ3Gjs.getLastApiTotal; exports.getLucideIcon = _chunk6J2SQZ3Gjs.getLucideIcon; exports.getLucideIconByModule = _chunk6J2SQZ3Gjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6J2SQZ3Gjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkV6CGCARDjs.getPublicApiUrl; exports.getReferralConfig = _chunkV6CGCARDjs.getReferralConfig; exports.getRoleId = _chunkV6CGCARDjs.getRoleId; exports.getStripePublishableKey = _chunkV6CGCARDjs.getStripePublishableKey; exports.getTableComponents = _chunk6J2SQZ3Gjs.getTableComponents; exports.getTableOptions = _chunk6J2SQZ3Gjs.getTableOptions; exports.getTokenHandler = _chunk6J2SQZ3Gjs.getTokenHandler; exports.getTokenUsageCurrency = _chunk6J2SQZ3Gjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkV6CGCARDjs.getTrackablePages; exports.getValueFromPath = _chunk6J2SQZ3Gjs.getValueFromPath; exports.getWaitlistConfig = _chunkV6CGCARDjs.getWaitlistConfig; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isReferralEnabled = _chunkV6CGCARDjs.isReferralEnabled; exports.isRemoteImageSrc = _chunk6J2SQZ3Gjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkV6CGCARDjs.isRolesConfigured; exports.rehydrate = _chunk6J2SQZ3Gjs.rehydrate; exports.rehydrateList = _chunk6J2SQZ3Gjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6J2SQZ3Gjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6J2SQZ3Gjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6J2SQZ3Gjs.showCustomToast; exports.showError = _chunk6J2SQZ3Gjs.showError; exports.showToast = _chunk6J2SQZ3Gjs.showToast; exports.tokenUsageModules = _chunk6J2SQZ3Gjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunk6J2SQZ3Gjs.useComposedRefs; exports.useIsMobile = _chunk6J2SQZ3Gjs.useIsMobile; exports.userObjectSchema = _chunk6J2SQZ3Gjs.userObjectSchema; exports.validateCodiceFiscale = _chunk6J2SQZ3Gjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6J2SQZ3Gjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk6J2SQZ3Gjs.validatePartitaIva;
|
|
483
483
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getWaitlistConfig,
|
|
19
19
|
isReferralEnabled,
|
|
20
20
|
isRolesConfigured
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IMSIVIIC.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
validateCodiceFiscale,
|
|
227
227
|
validateItalianTaxCode,
|
|
228
228
|
validatePartitaIva
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-M5QAHSCY.mjs";
|
|
230
230
|
import "./chunk-AUXK7QSA.mjs";
|
|
231
231
|
import "./chunk-C7C7VY4F.mjs";
|
|
232
232
|
import {
|
|
@@ -47,6 +47,7 @@ interface OnboardingContextValue {
|
|
|
47
47
|
currentStepIndex: number;
|
|
48
48
|
totalSteps: number;
|
|
49
49
|
}
|
|
50
|
+
type OnboardingTourEndReason = "finished" | "skipped" | "dismissed";
|
|
50
51
|
interface OnboardingProviderProps {
|
|
51
52
|
children: React.ReactNode;
|
|
52
53
|
tours?: OnboardingTourConfig[];
|
|
@@ -54,6 +55,8 @@ interface OnboardingProviderProps {
|
|
|
54
55
|
labels?: OnboardingLabels;
|
|
55
56
|
renderCard?: (props: OnboardingCardRenderProps) => ReactNode;
|
|
56
57
|
zIndex?: number;
|
|
58
|
+
/** Fires once when a tour ends. "finished" = last-step Finish, "skipped" = card Skip/close, "dismissed" = overlay click or Escape. */
|
|
59
|
+
onTourEnd?: (tourId: string, reason: OnboardingTourEndReason) => void;
|
|
57
60
|
}
|
|
58
61
|
interface OnboardingCardRenderProps {
|
|
59
62
|
step: OnboardingStepConfig;
|
|
@@ -68,4 +71,4 @@ interface OnboardingCardRenderProps {
|
|
|
68
71
|
isLast: boolean;
|
|
69
72
|
}
|
|
70
73
|
|
|
71
|
-
export { DEFAULT_ONBOARDING_LABELS as D, type
|
|
74
|
+
export { DEFAULT_ONBOARDING_LABELS as D, type OnboardingStepSide as O, type OnboardingProviderProps as a, type OnboardingContextValue as b, type OnboardingStepConfig as c, type OnboardingTourConfig as d, type OnboardingTourPaths as e, type OnboardingLabels as f, type OnboardingTourEndReason as g, type OnboardingCardRenderProps as h };
|
|
@@ -47,6 +47,7 @@ interface OnboardingContextValue {
|
|
|
47
47
|
currentStepIndex: number;
|
|
48
48
|
totalSteps: number;
|
|
49
49
|
}
|
|
50
|
+
type OnboardingTourEndReason = "finished" | "skipped" | "dismissed";
|
|
50
51
|
interface OnboardingProviderProps {
|
|
51
52
|
children: React.ReactNode;
|
|
52
53
|
tours?: OnboardingTourConfig[];
|
|
@@ -54,6 +55,8 @@ interface OnboardingProviderProps {
|
|
|
54
55
|
labels?: OnboardingLabels;
|
|
55
56
|
renderCard?: (props: OnboardingCardRenderProps) => ReactNode;
|
|
56
57
|
zIndex?: number;
|
|
58
|
+
/** Fires once when a tour ends. "finished" = last-step Finish, "skipped" = card Skip/close, "dismissed" = overlay click or Escape. */
|
|
59
|
+
onTourEnd?: (tourId: string, reason: OnboardingTourEndReason) => void;
|
|
57
60
|
}
|
|
58
61
|
interface OnboardingCardRenderProps {
|
|
59
62
|
step: OnboardingStepConfig;
|
|
@@ -68,4 +71,4 @@ interface OnboardingCardRenderProps {
|
|
|
68
71
|
isLast: boolean;
|
|
69
72
|
}
|
|
70
73
|
|
|
71
|
-
export { DEFAULT_ONBOARDING_LABELS as D, type
|
|
74
|
+
export { DEFAULT_ONBOARDING_LABELS as D, type OnboardingStepSide as O, type OnboardingProviderProps as a, type OnboardingContextValue as b, type OnboardingStepConfig as c, type OnboardingTourConfig as d, type OnboardingTourPaths as e, type OnboardingLabels as f, type OnboardingTourEndReason as g, type OnboardingCardRenderProps as h };
|
package/dist/server/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk6J2SQZ3Gjs = require('../chunk-6J2SQZ3G.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
@@ -87,7 +87,7 @@ var ServerSession = class {
|
|
|
87
87
|
if (!rawModules) return false;
|
|
88
88
|
const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
|
|
89
89
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
90
|
-
return
|
|
90
|
+
return _chunk6J2SQZ3Gjs.checkPermissionsFromServer.call(void 0, {
|
|
91
91
|
module: params.module,
|
|
92
92
|
action: params.action,
|
|
93
93
|
data: params.data,
|
|
@@ -297,5 +297,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
297
297
|
|
|
298
298
|
|
|
299
299
|
|
|
300
|
-
exports.ServerAuthService =
|
|
300
|
+
exports.ServerAuthService = _chunk6J2SQZ3Gjs.AuthService; exports.ServerCompanyService = _chunk6J2SQZ3Gjs.CompanyService; exports.ServerContentService = _chunk6J2SQZ3Gjs.ContentService; exports.ServerFeatureService = _chunk6J2SQZ3Gjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk6J2SQZ3Gjs.NotificationService; exports.ServerPushService = _chunk6J2SQZ3Gjs.PushService; exports.ServerRoleService = _chunk6J2SQZ3Gjs.RoleService; exports.ServerS3Service = _chunk6J2SQZ3Gjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk6J2SQZ3Gjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
|
|
301
301
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carlonicora/nextjs-jsonapi",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"description": "Next.js JSON:API client with server/client support and caching",
|
|
5
5
|
"author": "Carlo Nicora",
|
|
6
6
|
"license": "GPL-3.0-or-later",
|
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
"d3": "^7.9.0",
|
|
142
142
|
"dagre": "^0.8.5",
|
|
143
143
|
"date-fns": "^4.4.0",
|
|
144
|
+
"driver.js": "^1.8.0",
|
|
144
145
|
"embla-carousel-react": "^8.6.0",
|
|
145
146
|
"fuse.js": "^7.5.0",
|
|
146
147
|
"input-otp": "^1.5.0",
|
|
@@ -161,7 +162,6 @@
|
|
|
161
162
|
"rehype-slug": "^6.0.0",
|
|
162
163
|
"remark-gfm": "^4.0.1",
|
|
163
164
|
"shadcn": "^4.19.0",
|
|
164
|
-
"shepherd.js": "^15.3.0",
|
|
165
165
|
"socket.io-client": "^4.8.3",
|
|
166
166
|
"sonner": "^2.0.8",
|
|
167
167
|
"tailwind-merge": "^3.6.0",
|
|
@@ -393,6 +393,7 @@ export function RoundPageContainer({
|
|
|
393
393
|
{/* Flush-left section rail — md and up */}
|
|
394
394
|
<aside
|
|
395
395
|
data-testid="round-page-rail"
|
|
396
|
+
data-help="page.rail"
|
|
396
397
|
className={cn(
|
|
397
398
|
`hidden shrink-0 border-e p-4 md:flex md:w-56 md:flex-col`,
|
|
398
399
|
isFixed && `md:overflow-y-auto`,
|
|
@@ -536,7 +537,7 @@ export function RoundPageContainer({
|
|
|
536
537
|
</div>
|
|
537
538
|
) : (
|
|
538
539
|
<div className="p-4">
|
|
539
|
-
<TabsList>
|
|
540
|
+
<TabsList data-help="page.tabs">
|
|
540
541
|
{tabs.map((tab) => (
|
|
541
542
|
<TabsTrigger key={tab.label} value={tabValue(tab)} className="px-4">
|
|
542
543
|
{tab.contentLabel ?? tab.label}
|
|
@@ -64,6 +64,7 @@ export function RoundPageContainerTitle({
|
|
|
64
64
|
<Tooltip>
|
|
65
65
|
<TooltipTrigger>
|
|
66
66
|
<Button
|
|
67
|
+
data-help="page.details"
|
|
67
68
|
render={<div />}
|
|
68
69
|
nativeButton={false}
|
|
69
70
|
variant={showDetails ? `ghost` : `default`}
|
|
@@ -82,7 +83,11 @@ export function RoundPageContainerTitle({
|
|
|
82
83
|
)}
|
|
83
84
|
</div>
|
|
84
85
|
{title.actionBar && (
|
|
85
|
-
<div
|
|
86
|
+
<div
|
|
87
|
+
data-testid="round-page-action-bar"
|
|
88
|
+
data-help="page.action-bar"
|
|
89
|
+
className="flex w-full items-center gap-x-2 border-t px-4 py-2"
|
|
90
|
+
>
|
|
86
91
|
{/* The bar is the page's command row, so the commands inside it label
|
|
87
92
|
themselves ("Edit", "Delete") instead of rendering the bare glyph
|
|
88
93
|
they use in a table row. See ActionBarContext. */}
|
|
@@ -86,6 +86,7 @@ export function TabsContainer({
|
|
|
86
86
|
<Tabs defaultValue={defaultValue} className="w-full">
|
|
87
87
|
<div className="flex w-full items-center justify-between">
|
|
88
88
|
<TabsList
|
|
89
|
+
data-help="page.tabs"
|
|
89
90
|
className={cn(
|
|
90
91
|
`${style ? `my-4 flex w-full justify-start rounded-none border-b bg-transparent pb-0` : ``}`,
|
|
91
92
|
tabsListClassName,
|
|
@@ -296,6 +296,7 @@ export function EditorSheet<T extends FieldValues>({
|
|
|
296
296
|
render={
|
|
297
297
|
isEdit ? (
|
|
298
298
|
<Button
|
|
299
|
+
data-help="editor.edit"
|
|
299
300
|
render={<div />}
|
|
300
301
|
nativeButton={false}
|
|
301
302
|
size="sm"
|
|
@@ -306,7 +307,7 @@ export function EditorSheet<T extends FieldValues>({
|
|
|
306
307
|
{isLabelled && t("ui.buttons.edit")}
|
|
307
308
|
</Button>
|
|
308
309
|
) : (
|
|
309
|
-
<Button render={<div />} nativeButton={false} size="sm" variant="outline">
|
|
310
|
+
<Button data-help="editor.create" render={<div />} nativeButton={false} size="sm" variant="outline">
|
|
310
311
|
{t("ui.buttons.create")}
|
|
311
312
|
</Button>
|
|
312
313
|
)
|
|
@@ -43,7 +43,7 @@ export function ContentListGrid<T>(props: ContentListGridProps<T>) {
|
|
|
43
43
|
}, [data.next]);
|
|
44
44
|
|
|
45
45
|
return (
|
|
46
|
-
<div className="flex w-full flex-col">
|
|
46
|
+
<div data-help="list.grid" className="flex w-full flex-col">
|
|
47
47
|
<div className={cn("overflow-clip", fullWidth ? "" : "rounded-md border")}>
|
|
48
48
|
{props.title !== undefined && (
|
|
49
49
|
<div className="bg-card text-primary flex items-center justify-between gap-x-2 rounded-t-lg border-b p-4 font-bold">
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
Breadcrumb as UIBreadcrumb,
|
|
20
20
|
} from "../../shadcnui";
|
|
21
21
|
|
|
22
|
-
type BreadcrumbProps = { items: BreadcrumbItemData[]; rootLabel?: string };
|
|
22
|
+
type BreadcrumbProps = { items: BreadcrumbItemData[]; rootLabel?: string; showRoot?: boolean };
|
|
23
23
|
|
|
24
24
|
const ITEMS_TO_DISPLAY = 4;
|
|
25
25
|
|
|
@@ -27,20 +27,26 @@ function BreadcrumbDesktop({
|
|
|
27
27
|
items,
|
|
28
28
|
generateUrl,
|
|
29
29
|
rootLabel,
|
|
30
|
+
showRoot,
|
|
30
31
|
}: {
|
|
31
32
|
items: BreadcrumbItemData[];
|
|
32
33
|
generateUrl: ReturnType<typeof usePageUrlGenerator>;
|
|
33
34
|
rootLabel: string;
|
|
35
|
+
showRoot: boolean;
|
|
34
36
|
}) {
|
|
35
37
|
const [open, setOpen] = useState<boolean>(false);
|
|
36
38
|
|
|
37
39
|
return (
|
|
38
40
|
<UIBreadcrumb>
|
|
39
41
|
<BreadcrumbList>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
{showRoot && (
|
|
43
|
+
<>
|
|
44
|
+
<BreadcrumbItem>
|
|
45
|
+
<Link href={generateUrl({ page: `/` })}>{rootLabel}</Link>
|
|
46
|
+
</BreadcrumbItem>
|
|
47
|
+
{items.length > 0 && <BreadcrumbSeparator />}
|
|
48
|
+
</>
|
|
49
|
+
)}
|
|
44
50
|
|
|
45
51
|
{items.length > ITEMS_TO_DISPLAY ? (
|
|
46
52
|
<>
|
|
@@ -113,17 +119,23 @@ function BreadcrumbMobile({
|
|
|
113
119
|
items,
|
|
114
120
|
generateUrl,
|
|
115
121
|
rootLabel,
|
|
122
|
+
showRoot,
|
|
116
123
|
}: {
|
|
117
124
|
items: BreadcrumbItemData[];
|
|
118
125
|
generateUrl: ReturnType<typeof usePageUrlGenerator>;
|
|
119
126
|
rootLabel: string;
|
|
127
|
+
showRoot: boolean;
|
|
120
128
|
}) {
|
|
121
129
|
const [open, setOpen] = useState<boolean>(false);
|
|
122
130
|
|
|
123
131
|
const lastItem = items[items.length - 1];
|
|
124
|
-
const allItems
|
|
132
|
+
const allItems: BreadcrumbItemData[] = showRoot
|
|
133
|
+
? [{ name: rootLabel, href: generateUrl({ page: `/` }) }, ...items]
|
|
134
|
+
: items;
|
|
125
135
|
|
|
126
136
|
if (!lastItem && items.length === 0) {
|
|
137
|
+
// Nothing to show at all once the root entry is suppressed.
|
|
138
|
+
if (!showRoot) return null;
|
|
127
139
|
return (
|
|
128
140
|
<UIBreadcrumb>
|
|
129
141
|
<BreadcrumbList>
|
|
@@ -158,7 +170,7 @@ function BreadcrumbMobile({
|
|
|
158
170
|
);
|
|
159
171
|
}
|
|
160
172
|
|
|
161
|
-
export function BreadcrumbNavigation({ items, rootLabel }: BreadcrumbProps) {
|
|
173
|
+
export function BreadcrumbNavigation({ items, rootLabel, showRoot = true }: BreadcrumbProps) {
|
|
162
174
|
const generateUrl = usePageUrlGenerator();
|
|
163
175
|
const t = useTranslations();
|
|
164
176
|
const isMobile = useIsMobile();
|
|
@@ -166,8 +178,8 @@ export function BreadcrumbNavigation({ items, rootLabel }: BreadcrumbProps) {
|
|
|
166
178
|
const root = rootLabel?.trim() ? rootLabel : t(`common.home`);
|
|
167
179
|
|
|
168
180
|
if (isMobile) {
|
|
169
|
-
return <BreadcrumbMobile items={items} generateUrl={generateUrl} rootLabel={root} />;
|
|
181
|
+
return <BreadcrumbMobile items={items} generateUrl={generateUrl} rootLabel={root} showRoot={showRoot} />;
|
|
170
182
|
}
|
|
171
183
|
|
|
172
|
-
return <BreadcrumbDesktop items={items} generateUrl={generateUrl} rootLabel={root} />;
|
|
184
|
+
return <BreadcrumbDesktop items={items} generateUrl={generateUrl} rootLabel={root} showRoot={showRoot} />;
|
|
173
185
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import { useIsMobile } from "@/utils";
|
|
4
|
+
import { useIsBreadcrumbRootHidden } from "../../contexts/BreadcrumbRootContext";
|
|
4
5
|
import { useHeaderRootLabel } from "../../contexts/HeaderChildrenContext";
|
|
5
6
|
import { useSharedContext } from "../../contexts/SharedContext";
|
|
6
7
|
import { SidebarTrigger } from "../../shadcnui";
|
|
@@ -19,6 +20,7 @@ type HeaderProps = {
|
|
|
19
20
|
export function Header({ children, mobileChildren, leftContent, logo, className }: HeaderProps) {
|
|
20
21
|
const { breadcrumbs } = useSharedContext();
|
|
21
22
|
const rootLabel = useHeaderRootLabel();
|
|
23
|
+
const isRootHidden = useIsBreadcrumbRootHidden();
|
|
22
24
|
const isMobile = useIsMobile();
|
|
23
25
|
|
|
24
26
|
return (
|
|
@@ -42,7 +44,7 @@ export function Header({ children, mobileChildren, leftContent, logo, className
|
|
|
42
44
|
<SidebarTrigger aria-label="Toggle sidebar" id="sidebar-trigger" />
|
|
43
45
|
{leftContent}
|
|
44
46
|
<div className="flex w-full flex-row items-center justify-start">
|
|
45
|
-
<BreadcrumbNavigation items={breadcrumbs} rootLabel={rootLabel ?? undefined} />
|
|
47
|
+
<BreadcrumbNavigation items={breadcrumbs} rootLabel={rootLabel ?? undefined} showRoot={!isRootHidden} />
|
|
46
48
|
</div>
|
|
47
49
|
{isMobile
|
|
48
50
|
? mobileChildren && (
|
|
@@ -70,6 +70,7 @@ export function MobileNavigationBar({ className }: { className?: string } = {})
|
|
|
70
70
|
<nav
|
|
71
71
|
aria-label="Primary"
|
|
72
72
|
data-testid="mobile-navigation-bar"
|
|
73
|
+
data-help="shell.mobile-nav"
|
|
73
74
|
className={cn("bg-sidebar flex w-full shrink-0 flex-row items-stretch rounded-lg border", className)}
|
|
74
75
|
>
|
|
75
76
|
{items.map((item) => {
|
|
@@ -169,7 +169,7 @@ export const ContentListTable = memo(function ContentListTable(props: ContentLis
|
|
|
169
169
|
const titleIsLarge = (props.titleSize ?? (fullWidth ? `lg` : `sm`)) === `lg`;
|
|
170
170
|
|
|
171
171
|
return (
|
|
172
|
-
<div className="flex w-full flex-col">
|
|
172
|
+
<div data-help="list.table" className="flex w-full flex-col">
|
|
173
173
|
{/* <div className="overflow-clip rounded-md border"> */}
|
|
174
174
|
<div className={cn(`overflow-clip`, fullWidth ? `` : `rounded-md border`)}>
|
|
175
175
|
<Table>
|
|
@@ -78,6 +78,7 @@ export function ContentTableSearch({ data }: ContentTableSearchProps) {
|
|
|
78
78
|
) : (
|
|
79
79
|
<Button
|
|
80
80
|
data-testid="content-table-search-trigger"
|
|
81
|
+
data-help="list.search"
|
|
81
82
|
variant="ghost"
|
|
82
83
|
size="icon-sm"
|
|
83
84
|
className="text-muted-foreground hover:text-foreground absolute top-0 start-0"
|
|
@@ -8,6 +8,7 @@ import type { PartialBlock } from "@blocknote/core";
|
|
|
8
8
|
import { BlockNoteView } from "@blocknote/shadcn";
|
|
9
9
|
import "@blocknote/shadcn/style.css";
|
|
10
10
|
import { useTheme } from "next-themes";
|
|
11
|
+
import { cn } from "../../utils";
|
|
11
12
|
|
|
12
13
|
function normalize(content: unknown): PartialBlock[] | undefined {
|
|
13
14
|
if (Array.isArray(content) && content.length > 0) return content as PartialBlock[];
|
|
@@ -22,10 +23,20 @@ function normalize(content: unknown): PartialBlock[] | undefined {
|
|
|
22
23
|
return undefined;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export function BlockNoteViewer({ content }: { content: unknown }) {
|
|
26
|
+
export function BlockNoteViewer({ content, size }: { content: unknown; size?: "default" | "sm" }) {
|
|
26
27
|
const editor = useCreateBlockNote({ initialContent: normalize(content) });
|
|
27
28
|
// Outside a next-themes ThemeProvider (public pages) resolvedTheme is
|
|
28
29
|
// undefined, so this falls back to "light".
|
|
29
30
|
const { resolvedTheme } = useTheme();
|
|
30
|
-
return
|
|
31
|
+
return (
|
|
32
|
+
<BlockNoteView
|
|
33
|
+
editor={editor}
|
|
34
|
+
editable={false}
|
|
35
|
+
theme={resolvedTheme === "dark" ? "dark" : "light"}
|
|
36
|
+
// Same two classes BlockNoteEditor applies for its `size` prop: the app
|
|
37
|
+
// stylesheet keys the compact recipe off `.BlockNoteView.small`, so a
|
|
38
|
+
// viewer that omits them can only ever render at reading-page size.
|
|
39
|
+
className={cn("BlockNoteView", size === "sm" && "small")}
|
|
40
|
+
/>
|
|
41
|
+
);
|
|
31
42
|
}
|
|
@@ -5,6 +5,9 @@ import React from "react";
|
|
|
5
5
|
|
|
6
6
|
const BlockNoteViewer = dynamic(() => import("./BlockNoteViewer").then((m) => m.BlockNoteViewer), { ssr: false });
|
|
7
7
|
|
|
8
|
-
export const BlockNoteViewerContainer = React.memo(function ViewerContainer(props: {
|
|
8
|
+
export const BlockNoteViewerContainer = React.memo(function ViewerContainer(props: {
|
|
9
|
+
content: unknown;
|
|
10
|
+
size?: "default" | "sm";
|
|
11
|
+
}) {
|
|
9
12
|
return <BlockNoteViewer {...props} />;
|
|
10
13
|
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { createContext, ReactNode, useContext } from "react";
|
|
4
|
+
|
|
5
|
+
const BreadcrumbRootContext = createContext<boolean>(false);
|
|
6
|
+
|
|
7
|
+
interface BreadcrumbRootProviderProps {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
/** When true, the header breadcrumb drops its root ("home") entry for everything below. */
|
|
10
|
+
hidden: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Suppresses the root breadcrumb entry for a whole section of the app.
|
|
15
|
+
*
|
|
16
|
+
* Deliberately NOT part of SharedContext: every page-level provider replaces the
|
|
17
|
+
* SharedContext value wholesale, so a flag stored there would be lost as soon as a
|
|
18
|
+
* nested entity provider (scene, npc, …) supplied its own breadcrumbs. This provider
|
|
19
|
+
* sits above those and survives them.
|
|
20
|
+
*/
|
|
21
|
+
export function BreadcrumbRootProvider({ children, hidden }: BreadcrumbRootProviderProps) {
|
|
22
|
+
return <BreadcrumbRootContext.Provider value={hidden}>{children}</BreadcrumbRootContext.Provider>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** True when the surrounding section asked for the root breadcrumb entry to be hidden. */
|
|
26
|
+
export function useIsBreadcrumbRootHidden(): boolean {
|
|
27
|
+
return useContext(BreadcrumbRootContext);
|
|
28
|
+
}
|
package/src/contexts/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from "../features/how-to/contexts/HowToContext";
|
|
|
8
8
|
export * from "../features/rbac/contexts/RbacContext";
|
|
9
9
|
export * from "../features/assistant/contexts/AssistantContext";
|
|
10
10
|
export * from "./ActionBarContext";
|
|
11
|
+
export * from "./BreadcrumbRootContext";
|
|
11
12
|
export * from "./CommonContext";
|
|
12
13
|
export * from "./DirectionContext";
|
|
13
14
|
export * from "./HeaderChildrenContext";
|
|
@@ -47,7 +47,7 @@ export function AssistantComposer({ onSend, disabled, value: controlled, onValue
|
|
|
47
47
|
className="min-h-[48px] resize-none border-0 bg-transparent focus-visible:ring-0"
|
|
48
48
|
/>
|
|
49
49
|
<Button onClick={submit} disabled={!canSend} size="sm" className="h-8">
|
|
50
|
-
<ArrowUp className="me-1 h-4 w-4" /> {t("
|
|
50
|
+
<ArrowUp className="me-1 h-4 w-4" /> {t("features.assistant.send")}
|
|
51
51
|
</Button>
|
|
52
52
|
</div>
|
|
53
53
|
<div className="text-muted-foreground text-end text-xs">{t("features.assistant.keyboard_hint")}</div>
|
|
@@ -25,8 +25,8 @@ describe("AssistantComposer", () => {
|
|
|
25
25
|
|
|
26
26
|
it("Send is disabled on empty/whitespace", () => {
|
|
27
27
|
render(<AssistantComposer onSend={vi.fn()} />);
|
|
28
|
-
//
|
|
29
|
-
const send = screen.getByRole("button", { name: /
|
|
28
|
+
// The send button renders the raw features.assistant.send key under the test intl stub.
|
|
29
|
+
const send = screen.getByRole("button", { name: /features\.assistant\.send/i });
|
|
30
30
|
expect(send).toBeDisabled();
|
|
31
31
|
});
|
|
32
32
|
});
|