@carlonicora/nextjs-jsonapi 1.132.0 → 1.133.0

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.
@@ -10080,7 +10080,7 @@ FileInput.displayName = "FileInput";
10080
10080
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
10081
10081
 
10082
10082
 
10083
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-JAELO23S.js"))), {
10083
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-H626BS5Y.js"))), {
10084
10084
  ssr: false
10085
10085
  });
10086
10086
  var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -16492,12 +16492,23 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16492
16492
  list.push(row);
16493
16493
  }
16494
16494
  }
16495
- const sortedKeys = [...groupMap.keys()].sort((a, b) => a.localeCompare(b));
16495
+ const order = props.groupOrder;
16496
+ const sortedKeys = [...groupMap.keys()].sort((a, b) => {
16497
+ if (order) {
16498
+ const ia = order.indexOf(a);
16499
+ const ib = order.indexOf(b);
16500
+ if (ia === -1 && ib === -1) return a.localeCompare(b);
16501
+ if (ia === -1) return 1;
16502
+ if (ib === -1) return -1;
16503
+ return ia - ib;
16504
+ }
16505
+ return a.localeCompare(b);
16506
+ });
16496
16507
  return sortedKeys.map((groupKey) => ({
16497
16508
  groupKey,
16498
16509
  rows: groupMap.get(groupKey)
16499
16510
  }));
16500
- }, [props.groupBy, rowModel]);
16511
+ }, [props.groupBy, props.groupOrder, rowModel]);
16501
16512
  const showFooter = !!(data.next || data.previous);
16502
16513
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5IE6DZ2Djs.cn.call(void 0, `overflow-clip`, fullWidth ? `` : `rounded-md border`), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Table, { children: [
16503
16514
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableHeader, { className: "bg-muted font-semibold", children: [
@@ -16534,28 +16545,21 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16534
16545
  ] })
16535
16546
  }
16536
16547
  ) }),
16537
- table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
16548
+ !props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
16538
16549
  const meta = header.column.columnDef.meta;
16539
16550
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _478 => _478.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
16540
16551
  }) }, headerGroup.id))
16541
16552
  ] }),
16542
16553
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _479 => _479.rows, 'optionalAccess', _480 => _480.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React.default.Fragment, { children: [
16543
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16544
- TableCell,
16545
- {
16546
- colSpan: tableColumns.length,
16547
- className: "bg-muted text-muted-foreground px-4 py-2 text-sm font-semibold",
16548
- children: group.groupKey
16549
- }
16550
- ) }),
16554
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-muted px-4 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MicroLabel, { children: _nullishCoalesce(_optionalChain([props, 'access', _481 => _481.groupLabel, 'optionalCall', _482 => _482(group.groupKey)]), () => ( group.groupKey)) }) }) }),
16551
16555
  group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16552
16556
  TableRow,
16553
16557
  {
16554
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _481 => _481(row.original.jsonApiData)]),
16558
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _483 => _483(row.original.jsonApiData)]),
16555
16559
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
16556
16560
  children: row.getVisibleCells().map((cell) => {
16557
16561
  const meta = cell.column.columnDef.meta;
16558
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _482 => _482.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16562
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _484 => _484.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16559
16563
  })
16560
16564
  },
16561
16565
  row.id
@@ -16563,11 +16567,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16563
16567
  ] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
16564
16568
  TableRow,
16565
16569
  {
16566
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _483 => _483(row.original.jsonApiData)]),
16570
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _485 => _485(row.original.jsonApiData)]),
16567
16571
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
16568
16572
  children: row.getVisibleCells().map((cell) => {
16569
16573
  const meta = cell.column.columnDef.meta;
16570
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _484 => _484.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16574
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _486 => _486.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
16571
16575
  })
16572
16576
  },
16573
16577
  row.id
@@ -16580,7 +16584,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16580
16584
  size: "sm",
16581
16585
  onClick: (e) => {
16582
16586
  e.preventDefault();
16583
- _optionalChain([data, 'access', _485 => _485.previous, 'optionalCall', _486 => _486(true)]);
16587
+ _optionalChain([data, 'access', _487 => _487.previous, 'optionalCall', _488 => _488(true)]);
16584
16588
  },
16585
16589
  disabled: !data.previous,
16586
16590
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -16594,7 +16598,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
16594
16598
  size: "sm",
16595
16599
  onClick: (e) => {
16596
16600
  e.preventDefault();
16597
- _optionalChain([data, 'access', _487 => _487.next, 'optionalCall', _488 => _488(true)]);
16601
+ _optionalChain([data, 'access', _489 => _489.next, 'optionalCall', _490 => _490(true)]);
16598
16602
  },
