@datatechsolutions/ui 3.7.4 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/astrlabe/contracts.d.mts +517 -0
  2. package/dist/astrlabe/contracts.d.ts +517 -0
  3. package/dist/astrlabe/graph-node.d.mts +28 -0
  4. package/dist/astrlabe/graph-node.d.ts +28 -0
  5. package/dist/astrlabe/index.d.mts +743 -0
  6. package/dist/astrlabe/index.d.ts +743 -0
  7. package/dist/astrlabe/index.js +108 -108
  8. package/dist/astrlabe/index.mjs +4 -4
  9. package/dist/astrlabe/utils.d.mts +60 -0
  10. package/dist/astrlabe/utils.d.ts +60 -0
  11. package/dist/astrlabe/workflow-canvas.d.mts +6 -0
  12. package/dist/astrlabe/workflow-canvas.d.ts +6 -0
  13. package/dist/astrlabe/workflow-canvas.js +4 -4
  14. package/dist/astrlabe/workflow-canvas.mjs +3 -3
  15. package/dist/astrlabe/workflow-preview-canvas.d.mts +10 -0
  16. package/dist/astrlabe/workflow-preview-canvas.d.ts +10 -0
  17. package/dist/billing-panel-DsHhhJqG.d.mts +18 -0
  18. package/dist/billing-panel-DsHhhJqG.d.ts +18 -0
  19. package/dist/brand/index.d.mts +71 -0
  20. package/dist/brand/index.d.ts +71 -0
  21. package/dist/{chunk-GAN7AKZ2.mjs → chunk-32DHEVOH.mjs} +3 -3
  22. package/dist/{chunk-GAN7AKZ2.mjs.map → chunk-32DHEVOH.mjs.map} +1 -1
  23. package/dist/{chunk-IYDGO7RW.js → chunk-3H5CFLVK.js} +135 -135
  24. package/dist/{chunk-IYDGO7RW.js.map → chunk-3H5CFLVK.js.map} +1 -1
  25. package/dist/{chunk-QL2JYRBN.js → chunk-3X3IYDG6.js} +68 -68
  26. package/dist/{chunk-QL2JYRBN.js.map → chunk-3X3IYDG6.js.map} +1 -1
  27. package/dist/{chunk-N5365CGD.mjs → chunk-57E4TCB2.mjs} +3 -3
  28. package/dist/{chunk-N5365CGD.mjs.map → chunk-57E4TCB2.mjs.map} +1 -1
  29. package/dist/{chunk-4HP7XS5I.mjs → chunk-5W6LMDXV.mjs} +4 -4
  30. package/dist/{chunk-4HP7XS5I.mjs.map → chunk-5W6LMDXV.mjs.map} +1 -1
  31. package/dist/{chunk-EIZM2EQA.mjs → chunk-5YVOLHSW.mjs} +4 -4
  32. package/dist/{chunk-EIZM2EQA.mjs.map → chunk-5YVOLHSW.mjs.map} +1 -1
  33. package/dist/{chunk-ZWLMKOHZ.mjs → chunk-74BU2EBZ.mjs} +6 -6
  34. package/dist/{chunk-ZWLMKOHZ.mjs.map → chunk-74BU2EBZ.mjs.map} +1 -1
  35. package/dist/{chunk-7WIWDSF6.js → chunk-7JZFNKJD.js} +36 -36
  36. package/dist/{chunk-7WIWDSF6.js.map → chunk-7JZFNKJD.js.map} +1 -1
  37. package/dist/{chunk-DCBRGVD3.mjs → chunk-A4A3SQTV.mjs} +3 -3
  38. package/dist/{chunk-DCBRGVD3.mjs.map → chunk-A4A3SQTV.mjs.map} +1 -1
  39. package/dist/{chunk-JUDQX6MP.mjs → chunk-CZZOCKEA.mjs} +3 -3
  40. package/dist/{chunk-JUDQX6MP.mjs.map → chunk-CZZOCKEA.mjs.map} +1 -1
  41. package/dist/{chunk-DWIBK7GV.js → chunk-E57RZXOR.js} +25 -25
  42. package/dist/{chunk-DWIBK7GV.js.map → chunk-E57RZXOR.js.map} +1 -1
  43. package/dist/{chunk-Z3BMHKKH.mjs → chunk-E6C7MFHJ.mjs} +3 -3
  44. package/dist/{chunk-Z3BMHKKH.mjs.map → chunk-E6C7MFHJ.mjs.map} +1 -1
  45. package/dist/{chunk-P7GVXI7Y.mjs → chunk-EWYAM4WJ.mjs} +3 -3
  46. package/dist/{chunk-P7GVXI7Y.mjs.map → chunk-EWYAM4WJ.mjs.map} +1 -1
  47. package/dist/{chunk-VDO6MDQW.js → chunk-F35GFICG.js} +13 -13
  48. package/dist/{chunk-VDO6MDQW.js.map → chunk-F35GFICG.js.map} +1 -1
  49. package/dist/{chunk-BEUPW5WS.js → chunk-FKUIVS6I.js} +28 -28
  50. package/dist/{chunk-BEUPW5WS.js.map → chunk-FKUIVS6I.js.map} +1 -1
  51. package/dist/{chunk-GD6FHRHV.js → chunk-FNA66TT4.js} +3 -3
  52. package/dist/{chunk-GD6FHRHV.js.map → chunk-FNA66TT4.js.map} +1 -1
  53. package/dist/{chunk-RBB5YGWH.js → chunk-H37VDL7Y.js} +4 -4
  54. package/dist/{chunk-RBB5YGWH.js.map → chunk-H37VDL7Y.js.map} +1 -1
  55. package/dist/{chunk-KI4UPW4Z.js → chunk-HBOORO52.js} +4 -4
  56. package/dist/{chunk-KI4UPW4Z.js.map → chunk-HBOORO52.js.map} +1 -1
  57. package/dist/{chunk-MGZTZELL.mjs → chunk-KKXI7CPF.mjs} +3 -3
  58. package/dist/{chunk-MGZTZELL.mjs.map → chunk-KKXI7CPF.mjs.map} +1 -1
  59. package/dist/{chunk-IKH5IRDK.mjs → chunk-PCUINUIC.mjs} +3 -3
  60. package/dist/{chunk-IKH5IRDK.mjs.map → chunk-PCUINUIC.mjs.map} +1 -1
  61. package/dist/{chunk-CTCO2YI5.mjs → chunk-PYNXIDG3.mjs} +3 -3
  62. package/dist/{chunk-CTCO2YI5.mjs.map → chunk-PYNXIDG3.mjs.map} +1 -1
  63. package/dist/{chunk-MFAVWJWE.js → chunk-Q4QORAMH.js} +10 -10
  64. package/dist/{chunk-MFAVWJWE.js.map → chunk-Q4QORAMH.js.map} +1 -1
  65. package/dist/{chunk-ZF7RJNPD.js → chunk-Q7HRCCFT.js} +45 -45
  66. package/dist/{chunk-ZF7RJNPD.js.map → chunk-Q7HRCCFT.js.map} +1 -1
  67. package/dist/{chunk-R2RPRRB4.js → chunk-RCHTRG7R.js} +55 -55
  68. package/dist/{chunk-R2RPRRB4.js.map → chunk-RCHTRG7R.js.map} +1 -1
  69. package/dist/{chunk-FIB2CFJK.js → chunk-TCP45Q4B.js} +9 -9
  70. package/dist/{chunk-FIB2CFJK.js.map → chunk-TCP45Q4B.js.map} +1 -1
  71. package/dist/{chunk-SUU7XPRX.js → chunk-TJPPZU77.js} +34 -34
  72. package/dist/{chunk-SUU7XPRX.js.map → chunk-TJPPZU77.js.map} +1 -1
  73. package/dist/{chunk-XT76DMP5.js → chunk-VPFVW7ZF.js} +35 -35
  74. package/dist/{chunk-XT76DMP5.js.map → chunk-VPFVW7ZF.js.map} +1 -1
  75. package/dist/{chunk-IKHWYYZC.mjs → chunk-VS6PTRQ7.mjs} +3 -3
  76. package/dist/{chunk-IKHWYYZC.mjs.map → chunk-VS6PTRQ7.mjs.map} +1 -1
  77. package/dist/{chunk-YNHQ36UU.mjs → chunk-WDBVIU7W.mjs} +3 -3
  78. package/dist/{chunk-YNHQ36UU.mjs.map → chunk-WDBVIU7W.mjs.map} +1 -1
  79. package/dist/{chunk-MRLEINJN.mjs → chunk-ZP37M2QK.mjs} +7 -7
  80. package/dist/{chunk-MRLEINJN.mjs.map → chunk-ZP37M2QK.mjs.map} +1 -1
  81. package/dist/dynamic-island-confirm-BKsZkAEP.d.mts +17 -0
  82. package/dist/dynamic-island-confirm-BKsZkAEP.d.ts +17 -0
  83. package/dist/index-BNRGVAS5.d.mts +222 -0
  84. package/dist/index-BoebbJ44.d.mts +49 -0
  85. package/dist/index-BoebbJ44.d.ts +49 -0
  86. package/dist/index-CnCY-b5V.d.ts +222 -0
  87. package/dist/index.d.mts +5316 -0
  88. package/dist/index.d.ts +5316 -0
  89. package/dist/index.js +665 -665
  90. package/dist/index.mjs +2 -2
  91. package/dist/layout-engine-YZcVr20M.d.mts +19 -0
  92. package/dist/layout-engine-YZcVr20M.d.ts +19 -0
  93. package/dist/lib/i18n-context.d.mts +36 -0
  94. package/dist/lib/i18n-context.d.ts +36 -0
  95. package/dist/lib/router-context.d.mts +35 -0
  96. package/dist/lib/router-context.d.ts +35 -0
  97. package/dist/navigation-BiWVffAN.d.mts +49 -0
  98. package/dist/navigation-BiWVffAN.d.ts +49 -0
  99. package/dist/platform/admin/index.d.mts +17 -0
  100. package/dist/platform/admin/index.d.ts +17 -0
  101. package/dist/platform/admin/index.js +10 -10
  102. package/dist/platform/admin/index.mjs +4 -4
  103. package/dist/platform/agents-workspace.d.mts +19 -0
  104. package/dist/platform/agents-workspace.d.ts +19 -0
  105. package/dist/platform/agents-workspace.js +7 -7
  106. package/dist/platform/agents-workspace.mjs +6 -6
  107. package/dist/platform/app-shell.d.mts +64 -0
  108. package/dist/platform/app-shell.d.ts +64 -0
  109. package/dist/platform/app-shell.js +4 -4
  110. package/dist/platform/app-shell.mjs +3 -3
  111. package/dist/platform/auth/index.d.mts +73 -0
  112. package/dist/platform/auth/index.d.ts +73 -0
  113. package/dist/platform/auth/index.js +22 -22
  114. package/dist/platform/auth/index.mjs +4 -4
  115. package/dist/platform/billing/index.d.mts +29 -0
  116. package/dist/platform/billing/index.d.ts +29 -0
  117. package/dist/platform/billing/index.js +4 -4
  118. package/dist/platform/billing/index.mjs +3 -3
  119. package/dist/platform/impersonation/index.d.mts +19 -0
  120. package/dist/platform/impersonation/index.d.ts +19 -0
  121. package/dist/platform/impersonation/index.js +4 -4
  122. package/dist/platform/impersonation/index.mjs +3 -3
  123. package/dist/platform/index.d.mts +188 -0
  124. package/dist/platform/index.d.ts +188 -0
  125. package/dist/platform/index.js +86 -86
  126. package/dist/platform/index.mjs +18 -18
  127. package/dist/platform/pages/index.d.mts +574 -0
  128. package/dist/platform/pages/index.d.ts +574 -0
  129. package/dist/platform/pages/index.js +461 -264
  130. package/dist/platform/pages/index.js.map +1 -1
  131. package/dist/platform/pages/index.mjs +228 -31
  132. package/dist/platform/pages/index.mjs.map +1 -1
  133. package/dist/platform/rbac.d.mts +42 -0
  134. package/dist/platform/rbac.d.ts +42 -0
  135. package/dist/platform/settings/index.d.mts +31 -0
  136. package/dist/platform/settings/index.d.ts +31 -0
  137. package/dist/platform/settings/index.js +7 -7
  138. package/dist/platform/settings/index.mjs +6 -6
  139. package/dist/platform/telemetry/index.d.mts +51 -0
  140. package/dist/platform/telemetry/index.d.ts +51 -0
  141. package/dist/platform/utils/index.d.mts +32 -0
  142. package/dist/platform/utils/index.d.ts +32 -0
  143. package/dist/platform/windsock-admin-client.d.mts +57 -0
  144. package/dist/platform/windsock-admin-client.d.ts +57 -0
  145. package/dist/platform/workflow-api-client.d.mts +6 -0
  146. package/dist/platform/workflow-api-client.d.ts +6 -0
  147. package/dist/platform/workflow-canvas-shell.d.mts +18 -0
  148. package/dist/platform/workflow-canvas-shell.d.ts +18 -0
  149. package/dist/platform/workflow-canvas-shell.js +5 -5
  150. package/dist/platform/workflow-canvas-shell.mjs +4 -4
  151. package/dist/rule-form-BYJzyork.d.mts +128 -0
  152. package/dist/rule-form-BYJzyork.d.ts +128 -0
  153. package/dist/workflow-api-client-CpFl3WcG.d.mts +468 -0
  154. package/dist/workflow-api-client-uLICOanv.d.ts +468 -0
  155. package/dist/workflow-canvas--qaYKuMm.d.ts +113 -0
  156. package/dist/workflow-canvas-B80fmD_n.d.mts +113 -0
  157. package/dist/workflow-store-o17I6L6A.d.ts +79 -0
  158. package/dist/workflow-store-ppVHdMZi.d.mts +79 -0
  159. package/package.json +1 -1
