@carlonicora/nextjs-jsonapi 1.87.4 → 1.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9207,7 +9207,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, FormCheckbox, "FormCheckbox");
9207
9207
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
9208
9208
 
9209
9209
 
9210
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-QYJNJ4ZU.js"))), {
9210
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-6MCXSIXP.js"))), {
9211
9211
  ssr: false
9212
9212
  });
9213
9213
  var BlockNoteEditorContainer = React.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -13386,6 +13386,7 @@ function RoundPageContainer({
13386
13386
  const rewriteUrl = useUrlRewriter();
13387
13387
  const initialValue = tabs ? (section && tabs.find((i) => (_nullishCoalesce(_optionalChain([i, 'access', _355 => _355.key, 'optionalAccess', _356 => _356.name]), () => ( i.label))) === section) ? section : null) || (_nullishCoalesce(_optionalChain([tabs, 'access', _357 => _357[0], 'access', _358 => _358.key, 'optionalAccess', _359 => _359.name]), () => ( tabs[0].label))) : void 0;
13388
13388
  const [activeTab, setActiveTab] = _react.useState.call(void 0, initialValue);
13389
+ const activeFillHeight = _optionalChain([tabs, 'optionalAccess', _360 => _360.find, 'call', _361 => _361((t) => (_nullishCoalesce(_optionalChain([t, 'access', _362 => _362.key, 'optionalAccess', _363 => _363.name]), () => ( t.label))) === activeTab), 'optionalAccess', _364 => _364.fillHeight]) === true;
13389
13390
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13390
13391
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
13391
13392
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[calc(100vh-3rem)] w-full flex-col p-2 pt-0 pl-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-background flex h-full w-full rounded-lg border p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
@@ -13400,25 +13401,59 @@ function RoundPageContainer({
13400
13401
  }
13401
13402
  ),
13402
13403
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: [
13403
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, `grow overflow-y-auto p-4`, fullWidth && `p-0`), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, `mx-auto max-w-6xl space-y-8`, fullWidth && `max-w-full w-full p-0 h-full`), children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13404
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13405
- Tabs,
13406
- {
13407
- value: activeTab,
13408
- className: "w-full",
13409
- onValueChange: (key) => {
13410
- setActiveTab(key);
13411
- if (module && id)
13412
- rewriteUrl({ page: module, id, additionalParameters: { section: key } });
13413
- },
13414
- children: [
13415
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _360 => _360.key, 'optionalAccess', _361 => _361.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
13416
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full overflow-y-auto px-4", children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: _nullishCoalesce(_optionalChain([tab, 'access', _362 => _362.key, 'optionalAccess', _363 => _363.name]), () => ( tab.label)), className: `pb-20`, children: tab.content }, tab.label)) })
13417
- ]
13418
- }
13419
- ),
13420
- children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex px-4", children })
13421
- ] }) : children }) }),
13404
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13405
+ "div",
13406
+ {
13407
+ className: _chunkXAWKRNYMjs.cn.call(void 0,
13408
+ `grow p-4`,
13409
+ activeFillHeight ? `flex flex-col overflow-hidden` : `overflow-y-auto`,
13410
+ fullWidth && `p-0`
13411
+ ),
13412
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13413
+ "div",
13414
+ {
13415
+ className: _chunkXAWKRNYMjs.cn.call(void 0,
13416
+ `mx-auto max-w-6xl space-y-8`,
13417
+ activeFillHeight && `flex w-full flex-1 min-h-0 flex-col space-y-0`,
13418
+ fullWidth && `max-w-full w-full p-0 h-full`
13419
+ ),
13420
+ children: tabs ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13421
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13422
+ Tabs,
13423
+ {
13424
+ value: activeTab,
13425
+ className: _chunkXAWKRNYMjs.cn.call(void 0, `w-full`, activeFillHeight && `flex flex-1 min-h-0 flex-col`),
13426
+ onValueChange: (key) => {
13427
+ setActiveTab(key);
13428
+ if (module && id)
13429
+ rewriteUrl({ page: module, id, additionalParameters: { section: key } });
13430
+ },
13431
+ children: [
13432
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsList, { className: ``, children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: _nullishCoalesce(_optionalChain([tab, 'access', _365 => _365.key, 'optionalAccess', _366 => _366.name]), () => ( tab.label)), className: `px-4`, children: _nullishCoalesce(tab.contentLabel, () => ( tab.label)) }, tab.label)) }) }),
13433
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13434
+ "div",
13435
+ {
13436
+ className: _chunkXAWKRNYMjs.cn.call(void 0, `flex w-full px-4`, activeFillHeight ? `flex-1 min-h-0` : `overflow-y-auto`),
13437
+ children: tabs.map((tab) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13438
+ TabsContent,
13439
+ {
13440
+ value: _nullishCoalesce(_optionalChain([tab, 'access', _367 => _367.key, 'optionalAccess', _368 => _368.name]), () => ( tab.label)),
13441
+ className: tab.fillHeight ? `flex flex-1 min-h-0 w-full flex-col` : `pb-20`,
13442
+ children: tab.content
13443
+ },
13444
+ tab.label
13445
+ ))
13446
+ }
13447
+ )
13448
+ ]
13449
+ }
13450
+ ),
13451
+ children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex px-4", children })
13452
+ ] }) : children
13453
+ }
13454
+ )
13455
+ }
13456
+ ),
13422
13457
  details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13423
13458
  "div",