16599
16603
  disabled: !data.next,
16600
16604
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -16615,7 +16619,7 @@ function ContentListGrid(props) {
16615
16619
  if (!data.next || !sentinelRef.current) return;
16616
16620
  const observer = new IntersectionObserver(
16617
16621
  (entries) => {
16618
- if (_optionalChain([entries, 'access', _489 => _489[0], 'optionalAccess', _490 => _490.isIntersecting])) _optionalChain([data, 'access', _491 => _491.next, 'optionalCall', _492 => _492()]);
16622
+ if (_optionalChain([entries, 'access', _491 => _491[0], 'optionalAccess', _492 => _492.isIntersecting])) _optionalChain([data, 'access', _493 => _493.next, 'optionalCall', _494 => _494()]);
16619
16623
  },
16620
16624
  { threshold: 0.1, rootMargin: "200px" }
16621
16625
  );
@@ -17402,7 +17406,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17402
17406
  newDigits[index] = digit;
17403
17407
  setDigits(newDigits);
17404
17408
  if (digit && index < 5) {
17405
- _optionalChain([inputRefs, 'access', _493 => _493.current, 'access', _494 => _494[index + 1], 'optionalAccess', _495 => _495.focus, 'call', _496 => _496()]);
17409
+ _optionalChain([inputRefs, 'access', _495 => _495.current, 'access', _496 => _496[index + 1], 'optionalAccess', _497 => _497.focus, 'call', _498 => _498()]);
17406
17410
  }
17407
17411
  const code = newDigits.join("");
17408
17412
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -17411,7 +17415,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17411
17415
  }, "handleChange");
17412
17416
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
17413
17417
  if (e.key === "Backspace" && !digits[index] && index > 0) {
17414
- _optionalChain([inputRefs, 'access', _497 => _497.current, 'access', _498 => _498[index - 1], 'optionalAccess', _499 => _499.focus, 'call', _500 => _500()]);
17418
+ _optionalChain([inputRefs, 'access', _499 => _499.current, 'access', _500 => _500[index - 1], 'optionalAccess', _501 => _501.focus, 'call', _502 => _502()]);
17415
17419
  }
17416
17420
  }, "handleKeyDown");
17417
17421
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -17420,7 +17424,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
17420
17424
  if (pastedData.length === 6) {
17421
17425
  const newDigits = pastedData.split("");
17422
17426
  setDigits(newDigits);
17423
- _optionalChain([inputRefs, 'access', _501 => _501.current, 'access', _502 => _502[5], 'optionalAccess', _503 => _503.focus, 'call', _504 => _504()]);
17427
+ _optionalChain([inputRefs, 'access', _503 => _503.current, 'access', _504 => _504[5], 'optionalAccess', _505 => _505.focus, 'call', _506 => _506()]);
17424
17428
  onComplete(pastedData);
17425
17429
  }
17426
17430
  }, "handlePaste");
@@ -17631,8 +17635,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
17631
17635
  try {
17632
17636
  const registrationData = await _chunk5IE6DZ2Djs.TwoFactorService.getPasskeyRegistrationOptions({
17633
17637
  id: _uuid.v4.call(void 0, ),
17634
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _505 => _505.email]), () => ( "")),
17635
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _506 => _506.name])
17638
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _507 => _507.email]), () => ( "")),
17639
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _508 => _508.name])
17636
17640
  });
17637
17641
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
17638
17642
  await _chunk5IE6DZ2Djs.TwoFactorService.verifyPasskeyRegistration({
@@ -17783,7 +17787,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
17783
17787
  const setup = await _chunk5IE6DZ2Djs.TwoFactorService.setupTotp({
17784
17788
  id: _uuid.v4.call(void 0, ),
17785
17789
  name: name.trim(),
17786
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _507 => _507.email]), () => ( ""))
17790
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _509 => _509.email]), () => ( ""))
17787
17791
  });
17788
17792
  setQrCodeUri(setup.qrCodeUri);
17789
17793
  setAuthenticatorId(setup.authenticatorId);
@@ -17917,7 +17921,7 @@ function TwoFactorSettings() {
17917
17921
  if (isLoading) {
17918
17922
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground", children: t("common.loading") }) }) });
17919
17923
  }
17920
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _508 => _508.isEnabled]), () => ( false));
17924
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _510 => _510.isEnabled]), () => ( false));
17921
17925
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
17922
17926
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
17923
17927
  isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "text-success h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "text-warning h-6 w-6" }),
