@carlonicora/nextjs-jsonapi 2.2.3 → 2.4.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.
Files changed (92) hide show
  1. package/dist/{BlockNoteEditor-QTIDATPF.js → BlockNoteEditor-7WGCH2KB.js} +27 -26
  2. package/dist/BlockNoteEditor-7WGCH2KB.js.map +1 -0
  3. package/dist/{BlockNoteEditor-ADT6II2V.mjs → BlockNoteEditor-GWAV5ESO.mjs} +12 -11
  4. package/dist/BlockNoteEditor-GWAV5ESO.mjs.map +1 -0
  5. package/dist/billing/index.d.mts +40 -1
  6. package/dist/billing/index.d.ts +40 -1
  7. package/dist/billing/index.js +519 -462
  8. package/dist/billing/index.js.map +1 -1
  9. package/dist/billing/index.mjs +298 -241
  10. package/dist/billing/index.mjs.map +1 -1
  11. package/dist/{chunk-7DJOQTNN.mjs → chunk-3LVSA7IM.mjs} +2 -2
  12. package/dist/{chunk-F3BPNQDB.js → chunk-GYGMEDVS.js} +1135 -952
  13. package/dist/chunk-GYGMEDVS.js.map +1 -0
  14. package/dist/{chunk-DLTMYGLR.mjs → chunk-LCCRUWWY.mjs} +13 -1
  15. package/dist/chunk-LCCRUWWY.mjs.map +1 -0
  16. package/dist/{chunk-YEPE2HT6.mjs → chunk-M2EGUO2F.mjs} +2538 -2355
  17. package/dist/chunk-M2EGUO2F.mjs.map +1 -0
  18. package/dist/{chunk-LANOKEFZ.js → chunk-TOKHHZSP.js} +7 -7
  19. package/dist/{chunk-LANOKEFZ.js.map → chunk-TOKHHZSP.js.map} +1 -1
  20. package/dist/{chunk-KSU6CCW6.js → chunk-V66AZWPG.js} +14 -2
  21. package/dist/chunk-V66AZWPG.js.map +1 -0
  22. package/dist/client/index.d.mts +1 -1
  23. package/dist/client/index.d.ts +1 -1
  24. package/dist/client/index.js +4 -4
  25. package/dist/client/index.mjs +3 -3
  26. package/dist/components/index.d.mts +129 -4
  27. package/dist/components/index.d.ts +129 -4
  28. package/dist/components/index.js +16 -4
  29. package/dist/components/index.js.map +1 -1
  30. package/dist/components/index.mjs +15 -3
  31. package/dist/{content.fields-xH3TGvVk.d.mts → content.fields-1AlHDtDb.d.mts} +1 -0
  32. package/dist/{content.fields-xH3TGvVk.d.ts → content.fields-1AlHDtDb.d.ts} +1 -0
  33. package/dist/contexts/index.d.mts +22 -1
  34. package/dist/contexts/index.d.ts +22 -1
  35. package/dist/contexts/index.js +8 -4
  36. package/dist/contexts/index.js.map +1 -1
  37. package/dist/contexts/index.mjs +7 -3
  38. package/dist/core/index.d.mts +12 -2
  39. package/dist/core/index.d.ts +12 -2
  40. package/dist/core/index.js +4 -2
  41. package/dist/core/index.js.map +1 -1
  42. package/dist/core/index.mjs +3 -1
  43. package/dist/features/help/index.js +37 -37
  44. package/dist/features/help/index.mjs +3 -3
  45. package/dist/features/tokenusage/index.js +71 -71
  46. package/dist/features/tokenusage/index.mjs +3 -3
  47. package/dist/index.d.mts +2 -2
  48. package/dist/index.d.ts +2 -2
  49. package/dist/index.js +5 -3
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.mjs +4 -2
  52. package/dist/server/index.js +3 -3
  53. package/dist/server/index.mjs +1 -1
  54. package/package.json +1 -1
  55. package/src/billing/index.ts +1 -0
  56. package/src/components/editors/BlockNoteEditor.tsx +12 -6
  57. package/src/components/index.ts +1 -0
  58. package/src/contexts/index.ts +1 -0
  59. package/src/features/administration/components/AdminIndexContainer.tsx +150 -0
  60. package/src/features/administration/components/__tests__/AdminIndexContainer.spec.tsx +96 -0
  61. package/src/features/administration/components/index.ts +1 -0
  62. package/src/features/administration/contexts/AdministrationContext.tsx +47 -0
  63. package/src/features/administration/contexts/index.ts +1 -0
  64. package/src/features/administration/data/admin-section.types.ts +30 -0
  65. package/src/features/administration/i18n-keys.ts +26 -0
  66. package/src/features/administration/index.ts +3 -0
  67. package/src/features/assistant/components/containers/AssistantPageContainer.tsx +8 -1
  68. package/src/features/billing/contexts/BillingContext.tsx +95 -0
  69. package/src/features/billing/contexts/index.ts +1 -0
  70. package/src/features/billing/index.ts +1 -0
  71. package/src/features/billing/stripe-product/components/containers/ProductsAdminContainer.tsx +39 -27
  72. package/src/features/billing/stripe-product/components/containers/ProductsAdminPageContainer.tsx +27 -0
  73. package/src/features/billing/stripe-product/components/containers/index.ts +1 -0
  74. package/src/features/company/components/containers/CompaniesListContainer.tsx +25 -0
  75. package/src/features/company/components/containers/index.ts +1 -0
  76. package/src/features/company/components/lists/CompaniesList.tsx +12 -1
  77. package/src/features/company/contexts/CompanyContext.tsx +13 -1
  78. package/src/features/company/data/entity-ai-status.ts +13 -0
  79. package/src/features/company/data/index.ts +1 -0
  80. package/src/features/user/components/containers/PlatformUsersContainer.tsx +23 -0
  81. package/src/features/user/components/containers/index.ts +1 -0
  82. package/src/features/user/components/lists/PlatformUsersList.tsx +45 -0
  83. package/src/features/user/components/lists/index.ts +1 -0
  84. package/src/features/user/data/user.fields.ts +1 -0
  85. package/src/features/user/hooks/useUserTableStructure.tsx +17 -0
  86. package/dist/BlockNoteEditor-ADT6II2V.mjs.map +0 -1
  87. package/dist/BlockNoteEditor-QTIDATPF.js.map +0 -1
  88. package/dist/chunk-DLTMYGLR.mjs.map +0 -1
  89. package/dist/chunk-F3BPNQDB.js.map +0 -1
  90. package/dist/chunk-KSU6CCW6.js.map +0 -1
  91. package/dist/chunk-YEPE2HT6.mjs.map +0 -1
  92. /package/dist/{chunk-7DJOQTNN.mjs.map → chunk-3LVSA7IM.mjs.map} +0 -0
