@firecms/user_management 3.2.0 → 3.3.0-canary.451aa49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -2111,7 +2111,7 @@
2111
2111
  return true;
2112
2112
  }
2113
2113
  function UserDetailsForm(t0) {
2114
- const $ = reactCompilerRuntime.c(112);
2114
+ const $ = reactCompilerRuntime.c(114);
2115
2115
  const {
2116
2116
  open,
2117
2117
  user: userProp,
@@ -2253,7 +2253,7 @@
2253
2253
  }
2254
2254
  let t9;
2255
2255
  if ($[25] !== t8) {
2256
- t9 = /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { variant: "h4", gutterBottom: false, children: t8 });
2256
+ t9 = /* @__PURE__ */ jsxRuntime.jsx("div", { children: t8 });
2257
2257
  $[25] = t8;
2258
2258
  $[26] = t9;
2259
2259
  } else {
@@ -2261,17 +2261,16 @@
2261
2261
  }
2262
2262
  let t10;
2263
2263
  if ($[27] !== isNewUser || $[28] !== snackbarController || $[29] !== t || $[30] !== userProp) {
2264
- t10 = !isNewUser && userProp?.uid && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2265
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-surface-accent-600 dark:text-surface-accent-400", children: t("user_id") }),
2266
- /* @__PURE__ */ jsxRuntime.jsx(ui.Chip, { size: "small", children: userProp.uid }),
2267
- /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: t("copy"), children: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { size: "small", onClick: () => {
2264
+ t10 = !isNewUser && userProp?.uid && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2265
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-mono text-surface-accent-500 dark:text-surface-accent-400 font-normal", children: userProp.uid }),
2266
+ /* @__PURE__ */ jsxRuntime.jsx(ui.Tooltip, { title: t("copy"), children: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { size: "smallest", onClick: () => {
2268
2267
  navigator.clipboard.writeText(userProp.uid);
2269
2268
  snackbarController.open({
2270
2269
  type: "success",
2271
2270
  message: t("copied")
2272
2271
  });
2273
- }, children: /* @__PURE__ */ jsxRuntime.jsx(ui.CopyIcon, { size: "small" }) }) })
2274
- ] }) });
2272
+ }, children: /* @__PURE__ */ jsxRuntime.jsx(ui.CopyIcon, { size: "smallest" }) }) })
2273
+ ] });
2275
2274
  $[27] = isNewUser;
2276
2275
  $[28] = snackbarController;
2277
2276
  $[29] = t;
@@ -2280,262 +2279,272 @@
2280
2279
  } else {
2281
2280
  t10 = $[31];
2282
2281
  }
2283
- const t11 = submitCount > 0 && Boolean(errors.displayName);
2284
- const t12 = values_0.displayName ?? "";
2285
- let t13;
2286
- if ($[32] !== t) {
2287
- t13 = t("name");
2288
- $[32] = t;
2289
- $[33] = t13;
2282
+ let t11;
2283
+ if ($[32] !== t10 || $[33] !== t9) {
2284
+ t11 = /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { variant: "h4", gutterBottom: false, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
2285
+ t9,
2286
+ t10
2287
+ ] }) });
2288
+ $[32] = t10;
2289
+ $[33] = t9;
2290
+ $[34] = t11;
2290
2291
  } else {
2291
- t13 = $[33];
2292
+ t11 = $[34];
2292
2293
  }
2294
+ const t12 = submitCount > 0 && Boolean(errors.displayName);
2295
+ const t13 = values_0.displayName ?? "";
2293
2296
  let t14;
