@carlonicora/nextjs-jsonapi 1.87.3 → 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-VTHYA7C7.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) {
@@ -9235,38 +9235,48 @@ function FormBlockNote({
9235
9235
  mentionSearchParams,
9236
9236
  mentionResolveFn
9237
9237
  }) {
9238
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkXAWKRNYMjs.cn.call(void 0, "flex w-full flex-col", stretch && "min-h-0 flex-1 [&>[data-slot=field]]:min-h-0 [&>[data-slot=field]]:flex-1", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9239
- FormFieldWrapper,
9238
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9239
+ "div",
9240
9240
  {
9241
- form,
9242
- name: id,
9243
- label: name,
9244
- isRequired,
9245
- description,
9246
- testId,
9247
- children: (field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9248
- BlockNoteEditorContainer,
9241
+ className: _chunkXAWKRNYMjs.cn.call(void 0,
9242
+ "flex w-full flex-col",
9243
+ stretch && "min-h-0 flex-1 [&>[data-slot=field]]:min-h-0 [&>[data-slot=field]]:flex-1",
9244
+ className
9245
+ ),
9246
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9247
+ FormFieldWrapper,
9249
9248
  {
9250
- id: form.getValues("id"),
9251
- type,
9252
- initialContent: field.value,
9253
- onChange: (content, isEmpty) => {
9254
- field.onChange(content);
9255
- _optionalChain([onEmptyChange, 'optionalCall', _255 => _255(isEmpty)]);
9256
- },
9257
- placeholder,
9258
- bordered: true,
9259
- inlineContentSpecs,
9260
- renderOverlays,
9261
- enableMentions,
9262
- mentionSearchFn,
9263
- mentionSearchParams,
9264
- mentionResolveFn,
9265
- className: _chunkXAWKRNYMjs.cn.call(void 0, stretch && "min-h-0 flex-1")
9249
+ form,
9250
+ name: id,
9251
+ label: name,
9252
+ isRequired,
9253
+ description,
9254
+ testId,
9255
+ children: (field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9256
+ BlockNoteEditorContainer,
9257
+ {
9258
+ id: form.getValues("id"),
9259
+ type,
9260
+ initialContent: field.value,
9261
+ onChange: (content, isEmpty) => {
9262
+ field.onChange(content);
9263
+ _optionalChain([onEmptyChange, 'optionalCall', _255 => _255(isEmpty)]);
9264
+ },
9265
+ placeholder,
9266
+ bordered: true,
9267
+ inlineContentSpecs,
9268
+ renderOverlays,
9269
+ enableMentions,
9270
+ mentionSearchFn,
9271
+ mentionSearchParams,
9272
+ mentionResolveFn,
9273
+ className: _chunkXAWKRNYMjs.cn.call(void 0, stretch && "min-h-0 flex-1")
9274
+ }
9275
+ )
9266
9276
  }
9267
9277
  )
9268
9278
  }
9269
- ) });
9279
+ );
9270
9280
  }
9271
9281
  _chunk7QVYU63Ejs.__name.call(void 0, FormBlockNote, "FormBlockNote");
9272
9282
 