13424
13459
  {
@@ -13746,10 +13781,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
13746
13781
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13747
13782
  Checkbox,
13748
13783
  {
13749
- checked: _optionalChain([params, 'access', _364 => _364.checkedIds, 'optionalAccess', _365 => _365.includes, 'call', _366 => _366(row.getValue(params.name))]) || false,
13784
+ checked: _optionalChain([params, 'access', _369 => _369.checkedIds, 'optionalAccess', _370 => _370.includes, 'call', _371 => _371(row.getValue(params.name))]) || false,
13750
13785
  onCheckedChange: (value) => {
13751
13786
  row.toggleSelected(!!value);
13752
- _optionalChain([params, 'access', _367 => _367.toggleId, 'optionalCall', _368 => _368(row.getValue(params.name))]);
13787
+ _optionalChain([params, 'access', _372 => _372.toggleId, 'optionalCall', _373 => _373(row.getValue(params.name))]);
13753
13788
  },
13754
13789
  "aria-label": "Select row"
13755
13790
  }
@@ -13808,7 +13843,7 @@ function useJsonApiGet(params) {
13808
13843
  const [response, setResponse] = _react.useState.call(void 0, null);
13809
13844
  const isMounted = _react.useRef.call(void 0, true);
13810
13845
  const fetchData = _react.useCallback.call(void 0, async () => {
13811
- if (_optionalChain([params, 'access', _369 => _369.options, 'optionalAccess', _370 => _370.enabled]) === false) return;
13846
+ if (_optionalChain([params, 'access', _374 => _374.options, 'optionalAccess', _375 => _375.enabled]) === false) return;
13812
13847
  setLoading(true);
13813
13848
  setError(null);
13814
13849
  try {
@@ -13835,9 +13870,9 @@ function useJsonApiGet(params) {
13835
13870
  setLoading(false);
13836
13871
  }
13837
13872
  }
13838
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _371 => _371.options, 'optionalAccess', _372 => _372.enabled])]);
13873
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _376 => _376.options, 'optionalAccess', _377 => _377.enabled])]);
13839
13874
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
13840
- if (!_optionalChain([response, 'optionalAccess', _373 => _373.nextPage])) return;
13875
+ if (!_optionalChain([response, 'optionalAccess', _378 => _378.nextPage])) return;
13841
13876
  setLoading(true);
13842
13877
  try {
13843
13878
  const nextResponse = await response.nextPage();
@@ -13858,7 +13893,7 @@ function useJsonApiGet(params) {
13858
13893
  }
13859
13894
  }, [response]);
13860
13895
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
13861
- if (!_optionalChain([response, 'optionalAccess', _374 => _374.prevPage])) return;
13896
+ if (!_optionalChain([response, 'optionalAccess', _379 => _379.prevPage])) return;
13862
13897
  setLoading(true);
13863
13898
  try {
13864
13899
  const prevResponse = await response.prevPage();
@@ -13884,15 +13919,15 @@ function useJsonApiGet(params) {
13884
13919
  return () => {
13885
13920
  isMounted.current = false;
13886
13921
  };
13887
- }, [fetchData, ..._optionalChain([params, 'access', _375 => _375.options, 'optionalAccess', _376 => _376.deps]) || []]);
13922
+ }, [fetchData, ..._optionalChain([params, 'access', _380 => _380.options, 'optionalAccess', _381 => _381.deps]) || []]);
13888
13923
  return {
13889
13924
  data,
13890
13925
  loading,
13891
13926
  error,
13892
13927
  response,
13893
13928
  refetch: fetchData,
13894
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _377 => _377.next]),
13895
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _378 => _378.prev]),
13929
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _382 => _382.next]),
13930
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _383 => _383.prev]),
13896
13931
  fetchNextPage,
13897
13932
  fetchPreviousPage
13898
13933
  };
@@ -13970,17 +14005,17 @@ function useJsonApiMutation(config) {
13970
14005
  if (apiResponse.ok) {
13971
14006
  const resultData = apiResponse.data;
13972
14007
  setData(resultData);
13973
- _optionalChain([config, 'access', _379 => _379.onSuccess, 'optionalCall', _380 => _380(resultData)]);
14008
+ _optionalChain([config, 'access', _384 => _384.onSuccess, 'optionalCall', _385 => _385(resultData)]);
13974
14009
  return resultData;
13975
14010
  } else {
13976
14011
  setError(apiResponse.error);
13977
- _optionalChain([config, 'access', _381 => _381.onError, 'optionalCall', _382 => _382(apiResponse.error)]);
14012
+ _optionalChain([config, 'access', _386 => _386.onError, 'optionalCall', _387 => _387(apiResponse.error)]);
13978
14013
  return null;
13979
14014
  }
13980
14015
  } catch (err) {
13981
14016
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
13982
14017
  setError(errorMessage);
13983
- _optionalChain([config, 'access', _383 => _383.onError, 'optionalCall', _384 => _384(errorMessage)]);
14018
+ _optionalChain([config, 'access', _388 => _388.onError, 'optionalCall', _389 => _389(errorMessage)]);
13984
14019
  return null;
13985
14020
  } finally {
13986
14021
  setLoading(false);
@@ -14053,7 +14088,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14053
14088
  {
14054
14089
  href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
14055
14090
  page: "/administration",
14056
- id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _385 => _385.Company, 'access', _386 => _386.pageUrl, 'optionalAccess', _387 => _387.substring, 'call', _388 => _388(1)]),
14091
+ id: _optionalChain([_chunkXAWKRNYMjs.Modules, 'access', _390 => _390.Company, 'access', _391 => _391.pageUrl, 'optionalAccess', _392 => _392.substring, 'call', _393 => _393(1)]),
14057
14092
  childPage: company.id
14058
14093
  }) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
14059
14094
  children: row.getValue("name")
@@ -14069,7 +14104,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14069
14104
  })
14070
14105
  };
14071
14106
  const columns = _react.useMemo.call(void 0, () => {
14072
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _389 => _389[field], 'optionalCall', _390 => _390()])).filter((col) => col !== void 0);
14107
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _394 => _394[field], 'optionalCall', _395 => _395()])).filter((col) => col !== void 0);
14073
14108
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
14074
14109
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14075
14110
  }, "useCompanyTableStructure");
@@ -14081,7 +14116,7 @@ var GRACE_DAYS = 3;
14081
14116
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
14082
14117
  if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
14083
14118
  const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
14084
- return !!_optionalChain([currentUser, 'access', _391 => _391.roles, 'optionalAccess', _392 => _392.some, 'call', _393 => _393((role) => role.id === adminRoleId)]);
14119
+ return !!_optionalChain([currentUser, 'access', _396 => _396.roles, 'optionalAccess', _397 => _397.some, 'call', _398 => _398((role) => role.id === adminRoleId)]);
14085
14120
  }, "isAdministrator");
14086
14121
  function useSubscriptionStatus() {
14087
14122
  const { company, currentUser } = useCurrentUserContext();
@@ -14198,7 +14233,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
14198
14233
  })
14199
14234
  };