2294
- if ($[34] !== handleChange || $[35] !== t11 || $[36] !== t12 || $[37] !== t13) {
2295
- t14 = /* @__PURE__ */ jsxRuntime.jsx(ui.TextField, { name: "displayName", required: true, error: t11, value: t12, onChange: handleChange, "aria-describedby": "name-helper-text", label: t13 });
2296
- $[34] = handleChange;
2297
- $[35] = t11;
2298
- $[36] = t12;
2299
- $[37] = t13;
2300
- $[38] = t14;
2297
+ if ($[35] !== t) {
2298
+ t14 = t("name");
2299
+ $[35] = t;
2300
+ $[36] = t14;
2301
2301
  } else {
2302
- t14 = $[38];
2302
+ t14 = $[36];
2303
2303
  }
2304
2304
  let t15;
2305
- if ($[39] !== errors || $[40] !== submitCount || $[41] !== t) {
2306
- t15 = submitCount > 0 && Boolean(errors.displayName) ? errors.displayName : t("name_of_this_user");
2307
- $[39] = errors;
2308
- $[40] = submitCount;
2309
- $[41] = t;
2310
- $[42] = t15;
2305
+ if ($[37] !== handleChange || $[38] !== t12 || $[39] !== t13 || $[40] !== t14) {
2306
+ t15 = /* @__PURE__ */ jsxRuntime.jsx(ui.TextField, { name: "displayName", required: true, error: t12, value: t13, onChange: handleChange, "aria-describedby": "name-helper-text", label: t14 });
2307
+ $[37] = handleChange;
2308
+ $[38] = t12;
2309
+ $[39] = t13;
2310
+ $[40] = t14;
2311
+ $[41] = t15;
2311
2312
  } else {
2312
- t15 = $[42];
2313
+ t15 = $[41];
2313
2314
  }
2314
2315
  let t16;
2315
- if ($[43] !== t15) {
2316
- t16 = /* @__PURE__ */ jsxRuntime.jsx(core.FieldCaption, { children: t15 });
2317
- $[43] = t15;
2318
- $[44] = t16;
2316
+ if ($[42] !== errors || $[43] !== submitCount || $[44] !== t) {
2317
+ t16 = submitCount > 0 && Boolean(errors.displayName) ? errors.displayName : t("name_of_this_user");
2318
+ $[42] = errors;
2319
+ $[43] = submitCount;
2320
+ $[44] = t;
2321
+ $[45] = t16;
2319
2322
  } else {
2320
- t16 = $[44];
2323
+ t16 = $[45];
2321
2324
  }
2322
2325
  let t17;
2323
- if ($[45] !== t14 || $[46] !== t16) {
2324
- t17 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-12", children: [
2325
- t14,
2326
- t16
2327
- ] });
2328
- $[45] = t14;
2326
+ if ($[46] !== t16) {
2327
+ t17 = /* @__PURE__ */ jsxRuntime.jsx(core.FieldCaption, { children: t16 });
2329
2328
  $[46] = t16;
2330
2329
  $[47] = t17;
2331
2330
  } else {
2332
2331
  t17 = $[47];
2333
2332
  }
2334
- const t18 = submitCount > 0 && Boolean(errors.email);
2335
- const t19 = values_0.email ?? "";
2336
- let t20;
2337
- if ($[48] !== t) {
2338
- t20 = t("email");
2339
- $[48] = t;
2340
- $[49] = t20;
2333
+ let t18;
2334
+ if ($[48] !== t15 || $[49] !== t17) {
2335
+ t18 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-12", children: [
2336
+ t15,
2337
+ t17
2338
+ ] });
2339
+ $[48] = t15;
2340
+ $[49] = t17;
2341
+ $[50] = t18;
2341
2342
  } else {
2342
- t20 = $[49];
2343
+ t18 = $[50];
2343
2344
  }
2345
+ const t19 = submitCount > 0 && Boolean(errors.email);
2346
+ const t20 = values_0.email ?? "";
2344
2347
  let t21;
