@carlonicora/nextjs-jsonapi 4.1.2 → 4.2.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 (229) hide show
  1. package/dist/{AssistantMessageInterface-CubxuBIJ.d.ts → AssistantMessageInterface-DHJJO_Z_.d.ts} +1 -1
  2. package/dist/{AssistantMessageInterface-sHjI2zPN.d.mts → AssistantMessageInterface-S7oyERTT.d.mts} +1 -1
  3. package/dist/{BlockNoteEditor-VOYKZOP5.mjs → BlockNoteEditor-HXAHDJA7.mjs} +34 -27
  4. package/dist/BlockNoteEditor-HXAHDJA7.mjs.map +1 -0
  5. package/dist/{BlockNoteEditor-BENYTTCZ.js → BlockNoteEditor-LLCZDFLZ.js} +50 -43
  6. package/dist/BlockNoteEditor-LLCZDFLZ.js.map +1 -0
  7. package/dist/{BlockNoteViewer-USLR4Y7C.js → BlockNoteViewer-77CCTC2U.js} +3 -3
  8. package/dist/{BlockNoteViewer-USLR4Y7C.js.map → BlockNoteViewer-77CCTC2U.js.map} +1 -1
  9. package/dist/{BlockNoteViewer-Y2ZM4ESA.mjs → BlockNoteViewer-MDPO6BXN.mjs} +2 -2
  10. package/dist/{auth.interface-Df4vXbNz.d.mts → auth.interface-CeFCz9NU.d.mts} +1 -1
  11. package/dist/{auth.interface-BzI4onI_.d.ts → auth.interface-D1R7VVky.d.ts} +1 -1
  12. package/dist/billing/index.d.mts +40 -6
  13. package/dist/billing/index.d.ts +40 -6
  14. package/dist/billing/index.js +806 -774
  15. package/dist/billing/index.js.map +1 -1
  16. package/dist/billing/index.mjs +494 -462
  17. package/dist/billing/index.mjs.map +1 -1
  18. package/dist/{chunk-6ISF5KNQ.mjs → chunk-2VXDZRYY.mjs} +1103 -816
  19. package/dist/chunk-2VXDZRYY.mjs.map +1 -0
  20. package/dist/{chunk-4BZJ4LAB.js → chunk-4ORLPEK7.js} +136 -104
  21. package/dist/chunk-4ORLPEK7.js.map +1 -0
  22. package/dist/{chunk-ZZ6E33FO.mjs → chunk-6DRSSW5O.mjs} +36 -4
  23. package/dist/chunk-6DRSSW5O.mjs.map +1 -0
  24. package/dist/{chunk-KS6WZP2E.js → chunk-6SMJRAE3.js} +4 -4
  25. package/dist/{chunk-KS6WZP2E.js.map → chunk-6SMJRAE3.js.map} +1 -1
  26. package/dist/{chunk-WQ77CUUZ.js → chunk-GPXYQMOZ.js} +7 -7
  27. package/dist/{chunk-WQ77CUUZ.js.map → chunk-GPXYQMOZ.js.map} +1 -1
  28. package/dist/{chunk-46S3KPLU.mjs → chunk-ILFFC6BG.mjs} +2 -2
  29. package/dist/{chunk-HZVVRIJQ.mjs → chunk-IUS2RHCX.mjs} +2 -2
  30. package/dist/{chunk-F7RNBGHS.js → chunk-KJMMBUOA.js} +3 -3
  31. package/dist/{chunk-F7RNBGHS.js.map → chunk-KJMMBUOA.js.map} +1 -1
  32. package/dist/{chunk-ZO3QQ5CQ.mjs → chunk-MQDR6MEE.mjs} +2 -2
  33. package/dist/{chunk-ORU7KLCY.js → chunk-VDVIUDY5.js} +1445 -1158
  34. package/dist/chunk-VDVIUDY5.js.map +1 -0
  35. package/dist/client/index.d.mts +20 -6
  36. package/dist/client/index.d.ts +20 -6
  37. package/dist/client/index.js +6 -4
  38. package/dist/client/index.js.map +1 -1
  39. package/dist/client/index.mjs +5 -3
  40. package/dist/components/index.d.mts +59 -21
  41. package/dist/components/index.d.ts +59 -21
  42. package/dist/components/index.js +4 -4
  43. package/dist/components/index.mjs +3 -3
  44. package/dist/{config-CEAq4Ozy.d.mts → config-BP2vyddw.d.mts} +5 -0
  45. package/dist/{config-DydDHCfb.d.ts → config-BhW2QrRD.d.ts} +5 -0
  46. package/dist/contexts/index.d.mts +4 -4
  47. package/dist/contexts/index.d.ts +4 -4
  48. package/dist/contexts/index.js +4 -4
  49. package/dist/contexts/index.mjs +3 -3
  50. package/dist/core/index.d.mts +17 -9
  51. package/dist/core/index.d.ts +17 -9
  52. package/dist/core/index.js +4 -2
  53. package/dist/core/index.js.map +1 -1
  54. package/dist/core/index.mjs +3 -1
  55. package/dist/features/analytics/index.d.mts +1 -1
  56. package/dist/features/analytics/index.d.ts +1 -1
  57. package/dist/features/analytics/index.js +122 -122
  58. package/dist/features/analytics/index.mjs +4 -4
  59. package/dist/features/analytics/server.js +4 -4
  60. package/dist/features/analytics/server.mjs +2 -2
  61. package/dist/features/help/index.d.mts +1 -1
  62. package/dist/features/help/index.d.ts +1 -1
  63. package/dist/features/help/index.js +42 -40
  64. package/dist/features/help/index.js.map +1 -1
  65. package/dist/features/help/index.mjs +8 -6
  66. package/dist/features/help/index.mjs.map +1 -1
  67. package/dist/features/tokenusage/index.js +125 -125
  68. package/dist/features/tokenusage/index.mjs +4 -4
  69. package/dist/index.d.mts +7 -7
  70. package/dist/index.d.ts +7 -7
  71. package/dist/index.js +5 -3
  72. package/dist/index.js.map +1 -1
  73. package/dist/index.mjs +4 -2
  74. package/dist/{notification.interface-P_pNfzZQ.d.mts → notification.interface-BB6GPpZY.d.mts} +1 -1
  75. package/dist/{notification.interface-BNCvnVCW.d.ts → notification.interface-CmAGrijJ.d.ts} +1 -1
  76. package/dist/{s3.service-CbUa6a-8.d.ts → s3.service-C-4YpEMu.d.ts} +7 -3
  77. package/dist/{s3.service-DAp8FbuG.d.mts → s3.service-dVj-nxMl.d.mts} +7 -3
  78. package/dist/server/index.d.mts +4 -4
  79. package/dist/server/index.d.ts +4 -4
  80. package/dist/server/index.js +3 -3
  81. package/dist/server/index.mjs +2 -2
  82. package/dist/{useSocket-BHVIyigI.d.ts → useSocket-B0H9pmmH.d.ts} +1 -1
  83. package/dist/{useSocket-B9gTbuCj.d.mts → useSocket-B5RQb6v2.d.mts} +1 -1
  84. package/dist/{user.interface-CrmwJLYW.d.ts → user.interface-C0ZdsBZj.d.ts} +2 -0
  85. package/dist/{user.interface-CSaGWFbg.d.mts → user.interface-CIWGlbqM.d.mts} +2 -0
  86. package/package.json +1 -1
  87. package/src/components/containers/RoundPageContainer.tsx +3 -1
  88. package/src/components/containers/RoundPageContainerTitle.tsx +5 -2
  89. package/src/components/editors/BlockNoteEditor.tsx +31 -15
  90. package/src/components/editors/BlockNoteEditorAiActions.tsx +11 -7
  91. package/src/components/editors/__tests__/BlockNoteEditorAiActions.test.ts +10 -3
  92. package/src/components/errors/ErrorDetails.tsx +5 -2
  93. package/src/components/forms/CommonAssociationForm.tsx +1 -1
  94. package/src/components/forms/EntityMultiSelector.tsx +6 -2
  95. package/src/components/forms/EntitySelector.tsx +4 -1
  96. package/src/components/forms/FileUploader.tsx +3 -2
  97. package/src/components/forms/MultiFileUploader.tsx +3 -1
  98. package/src/components/navigations/Breadcrumb.tsx +3 -2
  99. package/src/components/navigations/Header.tsx +3 -1
  100. package/src/components/navigations/MobileNavigationBar.tsx +3 -1
  101. package/src/components/navigations/__tests__/Header.spec.tsx +2 -2
  102. package/src/components/tables/cells/cell.id.tsx +13 -2
  103. package/src/core/abstracts/AbstractService.ts +3 -3
  104. package/src/core/abstracts/ClientAbstractService.ts +3 -2
  105. package/src/features/assistant-action/components/ApprovalActionCard.tsx +74 -5
  106. package/src/features/assistant-action/components/__tests__/ApprovalActionCard.spec.tsx +81 -0
  107. package/src/features/assistant-message/components/parts/RelevanceMeter.tsx +4 -1
  108. package/src/features/assistant-message/components/parts/tabs/UsersTab.tsx +2 -1
  109. package/src/features/auth/components/buttons/GoogleSignInButton.tsx +4 -1
  110. package/src/features/auth/components/details/LandingComponent.tsx +1 -1
  111. package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
  112. package/src/features/auth/components/forms/Login.tsx +1 -1
  113. package/src/features/auth/components/forms/Register.tsx +1 -1
  114. package/src/features/auth/components/forms/ResetPassword.tsx +2 -2
  115. package/src/features/auth/components/two-factor/BackupCodesDialog.tsx +1 -1
  116. package/src/features/auth/components/two-factor/PasskeyButton.tsx +1 -1
  117. package/src/features/billing/components/cards/BillingUsageSummaryCard.tsx +21 -11
  118. package/src/features/billing/components/cards/CustomerInfoCard.tsx +16 -13
  119. package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +33 -21
  120. package/src/features/billing/components/cards/PaymentMethodSummaryCard.tsx +20 -10
  121. package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +35 -22
  122. package/src/features/billing/components/containers/BillingDashboardContainer.tsx +24 -24
  123. package/src/features/billing/components/utils/__tests__/billing-formatters.spec.ts +63 -0
  124. package/src/features/billing/components/utils/currency.ts +67 -10
  125. package/src/features/billing/components/utils/date.ts +9 -4
  126. package/src/features/billing/components/utils/format-options.ts +20 -0
  127. package/src/features/billing/components/utils/index.ts +3 -1
  128. package/src/features/billing/components/utils/useBillingFormatOptions.ts +11 -0
  129. package/src/features/billing/components/widgets/BillingAlertBanner.tsx +8 -9
  130. package/src/features/billing/contexts/PriceContext.tsx +18 -6
  131. package/src/features/billing/i18n-keys.ts +212 -0
  132. package/src/features/billing/stripe-customer/components/containers/PaymentMethodsContainer.tsx +8 -8
  133. package/src/features/billing/stripe-customer/components/details/PaymentMethodCard.tsx +11 -9
  134. package/src/features/billing/stripe-customer/components/forms/PaymentMethodEditor.tsx +4 -4
  135. package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +9 -7
  136. package/src/features/billing/stripe-invoice/components/containers/InvoicesContainer.tsx +10 -8
  137. package/src/features/billing/stripe-invoice/components/details/InvoiceDetails.tsx +34 -29
  138. package/src/features/billing/stripe-invoice/components/lists/InvoicesList.tsx +12 -9
  139. package/src/features/billing/stripe-invoice/components/widgets/InvoiceStatusBadge.tsx +9 -6
  140. package/src/features/billing/stripe-price/components/details/PriceDetails.tsx +4 -3
  141. package/src/features/billing/stripe-price/components/forms/PriceArchiver.tsx +3 -1
  142. package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +3 -1
  143. package/src/features/billing/stripe-price/hooks/useStripePriceTableStructure.tsx +6 -5
  144. package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +12 -7
  145. package/src/features/billing/stripe-promotion-code/data/stripe-promotion-code.service.ts +3 -1
  146. package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +10 -6
  147. package/src/features/billing/stripe-subscription/components/details/SubscriptionDetails.tsx +44 -29
  148. package/src/features/billing/stripe-subscription/components/forms/CancelSubscriptionDialog.tsx +14 -11
  149. package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +20 -17
  150. package/src/features/billing/stripe-subscription/components/widgets/IntervalToggle.tsx +4 -2
  151. package/src/features/billing/stripe-subscription/components/widgets/PricingCard.tsx +16 -7
  152. package/src/features/billing/stripe-subscription/components/widgets/ProductPricingList.tsx +3 -1
  153. package/src/features/billing/stripe-subscription/components/widgets/ProductPricingRow.tsx +3 -1
  154. package/src/features/billing/stripe-subscription/components/widgets/ProrationPreview.tsx +12 -7
  155. package/src/features/billing/stripe-subscription/components/widgets/SubscriptionConfirmation.tsx +11 -8
  156. package/src/features/billing/stripe-subscription/components/widgets/SubscriptionStatusBadge.tsx +13 -10
  157. package/src/features/billing/stripe-subscription/components/wizards/SubscriptionWizard.tsx +8 -6
  158. package/src/features/billing/stripe-subscription/components/wizards/WizardProgressIndicator.tsx +7 -4
  159. package/src/features/billing/stripe-subscription/components/wizards/WizardStepPaymentMethod.tsx +4 -2
  160. package/src/features/billing/stripe-subscription/components/wizards/WizardStepPlanSelection.tsx +3 -1
  161. package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +37 -28
  162. package/src/features/billing/stripe-subscription/hooks/useConfirmSubscriptionPayment.ts +9 -7
  163. package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +20 -9
  164. package/src/features/billing/stripe-usage/components/containers/UsageContainer.tsx +6 -6
  165. package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +24 -9
  166. package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +16 -12
  167. package/src/features/company/components/details/TokenStatusIndicator.tsx +7 -5
  168. package/src/features/company/components/forms/CompanyEditor.tsx +2 -2
  169. package/src/features/help/components/HelpArticleBody.tsx +1 -1
  170. package/src/features/help/components/HelpHeader.tsx +1 -1
  171. package/src/features/help/components/HelpSideNav.tsx +1 -1
  172. package/src/features/help/i18n-keys.ts +2 -0
  173. package/src/features/notification/components/common/NotificationErrorBoundary.tsx +17 -12
  174. package/src/features/notification/components/containers/NotificationsListContainer.tsx +4 -2
  175. package/src/features/notification/components/notifications/Notification.tsx +6 -3
  176. package/src/features/notification/contexts/NotificationContext.tsx +9 -4
  177. package/src/features/notification/contexts/__tests__/NotificationContext.spec.tsx +13 -0
  178. package/src/features/notification/hooks/useNotificationTableStructure.tsx +4 -2
  179. package/src/features/oauth/components/OAuthClientCard.tsx +13 -7
  180. package/src/features/oauth/components/OAuthClientDetail.tsx +34 -30
  181. package/src/features/oauth/components/OAuthClientForm.tsx +24 -24
  182. package/src/features/oauth/components/OAuthClientList.tsx +10 -6
  183. package/src/features/oauth/components/OAuthClientSecretDisplay.tsx +10 -8
  184. package/src/features/oauth/components/OAuthRedirectUriInput.tsx +9 -13
  185. package/src/features/oauth/components/OAuthScopeSelector.tsx +15 -6
  186. package/src/features/oauth/components/__tests__/OAuthClientForm.spec.tsx +11 -9
  187. package/src/features/oauth/components/consent/OAuthScopeList.tsx +4 -2
  188. package/src/features/oauth/hooks/__tests__/useOAuthScopeText.spec.ts +30 -0
  189. package/src/features/oauth/hooks/index.ts +1 -0
  190. package/src/features/oauth/hooks/useOAuthClient.ts +11 -5
  191. package/src/features/oauth/hooks/useOAuthClients.ts +9 -3
  192. package/src/features/oauth/hooks/useOAuthConsent.ts +11 -5
  193. package/src/features/oauth/hooks/useOAuthScopeText.ts +33 -0
  194. package/src/features/rbac/components/RbacByRoleContainer.tsx +7 -6
  195. package/src/features/rbac/components/RbacContainer.tsx +7 -6
  196. package/src/features/rbac/contexts/RbacContext.tsx +3 -3
  197. package/src/features/user/components/containers/UserContainer.tsx +3 -1
  198. package/src/features/user/data/__tests__/user.test.ts +66 -0
  199. package/src/features/user/data/user.interface.ts +2 -0
  200. package/src/features/user/data/user.service.ts +9 -0
  201. package/src/features/user/data/user.ts +7 -0
  202. package/src/features/waitlist/components/forms/WaitlistForm.tsx +1 -1
  203. package/src/features/waitlist/components/lists/WaitlistList.tsx +1 -1
  204. package/src/i18n/__tests__/config.test.ts +21 -1
  205. package/src/i18n/config.ts +13 -0
  206. package/src/i18n/index.ts +1 -0
  207. package/src/shadcnui/custom/multi-select.tsx +47 -14
  208. package/src/shadcnui/custom/multiple-selector.tsx +14 -2
  209. package/src/shadcnui/ui/__tests__/use-ui-text.test.tsx +76 -0
  210. package/src/shadcnui/ui/breadcrumb.tsx +9 -2
  211. package/src/shadcnui/ui/carousel.tsx +15 -4
  212. package/src/shadcnui/ui/dialog.tsx +15 -2
  213. package/src/shadcnui/ui/sheet.tsx +6 -1
  214. package/src/shadcnui/ui/sidebar.tsx +33 -7
  215. package/src/shadcnui/ui/spinner.tsx +6 -1
  216. package/src/shadcnui/ui/use-ui-text.ts +49 -0
  217. package/src/utils/__tests__/date-formatter.test.ts +24 -1
  218. package/src/utils/date-formatter.ts +16 -0
  219. package/src/utils/index.ts +1 -1
  220. package/dist/BlockNoteEditor-BENYTTCZ.js.map +0 -1
  221. package/dist/BlockNoteEditor-VOYKZOP5.mjs.map +0 -1
  222. package/dist/chunk-4BZJ4LAB.js.map +0 -1
  223. package/dist/chunk-6ISF5KNQ.mjs.map +0 -1
  224. package/dist/chunk-ORU7KLCY.js.map +0 -1
  225. package/dist/chunk-ZZ6E33FO.mjs.map +0 -1
  226. /package/dist/{BlockNoteViewer-Y2ZM4ESA.mjs.map → BlockNoteViewer-MDPO6BXN.mjs.map} +0 -0
  227. /package/dist/{chunk-46S3KPLU.mjs.map → chunk-ILFFC6BG.mjs.map} +0 -0
  228. /package/dist/{chunk-HZVVRIJQ.mjs.map → chunk-IUS2RHCX.mjs.map} +0 -0
  229. /package/dist/{chunk-ZO3QQ5CQ.mjs.map → chunk-MQDR6MEE.mjs.map} +0 -0
