@thunderid/vue 1.19.1 → 1.20.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.
@@ -1272,8 +1272,15 @@ const ThunderIDProvider = (0, vue.defineComponent)({
1272
1272
  userProfile.value = null;
1273
1273
  isSignedIn.value = false;
1274
1274
  });
1275
- if (await client.isSignedIn()) await updateSession();
1276
- else {
1275
+ if (await client.isSignedIn()) {
1276
+ const signedInUrl = new URL(window.location.href);
1277
+ if (hasAuthParams(signedInUrl, initializedConfig?.afterSignInUrl) && (0, __thunderid_browser.hasCalledForThisInstanceInUrl)(props.instanceId ?? 0, signedInUrl.search)) try {
1278
+ await signIn();
1279
+ } catch (error) {
1280
+ logger$6.warn("Could not complete the organization unit switch, so the current session is kept.", error);
1281
+ }
1282
+ await updateSession();
1283
+ } else {
1277
1284
  const currentUrl = new URL(window.location.href);
1278
1285
  if (hasAuthParams(currentUrl, initializedConfig?.afterSignInUrl) && (0, __thunderid_browser.hasCalledForThisInstanceInUrl)(props.instanceId ?? 0, currentUrl.search)) try {
1279
1286
  const urlParams = currentUrl.searchParams;
@@ -2615,16 +2622,6 @@ const VERIFY_ATTRIBUTE_CSS = `
2615
2622
  gap: calc(var(--thunderid-spacing-unit) * 1.5);
2616
2623
  }
2617
2624
 
2618
- .thunderid-verify-attribute__content .thunderid-otp-field__inputs {
2619
- justify-content: flex-start;
2620
- }
2621
-
2622
- .thunderid-verify-attribute__content .thunderid-otp-field__digit {
2623
- flex: 1 1 calc(var(--thunderid-spacing-unit) * 4);
2624
- max-width: calc(var(--thunderid-spacing-unit) * 6);
2625
- min-width: 0;
2626
- }
2627
-
2628
2625
  .thunderid-verify-attribute__alert {
2629
2626
  width: 100%;
2630
2627
  }
@@ -2655,7 +2652,7 @@ var VerifyAttribute_css_default = VERIFY_ATTRIBUTE_CSS;
2655
2652
  * Section: __header | __heading | __title | __description | __actions
2656
2653
  * Forms: __form | __form-actions
2657
2654
  * Parts: __panel | __panel-header | __panel-title | __detail | __detail-label | __detail-value
2658
- * __chip-list | __chip | __confirm | __muted | __row | __avatar | __picker
2655
+ * __chip-list | __chip | __status-chip | __confirm | __muted | __row | __avatar | __picker
2659
2656
  *
2660
2657
  * Each component root also carries its own block class (for example `.thunderid-user-list`), so an
2661
2658
  * application can target a single component.
@@ -2776,6 +2773,35 @@ const ADMIN_CSS = `
2776
2773
  color: var(--thunderid-color-text-primary);
2777
2774
  }
2778
2775
 
2776
+ .thunderid-admin__status-chip {
2777
+ display: inline-flex;
2778
+ flex-shrink: 0;
2779
+ gap: calc(var(--thunderid-spacing-unit) * 0.5);
2780
+ align-items: center;
2781
+ padding: 0 var(--thunderid-spacing-unit);
2782
+ border-radius: 999px;
2783
+ font-size: 0.75rem;
2784
+ font-weight: 500;
2785
+ line-height: 22px;
2786
+ white-space: nowrap;
2787
+ }
2788
+
2789
+ .thunderid-admin__status-chip svg {
2790
+ width: 12px;
2791
+ height: 12px;
2792
+ }
2793
+
2794
+ .thunderid-admin__status-chip--success {
2795
+ color: var(--thunderid-color-success-dark, var(--thunderid-color-success-main));
2796
+ background: color-mix(in srgb, var(--thunderid-color-success-main) 12%, transparent);
2797
+ }
2798
+
2799
+ /* Amber marks an action the administrator can take. */
2800
+ .thunderid-admin__status-chip--warning {
2801
+ color: var(--thunderid-color-warning-contrastText);
2802
+ background: color-mix(in srgb, var(--thunderid-color-warning-main) 14%, transparent);
2803
+ }
2804
+
2779
2805
  .thunderid-admin__confirm {
2780
2806
  display: inline-flex;
2781
2807
  flex-wrap: wrap;
@@ -2799,6 +2825,32 @@ const ADMIN_CSS = `
2799
2825
  gap: calc(var(--thunderid-spacing-unit) * 1.5);
2800
2826
  }
2801
2827
 
2828
+ /* The value and its status on the left, the send action at the row's end. */
2829
+ .thunderid-admin__verification-row {
2830
+ display: flex;
2831
+ align-items: center;
2832
+ justify-content: space-between;
2833
+ gap: calc(var(--thunderid-spacing-unit) * 1.5);
2834
+ }
2835
+
2836
+ /* The action's padding must not make the row taller than its label. */
2837
+ .thunderid-admin__verification-row > button {
2838
+ margin-block: calc(var(--thunderid-spacing-unit) * -0.75);
2839
+ }
2840
+
2841
+ .thunderid-admin__verification-value {
2842
+ display: inline-flex;
2843
+ flex-wrap: wrap;
2844
+ align-items: center;
2845
+ gap: var(--thunderid-spacing-unit);
2846
+ min-width: 0;
2847
+ }
2848
+
2849
+ .thunderid-admin__verification-row svg {
2850
+ width: 14px;
2851
+ height: 14px;
2852
+ }
2853
+
2802
2854
  .thunderid-admin__name {
2803
2855
  display: inline-flex;
2804
2856
  align-items: center;
@@ -6009,6 +6061,7 @@ const TriangleAlertIcon = () => icon([
6009
6061
  y2: "17"
6010
6062
  })
6011
6063
  ]);
6064
+ const SendIcon = () => icon([(0, vue.h)("path", { d: "m22 2-7 20-4-9-9-4Z" }), (0, vue.h)("path", { d: "M22 2 11 13" })]);
6012
6065
  const PlusIcon = () => icon([(0, vue.h)("line", {
6013
6066
  x1: "12",
6014
6067
  x2: "12",
@@ -11684,7 +11737,6 @@ const AVATAR_GRADIENTS$1 = [
11684
11737
  "linear-gradient(135deg, #f97316 0%, #ec4899 100%)"
11685
11738
  ];
11686
11739
  const isVerificationType = (type) => !!type && __thunderid_browser.AttributeVerificationConstants.VERIFIABLE_ATTRIBUTE_TYPES.includes(type.toLowerCase());
11687
- const isVerifiedAfterSave = (type) => !!type && __thunderid_browser.AttributeVerificationConstants.VERIFY_AFTER_SAVE_ATTRIBUTE_TYPES.includes(type.toLowerCase());
11688
11740
  const storedValueOf = (user, name) => {
11689
11741
  return (user?.["attributes"])?.[name] ?? user?.[name];
11690
11742
  };
@@ -11828,26 +11880,8 @@ const BaseUserProfile = (0, vue.defineComponent)({
11828
11880
  focusBeforeDialog = null;
11829
11881
  }
11830
11882
  });
11831
- const pendingVerification = (0, vue.ref)(null);
11832
11883
  const storedUser = () => props.flattenedProfile ?? props.profile ?? null;
11833
11884
  const reportedVerifiedAttributes = () => (0, __thunderid_browser.getVerifiedAttributes)(props.profile ?? props.flattenedProfile);
11834
- (0, vue.watch)(() => [
11835
- props.profile,
11836
- props.flattenedProfile,
11837
- props.error
11838
- ], () => {
11839
- const pending = pendingVerification.value;
11840
- if (!pending) return;
11841
- if (props.error) {
11842
- pendingVerification.value = null;
11843
- return;
11844
- }
11845
- const storedValue = storedValueOf(storedUser(), pending.name);
11846
- if (storedValue === pending.previousValue) return;
11847
- const verified = reportedVerifiedAttributes();
11848
- if (verified && typeof storedValue === "string" && storedValue.trim() !== "" && !verified[pending.name]) openVerification(pending.name);
11849
- pendingVerification.value = null;
11850
- });
11851
11885
  function shouldShowField(fieldName, isSchemaBased = false) {
11852
11886
  if (!isSchemaBased && FIELDS_TO_SKIP.includes(fieldName)) return false;
11853
11887
  if (props.hideFields && props.hideFields.length > 0 && props.hideFields.includes(fieldName)) return false;
@@ -11925,13 +11959,7 @@ const BaseUserProfile = (0, vue.defineComponent)({
11925
11959
  ...fieldErrors.value,
11926
11960
  [fieldName]: ""
11927
11961
  };
11928
- const submitVal = typeof value === "string" ? strVal : value;
11929
- const payload = buildPatchValue(fieldName, submitVal, schema.schemaId, schema.multiValued);
11930
- const previousValue = storedValueOf(storedUser(), fieldName);
11931
- pendingVerification.value = slots["verification"] && isVerifiedAfterSave(schema.type) && (0, __thunderid_browser.isVerifiableAttribute)(props.userSchema, fieldName) && typeof submitVal === "string" && submitVal !== "" && submitVal !== previousValue ? {
11932
- name: fieldName,
11933
- previousValue
11934
- } : null;
11962
+ const payload = buildPatchValue(fieldName, typeof value === "string" ? strVal : value, schema.schemaId, schema.multiValued);
11935
11963
  try {
11936
11964
  await props.onUpdate(payload);
11937
11965
  editingFields.value = {
@@ -11939,9 +11967,7 @@ const BaseUserProfile = (0, vue.defineComponent)({
11939
11967
  [fieldName]: false
11940
11968
  };
11941
11969
  clearEditedValue(fieldName);
11942
- } catch {
11943
- pendingVerification.value = null;
11944
- }
11970
+ } catch {}
11945
11971
  }
11946
11972
  function renderVerificationStatus(name) {
11947
11973
  const verification = reportedVerifiedAttributes()?.[name];
@@ -12639,20 +12665,21 @@ const BaseVerifyAttribute = (0, vue.defineComponent)({
12639
12665
  t,
12640
12666
  variant: props.variant
12641
12667
  }).map((node) => withFlowTestIds(node, flowIds))) : null,
12642
- props.onCancel || showDone ? (0, vue.h)("div", { class: px("verify-attribute__actions") }, [showDone ? (0, vue.h)(Button_default, {
12643
- color: "primary",
12644
- "data-testid": "thunderid-action-verificationDone",
12645
- onClick: () => props.onDone?.(),
12646
- size: "small",
12647
- variant: "solid"
12648
- }, () => t("user.verification.buttons.done.text")) : null, props.onCancel ? (0, vue.h)(Button_default, {
12668
+ props.onCancel || showDone ? (0, vue.h)("div", { class: px("verify-attribute__actions") }, [props.onCancel ? (0, vue.h)(Button_default, {
12649
12669
  color: "secondary",
12650
12670
  "data-testid": "thunderid-action-verificationCancel",
12651
12671
  disabled: isSubmitting.value,
12652
12672
  onClick: () => props.onCancel?.(),
12653
12673
  size: "small",
12654
- variant: "outline"
12655
- }, () => state.value === "active" || state.value === "loading" ? t("user.verification.buttons.cancel.text") : t("user.verification.buttons.close.text")) : null]) : null
12674
+ type: "button",
12675
+ variant: "text"
12676
+ }, () => state.value === "active" || state.value === "loading" ? t("user.verification.buttons.cancel.text") : t("user.verification.buttons.close.text")) : null, showDone ? (0, vue.h)(Button_default, {
12677
+ color: "primary",
12678
+ "data-testid": "thunderid-action-verificationDone",
12679
+ onClick: () => props.onDone?.(),
12680
+ size: "small",
12681
+ variant: "solid"
12682
+ }, () => t("user.verification.buttons.done.text")) : null]) : null
12656
12683
  ]);
12657
12684
  };
12658
12685
  }
@@ -16545,6 +16572,10 @@ const BaseUserDetails = (0, vue.defineComponent)({
16545
16572
  default: false,
16546
16573
  type: Boolean
16547
16574
  },
16575
+ isSendingVerification: {
16576
+ default: false,
16577
+ type: Boolean
16578
+ },
16548
16579
  isUpdating: {
16549
16580
  default: false,
16550
16581
  type: Boolean
@@ -16561,6 +16592,10 @@ const BaseUserDetails = (0, vue.defineComponent)({
16561
16592
  default: void 0,
16562
16593
  type: Function
16563
16594
  },
16595
+ onSendVerification: {
16596
+ default: void 0,
16597
+ type: Function
16598
+ },
16564
16599
  onUpdate: {
16565
16600
  default: void 0,
16566
16601
  type: Function
@@ -16569,17 +16604,29 @@ const BaseUserDetails = (0, vue.defineComponent)({
16569
16604
  default: void 0,
16570
16605
  type: Object
16571
16606
  },
16607
+ sentVerification: {
16608
+ default: null,
16609
+ type: Object
16610
+ },
16572
16611
  user: {
16573
16612
  default: void 0,
16574
16613
  type: Object
16614
+ },
16615
+ userSchema: {
16616
+ default: void 0,
16617
+ type: Object
16575
16618
  }
16576
16619
  },
16577
16620
  setup(props, { slots }) {
16578
16621
  const t = useAdminTranslation_default(() => props.preferences);
16579
16622
  const uid = (0, vue.useId)();
16580
16623
  const draft = (0, vue.ref)(null);
16624
+ const sendingAttribute = (0, vue.ref)(null);
16581
16625
  return () => {
16582
16626
  const { user } = props;
16627
+ const visibleAttributeNames = Object.keys(user?.attributes ?? {}).filter((name) => !props.hiddenAttributes.includes(name));
16628
+ const verifiableAttributes = visibleAttributeNames.filter((name) => (0, __thunderid_browser.isAdminVerifiableAttribute)(user, name, props.userSchema));
16629
+ const verificationStatusAttributes = visibleAttributeNames.filter((name) => (0, __thunderid_browser.hasAdminVerificationStatus)(user, name, props.userSchema));
16583
16630
  if (slots["default"]) {
16584
16631
  const isWritable = Boolean(user) && !user?.isReadOnly;
16585
16632
  const renderProps = {
@@ -16590,12 +16637,20 @@ const BaseUserDetails = (0, vue.defineComponent)({
16590
16637
  isDeleting: props.isDeleting,
16591
16638
  isLoading: props.isLoading,
16592
16639
  isRunningLifecycleAction: props.isRunningLifecycleAction,
16640
+ isSendingVerification: props.isSendingVerification,
16593
16641
  isUpdating: props.isUpdating,
16594
16642
  lifecycleActions: props.onLifecycleAction && user ? props.lifecycleActions : [],
16595
16643
  onDelete: isWritable ? props.onDelete : void 0,
16596
16644
  onLifecycleAction: user ? props.onLifecycleAction : void 0,
16645
+ onSendVerification: isWritable && !props.isUpdating && props.onSendVerification ? (name) => {
16646
+ if (verifiableAttributes.includes(name) && !user?.verifiedAttributes?.[name]) props.onSendVerification?.(name);
16647
+ } : void 0,
16597
16648
  onUpdate: isWritable ? props.onUpdate : void 0,
16598
- user
16649
+ sentVerification: props.sentVerification,
16650
+ user,
16651
+ verifiableAttributes,
16652
+ verificationStatusAttributes,
16653
+ verifiedAttributes: user?.verifiedAttributes
16599
16654
  };
16600
16655
  return (0, vue.h)("div", { class: props.className }, slots["default"](renderProps));
16601
16656
  }
@@ -16617,6 +16672,26 @@ const BaseUserDetails = (0, vue.defineComponent)({
16617
16672
  const attributes = Object.entries(user.attributes ?? {}).filter(([name]) => !props.hiddenAttributes.includes(name));
16618
16673
  const editableAttributes = attributes.filter((entry) => typeof entry[1] === "string");
16619
16674
  const canEdit = Boolean(props.onUpdate) && !user.isReadOnly && editableAttributes.length > 0;
16675
+ const renderVerificationStatus = (name) => {
16676
+ const isVerified = user.verifiedAttributes?.[name] !== void 0;
16677
+ return (0, vue.h)("span", { class: [cls$10("status-chip"), isVerified ? cls$10("status-chip--success") : cls$10("status-chip--warning")] }, [(0, vue.h)(isVerified ? CircleCheckIcon : CircleAlertIcon, { "aria-hidden": "true" }), isVerified ? t("admin.users.details.verification.status.verified") : t("admin.users.details.verification.status.unverified")]);
16678
+ };
16679
+ const renderAttributeValue = (name, value) => {
16680
+ if (!verificationStatusAttributes.includes(name)) return stringify(value);
16681
+ const canSend = props.onSendVerification && !user.isReadOnly && verifiableAttributes.includes(name) && user.verifiedAttributes?.[name] === void 0;
16682
+ return (0, vue.h)("span", { class: cls$10("verification-row") }, [(0, vue.h)("span", { class: cls$10("verification-value") }, [(0, vue.h)("span", stringify(value)), renderVerificationStatus(name)]), canSend ? (0, vue.h)(Button_default, {
16683
+ "aria-label": `${t("admin.users.details.verification.verify")} ${name}`,
16684
+ disabled: props.isSendingVerification || props.isUpdating,
16685
+ loading: props.isSendingVerification && sendingAttribute.value === name,
16686
+ onClick: () => {
16687
+ sendingAttribute.value = name;
16688
+ props.onSendVerification?.(name);
16689
+ },
16690
+ size: "small",
16691
+ startIcon: (0, vue.h)(SendIcon, { "aria-hidden": "true" }),
16692
+ variant: "text"
16693
+ }, { default: () => t("admin.users.details.verification.verify") }) : null]);
16694
+ };
16620
16695
  const renderAttributes = () => {
16621
16696
  if (draft.value) {
16622
16697
  const current = draft.value;
@@ -16656,7 +16731,7 @@ const BaseUserDetails = (0, vue.defineComponent)({
16656
16731
  }
16657
16732
  if (attributes.length > 0) return (0, vue.h)(DetailList_default, { items: attributes.map(([name, value]) => ({
16658
16733
  label: name,
16659
- value: stringify(value)
16734
+ value: renderAttributeValue(name, value)
16660
16735
  })) });
16661
16736
  return (0, vue.h)("span", { class: cls$10("muted") }, t("admin.users.details.no_attributes"));
16662
16737
  };
@@ -16685,6 +16760,7 @@ const BaseUserDetails = (0, vue.defineComponent)({
16685
16760
  ],
16686
16761
  default: () => [
16687
16762
  props.error ? (0, vue.h)(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null,
16763
+ props.sentVerification && !props.error ? (0, vue.h)(Alert_default, { severity: props.sentVerification.emailSent === false ? "error" : "success" }, { default: () => [props.sentVerification?.emailSent === false ? t("admin.users.details.verification.error") : props.sentVerification?.maskedDestination ? t("admin.users.details.verification.sent", { destination: props.sentVerification.maskedDestination }) : t("admin.users.details.verification.sent_generic")] }) : null,
16688
16764
  (0, vue.h)("div", { class: cls$10("row") }, [
16689
16765
  (0, vue.h)(AdminAvatar_default, {
16690
16766
  name: displayName,
@@ -16774,7 +16850,8 @@ var useAccountLifecycle_default = useAccountLifecycle;
16774
16850
  //#region src/components/management/UserDetails/UserDetails.ts
16775
16851
  /**
16776
16852
  * Shows a user and the groups they belong to, and optionally lets the signed-in user edit or delete
16777
- * them. Emits `deleted` after the user has been deleted.
16853
+ * them, run account lifecycle actions or send them a link to verify their email. Emits `deleted` after
16854
+ * the user has been deleted.
16778
16855
  *
16779
16856
  * Slots: `actions`, rendered next to the user's name.
16780
16857
  *
@@ -16790,6 +16867,10 @@ const UserDetails = (0, vue.defineComponent)({
16790
16867
  default: void 0,
16791
16868
  type: String
16792
16869
  },
16870
+ attributeVerification: {
16871
+ default: false,
16872
+ type: Boolean
16873
+ },
16793
16874
  className: {
16794
16875
  default: "",
16795
16876
  type: String
@@ -16829,6 +16910,13 @@ const UserDetails = (0, vue.defineComponent)({
16829
16910
  fetcher,
16830
16911
  userId: props.userId
16831
16912
  }), { enabled: hasUserId });
16913
+ const userTypesEndpoint = useManagementEndpoint_default("userTypes");
16914
+ const typeHandle = () => user.data.value?.id === props.userId ? user.data.value.type : void 0;
16915
+ const userType = useResourceQuery_default(() => [__thunderid_browser.UserQueryKeys.USER_TYPES, { handle: typeHandle() }], (fetcher) => (0, __thunderid_browser.getUserTypeByHandle)({
16916
+ ...userTypesEndpoint,
16917
+ fetcher,
16918
+ handle: typeHandle()
16919
+ }), { enabled: () => props.attributeVerification && Boolean(typeHandle() && user.data.value?.verifiedAttributes) });
16832
16920
  const groups = useResourceQuery_default(() => [
16833
16921
  __thunderid_browser.GroupQueryKeys.MEMBERSHIPS,
16834
16922
  "user",
@@ -16852,6 +16940,20 @@ const UserDetails = (0, vue.defineComponent)({
16852
16940
  payload: data,
16853
16941
  userId
16854
16942
  }), ({ userId }) => [[__thunderid_browser.UserQueryKeys.USER, userId], [__thunderid_browser.UserQueryKeys.USERS]]);
16943
+ const { baseUrl } = useThunderID_default();
16944
+ const verificationFlow = useResourceQuery_default(() => ["administration-flows", "attribute-verification"], (fetcher) => (0, __thunderid_browser.resolveAdministrationFlowHandles)({
16945
+ baseUrl,
16946
+ fetcher
16947
+ }, [__thunderid_browser.AdministrationFlowConfigKey.ADMIN_ATTRIBUTE_VERIFICATION]), { enabled: () => props.attributeVerification });
16948
+ const verificationHandle = () => verificationFlow.data.value?.[__thunderid_browser.AdministrationFlowConfigKey.ADMIN_ATTRIBUTE_VERIFICATION];
16949
+ const verificationTarget = (0, vue.shallowRef)(null);
16950
+ const verification = useResourceMutation_default(({ attribute, userId }, fetcher) => (0, __thunderid_browser.sendUserAttributeVerification)({
16951
+ ...endpoint,
16952
+ attribute,
16953
+ fetcher,
16954
+ handle: verificationHandle(),
16955
+ userId
16956
+ }), ({ userId }) => [[__thunderid_browser.UserQueryKeys.USER, userId]]);
16855
16957
  const lifecycle = useAccountLifecycle_default({
16856
16958
  enabled: () => props.lifecycleActions,
16857
16959
  invalidatedKeys: () => [[__thunderid_browser.UserQueryKeys.USER, props.userId], [__thunderid_browser.UserQueryKeys.USERS]],
@@ -16861,18 +16963,32 @@ const UserDetails = (0, vue.defineComponent)({
16861
16963
  });
16862
16964
  return () => {
16863
16965
  const current = user.data.value;
16966
+ const userSchema = userType.data.value?.handle === typeHandle() ? userType.data.value?.schema : void 0;
16967
+ const target = verificationTarget.value;
16968
+ const showVerificationResult = props.attributeVerification && target?.userId === props.userId && current?.attributes?.[target.attribute] === target.value;
16864
16969
  return (0, vue.h)(BaseUserDetails_default, {
16865
16970
  className: props.className,
16866
- error: (0, __thunderid_browser.toManagementErrorMessage)(t, user.error.value, "admin.users.details.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, deletion.error.value, "admin.users.details.delete.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, update.error.value, "admin.users.details.edit.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, lifecycle.error.value, "admin.common.lifecycle.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, lifecycle.loadError.value, "admin.common.lifecycle.load_error"),
16971
+ error: (0, __thunderid_browser.toManagementErrorMessage)(t, user.error.value, "admin.users.details.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, deletion.error.value, "admin.users.details.delete.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, update.error.value, "admin.users.details.edit.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, showVerificationResult ? verification.error.value : null, "admin.users.details.verification.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, lifecycle.error.value, "admin.common.lifecycle.error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, lifecycle.loadError.value, "admin.common.lifecycle.load_error") ?? (0, __thunderid_browser.toManagementErrorMessage)(t, verificationFlow.error.value ?? userType.error.value, "admin.users.details.verification.load_error"),
16867
16972
  groups: groups.data.value?.groups ?? [],
16868
16973
  hiddenAttributes: props.hiddenAttributes,
16869
16974
  isDeleting: deletion.isLoading.value,
16870
16975
  isLoading: user.isLoading.value,
16871
16976
  isRunningLifecycleAction: lifecycle.isRunning.value,
16977
+ isSendingVerification: verification.isLoading.value,
16872
16978
  isUpdating: update.isLoading.value,
16873
16979
  lifecycleActions: lifecycle.actions.value,
16874
16980
  onDelete: props.deletable ? () => void deletion.mutate(props.userId) : void 0,
16875
16981
  onLifecycleAction: props.lifecycleActions ? lifecycle.run : void 0,
16982
+ onSendVerification: props.attributeVerification && verificationHandle() && userSchema && current?.id === props.userId ? (attribute) => {
16983
+ const target$1 = {
16984
+ attribute,
16985
+ userId: props.userId,
16986
+ value: current?.attributes?.[attribute]
16987
+ };
16988
+ verificationTarget.value = target$1;
16989
+ verification.reset();
16990
+ verification.mutate(target$1);
16991
+ } : void 0,
16876
16992
  onUpdate: props.editable && current ? (attributes) => void update.mutate({
16877
16993
  data: {
16878
16994
  attributes,
@@ -16882,7 +16998,9 @@ const UserDetails = (0, vue.defineComponent)({
16882
16998
  userId: props.userId
16883
16999
  }) : void 0,
16884
17000
  preferences: props.preferences,
16885
- user: current
17001
+ sentVerification: showVerificationResult ? verification.data.value ?? null : null,
17002
+ user: current,
17003
+ userSchema
16886
17004
  }, { ...slots });
16887
17005
  };
16888
17006
  }
@@ -23674,6 +23792,12 @@ Object.defineProperty(exports, 'runAdministrationFlow', {
23674
23792
  return __thunderid_browser.runAdministrationFlow;
23675
23793
  }
23676
23794
  });
23795
+ Object.defineProperty(exports, 'sendUserAttributeVerification', {
23796
+ enumerable: true,
23797
+ get: function () {
23798
+ return __thunderid_browser.sendUserAttributeVerification;
23799
+ }
23800
+ });
23677
23801
  Object.defineProperty(exports, 'setTranslation', {
23678
23802
  enumerable: true,
23679
23803
  get: function () {
@@ -1 +1 @@
1
- {"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EAEf,WAAW,EACX,KAAK,IAAI,EACT,KAAK,iBAAiB,EAOvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAMd,KAAK,KAAK,EAOX,MAAM,KAAK,CAAC;AAiCb,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,IAAI,CAAC;CACrD;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IACnD,uCAAuC;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,8BAA8B;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,wBAAwB;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1C,oCAAoC;IACpC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,4FAA4F;IAC5F,kBAAkB,EAAE,MAAM,KAAK,GAAG,IAAI,CAAC;IACvC,sEAAsE;IACtE,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;;;OAGG;IACH,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,GAAG,YAAY,GAAG,IAAI,CAAC;IAC5E,uGAAuG;IACvG,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAClE,gDAAgD;IAChD,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AA8GD,QAAA,MAAM,eAAe,EAAE,SA0tBrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EAEf,WAAW,EACX,KAAK,IAAI,EACT,KAAK,iBAAiB,EAOvB,MAAM,oBAAoB,CAAC;AAC5B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,IAAI,CAAC;IACrB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1C,oCAAoC;IACpC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,4FAA4F;IAC5F,kBAAkB,EAAE,MAAM,KAAK,GAAG,IAAI,CAAC;IACvC,sEAAsE;IACtE,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;;;OAGG;IACH,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,UAAU,GAAG,YAAY,GAAG,IAAI,CAAC;IAC5E,uGAAuG;IACvG,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAClE,gDAAgD;IAChD,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AA2GD,QAAA,MAAM,eAAe,EAAE,SAmrBrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseVerifyAttribute.d.ts","sourceRoot":"","sources":["../../../../src/components/account/verify-attribute/BaseVerifyAttribute.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EAKxB,WAAW,EAKZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAYf,MAAM,KAAK,CAAC;AA0Cb;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,mDAAmD;IACnD,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,uFAAuF;IACvF,eAAe,EAAE,MAAM,GA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AM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC1D;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,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,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACvD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACnF,8EAA8E;IAC9E,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,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,MAAM,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAkYzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
@@ -2,6 +2,6 @@
2
2
  * Styles for the VerifyAttribute presentation component.
3
3
  * Parity target: `@thunderid/react` BaseVerifyAttribute.styles.ts
4
4
  */
5
- declare const VERIFY_ATTRIBUTE_CSS = "\n/* ============================================================\n VerifyAttribute (React Parity)\n ============================================================ */\n\n.thunderid-verify-attribute {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n width: 100%;\n box-sizing: border-box;\n font-family: var(--thunderid-typography-fontFamily);\n}\n\n.thunderid-verify-attribute--outlined {\n padding: calc(var(--thunderid-spacing-unit) * 2);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-medium, 6px);\n}\n\n.thunderid-verify-attribute__header {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) / 2);\n}\n\n.thunderid-verify-attribute__heading {\n margin: 0;\n}\n\n.thunderid-verify-attribute__subheading,\n.thunderid-verify-attribute__destination {\n margin: 0;\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-verify-attribute__content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-verify-attribute__content .thunderid-otp-field__inputs {\n justify-content: flex-start;\n}\n\n.thunderid-verify-attribute__content .thunderid-otp-field__digit {\n flex: 1 1 calc(var(--thunderid-spacing-unit) * 4);\n max-width: calc(var(--thunderid-spacing-unit) * 6);\n min-width: 0;\n}\n\n.thunderid-verify-attribute__alert {\n width: 100%;\n}\n\n.thunderid-verify-attribute__loading {\n display: flex;\n justify-content: center;\n padding: calc(var(--thunderid-spacing-unit) * 2);\n}\n\n.thunderid-verify-attribute__actions {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: var(--thunderid-spacing-unit);\n}\n";
5
+ declare const VERIFY_ATTRIBUTE_CSS = "\n/* ============================================================\n VerifyAttribute (React Parity)\n ============================================================ */\n\n.thunderid-verify-attribute {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n width: 100%;\n box-sizing: border-box;\n font-family: var(--thunderid-typography-fontFamily);\n}\n\n.thunderid-verify-attribute--outlined {\n padding: calc(var(--thunderid-spacing-unit) * 2);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-medium, 6px);\n}\n\n.thunderid-verify-attribute__header {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) / 2);\n}\n\n.thunderid-verify-attribute__heading {\n margin: 0;\n}\n\n.thunderid-verify-attribute__subheading,\n.thunderid-verify-attribute__destination {\n margin: 0;\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-verify-attribute__content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-verify-attribute__alert {\n width: 100%;\n}\n\n.thunderid-verify-attribute__loading {\n display: flex;\n justify-content: center;\n padding: calc(var(--thunderid-spacing-unit) * 2);\n}\n\n.thunderid-verify-attribute__actions {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: var(--thunderid-spacing-unit);\n}\n";
6
6
  export default VERIFY_ATTRIBUTE_CSS;
7
7
  //# sourceMappingURL=VerifyAttribute.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerifyAttribute.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/verify-attribute/VerifyAttribute.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,oBAAoB,6uDAoEzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"VerifyAttribute.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/verify-attribute/VerifyAttribute.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,oBAAoB,47CA0DzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type AccountLifecycleAction, type ManagedUser, type MembershipGroup } from '@thunderid/browser';
1
+ import { type AccountLifecycleAction, type ManagedUser, type MembershipGroup, type SendUserAttributeVerificationResult, type VerifiedAttribute } from '@thunderid/browser';
2
2
  import { type Component } from 'vue';
3
3
  /**
4
4
  * What `BaseUserDetails` hands its default scoped slot, so the user can be shown with any UI.
@@ -13,6 +13,7 @@ export interface BaseUserDetailsRenderProps {
13
13
  isDeleting: boolean;
14
14
  isLoading: boolean;
15
15
  isRunningLifecycleAction: boolean;
16
+ isSendingVerification: boolean;
16
17
  isUpdating: boolean;
17
18
  /** The account lifecycle actions offered for the user. Empty when none is allowed. */
18
19
  lifecycleActions: AccountLifecycleAction[];
@@ -23,9 +24,22 @@ export interface BaseUserDetailsRenderProps {
23
24
  * allowed.
24
25
  */
25
26
  onLifecycleAction?: (action: AccountLifecycleAction, operatorNote?: string) => void;
27
+ /**
28
+ * Sends the user a link to verify the given attribute. Undefined when sending is not allowed, including
29
+ * for read-only users.
30
+ */
31
+ onSendVerification?: (attribute: string) => void;
26
32
  /** Saves the given attributes. Undefined when editing is not allowed, including for read-only users. */
27
33
  onUpdate?: (attributes: Record<string, unknown>) => void;
34
+ /** What the last sent verification link reported, such as its masked destination. */
35
+ sentVerification: SendUserAttributeVerificationResult | null;
28
36
  user?: ManagedUser;
37
+ /** The attributes whose verification status is known and for which a link can be sent, verified or not. */
38
+ verifiableAttributes: string[];
39
+ /** Visible contact attributes with a known verification status, including mobile numbers. */
40
+ verificationStatusAttributes: string[];
41
+ /** The user's verified attributes, keyed by attribute. Undefined when the server does not report them. */
42
+ verifiedAttributes?: Record<string, VerifiedAttribute>;
29
43
  }
30
44
  /**
31
45
  * Shows a user's attributes, type, organization unit and groups. Holds no data of its own: pass the
@@ -1 +1 @@
1
- {"version":3,"file":"BaseUserDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/UserDetails/BaseUserDetails.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,eAAe,EAGrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAgCb;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,sDAAsD;IACtD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,0EAA0E;IAC1E,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,wBAAwB,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,sFAAsF;IACtF,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF,wGAAwG;IACxG,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACzD,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAYD;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,EAAE,SAwPrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"BaseUserDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/UserDetails/BaseUserDetails.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,sBAAsB,EAE3B,KAAK,WAAW,EAChB,KAAK,eAAe,EAEpB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAqCb;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,sDAAsD;IACtD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,0EAA0E;IAC1E,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,wBAAwB,EAAE,OAAO,CAAC;IAClC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,sFAAsF;IACtF,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF;;;OAGG;IACH,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,wGAAwG;IACxG,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACzD,qFAAqF;IACrF,gBAAgB,EAAE,mCAAmC,GAAG,IAAI,CAAC;IAC7D,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,2GAA2G;IAC3G,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,6FAA6F;IAC7F,4BAA4B,EAAE,MAAM,EAAE,CAAC;IACvC,0GAA0G;IAC1G,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CACxD;AAYD;;;;;;GAMG;AACH,QAAA,MAAM,eAAe,EAAE,SA6VrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { type Component } from 'vue';
2
2
  /**
3
3
  * Shows a user and the groups they belong to, and optionally lets the signed-in user edit or delete
4
- * them. Emits `deleted` after the user has been deleted.
4
+ * them, run account lifecycle actions or send them a link to verify their email. Emits `deleted` after
5
+ * the user has been deleted.
5
6
  *
6
7
  * Slots: `actions`, rendered next to the user's name.
7
8
  *
@@ -1 +1 @@
1
- {"version":3,"file":"UserDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/UserDetails/UserDetails.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAwBrG;;;;;;;;;;GAUG;AACH,QAAA,MAAM,WAAW,EAAE,SAiGjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"UserDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/UserDetails/UserDetails.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAC,KAAK,SAAS,EAA+E,MAAM,KAAK,CAAC;AAgCjH;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,WAAW,EAAE,SAsKjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -7,11 +7,11 @@
7
7
  * Section: __header | __heading | __title | __description | __actions
8
8
  * Forms: __form | __form-actions
9
9
  * Parts: __panel | __panel-header | __panel-title | __detail | __detail-label | __detail-value
10
- * __chip-list | __chip | __confirm | __muted | __row | __avatar | __picker
10
+ * __chip-list | __chip | __status-chip | __confirm | __muted | __row | __avatar | __picker
11
11
  *
12
12
  * Each component root also carries its own block class (for example `.thunderid-user-list`), so an
13
13
  * application can target a single component.
14
14
  */
15
- declare const ADMIN_CSS = "\n/* ============================================================\n Admin components\n ============================================================ */\n\n.thunderid-admin {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n font-family: var(--thunderid-typography-fontFamily);\n color: var(--thunderid-color-text-primary);\n}\n\n.thunderid-admin__header {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__title {\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-xl);\n font-weight: var(--thunderid-typography-fontWeight-normal);\n}\n\n.thunderid-admin__description {\n margin: calc(var(--thunderid-spacing-unit) / 2) 0 0;\n color: var(--thunderid-color-text-secondary);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n}\n\n.thunderid-admin__form {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n max-width: 560px;\n}\n\n.thunderid-admin__form-actions {\n display: flex;\n gap: var(--thunderid-spacing-unit);\n justify-content: flex-end;\n}\n\n.thunderid-admin__panel {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n padding: calc(var(--thunderid-spacing-unit) * 2);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-large);\n background: var(--thunderid-color-background-surface);\n}\n\n.thunderid-admin__panel-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__panel-title {\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-md);\n font-weight: var(--thunderid-typography-fontWeight-semibold);\n}\n\n.thunderid-admin__detail {\n display: grid;\n grid-template-columns: fit-content(200px) minmax(0, 1fr);\n gap: var(--thunderid-spacing-unit) calc(var(--thunderid-spacing-unit) * 2);\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__detail-label {\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-admin__detail-value {\n margin: 0;\n color: var(--thunderid-color-text-primary);\n overflow-wrap: anywhere;\n}\n\n.thunderid-admin__chip-list {\n display: flex;\n flex-wrap: wrap;\n gap: var(--thunderid-spacing-unit);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.thunderid-admin__chip {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunderid-spacing-unit) / 2);\n padding: calc(var(--thunderid-spacing-unit) / 2) var(--thunderid-spacing-unit);\n border-radius: var(--thunderid-border-radius-full);\n border: 1px solid var(--thunderid-color-border);\n background: var(--thunderid-color-background-surface);\n font-size: var(--thunderid-typography-fontSize-sm);\n color: var(--thunderid-color-text-primary);\n}\n\n.thunderid-admin__confirm {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__muted {\n display: inline-flex;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n color: var(--thunderid-color-text-secondary);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__name {\n display: inline-flex;\n align-items: center;\n gap: 0.75em;\n}\n\n.thunderid-admin__avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: var(--thunderid-border-radius-full);\n background: var(--thunderid-color-primary-main);\n color: var(--thunderid-color-primary-contrastText);\n font-weight: var(--thunderid-typography-fontWeight-semibold);\n line-height: 1;\n user-select: none;\n}\n\n.thunderid-admin__picker {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__picker > .thunderid-select {\n flex: 1 1 180px;\n}\n\n.thunderid-admin__edit-form {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n";
15
+ declare const ADMIN_CSS = "\n/* ============================================================\n Admin components\n ============================================================ */\n\n.thunderid-admin {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n font-family: var(--thunderid-typography-fontFamily);\n color: var(--thunderid-color-text-primary);\n}\n\n.thunderid-admin__header {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__title {\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-xl);\n font-weight: var(--thunderid-typography-fontWeight-normal);\n}\n\n.thunderid-admin__description {\n margin: calc(var(--thunderid-spacing-unit) / 2) 0 0;\n color: var(--thunderid-color-text-secondary);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n}\n\n.thunderid-admin__form {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n max-width: 560px;\n}\n\n.thunderid-admin__form-actions {\n display: flex;\n gap: var(--thunderid-spacing-unit);\n justify-content: flex-end;\n}\n\n.thunderid-admin__panel {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n padding: calc(var(--thunderid-spacing-unit) * 2);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-large);\n background: var(--thunderid-color-background-surface);\n}\n\n.thunderid-admin__panel-header {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__panel-title {\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-md);\n font-weight: var(--thunderid-typography-fontWeight-semibold);\n}\n\n.thunderid-admin__detail {\n display: grid;\n grid-template-columns: fit-content(200px) minmax(0, 1fr);\n gap: var(--thunderid-spacing-unit) calc(var(--thunderid-spacing-unit) * 2);\n margin: 0;\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__detail-label {\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-admin__detail-value {\n margin: 0;\n color: var(--thunderid-color-text-primary);\n overflow-wrap: anywhere;\n}\n\n.thunderid-admin__chip-list {\n display: flex;\n flex-wrap: wrap;\n gap: var(--thunderid-spacing-unit);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.thunderid-admin__chip {\n display: inline-flex;\n align-items: center;\n gap: calc(var(--thunderid-spacing-unit) / 2);\n padding: calc(var(--thunderid-spacing-unit) / 2) var(--thunderid-spacing-unit);\n border-radius: var(--thunderid-border-radius-full);\n border: 1px solid var(--thunderid-color-border);\n background: var(--thunderid-color-background-surface);\n font-size: var(--thunderid-typography-fontSize-sm);\n color: var(--thunderid-color-text-primary);\n}\n\n.thunderid-admin__status-chip {\n display: inline-flex;\n flex-shrink: 0;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n align-items: center;\n padding: 0 var(--thunderid-spacing-unit);\n border-radius: 999px;\n font-size: 0.75rem;\n font-weight: 500;\n line-height: 22px;\n white-space: nowrap;\n}\n\n.thunderid-admin__status-chip svg {\n width: 12px;\n height: 12px;\n}\n\n.thunderid-admin__status-chip--success {\n color: var(--thunderid-color-success-dark, var(--thunderid-color-success-main));\n background: color-mix(in srgb, var(--thunderid-color-success-main) 12%, transparent);\n}\n\n/* Amber marks an action the administrator can take. */\n.thunderid-admin__status-chip--warning {\n color: var(--thunderid-color-warning-contrastText);\n background: color-mix(in srgb, var(--thunderid-color-warning-main) 14%, transparent);\n}\n\n.thunderid-admin__confirm {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__muted {\n display: inline-flex;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n color: var(--thunderid-color-text-secondary);\n font-size: var(--thunderid-typography-fontSize-sm);\n}\n\n.thunderid-admin__row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n/* The value and its status on the left, the send action at the row's end. */\n.thunderid-admin__verification-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n/* The action's padding must not make the row taller than its label. */\n.thunderid-admin__verification-row > button {\n margin-block: calc(var(--thunderid-spacing-unit) * -0.75);\n}\n\n.thunderid-admin__verification-value {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n min-width: 0;\n}\n\n.thunderid-admin__verification-row svg {\n width: 14px;\n height: 14px;\n}\n\n.thunderid-admin__name {\n display: inline-flex;\n align-items: center;\n gap: 0.75em;\n}\n\n.thunderid-admin__avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: var(--thunderid-border-radius-full);\n background: var(--thunderid-color-primary-main);\n color: var(--thunderid-color-primary-contrastText);\n font-weight: var(--thunderid-typography-fontWeight-semibold);\n line-height: 1;\n user-select: none;\n}\n\n.thunderid-admin__picker {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-admin__picker > .thunderid-select {\n flex: 1 1 180px;\n}\n\n.thunderid-admin__edit-form {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n";
16
16
  export default ADMIN_CSS;
17
17
  //# sourceMappingURL=Admin.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Admin.css.d.ts","sourceRoot":"","sources":["../../../../src/components/management/shared/Admin.css.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,SAAS,y9IA8Kd,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Admin.css.d.ts","sourceRoot":"","sources":["../../../../src/components/management/shared/Admin.css.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,SAAS,o+LAqOd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -8,6 +8,7 @@ export declare const CircleAlertIcon: () => VNode;
8
8
  export declare const CircleCheckIcon: () => VNode;
9
9
  export declare const InfoIcon: () => VNode;
10
10
  export declare const TriangleAlertIcon: () => VNode;
11
+ export declare const SendIcon: () => VNode;
11
12
  export declare const PlusIcon: () => VNode;
12
13
  export declare const LogOutIcon: () => VNode;
13
14
  export declare const UserIcon: () => VNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/Icons.ts"],"names":[],"mappings":"AAGA,OAAO,EAAI,KAAK,KAAK,EAA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