@carlonicora/nextjs-jsonapi 3.20.0 → 3.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.
@@ -10393,7 +10393,7 @@ FileInput.displayName = "FileInput";
10393
10393
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
10394
10394
 
10395
10395
 
10396
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-2WFPGK64.js"))), {
10396
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-2M2M7MT4.js"))), {
10397
10397
  ssr: false
10398
10398
  });
10399
10399
  var BlockNoteEditorContainer = React2.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -17661,6 +17661,18 @@ function getGroupKeys(item, field) {
17661
17661
  return [String(_nullishCoalesce(value, () => ( "")))];
17662
17662
  }
17663
17663
  _chunk7QVYU63Ejs.__name.call(void 0, getGroupKeys, "getGroupKeys");
17664
+ var isClassComponent = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (component) => typeof component === "function" && !!_optionalChain([component, 'access', _537 => _537.prototype, 'optionalAccess', _538 => _538.isReactComponent]), "isClassComponent");
17665
+ function StableCell({ render, context }) {
17666
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: render(context) });
17667
+ }
17668
+ _chunk7QVYU63Ejs.__name.call(void 0, StableCell, "StableCell");
17669
+ function renderCell(cellDef, context) {
17670
+ if (typeof cellDef === "function" && !isClassComponent(cellDef)) {
17671
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StableCell, { render: cellDef, context });
17672
+ }
17673
+ return _reacttable.flexRender.call(void 0, cellDef, context);
17674
+ }
17675
+ _chunk7QVYU63Ejs.__name.call(void 0, renderCell, "renderCell");
17664
17676
  var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function ContentListTable2(props) {
17665
17677
  const { data, fields, checkedIds, toggleId, allowSearch, filters: _filters, fullWidth, onRowClick } = props;
17666
17678
  const t = _nextintl.useTranslations.call(void 0, );
@@ -17672,7 +17684,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17672
17684
  if (data.isLoaded) setPendingDirection(null);
17673
17685
  }, [data.isLoaded]);
17674
17686
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
17675
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _537 => _537.data]), () => ( EMPTY_ARRAY)),
17687
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _539 => _539.data]), () => ( EMPTY_ARRAY)),
17676
17688
  fields,
17677
17689
  checkedIds,
17678
17690
  toggleId,
@@ -17705,7 +17717,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17705
17717
  });
17706
17718
  const rowModel = tableData ? table.getRowModel() : null;
17707
17719
  const groupedRows = _react.useMemo.call(void 0, () => {
17708
- if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _538 => _538.rows, 'optionalAccess', _539 => _539.length])) return null;
17720
+ if (!props.groupBy || !_optionalChain([rowModel, 'optionalAccess', _540 => _540.rows, 'optionalAccess', _541 => _541.length])) return null;
17709
17721
  const groupMap = /* @__PURE__ */ new Map();
17710
17722
  for (const row of rowModel.rows) {
17711
17723
  const keys = getGroupKeys(row.original, props.groupBy);
@@ -17774,19 +17786,19 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17774
17786
  ) }),
17775
17787
  !props.hideHeader && table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
17776
17788
  const meta = header.column.columnDef.meta;
17777
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _540 => _540.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
17789
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _542 => _542.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
17778
17790
  }) }, headerGroup.id))
17779
17791
  ] }),
