@thunderid/vue 0.3.0 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/ThunderIDVueClient.d.ts +2 -7
  2. package/dist/ThunderIDVueClient.d.ts.map +1 -1
  3. package/dist/cjs/index.cjs +2585 -5831
  4. package/dist/components/actions/SignInButton.d.ts.map +1 -1
  5. package/dist/components/actions/SignUpButton.d.ts.map +1 -1
  6. package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts +1 -1
  7. package/dist/components/auth/sign-in/AuthOptionFactoryCore.d.ts.map +1 -1
  8. package/dist/components/auth/sign-in/BaseSignIn.d.ts +60 -5
  9. package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -1
  10. package/dist/components/auth/sign-in/SignIn.d.ts +33 -5
  11. package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
  12. package/dist/components/auth/sign-up/BaseSignUp.d.ts +49 -10
  13. package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -1
  14. package/dist/components/auth/sign-up/SignUp.d.ts +3 -6
  15. package/dist/components/auth/sign-up/SignUp.d.ts.map +1 -1
  16. package/dist/index.d.ts +7 -22
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +3124 -6366
  19. package/dist/keys.d.ts +1 -9
  20. package/dist/keys.d.ts.map +1 -1
  21. package/dist/models/contexts.d.ts +1 -52
  22. package/dist/models/contexts.d.ts.map +1 -1
  23. package/dist/providers/ThemeProvider.d.ts.map +1 -1
  24. package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
  25. package/dist/styles/injectStyles.d.ts.map +1 -1
  26. package/dist/utils/buildThemeConfigFromFlowMeta.d.ts.map +1 -0
  27. package/dist/utils/{v2/flowTransformer.d.ts → flowTransformer.d.ts} +2 -2
  28. package/dist/utils/flowTransformer.d.ts.map +1 -0
  29. package/dist/utils/{v2/getAuthComponentHeadings.d.ts → getAuthComponentHeadings.d.ts} +1 -1
  30. package/dist/utils/getAuthComponentHeadings.d.ts.map +1 -0
  31. package/dist/utils/passkey.d.ts.map +1 -0
  32. package/dist/utils/resolveTranslationsInArray.d.ts.map +1 -0
  33. package/dist/utils/resolveTranslationsInObject.d.ts.map +1 -0
  34. package/package.json +9 -9
  35. package/dist/api/getAllOrganizations.d.ts +0 -25
  36. package/dist/api/getAllOrganizations.d.ts.map +0 -1
  37. package/dist/api/getMeOrganizations.d.ts +0 -25
  38. package/dist/api/getMeOrganizations.d.ts.map +0 -1
  39. package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts +0 -27
  40. package/dist/components/auth/sign-in/v1/BaseSignIn.d.ts.map +0 -1
  41. package/dist/components/auth/sign-in/v1/SignIn.d.ts +0 -27
  42. package/dist/components/auth/sign-in/v1/SignIn.d.ts.map +0 -1
  43. package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts +0 -47
  44. package/dist/components/auth/sign-in/v1/options/SignInOptionFactory.d.ts.map +0 -1
  45. package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts +0 -19
  46. package/dist/components/auth/sign-in/v2/AuthOptionFactory.d.ts.map +0 -1
  47. package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts +0 -83
  48. package/dist/components/auth/sign-in/v2/BaseSignIn.d.ts.map +0 -1
  49. package/dist/components/auth/sign-in/v2/SignIn.d.ts +0 -56
  50. package/dist/components/auth/sign-in/v2/SignIn.d.ts.map +0 -1
  51. package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts +0 -49
  52. package/dist/components/auth/sign-up/v1/BaseSignUp.d.ts.map +0 -1
  53. package/dist/components/auth/sign-up/v1/SignUp.d.ts +0 -31
  54. package/dist/components/auth/sign-up/v1/SignUp.d.ts.map +0 -1
  55. package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts +0 -50
  56. package/dist/components/auth/sign-up/v1/options/SignUpOptionFactory.d.ts.map +0 -1
  57. package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts +0 -73
  58. package/dist/components/auth/sign-up/v2/BaseSignUp.d.ts.map +0 -1
  59. package/dist/components/auth/sign-up/v2/SignUp.d.ts +0 -26
  60. package/dist/components/auth/sign-up/v2/SignUp.d.ts.map +0 -1
  61. package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts +0 -26
  62. package/dist/components/presentation/create-organization/BaseCreateOrganization.d.ts.map +0 -1
  63. package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts +0 -35
  64. package/dist/components/presentation/create-organization/CreateOrganization.css.d.ts.map +0 -1
  65. package/dist/components/presentation/create-organization/CreateOrganization.d.ts +0 -26
  66. package/dist/components/presentation/create-organization/CreateOrganization.d.ts.map +0 -1
  67. package/dist/components/presentation/organization/Organization.d.ts +0 -39
  68. package/dist/components/presentation/organization/Organization.d.ts.map +0 -1
  69. package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts +0 -24
  70. package/dist/components/presentation/organization-list/BaseOrganizationList.d.ts.map +0 -1
  71. package/dist/components/presentation/organization-list/OrganizationList.css.d.ts +0 -33
  72. package/dist/components/presentation/organization-list/OrganizationList.css.d.ts.map +0 -1
  73. package/dist/components/presentation/organization-list/OrganizationList.d.ts +0 -26
  74. package/dist/components/presentation/organization-list/OrganizationList.d.ts.map +0 -1
  75. package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts +0 -27
  76. package/dist/components/presentation/organization-profile/BaseOrganizationProfile.d.ts.map +0 -1
  77. package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts +0 -25
  78. package/dist/components/presentation/organization-profile/OrganizationProfile.css.d.ts.map +0 -1
  79. package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts +0 -26
  80. package/dist/components/presentation/organization-profile/OrganizationProfile.d.ts.map +0 -1
  81. package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts +0 -26
  82. package/dist/components/presentation/organization-switcher/BaseOrganizationSwitcher.d.ts.map +0 -1
  83. package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts +0 -40
  84. package/dist/components/presentation/organization-switcher/OrganizationSwitcher.css.d.ts.map +0 -1
  85. package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts +0 -26
  86. package/dist/components/presentation/organization-switcher/OrganizationSwitcher.d.ts.map +0 -1
  87. package/dist/composables/useBranding.d.ts +0 -44
  88. package/dist/composables/useBranding.d.ts.map +0 -1
  89. package/dist/composables/useOrganization.d.ts +0 -42
  90. package/dist/composables/useOrganization.d.ts.map +0 -1
  91. package/dist/composables/v2/useOAuthCallback.d.ts +0 -70
  92. package/dist/composables/v2/useOAuthCallback.d.ts.map +0 -1
  93. package/dist/providers/BrandingProvider.d.ts +0 -30
  94. package/dist/providers/BrandingProvider.d.ts.map +0 -1
  95. package/dist/providers/OrganizationProvider.d.ts +0 -21
  96. package/dist/providers/OrganizationProvider.d.ts.map +0 -1
  97. package/dist/utils/v2/buildThemeConfigFromFlowMeta.d.ts.map +0 -1
  98. package/dist/utils/v2/flowTransformer.d.ts.map +0 -1
  99. package/dist/utils/v2/getAuthComponentHeadings.d.ts.map +0 -1
  100. package/dist/utils/v2/passkey.d.ts.map +0 -1
  101. package/dist/utils/v2/resolveTranslationsInArray.d.ts.map +0 -1
  102. package/dist/utils/v2/resolveTranslationsInObject.d.ts.map +0 -1
  103. /package/dist/utils/{v2/buildThemeConfigFromFlowMeta.d.ts → buildThemeConfigFromFlowMeta.d.ts} +0 -0
  104. /package/dist/utils/{v2/passkey.d.ts → passkey.d.ts} +0 -0
  105. /package/dist/utils/{v2/resolveTranslationsInArray.d.ts → resolveTranslationsInArray.d.ts} +0 -0
  106. /package/dist/utils/{v2/resolveTranslationsInObject.d.ts → resolveTranslationsInObject.d.ts} +0 -0