@@ -7,16 +7,16 @@ import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface
7
7
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
8
8
  import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
9
9
  import { M as ModuleWithPermissions, P as PageUrl } from '../types-Bq_UA8Lg.mjs';
10
- export { I as I18nConfig, m as I18nRouter, L as LinkComponent, U as UseDateFnsLocaleHook, n as UseLocaleHook, o as UseRouterHook, p as UseTranslationsHook, h as configureClientConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, i as getI18nLink, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages, u as useI18nDateFnsLocale, j as useI18nLocale, k as useI18nRouter, l as useI18nTranslations } from '../config-CEAq4Ozy.mjs';
10
+ export { I as I18nConfig, m as I18nRouter, L as LinkComponent, U as UseDateFnsLocaleHook, n as UseLocaleHook, o as UseRouterHook, p as UseTranslationsHook, h as configureClientConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, i as getI18nLink, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages, u as useI18nDateFnsLocale, j as useI18nLocale, k as useI18nRouter, l as useI18nTranslations } from '../config-BP2vyddw.mjs';
11
11
  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
15
  import { a as D3Node, D as D3Link, C as ContentFields, R as RoleFields, U as UserFields } from '../content.fields-1AlHDtDb.mjs';
16
- export { u as useSocket } from '../useSocket-B9gTbuCj.mjs';
17
- import { C as ContentInterface } from '../notification.interface-P_pNfzZQ.mjs';
18
- import { b as RoleInterface, U as UserInterface } from '../user.interface-CSaGWFbg.mjs';
19
- import { O as OAuthClientInterface, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, f as OAuthConsentInfo, d as OAuthConsentRequest } from '../oauth.interface-nVwnzxJw.mjs';
16
+ export { u as useSocket } from '../useSocket-B5RQb6v2.mjs';
17
+ import { C as ContentInterface } from '../notification.interface-BB6GPpZY.mjs';
18
+ import { b as RoleInterface, U as UserInterface } from '../user.interface-CIWGlbqM.mjs';
19
+ import { O as OAuthClientInterface, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from '../oauth.interface-nVwnzxJw.mjs';
20
20
  import 'lucide-react';
21
21
  import '../help-content-config.interface-C5ESIod9.mjs';
22
22
  import 'd3';
@@ -557,6 +557,20 @@ declare function useOAuthConsent(params: OAuthConsentRequest, options?: {
557
557
  defaultCompanyId?: string;
558
558
  }): UseOAuthConsentReturn;
559
559
 
560
+ type OAuthScopeText = {
561
+ name: string;
562
+ description: string;
563
+ };
564
+ /**
565
+ * Returns a function that words a scope in the active language.
566
+ *
567
+ * The scopes defined in `OAUTH_SCOPE_DISPLAY` read their name and description
568
+ * from `oauth.ui.scopes.<id>.*`; the English text in that constant stays as
569
+ * data only. Any other scope (an app's own, or one the server describes) keeps
570
+ * the name and description it carries, falling back to its id.
571
+ */
572
+ declare function useOAuthScopeText(): (scope: string | OAuthScopeInfo) => OAuthScopeText;
573
+
560
574
  interface TrialSubscriptionStatus {
561
575
  status: "loading" | "trial" | "active" | "expired";
562
576
  trialEndsAt: Date | null;
@@ -566,4 +580,4 @@ interface TrialSubscriptionStatus {
566
580
  }
567
581
  declare function useSubscriptionStatus(): TrialSubscriptionStatus;
568
582
 
569
- export { ClientJsonApiDelete, ClientJsonApiGet, ClientJsonApiPatch, ClientJsonApiPost, ClientJsonApiPut, DataListRetriever, type DirectFetchParams, type FitLayeredLayoutOptions, JsonApiConfig, JsonApiProvider, type JsonApiProviderProps, type LayeredLayoutOptions, type LayeredLayoutPosition, type LayeredRankDir, type MutationMethod, type MutationParams, type TableContent, TableGeneratorRegistry, type TableStructureGeneratorInterface, type TrialSubscriptionStatus, type UseJsonApiGetOptions, type UseJsonApiGetResult, type UseJsonApiMutationResult, type UseOAuthClientReturn, type UseOAuthClientsReturn, type UseOAuthConsentReturn, type UseTableStructureHook, type UseTableStructureHookParams, type UseTableStructureHookReturn, buildClientUrl, computeLayeredLayout, configureClientJsonApi, directFetch, fitLayeredLayoutToAspectRatio, getClientApiUrl, getClientAppUrl, getClientToken, getClientTrackablePages, registerTableGenerator, tableGeneratorRegistry, useContentTableStructure, useCustomD3Graph, useDebounce, useJsonApiGet, useJsonApiMutation, useNotificationSync, useOAuthClient, useOAuthClients, useOAuthConsent, usePageTracker, useRehydration, useRehydrationList, useRoleTableStructure, useSubscriptionStatus, useTableGenerator, useUrlRewriter, useUserSearch, useUserTableStructure };
583
+ export { ClientJsonApiDelete, ClientJsonApiGet, ClientJsonApiPatch, ClientJsonApiPost, ClientJsonApiPut, DataListRetriever, type DirectFetchParams, type FitLayeredLayoutOptions, JsonApiConfig, JsonApiProvider, type JsonApiProviderProps, type LayeredLayoutOptions, type LayeredLayoutPosition, type LayeredRankDir, type MutationMethod, type MutationParams, type OAuthScopeText, type TableContent, TableGeneratorRegistry, type TableStructureGeneratorInterface, type TrialSubscriptionStatus, type UseJsonApiGetOptions, type UseJsonApiGetResult, type UseJsonApiMutationResult, type UseOAuthClientReturn, type UseOAuthClientsReturn, type UseOAuthConsentReturn, type UseTableStructureHook, type UseTableStructureHookParams, type UseTableStructureHookReturn, buildClientUrl, computeLayeredLayout, configureClientJsonApi, directFetch, fitLayeredLayoutToAspectRatio, getClientApiUrl, getClientAppUrl, getClientToken, getClientTrackablePages, registerTableGenerator, tableGeneratorRegistry, useContentTableStructure, useCustomD3Graph, useDebounce, useJsonApiGet, useJsonApiMutation, useNotificationSync, useOAuthClient, useOAuthClients, useOAuthConsent, useOAuthScopeText, usePageTracker, useRehydration, useRehydrationList, useRoleTableStructure, useSubscriptionStatus, useTableGenerator, useUrlRewriter, useUserSearch, useUserTableStructure };
@@ -7,16 +7,16 @@ import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface
7
7
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
8
8
  import { A as ApiData } from '../ApiData-DPKNfY-9.js';
9
9
  import { M as ModuleWithPermissions, P as PageUrl } from '../types-bsm8Fp55.js';
10
- export { I as I18nConfig, m as I18nRouter, L as LinkComponent, U as UseDateFnsLocaleHook, n as UseLocaleHook, o as UseRouterHook, p as UseTranslationsHook, h as configureClientConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, i as getI18nLink, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages, u as useI18nDateFnsLocale, j as useI18nLocale, k as useI18nRouter, l as useI18nTranslations } from '../config-DydDHCfb.js';
10
+ export { I as I18nConfig, m as I18nRouter, L as LinkComponent, U as UseDateFnsLocaleHook, n as UseLocaleHook, o as UseRouterHook, p as UseTranslationsHook, h as configureClientConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, i as getI18nLink, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages, u as useI18nDateFnsLocale, j as useI18nLocale, k as useI18nRouter, l as useI18nTranslations } from '../config-BhW2QrRD.js';
11
11
  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
15
  import { a as D3Node, D as D3Link, C as ContentFields, R as RoleFields, U as UserFields } from '../content.fields-1AlHDtDb.js';
16
- export { u as useSocket } from '../useSocket-BHVIyigI.js';
17
- import { C as ContentInterface } from '../notification.interface-BNCvnVCW.js';
18
- import { b as RoleInterface, U as UserInterface } from '../user.interface-CrmwJLYW.js';
19
- import { O as OAuthClientInterface, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, f as OAuthConsentInfo, d as OAuthConsentRequest } from '../oauth.interface-BZKZAPRw.js';
16
+ export { u as useSocket } from '../useSocket-B0H9pmmH.js';
17
+ import { C as ContentInterface } from '../notification.interface-CmAGrijJ.js';
18
+ import { b as RoleInterface, U as UserInterface } from '../user.interface-C0ZdsBZj.js';
19
+ import { O as OAuthClientInterface, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from '../oauth.interface-BZKZAPRw.js';
20
20
  import 'lucide-react';
21
21
  import '../help-content-config.interface-C5ESIod9.js';
22
22
  import 'd3';
@@ -557,6 +557,20 @@ declare function useOAuthConsent(params: OAuthConsentRequest, options?: {
557
557
  defaultCompanyId?: string;
558
558
  }): UseOAuthConsentReturn;
559
559
 
560
+ type OAuthScopeText = {
561
+ name: string;
562
+ description: string;
563
+ };
564
+ /**
565
+ * Returns a function that words a scope in the active language.
566
+ *
567
+ * The scopes defined in `OAUTH_SCOPE_DISPLAY` read their name and description
568
+ * from `oauth.ui.scopes.<id>.*`; the English text in that constant stays as
569
+ * data only. Any other scope (an app's own, or one the server describes) keeps
570
+ * the name and description it carries, falling back to its id.
571
+ */
572
+ declare function useOAuthScopeText(): (scope: string | OAuthScopeInfo) => OAuthScopeText;
573
+
560
574
  interface TrialSubscriptionStatus {
561
575
  status: "loading" | "trial" | "active" | "expired";
562
576
  trialEndsAt: Date | null;
@@ -566,4 +580,4 @@ interface TrialSubscriptionStatus {
566
580
  }
567
581
  declare function useSubscriptionStatus(): TrialSubscriptionStatus;
568
582
 
569
- export { ClientJsonApiDelete, ClientJsonApiGet, ClientJsonApiPatch, ClientJsonApiPost, ClientJsonApiPut, DataListRetriever, type DirectFetchParams, type FitLayeredLayoutOptions, JsonApiConfig, JsonApiProvider, type JsonApiProviderProps, type LayeredLayoutOptions, type LayeredLayoutPosition, type LayeredRankDir, type MutationMethod, type MutationParams, type TableContent, TableGeneratorRegistry, type TableStructureGeneratorInterface, type TrialSubscriptionStatus, type UseJsonApiGetOptions, type UseJsonApiGetResult, type UseJsonApiMutationResult, type UseOAuthClientReturn, type UseOAuthClientsReturn, type UseOAuthConsentReturn, type UseTableStructureHook, type UseTableStructureHookParams, type UseTableStructureHookReturn, buildClientUrl, computeLayeredLayout, configureClientJsonApi, directFetch, fitLayeredLayoutToAspectRatio, getClientApiUrl, getClientAppUrl, getClientToken, getClientTrackablePages, registerTableGenerator, tableGeneratorRegistry, useContentTableStructure, useCustomD3Graph, useDebounce, useJsonApiGet, useJsonApiMutation, useNotificationSync, useOAuthClient, useOAuthClients, useOAuthConsent, usePageTracker, useRehydration, useRehydrationList, useRoleTableStructure, useSubscriptionStatus, useTableGenerator, useUrlRewriter, useUserSearch, useUserTableStructure };
583
+ export { ClientJsonApiDelete, ClientJsonApiGet, ClientJsonApiPatch, ClientJsonApiPost, ClientJsonApiPut, DataListRetriever, type DirectFetchParams, type FitLayeredLayoutOptions, JsonApiConfig, JsonApiProvider, type JsonApiProviderProps, type LayeredLayoutOptions, type LayeredLayoutPosition, type LayeredRankDir, type MutationMethod, type MutationParams, type OAuthScopeText, type TableContent, TableGeneratorRegistry, type TableStructureGeneratorInterface, type TrialSubscriptionStatus, type UseJsonApiGetOptions, type UseJsonApiGetResult, type UseJsonApiMutationResult, type UseOAuthClientReturn, type UseOAuthClientsReturn, type UseOAuthConsentReturn, type UseTableStructureHook, type UseTableStructureHookParams, type UseTableStructureHookReturn, buildClientUrl, computeLayeredLayout, configureClientJsonApi, directFetch, fitLayeredLayoutToAspectRatio, getClientApiUrl, getClientAppUrl, getClientToken, getClientTrackablePages, registerTableGenerator, tableGeneratorRegistry, useContentTableStructure, useCustomD3Graph, useDebounce, useJsonApiGet, useJsonApiMutation, useNotificationSync, useOAuthClient, useOAuthClients, useOAuthConsent, useOAuthScopeText, usePageTracker, useRehydration, useRehydrationList, useRoleTableStructure, useSubscriptionStatus, useTableGenerator, useUrlRewriter, useUserSearch, useUserTableStructure };
@@ -28,8 +28,8 @@
28
28
 
29
29
 
30
30
 
31
- var _chunkORU7KLCYjs = require('../chunk-ORU7KLCY.js');
32
31
 
32
+ var _chunkVDVIUDY5js = require('../chunk-VDVIUDY5.js');
33
33
 
34
34
 
35
35
 
@@ -37,7 +37,8 @@ var _chunkORU7KLCYjs = require('../chunk-ORU7KLCY.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkWQ77CUUZjs = require('../chunk-WQ77CUUZ.js');
40
+
41
+ var _chunkGPXYQMOZjs = require('../chunk-GPXYQMOZ.js');
41
42
  require('../chunk-G4JR3SFV.js');
42
43
 
43
44
 
@@ -56,7 +57,7 @@ require('../chunk-G4JR3SFV.js');
56
57
 
57
58
 
58
59
 
59
- var _chunk4BZJ4LABjs = require('../chunk-4BZJ4LAB.js');
60
+ var _chunk4ORLPEK7js = require('../chunk-4ORLPEK7.js');
60
61
 
61
62
 
62
63
  var _chunkLXKSUWAVjs = require('../chunk-LXKSUWAV.js');
@@ -126,5 +127,6 @@ require('../chunk-7QVYU63E.js');
126
127
 
127
128
 
128
129
 
129
- exports.ClientJsonApiDelete = _chunk4BZJ4LABjs.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunk4BZJ4LABjs.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunk4BZJ4LABjs.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunk4BZJ4LABjs.ClientJsonApiPost; exports.ClientJsonApiPut = _chunk4BZJ4LABjs.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkORU7KLCYjs.JsonApiProvider; exports.TableGeneratorRegistry = _chunkORU7KLCYjs.TableGeneratorRegistry; exports.buildClientUrl = _chunk4BZJ4LABjs.buildClientUrl; exports.computeLayeredLayout = _chunkORU7KLCYjs.computeLayeredLayout; exports.configureClientConfig = _chunkWQ77CUUZjs.configureClientConfig; exports.configureClientJsonApi = _chunk4BZJ4LABjs.configureClientJsonApi; exports.configureI18n = _chunk4BZJ4LABjs.configureI18n; exports.configureJsonApi = _chunkWQ77CUUZjs.configureJsonApi; exports.directFetch = _chunkJTPRJNT2js.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkORU7KLCYjs.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkWQ77CUUZjs.getApiUrl; exports.getAppUrl = _chunkWQ77CUUZjs.getAppUrl; exports.getClientApiUrl = _chunk4BZJ4LABjs.getClientApiUrl; exports.getClientAppUrl = _chunk4BZJ4LABjs.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunk4BZJ4LABjs.getClientTrackablePages; exports.getI18nLink = _chunk4BZJ4LABjs.getI18nLink; exports.getPublicApiUrl = _chunkWQ77CUUZjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkWQ77CUUZjs.getStripePublishableKey; exports.getTrackablePages = _chunkWQ77CUUZjs.getTrackablePages; exports.registerTableGenerator = _chunkORU7KLCYjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkORU7KLCYjs.tableGeneratorRegistry; exports.useContentTableStructure = _chunkORU7KLCYjs.useContentTableStructure; exports.useCustomD3Graph = _chunkORU7KLCYjs.useCustomD3Graph; exports.useDataListRetriever = _chunkORU7KLCYjs.useDataListRetriever; exports.useDebounce = _chunkORU7KLCYjs.useDebounce; exports.useI18nDateFnsLocale = _chunk4BZJ4LABjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunk4BZJ4LABjs.useI18nLocale; exports.useI18nRouter = _chunk4BZJ4LABjs.useI18nRouter; exports.useI18nTranslations = _chunk4BZJ4LABjs.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkORU7KLCYjs.useJsonApiGet; exports.useJsonApiMutation = _chunkORU7KLCYjs.useJsonApiMutation; exports.useNotificationSync = _chunkORU7KLCYjs.useNotificationSync; exports.useOAuthClient = _chunkORU7KLCYjs.useOAuthClient; exports.useOAuthClients = _chunkORU7KLCYjs.useOAuthClients; exports.useOAuthConsent = _chunkORU7KLCYjs.useOAuthConsent; exports.usePageTracker = _chunkORU7KLCYjs.usePageTracker; exports.usePageUrlGenerator = _chunkORU7KLCYjs.usePageUrlGenerator; exports.useRehydration = _chunkORU7KLCYjs.useRehydration; exports.useRehydrationList = _chunkORU7KLCYjs.useRehydrationList; exports.useRoleTableStructure = _chunkORU7KLCYjs.useRoleTableStructure; exports.useSocket = _chunkORU7KLCYjs.useSocket; exports.useSubscriptionStatus = _chunkORU7KLCYjs.useSubscriptionStatus; exports.useTableGenerator = _chunkORU7KLCYjs.useTableGenerator; exports.useUrlRewriter = _chunkORU7KLCYjs.useUrlRewriter; exports.useUserSearch = _chunkORU7KLCYjs.useUserSearch; exports.useUserTableStructure = _chunkORU7KLCYjs.useUserTableStructure;
130
+
131
+ exports.ClientJsonApiDelete = _chunk4ORLPEK7js.ClientJsonApiDelete; exports.ClientJsonApiGet = _chunk4ORLPEK7js.ClientJsonApiGet; exports.ClientJsonApiPatch = _chunk4ORLPEK7js.ClientJsonApiPatch; exports.ClientJsonApiPost = _chunk4ORLPEK7js.ClientJsonApiPost; exports.ClientJsonApiPut = _chunk4ORLPEK7js.ClientJsonApiPut; exports.JsonApiContext = _chunk3EPNHTMHjs.JsonApiContext; exports.JsonApiProvider = _chunkVDVIUDY5js.JsonApiProvider; exports.TableGeneratorRegistry = _chunkVDVIUDY5js.TableGeneratorRegistry; exports.buildClientUrl = _chunk4ORLPEK7js.buildClientUrl; exports.computeLayeredLayout = _chunkVDVIUDY5js.computeLayeredLayout; exports.configureClientConfig = _chunkGPXYQMOZjs.configureClientConfig; exports.configureClientJsonApi = _chunk4ORLPEK7js.configureClientJsonApi; exports.configureI18n = _chunk4ORLPEK7js.configureI18n; exports.configureJsonApi = _chunkGPXYQMOZjs.configureJsonApi; exports.directFetch = _chunkJTPRJNT2js.directFetch; exports.fitLayeredLayoutToAspectRatio = _chunkVDVIUDY5js.fitLayeredLayoutToAspectRatio; exports.getApiUrl = _chunkGPXYQMOZjs.getApiUrl; exports.getAppUrl = _chunkGPXYQMOZjs.getAppUrl; exports.getClientApiUrl = _chunk4ORLPEK7js.getClientApiUrl; exports.getClientAppUrl = _chunk4ORLPEK7js.getClientAppUrl; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.getClientTrackablePages = _chunk4ORLPEK7js.getClientTrackablePages; exports.getI18nLink = _chunk4ORLPEK7js.getI18nLink; exports.getPublicApiUrl = _chunkGPXYQMOZjs.getPublicApiUrl; exports.getStripePublishableKey = _chunkGPXYQMOZjs.getStripePublishableKey; exports.getTrackablePages = _chunkGPXYQMOZjs.getTrackablePages; exports.registerTableGenerator = _chunkVDVIUDY5js.registerTableGenerator; exports.tableGeneratorRegistry = _chunkVDVIUDY5js.tableGeneratorRegistry; exports.useContentTableStructure = _chunkVDVIUDY5js.useContentTableStructure; exports.useCustomD3Graph = _chunkVDVIUDY5js.useCustomD3Graph; exports.useDataListRetriever = _chunkVDVIUDY5js.useDataListRetriever; exports.useDebounce = _chunkVDVIUDY5js.useDebounce; exports.useI18nDateFnsLocale = _chunk4ORLPEK7js.useI18nDateFnsLocale; exports.useI18nLocale = _chunk4ORLPEK7js.useI18nLocale; exports.useI18nRouter = _chunk4ORLPEK7js.useI18nRouter; exports.useI18nTranslations = _chunk4ORLPEK7js.useI18nTranslations; exports.useJsonApiConfig = _chunk3EPNHTMHjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunk3EPNHTMHjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkVDVIUDY5js.useJsonApiGet; exports.useJsonApiMutation = _chunkVDVIUDY5js.useJsonApiMutation; exports.useNotificationSync = _chunkVDVIUDY5js.useNotificationSync; exports.useOAuthClient = _chunkVDVIUDY5js.useOAuthClient; exports.useOAuthClients = _chunkVDVIUDY5js.useOAuthClients; exports.useOAuthConsent = _chunkVDVIUDY5js.useOAuthConsent; exports.useOAuthScopeText = _chunkVDVIUDY5js.useOAuthScopeText; exports.usePageTracker = _chunkVDVIUDY5js.usePageTracker; exports.usePageUrlGenerator = _chunkVDVIUDY5js.usePageUrlGenerator; exports.useRehydration = _chunkVDVIUDY5js.useRehydration; exports.useRehydrationList = _chunkVDVIUDY5js.useRehydrationList; exports.useRoleTableStructure = _chunkVDVIUDY5js.useRoleTableStructure; exports.useSocket = _chunkVDVIUDY5js.useSocket; exports.useSubscriptionStatus = _chunkVDVIUDY5js.useSubscriptionStatus; exports.useTableGenerator = _chunkVDVIUDY5js.useTableGenerator; exports.useUrlRewriter = _chunkVDVIUDY5js.useUrlRewriter; exports.useUserSearch = _chunkVDVIUDY5js.useUserSearch; exports.useUserTableStructure = _chunkVDVIUDY5js.useUserTableStructure;
130
132
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/client/index.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7GAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/client/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/client/index.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B;AACE;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m/GAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/client/index.js"}
@@ -16,6 +16,7 @@ import {
16
16
  useOAuthClient,
17
17
  useOAuthClients,
18
18
  useOAuthConsent,
19
+ useOAuthScopeText,
19
20
  usePageTracker,
20
21
  usePageUrlGenerator,
21
22
  useRehydration,
@@ -27,7 +28,7 @@ import {
27
28
  useUrlRewriter,
28
29
  useUserSearch,
29
30
  useUserTableStructure
30
- } from "../chunk-6ISF5KNQ.mjs";
31
+ } from "../chunk-2VXDZRYY.mjs";
31
32
  import {
32
33
  configureClientConfig,
33
34
  configureJsonApi,
@@ -36,7 +37,7 @@ import {
36
37
  getPublicApiUrl,
37
38
  getStripePublishableKey,
38
39
  getTrackablePages
39
- } from "../chunk-ZO3QQ5CQ.mjs";
40
+ } from "../chunk-MQDR6MEE.mjs";
40
41
  import "../chunk-PW42LRSL.mjs";
41
42
  import {
42
43
  ClientJsonApiDelete,
@@ -55,7 +56,7 @@ import {
55
56
  useI18nLocale,
56
57
  useI18nRouter,
57
58
  useI18nTranslations
58
- } from "../chunk-ZZ6E33FO.mjs";
59
+ } from "../chunk-6DRSSW5O.mjs";
59
60
  import {
60
61
  getClientToken
61
62
  } from "../chunk-AUXK7QSA.mjs";
@@ -114,6 +115,7 @@ export {
114
115
  useOAuthClient,
115
116
  useOAuthClients,
116
117
  useOAuthConsent,
118
+ useOAuthScopeText,
117
119
  usePageTracker,
118
120
  usePageUrlGenerator,
119
121
  useRehydration,
@@ -3,7 +3,7 @@ import React__default, { ReactNode, ReactElement, Dispatch, SetStateAction, Comp
3
3
  import { M as ModuleWithPermissions, A as Action } from '../types-Bq_UA8Lg.mjs';
4
4
  import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, m as AiConnectionInterface, k as AiProviderRegistry, l as AiConnectionEnvDefaults, H as HandbookPageInterface, q as HandbookSectionInterface } from '../HandbookSectionInterface-BYsmnPEz.mjs';
5
5
  export { h as AiConnection, i as AiConnectionFields, n as AiConnectionInput, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../HandbookSectionInterface-BYsmnPEz.mjs';
6
- import { C as ContentInterface, N as NotificationInterface } from '../notification.interface-P_pNfzZQ.mjs';
6
+ import { C as ContentInterface, N as NotificationInterface } from '../notification.interface-BB6GPpZY.mjs';
7
7
  import * as _blocknote_core from '@blocknote/core';
8
8
  import { BlockNoteEditor, PartialBlock } from '@blocknote/core';
9
9
  import { DefaultReactSuggestionItem, SuggestionMenuProps } from '@blocknote/react';
@@ -19,12 +19,12 @@ import * as react_hook_form from 'react-hook-form';
19
19
  import { FieldValues, UseFormReturn, Path, ControllerRenderProps, ControllerFieldState } from 'react-hook-form';
20
20
  import { DropzoneState, DropzoneOptions, FileRejection } from 'react-dropzone';
21
21
  export { DropzoneOptions } from 'react-dropzone';
22
- import { B as BreadcrumbItemData, a as HowToInterface, f as AssistantMessageInterface, b as AssistantInterface } from '../AssistantMessageInterface-sHjI2zPN.mjs';
22
+ import { B as BreadcrumbItemData, a as HowToInterface, f as AssistantMessageInterface, b as AssistantInterface } from '../AssistantMessageInterface-S7oyERTT.mjs';
23
23
  import { ColumnDef, ExpandedState } from '@tanstack/react-table';
24
24
  import { J as JsonApiHydratedDataInterface, A as ApiDataInterface } from '../ApiDataInterface-BcZeXy5X.mjs';
25
- import { b as AuthInterface } from '../auth.interface-Df4vXbNz.mjs';
25
+ import { b as AuthInterface } from '../auth.interface-CeFCz9NU.mjs';
26
26
  import { LucideIcon, Loader2Icon } from 'lucide-react';
27
- import { b as RoleInterface, U as UserInterface, a as CompanyInterface, C as CompanyInput } from '../user.interface-CSaGWFbg.mjs';
27
+ import { b as RoleInterface, U as UserInterface, a as CompanyInterface, C as CompanyInput } from '../user.interface-CIWGlbqM.mjs';
28
28
  import z from 'zod';
29
29
  import { h as OnboardingCardRenderProps } from '../onboarding.interface-DVUOUC4y.mjs';
30
30
  import { e as OAuthScopeInfo, O as OAuthClientInterface, b as OAuthClientCreateRequest, d as OAuthConsentRequest } from '../oauth.interface-nVwnzxJw.mjs';
@@ -833,7 +833,7 @@ type EntityMultiSelectorProps<T extends {
833
833
  };
834
834
  declare function EntityMultiSelector<T extends {
835
835
  id: string;
836
- }>({ id, form, label, placeholder, emptyText, isRequired, retriever, retrieverParams, module, getLabel, toFormValue, getFormValueLabel, excludeId, onChange, renderOption, ready, description, disabled, }: EntityMultiSelectorProps<T>): React$1.JSX.Element;
836
+ }>({ id, form, label, placeholder: placeholderProp, emptyText: emptyTextProp, isRequired, retriever, retrieverParams, module, getLabel, toFormValue, getFormValueLabel, excludeId, onChange, renderOption, ready, description, disabled, }: EntityMultiSelectorProps<T>): React$1.JSX.Element;
837
837
 
838
838
  type BaseEntity = {
839
839
  id: string;
@@ -866,7 +866,7 @@ type EntitySelectorProps<T extends BaseEntity> = {
866
866
  autoSelectSingle?: boolean;
867
867
  useFormWatch?: boolean;
868
868
  };
869
- declare function EntitySelector<T extends BaseEntity>({ id, form, module, retriever, retrieverParams, ready, getLabel, label, placeholder, emptyText, isRequired, disabled, description, onChange, onCreateNew, createNewLabel, toFormValue, getSelectedItemDisplay, renderOption, filterData, renderAfter, autoSelectSingle, useFormWatch: shouldUseFormWatch, }: EntitySelectorProps<T>): React$1.JSX.Element;
869
+ declare function EntitySelector<T extends BaseEntity>({ id, form, module, retriever, retrieverParams, ready, getLabel, label, placeholder: placeholderProp, emptyText, isRequired, disabled, description, onChange, onCreateNew, createNewLabel, toFormValue, getSelectedItemDisplay, renderOption, filterData, renderAfter, autoSelectSingle, useFormWatch: shouldUseFormWatch, }: EntitySelectorProps<T>): React$1.JSX.Element;
870
870
 
871
871
  type DirectionOptions = "rtl" | "ltr" | undefined;
872
872
  type FileUploaderContextType = {
@@ -2458,7 +2458,7 @@ declare const generateNotificationData: (params: {
2458
2458
  url?: string;
2459
2459
  taskId?: string;
2460
2460
  };
2461
- declare function NotificationToast(notification: NotificationInterface, t: any, generateUrl: any, reouter: any): {
2461
+ declare function NotificationToast(notification: NotificationInterface, t: any, generateUrl: any, reouter: any, locale?: string): {
2462
2462
  title: string;
2463
2463
  description: string | ReactElement<any>;
2464
2464
  action?: {
@@ -2809,7 +2809,7 @@ interface OAuthRedirectUriInputProps {
2809
2809
  * />
2810
2810
  * ```
2811
2811
  */
2812
- declare function OAuthRedirectUriInput({ value, onChange, error, disabled, label, }: OAuthRedirectUriInputProps): React$1.JSX.Element;
2812
+ declare function OAuthRedirectUriInput({ value, onChange, error, disabled, label: labelProp, }: OAuthRedirectUriInputProps): React$1.JSX.Element;
2813
2813
 
2814
2814
  interface OAuthScopeSelectorProps {
2815
2815
  /** Currently selected scopes */
@@ -2839,7 +2839,7 @@ interface OAuthScopeSelectorProps {
2839
2839
  * />
2840
2840
  * ```
2841
2841
  */
2842
- declare function OAuthScopeSelector({ value, onChange, availableScopes, disabled, error, label, }: OAuthScopeSelectorProps): React$1.JSX.Element;
2842
+ declare function OAuthScopeSelector({ value, onChange, availableScopes, disabled, error, label: labelProp, }: OAuthScopeSelectorProps): React$1.JSX.Element;
2843
2843
 
2844
2844
  interface OAuthClientSecretDisplayProps {
2845
2845
  /** The client secret to display */
@@ -2906,7 +2906,7 @@ interface OAuthClientListProps {
2906
2906
  /**
2907
2907
  * Component for displaying a list of OAuth clients
2908
2908
  */
2909
- declare function OAuthClientList({ clients, isLoading, error, onClientClick, onCreateClick, onEditClick, onDeleteClick, emptyStateMessage, title, }: OAuthClientListProps): React$1.JSX.Element;
2909
+ declare function OAuthClientList({ clients, isLoading, error, onClientClick, onCreateClick, onEditClick, onDeleteClick, emptyStateMessage: emptyStateMessageProp, title: titleProp, }: OAuthClientListProps): React$1.JSX.Element;
2910
2910
 
2911
2911
  interface OAuthClientFormProps {
2912
2912
  /** Existing client for edit mode (undefined = create mode) */
@@ -3160,7 +3160,10 @@ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<
3160
3160
  declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
3161
3161
  declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
3162
3162
  declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
3163
- declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
3163
+ declare function BreadcrumbEllipsis({ className, label, ...props }: React$1.ComponentProps<"span"> & {
3164
+ /** Screen-reader text. Plain prop (no lookup): this file has no "use client" and may render on the server. */
3165
+ label?: string;
3166
+ }): React$1.JSX.Element;
3164
3167
 
3165
3168
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
3166
3169
  buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
@@ -3199,8 +3202,14 @@ declare function useCarousel(): CarouselContextProps;
3199
3202
  declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): React$1.JSX.Element;
3200
3203
  declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3201
3204
  declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3202
- declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
3203
- declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
3205
+ declare function CarouselPrevious({ className, variant, size, label, ...props }: React$1.ComponentProps<typeof Button> & {
3206
+ /** Screen-reader name. Defaults to `ui.labels.previous_slide`, else "Previous slide". */
3207
+ label?: string;
3208
+ }): React$1.JSX.Element;
3209
+ declare function CarouselNext({ className, variant, size, label, ...props }: React$1.ComponentProps<typeof Button> & {
3210
+ /** Screen-reader name. Defaults to `ui.labels.next_slide`, else "Next slide". */
3211
+ label?: string;
3212
+ }): React$1.JSX.Element;
3204
3213
 
3205
3214
  declare const THEMES: {
3206
3215
  readonly light: "";
@@ -3308,12 +3317,16 @@ declare function DialogTrigger({ ...props }: Dialog$1.Trigger.Props): React$1.JS
3308
3317
  declare function DialogPortal({ ...props }: Dialog$1.Portal.Props): React$1.JSX.Element;
3309
3318
  declare function DialogClose({ ...props }: Dialog$1.Close.Props): React$1.JSX.Element;
3310
3319
  declare function DialogOverlay({ className, ...props }: Dialog$1.Backdrop.Props): React$1.JSX.Element;
3311
- declare function DialogContent({ className, children, showCloseButton, ...props }: Dialog$1.Popup.Props & {
3320
+ declare function DialogContent({ className, children, showCloseButton, closeLabel, ...props }: Dialog$1.Popup.Props & {
3312
3321
  showCloseButton?: boolean;
3322
+ /** Screen-reader name of the close button. Defaults to `ui.labels.close`, else "Close". */
3323
+ closeLabel?: string;
3313
3324
  }): React$1.JSX.Element;
3314
3325
  declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3315
- declare function DialogFooter({ className, showCloseButton, children, ...props }: React$1.ComponentProps<"div"> & {
3326
+ declare function DialogFooter({ className, showCloseButton, closeLabel, children, ...props }: React$1.ComponentProps<"div"> & {
3316
3327
  showCloseButton?: boolean;
3328
+ /** Text of the footer close button. Defaults to `ui.labels.close`, else "Close". */
3329
+ closeLabel?: string;
3317
3330
  }): React$1.JSX.Element;
3318
3331
  declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): React$1.JSX.Element;
3319
3332
  declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): React$1.JSX.Element;
@@ -3577,9 +3590,11 @@ type LogicalSide = PhysicalSide | "start" | "end";
3577
3590
  declare function Sheet({ ...props }: Dialog$1.Root.Props): React$1.JSX.Element;
3578
3591
  declare function SheetTrigger({ ...props }: Dialog$1.Trigger.Props): React$1.JSX.Element;
3579
3592
  declare function SheetClose({ ...props }: Dialog$1.Close.Props): React$1.JSX.Element;
3580
- declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog$1.Popup.Props & {
3593
+ declare function SheetContent({ className, children, side, showCloseButton, closeLabel, ...props }: Dialog$1.Popup.Props & {
3581
3594
  side?: LogicalSide;
3582
3595
  showCloseButton?: boolean;
3596
+ /** Screen-reader name of the close button. Defaults to `ui.labels.close`, else "Close". */
3597
+ closeLabel?: string;
3583
3598
  }): React$1.JSX.Element;
3584
3599
  declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3585
3600
  declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
@@ -3622,8 +3637,17 @@ declare function Sidebar({ side: sideProp, variant, collapsible, className, chil
3622
3637
  variant?: "sidebar" | "floating" | "inset";
3623
3638
  collapsible?: "offExamples" | "icon" | "none";
3624
3639
  }): React$1.JSX.Element;
3625
- declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
3626
- declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element;
3640
+ declare function SidebarTrigger({ className, onClick, label, ...props }: React$1.ComponentProps<typeof Button> & {
3641
+ /**
3642
+ * Accessible name of the toggle. Falls back to an explicit `aria-label`, then
3643
+ * `ui.labels.toggle_sidebar`, then "Toggle Sidebar".
3644
+ */
3645
+ label?: string;
3646
+ }): React$1.JSX.Element;
3647
+ declare function SidebarRail({ className, label, ...props }: React$1.ComponentProps<"button"> & {
3648
+ /** Accessible name and tooltip of the rail. Defaults to `ui.labels.toggle_sidebar`, else "Toggle Sidebar". */
3649
+ label?: string;
3650
+ }): React$1.JSX.Element;
3627
3651
  declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): React$1.JSX.Element;
3628
3652
  declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): React$1.JSX.Element;
3629
3653
  declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
@@ -3805,9 +3829,19 @@ interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
3805
3829
  value?: string[];
3806
3830
  /**
3807
3831
  * Placeholder text to be displayed when no values are selected.
3808
- * Optional, defaults to "Select options".
3832
+ * Optional, defaults to `ui.labels.select_options`, else "Select options".
3809
3833
  */
3810
3834
  placeholder?: string;
3835
+ /** Placeholder of the search input. Defaults to `ui.search.placeholder_global`, else "Search...". */
3836
+ searchPlaceholder?: string;
3837
+ /** Text of the select-all row. Defaults to `ui.labels.select_all`, else "(Select All)". */
3838
+ selectAllLabel?: string;
3839
+ /** Text of the clear row. Defaults to `ui.buttons.clear`, else "Clear". */
3840
+ clearLabel?: string;
3841
+ /** Text of the close row. Defaults to `ui.labels.close`, else "Close". */
3842
+ closeLabel?: string;
3843
+ /** Text of the overflow badge. Defaults to `ui.labels.more_count`, else "+ {count} more". */
3844
+ formatMoreLabel?: (count: number) => string;
3811
3845
  /**
3812
3846
  * Animation duration in seconds for the visual effects (e.g., bouncing badges).
3813
3847
  * Optional, defaults to 0 (no animation).
@@ -3841,12 +3875,12 @@ interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
3841
3875
  loading?: boolean;
3842
3876
  /**
3843
3877
  * Text to display when loading.
3844
- * Optional, defaults to "Searching...".
3878
+ * Optional, defaults to `ui.labels.searching`, else "Searching...".
3845
3879
  */
3846
3880
  loadingText?: string;
3847
3881
  /**
3848
3882
  * Text to display when no results are found.
3849
- * Optional, defaults to "No results found.".
3883
+ * Optional, defaults to `ui.search.no_results_found`, else "No results found.".
3850
3884
  */
3851
3885
  emptyText?: string;
3852
3886
  /**
@@ -3906,6 +3940,10 @@ interface MultipleSelectorProps {
3906
3940
  onMaxSelected?: (maxLimit: number) => void;
3907
3941
  /** Hide the placeholder when there are options selected. */
3908
3942
  hidePlaceholderWhenSelected?: boolean;
3943
+ /** Text of the creatable row. Defaults to `ui.labels.create_option`, else `Create "{value}"`. */
3944
+ formatCreateLabel?: (value: string) => string;
3945
+ /** Text of the overflow badge. Defaults to `ui.labels.more_count`, else "+{count} more". */
3946
+ formatMoreLabel?: (count: number) => string;
3909
3947
  disabled?: boolean;
3910
3948
  /** Group the options base on provided key. */
3911
3949
  groupBy?: string;
@@ -3,7 +3,7 @@ import React__default, { ReactNode, ReactElement, Dispatch, SetStateAction, Comp
3
3
  import { M as ModuleWithPermissions, A as Action } from '../types-bsm8Fp55.js';
4
4
  import { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, m as AiConnectionInterface, k as AiProviderRegistry, l as AiConnectionEnvDefaults, H as HandbookPageInterface, q as HandbookSectionInterface } from '../HandbookSectionInterface-OePKPbqN.js';
5
5
  export { h as AiConnection, i as AiConnectionFields, n as AiConnectionInput, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials } from '../HandbookSectionInterface-OePKPbqN.js';
6
- import { C as ContentInterface, N as NotificationInterface } from '../notification.interface-BNCvnVCW.js';
6
+ import { C as ContentInterface, N as NotificationInterface } from '../notification.interface-CmAGrijJ.js';
7
7
  import * as _blocknote_core from '@blocknote/core';
8
8
  import { BlockNoteEditor, PartialBlock } from '@blocknote/core';
9
9
  import { DefaultReactSuggestionItem, SuggestionMenuProps } from '@blocknote/react';
@@ -19,12 +19,12 @@ import * as react_hook_form from 'react-hook-form';
19
19
  import { FieldValues, UseFormReturn, Path, ControllerRenderProps, ControllerFieldState } from 'react-hook-form';
20
20
  import { DropzoneState, DropzoneOptions, FileRejection } from 'react-dropzone';
21
21
  export { DropzoneOptions } from 'react-dropzone';
22
- import { B as BreadcrumbItemData, a as HowToInterface, f as AssistantMessageInterface, b as AssistantInterface } from '../AssistantMessageInterface-CubxuBIJ.js';
22
+ import { B as BreadcrumbItemData, a as HowToInterface, f as AssistantMessageInterface, b as AssistantInterface } from '../AssistantMessageInterface-DHJJO_Z_.js';
23
23
  import { ColumnDef, ExpandedState } from '@tanstack/react-table';
24
24
  import { J as JsonApiHydratedDataInterface, A as ApiDataInterface } from '../ApiDataInterface-BcZeXy5X.js';
25
- import { b as AuthInterface } from '../auth.interface-BzI4onI_.js';
25
+ import { b as AuthInterface } from '../auth.interface-D1R7VVky.js';
26
26
  import { LucideIcon, Loader2Icon } from 'lucide-react';
27
- import { b as RoleInterface, U as UserInterface, a as CompanyInterface, C as CompanyInput } from '../user.interface-CrmwJLYW.js';
27
+ import { b as RoleInterface, U as UserInterface, a as CompanyInterface, C as CompanyInput } from '../user.interface-C0ZdsBZj.js';
28
28
  import z from 'zod';
29
29
  import { h as OnboardingCardRenderProps } from '../onboarding.interface-DVUOUC4y.js';
30
30
  import { e as OAuthScopeInfo, O as OAuthClientInterface, b as OAuthClientCreateRequest, d as OAuthConsentRequest } from '../oauth.interface-BZKZAPRw.js';
@@ -833,7 +833,7 @@ type EntityMultiSelectorProps<T extends {
833
833
  };
834
834
  declare function EntityMultiSelector<T extends {
835
835
  id: string;
836
- }>({ id, form, label, placeholder, emptyText, isRequired, retriever, retrieverParams, module, getLabel, toFormValue, getFormValueLabel, excludeId, onChange, renderOption, ready, description, disabled, }: EntityMultiSelectorProps<T>): React$1.JSX.Element;
836
+ }>({ id, form, label, placeholder: placeholderProp, emptyText: emptyTextProp, isRequired, retriever, retrieverParams, module, getLabel, toFormValue, getFormValueLabel, excludeId, onChange, renderOption, ready, description, disabled, }: EntityMultiSelectorProps<T>): React$1.JSX.Element;
837
837
 
838
838
  type BaseEntity = {
839
839
  id: string;
@@ -866,7 +866,7 @@ type EntitySelectorProps<T extends BaseEntity> = {
866
866
  autoSelectSingle?: boolean;
867
867
  useFormWatch?: boolean;
868
868
  };
869
- declare function EntitySelector<T extends BaseEntity>({ id, form, module, retriever, retrieverParams, ready, getLabel, label, placeholder, emptyText, isRequired, disabled, description, onChange, onCreateNew, createNewLabel, toFormValue, getSelectedItemDisplay, renderOption, filterData, renderAfter, autoSelectSingle, useFormWatch: shouldUseFormWatch, }: EntitySelectorProps<T>): React$1.JSX.Element;
869
+ declare function EntitySelector<T extends BaseEntity>({ id, form, module, retriever, retrieverParams, ready, getLabel, label, placeholder: placeholderProp, emptyText, isRequired, disabled, description, onChange, onCreateNew, createNewLabel, toFormValue, getSelectedItemDisplay, renderOption, filterData, renderAfter, autoSelectSingle, useFormWatch: shouldUseFormWatch, }: EntitySelectorProps<T>): React$1.JSX.Element;
870
870
 
871
871
  type DirectionOptions = "rtl" | "ltr" | undefined;
872
872
  type FileUploaderContextType = {
@@ -2458,7 +2458,7 @@ declare const generateNotificationData: (params: {
2458
2458
  url?: string;
2459
2459
  taskId?: string;
2460
2460
  };
2461
- declare function NotificationToast(notification: NotificationInterface, t: any, generateUrl: any, reouter: any): {
2461
+ declare function NotificationToast(notification: NotificationInterface, t: any, generateUrl: any, reouter: any, locale?: string): {
2462
2462
  title: string;
2463
2463
  description: string | ReactElement<any>;
2464
2464
  action?: {
@@ -2809,7 +2809,7 @@ interface OAuthRedirectUriInputProps {
2809
2809
  * />
2810
2810
  * ```
2811
2811
  */
2812
- declare function OAuthRedirectUriInput({ value, onChange, error, disabled, label, }: OAuthRedirectUriInputProps): React$1.JSX.Element;
2812
+ declare function OAuthRedirectUriInput({ value, onChange, error, disabled, label: labelProp, }: OAuthRedirectUriInputProps): React$1.JSX.Element;
2813
2813
 
2814
2814
  interface OAuthScopeSelectorProps {
2815
2815
  /** Currently selected scopes */
@@ -2839,7 +2839,7 @@ interface OAuthScopeSelectorProps {
2839
2839
  * />
2840
2840
  * ```
2841
2841
  */
2842
- declare function OAuthScopeSelector({ value, onChange, availableScopes, disabled, error, label, }: OAuthScopeSelectorProps): React$1.JSX.Element;
2842
+ declare function OAuthScopeSelector({ value, onChange, availableScopes, disabled, error, label: labelProp, }: OAuthScopeSelectorProps): React$1.JSX.Element;
2843
2843
 
2844
2844
  interface OAuthClientSecretDisplayProps {
2845
2845
  /** The client secret to display */
@@ -2906,7 +2906,7 @@ interface OAuthClientListProps {
2906
2906
  /**
2907
2907
  * Component for displaying a list of OAuth clients
2908
2908
  */
2909
- declare function OAuthClientList({ clients, isLoading, error, onClientClick, onCreateClick, onEditClick, onDeleteClick, emptyStateMessage, title, }: OAuthClientListProps): React$1.JSX.Element;
2909
+ declare function OAuthClientList({ clients, isLoading, error, onClientClick, onCreateClick, onEditClick, onDeleteClick, emptyStateMessage: emptyStateMessageProp, title: titleProp, }: OAuthClientListProps): React$1.JSX.Element;
2910
2910
 
2911
2911
  interface OAuthClientFormProps {
2912
2912
  /** Existing client for edit mode (undefined = create mode) */
@@ -3160,7 +3160,10 @@ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<
3160
3160
  declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
3161
3161
  declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
3162
3162
  declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
3163
- declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
3163
+ declare function BreadcrumbEllipsis({ className, label, ...props }: React$1.ComponentProps<"span"> & {
3164
+ /** Screen-reader text. Plain prop (no lookup): this file has no "use client" and may render on the server. */
3165
+ label?: string;
3166
+ }): React$1.JSX.Element;
3164
3167
 
3165
3168
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
3166
3169
  buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
@@ -3199,8 +3202,14 @@ declare function useCarousel(): CarouselContextProps;
3199
3202
  declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): React$1.JSX.Element;
3200
3203
  declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3201
3204
  declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3202
- declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
3203
- declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
3205
+ declare function CarouselPrevious({ className, variant, size, label, ...props }: React$1.ComponentProps<typeof Button> & {
3206
+ /** Screen-reader name. Defaults to `ui.labels.previous_slide`, else "Previous slide". */
3207
+ label?: string;
3208
+ }): React$1.JSX.Element;
3209
+ declare function CarouselNext({ className, variant, size, label, ...props }: React$1.ComponentProps<typeof Button> & {
3210
+ /** Screen-reader name. Defaults to `ui.labels.next_slide`, else "Next slide". */
3211
+ label?: string;
3212
+ }): React$1.JSX.Element;
3204
3213
 
3205
3214
  declare const THEMES: {
3206
3215
  readonly light: "";
@@ -3308,12 +3317,16 @@ declare function DialogTrigger({ ...props }: Dialog$1.Trigger.Props): React$1.JS
3308
3317
  declare function DialogPortal({ ...props }: Dialog$1.Portal.Props): React$1.JSX.Element;
3309
3318
  declare function DialogClose({ ...props }: Dialog$1.Close.Props): React$1.JSX.Element;
3310
3319
  declare function DialogOverlay({ className, ...props }: Dialog$1.Backdrop.Props): React$1.JSX.Element;
3311
- declare function DialogContent({ className, children, showCloseButton, ...props }: Dialog$1.Popup.Props & {
3320
+ declare function DialogContent({ className, children, showCloseButton, closeLabel, ...props }: Dialog$1.Popup.Props & {
3312
3321
  showCloseButton?: boolean;
3322
+ /** Screen-reader name of the close button. Defaults to `ui.labels.close`, else "Close". */
3323
+ closeLabel?: string;
3313
3324
  }): React$1.JSX.Element;
3314
3325
  declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3315
- declare function DialogFooter({ className, showCloseButton, children, ...props }: React$1.ComponentProps<"div"> & {
3326
+ declare function DialogFooter({ className, showCloseButton, closeLabel, children, ...props }: React$1.ComponentProps<"div"> & {
3316
3327
  showCloseButton?: boolean;
3328
+ /** Text of the footer close button. Defaults to `ui.labels.close`, else "Close". */
3329
+ closeLabel?: string;
3317
3330
  }): React$1.JSX.Element;
3318
3331
  declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): React$1.JSX.Element;
3319
3332
  declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): React$1.JSX.Element;
@@ -3577,9 +3590,11 @@ type LogicalSide = PhysicalSide | "start" | "end";
3577
3590
  declare function Sheet({ ...props }: Dialog$1.Root.Props): React$1.JSX.Element;
3578
3591
  declare function SheetTrigger({ ...props }: Dialog$1.Trigger.Props): React$1.JSX.Element;
3579
3592
  declare function SheetClose({ ...props }: Dialog$1.Close.Props): React$1.JSX.Element;
3580
- declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog$1.Popup.Props & {
3593
+ declare function SheetContent({ className, children, side, showCloseButton, closeLabel, ...props }: Dialog$1.Popup.Props & {
3581
3594
  side?: LogicalSide;
3582
3595
  showCloseButton?: boolean;
3596
+ /** Screen-reader name of the close button. Defaults to `ui.labels.close`, else "Close". */
3597
+ closeLabel?: string;
3583
3598
  }): React$1.JSX.Element;
3584
3599
  declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
3585
3600
  declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
@@ -3622,8 +3637,17 @@ declare function Sidebar({ side: sideProp, variant, collapsible, className, chil
3622
3637
  variant?: "sidebar" | "floating" | "inset";
3623
3638
  collapsible?: "offExamples" | "icon" | "none";
3624
3639
  }): React$1.JSX.Element;
3625
- declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
3626
- declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element;
3640
+ declare function SidebarTrigger({ className, onClick, label, ...props }: React$1.ComponentProps<typeof Button> & {
3641
+ /**
3642
+ * Accessible name of the toggle. Falls back to an explicit `aria-label`, then
3643
+ * `ui.labels.toggle_sidebar`, then "Toggle Sidebar".
3644
+ */
3645
+ label?: string;
3646
+ }): React$1.JSX.Element;
3647
+ declare function SidebarRail({ className, label, ...props }: React$1.ComponentProps<"button"> & {
3648
+ /** Accessible name and tooltip of the rail. Defaults to `ui.labels.toggle_sidebar`, else "Toggle Sidebar". */
3649
+ label?: string;
3650
+ }): React$1.JSX.Element;
3627
3651
  declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): React$1.JSX.Element;
3628
3652
  declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): React$1.JSX.Element;
3629
3653
  declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
@@ -3805,9 +3829,19 @@ interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
3805
3829
  value?: string[];
3806
3830
  /**
3807
3831
  * Placeholder text to be displayed when no values are selected.
3808
- * Optional, defaults to "Select options".
3832
+ * Optional, defaults to `ui.labels.select_options`, else "Select options".
3809
3833
  */
3810
3834
  placeholder?: string;
3835
+ /** Placeholder of the search input. Defaults to `ui.search.placeholder_global`, else "Search...". */
3836
+ searchPlaceholder?: string;
3837
+ /** Text of the select-all row. Defaults to `ui.labels.select_all`, else "(Select All)". */
3838
+ selectAllLabel?: string;
3839
+ /** Text of the clear row. Defaults to `ui.buttons.clear`, else "Clear". */
3840
+ clearLabel?: string;
3841
+ /** Text of the close row. Defaults to `ui.labels.close`, else "Close". */
3842
+ closeLabel?: string;
3843
+ /** Text of the overflow badge. Defaults to `ui.labels.more_count`, else "+ {count} more". */
3844
+ formatMoreLabel?: (count: number) => string;
3811
3845
  /**
3812
3846
  * Animation duration in seconds for the visual effects (e.g., bouncing badges).
3813
3847
  * Optional, defaults to 0 (no animation).
@@ -3841,12 +3875,12 @@ interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
3841
3875
  loading?: boolean;
3842
3876
  /**
3843
3877
  * Text to display when loading.
3844
- * Optional, defaults to "Searching...".
3878
+ * Optional, defaults to `ui.labels.searching`, else "Searching...".
3845
3879
  */
3846
3880
  loadingText?: string;
3847
3881
  /**
3848
3882
  * Text to display when no results are found.
3849
- * Optional, defaults to "No results found.".
3883
+ * Optional, defaults to `ui.search.no_results_found`, else "No results found.".
3850
3884
  */
3851
3885
  emptyText?: string;
3852
3886
  /**
@@ -3906,6 +3940,10 @@ interface MultipleSelectorProps {
3906
3940
  onMaxSelected?: (maxLimit: number) => void;
3907
3941
  /** Hide the placeholder when there are options selected. */
3908
3942
  hidePlaceholderWhenSelected?: boolean;
3943
+ /** Text of the creatable row. Defaults to `ui.labels.create_option`, else `Create "{value}"`. */
3944
+ formatCreateLabel?: (value: string) => string;
3945
+ /** Text of the overflow badge. Defaults to `ui.labels.more_count`, else "+{count} more". */
3946
+ formatMoreLabel?: (count: number) => string;
3909
3947
  disabled?: boolean;
3910
3948
  /** Group the options base on provided key. */
3911
3949
  groupBy?: string;