2345
- if ($[50] !== handleChange || $[51] !== t18 || $[52] !== t19 || $[53] !== t20) {
2346
- t21 = /* @__PURE__ */ jsxRuntime.jsx(ui.TextField, { required: true, error: t18, name: "email", value: t19, onChange: handleChange, "aria-describedby": "email-helper-text", label: t20 });
2347
- $[50] = handleChange;
2348
- $[51] = t18;
2349
- $[52] = t19;
2350
- $[53] = t20;
2351
- $[54] = t21;
2348
+ if ($[51] !== t) {
2349
+ t21 = t("email");
2350
+ $[51] = t;
2351
+ $[52] = t21;
2352
2352
  } else {
2353
- t21 = $[54];
2353
+ t21 = $[52];
2354
2354
  }
2355
2355
  let t22;
2356
- if ($[55] !== errors || $[56] !== submitCount || $[57] !== t) {
2357
- t22 = submitCount > 0 && Boolean(errors.email) ? errors.email : t("email_of_this_user");
2358
- $[55] = errors;
2359
- $[56] = submitCount;
2360
- $[57] = t;
2361
- $[58] = t22;
2356
+ if ($[53] !== handleChange || $[54] !== t19 || $[55] !== t20 || $[56] !== t21) {
2357
+ t22 = /* @__PURE__ */ jsxRuntime.jsx(ui.TextField, { required: true, error: t19, name: "email", value: t20, onChange: handleChange, "aria-describedby": "email-helper-text", label: t21 });
2358
+ $[53] = handleChange;
2359
+ $[54] = t19;
2360
+ $[55] = t20;
2361
+ $[56] = t21;
2362
+ $[57] = t22;
2362
2363
  } else {
2363
- t22 = $[58];
2364
+ t22 = $[57];
2364
2365
  }
2365
2366
  let t23;
2366
- if ($[59] !== t22) {
2367
- t23 = /* @__PURE__ */ jsxRuntime.jsx(core.FieldCaption, { children: t22 });
2368
- $[59] = t22;
2369
- $[60] = t23;
2367
+ if ($[58] !== errors || $[59] !== submitCount || $[60] !== t) {
2368
+ t23 = submitCount > 0 && Boolean(errors.email) ? errors.email : t("email_of_this_user");
2369
+ $[58] = errors;
2370
+ $[59] = submitCount;
2371
+ $[60] = t;
2372
+ $[61] = t23;
2370
2373
  } else {
2371
- t23 = $[60];
2374
+ t23 = $[61];
2372
2375
  }
2373
2376
  let t24;
2374
- if ($[61] !== t21 || $[62] !== t23) {
2375
- t24 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-12", children: [
2376
- t21,
2377
- t23
2378
- ] });
2379
- $[61] = t21;
2377
+ if ($[62] !== t23) {
2378
+ t24 = /* @__PURE__ */ jsxRuntime.jsx(core.FieldCaption, { children: t23 });
2380
2379
  $[62] = t23;
2381
2380
  $[63] = t24;
2382
2381
  } else {
2383
2382
  t24 = $[63];
2384
2383
  }
2385
2384
  let t25;
2386
- if ($[64] !== t) {
2387
- t25 = t("roles");
2388
- $[64] = t;
2389
- $[65] = t25;
2385
+ if ($[64] !== t22 || $[65] !== t24) {
2386
+ t25 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "col-span-12", children: [
2387
+ t22,
2388
+ t24
2389
+ ] });
2390
+ $[64] = t22;
2391
+ $[65] = t24;
2392
+ $[66] = t25;
2390
2393
  } else {
2391
- t25 = $[65];
2394
+ t25 = $[66];
2392
2395
  }
2393
2396
  let t26;
