@thunderid/vue 0.0.1
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/LICENSE +201 -0
- package/dist/ThunderIDVueClient.d.ts +65 -0
- package/dist/ThunderIDVueClient.d.ts.map +1 -0
- package/dist/__temp__/api.d.ts +64 -0
- package/dist/__temp__/api.d.ts.map +1 -0
- package/dist/__temp__/models.d.ts +44 -0
- package/dist/__temp__/models.d.ts.map +1 -0
- package/dist/api/getAllOrganizations.d.ts +25 -0
- package/dist/api/getAllOrganizations.d.ts.map +1 -0
- package/dist/api/getMeOrganizations.d.ts +25 -0
- package/dist/api/getMeOrganizations.d.ts.map +1 -0
- package/dist/api/getSchemas.d.ts +25 -0
- package/dist/api/getSchemas.d.ts.map +1 -0
- package/dist/api/getScim2Me.d.ts +25 -0
- package/dist/api/getScim2Me.d.ts.map +1 -0
- package/dist/api/updateMeProfile.d.ts +25 -0
- package/dist/api/updateMeProfile.d.ts.map +1 -0
- package/dist/cjs/index.cjs +13392 -0
- package/dist/components/actions/BaseSignInButton.d.ts +35 -0
- package/dist/components/actions/BaseSignInButton.d.ts.map +1 -0
- package/dist/components/actions/BaseSignOutButton.d.ts +35 -0
- package/dist/components/actions/BaseSignOutButton.d.ts.map +1 -0
- package/dist/components/actions/BaseSignUpButton.d.ts +35 -0
- package/dist/components/actions/BaseSignUpButton.d.ts.map +1 -0
- package/dist/components/actions/SignInButton.d.ts +27 -0
- package/dist/components/actions/SignInButton.d.ts.map +1 -0
- package/dist/components/actions/SignOutButton.d.ts +24 -0
- package/dist/components/actions/SignOutButton.d.ts.map +1 -0
- package/dist/components/actions/SignUpButton.d.ts +27 -0
- package/dist/components/actions/SignUpButton.d.ts.map +1 -0
- package/dist/components/adapters/FacebookButton.d.ts +25 -0
- package/dist/components/adapters/FacebookButton.d.ts.map +1 -0
- package/dist/components/adapters/GitHubButton.d.ts +25 -0
- package/dist/components/adapters/GitHubButton.d.ts.map +1 -0
- package/dist/components/adapters/GoogleButton.d.ts +25 -0
- package/dist/components/adapters/GoogleButton.d.ts.map +1 -0
- package/dist/components/adapters/MicrosoftButton.d.ts +25 -0
- package/dist/components/adapters/MicrosoftButton.d.ts.map +1 -0
- package/dist/components/auth/Callback.d.ts +32 -0
- package/dist/components/auth/Callback.d.ts.map +1 -0
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts +19 -0
- package/dist/components/auth/sign-in/AuthOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts +69 -0
- package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +1 -0
- package/dist/components/auth/sign-in/BaseSignIn.d.ts +28 -0
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/SignIn.d.ts +28 -0
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts +27 -0
- package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v1/SignIn.d.ts +27 -0
- package/dist/components/auth/sign-in/v1/SignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts +47 -0
- package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts +19 -0
- package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts +83 -0
- package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-in/v2/SignIn.d.ts +56 -0
- package/dist/components/auth/sign-in/v2/SignIn.d.ts.map +1 -0
- package/dist/components/auth/sign-up/BaseSignUp.d.ts +33 -0
- package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/SignUp.d.ts +29 -0
- package/dist/components/auth/sign-up/SignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts +49 -0
- package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v1/SignUp.d.ts +31 -0
- package/dist/components/auth/sign-up/v1/SignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts +50 -0
- package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts +73 -0
- package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts.map +1 -0
- package/dist/components/auth/sign-up/v2/SignUp.d.ts +26 -0
- package/dist/components/auth/sign-up/v2/SignUp.d.ts.map +1 -0
- package/dist/components/control/Loading.d.ts +34 -0
- package/dist/components/control/Loading.d.ts.map +1 -0
- package/dist/components/control/SignedIn.d.ts +34 -0
- package/dist/components/control/SignedIn.d.ts.map +1 -0
- package/dist/components/control/SignedOut.d.ts +34 -0
- package/dist/components/control/SignedOut.d.ts.map +1 -0
- package/dist/components/factories/FieldFactory.d.ts +52 -0
- package/dist/components/factories/FieldFactory.d.ts.map +1 -0
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts +29 -0
- package/dist/components/presentation/accept-invite/AcceptInvite.d.ts.map +1 -0
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts +83 -0
- package/dist/components/presentation/accept-invite/BaseAcceptInvite.d.ts.map +1 -0
- package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts +26 -0
- package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts.map +1 -0
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts +35 -0
- package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts.map +1 -0
- package/dist/components/presentation/create-organization/CreateOrganization.d.ts +26 -0
- package/dist/components/presentation/create-organization/CreateOrganization.d.ts.map +1 -0
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts +81 -0
- package/dist/components/presentation/invite-user/BaseInviteUser.d.ts.map +1 -0
- package/dist/components/presentation/invite-user/InviteUser.d.ts +26 -0
- package/dist/components/presentation/invite-user/InviteUser.d.ts.map +1 -0
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts +26 -0
- package/dist/components/presentation/language-switcher/BaseLanguageSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts +37 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.css.d.ts.map +1 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts +26 -0
- package/dist/components/presentation/language-switcher/LanguageSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/organization/Organization.d.ts +39 -0
- package/dist/components/presentation/organization/Organization.d.ts.map +1 -0
- package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts +24 -0
- package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts.map +1 -0
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts +33 -0
- package/dist/components/presentation/organization-list/OrganizationList.css.d.ts.map +1 -0
- package/dist/components/presentation/organization-list/OrganizationList.d.ts +26 -0
- package/dist/components/presentation/organization-list/OrganizationList.d.ts.map +1 -0
- package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts +27 -0
- package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts.map +1 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts +25 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts.map +1 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts +26 -0
- package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts.map +1 -0
- package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts +26 -0
- package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts +40 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts.map +1 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts +26 -0
- package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts.map +1 -0
- package/dist/components/presentation/user/User.d.ts +39 -0
- package/dist/components/presentation/user/User.d.ts.map +1 -0
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts +59 -0
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts.map +1 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +46 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +1 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts +44 -0
- package/dist/components/presentation/user-dropdown/UserDropdown.d.ts.map +1 -0
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts +40 -0
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts.map +1 -0
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts +34 -0
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +1 -0
- package/dist/components/presentation/user-profile/UserProfile.d.ts +21 -0
- package/dist/components/presentation/user-profile/UserProfile.d.ts.map +1 -0
- package/dist/components/primitives/Alert/Alert.css.d.ts +31 -0
- package/dist/components/primitives/Alert/Alert.css.d.ts.map +1 -0
- package/dist/components/primitives/Alert/Alert.d.ts +21 -0
- package/dist/components/primitives/Alert/Alert.d.ts.map +1 -0
- package/dist/components/primitives/Alert/index.d.ts +19 -0
- package/dist/components/primitives/Alert/index.d.ts.map +1 -0
- package/dist/components/primitives/Button/Button.css.d.ts +37 -0
- package/dist/components/primitives/Button/Button.css.d.ts.map +1 -0
- package/dist/components/primitives/Button/Button.d.ts +21 -0
- package/dist/components/primitives/Button/Button.d.ts.map +1 -0
- package/dist/components/primitives/Button/index.d.ts +19 -0
- package/dist/components/primitives/Button/index.d.ts.map +1 -0
- package/dist/components/primitives/Card/Card.css.d.ts +30 -0
- package/dist/components/primitives/Card/Card.css.d.ts.map +1 -0
- package/dist/components/primitives/Card/Card.d.ts +21 -0
- package/dist/components/primitives/Card/Card.d.ts.map +1 -0
- package/dist/components/primitives/Card/index.d.ts +19 -0
- package/dist/components/primitives/Card/index.d.ts.map +1 -0
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts +31 -0
- package/dist/components/primitives/Checkbox/Checkbox.css.d.ts.map +1 -0
- package/dist/components/primitives/Checkbox/Checkbox.d.ts +21 -0
- package/dist/components/primitives/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/primitives/Checkbox/index.d.ts +19 -0
- package/dist/components/primitives/Checkbox/index.d.ts.map +1 -0
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts +31 -0
- package/dist/components/primitives/DatePicker/DatePicker.css.d.ts.map +1 -0
- package/dist/components/primitives/DatePicker/DatePicker.d.ts +21 -0
- package/dist/components/primitives/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/primitives/DatePicker/index.d.ts +19 -0
- package/dist/components/primitives/DatePicker/index.d.ts.map +1 -0
- package/dist/components/primitives/Divider/Divider.css.d.ts +33 -0
- package/dist/components/primitives/Divider/Divider.css.d.ts.map +1 -0
- package/dist/components/primitives/Divider/Divider.d.ts +21 -0
- package/dist/components/primitives/Divider/Divider.d.ts.map +1 -0
- package/dist/components/primitives/Divider/index.d.ts +19 -0
- package/dist/components/primitives/Divider/index.d.ts.map +1 -0
- package/dist/components/primitives/Icons.d.ts +35 -0
- package/dist/components/primitives/Icons.d.ts.map +1 -0
- package/dist/components/primitives/Logo/Logo.css.d.ts +28 -0
- package/dist/components/primitives/Logo/Logo.css.d.ts.map +1 -0
- package/dist/components/primitives/Logo/Logo.d.ts +21 -0
- package/dist/components/primitives/Logo/Logo.d.ts.map +1 -0
- package/dist/components/primitives/Logo/index.d.ts +19 -0
- package/dist/components/primitives/Logo/index.d.ts.map +1 -0
- package/dist/components/primitives/OtpField/OtpField.css.d.ts +28 -0
- package/dist/components/primitives/OtpField/OtpField.css.d.ts.map +1 -0
- package/dist/components/primitives/OtpField/OtpField.d.ts +21 -0
- package/dist/components/primitives/OtpField/OtpField.d.ts.map +1 -0
- package/dist/components/primitives/OtpField/index.d.ts +19 -0
- package/dist/components/primitives/OtpField/index.d.ts.map +1 -0
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts +31 -0
- package/dist/components/primitives/PasswordField/PasswordField.css.d.ts.map +1 -0
- package/dist/components/primitives/PasswordField/PasswordField.d.ts +21 -0
- package/dist/components/primitives/PasswordField/PasswordField.d.ts.map +1 -0
- package/dist/components/primitives/PasswordField/index.d.ts +19 -0
- package/dist/components/primitives/PasswordField/index.d.ts.map +1 -0
- package/dist/components/primitives/Select/Select.css.d.ts +31 -0
- package/dist/components/primitives/Select/Select.css.d.ts.map +1 -0
- package/dist/components/primitives/Select/Select.d.ts +26 -0
- package/dist/components/primitives/Select/Select.d.ts.map +1 -0
- package/dist/components/primitives/Select/index.d.ts +19 -0
- package/dist/components/primitives/Select/index.d.ts.map +1 -0
- package/dist/components/primitives/Spinner/Spinner.css.d.ts +34 -0
- package/dist/components/primitives/Spinner/Spinner.css.d.ts.map +1 -0
- package/dist/components/primitives/Spinner/Spinner.d.ts +21 -0
- package/dist/components/primitives/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/primitives/Spinner/index.d.ts +19 -0
- package/dist/components/primitives/Spinner/index.d.ts.map +1 -0
- package/dist/components/primitives/TextField/TextField.css.d.ts +31 -0
- package/dist/components/primitives/TextField/TextField.css.d.ts.map +1 -0
- package/dist/components/primitives/TextField/TextField.d.ts +21 -0
- package/dist/components/primitives/TextField/TextField.d.ts.map +1 -0
- package/dist/components/primitives/TextField/index.d.ts +19 -0
- package/dist/components/primitives/TextField/index.d.ts.map +1 -0
- package/dist/components/primitives/Typography/Typography.css.d.ts +31 -0
- package/dist/components/primitives/Typography/Typography.css.d.ts.map +1 -0
- package/dist/components/primitives/Typography/Typography.d.ts +21 -0
- package/dist/components/primitives/Typography/Typography.d.ts.map +1 -0
- package/dist/components/primitives/Typography/index.d.ts +19 -0
- package/dist/components/primitives/Typography/index.d.ts.map +1 -0
- package/dist/composables/useBranding.d.ts +44 -0
- package/dist/composables/useBranding.d.ts.map +1 -0
- package/dist/composables/useFlow.d.ts +46 -0
- package/dist/composables/useFlow.d.ts.map +1 -0
- package/dist/composables/useFlowMeta.d.ts +42 -0
- package/dist/composables/useFlowMeta.d.ts.map +1 -0
- package/dist/composables/useI18n.d.ts +46 -0
- package/dist/composables/useI18n.d.ts.map +1 -0
- package/dist/composables/useOAuthCallback.d.ts +66 -0
- package/dist/composables/useOAuthCallback.d.ts.map +1 -0
- package/dist/composables/useOrganization.d.ts +42 -0
- package/dist/composables/useOrganization.d.ts.map +1 -0
- package/dist/composables/useTheme.d.ts +44 -0
- package/dist/composables/useTheme.d.ts.map +1 -0
- package/dist/composables/useThunderID.d.ts +49 -0
- package/dist/composables/useThunderID.d.ts.map +1 -0
- package/dist/composables/useUser.d.ts +45 -0
- package/dist/composables/useUser.d.ts.map +1 -0
- package/dist/composables/v2/useOAuthCallback.d.ts +70 -0
- package/dist/composables/v2/useOAuthCallback.d.ts.map +1 -0
- package/dist/index.d.ts +124 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13168 -0
- package/dist/keys.d.ts +52 -0
- package/dist/keys.d.ts.map +1 -0
- package/dist/models/config.d.ts +20 -0
- package/dist/models/config.d.ts.map +1 -0
- package/dist/models/contexts.d.ts +246 -0
- package/dist/models/contexts.d.ts.map +1 -0
- package/dist/plugins/ThunderIDPlugin.d.ts +72 -0
- package/dist/plugins/ThunderIDPlugin.d.ts.map +1 -0
- package/dist/providers/BrandingProvider.d.ts +30 -0
- package/dist/providers/BrandingProvider.d.ts.map +1 -0
- package/dist/providers/FlowMetaProvider.d.ts +21 -0
- package/dist/providers/FlowMetaProvider.d.ts.map +1 -0
- package/dist/providers/FlowProvider.d.ts +21 -0
- package/dist/providers/FlowProvider.d.ts.map +1 -0
- package/dist/providers/I18nProvider.d.ts +21 -0
- package/dist/providers/I18nProvider.d.ts.map +1 -0
- package/dist/providers/OrganizationProvider.d.ts +21 -0
- package/dist/providers/OrganizationProvider.d.ts.map +1 -0
- package/dist/providers/ThemeProvider.d.ts +21 -0
- package/dist/providers/ThemeProvider.d.ts.map +1 -0
- package/dist/providers/ThunderIDProvider.d.ts +36 -0
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -0
- package/dist/providers/UserProvider.d.ts +21 -0
- package/dist/providers/UserProvider.d.ts.map +1 -0
- package/dist/router/callbackRoute.d.ts +88 -0
- package/dist/router/callbackRoute.d.ts.map +1 -0
- package/dist/router/guard.d.ts +97 -0
- package/dist/router/guard.d.ts.map +1 -0
- package/dist/styles/animations.css.d.ts +29 -0
- package/dist/styles/animations.css.d.ts.map +1 -0
- package/dist/styles/defaults.css.d.ts +32 -0
- package/dist/styles/defaults.css.d.ts.map +1 -0
- package/dist/styles/injectStyles.d.ts +24 -0
- package/dist/styles/injectStyles.d.ts.map +1 -0
- package/dist/theme/getActiveTheme.d.ts +29 -0
- package/dist/theme/getActiveTheme.d.ts.map +1 -0
- package/dist/theme/themeDetection.d.ts +31 -0
- package/dist/theme/themeDetection.d.ts.map +1 -0
- package/dist/utils/getDisplayName.d.ts +21 -0
- package/dist/utils/getDisplayName.d.ts.map +1 -0
- package/dist/utils/getMappedUserProfileValue.d.ts +21 -0
- package/dist/utils/getMappedUserProfileValue.d.ts.map +1 -0
- package/dist/utils/handleWebAuthnAuthentication.d.ts +28 -0
- package/dist/utils/handleWebAuthnAuthentication.d.ts.map +1 -0
- package/dist/utils/hasAuthParamsInUrl.d.ts +27 -0
- package/dist/utils/hasAuthParamsInUrl.d.ts.map +1 -0
- package/dist/utils/http.d.ts +27 -0
- package/dist/utils/http.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +31 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/navigate.d.ts +28 -0
- package/dist/utils/navigate.d.ts.map +1 -0
- package/dist/utils/oauth.d.ts +25 -0
- package/dist/utils/oauth.d.ts.map +1 -0
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts +29 -0
- package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts.map +1 -0
- package/dist/utils/v2/flowTransformer.d.ts +97 -0
- package/dist/utils/v2/flowTransformer.d.ts.map +1 -0
- package/dist/utils/v2/getAuthComponentHeadings.d.ts +41 -0
- package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +1 -0
- package/dist/utils/v2/passkey.d.ts +32 -0
- package/dist/utils/v2/passkey.d.ts.map +1 -0
- package/dist/utils/v2/resolveTranslationsInArray.d.ts +30 -0
- package/dist/utils/v2/resolveTranslationsInArray.d.ts.map +1 -0
- package/dist/utils/v2/resolveTranslationsInObject.d.ts +30 -0
- package/dist/utils/v2/resolveTranslationsInObject.d.ts.map +1 -0
- package/package.json +76 -0
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* A component that only renders its children when the user is signed out.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```vue
|
|
24
|
+
* <SignedOut>
|
|
25
|
+
* <p>Please sign in to continue</p>
|
|
26
|
+
* <template #fallback>
|
|
27
|
+
* <p>You are already signed in</p>
|
|
28
|
+
* </template>
|
|
29
|
+
* </SignedOut>
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
declare const SignedOut: Component;
|
|
33
|
+
export default SignedOut;
|
|
34
|
+
//# sourceMappingURL=SignedOut.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignedOut.d.ts","sourceRoot":"","sources":["../../../src/components/control/SignedOut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,SAAS,EAA2C,MAAM,KAAK,CAAC;AAG7E;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,SAAS,EAAE,SAef,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import { FieldType } from '@thunderid/browser';
|
|
19
|
+
import { type Component, type VNode } from 'vue';
|
|
20
|
+
import { type SelectOption } from '../primitives/Select/Select';
|
|
21
|
+
/**
|
|
22
|
+
* Interface for field configuration.
|
|
23
|
+
*/
|
|
24
|
+
export interface FieldConfig {
|
|
25
|
+
className?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
error?: string;
|
|
28
|
+
label: string;
|
|
29
|
+
name: string;
|
|
30
|
+
onBlur?: () => void;
|
|
31
|
+
onChange: (value: string) => void;
|
|
32
|
+
options?: SelectOption[];
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
required: boolean;
|
|
35
|
+
touched?: boolean;
|
|
36
|
+
type: FieldType;
|
|
37
|
+
value: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Utility function to validate field values based on type.
|
|
41
|
+
*/
|
|
42
|
+
export declare const validateFieldValue: (value: string, type: FieldType, required?: boolean, touched?: boolean) => string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Factory function to create form field VNodes based on FieldType.
|
|
45
|
+
*/
|
|
46
|
+
export declare const createField: (config: FieldConfig) => VNode;
|
|
47
|
+
/**
|
|
48
|
+
* FieldFactory — Vue component wrapper for the field factory.
|
|
49
|
+
*/
|
|
50
|
+
declare const FieldFactory: Component;
|
|
51
|
+
export default FieldFactory;
|
|
52
|
+
//# sourceMappingURL=FieldFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldFactory.d.ts","sourceRoot":"","sources":["../../../src/components/factories/FieldFactory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,KAAK,SAAS,EAAiB,KAAK,KAAK,EAAqB,MAAM,KAAK,CAAC;AAKlF,OAAe,EAAC,KAAK,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAGtE;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAgBD;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,MAAM,EACb,MAAM,SAAS,EACf,kBAAgB,EAChB,iBAAe,KACd,MAAM,GAAG,IAsBX,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,WAAW,KAAG,KAkHjD,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,YAAY,EAAE,SAkClB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
import type { BaseAcceptInviteRenderProps } from './BaseAcceptInvite';
|
|
20
|
+
export type AcceptInviteRenderProps = BaseAcceptInviteRenderProps;
|
|
21
|
+
/**
|
|
22
|
+
* AcceptInvite — end-user component for accepting an invite and setting a password.
|
|
23
|
+
*
|
|
24
|
+
* Automatically extracts flowId and inviteToken from URL, validates the token,
|
|
25
|
+
* and delegates rendering to BaseAcceptInvite.
|
|
26
|
+
*/
|
|
27
|
+
declare const AcceptInvite: Component;
|
|
28
|
+
export default AcceptInvite;
|
|
29
|
+
//# sourceMappingURL=AcceptInvite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcceptInvite.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/accept-invite/AcceptInvite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAErG,OAAO,KAAK,EAA2B,2BAA2B,EAAC,MAAM,oBAAoB,CAAC;AAE9F,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AAclE;;;;;GAKG;AACH,QAAA,MAAM,YAAY,EAAE,SAgElB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
import { FlowMetadataResponse } from '@thunderid/browser';
|
|
19
|
+
import { type Component } from 'vue';
|
|
20
|
+
/**
|
|
21
|
+
* Flow response from the accept-invite backend.
|
|
22
|
+
*/
|
|
23
|
+
export interface AcceptInviteFlowResponse {
|
|
24
|
+
data?: {
|
|
25
|
+
additionalData?: Record<string, string>;
|
|
26
|
+
components?: any[];
|
|
27
|
+
meta?: {
|
|
28
|
+
components?: any[];
|
|
29
|
+
};
|
|
30
|
+
redirectURL?: string;
|
|
31
|
+
};
|
|
32
|
+
failureReason?: string;
|
|
33
|
+
flowId: string;
|
|
34
|
+
flowStatus: 'INCOMPLETE' | 'COMPLETE' | 'ERROR';
|
|
35
|
+
type?: 'VIEW' | 'REDIRECTION';
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Render props passed to the default scoped slot.
|
|
39
|
+
*/
|
|
40
|
+
export interface BaseAcceptInviteRenderProps {
|
|
41
|
+
completionTitle?: string;
|
|
42
|
+
components: any[];
|
|
43
|
+
error?: Error | null;
|
|
44
|
+
fieldErrors: Record<string, string>;
|
|
45
|
+
flowId?: string;
|
|
46
|
+
goToSignIn?: () => void;
|
|
47
|
+
handleInputBlur: (name: string) => void;
|
|
48
|
+
handleInputChange: (name: string, value: string) => void;
|
|
49
|
+
handleSubmit: (component: any, data?: Record<string, any>) => Promise<void>;
|
|
50
|
+
inviteToken?: string;
|
|
51
|
+
isComplete: boolean;
|
|
52
|
+
isLoading: boolean;
|
|
53
|
+
isTokenInvalid: boolean;
|
|
54
|
+
isValid: boolean;
|
|
55
|
+
isValidatingToken: boolean;
|
|
56
|
+
meta: FlowMetadataResponse | null;
|
|
57
|
+
subtitle?: string;
|
|
58
|
+
title?: string;
|
|
59
|
+
touched: Record<string, boolean>;
|
|
60
|
+
values: Record<string, string>;
|
|
61
|
+
}
|
|
62
|
+
export interface BaseAcceptInviteProps {
|
|
63
|
+
className?: string;
|
|
64
|
+
flowId?: string;
|
|
65
|
+
inviteToken?: string;
|
|
66
|
+
onComplete?: () => void;
|
|
67
|
+
onError?: (error: Error) => void;
|
|
68
|
+
onFlowChange?: (response: AcceptInviteFlowResponse) => void;
|
|
69
|
+
onGoToSignIn?: () => void;
|
|
70
|
+
onSubmit: (payload: Record<string, any>) => Promise<AcceptInviteFlowResponse>;
|
|
71
|
+
showSubtitle?: boolean;
|
|
72
|
+
showTitle?: boolean;
|
|
73
|
+
size?: 'small' | 'medium' | 'large';
|
|
74
|
+
variant?: 'outlined' | 'elevated';
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* BaseAcceptInvite — handles the accept-invite flow lifecycle.
|
|
78
|
+
*
|
|
79
|
+
* Steps: validate invite token → render password form → flow completion.
|
|
80
|
+
*/
|
|
81
|
+
declare const BaseAcceptInvite: Component;
|
|
82
|
+
export default BaseAcceptInvite;
|
|
83
|
+
//# sourceMappingURL=BaseAcceptInvite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAcceptInvite.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/accept-invite/BaseAcceptInvite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,oBAAoB,EAA2B,MAAM,oBAAoB,CAAC;AAClF,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAab;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE;QACL,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACxC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,EAAE;YACL,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;SACpB,CAAC;QACF,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC;IAChD,IAAI,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,GAAG,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC9E,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,CAAC;CACnC;AAED;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,EAAE,SA0btB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* BaseCreateOrganization — unstyled sub-organisation creation form.
|
|
21
|
+
*
|
|
22
|
+
* Provides a form with an org name input and create button.
|
|
23
|
+
*/
|
|
24
|
+
declare const BaseCreateOrganization: Component;
|
|
25
|
+
export default BaseCreateOrganization;
|
|
26
|
+
//# sourceMappingURL=BaseCreateOrganization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseCreateOrganization.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/create-organization/BaseCreateOrganization.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AAgBjG;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,EAAE,SA2E5B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
/**
|
|
19
|
+
* Styles for the CreateOrganization presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-create-organization`
|
|
22
|
+
*
|
|
23
|
+
* The root element is a Card, whose padding is intentionally kept
|
|
24
|
+
* as this is a full form panel.
|
|
25
|
+
*
|
|
26
|
+
* Elements:
|
|
27
|
+
* __title – form heading (Typography h6)
|
|
28
|
+
* __description – optional sub-heading (Typography body2)
|
|
29
|
+
* __error – error Alert
|
|
30
|
+
* __input – the org-name TextField
|
|
31
|
+
* __submit – the submit Button
|
|
32
|
+
*/
|
|
33
|
+
declare const CREATE_ORGANIZATION_CSS = "\n/* ============================================================\n CreateOrganization\n ============================================================ */\n\n.thunder-create-organization {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 1.75);\n max-width: 440px;\n width: 100%;\n}\n\n/* Title & description --------------------------------------- */\n\n.thunder-create-organization__description {\n margin-top: calc(var(--thunder-spacing-unit) * -0.75);\n color: var(--thunder-color-text-secondary);\n}\n\n/* Input ----------------------------------------------------- */\n\n.thunder-create-organization__input {\n width: 100%;\n}\n\n/* Submit ---------------------------------------------------- */\n\n.thunder-create-organization__submit {\n align-self: flex-start;\n}\n";
|
|
34
|
+
export default CREATE_ORGANIZATION_CSS;
|
|
35
|
+
//# sourceMappingURL=CreateOrganization.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateOrganization.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/create-organization/CreateOrganization.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,uBAAuB,0zBA+B5B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* CreateOrganization — styled sub-organisation creation component.
|
|
21
|
+
*
|
|
22
|
+
* Retrieves createOrganization from context and delegates to BaseCreateOrganization.
|
|
23
|
+
*/
|
|
24
|
+
declare const CreateOrganization: Component;
|
|
25
|
+
export default CreateOrganization;
|
|
26
|
+
//# sourceMappingURL=CreateOrganization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateOrganization.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/create-organization/CreateOrganization.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,KAAK,CAAC;AAUnE;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,EAAE,SA2BxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { FlowMetadataResponse } from '@thunderid/browser';
|
|
19
|
+
import { type Component } from 'vue';
|
|
20
|
+
/**
|
|
21
|
+
* Flow response from the invite-user backend.
|
|
22
|
+
*/
|
|
23
|
+
export interface InviteUserFlowResponse {
|
|
24
|
+
data?: {
|
|
25
|
+
additionalData?: Record<string, string>;
|
|
26
|
+
components?: any[];
|
|
27
|
+
meta?: {
|
|
28
|
+
components?: any[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
failureReason?: string;
|
|
32
|
+
flowId: string;
|
|
33
|
+
flowStatus: 'INCOMPLETE' | 'COMPLETE' | 'ERROR';
|
|
34
|
+
type?: 'VIEW' | 'REDIRECTION';
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Render props passed to the default scoped slot.
|
|
38
|
+
*/
|
|
39
|
+
export interface BaseInviteUserRenderProps {
|
|
40
|
+
components: any[];
|
|
41
|
+
copyInviteLink: () => Promise<void>;
|
|
42
|
+
error?: Error | null;
|
|
43
|
+
fieldErrors: Record<string, string>;
|
|
44
|
+
flowId?: string;
|
|
45
|
+
handleInputBlur: (name: string) => void;
|
|
46
|
+
handleInputChange: (name: string, value: string) => void;
|
|
47
|
+
handleSubmit: (component: any, data?: Record<string, any>) => Promise<void>;
|
|
48
|
+
inviteLink?: string;
|
|
49
|
+
inviteLinkCopied: boolean;
|
|
50
|
+
isEmailSent: boolean;
|
|
51
|
+
isInviteGenerated: boolean;
|
|
52
|
+
isLoading: boolean;
|
|
53
|
+
isValid: boolean;
|
|
54
|
+
meta: FlowMetadataResponse | null;
|
|
55
|
+
resetFlow: () => void;
|
|
56
|
+
subtitle?: string;
|
|
57
|
+
title?: string;
|
|
58
|
+
touched: Record<string, boolean>;
|
|
59
|
+
values: Record<string, string>;
|
|
60
|
+
}
|
|
61
|
+
export interface BaseInviteUserProps {
|
|
62
|
+
className?: string;
|
|
63
|
+
isInitialized?: boolean;
|
|
64
|
+
onError?: (error: Error) => void;
|
|
65
|
+
onFlowChange?: (response: InviteUserFlowResponse) => void;
|
|
66
|
+
onInitialize: (payload: Record<string, any>) => Promise<InviteUserFlowResponse>;
|
|
67
|
+
onInviteLinkGenerated?: (inviteLink: string, flowId: string) => void;
|
|
68
|
+
onSubmit: (payload: Record<string, any>) => Promise<InviteUserFlowResponse>;
|
|
69
|
+
showSubtitle?: boolean;
|
|
70
|
+
showTitle?: boolean;
|
|
71
|
+
size?: 'small' | 'medium' | 'large';
|
|
72
|
+
variant?: 'outlined' | 'elevated';
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* BaseInviteUser — handles the admin invite-user flow lifecycle.
|
|
76
|
+
*
|
|
77
|
+
* Steps: user type selection → user details → invite link generation.
|
|
78
|
+
*/
|
|
79
|
+
declare const BaseInviteUser: Component;
|
|
80
|
+
export default BaseInviteUser;
|
|
81
|
+
//# sourceMappingURL=BaseInviteUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseInviteUser.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/invite-user/BaseInviteUser.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
import type { BaseInviteUserRenderProps } from './BaseInviteUser';
|
|
20
|
+
export type InviteUserRenderProps = BaseInviteUserRenderProps;
|
|
21
|
+
/**
|
|
22
|
+
* InviteUser — admin invite component using authenticated ThunderID SDK context.
|
|
23
|
+
*/
|
|
24
|
+
declare const InviteUser: Component;
|
|
25
|
+
export default InviteUser;
|
|
26
|
+
//# sourceMappingURL=InviteUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InviteUser.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/invite-user/InviteUser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAErG,OAAO,KAAK,EAAC,yBAAyB,EAAyB,MAAM,kBAAkB,CAAC;AAGxF,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AAE9D;;GAEG;AACH,QAAA,MAAM,UAAU,EAAE,SA4DhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* BaseLanguageSwitcher — unstyled language selection component.
|
|
21
|
+
*
|
|
22
|
+
* Shows the current language and a dropdown to select another.
|
|
23
|
+
*/
|
|
24
|
+
declare const BaseLanguageSwitcher: Component;
|
|
25
|
+
export default BaseLanguageSwitcher;
|
|
26
|
+
//# sourceMappingURL=BaseLanguageSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseLanguageSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/language-switcher/BaseLanguageSwitcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AAejG;;;;GAIG;AACH,QAAA,MAAM,oBAAoB,EAAE,SAwE1B,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
/**
|
|
19
|
+
* Styles for the LanguageSwitcher presentation component.
|
|
20
|
+
*
|
|
21
|
+
* BEM block: `.thunder-language-switcher`
|
|
22
|
+
*
|
|
23
|
+
* The root element is a Card (`.thunder-card`). We override its default
|
|
24
|
+
* padding to 0 so the trigger button fills the surface edge-to-edge,
|
|
25
|
+
* and apply `position: relative` to anchor the absolute dropdown.
|
|
26
|
+
* The Card's border-radius and shadow are intentionally kept.
|
|
27
|
+
*
|
|
28
|
+
* Elements:
|
|
29
|
+
* __trigger – compact trigger button (globe icon + language label + chevron)
|
|
30
|
+
* __trigger-label – the current language name Typography inside the trigger
|
|
31
|
+
* __dropdown – absolute-positioned dropdown listbox
|
|
32
|
+
* __item – each selectable language row
|
|
33
|
+
* __item--active – the currently selected language
|
|
34
|
+
*/
|
|
35
|
+
declare const LANGUAGE_SWITCHER_CSS = "\n/* ============================================================\n LanguageSwitcher\n ============================================================ */\n\n/* Override Card's default padding so the trigger fills the surface */\n.thunder-language-switcher.thunder-card {\n padding: 0;\n position: relative;\n display: inline-block;\n}\n\n/* Trigger ---------------------------------------------------- */\n\n.thunder-language-switcher__trigger {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n padding: var(--thunder-dropdown-itemPaddingY) var(--thunder-dropdown-itemPaddingX);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--thunder-color-text-primary);\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-md);\n border-radius: var(--thunder-dropdown-borderRadius);\n transition: background-color var(--thunder-transition-fast);\n white-space: nowrap;\n box-sizing: border-box;\n}\n\n.thunder-language-switcher__trigger:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-language-switcher__trigger:focus-visible {\n outline: none;\n box-shadow: inset 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n border-radius: var(--thunder-dropdown-borderRadius);\n}\n\n.thunder-language-switcher__trigger-label {\n flex: 0 0 auto;\n}\n\n/* Dropdown --------------------------------------------------- */\n\n.thunder-language-switcher__dropdown {\n position: absolute;\n top: calc(100% + calc(var(--thunder-spacing-unit) * 0.5));\n right: 0;\n z-index: 1000;\n background-color: var(--thunder-color-background-surface);\n border: 1px solid var(--thunder-color-border);\n border-radius: var(--thunder-dropdown-borderRadius);\n box-shadow: var(--thunder-dropdown-shadow);\n overflow: hidden;\n min-width: 130px;\n display: flex;\n flex-direction: column;\n padding: calc(var(--thunder-spacing-unit) * 0.5) 0;\n}\n\n/* Items ----------------------------------------------------- */\n\n.thunder-language-switcher__item {\n display: flex;\n align-items: center;\n width: 100%;\n padding: var(--thunder-dropdown-itemPaddingY) var(--thunder-dropdown-itemPaddingX);\n background: none;\n border: none;\n cursor: pointer;\n text-align: left;\n font-family: var(--thunder-typography-fontFamily);\n font-size: var(--thunder-typography-fontSize-md);\n color: var(--thunder-color-text-primary);\n transition: background-color var(--thunder-transition-fast);\n box-sizing: border-box;\n}\n\n.thunder-language-switcher__item:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunder-language-switcher__item--active {\n background-color: var(--thunder-color-action-selected);\n color: var(--thunder-color-primary-main);\n font-weight: var(--thunder-typography-fontWeight-medium);\n}\n\n.thunder-language-switcher__item--active:hover {\n background-color: var(--thunder-color-action-focus);\n}\n";
|
|
36
|
+
export default LANGUAGE_SWITCHER_CSS;
|
|
37
|
+
//# sourceMappingURL=LanguageSwitcher.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguageSwitcher.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/language-switcher/LanguageSwitcher.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,qBAAqB,y8FA8F1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* LanguageSwitcher — styled language selection component.
|
|
21
|
+
*
|
|
22
|
+
* Retrieves current language and setLanguage from i18n context.
|
|
23
|
+
*/
|
|
24
|
+
declare const LanguageSwitcher: Component;
|
|
25
|
+
export default LanguageSwitcher;
|
|
26
|
+
//# sourceMappingURL=LanguageSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguageSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/language-switcher/LanguageSwitcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAgD,MAAM,KAAK,CAAC;AAUlF;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,EAAE,SA8BtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* Organization — presentation component that exposes the current organization via a scoped slot.
|
|
21
|
+
*
|
|
22
|
+
* Renders the `default` slot with `{ organization }` when a current organization is available,
|
|
23
|
+
* or the `fallback` slot when none is set.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```vue
|
|
27
|
+
* <Organization>
|
|
28
|
+
* <template #default="{ organization }">
|
|
29
|
+
* <p>Current org: {{ organization.name }}</p>
|
|
30
|
+
* </template>
|
|
31
|
+
* <template #fallback>
|
|
32
|
+
* <p>No organization selected.</p>
|
|
33
|
+
* </template>
|
|
34
|
+
* </Organization>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
declare const Organization: Component;
|
|
38
|
+
export default Organization;
|
|
39
|
+
//# sourceMappingURL=Organization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Organization.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization/Organization.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,SAAS,EAA2C,MAAM,KAAK,CAAC;AAG7E;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,YAAY,EAAE,SAelB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
import { type Component } from 'vue';
|
|
19
|
+
/**
|
|
20
|
+
* BaseOrganizationList — unstyled list of organizations.
|
|
21
|
+
*/
|
|
22
|
+
declare const BaseOrganizationList: Component;
|
|
23
|
+
export default BaseOrganizationList;
|
|
24
|
+
//# sourceMappingURL=BaseOrganizationList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseOrganizationList.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-list/BaseOrganizationList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAgD,MAAM,KAAK,CAAC;AAKlF;;GAEG;AACH,QAAA,MAAM,oBAAoB,EAAE,SAoD1B,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|