@@ -13376,6 +13386,7 @@ function RoundPageContainer({
13376
13386
  const rewriteUrl = useUrlRewriter();
13377
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;
13378
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;
13379
13390
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
13380
13391
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { leftContent: headerLeftContent, className: "bg-sidebar border-0", children: headerChildren }),
13381
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: [
@@ -13390,25 +13401,59 @@ function RoundPageContainer({
13390
13401
  }
13391
13402
  ),
13392
13403
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full w-full overflow-hidden", children: [
13393
- /* @__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: [
13394
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13395
- Tabs,
13396
- {
13397
- value: activeTab,
13398
- className: "w-full",
13399
- onValueChange: (key) => {
13400
- setActiveTab(key);
13401
- if (module && id)
13402
- rewriteUrl({ page: module, id, additionalParameters: { section: key } });
13403
- },
13404
- children: [
13405
- /* @__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)) }) }),
13406
- /* @__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)) })
13407
- ]
13408
- }
13409
- ),
13410
- children && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex px-4", children })
13411
- ] }) : 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
+ ),
13412
13457
  details && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13413
13458
  "div",
13414
13459
  {
@@ -13736,10 +13781,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
13736
13781
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13737
13782
  Checkbox,
13738
13783
  {
13739
- 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,
13740
13785
  onCheckedChange: (value) => {
13741
13786
  row.toggleSelected(!!value);
13742
- _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))]);
13743
13788
  },
13744
13789
  "aria-label": "Select row"
13745
13790
  }
@@ -13798,7 +13843,7 @@ function useJsonApiGet(params) {
13798
13843
  const [response, setResponse] = _react.useState.call(void 0, null);
13799
13844
  const isMounted = _react.useRef.call(void 0, true);
13800
13845
  const fetchData = _react.useCallback.call(void 0, async () => {
13801
- 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;
13802
13847
  setLoading(true);
13803
13848
  setError(null);
13804
13849
  try {
@@ -13825,9 +13870,9 @@ function useJsonApiGet(params) {
13825
13870
  setLoading(false);
13826
13871
  }
13827
13872
  }
13828
- }, [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])]);
13829
13874
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
13830
- if (!_optionalChain([response, 'optionalAccess', _373 => _373.nextPage])) return;
13875
+ if (!_optionalChain([response, 'optionalAccess', _378 => _378.nextPage])) return;
13831
13876
  setLoading(true);
13832
13877
  try {
13833
13878
  const nextResponse = await response.nextPage();
@@ -13848,7 +13893,7 @@ function useJsonApiGet(params) {
13848
13893
  }
13849
13894
  }, [response]);
13850
13895
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
13851
- if (!_optionalChain([response, 'optionalAccess', _374 => _374.prevPage])) return;
13896
+ if (!_optionalChain([response, 'optionalAccess', _379 => _379.prevPage])) return;
13852
13897
  setLoading(true);
13853
13898
  try {
13854
13899
  const prevResponse = await response.prevPage();
@@ -13874,15 +13919,15 @@ function useJsonApiGet(params) {
13874
13919
  return () => {
13875
13920
  isMounted.current = false;
13876
13921
  };
13877
- }, [fetchData, ..._optionalChain([params, 'access', _375 => _375.options, 'optionalAccess', _376 => _376.deps]) || []]);
13922
+ }, [fetchData, ..._optionalChain([params, 'access', _380 => _380.options, 'optionalAccess', _381 => _381.deps]) || []]);
13878
13923
  return {
13879
13924
  data,
13880
13925
  loading,
13881
13926
  error,
13882
13927
  response,
13883
13928
  refetch: fetchData,
13884
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _377 => _377.next]),
13885
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _378 => _378.prev]),
13929
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _382 => _382.next]),
13930
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _383 => _383.prev]),
13886
13931
  fetchNextPage,
13887
13932
  fetchPreviousPage
13888
13933
  };
@@ -13960,17 +14005,17 @@ function useJsonApiMutation(config) {
13960
14005
  if (apiResponse.ok) {
13961
14006
  const resultData = apiResponse.data;
13962
14007
  setData(resultData);
13963
- _optionalChain([config, 'access', _379 => _379.onSuccess, 'optionalCall', _380 => _380(resultData)]);
14008
+ _optionalChain([config, 'access', _384 => _384.onSuccess, 'optionalCall', _385 => _385(resultData)]);
13964
14009
  return resultData;
13965
14010
  } else {
13966
14011
  setError(apiResponse.error);
13967
- _optionalChain([config, 'access', _381 => _381.onError, 'optionalCall', _382 => _382(apiResponse.error)]);
14012
+ _optionalChain([config, 'access', _386 => _386.onError, 'optionalCall', _387 => _387(apiResponse.error)]);
13968
14013
  return null;
13969
14014
  }
13970
14015
  } catch (err) {
13971
14016
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
13972
14017
  setError(errorMessage);
13973
- _optionalChain([config, 'access', _383 => _383.onError, 'optionalCall', _384 => _384(errorMessage)]);
14018
+ _optionalChain([config, 'access', _388 => _388.onError, 'optionalCall', _389 => _389(errorMessage)]);
13974
14019
  return null;
13975
14020
  } finally {
13976
14021
  setLoading(false);
@@ -14043,7 +14088,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14043
14088
  {
14044
14089
  href: hasRole(_chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
14045
14090
  page: "/administration",
14046
- 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)]),
14047
14092
  childPage: company.id
14048
14093
  }) : generateUrl({ page: _chunkXAWKRNYMjs.Modules.Company, id: company.id }),
14049
14094
  children: row.getValue("name")
@@ -14059,7 +14104,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14059
14104
  })
14060
14105
  };
14061
14106
  const columns = _react.useMemo.call(void 0, () => {
14062
- 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);
14063
14108
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
14064
14109
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14065
14110
  }, "useCompanyTableStructure");
@@ -14071,7 +14116,7 @@ var GRACE_DAYS = 3;
14071
14116
  var isAdministrator = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (currentUser) => {
14072
14117
  if (!currentUser || !_chunkSE5HIHJSjs.isRolesConfigured.call(void 0, )) return false;
14073
14118
  const adminRoleId = _chunkSE5HIHJSjs.getRoleId.call(void 0, ).Administrator;
14074
- 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)]);
14075
14120
  }, "isAdministrator");
14076
14121
  function useSubscriptionStatus() {
14077
14122
  const { company, currentUser } = useCurrentUserContext();
@@ -14188,7 +14233,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
14188
14233
  })
14189
14234
  };
14190
14235
  const columns = _react.useMemo.call(void 0, () => {
14191
- 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);
14192
14237
  }, [params.fields, fieldColumnMap, t, generateUrl]);
14193
14238
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14194
14239
  }, "useRoleTableStructure");
@@ -14289,11 +14334,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
14289
14334
  return params.fields.map((field) => {
14290
14335
  const localHandler = fieldColumnMap[field];
14291
14336
  if (localHandler) return localHandler();
14292
- 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]]);
14293
14338
  if (customHandler) return customHandler({ t });
14294
14339
  return void 0;
14295
14340
  }).filter((col) => col !== void 0);
14296
- }, [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])]);
14297
14342
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
14298
14343
  }, "useContentTableStructure");
14299
14344
 
@@ -14628,7 +14673,7 @@ function ContentTableSearch({ data }) {
14628
14673
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
14629
14674
  if (!isExpanded) {
14630
14675
  setIsFocused(true);
14631
- 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);
14632
14677
  }
14633
14678
  }, "handleSearchIconClick");
14634
14679
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -14694,7 +14739,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14694
14739
  props.defaultExpanded === true ? true : typeof props.defaultExpanded === "object" ? props.defaultExpanded : {}
14695
14740
  );
14696
14741
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
14697
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _404 => _404.data]), () => ( EMPTY_ARRAY)),
14742
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _409 => _409.data]), () => ( EMPTY_ARRAY)),
14698
14743
  fields,
14699
14744
  checkedIds,
14700
14745
  toggleId,
@@ -14763,12 +14808,12 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14763
14808
  ) }),
14764
14809
  table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: headerGroup.headers.map((header) => {
14765
14810
  const meta = header.column.columnDef.meta;
14766
- 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);
14767
14812
  }) }, headerGroup.id))
14768
14813
  ] }),
14769
- /* @__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) => {
14770
14815
  const meta = cell.column.columnDef.meta;
14771
- 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);
14772
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." }) }) }),
14773
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: [
14774
14819
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -14778,7 +14823,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14778
14823
  size: "sm",
14779
14824
  onClick: (e) => {
14780
14825
  e.preventDefault();
14781
- _optionalChain([data, 'access', _409 => _409.previous, 'optionalCall', _410 => _410(true)]);
14826
+ _optionalChain([data, 'access', _414 => _414.previous, 'optionalCall', _415 => _415(true)]);
14782
14827
  },
14783
14828
  disabled: !data.previous,
14784
14829
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -14792,7 +14837,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
14792
14837
  size: "sm",
14793
14838
  onClick: (e) => {
14794
14839
  e.preventDefault();
14795
- _optionalChain([data, 'access', _411 => _411.next, 'optionalCall', _412 => _412(true)]);
14840
+ _optionalChain([data, 'access', _416 => _416.next, 'optionalCall', _417 => _417(true)]);
14796
14841
  },
14797
14842
  disabled: !data.next,
14798
14843
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -14813,7 +14858,7 @@ function ContentListGrid(props) {
14813
14858
  if (!data.next || !sentinelRef.current) return;
14814
14859
  const observer = new IntersectionObserver(
14815
14860
  (entries) => {
14816
- 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()]);
14817
14862
  },
14818
14863
  { threshold: 0.1, rootMargin: "200px" }
14819
14864
  );
@@ -15563,7 +15608,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15563
15608
  newDigits[index] = digit;
15564
15609
  setDigits(newDigits);
15565
15610
  if (digit && index < 5) {
15566
- _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()]);
15567
15612
  }
15568
15613
  const code = newDigits.join("");
15569
15614
  if (code.length === 6 && newDigits.every((d) => d !== "")) {
@@ -15572,7 +15617,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15572
15617
  }, "handleChange");
15573
15618
  const handleKeyDown = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (index, e) => {
15574
15619
  if (e.key === "Backspace" && !digits[index] && index > 0) {
15575
- _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()]);
15576
15621
  }
15577
15622
  }, "handleKeyDown");
15578
15623
  const handlePaste = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (e) => {
@@ -15581,7 +15626,7 @@ function TotpInput({ onComplete, disabled = false, autoFocus = true, error }) {
15581
15626
  if (pastedData.length === 6) {
15582
15627
  const newDigits = pastedData.split("");
15583
15628
  setDigits(newDigits);
15584
- _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()]);
15585
15630
  onComplete(pastedData);
15586
15631
  }
15587
15632
  }, "handlePaste");
@@ -15792,8 +15837,8 @@ function PasskeySetupDialog({ open, onOpenChange, onSuccess }) {
15792
15837
  try {
15793
15838
  const registrationData = await _chunkXAWKRNYMjs.TwoFactorService.getPasskeyRegistrationOptions({
15794
15839
  id: _uuid.v4.call(void 0, ),
15795
- userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _429 => _429.email]), () => ( "")),
15796
- userDisplayName: _optionalChain([currentUser, 'optionalAccess', _430 => _430.name])
15840
+ userName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _434 => _434.email]), () => ( "")),
15841
+ userDisplayName: _optionalChain([currentUser, 'optionalAccess', _435 => _435.name])
15797
15842
  });
15798
15843
  const credential = await _browser.startRegistration.call(void 0, { optionsJSON: registrationData.options });
15799
15844
  await _chunkXAWKRNYMjs.TwoFactorService.verifyPasskeyRegistration({
@@ -15944,7 +15989,7 @@ function TotpSetupDialog({ onSuccess, trigger }) {
15944
15989
  const setup = await _chunkXAWKRNYMjs.TwoFactorService.setupTotp({
15945
15990
  id: _uuid.v4.call(void 0, ),
15946
15991
  name: name.trim(),
15947
- accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _431 => _431.email]), () => ( ""))
15992
+ accountName: _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _436 => _436.email]), () => ( ""))
15948
15993
  });
15949
15994
  setQrCodeUri(setup.qrCodeUri);
15950
15995
  setAuthenticatorId(setup.authenticatorId);
@@ -16078,7 +16123,7 @@ function TwoFactorSettings() {
16078
16123
  if (isLoading) {
16079
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") }) }) });
16080
16125
  }
16081
- const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _432 => _432.isEnabled]), () => ( false));
16126
+ const isEnabled = _nullishCoalesce(_optionalChain([status, 'optionalAccess', _437 => _437.isEnabled]), () => ( false));
16082
16127
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { children: [
16083
16128
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeader, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
16084
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" }),
@@ -16116,7 +16161,7 @@ function TwoFactorSettings() {
16116
16161
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium", children: t("auth.two_factor.backup_codes") }),
16117
16162
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-muted-foreground", children: t("auth.two_factor.backup_codes_description") })
16118
16163
  ] }),
16119
- /* @__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 })
16120
16165
  ] }) }),
16121
16166
  !isEnabled && (authenticators.length > 0 || passkeys.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
16122
16167
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, {}),
@@ -16294,9 +16339,9 @@ function AcceptInvitation() {
16294
16339
  });
16295
16340
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16296
16341
  try {
16297
- if (!_optionalChain([params, 'optionalAccess', _434 => _434.code])) return;
16342
+ if (!_optionalChain([params, 'optionalAccess', _439 => _439.code])) return;
16298
16343
  const payload = {
16299
- code: _optionalChain([params, 'optionalAccess', _435 => _435.code]),
16344
+ code: _optionalChain([params, 'optionalAccess', _440 => _440.code]),
16300
16345
  password: values.password
16301
16346
  };
16302
16347
  await _chunkXAWKRNYMjs.AuthService.acceptInvitation(payload);
@@ -16646,7 +16691,7 @@ function Logout({ storageKeys }) {
16646
16691
  const generateUrl = usePageUrlGenerator();
16647
16692
  _react.useEffect.call(void 0, () => {
16648
16693
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
16649
- if (_optionalChain([storageKeys, 'optionalAccess', _436 => _436.length])) {
16694
+ if (_optionalChain([storageKeys, 'optionalAccess', _441 => _441.length])) {
16650
16695
  clearClientStorage(storageKeys);
16651
16696
  }
16652
16697
  await _chunkXAWKRNYMjs.AuthService.logout();
@@ -16669,14 +16714,14 @@ function RefreshUser() {
16669
16714
  setUser(fullUser);
16670
16715
  const token = {
16671
16716
  userId: fullUser.id,
16672
- companyId: _optionalChain([fullUser, 'access', _437 => _437.company, 'optionalAccess', _438 => _438.id]),
16717
+ companyId: _optionalChain([fullUser, 'access', _442 => _442.company, 'optionalAccess', _443 => _443.id]),
16673
16718
  roles: fullUser.roles.map((role) => role.id),
16674
- 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)]), () => ( [])),
16675
16720
  modules: fullUser.modules.map((module) => {
16676
16721
  return { id: module.id, permissions: module.permissions };
16677
16722
  })
16678
16723
  };
16679
- 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)]);
16680
16725
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
16681
16726
  }
16682
16727
  }, "loadFullUser");
@@ -16740,9 +16785,9 @@ function ResetPassword() {
16740
16785
  });
16741
16786
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
16742
16787
  try {
16743
- if (!_optionalChain([params, 'optionalAccess', _445 => _445.code])) return;
16788
+ if (!_optionalChain([params, 'optionalAccess', _450 => _450.code])) return;
16744
16789
  const payload = {
16745
- code: _optionalChain([params, 'optionalAccess', _446 => _446.code]),
16790
+ code: _optionalChain([params, 'optionalAccess', _451 => _451.code]),
16746
16791
  password: values.password
16747
16792
  };
16748
16793
  await _chunkXAWKRNYMjs.AuthService.resetPassword(payload);
@@ -17091,7 +17136,7 @@ function extractHeadings(blocks) {
17091
17136
  function processBlocks(blockArray) {
17092
17137
  for (const block of blockArray) {
17093
17138
  if (block.type === "heading") {
17094
- 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;
17095
17140
  const text = extractTextFromContent(block.content);
17096
17141
  if (text.trim()) {
17097
17142
  headings.push({
@@ -17434,7 +17479,7 @@ var useHowToTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0
17434
17479
  })
17435
17480
  };
17436
17481
  const columns = _react.useMemo.call(void 0, () => {
17437
- 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);
17438
17483
  }, [params.fields, fieldColumnMap, t, generateUrl]);
17439
17484
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
17440
17485
  }, "useHowToTableStructure");
@@ -17500,7 +17545,7 @@ function HowToMultiSelector({
17500
17545
  retriever: (params) => _chunkXAWKRNYMjs.HowToService.findMany(params),
17501
17546
  module: _chunkXAWKRNYMjs.Modules.HowTo,
17502
17547
  getLabel: (howTo) => howTo.name,
17503
- excludeId: _optionalChain([currentHowTo, 'optionalAccess', _451 => _451.id]),
17548
+ excludeId: _optionalChain([currentHowTo, 'optionalAccess', _456 => _456.id]),
17504
17549
  onChange
17505
17550
  }
17506
17551
  );
@@ -17565,7 +17610,7 @@ function HowToSelector({
17565
17610
  }, "setHowTo");
17566
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: [
17567
17612
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center justify-between", children: [
17568
- /* @__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 }) }))) }) }) }),
17569
17614
  field.value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17570
17615
  _lucidereact.CircleX,
17571
17616
  {
@@ -17920,9 +17965,9 @@ function CitationsTab({ citations, sources }) {
17920
17965
  ] }) }),
17921
17966
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: sorted.map((chunk) => {
17922
17967
  const isOpen = expanded.has(chunk.id);
17923
- 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;
17924
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")));
17925
- const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _456 => _456.name]), () => ( fallbackName));
17970
+ const sourceName = _nullishCoalesce(_optionalChain([resolved, 'optionalAccess', _461 => _461.name]), () => ( fallbackName));
17926
17971
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
17927
17972
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TableRow, { children: [
17928
17973
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -17969,7 +18014,7 @@ function ContentsTab({ citations, sources }) {
17969
18014
  for (const c of citations) {
17970
18015
  const id = c.nodeId;
17971
18016
  if (!id) continue;
17972
- 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)]);
17973
18018
  if (!source) continue;
17974
18019
  const existing = map.get(id);
17975
18020
  if (existing) {
@@ -18034,7 +18079,7 @@ function UsersTab({ users, citations, sources }) {
18034
18079
  const generate = usePageUrlGenerator();
18035
18080
  const userMap = /* @__PURE__ */ new Map();
18036
18081
  for (const u of users) {
18037
- if (!_optionalChain([u, 'optionalAccess', _459 => _459.id])) continue;
18082
+ if (!_optionalChain([u, 'optionalAccess', _464 => _464.id])) continue;
18038
18083
  userMap.set(u.id, { user: u, contentCount: 0, citationCount: 0 });
18039
18084
  }
18040
18085
  if (citations && sources) {
@@ -18147,7 +18192,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
18147
18192
  }
18148
18193
  return ids.size;
18149
18194
  }, [message.citations, sources]);