2394
- if ($[66] !== values_0.roles) {
2395
- t26 = values_0.roles?.map(_temp5) ?? [];
2396
- $[66] = values_0.roles;
2397
- $[67] = t26;
2397
+ if ($[67] !== t) {
2398
+ t26 = t("roles");
2399
+ $[67] = t;
2400
+ $[68] = t26;
2398
2401
  } else {
2399
- t26 = $[67];
2402
+ t26 = $[68];
2400
2403
  }
2401
2404
  let t27;
2402
- if ($[68] !== roles || $[69] !== setFieldValue) {
2403
- t27 = (value) => setFieldValue("roles", value.map((id) => roles.find((r_1) => r_1.id === id)));
2404
- $[68] = roles;
2405
- $[69] = setFieldValue;
2405
+ if ($[69] !== values_0.roles) {
2406
+ t27 = values_0.roles?.map(_temp5) ?? [];
2407
+ $[69] = values_0.roles;
2406
2408
  $[70] = t27;
2407
2409
  } else {
2408
2410
  t27 = $[70];
2409
2411
  }
2410
2412
  let t28;
2411
- if ($[71] !== roles) {
2412
- t28 = roles.map(_temp6);
2413
+ if ($[71] !== roles || $[72] !== setFieldValue) {
2414
+ t28 = (value) => setFieldValue("roles", value.map((id) => roles.find((r_1) => r_1.id === id)));
2413
2415
  $[71] = roles;
2414
- $[72] = t28;
2416
+ $[72] = setFieldValue;
2417
+ $[73] = t28;
2415
2418
  } else {
2416
- t28 = $[72];
2419
+ t28 = $[73];
2417
2420
  }
2418
2421
  let t29;
2419
- if ($[73] !== t25 || $[74] !== t26 || $[75] !== t27 || $[76] !== t28) {
2420
- t29 = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxRuntime.jsx(ui.MultiSelect, { className: "w-full", label: t25, value: t26, onValueChange: t27, children: t28 }) });
2421
- $[73] = t25;
2422
- $[74] = t26;
2423
- $[75] = t27;
2424
- $[76] = t28;
2425
- $[77] = t29;
2422
+ if ($[74] !== roles) {
2423
+ t29 = roles.map(_temp6);
2424
+ $[74] = roles;
2425
+ $[75] = t29;
2426
2426
  } else {
2427
- t29 = $[77];
2427
+ t29 = $[75];
2428
2428
  }
2429
2429
  let t30;
2430
- if ($[78] !== t10 || $[79] !== t17 || $[80] !== t24 || $[81] !== t29) {
2431
- t30 = /* @__PURE__ */ jsxRuntime.jsx(ui.DialogContent, { className: "h-full flex-grow", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-12 gap-4", children: [
2432
- t10,
2433
- t17,
2434
- t24,
2435
- t29
2436
- ] }) });
2437
- $[78] = t10;
2438
- $[79] = t17;
2439
- $[80] = t24;
2440
- $[81] = t29;
2441
- $[82] = t30;
2430
+ if ($[76] !== t26 || $[77] !== t27 || $[78] !== t28 || $[79] !== t29) {
2431
+ t30 = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxRuntime.jsx(ui.MultiSelect, { className: "w-full", label: t26, value: t27, onValueChange: t28, children: t29 }) });
2432
+ $[76] = t26;
2433
+ $[77] = t27;
2434
+ $[78] = t28;
2435
+ $[79] = t29;
2436
+ $[80] = t30;
2442
2437
  } else {
2443
- t30 = $[82];
2438
+ t30 = $[80];
2444
2439
  }
2445
2440
  let t31;
2446
- if ($[83] !== handleClose) {
2447
- t31 = () => {
2448
- handleClose();
2449
- };
2450
- $[83] = handleClose;
2441
+ if ($[81] !== t18 || $[82] !== t25 || $[83] !== t30) {
2442
+ t31 = /* @__PURE__ */ jsxRuntime.jsx(ui.DialogContent, { className: "h-full flex-grow", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-12 gap-4", children: [
2443
+ t18,
2444
+ t25,
2445
+ t30
2446
+ ] }) });
2447
+ $[81] = t18;
2448
+ $[82] = t25;
2449
+ $[83] = t30;
2451
2450
  $[84] = t31;
2452
2451
  } else {
2453
2452
  t31 = $[84];
2454
2453
  }
2455
2454
  let t32;
2456
- if ($[85] !== t) {
2457
- t32 = t("cancel");
2458
- $[85] = t;
2455
+ if ($[85] !== handleClose) {
2456
+ t32 = () => {
2457
+ handleClose();
2458
+ };
2459
+ $[85] = handleClose;
2459
2460
  $[86] = t32;
2460
2461
  } else {
2461
2462
  t32 = $[86];
2462
2463
  }
2463
2464
  let t33;
2464
- if ($[87] !== t31 || $[88] !== t32) {
2465
- t33 = /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "text", onClick: t31, children: t32 });
2466
- $[87] = t31;
2467
- $[88] = t32;
2468
- $[89] = t33;
2465
+ if ($[87] !== t) {
2466
+ t33 = t("cancel");
2467
+ $[87] = t;
2468
+ $[88] = t33;
2469
2469
  } else {
2470
- t33 = $[89];
2470
+ t33 = $[88];
2471
2471
  }