@@ -17955,7 +17959,7 @@ function TwoFactorSettings() {
17955
17959
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
17956
17960
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
17957
17961
  ] }),
17958
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _509 => _509.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
17962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _511 => _511.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
17959
17963
  ] }) }),
17960
17964
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
17961
17965
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -18133,9 +18137,9 @@ function AcceptInvitation() {
18133
18137
  });
18134
18138
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
18135
18139
  try {
18136
- if (!_optionalChain([params, 'optionalAccess', _510 => _510.code])) return;
18140
+ if (!_optionalChain([params, 'optionalAccess', _512 => _512.code])) return;
18137
18141
  const payload = {
18138
- code: _optionalChain([params, 'optionalAccess', _511 => _511.code]),
18142
+ code: _optionalChain([params, 'optionalAccess', _513 => _513.code]),
18139
18143
  password: values.password
18140
18144
  };
18141
18145
  await _chunk5IE6DZ2Djs.AuthService.acceptInvitation(payload);
@@ -18485,7 +18489,7 @@ function Logout({ storageKeys }) {
18485
18489
  const generateUrl = usePageUrlGenerator();
18486
18490
  _react.useEffect.call(void 0, () => {
18487
18491
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
18488
- if (_optionalChain([storageKeys, 'optionalAccess', _512 => _512.length])) {
18492
+ if (_optionalChain([storageKeys, 'optionalAccess', _514 => _514.length])) {
18489
18493
  clearClientStorage(storageKeys);
18490
18494
  }
18491
18495
  await _chunk5IE6DZ2Djs.AuthService.logout();
@@ -18508,14 +18512,14 @@ function RefreshUser() {
18508
18512
  setUser(fullUser);
18509
18513
  const token = {
18510
18514
  userId: fullUser.id,
18511
- companyId: _optionalChain([fullUser, 'access', _513 => _513.company, 'optionalAccess', _514 => _514.id]),
18515
+ companyId: _optionalChain([fullUser, 'access', _515 => _515.company, 'optionalAccess', _516 => _516.id]),
18512
18516
  roles: fullUser.roles.map((role) => role.id),
18513
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _515 => _515.company, 'optionalAccess', _516 => _516.features, 'optionalAccess', _517 => _517.map, 'call', _518 => _518((feature) => feature.id)]), () => ( [])),
18517
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _517 => _517.company, 'optionalAccess', _518 => _518.features, 'optionalAccess', _519 => _519.map, 'call', _520 => _520((feature) => feature.id)]), () => ( [])),
18514
18518
  modules: fullUser.modules.map((module) => {
18515
18519
  return { id: module.id, permissions: module.permissions };
18516
18520
  })
18517
18521
  };
18518
- await _optionalChain([_chunk5IE6DZ2Djs.getTokenHandler.call(void 0, ), 'optionalAccess', _519 => _519.updateToken, 'call', _520 => _520(token)]);
18522
+ await _optionalChain([_chunk5IE6DZ2Djs.getTokenHandler.call(void 0, ), 'optionalAccess', _521 => _521.updateToken, 'call', _522 => _522(token)]);
18519
18523
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
18520
18524
  }
18521
18525
  }, "loadFullUser");
@@ -18579,9 +18583,9 @@ function ResetPassword() {
18579
18583
  });
18580
18584
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
18581
18585
  try {
18582
- if (!_optionalChain([params, 'optionalAccess', _521 => _521.code])) return;
18586
+ if (!_optionalChain([params, 'optionalAccess', _523 => _523.code])) return;
18583
18587
  const payload = {
18584
- code: _optionalChain([params, 'optionalAccess', _522 => _522.code]),
18588
+ code: _optionalChain([params, 'optionalAccess', _524 => _524.code]),
18585
18589
  password: values.password
18586
18590
  };
18587
18591
  await _chunk5IE6DZ2Djs.AuthService.resetPassword(payload);
@@ -18930,7 +18934,7 @@ function extractHeadings(blocks) {
18930
18934
  function processBlocks(blockArray) {
18931
18935
  for (const block of blockArray) {
18932
18936
  if (block.type === "heading") {
18933
- const level = _optionalChain([block, 'access', _523 => _523.props, 'optionalAccess', _524 => _524.level]) || 1;
18937
+ const level = _optionalChain([block, 'access', _525 => _525.props, 'optionalAccess', _526 => _526.level]) || 1;
18934
18938
  const text = extractTextFromContent(block.content);
18935
18939
  if (text.trim()) {
18936
18940
  headings.push({
@@ -19273,7 +19277,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
19273
19277
  })
19274
19278
  };
19275
19279
  const columns = _react.useMemo.call(void 0, () => {
19276
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _525 => _525[field], 'optionalCall', _526 => _526()])).filter((col) => col !== void 0);
19280
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _527 => _527[field], 'optionalCall', _528 => _528()])).filter((col) => col !== void 0);
19277
19281
  }, [params.fields, fieldColumnMap, t, generateUrl]);