@@ -0,0 +1,64 @@
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
+ * When the appIcon is a brand SVG that has its own background
19
+ * (gradient, fill, etc), set this to true so the BrandedLoader
20
+ * doesn't wrap it in a second gradient container.
21
+ */
22
+ appIconRaw?: boolean;
23
+ /**
24
+ * Optional override for the dock dashboard icon (defaults to HomeIcon).
25
+ */
26
+ dashboardIcon?: ComponentType<{
27
+ className?: string;
28
+ }>;
29
+ /** App-specific navigation items already pre-translated. */
30
+ navigationItems: NavigationItem[];
31
+ /** Custom ordering of launchpad page tiles. */
32
+ pageOrder: string[];
33
+ /**
34
+ * Map of navigation/module ID → required permission name. The shell
35
+ * filters `navigationItems` so that any item whose ID has an entry here
36
+ * is hidden unless `hasPermission` returns true for the listed permission.
37
+ */
38
+ modulePermissions: Record<string, string>;
39
+ /**
40
+ * Permission predicate, typically `(p) => can(actor, p)` from each app's
41
+ * `createPlatformRbac()` factory.
42
+ */
43
+ hasPermission: (permission: string) => boolean;
44
+ /**
45
+ * Optional settings/profile drawer content (e.g. an app-specific
46
+ * `<SettingsModal>`). Receives the open state + close handler the shell
47
+ * manages internally so the drawer renders inside the shell chrome.
48
+ */
49
+ settingsModal?: (props: {
50
+ open: boolean;
51
+ onClose: () => void;
52
+ }) => ReactNode;
53
+ children: ReactNode;
54
+ };
55
+ /**
56
+ * Cross-app platform shell — wires `<PlatformShell>` from ui to windsock's
57
+ * auth + preferences hooks and to ui's i18n/router contexts. Each app
58
+ * passes its own logo, gradient, navigation, and permission predicate; the
59
+ * rest of the chrome (header, dock, flyout, sign-out confirm modal) is
60
+ * shared.
61
+ */
62
+ declare function PlatformAppShell({ appName, appGradient, appLogo, appIcon, appIconRaw, dashboardIcon, navigationItems, pageOrder, modulePermissions, hasPermission, settingsModal, children, }: PlatformAppShellProps): react_jsx_runtime.JSX.Element;
63
+
64
+ export { PlatformAppShell, type PlatformAppShellProps };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkFIB2CFJK_js = require('../chunk-FIB2CFJK.js');
5
- require('../chunk-GD6FHRHV.js');
4
+ var chunkTCP45Q4B_js = require('../chunk-TCP45Q4B.js');
5
+ require('../chunk-FNA66TT4.js');
6
+ require('../chunk-YXN2K77G.js');
6
7
  require('../chunk-SY4MUT5V.js');