17780
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _541 => _541.rows, 'optionalAccess', _542 => _542.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React2.default.Fragment, { children: [
17781
- /* @__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', _543 => _543.groupLabel, 'optionalCall', _544 => _544(group.groupKey)]), () => ( group.groupKey)) }) }) }),
17792
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _543 => _543.rows, 'optionalAccess', _544 => _544.length]) ? groupedRows ? groupedRows.map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React2.default.Fragment, { children: [
17793
+ /* @__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', _545 => _545.groupLabel, 'optionalCall', _546 => _546(group.groupKey)]), () => ( group.groupKey)) }) }) }),
17782
17794
  group.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17783
17795
  TableRow,
17784
17796
  {
17785
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _545 => _545(row.original.jsonApiData)]),
17797
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _547 => _547(row.original.jsonApiData)]),
17786
17798
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
17787
17799
  children: row.getVisibleCells().map((cell) => {
17788
17800
  const meta = cell.column.columnDef.meta;
17789
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _546 => _546.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17801
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _548 => _548.className]), children: renderCell(cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17790
17802
  })
17791
17803
  },
17792
17804
  row.id
@@ -17794,11 +17806,11 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17794
17806
  ] }, group.groupKey)) : rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17795
17807
  TableRow,
17796
17808
  {
17797
- onClick: () => _optionalChain([onRowClick, 'optionalCall', _547 => _547(row.original.jsonApiData)]),
17809
+ onClick: () => _optionalChain([onRowClick, 'optionalCall', _549 => _549(row.original.jsonApiData)]),
17798
17810
  className: `group ${onRowClick ? "hover:bg-muted/50 cursor-pointer" : ""}`,
17799
17811
  children: row.getVisibleCells().map((cell) => {
17800
17812
  const meta = cell.column.columnDef.meta;
17801
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _548 => _548.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17813
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _550 => _550.className]), children: renderCell(cell.column.columnDef.cell, cell.getContext()) }, cell.id);
17802
17814
  })
17803
17815
  },
17804
17816
  row.id
@@ -17812,7 +17824,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17812
17824
  onClick: (e) => {
17813
17825
  e.preventDefault();
17814
17826
  setPendingDirection("prev");
17815
- _optionalChain([data, 'access', _549 => _549.previous, 'optionalCall', _550 => _550(true)]);
17827
+ _optionalChain([data, 'access', _551 => _551.previous, 'optionalCall', _552 => _552(true)]);
17816
17828
  },
17817
17829
  disabled: !data.previous || pendingDirection !== null,
17818
17830
  children: pendingDirection === "prev" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4 rtl:rotate-180" })
@@ -17827,7 +17839,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
17827
17839
  onClick: (e) => {
17828
17840
  e.preventDefault();
17829
17841
  setPendingDirection("next");
17830
- _optionalChain([data, 'access', _551 => _551.next, 'optionalCall', _552 => _552(true)]);
17842
+ _optionalChain([data, 'access', _553 => _553.next, 'optionalCall', _554 => _554(true)]);
17831
17843
  },
17832
17844
  disabled: !data.next || pendingDirection !== null,
17833
17845
  children: pendingDirection === "next" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4 rtl:rotate-180" })
@@ -17848,7 +17860,7 @@ function ContentListGrid(props) {
17848
17860
  if (!data.next || !sentinelRef.current) return;
17849
17861
  const observer = new IntersectionObserver(
17850
17862
  (entries) => {
17851
- if (_optionalChain([entries, 'access', _553 => _553[0], 'optionalAccess', _554 => _554.isIntersecting])) _optionalChain([data, 'access', _555 => _555.next, 'optionalCall', _556 => _556()]);
17863
+ if (_optionalChain([entries, 'access', _555 => _555[0], 'optionalAccess', _556 => _556.isIntersecting])) _optionalChain([data, 'access', _557 => _557.next, 'optionalCall', _558 => _558()]);
17852
17864
  },
17853
17865
  { threshold: 0.1, rootMargin: "200px" }
17854
17866
  );
@@ -18635,7 +18647,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18635
18647
  newDigits[index] = digit;
18636
18648
  setDigits(newDigits);
18637
18649
  if (digit && index < 5) {
18638
- _optionalChain([inputRefs, 'access', _557 => _557.current, 'access', _558 => _558[index + 1], 'optionalAccess', _559 => _559.focus, 'call', _560 => _560()]);
18650
+ _optionalChain([inputRefs, 'access', _559 => _559.current, 'access', _560 => _560[index + 1], 'optionalAccess', _561 => _561.focus, 'call', _562 => _562()]);
18639
18651
  }
18640
18652
  const code = newDigits.join("");
18641
18653
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -18644,7 +18656,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18644
18656
  }, "handleChange");
18645
18657
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
18646
18658
  if (e.key === "Backspace" && !digits[index] && index > 0) {
18647
- _optionalChain([inputRefs, 'access', _561 => _561.current, 'access', _562 => _562[index - 1], 'optionalAccess', _563 => _563.focus, 'call', _564 => _564()]);
18659
+ _optionalChain([inputRefs, 'access', _563 => _563.current, 'access', _564 => _564[index - 1], 'optionalAccess', _565 => _565.focus, 'call', _566 => _566()]);
18648
18660
  }
18649
18661
  }, "handleKeyDown");
18650
18662
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -18653,7 +18665,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
18653
18665
  if (pastedData.length === 6) {
18654
18666
  const newDigits = pastedData.split("");
18655
18667
  setDigits(newDigits);
18656
- _optionalChain([inputRefs, 'access', _565 => _565.current, 'access', _566 => _566[5], 'optionalAccess', _567 => _567.focus, 'call', _568 => _568()]);
18668
+ _optionalChain([inputRefs, 'access', _567 => _567.current, 'access', _568 => _568[5], 'optionalAccess', _569 => _569.focus, 'call', _570 => _570()]);
18657
18669
  onComplete(pastedData);
18658
18670
  }
18659
18671
  }, "handlePaste");
@@ -18864,8 +18876,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
18864
18876
  try {
18865
18877
  const registrationData = await _chunkMWZCCOTSjs.TwoFactorService.getPasskeyRegistrationOptions({
18866
18878
  id: _uuid.v4.call(void 0, ),
18867
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _569 => _569.email]), () => ( "")),
18868
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _570 => _570.name])
18879
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _571 => _571.email]), () => ( "")),
18880
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _572 => _572.name])
18869
18881
  });
18870
18882
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
18871
18883
  await _chunkMWZCCOTSjs.TwoFactorService.verifyPasskeyRegistration({
@@ -19016,7 +19028,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
19016
19028
  const setup = await _chunkMWZCCOTSjs.TwoFactorService.setupTotp({
19017
19029
  id: _uuid.v4.call(void 0, ),
19018
19030
  name: name.trim(),
19019
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _571 => _571.email]), () => ( ""))
19031
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _573 => _573.email]), () => ( ""))
19020
19032
  });
19021
19033
  setQrCodeUri(setup.qrCodeUri);
19022
19034
  setAuthenticatorId(setup.authenticatorId);
@@ -19150,7 +19162,7 @@ function TwoFactorSettings() {
19150
19162
  if (isLoading) {
19151
19163
  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") }) }) });
19152
19164
  }
19153
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _572 => _572.isEnabled]), () => ( false));
19165
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _574 => _574.isEnabled]), () => ( false));
19154
19166
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
19155
19167
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
19156
19168
  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" }),
@@ -19188,7 +19200,7 @@ function TwoFactorSettings() {
19188
19200
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
19189
19201
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
19190
19202
  ] }),
19191
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _573 => _573.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
19203
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _575 => _575.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
19192
19204
  ] }) }),
19193
19205
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
19194
19206
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -19366,9 +19378,9 @@ function AcceptInvitation() {
19366
19378
  });
19367
19379
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
19368
19380
  try {
19369
- if (!_optionalChain([params, 'optionalAccess', _574 => _574.code])) return;
19381
+ if (!_optionalChain([params, 'optionalAccess', _576 => _576.code])) return;
19370
19382
  const payload = {
19371
- code: _optionalChain([params, 'optionalAccess', _575 => _575.code]),
19383
+ code: _optionalChain([params, 'optionalAccess', _577 => _577.code]),
19372
19384
  password: values.password
19373
19385
  };
19374
19386
  await _chunkMWZCCOTSjs.AuthService.acceptInvitation(payload);
@@ -19739,14 +19751,14 @@ function RefreshUser() {
19739
19751
  setUser(fullUser);
19740
19752
  const token = {
19741
19753
  userId: fullUser.id,
19742
- companyId: _optionalChain([fullUser, 'access', _576 => _576.company, 'optionalAccess', _577 => _577.id]),
19754
+ companyId: _optionalChain([fullUser, 'access', _578 => _578.company, 'optionalAccess', _579 => _579.id]),
19743
19755
  roles: fullUser.roles.map((role) => role.id),
19744
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _578 => _578.company, 'optionalAccess', _579 => _579.features, 'optionalAccess', _580 => _580.map, 'call', _581 => _581((feature) => feature.id)]), () => ( [])),
19756
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _580 => _580.company, 'optionalAccess', _581 => _581.features, 'optionalAccess', _582 => _582.map, 'call', _583 => _583((feature) => feature.id)]), () => ( [])),
19745
19757
  modules: fullUser.modules.map((module) => {
19746
19758
  return { id: module.id, permissions: module.permissions };
19747
19759
  })
19748
19760
  };
19749
- await _optionalChain([_chunkMWZCCOTSjs.getTokenHandler.call(void 0, ), 'optionalAccess', _582 => _582.updateToken, 'call', _583 => _583(token)]);
19761
+ await _optionalChain([_chunkMWZCCOTSjs.getTokenHandler.call(void 0, ), 'optionalAccess', _584 => _584.updateToken, 'call', _585 => _585(token)]);
19750
19762
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
19751
19763
  }
19752
19764
  }, "loadFullUser");
@@ -19810,9 +19822,9 @@ function ResetPassword() {
19810
19822
  });
19811
19823
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
19812
19824
  try {
19813
- if (!_optionalChain([params, 'optionalAccess', _584 => _584.code])) return;
19825
+ if (!_optionalChain([params, 'optionalAccess', _586 => _586.code])) return;
19814
19826
  const payload = {
19815
- code: _optionalChain([params, 'optionalAccess', _585 => _585.code]),
19827
+ code: _optionalChain([params, 'optionalAccess', _587 => _587.code]),
19816
19828
  password: values.password
19817
19829
  };
19818
19830
  await _chunkMWZCCOTSjs.AuthService.resetPassword(payload);
@@ -20337,7 +20349,7 @@ function AiConnectionEditor({
20337
20349
  const registryRows = _react.useMemo.call(void 0, () => _nullishCoalesce(providerRegistry[connectionType], () => ( [])), [providerRegistry, connectionType]);
20338
20350
  const providers = _react.useMemo.call(void 0, () => registryRows.map((row) => row.provider), [registryRows]);
20339
20351
  const fieldsFor = _react.useCallback.call(void 0,
20340
- (provider) => _nullishCoalesce(_optionalChain([registryRows, 'access', _586 => _586.find, 'call', _587 => _587((row) => row.provider === provider), 'optionalAccess', _588 => _588.fields]), () => ( [])),
20352
+ (provider) => _nullishCoalesce(_optionalChain([registryRows, 'access', _588 => _588.find, 'call', _589 => _589((row) => row.provider === provider), 'optionalAccess', _590 => _590.fields]), () => ( [])),
20341
20353
  [registryRows]
20342
20354
  );
20343
20355
  const defaultsFor = _react.useCallback.call(void 0,
@@ -20346,7 +20358,7 @@ function AiConnectionEditor({
20346
20358
  const seeded = {};
20347
20359
  fieldsFor(provider).forEach((descriptor) => {
20348
20360
  if (descriptor.kind === "boolean") {
20349
- const current2 = _optionalChain([stored, 'optionalAccess', _589 => _589[descriptor.field]]);
20361
+ const current2 = _optionalChain([stored, 'optionalAccess', _591 => _591[descriptor.field]]);
20350
20362
  seeded[descriptor.field] = current2 !== void 0 && current2 !== null ? current2 === true : descriptor.default === true;
20351
20363
  return;
20352
20364
  }
@@ -20354,7 +20366,7 @@ function AiConnectionEditor({
20354
20366
  seeded[descriptor.field] = "";
20355
20367
  return;
20356
20368
  }
20357
- const current = _optionalChain([stored, 'optionalAccess', _590 => _590[descriptor.field]]);
20369
+ const current = _optionalChain([stored, 'optionalAccess', _592 => _592[descriptor.field]]);
20358
20370
  if (current !== void 0 && current !== null) seeded[descriptor.field] = String(current);
20359
20371
  else seeded[descriptor.field] = descriptor.default !== void 0 ? String(descriptor.default) : "";
20360
20372
  });
@@ -20380,7 +20392,7 @@ function AiConnectionEditor({
20380
20392
  values: _zod3.z.record(_zod3.z.string(), _zod3.z.any())
20381
20393
  }).superRefine((data, ctx) => {
20382
20394
  fieldsFor(data.provider).filter((descriptor) => descriptor.required).forEach((descriptor) => {
20383
- const value = _optionalChain([data, 'access', _591 => _591.values, 'optionalAccess', _592 => _592[descriptor.field]]);
20395
+ const value = _optionalChain([data, 'access', _593 => _593.values, 'optionalAccess', _594 => _594[descriptor.field]]);
20384
20396
  const filled = descriptor.kind === "secret" ? !!value || hasStoredSecret(descriptor.field) : descriptor.kind === "boolean" ? value !== void 0 : value !== void 0 && value !== null && String(value).trim() !== "";
20385
20397
  if (filled) return;
20386
20398
  ctx.addIssue({
@@ -20394,11 +20406,11 @@ function AiConnectionEditor({
20394
20406
  );
20395
20407
  const getDefaultValues = _react.useCallback.call(void 0,
20396
20408
  () => ({
20397
- id: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _593 => _593.id]), () => ( _uuid.v4.call(void 0, ))),
20398
- name: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _594 => _594.name]), () => ( "")),
20399
- provider: _nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _595 => _595.provider]), () => ( providers[0])), () => ( "")),
20400
- enabled: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _596 => _596.enabled]), () => ( true)),
20401
- values: defaultsFor(_nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _597 => _597.provider]), () => ( providers[0])), () => ( "")))
20409
+ id: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _595 => _595.id]), () => ( _uuid.v4.call(void 0, ))),
20410
+ name: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _596 => _596.name]), () => ( "")),
20411
+ provider: _nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _597 => _597.provider]), () => ( providers[0])), () => ( "")),
20412
+ enabled: _nullishCoalesce(_optionalChain([connection, 'optionalAccess', _598 => _598.enabled]), () => ( true)),
20413
+ values: defaultsFor(_nullishCoalesce(_nullishCoalesce(_optionalChain([connection, 'optionalAccess', _599 => _599.provider]), () => ( providers[0])), () => ( "")))
20402
20414
  }),
20403
20415
  [connection, providers, defaultsFor]
20404
20416
  );
@@ -20409,7 +20421,7 @@ function AiConnectionEditor({
20409
20421
  _react.useEffect.call(void 0, () => {
20410
20422
  if (registryRows.length === 0) return;
20411
20423
  const currentProvider = form.getValues("provider");
20412
- const provider = currentProvider || _optionalChain([connection, 'optionalAccess', _598 => _598.provider]) || providers[0] || "";
20424
+ const provider = currentProvider || _optionalChain([connection, 'optionalAccess', _600 => _600.provider]) || providers[0] || "";
20413
20425
  if (!provider) return;
20414
20426
  if (provider !== currentProvider) form.setValue("provider", provider);
20415
20427
  const currentValues = form.getValues("values");
@@ -20480,7 +20492,7 @@ function AiConnectionEditor({
20480
20492
  {
20481
20493
  form,
20482
20494
  entityType: t("ai_connections.admin.entity"),
20483
- entityName: _optionalChain([connection, 'optionalAccess', _599 => _599.name]),
20495
+ entityName: _optionalChain([connection, 'optionalAccess', _601 => _601.name]),
20484
20496
  isEdit,
20485
20497
  module: _chunkMWZCCOTSjs.Modules.AiConnection,
20486
20498
  size: "md",
@@ -20488,7 +20500,7 @@ function AiConnectionEditor({
20488
20500
  onSubmit: async (values) => {
20489
20501
  const attributes = {};
20490
20502
  fieldsFor(values.provider).forEach((descriptor) => {
20491
- const coerced = coerce(descriptor, _optionalChain([values, 'access', _600 => _600.values, 'optionalAccess', _601 => _601[descriptor.field]]));
20503
+ const coerced = coerce(descriptor, _optionalChain([values, 'access', _602 => _602.values, 'optionalAccess', _603 => _603[descriptor.field]]));
20492
20504
  if (coerced !== void 0) attributes[descriptor.field] = coerced;
20493
20505
  });
20494
20506
  const payload = {
@@ -20709,7 +20721,7 @@ function AiConnectionTypeCard({ connectionType }) {
20709
20721
  ),
20710
20722
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-muted/40 flex flex-wrap items-center gap-2 px-3 py-2", children: [
20711
20723
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "softGray", children: t("ai_connections.admin.env_fallback") }),
20712
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground truncate text-xs", children: [_optionalChain([envDefault, 'optionalAccess', _602 => _602.provider]), _optionalChain([envDefault, 'optionalAccess', _603 => _603.model]), _optionalChain([envDefault, 'optionalAccess', _604 => _604.url])].filter(Boolean).join(" \xB7 ") })
20724
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-muted-foreground truncate text-xs", children: [_optionalChain([envDefault, 'optionalAccess', _604 => _604.provider]), _optionalChain([envDefault, 'optionalAccess', _605 => _605.model]), _optionalChain([envDefault, 'optionalAccess', _606 => _606.url])].filter(Boolean).join(" \xB7 ") })
20713
20725
  ] })
20714
20726
  ] })
20715
20727
  ] })
@@ -20907,7 +20919,7 @@ function extractHeadings(blocks) {
20907
20919
  function processBlocks(blockArray) {
20908
20920
  for (const block of blockArray) {
20909
20921
  if (block.type === "heading") {
20910
- const level = _optionalChain([block, 'access', _605 => _605.props, 'optionalAccess', _606 => _606.level]) || 1;
20922
+ const level = _optionalChain([block, 'access', _607 => _607.props, 'optionalAccess', _608 => _608.level]) || 1;
20911
20923
  const text = extractTextFromContent(block.content);
20912
20924
  if (text.trim()) {
20913
20925
  headings.push({
@@ -21249,7 +21261,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
21249
21261
  })
21250
21262
  };
21251
21263
  const columns = _react.useMemo.call(void 0, () => {
21252
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _607 => _607[field], 'optionalCall', _608 => _608()])).filter((col) => col !== void 0);
21264
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _609 => _609[field], 'optionalCall', _610 => _610()])).filter((col) => col !== void 0);
21253
21265
  }, [params.fields, fieldColumnMap, t, generateUrl]);
21254
21266
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
21255
21267
  }, "useHowToTableStructure");
@@ -21375,7 +21387,7 @@ function HowToSelector({
21375
21387
  }, "setHowTo");
21376
21388
  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: [
21377
21389
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
21378
- /* @__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', _609 => _609.value, 'optionalAccess', _610 => _610.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 }) }))) }) }) }),
21390
+ /* @__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', _611 => _611.value, 'optionalAccess', _612 => _612.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 }) }))) }) }) }),
21379
21391
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21380
21392
  _lucidereact.CircleX,
21381
21393
  {
@@ -21668,10 +21680,10 @@ function CitationsTab({ citations, sources }) {
21668
21680
  ] }) }),
21669
21681
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
21670
21682
  const isOpen = expanded.has(chunk.id);
21671
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _611 => _611.get, 'call', _612 => _612(chunk.nodeId)]) : void 0;
21683
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _613 => _613.get, 'call', _614 => _614(chunk.nodeId)]) : void 0;
21672
21684
  const typeLabel = chunk.nodeType ? entityLabel(chunk.nodeType) : t("features.assistant.message.sources.source");
21673
21685
  const fallbackName = chunk.nodeId ? `${typeLabel} ${chunk.nodeId.slice(0, 8)}` : typeLabel;
21674
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _613 => _613.name]), () => ( fallbackName));
21686
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _615 => _615.name]), () => ( fallbackName));
21675
21687
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21676
21688
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
21677
21689
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -21719,7 +21731,7 @@ function ContentsTab({ citations, sources }) {
21719
21731
  for (const c of citations) {
21720
21732
  const id = c.nodeId;
21721
21733
  if (!id) continue;
21722
- const source = _optionalChain([sources, 'optionalAccess', _614 => _614.get, 'call', _615 => _615(id)]);
21734
+ const source = _optionalChain([sources, 'optionalAccess', _616 => _616.get, 'call', _617 => _617(id)]);
21723
21735
  if (!source) continue;
21724
21736
  const existing = map.get(id);
21725
21737
  if (existing) {
@@ -21786,7 +21798,7 @@ function UsersTab({ users, citations, sources }) {
21786
21798
  const generate = usePageUrlGenerator();
21787
21799
  const userMap = /* @__PURE__ */ new Map();
21788
21800
  for (const u of users) {
21789
- if (!_optionalChain([u, 'optionalAccess', _616 => _616.id])) continue;
21801
+ if (!_optionalChain([u, 'optionalAccess', _618 => _618.id])) continue;
21790
21802
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
21791
21803
  }
21792
21804
  if (citations && sources) {
@@ -21891,7 +21903,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
21891
21903
  }
21892
21904
  return ids.size;
21893
21905
  }, [message.citations, sources]);