@@ -1,56 +0,0 @@
1
- /**
2
- * Copyright (c) 2025-2026, 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 { EmbeddedFlowComponentV2 as EmbeddedFlowComponent, EmbeddedSignInFlowRequestV2, FlowMetadataResponse } from '@thunderid/browser';
19
- import { type Component } from 'vue';
20
- /**
21
- * Render props passed to the default scoped slot for custom UI rendering.
22
- */
23
- export interface SignInRenderProps {
24
- additionalData?: Record<string, any>;
25
- components: EmbeddedFlowComponent[];
26
- error: Error | null;
27
- initialize: () => Promise<void>;
28
- isInitialized: boolean;
29
- isLoading: boolean;
30
- isTimeoutDisabled?: boolean;
31
- meta: FlowMetadataResponse | null;
32
- onSubmit: (payload: EmbeddedSignInFlowRequestV2) => Promise<void>;
33
- }
34
- /**
35
- * SignIn — app-native sign-in component with full flow lifecycle management.
36
- *
37
- * Initializes the authentication flow, handles passkey authentication/registration,
38
- * OAuth redirect flows, and renders the UI via `BaseSignIn` or a scoped slot.
39
- *
40
- * @example
41
- * ```vue
42
- * <!-- Default UI -->
43
- * <SignIn
44
- * @success="(data) => console.log('Authenticated:', data)"
45
- * @error="(err) => console.error('Auth failed:', err)"
46
- * />
47
- *
48
- * <!-- Custom UI via scoped slot -->
49
- * <SignIn v-slot="{ components, onSubmit, isLoading, error }">
50
- * <!-- your custom sign-in UI here -->
51
- * </SignIn>
52
- * ```
53
- */
54
- declare const SignIn: Component;
55
- export default SignIn;
56
- //# sourceMappingURL=SignIn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignIn.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/sign-in/v2/SignIn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAGL,uBAAuB,IAAI,qBAAqB,EAEhD,2BAA2B,EAI3B,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAWf,MAAM,KAAK,CAAC;AAqBb;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACnE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,MAAM,EAAE,SAijBZ,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,49 +0,0 @@
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
- * Render-prop payload exposed via the default slot.
21
- */
22
- export interface BaseSignUpRenderProps {
23
- components: any[];
24
- errors: Record<string, string>;
25
- handleInputChange: (name: string, value: string) => void;
26
- handleSubmit: (component: any, data?: Record<string, any>) => Promise<void>;
27
- isLoading: boolean;
28
- isValid: boolean;
29
- messages: {
30
- message: string;
31
- type: string;
32
- }[];
33
- subtitle: string;
34
- title: string;
35
- touched: Record<string, boolean>;
36
- values: Record<string, string>;
37
- }
38
- /**
39
- * V1 BaseSignUp — component-driven app-native sign-up for Vue.
40
- *
41
- * Mirrors `packages/react/.../SignUp/v1/BaseSignUp.tsx`. Reads the
42
- * `/api/server/v1/flow/execute` response shape (`TYPOGRAPHY`, `FORM`, `INPUT`,
43
- * `BUTTON`, `RICH_TEXT`, etc.) and renders it via the V1
44
- * `SignUpOptionFactory`. Tracks form state internally and submits steps via
45
- * the `onSubmit` prop until the flow completes.
46
- */
47
- declare const BaseSignUp: Component;
48
- export default BaseSignUp;
49
- //# sourceMappingURL=BaseSignUp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseSignUp.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/sign-up/v1/BaseSignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAWH,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAab;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,GAAG,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,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,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,UAAU,EAAE,SAmdhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1,31 +0,0 @@
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 { BaseSignUpRenderProps } from './BaseSignUp';
20
- export type SignUpRenderProps = BaseSignUpRenderProps;
21
- /**
22
- * V1 SignUp container — wires `useThunderID().signUp` into `BaseSignUpV1` and
23
- * handles redirects after the flow completes.
24
- *
25
- * Mirrors `sign-up/v2/.../SignUp.ts` but invokes the V1 base component which
26
- * understands the `TYPOGRAPHY` / `INPUT` / `BUTTON` / `FORM` shapes returned by
27
- * the V1 flow API.
28
- */
29
- declare const SignUp: Component;
30
- export default SignUp;
31
- //# sourceMappingURL=SignUp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUp.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/sign-up/v1/SignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAErG,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,cAAc,CAAC;AAGxD,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAEtD;;;;;;;GAOG;AACH,QAAA,MAAM,MAAM,EAAE,SAsFZ,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,50 +0,0 @@
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 { EmbeddedFlowComponent } from '@thunderid/browser';
19
- import { type VNode } from 'vue';
20
- /**
21
- * Props shared by all sign-up component renderers.
22
- */
23
- export interface BaseSignUpOptionProps {
24
- buttonClassName?: string;
25
- component: EmbeddedFlowComponent;
26
- formErrors: Record<string, string>;
27
- formValues: Record<string, string>;
28
- inputClassName?: string;
29
- isFormValid: boolean;
30
- isLoading: boolean;
31
- onInputChange: (name: string, value: string) => void;
32
- onSubmit: (component: EmbeddedFlowComponent, data?: Record<string, any>) => void;
33
- size?: 'small' | 'medium' | 'large';
34
- touchedFields: Record<string, boolean>;
35
- }
36
- /**
37
- * Build a VNode for a single V1 flow component. Returns `null` for unknown
38
- * types (caller filters these out).
39
- */
40
- export declare const createSignUpComponent: (props: BaseSignUpOptionProps) => VNode | VNode[] | null;
41
- /**
42
- * Render an array of V1 flow components as Vue VNodes, flattening nested
43
- * containers (FORM) into a single list.
44
- */
45
- export declare const renderSignUpComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, onInputChange: (name: string, value: string) => void, onSubmit: (component: EmbeddedFlowComponent, data?: Record<string, any>) => void, options?: {
46
- buttonClassName?: string;
47
- inputClassName?: string;
48
- size?: "small" | "medium" | "large";
49
- }) => VNode[];
50
- //# sourceMappingURL=SignUpOptionFactory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUpOptionFactory.d.ts","sourceRoot":"","sources":["../../../../../../src/components/auth/sign-up/v1/options/SignUpOptionFactory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,qBAAqB,EAAuC,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAAC,KAAK,KAAK,EAAI,MAAM,KAAK,CAAC;AA8FlC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,qBAAqB,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACjF,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,qBAAqB,KAAG,KAAK,GAAG,KAAK,EAAE,GAAG,IA8HtF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GACjC,YAAY,qBAAqB,EAAE,EACnC,YAAY,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,eAAe,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,YAAY,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,WAAW,OAAO,EAClB,aAAa,OAAO,EACpB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,EACpD,UAAU,CAAC,SAAS,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,EAChF,UAAU;IACR,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,KACA,KAAK,EAqBP,CAAC"}
@@ -1,73 +0,0 @@
1
- /**
2
- * Copyright (c) 2025-2026, 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 { EmbeddedFlowExecuteRequestPayload, EmbeddedFlowExecuteResponse } from '@thunderid/browser';
19
- import { type Component } from 'vue';
20
- /**
21
- * Render props passed to the default scoped slot.
22
- */
23
- export interface BaseSignUpRenderProps {
24
- components: any[];
25
- error?: Error | null;
26
- fieldErrors: Record<string, string>;
27
- handleInputChange: (name: string, value: string) => void;
28
- handleSubmit: (component: any, data?: Record<string, any>) => Promise<void>;
29
- isLoading: boolean;
30
- isValid: boolean;
31
- messages: {
32
- message: string;
33
- type: string;
34
- }[];
35
- subtitle: string;
36
- title: string;
37
- touched: Record<string, boolean>;
38
- validateForm: () => {
39
- fieldErrors: Record<string, string>;
40
- isValid: boolean;
41
- };
42
- values: Record<string, string>;
43
- }
44
- export interface BaseSignUpProps {
45
- afterSignUpUrl?: string;
46
- buttonClassName?: string;
47
- className?: string;
48
- error?: Error | null;
49
- errorClassName?: string;
50
- inputClassName?: string;
51
- isInitialized?: boolean;
52
- messageClassName?: string;
53
- onComplete?: (response: EmbeddedFlowExecuteResponse) => void;
54
- onError?: (error: Error) => void;
55
- onFlowChange?: (response: EmbeddedFlowExecuteResponse) => void;
56
- onInitialize?: (payload?: EmbeddedFlowExecuteRequestPayload) => Promise<EmbeddedFlowExecuteResponse>;
57
- onSubmit?: (payload: EmbeddedFlowExecuteRequestPayload) => Promise<EmbeddedFlowExecuteResponse>;
58
- shouldRedirectAfterSignUp?: boolean;
59
- showLogo?: boolean;
60
- showSubtitle?: boolean;
61
- showTitle?: boolean;
62
- size?: 'small' | 'medium' | 'large';
63
- variant?: 'elevated' | 'outlined' | 'flat';
64
- }
65
- /**
66
- * BaseSignUp — app-native sign-up presentation component.
67
- *
68
- * Manages the sign-up flow lifecycle including initialization, form state,
69
- * passkey registration, popup-based social OAuth, and renders the server-driven UI.
70
- */
71
- declare const BaseSignUp: Component;
72
- export default BaseSignUp;
73
- //# sourceMappingURL=BaseSignUp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseSignUp.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/sign-up/v2/BaseSignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEL,iCAAiC,EACjC,2BAA2B,EAK5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AA0Bb;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,GAAG,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,YAAY,EAAE,MAAM;QAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC;IAC5E,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,2BAA2B,KAAK,IAAI,CAAC;IAC7D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,2BAA2B,KAAK,IAAI,CAAC;IAC/D,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,iCAAiC,KAAK,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACrG,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,iCAAiC,KAAK,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAChG,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;CAC5C;AA8BD;;;;;GAKG;AACH,QAAA,MAAM,UAAU,EAAE,SA2jBhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1,26 +0,0 @@
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 { BaseSignUpRenderProps } from './BaseSignUp';
20
- export type SignUpRenderProps = BaseSignUpRenderProps;
21
- /**
22
- * SignUp — embedded sign-up component that handles API calls and delegates UI to BaseSignUp.
23
- */
24
- declare const SignUp: Component;
25
- export default SignUp;
26
- //# sourceMappingURL=SignUp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUp.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/sign-up/v2/SignUp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAErG,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,cAAc,CAAC;AAGxD,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAEtD;;GAEG;AACH,QAAA,MAAM,MAAM,EAAE,SA2FZ,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,26 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,35 +0,0 @@
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: `.thunderid-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.thunderid-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.thunderid-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.thunderid-create-organization__input {\n width: 100%;\n}\n\n/* Submit ---------------------------------------------------- */\n\n.thunderid-create-organization__submit {\n align-self: flex-start;\n}\n";
34
- export default CREATE_ORGANIZATION_CSS;
35
- //# sourceMappingURL=CreateOrganization.css.d.ts.map
@@ -1 +0,0 @@
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,k0BA+B5B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,26 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,39 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,24 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,33 +0,0 @@
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 OrganizationList presentation component.
20
- *
21
- * BEM block: `.thunderid-organization-list`
22
- *
23
- * The root element is a plain `div`. There is no Card wrapper here,
24
- * so this file provides the full layout including border and spacing.
25
- *
26
- * Elements:
27
- * __loading – loading state container (centred Spinner)
28
- * __empty – empty state message (Typography body2)
29
- * __item – each selectable organization row button
30
- */
31
- declare const ORGANIZATION_LIST_CSS = "\n/* ============================================================\n OrganizationList\n ============================================================ */\n\n.thunderid-organization-list {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n font-family: var(--thunder-typography-fontFamily);\n}\n\n/* Loading / Empty ------------------------------------------- */\n\n.thunderid-organization-list__loading,\n.thunderid-organization-list__empty {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunder-spacing-unit) * 3);\n color: var(--thunder-color-text-secondary);\n}\n\n/* Items ----------------------------------------------------- */\n\n.thunderid-organization-list__item {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 1.25);\n width: 100%;\n padding: calc(var(--thunder-spacing-unit) * 1.25) calc(var(--thunder-spacing-unit) * 1.5);\n background: var(--thunder-color-background-surface);\n border: 1px solid var(--thunder-color-border);\n border-radius: var(--thunder-border-radius-small);\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:\n background-color var(--thunder-transition-fast),\n border-color var(--thunder-transition-fast),\n box-shadow var(--thunder-transition-fast);\n box-sizing: border-box;\n}\n\n.thunderid-organization-list__item:hover {\n background-color: var(--thunder-color-primary-light);\n border-color: var(--thunder-color-primary-main);\n}\n\n.thunderid-organization-list__item:focus-visible {\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n";
32
- export default ORGANIZATION_LIST_CSS;
33
- //# sourceMappingURL=OrganizationList.css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationList.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-list/OrganizationList.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,qBAAqB,uzDAuD1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,26 +0,0 @@
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
- * OrganizationList — styled organization list component.
21
- *
22
- * Retrieves organization list from context and delegates to BaseOrganizationList.
23
- */
24
- declare const OrganizationList: Component;
25
- export default OrganizationList;
26
- //# sourceMappingURL=OrganizationList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationList.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-list/OrganizationList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,KAAK,CAAC;AAInE;;;;GAIG;AACH,QAAA,MAAM,gBAAgB,EAAE,SA8BtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1,27 +0,0 @@
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
- * BaseOrganizationProfile — unstyled organization details view/edit component.
21
- *
22
- * Renders a profile card with avatar, org name, handle, and two-column field rows
23
- * for Organization ID, Name, Description, Created Date, and Last Modified Date.
24
- */
25
- declare const BaseOrganizationProfile: Component;
26
- export default BaseOrganizationProfile;
27
- //# sourceMappingURL=BaseOrganizationProfile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseOrganizationProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-profile/BaseOrganizationProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAC,KAAK,SAAS,EAA+D,MAAM,KAAK,CAAC;AA2CjG;;;;;GAKG;AACH,QAAA,MAAM,uBAAuB,EAAE,SAoV7B,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
@@ -1,25 +0,0 @@
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 OrganizationProfile presentation component.
20
- *
21
- * BEM block: `.thunderid-organization-profile`
22
- */
23
- declare const ORGANIZATION_PROFILE_CSS = "\n/* ============================================================\n OrganizationProfile\n ============================================================ */\n\n.thunderid-organization-profile {\n display: flex;\n flex-direction: column;\n min-width: 320px;\n padding: 0;\n overflow: hidden;\n}\n\n/* Header: title + divider ------------------------------------ */\n\n.thunderid-organization-profile__header {\n padding: calc(var(--thunder-spacing-unit) * 2) calc(var(--thunder-spacing-unit) * 2.5);\n padding-bottom: calc(var(--thunder-spacing-unit) * 1.5);\n}\n\n.thunderid-organization-profile__title {\n margin: 0;\n}\n\n.thunderid-organization-profile__header-divider {\n margin: 0;\n}\n\n/* Identity: avatar + org name + handle ----------------------- */\n\n.thunderid-organization-profile__identity {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: calc(var(--thunder-spacing-unit) * 2) 0 calc(var(--thunder-spacing-unit) * 1.5);\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n}\n\n.thunderid-organization-profile__avatar {\n width: var(--thunder-avatar-size);\n height: var(--thunder-avatar-size);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-bottom: calc(var(--thunder-spacing-unit) * 0.375);\n}\n\n.thunderid-organization-profile__avatar-initials {\n color: #ffffff;\n font-size: var(--thunder-avatar-fontSize);\n font-weight: 600;\n line-height: 1;\n letter-spacing: 0.02em;\n pointer-events: none;\n user-select: none;\n}\n\n.thunderid-organization-profile__org-name {\n margin: 0;\n text-align: center;\n}\n\n.thunderid-organization-profile__org-handle {\n color: var(--thunder-color-text-secondary);\n text-align: center;\n}\n\n.thunderid-organization-profile__identity-divider {\n margin: 0;\n}\n\n/* Fields ---------------------------------------------------- */\n\n.thunderid-organization-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunderid-organization-profile__field {\n display: grid;\n grid-template-columns: 36% 64%;\n align-items: center;\n padding: calc(var(--thunder-spacing-unit) * 1.25) calc(var(--thunder-spacing-unit) * 2.5);\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n box-sizing: border-box;\n transition: background-color var(--thunder-transition-fast);\n}\n\n.thunderid-organization-profile__field:hover {\n background-color: var(--thunder-color-action-hover);\n}\n\n.thunderid-organization-profile__field + .thunderid-organization-profile__field {\n border-top: 1px solid var(--thunder-color-border);\n}\n\n.thunderid-organization-profile__field-label-col {\n /* label column */\n}\n\n.thunderid-organization-profile__field-label {\n color: var(--thunder-color-text-secondary);\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunderid-organization-profile__field-value-col {\n /* value column */\n}\n\n.thunderid-organization-profile__field-display {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunder-spacing-unit) * 0.5);\n min-height: 1.5rem;\n}\n\n.thunderid-organization-profile__field-value {\n color: var(--thunder-color-text-primary);\n word-break: break-word;\n flex: 1;\n font-size: var(--thunder-typography-fontSize-sm);\n}\n\n.thunderid-organization-profile__field-value--id {\n font-size: calc(var(--thunder-typography-fontSize-sm) * 0.9);\n color: var(--thunder-color-text-secondary);\n font-family: monospace;\n word-break: break-all;\n}\n\n.thunderid-organization-profile__field-placeholder {\n color: var(--thunder-color-primary-main);\n font-style: italic;\n font-size: var(--thunder-typography-fontSize-sm);\n flex: 1;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-style: dotted;\n text-underline-offset: 2px;\n}\n\n/* Edit button (pencil icon) --------------------------------- */\n\n.thunderid-organization-profile__field-edit-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: none;\n border: none;\n cursor: pointer;\n color: var(--thunder-color-text-secondary);\n flex-shrink: 0;\n padding: calc(var(--thunder-spacing-unit) * 0.375);\n border-radius: var(--thunder-border-radius-small);\n transition:\n color var(--thunder-transition-fast),\n background-color var(--thunder-transition-fast),\n opacity var(--thunder-transition-fast);\n opacity: 0;\n line-height: 0;\n}\n\n.thunderid-organization-profile__field:hover .thunderid-organization-profile__field-edit-btn {\n opacity: 1;\n}\n\n.thunderid-organization-profile__field-edit-btn:hover {\n color: var(--thunder-color-primary-main);\n background-color: var(--thunder-color-primary-light);\n}\n\n.thunderid-organization-profile__field-edit-btn:focus-visible {\n opacity: 1;\n outline: none;\n box-shadow: 0 0 0 var(--thunder-focus-ring-width) var(--thunder-focus-ring-color);\n}\n\n/* Edit mode ------------------------------------------------- */\n\n.thunderid-organization-profile__field-edit {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n\n.thunderid-organization-profile__field-edit-actions {\n display: flex;\n align-items: center;\n gap: calc(var(--thunder-spacing-unit) * 0.75);\n}\n";
24
- export default ORGANIZATION_PROFILE_CSS;
25
- //# sourceMappingURL=OrganizationProfile.css.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationProfile.css.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/organization-profile/OrganizationProfile.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;GAIG;AACH,QAAA,MAAM,wBAAwB,0sKAiM7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}