19278
19282
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
19279
19283
  }, "useHowToTableStructure");
@@ -19372,7 +19376,7 @@ function HowToSelector({
19372
19376
  }, "setHowTo");
19373
19377
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FormFieldWrapper, { form, name: id, label, isRequired, children: (field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, modal: true, children: [
19374
19378
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
19375
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _527 => _527.value, 'optionalAccess', _528 => _528.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
19379
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start rounded-md", children: field.value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([field, 'access', _529 => _529.value, 'optionalAccess', _530 => _530.name]), () => ( "")) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-input/20 dark:bg-input/30 border-input text-muted-foreground flex h-7 w-full flex-row items-center justify-start rounded-md border px-2 py-0.5 text-sm md:text-xs/relaxed", children: _nullishCoalesce(placeholder, () => ( t(`generic.search.placeholder`, { type: t(`entities.howtos`, { count: 1 }) }))) }) }) }),
19376
19380
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
19377
19381
  _lucidereact.CircleX,
19378
19382
  {
@@ -19741,9 +19745,9 @@ function CitationsTab({ citations, sources }) {
19741
19745
  ] }) }),
19742
19746
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
19743
19747
  const isOpen = expanded.has(chunk.id);
19744
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _529 => _529.get, 'call', _530 => _530(chunk.nodeId)]) : void 0;
19748
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _531 => _531.get, 'call', _532 => _532(chunk.nodeId)]) : void 0;
19745
19749
  const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
19746
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _531 => _531.name]), () => ( fallbackName));
19750
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _533 => _533.name]), () => ( fallbackName));
19747
19751
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
19748
19752
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
19749
19753
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -19790,7 +19794,7 @@ function ContentsTab({ citations, sources }) {
19790
19794
  for (const c of citations) {
19791
19795
  const id = c.nodeId;
19792
19796
  if (!id) continue;
19793
- const source = _optionalChain([sources, 'optionalAccess', _532 => _532.get, 'call', _533 => _533(id)]);
19797
+ const source = _optionalChain([sources, 'optionalAccess', _534 => _534.get, 'call', _535 => _535(id)]);
19794
19798
  if (!source) continue;
19795
19799
  const existing = map.get(id);
19796
19800
  if (existing) {
@@ -19857,7 +19861,7 @@ function UsersTab({ users, citations, sources }) {
19857
19861
  const generate = usePageUrlGenerator();
19858
19862
  const userMap = /* @__PURE__ */ new Map();
19859
19863
  for (const u of users) {
19860
- if (!_optionalChain([u, 'optionalAccess', _534 => _534.id])) continue;
19864
+ if (!_optionalChain([u, 'optionalAccess', _536 => _536.id])) continue;
19861
19865
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
19862
19866
  }
19863
19867
  if (citations && sources) {
@@ -19962,7 +19966,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
19962
19966
  }
19963
19967
  return ids.size;
19964
19968
  }, [message.citations, sources]);
19965
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _535 => _535.length]), () => ( 0));
19969
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _537 => _537.length]), () => ( 0));
19966
19970
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
19967
19971
  const visibleTabs = [];