21894
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _617 => _617.length]), () => ( 0));
21906
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _619 => _619.length]), () => ( 0));
21895
21907
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
21896
21908
  const visibleTabs = [];
21897
21909
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -22034,7 +22046,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
22034
22046
  return void 0;
22035
22047
  }
22036
22048
  })()));
22037
- if (_optionalChain([author, 'optionalAccess', _618 => _618.id])) userMap.set(author.id, author);
22049
+ if (_optionalChain([author, 'optionalAccess', _620 => _620.id])) userMap.set(author.id, author);
22038
22050
  }
22039
22051
  return Array.from(userMap.values());
22040
22052
  }, [resolved]);
@@ -22069,7 +22081,7 @@ function MessageItem({
22069
22081
  }) {
22070
22082
  const t = _nextintl.useTranslations.call(void 0, );
22071
22083
  const isUser = message.role === "user";
22072
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _619 => _619.has, 'call', _620 => _620(message.id)]);
22084
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _621 => _621.has, 'call', _622 => _622(message.id)]);
22073
22085
  const markdownComponents = _react.useMemo.call(void 0,
22074
22086
  () => ({
22075
22087
  a: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ href, children }) => {
@@ -22086,7 +22098,7 @@ function MessageItem({
22086
22098
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
22087
22099
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
22088
22100
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
22089
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _621 => _621(message.id)]), children: t("features.assistant.retry") })
22101
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: () => _optionalChain([onRetry, 'optionalCall', _623 => _623(message.id)]), children: t("features.assistant.retry") })
22090
22102
  ] })