7
8
  require('../chunk-2OZZH2IO.js');
8
- require('../chunk-YXN2K77G.js');
9
9
  require('../chunk-BHOT22QL.js');
10
10
  require('../chunk-UZ3CMNUJ.js');
11
11
  require('../chunk-S7KHTUHA.js');
@@ -14,7 +14,7 @@ require('../chunk-S7KHTUHA.js');
14
14
 
15
15
  Object.defineProperty(exports, "PlatformAppShell", {
16
16
  enumerable: true,
17
- get: function () { return chunkFIB2CFJK_js.PlatformAppShell; }
17
+ get: function () { return chunkTCP45Q4B_js.PlatformAppShell; }
18
18
  });
19
19
  //# sourceMappingURL=app-shell.js.map
20
20
  //# sourceMappingURL=app-shell.js.map
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- export { PlatformAppShell } from '../chunk-JUDQX6MP.mjs';
3
- import '../chunk-Z3BMHKKH.mjs';
2
+ export { PlatformAppShell } from '../chunk-CZZOCKEA.mjs';
3
+ import '../chunk-E6C7MFHJ.mjs';
4
+ import '../chunk-7VJ7CMMT.mjs';
4
5
  import '../chunk-RHRJXK5R.mjs';
5
6
  import '../chunk-3AY5HIQ6.mjs';