19968
19972
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -20022,8 +20026,8 @@ var SourcesFetcher = class extends _chunk5IE6DZ2Djs.ClientAbstractService {
20022
20026
  const endpoint = new (0, _chunk5IE6DZ2Djs.EndpointCreator)({ endpoint: params.module });
20023
20027
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
20024
20028
  endpoint.addAdditionalParam("fetchAll", "true");
20025
- if (_optionalChain([params, 'access', _536 => _536.module, 'access', _537 => _537.inclusions, 'optionalAccess', _538 => _538.lists, 'optionalAccess', _539 => _539.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
20026
- if (_optionalChain([params, 'access', _540 => _540.module, 'access', _541 => _541.inclusions, 'optionalAccess', _542 => _542.lists, 'optionalAccess', _543 => _543.types])) endpoint.limitToType(params.module.inclusions.lists.types);
20029
+ if (_optionalChain([params, 'access', _538 => _538.module, 'access', _539 => _539.inclusions, 'optionalAccess', _540 => _540.lists, 'optionalAccess', _541 => _541.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
20030
+ if (_optionalChain([params, 'access', _542 => _542.module, 'access', _543 => _543.inclusions, 'optionalAccess', _544 => _544.lists, 'optionalAccess', _545 => _545.types])) endpoint.limitToType(params.module.inclusions.lists.types);
20027
20031
  return this.callApi({
20028
20032
  type: params.module,
20029
20033
  method: "GET" /* GET */,
@@ -20102,7 +20106,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
20102
20106
  return void 0;
20103
20107
  }
20104
20108
  })()));
20105
- if (_optionalChain([author, 'optionalAccess', _544 => _544.id])) userMap.set(author.id, author);
20109
+ if (_optionalChain([author, 'optionalAccess', _546 => _546.id])) userMap.set(author.id, author);
20106
20110
  }
20107
20111
  return Array.from(userMap.values());
20108
20112
  }, [resolved]);
@@ -20131,14 +20135,14 @@ function MessageItem({
20131
20135
  }) {
20132
20136
  const t = _nextintl.useTranslations.call(void 0, );
20133
20137
  const isUser = message.role === "user";
20134
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _545 => _545.has, 'call', _546 => _546(message.id)]);
20138
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _547 => _547.has, 'call', _548 => _548(message.id)]);
20135
20139
  if (isUser) {
20136
20140
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
20137
20141
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
20138
20142
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
20139
20143
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
20140
20144
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
20141
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _547 => _547(message.id)]), children: t("features.assistant.retry") })
20145
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _549 => _549(message.id)]), children: t("features.assistant.retry") })
20142
20146
  ] })
20143
20147
  ] });
20144
20148
  }
@@ -20214,7 +20218,7 @@ function AssistantThread({
20214
20218
  }) {
20215
20219
  const endRef = _react.useRef.call(void 0, null);
20216
20220
  _react.useEffect.call(void 0, () => {
20217
- _optionalChain([endRef, 'access', _548 => _548.current, 'optionalAccess', _549 => _549.scrollIntoView, 'call', _550 => _550({ behavior: "smooth" })]);
20221
+ _optionalChain([endRef, 'access', _550 => _550.current, 'optionalAccess', _551 => _551.scrollIntoView, 'call', _552 => _552({ behavior: "smooth" })]);
20218
20222
  }, [messages.length, sending]);
20219
20223
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-x-hidden overflow-y-auto px-6 py-5", children: [
20220
20224
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -20243,7 +20247,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
20243
20247
  AssistantSidebar,
20244
20248
  {
20245
20249
  threads: ctx.threads,
20246
- activeId: _optionalChain([ctx, 'access', _551 => _551.assistant, 'optionalAccess', _552 => _552.id]),
20250
+ activeId: _optionalChain([ctx, 'access', _553 => _553.assistant, 'optionalAccess', _554 => _554.id]),
20247
20251
  onSelect: ctx.selectThread,
20248
20252
  onNew: ctx.startNew
20249
20253
  }
@@ -20337,14 +20341,14 @@ function NotificationsList({ archived }) {
20337
20341
  ] }),
20338
20342
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
20339
20343
  ] }) }) }, i)) }), "LoadingSkeleton");
20340
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _553 => _553.data, 'optionalAccess', _554 => _554.map, 'call', _555 => _555((notification) => {
20344
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _555 => _555.data, 'optionalAccess', _556 => _556.map, 'call', _557 => _557((notification) => {
20341
20345
  const notificationData = generateNotificationData({ notification, generateUrl });
20342
20346
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
20343
20347
  notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunk5IE6DZ2Djs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
20344
20348
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
20345
20349
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
20346
20350
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
20347
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _556 => _556.actor, 'optionalAccess', _557 => _557.name]), () => ( "")),
20351
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _558 => _558.actor, 'optionalAccess', _559 => _559.name]), () => ( "")),
20348
20352
  title: notificationData.title
20349
20353
  }) }),
20350
20354
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -20690,7 +20694,7 @@ var DEFAULT_TRANSLATIONS = {
20690
20694
  invalidEmail: "Please enter a valid email address"
20691
20695
  };