18150
- const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _460 => _460.length]), () => ( 0));
18195
+ const usersCount = _nullishCoalesce(_optionalChain([users, 'optionalAccess', _465 => _465.length]), () => ( 0));
18151
18196
  const total = refsCount + citationsCount + contentsCount + usersCount + suggestionsCount;
18152
18197
  const visibleTabs = [];
18153
18198
  if (suggestionsCount > 0) visibleTabs.push("suggested");
@@ -18206,8 +18251,8 @@ var SourcesFetcher = class extends _chunkXAWKRNYMjs.ClientAbstractService {
18206
18251
  static async findManyByIds(params) {
18207
18252
  const endpoint = new (0, _chunkXAWKRNYMjs.EndpointCreator)({ endpoint: params.module });
18208
18253
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
18209
- 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);
18210
- 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);
18211
18256
  return this.callApi({
18212
18257
  type: params.module,
18213
18258
  method: "GET" /* GET */,
@@ -18286,7 +18331,7 @@ function MessageSourcesContainer({ message, isLatestAssistant, onSelectFollowUp
18286
18331
  return void 0;
18287
18332
  }
18288
18333
  })()));
18289
- 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);
18290
18335
  }
18291
18336
  return Array.from(userMap.values());
18292
18337
  }, [resolved]);