@@ -12,7 +12,7 @@ import { ColumnDef } from '@tanstack/react-table';
12
12
  import { D as DataListRetriever } from '../useDataListRetriever-WEXL4bqB.mjs';
13
13
  export { u as useDataListRetriever } from '../useDataListRetriever-WEXL4bqB.mjs';
14
14
  export { u as usePageUrlGenerator } from '../usePageUrlGenerator-uKBjAKqC.mjs';
15
- import { a as D3Node, D as D3Link, C as ContentFields, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.mjs';
15
+ import { a as D3Node, D as D3Link, C as ContentFields, R as RoleFields, U as UserFields } from '../content.fields-1AlHDtDb.mjs';
16
16
  export { u as useSocket } from '../useSocket-M3YY0aTS.mjs';
17
17
  import { C as ContentInterface, e as RoleInterface, U as UserInterface } from '../notification.interface-CG1vqoxg.mjs';
18
18
  import { O as OAuthClientInterface, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, f as OAuthConsentInfo, d as OAuthConsentRequest } from '../oauth.interface-DRE3NAKc.mjs';
@@ -12,7 +12,7 @@ import { ColumnDef } from '@tanstack/react-table';
12
12
  import { D as DataListRetriever } from '../useDataListRetriever-WEXL4bqB.js';
13
13
  export { u as useDataListRetriever } from '../useDataListRetriever-WEXL4bqB.js';
14
14
  export { u as usePageUrlGenerator } from '../usePageUrlGenerator-J_ECv-oQ.js';
15
- import { a as D3Node, D as D3Link, C as ContentFields, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.js';
15
+ import { a as D3Node, D as D3Link, C as ContentFields, R as RoleFields, U as UserFields } from '../content.fields-1AlHDtDb.js';
16
16
  export { u as useSocket } from '../useSocket-DgGAQW6h.js';
17
17
  import { C as ContentInterface, e as RoleInterface, U as UserInterface } from '../notification.interface--27exGde.js';
18
18
  import { O as OAuthClientInterface, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, f as OAuthConsentInfo, d as OAuthConsentRequest } from '../oauth.interface-CD90ycYz.js';
@@ -28,7 +28,7 @@
28
28
 
29
29
 
30
30
 
31
- var _chunkF3BPNQDBjs = require('../chunk-F3BPNQDB.js');
31
+ var _chunkGYGMEDVSjs = require('../chunk-GYGMEDVS.js');
32
32
 
33
33
 
34
34
 
@@ -43,7 +43,7 @@ var _chunkF3BPNQDBjs = require('../chunk-F3BPNQDB.js');
43
43
 
44
44
 
45
45
 
46
- var _chunkLANOKEFZjs = require('../chunk-LANOKEFZ.js');
46
+ var _chunkTOKHHZSPjs = require('../chunk-TOKHHZSP.js');
47
47
 
48
48
 
49
49
 
@@ -55,7 +55,7 @@ var _chunkLANOKEFZjs = require('../chunk-LANOKEFZ.js');
55
55
 
56
56
 
57
57
 
58
- var _chunkKSU6CCW6js = require('../chunk-KSU6CCW6.js');
58
+ var _chunkV66AZWPGjs = require('../chunk-V66AZWPG.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 = _chunkKSU6CCW6js.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkKSU6CCW6js.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkKSU6CCW6js.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkKSU6CCW6js.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkKSU6CCW6js.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkF3BPNQDBjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkF3BPNQDBjs.TableGeneratorRegistry; exports.buildClientUrl = _chunkKSU6CCW6js.buildClientUrl; exports.computeLayeredLayout = _chunkF3BPNQDBjs.computeLayeredLayout; exports.configureClientConfig = _chunkLANOKEFZjs.configureClientConfig; exports.configureClientJsonApi = _chunkKSU6CCW6js.configureClientJsonApi; exports.configureI18n = _chunkLANOKEFZjs.configureI18n; exports.configureJsonApi = _chunkLANOKEFZjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkF3BPNQDBjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkLANOKEFZjs.getApiUrl; exports.getAppUrl = _chunkLANOKEFZjs.getAppUrl; exports.getClientApiUrl = _chunkKSU6CCW6js.getClientApiUrl; exports.getClientAppUrl = _chunkKSU6CCW6js.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunkKSU6CCW6js.getClientTrackablePages; exports.getI18nLink = _chunkLANOKEFZjs.getI18nLink; exports.getPublicApiUrl = _chunkLANOKEFZjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkLANOKEFZjs.getStripePublishableKey; exports.getTrackablePages = _chunkLANOKEFZjs.getTrackablePages; exports.registerTableGenerator = _chunkF3BPNQDBjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkF3BPNQDBjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkF3BPNQDBjs.useContentTableStructure; exports.useCustomD3Graph = _chunkF3BPNQDBjs.useCustomD3Graph; exports.useDataListRetriever = _chunkF3BPNQDBjs.useDataListRetriever; exports.useDebounce = _chunkF3BPNQDBjs.useDebounce; exports.useI18nDateFnsLocale = _chunkLANOKEFZjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkLANOKEFZjs.useI18nLocale; exports.useI18nRouter = _chunkLANOKEFZjs.useI18nRouter; exports.useI18nTranslations = _chunkLANOKEFZjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkF3BPNQDBjs.useJsonApiGet; exports.useJsonApiMutation = _chunkF3BPNQDBjs.useJsonApiMutation; exports.useNotificationSync = _chunkF3BPNQDBjs.useNotificationSync; exports.useOAuthClient = _chunkF3BPNQDBjs.useOAuthClient; exports.useOAuthClients = _chunkF3BPNQDBjs.useOAuthClients; exports.useOAuthConsent = _chunkF3BPNQDBjs.useOAuthConsent; exports.usePageTracker = _chunkF3BPNQDBjs.usePageTracker; exports.usePageUrlGenerator = _chunkF3BPNQDBjs.usePageUrlGenerator; exports.useRehydration = _chunkF3BPNQDBjs.useRehydration; exports.useRehydrationList = _chunkF3BPNQDBjs.useRehydrationList; exports.useRoleTableStructure = _chunkF3BPNQDBjs.useRoleTableStructure; exports.useSocket = _chunkF3BPNQDBjs.useSocket; exports.useSubscriptionStatus = _chunkF3BPNQDBjs.useSubscriptionStatus; exports.useTableGenerator = _chunkF3BPNQDBjs.useTableGenerator; exports.useUrlRewriter = _chunkF3BPNQDBjs.useUrlRewriter; exports.useUserSearch = _chunkF3BPNQDBjs.useUserSearch; exports.useUserTableStructure = _chunkF3BPNQDBjs.useUserTableStructure;
128
+ exports.ClientJsonApiDelete = _chunkV66AZWPGjs.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkV66AZWPGjs.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkV66AZWPGjs.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkV66AZWPGjs.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkV66AZWPGjs.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkGYGMEDVSjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkGYGMEDVSjs.TableGeneratorRegistry; exports.buildClientUrl = _chunkV66AZWPGjs.buildClientUrl; exports.computeLayeredLayout = _chunkGYGMEDVSjs.computeLayeredLayout; exports.configureClientConfig = _chunkTOKHHZSPjs.configureClientConfig; exports.configureClientJsonApi = _chunkV66AZWPGjs.configureClientJsonApi; exports.configureI18n = _chunkTOKHHZSPjs.configureI18n; exports.configureJsonApi = _chunkTOKHHZSPjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkGYGMEDVSjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkTOKHHZSPjs.getApiUrl; exports.getAppUrl = _chunkTOKHHZSPjs.getAppUrl; exports.getClientApiUrl = _chunkV66AZWPGjs.getClientApiUrl; exports.getClientAppUrl = _chunkV66AZWPGjs.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunkV66AZWPGjs.getClientTrackablePages; exports.getI18nLink = _chunkTOKHHZSPjs.getI18nLink; exports.getPublicApiUrl = _chunkTOKHHZSPjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkTOKHHZSPjs.getStripePublishableKey; exports.getTrackablePages = _chunkTOKHHZSPjs.getTrackablePages; exports.registerTableGenerator = _chunkGYGMEDVSjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkGYGMEDVSjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkGYGMEDVSjs.useContentTableStructure; exports.useCustomD3Graph = _chunkGYGMEDVSjs.useCustomD3Graph; exports.useDataListRetriever = _chunkGYGMEDVSjs.useDataListRetriever; exports.useDebounce = _chunkGYGMEDVSjs.useDebounce; exports.useI18nDateFnsLocale = _chunkTOKHHZSPjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkTOKHHZSPjs.useI18nLocale; exports.useI18nRouter = _chunkTOKHHZSPjs.useI18nRouter; exports.useI18nTranslations = _chunkTOKHHZSPjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkGYGMEDVSjs.useJsonApiGet; exports.useJsonApiMutation = _chunkGYGMEDVSjs.useJsonApiMutation; exports.useNotificationSync = _chunkGYGMEDVSjs.useNotificationSync; exports.useOAuthClient = _chunkGYGMEDVSjs.useOAuthClient; exports.useOAuthClients = _chunkGYGMEDVSjs.useOAuthClients; exports.useOAuthConsent = _chunkGYGMEDVSjs.useOAuthConsent; exports.usePageTracker = _chunkGYGMEDVSjs.usePageTracker; exports.usePageUrlGenerator = _chunkGYGMEDVSjs.usePageUrlGenerator; exports.useRehydration = _chunkGYGMEDVSjs.useRehydration; exports.useRehydrationList = _chunkGYGMEDVSjs.useRehydrationList; exports.useRoleTableStructure = _chunkGYGMEDVSjs.useRoleTableStructure; exports.useSocket = _chunkGYGMEDVSjs.useSocket; exports.useSubscriptionStatus = _chunkGYGMEDVSjs.useSubscriptionStatus; exports.useTableGenerator = _chunkGYGMEDVSjs.useTableGenerator; exports.useUrlRewriter = _chunkGYGMEDVSjs.useUrlRewriter; exports.useUserSearch = _chunkGYGMEDVSjs.useUserSearch; exports.useUserTableStructure = _chunkGYGMEDVSjs.useUserTableStructure;
129
129
  //# sourceMappingURL=index.js.map
@@ -27,7 +27,7 @@ import {
27
27
  useUrlRewriter,
28
28
  useUserSearch,
29
29
  useUserTableStructure
30
- } from "../chunk-YEPE2HT6.mjs";
30
+ } from "../chunk-M2EGUO2F.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-7DJOQTNN.mjs";
45
+ } from "../chunk-3LVSA7IM.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-DLTMYGLR.mjs";
57
+ } from "../chunk-LCCRUWWY.mjs";
58
58
  import {
59
59
  getClientToken
60
60
  } from "../chunk-AUXK7QSA.mjs";
