@carlonicora/nextjs-jsonapi 2.3.0 → 2.5.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 (124) hide show
  1. package/dist/{BlockNoteEditor-PNAVMGHB.js → BlockNoteEditor-TIMGYKAA.js} +19 -19
  2. package/dist/{BlockNoteEditor-PNAVMGHB.js.map → BlockNoteEditor-TIMGYKAA.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-3PS3HYVI.mjs → BlockNoteEditor-YFJMXJEU.mjs} +4 -4
  4. package/dist/billing/index.d.mts +40 -1
  5. package/dist/billing/index.d.ts +40 -1
  6. package/dist/billing/index.js +519 -462
  7. package/dist/billing/index.js.map +1 -1
  8. package/dist/billing/index.mjs +298 -241
  9. package/dist/billing/index.mjs.map +1 -1
  10. package/dist/{chunk-QYUYQO2M.js → chunk-7HKJNUW7.js} +1144 -953
  11. package/dist/chunk-7HKJNUW7.js.map +1 -0
  12. package/dist/{chunk-MN2BUSEU.mjs → chunk-DJWNNV52.mjs} +2 -2
  13. package/dist/{chunk-EQEW64CH.mjs → chunk-FS4RVV3K.mjs} +242 -1
  14. package/dist/chunk-FS4RVV3K.mjs.map +1 -0
  15. package/dist/{chunk-FSMXD3N7.mjs → chunk-G4YS52SO.mjs} +2547 -2356
  16. package/dist/chunk-G4YS52SO.mjs.map +1 -0
  17. package/dist/{chunk-OHJQYVSI.js → chunk-OTEDZ6YW.js} +7 -7
  18. package/dist/{chunk-OHJQYVSI.js.map → chunk-OTEDZ6YW.js.map} +1 -1
  19. package/dist/{chunk-X5TPKMBS.js → chunk-RTOC53EZ.js} +247 -6
  20. package/dist/chunk-RTOC53EZ.js.map +1 -0
  21. package/dist/client/index.d.mts +1 -1
  22. package/dist/client/index.d.ts +1 -1
  23. package/dist/client/index.js +4 -4
  24. package/dist/client/index.mjs +3 -3
  25. package/dist/components/index.d.mts +137 -4
  26. package/dist/components/index.d.ts +137 -4
  27. package/dist/components/index.js +16 -4
  28. package/dist/components/index.js.map +1 -1
  29. package/dist/components/index.mjs +15 -3
  30. package/dist/{tokenusage-admin.module-5wJ_tZTj.d.ts → config-BIjrg5wd.d.ts} +39 -1
  31. package/dist/{tokenusage-admin.module-DQVT4O4j.d.mts → config-BRUjtCd1.d.mts} +39 -1
  32. package/dist/{content.fields-xH3TGvVk.d.mts → content.fields-1AlHDtDb.d.mts} +1 -0
  33. package/dist/{content.fields-xH3TGvVk.d.ts → content.fields-1AlHDtDb.d.ts} +1 -0
  34. package/dist/contexts/index.d.mts +22 -1
  35. package/dist/contexts/index.d.ts +22 -1
  36. package/dist/contexts/index.js +8 -4
  37. package/dist/contexts/index.js.map +1 -1
  38. package/dist/contexts/index.mjs +7 -3
  39. package/dist/core/index.d.mts +6 -3
  40. package/dist/core/index.d.ts +6 -3
  41. package/dist/core/index.js +8 -2
  42. package/dist/core/index.js.map +1 -1
  43. package/dist/core/index.mjs +7 -1
  44. package/dist/features/help/index.js +37 -37
  45. package/dist/features/help/index.mjs +3 -3
  46. package/dist/features/tokenusage/index.d.mts +413 -14
  47. package/dist/features/tokenusage/index.d.ts +413 -14
  48. package/dist/features/tokenusage/index.js +481 -120
  49. package/dist/features/tokenusage/index.js.map +1 -1
  50. package/dist/features/tokenusage/index.mjs +431 -70
  51. package/dist/features/tokenusage/index.mjs.map +1 -1
  52. package/dist/index.d.mts +3 -3
  53. package/dist/index.d.ts +3 -3
  54. package/dist/index.js +9 -3
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +8 -2
  57. package/dist/server/index.js +3 -3
  58. package/dist/server/index.mjs +1 -1
  59. package/package.json +1 -1
  60. package/src/billing/index.ts +1 -0
  61. package/src/components/index.ts +1 -0
  62. package/src/contexts/index.ts +1 -0
  63. package/src/core/index.ts +10 -0
  64. package/src/core/registry/ModuleRegistry.ts +4 -0
  65. package/src/features/administration/components/AdminIndexContainer.tsx +150 -0
  66. package/src/features/administration/components/__tests__/AdminIndexContainer.spec.tsx +96 -0
  67. package/src/features/administration/components/index.ts +1 -0
  68. package/src/features/administration/contexts/AdministrationContext.tsx +47 -0
  69. package/src/features/administration/contexts/index.ts +1 -0
  70. package/src/features/administration/data/admin-section.types.ts +30 -0
  71. package/src/features/administration/i18n-keys.ts +26 -0
  72. package/src/features/administration/index.ts +3 -0
  73. package/src/features/billing/contexts/BillingContext.tsx +95 -0
  74. package/src/features/billing/contexts/index.ts +1 -0
  75. package/src/features/billing/index.ts +1 -0
  76. package/src/features/billing/stripe-product/components/containers/ProductsAdminContainer.tsx +39 -27
  77. package/src/features/billing/stripe-product/components/containers/ProductsAdminPageContainer.tsx +27 -0
  78. package/src/features/billing/stripe-product/components/containers/index.ts +1 -0
  79. package/src/features/company/components/containers/CompaniesListContainer.tsx +25 -0
  80. package/src/features/company/components/containers/index.ts +1 -0
  81. package/src/features/company/components/lists/CompaniesList.tsx +12 -1
  82. package/src/features/company/contexts/CompanyContext.tsx +13 -1
  83. package/src/features/tokenusage/components/TokenUsageAdminContainer.tsx +20 -4
  84. package/src/features/tokenusage/components/TokenUsageAdminTiles.tsx +31 -18
  85. package/src/features/tokenusage/components/TokenUsageBreakdownTable.tsx +13 -13
  86. package/src/features/tokenusage/components/TokenUsageRankedBar.tsx +24 -7
  87. package/src/features/tokenusage/components/TokenUsageReportContainer.tsx +102 -0
  88. package/src/features/tokenusage/components/TokenUsageReportFilterBar.tsx +34 -0
  89. package/src/features/tokenusage/components/TokenUsageReportTiles.tsx +161 -0
  90. package/src/features/tokenusage/components/TokenUsageTimelineChart.tsx +15 -13
  91. package/src/features/tokenusage/components/__tests__/TokenUsageAdminTiles.spec.tsx +4 -2
  92. package/src/features/tokenusage/components/__tests__/TokenUsageRankedBar.spec.tsx +3 -1
  93. package/src/features/tokenusage/contexts/TokenUsageAdminContext.tsx +6 -3
  94. package/src/features/tokenusage/contexts/TokenUsageReportContext.tsx +199 -0
  95. package/src/features/tokenusage/data/TokenUsageReportService.ts +65 -0
  96. package/src/features/tokenusage/data/index.ts +9 -0
  97. package/src/features/tokenusage/data/tokenusage-report-breakdown.interface.ts +12 -0
  98. package/src/features/tokenusage/data/tokenusage-report-breakdown.ts +94 -0
  99. package/src/features/tokenusage/data/tokenusage-report-summary.interface.ts +12 -0
  100. package/src/features/tokenusage/data/tokenusage-report-summary.ts +87 -0
  101. package/src/features/tokenusage/data/tokenusage-report-timeline.interface.ts +13 -0
  102. package/src/features/tokenusage/data/tokenusage-report-timeline.ts +94 -0
  103. package/src/features/tokenusage/data/tokenusage-report.types.ts +51 -0
  104. package/src/features/tokenusage/i18n-keys.ts +28 -0
  105. package/src/features/tokenusage/index.ts +18 -0
  106. package/src/features/tokenusage/lib/config.ts +22 -0
  107. package/src/features/tokenusage/lib/formatters.ts +100 -0
  108. package/src/features/tokenusage/lib/metrics.ts +8 -26
  109. package/src/features/tokenusage/lib/palette.ts +41 -14
  110. package/src/features/tokenusage/tokenusage-admin.module.ts +4 -0
  111. package/src/features/tokenusage/tokenusage.modules.ts +40 -0
  112. package/src/features/user/components/containers/PlatformUsersContainer.tsx +23 -0
  113. package/src/features/user/components/containers/index.ts +1 -0
  114. package/src/features/user/components/lists/PlatformUsersList.tsx +45 -0
  115. package/src/features/user/components/lists/index.ts +1 -0
  116. package/src/features/user/data/user.fields.ts +1 -0
  117. package/src/features/user/hooks/useUserTableStructure.tsx +17 -0
  118. package/src/shadcnui/ui/chart.tsx +30 -3
  119. package/dist/chunk-EQEW64CH.mjs.map +0 -1
  120. package/dist/chunk-FSMXD3N7.mjs.map +0 -1
  121. package/dist/chunk-QYUYQO2M.js.map +0 -1
  122. package/dist/chunk-X5TPKMBS.js.map +0 -1
  123. /package/dist/{BlockNoteEditor-3PS3HYVI.mjs.map → BlockNoteEditor-YFJMXJEU.mjs.map} +0 -0
  124. /package/dist/{chunk-MN2BUSEU.mjs.map → chunk-DJWNNV52.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 _chunkQYUYQO2Mjs = require('../chunk-QYUYQO2M.js');
31
+ var _chunk7HKJNUW7js = require('../chunk-7HKJNUW7.js');
32
32
 
33
33
 
34
34
 
@@ -43,7 +43,7 @@ var _chunkQYUYQO2Mjs = require('../chunk-QYUYQO2M.js');
43
43
 
44
44
 
45
45
 
46
- var _chunkOHJQYVSIjs = require('../chunk-OHJQYVSI.js');
46
+ var _chunkOTEDZ6YWjs = require('../chunk-OTEDZ6YW.js');
47
47
 
48
48
 
49
49
 
@@ -55,7 +55,7 @@ var _chunkOHJQYVSIjs = require('../chunk-OHJQYVSI.js');
55
55
 
56
56
 
57
57
 
58
- var _chunkX5TPKMBSjs = require('../chunk-X5TPKMBS.js');
58
+ var _chunkRTOC53EZjs = require('../chunk-RTOC53EZ.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 = _chunkX5TPKMBSjs.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkX5TPKMBSjs.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkX5TPKMBSjs.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkX5TPKMBSjs.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkX5TPKMBSjs.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkQYUYQO2Mjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkQYUYQO2Mjs.TableGeneratorRegistry; exports.buildClientUrl = _chunkX5TPKMBSjs.buildClientUrl; exports.computeLayeredLayout = _chunkQYUYQO2Mjs.computeLayeredLayout; exports.configureClientConfig = _chunkOHJQYVSIjs.configureClientConfig; exports.configureClientJsonApi = _chunkX5TPKMBSjs.configureClientJsonApi; exports.configureI18n = _chunkOHJQYVSIjs.configureI18n; exports.configureJsonApi = _chunkOHJQYVSIjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkQYUYQO2Mjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkOHJQYVSIjs.getApiUrl; exports.getAppUrl = _chunkOHJQYVSIjs.getAppUrl; exports.getClientApiUrl = _chunkX5TPKMBSjs.getClientApiUrl; exports.getClientAppUrl = _chunkX5TPKMBSjs.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunkX5TPKMBSjs.getClientTrackablePages; exports.getI18nLink = _chunkOHJQYVSIjs.getI18nLink; exports.getPublicApiUrl = _chunkOHJQYVSIjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkOHJQYVSIjs.getStripePublishableKey; exports.getTrackablePages = _chunkOHJQYVSIjs.getTrackablePages; exports.registerTableGenerator = _chunkQYUYQO2Mjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkQYUYQO2Mjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkQYUYQO2Mjs.useContentTableStructure; exports.useCustomD3Graph = _chunkQYUYQO2Mjs.useCustomD3Graph; exports.useDataListRetriever = _chunkQYUYQO2Mjs.useDataListRetriever; exports.useDebounce = _chunkQYUYQO2Mjs.useDebounce; exports.useI18nDateFnsLocale = _chunkOHJQYVSIjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkOHJQYVSIjs.useI18nLocale; exports.useI18nRouter = _chunkOHJQYVSIjs.useI18nRouter; exports.useI18nTranslations = _chunkOHJQYVSIjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkQYUYQO2Mjs.useJsonApiGet; exports.useJsonApiMutation = _chunkQYUYQO2Mjs.useJsonApiMutation; exports.useNotificationSync = _chunkQYUYQO2Mjs.useNotificationSync; exports.useOAuthClient = _chunkQYUYQO2Mjs.useOAuthClient; exports.useOAuthClients = _chunkQYUYQO2Mjs.useOAuthClients; exports.useOAuthConsent = _chunkQYUYQO2Mjs.useOAuthConsent; exports.usePageTracker = _chunkQYUYQO2Mjs.usePageTracker; exports.usePageUrlGenerator = _chunkQYUYQO2Mjs.usePageUrlGenerator; exports.useRehydration = _chunkQYUYQO2Mjs.useRehydration; exports.useRehydrationList = _chunkQYUYQO2Mjs.useRehydrationList; exports.useRoleTableStructure = _chunkQYUYQO2Mjs.useRoleTableStructure; exports.useSocket = _chunkQYUYQO2Mjs.useSocket; exports.useSubscriptionStatus = _chunkQYUYQO2Mjs.useSubscriptionStatus; exports.useTableGenerator = _chunkQYUYQO2Mjs.useTableGenerator; exports.useUrlRewriter = _chunkQYUYQO2Mjs.useUrlRewriter; exports.useUserSearch = _chunkQYUYQO2Mjs.useUserSearch; exports.useUserTableStructure = _chunkQYUYQO2Mjs.useUserTableStructure;
128
+ exports.ClientJsonApiDelete = _chunkRTOC53EZjs.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunkRTOC53EZjs.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunkRTOC53EZjs.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunkRTOC53EZjs.ClientJsonApiPost; exports.ClientJsonApiPut = _chunkRTOC53EZjs.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunk7HKJNUW7js.JsonApiProvider; exports.TableGeneratorRegistry = _chunk7HKJNUW7js.TableGeneratorRegistry; exports.buildClientUrl = _chunkRTOC53EZjs.buildClientUrl; exports.computeLayeredLayout = _chunk7HKJNUW7js.computeLayeredLayout; exports.configureClientConfig = _chunkOTEDZ6YWjs.configureClientConfig; exports.configureClientJsonApi = _chunkRTOC53EZjs.configureClientJsonApi; exports.configureI18n = _chunkOTEDZ6YWjs.configureI18n; exports.configureJsonApi = _chunkOTEDZ6YWjs.configureJsonApi; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunk7HKJNUW7js.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkOTEDZ6YWjs.getApiUrl; exports.getAppUrl = _chunkOTEDZ6YWjs.getAppUrl; exports.getClientApiUrl = _chunkRTOC53EZjs.getClientApiUrl; exports.getClientAppUrl = _chunkRTOC53EZjs.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunkRTOC53EZjs.getClientTrackablePages; exports.getI18nLink = _chunkOTEDZ6YWjs.getI18nLink; exports.getPublicApiUrl = _chunkOTEDZ6YWjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkOTEDZ6YWjs.getStripePublishableKey; exports.getTrackablePages = _chunkOTEDZ6YWjs.getTrackablePages; exports.registerTableGenerator = _chunk7HKJNUW7js.registerTableGenerator; exports.tableGeneratorRegistry = _chunk7HKJNUW7js.tableGeneratorRegistry; exports.useContentTableStructure = _chunk7HKJNUW7js.useContentTableStructure; exports.useCustomD3Graph = _chunk7HKJNUW7js.useCustomD3Graph; exports.useDataListRetriever = _chunk7HKJNUW7js.useDataListRetriever; exports.useDebounce = _chunk7HKJNUW7js.useDebounce; exports.useI18nDateFnsLocale = _chunkOTEDZ6YWjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkOTEDZ6YWjs.useI18nLocale; exports.useI18nRouter = _chunkOTEDZ6YWjs.useI18nRouter; exports.useI18nTranslations = _chunkOTEDZ6YWjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunk7HKJNUW7js.useJsonApiGet; exports.useJsonApiMutation = _chunk7HKJNUW7js.useJsonApiMutation; exports.useNotificationSync = _chunk7HKJNUW7js.useNotificationSync; exports.useOAuthClient = _chunk7HKJNUW7js.useOAuthClient; exports.useOAuthClients = _chunk7HKJNUW7js.useOAuthClients; exports.useOAuthConsent = _chunk7HKJNUW7js.useOAuthConsent; exports.usePageTracker = _chunk7HKJNUW7js.usePageTracker; exports.usePageUrlGenerator = _chunk7HKJNUW7js.usePageUrlGenerator; exports.useRehydration = _chunk7HKJNUW7js.useRehydration; exports.useRehydrationList = _chunk7HKJNUW7js.useRehydrationList; exports.useRoleTableStructure = _chunk7HKJNUW7js.useRoleTableStructure; exports.useSocket = _chunk7HKJNUW7js.useSocket; exports.useSubscriptionStatus = _chunk7HKJNUW7js.useSubscriptionStatus; exports.useTableGenerator = _chunk7HKJNUW7js.useTableGenerator; exports.useUrlRewriter = _chunk7HKJNUW7js.useUrlRewriter; exports.useUserSearch = _chunk7HKJNUW7js.useUserSearch; exports.useUserTableStructure = _chunk7HKJNUW7js.useUserTableStructure;
129
129
  //# sourceMappingURL=index.js.map
@@ -27,7 +27,7 @@ import {
27
27
  useUrlRewriter,
28
28
  useUserSearch,
29
29
  useUserTableStructure
30
- } from "../chunk-FSMXD3N7.mjs";
30
+ } from "../chunk-G4YS52SO.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-MN2BUSEU.mjs";
45
+ } from "../chunk-DJWNNV52.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-EQEW64CH.mjs";
57
+ } from "../chunk-FS4RVV3K.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';
@@ -1376,8 +1376,91 @@ declare function TotpAuthenticatorList({ authenticators, onDelete }: TotpAuthent
1376
1376
 
1377
1377
  declare function TwoFactorSettings(): React$1.JSX.Element;
1378
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
+
1379
1451
  declare function AdminCompanyContainer(): React$1.JSX.Element;
1380
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
+
1381
1464
  type CompanyContainerProps = {
1382
1465
  configurationEditorSlot?: ReactNode;
1383
1466
  };
@@ -1434,7 +1517,16 @@ type CompanyEditorProps = {
1434
1517
  };
1435
1518
  declare function CompanyEditor(props: CompanyEditorProps): React$1.JSX.Element;
1436
1519
 
1437
- 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;
1438
1530
 
1439
1531
  type ContentsListProps = {
1440
1532
  contentList: ContentInterface[];
@@ -1907,6 +1999,15 @@ declare function UserRolesList({ user }: UserRolesListProps): React$1.JSX.Elemen
1907
1999
 
1908
2000
  declare function AllUsersListContainer(): React$1.JSX.Element;
1909
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
+
1910
2011
  declare function UserContainer(): React$1.JSX.Element | null;
1911
2012
 
1912
2013
  declare function UserIndexContainer(): React$1.JSX.Element | null;
@@ -1936,6 +2037,23 @@ type CompanyUsersListProps = {
1936
2037
  };
1937
2038
  declare function CompanyUsersList({ isDeleted, fullWidth }: CompanyUsersListProps): React$1.JSX.Element;
1938
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
+
1939
2057
  type ContributorsListProps = {
1940
2058
  content: ContentInterface;
1941
2059
  };
@@ -2416,12 +2534,27 @@ declare const ChartStyle: ({ id, config }: {
2416
2534
  config: ChartConfig;
2417
2535
  }) => React$1.JSX.Element | null;
2418
2536
  declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
2419
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<"div"> & {
2537
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, valueFormatter, hideZeroValues, color, nameKey, labelKey, }: React$1.ComponentProps<"div"> & {
2420
2538
  active?: boolean;
2421
2539
  payload?: PayloadItem[];
2422
2540
  label?: string | number;
2423
2541
  labelFormatter?: (label: unknown, payload: PayloadItem[]) => React$1.ReactNode;
2424
2542
  formatter?: (value: unknown, name: string, item: PayloadItem, index: number, payload: unknown) => React$1.ReactNode;
2543
+ /**
2544
+ * Formats the VALUE half of a row while keeping the default layout — colour
2545
+ * swatch, series name, alignment. `formatter` replaces the whole row, so it
2546
+ * is the wrong tool when all a chart needs is its own number formatting.
2547
+ * Defaults to `toLocaleString()`, which is what every existing caller gets.
2548
+ */
2549
+ valueFormatter?: (value: number | string) => React$1.ReactNode;
2550
+ /**
2551
+ * Drops rows whose value is zero. On a stacked chart every series appears in
2552
+ * every bucket's payload, so a bucket with one active series still lists all
2553
+ * of them — the reader has to scan a column of zeros to find the one number
2554
+ * that matters. Off by default: a chart comparing a fixed set of series may
2555
+ * want the zeros visible.
2556
+ */
2557
+ hideZeroValues?: boolean;
2425
2558
  hideLabel?: boolean;
2426
2559
  hideIndicator?: boolean;
2427
2560
  indicator?: "line" | "dot" | "dashed";
@@ -3071,4 +3204,4 @@ interface MultipleSelectorRef {
3071
3204
  declare function useDebounce<T>(value: T, delay?: number): T;
3072
3205
  declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
3073
3206
 
3074
- 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 };
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 };
@@ -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';
@@ -1376,8 +1376,91 @@ declare function TotpAuthenticatorList({ authenticators, onDelete }: TotpAuthent
1376
1376
 
1377
1377
  declare function TwoFactorSettings(): React$1.JSX.Element;
1378
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
+
1379
1451
  declare function AdminCompanyContainer(): React$1.JSX.Element;
1380
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
+
1381
1464
  type CompanyContainerProps = {
1382
1465
  configurationEditorSlot?: ReactNode;
1383
1466
  };
@@ -1434,7 +1517,16 @@ type CompanyEditorProps = {
1434
1517
  };
1435
1518
  declare function CompanyEditor(props: CompanyEditorProps): React$1.JSX.Element;
1436
1519
 
1437
- 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;
1438
1530
 
1439
1531
  type ContentsListProps = {
1440
1532
  contentList: ContentInterface[];
@@ -1907,6 +1999,15 @@ declare function UserRolesList({ user }: UserRolesListProps): React$1.JSX.Elemen
1907
1999
 
1908
2000
  declare function AllUsersListContainer(): React$1.JSX.Element;
1909
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
+
1910
2011
  declare function UserContainer(): React$1.JSX.Element | null;
1911
2012
 
1912
2013
  declare function UserIndexContainer(): React$1.JSX.Element | null;
@@ -1936,6 +2037,23 @@ type CompanyUsersListProps = {
1936
2037
  };
1937
2038
  declare function CompanyUsersList({ isDeleted, fullWidth }: CompanyUsersListProps): React$1.JSX.Element;
1938
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
+
1939
2057
  type ContributorsListProps = {
1940
2058
  content: ContentInterface;
1941
2059
  };
@@ -2416,12 +2534,27 @@ declare const ChartStyle: ({ id, config }: {
2416
2534
  config: ChartConfig;
2417
2535
  }) => React$1.JSX.Element | null;
2418
2536
  declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
2419
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<"div"> & {
2537
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, valueFormatter, hideZeroValues, color, nameKey, labelKey, }: React$1.ComponentProps<"div"> & {
2420
2538
  active?: boolean;
2421
2539
  payload?: PayloadItem[];
2422
2540
  label?: string | number;
2423
2541
  labelFormatter?: (label: unknown, payload: PayloadItem[]) => React$1.ReactNode;
2424
2542
  formatter?: (value: unknown, name: string, item: PayloadItem, index: number, payload: unknown) => React$1.ReactNode;
2543
+ /**
2544
+ * Formats the VALUE half of a row while keeping the default layout — colour
2545
+ * swatch, series name, alignment. `formatter` replaces the whole row, so it
2546
+ * is the wrong tool when all a chart needs is its own number formatting.
2547
+ * Defaults to `toLocaleString()`, which is what every existing caller gets.
2548
+ */
2549
+ valueFormatter?: (value: number | string) => React$1.ReactNode;
2550
+ /**
2551
+ * Drops rows whose value is zero. On a stacked chart every series appears in
2552
+ * every bucket's payload, so a bucket with one active series still lists all
2553
+ * of them — the reader has to scan a column of zeros to find the one number
2554
+ * that matters. Off by default: a chart comparing a fixed set of series may
2555
+ * want the zeros visible.
2556
+ */
2557
+ hideZeroValues?: boolean;
2425
2558
  hideLabel?: boolean;
2426
2559
  hideIndicator?: boolean;
2427
2560
  indicator?: "line" | "dot" | "dashed";
@@ -3071,4 +3204,4 @@ interface MultipleSelectorRef {
3071
3204
  declare function useDebounce<T>(value: T, delay?: number): T;
3072
3205
  declare const MultipleSelector: React$1.ForwardRefExoticComponent<MultipleSelectorProps & React$1.RefAttributes<MultipleSelectorRef>>;
3073
3206
 
3074
- 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 };
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 };