14200
14235
  const columns = _react.useMemo.call(void 0, () => {
14201
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _394 => _394[field], 'optionalCall', _395 => _395()])).filter((col) => col !== void 0);
14236
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _399 => _399[field], 'optionalCall', _400 => _400()])).filter((col) => col !== void 0);
14202
14237
  }, [params.fields, fieldColumnMap, t, generateUrl]);
14203
14238
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14204
14239
  }, "useRoleTableStructure");
@@ -14299,11 +14334,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14299
14334
  return params.fields.map((field) => {
14300
14335
  const localHandler = fieldColumnMap[field];
14301
14336
  if (localHandler) return localHandler();
14302
- const customHandler = _optionalChain([params, 'access', _396 => _396.context, 'optionalAccess', _397 => _397.customCells, 'optionalAccess', _398 => _398[field]]);
14337
+ const customHandler = _optionalChain([params, 'access', _401 => _401.context, 'optionalAccess', _402 => _402.customCells, 'optionalAccess', _403 => _403[field]]);
14303
14338
  if (customHandler) return customHandler({ t });
14304
14339
  return void 0;
14305
14340
  }).filter((col) => col !== void 0);
14306
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _399 => _399.context, 'optionalAccess', _400 => _400.customCells])]);
14341
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _404 => _404.context, 'optionalAccess', _405 => _405.customCells])]);
14307
14342
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14308
14343
  }, "useContentTableStructure");
14309
14344
 
@@ -14638,7 +14673,7 @@ function ContentTableSearch({ data }) {
14638
14673
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
14639
14674
  if (!isExpanded) {
14640
14675
  setIsFocused(true);
14641
- setTimeout(() => _optionalChain([inputRef, 'access', _401 => _401.current, 'optionalAccess', _402 => _402.focus, 'call', _403 => _403()]), 50);
14676
+ setTimeout(() => _optionalChain([inputRef, 'access', _406 => _406.current, 'optionalAccess', _407 => _407.focus, 'call', _408 => _408()]), 50);
14642
14677
  }
14643
14678
  }, "handleSearchIconClick");
14644
14679
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -14704,7 +14739,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14704
14739
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
14705
14740
  );
14706
14741
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
14707
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _404 => _404.data]), () => ( EMPTY_ARRAY)),
14742
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _409 => _409.data]), () => ( EMPTY_ARRAY)),
14708
14743
  fields,
14709
14744
  checkedIds,
14710
14745
  toggleId,
@@ -14773,12 +14808,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14773
14808
  ) }),
14774
14809
  table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
14775
14810
  const meta = header.column.columnDef.meta;
14776
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _405 => _405.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
14811
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { className: _optionalChain([meta, 'optionalAccess', _410 => _410.className]), children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
14777
14812
  }) }, headerGroup.id))
14778
14813
  ] }),
14779
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _406 => _406.rows, 'optionalAccess', _407 => _407.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
14814
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _411 => _411.rows, 'optionalAccess', _412 => _412.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => {
14780
14815
  const meta = cell.column.columnDef.meta;
14781
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _408 => _408.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
14816
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { className: _optionalChain([meta, 'optionalAccess', _413 => _413.className]), children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id);
14782
14817
  }) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
14783
14818
  showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
14784
14819
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -14788,7 +14823,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14788
14823
  size: "sm",
14789
14824
  onClick: (e) => {
14790
14825
  e.preventDefault();
14791
- _optionalChain([data, 'access', _409 => _409.previous, 'optionalCall', _410 => _410(true)]);
14826
+ _optionalChain([data, 'access', _414 => _414.previous, 'optionalCall', _415 => _415(true)]);
14792
14827
  },
14793
14828
  disabled: !data.previous,
14794
14829
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -14802,7 +14837,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14802
14837
  size: "sm",
14803
14838
  onClick: (e) => {
14804
14839
  e.preventDefault();
14805
- _optionalChain([data, 'access', _411 => _411.next, 'optionalCall', _412 => _412(true)]);
14840
+ _optionalChain([data, 'access', _416 => _416.next, 'optionalCall', _417 => _417(true)]);
14806
14841
  },
14807
14842
  disabled: !data.next,
14808
14843
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -14823,7 +14858,7 @@ function ContentListGrid(props) {
14823
14858
  if (!data.next || !sentinelRef.current) return;
14824
14859
  const observer = new IntersectionObserver(
14825
14860
  (entries) => {
14826
- if (_optionalChain([entries, 'access', _413 => _413[0], 'optionalAccess', _414 => _414.isIntersecting])) _optionalChain([data, 'access', _415 => _415.next, 'optionalCall', _416 => _416()]);
14861
+ if (_optionalChain([entries, 'access', _418 => _418[0], 'optionalAccess', _419 => _419.isIntersecting])) _optionalChain([data, 'access', _420 => _420.next, 'optionalCall', _421 => _421()]);
14827
14862
  },
14828
14863
  { threshold: 0.1, rootMargin: "200px" }
14829
14864
  );
@@ -15573,7 +15608,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15573
15608
  newDigits[index] = digit;
15574
15609
  setDigits(newDigits);
15575
15610
  if (digit && index < 5) {
15576
- _optionalChain([inputRefs, 'access', _417 => _417.current, 'access', _418 => _418[index + 1], 'optionalAccess', _419 => _419.focus, 'call', _420 => _420()]);
15611
+ _optionalChain([inputRefs, 'access', _422 => _422.current, 'access', _423 => _423[index + 1], 'optionalAccess', _424 => _424.focus, 'call', _425 => _425()]);
15577
15612
  }
15578
15613
  const code = newDigits.join("");
15579
15614
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -15582,7 +15617,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15582
15617
  }, "handleChange");
15583
15618
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
15584
15619
  if (e.key === "Backspace" && !digits[index] && index > 0) {
15585
- _optionalChain([inputRefs, 'access', _421 => _421.current, 'access', _422 => _422[index - 1], 'optionalAccess', _423 => _423.focus, 'call', _424 => _424()]);
15620
+ _optionalChain([inputRefs, 'access', _426 => _426.current, 'access', _427 => _427[index - 1], 'optionalAccess', _428 => _428.focus, 'call', _429 => _429()]);
15586
15621
  }
15587
15622
  }, "handleKeyDown");
