@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.
- package/dist/{AssistantMessageInterface-CubxuBIJ.d.ts → AssistantMessageInterface-DHJJO_Z_.d.ts} +1 -1
- package/dist/{AssistantMessageInterface-sHjI2zPN.d.mts → AssistantMessageInterface-S7oyERTT.d.mts} +1 -1
- package/dist/{BlockNoteEditor-VOYKZOP5.mjs → BlockNoteEditor-HXAHDJA7.mjs} +34 -27
- package/dist/BlockNoteEditor-HXAHDJA7.mjs.map +1 -0
- package/dist/{BlockNoteEditor-BENYTTCZ.js → BlockNoteEditor-LLCZDFLZ.js} +50 -43
- package/dist/BlockNoteEditor-LLCZDFLZ.js.map +1 -0
- package/dist/{BlockNoteViewer-USLR4Y7C.js → BlockNoteViewer-77CCTC2U.js} +3 -3
- package/dist/{BlockNoteViewer-USLR4Y7C.js.map → BlockNoteViewer-77CCTC2U.js.map} +1 -1
- package/dist/{BlockNoteViewer-Y2ZM4ESA.mjs → BlockNoteViewer-MDPO6BXN.mjs} +2 -2
- package/dist/{auth.interface-Df4vXbNz.d.mts → auth.interface-CeFCz9NU.d.mts} +1 -1
- package/dist/{auth.interface-BzI4onI_.d.ts → auth.interface-D1R7VVky.d.ts} +1 -1
- package/dist/billing/index.d.mts +40 -6
- package/dist/billing/index.d.ts +40 -6
- package/dist/billing/index.js +806 -774
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +494 -462
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-6ISF5KNQ.mjs → chunk-2VXDZRYY.mjs} +1103 -816
- package/dist/chunk-2VXDZRYY.mjs.map +1 -0
- package/dist/{chunk-4BZJ4LAB.js → chunk-4ORLPEK7.js} +136 -104
- package/dist/chunk-4ORLPEK7.js.map +1 -0
- package/dist/{chunk-ZZ6E33FO.mjs → chunk-6DRSSW5O.mjs} +36 -4
- package/dist/chunk-6DRSSW5O.mjs.map +1 -0
- package/dist/{chunk-KS6WZP2E.js → chunk-6SMJRAE3.js} +4 -4
- package/dist/{chunk-KS6WZP2E.js.map → chunk-6SMJRAE3.js.map} +1 -1
- package/dist/{chunk-WQ77CUUZ.js → chunk-GPXYQMOZ.js} +7 -7
- package/dist/{chunk-WQ77CUUZ.js.map → chunk-GPXYQMOZ.js.map} +1 -1
- package/dist/{chunk-46S3KPLU.mjs → chunk-ILFFC6BG.mjs} +2 -2
- package/dist/{chunk-HZVVRIJQ.mjs → chunk-IUS2RHCX.mjs} +2 -2
- package/dist/{chunk-F7RNBGHS.js → chunk-KJMMBUOA.js} +3 -3
- package/dist/{chunk-F7RNBGHS.js.map → chunk-KJMMBUOA.js.map} +1 -1
- package/dist/{chunk-ZO3QQ5CQ.mjs → chunk-MQDR6MEE.mjs} +2 -2
- package/dist/{chunk-ORU7KLCY.js → chunk-VDVIUDY5.js} +1445 -1158
- package/dist/chunk-VDVIUDY5.js.map +1 -0
- package/dist/client/index.d.mts +20 -6
- package/dist/client/index.d.ts +20 -6
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +5 -3
- package/dist/components/index.d.mts +59 -21
- package/dist/components/index.d.ts +59 -21
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/{config-CEAq4Ozy.d.mts → config-BP2vyddw.d.mts} +5 -0
- package/dist/{config-DydDHCfb.d.ts → config-BhW2QrRD.d.ts} +5 -0
- package/dist/contexts/index.d.mts +4 -4
- package/dist/contexts/index.d.ts +4 -4
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +17 -9
- package/dist/core/index.d.ts +17 -9
- package/dist/core/index.js +4 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +3 -1
- package/dist/features/analytics/index.d.mts +1 -1
- package/dist/features/analytics/index.d.ts +1 -1
- package/dist/features/analytics/index.js +122 -122
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/help/index.d.mts +1 -1
- package/dist/features/help/index.d.ts +1 -1
- package/dist/features/help/index.js +42 -40
- package/dist/features/help/index.js.map +1 -1
- package/dist/features/help/index.mjs +8 -6
- package/dist/features/help/index.mjs.map +1 -1
- package/dist/features/tokenusage/index.js +125 -125
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/{notification.interface-P_pNfzZQ.d.mts → notification.interface-BB6GPpZY.d.mts} +1 -1
- package/dist/{notification.interface-BNCvnVCW.d.ts → notification.interface-CmAGrijJ.d.ts} +1 -1
- package/dist/{s3.service-CbUa6a-8.d.ts → s3.service-C-4YpEMu.d.ts} +7 -3
- package/dist/{s3.service-DAp8FbuG.d.mts → s3.service-dVj-nxMl.d.mts} +7 -3
- package/dist/server/index.d.mts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/{useSocket-BHVIyigI.d.ts → useSocket-B0H9pmmH.d.ts} +1 -1
- package/dist/{useSocket-B9gTbuCj.d.mts → useSocket-B5RQb6v2.d.mts} +1 -1
- package/dist/{user.interface-CrmwJLYW.d.ts → user.interface-C0ZdsBZj.d.ts} +2 -0
- package/dist/{user.interface-CSaGWFbg.d.mts → user.interface-CIWGlbqM.d.mts} +2 -0
- package/package.json +1 -1
- package/src/components/containers/RoundPageContainer.tsx +3 -1
- package/src/components/containers/RoundPageContainerTitle.tsx +5 -2
- package/src/components/editors/BlockNoteEditor.tsx +31 -15
- package/src/components/editors/BlockNoteEditorAiActions.tsx +11 -7
- package/src/components/editors/__tests__/BlockNoteEditorAiActions.test.ts +10 -3
- package/src/components/errors/ErrorDetails.tsx +5 -2
- package/src/components/forms/CommonAssociationForm.tsx +1 -1
- package/src/components/forms/EntityMultiSelector.tsx +6 -2
- package/src/components/forms/EntitySelector.tsx +4 -1
- package/src/components/forms/FileUploader.tsx +3 -2
- package/src/components/forms/MultiFileUploader.tsx +3 -1
- package/src/components/navigations/Breadcrumb.tsx +3 -2
- package/src/components/navigations/Header.tsx +3 -1
- package/src/components/navigations/MobileNavigationBar.tsx +3 -1
- package/src/components/navigations/__tests__/Header.spec.tsx +2 -2
- package/src/components/tables/cells/cell.id.tsx +13 -2
- package/src/core/abstracts/AbstractService.ts +3 -3
- package/src/core/abstracts/ClientAbstractService.ts +3 -2
- package/src/features/assistant-action/components/ApprovalActionCard.tsx +74 -5
- package/src/features/assistant-action/components/__tests__/ApprovalActionCard.spec.tsx +81 -0
- package/src/features/assistant-message/components/parts/RelevanceMeter.tsx +4 -1
- package/src/features/assistant-message/components/parts/tabs/UsersTab.tsx +2 -1
- package/src/features/auth/components/buttons/GoogleSignInButton.tsx +4 -1
- package/src/features/auth/components/details/LandingComponent.tsx +1 -1
- package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
- package/src/features/auth/components/forms/Login.tsx +1 -1
- package/src/features/auth/components/forms/Register.tsx +1 -1
- package/src/features/auth/components/forms/ResetPassword.tsx +2 -2
- package/src/features/auth/components/two-factor/BackupCodesDialog.tsx +1 -1
- package/src/features/auth/components/two-factor/PasskeyButton.tsx +1 -1
- package/src/features/billing/components/cards/BillingUsageSummaryCard.tsx +21 -11
- package/src/features/billing/components/cards/CustomerInfoCard.tsx +16 -13
- package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +33 -21
- package/src/features/billing/components/cards/PaymentMethodSummaryCard.tsx +20 -10
- package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +35 -22
- package/src/features/billing/components/containers/BillingDashboardContainer.tsx +24 -24
- package/src/features/billing/components/utils/__tests__/billing-formatters.spec.ts +63 -0
- package/src/features/billing/components/utils/currency.ts +67 -10
- package/src/features/billing/components/utils/date.ts +9 -4
- package/src/features/billing/components/utils/format-options.ts +20 -0
- package/src/features/billing/components/utils/index.ts +3 -1
- package/src/features/billing/components/utils/useBillingFormatOptions.ts +11 -0
- package/src/features/billing/components/widgets/BillingAlertBanner.tsx +8 -9
- package/src/features/billing/contexts/PriceContext.tsx +18 -6
- package/src/features/billing/i18n-keys.ts +212 -0
- package/src/features/billing/stripe-customer/components/containers/PaymentMethodsContainer.tsx +8 -8
- package/src/features/billing/stripe-customer/components/details/PaymentMethodCard.tsx +11 -9
- package/src/features/billing/stripe-customer/components/forms/PaymentMethodEditor.tsx +4 -4
- package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +9 -7
- package/src/features/billing/stripe-invoice/components/containers/InvoicesContainer.tsx +10 -8
- package/src/features/billing/stripe-invoice/components/details/InvoiceDetails.tsx +34 -29
- package/src/features/billing/stripe-invoice/components/lists/InvoicesList.tsx +12 -9
- package/src/features/billing/stripe-invoice/components/widgets/InvoiceStatusBadge.tsx +9 -6
- package/src/features/billing/stripe-price/components/details/PriceDetails.tsx +4 -3
- package/src/features/billing/stripe-price/components/forms/PriceArchiver.tsx +3 -1
- package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +3 -1
- package/src/features/billing/stripe-price/hooks/useStripePriceTableStructure.tsx +6 -5
- package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +12 -7
- package/src/features/billing/stripe-promotion-code/data/stripe-promotion-code.service.ts +3 -1
- package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +10 -6
- package/src/features/billing/stripe-subscription/components/details/SubscriptionDetails.tsx +44 -29
- package/src/features/billing/stripe-subscription/components/forms/CancelSubscriptionDialog.tsx +14 -11
- package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +20 -17
- package/src/features/billing/stripe-subscription/components/widgets/IntervalToggle.tsx +4 -2
- package/src/features/billing/stripe-subscription/components/widgets/PricingCard.tsx +16 -7
- package/src/features/billing/stripe-subscription/components/widgets/ProductPricingList.tsx +3 -1
- package/src/features/billing/stripe-subscription/components/widgets/ProductPricingRow.tsx +3 -1
- package/src/features/billing/stripe-subscription/components/widgets/ProrationPreview.tsx +12 -7
- package/src/features/billing/stripe-subscription/components/widgets/SubscriptionConfirmation.tsx +11 -8
- package/src/features/billing/stripe-subscription/components/widgets/SubscriptionStatusBadge.tsx +13 -10
- package/src/features/billing/stripe-subscription/components/wizards/SubscriptionWizard.tsx +8 -6
- package/src/features/billing/stripe-subscription/components/wizards/WizardProgressIndicator.tsx +7 -4
- package/src/features/billing/stripe-subscription/components/wizards/WizardStepPaymentMethod.tsx +4 -2
- package/src/features/billing/stripe-subscription/components/wizards/WizardStepPlanSelection.tsx +3 -1
- package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +37 -28
- package/src/features/billing/stripe-subscription/hooks/useConfirmSubscriptionPayment.ts +9 -7
- package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +20 -9
- package/src/features/billing/stripe-usage/components/containers/UsageContainer.tsx +6 -6
- package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +24 -9
- package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +16 -12
- package/src/features/company/components/details/TokenStatusIndicator.tsx +7 -5
- package/src/features/company/components/forms/CompanyEditor.tsx +2 -2
- package/src/features/help/components/HelpArticleBody.tsx +1 -1
- package/src/features/help/components/HelpHeader.tsx +1 -1
- package/src/features/help/components/HelpSideNav.tsx +1 -1
- package/src/features/help/i18n-keys.ts +2 -0
- package/src/features/notification/components/common/NotificationErrorBoundary.tsx +17 -12
- package/src/features/notification/components/containers/NotificationsListContainer.tsx +4 -2
- package/src/features/notification/components/notifications/Notification.tsx +6 -3
- package/src/features/notification/contexts/NotificationContext.tsx +9 -4
- package/src/features/notification/contexts/__tests__/NotificationContext.spec.tsx +13 -0
- package/src/features/notification/hooks/useNotificationTableStructure.tsx +4 -2
- package/src/features/oauth/components/OAuthClientCard.tsx +13 -7
- package/src/features/oauth/components/OAuthClientDetail.tsx +34 -30
- package/src/features/oauth/components/OAuthClientForm.tsx +24 -24
- package/src/features/oauth/components/OAuthClientList.tsx +10 -6
- package/src/features/oauth/components/OAuthClientSecretDisplay.tsx +10 -8
- package/src/features/oauth/components/OAuthRedirectUriInput.tsx +9 -13
- package/src/features/oauth/components/OAuthScopeSelector.tsx +15 -6
- package/src/features/oauth/components/__tests__/OAuthClientForm.spec.tsx +11 -9
- package/src/features/oauth/components/consent/OAuthScopeList.tsx +4 -2
- package/src/features/oauth/hooks/__tests__/useOAuthScopeText.spec.ts +30 -0
- package/src/features/oauth/hooks/index.ts +1 -0
- package/src/features/oauth/hooks/useOAuthClient.ts +11 -5
- package/src/features/oauth/hooks/useOAuthClients.ts +9 -3
- package/src/features/oauth/hooks/useOAuthConsent.ts +11 -5
- package/src/features/oauth/hooks/useOAuthScopeText.ts +33 -0
- package/src/features/rbac/components/RbacByRoleContainer.tsx +7 -6
- package/src/features/rbac/components/RbacContainer.tsx +7 -6
- package/src/features/rbac/contexts/RbacContext.tsx +3 -3
- package/src/features/user/components/containers/UserContainer.tsx +3 -1
- package/src/features/user/data/__tests__/user.test.ts +66 -0
- package/src/features/user/data/user.interface.ts +2 -0
- package/src/features/user/data/user.service.ts +9 -0
- package/src/features/user/data/user.ts +7 -0
- package/src/features/waitlist/components/forms/WaitlistForm.tsx +1 -1
- package/src/features/waitlist/components/lists/WaitlistList.tsx +1 -1
- package/src/i18n/__tests__/config.test.ts +21 -1
- package/src/i18n/config.ts +13 -0
- package/src/i18n/index.ts +1 -0
- package/src/shadcnui/custom/multi-select.tsx +47 -14
- package/src/shadcnui/custom/multiple-selector.tsx +14 -2
- package/src/shadcnui/ui/__tests__/use-ui-text.test.tsx +76 -0
- package/src/shadcnui/ui/breadcrumb.tsx +9 -2
- package/src/shadcnui/ui/carousel.tsx +15 -4
- package/src/shadcnui/ui/dialog.tsx +15 -2
- package/src/shadcnui/ui/sheet.tsx +6 -1
- package/src/shadcnui/ui/sidebar.tsx +33 -7
- package/src/shadcnui/ui/spinner.tsx +6 -1
- package/src/shadcnui/ui/use-ui-text.ts +49 -0
- package/src/utils/__tests__/date-formatter.test.ts +24 -1
- package/src/utils/date-formatter.ts +16 -0
- package/src/utils/index.ts +1 -1
- package/dist/BlockNoteEditor-BENYTTCZ.js.map +0 -1
- package/dist/BlockNoteEditor-VOYKZOP5.mjs.map +0 -1
- package/dist/chunk-4BZJ4LAB.js.map +0 -1
- package/dist/chunk-6ISF5KNQ.mjs.map +0 -1
- package/dist/chunk-ORU7KLCY.js.map +0 -1
- package/dist/chunk-ZZ6E33FO.mjs.map +0 -1
- /package/dist/{BlockNoteViewer-Y2ZM4ESA.mjs.map → BlockNoteViewer-MDPO6BXN.mjs.map} +0 -0
- /package/dist/{chunk-46S3KPLU.mjs.map → chunk-ILFFC6BG.mjs.map} +0 -0
- /package/dist/{chunk-HZVVRIJQ.mjs.map → chunk-IUS2RHCX.mjs.map} +0 -0
- /package/dist/{chunk-ZO3QQ5CQ.mjs.map → chunk-MQDR6MEE.mjs.map} +0 -0
package/dist/client/index.d.mts
CHANGED
|
@@ -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-
|
|
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-
|
|
17
|
-
import { C as ContentInterface } from '../notification.interface-
|
|
18
|
-
import { b as RoleInterface, U as UserInterface } from '../user.interface-
|
|
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 };
|
package/dist/client/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
17
|
-
import { C as ContentInterface } from '../notification.interface-
|
|
18
|
-
import { b as RoleInterface, U as UserInterface } from '../user.interface-
|
|
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 };
|
package/dist/client/index.js
CHANGED
|
@@ -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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
package/dist/client/index.js.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/client/index.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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">
|
|
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>
|
|
3203
|
-
|
|
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>
|
|
3626
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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">
|
|
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>
|
|
3203
|
-
|
|
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>
|
|
3626
|
-
|
|
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;
|