@thunderid/vue 0.3.0 → 0.3.4
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/ThunderIDVueClient.d.ts +2 -7
- package/dist/ThunderIDVueClient.d.ts.map +1 -1
- package/dist/cjs/index.cjs +2585 -5831
- package/dist/components/actions/SignInButton.d.ts.map +1 -1
- package/dist/components/actions/SignUpButton.d.ts.map +1 -1
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts +1 -1
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +1 -1
- package/dist/components/auth/sign-in/BaseSignIn.d.ts +60 -5
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-in/SignIn.d.ts +33 -5
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-up/BaseSignUp.d.ts +49 -10
- package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -1
- package/dist/components/auth/sign-up/SignUp.d.ts +3 -6
- package/dist/components/auth/sign-up/SignUp.d.ts.map +1 -1
- package/dist/index.d.ts +7 -22
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3124 -6366
- package/dist/keys.d.ts +1 -9
- package/dist/keys.d.ts.map +1 -1
- package/dist/models/contexts.d.ts +1 -52
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/providers/ThemeProvider.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/dist/utils/buildThemeConfigFromFlowMeta.d.ts.map +1 -0
- package/dist/utils/{v2/flowTransformer.d.ts → flowTransformer.d.ts} +2 -2
- package/dist/utils/flowTransformer.d.ts.map +1 -0
- package/dist/utils/{v2/getAuthComponentHeadings.d.ts → getAuthComponentHeadings.d.ts} +1 -1
- package/dist/utils/getAuthComponentHeadings.d.ts.map +1 -0
- package/dist/utils/passkey.d.ts.map +1 -0
- package/dist/utils/resolveTranslationsInArray.d.ts.map +1 -0
- package/dist/utils/resolveTranslationsInObject.d.ts.map +1 -0
- package/package.json +9 -9
- package/dist/api/getAllOrganizations.d.ts +0 -25
- package/dist/api/getAllOrganizations.d.ts.map +0 -1
- package/dist/api/getMeOrganizations.d.ts +0 -25
- package/dist/api/getMeOrganizations.d.ts.map +0 -1
- package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts +0 -27
- package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts.map +0 -1
- package/dist/components/auth/sign-in/v1/SignIn.d.ts +0 -27
- package/dist/components/auth/sign-in/v1/SignIn.d.ts.map +0 -1
- package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts +0 -47
- package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts.map +0 -1
- package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts +0 -19
- package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts.map +0 -1
- package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts +0 -83
- package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts.map +0 -1
- package/dist/components/auth/sign-in/v2/SignIn.d.ts +0 -56
- package/dist/components/auth/sign-in/v2/SignIn.d.ts.map +0 -1
- package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts +0 -49
- package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts.map +0 -1
- package/dist/components/auth/sign-up/v1/SignUp.d.ts +0 -31
- package/dist/components/auth/sign-up/v1/SignUp.d.ts.map +0 -1
- package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts +0 -50
- package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts.map +0 -1
- package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts +0 -73
- package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts.map +0 -1
- package/dist/components/auth/sign-up/v2/SignUp.d.ts +0 -26
- package/dist/components/auth/sign-up/v2/SignUp.d.ts.map +0 -1
- package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts +0 -26
- package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts.map +0 -1
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts +0 -35
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts.map +0 -1
- package/dist/components/presentation/create-organization/CreateOrganization.d.ts +0 -26
- package/dist/components/presentation/create-organization/CreateOrganization.d.ts.map +0 -1
- package/dist/components/presentation/organization/Organization.d.ts +0 -39
- package/dist/components/presentation/organization/Organization.d.ts.map +0 -1
- package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts +0 -24
- package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts.map +0 -1
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts +0 -33
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts.map +0 -1
- package/dist/components/presentation/organization-list/OrganizationList.d.ts +0 -26
- package/dist/components/presentation/organization-list/OrganizationList.d.ts.map +0 -1
- package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts +0 -27
- package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts.map +0 -1
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts +0 -25
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts.map +0 -1
- package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts +0 -26
- package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts.map +0 -1
- package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts +0 -26
- package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts.map +0 -1
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts +0 -40
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts.map +0 -1
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts +0 -26
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts.map +0 -1
- package/dist/composables/useBranding.d.ts +0 -44
- package/dist/composables/useBranding.d.ts.map +0 -1
- package/dist/composables/useOrganization.d.ts +0 -42
- package/dist/composables/useOrganization.d.ts.map +0 -1
- package/dist/composables/v2/useOAuthCallback.d.ts +0 -70
- package/dist/composables/v2/useOAuthCallback.d.ts.map +0 -1
- package/dist/providers/BrandingProvider.d.ts +0 -30
- package/dist/providers/BrandingProvider.d.ts.map +0 -1
- package/dist/providers/OrganizationProvider.d.ts +0 -21
- package/dist/providers/OrganizationProvider.d.ts.map +0 -1
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts.map +0 -1
- package/dist/utils/v2/flowTransformer.d.ts.map +0 -1
- package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +0 -1
- package/dist/utils/v2/passkey.d.ts.map +0 -1
- package/dist/utils/v2/resolveTranslationsInArray.d.ts.map +0 -1
- package/dist/utils/v2/resolveTranslationsInObject.d.ts.map +0 -1
- /package/dist/utils/{v2/buildThemeConfigFromFlowMeta.d.ts → buildThemeConfigFromFlowMeta.d.ts} +0 -0
- /package/dist/utils/{v2/passkey.d.ts → passkey.d.ts} +0 -0
- /package/dist/utils/{v2/resolveTranslationsInArray.d.ts → resolveTranslationsInArray.d.ts} +0 -0
- /package/dist/utils/{v2/resolveTranslationsInObject.d.ts → resolveTranslationsInObject.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInButton.d.ts","sourceRoot":"","sources":["../../../src/components/actions/SignInButton.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,
|
|
1
|
+
{"version":3,"file":"SignInButton.d.ts","sourceRoot":"","sources":["../../../src/components/actions/SignInButton.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAKL,KAAK,SAAS,EAKf,MAAM,KAAK,CAAC;AAIb;;;;;GAKG;AACH,QAAA,MAAM,YAAY,EAAE,SA8ClB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpButton.d.ts","sourceRoot":"","sources":["../../../src/components/actions/SignUpButton.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,
|
|
1
|
+
{"version":3,"file":"SignUpButton.d.ts","sourceRoot":"","sources":["../../../src/components/actions/SignUpButton.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAoC,KAAK,SAAS,EAA0C,MAAM,KAAK,CAAC;AAI/G;;;;;GAKG;AACH,QAAA,MAAM,YAAY,EAAE,SA2ClB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* specific language governing permissions and limitations
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
|
-
import { FlowMetadataResponse,
|
|
18
|
+
import { FlowMetadataResponse, EmbeddedFlowComponent } from '@thunderid/browser';
|
|
19
19
|
import { type VNode } from 'vue';
|
|
20
20
|
type TranslationFn = (key: string, params?: Record<string, string | number>) => string;
|
|
21
21
|
export type { TranslationFn };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthOptionFactoryCore.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/AuthOptionFactoryCore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEL,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"AuthOptionFactoryCore.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/AuthOptionFactoryCore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEL,oBAAoB,EACpB,qBAAqB,EAYtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAI,KAAK,KAAK,EAAC,MAAM,KAAK,CAAC;AA+ClC,KAAK,aAAa,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,M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c,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,cAAc,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5G,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,CAAC,CAAC,EAAE,aAAa,CAAC;IAClB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,KACA,KAAK,EAiBkC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2
|
+
* Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com).
|
|
3
3
|
*
|
|
4
4
|
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
5
|
* Version 2.0 (the "License"); you may not use this file except
|
|
@@ -15,13 +15,68 @@
|
|
|
15
15
|
* specific language governing permissions and limitations
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
|
+
import { EmbeddedSignInFlowRequest, EmbeddedFlowComponent, FlowMetadataResponse } from '@thunderid/browser';
|
|
18
19
|
import { type Component } from 'vue';
|
|
19
|
-
export type { BaseSignInRenderProps, BaseSignInProps } from './v2/BaseSignIn';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Render props passed to the default scoped slot for custom UI rendering.
|
|
22
|
+
*/
|
|
23
|
+
export interface BaseSignInRenderProps {
|
|
24
|
+
components: EmbeddedFlowComponent[];
|
|
25
|
+
error?: Error | null;
|
|
26
|
+
fieldErrors: Record<string, string>;
|
|
27
|
+
handleInputChange: (name: string, value: string) => void;
|
|
28
|
+
handleSubmit: (component: EmbeddedFlowComponent, data?: Record<string, any>) => Promise<void>;
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
isTimeoutDisabled?: boolean;
|
|
31
|
+
isValid: boolean;
|
|
32
|
+
messages: {
|
|
33
|
+
message: string;
|
|
34
|
+
type: string;
|
|
35
|
+
}[];
|
|
36
|
+
meta: FlowMetadataResponse | null;
|
|
37
|
+
subtitle: string | undefined;
|
|
38
|
+
title: string;
|
|
39
|
+
touched: Record<string, boolean>;
|
|
40
|
+
validateForm: () => {
|
|
41
|
+
fieldErrors: Record<string, string>;
|
|
42
|
+
isValid: boolean;
|
|
43
|
+
};
|
|
44
|
+
values: Record<string, string>;
|
|
45
|
+
}
|
|
46
|
+
export interface BaseSignInProps {
|
|
47
|
+
additionalData?: Record<string, any>;
|
|
48
|
+
buttonClassName?: string;
|
|
49
|
+
className?: string;
|
|
50
|
+
components?: EmbeddedFlowComponent[];
|
|
51
|
+
error?: Error | null;
|
|
52
|
+
errorClassName?: string;
|
|
53
|
+
inputClassName?: string;
|
|
54
|
+
isLoading?: boolean;
|
|
55
|
+
isTimeoutDisabled?: boolean;
|
|
56
|
+
messageClassName?: string;
|
|
57
|
+
onSubmit?: (payload: EmbeddedSignInFlowRequest, component: EmbeddedFlowComponent) => Promise<void>;
|
|
58
|
+
size?: 'small' | 'medium' | 'large';
|
|
59
|
+
variant?: 'elevated' | 'outlined' | 'flat';
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* BaseSignIn — unstyled app-native sign-in presentation component.
|
|
63
|
+
*
|
|
64
|
+
* Renders the server-driven UI components from an embedded authentication flow.
|
|
65
|
+
* Manages local form state (values, touched, errors) and delegates submission to the parent SignIn component.
|
|
66
|
+
*
|
|
67
|
+
* Supports render props via the `default` scoped slot for complete UI customization.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```vue
|
|
71
|
+
* <!-- Default UI -->
|
|
72
|
+
* <BaseSignIn :components="flowComponents" :on-submit="handleSubmit" />
|
|
22
73
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
74
|
+
* <!-- Custom UI via scoped slot -->
|
|
75
|
+
* <BaseSignIn :components="flowComponents" :on-submit="handleSubmit" v-slot="{ values, handleInputChange, handleSubmit }">
|
|
76
|
+
* <input :value="values.username" @input="handleInputChange('username', $event.target.value)" />
|
|
77
|
+
* <button @click="handleSubmit(submitComponent)">Sign In</button>
|
|
78
|
+
* </BaseSignIn>
|
|
79
|
+
* ```
|
|
25
80
|
*/
|
|
26
81
|
declare const BaseSignIn: Component;
|
|
27
82
|
export default BaseSignIn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseSignIn.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/BaseSignIn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"BaseSignIn.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/BaseSignIn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEL,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,KAAK,SAAS,EAUf,MAAM,KAAK,CAAC;AAWb;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,YAAY,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,IAAI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,GAAG,UAAU,GAAG,MAAM,CAAC;CAC5C;AAwBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,UAAU,EAAE,SAqQhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2
|
+
* Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com).
|
|
3
3
|
*
|
|
4
4
|
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
5
|
* Version 2.0 (the "License"); you may not use this file except
|
|
@@ -15,13 +15,41 @@
|
|
|
15
15
|
* specific language governing permissions and limitations
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
|
+
import { EmbeddedFlowComponent, EmbeddedSignInFlowRequest, FlowMetadataResponse } from '@thunderid/browser';
|
|
18
19
|
import { type Component } from 'vue';
|
|
19
|
-
export type { SignInRenderProps } from './v2/SignIn';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Render props passed to the default scoped slot for custom UI rendering.
|
|
22
|
+
*/
|
|
23
|
+
export interface SignInRenderProps {
|
|
24
|
+
additionalData?: Record<string, any>;
|
|
25
|
+
components: EmbeddedFlowComponent[];
|
|
26
|
+
error: Error | null;
|
|
27
|
+
initialize: () => Promise<void>;
|
|
28
|
+
isInitialized: boolean;
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
isTimeoutDisabled?: boolean;
|
|
31
|
+
meta: FlowMetadataResponse | null;
|
|
32
|
+
onSubmit: (payload: EmbeddedSignInFlowRequest) => Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* SignIn — app-native sign-in component with full flow lifecycle management.
|
|
36
|
+
*
|
|
37
|
+
* Initializes the authentication flow, handles passkey authentication/registration,
|
|
38
|
+
* OAuth redirect flows, and renders the UI via `BaseSignIn` or a scoped slot.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```vue
|
|
42
|
+
* <!-- Default UI -->
|
|
43
|
+
* <SignIn
|
|
44
|
+
* @success="(data) => console.log('Authenticated:', data)"
|
|
45
|
+
* @error="(err) => console.error('Auth failed:', err)"
|
|
46
|
+
* />
|
|
22
47
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
48
|
+
* <!-- Custom UI via scoped slot -->
|
|
49
|
+
* <SignIn v-slot="{ components, onSubmit, isLoading, error }">
|
|
50
|
+
* <!-- your custom sign-in UI here -->
|
|
51
|
+
* </SignIn>
|
|
52
|
+
* ```
|
|
25
53
|
*/
|
|
26
54
|
declare const SignIn: Component;
|
|
27
55
|
export default SignIn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignIn.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/SignIn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"SignIn.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/SignIn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAGL,qBAAqB,EAErB,yBAAyB,EAIzB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAWf,MAAM,KAAK,CAAC;AAqBb;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACjE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,MAAM,EAAE,SAgjBZ,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2
|
+
* Copyright (c) 2025-2026, WSO2 LLC. (https://www.wso2.com).
|
|
3
3
|
*
|
|
4
4
|
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
5
|
* Version 2.0 (the "License"); you may not use this file except
|
|
@@ -16,17 +16,56 @@
|
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
18
|
import { type Component } from 'vue';
|
|
19
|
-
export type { BaseSignUpRenderProps, BaseSignUpProps } from './v2/BaseSignUp';
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
* Render props passed to the default scoped slot.
|
|
21
|
+
*/
|
|
22
|
+
export interface BaseSignUpRenderProps {
|
|
23
|
+
components: any[];
|
|
24
|
+
error?: Error | null;
|
|
25
|
+
fieldErrors: Record<string, string>;
|
|
26
|
+
handleInputChange: (name: string, value: string) => void;
|
|
27
|
+
handleSubmit: (component: any, data?: Record<string, any>) => Promise<void>;
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
isValid: boolean;
|
|
30
|
+
messages: {
|
|
31
|
+
message: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}[];
|
|
34
|
+
subtitle: string;
|
|
35
|
+
title: string;
|
|
36
|
+
touched: Record<string, boolean>;
|
|
37
|
+
validateForm: () => {
|
|
38
|
+
fieldErrors: Record<string, string>;
|
|
39
|
+
isValid: boolean;
|
|
40
|
+
};
|
|
41
|
+
values: Record<string, string>;
|
|
42
|
+
}
|
|
43
|
+
export interface BaseSignUpProps {
|
|
44
|
+
afterSignUpUrl?: string;
|
|
45
|
+
buttonClassName?: string;
|
|
46
|
+
className?: string;
|
|
47
|
+
error?: Error | null;
|
|
48
|
+
errorClassName?: string;
|
|
49
|
+
inputClassName?: string;
|
|
50
|
+
isInitialized?: boolean;
|
|
51
|
+
messageClassName?: string;
|
|
52
|
+
onComplete?: (response: any) => void;
|
|
53
|
+
onError?: (error: Error) => void;
|
|
54
|
+
onFlowChange?: (response: any) => void;
|
|
55
|
+
onInitialize?: (payload?: any) => Promise<any>;
|
|
56
|
+
onSubmit?: (payload: any) => Promise<any>;
|
|
57
|
+
shouldRedirectAfterSignUp?: boolean;
|
|
58
|
+
showLogo?: boolean;
|
|
59
|
+
showSubtitle?: boolean;
|
|
60
|
+
showTitle?: boolean;
|
|
61
|
+
size?: 'small' | 'medium' | 'large';
|
|
62
|
+
variant?: 'elevated' | 'outlined' | 'flat';
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* BaseSignUp — app-native sign-up presentation component.
|
|
27
66
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
67
|
+
* Manages the sign-up flow lifecycle including initialization, form state,
|
|
68
|
+
* passkey registration, popup-based social OAuth, and renders the server-driven UI.
|
|
30
69
|
*/
|
|
31
70
|
declare const BaseSignUp: Component;
|
|
32
71
|
export default BaseSignUp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseSignUp.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-up/BaseSignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"BaseSignUp.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-up/BaseSignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AASH,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AA0Bb;;GAEG;AACH,MAAM,WAAW,qBAAqB;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,CAAC;IACrC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;CAC5C;AA8BD;;;;;GAKG;AACH,QAAA,MAAM,UAAU,EAAE,SA2jBhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -16,13 +16,10 @@
|
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
18
|
import { type Component } from 'vue';
|
|
19
|
-
|
|
19
|
+
import type { BaseSignUpRenderProps } from './BaseSignUp';
|
|
20
|
+
export type SignUpRenderProps = BaseSignUpRenderProps;
|
|
20
21
|
/**
|
|
21
|
-
* SignUp —
|
|
22
|
-
*
|
|
23
|
-
* Routes to V1 (default, component-driven V1 flow API) or V2 (`ThunderIDV2`
|
|
24
|
-
* platform) based on the `platform` value from {@link useThunderID}. Mirrors
|
|
25
|
-
* the existing `SignIn` dispatcher pattern in this package.
|
|
22
|
+
* SignUp — embedded sign-up component that handles API calls and delegates UI to BaseSignUp.
|
|
26
23
|
*/
|
|
27
24
|
declare const SignUp: Component;
|
|
28
25
|
export default SignUp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignUp.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-up/SignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"SignUp.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-up/SignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAErG,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,cAAc,CAAC;AAGxD,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAEtD;;GAEG;AACH,QAAA,MAAM,MAAM,EAAE,SAwFZ,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -18,29 +18,23 @@
|
|
|
18
18
|
export { default as ThunderIDPlugin } from './plugins/ThunderIDPlugin';
|
|
19
19
|
export type { ThunderIDPluginOptions } from './plugins/ThunderIDPlugin';
|
|
20
20
|
export { default as ThunderIDProvider } from './providers/ThunderIDProvider';
|
|
21
|
-
export { default as BrandingProvider } from './providers/BrandingProvider';
|
|
22
21
|
export { default as FlowMetaProvider } from './providers/FlowMetaProvider';
|
|
23
22
|
export { default as FlowProvider } from './providers/FlowProvider';
|
|
24
23
|
export { default as I18nProvider } from './providers/I18nProvider';
|
|
25
|
-
export { default as OrganizationProvider } from './providers/OrganizationProvider';
|
|
26
24
|
export { default as ThemeProvider } from './providers/ThemeProvider';
|
|
27
25
|
export { default as UserProvider } from './providers/UserProvider';
|
|
28
26
|
export { default as useThunderID } from './composables/useThunderID';
|
|
29
|
-
export { default as useBranding } from './composables/useBranding';
|
|
30
27
|
export { default as useFlow } from './composables/useFlow';
|
|
31
28
|
export { default as useFlowMeta } from './composables/useFlowMeta';
|
|
32
29
|
export { default as useI18n } from './composables/useI18n';
|
|
33
|
-
export { default as useOrganization } from './composables/useOrganization';
|
|
34
30
|
export { default as useTheme } from './composables/useTheme';
|
|
35
31
|
export { default as useUser } from './composables/useUser';
|
|
36
32
|
export { useOAuthCallback } from './composables/useOAuthCallback';
|
|
37
33
|
export type { UseOAuthCallbackOptions, OAuthCallbackPayload } from './composables/useOAuthCallback';
|
|
38
|
-
export { useOAuthCallback as useOAuthCallbackV2 } from './composables/v2/useOAuthCallback';
|
|
39
|
-
export type { UseOAuthCallbackOptions as UseOAuthCallbackOptionsV2, OAuthCallbackPayload as OAuthCallbackPayloadV2, } from './composables/v2/useOAuthCallback';
|
|
40
34
|
export { default as ThunderIDVueClient } from './ThunderIDVueClient';
|
|
41
|
-
export { THUNDERID_KEY,
|
|
35
|
+
export { THUNDERID_KEY, FLOW_KEY, FLOW_META_KEY, I18N_KEY, THEME_KEY, USER_KEY } from './keys';
|
|
42
36
|
export type { ThunderIDVueConfig } from './models/config';
|
|
43
|
-
export type { ThunderIDContext,
|
|
37
|
+
export type { ThunderIDContext, FlowContextValue, FlowMessage, FlowMetaContextValue, FlowStep, I18nContextValue, ThemeContextValue, UserContextValue, } from './models/contexts';
|
|
44
38
|
export { default as Button } from './components/primitives/Button/Button';
|
|
45
39
|
export { default as Card } from './components/primitives/Card/Card';
|
|
46
40
|
export { default as Alert } from './components/primitives/Alert/Alert';
|
|
@@ -75,7 +69,6 @@ export { default as SignedIn } from './components/control/SignedIn';
|
|
|
75
69
|
export { default as SignedOut } from './components/control/SignedOut';
|
|
76
70
|
export { default as Loading } from './components/control/Loading';
|
|
77
71
|
export { default as User } from './components/presentation/user/User';
|
|
78
|
-
export { default as Organization } from './components/presentation/organization/Organization';
|
|
79
72
|
export { default as UserProfile } from './components/presentation/user-profile/UserProfile';
|
|
80
73
|
export { default as BaseUserProfile } from './components/presentation/user-profile/BaseUserProfile';
|
|
81
74
|
export { default as UserDropdown } from './components/presentation/user-dropdown/UserDropdown';
|
|
@@ -88,14 +81,6 @@ export { default as InviteUser } from './components/presentation/invite-user/Inv
|
|
|
88
81
|
export type { InviteUserRenderProps } from './components/presentation/invite-user/InviteUser';
|
|
89
82
|
export { default as BaseInviteUser } from './components/presentation/invite-user/BaseInviteUser';
|
|
90
83
|
export type { BaseInviteUserRenderProps, BaseInviteUserProps, } from './components/presentation/invite-user/BaseInviteUser';
|
|
91
|
-
export { default as OrganizationList } from './components/presentation/organization-list/OrganizationList';
|
|
92
|
-
export { default as BaseOrganizationList } from './components/presentation/organization-list/BaseOrganizationList';
|
|
93
|
-
export { default as OrganizationProfile } from './components/presentation/organization-profile/OrganizationProfile';
|
|
94
|
-
export { default as BaseOrganizationProfile } from './components/presentation/organization-profile/BaseOrganizationProfile';
|
|
95
|
-
export { default as OrganizationSwitcher } from './components/presentation/organization-switcher/OrganizationSwitcher';
|
|
96
|
-
export { default as BaseOrganizationSwitcher } from './components/presentation/organization-switcher/BaseOrganizationSwitcher';
|
|
97
|
-
export { default as CreateOrganization } from './components/presentation/create-organization/CreateOrganization';
|
|
98
|
-
export { default as BaseCreateOrganization } from './components/presentation/create-organization/BaseCreateOrganization';
|
|
99
84
|
export { default as LanguageSwitcher } from './components/presentation/language-switcher/LanguageSwitcher';
|
|
100
85
|
export { default as BaseLanguageSwitcher } from './components/presentation/language-switcher/BaseLanguageSwitcher';
|
|
101
86
|
export { default as GoogleButton } from './components/adapters/GoogleButton';
|
|
@@ -104,10 +89,10 @@ export { default as MicrosoftButton } from './components/adapters/MicrosoftButto
|
|
|
104
89
|
export { default as FacebookButton } from './components/adapters/FacebookButton';
|
|
105
90
|
export { default as FieldFactory, createField, validateFieldValue } from './components/factories/FieldFactory';
|
|
106
91
|
export type { FieldConfig } from './components/factories/FieldFactory';
|
|
107
|
-
export { default as buildThemeConfigFromFlowMeta } from './utils/
|
|
108
|
-
export { default as getAuthComponentHeadings } from './utils/
|
|
109
|
-
export type { HeadingExtractionResult, AuthComponentHeadingsResult } from './utils/
|
|
110
|
-
export { FieldType, type
|
|
92
|
+
export { default as buildThemeConfigFromFlowMeta } from './utils/buildThemeConfigFromFlowMeta';
|
|
93
|
+
export { default as getAuthComponentHeadings } from './utils/getAuthComponentHeadings';
|
|
94
|
+
export type { HeadingExtractionResult, AuthComponentHeadingsResult } from './utils/getAuthComponentHeadings';
|
|
95
|
+
export { FieldType, type Config, type HttpRequestConfig, type HttpResponse, type IdToken, type SignInOptions, type SignOutOptions, type SignUpOptions, type TokenExchangeRequestConfig, type TokenResponse, type User as IUser, } from '@thunderid/browser';
|
|
111
96
|
export { handleWebAuthnAuthentication } from './utils/handleWebAuthnAuthentication';
|
|
112
97
|
export { hasAuthParamsInUrl } from './utils/hasAuthParamsInUrl';
|
|
113
98
|
export { navigate } from './utils/navigate';
|
|
@@ -120,5 +105,5 @@ export type { CallbackRouteOptions, ThunderIDRouteRecord } from './router/callba
|
|
|
120
105
|
export { getActiveTheme } from './theme/getActiveTheme';
|
|
121
106
|
export { detectThemeMode, createClassObserver, createMediaQueryListener } from './theme/themeDetection';
|
|
122
107
|
export type { BrowserThemeDetection } from './theme/themeDetection';
|
|
123
|
-
export { ThunderIDRuntimeError,
|
|
108
|
+
export { ThunderIDRuntimeError, EmbeddedFlowComponentType, EmbeddedFlowActionVariant, EmbeddedFlowTextVariant, EmbeddedFlowEventType, type EmbeddedFlowComponent, type EmbeddedFlowResponseData, type EmbeddedFlowExecuteRequestConfig, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, type ExtendedEmbeddedSignInFlowResponse, type EmbeddedSignInFlowResponse, type EmbeddedSignInFlowCompleteResponse, type EmbeddedSignInFlowInitiateRequest, type EmbeddedSignInFlowRequest, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, type ExtendedEmbeddedSignUpFlowResponse, type EmbeddedSignUpFlowResponse, type EmbeddedSignUpFlowCompleteResponse, type EmbeddedSignUpFlowInitiateRequest, type EmbeddedSignUpFlowRequest, type EmbeddedSignUpFlowErrorResponse, type ComponentRenderContext, type ComponentsExtensions, type ComponentRenderer, } from '@thunderid/browser';
|
|
124
109
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,2BAA2B,CAAC;AACrE,YAAY,EAAC,sBAAsB,EAAC,MAAM,2BAA2B,CAAC;AAGtE,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;AAG3E,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAC,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,2BAA2B,CAAC;AACrE,YAAY,EAAC,sBAAsB,EAAC,MAAM,2BAA2B,CAAC;AAGtE,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;AAG3E,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAGjE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,2BAA2B,CA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