@carlonicora/nextjs-jsonapi 3.0.1 → 3.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/AbstractApiData-DtitRWPz.d.ts +47 -0
- package/dist/AbstractApiData-XLhBP5Tl.d.mts +47 -0
- package/dist/{BlockNoteEditor-3IZ7PMFM.js → BlockNoteEditor-4KBDD2TM.js} +20 -20
- package/dist/{BlockNoteEditor-3IZ7PMFM.js.map → BlockNoteEditor-4KBDD2TM.js.map} +1 -1
- package/dist/{BlockNoteEditor-G4XNDV2O.mjs → BlockNoteEditor-LJ2KA44Z.mjs} +5 -5
- package/dist/{JsonApiRequest-3UWVIIFL.mjs → JsonApiRequest-2OQCZAK6.mjs} +2 -2
- package/dist/JsonApiRequest-6TYNBVUL.js +26 -0
- package/dist/{JsonApiRequest-QRU3IPIU.js.map → JsonApiRequest-6TYNBVUL.js.map} +1 -1
- package/dist/ai-connection.module-28f-hux0.d.mts +255 -0
- package/dist/ai-connection.module-Bqwh_DnR.d.ts +255 -0
- package/dist/billing/index.js +399 -399
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-TWXKAY34.mjs → chunk-CGJW7ZZM.mjs} +310 -5
- package/dist/chunk-CGJW7ZZM.mjs.map +1 -0
- package/dist/{chunk-E5YA5Z5X.mjs → chunk-CMGXH5SA.mjs} +2 -1
- package/dist/chunk-CMGXH5SA.mjs.map +1 -0
- package/dist/{chunk-JKGEJGSD.js → chunk-H7DOSB7W.js} +9 -9
- package/dist/{chunk-JKGEJGSD.js.map → chunk-H7DOSB7W.js.map} +1 -1
- package/dist/{chunk-FPO4DLZN.js → chunk-PFAZPP54.js} +2 -1
- package/dist/chunk-PFAZPP54.js.map +1 -0
- package/dist/{chunk-5GVBUTS4.js → chunk-UYOQG5IW.js} +1453 -793
- package/dist/chunk-UYOQG5IW.js.map +1 -0
- package/dist/{chunk-WCX4CLRJ.mjs → chunk-WCRZEBX4.mjs} +1739 -1079
- package/dist/chunk-WCRZEBX4.mjs.map +1 -0
- package/dist/{chunk-53B6NPGA.js → chunk-YUXCJ35V.js} +377 -72
- package/dist/chunk-YUXCJ35V.js.map +1 -0
- package/dist/{chunk-PHEFWL6L.mjs → chunk-ZMYZFQN3.mjs} +3 -3
- package/dist/client/index.js +5 -5
- package/dist/client/index.mjs +4 -4
- package/dist/components/index.d.mts +122 -4
- package/dist/components/index.d.ts +122 -4
- package/dist/components/index.js +31 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +30 -4
- package/dist/{config-BIjrg5wd.d.ts → config-B6UB7j69.d.ts} +1 -46
- package/dist/{config-BRUjtCd1.d.mts → config-n-ZpPmOL.d.mts} +1 -46
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.d.mts +5 -4
- package/dist/core/index.d.ts +5 -4
- package/dist/core/index.js +11 -3
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +10 -2
- package/dist/features/help/index.js +38 -38
- package/dist/features/help/index.mjs +4 -4
- package/dist/features/tokenusage/index.d.mts +2 -2
- package/dist/features/tokenusage/index.d.ts +2 -2
- package/dist/features/tokenusage/index.js +102 -102
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -3
- package/dist/server/index.js +12 -12
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/components/index.ts +1 -0
- package/src/core/index.ts +5 -0
- package/src/core/registry/ModuleRegistry.ts +2 -0
- package/src/core/utils/translateResponse.ts +6 -0
- package/src/features/administration/components/AdminIndexContainer.tsx +9 -2
- package/src/features/ai-connection/ai-connection.module.ts +14 -0
- package/src/features/ai-connection/components/containers/AiConnectionsContainer.tsx +109 -0
- package/src/features/ai-connection/components/forms/AiConnectionDeleter.tsx +58 -0
- package/src/features/ai-connection/components/forms/AiConnectionEditor.tsx +329 -0
- package/src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx +223 -0
- package/src/features/ai-connection/contexts/AiConnectionsContext.tsx +111 -0
- package/src/features/ai-connection/data/__tests__/ai-connection.test.ts +202 -0
- package/src/features/ai-connection/data/ai-connection.fields.ts +6 -0
- package/src/features/ai-connection/data/ai-connection.interface.ts +87 -0
- package/src/features/ai-connection/data/ai-connection.service.ts +90 -0
- package/src/features/ai-connection/data/ai-connection.ts +244 -0
- package/src/features/ai-connection/data/index.ts +4 -0
- package/src/features/ai-connection/i18n-keys.ts +66 -0
- package/src/features/ai-connection/index.ts +11 -0
- package/src/features/index.ts +1 -0
- package/dist/AuthComponent-Cik96ElA.d.mts +0 -56
- package/dist/AuthComponent-DTTKu3VK.d.ts +0 -56
- package/dist/JsonApiRequest-QRU3IPIU.js +0 -26
- package/dist/chunk-53B6NPGA.js.map +0 -1
- package/dist/chunk-5GVBUTS4.js.map +0 -1
- package/dist/chunk-E5YA5Z5X.mjs.map +0 -1
- package/dist/chunk-FPO4DLZN.js.map +0 -1
- package/dist/chunk-TWXKAY34.mjs.map +0 -1
- package/dist/chunk-WCX4CLRJ.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-G4XNDV2O.mjs.map → BlockNoteEditor-LJ2KA44Z.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-3UWVIIFL.mjs.map → JsonApiRequest-2OQCZAK6.mjs.map} +0 -0
- /package/dist/{chunk-PHEFWL6L.mjs.map → chunk-ZMYZFQN3.mjs.map} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
AbstractService,
|
|
3
3
|
EndpointCreator,
|
|
4
4
|
Modules
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CGJW7ZZM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
setBootstrapper
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CMGXH5SA.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-PAWJFY3S.mjs";
|
|
@@ -296,4 +296,4 @@ export {
|
|
|
296
296
|
ACTION_TYPES,
|
|
297
297
|
RbacService
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
299
|
+
//# sourceMappingURL=chunk-ZMYZFQN3.mjs.map
|
package/dist/client/index.js
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkUYOQG5IWjs = require('../chunk-UYOQG5IW.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -43,7 +43,7 @@ var _chunk5GVBUTS4js = require('../chunk-5GVBUTS4.js');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkH7DOSB7Wjs = require('../chunk-H7DOSB7W.js');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -55,14 +55,14 @@ var _chunkJKGEJGSDjs = require('../chunk-JKGEJGSD.js');
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkYUXCJ35Vjs = require('../chunk-YUXCJ35V.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
var _chunkLXKSUWAVjs = require('../chunk-LXKSUWAV.js');
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
var _chunkIBS6NI7Djs = require('../chunk-IBS6NI7D.js');
|
|
65
|
-
require('../chunk-
|
|
65
|
+
require('../chunk-PFAZPP54.js');
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -125,5 +125,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
exports.ClientJsonApiDelete =
|
|
128
|
+
exports.ClientJsonApiDelete = _chunkYUXCJ35Vjs.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkYUXCJ35Vjs.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkYUXCJ35Vjs.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkYUXCJ35Vjs.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkYUXCJ35Vjs.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkUYOQG5IWjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkUYOQG5IWjs.TableGeneratorRegistry; exports.buildClientUrl = _chunkYUXCJ35Vjs.buildClientUrl; exports.computeLayeredLayout = _chunkUYOQG5IWjs.computeLayeredLayout; exports.configureClientConfig = _chunkH7DOSB7Wjs.configureClientConfig; exports.configureClientJsonApi = _chunkYUXCJ35Vjs.configureClientJsonApi; exports.configureI18n = _chunkH7DOSB7Wjs.configureI18n; exports.configureJsonApi = _chunkH7DOSB7Wjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkUYOQG5IWjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkH7DOSB7Wjs.getApiUrl; exports.getAppUrl = _chunkH7DOSB7Wjs.getAppUrl; exports.getClientApiUrl = _chunkYUXCJ35Vjs.getClientApiUrl; exports.getClientAppUrl = _chunkYUXCJ35Vjs.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunkYUXCJ35Vjs.getClientTrackablePages; exports.getI18nLink = _chunkH7DOSB7Wjs.getI18nLink; exports.getPublicApiUrl = _chunkH7DOSB7Wjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkH7DOSB7Wjs.getStripePublishableKey; exports.getTrackablePages = _chunkH7DOSB7Wjs.getTrackablePages; exports.registerTableGenerator = _chunkUYOQG5IWjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkUYOQG5IWjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkUYOQG5IWjs.useContentTableStructure; exports.useCustomD3Graph = _chunkUYOQG5IWjs.useCustomD3Graph; exports.useDataListRetriever = _chunkUYOQG5IWjs.useDataListRetriever; exports.useDebounce = _chunkUYOQG5IWjs.useDebounce; exports.useI18nDateFnsLocale = _chunkH7DOSB7Wjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkH7DOSB7Wjs.useI18nLocale; exports.useI18nRouter = _chunkH7DOSB7Wjs.useI18nRouter; exports.useI18nTranslations = _chunkH7DOSB7Wjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkUYOQG5IWjs.useJsonApiGet; exports.useJsonApiMutation = _chunkUYOQG5IWjs.useJsonApiMutation; exports.useNotificationSync = _chunkUYOQG5IWjs.useNotificationSync; exports.useOAuthClient = _chunkUYOQG5IWjs.useOAuthClient; exports.useOAuthClients = _chunkUYOQG5IWjs.useOAuthClients; exports.useOAuthConsent = _chunkUYOQG5IWjs.useOAuthConsent; exports.usePageTracker = _chunkUYOQG5IWjs.usePageTracker; exports.usePageUrlGenerator = _chunkUYOQG5IWjs.usePageUrlGenerator; exports.useRehydration = _chunkUYOQG5IWjs.useRehydration; exports.useRehydrationList = _chunkUYOQG5IWjs.useRehydrationList; exports.useRoleTableStructure = _chunkUYOQG5IWjs.useRoleTableStructure; exports.useSocket = _chunkUYOQG5IWjs.useSocket; exports.useSubscriptionStatus = _chunkUYOQG5IWjs.useSubscriptionStatus; exports.useTableGenerator = _chunkUYOQG5IWjs.useTableGenerator; exports.useUrlRewriter = _chunkUYOQG5IWjs.useUrlRewriter; exports.useUserSearch = _chunkUYOQG5IWjs.useUserSearch; exports.useUserTableStructure = _chunkUYOQG5IWjs.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-WCRZEBX4.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-ZMYZFQN3.mjs";
|
|
46
46
|
import {
|
|
47
47
|
ClientJsonApiDelete,
|
|
48
48
|
ClientJsonApiGet,
|
|
@@ -54,14 +54,14 @@ import {
|
|
|
54
54
|
getClientApiUrl,
|
|
55
55
|
getClientAppUrl,
|
|
56
56
|
getClientTrackablePages
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-CGJW7ZZM.mjs";
|
|
58
58
|
import {
|
|
59
59
|
getClientToken
|
|
60
60
|
} from "../chunk-AUXK7QSA.mjs";
|
|
61
61
|
import {
|
|
62
62
|
directFetch
|
|
63
63
|
} from "../chunk-C7C7VY4F.mjs";
|
|
64
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-CMGXH5SA.mjs";
|
|
65
65
|
import {
|
|
66
66
|
JsonApiContext,
|
|
67
67
|
useJsonApiConfig,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
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
|
-
import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface } from '../
|
|
5
|
-
export { b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../
|
|
4
|
+
import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, m as AiConnectionInterface, k as AiProviderRegistry, l as AiConnectionEnvDefaults } from '../ai-connection.module-28f-hux0.mjs';
|
|
5
|
+
export { h as AiConnection, i as AiConnectionFields, n as AiConnectionInput, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../ai-connection.module-28f-hux0.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';
|
|
@@ -63,6 +63,8 @@ import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
|
63
63
|
import { UniqueIdentifier, DndContextProps, DragEndEvent, DragOverlay } from '@dnd-kit/core';
|
|
64
64
|
import { SortableContextProps } from '@dnd-kit/sortable';
|
|
65
65
|
import '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
66
|
+
import '../AbstractApiData-XLhBP5Tl.mjs';
|
|
67
|
+
import '../AbstractService-B0T7h8fX.mjs';
|
|
66
68
|
|
|
67
69
|
type AddUserToRoleProps = {
|
|
68
70
|
role: RoleInterface;
|
|
@@ -1405,7 +1407,7 @@ type AdminGroup = {
|
|
|
1405
1407
|
};
|
|
1406
1408
|
|
|
1407
1409
|
/** Keys of the built-in platform sections, for `hiddenSections`. */
|
|
1408
|
-
type PlatformSectionKey = "companies" | "users" | "token-usage" | "rbac" | "billing";
|
|
1410
|
+
type PlatformSectionKey = "companies" | "users" | "token-usage" | "ai-connections" | "rbac" | "billing";
|
|
1409
1411
|
type AdminIndexProps = {
|
|
1410
1412
|
/** Project-specific groups, appended after the built-in platform group. */
|
|
1411
1413
|
additionalGroups?: AdminGroup[];
|
|
@@ -1448,6 +1450,122 @@ declare function AdminIndexContainer({ additionalGroups, hiddenSections }: Admin
|
|
|
1448
1450
|
*/
|
|
1449
1451
|
declare const ADMINISTRATION_I18N_KEYS: readonly ["administration.title", "administration.subtitle", "administration.group.platform", "administration.companies.description", "administration.users.description", "administration.token_usage.description", "administration.rbac.description", "administration.billing.description"];
|
|
1450
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* The fixed namespace of i18n keys the AI connection administration surfaces
|
|
1455
|
+
* read via useTranslations. Consuming apps must define each entry in their
|
|
1456
|
+
* messages/<locale>.json — this list is the contract between the package and
|
|
1457
|
+
* the app, and the names are frozen: an app that wants different wording
|
|
1458
|
+
* changes its own translation, never the key.
|
|
1459
|
+
*
|
|
1460
|
+
* Mirrors the contract shipped by the administration feature
|
|
1461
|
+
* (features/administration/i18n-keys.ts) and the billing admin surfaces
|
|
1462
|
+
* (features/billing/i18n-keys.ts).
|
|
1463
|
+
*/
|
|
1464
|
+
declare const AI_CONNECTIONS_I18N_KEYS: readonly ["ai_connections.admin.title", "ai_connections.admin.entity", "ai_connections.admin.create", "ai_connections.admin.scope.global", "ai_connections.admin.scope.company", "ai_connections.admin.scope.inherits_global", "ai_connections.admin.env_fallback", "ai_connections.admin.empty.title", "ai_connections.admin.empty.description", "ai_connections.admin.types.ai", "ai_connections.admin.types.aiLite", "ai_connections.admin.types.aiLarge", "ai_connections.admin.types.vision", "ai_connections.admin.types.audio", "ai_connections.admin.types.embedder", "ai_connections.admin.types.transcriber", "ai_connections.admin.types.documentAi", "ai_connections.admin.fields.name", "ai_connections.admin.fields.provider", "ai_connections.admin.fields.model", "ai_connections.admin.fields.url", "ai_connections.admin.fields.apiKey", "ai_connections.admin.fields.region", "ai_connections.admin.fields.instance", "ai_connections.admin.fields.apiVersion", "ai_connections.admin.fields.googleCredentialsBase64", "ai_connections.admin.fields.allowFallbacks", "ai_connections.admin.fields.reasoningEffort", "ai_connections.admin.fields.maxOutputTokens", "ai_connections.admin.fields.dimensions", "ai_connections.admin.fields.inputCostPer1MTokens", "ai_connections.admin.fields.outputCostPer1MTokens", "ai_connections.admin.fields.cachedInputCostPer1MTokens", "ai_connections.admin.fields.costPerMinute", "ai_connections.admin.fields.costPerPage", "ai_connections.admin.fields.directUrl", "ai_connections.admin.fields.language", "ai_connections.admin.fields.directFormat", "ai_connections.admin.fields.directProvider", "ai_connections.admin.fields.enabled", "ai_connections.admin.fields.costs_section", "ai_connections.admin.placeholders.name", "ai_connections.admin.placeholders.secret_unchanged", "ai_connections.admin.reorder.up", "ai_connections.admin.reorder.down", "ai_connections.admin.errors.name", "ai_connections.admin.errors.required_field", "ai_connections.admin.embedder_warning.title", "ai_connections.admin.embedder_warning.description", "ai_connections.admin.delete.title", "ai_connections.admin.delete.description", "ai_connections.admin.delete.confirm", "administration.ai_connections.description"];
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Route the breadcrumb links back to. Constant rather than a prop for the same
|
|
1468
|
+
* reason TOKEN_USAGE_ADMIN_PAGE_URL is
|
|
1469
|
+
* (features/tokenusage/contexts/TokenUsageAdminContext.tsx): the breadcrumb is
|
|
1470
|
+
* built here, not by the consuming app, and the path convention IS the contract.
|
|
1471
|
+
*/
|
|
1472
|
+
declare const AI_CONNECTIONS_ADMIN_PAGE_URL = "/administration/ai-connections";
|
|
1473
|
+
interface AiConnectionsContextType {
|
|
1474
|
+
/** Every connection, both scopes — the cards filter per scope themselves. */
|
|
1475
|
+
connections: AiConnectionInterface[];
|
|
1476
|
+
/** `meta.providerRegistry` from the list endpoint: connectionType → provider rows. */
|
|
1477
|
+
providerRegistry: AiProviderRegistry;
|
|
1478
|
+
/** `meta.envDefaults` from the list endpoint: the read-only final chain link. */
|
|
1479
|
+
envDefaults: AiConnectionEnvDefaults;
|
|
1480
|
+
/** `null` = the global chain; a company id = that company's chain. */
|
|
1481
|
+
scopeCompanyId: string | null;
|
|
1482
|
+
setScopeCompanyId: (companyId: string | null) => void;
|
|
1483
|
+
/** Re-reads the whole list. Called after every mutation. */
|
|
1484
|
+
refresh: () => Promise<void>;
|
|
1485
|
+
isLoading: boolean;
|
|
1486
|
+
}
|
|
1487
|
+
type AiConnectionsProviderProps = {
|
|
1488
|
+
children: ReactNode;
|
|
1489
|
+
};
|
|
1490
|
+
/**
|
|
1491
|
+
* Owns the single list request behind the AI-connections admin page and the
|
|
1492
|
+
* scope the page is looking at.
|
|
1493
|
+
*
|
|
1494
|
+
* It also publishes the page chrome, exactly as TokenUsageAdminContext does:
|
|
1495
|
+
* RoundPageContainerTitle and the header breadcrumb read `useSharedContext()`,
|
|
1496
|
+
* and that value is supplied far up the tree — a page that publishes nothing
|
|
1497
|
+
* silently inherits the previous page's title.
|
|
1498
|
+
*/
|
|
1499
|
+
declare const AiConnectionsProvider: ({ children }: AiConnectionsProviderProps) => React$1.JSX.Element;
|
|
1500
|
+
declare const useAiConnections: () => AiConnectionsContextType;
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* The eight definable connection types, in the order the page presents them.
|
|
1504
|
+
* Mirrors AI_CONNECTION_TYPES on the backend (core/llm/interfaces/ai-candidate.interface.ts);
|
|
1505
|
+
* the frontend renders them blind — every label is an i18n key.
|
|
1506
|
+
*/
|
|
1507
|
+
declare const AI_CONNECTION_TYPE_ORDER: readonly ["ai", "aiLite", "aiLarge", "vision", "audio", "embedder", "transcriber", "documentAi"];
|
|
1508
|
+
/**
|
|
1509
|
+
* Page container for the AI-connections administration surface.
|
|
1510
|
+
*
|
|
1511
|
+
* Client component by necessity: `module={Modules.AiConnection}` is a registry
|
|
1512
|
+
* entry carrying an icon component and methods, which a Server Component cannot
|
|
1513
|
+
* pass across the boundary. Routes mount this container bare — it brings its own
|
|
1514
|
+
* provider (which publishes the page chrome) and its own shell, the same shape
|
|
1515
|
+
* as ProductsListContainer.
|
|
1516
|
+
*/
|
|
1517
|
+
declare function AiConnectionsContainer(): React$1.JSX.Element;
|
|
1518
|
+
|
|
1519
|
+
type AiConnectionTypeCardProps = {
|
|
1520
|
+
/** One of the eight AI connection types — also the card's heading key. */
|
|
1521
|
+
connectionType: string;
|
|
1522
|
+
};
|
|
1523
|
+
/**
|
|
1524
|
+
* One fallback chain, for one connection type, in the currently selected scope.
|
|
1525
|
+
*
|
|
1526
|
+
* The chain always ends with a read-only ".env fallback" row: the env block is
|
|
1527
|
+
* the last candidate the resolver tries, so showing it keeps the page an honest
|
|
1528
|
+
* picture of what a call will actually do (spec § 4).
|
|
1529
|
+
*/
|
|
1530
|
+
declare function AiConnectionTypeCard({ connectionType }: AiConnectionTypeCardProps): React$1.JSX.Element;
|
|
1531
|
+
|
|
1532
|
+
type AiConnectionEditorProps = {
|
|
1533
|
+
/** Omitted in create mode. */
|
|
1534
|
+
connection?: AiConnectionInterface;
|
|
1535
|
+
/** Fixed by the card that owns the editor — never editable. */
|
|
1536
|
+
connectionType: string;
|
|
1537
|
+
/** Slot in the chain. Fixed: reordering is the up/down arrows' job. */
|
|
1538
|
+
position: number;
|
|
1539
|
+
/** Scope, set on creation only — immutable thereafter (spec § Decisions). */
|
|
1540
|
+
companyId?: string;
|
|
1541
|
+
trigger?: ReactNode;
|
|
1542
|
+
forceShow?: boolean;
|
|
1543
|
+
onClose?: () => void;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* Schema-driven editor for one link in a fallback chain.
|
|
1547
|
+
*
|
|
1548
|
+
* The static half of the form (name / provider / enabled) is a fixed zod shape;
|
|
1549
|
+
* everything else is rendered blind from `meta.providerRegistry`, so a new
|
|
1550
|
+
* provider field on the backend needs no change here — only an i18n string.
|
|
1551
|
+
* Required-ness is enforced by a `superRefine` over the same registry, which
|
|
1552
|
+
* keeps failures inline on the field instead of an error toast. The backend
|
|
1553
|
+
* re-validates authoritatively.
|
|
1554
|
+
*/
|
|
1555
|
+
declare function AiConnectionEditor({ connection, connectionType, position, companyId, trigger, forceShow, onClose, }: AiConnectionEditorProps): React$1.JSX.Element;
|
|
1556
|
+
|
|
1557
|
+
type AiConnectionDeleterProps = {
|
|
1558
|
+
connection: AiConnectionInterface;
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* Removes one link from a fallback chain.
|
|
1562
|
+
*
|
|
1563
|
+
* Built on ConfirmDialog, which is controlled and trigger-less by design — the
|
|
1564
|
+
* caller owns the trigger button, so none of Base UI's trigger-composition
|
|
1565
|
+
* pitfalls apply (no asChild, no nested <button>). Mirrors ProductArchiver.
|
|
1566
|
+
*/
|
|
1567
|
+
declare function AiConnectionDeleter({ connection }: AiConnectionDeleterProps): React$1.JSX.Element;
|
|
1568
|
+
|
|
1451
1569
|
declare function AdminCompanyContainer(): React$1.JSX.Element;
|
|
1452
1570
|
|
|
1453
1571
|
/**
|
|
@@ -3204,4 +3322,4 @@ interface MultipleSelectorRef {
|
|
|
3204
3322
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
3205
3323
|
declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
|
|
3206
3324
|
|
|
3207
|
-
export { ADMINISTRATION_I18N_KEYS, AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, type AdminGroup, AdminIndexContainer, AdminIndexGrid, type AdminSection, 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, CompaniesListContainer, 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, PlatformUsersContainer, PlatformUsersList, 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 };
|
|
3325
|
+
export { ADMINISTRATION_I18N_KEYS, AI_CONNECTIONS_ADMIN_PAGE_URL, AI_CONNECTIONS_I18N_KEYS, AI_CONNECTION_TYPE_ORDER, AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, type AdminGroup, AdminIndexContainer, AdminIndexGrid, type AdminSection, AdminUsersList, AiConnectionDeleter, type AiConnectionDeleterProps, AiConnectionEditor, type AiConnectionEditorProps, AiConnectionEnvDefaults, AiConnectionInterface, AiConnectionTypeCard, type AiConnectionTypeCardProps, AiConnectionsContainer, type AiConnectionsContextType, AiConnectionsProvider, type AiConnectionsProviderProps, AiProviderRegistry, 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, CompaniesListContainer, 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, PlatformUsersContainer, PlatformUsersList, 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, useAiConnections, useCarousel, useComboboxAnchor, useDebounce, useEditorDialog, useFileUpload, useMentionInsert, useSidebar };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
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
|
-
import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface } from '../
|
|
5
|
-
export { b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../
|
|
4
|
+
import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, m as AiConnectionInterface, k as AiProviderRegistry, l as AiConnectionEnvDefaults } from '../ai-connection.module-Bqwh_DnR.js';
|
|
5
|
+
export { h as AiConnection, i as AiConnectionFields, n as AiConnectionInput, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../ai-connection.module-Bqwh_DnR.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';
|
|
@@ -63,6 +63,8 @@ import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
|
63
63
|
import { UniqueIdentifier, DndContextProps, DragEndEvent, DragOverlay } from '@dnd-kit/core';
|
|
64
64
|
import { SortableContextProps } from '@dnd-kit/sortable';
|
|
65
65
|
import '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
66
|
+
import '../AbstractApiData-DtitRWPz.js';
|
|
67
|
+
import '../AbstractService-Cew0PD0L.js';
|
|
66
68
|
|
|
67
69
|
type AddUserToRoleProps = {
|
|
68
70
|
role: RoleInterface;
|
|
@@ -1405,7 +1407,7 @@ type AdminGroup = {
|
|
|
1405
1407
|
};
|
|
1406
1408
|
|
|
1407
1409
|
/** Keys of the built-in platform sections, for `hiddenSections`. */
|
|
1408
|
-
type PlatformSectionKey = "companies" | "users" | "token-usage" | "rbac" | "billing";
|
|
1410
|
+
type PlatformSectionKey = "companies" | "users" | "token-usage" | "ai-connections" | "rbac" | "billing";
|
|
1409
1411
|
type AdminIndexProps = {
|
|
1410
1412
|
/** Project-specific groups, appended after the built-in platform group. */
|
|
1411
1413
|
additionalGroups?: AdminGroup[];
|
|
@@ -1448,6 +1450,122 @@ declare function AdminIndexContainer({ additionalGroups, hiddenSections }: Admin
|
|
|
1448
1450
|
*/
|
|
1449
1451
|
declare const ADMINISTRATION_I18N_KEYS: readonly ["administration.title", "administration.subtitle", "administration.group.platform", "administration.companies.description", "administration.users.description", "administration.token_usage.description", "administration.rbac.description", "administration.billing.description"];
|
|
1450
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* The fixed namespace of i18n keys the AI connection administration surfaces
|
|
1455
|
+
* read via useTranslations. Consuming apps must define each entry in their
|
|
1456
|
+
* messages/<locale>.json — this list is the contract between the package and
|
|
1457
|
+
* the app, and the names are frozen: an app that wants different wording
|
|
1458
|
+
* changes its own translation, never the key.
|
|
1459
|
+
*
|
|
1460
|
+
* Mirrors the contract shipped by the administration feature
|
|
1461
|
+
* (features/administration/i18n-keys.ts) and the billing admin surfaces
|
|
1462
|
+
* (features/billing/i18n-keys.ts).
|
|
1463
|
+
*/
|
|
1464
|
+
declare const AI_CONNECTIONS_I18N_KEYS: readonly ["ai_connections.admin.title", "ai_connections.admin.entity", "ai_connections.admin.create", "ai_connections.admin.scope.global", "ai_connections.admin.scope.company", "ai_connections.admin.scope.inherits_global", "ai_connections.admin.env_fallback", "ai_connections.admin.empty.title", "ai_connections.admin.empty.description", "ai_connections.admin.types.ai", "ai_connections.admin.types.aiLite", "ai_connections.admin.types.aiLarge", "ai_connections.admin.types.vision", "ai_connections.admin.types.audio", "ai_connections.admin.types.embedder", "ai_connections.admin.types.transcriber", "ai_connections.admin.types.documentAi", "ai_connections.admin.fields.name", "ai_connections.admin.fields.provider", "ai_connections.admin.fields.model", "ai_connections.admin.fields.url", "ai_connections.admin.fields.apiKey", "ai_connections.admin.fields.region", "ai_connections.admin.fields.instance", "ai_connections.admin.fields.apiVersion", "ai_connections.admin.fields.googleCredentialsBase64", "ai_connections.admin.fields.allowFallbacks", "ai_connections.admin.fields.reasoningEffort", "ai_connections.admin.fields.maxOutputTokens", "ai_connections.admin.fields.dimensions", "ai_connections.admin.fields.inputCostPer1MTokens", "ai_connections.admin.fields.outputCostPer1MTokens", "ai_connections.admin.fields.cachedInputCostPer1MTokens", "ai_connections.admin.fields.costPerMinute", "ai_connections.admin.fields.costPerPage", "ai_connections.admin.fields.directUrl", "ai_connections.admin.fields.language", "ai_connections.admin.fields.directFormat", "ai_connections.admin.fields.directProvider", "ai_connections.admin.fields.enabled", "ai_connections.admin.fields.costs_section", "ai_connections.admin.placeholders.name", "ai_connections.admin.placeholders.secret_unchanged", "ai_connections.admin.reorder.up", "ai_connections.admin.reorder.down", "ai_connections.admin.errors.name", "ai_connections.admin.errors.required_field", "ai_connections.admin.embedder_warning.title", "ai_connections.admin.embedder_warning.description", "ai_connections.admin.delete.title", "ai_connections.admin.delete.description", "ai_connections.admin.delete.confirm", "administration.ai_connections.description"];
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Route the breadcrumb links back to. Constant rather than a prop for the same
|
|
1468
|
+
* reason TOKEN_USAGE_ADMIN_PAGE_URL is
|
|
1469
|
+
* (features/tokenusage/contexts/TokenUsageAdminContext.tsx): the breadcrumb is
|
|
1470
|
+
* built here, not by the consuming app, and the path convention IS the contract.
|
|
1471
|
+
*/
|
|
1472
|
+
declare const AI_CONNECTIONS_ADMIN_PAGE_URL = "/administration/ai-connections";
|
|
1473
|
+
interface AiConnectionsContextType {
|
|
1474
|
+
/** Every connection, both scopes — the cards filter per scope themselves. */
|
|
1475
|
+
connections: AiConnectionInterface[];
|
|
1476
|
+
/** `meta.providerRegistry` from the list endpoint: connectionType → provider rows. */
|
|
1477
|
+
providerRegistry: AiProviderRegistry;
|
|
1478
|
+
/** `meta.envDefaults` from the list endpoint: the read-only final chain link. */
|
|
1479
|
+
envDefaults: AiConnectionEnvDefaults;
|
|
1480
|
+
/** `null` = the global chain; a company id = that company's chain. */
|
|
1481
|
+
scopeCompanyId: string | null;
|
|
1482
|
+
setScopeCompanyId: (companyId: string | null) => void;
|
|
1483
|
+
/** Re-reads the whole list. Called after every mutation. */
|
|
1484
|
+
refresh: () => Promise<void>;
|
|
1485
|
+
isLoading: boolean;
|
|
1486
|
+
}
|
|
1487
|
+
type AiConnectionsProviderProps = {
|
|
1488
|
+
children: ReactNode;
|
|
1489
|
+
};
|
|
1490
|
+
/**
|
|
1491
|
+
* Owns the single list request behind the AI-connections admin page and the
|
|
1492
|
+
* scope the page is looking at.
|
|
1493
|
+
*
|
|
1494
|
+
* It also publishes the page chrome, exactly as TokenUsageAdminContext does:
|
|
1495
|
+
* RoundPageContainerTitle and the header breadcrumb read `useSharedContext()`,
|
|
1496
|
+
* and that value is supplied far up the tree — a page that publishes nothing
|
|
1497
|
+
* silently inherits the previous page's title.
|
|
1498
|
+
*/
|
|
1499
|
+
declare const AiConnectionsProvider: ({ children }: AiConnectionsProviderProps) => React$1.JSX.Element;
|
|
1500
|
+
declare const useAiConnections: () => AiConnectionsContextType;
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* The eight definable connection types, in the order the page presents them.
|
|
1504
|
+
* Mirrors AI_CONNECTION_TYPES on the backend (core/llm/interfaces/ai-candidate.interface.ts);
|
|
1505
|
+
* the frontend renders them blind — every label is an i18n key.
|
|
1506
|
+
*/
|
|
1507
|
+
declare const AI_CONNECTION_TYPE_ORDER: readonly ["ai", "aiLite", "aiLarge", "vision", "audio", "embedder", "transcriber", "documentAi"];
|
|
1508
|
+
/**
|
|
1509
|
+
* Page container for the AI-connections administration surface.
|
|
1510
|
+
*
|
|
1511
|
+
* Client component by necessity: `module={Modules.AiConnection}` is a registry
|
|
1512
|
+
* entry carrying an icon component and methods, which a Server Component cannot
|
|
1513
|
+
* pass across the boundary. Routes mount this container bare — it brings its own
|
|
1514
|
+
* provider (which publishes the page chrome) and its own shell, the same shape
|
|
1515
|
+
* as ProductsListContainer.
|
|
1516
|
+
*/
|
|
1517
|
+
declare function AiConnectionsContainer(): React$1.JSX.Element;
|
|
1518
|
+
|
|
1519
|
+
type AiConnectionTypeCardProps = {
|
|
1520
|
+
/** One of the eight AI connection types — also the card's heading key. */
|
|
1521
|
+
connectionType: string;
|
|
1522
|
+
};
|
|
1523
|
+
/**
|
|
1524
|
+
* One fallback chain, for one connection type, in the currently selected scope.
|
|
1525
|
+
*
|
|
1526
|
+
* The chain always ends with a read-only ".env fallback" row: the env block is
|
|
1527
|
+
* the last candidate the resolver tries, so showing it keeps the page an honest
|
|
1528
|
+
* picture of what a call will actually do (spec § 4).
|
|
1529
|
+
*/
|
|
1530
|
+
declare function AiConnectionTypeCard({ connectionType }: AiConnectionTypeCardProps): React$1.JSX.Element;
|
|
1531
|
+
|
|
1532
|
+
type AiConnectionEditorProps = {
|
|
1533
|
+
/** Omitted in create mode. */
|
|
1534
|
+
connection?: AiConnectionInterface;
|
|
1535
|
+
/** Fixed by the card that owns the editor — never editable. */
|
|
1536
|
+
connectionType: string;
|
|
1537
|
+
/** Slot in the chain. Fixed: reordering is the up/down arrows' job. */
|
|
1538
|
+
position: number;
|
|
1539
|
+
/** Scope, set on creation only — immutable thereafter (spec § Decisions). */
|
|
1540
|
+
companyId?: string;
|
|
1541
|
+
trigger?: ReactNode;
|
|
1542
|
+
forceShow?: boolean;
|
|
1543
|
+
onClose?: () => void;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* Schema-driven editor for one link in a fallback chain.
|
|
1547
|
+
*
|
|
1548
|
+
* The static half of the form (name / provider / enabled) is a fixed zod shape;
|
|
1549
|
+
* everything else is rendered blind from `meta.providerRegistry`, so a new
|
|
1550
|
+
* provider field on the backend needs no change here — only an i18n string.
|
|
1551
|
+
* Required-ness is enforced by a `superRefine` over the same registry, which
|
|
1552
|
+
* keeps failures inline on the field instead of an error toast. The backend
|
|
1553
|
+
* re-validates authoritatively.
|
|
1554
|
+
*/
|
|
1555
|
+
declare function AiConnectionEditor({ connection, connectionType, position, companyId, trigger, forceShow, onClose, }: AiConnectionEditorProps): React$1.JSX.Element;
|
|
1556
|
+
|
|
1557
|
+
type AiConnectionDeleterProps = {
|
|
1558
|
+
connection: AiConnectionInterface;
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* Removes one link from a fallback chain.
|
|
1562
|
+
*
|
|
1563
|
+
* Built on ConfirmDialog, which is controlled and trigger-less by design — the
|
|
1564
|
+
* caller owns the trigger button, so none of Base UI's trigger-composition
|
|
1565
|
+
* pitfalls apply (no asChild, no nested <button>). Mirrors ProductArchiver.
|
|
1566
|
+
*/
|
|
1567
|
+
declare function AiConnectionDeleter({ connection }: AiConnectionDeleterProps): React$1.JSX.Element;
|
|
1568
|
+
|
|
1451
1569
|
declare function AdminCompanyContainer(): React$1.JSX.Element;
|
|
1452
1570
|
|
|
1453
1571
|
/**
|
|
@@ -3204,4 +3322,4 @@ interface MultipleSelectorRef {
|
|
|
3204
3322
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
3205
3323
|
declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
|
|
3206
3324
|
|
|
3207
|
-
export { ADMINISTRATION_I18N_KEYS, AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, type AdminGroup, AdminIndexContainer, AdminIndexGrid, type AdminSection, 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, CompaniesListContainer, 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, PlatformUsersContainer, PlatformUsersList, 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 };
|
|
3325
|
+
export { ADMINISTRATION_I18N_KEYS, AI_CONNECTIONS_ADMIN_PAGE_URL, AI_CONNECTIONS_I18N_KEYS, AI_CONNECTION_TYPE_ORDER, AcceptInvitation, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivateAccount, AddUserToRole, AdminCompanyContainer, type AdminGroup, AdminIndexContainer, AdminIndexGrid, type AdminSection, AdminUsersList, AiConnectionDeleter, type AiConnectionDeleterProps, AiConnectionEditor, type AiConnectionEditorProps, AiConnectionEnvDefaults, AiConnectionInterface, AiConnectionTypeCard, type AiConnectionTypeCardProps, AiConnectionsContainer, type AiConnectionsContextType, AiConnectionsProvider, type AiConnectionsProviderProps, AiProviderRegistry, 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, CompaniesListContainer, 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, PlatformUsersContainer, PlatformUsersList, 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, useAiConnections, useCarousel, useComboboxAnchor, useDebounce, useEditorDialog, useFileUpload, useMentionInsert, useSidebar };
|