@carlonicora/nextjs-jsonapi 1.86.0 → 1.87.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-7TZA4XEN.mjs → BlockNoteEditor-7KIMGZC2.mjs} +26 -7
- package/dist/BlockNoteEditor-7KIMGZC2.mjs.map +1 -0
- package/dist/{BlockNoteEditor-KRDP6OSE.js → BlockNoteEditor-WKJFAEPW.js} +36 -17
- package/dist/BlockNoteEditor-WKJFAEPW.js.map +1 -0
- package/dist/{JsonApiRequest-I2S75QTJ.mjs → JsonApiRequest-IYL5RZ7I.mjs} +2 -2
- package/dist/JsonApiRequest-OSGJ63XR.js +24 -0
- package/dist/{JsonApiRequest-CRRH5B5V.js.map → JsonApiRequest-OSGJ63XR.js.map} +1 -1
- package/dist/billing/index.js +347 -347
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-6UMB5LTQ.mjs → chunk-3KDGODJ7.mjs} +5 -5
- package/dist/{chunk-NEJ7CDM3.mjs → chunk-CK3BMQWY.mjs} +3 -3
- package/dist/{chunk-KJ4ETLJB.mjs → chunk-IEJYBQ6J.mjs} +2 -2
- package/dist/{chunk-KJ4ETLJB.mjs.map → chunk-IEJYBQ6J.mjs.map} +1 -1
- package/dist/{chunk-3ZPK4QOB.js → chunk-IOLU4ASD.js} +2 -2
- package/dist/{chunk-3ZPK4QOB.js.map → chunk-IOLU4ASD.js.map} +1 -1
- package/dist/{chunk-4MN547K7.js → chunk-J5LROFGL.js} +2 -2
- package/dist/{chunk-4MN547K7.js.map → chunk-J5LROFGL.js.map} +1 -1
- package/dist/{chunk-BTKJFMFL.mjs → chunk-KK7PYKVI.mjs} +2 -2
- package/dist/{chunk-CZ56O6JZ.mjs → chunk-NQVPYC5J.mjs} +1411 -1305
- package/dist/chunk-NQVPYC5J.mjs.map +1 -0
- package/dist/{chunk-2AK4GRIB.js → chunk-SE5HIHJS.js} +9 -9
- package/dist/{chunk-2AK4GRIB.js.map → chunk-SE5HIHJS.js.map} +1 -1
- package/dist/{chunk-N4YZ45SK.js → chunk-XAWKRNYM.js} +30 -30
- package/dist/{chunk-N4YZ45SK.js.map → chunk-XAWKRNYM.js.map} +1 -1
- package/dist/{chunk-AMP2ZDAV.js → chunk-YRGMYOY6.js} +797 -691
- package/dist/chunk-YRGMYOY6.js.map +1 -0
- package/dist/client/index.js +5 -5
- package/dist/client/index.mjs +4 -4
- package/dist/components/index.d.mts +45 -2
- package/dist/components/index.d.ts +45 -2
- package/dist/components/index.js +9 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +8 -4
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.js +3 -3
- package/dist/core/index.mjs +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/{request-XABCMU25.mjs → request-6VYDNP5T.mjs} +2 -2
- package/dist/request-UR7VPG3G.js +8 -0
- package/dist/request-UR7VPG3G.js.map +1 -0
- package/dist/server/index.js +18 -18
- package/dist/server/index.mjs +3 -3
- package/package.json +2 -1
- package/src/components/editors/BlockNoteEditor.tsx +27 -1
- package/src/components/editors/BlockNoteEditorMentionInlineContent.tsx +54 -0
- package/src/components/editors/BlockNoteEditorSuggestionMenuController.tsx +87 -0
- package/src/components/editors/index.ts +2 -0
- package/src/hooks/url.rewriter.ts +1 -4
- package/src/server/request.ts +1 -1
- package/dist/BlockNoteEditor-7TZA4XEN.mjs.map +0 -1
- package/dist/BlockNoteEditor-KRDP6OSE.js.map +0 -1
- package/dist/JsonApiRequest-CRRH5B5V.js +0 -24
- package/dist/chunk-AMP2ZDAV.js.map +0 -1
- package/dist/chunk-CZ56O6JZ.mjs.map +0 -1
- package/dist/request-GBLBPYFM.js +0 -8
- package/dist/request-GBLBPYFM.js.map +0 -1
- /package/dist/{JsonApiRequest-I2S75QTJ.mjs.map → JsonApiRequest-IYL5RZ7I.mjs.map} +0 -0
- /package/dist/{chunk-6UMB5LTQ.mjs.map → chunk-3KDGODJ7.mjs.map} +0 -0
- /package/dist/{chunk-NEJ7CDM3.mjs.map → chunk-CK3BMQWY.mjs.map} +0 -0
- /package/dist/{chunk-BTKJFMFL.mjs.map → chunk-KK7PYKVI.mjs.map} +0 -0
- /package/dist/{request-XABCMU25.mjs.map → request-6VYDNP5T.mjs.map} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
var
|
|
175
|
+
var _chunkXAWKRNYMjs = require('../chunk-XAWKRNYM.js');
|
|
176
176
|
require('../chunk-LXKSUWAV.js');
|
|
177
177
|
require('../chunk-IBS6NI7D.js');
|
|
178
178
|
|
|
@@ -185,7 +185,7 @@ require('../chunk-IBS6NI7D.js');
|
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
|
|
188
|
-
var
|
|
188
|
+
var _chunkJ5LROFGLjs = require('../chunk-J5LROFGL.js');
|
|
189
189
|
require('../chunk-7QVYU63E.js');
|
|
190
190
|
|
|
191
191
|
|
|
@@ -371,5 +371,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
371
371
|
|
|
372
372
|
|
|
373
373
|
|
|
374
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkN4YZ45SKjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkN4YZ45SKjs.AbstractApiData; exports.AbstractService = _chunkN4YZ45SKjs.AbstractService; exports.Action = _chunkN4YZ45SKjs.Action; exports.Assistant = _chunkN4YZ45SKjs.Assistant; exports.AssistantMessage = _chunkN4YZ45SKjs.AssistantMessage; exports.AssistantMessageModule = _chunkN4YZ45SKjs.AssistantMessageModule; exports.AssistantMessageService = _chunkN4YZ45SKjs.AssistantMessageService; exports.AssistantModule = _chunkN4YZ45SKjs.AssistantModule; exports.AssistantService = _chunkN4YZ45SKjs.AssistantService; exports.AuditLog = _chunkN4YZ45SKjs.AuditLog; exports.AuditLogModule = _chunkN4YZ45SKjs.AuditLogModule; exports.AuditLogService = _chunkN4YZ45SKjs.AuditLogService; exports.Auth = _chunkN4YZ45SKjs.Auth; exports.AuthComponent = _chunkN4YZ45SKjs.AuthComponent; exports.AuthModule = _chunkN4YZ45SKjs.AuthModule; exports.AuthService = _chunkN4YZ45SKjs.AuthService; exports.AuthorModule = _chunkN4YZ45SKjs.AuthorModule; exports.BackupCodeVerify = _chunkN4YZ45SKjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkN4YZ45SKjs.BackupCodeVerifyModule; exports.Billing = _chunkN4YZ45SKjs.Billing; exports.BillingModule = _chunkN4YZ45SKjs.BillingModule; exports.BillingService = _chunkN4YZ45SKjs.BillingService; exports.BlockNoteDiffUtil = _chunkN4YZ45SKjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkN4YZ45SKjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkN4YZ45SKjs.Chunk; exports.ChunkModule = _chunkN4YZ45SKjs.ChunkModule; exports.ClientAbstractService = _chunkN4YZ45SKjs.ClientAbstractService; exports.ClientHttpMethod = _chunkN4YZ45SKjs.ClientHttpMethod; exports.Company = _chunkN4YZ45SKjs.Company; exports.CompanyFields = _chunkN4YZ45SKjs.CompanyFields; exports.CompanyModule = _chunkN4YZ45SKjs.CompanyModule; exports.CompanyService = _chunkN4YZ45SKjs.CompanyService; exports.Content = _chunkN4YZ45SKjs.Content; exports.ContentFields = _chunkN4YZ45SKjs.ContentFields; exports.ContentModule = _chunkN4YZ45SKjs.ContentModule; exports.ContentService = _chunkN4YZ45SKjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkN4YZ45SKjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkN4YZ45SKjs.EndpointCreator; exports.Feature = _chunkN4YZ45SKjs.Feature; exports.FeatureModule = _chunkN4YZ45SKjs.FeatureModule; exports.FeatureService = _chunkN4YZ45SKjs.FeatureService; exports.HowTo = _chunkN4YZ45SKjs.HowTo; exports.HowToFields = _chunkN4YZ45SKjs.HowToFields; exports.HowToModule = _chunkN4YZ45SKjs.HowToModule; exports.HowToService = _chunkN4YZ45SKjs.HowToService; exports.HttpMethod = _chunkN4YZ45SKjs.HttpMethod; exports.InvoiceStatus = _chunkN4YZ45SKjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkN4YZ45SKjs.Module; exports.ModuleModule = _chunkN4YZ45SKjs.ModuleModule; exports.ModulePathsModule = _chunkN4YZ45SKjs.ModulePathsModule; exports.ModuleRegistrar = _chunkN4YZ45SKjs.ModuleRegistrar; exports.ModuleRegistry = _chunkN4YZ45SKjs.ModuleRegistry; exports.Modules = _chunkN4YZ45SKjs.Modules; exports.Notification = _chunkN4YZ45SKjs.Notification; exports.NotificationFields = _chunkN4YZ45SKjs.NotificationFields; exports.NotificationModule = _chunkN4YZ45SKjs.NotificationModule; exports.NotificationService = _chunkN4YZ45SKjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkN4YZ45SKjs.OAuthClient; exports.OAuthModule = _chunkN4YZ45SKjs.OAuthModule; exports.OAuthService = _chunkN4YZ45SKjs.OAuthService; exports.Passkey = _chunkN4YZ45SKjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkN4YZ45SKjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkN4YZ45SKjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkN4YZ45SKjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkN4YZ45SKjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkN4YZ45SKjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkN4YZ45SKjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkN4YZ45SKjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkN4YZ45SKjs.PasskeyRename; exports.PasskeyRenameModule = _chunkN4YZ45SKjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkN4YZ45SKjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkN4YZ45SKjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkN4YZ45SKjs.PaymentMethod; exports.PermissionMappingModule = _chunkN4YZ45SKjs.PermissionMappingModule; exports.Push = _chunkN4YZ45SKjs.Push; exports.PushModule = _chunkN4YZ45SKjs.PushModule; exports.PushService = _chunkN4YZ45SKjs.PushService; exports.RbacMatrixModule = _chunkN4YZ45SKjs.RbacMatrixModule; exports.ReferralModule = _chunkN4YZ45SKjs.ReferralModule; exports.ReferralService = _chunkN4YZ45SKjs.ReferralService; exports.ReferralStats = _chunkN4YZ45SKjs.ReferralStats; exports.ReferralStatsModule = _chunkN4YZ45SKjs.ReferralStatsModule; exports.RehydrationFactory = _chunkN4YZ45SKjs.RehydrationFactory; exports.Role = _chunkN4YZ45SKjs.Role; exports.RoleFields = _chunkN4YZ45SKjs.RoleFields; exports.RoleModule = _chunkN4YZ45SKjs.RoleModule; exports.RoleService = _chunkN4YZ45SKjs.RoleService; exports.S3 = _chunkN4YZ45SKjs.S3; exports.S3Module = _chunkN4YZ45SKjs.S3Module; exports.S3Service = _chunkN4YZ45SKjs.S3Service; exports.StripeCustomer = _chunkN4YZ45SKjs.StripeCustomer; exports.StripeCustomerModule = _chunkN4YZ45SKjs.StripeCustomerModule; exports.StripeCustomerService = _chunkN4YZ45SKjs.StripeCustomerService; exports.StripeInvoice = _chunkN4YZ45SKjs.StripeInvoice; exports.StripeInvoiceModule = _chunkN4YZ45SKjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkN4YZ45SKjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkN4YZ45SKjs.StripePaymentMethodModule; exports.StripePrice = _chunkN4YZ45SKjs.StripePrice; exports.StripePriceModule = _chunkN4YZ45SKjs.StripePriceModule; exports.StripePriceService = _chunkN4YZ45SKjs.StripePriceService; exports.StripeProduct = _chunkN4YZ45SKjs.StripeProduct; exports.StripeProductModule = _chunkN4YZ45SKjs.StripeProductModule; exports.StripeProductService = _chunkN4YZ45SKjs.StripeProductService; exports.StripePromotionCode = _chunkN4YZ45SKjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkN4YZ45SKjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkN4YZ45SKjs.StripePromotionCodeService; exports.StripeSubscription = _chunkN4YZ45SKjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkN4YZ45SKjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkN4YZ45SKjs.StripeSubscriptionService; exports.StripeUsage = _chunkN4YZ45SKjs.StripeUsage; exports.StripeUsageModule = _chunkN4YZ45SKjs.StripeUsageModule; exports.StripeUsageService = _chunkN4YZ45SKjs.StripeUsageService; exports.SubscriptionStatus = _chunkN4YZ45SKjs.SubscriptionStatus; exports.TableOptions = _chunkN4YZ45SKjs.TableOptions; exports.TotpAuthenticator = _chunkN4YZ45SKjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkN4YZ45SKjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkN4YZ45SKjs.TotpSetup; exports.TotpSetupModule = _chunkN4YZ45SKjs.TotpSetupModule; exports.TotpVerify = _chunkN4YZ45SKjs.TotpVerify; exports.TotpVerifyLogin = _chunkN4YZ45SKjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkN4YZ45SKjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkN4YZ45SKjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkN4YZ45SKjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkN4YZ45SKjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkN4YZ45SKjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkN4YZ45SKjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkN4YZ45SKjs.TwoFactorService; exports.TwoFactorStatus = _chunkN4YZ45SKjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkN4YZ45SKjs.TwoFactorStatusModule; exports.User = _chunkN4YZ45SKjs.User; exports.UserFields = _chunkN4YZ45SKjs.UserFields; exports.UserModule = _chunkN4YZ45SKjs.UserModule; exports.UserService = _chunkN4YZ45SKjs.UserService; exports.Waitlist = _chunkN4YZ45SKjs.Waitlist; exports.WaitlistModule = _chunkN4YZ45SKjs.WaitlistModule; exports.WaitlistService = _chunkN4YZ45SKjs.WaitlistService; exports.WaitlistStats = _chunkN4YZ45SKjs.WaitlistStats; exports.WaitlistStatsModule = _chunkN4YZ45SKjs.WaitlistStatsModule; exports.checkPermissions = _chunkN4YZ45SKjs.checkPermissions; exports.checkPermissionsFromServer = _chunkN4YZ45SKjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkN4YZ45SKjs.clearLastApiTotal; exports.cn = _chunkN4YZ45SKjs.cn; exports.composeRefs = _chunkN4YZ45SKjs.composeRefs; exports.createJsonApiInclusion = _chunkN4YZ45SKjs.createJsonApiInclusion; exports.dismissToast = _chunkN4YZ45SKjs.dismissToast; exports.entityObjectSchema = _chunkN4YZ45SKjs.entityObjectSchema; exports.exists = _chunkN4YZ45SKjs.exists; exports.formatDate = _chunkN4YZ45SKjs.formatDate; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkN4YZ45SKjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkN4YZ45SKjs.getGlobalErrorHandler; exports.getIcon = _chunkN4YZ45SKjs.getIcon; exports.getIconByModule = _chunkN4YZ45SKjs.getIconByModule; exports.getIconByModuleName = _chunkN4YZ45SKjs.getIconByModuleName; exports.getInitials = _chunkN4YZ45SKjs.getInitials; exports.getLastApiTotal = _chunkN4YZ45SKjs.getLastApiTotal; exports.getLucideIcon = _chunkN4YZ45SKjs.getLucideIcon; exports.getLucideIconByModule = _chunkN4YZ45SKjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkN4YZ45SKjs.getLucideIconByModuleName; exports.getTableComponents = _chunkN4YZ45SKjs.getTableComponents; exports.getTableOptions = _chunkN4YZ45SKjs.getTableOptions; exports.getValueFromPath = _chunkN4YZ45SKjs.getValueFromPath; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.rehydrate = _chunkN4YZ45SKjs.rehydrate; exports.rehydrateList = _chunkN4YZ45SKjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkN4YZ45SKjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkN4YZ45SKjs.setGlobalErrorHandler; exports.showCustomToast = _chunkN4YZ45SKjs.showCustomToast; exports.showError = _chunkN4YZ45SKjs.showError; exports.showToast = _chunkN4YZ45SKjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkN4YZ45SKjs.useComposedRefs; exports.useIsMobile = _chunkN4YZ45SKjs.useIsMobile; exports.userObjectSchema = _chunkN4YZ45SKjs.userObjectSchema;
|
|
374
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunkXAWKRNYMjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkXAWKRNYMjs.AbstractApiData; exports.AbstractService = _chunkXAWKRNYMjs.AbstractService; exports.Action = _chunkXAWKRNYMjs.Action; exports.Assistant = _chunkXAWKRNYMjs.Assistant; exports.AssistantMessage = _chunkXAWKRNYMjs.AssistantMessage; exports.AssistantMessageModule = _chunkXAWKRNYMjs.AssistantMessageModule; exports.AssistantMessageService = _chunkXAWKRNYMjs.AssistantMessageService; exports.AssistantModule = _chunkXAWKRNYMjs.AssistantModule; exports.AssistantService = _chunkXAWKRNYMjs.AssistantService; exports.AuditLog = _chunkXAWKRNYMjs.AuditLog; exports.AuditLogModule = _chunkXAWKRNYMjs.AuditLogModule; exports.AuditLogService = _chunkXAWKRNYMjs.AuditLogService; exports.Auth = _chunkXAWKRNYMjs.Auth; exports.AuthComponent = _chunkXAWKRNYMjs.AuthComponent; exports.AuthModule = _chunkXAWKRNYMjs.AuthModule; exports.AuthService = _chunkXAWKRNYMjs.AuthService; exports.AuthorModule = _chunkXAWKRNYMjs.AuthorModule; exports.BackupCodeVerify = _chunkXAWKRNYMjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkXAWKRNYMjs.BackupCodeVerifyModule; exports.Billing = _chunkXAWKRNYMjs.Billing; exports.BillingModule = _chunkXAWKRNYMjs.BillingModule; exports.BillingService = _chunkXAWKRNYMjs.BillingService; exports.BlockNoteDiffUtil = _chunkXAWKRNYMjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkXAWKRNYMjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkXAWKRNYMjs.Chunk; exports.ChunkModule = _chunkXAWKRNYMjs.ChunkModule; exports.ClientAbstractService = _chunkXAWKRNYMjs.ClientAbstractService; exports.ClientHttpMethod = _chunkXAWKRNYMjs.ClientHttpMethod; exports.Company = _chunkXAWKRNYMjs.Company; exports.CompanyFields = _chunkXAWKRNYMjs.CompanyFields; exports.CompanyModule = _chunkXAWKRNYMjs.CompanyModule; exports.CompanyService = _chunkXAWKRNYMjs.CompanyService; exports.Content = _chunkXAWKRNYMjs.Content; exports.ContentFields = _chunkXAWKRNYMjs.ContentFields; exports.ContentModule = _chunkXAWKRNYMjs.ContentModule; exports.ContentService = _chunkXAWKRNYMjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkXAWKRNYMjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkXAWKRNYMjs.EndpointCreator; exports.Feature = _chunkXAWKRNYMjs.Feature; exports.FeatureModule = _chunkXAWKRNYMjs.FeatureModule; exports.FeatureService = _chunkXAWKRNYMjs.FeatureService; exports.HowTo = _chunkXAWKRNYMjs.HowTo; exports.HowToFields = _chunkXAWKRNYMjs.HowToFields; exports.HowToModule = _chunkXAWKRNYMjs.HowToModule; exports.HowToService = _chunkXAWKRNYMjs.HowToService; exports.HttpMethod = _chunkXAWKRNYMjs.HttpMethod; exports.InvoiceStatus = _chunkXAWKRNYMjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkXAWKRNYMjs.Module; exports.ModuleModule = _chunkXAWKRNYMjs.ModuleModule; exports.ModulePathsModule = _chunkXAWKRNYMjs.ModulePathsModule; exports.ModuleRegistrar = _chunkXAWKRNYMjs.ModuleRegistrar; exports.ModuleRegistry = _chunkXAWKRNYMjs.ModuleRegistry; exports.Modules = _chunkXAWKRNYMjs.Modules; exports.Notification = _chunkXAWKRNYMjs.Notification; exports.NotificationFields = _chunkXAWKRNYMjs.NotificationFields; exports.NotificationModule = _chunkXAWKRNYMjs.NotificationModule; exports.NotificationService = _chunkXAWKRNYMjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkXAWKRNYMjs.OAuthClient; exports.OAuthModule = _chunkXAWKRNYMjs.OAuthModule; exports.OAuthService = _chunkXAWKRNYMjs.OAuthService; exports.Passkey = _chunkXAWKRNYMjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkXAWKRNYMjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkXAWKRNYMjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkXAWKRNYMjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkXAWKRNYMjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkXAWKRNYMjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkXAWKRNYMjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkXAWKRNYMjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkXAWKRNYMjs.PasskeyRename; exports.PasskeyRenameModule = _chunkXAWKRNYMjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkXAWKRNYMjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkXAWKRNYMjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkXAWKRNYMjs.PaymentMethod; exports.PermissionMappingModule = _chunkXAWKRNYMjs.PermissionMappingModule; exports.Push = _chunkXAWKRNYMjs.Push; exports.PushModule = _chunkXAWKRNYMjs.PushModule; exports.PushService = _chunkXAWKRNYMjs.PushService; exports.RbacMatrixModule = _chunkXAWKRNYMjs.RbacMatrixModule; exports.ReferralModule = _chunkXAWKRNYMjs.ReferralModule; exports.ReferralService = _chunkXAWKRNYMjs.ReferralService; exports.ReferralStats = _chunkXAWKRNYMjs.ReferralStats; exports.ReferralStatsModule = _chunkXAWKRNYMjs.ReferralStatsModule; exports.RehydrationFactory = _chunkXAWKRNYMjs.RehydrationFactory; exports.Role = _chunkXAWKRNYMjs.Role; exports.RoleFields = _chunkXAWKRNYMjs.RoleFields; exports.RoleModule = _chunkXAWKRNYMjs.RoleModule; exports.RoleService = _chunkXAWKRNYMjs.RoleService; exports.S3 = _chunkXAWKRNYMjs.S3; exports.S3Module = _chunkXAWKRNYMjs.S3Module; exports.S3Service = _chunkXAWKRNYMjs.S3Service; exports.StripeCustomer = _chunkXAWKRNYMjs.StripeCustomer; exports.StripeCustomerModule = _chunkXAWKRNYMjs.StripeCustomerModule; exports.StripeCustomerService = _chunkXAWKRNYMjs.StripeCustomerService; exports.StripeInvoice = _chunkXAWKRNYMjs.StripeInvoice; exports.StripeInvoiceModule = _chunkXAWKRNYMjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkXAWKRNYMjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkXAWKRNYMjs.StripePaymentMethodModule; exports.StripePrice = _chunkXAWKRNYMjs.StripePrice; exports.StripePriceModule = _chunkXAWKRNYMjs.StripePriceModule; exports.StripePriceService = _chunkXAWKRNYMjs.StripePriceService; exports.StripeProduct = _chunkXAWKRNYMjs.StripeProduct; exports.StripeProductModule = _chunkXAWKRNYMjs.StripeProductModule; exports.StripeProductService = _chunkXAWKRNYMjs.StripeProductService; exports.StripePromotionCode = _chunkXAWKRNYMjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkXAWKRNYMjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkXAWKRNYMjs.StripePromotionCodeService; exports.StripeSubscription = _chunkXAWKRNYMjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkXAWKRNYMjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkXAWKRNYMjs.StripeSubscriptionService; exports.StripeUsage = _chunkXAWKRNYMjs.StripeUsage; exports.StripeUsageModule = _chunkXAWKRNYMjs.StripeUsageModule; exports.StripeUsageService = _chunkXAWKRNYMjs.StripeUsageService; exports.SubscriptionStatus = _chunkXAWKRNYMjs.SubscriptionStatus; exports.TableOptions = _chunkXAWKRNYMjs.TableOptions; exports.TotpAuthenticator = _chunkXAWKRNYMjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkXAWKRNYMjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkXAWKRNYMjs.TotpSetup; exports.TotpSetupModule = _chunkXAWKRNYMjs.TotpSetupModule; exports.TotpVerify = _chunkXAWKRNYMjs.TotpVerify; exports.TotpVerifyLogin = _chunkXAWKRNYMjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkXAWKRNYMjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkXAWKRNYMjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkXAWKRNYMjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkXAWKRNYMjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkXAWKRNYMjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkXAWKRNYMjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkXAWKRNYMjs.TwoFactorService; exports.TwoFactorStatus = _chunkXAWKRNYMjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkXAWKRNYMjs.TwoFactorStatusModule; exports.User = _chunkXAWKRNYMjs.User; exports.UserFields = _chunkXAWKRNYMjs.UserFields; exports.UserModule = _chunkXAWKRNYMjs.UserModule; exports.UserService = _chunkXAWKRNYMjs.UserService; exports.Waitlist = _chunkXAWKRNYMjs.Waitlist; exports.WaitlistModule = _chunkXAWKRNYMjs.WaitlistModule; exports.WaitlistService = _chunkXAWKRNYMjs.WaitlistService; exports.WaitlistStats = _chunkXAWKRNYMjs.WaitlistStats; exports.WaitlistStatsModule = _chunkXAWKRNYMjs.WaitlistStatsModule; exports.checkPermissions = _chunkXAWKRNYMjs.checkPermissions; exports.checkPermissionsFromServer = _chunkXAWKRNYMjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkXAWKRNYMjs.clearLastApiTotal; exports.cn = _chunkXAWKRNYMjs.cn; exports.composeRefs = _chunkXAWKRNYMjs.composeRefs; exports.createJsonApiInclusion = _chunkXAWKRNYMjs.createJsonApiInclusion; exports.dismissToast = _chunkXAWKRNYMjs.dismissToast; exports.entityObjectSchema = _chunkXAWKRNYMjs.entityObjectSchema; exports.exists = _chunkXAWKRNYMjs.exists; exports.formatDate = _chunkXAWKRNYMjs.formatDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkXAWKRNYMjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkXAWKRNYMjs.getGlobalErrorHandler; exports.getIcon = _chunkXAWKRNYMjs.getIcon; exports.getIconByModule = _chunkXAWKRNYMjs.getIconByModule; exports.getIconByModuleName = _chunkXAWKRNYMjs.getIconByModuleName; exports.getInitials = _chunkXAWKRNYMjs.getInitials; exports.getLastApiTotal = _chunkXAWKRNYMjs.getLastApiTotal; exports.getLucideIcon = _chunkXAWKRNYMjs.getLucideIcon; exports.getLucideIconByModule = _chunkXAWKRNYMjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkXAWKRNYMjs.getLucideIconByModuleName; exports.getTableComponents = _chunkXAWKRNYMjs.getTableComponents; exports.getTableOptions = _chunkXAWKRNYMjs.getTableOptions; exports.getValueFromPath = _chunkXAWKRNYMjs.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkXAWKRNYMjs.rehydrate; exports.rehydrateList = _chunkXAWKRNYMjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkXAWKRNYMjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkXAWKRNYMjs.setGlobalErrorHandler; exports.showCustomToast = _chunkXAWKRNYMjs.showCustomToast; exports.showError = _chunkXAWKRNYMjs.showError; exports.showToast = _chunkXAWKRNYMjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkXAWKRNYMjs.useComposedRefs; exports.useIsMobile = _chunkXAWKRNYMjs.useIsMobile; exports.userObjectSchema = _chunkXAWKRNYMjs.userObjectSchema;
|
|
375
375
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.mjs
CHANGED
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
useComposedRefs,
|
|
173
173
|
useIsMobile,
|
|
174
174
|
userObjectSchema
|
|
175
|
-
} from "../chunk-
|
|
175
|
+
} from "../chunk-3KDGODJ7.mjs";
|
|
176
176
|
import "../chunk-AUXK7QSA.mjs";
|
|
177
177
|
import "../chunk-C7C7VY4F.mjs";
|
|
178
178
|
import {
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
translateData,
|
|
186
186
|
translateResponse,
|
|
187
187
|
tryBootstrap
|
|
188
|
-
} from "../chunk-
|
|
188
|
+
} from "../chunk-KK7PYKVI.mjs";
|
|
189
189
|
import "../chunk-PAWJFY3S.mjs";
|
|
190
190
|
export {
|
|
191
191
|
AVAILABLE_OAUTH_SCOPES,
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkSE5HIHJSjs = require('./chunk-SE5HIHJS.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -198,7 +198,7 @@ var _chunk2AK4GRIBjs = require('./chunk-2AK4GRIB.js');
|
|
|
198
198
|
|
|
199
199
|
|
|
200
200
|
|
|
201
|
-
var
|
|
201
|
+
var _chunkXAWKRNYMjs = require('./chunk-XAWKRNYM.js');
|
|
202
202
|
require('./chunk-LXKSUWAV.js');
|
|
203
203
|
require('./chunk-IBS6NI7D.js');
|
|
204
204
|
|
|
@@ -211,7 +211,7 @@ require('./chunk-IBS6NI7D.js');
|
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
|
|
214
|
-
var
|
|
214
|
+
var _chunkJ5LROFGLjs = require('./chunk-J5LROFGL.js');
|
|
215
215
|
require('./chunk-7QVYU63E.js');
|
|
216
216
|
|
|
217
217
|
|
|
@@ -421,5 +421,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
|
|
424
|
-
exports.ACTION_TYPES = _chunk2AK4GRIBjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkN4YZ45SKjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkN4YZ45SKjs.AbstractApiData; exports.AbstractService = _chunkN4YZ45SKjs.AbstractService; exports.Action = _chunkN4YZ45SKjs.Action; exports.Assistant = _chunkN4YZ45SKjs.Assistant; exports.AssistantMessage = _chunkN4YZ45SKjs.AssistantMessage; exports.AssistantMessageModule = _chunkN4YZ45SKjs.AssistantMessageModule; exports.AssistantMessageService = _chunkN4YZ45SKjs.AssistantMessageService; exports.AssistantModule = _chunkN4YZ45SKjs.AssistantModule; exports.AssistantService = _chunkN4YZ45SKjs.AssistantService; exports.AuditLog = _chunkN4YZ45SKjs.AuditLog; exports.AuditLogModule = _chunkN4YZ45SKjs.AuditLogModule; exports.AuditLogService = _chunkN4YZ45SKjs.AuditLogService; exports.Auth = _chunkN4YZ45SKjs.Auth; exports.AuthComponent = _chunkN4YZ45SKjs.AuthComponent; exports.AuthModule = _chunkN4YZ45SKjs.AuthModule; exports.AuthService = _chunkN4YZ45SKjs.AuthService; exports.AuthorModule = _chunkN4YZ45SKjs.AuthorModule; exports.BackupCodeVerify = _chunkN4YZ45SKjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkN4YZ45SKjs.BackupCodeVerifyModule; exports.Billing = _chunkN4YZ45SKjs.Billing; exports.BillingModule = _chunkN4YZ45SKjs.BillingModule; exports.BillingService = _chunkN4YZ45SKjs.BillingService; exports.BlockNoteDiffUtil = _chunkN4YZ45SKjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkN4YZ45SKjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk2AK4GRIBjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkN4YZ45SKjs.Chunk; exports.ChunkModule = _chunkN4YZ45SKjs.ChunkModule; exports.ClientAbstractService = _chunkN4YZ45SKjs.ClientAbstractService; exports.ClientHttpMethod = _chunkN4YZ45SKjs.ClientHttpMethod; exports.Company = _chunkN4YZ45SKjs.Company; exports.CompanyFields = _chunkN4YZ45SKjs.CompanyFields; exports.CompanyModule = _chunkN4YZ45SKjs.CompanyModule; exports.CompanyService = _chunkN4YZ45SKjs.CompanyService; exports.Content = _chunkN4YZ45SKjs.Content; exports.ContentFields = _chunkN4YZ45SKjs.ContentFields; exports.ContentModule = _chunkN4YZ45SKjs.ContentModule; exports.ContentService = _chunkN4YZ45SKjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkN4YZ45SKjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkN4YZ45SKjs.EndpointCreator; exports.Feature = _chunkN4YZ45SKjs.Feature; exports.FeatureModule = _chunkN4YZ45SKjs.FeatureModule; exports.FeatureService = _chunkN4YZ45SKjs.FeatureService; exports.HowTo = _chunkN4YZ45SKjs.HowTo; exports.HowToFields = _chunkN4YZ45SKjs.HowToFields; exports.HowToModule = _chunkN4YZ45SKjs.HowToModule; exports.HowToService = _chunkN4YZ45SKjs.HowToService; exports.HttpMethod = _chunkN4YZ45SKjs.HttpMethod; exports.InvoiceStatus = _chunkN4YZ45SKjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkN4YZ45SKjs.Module; exports.ModuleModule = _chunkN4YZ45SKjs.ModuleModule; exports.ModulePaths = _chunkN4YZ45SKjs.ModulePaths; exports.ModulePathsModule = _chunkN4YZ45SKjs.ModulePathsModule; exports.ModuleRegistrar = _chunkN4YZ45SKjs.ModuleRegistrar; exports.ModuleRegistry = _chunkN4YZ45SKjs.ModuleRegistry; exports.Modules = _chunkN4YZ45SKjs.Modules; exports.Notification = _chunkN4YZ45SKjs.Notification; exports.NotificationFields = _chunkN4YZ45SKjs.NotificationFields; exports.NotificationModule = _chunkN4YZ45SKjs.NotificationModule; exports.NotificationService = _chunkN4YZ45SKjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkN4YZ45SKjs.OAuthClient; exports.OAuthModule = _chunkN4YZ45SKjs.OAuthModule; exports.OAuthService = _chunkN4YZ45SKjs.OAuthService; exports.Passkey = _chunkN4YZ45SKjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkN4YZ45SKjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkN4YZ45SKjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkN4YZ45SKjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkN4YZ45SKjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkN4YZ45SKjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkN4YZ45SKjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkN4YZ45SKjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkN4YZ45SKjs.PasskeyRename; exports.PasskeyRenameModule = _chunkN4YZ45SKjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkN4YZ45SKjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkN4YZ45SKjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkN4YZ45SKjs.PaymentMethod; exports.PermissionMapping = _chunkN4YZ45SKjs.PermissionMapping; exports.PermissionMappingModule = _chunkN4YZ45SKjs.PermissionMappingModule; exports.Push = _chunkN4YZ45SKjs.Push; exports.PushModule = _chunkN4YZ45SKjs.PushModule; exports.PushService = _chunkN4YZ45SKjs.PushService; exports.RbacMatrixModel = _chunkN4YZ45SKjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkN4YZ45SKjs.RbacMatrixModule; exports.RbacService = _chunk2AK4GRIBjs.RbacService; exports.ReferralModule = _chunkN4YZ45SKjs.ReferralModule; exports.ReferralService = _chunkN4YZ45SKjs.ReferralService; exports.ReferralStats = _chunkN4YZ45SKjs.ReferralStats; exports.ReferralStatsModule = _chunkN4YZ45SKjs.ReferralStatsModule; exports.RehydrationFactory = _chunkN4YZ45SKjs.RehydrationFactory; exports.Role = _chunkN4YZ45SKjs.Role; exports.RoleFields = _chunkN4YZ45SKjs.RoleFields; exports.RoleModule = _chunkN4YZ45SKjs.RoleModule; exports.RoleService = _chunkN4YZ45SKjs.RoleService; exports.S3 = _chunkN4YZ45SKjs.S3; exports.S3Module = _chunkN4YZ45SKjs.S3Module; exports.S3Service = _chunkN4YZ45SKjs.S3Service; exports.StripeCustomer = _chunkN4YZ45SKjs.StripeCustomer; exports.StripeCustomerModule = _chunkN4YZ45SKjs.StripeCustomerModule; exports.StripeCustomerService = _chunkN4YZ45SKjs.StripeCustomerService; exports.StripeInvoice = _chunkN4YZ45SKjs.StripeInvoice; exports.StripeInvoiceModule = _chunkN4YZ45SKjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkN4YZ45SKjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkN4YZ45SKjs.StripePaymentMethodModule; exports.StripePrice = _chunkN4YZ45SKjs.StripePrice; exports.StripePriceModule = _chunkN4YZ45SKjs.StripePriceModule; exports.StripePriceService = _chunkN4YZ45SKjs.StripePriceService; exports.StripeProduct = _chunkN4YZ45SKjs.StripeProduct; exports.StripeProductModule = _chunkN4YZ45SKjs.StripeProductModule; exports.StripeProductService = _chunkN4YZ45SKjs.StripeProductService; exports.StripePromotionCode = _chunkN4YZ45SKjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkN4YZ45SKjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkN4YZ45SKjs.StripePromotionCodeService; exports.StripeSubscription = _chunkN4YZ45SKjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkN4YZ45SKjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkN4YZ45SKjs.StripeSubscriptionService; exports.StripeUsage = _chunkN4YZ45SKjs.StripeUsage; exports.StripeUsageModule = _chunkN4YZ45SKjs.StripeUsageModule; exports.StripeUsageService = _chunkN4YZ45SKjs.StripeUsageService; exports.SubscriptionStatus = _chunkN4YZ45SKjs.SubscriptionStatus; exports.TableOptions = _chunkN4YZ45SKjs.TableOptions; exports.TotpAuthenticator = _chunkN4YZ45SKjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkN4YZ45SKjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkN4YZ45SKjs.TotpSetup; exports.TotpSetupModule = _chunkN4YZ45SKjs.TotpSetupModule; exports.TotpVerify = _chunkN4YZ45SKjs.TotpVerify; exports.TotpVerifyLogin = _chunkN4YZ45SKjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkN4YZ45SKjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkN4YZ45SKjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkN4YZ45SKjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkN4YZ45SKjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkN4YZ45SKjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkN4YZ45SKjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkN4YZ45SKjs.TwoFactorService; exports.TwoFactorStatus = _chunkN4YZ45SKjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkN4YZ45SKjs.TwoFactorStatusModule; exports.User = _chunkN4YZ45SKjs.User; exports.UserFields = _chunkN4YZ45SKjs.UserFields; exports.UserModule = _chunkN4YZ45SKjs.UserModule; exports.UserService = _chunkN4YZ45SKjs.UserService; exports.Waitlist = _chunkN4YZ45SKjs.Waitlist; exports.WaitlistModule = _chunkN4YZ45SKjs.WaitlistModule; exports.WaitlistService = _chunkN4YZ45SKjs.WaitlistService; exports.WaitlistStats = _chunkN4YZ45SKjs.WaitlistStats; exports.WaitlistStatsModule = _chunkN4YZ45SKjs.WaitlistStatsModule; exports.checkPermissions = _chunkN4YZ45SKjs.checkPermissions; exports.checkPermissionsFromServer = _chunkN4YZ45SKjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkN4YZ45SKjs.clearLastApiTotal; exports.cn = _chunkN4YZ45SKjs.cn; exports.composeRefs = _chunkN4YZ45SKjs.composeRefs; exports.configureAuth = _chunkN4YZ45SKjs.configureAuth; exports.configureI18n = _chunk2AK4GRIBjs.configureI18n; exports.configureJsonApi = _chunk2AK4GRIBjs.configureJsonApi; exports.configureLogin = _chunk2AK4GRIBjs.configureLogin; exports.configureReferral = _chunk2AK4GRIBjs.configureReferral; exports.configureRoles = _chunk2AK4GRIBjs.configureRoles; exports.configureWaitlist = _chunk2AK4GRIBjs.configureWaitlist; exports.createJsonApiInclusion = _chunkN4YZ45SKjs.createJsonApiInclusion; exports.dismissToast = _chunkN4YZ45SKjs.dismissToast; exports.entityObjectSchema = _chunkN4YZ45SKjs.entityObjectSchema; exports.exists = _chunkN4YZ45SKjs.exists; exports.formatDate = _chunkN4YZ45SKjs.formatDate; exports.getApiUrl = _chunk2AK4GRIBjs.getApiUrl; exports.getAppUrl = _chunk2AK4GRIBjs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkN4YZ45SKjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkN4YZ45SKjs.getGlobalErrorHandler; exports.getIcon = _chunkN4YZ45SKjs.getIcon; exports.getIconByModule = _chunkN4YZ45SKjs.getIconByModule; exports.getIconByModuleName = _chunkN4YZ45SKjs.getIconByModuleName; exports.getInitials = _chunkN4YZ45SKjs.getInitials; exports.getLastApiTotal = _chunkN4YZ45SKjs.getLastApiTotal; exports.getLucideIcon = _chunkN4YZ45SKjs.getLucideIcon; exports.getLucideIconByModule = _chunkN4YZ45SKjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkN4YZ45SKjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk2AK4GRIBjs.getPublicApiUrl; exports.getReferralConfig = _chunk2AK4GRIBjs.getReferralConfig; exports.getRoleId = _chunk2AK4GRIBjs.getRoleId; exports.getStripePublishableKey = _chunk2AK4GRIBjs.getStripePublishableKey; exports.getTableComponents = _chunkN4YZ45SKjs.getTableComponents; exports.getTableOptions = _chunkN4YZ45SKjs.getTableOptions; exports.getTokenHandler = _chunkN4YZ45SKjs.getTokenHandler; exports.getTrackablePages = _chunk2AK4GRIBjs.getTrackablePages; exports.getValueFromPath = _chunkN4YZ45SKjs.getValueFromPath; exports.getWaitlistConfig = _chunk2AK4GRIBjs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunk2AK4GRIBjs.isReferralEnabled; exports.isRolesConfigured = _chunk2AK4GRIBjs.isRolesConfigured; exports.rehydrate = _chunkN4YZ45SKjs.rehydrate; exports.rehydrateList = _chunkN4YZ45SKjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkN4YZ45SKjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkN4YZ45SKjs.setGlobalErrorHandler; exports.showCustomToast = _chunkN4YZ45SKjs.showCustomToast; exports.showError = _chunkN4YZ45SKjs.showError; exports.showToast = _chunkN4YZ45SKjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkN4YZ45SKjs.useComposedRefs; exports.useIsMobile = _chunkN4YZ45SKjs.useIsMobile; exports.userObjectSchema = _chunkN4YZ45SKjs.userObjectSchema;
|
|
424
|
+
exports.ACTION_TYPES = _chunkSE5HIHJSjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkXAWKRNYMjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkXAWKRNYMjs.AbstractApiData; exports.AbstractService = _chunkXAWKRNYMjs.AbstractService; exports.Action = _chunkXAWKRNYMjs.Action; exports.Assistant = _chunkXAWKRNYMjs.Assistant; exports.AssistantMessage = _chunkXAWKRNYMjs.AssistantMessage; exports.AssistantMessageModule = _chunkXAWKRNYMjs.AssistantMessageModule; exports.AssistantMessageService = _chunkXAWKRNYMjs.AssistantMessageService; exports.AssistantModule = _chunkXAWKRNYMjs.AssistantModule; exports.AssistantService = _chunkXAWKRNYMjs.AssistantService; exports.AuditLog = _chunkXAWKRNYMjs.AuditLog; exports.AuditLogModule = _chunkXAWKRNYMjs.AuditLogModule; exports.AuditLogService = _chunkXAWKRNYMjs.AuditLogService; exports.Auth = _chunkXAWKRNYMjs.Auth; exports.AuthComponent = _chunkXAWKRNYMjs.AuthComponent; exports.AuthModule = _chunkXAWKRNYMjs.AuthModule; exports.AuthService = _chunkXAWKRNYMjs.AuthService; exports.AuthorModule = _chunkXAWKRNYMjs.AuthorModule; exports.BackupCodeVerify = _chunkXAWKRNYMjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkXAWKRNYMjs.BackupCodeVerifyModule; exports.Billing = _chunkXAWKRNYMjs.Billing; exports.BillingModule = _chunkXAWKRNYMjs.BillingModule; exports.BillingService = _chunkXAWKRNYMjs.BillingService; exports.BlockNoteDiffUtil = _chunkXAWKRNYMjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkXAWKRNYMjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkSE5HIHJSjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkXAWKRNYMjs.Chunk; exports.ChunkModule = _chunkXAWKRNYMjs.ChunkModule; exports.ClientAbstractService = _chunkXAWKRNYMjs.ClientAbstractService; exports.ClientHttpMethod = _chunkXAWKRNYMjs.ClientHttpMethod; exports.Company = _chunkXAWKRNYMjs.Company; exports.CompanyFields = _chunkXAWKRNYMjs.CompanyFields; exports.CompanyModule = _chunkXAWKRNYMjs.CompanyModule; exports.CompanyService = _chunkXAWKRNYMjs.CompanyService; exports.Content = _chunkXAWKRNYMjs.Content; exports.ContentFields = _chunkXAWKRNYMjs.ContentFields; exports.ContentModule = _chunkXAWKRNYMjs.ContentModule; exports.ContentService = _chunkXAWKRNYMjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkXAWKRNYMjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkXAWKRNYMjs.EndpointCreator; exports.Feature = _chunkXAWKRNYMjs.Feature; exports.FeatureModule = _chunkXAWKRNYMjs.FeatureModule; exports.FeatureService = _chunkXAWKRNYMjs.FeatureService; exports.HowTo = _chunkXAWKRNYMjs.HowTo; exports.HowToFields = _chunkXAWKRNYMjs.HowToFields; exports.HowToModule = _chunkXAWKRNYMjs.HowToModule; exports.HowToService = _chunkXAWKRNYMjs.HowToService; exports.HttpMethod = _chunkXAWKRNYMjs.HttpMethod; exports.InvoiceStatus = _chunkXAWKRNYMjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkXAWKRNYMjs.Module; exports.ModuleModule = _chunkXAWKRNYMjs.ModuleModule; exports.ModulePaths = _chunkXAWKRNYMjs.ModulePaths; exports.ModulePathsModule = _chunkXAWKRNYMjs.ModulePathsModule; exports.ModuleRegistrar = _chunkXAWKRNYMjs.ModuleRegistrar; exports.ModuleRegistry = _chunkXAWKRNYMjs.ModuleRegistry; exports.Modules = _chunkXAWKRNYMjs.Modules; exports.Notification = _chunkXAWKRNYMjs.Notification; exports.NotificationFields = _chunkXAWKRNYMjs.NotificationFields; exports.NotificationModule = _chunkXAWKRNYMjs.NotificationModule; exports.NotificationService = _chunkXAWKRNYMjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkXAWKRNYMjs.OAuthClient; exports.OAuthModule = _chunkXAWKRNYMjs.OAuthModule; exports.OAuthService = _chunkXAWKRNYMjs.OAuthService; exports.Passkey = _chunkXAWKRNYMjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkXAWKRNYMjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkXAWKRNYMjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkXAWKRNYMjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkXAWKRNYMjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkXAWKRNYMjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkXAWKRNYMjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkXAWKRNYMjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkXAWKRNYMjs.PasskeyRename; exports.PasskeyRenameModule = _chunkXAWKRNYMjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkXAWKRNYMjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkXAWKRNYMjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkXAWKRNYMjs.PaymentMethod; exports.PermissionMapping = _chunkXAWKRNYMjs.PermissionMapping; exports.PermissionMappingModule = _chunkXAWKRNYMjs.PermissionMappingModule; exports.Push = _chunkXAWKRNYMjs.Push; exports.PushModule = _chunkXAWKRNYMjs.PushModule; exports.PushService = _chunkXAWKRNYMjs.PushService; exports.RbacMatrixModel = _chunkXAWKRNYMjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkXAWKRNYMjs.RbacMatrixModule; exports.RbacService = _chunkSE5HIHJSjs.RbacService; exports.ReferralModule = _chunkXAWKRNYMjs.ReferralModule; exports.ReferralService = _chunkXAWKRNYMjs.ReferralService; exports.ReferralStats = _chunkXAWKRNYMjs.ReferralStats; exports.ReferralStatsModule = _chunkXAWKRNYMjs.ReferralStatsModule; exports.RehydrationFactory = _chunkXAWKRNYMjs.RehydrationFactory; exports.Role = _chunkXAWKRNYMjs.Role; exports.RoleFields = _chunkXAWKRNYMjs.RoleFields; exports.RoleModule = _chunkXAWKRNYMjs.RoleModule; exports.RoleService = _chunkXAWKRNYMjs.RoleService; exports.S3 = _chunkXAWKRNYMjs.S3; exports.S3Module = _chunkXAWKRNYMjs.S3Module; exports.S3Service = _chunkXAWKRNYMjs.S3Service; exports.StripeCustomer = _chunkXAWKRNYMjs.StripeCustomer; exports.StripeCustomerModule = _chunkXAWKRNYMjs.StripeCustomerModule; exports.StripeCustomerService = _chunkXAWKRNYMjs.StripeCustomerService; exports.StripeInvoice = _chunkXAWKRNYMjs.StripeInvoice; exports.StripeInvoiceModule = _chunkXAWKRNYMjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkXAWKRNYMjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkXAWKRNYMjs.StripePaymentMethodModule; exports.StripePrice = _chunkXAWKRNYMjs.StripePrice; exports.StripePriceModule = _chunkXAWKRNYMjs.StripePriceModule; exports.StripePriceService = _chunkXAWKRNYMjs.StripePriceService; exports.StripeProduct = _chunkXAWKRNYMjs.StripeProduct; exports.StripeProductModule = _chunkXAWKRNYMjs.StripeProductModule; exports.StripeProductService = _chunkXAWKRNYMjs.StripeProductService; exports.StripePromotionCode = _chunkXAWKRNYMjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkXAWKRNYMjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkXAWKRNYMjs.StripePromotionCodeService; exports.StripeSubscription = _chunkXAWKRNYMjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkXAWKRNYMjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkXAWKRNYMjs.StripeSubscriptionService; exports.StripeUsage = _chunkXAWKRNYMjs.StripeUsage; exports.StripeUsageModule = _chunkXAWKRNYMjs.StripeUsageModule; exports.StripeUsageService = _chunkXAWKRNYMjs.StripeUsageService; exports.SubscriptionStatus = _chunkXAWKRNYMjs.SubscriptionStatus; exports.TableOptions = _chunkXAWKRNYMjs.TableOptions; exports.TotpAuthenticator = _chunkXAWKRNYMjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkXAWKRNYMjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkXAWKRNYMjs.TotpSetup; exports.TotpSetupModule = _chunkXAWKRNYMjs.TotpSetupModule; exports.TotpVerify = _chunkXAWKRNYMjs.TotpVerify; exports.TotpVerifyLogin = _chunkXAWKRNYMjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkXAWKRNYMjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkXAWKRNYMjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkXAWKRNYMjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkXAWKRNYMjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkXAWKRNYMjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkXAWKRNYMjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkXAWKRNYMjs.TwoFactorService; exports.TwoFactorStatus = _chunkXAWKRNYMjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkXAWKRNYMjs.TwoFactorStatusModule; exports.User = _chunkXAWKRNYMjs.User; exports.UserFields = _chunkXAWKRNYMjs.UserFields; exports.UserModule = _chunkXAWKRNYMjs.UserModule; exports.UserService = _chunkXAWKRNYMjs.UserService; exports.Waitlist = _chunkXAWKRNYMjs.Waitlist; exports.WaitlistModule = _chunkXAWKRNYMjs.WaitlistModule; exports.WaitlistService = _chunkXAWKRNYMjs.WaitlistService; exports.WaitlistStats = _chunkXAWKRNYMjs.WaitlistStats; exports.WaitlistStatsModule = _chunkXAWKRNYMjs.WaitlistStatsModule; exports.checkPermissions = _chunkXAWKRNYMjs.checkPermissions; exports.checkPermissionsFromServer = _chunkXAWKRNYMjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkXAWKRNYMjs.clearLastApiTotal; exports.cn = _chunkXAWKRNYMjs.cn; exports.composeRefs = _chunkXAWKRNYMjs.composeRefs; exports.configureAuth = _chunkXAWKRNYMjs.configureAuth; exports.configureI18n = _chunkSE5HIHJSjs.configureI18n; exports.configureJsonApi = _chunkSE5HIHJSjs.configureJsonApi; exports.configureLogin = _chunkSE5HIHJSjs.configureLogin; exports.configureReferral = _chunkSE5HIHJSjs.configureReferral; exports.configureRoles = _chunkSE5HIHJSjs.configureRoles; exports.configureWaitlist = _chunkSE5HIHJSjs.configureWaitlist; exports.createJsonApiInclusion = _chunkXAWKRNYMjs.createJsonApiInclusion; exports.dismissToast = _chunkXAWKRNYMjs.dismissToast; exports.entityObjectSchema = _chunkXAWKRNYMjs.entityObjectSchema; exports.exists = _chunkXAWKRNYMjs.exists; exports.formatDate = _chunkXAWKRNYMjs.formatDate; exports.getApiUrl = _chunkSE5HIHJSjs.getApiUrl; exports.getAppUrl = _chunkSE5HIHJSjs.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkXAWKRNYMjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkXAWKRNYMjs.getGlobalErrorHandler; exports.getIcon = _chunkXAWKRNYMjs.getIcon; exports.getIconByModule = _chunkXAWKRNYMjs.getIconByModule; exports.getIconByModuleName = _chunkXAWKRNYMjs.getIconByModuleName; exports.getInitials = _chunkXAWKRNYMjs.getInitials; exports.getLastApiTotal = _chunkXAWKRNYMjs.getLastApiTotal; exports.getLucideIcon = _chunkXAWKRNYMjs.getLucideIcon; exports.getLucideIconByModule = _chunkXAWKRNYMjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkXAWKRNYMjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkSE5HIHJSjs.getPublicApiUrl; exports.getReferralConfig = _chunkSE5HIHJSjs.getReferralConfig; exports.getRoleId = _chunkSE5HIHJSjs.getRoleId; exports.getStripePublishableKey = _chunkSE5HIHJSjs.getStripePublishableKey; exports.getTableComponents = _chunkXAWKRNYMjs.getTableComponents; exports.getTableOptions = _chunkXAWKRNYMjs.getTableOptions; exports.getTokenHandler = _chunkXAWKRNYMjs.getTokenHandler; exports.getTrackablePages = _chunkSE5HIHJSjs.getTrackablePages; exports.getValueFromPath = _chunkXAWKRNYMjs.getValueFromPath; exports.getWaitlistConfig = _chunkSE5HIHJSjs.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunkSE5HIHJSjs.isReferralEnabled; exports.isRolesConfigured = _chunkSE5HIHJSjs.isRolesConfigured; exports.rehydrate = _chunkXAWKRNYMjs.rehydrate; exports.rehydrateList = _chunkXAWKRNYMjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkXAWKRNYMjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkXAWKRNYMjs.setGlobalErrorHandler; exports.showCustomToast = _chunkXAWKRNYMjs.showCustomToast; exports.showError = _chunkXAWKRNYMjs.showError; exports.showToast = _chunkXAWKRNYMjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkXAWKRNYMjs.useComposedRefs; exports.useIsMobile = _chunkXAWKRNYMjs.useIsMobile; exports.userObjectSchema = _chunkXAWKRNYMjs.userObjectSchema;
|
|
425
425
|
//# 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-CK3BMQWY.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
useComposedRefs,
|
|
199
199
|
useIsMobile,
|
|
200
200
|
userObjectSchema
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-3KDGODJ7.mjs";
|
|
202
202
|
import "./chunk-AUXK7QSA.mjs";
|
|
203
203
|
import "./chunk-C7C7VY4F.mjs";
|
|
204
204
|
import {
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
translateData,
|
|
212
212
|
translateResponse,
|
|
213
213
|
tryBootstrap
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-KK7PYKVI.mjs";
|
|
215
215
|
import "./chunk-PAWJFY3S.mjs";
|
|
216
216
|
export {
|
|
217
217
|
ACTION_TYPES,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkIOLU4ASDjs = require('./chunk-IOLU4ASD.js');
|
|
4
|
+
require('./chunk-7QVYU63E.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
|
|
8
|
+
//# sourceMappingURL=request-UR7VPG3G.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/request-UR7VPG3G.js"],"names":[],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,uDAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/request-UR7VPG3G.js"}
|
package/dist/server/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkYUO55Q5Ajs = require('../chunk-YUO55Q5A.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -15,13 +15,13 @@ var _chunk3ZPK4QOBjs = require('../chunk-3ZPK4QOB.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkXAWKRNYMjs = require('../chunk-XAWKRNYM.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkJ5LROFGLjs = require('../chunk-J5LROFGL.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk7QVYU63Ejs = require('../chunk-7QVYU63E.js');
|
|
@@ -86,7 +86,7 @@ var ServerSession = class {
|
|
|
86
86
|
if (!rawModules) return false;
|
|
87
87
|
const modules = JSON.parse(_pako2.default.ungzip(Buffer.from(rawModules, "base64"), { to: "string" }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
|
-
return
|
|
89
|
+
return _chunkXAWKRNYMjs.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
|
91
91
|
action: params.action,
|
|
92
92
|
data: params.data,
|
|
@@ -149,7 +149,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, buildServerUrl, "buildServerUrl");
|
|
|
149
149
|
async function ServerJsonApiGet(params) {
|
|
150
150
|
runServerBootstrapper();
|
|
151
151
|
const token = await _chunkYUO55Q5Ajs.getServerToken.call(void 0, );
|
|
152
|
-
const apiResponse = await
|
|
152
|
+
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
153
153
|
method: "GET",
|
|
154
154
|
url: buildServerUrl(params.endpoint),
|
|
155
155
|
token,
|
|
@@ -158,7 +158,7 @@ async function ServerJsonApiGet(params) {
|
|
|
158
158
|
language: params.language,
|
|
159
159
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _23 => _23.additionalHeaders])
|
|
160
160
|
});
|
|
161
|
-
return
|
|
161
|
+
return _chunkJ5LROFGLjs.translateResponse.call(void 0, {
|
|
162
162
|
classKey: params.classKey,
|
|
163
163
|
apiResponse,
|
|
164
164
|
companyId: params.companyId,
|
|
@@ -179,9 +179,9 @@ async function ServerJsonApiPost(params) {
|
|
|
179
179
|
if (!body) {
|
|
180
180
|
body = {};
|
|
181
181
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
182
|
-
body =
|
|
182
|
+
body = _chunkJ5LROFGLjs.JsonApiDataFactory.create(params.classKey, body);
|
|
183
183
|
}
|
|
184
|
-
const apiResponse = await
|
|
184
|
+
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
185
185
|
method: "POST",
|
|
186
186
|
url: buildServerUrl(params.endpoint),
|
|
187
187
|
token,
|
|
@@ -191,7 +191,7 @@ async function ServerJsonApiPost(params) {
|
|
|
191
191
|
language: params.language,
|
|
192
192
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _24 => _24.additionalHeaders])
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return _chunkJ5LROFGLjs.translateResponse.call(void 0, {
|
|
195
195
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
196
196
|
apiResponse,
|
|
197
197
|
companyId: params.companyId,
|
|
@@ -206,9 +206,9 @@ async function ServerJsonApiPut(params) {
|
|
|
206
206
|
if (!body) {
|
|
207
207
|
body = {};
|
|
208
208
|
} else {
|
|
209
|
-
body =
|
|
209
|
+
body = _chunkJ5LROFGLjs.JsonApiDataFactory.create(params.classKey, body);
|
|
210
210
|
}
|
|
211
|
-
const apiResponse = await
|
|
211
|
+
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
212
212
|
method: "PUT",
|
|
213
213
|
url: buildServerUrl(params.endpoint),
|
|
214
214
|
token,
|
|
@@ -218,7 +218,7 @@ async function ServerJsonApiPut(params) {
|
|
|
218
218
|
language: params.language,
|
|
219
219
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _25 => _25.additionalHeaders])
|
|
220
220
|
});
|
|
221
|
-
return
|
|
221
|
+
return _chunkJ5LROFGLjs.translateResponse.call(void 0, {
|
|
222
222
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
223
223
|
apiResponse,
|
|
224
224
|
companyId: params.companyId,
|
|
@@ -233,9 +233,9 @@ async function ServerJsonApiPatch(params) {
|
|
|
233
233
|
if (!body) {
|
|
234
234
|
body = {};
|
|
235
235
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
236
|
-
body =
|
|
236
|
+
body = _chunkJ5LROFGLjs.JsonApiDataFactory.create(params.classKey, body);
|
|
237
237
|
}
|
|
238
|
-
const apiResponse = await
|
|
238
|
+
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
239
239
|
method: "PATCH",
|
|
240
240
|
url: buildServerUrl(params.endpoint),
|
|
241
241
|
token,
|
|
@@ -245,7 +245,7 @@ async function ServerJsonApiPatch(params) {
|
|
|
245
245
|
language: params.language,
|
|
246
246
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _26 => _26.additionalHeaders])
|
|
247
247
|
});
|
|
248
|
-
return
|
|
248
|
+
return _chunkJ5LROFGLjs.translateResponse.call(void 0, {
|
|
249
249
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
250
250
|
apiResponse,
|
|
251
251
|
companyId: params.companyId,
|
|
@@ -256,7 +256,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiPatch, "ServerJsonApiPatch");
|
|
|
256
256
|
async function ServerJsonApiDelete(params) {
|
|
257
257
|
runServerBootstrapper();
|
|
258
258
|
const token = await _chunkYUO55Q5Ajs.getServerToken.call(void 0, );
|
|
259
|
-
const apiResponse = await
|
|
259
|
+
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
260
260
|
method: "DELETE",
|
|
261
261
|
url: buildServerUrl(params.endpoint),
|
|
262
262
|
token,
|
|
@@ -264,7 +264,7 @@ async function ServerJsonApiDelete(params) {
|
|
|
264
264
|
language: params.language,
|
|
265
265
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _27 => _27.additionalHeaders])
|
|
266
266
|
});
|
|
267
|
-
return
|
|
267
|
+
return _chunkJ5LROFGLjs.translateResponse.call(void 0, {
|
|
268
268
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
269
269
|
apiResponse,
|
|
270
270
|
companyId: params.companyId,
|
|
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
exports.ServerAuthService =
|
|
299
|
+
exports.ServerAuthService = _chunkXAWKRNYMjs.AuthService; exports.ServerCompanyService = _chunkXAWKRNYMjs.CompanyService; exports.ServerContentService = _chunkXAWKRNYMjs.ContentService; exports.ServerFeatureService = _chunkXAWKRNYMjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkXAWKRNYMjs.NotificationService; exports.ServerPushService = _chunkXAWKRNYMjs.PushService; exports.ServerRoleService = _chunkXAWKRNYMjs.RoleService; exports.ServerS3Service = _chunkXAWKRNYMjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkXAWKRNYMjs.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;
|
|
300
300
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-F5UNXZ3J.mjs";
|
|
4
4
|
import {
|
|
5
5
|
serverRequest
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-IEJYBQ6J.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AuthService,
|
|
9
9
|
CompanyService,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
S3Service,
|
|
16
16
|
UserService,
|
|
17
17
|
checkPermissionsFromServer
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-3KDGODJ7.mjs";
|
|
19
19
|
import "../chunk-AUXK7QSA.mjs";
|
|
20
20
|
import "../chunk-C7C7VY4F.mjs";
|
|
21
21
|
import {
|
|
22
22
|
JsonApiDataFactory,
|
|
23
23
|
translateResponse
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-KK7PYKVI.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "../chunk-PAWJFY3S.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carlonicora/nextjs-jsonapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.87.1",
|
|
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",
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
"@dnd-kit/core": "^6.3.1",
|
|
109
109
|
"@dnd-kit/sortable": "^10.0.0",
|
|
110
110
|
"@dnd-kit/utilities": "^3.2.2",
|
|
111
|
+
"@floating-ui/react": "^0.27.16",
|
|
111
112
|
"@handlewithcare/prosemirror-inputrules": "^0.1.4",
|
|
112
113
|
"@hookform/resolvers": "^5.2.2",
|
|
113
114
|
"@radix-ui/react-label": "^2.1.8",
|
|
@@ -15,6 +15,8 @@ import { Button } from "../../shadcnui";
|
|
|
15
15
|
import { BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, cn } from "../../utils";
|
|
16
16
|
import { errorToast } from "../errors";
|
|
17
17
|
import { BlockNoteEditorFormattingToolbar } from "./BlockNoteEditorFormattingToolbar";
|
|
18
|
+
import { createMentionInlineContentSpec } from "./BlockNoteEditorMentionInlineContent";
|
|
19
|
+
import { BlockNoteEditorMentionSuggestionMenu } from "./BlockNoteEditorSuggestionMenuController";
|
|
18
20
|
|
|
19
21
|
export type BlockNoteEditorProps = {
|
|
20
22
|
id: string;
|
|
@@ -29,6 +31,13 @@ export type BlockNoteEditorProps = {
|
|
|
29
31
|
bordered?: boolean;
|
|
30
32
|
inlineContentSpecs?: Record<string, any>;
|
|
31
33
|
renderOverlays?: (editor: any) => React.ReactNode;
|
|
34
|
+
enableMentions?: boolean;
|
|
35
|
+
mentionSearchFn?: (
|
|
36
|
+
query: string,
|
|
37
|
+
params?: Record<string, string>,
|
|
38
|
+
) => Promise<import("./BlockNoteEditorSuggestionMenuController").MentionItem[]>;
|
|
39
|
+
mentionSearchParams?: Record<string, string>;
|
|
40
|
+
mentionResolveFn?: (id: string, entityType: string, alias: string) => { url: string; name: string } | null;
|
|
32
41
|
};
|
|
33
42
|
|
|
34
43
|
const createDiffActionsInlineContentSpec = (
|
|
@@ -92,6 +101,10 @@ export default function BlockNoteEditor({
|
|
|
92
101
|
bordered,
|
|
93
102
|
inlineContentSpecs,
|
|
94
103
|
renderOverlays,
|
|
104
|
+
enableMentions,
|
|
105
|
+
mentionSearchFn,
|
|
106
|
+
mentionSearchParams,
|
|
107
|
+
mentionResolveFn,
|
|
95
108
|
}: BlockNoteEditorProps): React.JSX.Element {
|
|
96
109
|
const t = useTranslations();
|
|
97
110
|
const { company } = useCurrentUserContext<UserInterface>();
|
|
@@ -139,16 +152,22 @@ export default function BlockNoteEditor({
|
|
|
139
152
|
[handleAcceptChange, handleRejectChange],
|
|
140
153
|
);
|
|
141
154
|
|
|
155
|
+
const mentionSpec = useMemo(
|
|
156
|
+
() => (enableMentions ? createMentionInlineContentSpec(mentionResolveFn) : null),
|
|
157
|
+
[enableMentions, mentionResolveFn],
|
|
158
|
+
);
|
|
159
|
+
|
|
142
160
|
const schema = useMemo(
|
|
143
161
|
() =>
|
|
144
162
|
BlockNoteSchema.create({
|
|
145
163
|
inlineContentSpecs: {
|
|
146
164
|
...defaultInlineContentSpecs,
|
|
147
165
|
diffActions: DiffActionsInlineContent,
|
|
166
|
+
...(mentionSpec ? { mention: mentionSpec } : {}),
|
|
148
167
|
...inlineContentSpecs,
|
|
149
168
|
},
|
|
150
169
|
} as any),
|
|
151
|
-
[DiffActionsInlineContent, inlineContentSpecs],
|
|
170
|
+
[DiffActionsInlineContent, mentionSpec, inlineContentSpecs],
|
|
152
171
|
);
|
|
153
172
|
|
|
154
173
|
const uploadImage = useCallback(
|
|
@@ -427,6 +446,13 @@ export default function BlockNoteEditor({
|
|
|
427
446
|
className={cn(`BlockNoteView flex-1 ${onChange ? "p-4" : ""}`, size === "sm" && "small")}
|
|
428
447
|
>
|
|
429
448
|
<BlockNoteEditorFormattingToolbar />
|
|
449
|
+
{enableMentions && mentionSearchFn && (
|
|
450
|
+
<BlockNoteEditorMentionSuggestionMenu
|
|
451
|
+
editor={editor}
|
|
452
|
+
mentionSearchFn={mentionSearchFn}
|
|
453
|
+
mentionSearchParams={mentionSearchParams}
|
|
454
|
+
/>
|
|
455
|
+
)}
|
|
430
456
|
{renderOverlays?.(editor)}
|
|
431
457
|
</BlockNoteView>
|
|
432
458
|
</div>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Link } from "@/shadcnui";
|
|
4
|
+
import { createReactInlineContentSpec } from "@blocknote/react";
|
|
5
|
+
import React from "react";
|
|
6
|
+
|
|
7
|
+
export interface MentionResolveResult {
|
|
8
|
+
url: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type MentionResolveFn = (id: string, entityType: string, alias: string) => MentionResolveResult | null;
|
|
13
|
+
|
|
14
|
+
export const createMentionInlineContentSpec = (resolveFn?: MentionResolveFn) =>
|
|
15
|
+
createReactInlineContentSpec(
|
|
16
|
+
{
|
|
17
|
+
type: "mention",
|
|
18
|
+
propSchema: {
|
|
19
|
+
alias: { default: "Unknown" },
|
|
20
|
+
id: { default: "Unknown" },
|
|
21
|
+
entityType: { default: "Unknown" },
|
|
22
|
+
},
|
|
23
|
+
content: "none",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
render: (props) => {
|
|
27
|
+
const alias = props.inlineContent.props.alias;
|
|
28
|
+
const id = props.inlineContent.props.id;
|
|
29
|
+
const entityType = props.inlineContent.props.entityType;
|
|
30
|
+
|
|
31
|
+
if (resolveFn) {
|
|
32
|
+
const resolved = resolveFn(id, entityType, alias);
|
|
33
|
+
if (resolved) {
|
|
34
|
+
return (
|
|
35
|
+
<Link
|
|
36
|
+
href={resolved.url}
|
|
37
|
+
className="text-primary"
|
|
38
|
+
style={{ textDecoration: "none" }}
|
|
39
|
+
onClick={(e: React.MouseEvent) => e.stopPropagation()}
|
|
40
|
+
>
|
|
41
|
+
@{resolved.name || alias}
|
|
42
|
+
</Link>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return (
|
|
48
|
+
<span className="text-primary" style={{ textDecoration: "none" }}>
|
|
49
|
+
@{alias}
|
|
50
|
+
</span>
|
|
51
|
+
);
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
);
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { BlockNoteEditor } from "@blocknote/core";
|
|
4
|
+
import { DefaultReactSuggestionItem, SuggestionMenuController } from "@blocknote/react";
|
|
5
|
+
import { autoUpdate, flip, shift } from "@floating-ui/react";
|
|
6
|
+
import React, { useCallback, useRef } from "react";
|
|
7
|
+
|
|
8
|
+
export interface MentionItem {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
entityType: string;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type MentionSearchFn = (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
16
|
+
|
|
17
|
+
interface BlockNoteEditorSuggestionMenuControllerProps {
|
|
18
|
+
editor: BlockNoteEditor<any, any, any>;
|
|
19
|
+
mentionSearchFn: MentionSearchFn;
|
|
20
|
+
mentionSearchParams?: Record<string, string>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const DEBOUNCE_MS = 300;
|
|
24
|
+
|
|
25
|
+
export function BlockNoteEditorMentionSuggestionMenu({
|
|
26
|
+
editor,
|
|
27
|
+
mentionSearchFn,
|
|
28
|
+
mentionSearchParams,
|
|
29
|
+
}: BlockNoteEditorSuggestionMenuControllerProps) {
|
|
30
|
+
const lastQueryRef = useRef<string>("");
|
|
31
|
+
|
|
32
|
+
const getItems = useCallback(
|
|
33
|
+
async (query: string): Promise<DefaultReactSuggestionItem[]> => {
|
|
34
|
+
lastQueryRef.current = query;
|
|
35
|
+
|
|
36
|
+
// Empty query (the moment `@` is typed) is served immediately so the menu
|
|
37
|
+
// appears with the most-recently-updated browse list — the user sees the
|
|
38
|
+
// affordance without having to guess what to type.
|
|
39
|
+
if (query.length > 0) {
|
|
40
|
+
await new Promise((resolve) => setTimeout(resolve, DEBOUNCE_MS));
|
|
41
|
+
if (lastQueryRef.current !== query) return [];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
try {
|
|
45
|
+
const results = await mentionSearchFn(query, mentionSearchParams);
|
|
46
|
+
if (lastQueryRef.current !== query) return [];
|
|
47
|
+
return results.map((item) => ({
|
|
48
|
+
title: item.name,
|
|
49
|
+
subtext: item.entityType,
|
|
50
|
+
onItemClick: () => {
|
|
51
|
+
editor.insertInlineContent([
|
|
52
|
+
{
|
|
53
|
+
type: "mention",
|
|
54
|
+
props: {
|
|
55
|
+
alias: item.name,
|
|
56
|
+
id: item.id,
|
|
57
|
+
entityType: item.entityType,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
" ",
|
|
61
|
+
]);
|
|
62
|
+
},
|
|
63
|
+
}));
|
|
64
|
+
} catch {
|
|
65
|
+
return [];
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
[editor, mentionSearchFn, mentionSearchParams],
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
return (
|
|
72
|
+
<div className="blocknote-suggestion-container" style={{ position: "static" }}>
|
|
73
|
+
<SuggestionMenuController
|
|
74
|
+
triggerCharacter={"@"}
|
|
75
|
+
getItems={getItems}
|
|
76
|
+
floatingUIOptions={{
|
|
77
|
+
useFloatingOptions: {
|
|
78
|
+
strategy: "fixed",
|
|
79
|
+
placement: "bottom-start",
|
|
80
|
+
middleware: [flip(), shift()],
|
|
81
|
+
whileElementsMounted: autoUpdate,
|
|
82
|
+
},
|
|
83
|
+
}}
|
|
84
|
+
/>
|
|
85
|
+
</div>
|
|
86
|
+
);
|
|
87
|
+
}
|