@datatechsolutions/ui 3.5.0 → 3.6.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/astrlabe/contracts.d.mts +517 -0
- package/dist/astrlabe/contracts.d.ts +517 -0
- package/dist/astrlabe/graph-node.d.mts +28 -0
- package/dist/astrlabe/graph-node.d.ts +28 -0
- package/dist/astrlabe/index.d.mts +743 -0
- package/dist/astrlabe/index.d.ts +743 -0
- package/dist/astrlabe/index.js +108 -108
- package/dist/astrlabe/index.mjs +4 -4
- package/dist/astrlabe/utils.d.mts +60 -0
- package/dist/astrlabe/utils.d.ts +60 -0
- package/dist/astrlabe/workflow-canvas.d.mts +6 -0
- package/dist/astrlabe/workflow-canvas.d.ts +6 -0
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/astrlabe/workflow-preview-canvas.d.mts +10 -0
- package/dist/astrlabe/workflow-preview-canvas.d.ts +10 -0
- package/dist/billing-panel-DsHhhJqG.d.mts +18 -0
- package/dist/billing-panel-DsHhhJqG.d.ts +18 -0
- package/dist/brand/index.d.mts +71 -0
- package/dist/brand/index.d.ts +71 -0
- package/dist/{chunk-AVM53A3Y.js → chunk-3WXMBAGN.js} +46 -44
- package/dist/chunk-3WXMBAGN.js.map +1 -0
- package/dist/{chunk-NOHHZ6FM.mjs → chunk-4OFG6POC.mjs} +10 -6
- package/dist/chunk-4OFG6POC.mjs.map +1 -0
- package/dist/{chunk-QLFSJ6HK.mjs → chunk-7LILNZMR.mjs} +3 -3
- package/dist/{chunk-QLFSJ6HK.mjs.map → chunk-7LILNZMR.mjs.map} +1 -1
- package/dist/{chunk-NKXQYFS7.js → chunk-AMYQSPQC.js} +16 -16
- package/dist/{chunk-NKXQYFS7.js.map → chunk-AMYQSPQC.js.map} +1 -1
- package/dist/{chunk-2MJAHST4.mjs → chunk-DYWSG42B.mjs} +4 -4
- package/dist/{chunk-2MJAHST4.mjs.map → chunk-DYWSG42B.mjs.map} +1 -1
- package/dist/{chunk-NJ5RVWLA.mjs → chunk-ESLKQJQS.mjs} +4 -4
- package/dist/{chunk-NJ5RVWLA.mjs.map → chunk-ESLKQJQS.mjs.map} +1 -1
- package/dist/{chunk-AWDH6WNA.js → chunk-GCYYGSHU.js} +10 -6
- package/dist/chunk-GCYYGSHU.js.map +1 -0
- package/dist/{chunk-UHMAKUON.mjs → chunk-HGWVJ3VB.mjs} +21 -21
- package/dist/{chunk-UHMAKUON.mjs.map → chunk-HGWVJ3VB.mjs.map} +1 -1
- package/dist/{chunk-4PFU6A2B.mjs → chunk-I63NFWIA.mjs} +3 -3
- package/dist/{chunk-4PFU6A2B.mjs.map → chunk-I63NFWIA.mjs.map} +1 -1
- package/dist/{chunk-QPSHM2JQ.mjs → chunk-IHHGT3LP.mjs} +19 -19
- package/dist/{chunk-QPSHM2JQ.mjs.map → chunk-IHHGT3LP.mjs.map} +1 -1
- package/dist/{chunk-6W7VTZG6.mjs → chunk-JQYDJ75Q.mjs} +3 -3
- package/dist/{chunk-6W7VTZG6.mjs.map → chunk-JQYDJ75Q.mjs.map} +1 -1
- package/dist/{chunk-V5VBYOF5.js → chunk-LVK7VXW7.js} +54 -54
- package/dist/{chunk-V5VBYOF5.js.map → chunk-LVK7VXW7.js.map} +1 -1
- package/dist/{chunk-7CEZB3ZD.mjs → chunk-MRRFDIUQ.mjs} +3 -3
- package/dist/{chunk-7CEZB3ZD.mjs.map → chunk-MRRFDIUQ.mjs.map} +1 -1
- package/dist/{chunk-A7FI4K7Z.js → chunk-NJZIE4EH.js} +5 -5
- package/dist/{chunk-A7FI4K7Z.js.map → chunk-NJZIE4EH.js.map} +1 -1
- package/dist/{chunk-P43PX75J.js → chunk-P5F257N3.js} +33 -33
- package/dist/{chunk-P43PX75J.js.map → chunk-P5F257N3.js.map} +1 -1
- package/dist/{chunk-BVXATTTA.js → chunk-QHP2MR2F.js} +4 -4
- package/dist/{chunk-BVXATTTA.js.map → chunk-QHP2MR2F.js.map} +1 -1
- package/dist/{chunk-CY2MBKVG.js → chunk-QRNFTG6A.js} +4 -4
- package/dist/{chunk-CY2MBKVG.js.map → chunk-QRNFTG6A.js.map} +1 -1
- package/dist/{chunk-OASC7NYV.mjs → chunk-QTA5I6FC.mjs} +3 -3
- package/dist/{chunk-OASC7NYV.mjs.map → chunk-QTA5I6FC.mjs.map} +1 -1
- package/dist/{chunk-QSMPKL27.js → chunk-S7AV6XEY.js} +74 -74
- package/dist/{chunk-QSMPKL27.js.map → chunk-S7AV6XEY.js.map} +1 -1
- package/dist/{chunk-VMGNQFRO.js → chunk-UGJZ3M4Q.js} +53 -53
- package/dist/{chunk-VMGNQFRO.js.map → chunk-UGJZ3M4Q.js.map} +1 -1
- package/dist/{chunk-5BEVTOZV.mjs → chunk-UOABOFKO.mjs} +4 -4
- package/dist/{chunk-5BEVTOZV.mjs.map → chunk-UOABOFKO.mjs.map} +1 -1
- package/dist/{chunk-74MHWEDC.js → chunk-UWSMHKOF.js} +161 -161
- package/dist/{chunk-74MHWEDC.js.map → chunk-UWSMHKOF.js.map} +1 -1
- package/dist/{chunk-ZM2Q2SMC.mjs → chunk-VDLAZR7S.mjs} +3 -3
- package/dist/{chunk-ZM2Q2SMC.mjs.map → chunk-VDLAZR7S.mjs.map} +1 -1
- package/dist/{chunk-FK3WDELF.js → chunk-VPOIX2DY.js} +40 -40
- package/dist/{chunk-FK3WDELF.js.map → chunk-VPOIX2DY.js.map} +1 -1
- package/dist/{chunk-IOEQ2GET.mjs → chunk-VUAGVZJM.mjs} +4 -4
- package/dist/{chunk-IOEQ2GET.mjs.map → chunk-VUAGVZJM.mjs.map} +1 -1
- package/dist/{chunk-Z7VY5M4T.js → chunk-W5YCZOXO.js} +77 -77
- package/dist/{chunk-Z7VY5M4T.js.map → chunk-W5YCZOXO.js.map} +1 -1
- package/dist/{chunk-C4NRF2G2.js → chunk-WBEZATIB.js} +13 -13
- package/dist/{chunk-C4NRF2G2.js.map → chunk-WBEZATIB.js.map} +1 -1
- package/dist/{chunk-6V3DUBOZ.mjs → chunk-WEZ722BS.mjs} +7 -7
- package/dist/{chunk-6V3DUBOZ.mjs.map → chunk-WEZ722BS.mjs.map} +1 -1
- package/dist/{chunk-3OLYSMI5.mjs → chunk-XTXLRQ3H.mjs} +24 -22
- package/dist/chunk-XTXLRQ3H.mjs.map +1 -0
- package/dist/{chunk-5I7F7KZ6.js → chunk-YOJIPZ72.js} +10 -10
- package/dist/{chunk-5I7F7KZ6.js.map → chunk-YOJIPZ72.js.map} +1 -1
- package/dist/{chunk-NCDBNGIB.js → chunk-YTE6WCBX.js} +76 -76
- package/dist/{chunk-NCDBNGIB.js.map → chunk-YTE6WCBX.js.map} +1 -1
- package/dist/{chunk-7UHV6A4C.mjs → chunk-ZYVDDSAC.mjs} +6 -6
- package/dist/{chunk-7UHV6A4C.mjs.map → chunk-ZYVDDSAC.mjs.map} +1 -1
- package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +17 -0
- package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +17 -0
- package/dist/index-BNRGVAS5.d.mts +222 -0
- package/dist/index-BoebbJ44.d.mts +49 -0
- package/dist/index-BoebbJ44.d.ts +49 -0
- package/dist/index-CnCY-b5V.d.ts +222 -0
- package/dist/index.d.mts +5310 -0
- package/dist/index.d.ts +5310 -0
- package/dist/index.js +721 -721
- package/dist/index.mjs +2 -2
- package/dist/layout-engine-YZcVr20M.d.mts +19 -0
- package/dist/layout-engine-YZcVr20M.d.ts +19 -0
- package/dist/lib/i18n-context.d.mts +36 -0
- package/dist/lib/i18n-context.d.ts +36 -0
- package/dist/lib/router-context.d.mts +35 -0
- package/dist/lib/router-context.d.ts +35 -0
- package/dist/navigation-BiWVffAN.d.mts +49 -0
- package/dist/navigation-BiWVffAN.d.ts +49 -0
- package/dist/platform/admin/index.d.mts +17 -0
- package/dist/platform/admin/index.d.ts +17 -0
- package/dist/platform/admin/index.js +11 -11
- package/dist/platform/admin/index.mjs +5 -5
- package/dist/platform/agents-workspace.d.mts +19 -0
- package/dist/platform/agents-workspace.d.ts +19 -0
- package/dist/platform/agents-workspace.js +7 -7
- package/dist/platform/agents-workspace.mjs +6 -6
- package/dist/platform/app-shell.d.mts +58 -0
- package/dist/platform/app-shell.d.ts +58 -0
- package/dist/platform/app-shell.js +4 -4
- package/dist/platform/app-shell.mjs +3 -3
- package/dist/platform/auth/index.d.mts +73 -0
- package/dist/platform/auth/index.d.ts +73 -0
- package/dist/platform/auth/index.js +28 -28
- package/dist/platform/auth/index.mjs +5 -5
- package/dist/platform/billing/index.d.mts +29 -0
- package/dist/platform/billing/index.d.ts +29 -0
- package/dist/platform/billing/index.js +4 -4
- package/dist/platform/billing/index.mjs +3 -3
- package/dist/platform/impersonation/index.d.mts +19 -0
- package/dist/platform/impersonation/index.d.ts +19 -0
- package/dist/platform/impersonation/index.js +4 -4
- package/dist/platform/impersonation/index.mjs +3 -3
- package/dist/platform/index.d.mts +188 -0
- package/dist/platform/index.d.ts +188 -0
- package/dist/platform/index.js +89 -89
- package/dist/platform/index.mjs +19 -19
- package/dist/platform/pages/index.d.mts +441 -0
- package/dist/platform/pages/index.d.ts +441 -0
- package/dist/platform/pages/index.js +326 -302
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +148 -124
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/rbac.d.mts +42 -0
- package/dist/platform/rbac.d.ts +42 -0
- package/dist/platform/settings/index.d.mts +31 -0
- package/dist/platform/settings/index.d.ts +31 -0
- package/dist/platform/settings/index.js +8 -8
- package/dist/platform/settings/index.mjs +7 -7
- package/dist/platform/telemetry/index.d.mts +51 -0
- package/dist/platform/telemetry/index.d.ts +51 -0
- package/dist/platform/utils/index.d.mts +32 -0
- package/dist/platform/utils/index.d.ts +32 -0
- package/dist/platform/windsock-admin-client.d.mts +57 -0
- package/dist/platform/windsock-admin-client.d.ts +57 -0
- package/dist/platform/workflow-api-client.d.mts +6 -0
- package/dist/platform/workflow-api-client.d.ts +6 -0
- package/dist/platform/workflow-canvas-shell.d.mts +18 -0
- package/dist/platform/workflow-canvas-shell.d.ts +18 -0
- package/dist/platform/workflow-canvas-shell.js +5 -5
- package/dist/platform/workflow-canvas-shell.mjs +4 -4
- package/dist/rule-form-BYJzyork.d.mts +128 -0
- package/dist/rule-form-BYJzyork.d.ts +128 -0
- package/dist/workflow-api-client-CpFl3WcG.d.mts +468 -0
- package/dist/workflow-api-client-uLICOanv.d.ts +468 -0
- package/dist/workflow-canvas--qaYKuMm.d.ts +113 -0
- package/dist/workflow-canvas-B80fmD_n.d.mts +113 -0
- package/dist/workflow-store-o17I6L6A.d.ts +79 -0
- package/dist/workflow-store-ppVHdMZi.d.mts +79 -0
- package/package.json +1 -1
- package/dist/chunk-3OLYSMI5.mjs.map +0 -1
- package/dist/chunk-AVM53A3Y.js.map +0 -1
- package/dist/chunk-AWDH6WNA.js.map +0 -1
- package/dist/chunk-NOHHZ6FM.mjs.map +0 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, ComponentType } from 'react';
|
|
3
|
+
import { N as NavigationItem } from '../navigation-BiWVffAN.js';
|
|
4
|
+
|
|
5
|
+
type PlatformAppShellProps = {
|
|
6
|
+
/** App display name (e.g. "Astrlabe"). */
|
|
7
|
+
appName: string;
|
|
8
|
+
/** Tailwind gradient classes for the shell branding (e.g. "from-sky-500 to-indigo-600"). */
|
|
9
|
+
appGradient: string;
|
|
10
|
+
/** Branded logo node rendered inside the flyout trigger. */
|
|
11
|
+
appLogo: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Optional app icon for the branded loader (defaults to the platform's
|
|
14
|
+
* RectangleStackIcon if omitted).
|
|
15
|
+
*/
|
|
16
|
+
appIcon?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Optional override for the dock dashboard icon (defaults to HomeIcon).
|
|
19
|
+
*/
|
|
20
|
+
dashboardIcon?: ComponentType<{
|
|
21
|
+
className?: string;
|
|
22
|
+
}>;
|
|
23
|
+
/** App-specific navigation items already pre-translated. */
|
|
24
|
+
navigationItems: NavigationItem[];
|
|
25
|
+
/** Custom ordering of launchpad page tiles. */
|
|
26
|
+
pageOrder: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Map of navigation/module ID → required permission name. The shell
|
|
29
|
+
* filters `navigationItems` so that any item whose ID has an entry here
|
|
30
|
+
* is hidden unless `hasPermission` returns true for the listed permission.
|
|
31
|
+
*/
|
|
32
|
+
modulePermissions: Record<string, string>;
|
|
33
|
+
/**
|
|
34
|
+
* Permission predicate, typically `(p) => can(actor, p)` from each app's
|
|
35
|
+
* `createPlatformRbac()` factory.
|
|
36
|
+
*/
|
|
37
|
+
hasPermission: (permission: string) => boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Optional settings/profile drawer content (e.g. an app-specific
|
|
40
|
+
* `<SettingsModal>`). Receives the open state + close handler the shell
|
|
41
|
+
* manages internally so the drawer renders inside the shell chrome.
|
|
42
|
+
*/
|
|
43
|
+
settingsModal?: (props: {
|
|
44
|
+
open: boolean;
|
|
45
|
+
onClose: () => void;
|
|
46
|
+
}) => ReactNode;
|
|
47
|
+
children: ReactNode;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Cross-app platform shell — wires `<PlatformShell>` from ui to windsock's
|
|
51
|
+
* auth + preferences hooks and to ui's i18n/router contexts. Each app
|
|
52
|
+
* passes its own logo, gradient, navigation, and permission predicate; the
|
|
53
|
+
* rest of the chrome (header, dock, flyout, sign-out confirm modal) is
|
|
54
|
+
* shared.
|
|
55
|
+
*/
|
|
56
|
+
declare function PlatformAppShell({ appName, appGradient, appLogo, appIcon, dashboardIcon, navigationItems, pageOrder, modulePermissions, hasPermission, settingsModal, children, }: PlatformAppShellProps): react_jsx_runtime.JSX.Element;
|
|
57
|
+
|
|
58
|
+
export { PlatformAppShell, type PlatformAppShellProps };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkYOJIPZ72_js = require('../chunk-YOJIPZ72.js');
|
|
5
|
+
require('../chunk-GCYYGSHU.js');
|
|
6
6
|
require('../chunk-UZ3CMNUJ.js');
|
|
7
|
+
require('../chunk-YXN2K77G.js');
|
|
7
8
|
require('../chunk-S7KHTUHA.js');
|
|
8
9
|
require('../chunk-SY4MUT5V.js');
|
|
9
10
|
require('../chunk-2OZZH2IO.js');
|
|
10
|
-
require('../chunk-YXN2K77G.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "PlatformAppShell", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkYOJIPZ72_js.PlatformAppShell; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=app-shell.js.map
|
|
19
19
|
//# sourceMappingURL=app-shell.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { PlatformAppShell } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { PlatformAppShell } from '../chunk-UOABOFKO.mjs';
|
|
3
|
+
import '../chunk-4OFG6POC.mjs';
|
|
4
4
|
import '../chunk-D2JF6C3E.mjs';
|
|
5
|
+
import '../chunk-7VJ7CMMT.mjs';
|
|
5
6
|
import '../chunk-QWG2FMUN.mjs';
|
|
6
7
|
import '../chunk-RHRJXK5R.mjs';
|
|
7
8
|
import '../chunk-3AY5HIQ6.mjs';
|
|
8
|
-
import '../chunk-7VJ7CMMT.mjs';
|
|
9
9
|
//# sourceMappingURL=app-shell.mjs.map
|
|
10
10
|
//# sourceMappingURL=app-shell.mjs.map
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { SignInProps, SignUpProps, ForgotPasswordProps, ResetPasswordProps, VerifyEmailProps, PasswordlessSignInProps, MfaChallengeProps, MfaSetupProps, MfaManageProps, ConsentScreenProps, SsoEmailFormProps, SsoConnectorListProps, UserButtonProps, ProfileTabContentProps, UserProfileProps } from '@datatechsolutions/shared-domain';
|
|
3
|
+
export { ConsentScreenProps, ForgotPasswordProps, MfaChallengeProps, MfaManageProps, MfaSetupProps, PasswordlessSignInProps, ResetPasswordProps, SignInProps, SignUpProps, SsoConnector, SsoConnectorListProps, SsoEmailFormProps, UserButtonProps, UserProfileProps, VerifyEmailProps } from '@datatechsolutions/shared-domain';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare function SignIn({ onSuccess, onSignUp, onForgotPassword, onPasswordless, socialProviders, allowPasswordless, defaultEmail, embedded, heroPanel, }: SignInProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
declare function SignUp({ onSuccess, onSignIn, socialProviders, passwordPolicy, embedded, heroPanel, }: SignUpProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
declare function ForgotPassword({ onSuccess, onBack, defaultEmail, embedded, }: ForgotPasswordProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare function ResetPassword({ token, onSuccess, passwordPolicy, embedded, }: ResetPasswordProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
|
|
14
|
+
declare function VerifyEmail({ email, onSuccess, onResend, embedded, }: VerifyEmailProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
declare function PasswordlessSignIn({ defaultMethod, allowedChannels, onSuccess, onBack, defaultEmail, embedded, }: PasswordlessSignInProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare function MfaChallenge({ mfaToken, onSuccess, onCancel, availableMethods, embedded, }: MfaChallengeProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
declare function MfaSetup({ onSuccess, onCancel, enforcement, onGenerateSecret, onVerifySetup, }: MfaSetupProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function MfaManage({ mfaEnabled, enrolledMethods, onEnroll, onDisable, onRegenerateBackupCodes, }: MfaManageProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
declare function ConsentScreen({ application, scopes, grantedScopes, onApprove, onDeny, isSubmitting, }: ConsentScreenProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare function SsoEmailForm({ onEmailSubmit, onConnectorSelect, defaultEmail, embedded, }: SsoEmailFormProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
|
|
28
|
+
declare function SsoConnectorList({ connectors, onSelect, loading }: SsoConnectorListProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare function UserButton({ menuItems, onSignOut, avatarUrl, labels }: UserButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
31
|
+
|
|
32
|
+
declare function ProfileTabContent({ onProfileUpdate }: ProfileTabContentProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare function SecurityTabContent(): react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare function SessionsTabContent(): react_jsx_runtime.JSX.Element;
|
|
35
|
+
declare function LinkedAccountsTabContent(): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare function UserProfile({ defaultTab, tabs, onSignOut: _onSignOut, onProfileUpdate, }: UserProfileProps): react_jsx_runtime.JSX.Element | null;
|
|
37
|
+
|
|
38
|
+
type SocialProvider = 'google' | 'github' | 'discord' | 'microsoft' | 'apple' | 'amazon';
|
|
39
|
+
interface OtpInputProps {
|
|
40
|
+
value: string;
|
|
41
|
+
onChange: (value: string) => void;
|
|
42
|
+
onComplete?: (code: string) => void;
|
|
43
|
+
error?: string;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
autoFocus?: boolean;
|
|
46
|
+
length?: number;
|
|
47
|
+
}
|
|
48
|
+
declare function OtpInput({ value, onChange, onComplete, error, disabled, autoFocus, length, }: OtpInputProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
interface PasswordStrengthMeterProps {
|
|
50
|
+
password: string;
|
|
51
|
+
policy?: unknown;
|
|
52
|
+
showRequirements?: boolean;
|
|
53
|
+
}
|
|
54
|
+
declare function PasswordStrengthMeter({ password, showRequirements, }: PasswordStrengthMeterProps): react_jsx_runtime.JSX.Element | null;
|
|
55
|
+
interface BackupCodeGridProps {
|
|
56
|
+
codes: string[];
|
|
57
|
+
revealed?: boolean;
|
|
58
|
+
}
|
|
59
|
+
declare function BackupCodeGrid({ codes, revealed }: BackupCodeGridProps): react_jsx_runtime.JSX.Element;
|
|
60
|
+
interface AuthLayoutProps {
|
|
61
|
+
children: ReactNode;
|
|
62
|
+
heroPanel?: unknown;
|
|
63
|
+
}
|
|
64
|
+
declare function AuthLayout({ children }: AuthLayoutProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
interface SocialLoginButtonsProps {
|
|
66
|
+
providers: SocialProvider[];
|
|
67
|
+
onProviderClick: (provider: SocialProvider) => void;
|
|
68
|
+
loading?: SocialProvider | null;
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
}
|
|
71
|
+
declare function SocialLoginButtons({ providers, onProviderClick, loading, disabled, }: SocialLoginButtonsProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
export { AuthLayout, type AuthLayoutProps, BackupCodeGrid, type BackupCodeGridProps, ConsentScreen, ForgotPassword, LinkedAccountsTabContent, MfaChallenge, MfaManage, MfaSetup, OtpInput, type OtpInputProps, PasswordStrengthMeter, type PasswordStrengthMeterProps, PasswordlessSignIn, ProfileTabContent, ResetPassword, SecurityTabContent, SessionsTabContent, SignIn, SignUp, SocialLoginButtons, type SocialLoginButtonsProps, type SocialProvider, SsoConnectorList, SsoEmailForm, UserButton, UserProfile, VerifyEmail };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { SignInProps, SignUpProps, ForgotPasswordProps, ResetPasswordProps, VerifyEmailProps, PasswordlessSignInProps, MfaChallengeProps, MfaSetupProps, MfaManageProps, ConsentScreenProps, SsoEmailFormProps, SsoConnectorListProps, UserButtonProps, ProfileTabContentProps, UserProfileProps } from '@datatechsolutions/shared-domain';
|
|
3
|
+
export { ConsentScreenProps, ForgotPasswordProps, MfaChallengeProps, MfaManageProps, MfaSetupProps, PasswordlessSignInProps, ResetPasswordProps, SignInProps, SignUpProps, SsoConnector, SsoConnectorListProps, SsoEmailFormProps, UserButtonProps, UserProfileProps, VerifyEmailProps } from '@datatechsolutions/shared-domain';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare function SignIn({ onSuccess, onSignUp, onForgotPassword, onPasswordless, socialProviders, allowPasswordless, defaultEmail, embedded, heroPanel, }: SignInProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
declare function SignUp({ onSuccess, onSignIn, socialProviders, passwordPolicy, embedded, heroPanel, }: SignUpProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
declare function ForgotPassword({ onSuccess, onBack, defaultEmail, embedded, }: ForgotPasswordProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
declare function ResetPassword({ token, onSuccess, passwordPolicy, embedded, }: ResetPasswordProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
|
|
14
|
+
declare function VerifyEmail({ email, onSuccess, onResend, embedded, }: VerifyEmailProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
|
|
16
|
+
declare function PasswordlessSignIn({ defaultMethod, allowedChannels, onSuccess, onBack, defaultEmail, embedded, }: PasswordlessSignInProps): react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare function MfaChallenge({ mfaToken, onSuccess, onCancel, availableMethods, embedded, }: MfaChallengeProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
declare function MfaSetup({ onSuccess, onCancel, enforcement, onGenerateSecret, onVerifySetup, }: MfaSetupProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
declare function MfaManage({ mfaEnabled, enrolledMethods, onEnroll, onDisable, onRegenerateBackupCodes, }: MfaManageProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
declare function ConsentScreen({ application, scopes, grantedScopes, onApprove, onDeny, isSubmitting, }: ConsentScreenProps): react_jsx_runtime.JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare function SsoEmailForm({ onEmailSubmit, onConnectorSelect, defaultEmail, embedded, }: SsoEmailFormProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
|
|
28
|
+
declare function SsoConnectorList({ connectors, onSelect, loading }: SsoConnectorListProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare function UserButton({ menuItems, onSignOut, avatarUrl, labels }: UserButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
31
|
+
|
|
32
|
+
declare function ProfileTabContent({ onProfileUpdate }: ProfileTabContentProps): react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare function SecurityTabContent(): react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare function SessionsTabContent(): react_jsx_runtime.JSX.Element;
|
|
35
|
+
declare function LinkedAccountsTabContent(): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare function UserProfile({ defaultTab, tabs, onSignOut: _onSignOut, onProfileUpdate, }: UserProfileProps): react_jsx_runtime.JSX.Element | null;
|
|
37
|
+
|
|
38
|
+
type SocialProvider = 'google' | 'github' | 'discord' | 'microsoft' | 'apple' | 'amazon';
|
|
39
|
+
interface OtpInputProps {
|
|
40
|
+
value: string;
|
|
41
|
+
onChange: (value: string) => void;
|
|
42
|
+
onComplete?: (code: string) => void;
|
|
43
|
+
error?: string;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
autoFocus?: boolean;
|
|
46
|
+
length?: number;
|
|
47
|
+
}
|
|
48
|
+
declare function OtpInput({ value, onChange, onComplete, error, disabled, autoFocus, length, }: OtpInputProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
interface PasswordStrengthMeterProps {
|
|
50
|
+
password: string;
|
|
51
|
+
policy?: unknown;
|
|
52
|
+
showRequirements?: boolean;
|
|
53
|
+
}
|
|
54
|
+
declare function PasswordStrengthMeter({ password, showRequirements, }: PasswordStrengthMeterProps): react_jsx_runtime.JSX.Element | null;
|
|
55
|
+
interface BackupCodeGridProps {
|
|
56
|
+
codes: string[];
|
|
57
|
+
revealed?: boolean;
|
|
58
|
+
}
|
|
59
|
+
declare function BackupCodeGrid({ codes, revealed }: BackupCodeGridProps): react_jsx_runtime.JSX.Element;
|
|
60
|
+
interface AuthLayoutProps {
|
|
61
|
+
children: ReactNode;
|
|
62
|
+
heroPanel?: unknown;
|
|
63
|
+
}
|
|
64
|
+
declare function AuthLayout({ children }: AuthLayoutProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
interface SocialLoginButtonsProps {
|
|
66
|
+
providers: SocialProvider[];
|
|
67
|
+
onProviderClick: (provider: SocialProvider) => void;
|
|
68
|
+
loading?: SocialProvider | null;
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
}
|
|
71
|
+
declare function SocialLoginButtons({ providers, onProviderClick, loading, disabled, }: SocialLoginButtonsProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
export { AuthLayout, type AuthLayoutProps, BackupCodeGrid, type BackupCodeGridProps, ConsentScreen, ForgotPassword, LinkedAccountsTabContent, MfaChallenge, MfaManage, MfaSetup, OtpInput, type OtpInputProps, PasswordStrengthMeter, type PasswordStrengthMeterProps, PasswordlessSignIn, ProfileTabContent, ResetPassword, SecurityTabContent, SessionsTabContent, SignIn, SignUp, SocialLoginButtons, type SocialLoginButtonsProps, type SocialProvider, SsoConnectorList, SsoEmailForm, UserButton, UserProfile, VerifyEmail };
|
|
@@ -1,109 +1,109 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
4
|
+
var chunkW5YCZOXO_js = require('../../chunk-W5YCZOXO.js');
|
|
5
|
+
var chunkYTE6WCBX_js = require('../../chunk-YTE6WCBX.js');
|
|
6
|
+
var chunkQRNFTG6A_js = require('../../chunk-QRNFTG6A.js');
|
|
7
|
+
require('../../chunk-GCYYGSHU.js');
|
|
8
8
|
require('../../chunk-UZ3CMNUJ.js');
|
|
9
|
+
require('../../chunk-YXN2K77G.js');
|
|
9
10
|
require('../../chunk-S7KHTUHA.js');
|
|
10
11
|
require('../../chunk-SY4MUT5V.js');
|
|
11
12
|
require('../../chunk-2OZZH2IO.js');
|
|
12
|
-
require('../../chunk-YXN2K77G.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "ConsentScreen", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkW5YCZOXO_js.ConsentScreen; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ForgotPassword", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkW5YCZOXO_js.ForgotPassword; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "MfaChallenge", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkW5YCZOXO_js.MfaChallenge; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "PasswordlessSignIn", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkW5YCZOXO_js.PasswordlessSignIn; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ResetPassword", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkW5YCZOXO_js.ResetPassword; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "SignIn", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkW5YCZOXO_js.SignIn; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "SignUp", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkW5YCZOXO_js.SignUp; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "SsoConnectorList", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkW5YCZOXO_js.SsoConnectorList; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "SsoEmailForm", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkW5YCZOXO_js.SsoEmailForm; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "UserButton", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkW5YCZOXO_js.UserButton; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "VerifyEmail", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkW5YCZOXO_js.VerifyEmail; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "LinkedAccountsTabContent", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkYTE6WCBX_js.LinkedAccountsTabContent; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "MfaManage", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkYTE6WCBX_js.MfaManage; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "MfaSetup", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkYTE6WCBX_js.MfaSetup; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "ProfileTabContent", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkYTE6WCBX_js.ProfileTabContent; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "SecurityTabContent", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkYTE6WCBX_js.SecurityTabContent; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "SessionsTabContent", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkYTE6WCBX_js.SessionsTabContent; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "UserProfile", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkYTE6WCBX_js.UserProfile; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "AuthLayout", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkQRNFTG6A_js.AuthLayout; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "BackupCodeGrid", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkQRNFTG6A_js.BackupCodeGrid; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "OtpInput", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkQRNFTG6A_js.OtpInput; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "PasswordStrengthMeter", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkQRNFTG6A_js.PasswordStrengthMeter; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "SocialLoginButtons", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkQRNFTG6A_js.SocialLoginButtons; }
|
|
107
107
|
});
|
|
108
108
|
//# sourceMappingURL=index.js.map
|
|
109
109
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../../chunk-
|
|
3
|
-
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../../chunk-
|
|
4
|
-
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
2
|
+
export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../../chunk-VUAGVZJM.mjs';
|
|
3
|
+
export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../../chunk-IHHGT3LP.mjs';
|
|
4
|
+
export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../../chunk-JQYDJ75Q.mjs';
|
|
5
|
+
import '../../chunk-4OFG6POC.mjs';
|
|
6
6
|
import '../../chunk-D2JF6C3E.mjs';
|
|
7
|
+
import '../../chunk-7VJ7CMMT.mjs';
|
|
7
8
|
import '../../chunk-QWG2FMUN.mjs';
|
|
8
9
|
import '../../chunk-RHRJXK5R.mjs';
|
|
9
10
|
import '../../chunk-3AY5HIQ6.mjs';
|
|
10
|
-
import '../../chunk-7VJ7CMMT.mjs';
|
|
11
11
|
//# sourceMappingURL=index.mjs.map
|
|
12
12
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { B as BillingPanel, a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.mjs';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { SubscriptionTier } from '@datatechsolutions/shared-domain';
|
|
5
|
+
|
|
6
|
+
interface UpgradePromptProps {
|
|
7
|
+
/** The user's current subscription tier */
|
|
8
|
+
currentTier: SubscriptionTier;
|
|
9
|
+
/** The minimum tier required for access (shown in the prompt) */
|
|
10
|
+
requiredTier?: SubscriptionTier;
|
|
11
|
+
/** Feature name that triggered the prompt */
|
|
12
|
+
feature?: string;
|
|
13
|
+
/** Called when the user clicks "Upgrade Now" */
|
|
14
|
+
onUpgrade?: () => void;
|
|
15
|
+
/** Called when the user dismisses the prompt */
|
|
16
|
+
onDismiss?: () => void;
|
|
17
|
+
/** Optional custom content to render inside the card */
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A glassmorphism-styled upgrade prompt shown when users hit subscription
|
|
22
|
+
* limits or try to access features above their current tier.
|
|
23
|
+
*
|
|
24
|
+
* Renders a card with the current tier, the required tier (or feature name),
|
|
25
|
+
* and action buttons for upgrading or dismissing.
|
|
26
|
+
*/
|
|
27
|
+
declare function UpgradePrompt({ currentTier, requiredTier, feature, onUpgrade, onDismiss, children, }: UpgradePromptProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { UpgradePrompt, type UpgradePromptProps };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { B as BillingPanel, a as BillingPanelProps } from '../../billing-panel-DsHhhJqG.js';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { SubscriptionTier } from '@datatechsolutions/shared-domain';
|
|
5
|
+
|
|
6
|
+
interface UpgradePromptProps {
|
|
7
|
+
/** The user's current subscription tier */
|
|
8
|
+
currentTier: SubscriptionTier;
|
|
9
|
+
/** The minimum tier required for access (shown in the prompt) */
|
|
10
|
+
requiredTier?: SubscriptionTier;
|
|
11
|
+
/** Feature name that triggered the prompt */
|
|
12
|
+
feature?: string;
|
|
13
|
+
/** Called when the user clicks "Upgrade Now" */
|
|
14
|
+
onUpgrade?: () => void;
|
|
15
|
+
/** Called when the user dismisses the prompt */
|
|
16
|
+
onDismiss?: () => void;
|
|
17
|
+
/** Optional custom content to render inside the card */
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A glassmorphism-styled upgrade prompt shown when users hit subscription
|
|
22
|
+
* limits or try to access features above their current tier.
|
|
23
|
+
*
|
|
24
|
+
* Renders a card with the current tier, the required tier (or feature name),
|
|
25
|
+
* and action buttons for upgrading or dismissing.
|
|
26
|
+
*/
|
|
27
|
+
declare function UpgradePrompt({ currentTier, requiredTier, feature, onUpgrade, onDismiss, children, }: UpgradePromptProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { UpgradePrompt, type UpgradePromptProps };
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkP4RVGMZL_js = require('../../chunk-P4RVGMZL.js');
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
5
|
+
var chunkAMYQSPQC_js = require('../../chunk-AMYQSPQC.js');
|
|
6
|
+
require('../../chunk-GCYYGSHU.js');
|
|
7
7
|
require('../../chunk-UZ3CMNUJ.js');
|
|
8
|
+
require('../../chunk-YXN2K77G.js');
|
|
8
9
|
require('../../chunk-S7KHTUHA.js');
|
|
9
10
|
require('../../chunk-SY4MUT5V.js');
|
|
10
11
|
require('../../chunk-2OZZH2IO.js');
|
|
11
|
-
require('../../chunk-YXN2K77G.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "UpgradePrompt", {
|
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "BillingPanel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkAMYQSPQC_js.BillingPanel; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { UpgradePrompt } from '../../chunk-DJ33CSGJ.mjs';
|
|
3
|
-
export { BillingPanel } from '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
export { BillingPanel } from '../../chunk-VDLAZR7S.mjs';
|
|
4
|
+
import '../../chunk-4OFG6POC.mjs';
|
|
5
5
|
import '../../chunk-D2JF6C3E.mjs';
|
|
6
|
+
import '../../chunk-7VJ7CMMT.mjs';
|
|
6
7
|
import '../../chunk-QWG2FMUN.mjs';
|
|
7
8
|
import '../../chunk-RHRJXK5R.mjs';
|
|
8
9
|
import '../../chunk-3AY5HIQ6.mjs';
|
|
9
|
-
import '../../chunk-7VJ7CMMT.mjs';
|
|
10
10
|
//# sourceMappingURL=index.mjs.map
|
|
11
11
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface ImpersonationBannerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Callback fired after the impersonation session ends (after the admin
|
|
6
|
+
* token is restored). Useful for refreshing the UI or navigating home.
|
|
7
|
+
*/
|
|
8
|
+
onExit?: () => void;
|
|
9
|
+
/** Optional extra classes on the outer bar. */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Persistent banner shown while the current session is an impersonation
|
|
14
|
+
* session. Shows the admin's identity + target, and an Exit button that
|
|
15
|
+
* terminates the session. Invisible when not impersonating.
|
|
16
|
+
*/
|
|
17
|
+
declare function ImpersonationBanner({ onExit, className }: ImpersonationBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
18
|
+
|
|
19
|
+
export { ImpersonationBanner, type ImpersonationBannerProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface ImpersonationBannerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Callback fired after the impersonation session ends (after the admin
|
|
6
|
+
* token is restored). Useful for refreshing the UI or navigating home.
|
|
7
|
+
*/
|
|
8
|
+
onExit?: () => void;
|
|
9
|
+
/** Optional extra classes on the outer bar. */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Persistent banner shown while the current session is an impersonation
|
|
14
|
+
* session. Shows the admin's identity + target, and an Exit button that
|
|
15
|
+
* terminates the session. Invisible when not impersonating.
|
|
16
|
+
*/
|
|
17
|
+
declare function ImpersonationBanner({ onExit, className }: ImpersonationBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
18
|
+
|
|
19
|
+
export { ImpersonationBanner, type ImpersonationBannerProps };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
var chunkNJZIE4EH_js = require('../../chunk-NJZIE4EH.js');
|
|
5
|
+
require('../../chunk-GCYYGSHU.js');
|
|
6
6
|
require('../../chunk-UZ3CMNUJ.js');
|
|
7
|
+
require('../../chunk-YXN2K77G.js');
|
|
7
8
|
require('../../chunk-S7KHTUHA.js');
|
|
8
9
|
require('../../chunk-SY4MUT5V.js');
|
|
9
10
|
require('../../chunk-2OZZH2IO.js');
|
|
10
|
-
require('../../chunk-YXN2K77G.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "ImpersonationBanner", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkNJZIE4EH_js.ImpersonationBanner; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { ImpersonationBanner } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
2
|
+
export { ImpersonationBanner } from '../../chunk-7LILNZMR.mjs';
|
|
3
|
+
import '../../chunk-4OFG6POC.mjs';
|
|
4
4
|
import '../../chunk-D2JF6C3E.mjs';
|
|
5
|
+
import '../../chunk-7VJ7CMMT.mjs';
|
|
5
6
|
import '../../chunk-QWG2FMUN.mjs';
|
|
6
7
|
import '../../chunk-RHRJXK5R.mjs';
|
|
7
8
|
import '../../chunk-3AY5HIQ6.mjs';
|
|
8
|
-
import '../../chunk-7VJ7CMMT.mjs';
|
|
9
9
|
//# sourceMappingURL=index.mjs.map
|
|
10
10
|
//# sourceMappingURL=index.mjs.map
|