20692
20696
  async function copyToClipboard(text) {
20693
- if (_optionalChain([navigator, 'access', _558 => _558.clipboard, 'optionalAccess', _559 => _559.writeText])) {
20697
+ if (_optionalChain([navigator, 'access', _560 => _560.clipboard, 'optionalAccess', _561 => _561.writeText])) {
20694
20698
  try {
20695
20699
  await navigator.clipboard.writeText(text);
20696
20700
  return true;
@@ -20732,7 +20736,7 @@ function ReferralWidget({
20732
20736
  const linkInputRef = _react.useRef.call(void 0, null);
20733
20737
  const config = _chunkF6KBHC2Xjs.getReferralConfig.call(void 0, );
20734
20738
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
20735
- const referralUrl = _optionalChain([stats, 'optionalAccess', _560 => _560.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
20739
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _562 => _562.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
20736
20740
  if (!_chunkF6KBHC2Xjs.isReferralEnabled.call(void 0, )) {
20737
20741
  return null;
20738
20742
  }
@@ -20742,7 +20746,7 @@ function ReferralWidget({
20742
20746
  if (success) {
20743
20747
  setCopied(true);
20744
20748
  _chunk5IE6DZ2Djs.showToast.call(void 0, t.copiedMessage);
20745
- _optionalChain([onLinkCopied, 'optionalCall', _561 => _561()]);
20749
+ _optionalChain([onLinkCopied, 'optionalCall', _563 => _563()]);
20746
20750
  setTimeout(() => setCopied(false), 2e3);
20747
20751
  } else {
20748
20752
  _chunk5IE6DZ2Djs.showError.call(void 0, t.copyError);
@@ -20756,12 +20760,12 @@ function ReferralWidget({
20756
20760
  try {
20757
20761
  await sendInvite(email);
20758
20762
  _chunk5IE6DZ2Djs.showToast.call(void 0, t.inviteSent);
20759
- _optionalChain([onInviteSent, 'optionalCall', _562 => _562(email)]);
20763
+ _optionalChain([onInviteSent, 'optionalCall', _564 => _564(email)]);
20760
20764
  setEmail("");
20761
20765
  } catch (err) {
20762
20766
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
20763
20767
  _chunk5IE6DZ2Djs.showError.call(void 0, error2.message);
20764
- _optionalChain([onInviteError, 'optionalCall', _563 => _563(error2)]);
20768
+ _optionalChain([onInviteError, 'optionalCall', _565 => _565(error2)]);
20765
20769
  }
20766
20770
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
20767
20771
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -21515,7 +21519,7 @@ function OAuthClientList({
21515
21519
  OAuthClientCard,
21516
21520
  {
21517
21521
  client,
21518
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _564 => _564(client)]),
21522
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _566 => _566(client)]),
21519
21523
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
21520
21524
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
21521
21525
  },
@@ -21531,11 +21535,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
21531
21535
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
21532
21536
  const isEditMode = !!client;
21533
21537
  const [formState, setFormState] = _react.useState.call(void 0, {
21534
- name: _optionalChain([client, 'optionalAccess', _565 => _565.name]) || "",
21535
- description: _optionalChain([client, 'optionalAccess', _566 => _566.description]) || "",
21536
- redirectUris: _optionalChain([client, 'optionalAccess', _567 => _567.redirectUris, 'optionalAccess', _568 => _568.length]) ? client.redirectUris : [""],
21537
- allowedScopes: _optionalChain([client, 'optionalAccess', _569 => _569.allowedScopes]) || [],
21538
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _570 => _570.isConfidential]), () => ( true))
21538
+ name: _optionalChain([client, 'optionalAccess', _567 => _567.name]) || "",
21539
+ description: _optionalChain([client, 'optionalAccess', _568 => _568.description]) || "",
21540
+ redirectUris: _optionalChain([client, 'optionalAccess', _569 => _569.redirectUris, 'optionalAccess', _570 => _570.length]) ? client.redirectUris : [""],
21541
+ allowedScopes: _optionalChain([client, 'optionalAccess', _571 => _571.allowedScopes]) || [],
21542
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _572 => _572.isConfidential]), () => ( true))
21539
21543
  });
21540
21544
  const [errors, setErrors] = _react.useState.call(void 0, {});
21541
21545
  const validate = _react.useCallback.call(void 0, () => {
@@ -21763,7 +21767,7 @@ function OAuthClientDetail({
21763
21767
  ] }),
21764
21768
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
21765
21769
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
21766
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunk5IE6DZ2Djs.OAUTH_SCOPE_DISPLAY, 'access', _571 => _571[scope], 'optionalAccess', _572 => _572.name]) || scope }, scope)) })
21770
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunk5IE6DZ2Djs.OAUTH_SCOPE_DISPLAY, 'access', _573 => _573[scope], 'optionalAccess', _574 => _574.name]) || scope }, scope)) })
21767
21771
  ] }),