2472
- const t34 = !dirty;
2473
- let t35;
2474
- if ($[90] !== isNewUser || $[91] !== t) {
2475
- t35 = isNewUser ? t("create_user") : t("update");
2476
- $[90] = isNewUser;
2477
- $[91] = t;
2478
- $[92] = t35;
2472
+ let t34;
2473
+ if ($[89] !== t32 || $[90] !== t33) {
2474
+ t34 = /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "text", onClick: t32, children: t33 });
2475
+ $[89] = t32;
2476
+ $[90] = t33;
2477
+ $[91] = t34;
2479
2478
  } else {
2480
- t35 = $[92];
2479
+ t34 = $[91];
2481
2480
  }
2481
+ const t35 = !dirty;
2482
2482
  let t36;
2483
- if ($[93] !== isSubmitting || $[94] !== t34 || $[95] !== t35) {
2484
- t36 = /* @__PURE__ */ jsxRuntime.jsx(ui.LoadingButton, { variant: "filled", type: "submit", disabled: t34, loading: isSubmitting, children: t35 });
2485
- $[93] = isSubmitting;
2486
- $[94] = t34;
2487
- $[95] = t35;
2488
- $[96] = t36;
2483
+ if ($[92] !== isNewUser || $[93] !== t) {
2484
+ t36 = isNewUser ? t("create_user") : t("update");
2485
+ $[92] = isNewUser;
2486
+ $[93] = t;
2487
+ $[94] = t36;
2489
2488
  } else {
2490
- t36 = $[96];
2489
+ t36 = $[94];
2491
2490
  }
2492
2491
  let t37;
2493
- if ($[97] !== t33 || $[98] !== t36) {
2494
- t37 = /* @__PURE__ */ jsxRuntime.jsxs(ui.DialogActions, { children: [
2495
- t33,
2496
- t36
2497
- ] });
2498
- $[97] = t33;
2499
- $[98] = t36;
2500
- $[99] = t37;
2492
+ if ($[95] !== isSubmitting || $[96] !== t35 || $[97] !== t36) {
2493
+ t37 = /* @__PURE__ */ jsxRuntime.jsx(ui.LoadingButton, { variant: "filled", type: "submit", disabled: t35, loading: isSubmitting, children: t36 });
2494
+ $[95] = isSubmitting;
2495
+ $[96] = t35;
2496
+ $[97] = t36;
2497
+ $[98] = t37;
2501
2498
  } else {
2502
- t37 = $[99];
2499
+ t37 = $[98];
2503
2500
  }
2504
2501
  let t38;
2505
- if ($[100] !== handleSubmit || $[101] !== t30 || $[102] !== t37 || $[103] !== t9) {
2506
- t38 = /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, autoComplete: "off", noValidate: true, style: t7, children: [
2507
- t9,
2508
- t30,
2502
+ if ($[99] !== t34 || $[100] !== t37) {
2503
+ t38 = /* @__PURE__ */ jsxRuntime.jsxs(ui.DialogActions, { children: [
2504
+ t34,
2509
2505
  t37
2510
2506
  ] });
2511
- $[100] = handleSubmit;
2512
- $[101] = t30;
2513
- $[102] = t37;
2514
- $[103] = t9;
2515
- $[104] = t38;
2507
+ $[99] = t34;
2508
+ $[100] = t37;
2509
+ $[101] = t38;
2516
2510
  } else {
2517
- t38 = $[104];
2511
+ t38 = $[101];
2518
2512
  }
2519
2513
  let t39;
2520
- if ($[105] !== formex$1 || $[106] !== t38) {
2521
- t39 = /* @__PURE__ */ jsxRuntime.jsx(formex.Formex, { value: formex$1, children: t38 });
2522
- $[105] = formex$1;
2523
- $[106] = t38;
2524
- $[107] = t39;
2514
+ if ($[102] !== handleSubmit || $[103] !== t11 || $[104] !== t31 || $[105] !== t38) {
2515
+ t39 = /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, autoComplete: "off", noValidate: true, style: t7, children: [
2516
+ t11,
2517
+ t31,
2518
+ t38
2519
+ ] });
2520
+ $[102] = handleSubmit;
2521
+ $[103] = t11;
2522
+ $[104] = t31;
2523
+ $[105] = t38;
2524
+ $[106] = t39;
2525
2525
  } else {
2526
- t39 = $[107];
2526
+ t39 = $[106];
2527
2527
  }
2528
2528
  let t40;
2529
- if ($[108] !== open || $[109] !== t39 || $[110] !== t6) {
2530
- t40 = /* @__PURE__ */ jsxRuntime.jsx(ui.Dialog, { open, onOpenChange: t6, maxWidth: "4xl", children: t39 });
2531
- $[108] = open;
2532
- $[109] = t39;
2533
- $[110] = t6;
2529
+ if ($[107] !== formex$1 || $[108] !== t39) {
2530
+ t40 = /* @__PURE__ */ jsxRuntime.jsx(formex.Formex, { value: formex$1, children: t39 });
2531
+ $[107] = formex$1;
2532
+ $[108] = t39;
2533
+ $[109] = t40;
2534
+ } else {
2535
+ t40 = $[109];
2536
+ }
2537
+ let t41;
2538
+ if ($[110] !== open || $[111] !== t40 || $[112] !== t6) {
2539
+ t41 = /* @__PURE__ */ jsxRuntime.jsx(ui.Dialog, { open, onOpenChange: t6, maxWidth: "4xl", children: t40 });
2540
+ $[110] = open;
2534
2541
  $[111] = t40;
2542
+ $[112] = t6;
2543
+ $[113] = t41;
2535
2544
  } else {
2536
- t40 = $[111];
2545
+ t41 = $[113];
2537
2546
  }
2538
- return t40;
2547
+ return t41;
2539
2548
  }
2540
2549
  function _temp6(userRole) {
2541
2550
  return /* @__PURE__ */ jsxRuntime.jsx(ui.MultiSelectItem, { value: userRole.id, children: /* @__PURE__ */ jsxRuntime.jsx(RoleChip, { role: userRole }, userRole?.id) }, userRole.id);
@@ -2683,7 +2692,10 @@
2683
2692
  onUserClicked(user);
2684
2693
  }, children: [
2685
2694
  /* @__PURE__ */ jsxRuntime.jsx(ui.TableCell, { className: "w-12", children: /* @__PURE__ */ jsxRuntime.jsx(ui.Avatar, { src: user.photoURL ?? void 0, outerClassName: "w-8 h-8 min-w-8 min-h-8 p-0", className: "text-sm", hover: false, children: user.displayName ? user.displayName[0].toUpperCase() : user.email ? user.email[0].toUpperCase() : "U" }) }),
2686
- /* @__PURE__ */ jsxRuntime.jsx(ui.TableCell, { children: user.email }),
2695
+ /* @__PURE__ */ jsxRuntime.jsx(ui.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
2696
+ /* @__PURE__ */ jsxRuntime.jsx("div", { children: user.email }),
2697
+ user.uid && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-surface-accent-500 dark:text-surface-accent-400 font-mono mt-1", children: user.uid })
2698
+ ] }) }),
2687
2699
  /* @__PURE__ */ jsxRuntime.jsx(ui.TableCell, { className: "font-medium align-left", children: user.displayName }),
2688
2700
  /* @__PURE__ */ jsxRuntime.jsx(ui.TableCell, { className: "align-left", children: userRoles ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: userRoles.map(_temp$1) }) : null }),
2689
2701
  /* @__PURE__ */ jsxRuntime.jsx(ui.TableCell, { children: formattedDate }),