22091
22103
  ] });
22092
22104
  }
@@ -22177,7 +22189,7 @@ function AssistantThread({
22177
22189
  }) {
22178
22190
  const lastMessageRef = _react.useRef.call(void 0, null);
22179
22191
  _react.useEffect.call(void 0, () => {
22180
- _optionalChain([lastMessageRef, 'access', _622 => _622.current, 'optionalAccess', _623 => _623.scrollIntoView, 'call', _624 => _624({ block: "start", behavior: "smooth" })]);
22192
+ _optionalChain([lastMessageRef, 'access', _624 => _624.current, 'optionalAccess', _625 => _625.scrollIntoView, 'call', _626 => _626({ block: "start", behavior: "smooth" })]);
22181
22193
  }, [messages.length, sending]);
22182
22194
  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: [
22183
22195
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22216,7 +22228,7 @@ ${message.sources.map((source) => `- \`${source}\``).join("\n")}`;
22216
22228
  return _chunkMWZCCOTSjs.rehydrate.call(void 0, _chunkMWZCCOTSjs.Modules.HandbookThreadMessage, {
22217
22229
  jsonApi: {
22218
22230
  ...dehydrated.jsonApi,
22219
- attributes: { ..._nullishCoalesce(_optionalChain([dehydrated, 'access', _625 => _625.jsonApi, 'optionalAccess', _626 => _626.attributes]), () => ( {})), content }
22231
+ attributes: { ..._nullishCoalesce(_optionalChain([dehydrated, 'access', _627 => _627.jsonApi, 'optionalAccess', _628 => _628.attributes]), () => ( {})), content }
22220
22232
  },
22221
22233
  included: dehydrated.included
22222
22234
  });
@@ -22225,8 +22237,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, withSourcesInContent, "withSourcesInContent
22225
22237
  function useHandbookAsk(params) {
22226
22238
  const t = _nextintl.useTranslations.call(void 0, );
22227
22239
  const generateUrl = usePageUrlGenerator();
22228
- const shouldSyncUrl = _nullishCoalesce(_optionalChain([params, 'optionalAccess', _627 => _627.syncUrl]), () => ( true));
22229
- const handbookThreadId = _optionalChain([params, 'optionalAccess', _628 => _628.handbookThreadId]);
22240
+ const shouldSyncUrl = _nullishCoalesce(_optionalChain([params, 'optionalAccess', _629 => _629.syncUrl]), () => ( true));
22241
+ const handbookThreadId = _optionalChain([params, 'optionalAccess', _630 => _630.handbookThreadId]);
22230
22242
  const [threads, setThreads] = _react.useState.call(void 0, []);
22231
22243
  const [thread, setThread] = _react.useState.call(void 0, void 0);
22232
22244
  const [messages, setMessages] = _react.useState.call(void 0, []);
@@ -22288,12 +22300,12 @@ function useHandbookAsk(params) {
22288
22300
  ]);
22289
22301
  setSending(true);
22290
22302
  try {
22291
- let id = _optionalChain([thread, 'optionalAccess', _629 => _629.id]);
22303
+ let id = _optionalChain([thread, 'optionalAccess', _631 => _631.id]);
22292
22304
  if (id === void 0) {
22293
22305
  const created = await _chunkMWZCCOTSjs.HandbookThreadService.create({
22294
22306
  id: _uuid.v4.call(void 0, ),
22295
22307
  question: trimmed,
22296
- handbookPageId: _optionalChain([options, 'optionalAccess', _630 => _630.handbookPageId])
22308
+ handbookPageId: _optionalChain([options, 'optionalAccess', _632 => _632.handbookPageId])
22297
22309
  });
22298
22310
  id = created.id;
22299
22311
  setThreads((current) => [created, ...current]);
@@ -22302,7 +22314,7 @@ function useHandbookAsk(params) {
22302
22314
  id: _uuid.v4.call(void 0, ),
22303
22315
  threadId: id,
22304
22316
  question: trimmed,
22305
- handbookPageId: _optionalChain([options, 'optionalAccess', _631 => _631.handbookPageId])
22317
+ handbookPageId: _optionalChain([options, 'optionalAccess', _633 => _633.handbookPageId])
22306
22318
  });
22307
22319
  }
22308
22320
  const loaded = await _chunkMWZCCOTSjs.HandbookThreadService.findOne({ id });
@@ -22323,7 +22335,7 @@ function useHandbookAsk(params) {
22323
22335
  setSending(false);
22324
22336
  }
22325
22337
  },
22326
- [messages.length, sending, syncUrl, t, _optionalChain([thread, 'optionalAccess', _632 => _632.id])]
22338
+ [messages.length, sending, syncUrl, t, _optionalChain([thread, 'optionalAccess', _634 => _634.id])]
22327
22339
  );
22328
22340
  return { threads, thread, messages, sending, ask, selectThread, startNew };
22329
22341
  }
@@ -22879,7 +22891,7 @@ function HandbookPageContainer({ handbookPageId }) {
22879
22891
  };
22880
22892
  }, []);
22881
22893
  const section = _react.useMemo.call(void 0,
22882
- () => sections.find((candidate) => candidate.key === _optionalChain([handbookPage, 'optionalAccess', _633 => _633.section])),
22894
+ () => sections.find((candidate) => candidate.key === _optionalChain([handbookPage, 'optionalAccess', _635 => _635.section])),
22883
22895
  [sections, handbookPage]
22884
22896
  );
22885
22897
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22993,7 +23005,7 @@ function HandbookAskContainer({ handbookThreadId } = {}) {
22993
23005
  AssistantSidebar,
22994
23006
  {
22995
23007
  threads,
22996
- activeId: _optionalChain([thread, 'optionalAccess', _634 => _634.id]),
23008
+ activeId: _optionalChain([thread, 'optionalAccess', _636 => _636.id]),
22997
23009
  onSelect: selectThread,
22998
23010
  onNew: startNew,
22999
23011
  newLabel: t("handbook.chat.new"),
@@ -23001,7 +23013,7 @@ function HandbookAskContainer({ handbookThreadId } = {}) {
23001
23013
  }
23002
23014
  ) })
23003
23015
  ),
23004
- [selectThread, startNew, t, _optionalChain([thread, 'optionalAccess', _635 => _635.id]), threads]
23016
+ [selectThread, startNew, t, _optionalChain([thread, 'optionalAccess', _637 => _637.id]), threads]
23005
23017
  );
23006
23018
  return (
23007
23019
  // `RoundPageContainer` reads the page heading from the shared context, and
@@ -23013,7 +23025,7 @@ function HandbookAskContainer({ handbookThreadId } = {}) {
23013
23025
  RoundPageContainer,
23014
23026
  {
23015
23027
  module: _chunkMWZCCOTSjs.Modules.HandbookPage,
23016
- id: _optionalChain([thread, 'optionalAccess', _636 => _636.id]),
23028
+ id: _optionalChain([thread, 'optionalAccess', _638 => _638.id]),
23017
23029
  fullWidth: true,
23018
23030
  forceHeader: true,
23019
23031
  defaultDetailsOpen: true,
@@ -23165,7 +23177,7 @@ function AssistantContainer({ renderApprovalAction } = {}) {
23165
23177
  AssistantSidebar,
23166
23178
  {
23167
23179
  threads: ctx.threads,
23168
- activeId: _optionalChain([ctx, 'access', _637 => _637.assistant, 'optionalAccess', _638 => _638.id]),
23180
+ activeId: _optionalChain([ctx, 'access', _639 => _639.assistant, 'optionalAccess', _640 => _640.id]),
23169
23181
  onSelect: ctx.selectThread,
23170
23182
  onNew: ctx.startNew
23171
23183
  }
@@ -23219,7 +23231,7 @@ function flattenBlocks(blocks) {
23219
23231
  if (typeof inline === "string") return inline;
23220
23232
  if (!inline || typeof inline !== "object") return "";
23221
23233
  const node = inline;
23222
- if (node.type === "mention") return _nullishCoalesce(_optionalChain([node, 'access', _639 => _639.props, 'optionalAccess', _640 => _640.alias]), () => ( ""));
23234
+ if (node.type === "mention") return _nullishCoalesce(_optionalChain([node, 'access', _641 => _641.props, 'optionalAccess', _642 => _642.alias]), () => ( ""));
23223
23235
  if (typeof node.text === "string") return node.text;
23224
23236
  if (Array.isArray(node.content)) return node.content.map(readInline).join("");
23225
23237
  return "";
@@ -23335,7 +23347,7 @@ function AssistantPageContainer({
23335
23347
  AssistantSidebar,
23336
23348
  {
23337
23349
  threads: ctx.threads,
23338
- activeId: _optionalChain([ctx, 'access', _641 => _641.assistant, 'optionalAccess', _642 => _642.id]),
23350
+ activeId: _optionalChain([ctx, 'access', _643 => _643.assistant, 'optionalAccess', _644 => _644.id]),
23339
23351
  onSelect: ctx.selectThread,
23340
23352
  onNew: ctx.startNew
23341
23353
  }
@@ -23574,12 +23586,12 @@ function ApprovalActionCard({ actionId, summary, onResolved, hiddenRelationshipK
23574
23586
  const presented = _react.useMemo.call(void 0, () => parseOperatorProposal(actionProposal), [actionProposal]);
23575
23587
  const legacy = _react.useMemo.call(void 0, () => presented ? void 0 : parseLegacyProposal(toolArgs), [presented, toolArgs]);
23576
23588
  const isUpdate = toolName === "update_entity";
23577
- const entityLabel = humaniseType(_nullishCoalesce(_nullishCoalesce(_optionalChain([presented, 'optionalAccess', _643 => _643.type]), () => ( _optionalChain([legacy, 'optionalAccess', _644 => _644.type]))), () => ( "")));
23578
- const targetLabel = _nullishCoalesce(_optionalChain([presented, 'optionalAccess', _645 => _645.target, 'optionalAccess', _646 => _646.label]), () => ( ""));
23589
+ const entityLabel = humaniseType(_nullishCoalesce(_nullishCoalesce(_optionalChain([presented, 'optionalAccess', _645 => _645.type]), () => ( _optionalChain([legacy, 'optionalAccess', _646 => _646.type]))), () => ( "")));
23590
+ const targetLabel = _nullishCoalesce(_optionalChain([presented, 'optionalAccess', _647 => _647.target, 'optionalAccess', _648 => _648.label]), () => ( ""));
23579
23591
  const rows = _react.useMemo.call(void 0, () => {
23580
23592
  const yes = t("features.assistant.approval.proposal.yes");
23581
23593
  const no = t("features.assistant.approval.proposal.no");
23582
- const attributes = _nullishCoalesce(_optionalChain([presented, 'optionalAccess', _647 => _647.attributes]), () => ( _optionalChain([legacy, 'optionalAccess', _648 => _648.attributes])));
23594
+ const attributes = _nullishCoalesce(_optionalChain([presented, 'optionalAccess', _649 => _649.attributes]), () => ( _optionalChain([legacy, 'optionalAccess', _650 => _650.attributes])));
23583
23595
  const attributeRows = Object.entries(_nullishCoalesce(attributes, () => ( {}))).flatMap(([key, value]) => {
23584
23596
  const text = formatAttribute(value, yes, no);
23585
23597
  return text === void 0 ? [] : [{ key: `attribute:${key}`, label: humaniseKey(key), value: text }];
@@ -23617,7 +23629,7 @@ function ApprovalActionCard({ actionId, summary, onResolved, hiddenRelationshipK
23617
23629
  try {
23618
23630
  const message = kind === "approve" ? await _chunkMWZCCOTSjs.AssistantActionService.approve({ id: actionId }) : await _chunkMWZCCOTSjs.AssistantActionService.deny({ id: actionId });
23619
23631
  setStatus(kind === "approve" ? "executed" : "denied");
23620
- if (message) _optionalChain([onResolved, 'optionalCall', _649 => _649(message)]);
23632
+ if (message) _optionalChain([onResolved, 'optionalCall', _651 => _651(message)]);
23621
23633
  } catch (error) {
23622
23634
  console.error(`ApprovalActionCard: failed to ${kind} assistant action ${actionId}`, error);
23623
23635
  setFailed(true);
@@ -23743,10 +23755,10 @@ var useNotificationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call
23743
23755
  const t = _nextintl.useTranslations.call(void 0, );
23744
23756
  const generateUrl = usePageUrlGenerator();
23745
23757
  const { loadNotifications } = useNotificationContext();
23746
- const archived = _optionalChain([params, 'access', _650 => _650.context, 'optionalAccess', _651 => _651.archived]) === true;
23758
+ const archived = _optionalChain([params, 'access', _652 => _652.context, 'optionalAccess', _653 => _653.archived]) === true;
23747
23759
  const archiveNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (notification) => {
23748
23760
  await _chunkMWZCCOTSjs.NotificationService.archive({ id: notification.id });
23749
- _optionalChain([params, 'access', _652 => _652.dataRetriever, 'optionalAccess', _653 => _653.removeElement, 'call', _654 => _654(notification)]);
23761
+ _optionalChain([params, 'access', _654 => _654.dataRetriever, 'optionalAccess', _655 => _655.removeElement, 'call', _656 => _656(notification)]);
23750
23762
  await loadNotifications();
23751
23763
  }, "archiveNotification");
23752
23764
  const tableData = _react.useMemo.call(void 0, () => {
@@ -23785,7 +23797,7 @@ var useNotificationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call
23785
23797
  const data = generateNotificationData({ notification, generateUrl });
23786
23798
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-foreground text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
23787
23799
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { className: "font-medium", children: chunks }), "strong"),
23788
- actor: _nullishCoalesce(_optionalChain([data, 'access', _655 => _655.actor, 'optionalAccess', _656 => _656.name]), () => ( "")),
23800
+ actor: _nullishCoalesce(_optionalChain([data, 'access', _657 => _657.actor, 'optionalAccess', _658 => _658.name]), () => ( "")),
23789
23801
  title: data.title,
23790
23802
  message: _nullishCoalesce(notification.message, () => ( ""))
23791
23803
  }) });
@@ -23840,7 +23852,7 @@ var useNotificationTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call
23840
23852
  })
23841
23853
  };
23842
23854
  const columns = _react.useMemo.call(void 0, () => {
23843
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _657 => _657[field], 'optionalCall', _658 => _658()])).filter((col) => col !== void 0);
23855
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _659 => _659[field], 'optionalCall', _660 => _660()])).filter((col) => col !== void 0);
23844
23856
  }, [params.fields, fieldColumnMap, t, generateUrl]);
23845
23857
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
23846
23858
  }, "useNotificationTableStructure");
@@ -24259,7 +24271,7 @@ var DEFAULT_TRANSLATIONS = {
24259
24271
  invalidEmail: "Please enter a valid email address"
24260
24272
  };
24261
24273
  async function copyToClipboard(text) {
24262
- if (_optionalChain([navigator, 'access', _659 => _659.clipboard, 'optionalAccess', _660 => _660.writeText])) {
24274
+ if (_optionalChain([navigator, 'access', _661 => _661.clipboard, 'optionalAccess', _662 => _662.writeText])) {
24263
24275
  try {
24264
24276
  await navigator.clipboard.writeText(text);
24265
24277
  return true;
@@ -24301,7 +24313,7 @@ function ReferralWidget({
24301
24313
  const linkInputRef = _react.useRef.call(void 0, null);
24302
24314
  const config = _chunkSYQMVTICjs.getReferralConfig.call(void 0, );
24303
24315
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
24304
- const referralUrl = _optionalChain([stats, 'optionalAccess', _661 => _661.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
24316
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _663 => _663.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
24305
24317
  if (!_chunkSYQMVTICjs.isReferralEnabled.call(void 0, )) {
24306
24318
  return null;
24307
24319
  }
@@ -24311,7 +24323,7 @@ function ReferralWidget({
24311
24323
  if (success) {
24312
24324
  setCopied(true);
24313
24325
  _chunkMWZCCOTSjs.showToast.call(void 0, t.copiedMessage);
24314
- _optionalChain([onLinkCopied, 'optionalCall', _662 => _662()]);
24326
+ _optionalChain([onLinkCopied, 'optionalCall', _664 => _664()]);
24315
24327
  setTimeout(() => setCopied(false), 2e3);
24316
24328
  } else {
24317
24329
  _chunkMWZCCOTSjs.showError.call(void 0, t.copyError);
@@ -24325,12 +24337,12 @@ function ReferralWidget({
24325
24337
  try {
24326
24338
  await sendInvite(email);
24327
24339
  _chunkMWZCCOTSjs.showToast.call(void 0, t.inviteSent);
24328
- _optionalChain([onInviteSent, 'optionalCall', _663 => _663(email)]);
24340
+ _optionalChain([onInviteSent, 'optionalCall', _665 => _665(email)]);
24329
24341
  setEmail("");
24330
24342
  } catch (err) {
24331
24343
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
24332
24344
  _chunkMWZCCOTSjs.showError.call(void 0, error2.message);
24333
- _optionalChain([onInviteError, 'optionalCall', _664 => _664(error2)]);
24345
+ _optionalChain([onInviteError, 'optionalCall', _666 => _666(error2)]);
24334
24346
  }
24335
24347
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
24336
24348
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -25084,7 +25096,7 @@ function OAuthClientList({
25084
25096
  OAuthClientCard,
25085
25097
  {
25086
25098
  client,
25087
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _665 => _665(client)]),
25099
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _667 => _667(client)]),
25088
25100
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
25089
25101
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
25090
25102
  },
@@ -25100,11 +25112,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
25100
25112
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
25101
25113
  const isEditMode = !!client;
25102
25114
  const [formState, setFormState] = _react.useState.call(void 0, {
25103
- name: _optionalChain([client, 'optionalAccess', _666 => _666.name]) || "",
25104
- description: _optionalChain([client, 'optionalAccess', _667 => _667.description]) || "",
25105
- redirectUris: _optionalChain([client, 'optionalAccess', _668 => _668.redirectUris, 'optionalAccess', _669 => _669.length]) ? client.redirectUris : [""],
25106
- allowedScopes: _optionalChain([client, 'optionalAccess', _670 => _670.allowedScopes]) || [],
25107
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _671 => _671.isConfidential]), () => ( true))
25115
+ name: _optionalChain([client, 'optionalAccess', _668 => _668.name]) || "",
25116
+ description: _optionalChain([client, 'optionalAccess', _669 => _669.description]) || "",
25117
+ redirectUris: _optionalChain([client, 'optionalAccess', _670 => _670.redirectUris, 'optionalAccess', _671 => _671.length]) ? client.redirectUris : [""],
25118
+ allowedScopes: _optionalChain([client, 'optionalAccess', _672 => _672.allowedScopes]) || [],
25119
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _673 => _673.isConfidential]), () => ( true))
25108
25120
  });
25109
25121
  const [errors, setErrors] = _react.useState.call(void 0, {});
25110
25122
  const validate = _react.useCallback.call(void 0, () => {
@@ -25332,7 +25344,7 @@ function OAuthClientDetail({
25332
25344
  ] }),
25333
25345
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
25334
25346
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
25335
- /* @__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([_chunkMWZCCOTSjs.OAUTH_SCOPE_DISPLAY, 'access', _672 => _672[scope], 'optionalAccess', _673 => _673.name]) || scope }, scope)) })
25347
+ /* @__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([_chunkMWZCCOTSjs.OAUTH_SCOPE_DISPLAY, 'access', _674 => _674[scope], 'optionalAccess', _675 => _675.name]) || scope }, scope)) })
25336
25348
  ] }),
25337
25349
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
25338
25350
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -25476,7 +25488,7 @@ function OAuthConsentScreen({
25476
25488
  if (error || !clientInfo) {
25477
25489
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-dvh 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: [
25478
25490
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
25479
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _674 => _674.message]) || "Invalid authorization request. Please try again." })
25491
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _676 => _676.message]) || "Invalid authorization request. Please try again." })
25480
25492
  ] }) }) }) });
25481
25493
  }
25482
25494
  const { client, scopes } = clientInfo;
@@ -25692,7 +25704,7 @@ function WaitlistForm({ onSuccess }) {
25692
25704
  questionnaire: values.questionnaire
25693
25705
  });
25694
25706
  setIsSuccess(true);
25695
- _optionalChain([onSuccess, 'optionalCall', _675 => _675()]);
25707
+ _optionalChain([onSuccess, 'optionalCall', _677 => _677()]);
25696
25708
  } catch (e) {
25697
25709
  errorToast({ error: e });
25698
25710
  } finally {
@@ -26340,7 +26352,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
26340
26352
  ] }),
26341
26353
  roleIds.map((roleId) => {
26342
26354
  const roleTokens = block[roleId];
26343
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _676 => _676[roleId]]), () => ( roleId));
26355
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _678 => _678[roleId]]), () => ( roleId));
26344
26356
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
26345
26357
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
26346
26358
  _chunkSYQMVTICjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -26377,7 +26389,7 @@ function RbacContainer() {
26377
26389
  }, []);
26378
26390
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
26379
26391
  if (!matrix) return [];
26380
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _677 => _677[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _678 => _678[b]]), () => ( b))));
26392
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _679 => _679[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _680 => _680[b]]), () => ( b))));
26381
26393
  }, [matrix, moduleNames]);
26382
26394
  const roleIds = _react.useMemo.call(void 0, () => {
26383
26395
  if (roleNames) {
@@ -26440,7 +26452,7 @@ function RbacContainer() {
26440
26452
  id === selectedModuleId && "bg-muted font-medium text-foreground",
26441
26453
  id !== selectedModuleId && "text-muted-foreground"
26442
26454
  ),
26443
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _679 => _679[id]]), () => ( id))
26455
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _681 => _681[id]]), () => ( id))
26444
26456
  }
26445
26457
  ) }, id)) }) }),
26446
26458
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -26448,7 +26460,7 @@ function RbacContainer() {
26448
26460
  {
26449
26461
  moduleId: selectedModuleId,
26450
26462
  block: selectedBlock,
26451
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _680 => _680[selectedModuleId]]), () => ( selectedModuleId)),
26463
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _682 => _682[selectedModuleId]]), () => ( selectedModuleId)),
26452
26464
  roleIds,
26453
26465
  roleNames,
26454
26466
  onOpenPicker: openPicker
@@ -26459,12 +26471,12 @@ function RbacContainer() {
26459
26471
  RbacPermissionPicker,
26460
26472
  {
26461
26473
  open: !!activePicker,
26462
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _681 => _681.anchor]), () => ( null)),
26474
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _683 => _683.anchor]), () => ( null)),
26463
26475
  value: activeValue,
26464
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _682 => _682.isRoleColumn]), () => ( false)),
26476
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _684 => _684.isRoleColumn]), () => ( false)),
26465
26477
  knownSegments: activeSegments,
26466
26478
  onSetValue: handleSetValue,
26467
- onClear: _optionalChain([activePicker, 'optionalAccess', _683 => _683.isRoleColumn]) ? handleClear : void 0,
26479
+ onClear: _optionalChain([activePicker, 'optionalAccess', _685 => _685.isRoleColumn]) ? handleClear : void 0,
26468
26480
  onClose: closePicker
26469
26481
  }
26470
26482
  )
@@ -26531,7 +26543,7 @@ function RbacByRoleContainer() {
26531
26543
  }, [roleNames]);
26532
26544
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
26533
26545
  if (!matrix) return [];
26534
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _684 => _684[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _685 => _685[b]]), () => ( b))));
26546
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _686 => _686[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _687 => _687[b]]), () => ( b))));
26535
26547
  }, [matrix, moduleNames]);
26536
26548
  _react.useEffect.call(void 0, () => {
26537
26549
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -26580,7 +26592,7 @@ function RbacByRoleContainer() {
26580
26592
  id === selectedRoleId && "bg-muted font-medium text-foreground",
26581
26593
  id !== selectedRoleId && "text-muted-foreground"
26582
26594
  ),
26583
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _686 => _686[id]]), () => ( id))
26595
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _688 => _688[id]]), () => ( id))
26584
26596
  }
26585
26597
  ) }, id)) }) }),
26586
26598
  /* @__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: [
@@ -26600,7 +26612,7 @@ function RbacByRoleContainer() {
26600
26612
  if (!block) return null;
26601
26613
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
26602
26614
  const roleTokens = block[selectedRoleId];
26603
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _687 => _687[moduleId]]), () => ( moduleId));
26615
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _689 => _689[moduleId]]), () => ( moduleId));
26604
26616
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
26605
26617
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26606
26618
  "td",
@@ -26615,7 +26627,7 @@ function RbacByRoleContainer() {
26615
26627
  _chunkSYQMVTICjs.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))
26616
26628
  ] }),
26617
26629
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
26618
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _688 => _688[selectedRoleId]]), () => ( selectedRoleId)) }),
26630
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _690 => _690[selectedRoleId]]), () => ( selectedRoleId)) }),
26619
26631
  _chunkSYQMVTICjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26620
26632
  CellButton3,
26621
26633
  {
@@ -26636,12 +26648,12 @@ function RbacByRoleContainer() {
26636
26648
  RbacPermissionPicker,
26637
26649
  {
26638
26650
  open: !!activePicker,
26639
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _689 => _689.anchor]), () => ( null)),
26651
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _691 => _691.anchor]), () => ( null)),
26640
26652
  value: activeValue,
26641
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _690 => _690.isRoleColumn]), () => ( false)),
26653
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _692 => _692.isRoleColumn]), () => ( false)),
26642
26654
  knownSegments: activeSegments,
26643
26655
  onSetValue: handleSetValue,
26644
- onClear: _optionalChain([activePicker, 'optionalAccess', _691 => _691.isRoleColumn]) ? handleClear : void 0,
26656
+ onClear: _optionalChain([activePicker, 'optionalAccess', _693 => _693.isRoleColumn]) ? handleClear : void 0,
26645
26657
  onClose: closePicker
26646
26658
  }
26647
26659
  )
@@ -27247,4 +27259,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
27247
27259
 
27248
27260
 
27249
27261
  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.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.AdministrationProvider = AdministrationProvider; exports.useAdministrationContext = useAdministrationContext; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.useCurrentUserContextOptional = useCurrentUserContextOptional; 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.DirectionProvider = DirectionProvider; exports.useDir = useDir; 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.useHeaderMobileChildren = useHeaderMobileChildren; exports.useHeaderRootLabel = useHeaderRootLabel; exports.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.HeaderLogoProvider = HeaderLogoProvider; exports.useHeaderLogo = useHeaderLogo; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.BreadcrumbRootProvider = BreadcrumbRootProvider; exports.useIsBreadcrumbRootHidden = useIsBreadcrumbRootHidden; exports.Header = Header; exports.MobileNavigationProvider = MobileNavigationProvider; exports.useMobileNavigationItems = useMobileNavigationItems; exports.MobileNavigationBar = MobileNavigationBar; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.partitionTabs = partitionTabs; exports.MermaidDiagram = MermaidDiagram; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.HEADER_ROW_MIN_H = HEADER_ROW_MIN_H; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.SectionHeader = SectionHeader; exports.MicroLabel = MicroLabel; exports.DetailField = DetailField; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.PlatformUsersList = PlatformUsersList; exports.PlatformUsersContainer = PlatformUsersContainer; 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.FormFeatures = FormFeatures; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.ActionBarProvider = ActionBarProvider; exports.useIsInActionBar = useIsInActionBar; 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.nextDateRange = nextDateRange; 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.MultiFileUploader = MultiFileUploader; 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.AdminIndexGrid = AdminIndexGrid; exports.AdminIndexContainer = AdminIndexContainer; exports.ADMINISTRATION_I18N_KEYS = ADMINISTRATION_I18N_KEYS; exports.AI_CONNECTIONS_I18N_KEYS = AI_CONNECTIONS_I18N_KEYS; exports.AI_CONNECTIONS_ADMIN_PAGE_URL = AI_CONNECTIONS_ADMIN_PAGE_URL; exports.AiConnectionsProvider = AiConnectionsProvider; exports.useAiConnections = useAiConnections; exports.AiConnectionDeleter = AiConnectionDeleter; exports.AiConnectionEditor = AiConnectionEditor; exports.AiConnectionTypeCard = AiConnectionTypeCard; exports.AI_CONNECTION_TYPE_ORDER = AI_CONNECTION_TYPE_ORDER; exports.AiConnectionsContainer = AiConnectionsContainer; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.CompaniesListContainer = CompaniesListContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; 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.HowToReindexButton = HowToReindexButton; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToSelector = HowToSelector; exports.AssistantComposer = AssistantComposer; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantThread = AssistantThread; exports.HandbookAskSheet = HandbookAskSheet; exports.HandbookSyncButton = HandbookSyncButton; exports.HandbookIndexStatus = HandbookIndexStatus; exports.HandbookSectionGroup = HandbookSectionGroup; exports.HandbookContents = HandbookContents; exports.HandbookAdminContainer = HandbookAdminContainer; exports.HandbookPageDetails = HandbookPageDetails; exports.HandbookPageNeighbours = HandbookPageNeighbours; exports.HandbookPageToc = HandbookPageToc; exports.HandbookPageNavigator = HandbookPageNavigator; exports.HandbookPageContainer = HandbookPageContainer; exports.HandbookAskContainer = HandbookAskContainer; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.AssistantEmptyState = AssistantEmptyState; exports.AssistantContainer = AssistantContainer; exports.AssistantBlockNoteComposer = AssistantBlockNoteComposer; exports.AssistantPageContainer = AssistantPageContainer; exports.ApprovalActionCard = ApprovalActionCard; exports.AssistantContainerWithApprovals = AssistantContainerWithApprovals; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.NotificationIcon = NotificationIcon; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationViewSwitcher = NotificationViewSwitcher; 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.mapOnboardingSide = mapOnboardingSide; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.ViewportProvider = ViewportProvider; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.formatInterval = formatInterval; exports.formatCurrency = formatCurrency; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
27250
- //# sourceMappingURL=chunk-IQMJAYCJ.js.map
27262
+ //# sourceMappingURL=chunk-XMYHR2EF.js.map