6
- import '../chunk-7VJ7CMMT.mjs';
7
7
  import '../chunk-WR55H7DH.mjs';
8
8
  import '../chunk-D2JF6C3E.mjs';
9
9
  import '../chunk-QWG2FMUN.mjs';
@@ -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,13 +1,13 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkR2RPRRB4_js = require('../../chunk-R2RPRRB4.js');
5
- var chunkZF7RJNPD_js = require('../../chunk-ZF7RJNPD.js');
4
+ var chunkRCHTRG7R_js = require('../../chunk-RCHTRG7R.js');
5
+ var chunkQ7HRCCFT_js = require('../../chunk-Q7HRCCFT.js');
6
6
  var chunkQGLGQXJE_js = require('../../chunk-QGLGQXJE.js');
7
- require('../../chunk-GD6FHRHV.js');
7
+ require('../../chunk-FNA66TT4.js');
8
+ require('../../chunk-YXN2K77G.js');
8
9
  require('../../chunk-SY4MUT5V.js');
9
10
  require('../../chunk-2OZZH2IO.js');
10
- require('../../chunk-YXN2K77G.js');
11
11
  require('../../chunk-BHOT22QL.js');
12
12
  require('../../chunk-UZ3CMNUJ.js');
13
13
  require('../../chunk-S7KHTUHA.js');