15588
15623
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -15591,7 +15626,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15591
15626
  if (pastedData.length === 6) {
15592
15627
  const newDigits = pastedData.split("");
15593
15628
  setDigits(newDigits);
15594
- _optionalChain([inputRefs, 'access', _425 => _425.current, 'access', _426 => _426[5], 'optionalAccess', _427 => _427.focus, 'call', _428 => _428()]);
15629
+ _optionalChain([inputRefs, 'access', _430 => _430.current, 'access', _431 => _431[5], 'optionalAccess', _432 => _432.focus, 'call', _433 => _433()]);
15595
15630
  onComplete(pastedData);
15596
15631
  }
15597
15632
  }, "handlePaste");
@@ -15802,8 +15837,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
15802
15837
  try {
15803
15838
  const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
15804
15839
  id: _uuid.v4.call(void 0, ),
15805
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _429 => _429.email]), () => ( "")),
15806
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _430 => _430.name])
15840
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _434 => _434.email]), () => ( "")),
15841
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _435 => _435.name])
15807
15842
  });
15808
15843
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
15809
15844
  await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
@@ -15954,7 +15989,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
15954
15989
  const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
15955
15990
  id: _uuid.v4.call(void 0, ),
15956
15991
  name: name.trim(),
15957
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _431 => _431.email]), () => ( ""))
15992
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _436 => _436.email]), () => ( ""))
15958
15993
  });
15959
15994
  setQrCodeUri(setup.qrCodeUri);
15960
15995
  setAuthenticatorId(setup.authenticatorId);
@@ -16088,7 +16123,7 @@ function TwoFactorSettings() {
16088
16123
  if (isLoading) {
16089
16124
  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") }) }) });
16090
16125
  }
16091
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _432 => _432.isEnabled]), () => ( false));
16126
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _437 => _437.isEnabled]), () => ( false));
16092
16127
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
16093
16128
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
16094
16129
  isEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldCheck, { className: "h-6 w-6 text-green-600" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ShieldAlert, { className: "h-6 w-6 text-yellow-600" }),
@@ -16126,7 +16161,7 @@ function TwoFactorSettings() {
16126
16161
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
16127
16162
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
16128
16163
  ] }),
16129
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _433 => _433.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
16164
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackupCodesDialog, { remainingCodes: _nullishCoalesce(_optionalChain([status, 'optionalAccess', _438 => _438.backupCodesCount]), () => ( 0)), onRegenerate: handleRefresh })
16130
16165
  ] }) }),
16131
16166
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
16132
16167
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -16304,9 +16339,9 @@ function AcceptInvitation() {
16304
16339
  });
16305
16340
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16306
16341
  try {
16307
- if (!_optionalChain([params, 'optionalAccess', _434 => _434.code])) return;
16342
+ if (!_optionalChain([params, 'optionalAccess', _439 => _439.code])) return;
16308
16343
  const payload = {
16309
- code: _optionalChain([params, 'optionalAccess', _435 => _435.code]),
16344
+ code: _optionalChain([params, 'optionalAccess', _440 => _440.code]),
16310
16345
  password: values.password
16311
16346
  };
16312
16347
  await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
@@ -16656,7 +16691,7 @@ function Logout({ storageKeys }) {
16656
16691
  const generateUrl = usePageUrlGenerator();
16657
16692
  _react.useEffect.call(void 0, () => {
16658
16693
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
16659
- if (_optionalChain([storageKeys, 'optionalAccess', _436 => _436.length])) {
16694
+ if (_optionalChain([storageKeys, 'optionalAccess', _441 => _441.length])) {
16660
16695
  clearClientStorage(storageKeys);
16661
16696
  }
16662
16697
  await _chunkXAWKRNYMjs.AuthService.logout();
@@ -16679,14 +16714,14 @@ function RefreshUser() {
16679
16714
  setUser(fullUser);
16680
16715
  const token = {
16681
16716
  userId: fullUser.id,
16682
- companyId: _optionalChain([fullUser, 'access', _437 => _437.company, 'optionalAccess', _438 => _438.id]),
16717
+ companyId: _optionalChain([fullUser, 'access', _442 => _442.company, 'optionalAccess', _443 => _443.id]),
16683
16718
  roles: fullUser.roles.map((role) => role.id),
16684
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _439 => _439.company, 'optionalAccess', _440 => _440.features, 'optionalAccess', _441 => _441.map, 'call', _442 => _442((feature) => feature.id)]), () => ( [])),
16719
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _444 => _444.company, 'optionalAccess', _445 => _445.features, 'optionalAccess', _446 => _446.map, 'call', _447 => _447((feature) => feature.id)]), () => ( [])),
16685
16720
  modules: fullUser.modules.map((module) => {
16686
16721
  return { id: module.id, permissions: module.permissions };
16687
16722
  })
16688
16723
  };
16689
- await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _443 => _443.updateToken, 'call', _444 => _444(token)]);
16724
+ await _optionalChain([_chunkXAWKRNYMjs.getTokenHandler.call(void 0, ), 'optionalAccess', _448 => _448.updateToken, 'call', _449 => _449(token)]);
16690
16725
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
16691
16726
  }
16692
16727
  }, "loadFullUser");
@@ -16750,9 +16785,9 @@ function ResetPassword() {
16750
16785
  });
16751
16786
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16752
16787
  try {
16753
- if (!_optionalChain([params, 'optionalAccess', _445 => _445.code])) return;
16788
+ if (!_optionalChain([params, 'optionalAccess', _450 => _450.code])) return;
16754
16789
  const payload = {
16755
- code: _optionalChain([params, 'optionalAccess', _446 => _446.code]),
16790
+ code: _optionalChain([params, 'optionalAccess', _451 => _451.code]),
16756
16791
  password: values.password
16757
16792
  };
16758
16793
  await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
@@ -17101,7 +17136,7 @@ function extractHeadings(blocks) {
17101
17136
  function processBlocks(blockArray) {
17102
17137
  for (const block of blockArray) {
17103
17138
  if (block.type === "heading") {
17104
- const level = _optionalChain([block, 'access', _447 => _447.props, 'optionalAccess', _448 => _448.level]) || 1;
17139
+ const level = _optionalChain([block, 'access', _452 => _452.props, 'optionalAccess', _453 => _453.level]) || 1;
17105
17140
  const text = extractTextFromContent(block.content);
17106
17141
  if (text.trim()) {
17107
17142
  headings.push({
@@ -17444,7 +17479,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
17444
17479
  })
17445
17480
  };
17446
17481
  const columns = _react.useMemo.call(void 0, () => {
17447
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _449 => _449[field], 'optionalCall', _450 => _450()])).filter((col) => col !== void 0);
17482
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _454 => _454[field], 'optionalCall', _455 => _455()])).filter((col) => col !== void 0);
17448
17483
  }, [params.fields, fieldColumnMap, t, generateUrl]);