@@ -23,6 +23,7 @@ import { B as BreadcrumbItemData, a as HowToInterface, d as AssistantMessageInte
23
23
  import { ColumnDef, ExpandedState } from '@tanstack/react-table';
24
24
  import { J as JsonApiHydratedDataInterface, A as ApiDataInterface } from '../ApiDataInterface-BcZeXy5X.mjs';
25
25
  import { b as AuthInterface } from '../auth.interface-CkmZqat3.mjs';
26
+ import { LucideIcon, Loader2Icon } from 'lucide-react';
26
27
  import z from 'zod';
27
28
  import { g as OnboardingCardRenderProps } from '../onboarding.interface-Djyl9qYu.mjs';
28
29
  import { e as OAuthScopeInfo, O as OAuthClientInterface, b as OAuthClientCreateRequest, d as OAuthConsentRequest } from '../oauth.interface-DRE3NAKc.mjs';
@@ -42,7 +43,6 @@ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
42
43
  import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
43
44
  import { Drawer as Drawer$1 } from 'vaul';
44
45
  import { Menu } from '@base-ui/react/menu';
45
- import { LucideIcon, Loader2Icon } from 'lucide-react';
46
46
  import { PreviewCard } from '@base-ui/react/preview-card';
47
47
  import { OTPInput } from 'input-otp';
48
48
  import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
@@ -443,6 +443,7 @@ type BlockNoteEditorProps = {
443
443
  onWarmMentions?: (blocks: PartialBlock[]) => void;
444
444
  aiConfig?: BlockNoteAiConfig;
445
445
  stretch?: boolean;
446
+ aiEnabled?: boolean;
446
447
  };
447
448
 
448
449
  declare const BlockNoteEditorContainer: React__default.NamedExoticComponent<BlockNoteEditorProps>;
@@ -1375,8 +1376,91 @@ declare function TotpAuthenticatorList({ authenticators, onDelete }: TotpAuthent
1375
1376
 
1376
1377
  declare function TwoFactorSettings(): React$1.JSX.Element;
1377
1378
 
1379
+ /**
1380
+ * One row of the administration index: an icon, a translated label and
1381
+ * description, and the route it opens.
1382
+ *
1383
+ * Labels and descriptions are i18n *keys*, never resolved strings, so
1384
+ * AdminIndexGrid stays the single place that calls useTranslations().
1385
+ * `labelValues` / `descriptionValues` carry ICU arguments — `{ count: 2 }` for
1386
+ * the `entities.*` plural keys, or `{ type: "..." }` for an app reusing its own
1387
+ * parameterised heading key.
1388
+ */
1389
+ type AdminSection = {
1390
+ /** Stable React key, and the `admin-index-<key>` test id on the rendered link. */
1391
+ key: string;
1392
+ icon: LucideIcon;
1393
+ labelKey: string;
1394
+ labelValues?: Record<string, string | number>;
1395
+ descriptionKey: string;
1396
+ descriptionValues?: Record<string, string | number>;
1397
+ href: string;
1398
+ };
1399
+ /** A titled block of sections. The built-in "platform" group always renders first. */
1400
+ type AdminGroup = {
1401
+ key: string;
1402
+ labelKey: string;
1403
+ labelValues?: Record<string, string | number>;
1404
+ sections: AdminSection[];
1405
+ };
1406
+
1407
+ /** Keys of the built-in platform sections, for `hiddenSections`. */
1408
+ type PlatformSectionKey = "companies" | "users" | "token-usage" | "rbac" | "billing";
1409
+ type AdminIndexProps = {
1410
+ /** Project-specific groups, appended after the built-in platform group. */
1411
+ additionalGroups?: AdminGroup[];
1412
+ /**
1413
+ * Built-in sections to leave out. Every NJA project gets the same platform
1414
+ * group by default, but a project whose backend does not wire a foundation
1415
+ * must be able to drop its entry rather than advertise a route that throws —
1416
+ * narr8, for instance, never calls `RbacModule.register()`, so it has no RBAC
1417
+ * controllers at all.
1418
+ */
1419
+ hiddenSections?: PlatformSectionKey[];
1420
+ };
1421
+ /**
1422
+ * The grid itself, with no page shell — this is what the specs render, because
1423
+ * RoundPageContainer pulls in the app Header and its four header contexts.
1424
+ */
1425
+ declare function AdminIndexGrid({ additionalGroups, hiddenSections }: AdminIndexProps): React$1.JSX.Element;
1426
+ /**
1427
+ * Drop-in administration landing page. Mount it bare — it brings its own shell
1428
+ * and its own page chrome (AdministrationProvider), so it does not inherit the
1429
+ * title and breadcrumb of whatever page rendered before it.
1430
+ */
1431
+ declare function AdminIndexContainer({ additionalGroups, hiddenSections }: AdminIndexProps): React$1.JSX.Element;
1432
+
1433
+ /**
1434
+ * The fixed namespace of i18n keys the administration index reads via
1435
+ * useTranslations. Consuming apps must define each entry in their
1436
+ * messages/<locale>.json — this list is the contract between the package and
1437
+ * the app, and the names are frozen: an app that wants different wording
1438
+ * changes its own translation, never the key.
1439
+ *
1440
+ * Section LABELS are deliberately absent: they reuse keys every NJA app already
1441
+ * defines — `entities.companies`, `entities.users`, `entities.rbac` (all with
1442
+ * `{ count: 2 }`), `token_usage.admin.title`, and
1443
+ * `billing.admin.products.title` — so section names stay in each app's own
1444
+ * vocabulary.
1445
+ *
1446
+ * Mirrors the contract shipped by the token-usage feature
1447
+ * (features/tokenusage/i18n-keys.ts).
1448
+ */
1449
+ 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
+
1378
1451
  declare function AdminCompanyContainer(): React$1.JSX.Element;
1379
1452
 
1453
+ /**
1454
+ * Page container for the administrative company list.
1455
+ *
1456
+ * This has to be a client component: `module={Modules.Company}` is a registry
1457
+ * entry carrying an icon component and methods, and a Server Component cannot
1458
+ * pass it across the boundary ("Only plain objects can be passed to Client
1459
+ * Components"). Routes mount this container instead — the same shape as every
1460
+ * other list page.
1461
+ */
1462
+ declare function CompaniesListContainer(): React$1.JSX.Element;
1463
+
1380
1464
  type CompanyContainerProps = {
1381
1465
  configurationEditorSlot?: ReactNode;
1382
1466
  };
@@ -1433,7 +1517,16 @@ type CompanyEditorProps = {
1433
1517
  };
1434
1518
  declare function CompanyEditor(props: CompanyEditorProps): React$1.JSX.Element;
1435
1519
 
1436
- declare function CompaniesList(): React$1.JSX.Element;
1520
+ type CompaniesListProps = {
1521
+ /**
1522
+ * Pass this whenever the list is the page's own content inside a
1523
+ * `RoundPageContainer fullWidth`. Without it ContentListTable wraps itself in
1524
+ * `rounded-md border`, drawing a second bordered card inside the page's
1525
+ * rounded shell — two borders fighting each other at every corner.
1526
+ */
1527
+ fullWidth?: boolean;
1528
+ };
1529
+ declare function CompaniesList({ fullWidth }?: CompaniesListProps): React$1.JSX.Element;
1437
1530
 
1438
1531
  type ContentsListProps = {
1439
1532
  contentList: ContentInterface[];
@@ -1572,13 +1665,19 @@ interface Props$6 {
1572
1665
  /** Rendered inside the sidebar's details panel above the thread list. */
1573
1666
  detailsTitle: string;
1574
1667
  detailsIcon: React__default.ReactNode;
1668
+ /**
1669
+ * Disables the composer for a reason external to this component (e.g. the
1670
+ * consuming app's credit gate) — ORed with the in-flight `ctx.sending`
1671
+ * disable, never replacing it.
1672
+ */
1673
+ disabled?: boolean;
1575
1674
  }
1576
1675
  /**
1577
1676
  * Full-page assistant: the thread list lives in the page's details panel and
1578
1677
  * the conversation fills the card. Unlike `AssistantContainer` the composer is
1579
1678
  * the BlockNote one, so the very first message of a thread can carry mentions.
1580
1679
  */
1581
- declare function AssistantPageContainer({ renderApprovalAction, renderMention, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, detailsTitle, detailsIcon, }: Props$6): React__default.JSX.Element;
1680
+ declare function AssistantPageContainer({ renderApprovalAction, renderMention, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, detailsTitle, detailsIcon, disabled, }: Props$6): React__default.JSX.Element;
1582
1681
 
1583
1682
  interface Props$5 {
1584
1683
  onSend: (content: string, opts: {
@@ -1900,6 +1999,15 @@ declare function UserRolesList({ user }: UserRolesListProps): React$1.JSX.Elemen
1900
1999
 
1901
2000
  declare function AllUsersListContainer(): React$1.JSX.Element;
1902
2001
 
2002
+ /**
2003
+ * Page container for the platform-wide (cross-company) user list.
2004
+ *
2005
+ * Client component by necessity: `module={Modules.User}` is a registry entry
2006
+ * with an icon component and methods, which a Server Component cannot pass
2007
+ * across the boundary.
2008
+ */
2009
+ declare function PlatformUsersContainer(): React$1.JSX.Element;
2010
+
1903
2011
  declare function UserContainer(): React$1.JSX.Element | null;
1904
2012
 
1905
2013
  declare function UserIndexContainer(): React$1.JSX.Element | null;
@@ -1929,6 +2037,23 @@ type CompanyUsersListProps = {
1929
2037
  };
1930
2038
  declare function CompanyUsersList({ isDeleted, fullWidth }: CompanyUsersListProps): React$1.JSX.Element;
1931
2039
 
2040
+ type PlatformUsersListProps = {
2041
+ includeDeleted?: boolean;
2042
+ fullWidth?: boolean;
2043
+ };
2044
+ /**
2045
+ * Every user on the platform, across all companies.
2046
+ *
2047
+ * Deliberately NOT company-scoped: `CompanyUsersList` and `AdminUsersList` both
2048
+ * build `/companies/{id}/users` and need a company in context, so they render
2049
+ * nothing for a system administrator — who has no Company. This one calls
2050
+ * `UserService.findMany`, which hits `GET /users`; that controller widens the
2051
+ * result set itself when the caller holds Administrator or CompanyAdministrator
2052
+ * (see the backend user controller's `isAdmin` flag), so the same component is
2053
+ * safe for both.
2054
+ */
2055
+ declare function PlatformUsersList({ includeDeleted, fullWidth }: PlatformUsersListProps): React$1.JSX.Element;
2056
+
1932
2057
  type ContributorsListProps = {
1933
2058
  content: ContentInterface;
1934
2059
  };
@@ -3064,4 +3189,4 @@ interface MultipleSelectorRef {
3064
3189
  declare function useDebounce<T>(value: T, delay?: number): T;
3065
3190
  declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
3066
3191
 
3067
- 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 };
3192
+ 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 };
@@ -23,6 +23,7 @@ import { B as BreadcrumbItemData, a as HowToInterface, d as AssistantMessageInte
23
23
  import { ColumnDef, ExpandedState } from '@tanstack/react-table';
24
24
  import { J as JsonApiHydratedDataInterface, A as ApiDataInterface } from '../ApiDataInterface-BcZeXy5X.js';
25
25
  import { b as AuthInterface } from '../auth.interface-COmBjh89.js';
26
+ import { LucideIcon, Loader2Icon } from 'lucide-react';
26
27
  import z from 'zod';
27
28
  import { g as OnboardingCardRenderProps } from '../onboarding.interface-Djyl9qYu.js';
28
29
  import { e as OAuthScopeInfo, O as OAuthClientInterface, b as OAuthClientCreateRequest, d as OAuthConsentRequest } from '../oauth.interface-CD90ycYz.js';
@@ -42,7 +43,6 @@ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
42
43
  import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
43
44
  import { Drawer as Drawer$1 } from 'vaul';
44
45
  import { Menu } from '@base-ui/react/menu';
45
- import { LucideIcon, Loader2Icon } from 'lucide-react';
46
46
  import { PreviewCard } from '@base-ui/react/preview-card';
47
47
  import { OTPInput } from 'input-otp';
48
48
  import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
@@ -443,6 +443,7 @@ type BlockNoteEditorProps = {
443
443
  onWarmMentions?: (blocks: PartialBlock[]) => void;
444
444
  aiConfig?: BlockNoteAiConfig;
445
445
  stretch?: boolean;
446
+ aiEnabled?: boolean;
446
447
  };
447
448
 
448
449
  declare const BlockNoteEditorContainer: React__default.NamedExoticComponent<BlockNoteEditorProps>;
@@ -1375,8 +1376,91 @@ declare function TotpAuthenticatorList({ authenticators, onDelete }: TotpAuthent
1375
1376
 
1376
1377
  declare function TwoFactorSettings(): React$1.JSX.Element;
1377
1378
 
1379
+ /**
1380
+ * One row of the administration index: an icon, a translated label and
1381
+ * description, and the route it opens.
1382
+ *
1383
+ * Labels and descriptions are i18n *keys*, never resolved strings, so
1384
+ * AdminIndexGrid stays the single place that calls useTranslations().
1385
+ * `labelValues` / `descriptionValues` carry ICU arguments — `{ count: 2 }` for
1386
+ * the `entities.*` plural keys, or `{ type: "..." }` for an app reusing its own
1387
+ * parameterised heading key.
1388
+ */
1389
+ type AdminSection = {
1390
+ /** Stable React key, and the `admin-index-<key>` test id on the rendered link. */
1391
+ key: string;
1392
+ icon: LucideIcon;
1393
+ labelKey: string;
1394
+ labelValues?: Record<string, string | number>;
1395
+ descriptionKey: string;
1396
+ descriptionValues?: Record<string, string | number>;
1397
+ href: string;
1398
+ };
1399
+ /** A titled block of sections. The built-in "platform" group always renders first. */
1400
+ type AdminGroup = {
1401
+ key: string;
1402
+ labelKey: string;
1403
+ labelValues?: Record<string, string | number>;
1404
+ sections: AdminSection[];
1405
+ };
1406
+
1407
+ /** Keys of the built-in platform sections, for `hiddenSections`. */
1408
+ type PlatformSectionKey = "companies" | "users" | "token-usage" | "rbac" | "billing";
1409
+ type AdminIndexProps = {
1410
+ /** Project-specific groups, appended after the built-in platform group. */
1411
+ additionalGroups?: AdminGroup[];
1412
+ /**
1413
+ * Built-in sections to leave out. Every NJA project gets the same platform
1414
+ * group by default, but a project whose backend does not wire a foundation
1415
+ * must be able to drop its entry rather than advertise a route that throws —
1416
+ * narr8, for instance, never calls `RbacModule.register()`, so it has no RBAC
1417
+ * controllers at all.
1418
+ */
1419
+ hiddenSections?: PlatformSectionKey[];
1420
+ };
1421
+ /**
1422
+ * The grid itself, with no page shell — this is what the specs render, because
1423
+ * RoundPageContainer pulls in the app Header and its four header contexts.
1424
+ */
1425
+ declare function AdminIndexGrid({ additionalGroups, hiddenSections }: AdminIndexProps): React$1.JSX.Element;
1426
+ /**
1427
+ * Drop-in administration landing page. Mount it bare — it brings its own shell
1428
+ * and its own page chrome (AdministrationProvider), so it does not inherit the
1429
+ * title and breadcrumb of whatever page rendered before it.
1430
+ */
1431
+ declare function AdminIndexContainer({ additionalGroups, hiddenSections }: AdminIndexProps): React$1.JSX.Element;
1432
+
1433
+ /**
1434
+ * The fixed namespace of i18n keys the administration index reads via
1435
+ * useTranslations. Consuming apps must define each entry in their
1436
+ * messages/<locale>.json — this list is the contract between the package and
1437
+ * the app, and the names are frozen: an app that wants different wording
1438
+ * changes its own translation, never the key.
1439
+ *
1440
+ * Section LABELS are deliberately absent: they reuse keys every NJA app already
1441
+ * defines — `entities.companies`, `entities.users`, `entities.rbac` (all with
1442
+ * `{ count: 2 }`), `token_usage.admin.title`, and
1443
+ * `billing.admin.products.title` — so section names stay in each app's own
1444
+ * vocabulary.
1445
+ *
1446
+ * Mirrors the contract shipped by the token-usage feature
1447
+ * (features/tokenusage/i18n-keys.ts).
1448
+ */
1449
+ 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
+
1378
1451
  declare function AdminCompanyContainer(): React$1.JSX.Element;
1379
1452
 
1453
+ /**
1454
+ * Page container for the administrative company list.
1455
+ *
1456
+ * This has to be a client component: `module={Modules.Company}` is a registry
1457
+ * entry carrying an icon component and methods, and a Server Component cannot
1458
+ * pass it across the boundary ("Only plain objects can be passed to Client
1459
+ * Components"). Routes mount this container instead — the same shape as every
1460
+ * other list page.
1461
+ */
1462
+ declare function CompaniesListContainer(): React$1.JSX.Element;
1463
+
1380
1464
  type CompanyContainerProps = {
1381
1465
  configurationEditorSlot?: ReactNode;
1382
1466
  };
@@ -1433,7 +1517,16 @@ type CompanyEditorProps = {
1433
1517
  };
1434
1518
  declare function CompanyEditor(props: CompanyEditorProps): React$1.JSX.Element;
1435
1519
 
1436
- declare function CompaniesList(): React$1.JSX.Element;
1520
+ type CompaniesListProps = {
1521
+ /**
1522
+ * Pass this whenever the list is the page's own content inside a
1523
+ * `RoundPageContainer fullWidth`. Without it ContentListTable wraps itself in
1524
+ * `rounded-md border`, drawing a second bordered card inside the page's
1525
+ * rounded shell — two borders fighting each other at every corner.
1526
+ */
1527
+ fullWidth?: boolean;
1528
+ };
1529
+ declare function CompaniesList({ fullWidth }?: CompaniesListProps): React$1.JSX.Element;
1437
1530
 
1438
1531
  type ContentsListProps = {
1439
1532
  contentList: ContentInterface[];
@@ -1572,13 +1665,19 @@ interface Props$6 {
1572
1665
  /** Rendered inside the sidebar's details panel above the thread list. */
1573
1666
  detailsTitle: string;
1574
1667
  detailsIcon: React__default.ReactNode;
1668
+ /**
1669
+ * Disables the composer for a reason external to this component (e.g. the
1670
+ * consuming app's credit gate) — ORed with the in-flight `ctx.sending`
1671
+ * disable, never replacing it.
1672
+ */
1673
+ disabled?: boolean;
1575
1674
  }
1576
1675
  /**
1577
1676
  * Full-page assistant: the thread list lives in the page's details panel and
1578
1677
  * the conversation fills the card. Unlike `AssistantContainer` the composer is
1579
1678
  * the BlockNote one, so the very first message of a thread can carry mentions.
1580
1679
  */
1581
- declare function AssistantPageContainer({ renderApprovalAction, renderMention, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, detailsTitle, detailsIcon, }: Props$6): React__default.JSX.Element;
1680
+ declare function AssistantPageContainer({ renderApprovalAction, renderMention, mentionSearchFn, mentionSearchParams, mentionResolveFn, suggestionMenuComponent, detailsTitle, detailsIcon, disabled, }: Props$6): React__default.JSX.Element;
1582
1681
 
1583
1682
  interface Props$5 {
1584
1683
  onSend: (content: string, opts: {
@@ -1900,6 +1999,15 @@ declare function UserRolesList({ user }: UserRolesListProps): React$1.JSX.Elemen
1900
1999
 
1901
2000
  declare function AllUsersListContainer(): React$1.JSX.Element;
1902
2001
 
2002
+ /**
2003
+ * Page container for the platform-wide (cross-company) user list.
2004
+ *
2005
+ * Client component by necessity: `module={Modules.User}` is a registry entry
2006
+ * with an icon component and methods, which a Server Component cannot pass
2007
+ * across the boundary.
2008
+ */
2009
+ declare function PlatformUsersContainer(): React$1.JSX.Element;
2010
+
1903
2011
  declare function UserContainer(): React$1.JSX.Element | null;
1904
2012
 
1905
2013
  declare function UserIndexContainer(): React$1.JSX.Element | null;
@@ -1929,6 +2037,23 @@ type CompanyUsersListProps = {
1929
2037
  };
1930
2038
  declare function CompanyUsersList({ isDeleted, fullWidth }: CompanyUsersListProps): React$1.JSX.Element;
1931
2039
 
2040
+ type PlatformUsersListProps = {
2041
+ includeDeleted?: boolean;
2042
+ fullWidth?: boolean;
2043
+ };
2044
+ /**
2045
+ * Every user on the platform, across all companies.
2046
+ *
2047
+ * Deliberately NOT company-scoped: `CompanyUsersList` and `AdminUsersList` both
2048
+ * build `/companies/{id}/users` and need a company in context, so they render
2049
+ * nothing for a system administrator — who has no Company. This one calls
2050
+ * `UserService.findMany`, which hits `GET /users`; that controller widens the
2051
+ * result set itself when the caller holds Administrator or CompanyAdministrator
2052
+ * (see the backend user controller's `isAdmin` flag), so the same component is
2053
+ * safe for both.
2054
+ */
2055
+ declare function PlatformUsersList({ includeDeleted, fullWidth }: PlatformUsersListProps): React$1.JSX.Element;
2056
+
1932
2057
  type ContributorsListProps = {
1933
2058
  content: ContentInterface;
1934
2059
  };
@@ -3064,4 +3189,4 @@ interface MultipleSelectorRef {
3064
3189
  declare function useDebounce<T>(value: T, delay?: number): T;
3065
3190
  declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
3066
3191
 
3067
- 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 };
3192
+ 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 };