@carlonicora/nextjs-jsonapi 1.117.1 → 1.119.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-CEWZCORH.js → BlockNoteEditor-BPACLNMB.js} +20 -20
- package/dist/{BlockNoteEditor-CEWZCORH.js.map → BlockNoteEditor-BPACLNMB.js.map} +1 -1
- package/dist/{BlockNoteEditor-K4T6QOJO.mjs → BlockNoteEditor-CEDKBT67.mjs} +5 -5
- package/dist/JsonApiRequest-HE5LTEYK.js +26 -0
- package/dist/JsonApiRequest-HE5LTEYK.js.map +1 -0
- package/dist/{JsonApiRequest-IYL5RZ7I.mjs → JsonApiRequest-SN3DNFDR.mjs} +4 -2
- package/dist/billing/index.js +347 -347
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-6D4GJHLK.mjs → chunk-4SPL6QH3.mjs} +277 -154
- package/dist/chunk-4SPL6QH3.mjs.map +1 -0
- package/dist/{chunk-6KLR3WJQ.js → chunk-55Q43DI5.js} +9 -9
- package/dist/{chunk-6KLR3WJQ.js.map → chunk-55Q43DI5.js.map} +1 -1
- package/dist/{chunk-WEPQD5MP.mjs → chunk-5U7QDGDQ.mjs} +3 -3
- package/dist/{chunk-S2PTWBN6.js → chunk-6P7MEU7Q.js} +64 -50
- package/dist/chunk-6P7MEU7Q.js.map +1 -0
- package/dist/{chunk-56QAXZKI.js → chunk-DXTOA7OO.js} +932 -809
- package/dist/chunk-DXTOA7OO.js.map +1 -0
- package/dist/{chunk-M7XAKLSP.mjs → chunk-FWOS6PC5.mjs} +38 -24
- package/dist/chunk-FWOS6PC5.mjs.map +1 -0
- package/dist/{chunk-J5LROFGL.js → chunk-RCMIVTVL.js} +14 -11
- package/dist/chunk-RCMIVTVL.js.map +1 -0
- package/dist/{chunk-KK7PYKVI.mjs → chunk-WC2BTKJP.mjs} +13 -10
- package/dist/{chunk-KK7PYKVI.mjs.map → chunk-WC2BTKJP.mjs.map} +1 -1
- package/dist/client/index.d.mts +15 -1
- package/dist/client/index.d.ts +15 -1
- package/dist/client/index.js +7 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +6 -4
- package/dist/components/index.d.mts +72 -30
- package/dist/components/index.d.ts +72 -30
- package/dist/components/index.js +7 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +6 -4
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.d.mts +7 -2
- package/dist/core/index.d.ts +7 -2
- package/dist/core/index.js +3 -3
- package/dist/core/index.mjs +2 -2
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/{s3.service-CihgBy97.d.mts → s3.service-CBqyDZyz.d.mts} +7 -0
- package/dist/{s3.service-Cyvfk3qV.d.ts → s3.service-gcEjq8gF.d.ts} +7 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +12 -12
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/client/JsonApiClient.ts +23 -8
- package/src/client/__tests__/JsonApiClient.test.ts +31 -0
- package/src/components/containers/RoundPageContainer.tsx +197 -76
- package/src/components/containers/TabsContainer.tsx +14 -0
- package/src/components/containers/__tests__/partitionTabs.spec.ts +51 -0
- package/src/components/containers/index.ts +1 -0
- package/src/components/containers/partitionTabs.ts +43 -0
- package/src/components/forms/EditorSheet.tsx +7 -2
- package/src/core/abstracts/AbstractService.ts +13 -0
- package/src/core/abstracts/ClientAbstractService.ts +10 -0
- package/src/unified/JsonApiRequest.ts +22 -8
- package/src/unified/__tests__/JsonApiRequest.test.ts +29 -0
- package/dist/JsonApiRequest-OSGJ63XR.js +0 -24
- package/dist/JsonApiRequest-OSGJ63XR.js.map +0 -1
- package/dist/chunk-56QAXZKI.js.map +0 -1
- package/dist/chunk-6D4GJHLK.mjs.map +0 -1
- package/dist/chunk-J5LROFGL.js.map +0 -1
- package/dist/chunk-M7XAKLSP.mjs.map +0 -1
- package/dist/chunk-S2PTWBN6.js.map +0 -1
- /package/dist/{BlockNoteEditor-K4T6QOJO.mjs.map → BlockNoteEditor-CEDKBT67.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-IYL5RZ7I.mjs.map → JsonApiRequest-SN3DNFDR.mjs.map} +0 -0
- /package/dist/{chunk-WEPQD5MP.mjs.map → chunk-5U7QDGDQ.mjs.map} +0 -0
package/dist/core/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
|
|
|
3
3
|
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
4
4
|
export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
5
5
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
|
|
6
|
-
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-
|
|
7
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-
|
|
6
|
+
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-gcEjq8gF.js';
|
|
7
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-gcEjq8gF.js';
|
|
8
8
|
import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-DHOxe8rc.js';
|
|
9
9
|
export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-DHOxe8rc.js';
|
|
10
10
|
import { a as HowToInterface, H as HowToInput, d as AssistantMessageInterface, A as AssistantMessageRole, e as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageType, c as AssistantMessageInput } from '../AssistantMessageInterface-giWvsOrX.js';
|
|
@@ -154,6 +154,11 @@ declare abstract class ClientAbstractService {
|
|
|
154
154
|
files?: {
|
|
155
155
|
[key: string]: File | Blob;
|
|
156
156
|
} | File | Blob;
|
|
157
|
+
/**
|
|
158
|
+
* Per-call override of the API base URL (mirrors `AbstractService.callApi`'s `baseUrl`).
|
|
159
|
+
* Omitted => existing global `NEXT_PUBLIC_API_URL` resolution, unchanged.
|
|
160
|
+
*/
|
|
161
|
+
baseUrl?: string;
|
|
157
162
|
}): Promise<T>;
|
|
158
163
|
/**
|
|
159
164
|
* Get raw JSON:API response data without deserialization.
|
package/dist/core/index.js
CHANGED
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
|
|
176
|
-
var
|
|
176
|
+
var _chunk6P7MEU7Qjs = require('../chunk-6P7MEU7Q.js');
|
|
177
177
|
require('../chunk-LXKSUWAV.js');
|
|
178
178
|
require('../chunk-IBS6NI7D.js');
|
|
179
179
|
|
|
@@ -186,7 +186,7 @@ require('../chunk-IBS6NI7D.js');
|
|
|
186
186
|
|
|
187
187
|
|
|
188
188
|
|
|
189
|
-
var
|
|
189
|
+
var _chunkRCMIVTVLjs = require('../chunk-RCMIVTVL.js');
|
|
190
190
|
require('../chunk-7QVYU63E.js');
|
|
191
191
|
|
|
192
192
|
|
|
@@ -373,5 +373,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
373
373
|
|
|
374
374
|
|
|
375
375
|
|
|
376
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkS2PTWBN6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkS2PTWBN6js.AbstractApiData; exports.AbstractService = _chunkS2PTWBN6js.AbstractService; exports.Action = _chunkS2PTWBN6js.Action; exports.Assistant = _chunkS2PTWBN6js.Assistant; exports.AssistantMessage = _chunkS2PTWBN6js.AssistantMessage; exports.AssistantMessageModule = _chunkS2PTWBN6js.AssistantMessageModule; exports.AssistantMessageService = _chunkS2PTWBN6js.AssistantMessageService; exports.AssistantModule = _chunkS2PTWBN6js.AssistantModule; exports.AssistantService = _chunkS2PTWBN6js.AssistantService; exports.AuditLog = _chunkS2PTWBN6js.AuditLog; exports.AuditLogModule = _chunkS2PTWBN6js.AuditLogModule; exports.AuditLogService = _chunkS2PTWBN6js.AuditLogService; exports.Auth = _chunkS2PTWBN6js.Auth; exports.AuthComponent = _chunkS2PTWBN6js.AuthComponent; exports.AuthModule = _chunkS2PTWBN6js.AuthModule; exports.AuthService = _chunkS2PTWBN6js.AuthService; exports.AuthorModule = _chunkS2PTWBN6js.AuthorModule; exports.BackupCodeVerify = _chunkS2PTWBN6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkS2PTWBN6js.BackupCodeVerifyModule; exports.Billing = _chunkS2PTWBN6js.Billing; exports.BillingModule = _chunkS2PTWBN6js.BillingModule; exports.BillingService = _chunkS2PTWBN6js.BillingService; exports.BlockNoteDiffUtil = _chunkS2PTWBN6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkS2PTWBN6js.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkS2PTWBN6js.Chunk; exports.ChunkModule = _chunkS2PTWBN6js.ChunkModule; exports.ClientAbstractService = _chunkS2PTWBN6js.ClientAbstractService; exports.ClientHttpMethod = _chunkS2PTWBN6js.ClientHttpMethod; exports.Company = _chunkS2PTWBN6js.Company; exports.CompanyFields = _chunkS2PTWBN6js.CompanyFields; exports.CompanyModule = _chunkS2PTWBN6js.CompanyModule; exports.CompanyService = _chunkS2PTWBN6js.CompanyService; exports.Content = _chunkS2PTWBN6js.Content; exports.ContentFields = _chunkS2PTWBN6js.ContentFields; exports.ContentModule = _chunkS2PTWBN6js.ContentModule; exports.ContentService = _chunkS2PTWBN6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkS2PTWBN6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkS2PTWBN6js.EndpointCreator; exports.Feature = _chunkS2PTWBN6js.Feature; exports.FeatureModule = _chunkS2PTWBN6js.FeatureModule; exports.FeatureService = _chunkS2PTWBN6js.FeatureService; exports.HowTo = _chunkS2PTWBN6js.HowTo; exports.HowToFields = _chunkS2PTWBN6js.HowToFields; exports.HowToModule = _chunkS2PTWBN6js.HowToModule; exports.HowToService = _chunkS2PTWBN6js.HowToService; exports.HttpMethod = _chunkS2PTWBN6js.HttpMethod; exports.InvoiceStatus = _chunkS2PTWBN6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkS2PTWBN6js.Module; exports.ModuleModule = _chunkS2PTWBN6js.ModuleModule; exports.ModulePathsModule = _chunkS2PTWBN6js.ModulePathsModule; exports.ModuleRegistrar = _chunkS2PTWBN6js.ModuleRegistrar; exports.ModuleRegistry = _chunkS2PTWBN6js.ModuleRegistry; exports.Modules = _chunkS2PTWBN6js.Modules; exports.Notification = _chunkS2PTWBN6js.Notification; exports.NotificationFields = _chunkS2PTWBN6js.NotificationFields; exports.NotificationModule = _chunkS2PTWBN6js.NotificationModule; exports.NotificationService = _chunkS2PTWBN6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkS2PTWBN6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkS2PTWBN6js.OAuthClient; exports.OAuthModule = _chunkS2PTWBN6js.OAuthModule; exports.OAuthService = _chunkS2PTWBN6js.OAuthService; exports.Passkey = _chunkS2PTWBN6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkS2PTWBN6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkS2PTWBN6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkS2PTWBN6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkS2PTWBN6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkS2PTWBN6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkS2PTWBN6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkS2PTWBN6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkS2PTWBN6js.PasskeyRename; exports.PasskeyRenameModule = _chunkS2PTWBN6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkS2PTWBN6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkS2PTWBN6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkS2PTWBN6js.PaymentMethod; exports.PermissionMappingModule = _chunkS2PTWBN6js.PermissionMappingModule; exports.Push = _chunkS2PTWBN6js.Push; exports.PushModule = _chunkS2PTWBN6js.PushModule; exports.PushService = _chunkS2PTWBN6js.PushService; exports.RbacMatrixModule = _chunkS2PTWBN6js.RbacMatrixModule; exports.ReferralModule = _chunkS2PTWBN6js.ReferralModule; exports.ReferralService = _chunkS2PTWBN6js.ReferralService; exports.ReferralStats = _chunkS2PTWBN6js.ReferralStats; exports.ReferralStatsModule = _chunkS2PTWBN6js.ReferralStatsModule; exports.RehydrationFactory = _chunkS2PTWBN6js.RehydrationFactory; exports.Role = _chunkS2PTWBN6js.Role; exports.RoleFields = _chunkS2PTWBN6js.RoleFields; exports.RoleModule = _chunkS2PTWBN6js.RoleModule; exports.RoleService = _chunkS2PTWBN6js.RoleService; exports.S3 = _chunkS2PTWBN6js.S3; exports.S3Module = _chunkS2PTWBN6js.S3Module; exports.S3Service = _chunkS2PTWBN6js.S3Service; exports.StripeCustomer = _chunkS2PTWBN6js.StripeCustomer; exports.StripeCustomerModule = _chunkS2PTWBN6js.StripeCustomerModule; exports.StripeCustomerService = _chunkS2PTWBN6js.StripeCustomerService; exports.StripeInvoice = _chunkS2PTWBN6js.StripeInvoice; exports.StripeInvoiceModule = _chunkS2PTWBN6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkS2PTWBN6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkS2PTWBN6js.StripePaymentMethodModule; exports.StripePrice = _chunkS2PTWBN6js.StripePrice; exports.StripePriceModule = _chunkS2PTWBN6js.StripePriceModule; exports.StripePriceService = _chunkS2PTWBN6js.StripePriceService; exports.StripeProduct = _chunkS2PTWBN6js.StripeProduct; exports.StripeProductModule = _chunkS2PTWBN6js.StripeProductModule; exports.StripeProductService = _chunkS2PTWBN6js.StripeProductService; exports.StripePromotionCode = _chunkS2PTWBN6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkS2PTWBN6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkS2PTWBN6js.StripePromotionCodeService; exports.StripeSubscription = _chunkS2PTWBN6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkS2PTWBN6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkS2PTWBN6js.StripeSubscriptionService; exports.StripeUsage = _chunkS2PTWBN6js.StripeUsage; exports.StripeUsageModule = _chunkS2PTWBN6js.StripeUsageModule; exports.StripeUsageService = _chunkS2PTWBN6js.StripeUsageService; exports.SubscriptionStatus = _chunkS2PTWBN6js.SubscriptionStatus; exports.TableOptions = _chunkS2PTWBN6js.TableOptions; exports.TotpAuthenticator = _chunkS2PTWBN6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkS2PTWBN6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkS2PTWBN6js.TotpSetup; exports.TotpSetupModule = _chunkS2PTWBN6js.TotpSetupModule; exports.TotpVerify = _chunkS2PTWBN6js.TotpVerify; exports.TotpVerifyLogin = _chunkS2PTWBN6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkS2PTWBN6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkS2PTWBN6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkS2PTWBN6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkS2PTWBN6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkS2PTWBN6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkS2PTWBN6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkS2PTWBN6js.TwoFactorService; exports.TwoFactorStatus = _chunkS2PTWBN6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkS2PTWBN6js.TwoFactorStatusModule; exports.User = _chunkS2PTWBN6js.User; exports.UserFields = _chunkS2PTWBN6js.UserFields; exports.UserModule = _chunkS2PTWBN6js.UserModule; exports.UserService = _chunkS2PTWBN6js.UserService; exports.Waitlist = _chunkS2PTWBN6js.Waitlist; exports.WaitlistModule = _chunkS2PTWBN6js.WaitlistModule; exports.WaitlistService = _chunkS2PTWBN6js.WaitlistService; exports.WaitlistStats = _chunkS2PTWBN6js.WaitlistStats; exports.WaitlistStatsModule = _chunkS2PTWBN6js.WaitlistStatsModule; exports.checkPermissions = _chunkS2PTWBN6js.checkPermissions; exports.checkPermissionsFromServer = _chunkS2PTWBN6js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkS2PTWBN6js.clearLastApiTotal; exports.cn = _chunkS2PTWBN6js.cn; exports.composeRefs = _chunkS2PTWBN6js.composeRefs; exports.createJsonApiInclusion = _chunkS2PTWBN6js.createJsonApiInclusion; exports.dismissToast = _chunkS2PTWBN6js.dismissToast; exports.entityObjectSchema = _chunkS2PTWBN6js.entityObjectSchema; exports.exists = _chunkS2PTWBN6js.exists; exports.formatDate = _chunkS2PTWBN6js.formatDate; exports.formatLocalDate = _chunkS2PTWBN6js.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkS2PTWBN6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkS2PTWBN6js.getGlobalErrorHandler; exports.getIcon = _chunkS2PTWBN6js.getIcon; exports.getIconByModule = _chunkS2PTWBN6js.getIconByModule; exports.getIconByModuleName = _chunkS2PTWBN6js.getIconByModuleName; exports.getInitials = _chunkS2PTWBN6js.getInitials; exports.getLastApiTotal = _chunkS2PTWBN6js.getLastApiTotal; exports.getLucideIcon = _chunkS2PTWBN6js.getLucideIcon; exports.getLucideIconByModule = _chunkS2PTWBN6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkS2PTWBN6js.getLucideIconByModuleName; exports.getTableComponents = _chunkS2PTWBN6js.getTableComponents; exports.getTableOptions = _chunkS2PTWBN6js.getTableOptions; exports.getValueFromPath = _chunkS2PTWBN6js.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkS2PTWBN6js.rehydrate; exports.rehydrateList = _chunkS2PTWBN6js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkS2PTWBN6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkS2PTWBN6js.setGlobalErrorHandler; exports.showCustomToast = _chunkS2PTWBN6js.showCustomToast; exports.showError = _chunkS2PTWBN6js.showError; exports.showToast = _chunkS2PTWBN6js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkS2PTWBN6js.useComposedRefs; exports.useIsMobile = _chunkS2PTWBN6js.useIsMobile; exports.userObjectSchema = _chunkS2PTWBN6js.userObjectSchema;
|
|
376
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunk6P7MEU7Qjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6P7MEU7Qjs.AbstractApiData; exports.AbstractService = _chunk6P7MEU7Qjs.AbstractService; exports.Action = _chunk6P7MEU7Qjs.Action; exports.Assistant = _chunk6P7MEU7Qjs.Assistant; exports.AssistantMessage = _chunk6P7MEU7Qjs.AssistantMessage; exports.AssistantMessageModule = _chunk6P7MEU7Qjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6P7MEU7Qjs.AssistantMessageService; exports.AssistantModule = _chunk6P7MEU7Qjs.AssistantModule; exports.AssistantService = _chunk6P7MEU7Qjs.AssistantService; exports.AuditLog = _chunk6P7MEU7Qjs.AuditLog; exports.AuditLogModule = _chunk6P7MEU7Qjs.AuditLogModule; exports.AuditLogService = _chunk6P7MEU7Qjs.AuditLogService; exports.Auth = _chunk6P7MEU7Qjs.Auth; exports.AuthComponent = _chunk6P7MEU7Qjs.AuthComponent; exports.AuthModule = _chunk6P7MEU7Qjs.AuthModule; exports.AuthService = _chunk6P7MEU7Qjs.AuthService; exports.AuthorModule = _chunk6P7MEU7Qjs.AuthorModule; exports.BackupCodeVerify = _chunk6P7MEU7Qjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6P7MEU7Qjs.BackupCodeVerifyModule; exports.Billing = _chunk6P7MEU7Qjs.Billing; exports.BillingModule = _chunk6P7MEU7Qjs.BillingModule; exports.BillingService = _chunk6P7MEU7Qjs.BillingService; exports.BlockNoteDiffUtil = _chunk6P7MEU7Qjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6P7MEU7Qjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunk6P7MEU7Qjs.Chunk; exports.ChunkModule = _chunk6P7MEU7Qjs.ChunkModule; exports.ClientAbstractService = _chunk6P7MEU7Qjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6P7MEU7Qjs.ClientHttpMethod; exports.Company = _chunk6P7MEU7Qjs.Company; exports.CompanyFields = _chunk6P7MEU7Qjs.CompanyFields; exports.CompanyModule = _chunk6P7MEU7Qjs.CompanyModule; exports.CompanyService = _chunk6P7MEU7Qjs.CompanyService; exports.Content = _chunk6P7MEU7Qjs.Content; exports.ContentFields = _chunk6P7MEU7Qjs.ContentFields; exports.ContentModule = _chunk6P7MEU7Qjs.ContentModule; exports.ContentService = _chunk6P7MEU7Qjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6P7MEU7Qjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkRCMIVTVLjs.DataClassRegistry; exports.DataClassRegistry = _chunkRCMIVTVLjs.DataClassRegistry; exports.EndpointCreator = _chunk6P7MEU7Qjs.EndpointCreator; exports.Feature = _chunk6P7MEU7Qjs.Feature; exports.FeatureModule = _chunk6P7MEU7Qjs.FeatureModule; exports.FeatureService = _chunk6P7MEU7Qjs.FeatureService; exports.HowTo = _chunk6P7MEU7Qjs.HowTo; exports.HowToFields = _chunk6P7MEU7Qjs.HowToFields; exports.HowToModule = _chunk6P7MEU7Qjs.HowToModule; exports.HowToService = _chunk6P7MEU7Qjs.HowToService; exports.HttpMethod = _chunk6P7MEU7Qjs.HttpMethod; exports.InvoiceStatus = _chunk6P7MEU7Qjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkRCMIVTVLjs.JsonApiDataFactory; exports.Module = _chunk6P7MEU7Qjs.Module; exports.ModuleModule = _chunk6P7MEU7Qjs.ModuleModule; exports.ModulePathsModule = _chunk6P7MEU7Qjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6P7MEU7Qjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6P7MEU7Qjs.ModuleRegistry; exports.Modules = _chunk6P7MEU7Qjs.Modules; exports.Notification = _chunk6P7MEU7Qjs.Notification; exports.NotificationFields = _chunk6P7MEU7Qjs.NotificationFields; exports.NotificationModule = _chunk6P7MEU7Qjs.NotificationModule; exports.NotificationService = _chunk6P7MEU7Qjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6P7MEU7Qjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6P7MEU7Qjs.OAuthClient; exports.OAuthModule = _chunk6P7MEU7Qjs.OAuthModule; exports.OAuthService = _chunk6P7MEU7Qjs.OAuthService; exports.Passkey = _chunk6P7MEU7Qjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6P7MEU7Qjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6P7MEU7Qjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6P7MEU7Qjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6P7MEU7Qjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6P7MEU7Qjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6P7MEU7Qjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6P7MEU7Qjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6P7MEU7Qjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6P7MEU7Qjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6P7MEU7Qjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6P7MEU7Qjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6P7MEU7Qjs.PaymentMethod; exports.PermissionMappingModule = _chunk6P7MEU7Qjs.PermissionMappingModule; exports.Push = _chunk6P7MEU7Qjs.Push; exports.PushModule = _chunk6P7MEU7Qjs.PushModule; exports.PushService = _chunk6P7MEU7Qjs.PushService; exports.RbacMatrixModule = _chunk6P7MEU7Qjs.RbacMatrixModule; exports.ReferralModule = _chunk6P7MEU7Qjs.ReferralModule; exports.ReferralService = _chunk6P7MEU7Qjs.ReferralService; exports.ReferralStats = _chunk6P7MEU7Qjs.ReferralStats; exports.ReferralStatsModule = _chunk6P7MEU7Qjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6P7MEU7Qjs.RehydrationFactory; exports.Role = _chunk6P7MEU7Qjs.Role; exports.RoleFields = _chunk6P7MEU7Qjs.RoleFields; exports.RoleModule = _chunk6P7MEU7Qjs.RoleModule; exports.RoleService = _chunk6P7MEU7Qjs.RoleService; exports.S3 = _chunk6P7MEU7Qjs.S3; exports.S3Module = _chunk6P7MEU7Qjs.S3Module; exports.S3Service = _chunk6P7MEU7Qjs.S3Service; exports.StripeCustomer = _chunk6P7MEU7Qjs.StripeCustomer; exports.StripeCustomerModule = _chunk6P7MEU7Qjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6P7MEU7Qjs.StripeCustomerService; exports.StripeInvoice = _chunk6P7MEU7Qjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6P7MEU7Qjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6P7MEU7Qjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6P7MEU7Qjs.StripePaymentMethodModule; exports.StripePrice = _chunk6P7MEU7Qjs.StripePrice; exports.StripePriceModule = _chunk6P7MEU7Qjs.StripePriceModule; exports.StripePriceService = _chunk6P7MEU7Qjs.StripePriceService; exports.StripeProduct = _chunk6P7MEU7Qjs.StripeProduct; exports.StripeProductModule = _chunk6P7MEU7Qjs.StripeProductModule; exports.StripeProductService = _chunk6P7MEU7Qjs.StripeProductService; exports.StripePromotionCode = _chunk6P7MEU7Qjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6P7MEU7Qjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6P7MEU7Qjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6P7MEU7Qjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6P7MEU7Qjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6P7MEU7Qjs.StripeSubscriptionService; exports.StripeUsage = _chunk6P7MEU7Qjs.StripeUsage; exports.StripeUsageModule = _chunk6P7MEU7Qjs.StripeUsageModule; exports.StripeUsageService = _chunk6P7MEU7Qjs.StripeUsageService; exports.SubscriptionStatus = _chunk6P7MEU7Qjs.SubscriptionStatus; exports.TableOptions = _chunk6P7MEU7Qjs.TableOptions; exports.TotpAuthenticator = _chunk6P7MEU7Qjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6P7MEU7Qjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6P7MEU7Qjs.TotpSetup; exports.TotpSetupModule = _chunk6P7MEU7Qjs.TotpSetupModule; exports.TotpVerify = _chunk6P7MEU7Qjs.TotpVerify; exports.TotpVerifyLogin = _chunk6P7MEU7Qjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6P7MEU7Qjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6P7MEU7Qjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6P7MEU7Qjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6P7MEU7Qjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6P7MEU7Qjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6P7MEU7Qjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6P7MEU7Qjs.TwoFactorService; exports.TwoFactorStatus = _chunk6P7MEU7Qjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6P7MEU7Qjs.TwoFactorStatusModule; exports.User = _chunk6P7MEU7Qjs.User; exports.UserFields = _chunk6P7MEU7Qjs.UserFields; exports.UserModule = _chunk6P7MEU7Qjs.UserModule; exports.UserService = _chunk6P7MEU7Qjs.UserService; exports.Waitlist = _chunk6P7MEU7Qjs.Waitlist; exports.WaitlistModule = _chunk6P7MEU7Qjs.WaitlistModule; exports.WaitlistService = _chunk6P7MEU7Qjs.WaitlistService; exports.WaitlistStats = _chunk6P7MEU7Qjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6P7MEU7Qjs.WaitlistStatsModule; exports.checkPermissions = _chunk6P7MEU7Qjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6P7MEU7Qjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk6P7MEU7Qjs.clearLastApiTotal; exports.cn = _chunk6P7MEU7Qjs.cn; exports.composeRefs = _chunk6P7MEU7Qjs.composeRefs; exports.createJsonApiInclusion = _chunk6P7MEU7Qjs.createJsonApiInclusion; exports.dismissToast = _chunk6P7MEU7Qjs.dismissToast; exports.entityObjectSchema = _chunk6P7MEU7Qjs.entityObjectSchema; exports.exists = _chunk6P7MEU7Qjs.exists; exports.formatDate = _chunk6P7MEU7Qjs.formatDate; exports.formatLocalDate = _chunk6P7MEU7Qjs.formatLocalDate; exports.getBootstrapper = _chunkRCMIVTVLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6P7MEU7Qjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6P7MEU7Qjs.getGlobalErrorHandler; exports.getIcon = _chunk6P7MEU7Qjs.getIcon; exports.getIconByModule = _chunk6P7MEU7Qjs.getIconByModule; exports.getIconByModuleName = _chunk6P7MEU7Qjs.getIconByModuleName; exports.getInitials = _chunk6P7MEU7Qjs.getInitials; exports.getLastApiTotal = _chunk6P7MEU7Qjs.getLastApiTotal; exports.getLucideIcon = _chunk6P7MEU7Qjs.getLucideIcon; exports.getLucideIconByModule = _chunk6P7MEU7Qjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6P7MEU7Qjs.getLucideIconByModuleName; exports.getTableComponents = _chunk6P7MEU7Qjs.getTableComponents; exports.getTableOptions = _chunk6P7MEU7Qjs.getTableOptions; exports.getValueFromPath = _chunk6P7MEU7Qjs.getValueFromPath; exports.hasBootstrapper = _chunkRCMIVTVLjs.hasBootstrapper; exports.rehydrate = _chunk6P7MEU7Qjs.rehydrate; exports.rehydrateList = _chunk6P7MEU7Qjs.rehydrateList; exports.resetBootstrapStore = _chunkRCMIVTVLjs.resetBootstrapStore; exports.setBootstrapper = _chunkRCMIVTVLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6P7MEU7Qjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6P7MEU7Qjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6P7MEU7Qjs.showCustomToast; exports.showError = _chunk6P7MEU7Qjs.showError; exports.showToast = _chunk6P7MEU7Qjs.showToast; exports.translateData = _chunkRCMIVTVLjs.translateData; exports.translateResponse = _chunkRCMIVTVLjs.translateResponse; exports.tryBootstrap = _chunkRCMIVTVLjs.tryBootstrap; exports.useComposedRefs = _chunk6P7MEU7Qjs.useComposedRefs; exports.useIsMobile = _chunk6P7MEU7Qjs.useIsMobile; exports.userObjectSchema = _chunk6P7MEU7Qjs.userObjectSchema;
|
|
377
377
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.mjs
CHANGED
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
useComposedRefs,
|
|
174
174
|
useIsMobile,
|
|
175
175
|
userObjectSchema
|
|
176
|
-
} from "../chunk-
|
|
176
|
+
} from "../chunk-FWOS6PC5.mjs";
|
|
177
177
|
import "../chunk-AUXK7QSA.mjs";
|
|
178
178
|
import "../chunk-C7C7VY4F.mjs";
|
|
179
179
|
import {
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
translateData,
|
|
187
187
|
translateResponse,
|
|
188
188
|
tryBootstrap
|
|
189
|
-
} from "../chunk-
|
|
189
|
+
} from "../chunk-WC2BTKJP.mjs";
|
|
190
190
|
import "../chunk-PAWJFY3S.mjs";
|
|
191
191
|
export {
|
|
192
192
|
AVAILABLE_OAUTH_SCOPES,
|
|
@@ -21,16 +21,16 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkDXTOA7OOjs = require('../../chunk-DXTOA7OO.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk55Q43DI5js = require('../../chunk-55Q43DI5.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunk6P7MEU7Qjs = require('../../chunk-6P7MEU7Q.js');
|
|
31
31
|
require('../../chunk-LXKSUWAV.js');
|
|
32
32
|
require('../../chunk-IBS6NI7D.js');
|
|
33
|
-
require('../../chunk-
|
|
33
|
+
require('../../chunk-RCMIVTVL.js');
|
|
34
34
|
require('../../chunk-3EPNHTMH.js');
|
|
35
35
|
|
|
36
36
|
|
|
@@ -41,7 +41,7 @@ var _react = require('react');
|
|
|
41
41
|
var _jsxruntime = require('react/jsx-runtime');
|
|
42
42
|
var HelpContext = _react.createContext.call(void 0, null);
|
|
43
43
|
function HelpProvider({ children }) {
|
|
44
|
-
const cfg =
|
|
44
|
+
const cfg = _chunk55Q43DI5js._getStaticHelpContent.call(void 0, );
|
|
45
45
|
if (!cfg) {
|
|
46
46
|
throw new Error(
|
|
47
47
|
"Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
|
|
@@ -73,29 +73,29 @@ var _lucidereact = require('lucide-react');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
function HelpAssistantSheet({ open, onOpenChange }) {
|
|
76
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
-
|
|
76
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
+
_chunkDXTOA7OOjs.SheetContent,
|
|
78
78
|
{
|
|
79
79
|
side: "right",
|
|
80
80
|
className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
|
|
81
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
81
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
|
|
82
82
|
}
|
|
83
83
|
) });
|
|
84
84
|
}
|
|
85
85
|
_chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
|
|
86
86
|
function HelpAssistantSheetBody() {
|
|
87
87
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
88
|
-
const ctx =
|
|
88
|
+
const ctx = _chunkDXTOA7OOjs.useAssistantContext.call(void 0, );
|
|
89
89
|
const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
|
|
90
90
|
const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
|
|
91
91
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
92
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
93
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
92
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDXTOA7OOjs.SheetHeader, { children: [
|
|
93
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
|
|
95
95
|
] }),
|
|
96
|
-
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
96
|
+
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
97
97
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
-
|
|
98
|
+
_chunkDXTOA7OOjs.AssistantThread,
|
|
99
99
|
{
|
|
100
100
|
messages: ctx.messages,
|
|
101
101
|
sending: ctx.sending,
|
|
@@ -105,7 +105,7 @@ function HelpAssistantSheetBody() {
|
|
|
105
105
|
onRetry: ctx.retrySend
|
|
106
106
|
}
|
|
107
107
|
),
|
|
108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
|
|
109
109
|
] })
|
|
110
110
|
] });
|
|
111
111
|
}
|
|
@@ -115,20 +115,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
|
|
|
115
115
|
|
|
116
116
|
function HelpAskAi() {
|
|
117
117
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
118
|
-
const { currentUser } =
|
|
118
|
+
const { currentUser } = _chunkDXTOA7OOjs.useCurrentUserContext.call(void 0, );
|
|
119
119
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
120
120
|
const disabled = !currentUser;
|
|
121
121
|
if (disabled) {
|
|
122
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
123
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
122
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDXTOA7OOjs.Tooltip, { children: [
|
|
123
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDXTOA7OOjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
|
|
124
124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
125
125
|
t("help.askAi.button")
|
|
126
126
|
] }),
|
|
127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
|
|
128
128
|
] });
|
|
129
129
|
}
|
|
130
130
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
131
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
131
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDXTOA7OOjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
|
|
132
132
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
133
133
|
t("help.askAi.button")
|
|
134
134
|
] }),
|
|
@@ -141,7 +141,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
|
|
|
141
141
|
|
|
142
142
|
function HelpHeader() {
|
|
143
143
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
144
|
-
const { currentUser } =
|
|
144
|
+
const { currentUser } = _chunkDXTOA7OOjs.useCurrentUserContext.call(void 0, );
|
|
145
145
|
const { brand } = useHelp();
|
|
146
146
|
const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
|
|
147
147
|
const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
|
|
@@ -157,7 +157,7 @@ function HelpHeader() {
|
|
|
157
157
|
] }),
|
|
158
158
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
159
159
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
|
|
160
|
-
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
160
|
+
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login" }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.login") })
|
|
161
161
|
] })
|
|
162
162
|
] });
|
|
163
163
|
}
|
|
@@ -199,12 +199,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
|
|
|
199
199
|
|
|
200
200
|
function HelpSideNav() {
|
|
201
201
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
202
|
-
const generateUrl =
|
|
202
|
+
const generateUrl = _chunkDXTOA7OOjs.usePageUrlGenerator.call(void 0, );
|
|
203
203
|
const pathname = _navigation.usePathname.call(void 0, );
|
|
204
204
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
205
205
|
_react.useEffect.call(void 0, () => {
|
|
206
206
|
let active = true;
|
|
207
|
-
|
|
207
|
+
_chunk6P7MEU7Qjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
|
|
208
208
|
return () => {
|
|
209
209
|
active = false;
|
|
210
210
|
};
|
|
@@ -280,7 +280,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
|
|
|
280
280
|
function HelpArticleBody(props) {
|
|
281
281
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
282
282
|
const format = _nextintl.useFormatter.call(void 0, );
|
|
283
|
-
const generateUrl =
|
|
283
|
+
const generateUrl = _chunkDXTOA7OOjs.usePageUrlGenerator.call(void 0, );
|
|
284
284
|
const { howToType, title, summary, updatedAt, prev, next, children } = props;
|
|
285
285
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
|
|
286
286
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
|
|
@@ -358,13 +358,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
|
|
|
358
358
|
|
|
359
359
|
function HelpHint({ contextKey }) {
|
|
360
360
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
361
|
-
const generateUrl =
|
|
361
|
+
const generateUrl = _chunkDXTOA7OOjs.usePageUrlGenerator.call(void 0, );
|
|
362
362
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
363
363
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
364
364
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
365
365
|
_react.useEffect.call(void 0, () => {
|
|
366
366
|
let active2 = true;
|
|
367
|
-
|
|
367
|
+
_chunk6P7MEU7Qjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
|
|
368
368
|
return () => {
|
|
369
369
|
active2 = false;
|
|
370
370
|
};
|
|
@@ -376,7 +376,7 @@ function HelpHint({ contextKey }) {
|
|
|
376
376
|
if (matches.length === 0) return null;
|
|
377
377
|
const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
|
|
378
378
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
379
|
-
|
|
379
|
+
_chunkDXTOA7OOjs.Sheet,
|
|
380
380
|
{
|
|
381
381
|
open,
|
|
382
382
|
onOpenChange: (o) => {
|
|
@@ -384,11 +384,11 @@ function HelpHint({ contextKey }) {
|
|
|
384
384
|
if (!o) setPicked(null);
|
|
385
385
|
},
|
|
386
386
|
children: [
|
|
387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
|
|
388
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDXTOA7OOjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
389
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDXTOA7OOjs.SheetHeader, { children: [
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
|
|
392
392
|
] }),
|
|
393
393
|
active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
|
|
394
394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
|
|
@@ -420,18 +420,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
|
|
|
420
420
|
|
|
421
421
|
function HelpSearchResultRow({ result, onSelect }) {
|
|
422
422
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
423
|
-
const generateUrl =
|
|
423
|
+
const generateUrl = _chunkDXTOA7OOjs.usePageUrlGenerator.call(void 0, );
|
|
424
424
|
const [article, setArticle] = _react.useState.call(void 0, null);
|
|
425
425
|
_react.useEffect.call(void 0, () => {
|
|
426
426
|
let active = true;
|
|
427
|
-
|
|
427
|
+
_chunk6P7MEU7Qjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
|
|
428
428
|
return () => {
|
|
429
429
|
active = false;
|
|
430
430
|
};
|
|
431
431
|
}, [result.id]);
|
|
432
432
|
if (!article) {
|
|
433
433
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
434
|
-
|
|
434
|
+
_chunkDXTOA7OOjs.CommandItem,
|
|
435
435
|
{
|
|
436
436
|
value: result.id,
|
|
437
437
|
disabled: true,
|
|
@@ -440,7 +440,7 @@ function HelpSearchResultRow({ result, onSelect }) {
|
|
|
440
440
|
}
|
|
441
441
|
);
|
|
442
442
|
}
|
|
443
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXTOA7OOjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
444
444
|
_link2.default,
|
|
445
445
|
{
|
|
446
446
|
href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
useAssistantContext,
|
|
22
22
|
useCurrentUserContext,
|
|
23
23
|
usePageUrlGenerator
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-4SPL6QH3.mjs";
|
|
25
25
|
import {
|
|
26
26
|
_getStaticHelpContent
|
|
27
|
-
} from "../../chunk-
|
|
27
|
+
} from "../../chunk-5U7QDGDQ.mjs";
|
|
28
28
|
import {
|
|
29
29
|
HowToService
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-FWOS6PC5.mjs";
|
|
31
31
|
import "../../chunk-AUXK7QSA.mjs";
|
|
32
32
|
import "../../chunk-C7C7VY4F.mjs";
|
|
33
|
-
import "../../chunk-
|
|
33
|
+
import "../../chunk-WC2BTKJP.mjs";
|
|
34
34
|
import "../../chunk-VOXD3ZLY.mjs";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys,
|
|
|
4
4
|
export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
|
|
5
5
|
import { AbstractApiData } from './core/index.mjs';
|
|
6
6
|
export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
|
|
7
|
-
import { b as AbstractService } from './s3.service-
|
|
8
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-
|
|
7
|
+
import { b as AbstractService } from './s3.service-CBqyDZyz.mjs';
|
|
8
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-CBqyDZyz.mjs';
|
|
9
9
|
export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DH1QwtC_.mjs';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.mjs';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys,
|
|
|
4
4
|
export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
|
|
5
5
|
import { AbstractApiData } from './core/index.js';
|
|
6
6
|
export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
|
|
7
|
-
import { b as AbstractService } from './s3.service-
|
|
8
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-
|
|
7
|
+
import { b as AbstractService } from './s3.service-gcEjq8gF.js';
|
|
8
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-gcEjq8gF.js';
|
|
9
9
|
export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-giWvsOrX.js';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.js';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk55Q43DI5js = require('./chunk-55Q43DI5.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -199,7 +199,7 @@ var _chunk6KLR3WJQjs = require('./chunk-6KLR3WJQ.js');
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
|
|
202
|
-
var
|
|
202
|
+
var _chunk6P7MEU7Qjs = require('./chunk-6P7MEU7Q.js');
|
|
203
203
|
require('./chunk-LXKSUWAV.js');
|
|
204
204
|
require('./chunk-IBS6NI7D.js');
|
|
205
205
|
|
|
@@ -212,7 +212,7 @@ require('./chunk-IBS6NI7D.js');
|
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
var
|
|
215
|
+
var _chunkRCMIVTVLjs = require('./chunk-RCMIVTVL.js');
|
|
216
216
|
require('./chunk-7QVYU63E.js');
|
|
217
217
|
|
|
218
218
|
|
|
@@ -423,5 +423,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
exports.ACTION_TYPES = _chunk6KLR3WJQjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkS2PTWBN6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkS2PTWBN6js.AbstractApiData; exports.AbstractService = _chunkS2PTWBN6js.AbstractService; exports.Action = _chunkS2PTWBN6js.Action; exports.Assistant = _chunkS2PTWBN6js.Assistant; exports.AssistantMessage = _chunkS2PTWBN6js.AssistantMessage; exports.AssistantMessageModule = _chunkS2PTWBN6js.AssistantMessageModule; exports.AssistantMessageService = _chunkS2PTWBN6js.AssistantMessageService; exports.AssistantModule = _chunkS2PTWBN6js.AssistantModule; exports.AssistantService = _chunkS2PTWBN6js.AssistantService; exports.AuditLog = _chunkS2PTWBN6js.AuditLog; exports.AuditLogModule = _chunkS2PTWBN6js.AuditLogModule; exports.AuditLogService = _chunkS2PTWBN6js.AuditLogService; exports.Auth = _chunkS2PTWBN6js.Auth; exports.AuthComponent = _chunkS2PTWBN6js.AuthComponent; exports.AuthModule = _chunkS2PTWBN6js.AuthModule; exports.AuthService = _chunkS2PTWBN6js.AuthService; exports.AuthorModule = _chunkS2PTWBN6js.AuthorModule; exports.BackupCodeVerify = _chunkS2PTWBN6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkS2PTWBN6js.BackupCodeVerifyModule; exports.Billing = _chunkS2PTWBN6js.Billing; exports.BillingModule = _chunkS2PTWBN6js.BillingModule; exports.BillingService = _chunkS2PTWBN6js.BillingService; exports.BlockNoteDiffUtil = _chunkS2PTWBN6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkS2PTWBN6js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk6KLR3WJQjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkS2PTWBN6js.Chunk; exports.ChunkModule = _chunkS2PTWBN6js.ChunkModule; exports.ClientAbstractService = _chunkS2PTWBN6js.ClientAbstractService; exports.ClientHttpMethod = _chunkS2PTWBN6js.ClientHttpMethod; exports.Company = _chunkS2PTWBN6js.Company; exports.CompanyFields = _chunkS2PTWBN6js.CompanyFields; exports.CompanyModule = _chunkS2PTWBN6js.CompanyModule; exports.CompanyService = _chunkS2PTWBN6js.CompanyService; exports.Content = _chunkS2PTWBN6js.Content; exports.ContentFields = _chunkS2PTWBN6js.ContentFields; exports.ContentModule = _chunkS2PTWBN6js.ContentModule; exports.ContentService = _chunkS2PTWBN6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkS2PTWBN6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkS2PTWBN6js.EndpointCreator; exports.Feature = _chunkS2PTWBN6js.Feature; exports.FeatureModule = _chunkS2PTWBN6js.FeatureModule; exports.FeatureService = _chunkS2PTWBN6js.FeatureService; exports.HowTo = _chunkS2PTWBN6js.HowTo; exports.HowToFields = _chunkS2PTWBN6js.HowToFields; exports.HowToModule = _chunkS2PTWBN6js.HowToModule; exports.HowToService = _chunkS2PTWBN6js.HowToService; exports.HttpMethod = _chunkS2PTWBN6js.HttpMethod; exports.InvoiceStatus = _chunkS2PTWBN6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkS2PTWBN6js.Module; exports.ModuleModule = _chunkS2PTWBN6js.ModuleModule; exports.ModulePaths = _chunkS2PTWBN6js.ModulePaths; exports.ModulePathsModule = _chunkS2PTWBN6js.ModulePathsModule; exports.ModuleRegistrar = _chunkS2PTWBN6js.ModuleRegistrar; exports.ModuleRegistry = _chunkS2PTWBN6js.ModuleRegistry; exports.Modules = _chunkS2PTWBN6js.Modules; exports.Notification = _chunkS2PTWBN6js.Notification; exports.NotificationFields = _chunkS2PTWBN6js.NotificationFields; exports.NotificationModule = _chunkS2PTWBN6js.NotificationModule; exports.NotificationService = _chunkS2PTWBN6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkS2PTWBN6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkS2PTWBN6js.OAuthClient; exports.OAuthModule = _chunkS2PTWBN6js.OAuthModule; exports.OAuthService = _chunkS2PTWBN6js.OAuthService; exports.Passkey = _chunkS2PTWBN6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkS2PTWBN6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkS2PTWBN6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkS2PTWBN6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkS2PTWBN6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkS2PTWBN6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkS2PTWBN6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkS2PTWBN6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkS2PTWBN6js.PasskeyRename; exports.PasskeyRenameModule = _chunkS2PTWBN6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkS2PTWBN6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkS2PTWBN6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkS2PTWBN6js.PaymentMethod; exports.PermissionMapping = _chunkS2PTWBN6js.PermissionMapping; exports.PermissionMappingModule = _chunkS2PTWBN6js.PermissionMappingModule; exports.Push = _chunkS2PTWBN6js.Push; exports.PushModule = _chunkS2PTWBN6js.PushModule; exports.PushService = _chunkS2PTWBN6js.PushService; exports.RbacMatrixModel = _chunkS2PTWBN6js.RbacMatrixModel; exports.RbacMatrixModule = _chunkS2PTWBN6js.RbacMatrixModule; exports.RbacService = _chunk6KLR3WJQjs.RbacService; exports.ReferralModule = _chunkS2PTWBN6js.ReferralModule; exports.ReferralService = _chunkS2PTWBN6js.ReferralService; exports.ReferralStats = _chunkS2PTWBN6js.ReferralStats; exports.ReferralStatsModule = _chunkS2PTWBN6js.ReferralStatsModule; exports.RehydrationFactory = _chunkS2PTWBN6js.RehydrationFactory; exports.Role = _chunkS2PTWBN6js.Role; exports.RoleFields = _chunkS2PTWBN6js.RoleFields; exports.RoleModule = _chunkS2PTWBN6js.RoleModule; exports.RoleService = _chunkS2PTWBN6js.RoleService; exports.S3 = _chunkS2PTWBN6js.S3; exports.S3Module = _chunkS2PTWBN6js.S3Module; exports.S3Service = _chunkS2PTWBN6js.S3Service; exports.StripeCustomer = _chunkS2PTWBN6js.StripeCustomer; exports.StripeCustomerModule = _chunkS2PTWBN6js.StripeCustomerModule; exports.StripeCustomerService = _chunkS2PTWBN6js.StripeCustomerService; exports.StripeInvoice = _chunkS2PTWBN6js.StripeInvoice; exports.StripeInvoiceModule = _chunkS2PTWBN6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkS2PTWBN6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkS2PTWBN6js.StripePaymentMethodModule; exports.StripePrice = _chunkS2PTWBN6js.StripePrice; exports.StripePriceModule = _chunkS2PTWBN6js.StripePriceModule; exports.StripePriceService = _chunkS2PTWBN6js.StripePriceService; exports.StripeProduct = _chunkS2PTWBN6js.StripeProduct; exports.StripeProductModule = _chunkS2PTWBN6js.StripeProductModule; exports.StripeProductService = _chunkS2PTWBN6js.StripeProductService; exports.StripePromotionCode = _chunkS2PTWBN6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkS2PTWBN6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkS2PTWBN6js.StripePromotionCodeService; exports.StripeSubscription = _chunkS2PTWBN6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkS2PTWBN6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkS2PTWBN6js.StripeSubscriptionService; exports.StripeUsage = _chunkS2PTWBN6js.StripeUsage; exports.StripeUsageModule = _chunkS2PTWBN6js.StripeUsageModule; exports.StripeUsageService = _chunkS2PTWBN6js.StripeUsageService; exports.SubscriptionStatus = _chunkS2PTWBN6js.SubscriptionStatus; exports.TableOptions = _chunkS2PTWBN6js.TableOptions; exports.TotpAuthenticator = _chunkS2PTWBN6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkS2PTWBN6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkS2PTWBN6js.TotpSetup; exports.TotpSetupModule = _chunkS2PTWBN6js.TotpSetupModule; exports.TotpVerify = _chunkS2PTWBN6js.TotpVerify; exports.TotpVerifyLogin = _chunkS2PTWBN6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkS2PTWBN6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkS2PTWBN6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkS2PTWBN6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkS2PTWBN6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkS2PTWBN6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkS2PTWBN6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkS2PTWBN6js.TwoFactorService; exports.TwoFactorStatus = _chunkS2PTWBN6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkS2PTWBN6js.TwoFactorStatusModule; exports.User = _chunkS2PTWBN6js.User; exports.UserFields = _chunkS2PTWBN6js.UserFields; exports.UserModule = _chunkS2PTWBN6js.UserModule; exports.UserService = _chunkS2PTWBN6js.UserService; exports.Waitlist = _chunkS2PTWBN6js.Waitlist; exports.WaitlistModule = _chunkS2PTWBN6js.WaitlistModule; exports.WaitlistService = _chunkS2PTWBN6js.WaitlistService; exports.WaitlistStats = _chunkS2PTWBN6js.WaitlistStats; exports.WaitlistStatsModule = _chunkS2PTWBN6js.WaitlistStatsModule; exports.checkPermissions = _chunkS2PTWBN6js.checkPermissions; exports.checkPermissionsFromServer = _chunkS2PTWBN6js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkS2PTWBN6js.clearLastApiTotal; exports.cn = _chunkS2PTWBN6js.cn; exports.composeRefs = _chunkS2PTWBN6js.composeRefs; exports.configureAuth = _chunkS2PTWBN6js.configureAuth; exports.configureI18n = _chunk6KLR3WJQjs.configureI18n; exports.configureJsonApi = _chunk6KLR3WJQjs.configureJsonApi; exports.configureLogin = _chunk6KLR3WJQjs.configureLogin; exports.configureReferral = _chunk6KLR3WJQjs.configureReferral; exports.configureRoles = _chunk6KLR3WJQjs.configureRoles; exports.configureWaitlist = _chunk6KLR3WJQjs.configureWaitlist; exports.createJsonApiInclusion = _chunkS2PTWBN6js.createJsonApiInclusion; exports.dismissToast = _chunkS2PTWBN6js.dismissToast; exports.entityObjectSchema = _chunkS2PTWBN6js.entityObjectSchema; exports.exists = _chunkS2PTWBN6js.exists; exports.formatDate = _chunkS2PTWBN6js.formatDate; exports.formatLocalDate = _chunkS2PTWBN6js.formatLocalDate; exports.getApiUrl = _chunk6KLR3WJQjs.getApiUrl; exports.getAppUrl = _chunk6KLR3WJQjs.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkS2PTWBN6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkS2PTWBN6js.getGlobalErrorHandler; exports.getIcon = _chunkS2PTWBN6js.getIcon; exports.getIconByModule = _chunkS2PTWBN6js.getIconByModule; exports.getIconByModuleName = _chunkS2PTWBN6js.getIconByModuleName; exports.getInitials = _chunkS2PTWBN6js.getInitials; exports.getLastApiTotal = _chunkS2PTWBN6js.getLastApiTotal; exports.getLucideIcon = _chunkS2PTWBN6js.getLucideIcon; exports.getLucideIconByModule = _chunkS2PTWBN6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkS2PTWBN6js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk6KLR3WJQjs.getPublicApiUrl; exports.getReferralConfig = _chunk6KLR3WJQjs.getReferralConfig; exports.getRoleId = _chunk6KLR3WJQjs.getRoleId; exports.getStripePublishableKey = _chunk6KLR3WJQjs.getStripePublishableKey; exports.getTableComponents = _chunkS2PTWBN6js.getTableComponents; exports.getTableOptions = _chunkS2PTWBN6js.getTableOptions; exports.getTokenHandler = _chunkS2PTWBN6js.getTokenHandler; exports.getTrackablePages = _chunk6KLR3WJQjs.getTrackablePages; exports.getValueFromPath = _chunkS2PTWBN6js.getValueFromPath; exports.getWaitlistConfig = _chunk6KLR3WJQjs.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk6KLR3WJQjs.isReferralEnabled; exports.isRolesConfigured = _chunk6KLR3WJQjs.isRolesConfigured; exports.rehydrate = _chunkS2PTWBN6js.rehydrate; exports.rehydrateList = _chunkS2PTWBN6js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkS2PTWBN6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkS2PTWBN6js.setGlobalErrorHandler; exports.showCustomToast = _chunkS2PTWBN6js.showCustomToast; exports.showError = _chunkS2PTWBN6js.showError; exports.showToast = _chunkS2PTWBN6js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkS2PTWBN6js.useComposedRefs; exports.useIsMobile = _chunkS2PTWBN6js.useIsMobile; exports.userObjectSchema = _chunkS2PTWBN6js.userObjectSchema;
|
|
426
|
+
exports.ACTION_TYPES = _chunk55Q43DI5js.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk6P7MEU7Qjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6P7MEU7Qjs.AbstractApiData; exports.AbstractService = _chunk6P7MEU7Qjs.AbstractService; exports.Action = _chunk6P7MEU7Qjs.Action; exports.Assistant = _chunk6P7MEU7Qjs.Assistant; exports.AssistantMessage = _chunk6P7MEU7Qjs.AssistantMessage; exports.AssistantMessageModule = _chunk6P7MEU7Qjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6P7MEU7Qjs.AssistantMessageService; exports.AssistantModule = _chunk6P7MEU7Qjs.AssistantModule; exports.AssistantService = _chunk6P7MEU7Qjs.AssistantService; exports.AuditLog = _chunk6P7MEU7Qjs.AuditLog; exports.AuditLogModule = _chunk6P7MEU7Qjs.AuditLogModule; exports.AuditLogService = _chunk6P7MEU7Qjs.AuditLogService; exports.Auth = _chunk6P7MEU7Qjs.Auth; exports.AuthComponent = _chunk6P7MEU7Qjs.AuthComponent; exports.AuthModule = _chunk6P7MEU7Qjs.AuthModule; exports.AuthService = _chunk6P7MEU7Qjs.AuthService; exports.AuthorModule = _chunk6P7MEU7Qjs.AuthorModule; exports.BackupCodeVerify = _chunk6P7MEU7Qjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6P7MEU7Qjs.BackupCodeVerifyModule; exports.Billing = _chunk6P7MEU7Qjs.Billing; exports.BillingModule = _chunk6P7MEU7Qjs.BillingModule; exports.BillingService = _chunk6P7MEU7Qjs.BillingService; exports.BlockNoteDiffUtil = _chunk6P7MEU7Qjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6P7MEU7Qjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk55Q43DI5js.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunk6P7MEU7Qjs.Chunk; exports.ChunkModule = _chunk6P7MEU7Qjs.ChunkModule; exports.ClientAbstractService = _chunk6P7MEU7Qjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6P7MEU7Qjs.ClientHttpMethod; exports.Company = _chunk6P7MEU7Qjs.Company; exports.CompanyFields = _chunk6P7MEU7Qjs.CompanyFields; exports.CompanyModule = _chunk6P7MEU7Qjs.CompanyModule; exports.CompanyService = _chunk6P7MEU7Qjs.CompanyService; exports.Content = _chunk6P7MEU7Qjs.Content; exports.ContentFields = _chunk6P7MEU7Qjs.ContentFields; exports.ContentModule = _chunk6P7MEU7Qjs.ContentModule; exports.ContentService = _chunk6P7MEU7Qjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6P7MEU7Qjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkRCMIVTVLjs.DataClassRegistry; exports.DataClassRegistry = _chunkRCMIVTVLjs.DataClassRegistry; exports.EndpointCreator = _chunk6P7MEU7Qjs.EndpointCreator; exports.Feature = _chunk6P7MEU7Qjs.Feature; exports.FeatureModule = _chunk6P7MEU7Qjs.FeatureModule; exports.FeatureService = _chunk6P7MEU7Qjs.FeatureService; exports.HowTo = _chunk6P7MEU7Qjs.HowTo; exports.HowToFields = _chunk6P7MEU7Qjs.HowToFields; exports.HowToModule = _chunk6P7MEU7Qjs.HowToModule; exports.HowToService = _chunk6P7MEU7Qjs.HowToService; exports.HttpMethod = _chunk6P7MEU7Qjs.HttpMethod; exports.InvoiceStatus = _chunk6P7MEU7Qjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkRCMIVTVLjs.JsonApiDataFactory; exports.Module = _chunk6P7MEU7Qjs.Module; exports.ModuleModule = _chunk6P7MEU7Qjs.ModuleModule; exports.ModulePaths = _chunk6P7MEU7Qjs.ModulePaths; exports.ModulePathsModule = _chunk6P7MEU7Qjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6P7MEU7Qjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6P7MEU7Qjs.ModuleRegistry; exports.Modules = _chunk6P7MEU7Qjs.Modules; exports.Notification = _chunk6P7MEU7Qjs.Notification; exports.NotificationFields = _chunk6P7MEU7Qjs.NotificationFields; exports.NotificationModule = _chunk6P7MEU7Qjs.NotificationModule; exports.NotificationService = _chunk6P7MEU7Qjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6P7MEU7Qjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6P7MEU7Qjs.OAuthClient; exports.OAuthModule = _chunk6P7MEU7Qjs.OAuthModule; exports.OAuthService = _chunk6P7MEU7Qjs.OAuthService; exports.Passkey = _chunk6P7MEU7Qjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6P7MEU7Qjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6P7MEU7Qjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6P7MEU7Qjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6P7MEU7Qjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6P7MEU7Qjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6P7MEU7Qjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6P7MEU7Qjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6P7MEU7Qjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6P7MEU7Qjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6P7MEU7Qjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6P7MEU7Qjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6P7MEU7Qjs.PaymentMethod; exports.PermissionMapping = _chunk6P7MEU7Qjs.PermissionMapping; exports.PermissionMappingModule = _chunk6P7MEU7Qjs.PermissionMappingModule; exports.Push = _chunk6P7MEU7Qjs.Push; exports.PushModule = _chunk6P7MEU7Qjs.PushModule; exports.PushService = _chunk6P7MEU7Qjs.PushService; exports.RbacMatrixModel = _chunk6P7MEU7Qjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk6P7MEU7Qjs.RbacMatrixModule; exports.RbacService = _chunk55Q43DI5js.RbacService; exports.ReferralModule = _chunk6P7MEU7Qjs.ReferralModule; exports.ReferralService = _chunk6P7MEU7Qjs.ReferralService; exports.ReferralStats = _chunk6P7MEU7Qjs.ReferralStats; exports.ReferralStatsModule = _chunk6P7MEU7Qjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6P7MEU7Qjs.RehydrationFactory; exports.Role = _chunk6P7MEU7Qjs.Role; exports.RoleFields = _chunk6P7MEU7Qjs.RoleFields; exports.RoleModule = _chunk6P7MEU7Qjs.RoleModule; exports.RoleService = _chunk6P7MEU7Qjs.RoleService; exports.S3 = _chunk6P7MEU7Qjs.S3; exports.S3Module = _chunk6P7MEU7Qjs.S3Module; exports.S3Service = _chunk6P7MEU7Qjs.S3Service; exports.StripeCustomer = _chunk6P7MEU7Qjs.StripeCustomer; exports.StripeCustomerModule = _chunk6P7MEU7Qjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6P7MEU7Qjs.StripeCustomerService; exports.StripeInvoice = _chunk6P7MEU7Qjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6P7MEU7Qjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6P7MEU7Qjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6P7MEU7Qjs.StripePaymentMethodModule; exports.StripePrice = _chunk6P7MEU7Qjs.StripePrice; exports.StripePriceModule = _chunk6P7MEU7Qjs.StripePriceModule; exports.StripePriceService = _chunk6P7MEU7Qjs.StripePriceService; exports.StripeProduct = _chunk6P7MEU7Qjs.StripeProduct; exports.StripeProductModule = _chunk6P7MEU7Qjs.StripeProductModule; exports.StripeProductService = _chunk6P7MEU7Qjs.StripeProductService; exports.StripePromotionCode = _chunk6P7MEU7Qjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6P7MEU7Qjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6P7MEU7Qjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6P7MEU7Qjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6P7MEU7Qjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6P7MEU7Qjs.StripeSubscriptionService; exports.StripeUsage = _chunk6P7MEU7Qjs.StripeUsage; exports.StripeUsageModule = _chunk6P7MEU7Qjs.StripeUsageModule; exports.StripeUsageService = _chunk6P7MEU7Qjs.StripeUsageService; exports.SubscriptionStatus = _chunk6P7MEU7Qjs.SubscriptionStatus; exports.TableOptions = _chunk6P7MEU7Qjs.TableOptions; exports.TotpAuthenticator = _chunk6P7MEU7Qjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6P7MEU7Qjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6P7MEU7Qjs.TotpSetup; exports.TotpSetupModule = _chunk6P7MEU7Qjs.TotpSetupModule; exports.TotpVerify = _chunk6P7MEU7Qjs.TotpVerify; exports.TotpVerifyLogin = _chunk6P7MEU7Qjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6P7MEU7Qjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6P7MEU7Qjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6P7MEU7Qjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6P7MEU7Qjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6P7MEU7Qjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6P7MEU7Qjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6P7MEU7Qjs.TwoFactorService; exports.TwoFactorStatus = _chunk6P7MEU7Qjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6P7MEU7Qjs.TwoFactorStatusModule; exports.User = _chunk6P7MEU7Qjs.User; exports.UserFields = _chunk6P7MEU7Qjs.UserFields; exports.UserModule = _chunk6P7MEU7Qjs.UserModule; exports.UserService = _chunk6P7MEU7Qjs.UserService; exports.Waitlist = _chunk6P7MEU7Qjs.Waitlist; exports.WaitlistModule = _chunk6P7MEU7Qjs.WaitlistModule; exports.WaitlistService = _chunk6P7MEU7Qjs.WaitlistService; exports.WaitlistStats = _chunk6P7MEU7Qjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6P7MEU7Qjs.WaitlistStatsModule; exports.checkPermissions = _chunk6P7MEU7Qjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6P7MEU7Qjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk6P7MEU7Qjs.clearLastApiTotal; exports.cn = _chunk6P7MEU7Qjs.cn; exports.composeRefs = _chunk6P7MEU7Qjs.composeRefs; exports.configureAuth = _chunk6P7MEU7Qjs.configureAuth; exports.configureI18n = _chunk55Q43DI5js.configureI18n; exports.configureJsonApi = _chunk55Q43DI5js.configureJsonApi; exports.configureLogin = _chunk55Q43DI5js.configureLogin; exports.configureReferral = _chunk55Q43DI5js.configureReferral; exports.configureRoles = _chunk55Q43DI5js.configureRoles; exports.configureWaitlist = _chunk55Q43DI5js.configureWaitlist; exports.createJsonApiInclusion = _chunk6P7MEU7Qjs.createJsonApiInclusion; exports.dismissToast = _chunk6P7MEU7Qjs.dismissToast; exports.entityObjectSchema = _chunk6P7MEU7Qjs.entityObjectSchema; exports.exists = _chunk6P7MEU7Qjs.exists; exports.formatDate = _chunk6P7MEU7Qjs.formatDate; exports.formatLocalDate = _chunk6P7MEU7Qjs.formatLocalDate; exports.getApiUrl = _chunk55Q43DI5js.getApiUrl; exports.getAppUrl = _chunk55Q43DI5js.getAppUrl; exports.getBootstrapper = _chunkRCMIVTVLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6P7MEU7Qjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6P7MEU7Qjs.getGlobalErrorHandler; exports.getIcon = _chunk6P7MEU7Qjs.getIcon; exports.getIconByModule = _chunk6P7MEU7Qjs.getIconByModule; exports.getIconByModuleName = _chunk6P7MEU7Qjs.getIconByModuleName; exports.getInitials = _chunk6P7MEU7Qjs.getInitials; exports.getLastApiTotal = _chunk6P7MEU7Qjs.getLastApiTotal; exports.getLucideIcon = _chunk6P7MEU7Qjs.getLucideIcon; exports.getLucideIconByModule = _chunk6P7MEU7Qjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6P7MEU7Qjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk55Q43DI5js.getPublicApiUrl; exports.getReferralConfig = _chunk55Q43DI5js.getReferralConfig; exports.getRoleId = _chunk55Q43DI5js.getRoleId; exports.getStripePublishableKey = _chunk55Q43DI5js.getStripePublishableKey; exports.getTableComponents = _chunk6P7MEU7Qjs.getTableComponents; exports.getTableOptions = _chunk6P7MEU7Qjs.getTableOptions; exports.getTokenHandler = _chunk6P7MEU7Qjs.getTokenHandler; exports.getTrackablePages = _chunk55Q43DI5js.getTrackablePages; exports.getValueFromPath = _chunk6P7MEU7Qjs.getValueFromPath; exports.getWaitlistConfig = _chunk55Q43DI5js.getWaitlistConfig; exports.hasBootstrapper = _chunkRCMIVTVLjs.hasBootstrapper; exports.isReferralEnabled = _chunk55Q43DI5js.isReferralEnabled; exports.isRolesConfigured = _chunk55Q43DI5js.isRolesConfigured; exports.rehydrate = _chunk6P7MEU7Qjs.rehydrate; exports.rehydrateList = _chunk6P7MEU7Qjs.rehydrateList; exports.resetBootstrapStore = _chunkRCMIVTVLjs.resetBootstrapStore; exports.setBootstrapper = _chunkRCMIVTVLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6P7MEU7Qjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6P7MEU7Qjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6P7MEU7Qjs.showCustomToast; exports.showError = _chunk6P7MEU7Qjs.showError; exports.showToast = _chunk6P7MEU7Qjs.showToast; exports.translateData = _chunkRCMIVTVLjs.translateData; exports.translateResponse = _chunkRCMIVTVLjs.translateResponse; exports.tryBootstrap = _chunkRCMIVTVLjs.tryBootstrap; exports.useComposedRefs = _chunk6P7MEU7Qjs.useComposedRefs; exports.useIsMobile = _chunk6P7MEU7Qjs.useIsMobile; exports.userObjectSchema = _chunk6P7MEU7Qjs.userObjectSchema;
|
|
427
427
|
//# 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-5U7QDGDQ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
useComposedRefs,
|
|
200
200
|
useIsMobile,
|
|
201
201
|
userObjectSchema
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-FWOS6PC5.mjs";
|
|
203
203
|
import "./chunk-AUXK7QSA.mjs";
|
|
204
204
|
import "./chunk-C7C7VY4F.mjs";
|
|
205
205
|
import {
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
translateData,
|
|
213
213
|
translateResponse,
|
|
214
214
|
tryBootstrap
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-WC2BTKJP.mjs";
|
|
216
216
|
import "./chunk-PAWJFY3S.mjs";
|
|
217
217
|
export {
|
|
218
218
|
ACTION_TYPES,
|
|
@@ -84,6 +84,12 @@ declare abstract class AbstractService {
|
|
|
84
84
|
} | File | Blob;
|
|
85
85
|
token?: string;
|
|
86
86
|
suppressGlobalError?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Per-call override of the API base URL. When omitted, the existing global
|
|
89
|
+
* `NEXT_PUBLIC_API_URL` (or `configureJsonApi({ apiUrl })`) resolution is used —
|
|
90
|
+
* fully backward compatible. Ignored when `endpoint` starts with "http" (passthrough).
|
|
91
|
+
*/
|
|
92
|
+
baseUrl?: string;
|
|
87
93
|
}): Promise<T>;
|
|
88
94
|
/**
|
|
89
95
|
* Make an API call and return both data and meta from the response.
|
|
@@ -112,6 +118,7 @@ declare abstract class AbstractService {
|
|
|
112
118
|
method: HttpMethod;
|
|
113
119
|
endpoint: string;
|
|
114
120
|
companyId?: string;
|
|
121
|
+
baseUrl?: string;
|
|
115
122
|
suppressGlobalError?: boolean;
|
|
116
123
|
}): Promise<any>;
|
|
117
124
|
}
|
|
@@ -84,6 +84,12 @@ declare abstract class AbstractService {
|
|
|
84
84
|
} | File | Blob;
|
|
85
85
|
token?: string;
|
|
86
86
|
suppressGlobalError?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Per-call override of the API base URL. When omitted, the existing global
|
|
89
|
+
* `NEXT_PUBLIC_API_URL` (or `configureJsonApi({ apiUrl })`) resolution is used —
|
|
90
|
+
* fully backward compatible. Ignored when `endpoint` starts with "http" (passthrough).
|
|
91
|
+
*/
|
|
92
|
+
baseUrl?: string;
|
|
87
93
|
}): Promise<T>;
|
|
88
94
|
/**
|
|
89
95
|
* Make an API call and return both data and meta from the response.
|
|
@@ -112,6 +118,7 @@ declare abstract class AbstractService {
|
|
|
112
118
|
method: HttpMethod;
|
|
113
119
|
endpoint: string;
|
|
114
120
|
companyId?: string;
|
|
121
|
+
baseUrl?: string;
|
|
115
122
|
suppressGlobalError?: boolean;
|
|
116
123
|
}): Promise<any>;
|
|
117
124
|
}
|
package/dist/server/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
|
|
|
2
2
|
import { M as ModuleWithPermissions, A as Action } from '../types-CQSjy7et.mjs';
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
|
|
5
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
5
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CBqyDZyz.mjs';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.mjs';
|
|
8
8
|
import '../feature.interface-CXb1-vNq.mjs';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.js';
|
|
|
2
2
|
import { M as ModuleWithPermissions, A as Action } from '../types-DHOxe8rc.js';
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
|
|
5
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
5
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-gcEjq8gF.js';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.js';
|
|
8
8
|
import '../feature.interface-BO25VLlx.js';
|