17449
17484
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
17450
17485
  }, "useHowToTableStructure");
@@ -17510,7 +17545,7 @@ function HowToMultiSelector({
17510
17545
  retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
17511
17546
  module: _chunkXAWKRNYMjs.Modules.HowTo,
17512
17547
  getLabel: (howTo) => howTo.name,
17513
- excludeId: _optionalChain([currentHowTo, 'optionalAccess', _451 => _451.id]),
17548
+ excludeId: _optionalChain([currentHowTo, 'optionalAccess', _456 => _456.id]),
17514
17549
  onChange
17515
17550
  }
17516
17551
  );
@@ -17575,7 +17610,7 @@ function HowToSelector({
17575
17610
  }, "setHowTo");
17576
17611
  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: [
17577
17612
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
17578
- /* @__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', _452 => _452.value, 'optionalAccess', _453 => _453.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 }) }))) }) }) }),
17613
+ /* @__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', _457 => _457.value, 'optionalAccess', _458 => _458.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 }) }))) }) }) }),
17579
17614
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17580
17615
  _lucidereact.CircleX,
17581
17616
  {
@@ -17930,9 +17965,9 @@ function CitationsTab({ citations, sources }) {
17930
17965
  ] }) }),
17931
17966
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
17932
17967
  const isOpen = expanded.has(chunk.id);
17933
- const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _454 => _454.get, 'call', _455 => _455(chunk.nodeId)]) : void 0;
17968
+ const resolved = chunk.nodeId ? _optionalChain([sources, 'optionalAccess', _459 => _459.get, 'call', _460 => _460(chunk.nodeId)]) : void 0;
17934
17969
  const fallbackName = chunk.nodeId ? `${_nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")))} ${chunk.nodeId.slice(0, 8)}` : _nullishCoalesce(chunk.nodeType, () => ( t("features.assistant.message.sources.source")));
17935
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _456 => _456.name]), () => ( fallbackName));
17970
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _461 => _461.name]), () => ( fallbackName));
17936
17971
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
17937
17972
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
17938
17973
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -17979,7 +18014,7 @@ function ContentsTab({ citations, sources }) {
17979
18014
  for (const c of citations) {
17980
18015
  const id = c.nodeId;
17981
18016
  if (!id) continue;
17982
- const source = _optionalChain([sources, 'optionalAccess', _457 => _457.get, 'call', _458 => _458(id)]);
18017
+ const source = _optionalChain([sources, 'optionalAccess', _462 => _462.get, 'call', _463 => _463(id)]);
17983
18018
  if (!source) continue;
17984
18019
  const existing = map.get(id);
17985
18020
  if (existing) {
@@ -18044,7 +18079,7 @@ function UsersTab({ users, citations, sources }) {
18044
18079
  const generate = usePageUrlGenerator();
18045
18080
  const userMap = /* @__PURE__ */ new Map();
18046
18081
  for (const u of users) {
18047
- if (!_optionalChain([u, 'optionalAccess', _459 => _459.id])) continue;
18082
+ if (!_optionalChain([u, 'optionalAccess', _464 => _464.id])) continue;
18048
18083
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
18049
18084
  }
18050
18085
  if (citations && sources) {
@@ -18157,7 +18192,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
18157
18192
  }
18158
18193
  return ids.size;
18159
18194
  }, [message.citations, sources]);
18160
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _460 => _460.length]), () => ( 0));
18195
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _465 => _465.length]), () => ( 0));
18161
18196
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
18162
18197
  const visibleTabs = [];
18163
18198
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -18216,8 +18251,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
18216
18251
  static async findManyByIds(params) {
18217
18252
  const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
18218
18253
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
18219
- if (_optionalChain([params, 'access', _461 => _461.module, 'access', _462 => _462.inclusions, 'optionalAccess', _463 => _463.lists, 'optionalAccess', _464 => _464.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
18220
- if (_optionalChain([params, 'access', _465 => _465.module, 'access', _466 => _466.inclusions, 'optionalAccess', _467 => _467.lists, 'optionalAccess', _468 => _468.types])) endpoint.limitToType(params.module.inclusions.lists.types);
18254
+ if (_optionalChain([params, 'access', _466 => _466.module, 'access', _467 => _467.inclusions, 'optionalAccess', _468 => _468.lists, 'optionalAccess', _469 => _469.fields])) endpoint.limitToFields(params.module.inclusions.lists.fields);
18255
+ if (_optionalChain([params, 'access', _470 => _470.module, 'access', _471 => _471.inclusions, 'optionalAccess', _472 => _472.lists, 'optionalAccess', _473 => _473.types])) endpoint.limitToType(params.module.inclusions.lists.types);
18221
18256
  return this.callApi({
18222
18257
  type: params.module,
18223
18258
  method: "GET" /* GET */,
@@ -18296,7 +18331,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
18296
18331
  return void 0;
18297
18332
  }
18298
18333
  })()));
18299
- if (_optionalChain([author, 'optionalAccess', _469 => _469.id])) userMap.set(author.id, author);
18334
+ if (_optionalChain([author, 'optionalAccess', _474 => _474.id])) userMap.set(author.id, author);
18300
18335
  }
18301
18336
  return Array.from(userMap.values());
18302
18337
  }, [resolved]);
@@ -18318,14 +18353,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
18318
18353
  function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
18319
18354
  const t = _nextintl.useTranslations.call(void 0, );
18320
18355
  const isUser = message.role === "user";
18321
- const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _470 => _470.has, 'call', _471 => _471(message.id)]);
18356
+ const isFailed = isUser && !!_optionalChain([failedMessageIds, 'optionalAccess', _475 => _475.has, 'call', _476 => _476(message.id)]);
18322
18357
  if (isUser) {
18323
18358
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
18324
18359
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-primary text-primary-foreground max-w-[72%] rounded-2xl rounded-br-sm px-3.5 py-2 text-sm", children: message.content }),
18325
18360
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
18326
18361
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
18327
18362
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
18328
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _472 => _472(message.id)]), children: t("features.assistant.retry") })
18363
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", className: "underline", onClick: () => _optionalChain([onRetry, 'optionalCall', _477 => _477(message.id)]), children: t("features.assistant.retry") })
18329
18364
  ] })
