@carlonicora/nextjs-jsonapi 2.0.3 → 2.1.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/AssistantInterface-DMh-zApr.d.mts +34 -0
- package/dist/AssistantInterface-DwdBzS9f.d.ts +34 -0
- package/dist/{BlockNoteEditor-QMZLV62B.js → BlockNoteEditor-DTW2BWIU.js} +22 -20
- package/dist/BlockNoteEditor-DTW2BWIU.js.map +1 -0
- package/dist/{BlockNoteEditor-QGEOVS3T.mjs → BlockNoteEditor-T7TIA5KG.mjs} +7 -5
- package/dist/BlockNoteEditor-T7TIA5KG.mjs.map +1 -0
- package/dist/{BlockNoteViewer-UW5VZ5UF.js → BlockNoteViewer-6N2GQWTI.js} +4 -2
- package/dist/BlockNoteViewer-6N2GQWTI.js.map +1 -0
- package/dist/{BlockNoteViewer-OPSCTHKJ.mjs → BlockNoteViewer-IBQRJ3WM.mjs} +4 -2
- package/dist/BlockNoteViewer-IBQRJ3WM.mjs.map +1 -0
- package/dist/billing/index.js +357 -357
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-DS4IBFWA.js → chunk-6YIZX26T.js} +185 -33
- package/dist/chunk-6YIZX26T.js.map +1 -0
- package/dist/{chunk-PBKZYJRJ.js → chunk-C5SETS2R.js} +1258 -895
- package/dist/chunk-C5SETS2R.js.map +1 -0
- package/dist/{chunk-UXJAS6C5.js → chunk-JG7MCYCW.js} +7 -7
- package/dist/{chunk-UXJAS6C5.js.map → chunk-JG7MCYCW.js.map} +1 -1
- package/dist/{chunk-HN5ED7OF.mjs → chunk-MAWTFEY3.mjs} +2 -2
- package/dist/{chunk-QHGSBZCL.mjs → chunk-MOMRJHT3.mjs} +1100 -737
- package/dist/chunk-MOMRJHT3.mjs.map +1 -0
- package/dist/{chunk-BIL2WQEV.mjs → chunk-P5TMD7GK.mjs} +158 -6
- package/dist/chunk-P5TMD7GK.mjs.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +102 -11
- package/dist/components/index.d.ts +102 -11
- package/dist/components/index.js +12 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -3
- package/dist/contexts/index.d.mts +29 -3
- package/dist/contexts/index.d.ts +29 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +99 -2
- package/dist/core/index.d.ts +99 -2
- package/dist/core/index.js +8 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +7 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +71 -71
- package/dist/features/tokenusage/index.mjs +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/editors/BlockNoteEditor.tsx +5 -1
- package/src/components/editors/BlockNoteEditorSuggestionMenuController.tsx +14 -2
- package/src/components/index.ts +1 -0
- package/src/components/viewers/BlockNoteViewer.tsx +5 -1
- package/src/core/index.ts +2 -0
- package/src/core/registry/ModuleRegistry.ts +1 -0
- package/src/features/assistant/components/containers/AssistantPageContainer.tsx +123 -0
- package/src/features/assistant/components/index.ts +2 -0
- package/src/features/assistant/components/parts/AssistantBlockNoteComposer.tsx +135 -0
- package/src/features/assistant/components/parts/AssistantThread.tsx +4 -1
- package/src/features/assistant/contexts/AssistantContext.tsx +60 -13
- package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +81 -0
- package/src/features/assistant/data/Assistant.ts +29 -1
- package/src/features/assistant/data/AssistantInterface.ts +15 -0
- package/src/features/assistant/data/AssistantService.ts +19 -2
- package/src/features/assistant/data/__tests__/Assistant.scope.spec.ts +64 -0
- package/src/features/assistant-action/AssistantActionModule.ts +13 -0
- package/src/features/assistant-action/components/ApprovalActionCard.tsx +127 -0
- package/src/features/assistant-action/components/AssistantContainerWithApprovals.tsx +34 -0
- package/src/features/assistant-action/components/index.ts +2 -0
- package/src/features/assistant-action/data/AssistantAction.ts +58 -0
- package/src/features/assistant-action/data/AssistantActionInterface.ts +24 -0
- package/src/features/assistant-action/data/AssistantActionService.ts +51 -0
- package/src/features/assistant-action/data/__tests__/AssistantAction.spec.ts +171 -0
- package/src/features/assistant-action/data/index.ts +3 -0
- package/src/features/assistant-action/index.ts +2 -0
- package/src/features/assistant-message/components/MessageItem.tsx +57 -6
- package/src/features/assistant-message/components/MessageList.tsx +11 -2
- package/src/features/assistant-message/components/__tests__/MessageItem.mentions.spec.tsx +34 -0
- package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +30 -13
- package/src/features/assistant-message/components/parts/tabs/CitationsTab.tsx +23 -5
- package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +3 -1
- package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +4 -1
- package/src/features/assistant-message/components/parts/tabs/useEntityLabel.ts +35 -0
- package/src/features/assistant-message/data/AssistantMessage.ts +11 -2
- package/src/features/company/components/details/TokenStatusIndicator.tsx +18 -4
- package/src/features/index.ts +1 -0
- package/dist/AssistantInterface-B56qznuH.d.mts +0 -16
- package/dist/AssistantInterface-CHiJIYDY.d.ts +0 -16
- package/dist/BlockNoteEditor-QGEOVS3T.mjs.map +0 -1
- package/dist/BlockNoteEditor-QMZLV62B.js.map +0 -1
- package/dist/BlockNoteViewer-OPSCTHKJ.mjs.map +0 -1
- package/dist/BlockNoteViewer-UW5VZ5UF.js.map +0 -1
- package/dist/chunk-BIL2WQEV.mjs.map +0 -1
- package/dist/chunk-DS4IBFWA.js.map +0 -1
- package/dist/chunk-PBKZYJRJ.js.map +0 -1
- package/dist/chunk-QHGSBZCL.mjs.map +0 -1
- /package/dist/{chunk-HN5ED7OF.mjs.map → chunk-MAWTFEY3.mjs.map} +0 -0
package/dist/core/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, Publi
|
|
|
30
30
|
import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-C3qqh3mi.js';
|
|
31
31
|
export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
|
|
32
32
|
import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-BO25VLlx.js';
|
|
33
|
-
import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-
|
|
33
|
+
import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-DwdBzS9f.js';
|
|
34
34
|
import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-CD90ycYz.js';
|
|
35
35
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-CD90ycYz.js';
|
|
36
36
|
import 'lucide-react';
|
|
@@ -203,6 +203,7 @@ interface FoundationModuleDefinitions {
|
|
|
203
203
|
HowTo: ModuleWithPermissions;
|
|
204
204
|
Assistant: ModuleWithPermissions;
|
|
205
205
|
AssistantMessage: ModuleWithPermissions;
|
|
206
|
+
AssistantAction: ModuleWithPermissions;
|
|
206
207
|
Chunk: ModuleWithPermissions;
|
|
207
208
|
Billing: ModuleWithPermissions;
|
|
208
209
|
StripeCustomer: ModuleWithPermissions;
|
|
@@ -1828,12 +1829,24 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
|
|
|
1828
1829
|
private _title?;
|
|
1829
1830
|
private _messageCount?;
|
|
1830
1831
|
private _engine?;
|
|
1832
|
+
private _boundContentType?;
|
|
1833
|
+
private _boundContentId?;
|
|
1831
1834
|
get title(): string;
|
|
1832
1835
|
get messageCount(): number;
|
|
1833
1836
|
get engine(): string | undefined;
|
|
1837
|
+
get boundContentType(): string | undefined;
|
|
1838
|
+
get boundContentId(): string | undefined;
|
|
1834
1839
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1835
1840
|
createJsonApi(data: AssistantInput): {
|
|
1836
1841
|
data: {
|
|
1842
|
+
relationships?: {
|
|
1843
|
+
content: {
|
|
1844
|
+
data: {
|
|
1845
|
+
type: string;
|
|
1846
|
+
id: string;
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
} | undefined;
|
|
1837
1850
|
type: string;
|
|
1838
1851
|
attributes: {
|
|
1839
1852
|
limitToHowToId?: string | undefined;
|
|
@@ -1850,8 +1863,15 @@ declare class AssistantService extends AbstractService {
|
|
|
1850
1863
|
static findOne(params: {
|
|
1851
1864
|
id: string;
|
|
1852
1865
|
}): Promise<AssistantInterface>;
|
|
1866
|
+
/**
|
|
1867
|
+
* Lists threads. `boundType`/`boundId` narrow the list to the threads bound
|
|
1868
|
+
* to one resource (e.g. a campaign), so a scoped surface never shows the
|
|
1869
|
+
* user's unrelated threads.
|
|
1870
|
+
*/
|
|
1853
1871
|
static findMany(params?: {
|
|
1854
1872
|
fetchAll?: boolean;
|
|
1873
|
+
boundType?: string;
|
|
1874
|
+
boundId?: string;
|
|
1855
1875
|
}): Promise<AssistantInterface[]>;
|
|
1856
1876
|
static create(params: AssistantInput): Promise<AssistantInterface>;
|
|
1857
1877
|
/**
|
|
@@ -1873,6 +1893,8 @@ declare class AssistantService extends AbstractService {
|
|
|
1873
1893
|
content: string;
|
|
1874
1894
|
howToMode?: boolean;
|
|
1875
1895
|
limitToHowToId?: string;
|
|
1896
|
+
/** BlockNote document. Serialised by the model into `content`; never its own attribute. */
|
|
1897
|
+
contentBlocks?: unknown[];
|
|
1876
1898
|
}): Promise<AssistantMessageInterface[]>;
|
|
1877
1899
|
/**
|
|
1878
1900
|
* Operator-engine variant of `appendMessage()`. Targets
|
|
@@ -1883,6 +1905,8 @@ declare class AssistantService extends AbstractService {
|
|
|
1883
1905
|
static appendMessageOperator(params: {
|
|
1884
1906
|
assistantId: string;
|
|
1885
1907
|
content: string;
|
|
1908
|
+
/** BlockNote document. Serialised by the model into `content`; never its own attribute. */
|
|
1909
|
+
contentBlocks?: unknown[];
|
|
1886
1910
|
}): Promise<AssistantMessageInterface[]>;
|
|
1887
1911
|
static rename(params: {
|
|
1888
1912
|
id: string;
|
|
@@ -1949,6 +1973,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1949
1973
|
content: string;
|
|
1950
1974
|
howToMode?: boolean;
|
|
1951
1975
|
limitToHowToId?: string;
|
|
1976
|
+
contentBlocks?: unknown[];
|
|
1952
1977
|
}): {
|
|
1953
1978
|
data: {
|
|
1954
1979
|
type: string;
|
|
@@ -1979,6 +2004,78 @@ declare class AssistantMessageService extends AbstractService {
|
|
|
1979
2004
|
}): Promise<void>;
|
|
1980
2005
|
}
|
|
1981
2006
|
|
|
2007
|
+
declare const AssistantActionModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* Lifecycle of a destructive tool call the operator engine paused on.
|
|
2011
|
+
* Only `pending` is actionable from the UI.
|
|
2012
|
+
*/
|
|
2013
|
+
type AssistantActionStatus = "pending" | "approved" | "denied" | "expired" | "executed" | "failed";
|
|
2014
|
+
/**
|
|
2015
|
+
* The frontend never creates assistant actions — the operator engine does.
|
|
2016
|
+
* The input therefore carries the id alone, so `createJsonApi()` can emit a
|
|
2017
|
+
* well-formed (if minimal) JSON:API resource object.
|
|
2018
|
+
*/
|
|
2019
|
+
type AssistantActionInput = {
|
|
2020
|
+
id: string;
|
|
2021
|
+
};
|
|
2022
|
+
interface AssistantActionInterface extends ApiDataInterface {
|
|
2023
|
+
get status(): AssistantActionStatus;
|
|
2024
|
+
get toolName(): string;
|
|
2025
|
+
get summary(): string;
|
|
2026
|
+
get resolvedAt(): Date | undefined;
|
|
2027
|
+
get expiresAt(): Date | undefined;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
declare class AssistantAction extends AbstractApiData implements AssistantActionInterface {
|
|
2031
|
+
private _status?;
|
|
2032
|
+
private _toolName?;
|
|
2033
|
+
private _summary?;
|
|
2034
|
+
private _resolvedAt?;
|
|
2035
|
+
private _expiresAt?;
|
|
2036
|
+
get status(): AssistantActionStatus;
|
|
2037
|
+
get toolName(): string;
|
|
2038
|
+
get summary(): string;
|
|
2039
|
+
get resolvedAt(): Date | undefined;
|
|
2040
|
+
get expiresAt(): Date | undefined;
|
|
2041
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
2042
|
+
/**
|
|
2043
|
+
* Minimal payload (id only): the frontend never POSTs assistant actions —
|
|
2044
|
+
* approve/deny are body-less POSTs handled by AssistantActionService.
|
|
2045
|
+
*/
|
|
2046
|
+
createJsonApi(data: AssistantActionInput): {
|
|
2047
|
+
data: {
|
|
2048
|
+
type: string;
|
|
2049
|
+
id: string;
|
|
2050
|
+
attributes: {};
|
|
2051
|
+
};
|
|
2052
|
+
included: never[];
|
|
2053
|
+
};
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
declare class AssistantActionService extends AbstractService {
|
|
2057
|
+
/**
|
|
2058
|
+
* GET single assistant action by ID
|
|
2059
|
+
*/
|
|
2060
|
+
static findOne(params: {
|
|
2061
|
+
id: string;
|
|
2062
|
+
}): Promise<AssistantActionInterface>;
|
|
2063
|
+
/**
|
|
2064
|
+
* POST (body-less) approve action — resumes the paused run and
|
|
2065
|
+
* returns the resumed assistant message.
|
|
2066
|
+
*/
|
|
2067
|
+
static approve(params: {
|
|
2068
|
+
id: string;
|
|
2069
|
+
}): Promise<AssistantMessageInterface>;
|
|
2070
|
+
/**
|
|
2071
|
+
* POST (body-less) deny action — resumes the paused run with a denial and
|
|
2072
|
+
* returns the resumed assistant message.
|
|
2073
|
+
*/
|
|
2074
|
+
static deny(params: {
|
|
2075
|
+
id: string;
|
|
2076
|
+
}): Promise<AssistantMessageInterface>;
|
|
2077
|
+
}
|
|
2078
|
+
|
|
1982
2079
|
declare const ChunkModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
1983
2080
|
|
|
1984
2081
|
declare class Chunk extends AbstractApiData implements ChunkInterface {
|
|
@@ -2374,4 +2471,4 @@ declare class AuditLogService extends AbstractService {
|
|
|
2374
2471
|
|
|
2375
2472
|
declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2376
2473
|
|
|
2377
|
-
export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
|
|
2474
|
+
export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
|
package/dist/core/index.js
CHANGED
|
@@ -185,7 +185,10 @@
|
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
|
|
188
|
-
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
var _chunk6YIZX26Tjs = require('../chunk-6YIZX26T.js');
|
|
189
192
|
require('../chunk-LXKSUWAV.js');
|
|
190
193
|
require('../chunk-IBS6NI7D.js');
|
|
191
194
|
|
|
@@ -397,5 +400,8 @@ require('../chunk-7QVYU63E.js');
|
|
|
397
400
|
|
|
398
401
|
|
|
399
402
|
|
|
400
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkDS4IBFWAjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkDS4IBFWAjs.AbstractApiData; exports.AbstractService = _chunkDS4IBFWAjs.AbstractService; exports.Action = _chunkDS4IBFWAjs.Action; exports.Assistant = _chunkDS4IBFWAjs.Assistant; exports.AssistantMessage = _chunkDS4IBFWAjs.AssistantMessage; exports.AssistantMessageModule = _chunkDS4IBFWAjs.AssistantMessageModule; exports.AssistantMessageService = _chunkDS4IBFWAjs.AssistantMessageService; exports.AssistantModule = _chunkDS4IBFWAjs.AssistantModule; exports.AssistantService = _chunkDS4IBFWAjs.AssistantService; exports.AuditLog = _chunkDS4IBFWAjs.AuditLog; exports.AuditLogModule = _chunkDS4IBFWAjs.AuditLogModule; exports.AuditLogService = _chunkDS4IBFWAjs.AuditLogService; exports.Auth = _chunkDS4IBFWAjs.Auth; exports.AuthComponent = _chunkDS4IBFWAjs.AuthComponent; exports.AuthModule = _chunkDS4IBFWAjs.AuthModule; exports.AuthService = _chunkDS4IBFWAjs.AuthService; exports.AuthorModule = _chunkDS4IBFWAjs.AuthorModule; exports.BackupCodeVerify = _chunkDS4IBFWAjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkDS4IBFWAjs.BackupCodeVerifyModule; exports.Billing = _chunkDS4IBFWAjs.Billing; exports.BillingModule = _chunkDS4IBFWAjs.BillingModule; exports.BillingService = _chunkDS4IBFWAjs.BillingService; exports.BlockNoteDiffUtil = _chunkDS4IBFWAjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkDS4IBFWAjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkDS4IBFWAjs.Chunk; exports.ChunkModule = _chunkDS4IBFWAjs.ChunkModule; exports.ClientAbstractService = _chunkDS4IBFWAjs.ClientAbstractService; exports.ClientHttpMethod = _chunkDS4IBFWAjs.ClientHttpMethod; exports.Company = _chunkDS4IBFWAjs.Company; exports.CompanyFields = _chunkDS4IBFWAjs.CompanyFields; exports.CompanyModule = _chunkDS4IBFWAjs.CompanyModule; exports.CompanyService = _chunkDS4IBFWAjs.CompanyService; exports.Content = _chunkDS4IBFWAjs.Content; exports.ContentFields = _chunkDS4IBFWAjs.ContentFields; exports.ContentModule = _chunkDS4IBFWAjs.ContentModule; exports.ContentService = _chunkDS4IBFWAjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkDS4IBFWAjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunkDS4IBFWAjs.EndpointCreator; exports.Feature = _chunkDS4IBFWAjs.Feature; exports.FeatureModule = _chunkDS4IBFWAjs.FeatureModule; exports.FeatureService = _chunkDS4IBFWAjs.FeatureService; exports.HowTo = _chunkDS4IBFWAjs.HowTo; exports.HowToFields = _chunkDS4IBFWAjs.HowToFields; exports.HowToModule = _chunkDS4IBFWAjs.HowToModule; exports.HowToService = _chunkDS4IBFWAjs.HowToService; exports.HttpMethod = _chunkDS4IBFWAjs.HttpMethod; exports.InvoiceStatus = _chunkDS4IBFWAjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkDS4IBFWAjs.MOBILE_BREAKPOINT; exports.Module = _chunkDS4IBFWAjs.Module; exports.ModuleModule = _chunkDS4IBFWAjs.ModuleModule; exports.ModulePathsModule = _chunkDS4IBFWAjs.ModulePathsModule; exports.ModuleRegistrar = _chunkDS4IBFWAjs.ModuleRegistrar; exports.ModuleRegistry = _chunkDS4IBFWAjs.ModuleRegistry; exports.Modules = _chunkDS4IBFWAjs.Modules; exports.Notification = _chunkDS4IBFWAjs.Notification; exports.NotificationFields = _chunkDS4IBFWAjs.NotificationFields; exports.NotificationModule = _chunkDS4IBFWAjs.NotificationModule; exports.NotificationService = _chunkDS4IBFWAjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkDS4IBFWAjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkDS4IBFWAjs.OAuthClient; exports.OAuthModule = _chunkDS4IBFWAjs.OAuthModule; exports.OAuthService = _chunkDS4IBFWAjs.OAuthService; exports.Passkey = _chunkDS4IBFWAjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkDS4IBFWAjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkDS4IBFWAjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkDS4IBFWAjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkDS4IBFWAjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkDS4IBFWAjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkDS4IBFWAjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkDS4IBFWAjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkDS4IBFWAjs.PasskeyRename; exports.PasskeyRenameModule = _chunkDS4IBFWAjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkDS4IBFWAjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkDS4IBFWAjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkDS4IBFWAjs.PaymentMethod; exports.PermissionMappingModule = _chunkDS4IBFWAjs.PermissionMappingModule; exports.Push = _chunkDS4IBFWAjs.Push; exports.PushModule = _chunkDS4IBFWAjs.PushModule; exports.PushService = _chunkDS4IBFWAjs.PushService; exports.RbacMatrixModule = _chunkDS4IBFWAjs.RbacMatrixModule; exports.ReferralModule = _chunkDS4IBFWAjs.ReferralModule; exports.ReferralService = _chunkDS4IBFWAjs.ReferralService; exports.ReferralStats = _chunkDS4IBFWAjs.ReferralStats; exports.ReferralStatsModule = _chunkDS4IBFWAjs.ReferralStatsModule; exports.RehydrationFactory = _chunkDS4IBFWAjs.RehydrationFactory; exports.Role = _chunkDS4IBFWAjs.Role; exports.RoleFields = _chunkDS4IBFWAjs.RoleFields; exports.RoleModule = _chunkDS4IBFWAjs.RoleModule; exports.RoleService = _chunkDS4IBFWAjs.RoleService; exports.S3 = _chunkDS4IBFWAjs.S3; exports.S3Module = _chunkDS4IBFWAjs.S3Module; exports.S3Service = _chunkDS4IBFWAjs.S3Service; exports.StripeCustomer = _chunkDS4IBFWAjs.StripeCustomer; exports.StripeCustomerModule = _chunkDS4IBFWAjs.StripeCustomerModule; exports.StripeCustomerService = _chunkDS4IBFWAjs.StripeCustomerService; exports.StripeInvoice = _chunkDS4IBFWAjs.StripeInvoice; exports.StripeInvoiceModule = _chunkDS4IBFWAjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkDS4IBFWAjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkDS4IBFWAjs.StripePaymentMethodModule; exports.StripePrice = _chunkDS4IBFWAjs.StripePrice; exports.StripePriceModule = _chunkDS4IBFWAjs.StripePriceModule; exports.StripePriceService = _chunkDS4IBFWAjs.StripePriceService; exports.StripeProduct = _chunkDS4IBFWAjs.StripeProduct; exports.StripeProductModule = _chunkDS4IBFWAjs.StripeProductModule; exports.StripeProductService = _chunkDS4IBFWAjs.StripeProductService; exports.StripePromotionCode = _chunkDS4IBFWAjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkDS4IBFWAjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkDS4IBFWAjs.StripePromotionCodeService; exports.StripeSubscription = _chunkDS4IBFWAjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkDS4IBFWAjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkDS4IBFWAjs.StripeSubscriptionService; exports.StripeUsage = _chunkDS4IBFWAjs.StripeUsage; exports.StripeUsageModule = _chunkDS4IBFWAjs.StripeUsageModule; exports.StripeUsageService = _chunkDS4IBFWAjs.StripeUsageService; exports.SubscriptionStatus = _chunkDS4IBFWAjs.SubscriptionStatus; exports.TableOptions = _chunkDS4IBFWAjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkDS4IBFWAjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkDS4IBFWAjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkDS4IBFWAjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkDS4IBFWAjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkDS4IBFWAjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkDS4IBFWAjs.TotpSetup; exports.TotpSetupModule = _chunkDS4IBFWAjs.TotpSetupModule; exports.TotpVerify = _chunkDS4IBFWAjs.TotpVerify; exports.TotpVerifyLogin = _chunkDS4IBFWAjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkDS4IBFWAjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkDS4IBFWAjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkDS4IBFWAjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkDS4IBFWAjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkDS4IBFWAjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkDS4IBFWAjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkDS4IBFWAjs.TwoFactorService; exports.TwoFactorStatus = _chunkDS4IBFWAjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkDS4IBFWAjs.TwoFactorStatusModule; exports.User = _chunkDS4IBFWAjs.User; exports.UserFields = _chunkDS4IBFWAjs.UserFields; exports.UserModule = _chunkDS4IBFWAjs.UserModule; exports.UserService = _chunkDS4IBFWAjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkDS4IBFWAjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkDS4IBFWAjs.Waitlist; exports.WaitlistModule = _chunkDS4IBFWAjs.WaitlistModule; exports.WaitlistService = _chunkDS4IBFWAjs.WaitlistService; exports.WaitlistStats = _chunkDS4IBFWAjs.WaitlistStats; exports.WaitlistStatsModule = _chunkDS4IBFWAjs.WaitlistStatsModule; exports.checkPermissions = _chunkDS4IBFWAjs.checkPermissions; exports.checkPermissionsFromServer = _chunkDS4IBFWAjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkDS4IBFWAjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkDS4IBFWAjs.clearLastApiTotal; exports.cn = _chunkDS4IBFWAjs.cn; exports.composeRefs = _chunkDS4IBFWAjs.composeRefs; exports.createJsonApiInclusion = _chunkDS4IBFWAjs.createJsonApiInclusion; exports.dismissToast = _chunkDS4IBFWAjs.dismissToast; exports.entityObjectSchema = _chunkDS4IBFWAjs.entityObjectSchema; exports.exists = _chunkDS4IBFWAjs.exists; exports.formatCodiceFiscale = _chunkDS4IBFWAjs.formatCodiceFiscale; exports.formatDate = _chunkDS4IBFWAjs.formatDate; exports.formatLocalDate = _chunkDS4IBFWAjs.formatLocalDate; exports.formatPartitaIva = _chunkDS4IBFWAjs.formatPartitaIva; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkDS4IBFWAjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkDS4IBFWAjs.getGlobalErrorHandler; exports.getIcon = _chunkDS4IBFWAjs.getIcon; exports.getIconByModule = _chunkDS4IBFWAjs.getIconByModule; exports.getIconByModuleName = _chunkDS4IBFWAjs.getIconByModuleName; exports.getInitials = _chunkDS4IBFWAjs.getInitials; exports.getLastApiMeta = _chunkDS4IBFWAjs.getLastApiMeta; exports.getLastApiTotal = _chunkDS4IBFWAjs.getLastApiTotal; exports.getLucideIcon = _chunkDS4IBFWAjs.getLucideIcon; exports.getLucideIconByModule = _chunkDS4IBFWAjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkDS4IBFWAjs.getLucideIconByModuleName; exports.getTableComponents = _chunkDS4IBFWAjs.getTableComponents; exports.getTableOptions = _chunkDS4IBFWAjs.getTableOptions; exports.getValueFromPath = _chunkDS4IBFWAjs.getValueFromPath; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.rehydrate = _chunkDS4IBFWAjs.rehydrate; exports.rehydrateList = _chunkDS4IBFWAjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkDS4IBFWAjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkDS4IBFWAjs.setGlobalErrorHandler; exports.showCustomToast = _chunkDS4IBFWAjs.showCustomToast; exports.showError = _chunkDS4IBFWAjs.showError; exports.showToast = _chunkDS4IBFWAjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunkDS4IBFWAjs.useComposedRefs; exports.useIsMobile = _chunkDS4IBFWAjs.useIsMobile; exports.userObjectSchema = _chunkDS4IBFWAjs.userObjectSchema; exports.validateCodiceFiscale = _chunkDS4IBFWAjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkDS4IBFWAjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkDS4IBFWAjs.validatePartitaIva;
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunk6YIZX26Tjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6YIZX26Tjs.AbstractApiData; exports.AbstractService = _chunk6YIZX26Tjs.AbstractService; exports.Action = _chunk6YIZX26Tjs.Action; exports.Assistant = _chunk6YIZX26Tjs.Assistant; exports.AssistantAction = _chunk6YIZX26Tjs.AssistantAction; exports.AssistantActionModule = _chunk6YIZX26Tjs.AssistantActionModule; exports.AssistantActionService = _chunk6YIZX26Tjs.AssistantActionService; exports.AssistantMessage = _chunk6YIZX26Tjs.AssistantMessage; exports.AssistantMessageModule = _chunk6YIZX26Tjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6YIZX26Tjs.AssistantMessageService; exports.AssistantModule = _chunk6YIZX26Tjs.AssistantModule; exports.AssistantService = _chunk6YIZX26Tjs.AssistantService; exports.AuditLog = _chunk6YIZX26Tjs.AuditLog; exports.AuditLogModule = _chunk6YIZX26Tjs.AuditLogModule; exports.AuditLogService = _chunk6YIZX26Tjs.AuditLogService; exports.Auth = _chunk6YIZX26Tjs.Auth; exports.AuthComponent = _chunk6YIZX26Tjs.AuthComponent; exports.AuthModule = _chunk6YIZX26Tjs.AuthModule; exports.AuthService = _chunk6YIZX26Tjs.AuthService; exports.AuthorModule = _chunk6YIZX26Tjs.AuthorModule; exports.BackupCodeVerify = _chunk6YIZX26Tjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6YIZX26Tjs.BackupCodeVerifyModule; exports.Billing = _chunk6YIZX26Tjs.Billing; exports.BillingModule = _chunk6YIZX26Tjs.BillingModule; exports.BillingService = _chunk6YIZX26Tjs.BillingService; exports.BlockNoteDiffUtil = _chunk6YIZX26Tjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6YIZX26Tjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunk6YIZX26Tjs.Chunk; exports.ChunkModule = _chunk6YIZX26Tjs.ChunkModule; exports.ClientAbstractService = _chunk6YIZX26Tjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6YIZX26Tjs.ClientHttpMethod; exports.Company = _chunk6YIZX26Tjs.Company; exports.CompanyFields = _chunk6YIZX26Tjs.CompanyFields; exports.CompanyModule = _chunk6YIZX26Tjs.CompanyModule; exports.CompanyService = _chunk6YIZX26Tjs.CompanyService; exports.Content = _chunk6YIZX26Tjs.Content; exports.ContentFields = _chunk6YIZX26Tjs.ContentFields; exports.ContentModule = _chunk6YIZX26Tjs.ContentModule; exports.ContentService = _chunk6YIZX26Tjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6YIZX26Tjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunk6YIZX26Tjs.EndpointCreator; exports.Feature = _chunk6YIZX26Tjs.Feature; exports.FeatureModule = _chunk6YIZX26Tjs.FeatureModule; exports.FeatureService = _chunk6YIZX26Tjs.FeatureService; exports.HowTo = _chunk6YIZX26Tjs.HowTo; exports.HowToFields = _chunk6YIZX26Tjs.HowToFields; exports.HowToModule = _chunk6YIZX26Tjs.HowToModule; exports.HowToService = _chunk6YIZX26Tjs.HowToService; exports.HttpMethod = _chunk6YIZX26Tjs.HttpMethod; exports.InvoiceStatus = _chunk6YIZX26Tjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6YIZX26Tjs.MOBILE_BREAKPOINT; exports.Module = _chunk6YIZX26Tjs.Module; exports.ModuleModule = _chunk6YIZX26Tjs.ModuleModule; exports.ModulePathsModule = _chunk6YIZX26Tjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6YIZX26Tjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6YIZX26Tjs.ModuleRegistry; exports.Modules = _chunk6YIZX26Tjs.Modules; exports.Notification = _chunk6YIZX26Tjs.Notification; exports.NotificationFields = _chunk6YIZX26Tjs.NotificationFields; exports.NotificationModule = _chunk6YIZX26Tjs.NotificationModule; exports.NotificationService = _chunk6YIZX26Tjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6YIZX26Tjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6YIZX26Tjs.OAuthClient; exports.OAuthModule = _chunk6YIZX26Tjs.OAuthModule; exports.OAuthService = _chunk6YIZX26Tjs.OAuthService; exports.Passkey = _chunk6YIZX26Tjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6YIZX26Tjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6YIZX26Tjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6YIZX26Tjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6YIZX26Tjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6YIZX26Tjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6YIZX26Tjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6YIZX26Tjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6YIZX26Tjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6YIZX26Tjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6YIZX26Tjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6YIZX26Tjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6YIZX26Tjs.PaymentMethod; exports.PermissionMappingModule = _chunk6YIZX26Tjs.PermissionMappingModule; exports.Push = _chunk6YIZX26Tjs.Push; exports.PushModule = _chunk6YIZX26Tjs.PushModule; exports.PushService = _chunk6YIZX26Tjs.PushService; exports.RbacMatrixModule = _chunk6YIZX26Tjs.RbacMatrixModule; exports.ReferralModule = _chunk6YIZX26Tjs.ReferralModule; exports.ReferralService = _chunk6YIZX26Tjs.ReferralService; exports.ReferralStats = _chunk6YIZX26Tjs.ReferralStats; exports.ReferralStatsModule = _chunk6YIZX26Tjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6YIZX26Tjs.RehydrationFactory; exports.Role = _chunk6YIZX26Tjs.Role; exports.RoleFields = _chunk6YIZX26Tjs.RoleFields; exports.RoleModule = _chunk6YIZX26Tjs.RoleModule; exports.RoleService = _chunk6YIZX26Tjs.RoleService; exports.S3 = _chunk6YIZX26Tjs.S3; exports.S3Module = _chunk6YIZX26Tjs.S3Module; exports.S3Service = _chunk6YIZX26Tjs.S3Service; exports.StripeCustomer = _chunk6YIZX26Tjs.StripeCustomer; exports.StripeCustomerModule = _chunk6YIZX26Tjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6YIZX26Tjs.StripeCustomerService; exports.StripeInvoice = _chunk6YIZX26Tjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6YIZX26Tjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6YIZX26Tjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6YIZX26Tjs.StripePaymentMethodModule; exports.StripePrice = _chunk6YIZX26Tjs.StripePrice; exports.StripePriceModule = _chunk6YIZX26Tjs.StripePriceModule; exports.StripePriceService = _chunk6YIZX26Tjs.StripePriceService; exports.StripeProduct = _chunk6YIZX26Tjs.StripeProduct; exports.StripeProductModule = _chunk6YIZX26Tjs.StripeProductModule; exports.StripeProductService = _chunk6YIZX26Tjs.StripeProductService; exports.StripePromotionCode = _chunk6YIZX26Tjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6YIZX26Tjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6YIZX26Tjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6YIZX26Tjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6YIZX26Tjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6YIZX26Tjs.StripeSubscriptionService; exports.StripeUsage = _chunk6YIZX26Tjs.StripeUsage; exports.StripeUsageModule = _chunk6YIZX26Tjs.StripeUsageModule; exports.StripeUsageService = _chunk6YIZX26Tjs.StripeUsageService; exports.SubscriptionStatus = _chunk6YIZX26Tjs.SubscriptionStatus; exports.TableOptions = _chunk6YIZX26Tjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6YIZX26Tjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6YIZX26Tjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6YIZX26Tjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6YIZX26Tjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6YIZX26Tjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6YIZX26Tjs.TotpSetup; exports.TotpSetupModule = _chunk6YIZX26Tjs.TotpSetupModule; exports.TotpVerify = _chunk6YIZX26Tjs.TotpVerify; exports.TotpVerifyLogin = _chunk6YIZX26Tjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6YIZX26Tjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6YIZX26Tjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6YIZX26Tjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6YIZX26Tjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6YIZX26Tjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6YIZX26Tjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6YIZX26Tjs.TwoFactorService; exports.TwoFactorStatus = _chunk6YIZX26Tjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6YIZX26Tjs.TwoFactorStatusModule; exports.User = _chunk6YIZX26Tjs.User; exports.UserFields = _chunk6YIZX26Tjs.UserFields; exports.UserModule = _chunk6YIZX26Tjs.UserModule; exports.UserService = _chunk6YIZX26Tjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6YIZX26Tjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6YIZX26Tjs.Waitlist; exports.WaitlistModule = _chunk6YIZX26Tjs.WaitlistModule; exports.WaitlistService = _chunk6YIZX26Tjs.WaitlistService; exports.WaitlistStats = _chunk6YIZX26Tjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6YIZX26Tjs.WaitlistStatsModule; exports.checkPermissions = _chunk6YIZX26Tjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6YIZX26Tjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6YIZX26Tjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk6YIZX26Tjs.clearLastApiTotal; exports.cn = _chunk6YIZX26Tjs.cn; exports.composeRefs = _chunk6YIZX26Tjs.composeRefs; exports.createJsonApiInclusion = _chunk6YIZX26Tjs.createJsonApiInclusion; exports.dismissToast = _chunk6YIZX26Tjs.dismissToast; exports.entityObjectSchema = _chunk6YIZX26Tjs.entityObjectSchema; exports.exists = _chunk6YIZX26Tjs.exists; exports.formatCodiceFiscale = _chunk6YIZX26Tjs.formatCodiceFiscale; exports.formatDate = _chunk6YIZX26Tjs.formatDate; exports.formatLocalDate = _chunk6YIZX26Tjs.formatLocalDate; exports.formatPartitaIva = _chunk6YIZX26Tjs.formatPartitaIva; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6YIZX26Tjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6YIZX26Tjs.getGlobalErrorHandler; exports.getIcon = _chunk6YIZX26Tjs.getIcon; exports.getIconByModule = _chunk6YIZX26Tjs.getIconByModule; exports.getIconByModuleName = _chunk6YIZX26Tjs.getIconByModuleName; exports.getInitials = _chunk6YIZX26Tjs.getInitials; exports.getLastApiMeta = _chunk6YIZX26Tjs.getLastApiMeta; exports.getLastApiTotal = _chunk6YIZX26Tjs.getLastApiTotal; exports.getLucideIcon = _chunk6YIZX26Tjs.getLucideIcon; exports.getLucideIconByModule = _chunk6YIZX26Tjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6YIZX26Tjs.getLucideIconByModuleName; exports.getTableComponents = _chunk6YIZX26Tjs.getTableComponents; exports.getTableOptions = _chunk6YIZX26Tjs.getTableOptions; exports.getValueFromPath = _chunk6YIZX26Tjs.getValueFromPath; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.rehydrate = _chunk6YIZX26Tjs.rehydrate; exports.rehydrateList = _chunk6YIZX26Tjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6YIZX26Tjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6YIZX26Tjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6YIZX26Tjs.showCustomToast; exports.showError = _chunk6YIZX26Tjs.showError; exports.showToast = _chunk6YIZX26Tjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunk6YIZX26Tjs.useComposedRefs; exports.useIsMobile = _chunk6YIZX26Tjs.useIsMobile; exports.userObjectSchema = _chunk6YIZX26Tjs.userObjectSchema; exports.validateCodiceFiscale = _chunk6YIZX26Tjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6YIZX26Tjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk6YIZX26Tjs.validatePartitaIva;
|
|
401
407
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,y4XAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
|
package/dist/core/index.mjs
CHANGED
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
AbstractService,
|
|
5
5
|
Action,
|
|
6
6
|
Assistant,
|
|
7
|
+
AssistantAction,
|
|
8
|
+
AssistantActionModule,
|
|
9
|
+
AssistantActionService,
|
|
7
10
|
AssistantMessage,
|
|
8
11
|
AssistantMessageModule,
|
|
9
12
|
AssistantMessageService,
|
|
@@ -185,7 +188,7 @@ import {
|
|
|
185
188
|
validateCodiceFiscale,
|
|
186
189
|
validateItalianTaxCode,
|
|
187
190
|
validatePartitaIva
|
|
188
|
-
} from "../chunk-
|
|
191
|
+
} from "../chunk-P5TMD7GK.mjs";
|
|
189
192
|
import "../chunk-AUXK7QSA.mjs";
|
|
190
193
|
import "../chunk-C7C7VY4F.mjs";
|
|
191
194
|
import {
|
|
@@ -206,6 +209,9 @@ export {
|
|
|
206
209
|
AbstractService,
|
|
207
210
|
Action,
|
|
208
211
|
Assistant,
|
|
212
|
+
AssistantAction,
|
|
213
|
+
AssistantActionModule,
|
|
214
|
+
AssistantActionService,
|
|
209
215
|
AssistantMessage,
|
|
210
216
|
AssistantMessageModule,
|
|
211
217
|
AssistantMessageService,
|
|
@@ -23,13 +23,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkC5SETS2Rjs = require('../../chunk-C5SETS2R.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkJG7MCYCWjs = require('../../chunk-JG7MCYCW.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunk6YIZX26Tjs = require('../../chunk-6YIZX26T.js');
|
|
33
33
|
require('../../chunk-LXKSUWAV.js');
|
|
34
34
|
require('../../chunk-IBS6NI7D.js');
|
|
35
35
|
require('../../chunk-QWCAOLBD.js');
|
|
@@ -43,7 +43,7 @@ var _react = require('react');
|
|
|
43
43
|
var _jsxruntime = require('react/jsx-runtime');
|
|
44
44
|
var HelpContext = _react.createContext.call(void 0, null);
|
|
45
45
|
function HelpProvider({ children }) {
|
|
46
|
-
const cfg =
|
|
46
|
+
const cfg = _chunkJG7MCYCWjs._getStaticHelpContent.call(void 0, );
|
|
47
47
|
if (!cfg) {
|
|
48
48
|
throw new Error(
|
|
49
49
|
"Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
|
|
@@ -75,29 +75,29 @@ var _lucidereact = require('lucide-react');
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
function HelpAssistantSheet({ open, onOpenChange }) {
|
|
78
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
-
|
|
78
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
_chunkC5SETS2Rjs.SheetContent,
|
|
80
80
|
{
|
|
81
81
|
side: "right",
|
|
82
82
|
className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
|
|
83
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
83
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
|
|
84
84
|
}
|
|
85
85
|
) });
|
|
86
86
|
}
|
|
87
87
|
_chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
|
|
88
88
|
function HelpAssistantSheetBody() {
|
|
89
89
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
90
|
-
const ctx =
|
|
90
|
+
const ctx = _chunkC5SETS2Rjs.useAssistantContext.call(void 0, );
|
|
91
91
|
const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
|
|
92
92
|
const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
|
|
93
93
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
95
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
96
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC5SETS2Rjs.SheetHeader, { children: [
|
|
95
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
96
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
|
|
97
97
|
] }),
|
|
98
|
-
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
+
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
99
99
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
100
|
-
|
|
100
|
+
_chunkC5SETS2Rjs.AssistantThread,
|
|
101
101
|
{
|
|
102
102
|
messages: ctx.messages,
|
|
103
103
|
sending: ctx.sending,
|
|
@@ -107,7 +107,7 @@ function HelpAssistantSheetBody() {
|
|
|
107
107
|
onRetry: ctx.retrySend
|
|
108
108
|
}
|
|
109
109
|
),
|
|
110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
|
|
111
111
|
] })
|
|
112
112
|
] });
|
|
113
113
|
}
|
|
@@ -117,20 +117,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
|
|
|
117
117
|
|
|
118
118
|
function HelpAskAi() {
|
|
119
119
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
120
|
-
const { currentUser } =
|
|
120
|
+
const { currentUser } = _chunkC5SETS2Rjs.useCurrentUserContext.call(void 0, );
|
|
121
121
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
122
122
|
const disabled = !currentUser;
|
|
123
123
|
if (disabled) {
|
|
124
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
125
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
124
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC5SETS2Rjs.Tooltip, { children: [
|
|
125
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC5SETS2Rjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
|
|
126
126
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
127
127
|
t("help.askAi.button")
|
|
128
128
|
] }),
|
|
129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
|
|
130
130
|
] });
|
|
131
131
|
}
|
|
132
132
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
133
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
133
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC5SETS2Rjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
|
|
134
134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
|
|
135
135
|
t("help.askAi.button")
|
|
136
136
|
] }),
|
|
@@ -143,7 +143,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
|
|
|
143
143
|
|
|
144
144
|
function HelpHeader() {
|
|
145
145
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
146
|
-
const { currentUser } =
|
|
146
|
+
const { currentUser } = _chunkC5SETS2Rjs.useCurrentUserContext.call(void 0, );
|
|
147
147
|
const { brand } = useHelp();
|
|
148
148
|
const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
|
|
149
149
|
const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
|
|
@@ -159,7 +159,7 @@ function HelpHeader() {
|
|
|
159
159
|
] }),
|
|
160
160
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
161
161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
|
|
162
|
-
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className:
|
|
162
|
+
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className: _chunkC5SETS2Rjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunkC5SETS2Rjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.login") })
|
|
163
163
|
] })
|
|
164
164
|
] });
|
|
165
165
|
}
|
|
@@ -201,12 +201,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
|
|
|
201
201
|
|
|
202
202
|
function HelpSideNav() {
|
|
203
203
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
204
|
-
const generateUrl =
|
|
204
|
+
const generateUrl = _chunkC5SETS2Rjs.usePageUrlGenerator.call(void 0, );
|
|
205
205
|
const pathname = _navigation.usePathname.call(void 0, );
|
|
206
206
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
207
207
|
_react.useEffect.call(void 0, () => {
|
|
208
208
|
let active = true;
|
|
209
|
-
|
|
209
|
+
_chunk6YIZX26Tjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
|
|
210
210
|
return () => {
|
|
211
211
|
active = false;
|
|
212
212
|
};
|
|
@@ -282,7 +282,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
|
|
|
282
282
|
function HelpArticleBody(props) {
|
|
283
283
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
284
284
|
const format = _nextintl.useFormatter.call(void 0, );
|
|
285
|
-
const generateUrl =
|
|
285
|
+
const generateUrl = _chunkC5SETS2Rjs.usePageUrlGenerator.call(void 0, );
|
|
286
286
|
const { howToType, title, summary, updatedAt, prev, next, children } = props;
|
|
287
287
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
|
|
@@ -339,7 +339,7 @@ function HelpTOC({ headings }) {
|
|
|
339
339
|
}, [headings]);
|
|
340
340
|
if (headings.length === 0) return null;
|
|
341
341
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { "aria-label": t("help.toc.title"), className: "hidden lg:block", children: [
|
|
342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
|
|
343
343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-1 text-sm", children: headings.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { style: { paddingLeft: `${(h.depth - 2) * 0.75}rem` }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
344
344
|
"a",
|
|
345
345
|
{
|
|
@@ -360,13 +360,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
|
|
|
360
360
|
|
|
361
361
|
function HelpHint({ contextKey }) {
|
|
362
362
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
363
|
-
const generateUrl =
|
|
363
|
+
const generateUrl = _chunkC5SETS2Rjs.usePageUrlGenerator.call(void 0, );
|
|
364
364
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
365
365
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
366
366
|
const [articles, setArticles] = _react.useState.call(void 0, []);
|
|
367
367
|
_react.useEffect.call(void 0, () => {
|
|
368
368
|
let active2 = true;
|
|
369
|
-
|
|
369
|
+
_chunk6YIZX26Tjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
|
|
370
370
|
return () => {
|
|
371
371
|
active2 = false;
|
|
372
372
|
};
|
|
@@ -378,7 +378,7 @@ function HelpHint({ contextKey }) {
|
|
|
378
378
|
if (matches.length === 0) return null;
|
|
379
379
|
const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
|
|
380
380
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
381
|
-
|
|
381
|
+
_chunkC5SETS2Rjs.Sheet,
|
|
382
382
|
{
|
|
383
383
|
open,
|
|
384
384
|
onOpenChange: (o) => {
|
|
@@ -386,11 +386,11 @@ function HelpHint({ contextKey }) {
|
|
|
386
386
|
if (!o) setPicked(null);
|
|
387
387
|
},
|
|
388
388
|
children: [
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC5SETS2Rjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC5SETS2Rjs.SheetHeader, { children: [
|
|
392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
|
|
394
394
|
] }),
|
|
395
395
|
active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
|
|
396
396
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
|
|
@@ -422,18 +422,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
|
|
|
422
422
|
|
|
423
423
|
function HelpSearchResultRow({ result, onSelect }) {
|
|
424
424
|
const t = _nextintl.useTranslations.call(void 0, );
|
|
425
|
-
const generateUrl =
|
|
425
|
+
const generateUrl = _chunkC5SETS2Rjs.usePageUrlGenerator.call(void 0, );
|
|
426
426
|
const [article, setArticle] = _react.useState.call(void 0, null);
|
|
427
427
|
_react.useEffect.call(void 0, () => {
|
|
428
428
|
let active = true;
|
|
429
|
-
|
|
429
|
+
_chunk6YIZX26Tjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
|
|
430
430
|
return () => {
|
|
431
431
|
active = false;
|
|
432
432
|
};
|
|
433
433
|
}, [result.id]);
|
|
434
434
|
if (!article) {
|
|
435
435
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
436
|
-
|
|
436
|
+
_chunkC5SETS2Rjs.CommandItem,
|
|
437
437
|
{
|
|
438
438
|
value: result.id,
|
|
439
439
|
disabled: true,
|
|
@@ -442,7 +442,7 @@ function HelpSearchResultRow({ result, onSelect }) {
|
|
|
442
442
|
}
|
|
443
443
|
);
|
|
444
444
|
}
|
|
445
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
445
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5SETS2Rjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
446
446
|
_link2.default,
|
|
447
447
|
{
|
|
448
448
|
href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
useAssistantContext,
|
|
24
24
|
useCurrentUserContext,
|
|
25
25
|
usePageUrlGenerator
|
|
26
|
-
} from "../../chunk-
|
|
26
|
+
} from "../../chunk-MOMRJHT3.mjs";
|
|
27
27
|
import {
|
|
28
28
|
_getStaticHelpContent
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-MAWTFEY3.mjs";
|
|
30
30
|
import {
|
|
31
31
|
HowToService
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-P5TMD7GK.mjs";
|
|
33
33
|
import "../../chunk-AUXK7QSA.mjs";
|
|
34
34
|
import "../../chunk-C7C7VY4F.mjs";
|
|
35
35
|
import "../../chunk-Z2CB63VG.mjs";
|