@@ -16,75 +16,75 @@ require('../../chunk-S7KHTUHA.js');
16
16
 
17
17
  Object.defineProperty(exports, "ConsentScreen", {
18
18
  enumerable: true,
19
- get: function () { return chunkR2RPRRB4_js.ConsentScreen; }
19
+ get: function () { return chunkRCHTRG7R_js.ConsentScreen; }
20
20
  });
21
21
  Object.defineProperty(exports, "ForgotPassword", {
22
22
  enumerable: true,
23
- get: function () { return chunkR2RPRRB4_js.ForgotPassword; }
23
+ get: function () { return chunkRCHTRG7R_js.ForgotPassword; }
24
24
  });
25
25
  Object.defineProperty(exports, "MfaChallenge", {
26
26
  enumerable: true,
27
- get: function () { return chunkR2RPRRB4_js.MfaChallenge; }
27
+ get: function () { return chunkRCHTRG7R_js.MfaChallenge; }
28
28
  });
29
29
  Object.defineProperty(exports, "PasswordlessSignIn", {
30
30
  enumerable: true,
31
- get: function () { return chunkR2RPRRB4_js.PasswordlessSignIn; }
31
+ get: function () { return chunkRCHTRG7R_js.PasswordlessSignIn; }
32
32
  });
33
33
  Object.defineProperty(exports, "ResetPassword", {
34
34
  enumerable: true,
35
- get: function () { return chunkR2RPRRB4_js.ResetPassword; }
35
+ get: function () { return chunkRCHTRG7R_js.ResetPassword; }
36
36
  });
37
37
  Object.defineProperty(exports, "SignIn", {
38
38
  enumerable: true,
39
- get: function () { return chunkR2RPRRB4_js.SignIn; }
39
+ get: function () { return chunkRCHTRG7R_js.SignIn; }
40
40
  });
41
41
  Object.defineProperty(exports, "SignUp", {
42
42
  enumerable: true,
43
- get: function () { return chunkR2RPRRB4_js.SignUp; }
43
+ get: function () { return chunkRCHTRG7R_js.SignUp; }
44
44
  });