18330
18365
  ] });
18331
18366
  }
@@ -18391,7 +18426,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
18391
18426
  function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
18392
18427
  const endRef = _react.useRef.call(void 0, null);
18393
18428
  _react.useEffect.call(void 0, () => {
18394
- _optionalChain([endRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.scrollIntoView, 'call', _475 => _475({ behavior: "smooth" })]);
18429
+ _optionalChain([endRef, 'access', _478 => _478.current, 'optionalAccess', _479 => _479.scrollIntoView, 'call', _480 => _480({ behavior: "smooth" })]);
18395
18430
  }, [messages.length, sending]);
18396
18431
  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: [
18397
18432
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -18419,7 +18454,7 @@ function AssistantContainer() {
18419
18454
  AssistantSidebar,
18420
18455
  {
18421
18456
  threads: ctx.threads,
18422
- activeId: _optionalChain([ctx, 'access', _476 => _476.assistant, 'optionalAccess', _477 => _477.id]),
18457
+ activeId: _optionalChain([ctx, 'access', _481 => _481.assistant, 'optionalAccess', _482 => _482.id]),
18423
18458
  onSelect: ctx.selectThread,
18424
18459
  onNew: ctx.startNew
18425
18460
  }
@@ -18512,14 +18547,14 @@ function NotificationsList({ archived }) {
18512
18547
  ] }),
18513
18548
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
18514
18549
  ] }) }) }, i)) }), "LoadingSkeleton");
18515
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _478 => _478.data, 'optionalAccess', _479 => _479.map, 'call', _480 => _480((notification) => {
18550
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _483 => _483.data, 'optionalAccess', _484 => _484.map, 'call', _485 => _485((notification) => {
18516
18551
  const notificationData = generateNotificationData({ notification, generateUrl });
18517
18552
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
18518
18553
  notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkXAWKRNYMjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
18519
18554
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
18520
18555
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
18521
18556
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
18522
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _481 => _481.actor, 'optionalAccess', _482 => _482.name]), () => ( "")),
18557
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _486 => _486.actor, 'optionalAccess', _487 => _487.name]), () => ( "")),
18523
18558
  title: notificationData.title
18524
18559
  }) }),
18525
18560
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -18869,7 +18904,7 @@ var DEFAULT_TRANSLATIONS = {
18869
18904
  invalidEmail: "Please enter a valid email address"
18870
18905
  };