@@ -18308,14 +18353,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, MessageSourcesContainer, "MessageSourcesCon
18308
18353
  function MessageItem({ message, isLatestAssistant, onSelectFollowUp, failedMessageIds, onRetry }) {
18309
18354
  const t = _nextintl.useTranslations.call(void 0, );
18310
18355
  const isUser = message.role === "user";
18311
- 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)]);
18312
18357
  if (isUser) {
18313
18358
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-end gap-1", children: [
18314
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 }),
18315
18360
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-destructive flex items-center gap-2 text-xs", children: [
18316
18361
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertCircle, { className: "h-3.5 w-3.5" }),
18317
18362
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: t("features.assistant.send_failed") }),
18318
- /* @__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") })
18319
18364
  ] })
18320
18365
  ] });
18321
18366
  }
@@ -18381,7 +18426,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AssistantStatusLine, "AssistantStatusLine")
18381
18426
  function AssistantThread({ messages, sending, status, onSelectFollowUp, failedMessageIds, onRetry }) {
18382
18427
  const endRef = _react.useRef.call(void 0, null);
18383
18428
  _react.useEffect.call(void 0, () => {
18384
- _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" })]);
18385
18430
  }, [messages.length, sending]);
18386
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: [
18387
18432
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -18409,7 +18454,7 @@ function AssistantContainer() {
18409
18454
  AssistantSidebar,
18410
18455
  {
18411
18456
  threads: ctx.threads,
18412
- activeId: _optionalChain([ctx, 'access', _476 => _476.assistant, 'optionalAccess', _477 => _477.id]),
18457
+ activeId: _optionalChain([ctx, 'access', _481 => _481.assistant, 'optionalAccess', _482 => _482.id]),
18413
18458
  onSelect: ctx.selectThread,
18414
18459
  onNew: ctx.startNew
18415
18460
  }
@@ -18502,14 +18547,14 @@ function NotificationsList({ archived }) {
18502
18547
  ] }),
18503
18548
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
18504
18549
  ] }) }) }, i)) }), "LoadingSkeleton");
18505
- 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) => {
18506
18551
  const notificationData = generateNotificationData({ notification, generateUrl });
18507
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: [
18508
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" }),
18509
18554
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
18510
18555
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
18511
18556
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
18512
- 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]), () => ( "")),
18513
18558
  title: notificationData.title
18514
18559
  }) }),
18515
18560
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -18859,7 +18904,7 @@ var DEFAULT_TRANSLATIONS = {
18859
18904
  invalidEmail: "Please enter a valid email address"
18860
18905
  };
18861
18906
  async function copyToClipboard(text) {
18862
- if (_optionalChain([navigator, 'access', _483 => _483.clipboard, 'optionalAccess', _484 => _484.writeText])) {
18907
+ if (_optionalChain([navigator, 'access', _488 => _488.clipboard, 'optionalAccess', _489 => _489.writeText])) {
18863
18908
  try {
18864
18909
  await navigator.clipboard.writeText(text);
18865
18910
  return true;
@@ -18901,7 +18946,7 @@ function ReferralWidget({
18901
18946
  const linkInputRef = _react.useRef.call(void 0, null);
18902
18947
  const config = _chunkSE5HIHJSjs.getReferralConfig.call(void 0, );
18903
18948
  const baseUrl = config.referralUrlBase || (typeof window !== "undefined" ? window.location.origin : "");
18904
- 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}` : "";
18905
18950
  if (!_chunkSE5HIHJSjs.isReferralEnabled.call(void 0, )) {
18906
18951
  return null;
18907
18952
  }
@@ -18911,7 +18956,7 @@ function ReferralWidget({
18911
18956
  if (success) {
18912
18957
  setCopied(true);
18913
18958
  _chunkXAWKRNYMjs.showToast.call(void 0, t.copiedMessage);
18914
- _optionalChain([onLinkCopied, 'optionalCall', _486 => _486()]);
18959
+ _optionalChain([onLinkCopied, 'optionalCall', _491 => _491()]);
18915
18960
  setTimeout(() => setCopied(false), 2e3);
18916
18961
  } else {
18917
18962
  _chunkXAWKRNYMjs.showError.call(void 0, t.copyError);
@@ -18925,12 +18970,12 @@ function ReferralWidget({
18925
18970
  try {
18926
18971
  await sendInvite(email);
18927
18972
  _chunkXAWKRNYMjs.showToast.call(void 0, t.inviteSent);
18928
- _optionalChain([onInviteSent, 'optionalCall', _487 => _487(email)]);
18973
+ _optionalChain([onInviteSent, 'optionalCall', _492 => _492(email)]);
18929
18974
  setEmail("");
18930
18975
  } catch (err) {
18931
18976
  const error2 = err instanceof Error ? err : new Error(t.inviteError);
18932
18977
  _chunkXAWKRNYMjs.showError.call(void 0, error2.message);
18933
- _optionalChain([onInviteError, 'optionalCall', _488 => _488(error2)]);
18978
+ _optionalChain([onInviteError, 'optionalCall', _493 => _493(error2)]);
18934
18979
  }
18935
18980
  }, [email, sendInvite, t.inviteSent, t.inviteError, t.invalidEmail, onInviteSent, onInviteError]);
18936
18981
  const handleEmailKeyDown = _react.useCallback.call(void 0,
@@ -19684,7 +19729,7 @@ function OAuthClientList({
19684
19729
  OAuthClientCard,
19685
19730
  {
19686
19731
  client,
19687
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _489 => _489(client)]),
19732
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _494 => _494(client)]),
19688
19733
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
19689
19734
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
19690
19735
  },
@@ -19700,11 +19745,11 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthClientList, "OAuthClientList");
19700
19745
  function OAuthClientForm({ client, onSubmit, onCancel, isLoading = false }) {
19701
19746
  const isEditMode = !!client;
19702
19747
  const [formState, setFormState] = _react.useState.call(void 0, {
19703
- name: _optionalChain([client, 'optionalAccess', _490 => _490.name]) || "",
19704
- description: _optionalChain([client, 'optionalAccess', _491 => _491.description]) || "",
19705
- redirectUris: _optionalChain([client, 'optionalAccess', _492 => _492.redirectUris, 'optionalAccess', _493 => _493.length]) ? client.redirectUris : [""],
19706
- allowedScopes: _optionalChain([client, 'optionalAccess', _494 => _494.allowedScopes]) || [],
19707
- 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))
19708
19753
  });
19709
19754
  const [errors, setErrors] = _react.useState.call(void 0, {});
19710
19755
  const validate = _react.useCallback.call(void 0, () => {
@@ -19932,7 +19977,7 @@ function OAuthClientDetail({
19932
19977
  ] }),
19933
19978
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
19934
19979
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
19935
- /* @__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)) })
19936
19981
  ] }),
19937
19982
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
19938
19983
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -20076,7 +20121,7 @@ function OAuthConsentScreen({
20076
20121
  if (error || !clientInfo) {
20077
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: [
20078
20123
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
20079
- /* @__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." })
20080
20125
  ] }) }) }) });
20081
20126
  }
20082
20127
  const { client, scopes } = clientInfo;
@@ -20292,7 +20337,7 @@ function WaitlistForm({ onSuccess }) {
20292
20337
  questionnaire: values.questionnaire
20293
20338
  });
20294
20339
  setIsSuccess(true);
20295
- _optionalChain([onSuccess, 'optionalCall', _499 => _499()]);
20340
+ _optionalChain([onSuccess, 'optionalCall', _504 => _504()]);
20296
20341
  } catch (e) {
20297
20342
  errorToast({ error: e });
20298
20343
  } finally {
@@ -20930,7 +20975,7 @@ var ModuleEditor = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__n
20930
20975
  ] }),
20931
20976
  roleIds.map((roleId) => {
20932
20977
  const roleTokens = block[roleId];
20933
- const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _500 => _500[roleId]]), () => ( roleId));
20978
+ const roleLabel = _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _505 => _505[roleId]]), () => ( roleId));
20934
20979
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
20935
20980
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: "px-4 py-1 text-xs font-medium text-muted-foreground", children: roleLabel }),
20936
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,
@@ -20967,7 +21012,7 @@ function RbacContainer() {
20967
21012
  }, []);
20968
21013
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
20969
21014
  if (!matrix) return [];
20970
- 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))));
20971
21016
  }, [matrix, moduleNames]);
20972
21017
  const roleIds = _react.useMemo.call(void 0, () => {
20973
21018
  if (roleNames) {
@@ -21030,7 +21075,7 @@ function RbacContainer() {
21030
21075
  id === selectedModuleId && "bg-muted font-medium text-foreground",
21031
21076
  id !== selectedModuleId && "text-muted-foreground"
21032
21077
  ),
21033
- children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _503 => _503[id]]), () => ( id))
21078
+ children: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _508 => _508[id]]), () => ( id))
21034
21079
  }
21035
21080
  ) }, id)) }) }),
21036
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,
@@ -21038,7 +21083,7 @@ function RbacContainer() {
21038
21083
  {
21039
21084
  moduleId: selectedModuleId,
21040
21085
  block: selectedBlock,
21041
- moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _504 => _504[selectedModuleId]]), () => ( selectedModuleId)),
21086
+ moduleLabel: _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _509 => _509[selectedModuleId]]), () => ( selectedModuleId)),
21042
21087
  roleIds,
21043
21088
  roleNames,
21044
21089
  onOpenPicker: openPicker
@@ -21049,12 +21094,12 @@ function RbacContainer() {
21049
21094
  RbacPermissionPicker,
21050
21095
  {
21051
21096
  open: !!activePicker,
21052
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _505 => _505.anchor]), () => ( null)),
21097
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _510 => _510.anchor]), () => ( null)),
21053
21098
  value: activeValue,
21054
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _506 => _506.isRoleColumn]), () => ( false)),
21099
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _511 => _511.isRoleColumn]), () => ( false)),
21055
21100
  knownSegments: activeSegments,
21056
21101
  onSetValue: handleSetValue,
21057
- onClear: _optionalChain([activePicker, 'optionalAccess', _507 => _507.isRoleColumn]) ? handleClear : void 0,
21102
+ onClear: _optionalChain([activePicker, 'optionalAccess', _512 => _512.isRoleColumn]) ? handleClear : void 0,
21058
21103
  onClose: closePicker
21059
21104
  }
21060
21105
  )
@@ -21121,7 +21166,7 @@ function RbacByRoleContainer() {
21121
21166
  }, [roleNames]);
21122
21167
  const sortedModuleIds = _react.useMemo.call(void 0, () => {
21123
21168
  if (!matrix) return [];
21124
- 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))));
21125
21170
  }, [matrix, moduleNames]);
21126
21171
  _react.useEffect.call(void 0, () => {
21127
21172
  if (!selectedRoleId && sortedRoleIds.length > 0) {
@@ -21170,7 +21215,7 @@ function RbacByRoleContainer() {
21170
21215
  id === selectedRoleId && "bg-muted font-medium text-foreground",
21171
21216
  id !== selectedRoleId && "text-muted-foreground"
21172
21217
  ),
21173
- children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _510 => _510[id]]), () => ( id))
21218
+ children: _nullishCoalesce(_optionalChain([roleNames, 'optionalAccess', _515 => _515[id]]), () => ( id))
21174
21219
  }
21175
21220
  ) }, id)) }) }),
21176
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: [
@@ -21190,7 +21235,7 @@ function RbacByRoleContainer() {
21190
21235
  if (!block) return null;
21191
21236
  const defaultTokens = _nullishCoalesce(block.default, () => ( []));
21192
21237
  const roleTokens = block[selectedRoleId];
21193
- const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _511 => _511[moduleId]]), () => ( moduleId));
21238
+ const moduleLabel = _nullishCoalesce(_optionalChain([moduleNames, 'optionalAccess', _516 => _516[moduleId]]), () => ( moduleId));
21194
21239
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
21195
21240
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { className: "border-b bg-muted/40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
21196
21241
  "td",
@@ -21205,7 +21250,7 @@ function RbacByRoleContainer() {
21205
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))
21206
21251
  ] }),
21207
21252
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: "border-b last:border-b-0", children: [
21208
- /* @__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)) }),
21209
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,
21210
21255
  CellButton3,
21211
21256
  {
@@ -21226,12 +21271,12 @@ function RbacByRoleContainer() {
21226
21271
  RbacPermissionPicker,
21227
21272
  {
21228
21273
  open: !!activePicker,
21229
- anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _513 => _513.anchor]), () => ( null)),
21274
+ anchor: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _518 => _518.anchor]), () => ( null)),
21230
21275
  value: activeValue,
21231
- isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _514 => _514.isRoleColumn]), () => ( false)),
21276
+ isRoleColumn: _nullishCoalesce(_optionalChain([activePicker, 'optionalAccess', _519 => _519.isRoleColumn]), () => ( false)),
21232
21277
  knownSegments: activeSegments,
21233
21278
  onSetValue: handleSetValue,
21234
- onClear: _optionalChain([activePicker, 'optionalAccess', _515 => _515.isRoleColumn]) ? handleClear : void 0,
21279
+ onClear: _optionalChain([activePicker, 'optionalAccess', _520 => _520.isRoleColumn]) ? handleClear : void 0,
21235
21280
  onClose: closePicker
21236
21281
  }
21237
21282
  )
@@ -21748,4 +21793,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, RbacByRoleContainer, "RbacByRoleContainer")
21748
21793
 
21749
21794
 
21750
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;
21751
- //# sourceMappingURL=chunk-MDKDNR3R.js.map
21796
+ //# sourceMappingURL=chunk-2S3UA52H.js.map