21768
21772
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
21769
21773
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -21907,7 +21911,7 @@ function OAuthConsentScreen({
21907
21911
  if (error || !clientInfo) {
21908
21912
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
21909
21913
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
21910
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _573 => _573.message]) || "Invalid authorization request. Please try again." })
21914
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _575 => _575.message]) || "Invalid authorization request. Please try again." })
21911
21915
  ] }) }) }) });
21912
21916
  }
21913
21917
  const { client, scopes } = clientInfo;
@@ -22123,7 +22127,7 @@ function WaitlistForm({ onSuccess }) {
22123
22127
  questionnaire: values.questionnaire
22124
22128
  });
22125
22129
  setIsSuccess(true);
22126
- _optionalChain([onSuccess, 'optionalCall', _574 => _574()]);
22130
+ _optionalChain([onSuccess, 'optionalCall', _576 => _576()]);
22127
22131
  } catch (e) {
22128
22132
  errorToast({ error: e });
22129
22133
  } finally {
@@ -22771,7 +22775,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
22771
22775
  ] }),
22772
22776
  roleIds.map((roleId) => {
22773
22777
  const roleTokens = block[roleId];
22774
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _575 => _575[roleId]]), () => ( roleId));
22778
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _577 => _577[roleId]]), () => ( roleId));
22775
22779
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
22776
22780
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
22777
22781
  _chunkF6KBHC2Xjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22808,7 +22812,7 @@ function RbacContainer() {
22808
22812
  }, []);
22809
22813
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
22810
22814
  if (!matrix) return [];
22811
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _576 => _576[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _577 => _577[b]]), () => ( b))));
22815
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _578 => _578[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[b]]), () => ( b))));
22812
22816
  }, [matrix, moduleNames]);
22813
22817
  const roleIds = _react.useMemo.call(void 0, () => {
22814
22818
  if (roleNames) {
@@ -22871,7 +22875,7 @@ function RbacContainer() {
22871
22875
  id === selectedModuleId && "bg-muted font-medium text-foreground",
22872
22876
  id !== selectedModuleId && "text-muted-foreground"
22873
22877
  ),
22874
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _578 => _578[id]]), () => ( id))
22878
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _580 => _580[id]]), () => ( id))
22875
22879
  }
22876
22880
  ) }, id)) }) }),
22877
22881
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22879,7 +22883,7 @@ function RbacContainer() {
22879
22883
  {
22880
22884
  moduleId: selectedModuleId,
22881
22885
  block: selectedBlock,
22882
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _579 => _579[selectedModuleId]]), () => ( selectedModuleId)),
22886
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _581 => _581[selectedModuleId]]), () => ( selectedModuleId)),
22883
22887
  roleIds,
22884
22888
  roleNames,
22885
22889
  onOpenPicker: openPicker
@@ -22890,12 +22894,12 @@ function RbacContainer() {
22890
22894
  RbacPermissionPicker,
22891
22895
  {
22892
22896
  open: !!activePicker,
22893
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _580 => _580.anchor]), () => ( null)),
22897
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _582 => _582.anchor]), () => ( null)),
22894
22898
  value: activeValue,
22895
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _581 => _581.isRoleColumn]), () => ( false)),
22899
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _583 => _583.isRoleColumn]), () => ( false)),
22896
22900
  knownSegments: activeSegments,
22897
22901
  onSetValue: handleSetValue,
22898
- onClear: _optionalChain([activePicker, 'optionalAccess', _582 => _582.isRoleColumn]) ? handleClear : void 0,
22902
+ onClear: _optionalChain([activePicker, 'optionalAccess', _584 => _584.isRoleColumn]) ? handleClear : void 0,
22899
22903
  onClose: closePicker
22900
22904
  }
22901
22905
  )
@@ -22962,7 +22966,7 @@ function RbacByRoleContainer() {
22962
22966
  }, [roleNames]);
22963
22967
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
22964
22968
  if (!matrix) return [];
22965
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _583 => _583[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _584 => _584[b]]), () => ( b))));
22969
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _585 => _585[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _586 => _586[b]]), () => ( b))));
22966
22970
  }, [matrix, moduleNames]);
22967
22971
  _react.useEffect.call(void 0, () => {
22968
22972
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -23011,7 +23015,7 @@ function RbacByRoleContainer() {
23011
23015
  id === selectedRoleId && "bg-muted font-medium text-foreground",
23012
23016
  id !== selectedRoleId && "text-muted-foreground"
23013
23017
  ),
23014
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _585 => _585[id]]), () => ( id))
23018
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _587 => _587[id]]), () => ( id))
23015
23019
  }
