@carlonicora/nextjs-jsonapi 1.107.1 → 1.109.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/{AssistantInterface-BYgI5z1-.d.mts → AssistantInterface-B1c8FhGA.d.mts} +2 -0
- package/dist/{AssistantInterface-DfDcz0gJ.d.ts → AssistantInterface-BBUHxOCd.d.ts} +2 -0
- package/dist/{AssistantMessageInterface-BpEhx2pC.d.ts → AssistantMessageInterface-Cs1yb-gF.d.ts} +3 -1
- package/dist/{AssistantMessageInterface-DJ3Me16Y.d.mts → AssistantMessageInterface-DQ3mH5L8.d.mts} +3 -1
- package/dist/{AuthComponent-B6DIk8Vf.d.ts → AuthComponent-Cd7lcYif.d.ts} +1 -1
- package/dist/{AuthComponent-BKI0ZbtD.d.mts → AuthComponent-DdxCFgUZ.d.mts} +1 -1
- package/dist/{BlockNoteEditor-RWRVIEZC.js → BlockNoteEditor-3XYBZLWO.js} +20 -19
- package/dist/BlockNoteEditor-3XYBZLWO.js.map +1 -0
- package/dist/{BlockNoteEditor-7TSK7PNG.mjs → BlockNoteEditor-EBFZG7AL.mjs} +5 -4
- package/dist/{BlockNoteEditor-7TSK7PNG.mjs.map → BlockNoteEditor-EBFZG7AL.mjs.map} +1 -1
- package/dist/{auth.interface-BBUgMZzs.d.ts → auth.interface-8b601idJ.d.ts} +1 -1
- package/dist/{auth.interface-XYEREOD6.d.mts → auth.interface-CXBF8Mhi.d.mts} +1 -1
- package/dist/billing/index.js +347 -346
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +4 -3
- package/dist/billing/index.mjs.map +1 -1
- package/dist/chunk-3J7RQBF3.js +123 -0
- package/dist/chunk-3J7RQBF3.js.map +1 -0
- package/dist/{chunk-VLDLERJN.js → chunk-7E3O52U5.js} +15 -8
- package/dist/chunk-7E3O52U5.js.map +1 -0
- package/dist/{chunk-RXXZGPC3.js → chunk-CFI4WZ5R.js} +159 -113
- package/dist/chunk-CFI4WZ5R.js.map +1 -0
- package/dist/chunk-CQID6RCF.mjs +38 -0
- package/dist/chunk-CQID6RCF.mjs.map +1 -0
- package/dist/{chunk-WSOPEIRP.mjs → chunk-CRTVAQEK.mjs} +46 -27
- package/dist/chunk-CRTVAQEK.mjs.map +1 -0
- package/dist/{chunk-N3NVIPSU.mjs → chunk-MSNNAHDB.mjs} +129 -83
- package/dist/{chunk-N3NVIPSU.mjs.map → chunk-MSNNAHDB.mjs.map} +1 -1
- package/dist/chunk-MZTKPPET.mjs +123 -0
- package/dist/chunk-MZTKPPET.mjs.map +1 -0
- package/dist/{chunk-2IRWQVG4.js → chunk-UHO3KUUH.js} +842 -823
- package/dist/chunk-UHO3KUUH.js.map +1 -0
- package/dist/{chunk-CFECWLHH.mjs → chunk-UOYIWJEJ.mjs} +10 -3
- package/dist/chunk-UOYIWJEJ.mjs.map +1 -0
- package/dist/chunk-YQQHAFBS.js +38 -0
- package/dist/chunk-YQQHAFBS.js.map +1 -0
- package/dist/client/index.d.mts +8 -16
- package/dist/client/index.d.ts +8 -16
- package/dist/client/index.js +5 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +4 -3
- package/dist/components/index.d.mts +8 -7
- package/dist/components/index.d.ts +8 -7
- package/dist/components/index.js +5 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +4 -3
- package/dist/{config-CLQynoaa.d.ts → config-CN23v3eJ.d.ts} +4 -1
- package/dist/{config-k61pe_o2.d.mts → config-gh88Qn4h.d.mts} +4 -1
- package/dist/contexts/index.d.mts +18 -7
- package/dist/contexts/index.d.ts +18 -7
- package/dist/contexts/index.js +5 -4
- package/dist/contexts/index.js.map +1 -1
- package/dist/contexts/index.mjs +4 -3
- package/dist/core/index.d.mts +44 -11
- package/dist/core/index.d.ts +44 -11
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.css +29 -0
- package/dist/features/help/index.css.map +1 -0
- package/dist/features/help/index.d.mts +115 -0
- package/dist/features/help/index.d.ts +115 -0
- package/dist/features/help/index.js +532 -0
- package/dist/features/help/index.js.map +1 -0
- package/dist/features/help/index.mjs +532 -0
- package/dist/features/help/index.mjs.map +1 -0
- package/dist/features/help/server/createHelpAssetRouteHandler.d.mts +11 -0
- package/dist/features/help/server/createHelpAssetRouteHandler.d.ts +11 -0
- package/dist/features/help/server/createHelpAssetRouteHandler.js +43 -0
- package/dist/features/help/server/createHelpAssetRouteHandler.js.map +1 -0
- package/dist/features/help/server/createHelpAssetRouteHandler.mjs +43 -0
- package/dist/features/help/server/createHelpAssetRouteHandler.mjs.map +1 -0
- package/dist/features/help/server.d.mts +71 -0
- package/dist/features/help/server.d.ts +71 -0
- package/dist/features/help/server.js +123 -0
- package/dist/features/help/server.js.map +1 -0
- package/dist/features/help/server.mjs +123 -0
- package/dist/features/help/server.mjs.map +1 -0
- package/dist/help-content-config.interface-B9L02u9i.d.mts +50 -0
- package/dist/help-content-config.interface-B9L02u9i.d.ts +50 -0
- package/dist/index.d.mts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/{notification.interface-aLEJbA_g.d.ts → notification.interface-C1T1C2ee.d.ts} +1 -100
- package/dist/{notification.interface-DLZGtV7Z.d.mts → notification.interface-DIxR23eS.d.mts} +1 -100
- package/dist/{s3.service-CVgLWaDc.d.mts → s3.service-0BTClOYO.d.mts} +2 -2
- package/dist/{s3.service-SLlX0Zbz.d.ts → s3.service-CT27Fm1s.d.ts} +2 -2
- package/dist/server/index.d.mts +4 -3
- package/dist/server/index.d.ts +4 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/types-CQSjy7et.d.mts +101 -0
- package/dist/types-DHOxe8rc.d.ts +101 -0
- package/dist/usePageUrlGenerator-tjq2mlDV.d.ts +14 -0
- package/dist/usePageUrlGenerator-uOnyJ6j2.d.mts +14 -0
- package/dist/{useSocket-BkxHHujj.d.mts → useSocket-B1fMIr17.d.mts} +1 -1
- package/dist/{useSocket-CMDjWFYm.d.ts → useSocket-BdJTBXKv.d.ts} +1 -1
- package/package.json +20 -1
- package/src/client/config.ts +9 -1
- package/src/core/registry/helpStore.ts +45 -0
- package/src/features/assistant/contexts/AssistantContext.tsx +35 -19
- package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +66 -6
- package/src/features/assistant/data/Assistant.ts +2 -0
- package/src/features/assistant/data/AssistantInterface.ts +2 -0
- package/src/features/assistant/data/AssistantService.ts +18 -8
- package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +6 -4
- package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +5 -1
- package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +2 -1
- package/src/features/assistant-message/data/AssistantMessage.ts +27 -1
- package/src/features/assistant-message/data/AssistantMessageInterface.ts +1 -0
- package/src/features/assistant-message/data/__tests__/AssistantMessage.spec.ts +7 -3
- package/src/features/help/components/HelpArticleBody.tsx +54 -0
- package/src/features/help/components/HelpAskAi.tsx +36 -0
- package/src/features/help/components/HelpAssistantSheet.tsx +53 -0
- package/src/features/help/components/HelpHeader.tsx +40 -0
- package/src/features/help/components/HelpHint.tsx +77 -0
- package/src/features/help/components/HelpSearchResultRow.tsx +51 -0
- package/src/features/help/components/HelpSideNav.tsx +84 -0
- package/src/features/help/components/HelpTOC.tsx +49 -0
- package/src/features/help/components/__tests__/HelpAskAi.spec.tsx +68 -0
- package/src/features/help/components/__tests__/HelpAssistantSheet.spec.tsx +36 -0
- package/src/features/help/components/__tests__/HelpHint.spec.tsx +50 -0
- package/src/features/help/components/__tests__/HelpSearchResultRow.spec.tsx +59 -0
- package/src/features/help/components/__tests__/HelpSideNav.spec.tsx +52 -0
- package/src/features/help/components/mdx/Callout.tsx +21 -0
- package/src/features/help/components/mdx/EntityRef.tsx +18 -0
- package/src/features/help/components/mdx/KeyBinding.tsx +6 -0
- package/src/features/help/components/mdx/Related.tsx +33 -0
- package/src/features/help/components/mdx/Screenshot.tsx +9 -0
- package/src/features/help/components/mdx/Steps.tsx +21 -0
- package/src/features/help/components/mdx/Video.tsx +8 -0
- package/src/features/help/components/mdx/mdx-server-components.ts +23 -0
- package/src/features/help/components/mdx/mdxComponents.ts +9 -0
- package/src/features/help/contexts/HelpContext.spec.tsx +28 -0
- package/src/features/help/contexts/HelpContext.tsx +24 -0
- package/src/features/help/hooks/useHelp.ts +1 -0
- package/src/features/help/hooks/useHelpArticle.ts +7 -0
- package/src/features/help/hooks/useHelpFilter.ts +27 -0
- package/src/features/help/hooks/useHelpManifest.ts +5 -0
- package/src/features/help/i18n-keys.ts +34 -0
- package/src/features/help/index.ts +27 -0
- package/src/features/help/interfaces/help-content-config.interface.ts +17 -0
- package/src/features/help/server/__tests__/createHelpAssetRouteHandler.spec.ts +43 -0
- package/src/features/help/server/createHelpAssetRouteHandler.ts +35 -0
- package/src/features/help/server/generateHelpArticleMetadata.ts +18 -0
- package/src/features/help/server/generateHelpArticleStaticParams.ts +7 -0
- package/src/features/help/server/generateHelpModeStaticParams.ts +5 -0
- package/src/features/help/server/getHelpContent.ts +17 -0
- package/src/features/help/server/index.ts +8 -0
- package/src/features/help/server/serializeHelpArticle.tsx +46 -0
- package/src/features/help/server-entry.ts +20 -0
- package/src/features/help/types/help-article.types.ts +37 -0
- package/src/features/help/utils/__tests__/helpNavigation.spec.ts +70 -0
- package/src/features/help/utils/articleUrl.ts +13 -0
- package/src/features/help/utils/helpNavigation.ts +29 -0
- package/src/features/how-to/HowToModule.ts +1 -1
- package/src/features/how-to/data/HowTo.ts +21 -3
- package/src/features/how-to/data/HowToInterface.ts +1 -0
- package/src/index.ts +4 -0
- package/src/shadcnui/ui/context-menu.tsx +3 -1
- package/src/shadcnui/ui/popover.tsx +3 -1
- package/dist/BlockNoteEditor-RWRVIEZC.js.map +0 -1
- package/dist/chunk-2IRWQVG4.js.map +0 -1
- package/dist/chunk-CFECWLHH.mjs.map +0 -1
- package/dist/chunk-RXXZGPC3.js.map +0 -1
- package/dist/chunk-VLDLERJN.js.map +0 -1
- package/dist/chunk-WSOPEIRP.mjs.map +0 -1
|
@@ -457,14 +457,15 @@ import {
|
|
|
457
457
|
useFileUpload,
|
|
458
458
|
useMentionInsert,
|
|
459
459
|
useSidebar
|
|
460
|
-
} from "../chunk-
|
|
461
|
-
import "../chunk-
|
|
460
|
+
} from "../chunk-CRTVAQEK.mjs";
|
|
461
|
+
import "../chunk-UOYIWJEJ.mjs";
|
|
462
|
+
import "../chunk-CQID6RCF.mjs";
|
|
462
463
|
import {
|
|
463
464
|
getIcon,
|
|
464
465
|
getIconByModule,
|
|
465
466
|
getIconByModuleName,
|
|
466
467
|
getInitials
|
|
467
|
-
} from "../chunk-
|
|
468
|
+
} from "../chunk-MSNNAHDB.mjs";
|
|
468
469
|
import "../chunk-AUXK7QSA.mjs";
|
|
469
470
|
import "../chunk-C7C7VY4F.mjs";
|
|
470
471
|
import "../chunk-KK7PYKVI.mjs";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { M as ModuleWithPermissions } from './
|
|
1
|
+
import { M as ModuleWithPermissions } from './types-DHOxe8rc.js';
|
|
2
|
+
import { H as HelpContentConfig } from './help-content-config.interface-B9L02u9i.js';
|
|
2
3
|
import { ComponentType } from 'react';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Configure the JSON:API client. This is the main configuration function.
|
|
6
7
|
* This is typically called during app initialization.
|
|
8
|
+
* @param config.helpContent - Optional help-content config (manifest, brand, redirects). Forwarded to the help feature's globalThis-backed store; not stored on the client config.
|
|
7
9
|
*/
|
|
8
10
|
declare function configureJsonApi(config: {
|
|
9
11
|
apiUrl: string;
|
|
@@ -12,6 +14,7 @@ declare function configureJsonApi(config: {
|
|
|
12
14
|
bootstrapper?: () => void;
|
|
13
15
|
additionalHeaders?: Record<string, string>;
|
|
14
16
|
stripePublishableKey?: string;
|
|
17
|
+
helpContent?: HelpContentConfig;
|
|
15
18
|
}): void;
|
|
16
19
|
/**
|
|
17
20
|
* Configure the client config. This is typically called during app initialization.
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { M as ModuleWithPermissions } from './
|
|
1
|
+
import { M as ModuleWithPermissions } from './types-CQSjy7et.mjs';
|
|
2
|
+
import { H as HelpContentConfig } from './help-content-config.interface-B9L02u9i.mjs';
|
|
2
3
|
import { ComponentType } from 'react';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Configure the JSON:API client. This is the main configuration function.
|
|
6
7
|
* This is typically called during app initialization.
|
|
8
|
+
* @param config.helpContent - Optional help-content config (manifest, brand, redirects). Forwarded to the help feature's globalThis-backed store; not stored on the client config.
|
|
7
9
|
*/
|
|
8
10
|
declare function configureJsonApi(config: {
|
|
9
11
|
apiUrl: string;
|
|
@@ -12,6 +14,7 @@ declare function configureJsonApi(config: {
|
|
|
12
14
|
bootstrapper?: () => void;
|
|
13
15
|
additionalHeaders?: Record<string, string>;
|
|
14
16
|
stripePublishableKey?: string;
|
|
17
|
+
helpContent?: HelpContentConfig;
|
|
15
18
|
}): void;
|
|
16
19
|
/**
|
|
17
20
|
* Configure the client config. This is typically called during app initialization.
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
3
3
|
import { J as JsonApiHydratedDataInterface } from '../ApiDataInterface-BcZeXy5X.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { c as CompanyInterface, N as NotificationInterface, e as RoleInterface, U as UserInterface } from '../notification.interface-DIxR23eS.mjs';
|
|
5
5
|
import { O as OnboardingProviderProps, a as OnboardingContextValue } from '../onboarding.interface-Djyl9qYu.mjs';
|
|
6
6
|
export { D as DEFAULT_ONBOARDING_LABELS, g as OnboardingCardRenderProps, f as OnboardingLabels, c as OnboardingStepConfig, b as OnboardingStepSide, d as OnboardingTourConfig, e as OnboardingTourPaths } from '../onboarding.interface-Djyl9qYu.mjs';
|
|
7
|
-
import {
|
|
7
|
+
import { M as ModuleWithPermissions, A as Action } from '../types-CQSjy7et.mjs';
|
|
8
|
+
import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-DQ3mH5L8.mjs';
|
|
8
9
|
import { R as RbacMatrix, A as ActionType, P as PermissionValue } from '../RbacTypes-BTbr27Ew.mjs';
|
|
9
|
-
import { a as AssistantInterface } from '../AssistantInterface-
|
|
10
|
-
import { u as useSocket } from '../useSocket-
|
|
10
|
+
import { a as AssistantInterface } from '../AssistantInterface-B1c8FhGA.mjs';
|
|
11
|
+
import { u as useSocket } from '../useSocket-B1fMIr17.mjs';
|
|
11
12
|
import * as jotai from 'jotai';
|
|
12
13
|
import * as jotai_utils from 'jotai/utils';
|
|
14
|
+
import '../feature.interface-CXb1-vNq.mjs';
|
|
13
15
|
import 'lucide-react';
|
|
14
16
|
import '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
15
|
-
import '../feature.interface-CXb1-vNq.mjs';
|
|
16
17
|
|
|
17
18
|
interface CompanyContextType {
|
|
18
19
|
company: CompanyInterface | undefined;
|
|
@@ -164,7 +165,10 @@ interface AssistantContextValue {
|
|
|
164
165
|
sending: boolean;
|
|
165
166
|
status?: string;
|
|
166
167
|
failedMessageIds: Set<string>;
|
|
167
|
-
sendMessage(content: string
|
|
168
|
+
sendMessage(content: string, opts?: {
|
|
169
|
+
howToMode?: boolean;
|
|
170
|
+
limitToHowToId?: string;
|
|
171
|
+
}): Promise<void>;
|
|
168
172
|
retrySend(tempId: string): Promise<void>;
|
|
169
173
|
selectThread(id: string): Promise<void>;
|
|
170
174
|
startNew(): void;
|
|
@@ -175,8 +179,15 @@ interface Props {
|
|
|
175
179
|
children: React__default.ReactNode;
|
|
176
180
|
dehydratedAssistant?: JsonApiHydratedDataInterface;
|
|
177
181
|
dehydratedMessages?: JsonApiHydratedDataInterface[];
|
|
182
|
+
/**
|
|
183
|
+
* When `true` (default), the provider mutates the browser URL on
|
|
184
|
+
* create/selectThread/startNew (e.g. `/assistants/{id}`). Set to `false`
|
|
185
|
+
* when the assistant is hosted inside a sheet / overlay so the user's
|
|
186
|
+
* current route is preserved.
|
|
187
|
+
*/
|
|
188
|
+
manageUrl?: boolean;
|
|
178
189
|
}
|
|
179
|
-
declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages }: Props): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages, manageUrl }: Props): react_jsx_runtime.JSX.Element;
|
|
180
191
|
declare function useAssistantContext(): AssistantContextValue;
|
|
181
192
|
|
|
182
193
|
interface CommonContextType {
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
3
3
|
import { J as JsonApiHydratedDataInterface } from '../ApiDataInterface-BcZeXy5X.js';
|
|
4
|
-
import {
|
|
4
|
+
import { c as CompanyInterface, N as NotificationInterface, e as RoleInterface, U as UserInterface } from '../notification.interface-C1T1C2ee.js';
|
|
5
5
|
import { O as OnboardingProviderProps, a as OnboardingContextValue } from '../onboarding.interface-Djyl9qYu.js';
|
|
6
6
|
export { D as DEFAULT_ONBOARDING_LABELS, g as OnboardingCardRenderProps, f as OnboardingLabels, c as OnboardingStepConfig, b as OnboardingStepSide, d as OnboardingTourConfig, e as OnboardingTourPaths } from '../onboarding.interface-Djyl9qYu.js';
|
|
7
|
-
import {
|
|
7
|
+
import { M as ModuleWithPermissions, A as Action } from '../types-DHOxe8rc.js';
|
|
8
|
+
import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-Cs1yb-gF.js';
|
|
8
9
|
import { R as RbacMatrix, A as ActionType, P as PermissionValue } from '../RbacTypes-BTbr27Ew.js';
|
|
9
|
-
import { a as AssistantInterface } from '../AssistantInterface-
|
|
10
|
-
import { u as useSocket } from '../useSocket-
|
|
10
|
+
import { a as AssistantInterface } from '../AssistantInterface-BBUHxOCd.js';
|
|
11
|
+
import { u as useSocket } from '../useSocket-BdJTBXKv.js';
|
|
11
12
|
import * as jotai from 'jotai';
|
|
12
13
|
import * as jotai_utils from 'jotai/utils';
|
|
14
|
+
import '../feature.interface-BO25VLlx.js';
|
|
13
15
|
import 'lucide-react';
|
|
14
16
|
import '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
15
|
-
import '../feature.interface-BO25VLlx.js';
|
|
16
17
|
|
|
17
18
|
interface CompanyContextType {
|
|
18
19
|
company: CompanyInterface | undefined;
|
|
@@ -164,7 +165,10 @@ interface AssistantContextValue {
|
|
|
164
165
|
sending: boolean;
|
|
165
166
|
status?: string;
|
|
166
167
|
failedMessageIds: Set<string>;
|
|
167
|
-
sendMessage(content: string
|
|
168
|
+
sendMessage(content: string, opts?: {
|
|
169
|
+
howToMode?: boolean;
|
|
170
|
+
limitToHowToId?: string;
|
|
171
|
+
}): Promise<void>;
|
|
168
172
|
retrySend(tempId: string): Promise<void>;
|
|
169
173
|
selectThread(id: string): Promise<void>;
|
|
170
174
|
startNew(): void;
|
|
@@ -175,8 +179,15 @@ interface Props {
|
|
|
175
179
|
children: React__default.ReactNode;
|
|
176
180
|
dehydratedAssistant?: JsonApiHydratedDataInterface;
|
|
177
181
|
dehydratedMessages?: JsonApiHydratedDataInterface[];
|
|
182
|
+
/**
|
|
183
|
+
* When `true` (default), the provider mutates the browser URL on
|
|
184
|
+
* create/selectThread/startNew (e.g. `/assistants/{id}`). Set to `false`
|
|
185
|
+
* when the assistant is hosted inside a sheet / overlay so the user's
|
|
186
|
+
* current route is preserved.
|
|
187
|
+
*/
|
|
188
|
+
manageUrl?: boolean;
|
|
178
189
|
}
|
|
179
|
-
declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages }: Props): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function AssistantProvider({ children, dehydratedAssistant, dehydratedMessages, manageUrl }: Props): react_jsx_runtime.JSX.Element;
|
|
180
191
|
declare function useAssistantContext(): AssistantContextValue;
|
|
181
192
|
|
|
182
193
|
interface CommonContextType {
|
package/dist/contexts/index.js
CHANGED
|
@@ -31,9 +31,10 @@
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
35
|
-
require('../chunk-
|
|
36
|
-
require('../chunk-
|
|
34
|
+
var _chunkUHO3KUUHjs = require('../chunk-UHO3KUUH.js');
|
|
35
|
+
require('../chunk-7E3O52U5.js');
|
|
36
|
+
require('../chunk-YQQHAFBS.js');
|
|
37
|
+
require('../chunk-CFI4WZ5R.js');
|
|
37
38
|
require('../chunk-LXKSUWAV.js');
|
|
38
39
|
require('../chunk-IBS6NI7D.js');
|
|
39
40
|
require('../chunk-J5LROFGL.js');
|
|
@@ -71,5 +72,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
exports.AssistantProvider =
|
|
75
|
+
exports.AssistantProvider = _chunkUHO3KUUHjs.AssistantProvider; exports.CommonProvider = _chunkUHO3KUUHjs.CommonProvider; exports.CompanyProvider = _chunkUHO3KUUHjs.CompanyProvider; exports.CurrentUserProvider = _chunkUHO3KUUHjs.CurrentUserProvider; exports.DEFAULT_ONBOARDING_LABELS = _chunkUHO3KUUHjs.DEFAULT_ONBOARDING_LABELS; exports.HeaderChildrenProvider = _chunkUHO3KUUHjs.HeaderChildrenProvider; exports.HeaderLeftContentProvider = _chunkUHO3KUUHjs.HeaderLeftContentProvider; exports.HowToProvider = _chunkUHO3KUUHjs.HowToProvider; exports.NotificationContextProvider = _chunkUHO3KUUHjs.NotificationContextProvider; exports.OnboardingProvider = _chunkUHO3KUUHjs.OnboardingProvider; exports.RbacProvider = _chunkUHO3KUUHjs.RbacProvider; exports.RoleProvider = _chunkUHO3KUUHjs.RoleProvider; exports.SharedProvider = _chunkUHO3KUUHjs.SharedProvider; exports.SocketContext = _chunkUHO3KUUHjs.SocketContext; exports.SocketProvider = _chunkUHO3KUUHjs.SocketProvider; exports.UserProvider = _chunkUHO3KUUHjs.UserProvider; exports.recentPagesAtom = _chunkUHO3KUUHjs.recentPagesAtom; exports.useAssistantContext = _chunkUHO3KUUHjs.useAssistantContext; exports.useCommonContext = _chunkUHO3KUUHjs.useCommonContext; exports.useCompanyContext = _chunkUHO3KUUHjs.useCompanyContext; exports.useCurrentUserContext = _chunkUHO3KUUHjs.useCurrentUserContext; exports.useHeaderChildren = _chunkUHO3KUUHjs.useHeaderChildren; exports.useHeaderLeftContent = _chunkUHO3KUUHjs.useHeaderLeftContent; exports.useHowToContext = _chunkUHO3KUUHjs.useHowToContext; exports.useNotificationContext = _chunkUHO3KUUHjs.useNotificationContext; exports.useOnboarding = _chunkUHO3KUUHjs.useOnboarding; exports.useRbacContext = _chunkUHO3KUUHjs.useRbacContext; exports.useRoleContext = _chunkUHO3KUUHjs.useRoleContext; exports.useSharedContext = _chunkUHO3KUUHjs.useSharedContext; exports.useSocketContext = _chunkUHO3KUUHjs.useSocketContext; exports.useUserContext = _chunkUHO3KUUHjs.useUserContext;
|
|
75
76
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/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;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;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;AACF,m7DAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/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;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;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;AACF,m7DAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
|
package/dist/contexts/index.mjs
CHANGED
|
@@ -31,9 +31,10 @@ import {
|
|
|
31
31
|
useSharedContext,
|
|
32
32
|
useSocketContext,
|
|
33
33
|
useUserContext
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-CRTVAQEK.mjs";
|
|
35
|
+
import "../chunk-UOYIWJEJ.mjs";
|
|
36
|
+
import "../chunk-CQID6RCF.mjs";
|
|
37
|
+
import "../chunk-MSNNAHDB.mjs";
|
|
37
38
|
import "../chunk-AUXK7QSA.mjs";
|
|
38
39
|
import "../chunk-C7C7VY4F.mjs";
|
|
39
40
|
import "../chunk-KK7PYKVI.mjs";
|
package/dist/core/index.d.mts
CHANGED
|
@@ -3,29 +3,30 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
|
|
|
3
3
|
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
4
4
|
export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
5
5
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
|
|
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-
|
|
8
|
-
import { M as ModuleWithPermissions,
|
|
9
|
-
export {
|
|
10
|
-
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-
|
|
11
|
-
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-
|
|
6
|
+
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-0BTClOYO.mjs';
|
|
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-0BTClOYO.mjs';
|
|
8
|
+
import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-CQSjy7et.mjs';
|
|
9
|
+
export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-CQSjy7et.mjs';
|
|
10
|
+
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-DQ3mH5L8.mjs';
|
|
11
|
+
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DQ3mH5L8.mjs';
|
|
12
12
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.mjs';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
export { ClassValue } from 'clsx';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
|
|
17
17
|
import { z } from 'zod';
|
|
18
|
-
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-
|
|
19
|
-
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-
|
|
18
|
+
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-DdxCFgUZ.mjs';
|
|
19
|
+
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-DdxCFgUZ.mjs';
|
|
20
20
|
import { PartialBlock } from '@blocknote/core';
|
|
21
21
|
import { ExternalToast } from 'sonner';
|
|
22
|
-
import { b as
|
|
23
|
-
|
|
22
|
+
import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-DIxR23eS.mjs';
|
|
23
|
+
import { b as AuthInterface, A as AuthInput } from '../auth.interface-CXBF8Mhi.mjs';
|
|
24
|
+
export { a as AuthQuery } from '../auth.interface-CXBF8Mhi.mjs';
|
|
24
25
|
import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
|
|
25
26
|
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-ClZ7DxS9.mjs';
|
|
26
27
|
export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
|
|
27
28
|
import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-CXb1-vNq.mjs';
|
|
28
|
-
import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-
|
|
29
|
+
import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-B1c8FhGA.mjs';
|
|
29
30
|
import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-o5FLpiN7.mjs';
|
|
30
31
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-o5FLpiN7.mjs';
|
|
31
32
|
import 'lucide-react';
|
|
@@ -1767,6 +1768,7 @@ declare const HowToModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
|
1767
1768
|
declare class HowTo extends Content implements HowToInterface {
|
|
1768
1769
|
private _description?;
|
|
1769
1770
|
private _pages?;
|
|
1771
|
+
private _helpContentSlug?;
|
|
1770
1772
|
/**
|
|
1771
1773
|
* Parse pages from backend JSON string (handles legacy single string + JSON array)
|
|
1772
1774
|
*/
|
|
@@ -1777,6 +1779,7 @@ declare class HowTo extends Content implements HowToInterface {
|
|
|
1777
1779
|
static serializePagesToString(pages: string[]): string | undefined;
|
|
1778
1780
|
get description(): any;
|
|
1779
1781
|
get pages(): string | undefined;
|
|
1782
|
+
get helpContentSlug(): string | undefined;
|
|
1780
1783
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1781
1784
|
createJsonApi(data: HowToInput): any;
|
|
1782
1785
|
}
|
|
@@ -1819,6 +1822,8 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
|
|
|
1819
1822
|
data: {
|
|
1820
1823
|
type: string;
|
|
1821
1824
|
attributes: {
|
|
1825
|
+
limitToHowToId?: string | undefined;
|
|
1826
|
+
howToMode?: boolean | undefined;
|
|
1822
1827
|
title?: string | undefined;
|
|
1823
1828
|
content: string;
|
|
1824
1829
|
};
|
|
@@ -1838,10 +1843,16 @@ declare class AssistantService extends AbstractService {
|
|
|
1838
1843
|
/**
|
|
1839
1844
|
* Sends a new user message to an existing assistant thread. The agent turn
|
|
1840
1845
|
* runs synchronously; the response is a two-element list: [user, assistant].
|
|
1846
|
+
*
|
|
1847
|
+
* Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
|
|
1848
|
+
* build the JSON:API envelope; this is the architecture-compliant pairing
|
|
1849
|
+
* with `overridesJsonApiCreation: true`.
|
|
1841
1850
|
*/
|
|
1842
1851
|
static appendMessage(params: {
|
|
1843
1852
|
assistantId: string;
|
|
1844
1853
|
content: string;
|
|
1854
|
+
howToMode?: boolean;
|
|
1855
|
+
limitToHowToId?: string;
|
|
1845
1856
|
}): Promise<AssistantMessageInterface[]>;
|
|
1846
1857
|
static rename(params: {
|
|
1847
1858
|
id: string;
|
|
@@ -1863,6 +1874,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1863
1874
|
private _outputTokens?;
|
|
1864
1875
|
private _references?;
|
|
1865
1876
|
private _citations?;
|
|
1877
|
+
private _isOptimistic;
|
|
1866
1878
|
get role(): AssistantMessageRole;
|
|
1867
1879
|
get content(): string;
|
|
1868
1880
|
get position(): number;
|
|
@@ -1871,6 +1883,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1871
1883
|
get outputTokens(): number | undefined;
|
|
1872
1884
|
get references(): ApiDataInterface[];
|
|
1873
1885
|
get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
|
|
1886
|
+
get isOptimistic(): boolean;
|
|
1874
1887
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1875
1888
|
createJsonApi(data: AssistantMessageInput): {
|
|
1876
1889
|
data: {
|
|
@@ -1892,6 +1905,26 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1892
1905
|
};
|
|
1893
1906
|
included: never[];
|
|
1894
1907
|
};
|
|
1908
|
+
/**
|
|
1909
|
+
* JSON:API envelope for POST /assistants/:id/assistant-messages.
|
|
1910
|
+
* Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
|
|
1911
|
+
* the append-to-thread endpoint derives those server-side, so we only send `content` and
|
|
1912
|
+
* the optional retrieval-mode flags.
|
|
1913
|
+
*/
|
|
1914
|
+
createAppendMessageJsonApi(params: {
|
|
1915
|
+
content: string;
|
|
1916
|
+
howToMode?: boolean;
|
|
1917
|
+
limitToHowToId?: string;
|
|
1918
|
+
}): {
|
|
1919
|
+
data: {
|
|
1920
|
+
type: string;
|
|
1921
|
+
attributes: {
|
|
1922
|
+
limitToHowToId?: string | undefined;
|
|
1923
|
+
howToMode?: boolean | undefined;
|
|
1924
|
+
content: string;
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1895
1928
|
static buildOptimistic(params: {
|
|
1896
1929
|
content: string;
|
|
1897
1930
|
position: number;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -3,29 +3,30 @@ 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-
|
|
8
|
-
import { M as ModuleWithPermissions,
|
|
9
|
-
export {
|
|
10
|
-
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-
|
|
11
|
-
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-
|
|
6
|
+
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-CT27Fm1s.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-CT27Fm1s.js';
|
|
8
|
+
import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-DHOxe8rc.js';
|
|
9
|
+
export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-DHOxe8rc.js';
|
|
10
|
+
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-Cs1yb-gF.js';
|
|
11
|
+
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-Cs1yb-gF.js';
|
|
12
12
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.js';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
export { ClassValue } from 'clsx';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
|
|
17
17
|
import { z } from 'zod';
|
|
18
|
-
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-
|
|
19
|
-
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-
|
|
18
|
+
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-Cd7lcYif.js';
|
|
19
|
+
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-Cd7lcYif.js';
|
|
20
20
|
import { PartialBlock } from '@blocknote/core';
|
|
21
21
|
import { ExternalToast } from 'sonner';
|
|
22
|
-
import { b as
|
|
23
|
-
|
|
22
|
+
import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-C1T1C2ee.js';
|
|
23
|
+
import { b as AuthInterface, A as AuthInput } from '../auth.interface-8b601idJ.js';
|
|
24
|
+
export { a as AuthQuery } from '../auth.interface-8b601idJ.js';
|
|
24
25
|
import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
|
|
25
26
|
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';
|
|
26
27
|
export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
|
|
27
28
|
import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-BO25VLlx.js';
|
|
28
|
-
import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-
|
|
29
|
+
import { a as AssistantInterface, A as AssistantInput } from '../AssistantInterface-BBUHxOCd.js';
|
|
29
30
|
import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-B6xmfDzK.js';
|
|
30
31
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-B6xmfDzK.js';
|
|
31
32
|
import 'lucide-react';
|
|
@@ -1767,6 +1768,7 @@ declare const HowToModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
|
1767
1768
|
declare class HowTo extends Content implements HowToInterface {
|
|
1768
1769
|
private _description?;
|
|
1769
1770
|
private _pages?;
|
|
1771
|
+
private _helpContentSlug?;
|
|
1770
1772
|
/**
|
|
1771
1773
|
* Parse pages from backend JSON string (handles legacy single string + JSON array)
|
|
1772
1774
|
*/
|
|
@@ -1777,6 +1779,7 @@ declare class HowTo extends Content implements HowToInterface {
|
|
|
1777
1779
|
static serializePagesToString(pages: string[]): string | undefined;
|
|
1778
1780
|
get description(): any;
|
|
1779
1781
|
get pages(): string | undefined;
|
|
1782
|
+
get helpContentSlug(): string | undefined;
|
|
1780
1783
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1781
1784
|
createJsonApi(data: HowToInput): any;
|
|
1782
1785
|
}
|
|
@@ -1819,6 +1822,8 @@ declare class Assistant extends AbstractApiData implements AssistantInterface {
|
|
|
1819
1822
|
data: {
|
|
1820
1823
|
type: string;
|
|
1821
1824
|
attributes: {
|
|
1825
|
+
limitToHowToId?: string | undefined;
|
|
1826
|
+
howToMode?: boolean | undefined;
|
|
1822
1827
|
title?: string | undefined;
|
|
1823
1828
|
content: string;
|
|
1824
1829
|
};
|
|
@@ -1838,10 +1843,16 @@ declare class AssistantService extends AbstractService {
|
|
|
1838
1843
|
/**
|
|
1839
1844
|
* Sends a new user message to an existing assistant thread. The agent turn
|
|
1840
1845
|
* runs synchronously; the response is a two-element list: [user, assistant].
|
|
1846
|
+
*
|
|
1847
|
+
* Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
|
|
1848
|
+
* build the JSON:API envelope; this is the architecture-compliant pairing
|
|
1849
|
+
* with `overridesJsonApiCreation: true`.
|
|
1841
1850
|
*/
|
|
1842
1851
|
static appendMessage(params: {
|
|
1843
1852
|
assistantId: string;
|
|
1844
1853
|
content: string;
|
|
1854
|
+
howToMode?: boolean;
|
|
1855
|
+
limitToHowToId?: string;
|
|
1845
1856
|
}): Promise<AssistantMessageInterface[]>;
|
|
1846
1857
|
static rename(params: {
|
|
1847
1858
|
id: string;
|
|
@@ -1863,6 +1874,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1863
1874
|
private _outputTokens?;
|
|
1864
1875
|
private _references?;
|
|
1865
1876
|
private _citations?;
|
|
1877
|
+
private _isOptimistic;
|
|
1866
1878
|
get role(): AssistantMessageRole;
|
|
1867
1879
|
get content(): string;
|
|
1868
1880
|
get position(): number;
|
|
@@ -1871,6 +1883,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1871
1883
|
get outputTokens(): number | undefined;
|
|
1872
1884
|
get references(): ApiDataInterface[];
|
|
1873
1885
|
get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
|
|
1886
|
+
get isOptimistic(): boolean;
|
|
1874
1887
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1875
1888
|
createJsonApi(data: AssistantMessageInput): {
|
|
1876
1889
|
data: {
|
|
@@ -1892,6 +1905,26 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1892
1905
|
};
|
|
1893
1906
|
included: never[];
|
|
1894
1907
|
};
|
|
1908
|
+
/**
|
|
1909
|
+
* JSON:API envelope for POST /assistants/:id/assistant-messages.
|
|
1910
|
+
* Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
|
|
1911
|
+
* the append-to-thread endpoint derives those server-side, so we only send `content` and
|
|
1912
|
+
* the optional retrieval-mode flags.
|
|
1913
|
+
*/
|
|
1914
|
+
createAppendMessageJsonApi(params: {
|
|
1915
|
+
content: string;
|
|
1916
|
+
howToMode?: boolean;
|
|
1917
|
+
limitToHowToId?: string;
|
|
1918
|
+
}): {
|
|
1919
|
+
data: {
|
|
1920
|
+
type: string;
|
|
1921
|
+
attributes: {
|
|
1922
|
+
limitToHowToId?: string | undefined;
|
|
1923
|
+
howToMode?: boolean | undefined;
|
|
1924
|
+
content: string;
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1895
1928
|
static buildOptimistic(params: {
|
|
1896
1929
|
content: string;
|
|
1897
1930
|
position: number;
|
package/dist/core/index.js
CHANGED
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
|
|
176
|
-
var
|
|
176
|
+
var _chunkCFI4WZ5Rjs = require('../chunk-CFI4WZ5R.js');
|
|
177
177
|
require('../chunk-LXKSUWAV.js');
|
|
178
178
|
require('../chunk-IBS6NI7D.js');
|
|
179
179
|
|
|
@@ -373,5 +373,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
373
373
|
|
|
374
374
|
|
|
375
375
|
|
|
376
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkRXXZGPC3js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkRXXZGPC3js.AbstractApiData; exports.AbstractService = _chunkRXXZGPC3js.AbstractService; exports.Action = _chunkRXXZGPC3js.Action; exports.Assistant = _chunkRXXZGPC3js.Assistant; exports.AssistantMessage = _chunkRXXZGPC3js.AssistantMessage; exports.AssistantMessageModule = _chunkRXXZGPC3js.AssistantMessageModule; exports.AssistantMessageService = _chunkRXXZGPC3js.AssistantMessageService; exports.AssistantModule = _chunkRXXZGPC3js.AssistantModule; exports.AssistantService = _chunkRXXZGPC3js.AssistantService; exports.AuditLog = _chunkRXXZGPC3js.AuditLog; exports.AuditLogModule = _chunkRXXZGPC3js.AuditLogModule; exports.AuditLogService = _chunkRXXZGPC3js.AuditLogService; exports.Auth = _chunkRXXZGPC3js.Auth; exports.AuthComponent = _chunkRXXZGPC3js.AuthComponent; exports.AuthModule = _chunkRXXZGPC3js.AuthModule; exports.AuthService = _chunkRXXZGPC3js.AuthService; exports.AuthorModule = _chunkRXXZGPC3js.AuthorModule; exports.BackupCodeVerify = _chunkRXXZGPC3js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkRXXZGPC3js.BackupCodeVerifyModule; exports.Billing = _chunkRXXZGPC3js.Billing; exports.BillingModule = _chunkRXXZGPC3js.BillingModule; exports.BillingService = _chunkRXXZGPC3js.BillingService; exports.BlockNoteDiffUtil = _chunkRXXZGPC3js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkRXXZGPC3js.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkRXXZGPC3js.Chunk; exports.ChunkModule = _chunkRXXZGPC3js.ChunkModule; exports.ClientAbstractService = _chunkRXXZGPC3js.ClientAbstractService; exports.ClientHttpMethod = _chunkRXXZGPC3js.ClientHttpMethod; exports.Company = _chunkRXXZGPC3js.Company; exports.CompanyFields = _chunkRXXZGPC3js.CompanyFields; exports.CompanyModule = _chunkRXXZGPC3js.CompanyModule; exports.CompanyService = _chunkRXXZGPC3js.CompanyService; exports.Content = _chunkRXXZGPC3js.Content; exports.ContentFields = _chunkRXXZGPC3js.ContentFields; exports.ContentModule = _chunkRXXZGPC3js.ContentModule; exports.ContentService = _chunkRXXZGPC3js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkRXXZGPC3js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkRXXZGPC3js.EndpointCreator; exports.Feature = _chunkRXXZGPC3js.Feature; exports.FeatureModule = _chunkRXXZGPC3js.FeatureModule; exports.FeatureService = _chunkRXXZGPC3js.FeatureService; exports.HowTo = _chunkRXXZGPC3js.HowTo; exports.HowToFields = _chunkRXXZGPC3js.HowToFields; exports.HowToModule = _chunkRXXZGPC3js.HowToModule; exports.HowToService = _chunkRXXZGPC3js.HowToService; exports.HttpMethod = _chunkRXXZGPC3js.HttpMethod; exports.InvoiceStatus = _chunkRXXZGPC3js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkRXXZGPC3js.Module; exports.ModuleModule = _chunkRXXZGPC3js.ModuleModule; exports.ModulePathsModule = _chunkRXXZGPC3js.ModulePathsModule; exports.ModuleRegistrar = _chunkRXXZGPC3js.ModuleRegistrar; exports.ModuleRegistry = _chunkRXXZGPC3js.ModuleRegistry; exports.Modules = _chunkRXXZGPC3js.Modules; exports.Notification = _chunkRXXZGPC3js.Notification; exports.NotificationFields = _chunkRXXZGPC3js.NotificationFields; exports.NotificationModule = _chunkRXXZGPC3js.NotificationModule; exports.NotificationService = _chunkRXXZGPC3js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkRXXZGPC3js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkRXXZGPC3js.OAuthClient; exports.OAuthModule = _chunkRXXZGPC3js.OAuthModule; exports.OAuthService = _chunkRXXZGPC3js.OAuthService; exports.Passkey = _chunkRXXZGPC3js.Passkey; exports.PasskeyAuthenticationOptions = _chunkRXXZGPC3js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkRXXZGPC3js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkRXXZGPC3js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkRXXZGPC3js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkRXXZGPC3js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkRXXZGPC3js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkRXXZGPC3js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkRXXZGPC3js.PasskeyRename; exports.PasskeyRenameModule = _chunkRXXZGPC3js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkRXXZGPC3js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkRXXZGPC3js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkRXXZGPC3js.PaymentMethod; exports.PermissionMappingModule = _chunkRXXZGPC3js.PermissionMappingModule; exports.Push = _chunkRXXZGPC3js.Push; exports.PushModule = _chunkRXXZGPC3js.PushModule; exports.PushService = _chunkRXXZGPC3js.PushService; exports.RbacMatrixModule = _chunkRXXZGPC3js.RbacMatrixModule; exports.ReferralModule = _chunkRXXZGPC3js.ReferralModule; exports.ReferralService = _chunkRXXZGPC3js.ReferralService; exports.ReferralStats = _chunkRXXZGPC3js.ReferralStats; exports.ReferralStatsModule = _chunkRXXZGPC3js.ReferralStatsModule; exports.RehydrationFactory = _chunkRXXZGPC3js.RehydrationFactory; exports.Role = _chunkRXXZGPC3js.Role; exports.RoleFields = _chunkRXXZGPC3js.RoleFields; exports.RoleModule = _chunkRXXZGPC3js.RoleModule; exports.RoleService = _chunkRXXZGPC3js.RoleService; exports.S3 = _chunkRXXZGPC3js.S3; exports.S3Module = _chunkRXXZGPC3js.S3Module; exports.S3Service = _chunkRXXZGPC3js.S3Service; exports.StripeCustomer = _chunkRXXZGPC3js.StripeCustomer; exports.StripeCustomerModule = _chunkRXXZGPC3js.StripeCustomerModule; exports.StripeCustomerService = _chunkRXXZGPC3js.StripeCustomerService; exports.StripeInvoice = _chunkRXXZGPC3js.StripeInvoice; exports.StripeInvoiceModule = _chunkRXXZGPC3js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkRXXZGPC3js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkRXXZGPC3js.StripePaymentMethodModule; exports.StripePrice = _chunkRXXZGPC3js.StripePrice; exports.StripePriceModule = _chunkRXXZGPC3js.StripePriceModule; exports.StripePriceService = _chunkRXXZGPC3js.StripePriceService; exports.StripeProduct = _chunkRXXZGPC3js.StripeProduct; exports.StripeProductModule = _chunkRXXZGPC3js.StripeProductModule; exports.StripeProductService = _chunkRXXZGPC3js.StripeProductService; exports.StripePromotionCode = _chunkRXXZGPC3js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkRXXZGPC3js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkRXXZGPC3js.StripePromotionCodeService; exports.StripeSubscription = _chunkRXXZGPC3js.StripeSubscription; exports.StripeSubscriptionModule = _chunkRXXZGPC3js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkRXXZGPC3js.StripeSubscriptionService; exports.StripeUsage = _chunkRXXZGPC3js.StripeUsage; exports.StripeUsageModule = _chunkRXXZGPC3js.StripeUsageModule; exports.StripeUsageService = _chunkRXXZGPC3js.StripeUsageService; exports.SubscriptionStatus = _chunkRXXZGPC3js.SubscriptionStatus; exports.TableOptions = _chunkRXXZGPC3js.TableOptions; exports.TotpAuthenticator = _chunkRXXZGPC3js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkRXXZGPC3js.TotpAuthenticatorModule; exports.TotpSetup = _chunkRXXZGPC3js.TotpSetup; exports.TotpSetupModule = _chunkRXXZGPC3js.TotpSetupModule; exports.TotpVerify = _chunkRXXZGPC3js.TotpVerify; exports.TotpVerifyLogin = _chunkRXXZGPC3js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkRXXZGPC3js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkRXXZGPC3js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkRXXZGPC3js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkRXXZGPC3js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkRXXZGPC3js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkRXXZGPC3js.TwoFactorEnableModule; exports.TwoFactorService = _chunkRXXZGPC3js.TwoFactorService; exports.TwoFactorStatus = _chunkRXXZGPC3js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkRXXZGPC3js.TwoFactorStatusModule; exports.User = _chunkRXXZGPC3js.User; exports.UserFields = _chunkRXXZGPC3js.UserFields; exports.UserModule = _chunkRXXZGPC3js.UserModule; exports.UserService = _chunkRXXZGPC3js.UserService; exports.Waitlist = _chunkRXXZGPC3js.Waitlist; exports.WaitlistModule = _chunkRXXZGPC3js.WaitlistModule; exports.WaitlistService = _chunkRXXZGPC3js.WaitlistService; exports.WaitlistStats = _chunkRXXZGPC3js.WaitlistStats; exports.WaitlistStatsModule = _chunkRXXZGPC3js.WaitlistStatsModule; exports.checkPermissions = _chunkRXXZGPC3js.checkPermissions; exports.checkPermissionsFromServer = _chunkRXXZGPC3js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkRXXZGPC3js.clearLastApiTotal; exports.cn = _chunkRXXZGPC3js.cn; exports.composeRefs = _chunkRXXZGPC3js.composeRefs; exports.createJsonApiInclusion = _chunkRXXZGPC3js.createJsonApiInclusion; exports.dismissToast = _chunkRXXZGPC3js.dismissToast; exports.entityObjectSchema = _chunkRXXZGPC3js.entityObjectSchema; exports.exists = _chunkRXXZGPC3js.exists; exports.formatDate = _chunkRXXZGPC3js.formatDate; exports.formatLocalDate = _chunkRXXZGPC3js.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkRXXZGPC3js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkRXXZGPC3js.getGlobalErrorHandler; exports.getIcon = _chunkRXXZGPC3js.getIcon; exports.getIconByModule = _chunkRXXZGPC3js.getIconByModule; exports.getIconByModuleName = _chunkRXXZGPC3js.getIconByModuleName; exports.getInitials = _chunkRXXZGPC3js.getInitials; exports.getLastApiTotal = _chunkRXXZGPC3js.getLastApiTotal; exports.getLucideIcon = _chunkRXXZGPC3js.getLucideIcon; exports.getLucideIconByModule = _chunkRXXZGPC3js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkRXXZGPC3js.getLucideIconByModuleName; exports.getTableComponents = _chunkRXXZGPC3js.getTableComponents; exports.getTableOptions = _chunkRXXZGPC3js.getTableOptions; exports.getValueFromPath = _chunkRXXZGPC3js.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkRXXZGPC3js.rehydrate; exports.rehydrateList = _chunkRXXZGPC3js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkRXXZGPC3js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkRXXZGPC3js.setGlobalErrorHandler; exports.showCustomToast = _chunkRXXZGPC3js.showCustomToast; exports.showError = _chunkRXXZGPC3js.showError; exports.showToast = _chunkRXXZGPC3js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkRXXZGPC3js.useComposedRefs; exports.useIsMobile = _chunkRXXZGPC3js.useIsMobile; exports.userObjectSchema = _chunkRXXZGPC3js.userObjectSchema;
|
|
376
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunkCFI4WZ5Rjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkCFI4WZ5Rjs.AbstractApiData; exports.AbstractService = _chunkCFI4WZ5Rjs.AbstractService; exports.Action = _chunkCFI4WZ5Rjs.Action; exports.Assistant = _chunkCFI4WZ5Rjs.Assistant; exports.AssistantMessage = _chunkCFI4WZ5Rjs.AssistantMessage; exports.AssistantMessageModule = _chunkCFI4WZ5Rjs.AssistantMessageModule; exports.AssistantMessageService = _chunkCFI4WZ5Rjs.AssistantMessageService; exports.AssistantModule = _chunkCFI4WZ5Rjs.AssistantModule; exports.AssistantService = _chunkCFI4WZ5Rjs.AssistantService; exports.AuditLog = _chunkCFI4WZ5Rjs.AuditLog; exports.AuditLogModule = _chunkCFI4WZ5Rjs.AuditLogModule; exports.AuditLogService = _chunkCFI4WZ5Rjs.AuditLogService; exports.Auth = _chunkCFI4WZ5Rjs.Auth; exports.AuthComponent = _chunkCFI4WZ5Rjs.AuthComponent; exports.AuthModule = _chunkCFI4WZ5Rjs.AuthModule; exports.AuthService = _chunkCFI4WZ5Rjs.AuthService; exports.AuthorModule = _chunkCFI4WZ5Rjs.AuthorModule; exports.BackupCodeVerify = _chunkCFI4WZ5Rjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkCFI4WZ5Rjs.BackupCodeVerifyModule; exports.Billing = _chunkCFI4WZ5Rjs.Billing; exports.BillingModule = _chunkCFI4WZ5Rjs.BillingModule; exports.BillingService = _chunkCFI4WZ5Rjs.BillingService; exports.BlockNoteDiffUtil = _chunkCFI4WZ5Rjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkCFI4WZ5Rjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkCFI4WZ5Rjs.Chunk; exports.ChunkModule = _chunkCFI4WZ5Rjs.ChunkModule; exports.ClientAbstractService = _chunkCFI4WZ5Rjs.ClientAbstractService; exports.ClientHttpMethod = _chunkCFI4WZ5Rjs.ClientHttpMethod; exports.Company = _chunkCFI4WZ5Rjs.Company; exports.CompanyFields = _chunkCFI4WZ5Rjs.CompanyFields; exports.CompanyModule = _chunkCFI4WZ5Rjs.CompanyModule; exports.CompanyService = _chunkCFI4WZ5Rjs.CompanyService; exports.Content = _chunkCFI4WZ5Rjs.Content; exports.ContentFields = _chunkCFI4WZ5Rjs.ContentFields; exports.ContentModule = _chunkCFI4WZ5Rjs.ContentModule; exports.ContentService = _chunkCFI4WZ5Rjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkCFI4WZ5Rjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkCFI4WZ5Rjs.EndpointCreator; exports.Feature = _chunkCFI4WZ5Rjs.Feature; exports.FeatureModule = _chunkCFI4WZ5Rjs.FeatureModule; exports.FeatureService = _chunkCFI4WZ5Rjs.FeatureService; exports.HowTo = _chunkCFI4WZ5Rjs.HowTo; exports.HowToFields = _chunkCFI4WZ5Rjs.HowToFields; exports.HowToModule = _chunkCFI4WZ5Rjs.HowToModule; exports.HowToService = _chunkCFI4WZ5Rjs.HowToService; exports.HttpMethod = _chunkCFI4WZ5Rjs.HttpMethod; exports.InvoiceStatus = _chunkCFI4WZ5Rjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkCFI4WZ5Rjs.Module; exports.ModuleModule = _chunkCFI4WZ5Rjs.ModuleModule; exports.ModulePathsModule = _chunkCFI4WZ5Rjs.ModulePathsModule; exports.ModuleRegistrar = _chunkCFI4WZ5Rjs.ModuleRegistrar; exports.ModuleRegistry = _chunkCFI4WZ5Rjs.ModuleRegistry; exports.Modules = _chunkCFI4WZ5Rjs.Modules; exports.Notification = _chunkCFI4WZ5Rjs.Notification; exports.NotificationFields = _chunkCFI4WZ5Rjs.NotificationFields; exports.NotificationModule = _chunkCFI4WZ5Rjs.NotificationModule; exports.NotificationService = _chunkCFI4WZ5Rjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkCFI4WZ5Rjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkCFI4WZ5Rjs.OAuthClient; exports.OAuthModule = _chunkCFI4WZ5Rjs.OAuthModule; exports.OAuthService = _chunkCFI4WZ5Rjs.OAuthService; exports.Passkey = _chunkCFI4WZ5Rjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkCFI4WZ5Rjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkCFI4WZ5Rjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkCFI4WZ5Rjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkCFI4WZ5Rjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkCFI4WZ5Rjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkCFI4WZ5Rjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkCFI4WZ5Rjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkCFI4WZ5Rjs.PasskeyRename; exports.PasskeyRenameModule = _chunkCFI4WZ5Rjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkCFI4WZ5Rjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkCFI4WZ5Rjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkCFI4WZ5Rjs.PaymentMethod; exports.PermissionMappingModule = _chunkCFI4WZ5Rjs.PermissionMappingModule; exports.Push = _chunkCFI4WZ5Rjs.Push; exports.PushModule = _chunkCFI4WZ5Rjs.PushModule; exports.PushService = _chunkCFI4WZ5Rjs.PushService; exports.RbacMatrixModule = _chunkCFI4WZ5Rjs.RbacMatrixModule; exports.ReferralModule = _chunkCFI4WZ5Rjs.ReferralModule; exports.ReferralService = _chunkCFI4WZ5Rjs.ReferralService; exports.ReferralStats = _chunkCFI4WZ5Rjs.ReferralStats; exports.ReferralStatsModule = _chunkCFI4WZ5Rjs.ReferralStatsModule; exports.RehydrationFactory = _chunkCFI4WZ5Rjs.RehydrationFactory; exports.Role = _chunkCFI4WZ5Rjs.Role; exports.RoleFields = _chunkCFI4WZ5Rjs.RoleFields; exports.RoleModule = _chunkCFI4WZ5Rjs.RoleModule; exports.RoleService = _chunkCFI4WZ5Rjs.RoleService; exports.S3 = _chunkCFI4WZ5Rjs.S3; exports.S3Module = _chunkCFI4WZ5Rjs.S3Module; exports.S3Service = _chunkCFI4WZ5Rjs.S3Service; exports.StripeCustomer = _chunkCFI4WZ5Rjs.StripeCustomer; exports.StripeCustomerModule = _chunkCFI4WZ5Rjs.StripeCustomerModule; exports.StripeCustomerService = _chunkCFI4WZ5Rjs.StripeCustomerService; exports.StripeInvoice = _chunkCFI4WZ5Rjs.StripeInvoice; exports.StripeInvoiceModule = _chunkCFI4WZ5Rjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkCFI4WZ5Rjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkCFI4WZ5Rjs.StripePaymentMethodModule; exports.StripePrice = _chunkCFI4WZ5Rjs.StripePrice; exports.StripePriceModule = _chunkCFI4WZ5Rjs.StripePriceModule; exports.StripePriceService = _chunkCFI4WZ5Rjs.StripePriceService; exports.StripeProduct = _chunkCFI4WZ5Rjs.StripeProduct; exports.StripeProductModule = _chunkCFI4WZ5Rjs.StripeProductModule; exports.StripeProductService = _chunkCFI4WZ5Rjs.StripeProductService; exports.StripePromotionCode = _chunkCFI4WZ5Rjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkCFI4WZ5Rjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkCFI4WZ5Rjs.StripePromotionCodeService; exports.StripeSubscription = _chunkCFI4WZ5Rjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkCFI4WZ5Rjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkCFI4WZ5Rjs.StripeSubscriptionService; exports.StripeUsage = _chunkCFI4WZ5Rjs.StripeUsage; exports.StripeUsageModule = _chunkCFI4WZ5Rjs.StripeUsageModule; exports.StripeUsageService = _chunkCFI4WZ5Rjs.StripeUsageService; exports.SubscriptionStatus = _chunkCFI4WZ5Rjs.SubscriptionStatus; exports.TableOptions = _chunkCFI4WZ5Rjs.TableOptions; exports.TotpAuthenticator = _chunkCFI4WZ5Rjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkCFI4WZ5Rjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkCFI4WZ5Rjs.TotpSetup; exports.TotpSetupModule = _chunkCFI4WZ5Rjs.TotpSetupModule; exports.TotpVerify = _chunkCFI4WZ5Rjs.TotpVerify; exports.TotpVerifyLogin = _chunkCFI4WZ5Rjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkCFI4WZ5Rjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkCFI4WZ5Rjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkCFI4WZ5Rjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkCFI4WZ5Rjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkCFI4WZ5Rjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkCFI4WZ5Rjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkCFI4WZ5Rjs.TwoFactorService; exports.TwoFactorStatus = _chunkCFI4WZ5Rjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkCFI4WZ5Rjs.TwoFactorStatusModule; exports.User = _chunkCFI4WZ5Rjs.User; exports.UserFields = _chunkCFI4WZ5Rjs.UserFields; exports.UserModule = _chunkCFI4WZ5Rjs.UserModule; exports.UserService = _chunkCFI4WZ5Rjs.UserService; exports.Waitlist = _chunkCFI4WZ5Rjs.Waitlist; exports.WaitlistModule = _chunkCFI4WZ5Rjs.WaitlistModule; exports.WaitlistService = _chunkCFI4WZ5Rjs.WaitlistService; exports.WaitlistStats = _chunkCFI4WZ5Rjs.WaitlistStats; exports.WaitlistStatsModule = _chunkCFI4WZ5Rjs.WaitlistStatsModule; exports.checkPermissions = _chunkCFI4WZ5Rjs.checkPermissions; exports.checkPermissionsFromServer = _chunkCFI4WZ5Rjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkCFI4WZ5Rjs.clearLastApiTotal; exports.cn = _chunkCFI4WZ5Rjs.cn; exports.composeRefs = _chunkCFI4WZ5Rjs.composeRefs; exports.createJsonApiInclusion = _chunkCFI4WZ5Rjs.createJsonApiInclusion; exports.dismissToast = _chunkCFI4WZ5Rjs.dismissToast; exports.entityObjectSchema = _chunkCFI4WZ5Rjs.entityObjectSchema; exports.exists = _chunkCFI4WZ5Rjs.exists; exports.formatDate = _chunkCFI4WZ5Rjs.formatDate; exports.formatLocalDate = _chunkCFI4WZ5Rjs.formatLocalDate; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkCFI4WZ5Rjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkCFI4WZ5Rjs.getGlobalErrorHandler; exports.getIcon = _chunkCFI4WZ5Rjs.getIcon; exports.getIconByModule = _chunkCFI4WZ5Rjs.getIconByModule; exports.getIconByModuleName = _chunkCFI4WZ5Rjs.getIconByModuleName; exports.getInitials = _chunkCFI4WZ5Rjs.getInitials; exports.getLastApiTotal = _chunkCFI4WZ5Rjs.getLastApiTotal; exports.getLucideIcon = _chunkCFI4WZ5Rjs.getLucideIcon; exports.getLucideIconByModule = _chunkCFI4WZ5Rjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkCFI4WZ5Rjs.getLucideIconByModuleName; exports.getTableComponents = _chunkCFI4WZ5Rjs.getTableComponents; exports.getTableOptions = _chunkCFI4WZ5Rjs.getTableOptions; exports.getValueFromPath = _chunkCFI4WZ5Rjs.getValueFromPath; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.rehydrate = _chunkCFI4WZ5Rjs.rehydrate; exports.rehydrateList = _chunkCFI4WZ5Rjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkCFI4WZ5Rjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkCFI4WZ5Rjs.setGlobalErrorHandler; exports.showCustomToast = _chunkCFI4WZ5Rjs.showCustomToast; exports.showError = _chunkCFI4WZ5Rjs.showError; exports.showToast = _chunkCFI4WZ5Rjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkCFI4WZ5Rjs.useComposedRefs; exports.useIsMobile = _chunkCFI4WZ5Rjs.useIsMobile; exports.userObjectSchema = _chunkCFI4WZ5Rjs.userObjectSchema;
|
|
377
377
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.mjs
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* src/features/onboarding/styles/onboarding.css */
|
|
2
|
+
.shepherd-modal-overlay-container.shepherd-modal-is-visible {
|
|
3
|
+
opacity: 1 !important;
|
|
4
|
+
}
|
|
5
|
+
.shepherd-modal-overlay-container path {
|
|
6
|
+
fill: rgba(0, 0, 0, 0.75) !important;
|
|
7
|
+
}
|
|
8
|
+
.shepherd-element {
|
|
9
|
+
background: transparent !important;
|
|
10
|
+
border: none !important;
|
|
11
|
+
box-shadow: none !important;
|
|
12
|
+
padding: 0 !important;
|
|
13
|
+
max-width: none !important;
|
|
14
|
+
}
|
|
15
|
+
.shepherd-content,
|
|
16
|
+
.shepherd-text {
|
|
17
|
+
padding: 0 !important;
|
|
18
|
+
}
|
|
19
|
+
.shepherd-arrow::before {
|
|
20
|
+
background: hsl(var(--card)) !important;
|
|
21
|
+
}
|
|
22
|
+
.shepherd-header,
|
|
23
|
+
.shepherd-footer {
|
|
24
|
+
display: none !important;
|
|
25
|
+
}
|
|
26
|
+
.dark .shepherd-arrow::before {
|
|
27
|
+
background: hsl(var(--card)) !important;
|
|
28
|
+
}
|
|
29
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/onboarding/styles/onboarding.css"],"sourcesContent":["/* Shepherd Modal Overlay */\n.shepherd-modal-overlay-container.shepherd-modal-is-visible {\n opacity: 1 !important;\n}\n\n.shepherd-modal-overlay-container path {\n fill: rgba(0, 0, 0, 0.75) !important;\n}\n\n/* Remove default shepherd styling - we use custom React card */\n.shepherd-element {\n background: transparent !important;\n border: none !important;\n box-shadow: none !important;\n padding: 0 !important;\n max-width: none !important;\n}\n\n.shepherd-content,\n.shepherd-text {\n padding: 0 !important;\n}\n\n/* Arrow styling to match card background */\n.shepherd-arrow::before {\n background: hsl(var(--card)) !important;\n}\n\n/* Hide default Shepherd header and footer - we render custom ones */\n.shepherd-header,\n.shepherd-footer {\n display: none !important;\n}\n\n/* Dark mode support */\n.dark .shepherd-arrow::before {\n background: hsl(var(--card)) !important;\n}\n"],"mappings":";AACA,CAAC,gCAAgC,CAAC;AAChC,WAAS;AACX;AAEA,CAJC,iCAIiC;AAChC,QAAM,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACtB;AAGA,CAAC;AACC,cAAY;AACZ,UAAQ;AACR,cAAY;AACZ,WAAS;AACT,aAAW;AACb;AAEA,CAAC;AACD,CAAC;AACC,WAAS;AACX;AAGA,CAAC,cAAc;AACb,cAAY,IAAI,IAAI;AACtB;AAGA,CAAC;AACD,CAAC;AACC,WAAS;AACX;AAGA,CAAC,KAAK,CAXL,cAWoB;AACnB,cAAY,IAAI,IAAI;AACtB;","names":[]}
|