@thunderid/vue 0.11.2 → 0.11.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 +8 -19
- package/dist/ThunderIDVueClient.d.ts.map +1 -1
- package/dist/api/getUsersMe.d.ts +0 -17
- package/dist/api/getUsersMe.d.ts.map +1 -1
- package/dist/api/updateMeProfile.d.ts +0 -17
- package/dist/api/updateMeProfile.d.ts.map +1 -1
- package/dist/cjs/index.cjs +25 -320
- package/dist/components/actions/BaseSignInButton.d.ts +0 -17
- package/dist/components/actions/BaseSignInButton.d.ts.map +1 -1
- package/dist/components/actions/BaseSignOutButton.d.ts +0 -17
- package/dist/components/actions/BaseSignOutButton.d.ts.map +1 -1
- package/dist/components/actions/BaseSignUpButton.d.ts +0 -17
- package/dist/components/actions/BaseSignUpButton.d.ts.map +1 -1
- package/dist/components/actions/SignInButton.d.ts +0 -17
- package/dist/components/actions/SignInButton.d.ts.map +1 -1
- package/dist/components/actions/SignOutButton.d.ts +0 -17
- package/dist/components/actions/SignOutButton.d.ts.map +1 -1
- package/dist/components/actions/SignUpButton.d.ts +0 -17
- package/dist/components/actions/SignUpButton.d.ts.map +1 -1
- package/dist/components/adapters/FacebookButton.d.ts +0 -17
- package/dist/components/adapters/FacebookButton.d.ts.map +1 -1
- package/dist/components/adapters/GitHubButton.d.ts +0 -17
- package/dist/components/adapters/GitHubButton.d.ts.map +1 -1
- package/dist/components/adapters/GoogleButton.d.ts +0 -17
- package/dist/components/adapters/GoogleButton.d.ts.map +1 -1
- package/dist/components/adapters/MicrosoftButton.d.ts +0 -17
- package/dist/components/adapters/MicrosoftButton.d.ts.map +1 -1
- package/dist/components/auth/Callback.d.ts +0 -17
- package/dist/components/auth/Callback.d.ts.map +1 -1
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts +0 -17
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts.map +1 -1
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts +0 -17
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +1 -1
- package/dist/components/auth/sign-in/BaseSignIn.d.ts +0 -17
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-in/SignIn.d.ts +0 -17
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-up/BaseSignUp.d.ts +0 -17
- package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -1
- package/dist/components/auth/sign-up/SignUp.d.ts +0 -17
- package/dist/components/auth/sign-up/SignUp.d.ts.map +1 -1
- package/dist/components/control/Loading.d.ts +0 -17
- package/dist/components/control/Loading.d.ts.map +1 -1
- package/dist/components/control/SignedIn.d.ts +0 -17
- package/dist/components/control/SignedIn.d.ts.map +1 -1
- package/dist/components/control/SignedOut.d.ts +0 -17
- package/dist/components/control/SignedOut.d.ts.map +1 -1
- package/dist/components/factories/FieldFactory.d.ts +0 -17
- package/dist/components/factories/FieldFactory.d.ts.map +1 -1
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts +0 -17
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts.map +1 -1
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts +0 -17
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts.map +1 -1
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts +0 -17
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts.map +1 -1
- package/dist/components/presentation/invite-user/InviteUser.d.ts +0 -17
- package/dist/components/presentation/invite-user/InviteUser.d.ts.map +1 -1
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts +0 -17
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts.map +1 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts +0 -17
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +1 -1
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts +0 -17
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/presentation/user/User.d.ts +0 -17
- package/dist/components/presentation/user/User.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts +0 -17
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +0 -17
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts +0 -17
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts +0 -17
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts +0 -17
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/UserProfile.d.ts +0 -17
- package/dist/components/presentation/user-profile/UserProfile.d.ts.map +1 -1
- package/dist/components/primitives/Alert/Alert.css.d.ts +0 -17
- package/dist/components/primitives/Alert/Alert.css.d.ts.map +1 -1
- package/dist/components/primitives/Alert/Alert.d.ts +0 -17
- package/dist/components/primitives/Alert/Alert.d.ts.map +1 -1
- package/dist/components/primitives/Alert/index.d.ts +0 -17
- package/dist/components/primitives/Alert/index.d.ts.map +1 -1
- package/dist/components/primitives/Button/Button.css.d.ts +0 -17
- package/dist/components/primitives/Button/Button.css.d.ts.map +1 -1
- package/dist/components/primitives/Button/Button.d.ts +0 -17
- package/dist/components/primitives/Button/Button.d.ts.map +1 -1
- package/dist/components/primitives/Button/index.d.ts +0 -17
- package/dist/components/primitives/Button/index.d.ts.map +1 -1
- package/dist/components/primitives/Card/Card.css.d.ts +0 -17
- package/dist/components/primitives/Card/Card.css.d.ts.map +1 -1
- package/dist/components/primitives/Card/Card.d.ts +0 -17
- package/dist/components/primitives/Card/Card.d.ts.map +1 -1
- package/dist/components/primitives/Card/index.d.ts +0 -17
- package/dist/components/primitives/Card/index.d.ts.map +1 -1
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts +0 -17
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts.map +1 -1
- package/dist/components/primitives/Checkbox/Checkbox.d.ts +0 -17
- package/dist/components/primitives/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/primitives/Checkbox/index.d.ts +0 -17
- package/dist/components/primitives/Checkbox/index.d.ts.map +1 -1
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts +0 -17
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts.map +1 -1
- package/dist/components/primitives/DatePicker/DatePicker.d.ts +0 -17
- package/dist/components/primitives/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/primitives/DatePicker/index.d.ts +0 -17
- package/dist/components/primitives/DatePicker/index.d.ts.map +1 -1
- package/dist/components/primitives/Divider/Divider.css.d.ts +0 -17
- package/dist/components/primitives/Divider/Divider.css.d.ts.map +1 -1
- package/dist/components/primitives/Divider/Divider.d.ts +0 -17
- package/dist/components/primitives/Divider/Divider.d.ts.map +1 -1
- package/dist/components/primitives/Divider/index.d.ts +0 -17
- package/dist/components/primitives/Divider/index.d.ts.map +1 -1
- package/dist/components/primitives/Icons.d.ts +0 -17
- package/dist/components/primitives/Icons.d.ts.map +1 -1
- package/dist/components/primitives/Logo/Logo.css.d.ts +0 -17
- package/dist/components/primitives/Logo/Logo.css.d.ts.map +1 -1
- package/dist/components/primitives/Logo/Logo.d.ts +0 -17
- package/dist/components/primitives/Logo/Logo.d.ts.map +1 -1
- package/dist/components/primitives/Logo/index.d.ts +0 -17
- package/dist/components/primitives/Logo/index.d.ts.map +1 -1
- package/dist/components/primitives/OtpField/OtpField.css.d.ts +0 -17
- package/dist/components/primitives/OtpField/OtpField.css.d.ts.map +1 -1
- package/dist/components/primitives/OtpField/OtpField.d.ts +0 -17
- package/dist/components/primitives/OtpField/OtpField.d.ts.map +1 -1
- package/dist/components/primitives/OtpField/index.d.ts +0 -17
- package/dist/components/primitives/OtpField/index.d.ts.map +1 -1
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts +0 -17
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts.map +1 -1
- package/dist/components/primitives/PasswordField/PasswordField.d.ts +0 -17
- package/dist/components/primitives/PasswordField/PasswordField.d.ts.map +1 -1
- package/dist/components/primitives/PasswordField/index.d.ts +0 -17
- package/dist/components/primitives/PasswordField/index.d.ts.map +1 -1
- package/dist/components/primitives/Select/Select.css.d.ts +0 -17
- package/dist/components/primitives/Select/Select.css.d.ts.map +1 -1
- package/dist/components/primitives/Select/Select.d.ts +0 -17
- package/dist/components/primitives/Select/Select.d.ts.map +1 -1
- package/dist/components/primitives/Select/index.d.ts +0 -17
- package/dist/components/primitives/Select/index.d.ts.map +1 -1
- package/dist/components/primitives/Spinner/Spinner.css.d.ts +0 -17
- package/dist/components/primitives/Spinner/Spinner.css.d.ts.map +1 -1
- package/dist/components/primitives/Spinner/Spinner.d.ts +0 -17
- package/dist/components/primitives/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/primitives/Spinner/index.d.ts +0 -17
- package/dist/components/primitives/Spinner/index.d.ts.map +1 -1
- package/dist/components/primitives/TextField/TextField.css.d.ts +0 -17
- package/dist/components/primitives/TextField/TextField.css.d.ts.map +1 -1
- package/dist/components/primitives/TextField/TextField.d.ts +0 -17
- package/dist/components/primitives/TextField/TextField.d.ts.map +1 -1
- package/dist/components/primitives/TextField/index.d.ts +0 -17
- package/dist/components/primitives/TextField/index.d.ts.map +1 -1
- package/dist/components/primitives/Typography/Typography.css.d.ts +0 -17
- package/dist/components/primitives/Typography/Typography.css.d.ts.map +1 -1
- package/dist/components/primitives/Typography/Typography.d.ts +0 -17
- package/dist/components/primitives/Typography/Typography.d.ts.map +1 -1
- package/dist/components/primitives/Typography/index.d.ts +0 -17
- package/dist/components/primitives/Typography/index.d.ts.map +1 -1
- package/dist/composables/useFlow.d.ts +0 -17
- package/dist/composables/useFlow.d.ts.map +1 -1
- package/dist/composables/useFlowMeta.d.ts +0 -17
- package/dist/composables/useFlowMeta.d.ts.map +1 -1
- package/dist/composables/useI18n.d.ts +0 -17
- package/dist/composables/useI18n.d.ts.map +1 -1
- package/dist/composables/useOAuthCallback.d.ts +0 -17
- package/dist/composables/useOAuthCallback.d.ts.map +1 -1
- package/dist/composables/useTheme.d.ts +0 -17
- package/dist/composables/useTheme.d.ts.map +1 -1
- package/dist/composables/useThunderID.d.ts +0 -17
- package/dist/composables/useThunderID.d.ts.map +1 -1
- package/dist/composables/useUser.d.ts +0 -17
- package/dist/composables/useUser.d.ts.map +1 -1
- package/dist/index.d.ts +0 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -321
- package/dist/keys.d.ts +0 -17
- package/dist/keys.d.ts.map +1 -1
- package/dist/models/config.d.ts +0 -17
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/contexts.d.ts +5 -17
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/plugins/ThunderIDPlugin.d.ts +0 -17
- package/dist/plugins/ThunderIDPlugin.d.ts.map +1 -1
- package/dist/providers/FlowMetaProvider.d.ts +0 -17
- package/dist/providers/FlowMetaProvider.d.ts.map +1 -1
- package/dist/providers/FlowProvider.d.ts +0 -17
- package/dist/providers/FlowProvider.d.ts.map +1 -1
- package/dist/providers/I18nProvider.d.ts +0 -17
- package/dist/providers/I18nProvider.d.ts.map +1 -1
- package/dist/providers/ThemeProvider.d.ts +0 -17
- package/dist/providers/ThemeProvider.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts +0 -17
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/dist/providers/UserProvider.d.ts +0 -17
- package/dist/providers/UserProvider.d.ts.map +1 -1
- package/dist/router/callbackRoute.d.ts +0 -17
- package/dist/router/callbackRoute.d.ts.map +1 -1
- package/dist/router/guard.d.ts +0 -17
- package/dist/router/guard.d.ts.map +1 -1
- package/dist/styles/animations.css.d.ts +0 -17
- package/dist/styles/animations.css.d.ts.map +1 -1
- package/dist/styles/defaults.css.d.ts +0 -17
- package/dist/styles/defaults.css.d.ts.map +1 -1
- package/dist/styles/injectStyles.d.ts +0 -17
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/dist/theme/getActiveTheme.d.ts +0 -17
- package/dist/theme/getActiveTheme.d.ts.map +1 -1
- package/dist/theme/themeDetection.d.ts +0 -17
- package/dist/theme/themeDetection.d.ts.map +1 -1
- package/dist/utils/buildThemeConfigFromFlowMeta.d.ts +0 -17
- package/dist/utils/buildThemeConfigFromFlowMeta.d.ts.map +1 -1
- package/dist/utils/flowTransformer.d.ts +0 -17
- package/dist/utils/flowTransformer.d.ts.map +1 -1
- package/dist/utils/getAuthComponentHeadings.d.ts +0 -17
- package/dist/utils/getAuthComponentHeadings.d.ts.map +1 -1
- package/dist/utils/getDisplayName.d.ts +0 -17
- package/dist/utils/getDisplayName.d.ts.map +1 -1
- package/dist/utils/getMappedUserProfileValue.d.ts +0 -17
- package/dist/utils/getMappedUserProfileValue.d.ts.map +1 -1
- package/dist/utils/handleWebAuthnAuthentication.d.ts +0 -17
- package/dist/utils/handleWebAuthnAuthentication.d.ts.map +1 -1
- package/dist/utils/hasAuthParamsInUrl.d.ts +0 -17
- package/dist/utils/hasAuthParamsInUrl.d.ts.map +1 -1
- package/dist/utils/http.d.ts +0 -17
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/logger.d.ts +0 -17
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/navigate.d.ts +0 -17
- package/dist/utils/navigate.d.ts.map +1 -1
- package/dist/utils/oauth.d.ts +0 -17
- package/dist/utils/oauth.d.ts.map +1 -1
- package/dist/utils/passkey.d.ts +0 -17
- package/dist/utils/passkey.d.ts.map +1 -1
- package/dist/utils/resolveTranslationsInArray.d.ts +0 -17
- package/dist/utils/resolveTranslationsInArray.d.ts.map +1 -1
- package/dist/utils/resolveTranslationsInObject.d.ts +0 -17
- package/dist/utils/resolveTranslationsInObject.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
import { ThunderIDBrowserClient, UserProfile, User, IdToken, TokenResponse, HttpRequestConfig, HttpResponse, TokenExchangeRequestConfig, StorageManager } from '@thunderid/browser';
|
|
19
2
|
import { ThunderIDVueConfig } from './models/config';
|
|
20
3
|
/**
|
|
@@ -31,10 +14,16 @@ declare class ThunderIDVueClient<T extends ThunderIDVueConfig = ThunderIDVueConf
|
|
|
31
14
|
initialize(config: ThunderIDVueConfig): Promise<boolean>;
|
|
32
15
|
reInitialize(config: Partial<ThunderIDVueConfig>): Promise<boolean>;
|
|
33
16
|
updateUserProfile(): Promise<User>;
|
|
34
|
-
getUser(options?:
|
|
17
|
+
getUser(options?: string | {
|
|
18
|
+
baseUrl?: string;
|
|
19
|
+
url?: string;
|
|
20
|
+
}): Promise<User>;
|
|
35
21
|
getDecodedIdToken(sessionId?: string): Promise<IdToken>;
|
|
36
22
|
getIdToken(): Promise<string>;
|
|
37
|
-
getUserProfile(options?:
|
|
23
|
+
getUserProfile(options?: {
|
|
24
|
+
baseUrl?: string;
|
|
25
|
+
url?: string;
|
|
26
|
+
}): Promise<UserProfile>;
|
|
38
27
|
isLoading(): boolean;
|
|
39
28
|
isInitialized(): Promise<boolean>;
|
|
40
29
|
isSignedIn(): Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThunderIDVueClient.d.ts","sourceRoot":"","sources":["../src/ThunderIDVueClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThunderIDVueClient.d.ts","sourceRoot":"","sources":["../src/ThunderIDVueClient.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,sBAAsB,EAEtB,WAAW,EACX,IAAI,EAKJ,OAAO,EAEP,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAK1B,cAAc,EAGf,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAEnD;;;;;GAKG;AACH,cAAM,kBAAkB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,CAAE,SAAQ,sBAAsB,CAAC,CAAC,CAAC;IAC3G,OAAO,CAAC,YAAY,CAAS;gBAEjB,UAAU,SAAI;IAI1B,OAAO,CAAC,UAAU;YAIJ,WAAW;IAUhB,UAAU,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;IAIxD,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAoB7D,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMlC,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAkB3E,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIvD,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;IAI7B,cAAc,CAAC,OAAO,CAAC,EAAE;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IA2BtF,SAAS,IAAI,OAAO;IAId,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAIjC,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAI9B,aAAa,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,aAAa,GAAG,QAAQ,CAAC;IAMpF,MAAM,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;IAuEpC,cAAc,CAAC,OAAO,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC;IAItD,MAAM,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;IAmD7C,OAAO,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAItE,UAAU,CAAC,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;IAIrE,cAAc,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,YAAY,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAIhC,UAAU,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzF,cAAc,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI3E,iBAAiB,IAAI,cAAc,CAAC,CAAC,CAAC;CAGvD;AAED,eAAe,kBAAkB,CAAC"}
|
package/dist/api/getUsersMe.d.ts
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
import { User, GetUsersMeConfig as BaseGetUsersMeConfig } from '@thunderid/browser';
|
|
19
2
|
export interface GetUsersMeConfig extends Omit<BaseGetUsersMeConfig, 'fetcher'> {
|
|
20
3
|
fetcher?: (url: string, config: RequestInit) => Promise<Response>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsersMe.d.ts","sourceRoot":"","sources":["../../src/api/getUsersMe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getUsersMe.d.ts","sourceRoot":"","sources":["../../src/api/getUsersMe.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,IAAI,EAKJ,gBAAgB,IAAI,oBAAoB,EACzC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAC7E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,UAAU,GAAU,2CAA6C,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAuBrG,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
import { User, UpdateMeProfileConfig as BaseUpdateMeProfileConfig } from '@thunderid/browser';
|
|
19
2
|
export interface UpdateMeProfileConfig extends Omit<BaseUpdateMeProfileConfig, 'fetcher'> {
|
|
20
3
|
fetcher?: (url: string, config: RequestInit) => Promise<Response>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateMeProfile.d.ts","sourceRoot":"","sources":["../../src/api/updateMeProfile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"updateMeProfile.d.ts","sourceRoot":"","sources":["../../src/api/updateMeProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,IAAI,EACJ,qBAAqB,IAAI,yBAAyB,EAEnD,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC;IACvF,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,GAAU,2CAA6C,qBAAqB,KAAG,OAAO,CAAC,IAAI,CAwB/G,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -71,6 +71,7 @@ const FlowMetaProvider = (0, vue.defineComponent)({
|
|
|
71
71
|
const pendingLanguage = (0, vue.ref)(null);
|
|
72
72
|
const baseUrl = thunderIDContext?.baseUrl;
|
|
73
73
|
const applicationId = thunderIDContext?.applicationId;
|
|
74
|
+
const flowMetaUrl = (0, __thunderid_browser.resolveResourceEndpoint)("flowMeta", { endpoints: thunderIDContext?.endpoints });
|
|
74
75
|
const fetchFlowMeta = async () => {
|
|
75
76
|
if (!props.enabled) {
|
|
76
77
|
meta.value = null;
|
|
@@ -81,6 +82,7 @@ const FlowMetaProvider = (0, vue.defineComponent)({
|
|
|
81
82
|
try {
|
|
82
83
|
meta.value = await (0, __thunderid_browser.getFlowMeta)({
|
|
83
84
|
baseUrl,
|
|
85
|
+
url: flowMetaUrl,
|
|
84
86
|
...applicationId ? {
|
|
85
87
|
id: applicationId,
|
|
86
88
|
type: __thunderid_browser.FlowMetaType.App
|
|
@@ -99,6 +101,7 @@ const FlowMetaProvider = (0, vue.defineComponent)({
|
|
|
99
101
|
try {
|
|
100
102
|
const result = await (0, __thunderid_browser.getFlowMeta)({
|
|
101
103
|
baseUrl,
|
|
104
|
+
url: flowMetaUrl,
|
|
102
105
|
...applicationId ? {
|
|
103
106
|
id: applicationId,
|
|
104
107
|
type: __thunderid_browser.FlowMetaType.App
|
|
@@ -659,9 +662,12 @@ var ThunderIDVueClient = class extends __thunderid_browser.ThunderIDBrowserClien
|
|
|
659
662
|
}
|
|
660
663
|
async getUser(options) {
|
|
661
664
|
try {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
return await getUsersMe_default({
|
|
665
|
+
const opts = typeof options === "object" && options !== null ? options : void 0;
|
|
666
|
+
const configData = await this.getStorageManager().getConfigData();
|
|
667
|
+
return await getUsersMe_default({
|
|
668
|
+
baseUrl: opts?.baseUrl ?? configData?.baseUrl,
|
|
669
|
+
url: (0, __thunderid_browser.resolveResourceEndpoint)("usersMe", configData, opts?.url)
|
|
670
|
+
});
|
|
665
671
|
} catch (error) {
|
|
666
672
|
return (0, __thunderid_browser.extractUserClaimsFromIdToken)(await this.getDecodedIdToken());
|
|
667
673
|
}
|
|
@@ -675,11 +681,11 @@ var ThunderIDVueClient = class extends __thunderid_browser.ThunderIDBrowserClien
|
|
|
675
681
|
async getUserProfile(options) {
|
|
676
682
|
return this.withLoading(async () => {
|
|
677
683
|
try {
|
|
678
|
-
|
|
679
|
-
if (!baseUrl) baseUrl = (await this.getStorageManager().getConfigData())?.baseUrl;
|
|
684
|
+
const configData = await this.getStorageManager().getConfigData();
|
|
680
685
|
const profile = await getUsersMe_default({
|
|
681
|
-
baseUrl,
|
|
682
|
-
instanceId: this.getInstanceId()
|
|
686
|
+
baseUrl: options?.baseUrl ?? configData?.baseUrl,
|
|
687
|
+
instanceId: this.getInstanceId(),
|
|
688
|
+
url: (0, __thunderid_browser.resolveResourceEndpoint)("usersMe", configData, options?.url)
|
|
683
689
|
});
|
|
684
690
|
return {
|
|
685
691
|
flattenedProfile: (0, __thunderid_browser.generateFlattenedUserProfile)(profile),
|
|
@@ -718,7 +724,7 @@ var ThunderIDVueClient = class extends __thunderid_browser.ThunderIDBrowserClien
|
|
|
718
724
|
authId: authIdFromUrl || authIdFromStorage || "",
|
|
719
725
|
baseUrl: configData?.baseUrl || "",
|
|
720
726
|
payload: arg1,
|
|
721
|
-
url: arg2?.url
|
|
727
|
+
url: (0, __thunderid_browser.resolveResourceEndpoint)("flowExecute", configData, arg2?.url)
|
|
722
728
|
});
|
|
723
729
|
if (response && typeof response === "object" && response.flowStatus === __thunderid_browser.EmbeddedSignInFlowStatus.Complete && response.assertion) {
|
|
724
730
|
const decodedAssertion = await this.decodeJwtToken(response.assertion);
|
|
@@ -752,7 +758,8 @@ var ThunderIDVueClient = class extends __thunderid_browser.ThunderIDBrowserClien
|
|
|
752
758
|
payload: typeof firstArg === "object" && "flowType" in firstArg ? {
|
|
753
759
|
...firstArg,
|
|
754
760
|
verbose: true
|
|
755
|
-
} : firstArg
|
|
761
|
+
} : firstArg,
|
|
762
|
+
url: (0, __thunderid_browser.resolveResourceEndpoint)("flowExecute", configData)
|
|
756
763
|
});
|
|
757
764
|
if (response && typeof response === "object" && response.flowStatus === __thunderid_browser.EmbeddedSignUpFlowStatus.Complete && response.assertion) {
|
|
758
765
|
const decodedAssertion = await this.decodeJwtToken(response.assertion);
|
|
@@ -840,6 +847,10 @@ const ThunderIDProvider = (0, vue.defineComponent)({
|
|
|
840
847
|
required: true,
|
|
841
848
|
type: String
|
|
842
849
|
},
|
|
850
|
+
endpoints: {
|
|
851
|
+
default: void 0,
|
|
852
|
+
type: Object
|
|
853
|
+
},
|
|
843
854
|
instanceId: {
|
|
844
855
|
default: 0,
|
|
845
856
|
type: Number
|
|
@@ -900,6 +911,7 @@ const ThunderIDProvider = (0, vue.defineComponent)({
|
|
|
900
911
|
applicationId: props.applicationId,
|
|
901
912
|
baseUrl: props.baseUrl,
|
|
902
913
|
clientId: props.clientId,
|
|
914
|
+
endpoints: props.endpoints,
|
|
903
915
|
organizationChain: props.organizationChain,
|
|
904
916
|
organizationHandle: props.organizationHandle,
|
|
905
917
|
scopes: props.scopes,
|
|
@@ -973,6 +985,7 @@ const ThunderIDProvider = (0, vue.defineComponent)({
|
|
|
973
985
|
afterSignInUrl: props.afterSignInUrl,
|
|
974
986
|
applicationId: props.applicationId,
|
|
975
987
|
baseUrl: props.baseUrl,
|
|
988
|
+
endpoints: props.endpoints,
|
|
976
989
|
clearSession: async (...args) => {
|
|
977
990
|
await client.clearSession(...args);
|
|
978
991
|
},
|
|
@@ -1087,23 +1100,6 @@ var ThunderIDProvider_default = ThunderIDProvider;
|
|
|
1087
1100
|
//#endregion
|
|
1088
1101
|
//#region src/styles/animations.css.ts
|
|
1089
1102
|
/**
|
|
1090
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
1091
|
-
*
|
|
1092
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
1093
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
1094
|
-
* in compliance with the License.
|
|
1095
|
-
* You may obtain a copy of the License at
|
|
1096
|
-
*
|
|
1097
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1098
|
-
*
|
|
1099
|
-
* Unless required by applicable law or agreed to in writing,
|
|
1100
|
-
* software distributed under the License is distributed on an
|
|
1101
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1102
|
-
* KIND, either express or implied. See the License for the
|
|
1103
|
-
* specific language governing permissions and limitations
|
|
1104
|
-
* under the License.
|
|
1105
|
-
*/
|
|
1106
|
-
/**
|
|
1107
1103
|
* Shared CSS keyframe animations used by multiple primitive components.
|
|
1108
1104
|
*
|
|
1109
1105
|
* `thunder-spin` - used by Spinner (__svg) and Button (__spinner)
|
|
@@ -1146,23 +1142,6 @@ var animations_css_default = ANIMATIONS_CSS;
|
|
|
1146
1142
|
//#endregion
|
|
1147
1143
|
//#region src/styles/defaults.css.ts
|
|
1148
1144
|
/**
|
|
1149
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
1150
|
-
*
|
|
1151
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
1152
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
1153
|
-
* in compliance with the License.
|
|
1154
|
-
* You may obtain a copy of the License at
|
|
1155
|
-
*
|
|
1156
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1157
|
-
*
|
|
1158
|
-
* Unless required by applicable law or agreed to in writing,
|
|
1159
|
-
* software distributed under the License is distributed on an
|
|
1160
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1161
|
-
* KIND, either express or implied. See the License for the
|
|
1162
|
-
* specific language governing permissions and limitations
|
|
1163
|
-
* under the License.
|
|
1164
|
-
*/
|
|
1165
|
-
/**
|
|
1166
1145
|
* Default CSS custom property fallback values.
|
|
1167
1146
|
*
|
|
1168
1147
|
* These are written into a `:root` rule so that every ThunderID Vue primitive
|
|
@@ -1336,23 +1315,6 @@ var defaults_css_default = DEFAULTS_CSS;
|
|
|
1336
1315
|
//#endregion
|
|
1337
1316
|
//#region src/components/presentation/language-switcher/LanguageSwitcher.css.ts
|
|
1338
1317
|
/**
|
|
1339
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
1340
|
-
*
|
|
1341
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
1342
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
1343
|
-
* in compliance with the License.
|
|
1344
|
-
* You may obtain a copy of the License at
|
|
1345
|
-
*
|
|
1346
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1347
|
-
*
|
|
1348
|
-
* Unless required by applicable law or agreed to in writing,
|
|
1349
|
-
* software distributed under the License is distributed on an
|
|
1350
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1351
|
-
* KIND, either express or implied. See the License for the
|
|
1352
|
-
* specific language governing permissions and limitations
|
|
1353
|
-
* under the License.
|
|
1354
|
-
*/
|
|
1355
|
-
/**
|
|
1356
1318
|
* Styles for the LanguageSwitcher presentation component.
|
|
1357
1319
|
*
|
|
1358
1320
|
* BEM block: `.thunderid-language-switcher`
|
|
@@ -1469,23 +1431,6 @@ var LanguageSwitcher_css_default = LANGUAGE_SWITCHER_CSS;
|
|
|
1469
1431
|
//#endregion
|
|
1470
1432
|
//#region src/components/presentation/user-dropdown/UserDropdown.css.ts
|
|
1471
1433
|
/**
|
|
1472
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
1473
|
-
*
|
|
1474
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
1475
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
1476
|
-
* in compliance with the License.
|
|
1477
|
-
* You may obtain a copy of the License at
|
|
1478
|
-
*
|
|
1479
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1480
|
-
*
|
|
1481
|
-
* Unless required by applicable law or agreed to in writing,
|
|
1482
|
-
* software distributed under the License is distributed on an
|
|
1483
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1484
|
-
* KIND, either express or implied. See the License for the
|
|
1485
|
-
* specific language governing permissions and limitations
|
|
1486
|
-
* under the License.
|
|
1487
|
-
*/
|
|
1488
|
-
/**
|
|
1489
1434
|
* Styles for the UserDropdown presentation component.
|
|
1490
1435
|
*
|
|
1491
1436
|
* BEM block: `.thunderid-user-dropdown`
|
|
@@ -1859,23 +1804,6 @@ var UserDropdown_css_default = USER_DROPDOWN_CSS;
|
|
|
1859
1804
|
//#endregion
|
|
1860
1805
|
//#region src/components/presentation/user-profile/UserProfile.css.ts
|
|
1861
1806
|
/**
|
|
1862
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
1863
|
-
*
|
|
1864
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
1865
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
1866
|
-
* in compliance with the License.
|
|
1867
|
-
* You may obtain a copy of the License at
|
|
1868
|
-
*
|
|
1869
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1870
|
-
*
|
|
1871
|
-
* Unless required by applicable law or agreed to in writing,
|
|
1872
|
-
* software distributed under the License is distributed on an
|
|
1873
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
1874
|
-
* KIND, either express or implied. See the License for the
|
|
1875
|
-
* specific language governing permissions and limitations
|
|
1876
|
-
* under the License.
|
|
1877
|
-
*/
|
|
1878
|
-
/**
|
|
1879
1807
|
* Styles for the UserProfile presentation component.
|
|
1880
1808
|
*
|
|
1881
1809
|
* BEM block: `.thunderid-user-profile`
|
|
@@ -2188,23 +2116,6 @@ var UserProfile_css_default = USER_PROFILE_CSS;
|
|
|
2188
2116
|
//#endregion
|
|
2189
2117
|
//#region src/components/primitives/Alert/Alert.css.ts
|
|
2190
2118
|
/**
|
|
2191
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2192
|
-
*
|
|
2193
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2194
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2195
|
-
* in compliance with the License.
|
|
2196
|
-
* You may obtain a copy of the License at
|
|
2197
|
-
*
|
|
2198
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2199
|
-
*
|
|
2200
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2201
|
-
* software distributed under the License is distributed on an
|
|
2202
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2203
|
-
* KIND, either express or implied. See the License for the
|
|
2204
|
-
* specific language governing permissions and limitations
|
|
2205
|
-
* under the License.
|
|
2206
|
-
*/
|
|
2207
|
-
/**
|
|
2208
2119
|
* Styles for the Alert primitive component.
|
|
2209
2120
|
*
|
|
2210
2121
|
* BEM block: `.thunderid-alert`
|
|
@@ -2286,23 +2197,6 @@ var Alert_css_default = ALERT_CSS;
|
|
|
2286
2197
|
//#endregion
|
|
2287
2198
|
//#region src/components/primitives/Button/Button.css.ts
|
|
2288
2199
|
/**
|
|
2289
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2290
|
-
*
|
|
2291
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2292
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2293
|
-
* in compliance with the License.
|
|
2294
|
-
* You may obtain a copy of the License at
|
|
2295
|
-
*
|
|
2296
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2297
|
-
*
|
|
2298
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2299
|
-
* software distributed under the License is distributed on an
|
|
2300
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2301
|
-
* KIND, either express or implied. See the License for the
|
|
2302
|
-
* specific language governing permissions and limitations
|
|
2303
|
-
* under the License.
|
|
2304
|
-
*/
|
|
2305
|
-
/**
|
|
2306
2200
|
* Styles for the Button primitive component.
|
|
2307
2201
|
*
|
|
2308
2202
|
* BEM block: `.thunderid-button`
|
|
@@ -2575,23 +2469,6 @@ var Button_css_default = BUTTON_CSS;
|
|
|
2575
2469
|
//#endregion
|
|
2576
2470
|
//#region src/components/primitives/Card/Card.css.ts
|
|
2577
2471
|
/**
|
|
2578
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2579
|
-
*
|
|
2580
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2581
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2582
|
-
* in compliance with the License.
|
|
2583
|
-
* You may obtain a copy of the License at
|
|
2584
|
-
*
|
|
2585
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2586
|
-
*
|
|
2587
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2588
|
-
* software distributed under the License is distributed on an
|
|
2589
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2590
|
-
* KIND, either express or implied. See the License for the
|
|
2591
|
-
* specific language governing permissions and limitations
|
|
2592
|
-
* under the License.
|
|
2593
|
-
*/
|
|
2594
|
-
/**
|
|
2595
2472
|
* Styles for the Card primitive component.
|
|
2596
2473
|
*
|
|
2597
2474
|
* BEM block: `.thunderid-card`
|
|
@@ -2629,23 +2506,6 @@ var Card_css_default = CARD_CSS;
|
|
|
2629
2506
|
//#endregion
|
|
2630
2507
|
//#region src/components/primitives/Checkbox/Checkbox.css.ts
|
|
2631
2508
|
/**
|
|
2632
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2633
|
-
*
|
|
2634
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2635
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2636
|
-
* in compliance with the License.
|
|
2637
|
-
* You may obtain a copy of the License at
|
|
2638
|
-
*
|
|
2639
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2640
|
-
*
|
|
2641
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2642
|
-
* software distributed under the License is distributed on an
|
|
2643
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2644
|
-
* KIND, either express or implied. See the License for the
|
|
2645
|
-
* specific language governing permissions and limitations
|
|
2646
|
-
* under the License.
|
|
2647
|
-
*/
|
|
2648
|
-
/**
|
|
2649
2509
|
* Styles for the Checkbox primitive component.
|
|
2650
2510
|
*
|
|
2651
2511
|
* BEM block: `.thunderid-checkbox`
|
|
@@ -2710,23 +2570,6 @@ var Checkbox_css_default = CHECKBOX_CSS;
|
|
|
2710
2570
|
//#endregion
|
|
2711
2571
|
//#region src/components/primitives/DatePicker/DatePicker.css.ts
|
|
2712
2572
|
/**
|
|
2713
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2714
|
-
*
|
|
2715
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2716
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2717
|
-
* in compliance with the License.
|
|
2718
|
-
* You may obtain a copy of the License at
|
|
2719
|
-
*
|
|
2720
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2721
|
-
*
|
|
2722
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2723
|
-
* software distributed under the License is distributed on an
|
|
2724
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2725
|
-
* KIND, either express or implied. See the License for the
|
|
2726
|
-
* specific language governing permissions and limitations
|
|
2727
|
-
* under the License.
|
|
2728
|
-
*/
|
|
2729
|
-
/**
|
|
2730
2573
|
* Styles for the DatePicker primitive component.
|
|
2731
2574
|
*
|
|
2732
2575
|
* BEM block: `.thunderid-date-picker`
|
|
@@ -2808,23 +2651,6 @@ var DatePicker_css_default = DATE_PICKER_CSS;
|
|
|
2808
2651
|
//#endregion
|
|
2809
2652
|
//#region src/components/primitives/Divider/Divider.css.ts
|
|
2810
2653
|
/**
|
|
2811
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2812
|
-
*
|
|
2813
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2814
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2815
|
-
* in compliance with the License.
|
|
2816
|
-
* You may obtain a copy of the License at
|
|
2817
|
-
*
|
|
2818
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2819
|
-
*
|
|
2820
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2821
|
-
* software distributed under the License is distributed on an
|
|
2822
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2823
|
-
* KIND, either express or implied. See the License for the
|
|
2824
|
-
* specific language governing permissions and limitations
|
|
2825
|
-
* under the License.
|
|
2826
|
-
*/
|
|
2827
|
-
/**
|
|
2828
2654
|
* Styles for the Divider primitive component.
|
|
2829
2655
|
*
|
|
2830
2656
|
* BEM block: `.thunderid-divider`
|
|
@@ -2894,23 +2720,6 @@ var Divider_css_default = DIVIDER_CSS;
|
|
|
2894
2720
|
//#endregion
|
|
2895
2721
|
//#region src/components/primitives/Logo/Logo.css.ts
|
|
2896
2722
|
/**
|
|
2897
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2898
|
-
*
|
|
2899
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2900
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2901
|
-
* in compliance with the License.
|
|
2902
|
-
* You may obtain a copy of the License at
|
|
2903
|
-
*
|
|
2904
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2905
|
-
*
|
|
2906
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2907
|
-
* software distributed under the License is distributed on an
|
|
2908
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2909
|
-
* KIND, either express or implied. See the License for the
|
|
2910
|
-
* specific language governing permissions and limitations
|
|
2911
|
-
* under the License.
|
|
2912
|
-
*/
|
|
2913
|
-
/**
|
|
2914
2723
|
* Styles for the Logo primitive component.
|
|
2915
2724
|
*
|
|
2916
2725
|
* BEM block: `.thunderid-logo`
|
|
@@ -2955,23 +2764,6 @@ var Logo_css_default = LOGO_CSS;
|
|
|
2955
2764
|
//#endregion
|
|
2956
2765
|
//#region src/components/primitives/OtpField/OtpField.css.ts
|
|
2957
2766
|
/**
|
|
2958
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
2959
|
-
*
|
|
2960
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
2961
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
2962
|
-
* in compliance with the License.
|
|
2963
|
-
* You may obtain a copy of the License at
|
|
2964
|
-
*
|
|
2965
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2966
|
-
*
|
|
2967
|
-
* Unless required by applicable law or agreed to in writing,
|
|
2968
|
-
* software distributed under the License is distributed on an
|
|
2969
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
2970
|
-
* KIND, either express or implied. See the License for the
|
|
2971
|
-
* specific language governing permissions and limitations
|
|
2972
|
-
* under the License.
|
|
2973
|
-
*/
|
|
2974
|
-
/**
|
|
2975
2767
|
* Styles for the OtpField primitive component.
|
|
2976
2768
|
*
|
|
2977
2769
|
* BEM block: `.thunderid-otp-field`
|
|
@@ -3047,23 +2839,6 @@ var OtpField_css_default = OTP_FIELD_CSS;
|
|
|
3047
2839
|
//#endregion
|
|
3048
2840
|
//#region src/components/primitives/PasswordField/PasswordField.css.ts
|
|
3049
2841
|
/**
|
|
3050
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3051
|
-
*
|
|
3052
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3053
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3054
|
-
* in compliance with the License.
|
|
3055
|
-
* You may obtain a copy of the License at
|
|
3056
|
-
*
|
|
3057
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3058
|
-
*
|
|
3059
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3060
|
-
* software distributed under the License is distributed on an
|
|
3061
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3062
|
-
* KIND, either express or implied. See the License for the
|
|
3063
|
-
* specific language governing permissions and limitations
|
|
3064
|
-
* under the License.
|
|
3065
|
-
*/
|
|
3066
|
-
/**
|
|
3067
2842
|
* Styles for the PasswordField primitive component.
|
|
3068
2843
|
*
|
|
3069
2844
|
* BEM block: `.thunderid-password-field`
|
|
@@ -3175,23 +2950,6 @@ var PasswordField_css_default = PASSWORD_FIELD_CSS;
|
|
|
3175
2950
|
//#endregion
|
|
3176
2951
|
//#region src/components/primitives/Select/Select.css.ts
|
|
3177
2952
|
/**
|
|
3178
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3179
|
-
*
|
|
3180
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3181
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3182
|
-
* in compliance with the License.
|
|
3183
|
-
* You may obtain a copy of the License at
|
|
3184
|
-
*
|
|
3185
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3186
|
-
*
|
|
3187
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3188
|
-
* software distributed under the License is distributed on an
|
|
3189
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3190
|
-
* KIND, either express or implied. See the License for the
|
|
3191
|
-
* specific language governing permissions and limitations
|
|
3192
|
-
* under the License.
|
|
3193
|
-
*/
|
|
3194
|
-
/**
|
|
3195
2953
|
* Styles for the Select primitive component.
|
|
3196
2954
|
*
|
|
3197
2955
|
* BEM block: `.thunderid-select`
|
|
@@ -3286,23 +3044,6 @@ var Select_css_default = SELECT_CSS;
|
|
|
3286
3044
|
//#endregion
|
|
3287
3045
|
//#region src/components/primitives/Spinner/Spinner.css.ts
|
|
3288
3046
|
/**
|
|
3289
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3290
|
-
*
|
|
3291
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3292
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3293
|
-
* in compliance with the License.
|
|
3294
|
-
* You may obtain a copy of the License at
|
|
3295
|
-
*
|
|
3296
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3297
|
-
*
|
|
3298
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3299
|
-
* software distributed under the License is distributed on an
|
|
3300
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3301
|
-
* KIND, either express or implied. See the License for the
|
|
3302
|
-
* specific language governing permissions and limitations
|
|
3303
|
-
* under the License.
|
|
3304
|
-
*/
|
|
3305
|
-
/**
|
|
3306
3047
|
* Styles for the Spinner primitive component.
|
|
3307
3048
|
*
|
|
3308
3049
|
* BEM block: `.thunderid-spinner`
|
|
@@ -3360,23 +3101,6 @@ var Spinner_css_default = SPINNER_CSS;
|
|
|
3360
3101
|
//#endregion
|
|
3361
3102
|
//#region src/components/primitives/TextField/TextField.css.ts
|
|
3362
3103
|
/**
|
|
3363
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3364
|
-
*
|
|
3365
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3366
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3367
|
-
* in compliance with the License.
|
|
3368
|
-
* You may obtain a copy of the License at
|
|
3369
|
-
*
|
|
3370
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3371
|
-
*
|
|
3372
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3373
|
-
* software distributed under the License is distributed on an
|
|
3374
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3375
|
-
* KIND, either express or implied. See the License for the
|
|
3376
|
-
* specific language governing permissions and limitations
|
|
3377
|
-
* under the License.
|
|
3378
|
-
*/
|
|
3379
|
-
/**
|
|
3380
3104
|
* Styles for the TextField primitive component.
|
|
3381
3105
|
*
|
|
3382
3106
|
* BEM block: `.thunderid-text-field`
|
|
@@ -3467,23 +3191,6 @@ var TextField_css_default = TEXT_FIELD_CSS;
|
|
|
3467
3191
|
//#endregion
|
|
3468
3192
|
//#region src/components/primitives/Typography/Typography.css.ts
|
|
3469
3193
|
/**
|
|
3470
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3471
|
-
*
|
|
3472
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
3473
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
3474
|
-
* in compliance with the License.
|
|
3475
|
-
* You may obtain a copy of the License at
|
|
3476
|
-
*
|
|
3477
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3478
|
-
*
|
|
3479
|
-
* Unless required by applicable law or agreed to in writing,
|
|
3480
|
-
* software distributed under the License is distributed on an
|
|
3481
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
3482
|
-
* KIND, either express or implied. See the License for the
|
|
3483
|
-
* specific language governing permissions and limitations
|
|
3484
|
-
* under the License.
|
|
3485
|
-
*/
|
|
3486
|
-
/**
|
|
3487
3194
|
* Styles for the Typography primitive component.
|
|
3488
3195
|
*
|
|
3489
3196
|
* BEM block: `.thunderid-typography`
|
|
@@ -8223,7 +7930,7 @@ const UserProfile = (0, vue.defineComponent)({
|
|
|
8223
7930
|
}
|
|
8224
7931
|
},
|
|
8225
7932
|
setup(props, { slots }) {
|
|
8226
|
-
const { baseUrl, instanceId } = useThunderID_default();
|
|
7933
|
+
const { baseUrl, endpoints, instanceId } = useThunderID_default();
|
|
8227
7934
|
const { flattenedProfile, profile, onUpdateProfile } = useUser_default();
|
|
8228
7935
|
const { t } = useI18n_default();
|
|
8229
7936
|
const error = (0, vue.ref)(null);
|
|
@@ -8233,6 +7940,7 @@ const UserProfile = (0, vue.defineComponent)({
|
|
|
8233
7940
|
try {
|
|
8234
7941
|
onUpdateProfile(await updateMeProfile_default({
|
|
8235
7942
|
baseUrl,
|
|
7943
|
+
url: (0, __thunderid_browser.resolveResourceEndpoint)("usersMe", { endpoints }),
|
|
8236
7944
|
instanceId,
|
|
8237
7945
|
payload
|
|
8238
7946
|
}));
|
|
@@ -9039,10 +8747,7 @@ const AcceptInvite = (0, vue.defineComponent)({
|
|
|
9039
8747
|
},
|
|
9040
8748
|
method: "POST"
|
|
9041
8749
|
});
|
|
9042
|
-
if (!response.ok)
|
|
9043
|
-
const errorText = await response.text();
|
|
9044
|
-
throw new Error(`Request failed: ${errorText}`);
|
|
9045
|
-
}
|
|
8750
|
+
if (!response.ok) throw new __thunderid_browser.ThunderIDAPIError(await response.text(), "AcceptInvite-ResponseError-001", "vue", response.status, response.statusText);
|
|
9046
8751
|
return response.json();
|
|
9047
8752
|
};
|
|
9048
8753
|
return () => (0, vue.h)(BaseAcceptInvite_default, {
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
-
*
|
|
4
|
-
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
-
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
-
* in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
1
|
import { type Component } from 'vue';
|
|
19
2
|
/**
|
|
20
3
|
* BaseSignInButton — styled sign-in button with customization support.
|