18871
18906
  async function copyToClipboard(text) {
18872
- if (_optionalChain([navigator, 'access', _483 => _483.clipboard, 'optionalAccess', _484 => _484.writeText])) {
18907
+ if (_optionalChain([navigator, 'access', _488 => _488.clipboard, 'optionalAccess', _489 => _489.writeText])) {
18873
18908
  try {
18874
18909
  await navigator.clipboard.writeText(text);
18875
18910
  return true;
@@ -18911,7 +18946,7 @@ function ReferralWidget({
18911
18946
  const linkInputRef = _react.useRef.call(void 0, null);
18912
18947
  const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
18913
18948
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
18914
- const referralUrl = _optionalChain([stats, 'optionalAccess', _485 => _485.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
18949
+ const referralUrl = _optionalChain([stats, 'optionalAccess', _490 => _490.referralCode]) ? `${baseUrl}${config.referralPath}?${config.urlParamName}=${stats.referralCode}` : "";
18915
18950
  if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
18916
18951
  return null;
18917
18952
  }
@@ -18921,7 +18956,7 @@ function ReferralWidget({
18921
18956
  if (success) {
18922
18957
  setCopied(true);
18923
18958
  _chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
18924
- _optionalChain([onLinkCopied, 'optionalCall', _486 => _486()]);
18959
+ _optionalChain([onLinkCopied, 'optionalCall', _491 => _491()]);
18925
18960
  setTimeout(() => setCopied(false), 2e3);
18926
18961
  } else {
18927
18962
  _chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
@@ -18935,12 +18970,12 @@ function ReferralWidget({
18935
18970
  try {
18936
18971
  await sendInvite(email);
18937
18972
  _chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
18938
- _optionalChain([onInviteSent, 'optionalCall', _487 => _487(email)]);
18973
+ _optionalChain([onInviteSent, 'optionalCall', _492 => _492(email)]);
18939
18974
  setEmail("");
18940
18975
  } catch (err) {
18941
18976
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
18942
18977
  _chunkXAWKRNYMjs.showError.call(void 0, error2.message);
18943
- _optionalChain([onInviteError, 'optionalCall', _488 => _488(error2)]);
18978
+ _optionalChain([onInviteError, 'optionalCall', _493 => _493(error2)]);
18944
18979
  }
18945
18980
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
18946
18981
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -19694,7 +19729,7 @@ function OAuthClientList({
19694
19729
  OAuthClientCard,
19695
19730
  {
19696
19731
  client,
19697
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _489 => _489(client)]),
19732
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _494 => _494(client)]),
19698
19733
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
19699
19734
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
19700
19735
  },
@@ -19710,11 +19745,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
19710
19745
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
19711
19746
  const isEditMode = !!client;
19712
19747
  const [formState, setFormState] = _react.useState.call(void 0, {
19713
- name: _optionalChain([client, 'optionalAccess', _490 => _490.name]) || "",
19714
- description: _optionalChain([client, 'optionalAccess', _491 => _491.description]) || "",
19715
- redirectUris: _optionalChain([client, 'optionalAccess', _492 => _492.redirectUris, 'optionalAccess', _493 => _493.length]) ? client.redirectUris : [""],
19716
- allowedScopes: _optionalChain([client, 'optionalAccess', _494 => _494.allowedScopes]) || [],
19717
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _495 => _495.isConfidential]), () => ( true))
19748
+ name: _optionalChain([client, 'optionalAccess', _495 => _495.name]) || "",
19749
+ description: _optionalChain([client, 'optionalAccess', _496 => _496.description]) || "",
19750
+ redirectUris: _optionalChain([client, 'optionalAccess', _497 => _497.redirectUris, 'optionalAccess', _498 => _498.length]) ? client.redirectUris : [""],
19751
+ allowedScopes: _optionalChain([client, 'optionalAccess', _499 => _499.allowedScopes]) || [],
19752
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _500 => _500.isConfidential]), () => ( true))
19718
19753
  });
19719
19754
  const [errors, setErrors] = _react.useState.call(void 0, {});
19720
19755
  const validate = _react.useCallback.call(void 0, () => {
@@ -19942,7 +19977,7 @@ function OAuthClientDetail({
19942
19977
  ] }),
19943
19978
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
19944
19979
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
19945
- /* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _496 => _496[scope], 'optionalAccess', _497 => _497.name]) || scope }, scope)) })
19980
+ /* @__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([_chunkXAWKRNYMjs.OAUTH_SCOPE_DISPLAY, 'access', _501 => _501[scope], 'optionalAccess', _502 => _502.name]) || scope }, scope)) })
19946
19981
  ] }),
19947
19982
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
19948
19983
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -20086,7 +20121,7 @@ function OAuthConsentScreen({
20086
20121
  if (error || !clientInfo) {
20087
20122
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
20088
20123
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
20089
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _498 => _498.message]) || "Invalid authorization request. Please try again." })
20124
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _503 => _503.message]) || "Invalid authorization request. Please try again." })
20090
20125
  ] }) }) }) });
20091
20126
  }
20092
20127
  const { client, scopes } = clientInfo;
@@ -20302,7 +20337,7 @@ function WaitlistForm({ onSuccess }) {
20302
20337
  questionnaire: values.questionnaire
20303
20338
  });
20304
20339
  setIsSuccess(true);
20305
- _optionalChain([onSuccess, 'optionalCall', _499 => _499()]);
20340
+ _optionalChain([onSuccess, 'optionalCall', _504 => _504()]);
20306
20341
  } catch (e) {
20307
20342
  errorToast({ error: e });
20308
20343
  } finally {
@@ -20940,7 +20975,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
20940
20975
  ] }),
20941
20976
  roleIds.map((roleId) => {
20942
20977
  const roleTokens = block[roleId];
20943
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _500 => _500[roleId]]), () => ( roleId));
20978
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _505 => _505[roleId]]), () => ( roleId));
20944
20979
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
20945
20980
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
20946
20981
  _chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -20977,7 +21012,7 @@ function RbacContainer() {
20977
21012
  }, []);
20978
21013
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
20979
21014
  if (!matrix) return [];
20980
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _501 => _501[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _502 => _502[b]]), () => ( b))));
21015
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _506 => _506[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _507 => _507[b]]), () => ( b))));
20981
21016
  }, [matrix, moduleNames]);
20982
21017
  const roleIds = _react.useMemo.call(void 0, () => {
20983
21018
  if (roleNames) {
@@ -21040,7 +21075,7 @@ function RbacContainer() {
21040
21075
  id === selectedModuleId && "bg-muted font-medium text-foreground",
21041
21076
  id !== selectedModuleId && "text-muted-foreground"
21042
21077
  ),
21043
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _503 => _503[id]]), () => ( id))
21078
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[id]]), () => ( id))
21044
21079
  }
21045
21080
  ) }, id)) }) }),
21046
21081
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "section", { className: "flex-1 overflow-y-auto p-4", children: selectedModuleId && selectedBlock ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -21048,7 +21083,7 @@ function RbacContainer() {
21048
21083
  {
21049
21084
  moduleId: selectedModuleId,
21050
21085
  block: selectedBlock,
21051
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _504 => _504[selectedModuleId]]), () => ( selectedModuleId)),
21086
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _509 => _509[selectedModuleId]]), () => ( selectedModuleId)),
21052
21087
  roleIds,
21053
21088
  roleNames,
21054
21089
  onOpenPicker: openPicker
@@ -21059,12 +21094,12 @@ function RbacContainer() {
21059
21094
  RbacPermissionPicker,
21060
21095
  {
21061
21096
  open: !!activePicker,
21062
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _505 => _505.anchor]), () => ( null)),
21097
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _510 => _510.anchor]), () => ( null)),
21063
21098
  value: activeValue,
21064
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _506 => _506.isRoleColumn]), () => ( false)),
21099
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _511 => _511.isRoleColumn]), () => ( false)),
21065
21100
  knownSegments: activeSegments,
21066
21101
  onSetValue: handleSetValue,
21067
- onClear: _optionalChain([activePicker, 'optionalAccess', _507 => _507.isRoleColumn]) ? handleClear : void 0,
21102
+ onClear: _optionalChain([activePicker, 'optionalAccess', _512 => _512.isRoleColumn]) ? handleClear : void 0,
21068
21103
  onClose: closePicker
21069
21104
  }
21070
21105
  )
@@ -21131,7 +21166,7 @@ function RbacByRoleContainer() {
21131
21166
  }, [roleNames]);
21132
21167
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
21133
21168
  if (!matrix) return [];
21134
- return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _509 => _509[b]]), () => ( b))));
21169
+ return Object.keys(matrix).sort((a, b) => (_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _513 => _513[a]]), () => ( a))).localeCompare(_nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _514 => _514[b]]), () => ( b))));
21135
21170
  }, [matrix, moduleNames]);
21136
21171
  _react.useEffect.call(void 0, () => {
21137
21172
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -21180,7 +21215,7 @@ function RbacByRoleContainer() {
21180
21215
  id === selectedRoleId && "bg-muted font-medium text-foreground",
21181
21216
  id !== selectedRoleId && "text-muted-foreground"
21182
21217
  ),
21183
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _510 => _510[id]]), () => ( id))
21218
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _515 => _515[id]]), () => ( id))
21184
21219
  }
21185
21220
  ) }, id)) }) }),
21186
21221
  /* @__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: [
@@ -21200,7 +21235,7 @@ function RbacByRoleContainer() {
21200
21235
  if (!block) return null;
21201
21236
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
21202
21237
  const roleTokens = block[selectedRoleId];
21203
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _511 => _511[moduleId]]), () => ( moduleId));
21238
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _516 => _516[moduleId]]), () => ( moduleId));
21204
21239
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21205
21240
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21206
21241
  "td",
@@ -21215,7 +21250,7 @@ function RbacByRoleContainer() {
21215
21250
  _chunkSE5HIHJSjs.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))
21216
21251
  ] }),
21217
21252
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
21218
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _512 => _512[selectedRoleId]]), () => ( selectedRoleId)) }),
21253
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _517 => _517[selectedRoleId]]), () => ( selectedRoleId)) }),
21219
21254
  _chunkSE5HIHJSjs.ACTION_TYPES.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-2 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21220
21255
  CellButton3,
21221
21256
  {
@@ -21236,12 +21271,12 @@ function RbacByRoleContainer() {
21236
21271
  RbacPermissionPicker,
21237
21272
  {
21238
21273
  open: !!activePicker,
21239
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _513 => _513.anchor]), () => ( null)),
21274
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _518 => _518.anchor]), () => ( null)),
21240
21275
  value: activeValue,
21241
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _514 => _514.isRoleColumn]), () => ( false)),
21276
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _519 => _519.isRoleColumn]), () => ( false)),
21242
21277
  knownSegments: activeSegments,
21243
21278
  onSetValue: handleSetValue,
21244
- onClear: _optionalChain([activePicker, 'optionalAccess', _515 => _515.isRoleColumn]) ? handleClear : void 0,
21279
+ onClear: _optionalChain([activePicker, 'optionalAccess', _520 => _520.isRoleColumn]) ? handleClear : void 0,
21245
21280
  onClose: closePicker
21246
21281
  }
21247
21282
  )
@@ -21758,4 +21793,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
21758
21793
 
21759
21794
 
21760
21795
  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.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Combobox = Combobox; exports.ComboboxValue = ComboboxValue; exports.ComboboxTrigger = ComboboxTrigger; exports.ComboboxInput = ComboboxInput; exports.ComboboxContent = ComboboxContent; exports.ComboboxList = ComboboxList; exports.ComboboxItem = ComboboxItem; exports.ComboboxGroup = ComboboxGroup; exports.ComboboxLabel = ComboboxLabel; exports.ComboboxCollection = ComboboxCollection; exports.ComboboxEmpty = ComboboxEmpty; exports.ComboboxSeparator = ComboboxSeparator; exports.ComboboxChips = ComboboxChips; exports.ComboboxChip = ComboboxChip; exports.ComboboxChipsInput = ComboboxChipsInput; exports.useComboboxAnchor = useComboboxAnchor; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.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.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.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.HeaderLeftContentProvider = HeaderLeftContentProvider; exports.useHeaderLeftContent = useHeaderLeftContent; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.RoundPageContainerTitle = RoundPageContainerTitle; exports.RoundPageContainer = RoundPageContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.AllUsersListContainer = AllUsersListContainer; exports.UserContent = UserContent; exports.UserAvatar = UserAvatar; exports.UserAvatarList = UserAvatarList; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.UserSearchPopover = UserSearchPopover; exports.UserIndexDetails = UserIndexDetails; exports.UserStanadaloneDetails = UserStanadaloneDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.createMentionInlineContentSpec = createMentionInlineContentSpec; exports.BlockNoteEditorMentionSuggestionMenu = BlockNoteEditorMentionSuggestionMenu; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.FormFieldWrapper = FormFieldWrapper; exports.EntityMultiSelector = EntityMultiSelector; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorDiscardDialog = CommonEditorDiscardDialog; exports.CommonEditorTrigger = CommonEditorTrigger; exports.useEditorDialog = useEditorDialog; exports.EditorSheet = EditorSheet; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormCheckbox = FormCheckbox; exports.FormBlockNote = FormBlockNote; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; 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.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; 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.GdprConsentSection = GdprConsentSection; exports.AuthContainer = AuthContainer; exports.BackupCodesDialog = BackupCodesDialog; exports.TotpInput = TotpInput; exports.DisableTwoFactorDialog = DisableTwoFactorDialog; exports.PasskeyList = PasskeyList; exports.PasskeySetupDialog = PasskeySetupDialog; exports.TotpAuthenticatorList = TotpAuthenticatorList; exports.TotpSetupDialog = TotpSetupDialog; exports.TwoFactorSettings = TwoFactorSettings; exports.SecurityContainer = SecurityContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.PasskeyButton = PasskeyButton; exports.TwoFactorChallenge = TwoFactorChallenge; exports.CompanyContent = CompanyContent; exports.TokenStatusIndicator = TokenStatusIndicator; exports.CompanyDetails = CompanyDetails; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.HowToCommandViewer = HowToCommandViewer; exports.HowToCommand = HowToCommand; exports.HowToDeleter = HowToDeleter; exports.HowToEditor = HowToEditor; exports.HowToProvider = HowToProvider; exports.useHowToContext = useHowToContext; exports.HowToContent = HowToContent; exports.HowToDetails = HowToDetails; exports.HowToContainer = HowToContainer; exports.HowToList = HowToList; exports.HowToListContainer = HowToListContainer; exports.HowToMultiSelector = HowToMultiSelector; exports.HowToSelector = HowToSelector; exports.AssistantProvider = AssistantProvider; exports.useAssistantContext = useAssistantContext; exports.MessageSourcesPanel = MessageSourcesPanel; exports.MessageItem = MessageItem; exports.MessageList = MessageList; exports.AssistantContainer = AssistantContainer; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.OnboardingCard = OnboardingCard; exports.ReferralCodeCapture = ReferralCodeCapture; exports.ReferralWidget = ReferralWidget; exports.ReferralDialog = ReferralDialog; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.WaitlistQuestionnaireRenderer = WaitlistQuestionnaireRenderer; exports.WaitlistForm = WaitlistForm; exports.WaitlistHeroSection = WaitlistHeroSection; exports.WaitlistSuccessState = WaitlistSuccessState; exports.WaitlistConfirmation = WaitlistConfirmation; exports.WaitlistList = WaitlistList; exports.RbacProvider = RbacProvider; exports.useRbacContext = useRbacContext; exports.RbacPermissionCell = RbacPermissionCell; exports.RbacPermissionPicker = RbacPermissionPicker; exports.RbacContainer = RbacContainer; exports.RbacByRoleContainer = RbacByRoleContainer; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.DEFAULT_ONBOARDING_LABELS = DEFAULT_ONBOARDING_LABELS; exports.OnboardingProvider = OnboardingProvider; exports.useOnboarding = useOnboarding; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
21761
- //# sourceMappingURL=chunk-QGHPKVW2.js.map
21796
+ //# sourceMappingURL=chunk-2S3UA52H.js.map