@carlonicora/nextjs-jsonapi 2.0.2 → 2.1.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-DMh-zApr.d.mts +34 -0
- package/dist/AssistantInterface-DwdBzS9f.d.ts +34 -0
- package/dist/{BlockNoteEditor-4224DOTR.js → BlockNoteEditor-C5CYCS3I.js} +22 -20
- package/dist/BlockNoteEditor-C5CYCS3I.js.map +1 -0
- package/dist/{BlockNoteEditor-7NVXRTVR.mjs → BlockNoteEditor-NXDUGMP7.mjs} +7 -5
- package/dist/BlockNoteEditor-NXDUGMP7.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-TESVH5PV.mjs → chunk-A7AGXKZX.mjs} +1100 -738
- package/dist/chunk-A7AGXKZX.mjs.map +1 -0
- package/dist/{chunk-QS5Y6ZBF.js → chunk-I3GHIU4Y.js} +1258 -896
- package/dist/chunk-I3GHIU4Y.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-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 +19 -14
- 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-4224DOTR.js.map +0 -1
- package/dist/BlockNoteEditor-7NVXRTVR.mjs.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-QS5Y6ZBF.js.map +0 -1
- package/dist/chunk-TESVH5PV.mjs.map +0 -1
- /package/dist/{chunk-HN5ED7OF.mjs.map → chunk-MAWTFEY3.mjs.map} +0 -0
package/dist/client/index.js
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkI3GHIU4Yjs = require('../chunk-I3GHIU4Y.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -43,7 +43,7 @@ var _chunkQS5Y6ZBFjs = require('../chunk-QS5Y6ZBF.js');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkJG7MCYCWjs = require('../chunk-JG7MCYCW.js');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ var _chunkUXJAS6C5js = require('../chunk-UXJAS6C5.js');
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunk6YIZX26Tjs = require('../chunk-6YIZX26T.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
var _chunkLXKSUWAVjs = require('../chunk-LXKSUWAV.js');
|
|
@@ -125,5 +125,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
exports.ClientJsonApiDelete =
|
|
128
|
+
exports.ClientJsonApiDelete = _chunk6YIZX26Tjs.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunk6YIZX26Tjs.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunk6YIZX26Tjs.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunk6YIZX26Tjs.ClientJsonApiPost; exports.ClientJsonApiPut = _chunk6YIZX26Tjs.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkI3GHIU4Yjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkI3GHIU4Yjs.TableGeneratorRegistry; exports.buildClientUrl = _chunk6YIZX26Tjs.buildClientUrl; exports.computeLayeredLayout = _chunkI3GHIU4Yjs.computeLayeredLayout; exports.configureClientConfig = _chunkJG7MCYCWjs.configureClientConfig; exports.configureClientJsonApi = _chunk6YIZX26Tjs.configureClientJsonApi; exports.configureI18n = _chunkJG7MCYCWjs.configureI18n; exports.configureJsonApi = _chunkJG7MCYCWjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkI3GHIU4Yjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkJG7MCYCWjs.getApiUrl; exports.getAppUrl = _chunkJG7MCYCWjs.getAppUrl; exports.getClientApiUrl = _chunk6YIZX26Tjs.getClientApiUrl; exports.getClientAppUrl = _chunk6YIZX26Tjs.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunk6YIZX26Tjs.getClientTrackablePages; exports.getI18nLink = _chunkJG7MCYCWjs.getI18nLink; exports.getPublicApiUrl = _chunkJG7MCYCWjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkJG7MCYCWjs.getStripePublishableKey; exports.getTrackablePages = _chunkJG7MCYCWjs.getTrackablePages; exports.registerTableGenerator = _chunkI3GHIU4Yjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkI3GHIU4Yjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkI3GHIU4Yjs.useContentTableStructure; exports.useCustomD3Graph = _chunkI3GHIU4Yjs.useCustomD3Graph; exports.useDataListRetriever = _chunkI3GHIU4Yjs.useDataListRetriever; exports.useDebounce = _chunkI3GHIU4Yjs.useDebounce; exports.useI18nDateFnsLocale = _chunkJG7MCYCWjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkJG7MCYCWjs.useI18nLocale; exports.useI18nRouter = _chunkJG7MCYCWjs.useI18nRouter; exports.useI18nTranslations = _chunkJG7MCYCWjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkI3GHIU4Yjs.useJsonApiGet; exports.useJsonApiMutation = _chunkI3GHIU4Yjs.useJsonApiMutation; exports.useNotificationSync = _chunkI3GHIU4Yjs.useNotificationSync; exports.useOAuthClient = _chunkI3GHIU4Yjs.useOAuthClient; exports.useOAuthClients = _chunkI3GHIU4Yjs.useOAuthClients; exports.useOAuthConsent = _chunkI3GHIU4Yjs.useOAuthConsent; exports.usePageTracker = _chunkI3GHIU4Yjs.usePageTracker; exports.usePageUrlGenerator = _chunkI3GHIU4Yjs.usePageUrlGenerator; exports.useRehydration = _chunkI3GHIU4Yjs.useRehydration; exports.useRehydrationList = _chunkI3GHIU4Yjs.useRehydrationList; exports.useRoleTableStructure = _chunkI3GHIU4Yjs.useRoleTableStructure; exports.useSocket = _chunkI3GHIU4Yjs.useSocket; exports.useSubscriptionStatus = _chunkI3GHIU4Yjs.useSubscriptionStatus; exports.useTableGenerator = _chunkI3GHIU4Yjs.useTableGenerator; exports.useUrlRewriter = _chunkI3GHIU4Yjs.useUrlRewriter; exports.useUserSearch = _chunkI3GHIU4Yjs.useUserSearch; exports.useUserTableStructure = _chunkI3GHIU4Yjs.useUserTableStructure;
|
|
129
129
|
//# sourceMappingURL=index.js.map
|
package/dist/client/index.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
useUrlRewriter,
|
|
28
28
|
useUserSearch,
|
|
29
29
|
useUserTableStructure
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-A7AGXKZX.mjs";
|
|
31
31
|
import {
|
|
32
32
|
configureClientConfig,
|
|
33
33
|
configureI18n,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
useI18nLocale,
|
|
43
43
|
useI18nRouter,
|
|
44
44
|
useI18nTranslations
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-MAWTFEY3.mjs";
|
|
46
46
|
import {
|
|
47
47
|
ClientJsonApiDelete,
|
|
48
48
|
ClientJsonApiGet,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
getClientApiUrl,
|
|
55
55
|
getClientAppUrl,
|
|
56
56
|
getClientTrackablePages
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-P5TMD7GK.mjs";
|
|
58
58
|
import {
|
|
59
59
|
getClientToken
|
|
60
60
|
} from "../chunk-AUXK7QSA.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ReactElement, Dispatch, SetStateAction, ComponentType, Component, JSX, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ReactElement, Dispatch, SetStateAction, ComponentType, FC, Component, JSX, ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
import { M as ModuleWithPermissions, A as Action } from '../types-Bq_UA8Lg.mjs';
|
|
4
4
|
import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface } from '../AuthComponent-Cik96ElA.mjs';
|
|
5
5
|
export { b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../AuthComponent-Cik96ElA.mjs';
|
|
6
6
|
import { e as RoleInterface, U as UserInterface, C as ContentInterface, c as CompanyInterface, b as CompanyInput, N as NotificationInterface } from '../notification.interface-CG1vqoxg.mjs';
|
|
7
7
|
import * as _blocknote_core from '@blocknote/core';
|
|
8
8
|
import { BlockNoteEditor, PartialBlock } from '@blocknote/core';
|
|
9
|
-
import {
|
|
9
|
+
import { DefaultReactSuggestionItem, SuggestionMenuProps } from '@blocknote/react';
|
|
10
10
|
import { F as FeatureInterface } from '../feature.interface-CXb1-vNq.mjs';
|
|
11
11
|
import { D as DataListRetriever } from '../useDataListRetriever-WEXL4bqB.mjs';
|
|
12
12
|
import * as class_variance_authority from 'class-variance-authority';
|
|
@@ -348,6 +348,15 @@ interface MentionItem {
|
|
|
348
348
|
entityType: string;
|
|
349
349
|
icon?: React__default.ReactNode;
|
|
350
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* A suggestion item enriched with the entity it points at. Entity NAMES are not
|
|
353
|
+
* unique (two clues can both be called "New clue"), so a custom
|
|
354
|
+
* `suggestionMenuComponent` MUST key its rows on `id`, never on `title`.
|
|
355
|
+
*/
|
|
356
|
+
type MentionSuggestionItem = DefaultReactSuggestionItem & {
|
|
357
|
+
id?: string;
|
|
358
|
+
entityType?: string;
|
|
359
|
+
};
|
|
351
360
|
type MentionSearchFn = (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
352
361
|
type MentionInsertFn = (id: string, name: string, entityType: string) => void;
|
|
353
362
|
declare const useMentionInsert: () => MentionInsertFn | null;
|
|
@@ -1504,17 +1513,28 @@ declare function HowToList({ fullWidth }: HowToListProps): React$1.JSX.Element;
|
|
|
1504
1513
|
* the chat renderer receives it as a function instead of importing it.
|
|
1505
1514
|
*/
|
|
1506
1515
|
type ApprovalActionRenderer = (message: AssistantMessageInterface) => ReactNode;
|
|
1507
|
-
|
|
1516
|
+
/**
|
|
1517
|
+
* Render slot for `mention://<type>/<id>` links inside assistant markdown. The
|
|
1518
|
+
* consuming app owns the entity chip (avatar, hovercard, navigation), so the
|
|
1519
|
+
* chat renderer receives it as a function instead of importing it.
|
|
1520
|
+
*/
|
|
1521
|
+
type MentionRenderer = (p: {
|
|
1522
|
+
type: string;
|
|
1523
|
+
id: string;
|
|
1524
|
+
alias: string;
|
|
1525
|
+
}) => ReactNode;
|
|
1526
|
+
interface Props$8 {
|
|
1508
1527
|
message: AssistantMessageInterface;
|
|
1509
1528
|
isLatestAssistant: boolean;
|
|
1510
1529
|
onSelectFollowUp: (q: string) => void;
|
|
1511
1530
|
failedMessageIds?: Set<string>;
|
|
1512
1531
|
onRetry?: (tempId: string) => void;
|
|
1513
1532
|
renderApprovalAction?: ApprovalActionRenderer;
|
|
1533
|
+
renderMention?: MentionRenderer;
|
|
1514
1534
|
}
|
|
1515
|
-
declare function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction, }: Props$
|
|
1535
|
+
declare function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction, renderMention, }: Props$8): React$1.JSX.Element;
|
|
1516
1536
|
|
|
1517
|
-
interface Props$
|
|
1537
|
+
interface Props$7 {
|
|
1518
1538
|
/**
|
|
1519
1539
|
* Optional renderer for `approval-request` messages (operator engine). The
|
|
1520
1540
|
* approval card component lives in the consuming app, which registers the
|
|
@@ -1523,18 +1543,63 @@ interface Props$4 {
|
|
|
1523
1543
|
*/
|
|
1524
1544
|
renderApprovalAction?: ApprovalActionRenderer;
|
|
1525
1545
|
}
|
|
1526
|
-
declare function AssistantContainer({ renderApprovalAction }?: Props$
|
|
1546
|
+
declare function AssistantContainer({ renderApprovalAction }?: Props$7): React$1.JSX.Element;
|
|
1527
1547
|
|
|
1528
|
-
interface Props$
|
|
1548
|
+
interface Props$6 {
|
|
1549
|
+
renderApprovalAction?: ApprovalActionRenderer;
|
|
1550
|
+
renderMention?: MentionRenderer;
|
|
1551
|
+
mentionSearchFn?: (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
1552
|
+
mentionSearchParams?: Record<string, string>;
|
|
1553
|
+
mentionResolveFn?: MentionResolveFn;
|
|
1554
|
+
/**
|
|
1555
|
+
* Custom mention menu for the composer. Without one BlockNote renders its
|
|
1556
|
+
* default menu, which keys rows on the item title — duplicate entity names
|
|
1557
|
+
* then collide.
|
|
1558
|
+
*/
|
|
1559
|
+
suggestionMenuComponent?: React__default.FC<SuggestionMenuProps<DefaultReactSuggestionItem>>;
|
|
1560
|
+
/** Rendered inside the sidebar's details panel above the thread list. */
|
|
1561
|
+
detailsTitle: string;
|
|
1562
|
+
detailsIcon: React__default.ReactNode;
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Full-page assistant: the thread list lives in the page's details panel and
|
|
1566
|
+
* the conversation fills the card. Unlike `AssistantContainer` the composer is
|
|
1567
|
+
* the BlockNote one, so the very first message of a thread can carry mentions.
|
|
1568
|
+
*/
|
|
1569
|
+
declare function AssistantPageContainer({ renderApprovalAction, renderMention, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, detailsTitle, detailsIcon, }: Props$6): React__default.JSX.Element;
|
|
1570
|
+
|
|
1571
|
+
interface Props$5 {
|
|
1572
|
+
onSend: (content: string, opts: {
|
|
1573
|
+
contentBlocks: unknown[];
|
|
1574
|
+
}) => Promise<void>;
|
|
1575
|
+
disabled?: boolean;
|
|
1576
|
+
mentionSearchFn?: (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
1577
|
+
mentionSearchParams?: Record<string, string>;
|
|
1578
|
+
mentionResolveFn?: MentionResolveFn;
|
|
1579
|
+
/**
|
|
1580
|
+
* Custom mention menu. Without one BlockNote renders its default menu, which
|
|
1581
|
+
* keys rows on the item title — duplicate entity names then collide.
|
|
1582
|
+
*/
|
|
1583
|
+
suggestionMenuComponent?: FC<SuggestionMenuProps<DefaultReactSuggestionItem>>;
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* Mention-capable chat composer. Unlike `AssistantComposer` (plain textarea) it
|
|
1587
|
+
* sends the BlockNote document alongside the flattened text, so the server can
|
|
1588
|
+
* resolve `@`-mentions to real entities and pin them into the agent's focus.
|
|
1589
|
+
*/
|
|
1590
|
+
declare function AssistantBlockNoteComposer({ onSend, disabled, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, }: Props$5): React$1.JSX.Element;
|
|
1591
|
+
|
|
1592
|
+
interface Props$4 {
|
|
1529
1593
|
messages: AssistantMessageInterface[];
|
|
1530
1594
|
onSelectFollowUp: (q: string) => void;
|
|
1531
1595
|
failedMessageIds?: Set<string>;
|
|
1532
1596
|
onRetry?: (tempId: string) => void;
|
|
1533
1597
|
renderApprovalAction?: ApprovalActionRenderer;
|
|
1598
|
+
renderMention?: MentionRenderer;
|
|
1534
1599
|
}
|
|
1535
|
-
declare function MessageList({ messages, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction }: Props$
|
|
1600
|
+
declare function MessageList({ messages, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction, renderMention, }: Props$4): React$1.JSX.Element;
|
|
1536
1601
|
|
|
1537
|
-
interface Props$
|
|
1602
|
+
interface Props$3 {
|
|
1538
1603
|
message: AssistantMessageInterface;
|
|
1539
1604
|
isLatestAssistant: boolean;
|
|
1540
1605
|
onSelectFollowUp: (q: string) => void;
|
|
@@ -1550,7 +1615,33 @@ interface Props$2 {
|
|
|
1550
1615
|
*/
|
|
1551
1616
|
users?: ApiDataInterface[];
|
|
1552
1617
|
}
|
|
1553
|
-
declare function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sources, users }: Props$
|
|
1618
|
+
declare function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sources, users }: Props$3): React$1.JSX.Element | null;
|
|
1619
|
+
|
|
1620
|
+
interface Props$2 {
|
|
1621
|
+
/** Id of the pending AssistantAction linked to the approval-request message. */
|
|
1622
|
+
actionId: string;
|
|
1623
|
+
/** Human-readable summary fallback (the approval-request message content). */
|
|
1624
|
+
summary?: string;
|
|
1625
|
+
/** Invoked with the resumed assistant message returned by approve/deny. */
|
|
1626
|
+
onResolved?: (message: AssistantMessageInterface) => void;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Renders an `approval-request` assistant message as an action card:
|
|
1630
|
+
* the destructive-tool summary plus Approve / Deny buttons. Buttons are
|
|
1631
|
+
* only actionable while the underlying AssistantAction is `pending`.
|
|
1632
|
+
*
|
|
1633
|
+
* NOTE: plain `<Button>` elements on purpose — never wrapped inside any
|
|
1634
|
+
* Base UI trigger component (no nested buttons, no `asChild`).
|
|
1635
|
+
*/
|
|
1636
|
+
declare function ApprovalActionCard({ actionId, summary, onResolved }: Props$2): React$1.JSX.Element;
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* AssistantContainer with the operator approval card wired in. The container
|
|
1640
|
+
* renders `approval-request` messages through the `renderApprovalAction` slot,
|
|
1641
|
+
* which stays a slot so the plain chat container has no dependency on the
|
|
1642
|
+
* AssistantAction module. Must be rendered inside an `AssistantProvider`.
|
|
1643
|
+
*/
|
|
1644
|
+
declare function AssistantContainerWithApprovals(): React$1.JSX.Element;
|
|
1554
1645
|
|
|
1555
1646
|
interface Props$1 {
|
|
1556
1647
|
children: ReactNode;
|
|
@@ -2961,4 +3052,4 @@ interface MultipleSelectorRef {
|
|
|
2961
3052
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
2962
3053
|
declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
|
|
2963
3054
|
|
|
2964
|
-
export { AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, AdminUsersList, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AllUsersListContainer, AllowedUsersDetails, type ApprovalActionRenderer, AssistantContainer, AttributeElement, AuthContainer, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BackupCodesDialog, Badge, type BadgeProps, type BlockNoteAiConfig, BlockNoteEditorContainer, BlockNoteEditorMentionHoverCard, BlockNoteEditorMentionSuggestionMenu, type BlockNoteEditorProps, BlockNoteViewerContainer, KanbanBoard as Board, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbNavigation, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, KanbanColumn as Column, KanbanColumnHandle as ColumnHandle, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommonAddTrigger, CommonAssociationCommandDialog, CommonAssociationTrigger, CommonDeleter, CommonEditorButtons, CommonEditorDiscardDialog, CommonEditorHeader, CommonEditorTrigger, CompaniesList, CompanyConfigurationEditor, CompanyContainer, CompanyContent, CompanyDeleter, CompanyDetails, CompanyEditor, CompanyUsersList, ConfirmDialog, type ConfirmDialogProps, ContentListGrid, type ContentListGridProps, ContentListTable, ContentTableSearch, ContentTitle, ContentsList, ContentsListById, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContributorsList, Cookies, CurrencyInput, type CurrencyInputProps, DatePickerPopover, DateRangeSelector, DetailField, type DetailFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisableTwoFactorDialog, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableAvatar, EditorSheet, type EditorSheetProps, EmptyState, EntityAvatar, EntityHero, EntityHeroAvatar, EntityHeroLayout, EntityHeroMetaRow, EntityMultiSelector, EntitySection, EntitySelector, ErrorDetails, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FiscalDataDisplay, type FiscalDataHandle, ForgotPassword, Form, FormBlockNote, FormBody, FormCheckbox, FormCol, FormDate, FormDateTime, FormFeatures, FormFieldWrapper, FormInput, FormPassword, FormPlaceAutocomplete, FormRoles, FormRow, FormSection, FormSelect, FormSlider, FormSwitch, FormTextarea, GdprConsentCheckbox, GdprConsentSection, type GenerateTableStructureParams, HEADER_ROW_MIN_H, Header, HoverCard, HoverCardContent, HoverCardTrigger, HowToCommand, HowToCommandViewer, HowToContainer, HowToContent, HowToDeleter, HowToDetails, HowToEditor, HowToList, HowToListContainer, HowToMultiSelector, HowToSelector, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalianFiscalData, ItalianFiscalDataDisplay, type ItalianFiscalDataProps, KanbanItem as Item, KanbanItemHandle as ItemHandle, KanbanRoot as Kanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, Label, LandingComponent, Link, type LinkProps, Login, Logout, type MentionHoverCardProps, type MentionInsertFn, type MentionItem, type MentionNameResolver, type MentionRenderProps, type MentionResolveFn, type MentionResolveResult, type MentionSearchFn, MessageItem, MessageList, MessageSourcesPanel, MicroLabel, type MicroLabelProps, MobileNavigationBar, ModeToggleSwitch, MultiSelect, MultipleSelector, type MultipleSelectorProps, type MultipleSelectorRef, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NotificationErrorBoundary, NotificationMenuItem, NotificationModal, NotificationToast, NotificationsList, NotificationsListContainer, OAuthClientCard, type OAuthClientCardProps, OAuthClientDetail, type OAuthClientDetailProps, OAuthClientForm, type OAuthClientFormProps, OAuthClientList, type OAuthClientListProps, OAuthClientSecretDisplay, type OAuthClientSecretDisplayProps, OAuthConsentActions, type OAuthConsentActionsProps, OAuthConsentHeader, type OAuthConsentHeaderProps, OAuthConsentScreen, type OAuthConsentScreenProps, OAuthRedirectUriInput, type OAuthRedirectUriInputProps, OAuthScopeList, type OAuthScopeListProps, OAuthScopeSelector, type OAuthScopeSelectorProps, OnboardingCard, type Option, KanbanOverlay as Overlay, PageContainer, PageContainerContentDetails, type PageContainerItems, PageContentContainer, PageSection, type PartitionedTabs, PasskeyButton, PasskeyList, PasskeySetupDialog, PasswordInput, type PasswordInputProps, type PlaceAddressComponents, type PlaceSuggestion, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, PushNotificationProvider, RadioGroup, RadioGroupItem, RbacByRoleContainer, RbacContainer, RbacPermissionCell, RbacPermissionPicker, ReactMarkdownContainer, RecentPagesNavigator, ReferralCodeCapture, ReferralDialog, type ReferralDialogProps, type ReferralDialogTranslations, ReferralWidget, type ReferralWidgetProps, type ReferralWidgetTranslations, RefreshUser, RelevantContentsList, RelevantUsersList, RemoveUserFromRole, ResetPassword, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoleContainer, RoleDetails, RoleUsersList, RolesList, KanbanRoot as Root, RoundPageContainer, RoundPageContainerTitle, ScrollArea, ScrollBar, SectionHeader, type SectionHeaderProps, SecurityContainer, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, type Tab, Table, TableBody, TableCaption, TableCell, TableCellAvatar, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, TokenStatusIndicator, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TotpAuthenticatorList, TotpInput, TotpSetupDialog, TwoFactorChallenge, TwoFactorSettings, UserAvatar, UserAvatarEditor, UserAvatarList, UserContainer, UserContent, UserDeleter, UserEditor, UserIndexContainer, UserIndexDetails, UserListInAdd, UserMultiSelect, UserReactivator, UserResentInvitationEmail, UserRoleAdd, UserRolesList, UserSearchPopover, UserSelector, UserStanadaloneDetails, UsersList, UsersListByContentIds, UsersListContainer, WaitlistConfirmation, WaitlistForm, WaitlistHeroSection, WaitlistList, WaitlistQuestionnaireRenderer, WaitlistSuccessState, badgeVariants, buttonVariants, cellComponent, cellDate, cellDateTime, cellId, cellLink, cellUrl, createMentionInlineContentSpec, errorToast, generateNotificationData, mentionDataAttrs, navigationMenuTriggerStyle, parseFiscalData, parseMentionElement, partitionTabs, spinnerVariants, tabsListVariants, toggleVariants, triggerAssociationToast, useCarousel, useComboboxAnchor, useDebounce, useEditorDialog, useFileUpload, useMentionInsert, useSidebar };
|
|
3055
|
+
export { AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, AdminUsersList, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AllUsersListContainer, AllowedUsersDetails, ApprovalActionCard, type ApprovalActionRenderer, AssistantBlockNoteComposer, AssistantContainer, AssistantContainerWithApprovals, AssistantPageContainer, AttributeElement, AuthContainer, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BackupCodesDialog, Badge, type BadgeProps, type BlockNoteAiConfig, BlockNoteEditorContainer, BlockNoteEditorMentionHoverCard, BlockNoteEditorMentionSuggestionMenu, type BlockNoteEditorProps, BlockNoteViewerContainer, KanbanBoard as Board, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbNavigation, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, KanbanColumn as Column, KanbanColumnHandle as ColumnHandle, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommonAddTrigger, CommonAssociationCommandDialog, CommonAssociationTrigger, CommonDeleter, CommonEditorButtons, CommonEditorDiscardDialog, CommonEditorHeader, CommonEditorTrigger, CompaniesList, CompanyConfigurationEditor, CompanyContainer, CompanyContent, CompanyDeleter, CompanyDetails, CompanyEditor, CompanyUsersList, ConfirmDialog, type ConfirmDialogProps, ContentListGrid, type ContentListGridProps, ContentListTable, ContentTableSearch, ContentTitle, ContentsList, ContentsListById, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContributorsList, Cookies, CurrencyInput, type CurrencyInputProps, DatePickerPopover, DateRangeSelector, DetailField, type DetailFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisableTwoFactorDialog, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableAvatar, EditorSheet, type EditorSheetProps, EmptyState, EntityAvatar, EntityHero, EntityHeroAvatar, EntityHeroLayout, EntityHeroMetaRow, EntityMultiSelector, EntitySection, EntitySelector, ErrorDetails, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FiscalDataDisplay, type FiscalDataHandle, ForgotPassword, Form, FormBlockNote, FormBody, FormCheckbox, FormCol, FormDate, FormDateTime, FormFeatures, FormFieldWrapper, FormInput, FormPassword, FormPlaceAutocomplete, FormRoles, FormRow, FormSection, FormSelect, FormSlider, FormSwitch, FormTextarea, GdprConsentCheckbox, GdprConsentSection, type GenerateTableStructureParams, HEADER_ROW_MIN_H, Header, HoverCard, HoverCardContent, HoverCardTrigger, HowToCommand, HowToCommandViewer, HowToContainer, HowToContent, HowToDeleter, HowToDetails, HowToEditor, HowToList, HowToListContainer, HowToMultiSelector, HowToSelector, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalianFiscalData, ItalianFiscalDataDisplay, type ItalianFiscalDataProps, KanbanItem as Item, KanbanItemHandle as ItemHandle, KanbanRoot as Kanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, Label, LandingComponent, Link, type LinkProps, Login, Logout, type MentionHoverCardProps, type MentionInsertFn, type MentionItem, type MentionNameResolver, type MentionRenderProps, type MentionRenderer, type MentionResolveFn, type MentionResolveResult, type MentionSearchFn, type MentionSuggestionItem, MessageItem, MessageList, MessageSourcesPanel, MicroLabel, type MicroLabelProps, MobileNavigationBar, ModeToggleSwitch, MultiSelect, MultipleSelector, type MultipleSelectorProps, type MultipleSelectorRef, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NotificationErrorBoundary, NotificationMenuItem, NotificationModal, NotificationToast, NotificationsList, NotificationsListContainer, OAuthClientCard, type OAuthClientCardProps, OAuthClientDetail, type OAuthClientDetailProps, OAuthClientForm, type OAuthClientFormProps, OAuthClientList, type OAuthClientListProps, OAuthClientSecretDisplay, type OAuthClientSecretDisplayProps, OAuthConsentActions, type OAuthConsentActionsProps, OAuthConsentHeader, type OAuthConsentHeaderProps, OAuthConsentScreen, type OAuthConsentScreenProps, OAuthRedirectUriInput, type OAuthRedirectUriInputProps, OAuthScopeList, type OAuthScopeListProps, OAuthScopeSelector, type OAuthScopeSelectorProps, OnboardingCard, type Option, KanbanOverlay as Overlay, PageContainer, PageContainerContentDetails, type PageContainerItems, PageContentContainer, PageSection, type PartitionedTabs, PasskeyButton, PasskeyList, PasskeySetupDialog, PasswordInput, type PasswordInputProps, type PlaceAddressComponents, type PlaceSuggestion, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, PushNotificationProvider, RadioGroup, RadioGroupItem, RbacByRoleContainer, RbacContainer, RbacPermissionCell, RbacPermissionPicker, ReactMarkdownContainer, RecentPagesNavigator, ReferralCodeCapture, ReferralDialog, type ReferralDialogProps, type ReferralDialogTranslations, ReferralWidget, type ReferralWidgetProps, type ReferralWidgetTranslations, RefreshUser, RelevantContentsList, RelevantUsersList, RemoveUserFromRole, ResetPassword, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoleContainer, RoleDetails, RoleUsersList, RolesList, KanbanRoot as Root, RoundPageContainer, RoundPageContainerTitle, ScrollArea, ScrollBar, SectionHeader, type SectionHeaderProps, SecurityContainer, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, type Tab, Table, TableBody, TableCaption, TableCell, TableCellAvatar, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, TokenStatusIndicator, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TotpAuthenticatorList, TotpInput, TotpSetupDialog, TwoFactorChallenge, TwoFactorSettings, UserAvatar, UserAvatarEditor, UserAvatarList, UserContainer, UserContent, UserDeleter, UserEditor, UserIndexContainer, UserIndexDetails, UserListInAdd, UserMultiSelect, UserReactivator, UserResentInvitationEmail, UserRoleAdd, UserRolesList, UserSearchPopover, UserSelector, UserStanadaloneDetails, UsersList, UsersListByContentIds, UsersListContainer, WaitlistConfirmation, WaitlistForm, WaitlistHeroSection, WaitlistList, WaitlistQuestionnaireRenderer, WaitlistSuccessState, badgeVariants, buttonVariants, cellComponent, cellDate, cellDateTime, cellId, cellLink, cellUrl, createMentionInlineContentSpec, errorToast, generateNotificationData, mentionDataAttrs, navigationMenuTriggerStyle, parseFiscalData, parseMentionElement, partitionTabs, spinnerVariants, tabsListVariants, toggleVariants, triggerAssociationToast, useCarousel, useComboboxAnchor, useDebounce, useEditorDialog, useFileUpload, useMentionInsert, useSidebar };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ReactElement, Dispatch, SetStateAction, ComponentType, Component, JSX, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import React__default, { ReactNode, ReactElement, Dispatch, SetStateAction, ComponentType, FC, Component, JSX, ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
import { M as ModuleWithPermissions, A as Action } from '../types-bsm8Fp55.js';
|
|
4
4
|
import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface } from '../AuthComponent-DTTKu3VK.js';
|
|
5
5
|
export { b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../AuthComponent-DTTKu3VK.js';
|
|
6
6
|
import { e as RoleInterface, U as UserInterface, C as ContentInterface, c as CompanyInterface, b as CompanyInput, N as NotificationInterface } from '../notification.interface--27exGde.js';
|
|
7
7
|
import * as _blocknote_core from '@blocknote/core';
|
|
8
8
|
import { BlockNoteEditor, PartialBlock } from '@blocknote/core';
|
|
9
|
-
import {
|
|
9
|
+
import { DefaultReactSuggestionItem, SuggestionMenuProps } from '@blocknote/react';
|
|
10
10
|
import { F as FeatureInterface } from '../feature.interface-BO25VLlx.js';
|
|
11
11
|
import { D as DataListRetriever } from '../useDataListRetriever-WEXL4bqB.js';
|
|
12
12
|
import * as class_variance_authority from 'class-variance-authority';
|
|
@@ -348,6 +348,15 @@ interface MentionItem {
|
|
|
348
348
|
entityType: string;
|
|
349
349
|
icon?: React__default.ReactNode;
|
|
350
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* A suggestion item enriched with the entity it points at. Entity NAMES are not
|
|
353
|
+
* unique (two clues can both be called "New clue"), so a custom
|
|
354
|
+
* `suggestionMenuComponent` MUST key its rows on `id`, never on `title`.
|
|
355
|
+
*/
|
|
356
|
+
type MentionSuggestionItem = DefaultReactSuggestionItem & {
|
|
357
|
+
id?: string;
|
|
358
|
+
entityType?: string;
|
|
359
|
+
};
|
|
351
360
|
type MentionSearchFn = (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
352
361
|
type MentionInsertFn = (id: string, name: string, entityType: string) => void;
|
|
353
362
|
declare const useMentionInsert: () => MentionInsertFn | null;
|
|
@@ -1504,17 +1513,28 @@ declare function HowToList({ fullWidth }: HowToListProps): React$1.JSX.Element;
|
|
|
1504
1513
|
* the chat renderer receives it as a function instead of importing it.
|
|
1505
1514
|
*/
|
|
1506
1515
|
type ApprovalActionRenderer = (message: AssistantMessageInterface) => ReactNode;
|
|
1507
|
-
|
|
1516
|
+
/**
|
|
1517
|
+
* Render slot for `mention://<type>/<id>` links inside assistant markdown. The
|
|
1518
|
+
* consuming app owns the entity chip (avatar, hovercard, navigation), so the
|
|
1519
|
+
* chat renderer receives it as a function instead of importing it.
|
|
1520
|
+
*/
|
|
1521
|
+
type MentionRenderer = (p: {
|
|
1522
|
+
type: string;
|
|
1523
|
+
id: string;
|
|
1524
|
+
alias: string;
|
|
1525
|
+
}) => ReactNode;
|
|
1526
|
+
interface Props$8 {
|
|
1508
1527
|
message: AssistantMessageInterface;
|
|
1509
1528
|
isLatestAssistant: boolean;
|
|
1510
1529
|
onSelectFollowUp: (q: string) => void;
|
|
1511
1530
|
failedMessageIds?: Set<string>;
|
|
1512
1531
|
onRetry?: (tempId: string) => void;
|
|
1513
1532
|
renderApprovalAction?: ApprovalActionRenderer;
|
|
1533
|
+
renderMention?: MentionRenderer;
|
|
1514
1534
|
}
|
|
1515
|
-
declare function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction, }: Props$
|
|
1535
|
+
declare function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction, renderMention, }: Props$8): React$1.JSX.Element;
|
|
1516
1536
|
|
|
1517
|
-
interface Props$
|
|
1537
|
+
interface Props$7 {
|
|
1518
1538
|
/**
|
|
1519
1539
|
* Optional renderer for `approval-request` messages (operator engine). The
|
|
1520
1540
|
* approval card component lives in the consuming app, which registers the
|
|
@@ -1523,18 +1543,63 @@ interface Props$4 {
|
|
|
1523
1543
|
*/
|
|
1524
1544
|
renderApprovalAction?: ApprovalActionRenderer;
|
|
1525
1545
|
}
|
|
1526
|
-
declare function AssistantContainer({ renderApprovalAction }?: Props$
|
|
1546
|
+
declare function AssistantContainer({ renderApprovalAction }?: Props$7): React$1.JSX.Element;
|
|
1527
1547
|
|
|
1528
|
-
interface Props$
|
|
1548
|
+
interface Props$6 {
|
|
1549
|
+
renderApprovalAction?: ApprovalActionRenderer;
|
|
1550
|
+
renderMention?: MentionRenderer;
|
|
1551
|
+
mentionSearchFn?: (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
1552
|
+
mentionSearchParams?: Record<string, string>;
|
|
1553
|
+
mentionResolveFn?: MentionResolveFn;
|
|
1554
|
+
/**
|
|
1555
|
+
* Custom mention menu for the composer. Without one BlockNote renders its
|
|
1556
|
+
* default menu, which keys rows on the item title — duplicate entity names
|
|
1557
|
+
* then collide.
|
|
1558
|
+
*/
|
|
1559
|
+
suggestionMenuComponent?: React__default.FC<SuggestionMenuProps<DefaultReactSuggestionItem>>;
|
|
1560
|
+
/** Rendered inside the sidebar's details panel above the thread list. */
|
|
1561
|
+
detailsTitle: string;
|
|
1562
|
+
detailsIcon: React__default.ReactNode;
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Full-page assistant: the thread list lives in the page's details panel and
|
|
1566
|
+
* the conversation fills the card. Unlike `AssistantContainer` the composer is
|
|
1567
|
+
* the BlockNote one, so the very first message of a thread can carry mentions.
|
|
1568
|
+
*/
|
|
1569
|
+
declare function AssistantPageContainer({ renderApprovalAction, renderMention, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, detailsTitle, detailsIcon, }: Props$6): React__default.JSX.Element;
|
|
1570
|
+
|
|
1571
|
+
interface Props$5 {
|
|
1572
|
+
onSend: (content: string, opts: {
|
|
1573
|
+
contentBlocks: unknown[];
|
|
1574
|
+
}) => Promise<void>;
|
|
1575
|
+
disabled?: boolean;
|
|
1576
|
+
mentionSearchFn?: (query: string, params?: Record<string, string>) => Promise<MentionItem[]>;
|
|
1577
|
+
mentionSearchParams?: Record<string, string>;
|
|
1578
|
+
mentionResolveFn?: MentionResolveFn;
|
|
1579
|
+
/**
|
|
1580
|
+
* Custom mention menu. Without one BlockNote renders its default menu, which
|
|
1581
|
+
* keys rows on the item title — duplicate entity names then collide.
|
|
1582
|
+
*/
|
|
1583
|
+
suggestionMenuComponent?: FC<SuggestionMenuProps<DefaultReactSuggestionItem>>;
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* Mention-capable chat composer. Unlike `AssistantComposer` (plain textarea) it
|
|
1587
|
+
* sends the BlockNote document alongside the flattened text, so the server can
|
|
1588
|
+
* resolve `@`-mentions to real entities and pin them into the agent's focus.
|
|
1589
|
+
*/
|
|
1590
|
+
declare function AssistantBlockNoteComposer({ onSend, disabled, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, }: Props$5): React$1.JSX.Element;
|
|
1591
|
+
|
|
1592
|
+
interface Props$4 {
|
|
1529
1593
|
messages: AssistantMessageInterface[];
|
|
1530
1594
|
onSelectFollowUp: (q: string) => void;
|
|
1531
1595
|
failedMessageIds?: Set<string>;
|
|
1532
1596
|
onRetry?: (tempId: string) => void;
|
|
1533
1597
|
renderApprovalAction?: ApprovalActionRenderer;
|
|
1598
|
+
renderMention?: MentionRenderer;
|
|
1534
1599
|
}
|
|
1535
|
-
declare function MessageList({ messages, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction }: Props$
|
|
1600
|
+
declare function MessageList({ messages, onSelectFollowUp, failedMessageIds, onRetry, renderApprovalAction, renderMention, }: Props$4): React$1.JSX.Element;
|
|
1536
1601
|
|
|
1537
|
-
interface Props$
|
|
1602
|
+
interface Props$3 {
|
|
1538
1603
|
message: AssistantMessageInterface;
|
|
1539
1604
|
isLatestAssistant: boolean;
|
|
1540
1605
|
onSelectFollowUp: (q: string) => void;
|
|
@@ -1550,7 +1615,33 @@ interface Props$2 {
|
|
|
1550
1615
|
*/
|
|
1551
1616
|
users?: ApiDataInterface[];
|
|
1552
1617
|
}
|
|
1553
|
-
declare function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sources, users }: Props$
|
|
1618
|
+
declare function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sources, users }: Props$3): React$1.JSX.Element | null;
|
|
1619
|
+
|
|
1620
|
+
interface Props$2 {
|
|
1621
|
+
/** Id of the pending AssistantAction linked to the approval-request message. */
|
|
1622
|
+
actionId: string;
|
|
1623
|
+
/** Human-readable summary fallback (the approval-request message content). */
|
|
1624
|
+
summary?: string;
|
|
1625
|
+
/** Invoked with the resumed assistant message returned by approve/deny. */
|
|
1626
|
+
onResolved?: (message: AssistantMessageInterface) => void;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Renders an `approval-request` assistant message as an action card:
|
|
1630
|
+
* the destructive-tool summary plus Approve / Deny buttons. Buttons are
|
|
1631
|
+
* only actionable while the underlying AssistantAction is `pending`.
|
|
1632
|
+
*
|
|
1633
|
+
* NOTE: plain `<Button>` elements on purpose — never wrapped inside any
|
|
1634
|
+
* Base UI trigger component (no nested buttons, no `asChild`).
|
|
1635
|
+
*/
|
|
1636
|
+
declare function ApprovalActionCard({ actionId, summary, onResolved }: Props$2): React$1.JSX.Element;
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* AssistantContainer with the operator approval card wired in. The container
|
|
1640
|
+
* renders `approval-request` messages through the `renderApprovalAction` slot,
|
|
1641
|
+
* which stays a slot so the plain chat container has no dependency on the
|
|
1642
|
+
* AssistantAction module. Must be rendered inside an `AssistantProvider`.
|
|
1643
|
+
*/
|
|
1644
|
+
declare function AssistantContainerWithApprovals(): React$1.JSX.Element;
|
|
1554
1645
|
|
|
1555
1646
|
interface Props$1 {
|
|
1556
1647
|
children: ReactNode;
|
|
@@ -2961,4 +3052,4 @@ interface MultipleSelectorRef {
|
|
|
2961
3052
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
2962
3053
|
declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
|
|
2963
3054
|
|
|
2964
|
-
export { AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, AdminUsersList, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AllUsersListContainer, AllowedUsersDetails, type ApprovalActionRenderer, AssistantContainer, AttributeElement, AuthContainer, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BackupCodesDialog, Badge, type BadgeProps, type BlockNoteAiConfig, BlockNoteEditorContainer, BlockNoteEditorMentionHoverCard, BlockNoteEditorMentionSuggestionMenu, type BlockNoteEditorProps, BlockNoteViewerContainer, KanbanBoard as Board, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbNavigation, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, KanbanColumn as Column, KanbanColumnHandle as ColumnHandle, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommonAddTrigger, CommonAssociationCommandDialog, CommonAssociationTrigger, CommonDeleter, CommonEditorButtons, CommonEditorDiscardDialog, CommonEditorHeader, CommonEditorTrigger, CompaniesList, CompanyConfigurationEditor, CompanyContainer, CompanyContent, CompanyDeleter, CompanyDetails, CompanyEditor, CompanyUsersList, ConfirmDialog, type ConfirmDialogProps, ContentListGrid, type ContentListGridProps, ContentListTable, ContentTableSearch, ContentTitle, ContentsList, ContentsListById, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContributorsList, Cookies, CurrencyInput, type CurrencyInputProps, DatePickerPopover, DateRangeSelector, DetailField, type DetailFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisableTwoFactorDialog, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableAvatar, EditorSheet, type EditorSheetProps, EmptyState, EntityAvatar, EntityHero, EntityHeroAvatar, EntityHeroLayout, EntityHeroMetaRow, EntityMultiSelector, EntitySection, EntitySelector, ErrorDetails, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FiscalDataDisplay, type FiscalDataHandle, ForgotPassword, Form, FormBlockNote, FormBody, FormCheckbox, FormCol, FormDate, FormDateTime, FormFeatures, FormFieldWrapper, FormInput, FormPassword, FormPlaceAutocomplete, FormRoles, FormRow, FormSection, FormSelect, FormSlider, FormSwitch, FormTextarea, GdprConsentCheckbox, GdprConsentSection, type GenerateTableStructureParams, HEADER_ROW_MIN_H, Header, HoverCard, HoverCardContent, HoverCardTrigger, HowToCommand, HowToCommandViewer, HowToContainer, HowToContent, HowToDeleter, HowToDetails, HowToEditor, HowToList, HowToListContainer, HowToMultiSelector, HowToSelector, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalianFiscalData, ItalianFiscalDataDisplay, type ItalianFiscalDataProps, KanbanItem as Item, KanbanItemHandle as ItemHandle, KanbanRoot as Kanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, Label, LandingComponent, Link, type LinkProps, Login, Logout, type MentionHoverCardProps, type MentionInsertFn, type MentionItem, type MentionNameResolver, type MentionRenderProps, type MentionResolveFn, type MentionResolveResult, type MentionSearchFn, MessageItem, MessageList, MessageSourcesPanel, MicroLabel, type MicroLabelProps, MobileNavigationBar, ModeToggleSwitch, MultiSelect, MultipleSelector, type MultipleSelectorProps, type MultipleSelectorRef, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NotificationErrorBoundary, NotificationMenuItem, NotificationModal, NotificationToast, NotificationsList, NotificationsListContainer, OAuthClientCard, type OAuthClientCardProps, OAuthClientDetail, type OAuthClientDetailProps, OAuthClientForm, type OAuthClientFormProps, OAuthClientList, type OAuthClientListProps, OAuthClientSecretDisplay, type OAuthClientSecretDisplayProps, OAuthConsentActions, type OAuthConsentActionsProps, OAuthConsentHeader, type OAuthConsentHeaderProps, OAuthConsentScreen, type OAuthConsentScreenProps, OAuthRedirectUriInput, type OAuthRedirectUriInputProps, OAuthScopeList, type OAuthScopeListProps, OAuthScopeSelector, type OAuthScopeSelectorProps, OnboardingCard, type Option, KanbanOverlay as Overlay, PageContainer, PageContainerContentDetails, type PageContainerItems, PageContentContainer, PageSection, type PartitionedTabs, PasskeyButton, PasskeyList, PasskeySetupDialog, PasswordInput, type PasswordInputProps, type PlaceAddressComponents, type PlaceSuggestion, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, PushNotificationProvider, RadioGroup, RadioGroupItem, RbacByRoleContainer, RbacContainer, RbacPermissionCell, RbacPermissionPicker, ReactMarkdownContainer, RecentPagesNavigator, ReferralCodeCapture, ReferralDialog, type ReferralDialogProps, type ReferralDialogTranslations, ReferralWidget, type ReferralWidgetProps, type ReferralWidgetTranslations, RefreshUser, RelevantContentsList, RelevantUsersList, RemoveUserFromRole, ResetPassword, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoleContainer, RoleDetails, RoleUsersList, RolesList, KanbanRoot as Root, RoundPageContainer, RoundPageContainerTitle, ScrollArea, ScrollBar, SectionHeader, type SectionHeaderProps, SecurityContainer, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, type Tab, Table, TableBody, TableCaption, TableCell, TableCellAvatar, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, TokenStatusIndicator, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TotpAuthenticatorList, TotpInput, TotpSetupDialog, TwoFactorChallenge, TwoFactorSettings, UserAvatar, UserAvatarEditor, UserAvatarList, UserContainer, UserContent, UserDeleter, UserEditor, UserIndexContainer, UserIndexDetails, UserListInAdd, UserMultiSelect, UserReactivator, UserResentInvitationEmail, UserRoleAdd, UserRolesList, UserSearchPopover, UserSelector, UserStanadaloneDetails, UsersList, UsersListByContentIds, UsersListContainer, WaitlistConfirmation, WaitlistForm, WaitlistHeroSection, WaitlistList, WaitlistQuestionnaireRenderer, WaitlistSuccessState, badgeVariants, buttonVariants, cellComponent, cellDate, cellDateTime, cellId, cellLink, cellUrl, createMentionInlineContentSpec, errorToast, generateNotificationData, mentionDataAttrs, navigationMenuTriggerStyle, parseFiscalData, parseMentionElement, partitionTabs, spinnerVariants, tabsListVariants, toggleVariants, triggerAssociationToast, useCarousel, useComboboxAnchor, useDebounce, useEditorDialog, useFileUpload, useMentionInsert, useSidebar };
|
|
3055
|
+
export { AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, AdminUsersList, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AllUsersListContainer, AllowedUsersDetails, ApprovalActionCard, type ApprovalActionRenderer, AssistantBlockNoteComposer, AssistantContainer, AssistantContainerWithApprovals, AssistantPageContainer, AttributeElement, AuthContainer, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, BackupCodesDialog, Badge, type BadgeProps, type BlockNoteAiConfig, BlockNoteEditorContainer, BlockNoteEditorMentionHoverCard, BlockNoteEditorMentionSuggestionMenu, type BlockNoteEditorProps, BlockNoteViewerContainer, KanbanBoard as Board, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbNavigation, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, KanbanColumn as Column, KanbanColumnHandle as ColumnHandle, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommonAddTrigger, CommonAssociationCommandDialog, CommonAssociationTrigger, CommonDeleter, CommonEditorButtons, CommonEditorDiscardDialog, CommonEditorHeader, CommonEditorTrigger, CompaniesList, CompanyConfigurationEditor, CompanyContainer, CompanyContent, CompanyDeleter, CompanyDetails, CompanyEditor, CompanyUsersList, ConfirmDialog, type ConfirmDialogProps, ContentListGrid, type ContentListGridProps, ContentListTable, ContentTableSearch, ContentTitle, ContentsList, ContentsListById, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContributorsList, Cookies, CurrencyInput, type CurrencyInputProps, DatePickerPopover, DateRangeSelector, DetailField, type DetailFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisableTwoFactorDialog, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableAvatar, EditorSheet, type EditorSheetProps, EmptyState, EntityAvatar, EntityHero, EntityHeroAvatar, EntityHeroLayout, EntityHeroMetaRow, EntityMultiSelector, EntitySection, EntitySelector, ErrorDetails, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileInput, FileUploader, FileUploaderContent, FileUploaderItem, FiscalDataDisplay, type FiscalDataHandle, ForgotPassword, Form, FormBlockNote, FormBody, FormCheckbox, FormCol, FormDate, FormDateTime, FormFeatures, FormFieldWrapper, FormInput, FormPassword, FormPlaceAutocomplete, FormRoles, FormRow, FormSection, FormSelect, FormSlider, FormSwitch, FormTextarea, GdprConsentCheckbox, GdprConsentSection, type GenerateTableStructureParams, HEADER_ROW_MIN_H, Header, HoverCard, HoverCardContent, HoverCardTrigger, HowToCommand, HowToCommandViewer, HowToContainer, HowToContent, HowToDeleter, HowToDetails, HowToEditor, HowToList, HowToListContainer, HowToMultiSelector, HowToSelector, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalianFiscalData, ItalianFiscalDataDisplay, type ItalianFiscalDataProps, KanbanItem as Item, KanbanItemHandle as ItemHandle, KanbanRoot as Kanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, Label, LandingComponent, Link, type LinkProps, Login, Logout, type MentionHoverCardProps, type MentionInsertFn, type MentionItem, type MentionNameResolver, type MentionRenderProps, type MentionRenderer, type MentionResolveFn, type MentionResolveResult, type MentionSearchFn, type MentionSuggestionItem, MessageItem, MessageList, MessageSourcesPanel, MicroLabel, type MicroLabelProps, MobileNavigationBar, ModeToggleSwitch, MultiSelect, MultipleSelector, type MultipleSelectorProps, type MultipleSelectorRef, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NotificationErrorBoundary, NotificationMenuItem, NotificationModal, NotificationToast, NotificationsList, NotificationsListContainer, OAuthClientCard, type OAuthClientCardProps, OAuthClientDetail, type OAuthClientDetailProps, OAuthClientForm, type OAuthClientFormProps, OAuthClientList, type OAuthClientListProps, OAuthClientSecretDisplay, type OAuthClientSecretDisplayProps, OAuthConsentActions, type OAuthConsentActionsProps, OAuthConsentHeader, type OAuthConsentHeaderProps, OAuthConsentScreen, type OAuthConsentScreenProps, OAuthRedirectUriInput, type OAuthRedirectUriInputProps, OAuthScopeList, type OAuthScopeListProps, OAuthScopeSelector, type OAuthScopeSelectorProps, OnboardingCard, type Option, KanbanOverlay as Overlay, PageContainer, PageContainerContentDetails, type PageContainerItems, PageContentContainer, PageSection, type PartitionedTabs, PasskeyButton, PasskeyList, PasskeySetupDialog, PasswordInput, type PasswordInputProps, type PlaceAddressComponents, type PlaceSuggestion, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, PushNotificationProvider, RadioGroup, RadioGroupItem, RbacByRoleContainer, RbacContainer, RbacPermissionCell, RbacPermissionPicker, ReactMarkdownContainer, RecentPagesNavigator, ReferralCodeCapture, ReferralDialog, type ReferralDialogProps, type ReferralDialogTranslations, ReferralWidget, type ReferralWidgetProps, type ReferralWidgetTranslations, RefreshUser, RelevantContentsList, RelevantUsersList, RemoveUserFromRole, ResetPassword, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoleContainer, RoleDetails, RoleUsersList, RolesList, KanbanRoot as Root, RoundPageContainer, RoundPageContainerTitle, ScrollArea, ScrollBar, SectionHeader, type SectionHeaderProps, SecurityContainer, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, type Tab, Table, TableBody, TableCaption, TableCell, TableCellAvatar, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContainer, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, TokenStatusIndicator, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TotpAuthenticatorList, TotpInput, TotpSetupDialog, TwoFactorChallenge, TwoFactorSettings, UserAvatar, UserAvatarEditor, UserAvatarList, UserContainer, UserContent, UserDeleter, UserEditor, UserIndexContainer, UserIndexDetails, UserListInAdd, UserMultiSelect, UserReactivator, UserResentInvitationEmail, UserRoleAdd, UserRolesList, UserSearchPopover, UserSelector, UserStanadaloneDetails, UsersList, UsersListByContentIds, UsersListContainer, WaitlistConfirmation, WaitlistForm, WaitlistHeroSection, WaitlistList, WaitlistQuestionnaireRenderer, WaitlistSuccessState, badgeVariants, buttonVariants, cellComponent, cellDate, cellDateTime, cellId, cellLink, cellUrl, createMentionInlineContentSpec, errorToast, generateNotificationData, mentionDataAttrs, navigationMenuTriggerStyle, parseFiscalData, parseMentionElement, partitionTabs, spinnerVariants, tabsListVariants, toggleVariants, triggerAssociationToast, useCarousel, useComboboxAnchor, useDebounce, useEditorDialog, useFileUpload, useMentionInsert, useSidebar };
|