45
45
  Object.defineProperty(exports, "SsoConnectorList", {
46
46
  enumerable: true,
47
- get: function () { return chunkR2RPRRB4_js.SsoConnectorList; }
47
+ get: function () { return chunkRCHTRG7R_js.SsoConnectorList; }
48
48
  });
49
49
  Object.defineProperty(exports, "SsoEmailForm", {
50
50
  enumerable: true,
51
- get: function () { return chunkR2RPRRB4_js.SsoEmailForm; }
51
+ get: function () { return chunkRCHTRG7R_js.SsoEmailForm; }
52
52
  });
53
53
  Object.defineProperty(exports, "UserButton", {
54
54
  enumerable: true,
55
- get: function () { return chunkR2RPRRB4_js.UserButton; }
55
+ get: function () { return chunkRCHTRG7R_js.UserButton; }
56
56
  });
57
57
  Object.defineProperty(exports, "VerifyEmail", {
58
58
  enumerable: true,
59
- get: function () { return chunkR2RPRRB4_js.VerifyEmail; }
59
+ get: function () { return chunkRCHTRG7R_js.VerifyEmail; }
60
60
  });
61
61
  Object.defineProperty(exports, "LinkedAccountsTabContent", {
62
62
  enumerable: true,
63
- get: function () { return chunkZF7RJNPD_js.LinkedAccountsTabContent; }
63
+ get: function () { return chunkQ7HRCCFT_js.LinkedAccountsTabContent; }
64
64
  });
65
65
  Object.defineProperty(exports, "MfaManage", {
66
66
  enumerable: true,
67
- get: function () { return chunkZF7RJNPD_js.MfaManage; }
67
+ get: function () { return chunkQ7HRCCFT_js.MfaManage; }
68
68
  });
69
69
  Object.defineProperty(exports, "MfaSetup", {
70
70
  enumerable: true,
71
- get: function () { return chunkZF7RJNPD_js.MfaSetup; }
71
+ get: function () { return chunkQ7HRCCFT_js.MfaSetup; }
72
72
  });
73
73
  Object.defineProperty(exports, "ProfileTabContent", {
74
74
  enumerable: true,
75
- get: function () { return chunkZF7RJNPD_js.ProfileTabContent; }
75
+ get: function () { return chunkQ7HRCCFT_js.ProfileTabContent; }
76
76
  });
77
77
  Object.defineProperty(exports, "SecurityTabContent", {
78
78
  enumerable: true,
79
- get: function () { return chunkZF7RJNPD_js.SecurityTabContent; }
79
+ get: function () { return chunkQ7HRCCFT_js.SecurityTabContent; }
80
80
  });