23016
23020
  ) }, id)) }) }),
23017
23021
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: sortedModuleIds.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-accent bg-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "table", { className: "w-full text-sm", children: [
@@ -23031,7 +23035,7 @@ function RbacByRoleContainer() {
23031
23035
  if (!block) return null;
23032
23036
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
23033
23037
  const roleTokens = block[selectedRoleId];
23034
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _586 => _586[moduleId]]), () => ( moduleId));
23038
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _588 => _588[moduleId]]), () => ( moduleId));
23035
23039
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
23036
23040
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23037
23041
  "td",
@@ -23046,7 +23050,7 @@ function RbacByRoleContainer() {
23046
23050
  _chunkF6KBHC2Xjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RbacPermissionCell, { value: cellValue2(defaultTokens, action) }) }, action))
23047
23051
  ] }),
23048
23052
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
23049
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _587 => _587[selectedRoleId]]), () => ( selectedRoleId)) }),
23053
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _589 => _589[selectedRoleId]]), () => ( selectedRoleId)) }),
23050
23054
  _chunkF6KBHC2Xjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23051
23055
  CellButton3,
23052
23056
  {
@@ -23067,12 +23071,12 @@ function RbacByRoleContainer() {
23067
23071
  RbacPermissionPicker,
23068
23072
  {
23069
23073
  open: !!activePicker,
23070
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _588 => _588.anchor]), () => ( null)),
23074
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _590 => _590.anchor]), () => ( null)),
23071
23075
  value: activeValue,
23072
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _589 => _589.isRoleColumn]), () => ( false)),
23076
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _591 => _591.isRoleColumn]), () => ( false)),
23073
23077
  knownSegments: activeSegments,
23074
23078
  onSetValue: handleSetValue,
23075
- onClear: _optionalChain([activePicker, 'optionalAccess', _590 => _590.isRoleColumn]) ? handleClear : void 0,
23079
+ onClear: _optionalChain([activePicker, 'optionalAccess', _592 => _592.isRoleColumn]) ? handleClear : void 0,
23076
23080
  onClose: closePicker
23077
23081
  }
23078
23082
  )
@@ -23621,4 +23625,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
23621
23625
 
23622
23626
 
23623
23627
  exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce2; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.computeLayeredLayout = computeLayeredLayout; exports.fitLayeredLayoutToAspectRatio = fitLayeredLayoutToAspectRatio; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ConfirmDialog = ConfirmDialog; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.EmptyState = EmptyState; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.spinnerVariants = spinnerVariants; exports.Spinner = Spinner; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.useDebounce2 = useDebounce; exports.MultipleSelector = MultipleSelector; exports.EntityAvatar = EntityAvatar; exports.errorToast = errorToast; exports.EditableAvatar = EditableAvatar; exports.TableCellAvatar = TableCellAvatar; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.BlockNoteEditorMentionHoverCard = BlockNoteEditorMentionHoverCard; exports.mentionDataAttrs = mentionDataAttrs; exports.parseMentionElement = parseMentionElement; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.useMentionInsert = useMentionInsert; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.BlockNoteViewerContainer = BlockNoteViewerContainer; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.CommonAddTrigger = CommonAddTrigger; exports.CurrencyInput = CurrencyInput; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.EntitySelector = EntitySelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormBlockNote = FormBlockNote; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.FormBody = FormBody; exports.FormSection = FormSection; exports.FormRow = FormRow; exports.FormCol = FormCol; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.GdprConsentCheckbox = GdprConsentCheckbox; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellDateTime = cellDateTime; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.ContentListGrid = ContentListGrid; exports.ItalianFiscalData_default = ItalianFiscalData_default; exports.ItalianFiscalDataDisplay = ItalianFiscalDataDisplay; exports.parseFiscalData = parseFiscalData; exports.FiscalDataDisplay = FiscalDataDisplay; exports.EntityHeroLayout = EntityHeroLayout; exports.EntityHero = EntityHero; exports.EntityHeroAvatar = EntityHeroAvatar; exports.EntityHeroMetaRow = EntityHeroMetaRow; exports.EntitySection = EntitySection; exports.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantComposer = AssistantComposer; exports.AssistantEmptyState = AssistantEmptyState; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
23624
- //# sourceMappingURL=chunk-MP5VURBB.js.map
23628
+ //# sourceMappingURL=chunk-TVJFCWST.js.map