81
81
  Object.defineProperty(exports, "SessionsTabContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkZF7RJNPD_js.SessionsTabContent; }
83
+ get: function () { return chunkQ7HRCCFT_js.SessionsTabContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "UserProfile", {
86
86
  enumerable: true,
87
- get: function () { return chunkZF7RJNPD_js.UserProfile; }
87
+ get: function () { return chunkQ7HRCCFT_js.UserProfile; }
88
88
  });
89
89
  Object.defineProperty(exports, "AuthLayout", {
90
90
  enumerable: true,
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../../chunk-P7GVXI7Y.mjs';
3
- export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../../chunk-CTCO2YI5.mjs';
2
+ export { ConsentScreen, ForgotPassword, MfaChallenge, PasswordlessSignIn, ResetPassword, SignIn, SignUp, SsoConnectorList, SsoEmailForm, UserButton, VerifyEmail } from '../../chunk-EWYAM4WJ.mjs';
3
+ export { LinkedAccountsTabContent, MfaManage, MfaSetup, ProfileTabContent, SecurityTabContent, SessionsTabContent, UserProfile } from '../../chunk-PYNXIDG3.mjs';
4
4
  export { AuthLayout, BackupCodeGrid, OtpInput, PasswordStrengthMeter, SocialLoginButtons } from '../../chunk-3VYD7QL2.mjs';
5
- import '../../chunk-Z3BMHKKH.mjs';
5
+ import '../../chunk-E6C7MFHJ.mjs';
6
+ import '../../chunk-7VJ7CMMT.mjs';
6
7
  import '../../chunk-RHRJXK5R.mjs';
7
8
  import '../../chunk-3AY5HIQ6.mjs';
8
- import '../../chunk-7VJ7CMMT.mjs';
9
9
  import '../../chunk-WR55H7DH.mjs';
10
10
  import '../../chunk-D2JF6C3E.mjs';
11
11
  import '../../chunk-QWG2FMUN.mjs';
@@ -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,11 +2,11 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkP4RVGMZL_js = require('../../chunk-P4RVGMZL.js');
5
- var chunkMFAVWJWE_js = require('../../chunk-MFAVWJWE.js');
6
- require('../../chunk-GD6FHRHV.js');
5
+ var chunkQ4QORAMH_js = require('../../chunk-Q4QORAMH.js');
6
+ require('../../chunk-FNA66TT4.js');
7
+ require('../../chunk-YXN2K77G.js');
7
8
  require('../../chunk-SY4MUT5V.js');
8
9
  require('../../chunk-2OZZH2IO.js');
9
- require('../../chunk-YXN2K77G.js');
10
10
  require('../../chunk-BHOT22QL.js');
11
11
  require('../../chunk-UZ3CMNUJ.js');
12
12
  require('../../chunk-S7KHTUHA.js');
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "UpgradePrompt", {
19
19
  });
20
20
  Object.defineProperty(exports, "BillingPanel", {
21
21
  enumerable: true,
22
- get: function () { return chunkMFAVWJWE_js.BillingPanel; }
22
+ get: function () { return chunkQ4QORAMH_js.BillingPanel; }
23
23
  });
24
24
  //# sourceMappingURL=index.js.map
25
25
  //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  export { UpgradePrompt } from '../../chunk-DJ33CSGJ.mjs';
3
- export { BillingPanel } from '../../chunk-YNHQ36UU.mjs';
4
- import '../../chunk-Z3BMHKKH.mjs';
3
+ export { BillingPanel } from '../../chunk-WDBVIU7W.mjs';
4
+ import '../../chunk-E6C7MFHJ.mjs';
5
+ import '../../chunk-7VJ7CMMT.mjs';
5
6
  import '../../chunk-RHRJXK5R.mjs';
6
7
  import '../../chunk-3AY5HIQ6.mjs';
7
- import '../../chunk-7VJ7CMMT.mjs';
8
8
  import '../../chunk-WR55H7DH.mjs';
9
9
  import '../../chunk-D2JF6C3E.mjs';
10
10
  import '../../chunk-QWG2FMUN.mjs';
@@ -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,11 +1,11 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkRBB5YGWH_js = require('../../chunk-RBB5YGWH.js');
5
- require('../../chunk-GD6FHRHV.js');
4
+ var chunkH37VDL7Y_js = require('../../chunk-H37VDL7Y.js');
5
+ require('../../chunk-FNA66TT4.js');
6
+ require('../../chunk-YXN2K77G.js');
6
7
  require('../../chunk-SY4MUT5V.js');
7
8
  require('../../chunk-2OZZH2IO.js');
8
- require('../../chunk-YXN2K77G.js');
9
9
  require('../../chunk-BHOT22QL.js');
10
10
  require('../../chunk-UZ3CMNUJ.js');
11
11
  require('../../chunk-S7KHTUHA.js');
@@ -14,7 +14,7 @@ require('../../chunk-S7KHTUHA.js');
14
14
 
15
15
  Object.defineProperty(exports, "ImpersonationBanner", {
16
16
  enumerable: true,
17
- get: function () { return chunkRBB5YGWH_js.ImpersonationBanner; }
17
+ get: function () { return chunkH37VDL7Y_js.ImpersonationBanner; }
18
18
  });
19
19
  //# sourceMappingURL=index.js.map
20
20
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- export { ImpersonationBanner } from '../../chunk-IKHWYYZC.mjs';
3
- import '../../chunk-Z3BMHKKH.mjs';
2
+ export { ImpersonationBanner } from '../../chunk-VS6PTRQ7.mjs';
3
+ import '../../chunk-E6C7MFHJ.mjs';
4
+ import '../../chunk-7VJ7CMMT.mjs';
4
5
  import '../../chunk-RHRJXK5R.mjs';
5
6
  import '../../chunk-3AY5HIQ6.mjs';
6
- import '../../chunk-7VJ7CMMT.mjs';
7
7
  import '../../chunk-WR55H7DH.mjs';
8
8
  import '../../chunk-D2JF6C3E.mjs';
9
9
  import '../../chunk-QWG2FMUN.mjs';